.text-button{font:inherit;cursor:pointer}
.otp-card .notice{margin:.75rem 0}.otp-target{padding:.75rem;border-radius:12px;background:#f3f6f8;color:var(--muted);font-size:.88rem}
.otp-input{font-size:1.65rem!important;font-weight:800;letter-spacing:.42em;text-align:center}
.change-phone-form{justify-content:center;margin-top:.55rem}.text-button{border:0;background:none;color:var(--accent);font-weight:700}
.emergency-login{margin-top:1rem;border-top:1px solid var(--line);padding-top:.85rem}.emergency-login summary{cursor:pointer;color:var(--muted);font-size:.8rem}.emergency-login .stack-form{margin-top:.8rem}
.staff-page .page-shell{display:flex;height:calc(100vh - 72px);max-width:none;flex-direction:column;padding:14px 18px;overflow:hidden}.staff-page .page-shell>.notice{flex:0 0 auto;margin-bottom:10px}.staff-page .site-footer{display:none}
.staff-workspace{display:flex;min-height:0;flex:1;height:auto;flex-direction:column;gap:8px}
.hire-drawer,.staff-register{min-height:0;border:1px solid rgba(34,47,62,.09);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 12px 35px rgba(38,48,61,.09)}
.hire-drawer{flex:none;padding:9px 11px;overflow:hidden}.panel-heading,.register-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.panel-heading h1,.register-head h2{margin:.12rem 0 0}.icon-link{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f1f3f5;color:var(--ink);font-size:1.4rem;text-decoration:none}
.hire-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:7px;margin-top:7px}.hire-form>.staff-primary-choice,.hire-form>[data-staff-position-field],.hire-form>.staff-name-field,.hire-form>.form-pair{grid-column:span 3}.hire-form>.staff-employment-field,.hire-form>.switch-line{grid-column:span 2}.hire-form>.staff-note-field{grid-column:span 5}.hire-form>.primary-button{grid-column:span 3}.hire-form label>span,.role-grid legend{display:block;margin-bottom:4px;color:var(--muted);font-size:.72rem;font-weight:700}
.staff-primary-choice{padding:0}.staff-primary-choice>span{color:#116c54!important;font-weight:850!important}.staff-primary-choice select{border-color:#67aa96!important;font-weight:750}.hire-form [data-staff-position-field]{padding:0}.hire-form [data-staff-position-field]>span{color:#66550a;font-weight:850}
[data-staff-position-field][hidden]{display:none!important}.inline-role-readonly{align-content:start;gap:4px;padding:7px;border-radius:8px;background:rgba(255,255,255,.58);color:#726728;font-size:.65rem}.inline-role-readonly a{color:#15745a;font-weight:800}
.hire-form input,.hire-form select{width:100%}.hire-form textarea{height:36px;min-height:36px!important;resize:none}.hire-form>.primary-button{min-width:145px}.form-pair{display:grid;grid-template-columns:minmax(175px,1.35fr) minmax(140px,.85fr);gap:7px}.role-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0;padding:8px;border:1px solid var(--line);border-radius:12px}
.role-grid label{display:flex;align-items:center;gap:6px;padding:5px 6px;border-radius:8px;background:#f6f7f8;font-size:.76rem}.role-grid input{width:auto}
.staff-role-option[hidden],.staff-header-filter option[hidden]{display:none}
.staff-register{display:flex;min-height:0;flex:1;flex-direction:column;padding:11px;overflow:hidden}.staff-register>.register-head{flex:0 0 auto}.staff-head-actions{display:flex;align-items:center;gap:9px}.register-count{display:flex;align-items:baseline;gap:5px}.register-count b{font-size:1.6rem}.register-count span{color:var(--muted);font-size:.72rem}
.staff-table-wrap{min-height:0;flex:1;overflow:auto;margin-top:10px;border:1px solid var(--line);border-radius:13px;overscroll-behavior:contain;scrollbar-gutter:stable}.staff-table{width:100%;min-width:900px;border-collapse:collapse}
.staff-table th{position:sticky;top:0;z-index:var(--layer-table-header);padding:8px 10px;background:#f2f4f5;color:var(--muted);font-size:.68rem;text-align:left;text-transform:uppercase;letter-spacing:.05em}.staff-table th>span{display:block}.staff-header-filter{display:block;width:100%;min-width:145px;margin-top:5px;padding:5px 7px;border:1px solid #cfd7d3;border-radius:7px;background:#fff;color:#27332f;font:inherit;font-size:.7rem;font-weight:700;text-transform:none;letter-spacing:0}
.staff-table td{padding:10px;border-top:1px solid var(--line);font-size:.8rem;vertical-align:middle}.staff-table td:first-child b,.staff-table td:first-child small{display:block}
.staff-table td:first-child small{margin-top:3px;color:var(--muted);font-size:.68rem}.role-summary{display:block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.status-pill{display:inline-flex;padding:5px 8px;border-radius:999px;white-space:nowrap;font-size:.68rem;font-weight:800}.status-pill.is-active{background:#e5f6ed;color:#167446}.status-pill.is-warn{border:1px solid #dc6a56;background:#ffe1dc;color:#a72f20;font-size:.74rem}.status-pill.is-off{background:#eceff1;color:#6c747d}
.row-actions{vertical-align:middle!important}.staff-row-actions-view{display:flex;align-items:center;justify-content:flex-end;gap:6px}.row-actions form{margin:0}.staff-table tr.is-suspended td{background:#fff0ed;border-top-color:#efb0a5}.staff-table tr.is-suspended td:first-child{box-shadow:inset 5px 0 #d74732}.staff-table tr:target td{animation:staff-row-focus 2.4s ease-out}@keyframes staff-row-focus{0%,35%{background:#ffd4cc}100%{background:inherit}}.is-dismissed{opacity:.62}
.staff-cell-edit,.staff-inline-save-form{display:none}.staff-cell-edit label>span,.inline-role-grid legend{display:block;margin-bottom:3px;color:#726728;font-size:.61rem;font-weight:800}.staff-cell-edit input,.staff-cell-edit select,.staff-cell-edit textarea{width:100%;min-width:0;padding:6px 7px;border:1px solid #c8b85e;border-radius:7px;background:#fffef4;color:#202821;font:inherit;font-size:.72rem}.staff-edit-stack{gap:6px}.staff-inline-pair{display:grid;grid-template-columns:.8fr 1.2fr;gap:5px}.staff-inline-check{display:flex!important;align-items:center;gap:5px}.staff-inline-check input{width:15px!important}.staff-inline-check span{margin:0!important}.inline-role-grid{grid-template-columns:repeat(2,minmax(100px,1fr));gap:4px;margin:0;padding:5px;border:1px solid #d8c96f;border-radius:8px}.inline-role-grid label{display:flex;align-items:center;gap:4px;padding:3px 4px;border-radius:6px;background:rgba(255,255,255,.72);font-size:.64rem}.inline-role-grid input{width:14px!important}.inline-current-status{display:inline-flex;align-self:start;padding:4px 7px;border-radius:999px;background:#fff0a8;color:#665a13;font-size:.65rem;font-weight:800}.staff-table tr.is-inline-editing td{background:#fff7c9!important;border-top-color:#d7bd3f;vertical-align:top}.staff-table tr.is-inline-editing td:first-child{box-shadow:inset 6px 0 #d6a900}.staff-table tr.is-inline-editing .staff-cell-view,.staff-table tr.is-inline-editing .staff-row-actions-view{display:none}.staff-table tr.is-inline-editing .staff-cell-edit{display:grid}.staff-table tr.is-inline-editing .staff-inline-save-form{display:grid;gap:6px}.staff-inline-save-form :where(.primary-button,.secondary-button){width:100%}.staff-table tr[hidden]{display:none}
@media(max-width:1300px){.hire-drawer{overflow:auto}.hire-form{min-width:1050px}}
@media(max-width:800px){.staff-page .page-shell{height:calc(100vh - 64px);padding:8px}.hire-drawer{overflow:auto}.staff-page.is-hiring .staff-register{display:none}.staff-register{padding:10px}.staff-table{min-width:840px}.staff-table-wrap{overflow-x:auto}.topbar__links{overflow-x:auto;flex-wrap:nowrap}.staff-head-actions .primary-button{font-size:0}.staff-head-actions .primary-button::after{content:'+';font-size:18px}}
