@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f4f9fc; }
  body { margin: 0; min-width: 320px; min-height: 100vh; color: #102b4e; background: linear-gradient(180deg, #f8fcfe 0%, #edf7fb 100%); }
  button, input, select, textarea { font: inherit; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #48a9c5; outline-offset: 2px; }
  h1, h2, h3, p, dl, dd { margin: 0; }
}

@layer base {
  :root {
    --navy: #072b55; --blue: #0b3f99; --ocean: #176fc1; --teal: #199ca4; --green: #2f9f70;
    --text: #102b4e; --muted: #597085; --canvas: #f4f9fc; --surface: #fff; --border: #d8e5ec;
    --pale-blue: #eaf5fb; --mint: #e2f5ed; --lavender: #f1ebfb; --cream: #fbf6df; --moss: #6f7332; --critical: #be2d33;
    --shadow: 0 8px 24px rgb(7 43 85 / .08); --nav-height: 64px; --room-dock-height: 58px;
  }
  small { color: var(--muted); font-size: 12px; line-height: 1.4; }
  p { color: var(--muted); line-height: 1.5; }
  h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
  h2 { font-size: 17px; line-height: 1.3; }
  h3 { font-size: 18px; line-height: 1.3; }
  .skip-link { position: fixed; top: -60px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: white; text-decoration: none; }
  .skip-link:focus { top: 10px; }
}

@layer layout {
  .app-shell { min-height: 100vh; padding-top: 68px; }
  .top-rail { position: fixed; inset: 0 0 auto; z-index: 50; min-height: 60px; padding: 7px max(12px, env(safe-area-inset-right)) 7px max(12px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--border); box-shadow: 0 3px 14px rgb(7 43 85 / .05); backdrop-filter: blur(16px); }
  .brand-cluster, .header-actions, .lsc-lockup, .sage-wordmark { display: flex; align-items: center; }
  .brand-cluster { min-width: 0; gap: 10px; }
  .lsc-lockup { gap: 5px; color: var(--blue); }
  .lsc-lockup img { width: 39px; height: 39px; object-fit: contain; }
  .lsc-lockup strong { font-size: 23px; letter-spacing: -.04em; }
  .brand-divider { width: 1px; height: 32px; background: var(--border); }
  .sage-wordmark { gap: 8px; min-width: 0; }
  .sage-wordmark strong { color: var(--navy); font-size: 24px; letter-spacing: .08em; }
  .sage-wordmark small { max-width: 115px; font-size: 8px; line-height: 1.15; }
  .header-actions { justify-content: flex-end; gap: 7px; min-width: 0; }
  .review-chip, .connectivity { border-radius: 999px; padding: 5px 8px; font-size: 9px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
  .review-chip { color: #61438a; background: var(--lavender); }
  .connectivity { max-width: 180px; overflow: hidden; text-overflow: ellipsis; color: #246c57; background: var(--mint); }
  .connectivity.offline { color: var(--moss); background: var(--cream); }
  .undo-control { min-height: 38px; border: 1px solid #a9c5d5; border-radius: 10px; padding: 7px 11px; background: white; color: var(--blue); font-weight: 750; cursor: pointer; }
  .undo-control:disabled { color: #95a8b6; background: #f6f8f9; cursor: default; }
  .screen { width: min(calc(100% - 24px), 1120px); margin: 0 auto; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 28px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
  .with-room-dock .screen { padding-bottom: calc(var(--nav-height) + var(--room-dock-height) + env(safe-area-inset-bottom) + 28px); }
  .screen-intro, .home-hero { grid-column: 1 / -1; }
  .screen-intro { padding: 22px 24px; border: 1px solid #d3e6ef; border-radius: 18px; background: linear-gradient(135deg, #fff, var(--pale-blue)); }
  .screen-intro p { margin-top: 7px; max-width: 760px; }
  .screen-id { display: inline-block; margin-bottom: 6px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
  .panel { grid-column: span 6; min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgb(255 255 255 / .98); box-shadow: var(--shadow); }
  .panel-heading { margin-bottom: 12px; }
  .panel-current-work, .panel-room-workspace, .panel-plan, .panel-rooms, .panel-work-tasks, .panel-evidence, .panel-findings, .panel-history, .panel-door-graphic, .panel-report-preview, .panel-unassigned { grid-column: 1 / -1; }
}

@layer components {
  .home-hero { position: relative; min-height: 330px; overflow: hidden; border: 1px solid #d4e8f0; border-radius: 20px; background: #fff url("/assets/brand/sage-home-organic-background-approved.png") center/cover no-repeat; box-shadow: var(--shadow); }
  .home-ribbon { position: absolute; top: 52px; left: 0; width: 100%; height: 82px; object-fit: cover; z-index: 1; }
  .hero-copy { position: relative; z-index: 3; width: 56%; padding: 150px 24px 24px 30px; }
  .hero-copy p { margin-top: 9px; font-size: 17px; }
  .hero-copy p strong { color: var(--teal); }
  .prototype-pill { display: inline-flex; margin-bottom: 18px; border-radius: 999px; padding: 6px 10px; background: var(--lavender); color: #5f4286; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
  .sage-crop { overflow: hidden; position: relative; background: transparent; }
  .sage-crop img { position: absolute; display: block; max-width: none; }
  .sage-crop.hero { position: absolute; z-index: 2; right: 3%; bottom: 0; width: 38%; height: 315px; }
  .sage-crop.hero img { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; object-position: center 38%; transform: scale(1.32); transform-origin: 55% 50%; }
  .sage-crop.micro { width: 82px; height: 92px; flex: 0 0 82px; border-radius: 18px; background: var(--pale-blue); }
  .sage-crop.micro img { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; object-position: center 38%; transform: scale(1.32); transform-origin: 55% 50%; }
  .button, .file-button { min-height: 44px; border: 1px solid var(--blue); border-radius: 11px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: white; background: var(--blue); text-decoration: none; font-weight: 700; cursor: pointer; }
  .button:hover, .file-button:hover { background: var(--navy); border-color: var(--navy); }
  .button.secondary, .file-button.secondary { color: var(--blue); background: white; }
  .button.quiet { min-height: 36px; color: var(--blue); background: transparent; border-color: transparent; padding: 7px 8px; }
  .button.danger { background: var(--critical); border-color: var(--critical); }
  .button.compact { min-height: 36px; padding: 7px 10px; font-size: 12px; }
  .button:disabled { color: #728797; border-color: #c8d4da; background: #eef2f4; cursor: not-allowed; }
  .button-row, .chip-row, .capture-options, .two-column-actions, .compact-actions, .status-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .button-row.split { justify-content: space-between; }
  .two-column-actions > * { flex: 1 1 250px; }
  .chip, .segmented button, .status-choice { min-height: 39px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; color: var(--text); background: white; font-size: 12px; font-weight: 700; cursor: pointer; }
  .chip.selected, .status-choice.selected, .segmented button.selected { color: white; background: var(--blue); border-color: var(--blue); }
  .segmented { display: inline-flex; max-width: 100%; overflow: auto; border: 1px solid var(--border); border-radius: 11px; }
  .segmented button { flex: 0 0 auto; border: 0; border-radius: 0; }
  .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .span-all, .field-note { grid-column: 1 / -1; }
  label, .stacked-label { display: grid; gap: 5px; color: var(--text); font-size: 12px; font-weight: 700; }
  input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #c3d6df; border-radius: 9px; padding: 9px 11px; color: var(--text); background: white; font-size: 14px; font-weight: 400; }
  textarea { resize: vertical; }
  fieldset { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
  fieldset legend { padding: 0 5px; font-weight: 750; }
  fieldset label, .select-row { display: inline-flex; align-items: center; gap: 7px; margin: 7px 12px 0 0; }
  fieldset input, .select-row input, .list-row input { width: auto; min-height: auto; }
  .file-button { position: relative; }
  .file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .current-work-card, .project-summary, .room-header, .sage-helper, .history-summary, .door-context { display: flex; align-items: center; gap: 14px; }
  .current-work-card > div:nth-child(2), .project-summary > div, .room-header > div, .sage-helper > div:last-child, .history-summary > div { flex: 1; min-width: 0; }
  .current-work-card h3 { margin: 2px 0; }
  .current-work-card .progress-line { margin-top: 8px; }
  .current-work-icon, .task-icon { display: grid; place-items: center; color: var(--blue); background: var(--pale-blue); }
  .current-work-icon { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 14px; }
  .utility-icon { width: 25px; height: 25px; }
  .task-list { display: grid; gap: 8px; }
  .task-card { min-height: 66px; width: 100%; display: flex; align-items: center; gap: 11px; border: 1px solid var(--border); border-radius: 13px; padding: 10px 12px; color: var(--text); background: white; text-align: left; cursor: pointer; }
  .task-card:hover { border-color: #91bdcf; background: #f9fcfe; }
  .task-card > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
  .task-card small { overflow-wrap: anywhere; }
  .task-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 11px; }
  .task-count { min-width: 28px; border-radius: 999px; padding: 4px 7px; color: var(--blue); background: var(--pale-blue); text-align: center; font-size: 11px; }
  .metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .metrics > div { min-height: 82px; display: grid; align-content: center; border-radius: 13px; padding: 13px; background: linear-gradient(145deg, var(--pale-blue), white); }
  .metrics strong { font-size: 23px; font-variant-numeric: tabular-nums; }
  .metrics span { color: var(--muted); font-size: 12px; }
  .progress-line { height: 7px; overflow: hidden; border-radius: 999px; background: #dce7ed; }
  .progress-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); }
  .list { display: grid; gap: 7px; }
  .list-row { width: 100%; min-height: 58px; border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); background: white; text-align: left; }
  button.list-row { cursor: pointer; }
  .list-row > span:first-child { min-width: 0; display: grid; }
  .list-row strong, .list-row small { overflow-wrap: anywhere; }
  .row-actions { display: flex; align-items: center; gap: 3px; }
  .status-badge { flex: 0 0 auto; border-radius: 999px; padding: 4px 8px; color: var(--blue); background: var(--pale-blue); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .status-badge.good { color: #246c57; background: var(--mint); }
  .status-badge.warn { color: var(--moss); background: var(--cream); }
  .status-badge.lavender { color: #624288; background: var(--lavender); }
  .callout, .empty-state, .report-preview { border: 1px solid var(--border); border-radius: 13px; padding: 15px; background: var(--canvas); }
  .callout p, .empty-state p, .report-preview p { margin-top: 5px; }
  .lavender { background: var(--lavender) !important; }
  .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--border); margin-bottom: 10px; }
  .facts > div { min-width: 0; padding: 9px 11px; background: white; }
  .facts dt { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
  .facts dd { margin-top: 2px; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
  .workspace-stack { display: grid; gap: 8px; }
  .workspace-card { border: 1px solid var(--border); border-radius: 13px; background: white; overflow: hidden; }
  .workspace-card.mint { border-color: #bfe1d2; }
  .workspace-card.cream { border-color: #e3dbad; }
  .workspace-card.lavender { border-color: #d6c6ea; }
  .workspace-card-header { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; padding: 10px 13px; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
  .workspace-card-header > span:first-child { display: grid; min-width: 0; }
  .workspace-card-header > span:last-child { color: var(--blue); font-size: 22px; }
  .workspace-card-body { border-top: 1px solid var(--border); padding: 13px; background: #fcfeff; }
  .compact-actions { margin-bottom: 10px; }
  .compact-actions .task-card { flex: 1 1 180px; }
  .history-card { display: grid; gap: 9px; border: 1px solid #d9cbed; border-radius: 12px; padding: 11px; background: white; }
  .history-card > div:first-child { display: grid; }
  .controlled-plan { min-height: 500px; overflow: auto; position: relative; border: 1px solid #bfd3de; border-radius: 15px; background: linear-gradient(90deg, transparent 49.5%, #dae7ec 50%, transparent 50.5%), linear-gradient(transparent 49.5%, #dae7ec 50%, transparent 50.5%), #fbfdfe; background-size: 36px 36px; }
  .plan-note { position: sticky; z-index: 5; top: 10px; left: 10px; display: inline-flex; border-radius: 999px; padding: 5px 9px; color: var(--muted); background: white; font-size: 10px; font-weight: 700; }
  .plan-map { min-width: 760px; min-height: 470px; position: relative; transform: scale(var(--plan-scale)); transform-origin: top left; transition: transform .18s ease; }
  .room-boundary { position: absolute; left: calc(24px + var(--col) * 145px); top: calc(52px + var(--row) * 100px); width: 125px; min-height: 78px; display: grid; place-content: center; gap: 2px; border: 2px solid var(--ocean); border-radius: 4px; color: var(--text); background: rgb(234 245 251 / .92); cursor: pointer; }
  .room-boundary:nth-child(even) { transform: translateY(10px); }
  .room-boundary.selected { outline: 4px solid rgb(25 156 164 / .28); border-color: var(--teal); }
  .room-boundary.status-reviewed { border-color: var(--green); background: var(--mint); }
  .room-boundary.status-deferred { border-color: var(--moss); background: var(--cream); }
  .capture-stage { display: grid; justify-items: center; gap: 12px; text-align: center; }
  .record-control { width: 102px; height: 102px; border: 9px solid var(--pale-blue); border-radius: 50%; color: white; background: var(--blue); font-weight: 800; cursor: pointer; }
  .record-control.recording { border-color: #f5dada; background: var(--critical); }
  .door-context { margin-bottom: 10px; }
  .door-context span { color: var(--muted); }
  .door-stage { position: relative; width: min(100%, 600px); min-height: 380px; margin: 0 auto; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(180deg, var(--pale-blue), white); }
  .door-stage img { max-width: 70%; max-height: 340px; }
  .hotspot { position: absolute; min-height: 36px; border: 2px solid white; border-radius: 999px; padding: 6px 10px; color: white; background: var(--blue); font-size: 11px; font-weight: 750; cursor: pointer; box-shadow: var(--shadow); }
  .hotspot.hinge { left: 23%; top: 48%; } .hotspot.latch { right: 22%; top: 52%; } .hotspot.closer { top: 15%; left: 47%; }
  .comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .comparison article { border: 1px solid var(--border); border-radius: 12px; padding: 13px; background: var(--canvas); }
  .comparison p { margin-top: 7px; color: var(--text); }
  .sage-helper { align-items: stretch; }
  .sage-helper > div:last-child { align-self: center; }
  .sage-helper p { margin: 4px 0 9px; }
  .helper-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .helper-card { min-height: 112px; display: grid; justify-items: start; align-content: start; gap: 4px; border: 1px solid var(--border); border-radius: 13px; padding: 12px; color: var(--text); background: white; text-align: left; cursor: pointer; }
  .helper-card.ember { border-left: 5px solid #c94b52; } .helper-card.wisp { border-left: 5px solid #cbd2d8; } .helper-card.spark { border-left: 5px solid #e8dcad; } .helper-card.quill { border-left: 5px solid #9b72cf; }
  .helper-card.ripple { border-left: 5px solid var(--teal); } .helper-card.scout { border-left: 5px solid #80cda9; } .helper-card.patch { border-left: 5px solid #86a070; } .helper-card.beacon { border-left: 5px solid #67afe0; }
  .report-preview { min-height: 210px; color: var(--text); background: white; box-shadow: inset 0 0 0 7px var(--canvas); padding: 26px; }
  .report-preview > strong { color: var(--critical); font-size: 10px; letter-spacing: .08em; }
  .report-preview h3 { margin: 22px 0 7px; font-size: 22px; }
  .search-box { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .room-action-dock { position: fixed; z-index: 30; right: 0; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); left: 0; height: var(--room-dock-height); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--border); background: rgb(255 255 255 / .97); backdrop-filter: blur(16px); }
  .room-action-dock button { min-width: 0; border: 0; display: grid; place-items: center; align-content: center; gap: 1px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
  .room-action-dock img { width: 23px; height: 23px; }
  .bottom-nav { position: fixed; z-index: 40; inset: auto 0 0; height: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding: 3px max(7px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(7px, env(safe-area-inset-left)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--border); background: rgb(255 255 255 / .98); box-shadow: 0 -7px 22px rgb(7 43 85 / .07); backdrop-filter: blur(16px); }
  .nav-item { min-width: 0; min-height: 58px; border: 0; display: grid; justify-items: center; align-content: end; gap: 1px; padding: 2px; color: var(--muted); background: transparent; cursor: pointer; }
  .nav-item.active { color: var(--blue); }
  .nav-item b { font-size: 10px; }
  .nav-icon, .nav-icon img { width: 25px; height: 25px; }
  .capture-nav .nav-icon, .capture-nav .nav-icon img { width: 54px; height: 54px; }
  .capture-nav .nav-icon { margin-top: -19px; filter: drop-shadow(0 6px 8px rgb(7 43 85 / .18)); }
  .modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgb(7 43 85 / .5); }
  .modal { width: min(100%, 500px); border-radius: 18px; padding: 22px; background: white; box-shadow: 0 24px 70px rgb(7 43 85 / .25); }
  .modal p { margin: 8px 0 18px; }
  .toast { position: fixed; z-index: 70; left: 50%; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 10px); width: min(calc(100% - 20px), 540px); transform: translateX(-50%); border-radius: 12px; padding: 10px 13px; color: white; background: var(--navy); box-shadow: var(--shadow); font-size: 13px; }
  .with-room-dock .toast { bottom: calc(var(--nav-height) + var(--room-dock-height) + env(safe-area-inset-bottom) + 10px); }
}

@layer responsive {
  @media (max-width: 860px) {
    .panel { grid-column: 1 / -1; }
    .helper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sage-wordmark small, .review-chip { display: none; }
  }
  @media (max-width: 620px) {
    .app-shell { padding-top: 60px; }
    .top-rail { min-height: 54px; padding-block: 5px; gap: 6px; }
    .lsc-lockup img { width: 32px; height: 32px; } .lsc-lockup strong { font-size: 19px; }
    .brand-divider { height: 26px; } .sage-wordmark strong { font-size: 18px; }
    .connectivity { max-width: 82px; padding: 4px 6px; font-size: 8px; }
    .undo-control { min-height: 34px; padding: 5px 8px; } .undo-control span { display: none; }
    .screen { width: calc(100% - 14px); gap: 8px; }
    .screen-intro { padding: 16px 14px; border-radius: 14px; }
    .screen-intro h1 { font-size: 26px; }
    .screen-intro p { font-size: 13px; }
    .panel { padding: 13px; border-radius: 13px; }
    .home-hero { min-height: 242px; border-radius: 14px; }
    .home-ribbon { top: 36px; height: 51px; }
    .hero-copy { width: 65%; padding: 105px 8px 14px 14px; }
    .hero-copy h1 { font-size: 24px; line-height: 1.05; }
    .hero-copy p { margin-top: 5px; font-size: 12px; line-height: 1.35; }
    .prototype-pill { margin-bottom: 9px; padding: 4px 7px; font-size: 7px; }
    .sage-crop.hero { right: 1%; width: 42%; height: 220px; }
    .sage-crop.hero img { width: 100%; top: 0; }
    .current-work-card, .project-summary, .room-header { align-items: stretch; flex-wrap: wrap; gap: 9px; }
    .current-work-icon { width: 44px; height: 44px; flex-basis: 44px; }
    .current-work-card > .button, .project-summary > .button { width: 100%; min-height: 40px; }
    .form-grid, .facts, .comparison { grid-template-columns: 1fr; }
    .span-all, .field-note { grid-column: auto; }
    .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .metrics > div { min-height: 68px; padding: 9px; }
    .metrics strong { font-size: 18px; } .metrics span { font-size: 9px; }
    .task-card { min-height: 58px; padding: 8px 9px; } .task-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .workspace-card-header { min-height: 54px; padding: 9px 11px; }
    .workspace-card-body { padding: 11px; }
    .controlled-plan { min-height: 430px; }
    .door-stage { min-height: 310px; } .door-stage img { max-height: 280px; }
    .search-box { grid-template-columns: 1fr 1fr; } .search-box label { grid-column: 1 / -1; }
    .helper-grid { gap: 6px; } .helper-card { min-height: 98px; padding: 9px; }
    .room-action-dock { overflow: hidden; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .button-row > .button { flex: 1 1 118px; }
  }
  @media (max-width: 390px) {
    .sage-wordmark { display: none; } .brand-divider { display: none; }
    .hero-copy { width: 66%; }
    .sage-crop.hero { width: 43%; }
    .compact-actions .task-card { flex-basis: 100%; }
    .metrics { gap: 5px; }
    .nav-item b { font-size: 9px; }
  }
  @media (min-width: 1120px) {
    .bottom-nav, .room-action-dock { left: 50%; width: min(100%, 1120px); transform: translateX(-50%); border-right: 1px solid var(--border); border-left: 1px solid var(--border); }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; } }
}
