.onb-centred{display:flex;justify-content:center;padding:32px 16px}.onb-card{width:100%;max-width:420px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);display:flex;flex-direction:column;gap:8px}.onb-card h1{margin:0 0 4px;font-size:1.4rem}.onb-card input{min-height:var(--tap);padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:inherit}.onb-hint{margin:0;color:var(--muted)}.onb-error{margin:0;color:var(--bad);font-weight:600}.onb-primary{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:8px 16px;border:1px solid var(--accent);border-radius:8px;background:var(--accent);color:#fff;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}.onb-primary:disabled{opacity:.6;cursor:progress}.onb-card a:not(.onb-primary){color:var(--accent);display:inline-block;min-height:var(--tap);line-height:var(--tap)}.backoffice{max-width:1100px;margin:0 auto;padding:1rem;min-width:0}.backoffice h2{margin:0 0 .25rem}.audit-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;align-items:end;margin:1rem 0;padding:.75rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.audit-filters label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;min-width:0}.audit-filters input,.audit-filters select,.audit-filters button{min-height:var(--tap);width:100%;box-sizing:border-box}.audit-list{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.audit-entry{display:grid;grid-template-columns:13rem 1fr;grid-template-areas:"when what" "when who" "when target" "detail detail";gap:.15rem 1rem;padding:.6rem .75rem;border:1px solid var(--line);border-left:4px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;overflow-wrap:anywhere}.audit-entry.outcome-denied,.audit-entry.outcome-failed{border-left-color:var(--bad)}.audit-entry.outcome-succeeded{border-left-color:var(--ok)}.audit-when{grid-area:when;color:var(--muted);font-variant-numeric:tabular-nums}.audit-what{grid-area:what}.audit-who{grid-area:who}.audit-target{grid-area:target}.audit-detail{grid-area:detail}.audit-entry .label{color:var(--muted);font-size:.85rem}.audit-entry code{font-size:.85rem}.audit-detail dl{display:grid;gap:.2rem;margin:.4rem 0 0}.audit-detail dl>div{display:grid;grid-template-columns:12rem 1fr;gap:.5rem}.audit-detail dt{color:var(--muted)}.audit-detail dd{margin:0;overflow-wrap:anywhere}.outcome-pill.outcome-denied,.outcome-pill.outcome-failed{color:var(--bad)}.outcome-pill.outcome-succeeded{color:var(--ok)}@media(max-width:700px){.audit-entry{grid-template-columns:1fr;grid-template-areas:"when" "what" "who" "target" "detail"}.audit-detail dl>div{grid-template-columns:1fr;gap:0}}.staff-list{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.5rem}.staff-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding:.6rem .75rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.staff-row.inactive{opacity:.7}.staff-who{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;min-width:0;overflow-wrap:anywhere}.staff-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.staff-actions select,.staff-actions button{min-height:var(--tap)}.staff-create{max-width:420px}.cash-panel h4{margin:1rem 0 .25rem}.cash-form .confirm{display:block;padding:.5rem 0}.cash-form .confirm input{width:1.2rem;height:1.2rem;vertical-align:middle}.pill.method-cash,.pill.method-card-terminal{font-weight:600}.card-terminal-form fieldset{border:0;margin:0;padding:0;min-width:0}.card-terminal-form input[type=text],.card-terminal-form input[type=datetime-local],.card-terminal-form select{max-width:100%;min-width:0;box-sizing:border-box}.card-terminal-form .unresolved,.card-terminal-form .unresolved .row{min-width:0;overflow-wrap:anywhere}.reverse-form .actions{display:flex;flex-wrap:wrap;gap:.5rem}.notice{color:var(--ok);margin:.5rem 0 0}.sell-flow{display:flex;flex-direction:column;gap:.75rem}.sell-flow button.big{min-height:calc(var(--tap) + 4px);font-size:1.05rem;padding:.6rem 1.2rem}.sell-start button.big{width:100%;max-width:24rem}.sell-steps{display:flex;flex-direction:column;gap:.9rem}.sell-step{border:1px solid var(--line);border-radius:var(--radius);padding:.75rem;margin:0;min-width:0}.sell-step legend,.sell-step>h4{font-weight:600;font-size:1rem;padding:0 .25rem;margin:0 0 .5rem}.sell-step .step-no{display:inline-grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--accent);color:#fff;font-size:.85rem}.sell-step[disabled] .step-no{opacity:.6}.choice-list{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(min(15rem,100%),1fr))}.choice-card{display:flex;gap:.6rem;align-items:flex-start;min-height:var(--tap);padding:.65rem .75rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);cursor:pointer}.choice-card input[type=radio]{width:1.25rem;height:1.25rem;margin:.1rem 0 0;flex:none}.choice-card.on{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent) inset}.choice-card:focus-within{outline:2px solid var(--accent);outline-offset:2px}.choice-card.off{cursor:not-allowed;opacity:.7}.choice-body{display:flex;flex-direction:column;gap:.15rem;min-width:0}.choice-title{font-weight:600;overflow-wrap:anywhere}.choice-price{font-size:1.05rem}.choice-sub{display:block;color:var(--muted);font-size:.85rem}.sell-confirm form fieldset{border:none;padding:0;margin:0;min-width:0}.sale-summary{margin:0 0 .6rem;padding:.6rem .75rem;border-radius:var(--radius);background:var(--bg);font-weight:600;overflow-wrap:anywhere}.sale-summary .choice-sub{font-weight:400}.sell-confirm details.more-fields,.sell-flow details.more-fields{margin:.25rem 0}.sell-flow details.more-fields>summary{cursor:pointer;min-height:var(--tap);display:flex;align-items:center;color:var(--accent)}.online-sale,.receipt-card{border:1px solid var(--line);border-radius:var(--radius);padding:.75rem}.online-sale.warn-card{border-color:var(--warn)}.online-sale h4,.receipt-card h4{margin:0 0 .4rem}.receipt-card{border-color:var(--ok)}.receipt-facts{display:grid;grid-template-columns:max-content 1fr;gap:.25rem .9rem;margin:0 0 .5rem}.receipt-facts dt{color:var(--muted)}.receipt-facts dd{margin:0;overflow-wrap:anywhere}.payment-link input{width:100%;font-family:ui-monospace,monospace;font-size:.85rem}.sell-flow a.button-link{display:inline-flex;align-items:center;min-height:var(--tap);padding:0 1rem;border-radius:var(--radius);border:1px solid var(--accent);color:var(--accent);text-decoration:none;font-weight:600}@media(max-width:640px){.sell-flow .actions>button,.sell-flow .actions>a,.sell-flow form>button.big{width:100%;justify-content:center}}.member-panel details.advanced{margin-top:.75rem}.member-panel details.advanced>summary{cursor:pointer;min-height:var(--tap);display:flex;align-items:center;gap:.4rem;color:var(--muted)}.member-panel details.advanced>summary h3{display:inline;margin:0;font-size:inherit}.sell-flow select[data-testid=sell-product]{width:100%;max-width:32rem}.sell-details{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}@media(min-width:760px){.sell-details{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.sell-details .field{display:flex;flex-direction:column;gap:.25rem;min-width:0}.sale-review{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.3rem 1rem;margin:.25rem 0 .75rem;padding:.75rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}.sale-review dt{color:var(--muted)}.sale-review dd{margin:0;overflow-wrap:anywhere}@media(max-width:479px){.sale-review{grid-template-columns:minmax(0,1fr)}.sale-review dd{margin-bottom:.35rem}}.sell-details .referral-search{display:block}.sell-details .referral-search .member-search{order:0;flex:none;width:100%;max-width:none}.email-area-tabs{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.email-area-tabs button{min-height:44px;padding:0 1rem}.email-area-tabs button[aria-selected=true]{font-weight:700;border-bottom:3px solid currentColor}.email-templates{display:grid;gap:1rem;min-width:0}.email-templates .quiet{opacity:.8;font-size:.9rem}.email-templates button{min-height:40px}@media(pointer:coarse){.email-templates button{min-height:44px}}.tpl-list{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.tpl-card{width:100%;text-align:left;display:grid;gap:.25rem;padding:.75rem 1rem;border:1px solid rgba(127,127,127,.35);border-radius:8px;background:transparent;color:inherit;cursor:pointer}.tpl-card:hover{border-color:#1d4ed8}.tpl-card-title{font-weight:700}.tpl-card-status{font-size:.85rem}.tpl-page{gap:.75rem}.tpl-page button,.tpl-page input,.tpl-page select,.tpl-page .tpl-rich{scroll-margin-top:calc(var(--staff-bar-clearance, 0px) + .5rem)}.tpl-topbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(127,127,127,.25)}.tpl-back{background:transparent;border:none;color:inherit;padding:0 .25rem;text-decoration:underline;cursor:pointer}.tpl-topbar-title{flex:1 1 16rem;min-width:0}.tpl-topbar-title h2{margin:0;font-size:1.35rem}.tpl-sending{margin:.25rem 0 0;display:flex;flex-wrap:wrap;gap:.35rem;font-size:.85rem}.tpl-pill{display:inline-block;padding:.1rem .55rem;border-radius:999px;border:1px solid rgba(127,127,127,.45)}.tpl-pill.tone-live{border-color:#2e7d32;color:#1b5e20;background:#edf7ee}.tpl-pill.tone-unsaved{border-color:#b26a00;color:#5c3700;background:#fff6e5}.tpl-topbar-actions{display:flex;flex-wrap:wrap;gap:.5rem}.tpl-description{margin:0}.tpl-view-switch{display:flex;gap:0;border:1px solid rgba(127,127,127,.45);border-radius:8px;overflow:hidden}.tpl-view-switch button{flex:1;border:none;border-radius:0;background:transparent;color:inherit;min-height:44px}.tpl-view-switch button[aria-selected=true]{background:#1d4ed8;color:#fff;font-weight:700}.tpl-workspace{display:grid;gap:1rem;min-width:0}.tpl-workspace.show-edit .tpl-draft,.tpl-workspace.show-preview .tpl-compose{display:none}@media(min-width:64rem){.tpl-view-switch{display:none}.tpl-workspace{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}.tpl-workspace.show-edit .tpl-draft,.tpl-workspace.show-preview .tpl-compose{display:grid}.tpl-draft{position:sticky;top:calc(var(--staff-bar-clearance, 0px) + .5rem)}}.tpl-compose{display:grid;gap:.6rem;min-width:0;align-content:start}.tpl-subject{display:grid;gap:.25rem;font-weight:600;font-size:.9rem}.tpl-subject input{min-height:44px;font:inherit;font-weight:400;font-size:1rem;padding:.4rem .6rem}.tpl-frame-row{display:flex;flex-wrap:wrap;gap:.5rem 1rem}.tpl-component-picker{display:flex;flex-wrap:wrap;gap:.25rem .5rem;align-items:center;font-size:.9rem}.tpl-component-picker label{display:inline-flex;align-items:center;gap:.4rem}.tpl-component-picker select{min-height:40px;min-width:9rem;font:inherit}.tpl-must-keep{margin:0}.tpl-chip{display:inline-block;padding:0 .4rem;margin:0 .1rem;border-radius:999px;background:#e0f2f1;color:#0b4f4a;font-size:.85em;border:1px solid #0f766e}.tpl-chip-locked{background:#eef2ff;border-color:#4338ca;color:#312e81}.tpl-chip-button{font-size:.85rem}.tpl-problems{margin:0;padding-left:1.25rem;color:#b42318;font-size:.9rem}.tpl-rich-editor{border:1px solid rgba(127,127,127,.45);border-radius:8px;background:#fff;color:#1f2933;min-width:0}.tpl-rich-toolbar{display:grid;gap:.4rem;padding:.4rem;border-bottom:1px solid rgba(127,127,127,.25);background:#f7f8fa;border-radius:8px 8px 0 0;position:sticky;top:var(--staff-bar-clearance, 0px);z-index:2}.tpl-tool-row{display:flex;flex-wrap:wrap;gap:.3rem .5rem;align-items:center}.tpl-tool-group{display:inline-flex;gap:2px}.tpl-rich-toolbar button{min-height:36px;min-width:36px;padding:0 .5rem;border:1px solid transparent;border-radius:6px;background:transparent;color:#1f2933;font:inherit;font-size:.9rem;cursor:pointer}.tpl-rich-toolbar button:hover:not(:disabled){background:#e8ebf0}.tpl-rich-toolbar button:disabled{opacity:.4;cursor:default}.tpl-rich-toolbar button[aria-pressed=true]{background:#e0e7ff;border-color:#1d4ed8;color:#1e3a8a}.tpl-rich-toolbar button[aria-expanded=true]{background:#e0e7ff;border-color:#1d4ed8}.tpl-rich-toolbar .tpl-icon{padding:0;display:inline-grid;place-items:center}.tpl-tool-disclosure.has-value{font-weight:600}.tpl-rich-toolbar select,.tpl-rich-toolbar input{min-height:36px;font:inherit;font-size:.9rem;border-radius:6px;border:1px solid rgba(127,127,127,.5);background:#fff;color:#1f2933;padding:0 .4rem}@media(pointer:coarse){.tpl-rich-toolbar button,.tpl-rich-toolbar select,.tpl-rich-toolbar input{min-height:44px;min-width:44px}}@media(max-width:40rem){.tpl-rich-toolbar{position:static}}.tpl-tool-panel{display:flex;flex-wrap:wrap;gap:.4rem .6rem;align-items:end;padding:.5rem;border:1px solid rgba(127,127,127,.3);border-radius:6px;background:#fff}.tpl-tool-panel-style{display:grid;gap:.5rem;align-items:start}.tpl-tool-line{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.tpl-tool-panel label,.tpl-tool-line label{display:inline-flex;flex-direction:column;font-size:.78rem;gap:.15rem;color:#4b5563}.tpl-tool-panel input{width:8rem}.tpl-tool-panel input[placeholder="https://"]{width:min(18rem,60vw)}.tpl-tool-panel button{border-color:#7f7f7f73!important}.tpl-tool-caption{font-size:.78rem;color:#4b5563;min-width:4.5rem}.tpl-tool-hint{font-size:.8rem;color:#4b5563;align-self:center}.tpl-swatch{width:28px;min-width:28px!important;height:28px;min-height:28px!important;padding:0!important;border:1px solid rgba(0,0,0,.25)!important;border-radius:50%!important}.tpl-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px #1d4ed8}@media(pointer:coarse){.tpl-swatch{width:40px;min-width:40px!important;height:40px;min-height:40px!important}}.tpl-contrast{color:#b42318;font-size:.85rem}.tpl-rich{min-height:4.5rem;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}.tpl-rich-editor .tpl-rich{min-height:16rem;max-width:40rem;padding:1rem 1.25rem;outline:none;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55;color:#1f2933}.tpl-rich-editor .tpl-rich:focus-visible{box-shadow:inset 0 0 0 2px #1d4ed8;border-radius:0 0 8px 8px}.tpl-rich-editor .tpl-rich p{margin:0 0 .75rem}.tpl-rich-editor .tpl-rich h1,.tpl-rich-editor .tpl-rich h2,.tpl-rich-editor .tpl-rich h3{margin:.4rem 0 .6rem;line-height:1.25}.tpl-rich-editor .tpl-rich ul,.tpl-rich-editor .tpl-rich ol{padding-left:1.5rem;margin:0 0 .75rem}.tpl-rich-editor .tpl-rich a{color:#1d4ed8;text-decoration:underline}.tpl-rich-editor .ProseMirror-selectednode{outline:2px solid #1d4ed8;border-radius:4px}.tpl-rich .tpl-chip{-webkit-user-select:all;user-select:all;cursor:default}.tpl-action-button{margin:.5rem 0 .75rem;text-align:left}.tpl-action-button.align-center{text-align:center}.tpl-action-button.align-right{text-align:right}.tpl-action-link{color:#1d4ed8;text-decoration:underline}.tpl-action-address{display:block;margin-top:.15rem}.tpl-draft{display:grid;gap:.5rem;min-width:0;align-content:start;padding:.75rem;border-radius:8px;background:#eef1f5;border:1px solid rgba(127,127,127,.3)}.tpl-draft-head{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tpl-draft-head h3{margin:0 auto 0 0;font-size:1.05rem}.tpl-segmented{display:inline-flex;border:1px solid rgba(127,127,127,.5);border-radius:6px;overflow:hidden}.tpl-segmented button{border:none;border-radius:0;background:#fff;color:#1f2933;padding:0 .75rem}.tpl-segmented button[aria-pressed=true]{background:#1d4ed8;color:#fff}.tpl-quiet-button{background:transparent;border:1px solid rgba(127,127,127,.5);border-radius:6px;color:inherit;padding:0 .75rem}.tpl-draft-label{margin:0;padding:.4rem .6rem;border-radius:6px;background:#fff6e5;border:1px dashed #b26a00;color:#5c3700;font-size:.85rem}.tpl-draft-status{margin:0;font-size:.8rem;color:#4b5563}.tpl-draft[aria-busy=true] .tpl-mail-frame{opacity:.7}.tpl-mail{justify-self:center;width:100%;max-width:40rem;background:#fff;color:#1f2933;border-radius:8px;box-shadow:0 1px 3px #0000001f;overflow:hidden;transition:max-width .15s ease}.tpl-mail-mobile{max-width:24rem}.tpl-mail-envelope{margin:0;padding:.6rem .9rem;display:grid;gap:.15rem;border-bottom:1px solid #e5e7eb;font-size:.88rem}.tpl-mail-envelope div{display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:.5rem}.tpl-mail-envelope dt{color:#6b7280}.tpl-mail-envelope dd{margin:0;overflow-wrap:anywhere}.tpl-mail-subject{font-weight:600}.tpl-sample-tag{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;padding:0 .35rem;border-radius:4px;background:#fff6e5;color:#5c3700;border:1px solid #b26a00}.tpl-mail .tpl-preview-tabs{padding:.35rem .6rem 0;border-bottom:1px solid #e5e7eb}.tpl-mail-frame{display:block;width:100%;height:28rem;border:none;background:#fff}.tpl-mail .tpl-preview-text{margin:0;border:none;max-height:28rem}.tpl-mail-empty{padding:2rem 1rem;text-align:center}.tpl-draft-foot{margin:0;font-size:.78rem}.tpl-section{border:1px solid rgba(127,127,127,.3);border-radius:8px}.tpl-section>summary{cursor:pointer;padding:.75rem 1rem;font-weight:600;min-height:44px;box-sizing:border-box}.tpl-section[open]>summary{border-bottom:1px solid rgba(127,127,127,.2)}.tpl-section-body{padding:.75rem 1rem;display:grid;gap:.5rem}.tpl-revisions{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.tpl-revision{border-bottom:1px solid rgba(127,127,127,.25);padding-bottom:.5rem}.tpl-revision-subject{overflow-wrap:anywhere}.tpl-revision-actions{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.25rem}.tpl-badge{font-size:.75rem;padding:0 .4rem;border-radius:999px;border:1px solid currentColor}.status-active .tpl-badge{color:#2e7d32}.tpl-authorship,.tpl-card-meta,.tpl-meta{font-size:.85rem}.tpl-library h3{display:none}.tpl-library-save{display:flex;flex-wrap:wrap;gap:.5rem;align-items:end}.tpl-library-save label{display:grid;gap:.25rem}.tpl-library-save input{min-height:40px;font:inherit}.tpl-library-list{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.tpl-preset-history{font-size:.85rem;padding-left:1.25rem}.tpl-notice{margin:0;padding:.6rem .75rem;border:1px solid rgba(127,127,127,.35);border-left-width:4px;border-radius:6px}.tpl-notice.tone-ok{border-left-color:#2e7d32;background:#edf7ee;color:#1b4d1f}.tpl-notice.tone-warn{border-left-color:#b26a00;background:#fff6e5;color:#5c3700}.tpl-notice.tone-bad{border-left-color:#c62828;background:#fdecea;color:#7a1a14}.tpl-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:grid;place-items:center;padding:.5rem;z-index:50}.tpl-dialog{background:Canvas;color:CanvasText;border-radius:8px;padding:1rem;width:min(52rem,100%);max-height:100%;overflow:auto;display:grid;gap:.5rem}.tpl-preview-frame{width:100%;height:26rem;border:1px solid rgba(127,127,127,.35);background:#fff}.tpl-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:26rem;overflow:auto;border:1px solid rgba(127,127,127,.35);padding:.75rem;font-size:.85rem}.tpl-preview-tabs{display:flex;gap:.25rem;flex-wrap:wrap}.tpl-preview-tabs button{background:transparent;border:none;border-bottom:2px solid transparent;border-radius:0;color:inherit;padding:0 .6rem}.tpl-preview-tabs button[aria-selected=true]{font-weight:700;border-bottom-color:#1d4ed8}.tpl-validation.ok{color:#2e7d32}.tpl-validation.bad{color:#c62828;font-weight:700}.sw-msg{margin-top:1.5rem}.sw-msg-compose{display:grid;gap:.75rem;max-width:40rem}.sw-msg-compose fieldset{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;align-items:center;border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:.5rem .75rem}.sw-msg-compose label{display:grid;gap:.25rem}.sw-msg-compose fieldset label{display:inline-flex;gap:.4rem;align-items:center}.sw-msg-compose input,.sw-msg-compose textarea,.sw-msg-compose select{font:inherit;padding:.4rem .5rem}.sw-msg-confirm{margin-top:.75rem;padding:.75rem;border:2px solid currentColor;border-radius:8px;max-width:40rem}.sw-msg-notice{margin-top:.5rem}.sw-msg-table{width:100%;border-collapse:collapse;margin-top:.5rem}.sw-msg-table th,.sw-msg-table td{text-align:left;padding:.35rem .5rem;border-bottom:1px solid rgba(127,127,127,.25);vertical-align:top}.sw-msg-fine{font-size:.85rem;opacity:.8}@media(max-width:640px){.sw-msg-table{display:block;overflow-x:auto}}.sw-msg-groups{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:end;margin-top:1rem}.sw-msg-groups h4{flex-basis:100%;margin:0}.sw-msg-groups label{display:grid;gap:.25rem}.sw-msg-editor{display:grid;gap:.35rem;min-width:0}.sw-msg-label{font-weight:600}.sw-msg-preview{display:grid;gap:.35rem;min-width:0}.sw-msg-preview h4{margin:0;font-size:.95rem}.sw-msg-preview-card{border:1px solid rgba(127,127,127,.45);border-radius:8px;padding:.75rem 1rem;background:#fff;color:#1f2933;overflow-wrap:anywhere;max-width:40rem}.sw-msg-preview-subject{font-weight:700;margin:0 0 .5rem}.sw-msg-preview-card .ma-msg-text p{margin:0 0 .6rem}.sw-msg-preview-card .ma-msg-text ul,.sw-msg-preview-card .ma-msg-text ol{padding-left:1.4rem;margin:0 0 .6rem}.sw-msg-preview-card .ma-msg-text a{color:#1d4ed8;text-decoration:underline}.sw-msg-editor .tpl-rich-toolbar button,.sw-msg-editor .tpl-rich-toolbar select{min-height:40px;min-width:40px}@media(pointer:coarse){.sw-msg-editor .tpl-rich-toolbar button,.sw-msg-editor .tpl-rich-toolbar select{min-height:44px;min-width:44px}}.staff-shell .payments-view{display:grid;gap:1rem}.staff-shell .test-payment-banner{background:#4a2c00;color:#ffe9c7;border:2px solid #ffb24d;border-left-width:.6rem;font-size:1rem;line-height:1.45;padding:.75rem 1rem}.staff-shell .test-payment-banner strong{color:#fff;letter-spacing:.02em;text-transform:uppercase}@media print{.staff-shell .test-payment-banner{background:#fff!important;color:#000!important;border:3px solid #000!important}}.staff-shell .provider-connection{display:grid;gap:.35rem}.staff-shell .provider-connection h3,.staff-shell .provider-connection p{margin:0}.staff-shell .provider-connection[data-connection=unavailable],.staff-shell .provider-connection[data-connection=unverified]{border-left:.4rem solid #ffb24d}@media(max-width:600px){.staff-shell .provider-connection .control-row button{width:100%}}.staff-shell .checkout-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:.5rem 0}.staff-shell .checkout-row label{font-size:.85rem;color:var(--muted, #9aa4b2)}.staff-shell .checkout-row input,.staff-shell .checkout-row select{min-height:2.75rem;flex:1 1 11rem;min-width:0;max-width:100%;font-size:1rem}.staff-shell .payments-view button{min-height:2.75rem;padding-inline:.9rem}.staff-shell .payments-view .chosen{flex:1 1 100%}.staff-shell .purchases{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.35rem}.staff-shell .payments-view .choice{width:100%;text-align:left;display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem}.staff-shell .payments-view .choice.on{outline:2px solid var(--accent, #6ea8fe)}.staff-shell .facts-grid{display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:950px){.staff-shell .facts-grid{grid-template-columns:1fr}}.staff-shell .fact{border:1px solid var(--line, #2b3442);border-radius:.5rem;padding:.75rem;background:var(--panel, #161c26)}.staff-shell .fact h4{margin:0 0 .35rem;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted, #9aa4b2)}.staff-shell .fact-headline{margin:0;font-size:1.15rem}.staff-shell .fact-sub{margin:.15rem 0 0;color:var(--muted, #9aa4b2)}.staff-shell .fact dl{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:.2rem .6rem;margin:.5rem 0 0;font-size:.9rem}.staff-shell .fact dt{color:var(--muted, #9aa4b2)}.staff-shell .fact dd{margin:0}.staff-shell .door-line{display:contents}.staff-shell .fact .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;overflow-wrap:anywhere}.staff-shell .fact .hint{display:block;margin:.3rem 0 0}.staff-shell .pill.entitlement-issued{background:#15402a;color:#9ff0bf}.staff-shell .pill.entitlement-held{background:#4a2c00;color:#ffd79a}.staff-shell .pill.entitlement-pending{background:#24324a;color:#cfe0ff}.staff-shell .pill.entitlement-withdrawn,.staff-shell .pill.entitlement-none{background:#3a2430;color:#ffc9d6}.staff-shell .refund-list{list-style:none;margin:.35rem 0 0;padding:0;display:grid;gap:.25rem;font-size:.85rem}.staff-shell .refund-list li{display:flex;flex-wrap:wrap;gap:.4rem;align-items:baseline}.staff-shell .refund-amount{font-variant-numeric:tabular-nums}.staff-shell .refund-list .pill{white-space:normal;min-width:0;max-width:100%;overflow-wrap:anywhere;border-radius:.6rem}.staff-shell .pill.refund-confirmed{background:#15402a;color:#9ff0bf}.staff-shell .pill.refund-staff_released{background:#24324a;color:#cfe0ff}.staff-shell .pill.refund-provisional,.staff-shell .pill.refund-unresolved{background:#4a2c00;color:#ffd79a}.staff-shell .ledger{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.2rem;font-size:.85rem}.staff-shell .ledger li{display:flex;flex-wrap:wrap;gap:.5rem;align-items:baseline}.staff-shell .ledger-kind{flex:0 1 11rem;min-width:0}.staff-shell .ledger-amount{font-variant-numeric:tabular-nums}.staff-shell .ledger-via,.staff-shell .ledger-when{color:var(--muted, #9aa4b2)}.staff-shell .ledger-charge_succeeded .ledger-kind{color:#9ff0bf}.staff-shell .ledger-charge_declined .ledger-kind,.staff-shell .ledger-attempt_failed .ledger-kind{color:#ffc9d6}.staff-shell .ledger-refund_succeeded .ledger-kind{color:#ffd79a}.staff-shell .refund-row,.staff-shell .control-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.4rem 0}.staff-shell .refund-row input{min-height:2.75rem;flex:0 1 9rem;min-width:0;max-width:100%;font-size:1rem}.staff-shell .provider-controls{border-style:dashed}.staff-shell .escalations ul{margin:.25rem 0 0;padding-left:1.1rem;display:grid;gap:.25rem}.staff-shell .sale.open-sale{border-left:.4rem solid #ffb24d}.staff-shell .sale [data-testid=sale-member]{font-size:1.05rem}.staff-shell .payments-view [role=option],.staff-shell .payments-view button,.staff-shell .payments-view input,.staff-shell .payments-view select,.staff-shell .payments-view .section,.staff-shell .payments-view .fact{scroll-margin-top:calc(var(--staff-bar-clearance, 9rem) + .5rem)}.staff-shell .payments-view,.staff-shell .payments-view .section,.staff-shell .payments-view .fact,.staff-shell .payments-view .choice,.staff-shell .payments-view dd,.staff-shell .payments-view li,.staff-shell .payments-view p{min-width:0;overflow-wrap:anywhere}.acct{max-width:44rem;margin:0 auto;padding:1rem 1rem 3rem;display:flex;flex-direction:column;gap:1rem}.acct-title{font-size:1.3rem;margin:0}.acct-intro,.acct-hint,.acct-note{margin:0;font-size:.9rem;opacity:.8;line-height:1.45}.acct-card{border:1px solid rgba(127,127,127,.35);border-radius:10px;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.acct-card h2{font-size:1.05rem;margin:0}.acct-card h3{font-size:.98rem;margin:0}.acct-current,.acct-code-head{margin:0;display:flex;flex-direction:column;gap:.15rem;overflow-wrap:anywhere}.acct-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;opacity:.65}.acct-verified{margin:0}.acct-pill{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.78rem;border:1px solid rgba(127,127,127,.5)}.acct-pill-yes{border-color:#208c4699;background:#208c461f}.acct-pill-no{border-color:#aa781499;background:#aa78141f}.acct-form,.acct-codeform{display:flex;flex-direction:column;gap:.4rem}.acct-form label,.acct-codeform label{font-size:.85rem;font-weight:600}.acct-form input,.acct-codeform input{min-height:44px;font-size:16px;padding:.5rem .6rem;border:1px solid rgba(127,127,127,.5);border-radius:8px;background:transparent;color:inherit;width:100%;box-sizing:border-box}.acct-codeform input{letter-spacing:.35em;font-variant-numeric:tabular-nums;max-width:12rem}.acct-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.acct-primary,.acct-secondary,.acct-link{min-height:44px;font:inherit;border-radius:8px;padding:.5rem .9rem;cursor:pointer}.acct-primary{border:1px solid transparent;background:#1f6feb;color:#fff;font-weight:600}.acct-secondary{border:1px solid rgba(127,127,127,.5);background:transparent;color:inherit}.acct-link{border:none;background:none;color:inherit;text-decoration:underline;padding-left:0;padding-right:0;text-align:left}.acct-primary:disabled,.acct-secondary:disabled,.acct-link:disabled{opacity:.55;cursor:not-allowed}.acct-danger{opacity:.85}.acct-pending{display:flex;flex-direction:column;gap:.75rem;border-left:3px solid rgba(31,111,235,.5);padding-left:.85rem}.acct-code{display:flex;flex-direction:column;gap:.5rem;padding-bottom:.5rem}.acct-code+.acct-code{border-top:1px dashed rgba(127,127,127,.35);padding-top:.75rem}.acct-delivery,.acct-expired,.acct-confirmed{margin:0;font-size:.88rem;line-height:1.45}.acct-delivery-failed,.acct-delivery-unavailable{color:#b4471f}.acct-delivery-indeterminate{color:#8a6400}.acct-expired{color:#9a6b00}.acct-unavailable,.acct-error,.acct-done{margin:0;padding:.7rem .85rem;border-radius:8px;font-size:.9rem;line-height:1.5;border:1px solid}.acct-unavailable{border-color:#aa781480;background:#aa78141a}.acct-error{border-color:#be3c1e80;background:#be3c1e1a}.acct-done{border-color:#208c4680;background:#208c461a}.acct-operator{display:block;margin-top:.4rem;font-size:.82rem;opacity:.75;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.acct-loading{padding:1.5rem 1rem;opacity:.75}@media(max-width:480px){.acct{padding:.75rem .75rem 2.5rem;gap:.75rem}.acct-card{padding:.85rem}.acct-actions .acct-primary,.acct-actions .acct-secondary{flex:1 1 auto}}.email-settings{display:grid;gap:1rem;max-width:44rem}.email-settings h2,.email-settings h3,.email-settings h4{margin:0 0 .5rem}.email-status,.email-form,.email-recent{border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:1rem}.email-status.tone-ok{border-color:#2e7d32}.email-status.tone-warn{border-color:#b26a00}.email-status.tone-bad{border-color:#c62828}.email-settings .quiet{opacity:.8;font-size:.9rem}.email-form label{display:grid;gap:.25rem;margin-bottom:.75rem}.email-form input,.email-form select{width:100%;min-height:44px;box-sizing:border-box;font-size:1rem}.email-form .actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.email-form button{min-height:44px;min-width:44px}.email-recent ul{margin:0;padding-left:1.1rem}@media(max-width:600px){.email-form .actions button{width:100%}}.staff-shell .equipment-head{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.staff-shell .equipment-head h2{margin:0;flex:1 1 auto}.staff-shell .equipment-toggle{display:inline-flex;align-items:center;gap:.4rem;min-height:var(--tap)}.staff-shell .equipment-group h3{font-size:.95rem;color:var(--muted);margin:1.25rem 0 .5rem}.staff-shell .equipment-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,18rem),1fr));gap:.75rem}.staff-shell .equipment-card{display:flex;flex-direction:column;gap:.35rem;width:100%;min-height:var(--tap);padding:.75rem;text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;overflow-wrap:anywhere}.staff-shell .equipment-card:hover,.staff-shell .equipment-card:focus-visible{border-color:var(--accent)}.staff-shell .equipment-card-top{display:flex;align-items:center;gap:.5rem;min-width:0}.staff-shell .equipment-label{flex:1 1 auto;min-width:0}.staff-shell .equipment-meta,.staff-shell .equipment-detail{font-size:.85rem;color:var(--muted)}.staff-shell .equipment-chip{flex:none;padding:.1rem .5rem;border-radius:999px;border:1px solid currentColor;font-size:.8rem;white-space:nowrap}.staff-shell .equipment-chip.tone-info{color:var(--accent)}.staff-shell .equipment-chip.tone-warn{color:var(--warn)}.staff-shell .equipment-chip.tone-bad{color:var(--bad)}.staff-shell .equipment-chip.tone-muted{color:var(--muted)}.staff-shell .equipment-badge{margin-left:.4rem;padding:0 .35rem;border:1px dashed var(--muted);border-radius:4px;font-size:.75rem}.staff-shell .equipment-dialog{width:min(40rem,calc(100vw - 1rem))}.staff-shell .equipment-facts{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr);gap:.3rem .75rem;margin:.75rem 0;overflow-wrap:anywhere}.staff-shell .equipment-facts dt{color:var(--muted)}.staff-shell .equipment-facts dd{margin:0}.staff-shell .equipment-form{display:grid;gap:.35rem;margin:.75rem 0}.staff-shell .equipment-form input,.staff-shell .equipment-form select,.staff-shell .equipment-form textarea{width:100%;max-width:100%;min-height:var(--tap)}.staff-shell .equipment-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.staff-shell .equipment-actions button,.staff-shell .equipment-head button{min-height:var(--tap)}.staff-shell .equipment-notes,.staff-shell .equipment-history{list-style:none;padding:0;margin:.25rem 0 .75rem;display:grid;gap:.5rem;overflow-wrap:anywhere}.staff-shell .equipment-notes li{display:grid;gap:.15rem;padding:.5rem;border:1px solid var(--line);border-radius:var(--radius)}.staff-shell .equipment-note-head,.staff-shell .equipment-history li{font-size:.85rem;color:var(--muted)}.staff-shell .equipment-note-body{white-space:pre-wrap}@media(max-width:719px){.staff-shell .equipment-facts{grid-template-columns:minmax(0,1fr)}.staff-shell .equipment-facts dd{margin-bottom:.35rem}}.staff-shell .equipment-stale{margin:.5rem 0;padding:.5rem .75rem;border:1px solid var(--warn);border-radius:var(--radius);color:var(--warn)}.payment-providers .provider-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:.5rem 0 .75rem}.payment-providers .provider-actions button{min-height:var(--tap)}.payment-providers .provider-cards{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(min(20rem,100%),1fr))}.payment-providers .provider-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:.75rem;min-width:0}.payment-providers .provider-card.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.payment-providers .provider-card h3{margin:0 0 .5rem;font-size:1.05rem;overflow-wrap:anywhere}.payment-providers .provider-account{color:var(--muted);font-weight:400}.payment-providers .provider-facts{display:grid;grid-template-columns:max-content 1fr;gap:.3rem .8rem;margin:0}.payment-providers .provider-fact{display:contents}.payment-providers .provider-fact dt{color:var(--muted)}.payment-providers .provider-fact dd{margin:0;overflow-wrap:anywhere}.payment-providers .tone-ok dd{color:var(--ok)}.payment-providers .tone-warn dd{color:var(--warn);font-weight:600}.payment-providers .tone-off dd{color:var(--muted)}.access-integration .ai-banner{display:flex;flex-wrap:wrap;gap:.25rem .75rem;padding:.6rem .8rem;border-radius:var(--radius);border:1px solid var(--line);margin:.5rem 0 .75rem;overflow-wrap:anywhere}.access-integration .ai-banner.tone-warn{border-color:var(--warn);background:color-mix(in srgb,var(--warn) 10%,transparent)}.access-integration .ai-banner.tone-off{color:var(--muted)}.access-integration .ai-sections{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}.access-integration .ai-sections button,.access-integration button,.access-integration select,.access-integration input{min-height:var(--tap)}.access-integration .ai-sections button.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.access-integration .ai-refresh{margin-left:auto}.access-integration .ai-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(min(22rem,100%),1fr))}.access-integration .ai-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:.75rem;min-width:0;margin-bottom:.75rem}.access-integration .ai-card.tone-warn{border-color:var(--warn)}.access-integration .ai-card.tone-ok{border-color:var(--ok)}.access-integration .ai-card h4{margin:0 0 .5rem}.access-integration .ai-list{margin:0;padding-left:1.1rem;overflow-wrap:anywhere}.access-integration .ai-facts{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem .8rem;margin:0}.access-integration .ai-facts dt{color:var(--muted)}.access-integration .ai-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.access-integration .ai-rows{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.5rem}.access-integration .ai-row{border:1px solid var(--line);border-radius:var(--radius);padding:.6rem;overflow-wrap:anywhere}.access-integration .ai-row-main{display:flex;flex-direction:column;gap:.15rem;margin-bottom:.4rem}.access-integration .ai-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}.access-integration .ai-confirm{border-left:3px solid var(--warn);padding-left:.6rem;margin:.4rem 0}.access-integration .ai-note{color:var(--warn);font-weight:600}.access-integration .ai-table-wrap{overflow-x:auto;max-width:100%}.access-integration .ai-table{border-collapse:collapse;width:100%;font-size:.9rem}.access-integration .ai-table th,.access-integration .ai-table td{text-align:left;padding:.35rem .5rem;border-bottom:1px solid var(--line);vertical-align:top}.access-integration .ai-search{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.access-integration .ai-search input{flex:1 1 14rem;min-width:0}.access-integration .ai-matches{list-style:none;padding:0;margin:.5rem 0;display:flex;flex-wrap:wrap;gap:.4rem}.access-integration .ai-choice.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.access-integration .ai-member-detail{margin-top:.75rem}.access-integration .ai-member-detail h6{margin:.75rem 0 .25rem;font-size:.95rem}@media(max-width:640px){.access-integration .ai-refresh{margin-left:0}.access-integration .ai-actions button{width:100%}}.access-integration .ai-pill{display:inline-block;padding:.05rem .5rem;border-radius:999px;border:1px solid var(--muted);font-size:.85em}.access-integration .ai-pill.tone-ok{border-color:var(--ok)}.access-integration .tone-warn{color:var(--warn)}.access-integration .ai-row{border-top:1px solid color-mix(in srgb,var(--muted) 30%,transparent);padding-top:.5rem}.access-integration .ai-add-reader{display:grid;gap:.35rem;margin-top:1rem;max-width:28rem}.access-integration .ai-add-reader input,.access-integration .ai-confirm input:not([type=checkbox]),.access-integration .ai-confirm select{min-height:2.75rem;width:100%;box-sizing:border-box}.access-integration .ai-check{display:flex;gap:.5rem;align-items:center;min-height:2.75rem}.access-integration .ai-actions button{min-height:2.75rem}.access-integration .ai-reader-facts{grid-template-columns:max-content minmax(0,1fr)}.access-integration .ai-reader-facts dd{text-align:left}@media(max-width:560px){.access-integration .ai-reader-facts{grid-template-columns:minmax(0,1fr);gap:.1rem}.access-integration .ai-reader-facts dt{font-weight:600;margin-top:.35rem}}.ma-msg-views{display:flex;gap:.5rem;margin:0 0 .75rem}.ma-msg-view{border:1px solid currentColor;background:transparent;color:inherit;border-radius:999px;padding:.35rem .9rem;font:inherit;cursor:pointer;min-height:44px}.ma-msg-view[aria-selected=true]{font-weight:700;text-decoration:underline}.ma-msg-view:focus-visible,.ma-msg-head:focus-visible{outline:3px solid currentColor;outline-offset:2px}.ma-msg-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.ma-msg{border:1px solid rgba(127,127,127,.35);border-radius:12px;overflow:hidden}.ma-msg-head{display:grid;gap:.2rem;width:100%;text-align:left;background:transparent;color:inherit;border:0;padding:.75rem 1rem;font:inherit;cursor:pointer;min-height:44px}.ma-msg-subject{font-weight:600;display:flex;align-items:center;gap:.5rem;overflow-wrap:anywhere}.ma-msg-unread .ma-msg-subject{font-weight:800}.ma-msg-dot{width:.6rem;height:.6rem;border-radius:50%;background:currentColor;flex:none}.ma-msg-meta{font-size:.85rem;opacity:.8}.ma-msg-body{padding:0 1rem 1rem}.ma-msg-text{overflow-wrap:anywhere;margin:0 0 .75rem}.ma-msg-text p{margin:0 0 .6rem}.ma-msg-text h2,.ma-msg-text h3,.ma-msg-text h4{margin:.4rem 0 .5rem;line-height:1.25}.ma-msg-text h2{font-size:1.3rem}.ma-msg-text h3{font-size:1.15rem}.ma-msg-text h4{font-size:1rem}.ma-msg-text ul,.ma-msg-text ol{padding-left:1.4rem;margin:0 0 .6rem}.ma-msg-text a{color:inherit;text-decoration:underline}.ma-msg-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.ma-msg-state{font-size:.9rem;opacity:.85}.ma-msg-note{font-size:.85rem;opacity:.8;margin-top:1rem}.ma-tab-badge{display:inline-block;min-width:1.25rem;padding:0 .35rem;margin-left:.25rem;border-radius:999px;font-size:.75rem;font-weight:700;line-height:1.25rem;text-align:center;background:var(--ma-ink)}.ma-tab-badge>span{color:var(--ma-bg)}.ma-tab-icon{font-size:1.25rem;line-height:1}.ma-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.portal-shell{max-width:1100px;margin:0 auto;padding:0 16px 48px}.portal-centred{display:flex;justify-content:center;padding:32px 16px}.portal-banner{margin:0 -16px 16px;padding:10px 16px;background:#3a2c05;color:#ffe9a8;font-size:.95rem}.portal-topbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line, #2a2f3a)}.portal-brand{font-size:1.15rem}.portal-who{margin:4px 0 0;color:var(--muted, #9aa4b2);font-size:.95rem}.portal-ref{font-variant-numeric:tabular-nums}.portal-topbar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.portal-shell button,.portal-signin button,.portal-signin input{min-height:44px}.portal-shell button,.portal-signin button{padding:0 16px;border-radius:8px;border:1px solid var(--line, #2a2f3a);background:var(--panel, #161b22);color:inherit;font:inherit;cursor:pointer}.portal-primary{background:var(--accent, #2f6feb);border-color:var(--accent, #2f6feb);color:#fff}.portal-link{background:none;border:none;text-decoration:underline}.portal-card{width:100%;max-width:420px;padding:24px;border:1px solid var(--line, #2a2f3a);border-radius:12px;background:var(--panel, #161b22)}.portal-signin{display:flex;flex-direction:column;gap:8px}.portal-signin h1{margin:0 0 4px;font-size:1.3rem}.portal-signin label{margin-top:8px;font-size:.9rem;color:var(--muted, #9aa4b2)}.portal-signin input{padding:0 12px;border-radius:8px;border:1px solid var(--line, #2a2f3a);background:var(--bg, #0d1117);color:inherit;font:inherit;font-size:16px}.portal-account{display:grid;grid-template-columns:1fr;gap:16px;margin-top:20px}@media(min-width:900px){.portal-account{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}}.portal-fact{padding:16px;border:1px solid var(--line, #2a2f3a);border-radius:12px;background:var(--panel, #161b22);overflow-wrap:anywhere}.portal-fact h2{margin:0 0 4px;font-size:1.05rem}.portal-hint{margin:0 0 12px;color:var(--muted, #9aa4b2);font-size:.85rem}.portal-headline{margin:0 0 6px;font-size:1.25rem;font-weight:600}.portal-sub{margin:0 0 6px;font-size:.95rem}.portal-note,.portal-effect{color:var(--muted, #9aa4b2)}.portal-unresolved{color:#ffe9a8}.portal-explain{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--accent, #2f6feb);background:#0f1620;font-size:.92rem;line-height:1.45}.portal-warn{border-left-color:#c9a227;color:#ffe9a8}.portal-held{margin:16px 0 0;padding:12px 14px;border:1px solid #8a6d1f;border-left-width:4px;border-radius:10px;background:#241d07;color:#ffe9a8;font-size:.95rem;line-height:1.5}.portal-error{margin:12px 0 0;color:#ff9a9a;font-size:.95rem}.tone-ok .portal-headline{color:#7ee2a8}.tone-pending .portal-headline{color:#ffe9a8}.tone-off .portal-headline{color:#ffb4b4}.portal-rows{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}.portal-row{display:flex;flex-direction:column;gap:2px;padding:10px 0 0;border-top:1px solid var(--line, #2a2f3a)}.portal-row-main{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-weight:500}.portal-row-sub{color:var(--muted, #9aa4b2);font-size:.88rem}.portal-pill{padding:2px 8px;border-radius:999px;border:1px solid var(--line, #2a2f3a);font-size:.75rem;text-transform:lowercase}.portal-pill.state-settled{border-color:#2f6f4a;color:#7ee2a8}.portal-pill.state-refunded_part,.portal-pill.state-refunded_full{border-color:#8a6d1f;color:#ffe9a8}.portal-pill.state-not_paid{border-color:#7a3b3b;color:#ffb4b4}.portal-pill.demo{border-color:#6b4fa8;color:#d3c4ff}.portal-doors{display:flex;flex-direction:column;gap:10px;margin-top:12px}.portal-door{padding:12px;border:1px solid var(--line, #2a2f3a);border-radius:10px;background:var(--bg, #0d1117)}.portal-door header{display:flex;gap:8px;align-items:baseline;justify-content:space-between}.portal-door-name{font-weight:600}.portal-door-id{color:var(--muted, #9aa4b2);font-size:.8rem}.portal-door-verdict{margin:8px 0 4px;font-size:1.05rem;font-weight:600}.admission-admitted{border-color:#2f6f4a}.admission-admitted .portal-door-verdict{color:#7ee2a8}.admission-not_admitted{border-color:#7a3b3b}.admission-not_admitted .portal-door-verdict{color:#ffb4b4}.admission-unknown{border-color:#8a6d1f;border-style:dashed}.admission-unknown .portal-door-verdict{color:#ffe9a8}.portal-door-why,.portal-door-step{margin:0 0 4px;font-size:.88rem;color:var(--muted, #9aa4b2)}.journey-usable{color:#7ee2a8}.journey-not_usable{color:#ffb4b4}.journey-cannot_say{color:#ffe9a8;font-size:1rem;line-height:1.4}.portal-tabs{display:flex;gap:.35rem}.portal-tab{min-height:44px}.portal-tab.on{font-weight:600;text-decoration:underline}.portal-card,.portal-fact,.portal-shell button,.portal-signin button{--bg: #0d1117;--line: #2a2f3a;--muted: #9aa4b2;color:#e6edf3}.portal-card a:not(.portal-primary),.portal-fact a{color:#8ab4ff}.ma-app,.ma-screen{--ma-bg: #faf6f1;--ma-ink: #1d1a17;--ma-muted: #5b544d;--ma-surface: #ffffff;--ma-line: #e7ded4;--ma-accent: #a8321a;--ma-d1: #a8321a;--ma-d2: #1f5c45;--ma-warn-bg: #fff3cd;--ma-warn-ink: #4a3500;color:var(--ma-ink);background:var(--ma-bg);font-size:1rem;line-height:1.4}@media(prefers-color-scheme:dark){.ma-app,.ma-screen{--ma-bg: #151311;--ma-ink: #f3eee8;--ma-muted: #c2b8ad;--ma-surface: #221f1c;--ma-line: #3a342e;--ma-accent: #ff9b80;--ma-d1: #8f2a15;--ma-d2: #184a37;--ma-warn-bg: #3a2c05;--ma-warn-ink: #ffe9a8}}.ma-app{--ma-tabs-space: calc(72px + env(safe-area-inset-bottom)) ;min-height:100dvh;display:flex;flex-direction:column;padding-bottom:var(--ma-tabs-space);box-sizing:border-box}html:has(.ma-app){scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom))}.ma-screen{flex:1;width:100%;max-width:480px;margin:0 auto;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left));box-sizing:border-box}.ma-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ma-banner{margin:0 0 16px;padding:10px 12px;border-radius:12px;background:var(--ma-warn-bg);color:var(--ma-warn-ink);font-size:.95rem}.ma-logo{display:flex;align-items:center;gap:12px;margin:8px 0 16px}.ma-logo-mark{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--ma-accent);color:#fff;font-weight:700}.ma-logo-name{font-size:1.4rem;font-weight:700}.ma-clock{margin:32px 0;text-align:center}.ma-clock-time{margin:0;font-size:clamp(3rem,18vw,5rem);font-weight:700;font-variant-numeric:tabular-nums}.ma-clock-date,.ma-clock-zone{margin:4px 0 0;color:var(--ma-muted)}.ma-greeting{margin:8px 0 16px;font-size:1.75rem}.ma-primary,.ma-secondary,.ma-tab{min-height:48px;font:inherit;cursor:pointer}.ma-primary{width:100%;border:0;border-radius:14px;background:var(--ma-accent);color:#fff;font-weight:700}.ma-secondary{width:100%;margin-top:8px;border:2px solid currentColor;border-radius:12px;background:var(--ma-surface);color:var(--ma-ink);font-weight:600}.ma-form{display:grid;gap:12px}.ma-form label{display:grid;gap:4px;font-weight:600}.ma-form input{min-height:48px;padding:0 12px;border:2px solid var(--ma-line);border-radius:12px;background:var(--ma-surface);color:var(--ma-ink);font:inherit}.ma-error{color:#b00020;font-weight:600}.ma-notice{padding:10px 12px;border-radius:12px;background:var(--ma-surface);border:1px solid var(--ma-line)}.ma-doors{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9.5rem),1fr));gap:12px;margin-bottom:20px}.ma-door{display:flex;flex-direction:column}.ma-door-button{display:flex;flex-direction:column;gap:8px;min-height:11rem;height:100%;padding:14px;border:0;border-radius:20px;color:#fff;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}.ma-door-D1 .ma-door-button{background:var(--ma-d1)}.ma-door-D2 .ma-door-button{background:var(--ma-d2)}.ma-door-button:disabled{cursor:default}.ma-door-button:focus-visible,.ma-primary:focus-visible,.ma-secondary:focus-visible,.ma-tab:focus-visible{outline:3px solid var(--ma-ink);outline-offset:3px}.ma-door-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.ma-door-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#ffffff2e;font-size:1.4rem}.ma-badge{padding:4px 10px;border-radius:999px;background:#fff;color:#1d1a17;font-size:.9rem;font-weight:700}.ma-tone-warn .ma-badge{background:#ffe08a}.ma-tone-bad .ma-badge{background:#ffd6cc}.ma-tone-good .ma-badge{background:#d4f5df}.ma-door-name{font-size:1.3rem;font-weight:700}.ma-door-helper{font-size:1rem}@media(prefers-reduced-motion:no-preference){.ma-tone-busy .ma-badge{animation:ma-busy 1.2s ease-in-out infinite}}@keyframes ma-busy{50%{opacity:.65}}.ma-inbox h2,.ma-profile h2{font-size:1.1rem;margin:0 0 8px}.ma-empty{margin:0;padding:14px;border-radius:16px;border:1px solid var(--ma-line);background:var(--ma-surface);color:var(--ma-muted)}.ma-profile a{color:var(--ma-accent)}.ma-tabs{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--ma-line);background:var(--ma-bg);padding-bottom:env(safe-area-inset-bottom);padding-left:max(env(safe-area-inset-left),calc((100% - 480px)/2));padding-right:max(env(safe-area-inset-right),calc((100% - 480px)/2))}.ma-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:var(--ma-muted)}.ma-tab[aria-current=page]{color:var(--ma-accent);font-weight:700}.ma-msg-head-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.ma-msg-head-row h2{margin:0}.ma-sound{min-height:44px;padding:0 14px;border:1px solid currentColor;border-radius:999px;background:transparent;color:var(--ma-ink);font:inherit;cursor:pointer}.ma-sound:focus-visible{outline:3px solid var(--ma-ink);outline-offset:2px}.ma-welcome-text{margin:0 0 16px}.ma-welcome-message{margin:0;font-size:1.15rem;font-weight:700}.ma-welcome-helper{margin:4px 0 0;color:var(--ma-muted)}.ma-door-note{font-size:.95rem}.ma-information{display:grid;gap:12px;margin:16px 0 0}.ma-info{padding:14px;border-radius:16px;border:1px solid var(--ma-line);background:var(--ma-surface);overflow-wrap:anywhere}.ma-info h2{font-size:1.1rem;margin:0 0 6px}.ma-info-body{margin:0;white-space:pre-line}.ma-info-note{margin:8px 0 0;color:var(--ma-muted)}.ma-announcement-important{background:var(--ma-warn-bg);color:var(--ma-warn-ink);border-color:var(--ma-warn-ink)}.ma-hours{margin:0;display:grid;gap:4px}.ma-hours div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}.ma-hours dt{font-weight:600}.ma-hours dd{margin:0}.ma-contact{list-style:none;margin:0;padding:0;display:grid;gap:2px}.ma-contact a{display:inline-flex;align-items:center;min-height:48px;color:var(--ma-ink);text-decoration:underline;text-underline-offset:3px}.ma-contact a:focus-visible{outline:3px solid var(--ma-ink);outline-offset:2px}.ma-rt>:first-child{margin-top:0}.ma-rt>:last-child{margin-bottom:0}.ma-rt p{margin:0 0 8px}.ma-rt h3,.ma-rt h4{color:inherit;text-transform:none;letter-spacing:normal;line-height:1.25}.ma-rt h3{font-size:1.15rem;margin:12px 0 6px}.ma-rt h4{font-size:1.02rem;margin:10px 0 4px}.ma-rt ul,.ma-rt ol{margin:0 0 8px;padding-left:1.4em}.ma-rt li+li{margin-top:2px}.ma-rt-center{text-align:center}.ma-rt-right{text-align:right}.ma-rt a{color:inherit;text-decoration:underline;text-underline-offset:3px;padding:6px 0}.ma-rt a:focus-visible{outline:3px solid currentColor;outline-offset:2px}.ma-rt-colour{color:var(--rt-light)}@media(prefers-color-scheme:dark){.ma-rt-colour{color:var(--rt-dark)}}.ma-notice-card{background:var(--ma-warn-bg);color:var(--ma-warn-ink);border-color:var(--ma-warn-ink)}.ma-hours+.ma-rt,.ma-info-note+.ma-rt{margin-top:10px}@media(prefers-color-scheme:light){.ma-account{--panel: var(--ma-surface);--bg: var(--ma-bg);--line: var(--ma-line);--muted: var(--ma-muted);--accent: var(--ma-accent);color:var(--ma-ink)}.ma-account .portal-fact{--bg: var(--ma-bg);--line: var(--ma-line);--muted: var(--ma-muted);color:var(--ma-ink)}.ma-account .portal-fact a{color:var(--ma-accent)}.ma-account .portal-explain{background:var(--ma-bg)}.ma-account .portal-warn,.ma-account .portal-unresolved,.ma-account .portal-held{color:var(--ma-warn-ink)}.ma-account .portal-held{background:var(--ma-warn-bg)}.ma-account .tone-ok .portal-headline,.ma-account .admission-admitted .portal-door-verdict,.ma-account .journey-usable,.ma-account .portal-pill.state-settled{color:#1b5e20}.ma-account .tone-pending .portal-headline,.ma-account .admission-unknown .portal-door-verdict,.ma-account .journey-cannot_say,.ma-account .portal-pill.state-refunded_part,.ma-account .portal-pill.state-refunded_full{color:#6b4a00}.ma-account .tone-off .portal-headline,.ma-account .admission-not_admitted .portal-door-verdict,.ma-account .journey-not_usable,.ma-account .portal-pill.state-not_paid{color:#a3140e}.ma-account .portal-pill.demo{color:#4a2a8a}}.staff-shell .appearance-head h2{margin:0 0 .25rem}.staff-shell .appearance-status{margin:.5rem 0}.staff-shell .appearance-ok{padding:.5rem .75rem;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.staff-shell .appearance-issue{color:#a3140e;font-size:.9rem}.staff-shell .appearance-layout{display:grid;gap:1.25rem;align-items:start}@media(min-width:64rem){.staff-shell .appearance-layout{grid-template-columns:minmax(0,1fr) minmax(20rem,26rem)}.staff-shell .appearance-preview{position:sticky;top:calc(var(--staff-bar-clearance, 0px) + 1rem)}}.staff-shell .appearance-form fieldset{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.75rem 1rem;margin:0 0 1rem;padding:.75rem 1rem 1rem;border:1px solid var(--line);border-radius:10px;min-width:0}.staff-shell .appearance-form legend{font-weight:700;padding:0 .25rem}.staff-shell .appearance-field{display:grid;gap:.25rem;min-width:0}.staff-shell .appearance-field input,.staff-shell .appearance-field select{width:100%;max-width:100%;min-height:var(--tap);box-sizing:border-box}.staff-shell .appearance-colour{display:grid;grid-template-columns:var(--tap) minmax(0,1fr);gap:.5rem}.staff-shell .appearance-colour input[type=color]{padding:2px;min-width:var(--tap)}.staff-shell .appearance-actions,.staff-shell .appearance-confirm,.staff-shell .appearance-preview-toggle{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.staff-shell .appearance-actions button,.staff-shell .appearance-confirm button,.staff-shell .appearance-preview-toggle button,.staff-shell .appearance-history button,.staff-shell .appearance>button{min-height:var(--tap)}.staff-shell .appearance-confirm{margin-top:.75rem;padding:.75rem;border:1px solid var(--line);border-radius:8px}.staff-shell .appearance-confirm p{flex-basis:100%;margin:0}.staff-shell .appearance-preview-toggle button[aria-pressed=true]{font-weight:700;outline:2px solid currentColor}.staff-shell .appearance-phone{width:min(100%,406px);box-sizing:border-box;margin:0 auto;border:8px solid #1d1a17;border-radius:28px;overflow:hidden}.staff-shell .appearance-phone .ma-preview{max-width:none;min-height:0;margin:0}.staff-shell .appearance-history ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.staff-shell .appearance-history li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.staff-shell .appearance-phone .ma-door-button{color:#fff;border:0;padding:14px;font-weight:inherit}.staff-shell .appearance-wide{grid-column:1 / -1}.staff-shell .appearance-field textarea{width:100%;max-width:100%;min-height:calc(var(--tap) * 2);box-sizing:border-box;font:inherit;resize:vertical}.staff-shell .appearance-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)) auto;gap:.5rem 1rem;align-items:end}.staff-shell .appearance-row button,.staff-shell .appearance-form fieldset>.appearance-wide>button,.staff-shell .appearance-move button{min-height:var(--tap);min-width:var(--tap)}.staff-shell .appearance-sections{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.staff-shell .appearance-sections li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.25rem .5rem;border:1px solid var(--line);border-radius:8px}.staff-shell .appearance-check{display:inline-flex;align-items:center;gap:.5rem;min-height:var(--tap)}.staff-shell .appearance-check input{width:1.25rem;height:1.25rem}.staff-shell .appearance-move{display:inline-flex;gap:.5rem}.staff-shell .appearance-changes{flex-basis:100%;margin:0;padding-left:1.25rem}.staff-shell .appearance-frame{margin:0 0 1rem;min-width:0}.staff-shell .appearance-frame figcaption{margin-bottom:.25rem}.staff-shell .appearance-desktop{border:1px solid var(--line);border-radius:10px;overflow:hidden}.staff-shell .appearance-ground{min-height:0}.staff-shell .appearance-desktop .ma-preview{max-width:480px;margin:0 auto}.staff-shell .appearance-compare{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}@media(min-width:64rem){.staff-shell .appearance-layout.appearance-layout-wide{grid-template-columns:minmax(0,1fr)}.staff-shell .appearance-layout-wide .appearance-preview{position:static}}.staff-shell .appearance-ground .ma-contact a{color:var(--ma-ink)}.staff-shell .appearance-rich-label{font-weight:600}.staff-shell .appearance-rich .tpl-rich-toolbar select,.staff-shell .appearance-rich .tpl-rich-toolbar input{width:auto;min-height:36px}@media(pointer:coarse){.staff-shell .appearance-rich .tpl-rich-toolbar select,.staff-shell .appearance-rich .tpl-rich-toolbar input{min-height:44px}}.staff-shell .appearance-rich .tpl-rich-editor .tpl-rich{min-height:6rem;max-width:none}.staff-shell .appearance-ground .ma-primary{border:0;border-radius:14px;background:var(--ma-accent);color:#fff;font-weight:700}.email-form textarea{width:100%;min-height:6rem;box-sizing:border-box;font:inherit;font-size:1rem}.email-form label.inline-check{display:flex;align-items:center;gap:.5rem;min-height:44px}.email-form label.inline-check input{width:auto;min-height:0;inline-size:1.25rem;block-size:1.25rem}.invoicing-fields{border:0;margin:0;padding:0;min-inline-size:0}.invoicing-fields:disabled{opacity:.7}.invoicing-conflict{border:1px solid #b26a00;border-radius:8px;padding:.75rem 1rem;margin-block:1rem}.invoicing-conflict dl{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:.25rem 1rem}.invoicing-conflict dd{margin:0;overflow-wrap:anywhere}.invoicing-conflict .actions button{min-height:44px}.sales-docs{display:grid;gap:1rem}.sales-filters{display:flex;flex-wrap:wrap;gap:.75rem}.sales-filters label{display:grid;gap:.25rem;min-width:9rem}.sales-filters select,.sales-filters input{min-height:44px;font-size:1rem}.sales-layout{display:grid;gap:1rem}@media(min-width:900px){.sales-layout.with-detail{grid-template-columns:minmax(18rem,1fr) 2fr;align-items:start}}.doc-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.doc-list button{min-height:44px;width:100%}.doc-row{display:grid;gap:.15rem;text-align:left;padding:.6rem .75rem;border:1px solid rgba(127,127,127,.35);border-radius:8px;background:transparent}.doc-row.on{border-color:currentColor}.doc-title{font-weight:600}.doc-amount{font-variant-numeric:tabular-nums}.doc-detail{border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:1rem;display:grid;gap:.75rem;overflow-x:auto}.doc-detail button{min-height:44px}.doc-parties{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0}.doc-parties dd{margin:0;overflow-wrap:anywhere}.doc-lines{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.doc-lines th,.doc-lines td{text-align:left;padding:.35rem .5rem;border-bottom:1px solid rgba(127,127,127,.25)}.doc-total{font-weight:600}.owed{border:1px solid #b26a00;border-radius:8px;padding:.75rem 1rem}.owed ul{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.owed-item{border-left:4px solid #b26a00;padding-left:.75rem}.owed-item.tone-held{border-left-color:#c62828}.owed-item p{margin:.2rem 0;overflow-wrap:anywhere}.owed-item button{min-height:44px}.owed>p button,.sales-member-filter button,.sales-docs .error-banner button{min-height:44px}.sales-member-filter{flex-basis:100%;margin:0}.doc-member{display:flex;flex-wrap:wrap;gap:.5rem;margin:0}.staff-shell{min-height:100vh;display:flex;flex-direction:column}.staff-shell button{background:var(--surface);color:var(--text);border:1px solid var(--line);font-weight:500}.staff-shell .panel{display:block}.staff-shell .columns{grid-template-columns:minmax(0,1fr);padding:0}.staff-shell .panel,.staff-shell .member-panel{min-width:0;overflow-wrap:anywhere}.staff-shell .detail-panel select,.staff-shell .detail-panel input,.staff-shell .detail-panel textarea{max-width:100%;box-sizing:border-box}.staff-shell .detail-panel select{width:100%;min-width:0}.staff-shell .member-panel :where(*){max-width:100%}.staff-shell .detail-panel .pill{white-space:normal;overflow-wrap:anywhere}.staff-shell .door{display:block}.staff-shell .rows .row,.staff-shell .member-list .row,.staff-shell .topbar{justify-content:flex-start}.staff-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.staff-shell.office-shell{display:grid;grid-template-columns:13.5rem minmax(0,1fr);grid-template-rows:auto auto 1fr;align-items:start}.office-shell>:not(.side-nav):not(.bottom-nav){grid-column:2}.staff-shell.office-shell>main{align-self:stretch;min-width:0}.staff-shell .side-nav{grid-column:1;grid-row:1 / span 3;position:sticky;top:0;height:calc(100vh - var(--shell-top, 0px));display:flex;flex-direction:column;gap:.2rem;padding:.75rem .5rem .5rem;background:var(--surface);border-right:1px solid var(--line);overflow-y:auto}.staff-shell .side-nav .brand{font-size:1.05rem;padding:.35rem .75rem .85rem}.staff-shell .nav-item{display:flex;align-items:center;justify-content:flex-start;gap:.65rem;width:100%;min-height:var(--tap);padding:0 .75rem;white-space:nowrap;background:transparent;border-color:transparent;color:var(--muted);text-align:left}.staff-shell .nav-item.on{background:var(--bg);border-color:var(--line);color:var(--text);font-weight:600}.staff-shell .nav-icon{width:1.4rem;text-align:center;flex:none}.staff-shell .side-foot{margin-top:auto;padding-top:.5rem;border-top:1px solid var(--line)}.staff-shell .side-foot .backoffice-strip{flex-direction:column;align-items:flex-start;gap:.2rem;padding:.25rem .5rem;border:0;font-size:.72rem;line-height:1.4}.staff-shell .topbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.5rem 1rem;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.staff-shell .topbar .brand-narrow{display:none;font-size:1.05rem}.staff-shell .top-actions{display:flex;align-items:center;gap:.5rem}.staff-shell .top-button{display:inline-flex;align-items:center;gap:.35rem;min-height:var(--tap);padding:0 .85rem;white-space:nowrap}.staff-shell .top-button.on{background:var(--bg);font-weight:600}.staff-shell .admin-menu{position:relative}.staff-shell .admin-list{position:absolute;right:0;top:calc(100% + .3rem);z-index:20;min-width:13rem;margin:0;padding:.3rem;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 24px #0000001f}.staff-shell .admin-list button{width:100%;min-height:var(--tap);justify-content:flex-start;text-align:left;background:transparent;border-color:transparent}.staff-shell .admin-list button:hover,.staff-shell .admin-list button.on{background:var(--bg)}.staff-shell .admin-note{margin:0 0 .75rem;color:var(--warn);font-size:.85rem}.staff-shell .topbar .who{display:flex;align-items:center;gap:.75rem;color:var(--muted)}.staff-shell .bottom-nav{display:none}.staff-shell .member-search{position:relative;flex:1 1 16rem;min-width:0}.staff-shell .member-search input{width:100%;min-height:var(--tap)}.staff-shell .search-results{position:absolute;left:0;right:0;top:calc(100% + .25rem);z-index:20;margin:0;padding:.25rem;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 24px #0000001f;max-height:60vh;overflow-y:auto}.staff-shell .search-results li{display:flex;justify-content:space-between;gap:.75rem;min-height:var(--tap);align-items:center;padding:0 .6rem;border-radius:calc(var(--radius) - 4px);cursor:pointer}.staff-shell .search-results li.on,.staff-shell .search-results li:hover{background:var(--bg)}.staff-shell .search-results .result-sub{color:var(--muted);font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-shell .search-results .result-empty{color:var(--muted);cursor:default}@media(max-width:1099px){.staff-shell.office-shell{grid-template-columns:4.25rem minmax(0,1fr)}html:has(.staff-shell.office-shell){scroll-padding-bottom:3rem}.staff-shell .side-nav .brand,.staff-shell .nav-label{display:none}.staff-shell .nav-item{justify-content:center;padding:0}.staff-shell .side-foot{position:fixed;left:4.25rem;right:0;bottom:0;z-index:4;padding:0;background:var(--surface);border-top:1px solid var(--line)}.staff-shell .side-foot .backoffice-strip{flex-direction:row;flex-wrap:wrap;padding:.3rem 1rem}.staff-shell.office-shell>main{padding-bottom:3rem;overflow-x:clip}.staff-shell .top-label{display:none}}@media(max-width:719px){.staff-shell.office-shell{grid-template-columns:minmax(0,1fr)}html:has(.staff-shell.office-shell){scroll-padding-bottom:9rem}.office-shell>:not(.side-nav):not(.bottom-nav){grid-column:1}.staff-shell .topbar{position:static}.staff-shell .side-nav{position:static;height:auto;padding:0;border:0;grid-row:auto}.staff-shell .side-nav .nav-item{display:none}.staff-shell .topbar .brand-narrow{display:block;flex:1;white-space:nowrap}.staff-shell .topbar .who{order:2}.staff-shell .member-search{order:3;flex-basis:100%}.staff-shell .side-foot{left:0;bottom:3.6rem;border-top:1px solid var(--line)}.staff-shell .side-foot .backoffice-strip{font-size:.66rem;line-height:1.3;padding:.2rem .75rem;gap:0 .75rem}.staff-shell .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:5;height:3.6rem;padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line)}.staff-shell .bottom-nav button{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;padding:0;font-size:.68rem;background:transparent;border:0;border-radius:0;color:var(--muted);white-space:normal;text-align:center;line-height:1.1;overflow-wrap:anywhere}.staff-shell .bottom-nav button span:first-child{font-size:1.1rem;line-height:1}.staff-shell .bottom-nav button.on{color:var(--text);font-weight:600}.staff-shell.office-shell>main{padding-bottom:8.5rem}}.staff-shell .banner{margin:0;padding:.6rem 1rem;border-bottom:1px solid var(--line);font-size:.95rem}.staff-shell .demo-banner{background:color-mix(in srgb,var(--warn) 14%,var(--surface));color:var(--warn)}.staff-shell .error-banner{background:color-mix(in srgb,var(--bad) 12%,var(--surface));color:var(--bad)}.staff-shell main{flex:1;padding:1rem}.staff-shell .columns{display:grid;gap:1rem;align-items:start}.staff-shell .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}.staff-shell .columns.has-detail .list-panel{display:none}@media(max-width:899px){.staff-shell .columns:not(.has-detail) .detail-panel{display:none}}@media(min-width:900px){.staff-shell .columns:not(.has-detail){grid-template-columns:minmax(280px,22rem) minmax(0,1fr)}}.staff-shell .loading-detail .back{margin-bottom:.75rem}.staff-shell .search input{width:100%}.staff-shell .filters{display:flex;flex-wrap:wrap;gap:.35rem;margin:.6rem 0}.staff-shell .chip{padding:0 .8rem;color:var(--muted)}.staff-shell .chip.on{border-color:var(--accent);color:var(--accent);font-weight:600}.staff-shell .member-list{list-style:none;margin:.75rem 0 0;padding:0;display:flex;flex-direction:column;gap:.35rem}.staff-shell .member-list .row{width:100%;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:.15rem;padding:.5rem .7rem;min-height:calc(var(--tap) + 8px)}.staff-shell .member-list .row.selected{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.staff-shell .panel-header{display:flex;align-items:flex-start;gap:.75rem;flex-wrap:wrap}.staff-shell .panel-header h2{margin:0}.staff-shell .panel-header .ref{margin:.2rem 0 0;color:var(--muted)}.staff-shell .facts{display:grid;gap:.75rem;margin:1rem 0;grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr))}.staff-shell .fact{border:1px solid var(--line);border-radius:var(--radius);padding:.75rem;background:var(--bg)}.staff-shell .fact h3{margin-top:0}.staff-shell .fact .headline{margin:0;font-size:1.15rem;font-weight:600}.staff-shell .fact.ok .headline{color:var(--ok)}.staff-shell .fact.off .headline{color:var(--bad)}.staff-shell .fact .sub{margin:.2rem 0 0;color:var(--muted);font-size:.9rem}.staff-shell .fact .sub.quiet{font-size:.8rem}.staff-shell .section{border-top:1px solid var(--line);padding-top:.5rem;margin-top:1.25rem}.staff-shell .hint{margin:.15rem 0 .5rem;color:var(--muted);font-size:.85rem}.staff-shell .doors{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr))}.staff-shell .door{border:1px solid var(--line);border-left:4px solid var(--muted);border-radius:var(--radius);padding:.75rem;background:var(--bg)}.staff-shell .door-admitted{border-left-color:var(--ok)}.staff-shell .door-not_admitted{border-left-color:var(--bad)}.staff-shell .door-unknown{border-left-color:var(--muted)}.staff-shell .door header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.staff-shell .door .door-id{font-weight:700;font-size:1.1rem}.staff-shell .door .door-admission{font-size:.9rem;color:var(--muted)}.staff-shell .door .door-why{margin:.35rem 0 0;font-size:.85rem;color:var(--muted)}.staff-shell .door dl{display:grid;grid-template-columns:auto 1fr;gap:.1rem .6rem;margin:.6rem 0 0;font-size:.85rem}.staff-shell .door dt{color:var(--muted)}.staff-shell .door dd{margin:0}.staff-shell .note,.staff-shell .warn{margin:.6rem 0 0;font-size:.88rem;color:var(--muted)}.staff-shell .note.ok{color:var(--ok)}.staff-shell .warn{color:var(--warn)}.staff-shell .error{margin:.4rem 0;color:var(--bad);font-size:.9rem}.staff-shell .stack{display:flex;flex-direction:column;gap:.35rem}.staff-shell .stack label{font-size:.85rem;color:var(--muted);margin-top:.35rem}.staff-shell .actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.staff-shell button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.staff-shell button.danger{color:var(--bad);border-color:var(--bad)}.staff-shell button.wide{width:100%;margin-top:.6rem}.staff-shell button.link{border:none;background:none;color:var(--accent);padding:0;min-height:auto;text-decoration:underline}.staff-shell .rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}.staff-shell .rows .row,.staff-shell .member-list .row-main,.staff-shell .member-list .row-sub{display:flex}.staff-shell .rows .row{flex-direction:column;gap:.1rem;padding:.45rem .6rem;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.staff-shell .rows .row.voided{opacity:.6;text-decoration:line-through}.staff-shell .row-main{align-items:center;gap:.45rem;font-weight:600}.staff-shell .row-sub{align-items:center;gap:.4rem;color:var(--muted);font-size:.85rem;font-weight:400}.staff-shell .list-count{margin:.6rem 0 .2rem;color:var(--muted);font-size:.85rem}.staff-shell .empty{color:var(--muted);font-size:.92rem;list-style:none;padding:.5rem 0}.staff-shell .pill{display:inline-block;padding:.05rem .45rem;border-radius:999px;border:1px solid var(--line);font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;font-weight:600;white-space:nowrap}.staff-shell .status-active{color:var(--ok);border-color:var(--ok)}.staff-shell .status-suspended{color:var(--warn);border-color:var(--warn)}.staff-shell .status-closed,.staff-shell .status-revoked{color:var(--bad);border-color:var(--bad)}.staff-shell .pill.demo{color:var(--warn);border-color:var(--warn)}.staff-shell .catalogue{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}.staff-shell .catalogue-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.staff-shell .catalogue-head h2{margin:0}.staff-shell .toggle{display:flex;align-items:center;gap:.4rem;min-height:var(--tap);color:var(--muted);font-size:.9rem}.staff-shell .toggle input{min-height:auto;width:1.15rem;height:1.15rem}.staff-shell .product-list{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.75rem}.staff-shell .product{display:grid;gap:.75rem;border:1px solid var(--line);border-radius:var(--radius);padding:.85rem;background:var(--bg)}.staff-shell .product.retired{opacity:.75}@media(min-width:640px){.staff-shell .product{grid-template-columns:minmax(0,1fr) minmax(10rem,auto);align-items:start}}.staff-shell .product h3{margin:0;font-size:1rem;text-transform:none;letter-spacing:normal;color:var(--text);display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}.staff-shell .product .code{margin:.2rem 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;color:var(--muted)}.staff-shell .product .sub{margin:.2rem 0 0;font-size:.9rem;color:var(--muted)}.staff-shell .product .sub.quiet{font-size:.8rem}.staff-shell .product .price{margin:0 0 .4rem;font-size:1.2rem;font-weight:700}.staff-shell .new-product,.staff-shell .new-member{border:1px solid var(--line);border-radius:var(--radius);padding:.85rem;margin-top:.75rem;background:var(--bg)}.staff-shell .new-product h3{margin-top:0}.fob-enrollment{border:1px solid color-mix(in srgb,var(--muted) 40%,transparent);border-radius:.5rem;padding:.75rem;display:grid;gap:.5rem}.fob-enrollment h4{margin:0}.fob-enrollment .fob-start{display:grid;gap:.35rem;max-width:28rem}.fob-enrollment select,.fob-enrollment button{min-height:2.75rem}.fob-enrollment .fob-status{border-left:4px solid var(--muted);padding-left:.6rem}.fob-enrollment .fob-status.tone-ok{border-left-color:var(--ok)}.fob-enrollment .fob-status.tone-warn{border-left-color:var(--warn)}.fob-enrollment .fob-status p{margin:.2rem 0;overflow-wrap:anywhere}.staff-shell .member-head{display:block}.staff-shell .member-head .back{margin-bottom:.5rem}.staff-shell .member-identity{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.75rem 1rem}.staff-shell .member-identity .avatar{flex:none;width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--bg);border:1px solid var(--line);color:var(--accent)}.staff-shell .member-names{flex:1 1 16rem;min-width:0}.staff-shell .member-contact{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;margin:.4rem 0 0;font-size:.9rem}.staff-shell .member-contact div{display:flex;gap:.35rem;min-width:0}.staff-shell .member-contact dt{color:var(--muted)}.staff-shell .member-contact dd{margin:0;overflow-wrap:anywhere}.staff-shell .head-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-left:auto}.staff-shell .member-body{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;border-top:1px solid var(--line);padding-top:1rem}@media(min-width:900px){.staff-shell .member-body{grid-template-columns:13rem minmax(0,1fr)}}.staff-shell .member-sections{display:flex;flex-direction:column;gap:.75rem;align-self:start}.staff-shell .section-group{display:flex;flex-direction:column;gap:.2rem}.staff-shell .section-group-label{margin:0 0 .15rem;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.staff-shell .section-link{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;min-height:var(--tap);text-align:left;border-color:transparent;background:transparent}.staff-shell .section-link.on{border-color:var(--accent);color:var(--accent);font-weight:600;background:var(--bg)}.staff-shell .section-link .dot{flex:none;width:.55rem;height:.55rem;border-radius:50%}.staff-shell .dot.bad{background:var(--bad)}.staff-shell .dot.warn{background:var(--warn)}@media(min-width:900px){.staff-shell .member-sections{position:sticky;top:calc(var(--staff-bar-clearance, 0px) + .5rem)}}@media(max-width:899px){.staff-shell .member-sections{flex-direction:row;flex-wrap:wrap;gap:.4rem}.staff-shell .section-group{display:contents}.staff-shell .section-group-label{display:none}.staff-shell .section-link{width:auto;max-width:100%;white-space:normal;border-color:var(--line)}}.staff-shell .member-content{min-width:0;scroll-margin-top:calc(var(--staff-bar-clearance, 0px) + .5rem)}.staff-shell .section-panel>.section:first-child,.staff-shell .section-panel>:first-child{margin-top:0;border-top:0;padding-top:0}.staff-shell .attention{list-style:none;padding:0;margin:.5rem 0 1rem}.staff-shell .attention .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.staff-shell .attention-bad .row-main{color:var(--bad);font-weight:600}.staff-shell .attention-warn .row-main{color:var(--warn);font-weight:600}.staff-shell .subhead{margin:1rem 0 .25rem}.staff-shell .fact.told{margin-bottom:.75rem}.staff-shell .attention .row{flex-direction:row;text-align:left}.staff-shell .attention .row-main{flex:1 1 14rem}.staff-shell{--g-female: #d4537e;--g-female-bg: #fbeaf0;--g-female-fg: #72243e;--g-male: #378add;--g-male-bg: #e6f1fb;--g-male-fg: #0c447c;--g-unset: #b4b2a9;--g-unset-bg: #f1efe8;--g-unset-fg: #444441}@media(prefers-color-scheme:dark){.staff-shell{--g-female-bg: #4b1528;--g-female-fg: #f4c0d1;--g-male-bg: #042c53;--g-male-fg: #b5d4f4;--g-unset-bg: #2c2c2a;--g-unset-fg: #d3d1c7}}.staff-shell .dashboard{display:grid;grid-template-columns:minmax(0,1fr) 17rem;gap:1rem;align-items:start}.staff-shell .dash-main{display:grid;gap:.85rem;min-width:0}.staff-shell .dash-clock{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1rem}.staff-shell .dash-day{font-size:1.05rem;font-weight:600}.staff-shell .dash-time{font-variant-numeric:tabular-nums;color:var(--muted);font-size:1.05rem}.staff-shell .dash-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.staff-shell .dash-figure{display:grid;gap:.1rem;justify-items:start;text-align:left;padding:.55rem .7rem;min-height:var(--tap);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);font-weight:400;cursor:pointer;min-width:0}.staff-shell .dash-figure:hover{border-color:var(--accent)}.staff-shell .dash-figure-label,.staff-shell .dash-figure-sub{font-size:.75rem;color:var(--muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-shell .dash-figure-value{display:flex;align-items:baseline;gap:.4rem}.staff-shell .dash-figure-value strong{font-size:1.25rem;font-weight:600}.staff-shell .delta{font-size:.75rem;font-weight:600}.staff-shell .delta.up{color:var(--ok)}.staff-shell .delta.down{color:var(--bad)}.staff-shell .delta.same{color:var(--muted)}.staff-shell .dash-card,.staff-shell .dash-entries{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.75rem .9rem;min-width:0}.staff-shell .dash-entries{position:sticky;top:calc(var(--staff-bar-clearance, 0px) + 1rem)}.staff-shell .dash-card-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.35rem}.staff-shell .dash-card-head h3{margin:0;font-size:.95rem}.staff-shell .card-title{font-weight:600;color:var(--text);padding:0;min-height:0;border:0;background:transparent}.staff-shell .expand{min-width:var(--tap);min-height:var(--tap);padding:0;display:inline-flex;align-items:center;justify-content:center;background:transparent;border-color:transparent;color:var(--muted);font-size:1rem}.staff-shell .dash-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.staff-shell .dash-rows,.staff-shell .dash-notes,.staff-shell .entries{margin:0;padding:0;list-style:none}.staff-shell .dash-rows li{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-top:1px solid var(--line);min-height:var(--tap)}.staff-shell .member-link{min-height:var(--tap);padding:0;border:0;background:transparent;color:var(--text);font-weight:400;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-shell .member-link:hover{color:var(--accent);text-decoration:underline}.staff-shell .pill-danger{background:color-mix(in srgb,var(--bad) 14%,var(--surface));color:var(--bad)}.staff-shell .pill-warning{background:color-mix(in srgb,var(--warn) 14%,var(--surface));color:var(--warn)}.staff-shell .pill-accent{background:color-mix(in srgb,var(--accent) 14%,var(--surface));color:var(--accent)}.staff-shell .pill-success{background:color-mix(in srgb,var(--ok) 14%,var(--surface));color:var(--ok)}.staff-shell .dash-notes li{display:grid;gap:.1rem;padding:.4rem 0;border-top:1px solid var(--line)}.staff-shell .note-body{overflow-wrap:anywhere}.staff-shell .hours{display:flex;align-items:flex-end;gap:3px}.staff-shell .hour{flex:1;height:100%;display:flex;align-items:flex-end;gap:1px}.staff-shell .bar{flex:1;border-radius:2px 2px 0 0;min-height:1px}.staff-shell .bar.today,.staff-shell .swatch.today{background:var(--g-male)}.staff-shell .bar.yesterday,.staff-shell .swatch.yesterday{background:var(--g-unset)}.staff-shell .swatch{display:inline-block;width:.7rem;height:.7rem;border-radius:2px;vertical-align:-1px}.staff-shell .hours-legend{margin:0 0 .35rem}.staff-shell .hours-axis{display:flex;justify-content:space-between;font-size:.72rem;color:var(--muted);margin-top:.25rem}.staff-shell .gender-bar{display:flex;height:6px;border-radius:3px;overflow:hidden;margin:.2rem 0 .25rem}.staff-shell .gender-bar .g-female{background:var(--g-female)}.staff-shell .gender-bar .g-male{background:var(--g-male)}.staff-shell .gender-bar .g-unset{background:var(--g-unset)}.staff-shell .entries{display:grid;grid-template-columns:minmax(0,1fr);column-gap:1rem;margin-top:.35rem}.staff-shell .entry{display:flex;align-items:center;gap:.45rem;width:100%;min-height:2.75rem;padding:.2rem .15rem;background:transparent;border:0;border-radius:calc(var(--radius) - 4px);font-weight:400;text-align:left}.staff-shell .entry:hover{background:var(--bg)}.staff-shell .avatar{width:1.75rem;height:1.75rem;border-radius:50%;flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:600}.staff-shell .avatar.g-female,.staff-shell .avatar-dot.g-female{background:var(--g-female-bg);color:var(--g-female-fg)}.staff-shell .avatar.g-male,.staff-shell .avatar-dot.g-male{background:var(--g-male-bg);color:var(--g-male-fg)}.staff-shell .avatar.g-unset,.staff-shell .avatar-dot.g-unset{background:var(--g-unset-bg);color:var(--g-unset-fg)}.staff-shell .avatar-dot{display:inline-block;width:.7rem;height:.7rem;border-radius:50%;vertical-align:-1px;border:1px solid var(--line)}.staff-shell .entry-main{flex:1;min-width:0;display:grid;gap:.1rem}.staff-shell .entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .35rem;min-height:0}.staff-shell .entry-meta:empty{display:none}.staff-shell .entry-meta .pill{font-size:.62rem;padding:0 .35rem}.staff-shell .entry-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.85rem}.staff-shell .entry-time{font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}.staff-shell .marker.ending{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:#ef9f27;flex:none}.staff-shell .marker.birthday{font-size:.85rem}.staff-shell .marker-legend{margin-top:.5rem;line-height:1.7;font-size:.75rem}.staff-shell .dash-dialog{width:min(36rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text)}.staff-shell .dash-dialog::backdrop{background:#00000073}.staff-shell .dash-dialog-body{padding:.75rem 1rem 1rem}.staff-shell .dash-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.staff-shell .dash-dialog-head h2{margin:0;font-size:1.1rem}.staff-shell .figure-big strong{font-size:2.2rem;font-weight:600}.staff-shell .figure-facts{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;margin:.5rem 0 .75rem}.staff-shell .figure-facts dt{color:var(--muted)}.staff-shell .figure-facts dd{margin:0}.staff-shell .dash-dialog textarea{width:100%}@media(max-width:1099px){.staff-shell .dashboard{grid-template-columns:minmax(0,1fr)}.staff-shell .dash-entries{position:static}.staff-shell .dash-entries .entries{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:719px){.staff-shell .dash-figures{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-shell .dash-pair,.staff-shell .dash-entries .entries{grid-template-columns:minmax(0,1fr)}.staff-shell .dash-dialog{width:calc(100vw - 1rem);max-height:calc(100vh - 1rem)}}.staff-shell .entry-doors{font-size:.68rem;color:var(--muted);font-variant-numeric:tabular-nums}:root{--bg: #f6f7f9;--surface: #ffffff;--text: #15181d;--muted: #5b6472;--line: #d9dee6;--accent: #1f5fd0;--ok: #0f7a4a;--warn: #9a5b00;--bad: #a52033;--radius: 10px;--tap: 44px}@media(prefers-color-scheme:dark){:root{--bg: #14171c;--surface: #1c2027;--text: #eef1f5;--muted: #a3acba;--line: #2e343d;--accent: #6ea4ff;--ok: #54c98f;--warn: #e0a64a;--bad: #ff8094}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}h1,h2,h3{line-height:1.25}h3{margin:1.25rem 0 .35rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}input,button,select{font:inherit;min-width:0;min-height:var(--tap);border-radius:8px;border:1px solid var(--line);padding:0 .7rem;background:var(--surface);color:var(--text)}input:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button{cursor:pointer;background:var(--accent);border-color:transparent;color:#fff;padding:0 1rem;font-weight:600}button:disabled{opacity:.6;cursor:default}button.link{background:none;color:var(--accent);border:none;min-height:auto;padding:0 0 0 .75rem;font-weight:500;text-decoration:underline}.banner{background:var(--warn);color:#1b1200;padding:.6rem 1rem;font-weight:600;text-align:center}.centred{min-height:100dvh;display:grid;place-items:center;padding:1rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}.signin{display:grid;gap:.4rem;width:min(100%,23rem)}.signin h1{margin:0 0 .75rem;font-size:1.25rem}.signin label{font-size:.85rem;color:var(--muted)}.signin button{margin-top:.9rem}.error{color:var(--bad);margin:.5rem 0 0}.shell{min-height:100dvh;display:flex;flex-direction:column}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;background:var(--surface);border-bottom:1px solid var(--line)}.who{color:var(--muted);font-size:.9rem}.columns{flex:1;min-width:0;display:grid;grid-template-columns:minmax(18rem,24rem) 1fr;gap:1rem;padding:1rem;align-items:start}@media(max-width:860px){.columns{grid-template-columns:1fr}}.panel{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;display:grid;gap:.75rem}.detail{align-self:stretch}.detail article{display:block}.detail h2{margin:0;font-size:1.15rem}.new-member{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;min-width:0}.new-member>*{min-width:0}@media(max-width:520px){.new-member{grid-template-columns:1fr}}.member-list{list-style:none;margin:0;padding:0;display:grid;gap:.25rem}.row{width:100%;min-width:0;display:flex;justify-content:space-between;gap:.75rem;background:none;color:var(--text);border:1px solid transparent;text-align:left;font-weight:500}.row:hover{border-color:var(--line)}.row.selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent)}.ref{color:var(--muted);font-size:.85rem}.empty{color:var(--muted)}.note{color:var(--warn);font-size:.9rem}.doors{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}.door{display:flex;align-items:center;gap:.5rem;border:1px solid var(--line);border-radius:999px;padding:.35rem .8rem;font-size:.9rem}.door-id{font-weight:700}.door.ready{border-color:var(--ok);color:var(--ok)}.door.pending{border-color:var(--warn);color:var(--warn)}.door.denied{border-color:var(--bad);color:var(--bad)}.door.unknown{color:var(--muted)}.windows{list-style:none;margin:0;padding:0;display:grid;gap:.25rem;font-variant-numeric:tabular-nums;font-size:.95rem}.panel-body{border:0;margin:0;padding:0;min-width:0}.panel-body:disabled{opacity:.6}.stale-detail{border:1px solid var(--bad);border-radius:6px;padding:.75rem;margin:0 0 .75rem;display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}.stale-detail .error{margin:0}.held-banner{text-align:left;font-weight:500;border-radius:6px;margin:0 0 .75rem;line-height:1.45}.held-banner strong{font-weight:700}.backoffice-strip{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1rem;padding:.5rem 1rem;border-bottom:1px solid var(--line);color:var(--muted);font-size:.8rem;position:static}.backoffice-strip time{font-variant-numeric:tabular-nums}.strip-date{margin-right:.5rem}.strip-zone{margin-left:.4rem;opacity:.8}@media(max-width:600px){.backoffice-strip{justify-content:flex-start;flex-direction:column}}
