body.bh-home-active.bh-suite-active #layout {
  display: block;
  height: 100dvh;
  min-height: 0;
}

body.bh-home-active.bh-suite-active #layout-menu,
body.bh-home-active.bh-suite-active .bh-topbar,
body.bh-home-active.bh-suite-active #layout-content > .header {
  display: none;
}

body.bh-home-active.bh-suite-active #layout-content {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.bh-home-shell,
.bh-home-shell * {
  box-sizing: border-box;
}

.bh-home-shell {
  --home-ink: #101c32;
  --home-muted: #526175;
  --home-line: #d8e3eb;
  --home-surface: #fff;
  --home-accent: #0f766e;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  grid-template-columns: 230px minmax(0, 1fr);
  color: var(--home-ink);
  font-family: Inter, Arial, sans-serif;
}

.bh-home-sidebar {
  position: relative;
  z-index: 4;
  min-width: 0;
  padding: 20px 12px;
  background: #0b2940;
  color: #e8f2f7;
}

.bh-home-brand {
  display: flex;
  height: 88px;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px 12px;
  text-decoration: none;
}

.bh-home-brand img {
  display: block;
  width: 178px;
  max-height: 68px;
  object-fit: contain;
  object-position: left top;
}

.bh-home-brand span {
  margin: 0 0 0 52px;
  color: #e4edf3;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.bh-home-sidebar nav {
  display: grid;
  gap: 4px;
}

.bh-home-shell .bh-home-nav-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  border-radius: 6px;
  color: #e4edf3;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.bh-home-shell .bh-home-nav-link:hover,
.bh-home-shell .bh-home-nav-link:focus-visible {
  background: #184658;
  color: #fff;
}

.bh-home-shell .bh-home-nav-link.active {
  background: #0f766e;
  color: #fff;
  font-weight: 700;
}

.bh-home-nav-icon {
  display: grid;
  width: 20px;
  flex: 0 0 20px;
  place-items: center;
  font-size: 16px;
}

.bh-home-main {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f0f7f9;
}

