/* Daily management: neutral surfaces, selective brand accents. Brand rules stay in app.css. */
.app-shell{--muted:#606873;--border:#e1e5e9;--cream:#fff2e5;background:#f5f6f8;grid-template-columns:226px minmax(0,1fr)}
.app-shell .sidebar{background:#fff;border-color:var(--border);padding-top:1.6rem}
.app-shell .nav-caption{color:#69717c;margin-top:2rem;margin-bottom:.6rem}
.app-shell .sidebar nav{gap:.2rem}
.app-shell .sidebar nav a,.app-shell .sidebar-bottom>a{min-height:44px;color:#4b535e;font-size:.88rem;padding:.65rem .8rem}
.app-shell .sidebar nav a>span{color:#69717c}
.app-shell .sidebar nav a:hover,.app-shell .sidebar-bottom>a:hover{background:#f5f6f8}
.app-shell .sidebar nav a.active,.app-shell .sidebar-bottom>a.active{background:#fff2e5;color:#814009;box-shadow:inset 3px 0 #ffb978;font-weight:650}
.app-shell .sidebar nav a.active>span{color:#91450c}
.app-shell .mode-note{color:#606873}
.app-shell .topbar{height:58px;min-height:58px;background:#fff;border-color:var(--border);padding:.4rem 1.8rem}
.app-shell .topbar-label{color:#626b76;font-size:.8rem}
.app-shell .topbar-label strong{color:#302a23;font-weight:550}
.app-shell main#contenido{padding:1.8rem;max-width:1540px}
.app-shell .app-footer{color:#68717c;padding:.6rem 1.8rem 1.1rem}
.app-shell h1{font-size:1.85rem;line-height:1.2;letter-spacing:-.045rem;margin-bottom:.4rem}
.app-shell h2{font-size:1.12rem;line-height:1.4;letter-spacing:-.015rem}
.app-shell .eyebrow{color:#626b76;font-size:.68rem;letter-spacing:.08em;margin-bottom:.4rem}
.app-shell .page-heading{gap:1rem;margin-bottom:1.4rem;align-items:center}
.app-shell .page-heading p{font-size:.86rem;color:#606873;max-width:660px}
.app-shell button,.app-shell .button{min-height:44px;border-radius:8px;padding:.65rem 1rem;transition:background .14s,border-color .14s}
.app-shell .button-secondary{background:#fff;border-color:#d2d8df;color:#454d58}
.app-shell .button-secondary:hover{background:#f4f6f8;border-color:#adb7c2}
.app-shell .button-quiet{background:transparent;border-color:transparent;color:#625348;padding:.5rem .75rem;min-height:44px}
.app-shell .button-quiet:hover{background:#f0f2f5}
.app-shell .button-dark{background:#302a23;color:#fff}
.app-shell .button-dark:hover{background:#4a4036}
.app-shell :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #91450c;outline-offset:3px}
.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea{background:#fff;min-height:44px;border-color:#cdd4dc;border-radius:8px}
.app-shell input::placeholder,.app-shell textarea::placeholder{color:#68717c}
.app-shell label{font-size:.84rem;color:#414a55}
.app-shell .panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.25rem;margin-bottom:1.2rem;box-shadow:none}
.app-shell .orange-panel{background:#fff;border-color:var(--border)}
.app-shell .orange-panel p{color:#606873}
.app-shell .muted,.app-shell .fine-print,.app-shell small,.app-shell thead{color:#606873}
.app-shell .fine-print{font-size:.81rem;line-height:1.5;margin:.65rem 0}
.app-shell .metrics{border:1px solid var(--border);border-radius:12px;background:#fff;gap:0;overflow:hidden;margin-bottom:1.2rem}
.app-shell .metric{border:0;border-right:1px solid var(--border);border-radius:0;padding:1.1rem 1.2rem;background:transparent}
.app-shell .metric:last-child{border-right:0}
.app-shell .metric>span:first-child{font-size:.81rem;color:#535d68}
.app-shell .metric strong{font-size:1.85rem;margin:.4rem 0 .35rem;letter-spacing:-.035rem}
.app-shell .metric small{font-size:.75rem;line-height:1.45;padding-right:0}
.app-shell .metric-symbol{width:25px;height:25px;font-size:1rem;top:.85rem;right:.85rem;background:#fff2e5;color:#91450c;border-radius:7px}
.app-shell .dashboard-columns{align-items:start;gap:1.2rem;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr)}
.app-shell .dashboard-columns>.panel{margin-bottom:1.2rem}
.app-shell .summary-list{margin:.4rem 0 1rem}
.app-shell .summary-list>div{border-color:#e7ebef;padding:.7rem 0}
.app-shell .summary-list dt{color:#535d68}
.app-shell .summary-list dd{font-variant-numeric:tabular-nums}
.app-shell .run-row{border-radius:8px;padding:.95rem;gap:.8rem;background:#fff}
.app-shell .run-row:hover{background:#f7f9fb}
.app-shell .run-row .progress-track{margin:.55rem 0 .35rem;background:#e9edf1;max-width:100%}
.app-shell .progress-track span{background:#d98539}
.app-shell .route-icon{background:#fff2e5;color:#91450c;width:36px;height:40px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:8px}
.app-shell .badge{background:#f0f2f5;color:#495360;border:1px solid #e2e6eb;border-radius:6px;font-size:.72rem}
.app-shell .badge-green{background:#edf7f0;color:#285e3b;border-color:#c7dfcf}
.app-shell .count{background:#eef1f4;color:#535d68}
.app-shell .empty-state{padding:2rem 1.2rem}
.app-shell .empty-state p{font-size:.86rem;margin-bottom:1rem}
.app-shell .empty-icon{font-size:1.7rem;margin-bottom:.8rem;color:#97724d}
.app-shell .table-scroll{border-radius:0 0 11px 11px}
.app-shell table{font-size:.85rem}
.app-shell th{font-size:.74rem;background:#f8f9fb;color:#5c6672;padding:.75rem 1rem;border-bottom:1px solid var(--border)}
.app-shell td{padding:.85rem 1rem;border-color:#e9edf1;vertical-align:middle}
.app-shell td strong{font-size:.87rem}
.app-shell td small{font-size:.75rem;margin-top:.25rem}
.app-shell .selected-row{background:#fff7ef}
.app-shell .section-heading{margin-bottom:1rem;gap:.75rem}
.app-shell .section-heading a{font-size:.83rem;min-height:44px;display:inline-flex;align-items:center}
.app-shell .notice{background:#fff8e8;border-color:#e6d5a8;color:#71521f;border-radius:8px;font-size:.84rem;padding:.85rem 1rem;margin-bottom:1rem}
.app-shell .notice-error{background:#fff3f0;border-color:#e8c6bf;color:#8a3529}
.app-shell .notice-success{background:#eef7f0;border-color:#c6dfcd;color:#2b613d}
.app-shell .notice-info{background:#f2f5f8;border-color:#d9e0e7;color:#485868}
.app-shell .notice p:last-child{margin-bottom:0}
.app-shell details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:550;color:#4c5662;list-style:none}
.app-shell details>summary::-webkit-details-marker{display:none}
.app-shell details>summary::before{content:'›';display:inline-block;font-size:1.3rem;line-height:1;transition:transform .14s}
.app-shell details[open]>summary::before{transform:rotate(90deg)}
.app-shell [hidden]{display:none!important}
.nav-toggle{display:none}
.management-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem;align-items:start}
.management-workspace.is-editing{grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr)}
.app-shell .management-list{padding:0;overflow:hidden}
.management-list>.section-heading,.management-list>.list-toolbar{padding:1rem 1.2rem;margin:0}
.management-list>.empty-state{padding:2rem}
.management-list .table-scroll+.selection-summary{padding:1.2rem;border-top:1px solid var(--border)}
.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}
.editor-heading h2{margin:0}
.editor-heading button{flex:none}
.editor-note{font-size:.8rem;color:#606873}
.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border)}
.list-toolbar .search-label{margin:0;width:min(380px,100%)}
.list-toolbar input{min-height:44px}
.table-meta>summary{font-size:.75rem!important;min-height:44px!important;font-weight:400!important;color:#626b76!important}
.table-meta p{font-size:.78rem;max-width:340px;margin:.3rem 0 .5rem}
.selection-summary h3{margin-bottom:.5rem}
.management-editor{scroll-margin-top:1rem}
.management-editor h2:focus{outline:none}
.dashboard-heading-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.dashboard-heading-actions label{margin:0}
.dashboard-heading-actions input{width:160px!important}
.dashboard-route-list{display:flex;flex-direction:column}
.dashboard-route{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem;padding:.85rem 0;border-bottom:1px solid #e7ebef}
.dashboard-route:last-child{border-bottom:0;padding-bottom:0}
.dashboard-route strong{display:block}
.dashboard-route small{display:block;margin-top:.2rem}
.dashboard-route a{min-height:44px;display:flex;align-items:center}
.dashboard-quick-links{display:flex;flex-wrap:wrap;gap:.6rem;padding-top:1rem;margin-top:1rem;border-top:1px solid var(--border)}
.app-shell .billing-company-picker{padding:1rem 1.2rem;margin-bottom:1rem;gap:1rem}
.billing-company-picker label{font-size:.78rem}
.app-shell .billing-subscription{border:1px solid var(--border);padding:1rem 1.2rem;gap:1rem;margin-bottom:1rem}
.app-shell .billing-subscription h2{font-size:1.2rem;margin-bottom:.3rem}
.app-shell .billing-subscription .eyebrow{margin-bottom:.25rem;letter-spacing:.03em;font-size:.75rem}
.app-shell .billing-subscription p{margin:.3rem 0 0;font-size:.82rem;color:#606873}
.app-shell .billing-subscription>div:last-child{display:flex;align-items:center;gap:1rem;text-align:left}
.app-shell .billing-status{font-size:.72rem;background:#fff7e5;color:#78541b;border-color:#e7d5aa;padding:.25rem .55rem}
.app-shell .billing-status-good{background:#edf7f0;color:#285e3b;border-color:#c7dfcf}
.app-shell .billing-status-alert{background:#fff1ed;color:#923a2d;border-color:#e5c0b7}
.app-shell .billing-workspace{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(0,1.35fr);gap:1.2rem;align-items:start;margin-bottom:1.2rem}
.app-shell .billing-workspace .billing-editor{grid-column:1/-1;max-width:900px;justify-self:center;width:100%}
.app-shell .billing-owner-workspace{grid-template-columns:minmax(270px,.8fr) minmax(0,1.4fr);gap:1.2rem}
.app-shell .billing-invoice-list{gap:0;display:flex;flex-direction:column}
.app-shell .billing-invoice-choice{background:#fff;border:0;border-bottom:1px solid #e7ebef;border-radius:0;padding:1rem 1.2rem;width:100%;min-height:100px}
.app-shell .billing-invoice-choice:last-child{border-bottom:0}
.app-shell .billing-invoice-choice:hover{background:#f7f9fb}
.app-shell .billing-invoice-choice.selected{background:#fff7ef;box-shadow:inset 3px 0 #d98539;border:0;border-bottom:1px solid #e7ebef;padding:1rem 1.2rem}
.app-shell .billing-invoice-choice .section-heading{margin-bottom:.35rem;gap:.6rem;align-items:center}
.app-shell .billing-invoice-choice .section-heading strong{font-size:.85rem}
.app-shell .billing-invoice-amount{font-size:1.18rem;margin:.35rem 0}
.app-shell .billing-invoice-choice .fine-print{font-size:.76rem;margin:0}
.app-shell .billing-invoice-detail .section-heading h2{font-size:1.55rem;margin-bottom:0}
.app-shell .billing-facts{gap:.8rem 1.1rem;margin:1rem 0 1.2rem}
.app-shell .billing-facts dt{font-size:.75rem;color:#606873}
.app-shell .billing-facts dd{font-size:.83rem}
.app-shell .billing-disclosure{border-color:#dce2e8;background:#fafbfc;padding:.7rem 1rem;margin:1rem 0}
.app-shell .billing-disclosure summary{color:#4c5662;font-size:.84rem}
.app-shell .billing-disclosure[open] summary{margin-bottom:.8rem}
.app-shell .billing-documents{margin:.6rem 0}
.app-shell .billing-documents li{padding:.7rem 0;border-color:#e7ebef}
.app-shell .billing-documents small{font-size:.75rem;line-height:1.5}
.app-shell .billing-documents p{font-size:.8rem}
.app-shell .billing-alias{background:#f7f9fb;border-color:#dce2e8;margin:1rem 0}
.app-shell .billing-alias span{color:#606873}
.app-shell .billing-history{margin-top:.6rem}
.app-shell .billing-history li{border-color:#dce2e8;padding-left:1rem;padding-bottom:.8rem}
.app-shell .billing-history .section-heading{margin-bottom:.2rem}
.app-shell .billing-history time{color:#606873;white-space:nowrap}
.app-shell .billing-history small{font-size:.75rem}
.app-shell .billing-history p{font-size:.82rem;margin:.35rem 0}
.app-shell .billing-history summary{min-height:44px}
.app-shell .billing-history-panel>summary{display:flex;gap:.5rem;align-items:center;font-size:1rem;font-weight:650}
.app-shell .billing-history-panel>summary .count{margin-left:auto}
.app-shell .billing-history-panel[open]>summary{border-bottom:1px solid var(--border);padding-bottom:.8rem;margin-bottom:1rem}
.app-shell .billing-help{font-size:.83rem}
.app-shell .billing-help ol{font-size:.83rem;margin:.5rem 0;padding-left:1.2rem}
.app-shell .billing-help li{margin-bottom:.5rem}
.app-shell .billing-access-banner{align-items:center;margin-bottom:1.2rem}
.app-shell .billing-access-banner span{font-size:.81rem}
.app-shell .billing-lock{max-width:760px;margin:2rem auto;padding:1.8rem;text-align:left}
.app-shell .billing-lock h1{color:#302a23}
.app-shell .billing-lock p{max-width:none;color:#606873}
.app-shell .billing-lock .billing-status{margin-bottom:1rem}
.app-shell .billing-lock .button-row{margin-top:1.2rem}
.action-link{min-height:44px;display:inline-flex;align-items:center;gap:.3rem;font-weight:550}
@media(min-width:1500px){.app-shell{grid-template-columns:238px minmax(0,1fr)}.app-shell main#contenido{padding:2rem}}
@media(max-width:1150px){.management-workspace.is-editing{grid-template-columns:1fr}.app-shell .billing-workspace{grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr)}.app-shell .metric-symbol{display:none}}
@media(max-width:980px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.app-shell main#contenido{padding:1.35rem}.app-shell .dashboard-columns{grid-template-columns:1fr}.app-shell .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .metric:nth-child(2){border-right:0}.app-shell .metric:nth-child(-n+2){border-bottom:1px solid var(--border)}.app-shell .metrics-three{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .metrics-three .metric{border-bottom:0;border-right:1px solid var(--border)}.app-shell .metrics-three .metric:last-child{border-right:0}.app-shell .billing-workspace,.app-shell .billing-owner-workspace{grid-template-columns:1fr}.app-shell .billing-subscription{align-items:start;flex-direction:column}.app-shell .billing-subscription>div:last-child{flex-wrap:wrap}.app-shell .billing-history .section-heading{flex-direction:column;align-items:start;gap:.25rem}}
@media(max-width:720px){.app-shell{display:block}.app-shell .sidebar{padding:1rem 1.15rem;border-bottom:1px solid var(--border);position:relative;height:auto}.app-shell .nav-toggle{display:inline-flex;position:absolute;right:1rem;top:.8rem;width:44px;height:44px;padding:0;background:#f5f6f8;border:1px solid #dce2e8;color:#454d58;font-size:1.25rem}.app-shell .sidebar nav{display:none;overflow:visible;flex-direction:column;padding:1rem 0 0;margin:0;gap:.2rem}.app-shell .sidebar.nav-is-open nav{display:flex}.app-shell .sidebar nav a{font-size:.9rem;white-space:normal;padding:.65rem .8rem;min-height:44px}.app-shell .sidebar nav a>span{width:18px;font-size:1.05rem}.app-shell .sidebar-bottom{display:none;position:static;flex-direction:column;padding-top:.7rem;margin:0;gap:.2rem}.app-shell .sidebar.nav-is-open .sidebar-bottom{display:flex}.app-shell .sidebar-bottom>a{font-size:.88rem;padding:.65rem .8rem}.app-shell .sidebar .mode-note{display:none}.app-shell .topbar{height:auto;min-height:44px;padding:.2rem 1.15rem;flex-wrap:nowrap;gap:.5rem}.app-shell .topbar-label{font-size:.72rem;max-width:180px}.app-shell .topbar .button-quiet{font-size:.75rem;min-height:44px;padding:.3rem .5rem}.app-shell main#contenido{padding:1.3rem 1.1rem}.app-shell .app-footer{padding:.4rem 1.1rem 1rem}.app-shell h1{font-size:1.65rem}.app-shell .page-heading{gap:.8rem;align-items:center;margin-bottom:1.2rem}.app-shell .page-heading h1{font-size:1.65rem}.app-shell .page-heading p{font-size:.82rem}.app-shell .page-heading .eyebrow{font-size:.66rem}.app-shell .page-heading>button,.app-shell .page-heading>a{min-height:44px;font-size:.82rem;padding:.6rem .85rem}.app-shell .panel{padding:1rem;border-radius:10px;margin-bottom:1rem}.app-shell .management-list{padding:0}.management-list>.section-heading,.management-list>.list-toolbar{padding:.85rem 1rem}.app-shell .metric{padding:.95rem}.app-shell .metric>span:first-child{font-size:.76rem}.app-shell .metric strong{font-size:1.6rem}.app-shell .metric small{font-size:.72rem}.app-shell .metrics-three .metric{display:block;padding:.8rem .7rem}.app-shell .metrics-three .metric strong{font-size:1.45rem;margin:.35rem 0}.app-shell .metrics-three .metric small{font-size:.68rem}.dashboard-heading-actions{width:100%;gap:.5rem;justify-content:space-between}.dashboard-heading-actions label{flex:1}.dashboard-heading-actions input{width:100%!important}.app-shell .dashboard-columns{gap:0}.app-shell .run-row{padding:.85rem}.app-shell .run-row .route-icon{display:none}.app-shell .run-row .badge{font-size:.67rem}.dashboard-route{gap:.7rem}.dashboard-route a{font-size:.8rem}.app-shell .section-heading a{font-size:.8rem}.app-shell .summary-list dt{font-size:.8rem}.list-toolbar{flex-wrap:wrap}.app-shell .billing-company-picker{padding:.85rem 1rem;gap:.4rem;flex-direction:row;align-items:center}.billing-company-picker label{flex:1;min-width:0}.billing-company-picker>a{font-size:.72rem!important;padding:.4rem!important;max-width:98px;line-height:1.4}.app-shell .billing-subscription{padding:.9rem 1rem;gap:.65rem}.app-shell .billing-subscription h2{font-size:1.08rem}.app-shell .billing-subscription>div:last-child{gap:.75rem;align-items:center}.app-shell .billing-subscription>div:last-child p{font-size:.77rem}.app-shell .billing-invoice-choice,.app-shell .billing-invoice-choice.selected{padding:.85rem 1rem;min-height:90px}.app-shell .billing-invoice-choice .section-heading{align-items:center;flex-wrap:wrap;margin-bottom:.25rem}.app-shell .billing-invoice-choice .section-heading strong{font-size:.82rem}.app-shell .billing-invoice-choice .billing-status{font-size:.66rem}.app-shell .billing-invoice-amount{font-size:1.1rem;margin:.25rem 0}.app-shell .billing-invoice-detail .section-heading h2{font-size:1.4rem}.app-shell .billing-facts{gap:.8rem}.app-shell .billing-facts dd{font-size:.81rem}.app-shell .billing-disclosure{padding:.6rem .8rem}.app-shell .billing-access-banner{align-items:start;gap:.5rem;padding:.8rem 1rem}.app-shell .billing-access-banner a{min-height:44px;font-size:.79rem}.app-shell .billing-lock{margin:0;padding:1.2rem}.app-shell th,.app-shell td{padding:.8rem .85rem}.app-shell .table-meta>summary{min-height:44px!important}.app-shell .form-grid{gap:0 .7rem}.app-shell .management-editor .form-grid{grid-template-columns:1fr}.app-shell .management-workspace{gap:1rem}.editor-heading{align-items:start}.app-shell .billing-history-panel>summary{font-size:.95rem}.app-shell .billing-history li{padding-left:.75rem}.app-shell .billing-history p{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.app-shell *,.app-shell *::before,.app-shell *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.billing-counts{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;margin:.2rem 0 1.1rem;color:#606873;font-size:.82rem}.billing-counts>span{white-space:nowrap}.billing-counts strong{font-size:1rem;color:#302a23;margin-right:.15rem}.billing-counts>.button-row{margin-left:auto}.billing-review{border-top:1px solid #e1e5e9;padding-top:1rem;margin-top:1.1rem}.billing-review .section-heading{margin-bottom:0}.billing-review h3{margin:0}.billing-review .form-grid{margin-top:.7rem}
@media(max-width:720px){.billing-counts{gap:.6rem 1rem;font-size:.76rem;margin-bottom:1rem}.billing-counts>.button-row{margin-left:0;width:100%}.billing-counts>.button-row>button:last-child{margin-left:auto}.management-list table,.management-list tbody{display:block;width:100%}.management-list thead{display:none}.management-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:.8rem 1rem;border-bottom:1px solid #e1e5e9;gap:.35rem .8rem}.management-list tbody tr:last-child{border-bottom:0}.app-shell .management-list td{display:block;border:0;padding:.2rem 0;min-width:0}.management-list td:first-child{grid-column:1/-1}.management-list td:last-child{grid-column:1/-1;display:flex;justify-content:flex-end}.management-list td[data-label]::before{content:attr(data-label);display:block;color:#606873;font-size:.7rem;font-weight:500;margin-bottom:.2rem}.management-list td small{max-width:none}.management-list .table-meta>summary{min-height:44px!important}.management-list .button-row{justify-content:flex-end}.management-list .action-link{font-size:.82rem}.dashboard-quick-links{gap:.4rem}.billing-review .section-heading{flex-wrap:nowrap!important}}
.billing-invoice-detail h2:focus{outline:none}.app-shell .billing-invoice-detail>.section-heading{margin-bottom:.6rem}.app-shell .billing-documents .table-meta summary{font-size:.75rem;min-height:44px}.app-shell .billing-help>summary{font-size:.88rem}.app-shell .billing-help[open]>summary{margin-bottom:.7rem}.app-shell .billing-subscription .billing-status{flex:none}.app-shell .billing-invoice-choice .fine-print{line-height:1.5}

.app-shell .billing-documents a,.app-shell .auth-links a{display:inline-flex;align-items:center;min-height:44px}.app-shell .notice a:not(.button){display:inline-flex;align-items:center;min-height:44px}
.app-shell .notice-loading{display:flex;align-items:center;gap:.65rem;background:#f2f5f8;border-color:#d9e0e7;color:#485868}.loading-marker{display:inline-block;width:16px;height:16px;flex:none;border:2px solid #cdd5de;border-top-color:#91450c;border-radius:50%;animation:management-spin .9s linear infinite}@keyframes management-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.loading-marker{animation:none}}
.app-shell .checkbox-label,.app-shell .checkbox-list label{min-height:44px}
.app-shell .page-heading>div:first-child{flex:1;min-width:0}.app-shell .inline-label{flex-direction:row;align-items:center;gap:.65rem}.billing-invoice-amount-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.billing-invoice-action{color:#814009;font-size:.8rem;font-weight:600;white-space:nowrap}.billing-invoice-choice:hover .billing-invoice-action{text-decoration:underline}
.nav-icon{width:18px;height:18px;flex:none;color:#69717c;vertical-align:middle}.app-shell .sidebar nav a.active .nav-icon,.app-shell .sidebar-bottom>a.active .nav-icon{color:#91450c}
/* Keep actual action feedback visible when an editor is below a long list. */
.app-shell main#contenido>.notice[role=alert],.app-shell main#contenido>.notice-success[role=status]{position:sticky;top:.65rem;z-index:10;box-shadow:0 3px 12px #00000012}

/* Shared portal rhythm: consistent insets and a single divider per section. */
.app-shell .main-column,.app-shell main#contenido,.app-shell .panel{min-width:0}
.app-shell main#contenido{width:100%}
.app-shell .list-toolbar{align-items:end;justify-content:flex-start;flex-wrap:wrap;gap:.75rem}
.app-shell .list-toolbar>label{margin:0;min-width:0}
.app-shell .list-toolbar>.search-label{flex:1 1 240px;max-width:420px}
.app-shell .list-toolbar>label:not(.search-label){flex:0 1 200px}
.app-shell .list-toolbar>button{flex:none}
/* Filters need room above their divider and before the first result row. */
.app-shell .panel:not(.management-list):not(.billing-company-picker)>.list-toolbar{padding:0 0 1rem;margin:0 0 1rem}
.app-shell .panel:not(.management-list):not(.billing-company-picker)>.list-toolbar+.table-scroll{margin-top:.25rem}
.app-shell .account-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.app-shell .account-total{display:block;font-size:1.8rem;margin-top:.35rem;line-height:1.3}
.app-shell .back-link{display:inline-block;margin-bottom:.65rem;font-size:.85rem}
.app-shell .management-list>.list-pager{margin:0;padding:.85rem 1.2rem;border-top:1px solid var(--border);background:#fafbfc}
.app-shell .management-list tbody tr:last-child td{border-bottom:0}
.app-shell .management-list .table-scroll{border-radius:0}
.app-shell .management-list>.section-heading h2{margin:0}
.app-shell .filter-row{gap:.75rem;padding-bottom:1rem;margin-bottom:1rem}
.app-shell .form-grid{gap:1rem}
.app-shell .form-grid>label{min-width:0}
.app-shell hr{border:0;border-top:1px solid var(--border);margin:1.25rem 0}
@media(min-width:721px) and (pointer:fine){
    .app-shell .list-toolbar>button,.app-shell .filter-row>button,.app-shell .list-pager button{min-height:38px;padding:.45rem .8rem;font-size:.85rem}
}
@media(max-width:720px){
    .app-shell .management-list>.list-pager{padding:.85rem 1rem}
    .app-shell .list-toolbar>.search-label{flex-basis:100%;max-width:none;width:100%}
    .app-shell .list-toolbar>label:not(.search-label){flex:1 1 140px}
}
/* Company search is a field group, not a table toolbar with a partial rule. */
.app-shell .billing-company-picker{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;align-items:end;gap:.75rem 1rem}
.app-shell .billing-company-picker>.list-toolbar{border:0;padding:0;margin:0;flex-wrap:nowrap;max-width:460px;align-items:end}
.app-shell .billing-company-picker>.list-toolbar>label{flex:1;min-width:0;max-width:none}
.app-shell .billing-company-picker>label{margin:0;max-width:460px;width:100%;min-width:0}
.app-shell .billing-company-picker>.company-picker-pages{grid-row:2;grid-column:1/-1;min-width:0}
.app-shell .company-picker-pages>.list-pager{margin-top:0;padding-top:.75rem}
.app-shell .billing-company-picker>.button{grid-column:3;grid-row:1;white-space:nowrap}
@media(min-width:721px) and (pointer:fine){
    .app-shell .management-list td{padding:.65rem 1rem}
    .app-shell .management-list .table-meta>summary{min-height:30px!important}
    .app-shell .management-list td .button-quiet{min-height:36px;padding:.4rem .6rem}
}
@media(max-width:980px){.app-shell .billing-company-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.app-shell .billing-company-picker>.button{grid-row:3;grid-column:1/-1;justify-self:start;max-width:none;padding:.5rem .75rem!important}}
@media(max-width:600px){.app-shell .billing-company-picker{grid-template-columns:minmax(0,1fr)}.app-shell .billing-company-picker>.list-toolbar,.app-shell .billing-company-picker>label{max-width:none}.app-shell .billing-company-picker>.company-picker-pages{grid-row:auto}.app-shell .billing-company-picker>.button{grid-row:auto}}

.app-shell .management-list>.section-heading{padding:.65rem 1.2rem;margin:0}
.app-shell .management-list>.list-toolbar{padding:.65rem 1.2rem 1rem}
@media(max-width:720px){.app-shell .management-list>.section-heading{padding:.65rem 1rem}.app-shell .management-list>.list-toolbar{padding:.65rem 1rem 1rem}}
.app-shell .billing-company-picker{grid-template-columns:minmax(220px,460px) minmax(220px,460px) auto;justify-content:start}
@media(max-width:980px){.app-shell .billing-company-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:720px){.app-shell .panel:not(.management-list)>.table-scroll>table{min-width:540px}}
@media(max-width:600px){.app-shell .billing-company-picker{grid-template-columns:minmax(0,1fr)}}

.sodita-map-stop { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #a24412; color: white; border: 2px solid white; font-weight: bold; box-shadow: 0 1px 4px #5558; }
