/* App presentation for Management only. Data, routes and desktop styles stay shared. */
.cockpit-app-navigation, .cockpit-app-location { display: none; }
.cockpit-header-identity { display: contents; }

@media (max-width: 1100px) {
  
  #app.computer-mode .admin-workspace-shell {
    --cockpit-app-green: #255643;
    --cockpit-app-nav-height: 76px;
    min-height: 100dvh;
    background: #f3f6f4;
  }
  #app.computer-mode .admin-workspace-shell .admin-workspace { min-width: 0; width: 100%; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-control { display: none; }
  #app.computer-mode .admin-workspace-shell .admin-topbar.consult-topbar {
    position: sticky; top: 0; z-index: 35;
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px 12px; min-height: 72px;
    padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
    background: #fff; border-bottom: 1px solid #dfe8e2;
    backdrop-filter: none;
  }
  #app.computer-mode .admin-workspace-shell .admin-topbar-context { gap: 10px; min-width: 0; flex: 1 1 140px; }
  #app.computer-mode .admin-workspace-shell .admin-topbar-context span:not(.admin-topbar-dot) { display: inline; }
  #app.computer-mode .admin-workspace-shell .admin-topbar-context .cockpit-header-identity {
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-header-identity > span { font-size:calc((11px) * var(--owner-phone-type-scale, 1)); font-weight: 600; color: #6d8074; }
  #app.computer-mode .admin-workspace-shell .admin-topbar-context .cockpit-app-location {
    display: block; max-width: 100%; padding: 0;
    color: #183f34; background: transparent; border-radius: 0;
    font-size:calc((15px) * var(--owner-phone-type-scale, 1)); font-weight: 650; letter-spacing: -.02em;
    line-height: 1.3; overflow-wrap: anywhere;
  }
  #app.computer-mode .admin-workspace-shell .admin-topbar .header-actions {
    max-width: 100%; flex: 0 1 auto; flex-wrap: wrap;
    gap: 6px; justify-content: flex-end;
  }
  #app.computer-mode .admin-workspace-shell .admin-topbar .admin-avatar { width: 32px; height: 32px; font-size:calc((12px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .admin-topbar .text-button { min-height: 44px; padding: 5px 8px; font-size:calc((12px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .consult-language .consult-language-option { min-height: 32px; }
  #app.computer-mode .admin-workspace-shell .admin-content,
  #app.computer-mode .admin-workspace-shell:has(.fd-reference) .admin-content {
    width: 100%; max-width: 100%; padding: 20px 20px calc(var(--cockpit-app-nav-height) + env(safe-area-inset-bottom) + 32px);
  }
  #app.computer-mode .admin-workspace-shell .admin-content > * { min-width: 0; max-width: 100%; }
  #app.computer-mode .admin-workspace-shell .admin-page-heading { margin-bottom: 18px; gap: 12px; align-items: flex-start; }
  #app.computer-mode .admin-workspace-shell .admin-page-heading h1 { font-size:calc((27px) * var(--owner-phone-type-scale, 1)); line-height: 1.15; letter-spacing: -.035em; }
  #app.computer-mode .admin-workspace-shell .consult-page-actions { gap: 8px; flex-wrap: wrap; }
  #app.computer-mode .admin-workspace-shell .admin-content :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    max-width: 100%; min-width: 0; min-height: 44px; font-size:calc((16px) * var(--owner-phone-type-scale, 1));
  }
  #app.computer-mode .admin-workspace-shell .admin-content :is(
    .rental-heading button, .rental-tabs button, .rental-segments button,
    .rental-detail-actions button, .rental-attention-actions button, .rental-expand,
    .inventory-row-controls button, .inventory-row-controls select, .inventory-row-menu > summary,
    .report-pagination button, .overview-order button, .overview-board-card footer > button,
    .fd-secondary, .fd-primary, .fd-receivable-tabs button, .appointment-tabs button,
    .filter-strip button, .consult-page-actions a, .consult-page-actions button
  ) { min-height: 44px; }
  #app.computer-mode .admin-workspace-shell .admin-content :is(.reservation-message-trigger, .rental-expand) { width: auto; height: auto; }
  #app.computer-mode .admin-workspace-shell .admin-content :is(section[id], article[id]) { scroll-margin-top: 116px; }

  /* Four stable destinations; all other existing modules remain in the chooser. */
  #app.computer-mode .admin-workspace-shell .cockpit-app-navigation {
    position: fixed; inset: auto 0 0; z-index: 40;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: var(--cockpit-app-nav-height);
    padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    gap: 4px; border-top: 1px solid #dce6df; background: #fff;
    box-shadow: 0 -4px 20px #173b2a08;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-app-destination {
    min-width: 0; min-height: 58px; border: 0; border-radius: 12px;
    background: transparent; color: #697e72; font: inherit;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 6px 3px; text-align: center; text-decoration: none;
    font-size:calc((11px) * var(--owner-phone-type-scale, 1)); font-weight: 600; line-height: 1.25; cursor: pointer;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-app-destination.active { color: #1e563f; background: #eaf3ec; }
  #app.computer-mode .admin-workspace-shell .cockpit-app-icon { display: block; width: 23px; height: 23px; flex-shrink: 0; }
  #app.computer-mode .admin-workspace-shell .cockpit-app-icon svg { display: block; width: 100%; height: 100%; }
  #app.computer-mode .admin-workspace-shell .cockpit-app-destination:focus-visible { outline: 3px solid #b68d24; outline-offset: -3px; }

  /* A touch module chooser uses the same definitions and links as desktop. */
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-dialog {
    inset: 0 0 0 auto; width: min(520px, 100vw); max-width: 100%;
    height: 100dvh; margin: 0; background: #f4f7f4;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet {
    width: 100%; height: 100%; background: #f4f7f4;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-close {
    position: absolute; inset: max(14px, env(safe-area-inset-top)) 14px auto auto;
    width: 44px; height: 44px; z-index: 2; transform: none;
    border: 1px solid #d5e0d8; border-radius: 12px;
    background: #fff; color: #24533e; box-shadow: none;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-sidebar {
    min-height: 100%; padding: 20px 16px max(24px, env(safe-area-inset-bottom));
    color: #183f34; background: transparent;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-sidebar-brand { margin: 0 52px 20px 0; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .brand-copy strong { color: #183f34; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .brand-copy small { color: #738376; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-sidebar-nav {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px; overflow: visible; scroll-snap-type: none; touch-action: auto;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-group {
    display: block; grid-column: 1 / -1; padding: 8px 2px 2px;
    margin: 0; color: #718173; font-size:calc((11px) * var(--owner-phone-type-scale, 1)); font-weight: 650;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-item {
    width: 100%; max-width: 100%; min-height: 112px; padding: 14px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 9px; color: #29533e; background: #fff;
    border: 1px solid #dce6df; border-radius: 16px; box-shadow: none;
    white-space: normal; cursor: pointer; font-size:calc((13px) * var(--owner-phone-type-scale, 1)); text-align: left;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-icon { width: 28px; height: 28px; color: #32684e; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-label { white-space: normal; overflow-wrap: anywhere; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-item b {
    margin-top: auto; font-size:calc((9px) * var(--owner-phone-type-scale, 1)); font-weight: 600; background: #edf3ee; color: #617966;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-item.active { background: #fff5cc; border-color: #e3c969; color: #264d38; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-item.active .admin-nav-icon { color: #264d38; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-item:hover { border-color: #719b7e; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-locked { opacity: .65; cursor: default; }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-sheet .admin-nav-item:focus-visible { outline: 3px solid #a9801d; outline-offset: 2px; }

  /* Reading order and existing detail controls are preserved. */
  #app.computer-mode .admin-workspace-shell .consult-overview { gap: 20px; }
  #app.computer-mode .admin-workspace-shell .overview-intro { padding: 18px; gap: 16px; flex-wrap: wrap; }
  #app.computer-mode .admin-workspace-shell .overview-section-head { flex-wrap: wrap; }
  #app.computer-mode .admin-workspace-shell .overview-board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app.computer-mode .admin-workspace-shell .overview-board-column { min-width: 0; }
  #app.computer-mode .admin-workspace-shell .overview-column-head { min-height: 0; padding: 14px; }
  #app.computer-mode .admin-workspace-shell .overview-column-empty { padding: 14px 8px; }
  #app.computer-mode .admin-workspace-shell .overview-board-card footer > button { font-size:calc((13px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-next,
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-data { padding: 16px; }
  #app.computer-mode .admin-workspace-shell .overview-detail-cards { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 288px)); }
  #app.computer-mode .admin-workspace-shell .rental-workspace { gap: 16px; }
  #app.computer-mode .admin-workspace-shell .rental-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #app.computer-mode .admin-workspace-shell .rental-attention-summary { padding: 18px; gap: 16px; }
  #app.computer-mode .admin-workspace-shell .rental-attention-actions { gap: 8px; }
  #app.computer-mode .admin-workspace-shell .rental-detail > header { align-items: flex-start; gap: 12px; }
  #app.computer-mode .admin-workspace-shell .rental-detail > header h2 { overflow-wrap: anywhere; }
  #app.computer-mode .admin-workspace-shell .rental-detail > header > button { min-width: 44px; min-height: 44px; }
  #app.computer-mode .admin-workspace-shell .inventory-row-controls { flex-wrap: wrap; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-analysis-grid,
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-analysis-grid > section:last-child,
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-bottom-grid > section:last-child { grid-column: 1 / -1; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-legend > div > small { display: block; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-legend > div { grid-template-columns: minmax(0, 1fr) auto 28px; }
  #app.computer-mode .admin-workspace-shell .fd-reference #finance-receivables { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-filters { max-width: none; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-filters label { min-width: min(140px, 100%); font-size:calc((12px) * var(--owner-phone-type-scale, 1)); gap: 5px; }
  #app.computer-mode .admin-workspace-shell .fd-table-wrap { border: 0; background: transparent; overflow: visible; }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table { display: block; min-width: 0; width: 100%; font-size:calc((13px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table tbody { display: grid; gap: 12px; }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table tbody tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
    padding: 16px; border: 1px solid #dce6df; border-radius: 14px; background: #fff;
  }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table td {
    display: grid; align-content: start; gap: 5px; min-width: 0;
    padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere;
  }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table td::before { content: attr(data-label); color: #718276; font-size:calc((11px) * var(--owner-phone-type-scale, 1)); font-weight: 500; }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table td:nth-child(2) { grid-column: 1 / -1; order: -1; }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table td:last-child { grid-column: 1 / -1; }
  #app.computer-mode .admin-workspace-shell .fd-table-customer { min-width: 0; font-size:calc((15px) * var(--owner-phone-type-scale, 1)); align-items: flex-start; }
  #app.computer-mode .admin-workspace-shell .fd-table-customer strong { overflow-wrap: anywhere; }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table .fd-table-amount { font-size:calc((18px) * var(--owner-phone-type-scale, 1)); color: #254e3b; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-row-actions { min-width: 0; gap: 8px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-row-actions button { min-height: 44px; font-size:calc((13px) * var(--owner-phone-type-scale, 1)); padding: 9px 12px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-row-actions .reservation-message-trigger { color: #fff; background: #19844c; border-color: #19844c; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-row-actions .reservation-message-trigger svg { width: 18px; height: 18px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .report-pagination { font-size:calc((12px) * var(--owner-phone-type-scale, 1)); gap: 10px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .report-pagination button { font-size:calc((12px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .report-pagination { flex-wrap: wrap; }
  #app.computer-mode .admin-workspace-shell .report-pagination-nav { flex-wrap: wrap; gap: 6px; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  #app.computer-mode .admin-workspace-shell .cockpit-app-navigation {
    left: 50%; right: auto; bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%); width: min(600px, calc(100% - 40px));
    min-height: 72px; padding: 6px; border: 1px solid #dce6df; border-radius: 20px;
    box-shadow: 0 8px 32px #153e2c1a;
  }
  #app.computer-mode .admin-workspace-shell .cockpit-app-destination { font-size:calc((12px) * var(--owner-phone-type-scale, 1)); }
}

@media (max-width: 700px) {
  #app.computer-mode .admin-workspace-shell .admin-content,
  #app.computer-mode .admin-workspace-shell:has(.fd-reference) .admin-content {
    padding: 16px max(14px, env(safe-area-inset-right)) calc(var(--cockpit-app-nav-height) + env(safe-area-inset-bottom) + 24px) max(14px, env(safe-area-inset-left));
  }
  #app.computer-mode .admin-workspace-shell .cockpit-navigation-dialog { width: 100vw; }
  #app.computer-mode .admin-workspace-shell .overview-board-grid { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .overview-intro { padding: 16px; }
  #app.computer-mode .admin-workspace-shell .overview-order { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app.computer-mode .admin-workspace-shell .overview-order button { padding: 8px; white-space: normal; }
  #app.computer-mode .admin-workspace-shell .overview-progress { width: 100%; }
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-kpi { padding: 14px; }
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-kpi strong { font-size:calc((26px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-kpi h3 { line-height: 1.4; }
  #app.computer-mode .admin-workspace-shell .rental-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app.computer-mode .admin-workspace-shell .rental-tabs,
  #app.computer-mode .admin-workspace-shell .fd-receivable-tabs,
  #app.computer-mode .admin-workspace-shell .admin-content > .appointment-tabs {
    max-width: 100%; flex-wrap: nowrap; overflow-x: auto;
    overscroll-behavior-inline: contain; scrollbar-width: thin; padding-bottom: 4px;
  }
  #app.computer-mode .admin-workspace-shell .rental-tabs > button,
  #app.computer-mode .admin-workspace-shell .fd-receivable-tabs > button,
  #app.computer-mode .admin-workspace-shell .admin-content > .appointment-tabs > button { flex: 0 0 auto; white-space: nowrap; }
  #app.computer-mode .admin-workspace-shell .rental-toolbar { align-items: stretch; }
  #app.computer-mode .admin-workspace-shell .rental-toolbar > label { width: 100%; }
  #app.computer-mode .admin-workspace-shell .rental-attention-summary { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  #app.computer-mode .admin-workspace-shell .rental-attention-amount { border: 0; border-top: 1px solid #e0e8e3; padding: 12px 0 0; }
  #app.computer-mode .admin-workspace-shell .rental-attention-actions { flex-direction: row; flex-wrap: wrap; }
  #app.computer-mode .admin-workspace-shell .rental-attention-actions button { flex: 1 1 120px; }
  #app.computer-mode .admin-workspace-shell .rental-attention-row > .rental-detail { margin: 0 8px 8px; padding: 14px; }
  #app.computer-mode .admin-workspace-shell .rental-detail-columns { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-analysis-grid,
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-bottom-grid { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-analysis-grid > section:last-child,
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-bottom-grid > section:last-child { grid-column: auto; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-composition { grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-legend > div { grid-template-columns: minmax(0, 1fr) auto; font-size:calc((11px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-legend > div > small { grid-column: 2; }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table tbody tr { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .fd-receivable-table td:nth-child(2),
  #app.computer-mode .admin-workspace-shell .fd-receivable-table td:last-child { grid-column: auto; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-heading-actions { justify-content: flex-start; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-heading-actions > label { flex: 1 1 140px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-heading-actions > a { flex: 1 1 180px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-row-actions > button { flex: 1 1 120px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-panel { padding: 14px; }
  body:has(#app.computer-mode .admin-workspace-shell) .reservation-message-dialog {
    width: 100%; max-width: 100%; max-height: 100dvh; margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    padding: 20px max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  body:has(#app.computer-mode .admin-workspace-shell) .reservation-message-dialog :is(input, textarea) { font-size:calc((16px) * var(--owner-phone-type-scale, 1)); }
  body:has(#app.computer-mode .admin-workspace-shell) .reservation-message-actions > * { flex: 1 1 180px; min-height: 48px; }
}

@media (max-width: 380px) {
  #app.computer-mode .admin-workspace-shell .admin-topbar .header-actions { flex: 1 1 100%; justify-content: space-between; }
  #app.computer-mode .admin-workspace-shell .cockpit-app-destination { font-size:calc((10px) * var(--owner-phone-type-scale, 1)); }
  #app.computer-mode .admin-workspace-shell .overview-kaizen .overview-kpis { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-composition { grid-template-columns: minmax(0, 1fr); }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-legend > div { grid-template-columns: minmax(0, 1fr) auto 28px; }
  #app.computer-mode .admin-workspace-shell .fd-reference .fd-legend > div > small { grid-column: auto; }
}
/* Only geometry differs: the product viewport lives inside the simulated device.
   Keep these selectors stronger than the scoped product rules above. */
#app.computer-mode .computer-screen{container-type:inline-size;container-name:business-screen}
@media(max-width:1100px){
 #app.computer-mode .computer-screen .admin-workspace-shell{position:relative;display:block;height:100%;min-height:0;overflow:hidden}
 #app.computer-mode .computer-screen .admin-workspace-shell>.admin-sidebar,
 #app.computer-mode .computer-screen .admin-workspace-shell .computer-nav-toggle{display:none}
 #app.computer-mode .computer-screen .admin-workspace-shell>.admin-workspace{width:100%;height:100%;min-height:0}
 #app.computer-mode .computer-screen .admin-workspace-shell .admin-topbar.consult-topbar{position:relative;height:auto;min-height:72px;flex-shrink:0}
 #app.computer-mode .computer-screen .admin-workspace-shell .admin-topbar-context .cockpit-header-identity{display:flex!important}
 #app.computer-mode .computer-screen .admin-workspace-shell .computer-signout{min-height:44px;padding:5px 8px;font-size:calc((12px) * var(--owner-phone-type-scale, 1))}
 #app.computer-mode .computer-screen .admin-workspace-shell .admin-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding-block:12px 95px}
 #app.computer-mode .computer-screen .admin-workspace-shell .cockpit-app-navigation{position:absolute;inset:auto 0 0;min-height:76px;transform:none;width:auto;border-radius:0;padding:6px 8px 10px}
 #app.computer-mode .computer-screen .admin-workspace-shell .cockpit-navigation-dialog{position:absolute;inset:0 0 0 auto;width:min(520px,100%);height:100%;min-height:0;max-width:100%;max-height:100%;padding:0;margin:0;border:0;border-radius:0;overflow:auto;z-index:60}
 #app.computer-mode .computer-screen .admin-workspace-shell .cockpit-navigation-sheet{position:static;min-height:100%;height:auto;max-width:100%;overflow:visible;transform:none}
 #app.computer-mode .computer-screen .admin-workspace-shell .cockpit-navigation-sheet .admin-sidebar{display:block;position:static;width:100%;height:auto;min-height:0;overflow:visible;max-height:none;box-shadow:none}
 #app.computer-mode .computer-screen .admin-workspace-shell .cockpit-navigation-close{left:auto;right:14px;top:14px;bottom:auto;font-size:calc((25px) * var(--owner-phone-type-scale, 1));line-height:1;display:grid;place-items:center}
 #app.computer-mode .computer-screen .admin-workspace-shell .overview-board-detail{scroll-margin-top:12px}
 #app.computer-mode .computer-screen .admin-workspace-shell .overview-detail-record>button{margin-top:auto;align-self:flex-start;padding:10px 12px;border:1px solid #d3dfd4;border-radius:5px;color:#284e3b;background:#fff;font-size:calc((13px) * var(--owner-phone-type-scale, 1));min-height:44px}
 #app.computer-mode .computer-screen .admin-workspace-shell .overview-board-detail>.button{margin:12px 18px}
}
@media(min-width:701px) and (max-width:1100px){
 #app.computer-mode .computer-screen .admin-workspace-shell .cockpit-app-navigation{left:50%;right:auto;bottom:12px;transform:translateX(-50%);width:min(600px,calc(100% - 40px));border:1px solid #dce6df;border-radius:20px;padding:6px;min-height:72px}
}
/* Header uses screen width rather than the surrounding physical device. */
@container business-screen (max-width:380px){
 #app.computer-mode .computer-screen .admin-workspace-shell .admin-topbar .header-actions{flex:1 1 100%;justify-content:space-between}
}
@media(min-width:801px) and (max-width:1100px){
 #app.computer-mode .computer-screen .admin-workspace-shell .overview-intro{flex-direction:row;align-items:center}
}
@media(max-width:800px){
 #app.computer-mode .computer-screen .admin-workspace-shell .overview-intro{flex-direction:column;align-items:flex-start}
}

/* Demo-only owner typography preference: 20% smaller in the phone frame. */
@media(max-width:600px){
 #app.computer-mode .admin-workspace-shell{--owner-phone-type-scale:.8;font-size:calc(1rem * var(--owner-phone-type-scale))}
}