.bh-home {
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px clamp(18px, 2.2vw, 36px) 28px;
  background: linear-gradient(135deg, #f2f9fb, #ecf6f6 62%, #f5f9fc);
}

.bh-home-header {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.bh-home-header p {
  margin: 0 0 5px;
  color: #087b6e;
  font-size: 12px;
  font-weight: 700;
}

.bh-home-header h1 {
  margin: 0 0 4px;
  color: var(--home-ink);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.bh-home-header span:not(.bh-home-primary-icon) {
  color: var(--home-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bh-home-shell .bh-home-primary {
  display: inline-flex;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--home-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.bh-home-shell .bh-home-primary:hover {
  background: #115e59;
  color: #fff;
}

.bh-home-primary-icon::before {
  content: "\f0e0";
  font-family: Icons;
  font-size: 17px;
  font-weight: 900;
}

.bh-home-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
}

.bh-home-right {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.bh-home-card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
}

.bh-home-card h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 24px;
  margin: 0 0 11px;
  color: var(--home-ink);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.bh-home-heading-icon {
  display: grid;
  width: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #078a7d;
  font-size: 19px;
}

.bh-home-list {
  display: grid;
  gap: 7px;
}

.bh-home-shell .bh-home-row {
  display: grid;
  min-width: 0;
  min-height: 70px;
  grid-template-columns: 40px minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 11px;
  padding: 6px 10px;
  border: 1px solid var(--home-line);
  border-radius: 6px;
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
}

.bh-home-shell .bh-home-row:hover,
.bh-home-shell .bh-home-row:focus-visible {
  border-color: #77bfb8;
  background: #f3fbf9;
  color: var(--home-ink);
}

.bh-home-icon,
.bh-home-detail-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 6px;
  background: #e6f5f1;
  color: #058877;
  font-size: 19px;
}

.bh-home-shell :is(.bh-home-icon, .bh-home-nav-icon, .bh-home-heading-icon, .bh-home-detail-icon)::before {
  content: var(--home-icon, "\f0e0");
  font-family: Icons;
  font-weight: 900;
}

.bh-home-mail { --home-icon: "\f0e0"; }
.bh-home-calendar { --home-icon: "\f073"; }
.bh-home-booking { --home-icon: "\f274"; }
.bh-home-contacts { --home-icon: "\f0c0"; }
.bh-home-settings { --home-icon: "\f013"; }
.bh-home-vacation { --home-icon: "\f017"; }
.bh-home-filter { --home-icon: "\f0b0"; }
.bh-home-forward { --home-icon: "\f14d"; }
.bh-home-password { --home-icon: "\f023"; }
.bh-home-download { --home-icon: "\f019"; }
.bh-home-upload { --home-icon: "\f093"; }
.bh-home-storage-icon { --home-icon: "\f1c0"; }

.bh-home-row strong,
.bh-home-row em {
  display: block;
}

.bh-home-row strong {
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.bh-home-row em {
  margin-top: 2px;
  color: var(--home-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
}

.bh-home-row small {
  padding: 4px 8px;
  border-radius: 5px;
  background: #e6f5f1;
  color: #075e57;
  font-size: 10px;
  white-space: nowrap;
}

.bh-home-row b {
  color: #6a7b90;
  font-size: 20px;
  font-weight: 400;
}

.bh-home-right .bh-home-row {
  min-height: 48px;
}

.bh-home-right .bh-home-card {
  padding-top: 13px;
  padding-bottom: 13px;
}

.bh-home-right .bh-home-list {
  gap: 5px;
}

.bh-home-right .bh-home-row .bh-home-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 17px;
}

.bh-home-right .bh-home-row {
  grid-template-columns: 34px minmax(0, 1fr) auto 14px;
}

.bh-home-config,
.bh-home-storage {
  margin-top: 16px;
}

.bh-home-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bh-home-details > div {
  display: flex;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--home-line);
  border-radius: 6px;
}

.bh-home-details > div > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.bh-home-details strong {
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bh-home-details small {
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.25;
}

.bh-home-detail-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 16px;
}

.bh-home-shell .bh-home-copy {
  display: flex;
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0;
  margin-left: auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.bh-home-shell .bh-home-copy::before {
  content: none;
}

.bh-home-copy-icon,
.bh-home-copy-check {
  display: block;
  font-family: Icons;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.bh-home-copy-check,
.bh-home-copy.copied .bh-home-copy-icon { display: none; }
.bh-home-copy.copied .bh-home-copy-check { display: block; }

.bh-home-shell .bh-home-copy:hover,
.bh-home-shell .bh-home-copy.copied {
  background: #e6f5f1;
  color: #087b6e;
}


.bh-home-storage {
  padding-bottom: 18px;
}

.bh-home-storage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bh-home-storage-heading h2 {
  margin-bottom: 10px;
}

.bh-home-storage-heading p {
  margin: 0 0 8px;
  color: var(--home-muted);
  font-size: 12px;
}

.bh-home-meter {
  display: grid;
  gap: 5px;
}

.bh-home-meter > strong {
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.bh-home-meter [role="progressbar"] {
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #d8e3eb;
}

.bh-home-meter [role="progressbar"] span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #2dd4bf);
}

.bh-home-meter-warning [role="progressbar"] span { background: #bd6c17; }
.bh-home-meter-critical [role="progressbar"] span { background: #b53244; }

.bh-home-mobile-bar,
.bh-home-backdrop {
  display: none;
}

html.dark-mode .bh-home-shell {
  --home-ink: #f8fafc;
  --home-muted: #b8c9d7;
  --home-line: #34485d;
  --home-surface: #17283d;
}

html.dark-mode .bh-home-main,
html.dark-mode .bh-home { background: #101c32; }
html.dark-mode .bh-home-header p,
html.dark-mode .bh-home-heading-icon { color: #5eead4; }
html.dark-mode .bh-home-shell .bh-home-row { background: #17283d; }
html.dark-mode .bh-home-shell .bh-home-row:hover,
html.dark-mode .bh-home-shell .bh-home-row:focus-visible { background: #203950; }
html.dark-mode .bh-home-icon,
html.dark-mode .bh-home-detail-icon,
html.dark-mode .bh-home-row small { background: #203950; color: #7ce4d6; }
html.dark-mode .bh-home-row b { color: #b8c9d7; }

@media (max-width: 1199px) {
  .bh-home-shell { grid-template-columns: minmax(0, 1fr); }
  .bh-home-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 230px;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }
  .bh-home-shell.nav-open .bh-home-sidebar { transform: translateX(0); }
  .bh-home-shell.nav-open .bh-home-backdrop {
    position: fixed;
    z-index: 3;
    inset: 0;
    display: block;
    width: 100%;
    border: 0;
    background: #071e307a;
  }
  .bh-home-mobile-bar {
    display: flex;
    height: 56px;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    background: #0b2940;
  }
  .bh-home-mobile-bar img { width: 145px; max-height: 44px; object-fit: contain; }
  .bh-home-nav-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font-size: 21px;
    cursor: pointer;
  }
  .bh-home-nav-toggle:hover { background: #184658; }
  .bh-home { height: calc(100% - 56px); }
  .bh-home-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .bh-home-columns { grid-template-columns: minmax(0, 1fr); }
  .bh-home-messages { order: 0; }
  .bh-home-right { order: 1; }
}

@media (max-width: 520px) {
  .bh-home { padding: 17px 14px 24px; }
  .bh-home-header { min-height: 0; flex-direction: column; align-items: flex-start; gap: 13px; }
  .bh-home-header h1 { font-size: 22px; }
  .bh-home-card { padding: 14px; }
  .bh-home-card h2 { font-size: 17px; }
  .bh-home-shell .bh-home-row { min-height: 62px; grid-template-columns: 36px minmax(0, 1fr) auto 12px; gap: 8px; }
  .bh-home-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .bh-home-row small { display: none; }
  .bh-home-details { grid-template-columns: minmax(0, 1fr); }
  .bh-home-storage-heading { align-items: flex-start; flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bh-home-sidebar { transition: none; }
}
