/* Two presentations of the existing cabinet. Shared Care/Hiring tokens are preserved. */
.interface-switch{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:13px;color:var(--muted)}
.interface-switch>div{display:flex;padding:3px;background:#fff;border:1px solid var(--line);border-radius:10px}
.interface-switch button{border:0;background:transparent;border-radius:7px;padding:9px 13px;color:var(--ink);font-size:14px;min-height:38px}
.interface-switch button[aria-pressed=true]{background:var(--accent);color:white;font-weight:700}
.interface-switch button:disabled{opacity:.65}
.topbar:has(.interface-switch){height:auto;min-height:76px;flex-wrap:wrap;padding:12px 0}
.topbar:has(.interface-switch) .topbar-right{flex-wrap:wrap;margin-left:auto}
.interface-mode-note{font-size:13px;color:var(--muted);margin-top:16px}
.important-notice{background:#fff8e9;border:1px solid #ead7b3;border-left:4px solid #ba8a3c;border-radius:10px;padding:14px 18px;margin:16px 0;overflow-wrap:anywhere}
.important-notice strong{color:#694d23}.important-notice p{font-size:14px;line-height:1.5;margin:4px 0 0}.important-notice button{margin-top:8px}
.important-notice summary{margin-top:8px;color:#694d23;font-size:14px;cursor:pointer}.notice-orders{display:flex;flex-wrap:wrap;gap:6px 16px}
.simple-action-panel,.simple-plan-panel{margin-top:20px;overflow:hidden}
.simple-action-panel{border-top:3px solid var(--accent)}
.simple-panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 24px}
.simple-panel-head h2{margin:0;font-size:23px;line-height:1.3;text-transform:none}.simple-panel-head p{margin:5px 0 0;font-size:14px;color:var(--muted)}
.section-kicker{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin-bottom:5px;font-weight:700}
.simple-count{display:inline-block;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-size:15px;padding:2px 8px;vertical-align:middle}
.simple-order-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(180px,1.4fr) minmax(140px,.9fr) auto;align-items:center;gap:18px;padding:20px 24px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.simple-order-when,.simple-order-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.simple-order-when>strong{font-size:18px}.simple-order-when>span,.simple-order-info>span{font-size:14px;color:var(--muted);line-height:1.45}
.simple-order-info>.row-important{color:#8a542d;font-weight:700}.simple-order-state .badge{white-space:normal}.simple-order-state .timer{font-size:13px;white-space:normal}
.simple-order-row>.primary,.simple-order-row>.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:220px;white-space:normal;text-align:center}
.simple-empty{padding:4px 24px 24px;color:var(--muted);margin:0;line-height:1.6}
.more-orders>summary,.simple-details>summary{padding:16px 24px;font-weight:700;cursor:pointer;color:#4f5e29;min-height:48px;list-style-position:inside}
.more-orders{border-top:1px solid var(--line)}.more-orders[open]>summary{background:#f5f7ef}
.upcoming-head{border-top:1px solid var(--line);background:#fafbf7}.simple-panel-footer{padding:17px 24px;border-top:1px solid var(--line)}
.simple-help-link{margin:22px 0;color:var(--muted);font-size:14px}.simple-help-link a{color:var(--accent);font-weight:700}
.simple-shell .sidebar-bottom .help-block{display:none}.simple-shell .nav-upcoming{display:none}.simple-nav-extra>summary{padding:14px 11px;cursor:pointer;font-size:14px;color:var(--muted)}
.simple-shell .page-heading h1{font-size:34px}.simple-shell .main{max-width:1550px}
.drawer-mode-bar{padding:12px 26px;border-bottom:1px solid var(--line)}.drawer-mode-bar .interface-switch{justify-content:space-between}
.drawer.simple-drawer{width:min(740px,100vw);max-width:100vw}.simple-drawer .drawer-head h2{text-transform:none}
.simple-drawer .drawer-body{padding:20px 26px}.simple-delivery{display:flex;flex-direction:column;gap:5px;margin:12px 0 20px;font-size:16px}.simple-delivery strong{font-size:22px}.simple-delivery span{color:var(--muted)}
.simple-drawer .detail-status{margin-bottom:8px}.simple-drawer .confirmation-box{margin:18px 0 24px;background:var(--accent-soft);border-color:#cfd8b8}
.simple-drawer .confirmation-actions{display:flex;flex-wrap:wrap;gap:10px}.simple-drawer .confirmation-actions .primary{min-height:48px;font-size:17px;padding:12px 22px}
.simple-drawer .confirmation-actions>button[disabled]:not(.primary){display:none}
.simple-drawer .confirmation-actions:has(a[data-cabinet-help="original"])>.help-control:has(>.primary[disabled]){display:none}
.simple-drawer .confirmation-actions a[data-cabinet-help="original"]{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:700;min-height:44px;white-space:normal}
.simple-drawer .confirmation-message{font-size:14px}.simple-timing-note{color:#845c2a;font-size:14px}
.simple-composition h3{font-size:21px;text-transform:none;letter-spacing:0;margin:24px 0 12px}.simple-composition ul{list-style:none;padding:0;margin:0}.simple-composition li{display:flex;gap:16px;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}
.simple-composition li>div{min-width:0;overflow-wrap:anywhere}.simple-composition li span{display:block;color:var(--muted);font-size:14px;margin-top:4px}.simple-quantity{flex-shrink:0;font-size:18px}
.simple-documents{margin-top:22px}.simple-details{margin-top:16px;border:1px solid var(--line);border-radius:10px}.simple-details[open]{padding:0 16px 16px}.simple-details[open]>summary{margin:0 -16px 16px;border-bottom:1px solid var(--line)}
.simple-details table{table-layout:fixed;width:100%;min-width:0}.simple-details th,.simple-details td{white-space:normal;overflow-wrap:anywhere;padding:10px 6px}
.simple-details .total-line{gap:14px;flex-wrap:wrap}.simple-details .detail-status{display:none}
.drawer-revision-warning{background:#fff3e3;padding:14px;border:1px solid #d4ad78;border-radius:8px}.drawer-revision-warning p{margin:0 0 10px}
@media(max-width:1200px){.simple-order-row{grid-template-columns:minmax(140px,.8fr) minmax(180px,1fr) minmax(170px,.8fr)}.simple-order-row>button{grid-column:3;grid-row:2}.simple-order-state{grid-column:3;grid-row:1}.simple-order-info{grid-column:2;grid-row:1/3}.simple-order-when{grid-row:1/3}.interface-switch>span{display:none}.drawer-mode-bar .interface-switch>span{display:block}}
@media(max-width:760px){.topbar:has(.interface-switch) .topbar-right{margin:0;width:100%;justify-content:space-between}.topbar:has(.interface-switch) .sync-state{display:none}.interface-switch>span{display:block}.topbar .interface-switch{margin-right:auto}.simple-shell .main{padding:0 16px 28px}.simple-shell .page-heading h1{font-size:28px}.simple-shell .page-heading .date-chip{display:none}.simple-panel-head{padding:18px;align-items:flex-start;flex-wrap:wrap}.simple-panel-head h2{font-size:21px}.simple-order-row{padding:18px;grid-template-columns:1fr auto;gap:14px 10px}.simple-order-when{grid-row:1;grid-column:1}.simple-order-state{grid-column:2;grid-row:1;max-width:145px;text-align:right}.simple-order-info{grid-column:1/-1;grid-row:2}.simple-order-row>button{grid-column:1/-1;grid-row:3;max-width:none;width:100%}.simple-panel-footer{padding:17px 18px}.drawer-mode-bar{padding:10px 16px}.simple-drawer .drawer-body{padding:18px 16px}.simple-delivery strong{font-size:21px}.simple-details>summary{padding:14px}.simple-details[open]{padding:0 10px 10px}.simple-details[open]>summary{margin:0 -10px 14px}.important-notice{padding:13px}.simple-drawer .document-actions{flex-direction:column;align-items:stretch}.simple-drawer .document-actions .help-control{width:100%}.simple-drawer .document-actions a{white-space:normal;text-align:center}.simple-drawer .confirmation-actions>*{max-width:100%}.simple-drawer .confirmation-actions .help-control{flex-wrap:wrap}.simple-drawer .confirmation-actions .primary{width:100%}.simple-drawer .order-changes{overflow-wrap:anywhere}.simple-drawer .change-table{min-width:0;table-layout:fixed;width:100%}.simple-drawer .change-table th,.simple-drawer .change-table td{white-space:normal;overflow-wrap:anywhere}.simple-details .detail-grid{grid-template-columns:1fr}}
@media(max-width:380px){.simple-order-row{grid-template-columns:1fr}.simple-order-state{grid-column:1;grid-row:2;max-width:none;text-align:left}.simple-order-info{grid-row:3}.simple-order-row>button{grid-row:4}.interface-switch{gap:5px}.interface-switch>span{font-size:12px}.interface-switch button{padding:9px 10px}.simple-shell .main{padding-left:10px;padding-right:10px}}
@media print{.interface-switch,.drawer-mode-bar{display:none!important}}
/* Keep the first order action within reach on a phone; avoid duplicate controls. */
@media(max-width:760px){
  .simple-shell .topbar{position:relative}
  .simple-shell .topbar-left{max-width:calc(100% - 60px)}
  .simple-shell .topbar-right>.help-control:has(>.user-control){position:absolute;right:0;top:12px}
  .simple-shell .page-heading{margin:17px 0}
  .simple-shell .page-heading .eyebrow{display:none}
  .simple-shell .mode-strip{padding:8px 12px;margin-bottom:12px}
  .simple-action-panel .section-kicker{display:none}
  .simple-action-panel .simple-panel-head{padding:17px 18px}
  .simple-action-panel .simple-panel-head>button[data-action="sound"],
  .simple-action-panel .simple-panel-head>.help-control:has(>[data-action="sound"]){display:none}
  .simple-drawer .confirmation-actions>.help-control:has(>.primary){display:inline-flex;flex-wrap:nowrap;align-items:center;gap:6px}
  .simple-drawer .confirmation-actions>.help-control>.primary{width:auto;flex:1;min-width:0}
}
