*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:var(--core-text,#263238);background:var(--core-workspace,#f4f5f7);font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:10px;background:#167553;color:#fff;font-weight:600;cursor:pointer;line-height:1.35}button:hover,.button:hover{filter:brightness(.96)}button:disabled{opacity:.6;cursor:wait}.secondary{background:var(--core-surface,#fff);color:var(--core-text,#40525c);border-color:var(--core-line,#d6dde2)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #78aece;outline-offset:3px}.icon{width:21px;height:21px;flex:none}.icon-button{width:44px;height:44px;padding:0;background:transparent;color:inherit;border-radius:9px}.app{--sidebar:248px;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);grid-template-rows:72px 1fr;min-height:100vh}.topbar{grid-column:1/-1;position:sticky;top:0;z-index:60;height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px 0 13px;background:var(--core-topbar,#3e4347);color:#fff;box-shadow:0 2px 10px #00000012}.topbar-start,.topbar-tools{display:flex;align-items:center;gap:15px;min-width:0}.brand,.login-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:700;line-height:1.1;letter-spacing:-.7px}.brand small,.login-brand small{display:block;font-size:9px;font-weight:400;letter-spacing:1.8px;margin-top:5px;color:var(--core-muted,#c1d0c9)}.brand-mark{display:inline-grid;place-items:center;width:39px;height:39px;border-radius:13px 13px 13px 3px;background:#90ba49;color:#fff;font-size:26px;font-weight:700;letter-spacing:-2px}.user-summary{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#5a6267;border:1px solid var(--core-line,#76847d);border-radius:50%;font-weight:600}.user-copy strong,.user-copy small{display:block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-copy strong{font-size:12px;font-weight:500}.user-copy small{color:var(--core-muted,#bac9c2);font-size:10px}.topbar-tools form{margin:0}.language-switch select{min-height:36px;max-width:132px;padding:5px 25px 5px 9px;border:1px solid var(--core-line,#747c80);border-radius:8px;background:#4b5257;color:white;font-size:12px}.sidebar{grid-column:1;grid-row:2;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column;min-width:0;padding:25px 12px 16px;background:var(--core-sidebar,#f9fafb);border-right:1px solid var(--core-line,#e1e5e8);overflow-y:auto;scrollbar-width:thin}.sidebar-label{padding:0 13px 10px;color:var(--core-muted,#97a1a8);font-size:9px;letter-spacing:1.2px;white-space:nowrap;overflow:hidden}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border-radius:9px;color:var(--core-text,#54616a);font-size:13px;white-space:nowrap;overflow:hidden}.nav-link .icon{color:var(--core-text-secondary,#77848b);width:20px;height:20px}.nav-link span{overflow:hidden;text-overflow:ellipsis}.nav-link:hover{background:var(--core-surface-soft,#edf1f3)}.nav-link.active{background:var(--core-surface,white);box-shadow:0 2px 8px #28343a0c;color:var(--core-accent-text,#215f4c);font-weight:600}.nav-link.active .icon{color:var(--core-accent-text,#167553)}.nav-child{margin-left:16px;font-size:12px}.sidebar-divider{height:1px;margin:17px 10px 12px;background:var(--core-surface-soft,#e3e7e9)}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:8px;padding:32px 14px 0;font-size:10px;color:var(--core-muted,#87939a);white-space:nowrap;overflow:hidden}.status-dot{width:6px;height:6px;border-radius:50%;background:#90ba49;flex:none}.sidebar-collapsed{--sidebar:76px}.sidebar-collapsed .sidebar-label,.sidebar-collapsed .nav-link span,.sidebar-collapsed .sidebar-bottom>span:last-child{display:none}.sidebar-collapsed .nav-link{justify-content:center;padding:12px 8px}.sidebar-collapsed .nav-child{margin-left:0}.sidebar-collapsed .sidebar-bottom{justify-content:center;padding:32px 0 0}.workspace{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-width:0;min-height:calc(100vh - 72px);padding:27px 32px 0}.breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--core-muted,#87939b);font-size:11px}.breadcrumb>span:last-child{color:var(--core-text-secondary,#53646f)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0 24px}.eyebrow{margin:0 0 7px;font-size:9px;font-weight:600;color:var(--core-muted,#82949c);letter-spacing:1.7px}h1{margin:0;font-size:29px;font-weight:600;letter-spacing:-.8px;line-height:1.25}h2{font-size:18px;font-weight:600;line-height:1.35;margin:0 0 9px}.page-heading p:not(.eyebrow){margin:9px 0 0;color:var(--core-muted,#849099);font-size:13px}.page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.panel{padding:24px;border:1px solid var(--core-line,#dfe4e8);border-radius:17px;background:var(--core-surface,#fff);box-shadow:0 2px 7px #21334203}.workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;max-width:1080px}.workspace-card{position:relative;min-height:195px;padding:28px}.workspace-card:hover{border-color:var(--core-line,#9eb7ac);box-shadow:0 6px 18px #2c4f3c0b}.workspace-icon,.empty-icon{display:inline-grid;place-items:center;width:48px;height:48px;margin-bottom:18px;border-radius:14px;background:var(--core-accent-soft,#edf5f0);color:var(--core-accent-text,#297759)}.workspace-icon .icon{width:25px;height:25px}.workspace-card p{margin:0;color:var(--core-muted,#8a969e);font-size:13px;padding-right:20px}.workspace-arrow{position:absolute;right:25px;bottom:25px;color:var(--core-muted,#8ba399)}.workspace-footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:auto;padding:36px 0 18px;color:var(--core-muted,#9aa5ac);font-size:10px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;text-align:center;gap:9px}.empty-state h2{font-size:18px;color:var(--core-text-secondary,#66757f);font-weight:500}.empty-state p{max-width:440px;margin:0;color:var(--core-muted,#9aa4ab);font-size:13px}.empty-state .button{margin-top:10px}.empty-icon{background:var(--core-surface-soft,#f2f5f6);color:var(--core-muted,#9aaab2)}.executive-empty{min-height:420px;border-style:dashed;background:var(--core-surface,#ffffffb3)}.form-field{margin-bottom:20px}label{display:block;margin-bottom:8px;color:var(--core-text-secondary,#596b75);font-size:12px;font-weight:500}input:not([type=hidden]):not([type=checkbox]),textarea,select{max-width:100%;border:1px solid var(--core-line,#cfd8de);border-radius:8px;background:var(--core-input,#fbfcfd);color:var(--core-text,#273841);padding:10px 12px;min-height:44px}input:not([type=hidden]):not([type=checkbox]),textarea{width:100%}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;accent-color:#197452;flex:none}.public-layout{display:grid;place-items:center;min-height:100dvh;padding:28px 18px;background:radial-gradient(ellipse at top left,var(--core-accent-soft,#edf3e7),transparent 65%),var(--core-accent-soft,#edf2f0)}.login-card{width:100%;max-width:470px;padding:42px;background:var(--core-surface,#fff);border:1px solid var(--core-line,#dfe7e3);border-radius:23px;box-shadow:0 12px 40px #294d3d0b}.login-brand{margin-bottom:28px;color:var(--core-text,#3c4a50);font-size:27px}.login-brand .brand-mark{width:46px;height:46px;font-size:30px}.login-brand small{color:var(--core-muted,#91a19a)}.login-card h1{font-size:31px;margin-bottom:7px}.login-subtitle{color:var(--core-muted,#98a4aa);margin:0 0 29px;font-size:13px}.login-card label{margin:17px 0 8px}.login-card input{margin-top:7px}.password-field{position:relative;display:block;margin-top:7px}.login-card .password-field input{display:block;margin:0;padding-right:48px!important}.password-toggle{position:absolute;right:2px;top:50%;transform:translateY(-50%);background:transparent;color:var(--core-muted,#91a0aa);width:44px;height:calc(100% - 2px);min-height:0;padding:0}.login-submit{width:100%;margin-top:16px;min-height:46px}.recovery-link{display:block;text-align:center;margin-top:17px;font-size:12px;color:var(--core-muted,#7e8f98);min-height:44px;padding-top:12px}.login-language{display:flex;justify-content:center;margin-top:21px}.login-language select{background:var(--core-accent-soft,#f7f9f8);color:var(--core-text-secondary,#6a7d75);border-color:var(--core-line,#dce5df)}.form-error,.errorlist{color:var(--core-danger-text,#aa3e3e);font-size:12px;overflow-wrap:anywhere}.errorlist{padding-left:18px}.flash{padding:12px 16px;margin:14px 0 0;border:1px solid var(--core-line,#c7ddce);border-radius:10px;background:var(--core-accent-soft,#eff7f0);color:var(--core-accent-text,#40734c)}.help-text,.muted{color:var(--core-muted,#94a0a8);font-size:12px}.help-text{margin:7px 0 0}.management-form{max-width:760px}.management-form label{margin:0 0 8px}.management-form .checkbox-field label{display:flex;align-items:center;gap:10px;min-height:44px}.checkbox-field>div{display:grid;grid-template-columns:1fr;gap:5px}.checkbox-field>div>div{padding:6px 12px;border:1px solid var(--core-line,#e5e9ec);border-radius:9px}.form-actions{display:flex;align-items:center;gap:12px;margin-top:25px}.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.role-card ul{margin:15px 0;padding-left:18px;color:var(--core-muted,#87949d);font-size:12px}.role-card li{margin-bottom:7px}.text-link{display:inline-flex;align-items:center;min-height:44px;color:var(--core-accent-text,#217653);font-size:12px}.request-list{display:grid;gap:14px}.request-card{display:flex;justify-content:space-between;gap:24px}.request-card h2{margin-top:10px}.request-card p{overflow-wrap:anywhere}.request-actions,.request-actions form{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.request-actions{max-width:360px}.status-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:7px;background:var(--core-surface-soft,#eff3f5);color:var(--core-text-secondary,#71828c);font-size:11px}.recovery-card .back-link{display:block;margin-bottom:24px;color:var(--core-muted,#8c9a9f);font-size:12px}.recovery-card h1{font-size:26px}.recovery-card .button{margin-top:24px}.recovery-card{margin:auto}.recovery-card .login-brand{margin-bottom:20px}.nav-backdrop{position:fixed;inset:72px 0 0;z-index:30;border:0;border-radius:0;background:#1d2b3570}.workspace>form p label{margin-top:0}@media(min-width:1500px){.workspace{padding:32px 44px 0}.workspace-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.workspace-card{padding:24px}.workspace-card h2{font-size:17px}}@media(max-width:1100px){.app{--sidebar:216px}.app.sidebar-collapsed{--sidebar:76px}.workspace{padding:24px 23px 0}.topbar{padding-right:16px}.user-copy{display:none}.page-heading h1{font-size:27px}}@media(max-width:960px){.app{display:block}.topbar{padding-left:8px;height:68px;gap:8px}.topbar-start,.topbar-tools{gap:7px}.brand{font-size:20px}.brand-mark{width:34px;height:34px;font-size:23px;border-radius:10px 10px 10px 3px}.brand small{font-size:7px;letter-spacing:1.5px}.sidebar{position:fixed;left:0;top:68px;bottom:0;z-index:40;width:260px;max-width:85vw;height:auto;visibility:hidden;transform:translateX(-100%);transition:transform .18s ease,visibility .18s}.nav-open .sidebar{visibility:visible;transform:translateX(0)}.nav-backdrop{top:68px}.navigation-open{overflow:hidden}.workspace{padding:22px 20px 0;min-height:calc(100dvh - 68px)}.language-switch select{max-width:118px}.avatar{display:none}.page-heading{margin-top:25px}.request-card{flex-direction:column}.request-actions{max-width:none;justify-content:flex-start}.request-actions form{justify-content:flex-start}}@media(max-width:600px){.workspace{padding:18px 15px 0}.topbar{padding-right:7px}.brand{font-size:19px}.topbar-tools{gap:2px}.brand small{display:none}.language-switch select{max-width:106px;font-size:11px;min-height:36px}.icon-button{width:42px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:20px}.page-heading h1{font-size:26px}.page-actions{align-self:flex-end}.workspace-grid,.role-grid{grid-template-columns:1fr;gap:13px}.workspace-card{min-height:170px;padding:23px}.panel{padding:21px}.workspace-footer{padding-top:28px}.login-card{padding:30px 25px}.login-card h1{font-size:28px}.login-brand{margin-bottom:25px}.executive-empty{min-height:340px}.form-actions{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

.user-summary{border-radius:10px;min-height:44px;padding:4px 6px}.user-summary:hover{background:var(--core-surface,#ffffff10)}.avatar{overflow:hidden;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.account-grid{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:22px}.account-photo{text-align:center}.profile-avatar{width:120px;height:120px;display:grid;place-items:center;margin:0 auto 22px;border-radius:50%;overflow:hidden;background:var(--core-accent-soft,#e7eee9);color:var(--core-accent-text,#37825e);font-size:40px}.profile-avatar img{width:100%;height:100%;object-fit:cover}.account-photo form{margin-top:25px;text-align:left}.account-photo button{margin-top:17px}.account-details dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:15px;margin:25px 0}.account-details dt{color:var(--core-muted,#8a98a0);font-size:12px}.account-details dd{margin:0;overflow-wrap:anywhere}.account-language{margin-top:27px}.account-language select{background:var(--core-surface,white);color:var(--core-text,#3c525b)}.account-photo input[type=file]{padding:8px;font-size:12px}.account-photo input::file-selector-button{max-width:100%;border:0;border-radius:5px;padding:6px;background:var(--core-accent-soft,#e7eeea);color:var(--core-text,#416450)}
@media(max-width:960px){.topbar .avatar{display:grid}.account-grid{grid-template-columns:1fr}.account-photo{max-width:none}.profile-avatar{width:100px;height:100px}}
@media(max-width:600px){.account-details dl{grid-template-columns:1fr;gap:5px}.account-details dd{margin-bottom:12px}}

/* Common system selection, administrative cards, tables and settings dialogs. */
.system-selector{grid-template-columns:minmax(0,1fr)}.system-selector .workspace{grid-column:1;align-items:center;padding-top:40px}.system-selector .workspace-footer{width:100%}.system-choice{width:100%;max-width:560px;padding:36px;margin:auto}.system-choice h1{font-size:28px}.system-choice>.muted{margin:12px 0 26px}.system-list{display:grid;gap:12px}.system-option{width:100%;justify-content:flex-start;min-height:66px;padding:14px 18px;text-align:left;border-radius:12px}.system-option>span{flex:1;min-width:0}.system-option strong{display:block;font-size:15px;font-weight:600}.system-option small{display:block;font-size:11px;font-weight:400;opacity:.78;margin-top:3px}.system-option>.icon:last-child{width:18px;height:18px}.system-switch-account{margin-top:24px;text-align:center}.system-switch-account button{background:transparent;padding:8px 16px}.system-choice .empty-state{min-height:140px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.metric-card{display:flex;flex-direction:column;min-width:0;gap:5px}.metric-card .workspace-icon{margin-bottom:9px}.metric-card p{color:var(--core-muted,#809099);margin:0}.metric-card>strong{font-size:32px;font-weight:600;letter-spacing:-1px}.metric-card small{color:var(--core-muted,#94a0a8)}.section-panel{margin-top:22px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.section-heading h2{margin:0}.table-scroll{max-width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.data-table th{padding:12px 14px;background:var(--core-surface-soft,#f7f9fa);color:var(--core-muted,#829099);font-size:11px;font-weight:500;white-space:nowrap}.data-table td{padding:15px 14px;border-bottom:1px solid var(--core-line,#edf0f2);vertical-align:middle;overflow-wrap:anywhere}.data-table tbody tr:last-child td{border-bottom:0}.data-table a{color:var(--core-accent-text,#217653);display:inline-flex;align-items:center;min-height:44px}.data-table .status-chip{white-space:nowrap}.status-chip.success{background:var(--core-accent-soft,#edf6ef);color:var(--core-accent-text,#28764b)}.status-chip.failure{background:var(--core-danger-soft,#fbeeee);color:var(--core-danger-text,#a04b4b)}.service-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.compact-metrics{border-top:1px solid var(--core-line,#edf0f2);padding-top:20px}.compact-metrics span{display:block;color:var(--core-muted,#8a969e);font-size:12px}.compact-metrics strong{font-size:22px;font-weight:500}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.settings-card{min-width:0}.settings-card .help-text{overflow-wrap:anywhere}.settings-card>.button{margin-top:24px}.settings-rules{display:grid;gap:16px;margin-top:22px}.settings-rule{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid var(--core-line,#edf0f2)}.settings-rule strong{font-size:13px;font-weight:500}.settings-rule p{color:var(--core-muted,#8a969e);font-size:12px;margin:6px 0 0}.settings-rule button{background:var(--core-accent-soft,#f4f7f5);color:var(--core-accent-text,#267451);font-size:12px;padding:9px 12px;flex:none}.dialog-open{overflow:hidden}.dialog-backdrop{position:fixed;inset:0;z-index:100;background:#24332e66;display:grid;place-items:center;padding:20px}.dialog-panel{width:100%;max-width:980px;max-height:calc(100dvh - 40px);overflow-y:auto;padding:26px;border:1px solid var(--core-line,#dfe4e8);border-radius:17px;background:var(--core-surface,white);box-shadow:0 18px 70px #162e3926;min-width:0}.rule-dialog-panel{max-width:540px}.dialog-panel>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:24px}.dialog-close{width:44px;height:44px;padding:0;flex:none;background:var(--core-surface-soft,#f4f6f7);color:var(--core-text-secondary,#72828b);font-size:24px}.dialog-panel form label{margin-bottom:18px}.dialog-panel form input{margin-top:7px}.period-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.period-form label{flex:1;min-width:145px}.period-form button{margin-bottom:18px}.log-table-scroll{margin-top:18px}.log-table-scroll table{min-width:650px}.log-table-scroll td{white-space:pre-line}.rule-dialog-panel form button{margin-top:10px}.table-scroll:focus-visible{outline:3px solid #78aece;outline-offset:3px}
@media(max-width:1100px){.settings-grid{grid-template-columns:1fr}.metric-grid{gap:12px}}
@media(max-width:600px){.system-selector .workspace{padding-top:24px}.system-choice{padding:25px 22px}.system-choice .login-brand{margin-bottom:25px}.system-choice h1{font-size:25px}.system-option{padding:12px 14px}.metric-grid{grid-template-columns:1fr}.metric-card>strong{font-size:28px}.compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compact-metrics span{font-size:10px}.compact-metrics strong{font-size:19px}.settings-rule{align-items:flex-start;flex-direction:column}.dialog-backdrop{padding:10px}.dialog-panel{max-height:calc(100dvh - 20px);padding:20px;border-radius:14px}.period-form{display:grid;grid-template-columns:1fr}.period-form label{min-width:0}.period-form button{margin-bottom:6px}.data-table th,.data-table td{padding:12px 10px}.system-selector .workspace-footer{justify-content:center;text-align:center}}

.role-management-form{max-width:1200px}.access-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(150px,1fr) minmax(210px,1.5fr);gap:20px;padding:20px 0;border-bottom:1px solid var(--core-line,#edf0f2)}.access-heading{color:var(--core-muted,#829099);font-size:12px}.access-row>strong{font-size:13px;font-weight:500}.access-check{display:flex!important;align-items:center;gap:10px;min-height:44px;margin:0!important}.access-actions{display:grid}.access-check input{flex:none}.access-check span{overflow-wrap:anywhere}@media(max-width:767px){.access-heading{display:none}.access-row{grid-template-columns:1fr;gap:8px}.access-actions{padding-left:12px;border-left:2px solid var(--core-line,#edf0f2)}}

.request-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.request-tabs .selected{background:var(--core-accent-soft,#e5f2ec);border-color:var(--core-accent-line,#297759);color:var(--core-accent-text,#176c4c)}.request-tabs a>span{font-size:11px;opacity:.7}.request-search{justify-content:flex-start;align-items:flex-end}.request-search label{margin:0;min-width:0;flex:1;max-width:400px}.request-summary{display:flex;justify-content:space-between;gap:24px}.request-summary h2{margin-top:16px;overflow-wrap:anywhere}.request-summary p{overflow-wrap:anywhere}.request-badges{display:flex;gap:8px;flex-wrap:wrap}.request-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.request-detail-grid>.panel{min-width:0;overflow-wrap:anywhere}.call-entry{border-bottom:1px solid var(--core-line,#edf0f2);padding:14px 0;overflow-wrap:anywhere}details>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--core-accent-text,#267451);font-weight:500}details form p label{margin-top:16px}.request-list{margin-top:18px}.request-detail-grid input[type=checkbox]{width:18px}.section-panel .page-actions{justify-content:flex-start}.request-detail-grid select{width:100%}@media(max-width:767px){.request-detail-grid{grid-template-columns:1fr}.request-summary{flex-direction:column;gap:8px}.request-tabs{gap:8px}.request-tabs a{padding:10px 12px;font-size:12px}.request-search{flex-wrap:wrap}.request-search label{flex-basis:100%;max-width:none}}

.request-tabs{gap:0;align-items:center}.request-tabs>a{position:relative;margin:0 24px 10px 6px;border-radius:3px;border-color:var(--core-line,#91b4a6);background:var(--core-surface,#fff);transform:skewX(-15deg);font-weight:500;min-height:40px;font-size:12px;padding:9px 16px}.request-tabs>a::after{content:"";position:absolute;right:-16px;top:2px;width:4px;height:32px;background:#7caa97;border-radius:3px}.request-tabs>a:last-child::after{display:none}.request-tabs>a>span{transform:skewX(15deg)}.request-tabs .selected{background:var(--core-accent-soft,#e4f1ec);color:var(--core-accent-text,#146c50);border-color:var(--core-accent-line,#267b5c)}.request-search-dialog{position:fixed;left:0;top:72px;bottom:0;margin:0;width:310px;max-width:calc(100vw - 20px);height:calc(100dvh - 72px);max-height:none;border:0;border-right:1px solid var(--core-line,#dfe5e3);border-radius:0;padding:24px;background:var(--core-accent-soft,#f9fbfa);box-shadow:10px 0 35px #243b321c;overflow-y:auto;color:var(--core-text,#334740)}.request-search-dialog::backdrop{background:#20372d22}.request-search-dialog .section-heading{gap:8px}.request-search-dialog h2{font-size:19px}.request-search-dialog form p{margin:20px 0}.request-search-dialog input{width:100%;min-width:0}.request-search-dialog .form-actions{flex-wrap:wrap}.request-search-open{overflow:hidden}.request-search-toggle{border:1px solid var(--core-line,#d6dde2);width:44px;height:44px}.search-applied{background:var(--core-accent-soft,#e4f1ec);color:var(--core-accent-text,#146c50)}@media(max-width:960px){.request-search-dialog{top:68px;height:calc(100dvh - 68px)}}@media(max-width:600px){.request-tabs>a{margin-right:22px;padding:9px 12px;font-size:11px}.request-search-dialog{padding:20px;width:310px}}

.new-request-dialog{width:680px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:1px solid var(--core-line,#dfe4e8);border-radius:17px;background:var(--core-surface,#fff);color:var(--core-text,#263238);overflow-y:auto;box-shadow:0 18px 70px #162e3926}.new-request-dialog::backdrop{background:#24332e66}.new-request-dialog .section-heading{position:sticky;top:-28px;background:var(--core-surface,#fff);padding:12px 0;z-index:1}.new-request-dialog h2{font-size:23px}.new-request-dialog .management-form{margin-top:10px}.new-request-dialog select{width:100%}.new-request-dialog .flash{margin-bottom:18px}@media(max-width:600px){.new-request-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px}.new-request-dialog .section-heading{top:-20px}.new-request-dialog h2{font-size:21px}}

.request-title-line{display:flex;align-items:center;gap:13px}.request-title-line .request-search-toggle{flex:none;background:#fff9;border-color:var(--core-line,#dce5df);color:var(--core-text-secondary,#587269)}.request-title-line h1{min-width:0}.request-search-dialog{left:12px;top:84px;bottom:12px;height:calc(100dvh - 96px);width:326px;max-width:calc(100vw - 24px);border:1px solid var(--core-line,#ffffffbd);border-radius:20px;padding:18px;background:rgb(246 250 248 / 90%);backdrop-filter:blur(14px);box-shadow:0 12px 45px #213c3026}.request-search-dialog::backdrop{background:#20372d14}.request-search-dialog .section-heading{margin-bottom:15px;padding:0 3px}.request-search-dialog .section-heading h2{font-size:18px}.search-bento-card{padding:16px;margin-bottom:12px;border:1px solid var(--core-line,#dfe8e2);border-radius:15px;background:var(--core-surface,#ffffffcf);box-shadow:0 3px 12px #23473204}.search-bento-card h3{margin:0 0 14px;font-size:12px;font-weight:600;color:var(--core-text,#526e61)}.search-bento-card label{margin:0 0 8px}.search-bento-card input+label{margin-top:14px}.request-search-dialog input{background:var(--core-surface,#ffffffd9)}.request-search-dialog .form-actions{margin-top:18px;gap:9px}.request-search-dialog .form-actions button{flex:1}.request-search-dialog .form-error:empty{display:none}
.request-tabs [data-request-tab=active],.queue-color-active{--queue-color:#69747e;--queue-bg:#eceff1;--queue-selected:#65717c;--queue-border:#c6cdd2}
.request-tabs [data-request-tab=callback],.queue-color-callback{--queue-color:#9c490b;--queue-bg:#fff0df;--queue-selected:#a9510c;--queue-border:#e9b077}
.request-tabs [data-request-tab=overdue],.queue-color-overdue{--queue-color:#861c2b;--queue-bg:#f6e5e8;--queue-selected:#861c2b;--queue-border:#c78e98}
.request-tabs [data-request-tab=deferred],.queue-color-deferred{--queue-color:#76600c;--queue-bg:#fff8ce;--queue-selected:#78600b;--queue-border:#dbcb6c}
.request-tabs [data-request-tab=sent],.queue-color-sent{--queue-color:#246d47;--queue-bg:#e3f3e9;--queue-selected:#246d47;--queue-border:#8ec6a5}
.request-tabs [data-request-tab=closed],.queue-color-closed{--queue-color:#41474d;--queue-bg:#e3e5e7;--queue-selected:#41474d;--queue-border:#a0a6ac}
.request-tabs [data-request-tab=negative],.queue-color-negative{--queue-color:#b12e32;--queue-bg:#ffe7e7;--queue-selected:#b12e32;--queue-border:#eaa0a3}
.request-tabs>a[data-request-tab]{color:var(--core-text,#40525c);background:var(--core-surface,#fff);border-color:var(--core-line,#91b4a6);margin-left:22px;margin-right:6px}.request-tabs>a[data-request-tab]::after{display:none}.request-tabs>a[data-request-tab]::before{content:"";position:absolute;left:-16px;top:2px;width:4px;height:32px;border-radius:3px;background:var(--queue-stripe)}.request-tabs>a[data-request-tab].selected{background:var(--core-accent-soft,#e4f1ec);color:var(--core-accent-text,#146c50);border-color:var(--core-accent-line,#267b5c);box-shadow:none;font-weight:600}
.request-tabs [data-request-tab=active]{--queue-stripe:#c6cdd2}.request-tabs [data-request-tab=callback]{--queue-stripe:#e38a25}.request-tabs [data-request-tab=overdue]{--queue-stripe:#861c2b}.request-tabs [data-request-tab=deferred]{--queue-stripe:#ddbe28}.request-tabs [data-request-tab=sent]{--queue-stripe:#3f9360}.request-tabs [data-request-tab=closed]{--queue-stripe:#41474d}.request-tabs [data-request-tab=negative]{--queue-stripe:#d63d43}.request-tabs>a[data-request-tab]>span{opacity:1}.request-tabs>a[data-request-tab]:hover{filter:brightness(.97)}.request-summary[class*=queue-color-]{border-left:5px solid var(--queue-border)}.request-summary .request-state-chip{color:var(--queue-color);background:var(--queue-bg);border:1px solid var(--queue-border)}
@media(max-width:960px){.request-search-dialog{top:80px;height:calc(100dvh - 92px)}}@media(max-width:600px){.request-title-line{gap:10px}.request-search-dialog{padding:16px}.search-bento-card{padding:14px}}

.new-request-dialog .request-field input,.new-request-dialog .request-field textarea{transition:border-color .15s,box-shadow .15s}.new-request-dialog .request-field .input-valid{border-color:var(--core-accent-line,#78b38e);box-shadow:0 0 0 2px #75b98c18,0 0 9px #75b98c24}.new-request-dialog .request-field .input-invalid,.new-request-dialog .field-has-error input{border-color:var(--core-danger-line,#e3a0a0);box-shadow:0 0 0 2px #e8a1a120,0 0 10px #e8a1a12b}.new-request-dialog .request-field input:focus-visible{outline:none;box-shadow:0 0 0 2px #a6b6bf22}.new-request-dialog .request-field .input-valid:focus-visible{box-shadow:0 0 0 2px #75b98c22,0 0 10px #75b98c32}.new-request-dialog .request-field .input-invalid:focus-visible{box-shadow:0 0 0 2px #e8a1a126,0 0 10px #e8a1a132}.live-field-error{margin:7px 0 0}

.compact-request-list{gap:10px}.request-list-head,.request-summary.compact-request{display:grid;grid-template-columns:minmax(150px,1.05fr) minmax(180px,1.3fr) minmax(150px,1fr) minmax(165px,1fr);gap:18px}.request-list-head{padding:8px 20px 8px 24px;color:var(--core-muted,#7f8f98);background:var(--core-surface-soft,#edf0f2);border-radius:10px;font-size:11px}.request-summary.compact-request{padding:15px 18px;min-height:150px;align-items:start}.compact-request>div{min-width:0}.request-number-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px}.request-number{display:inline-flex;align-items:center;min-height:30px;padding:4px 10px;border-radius:6px;background:#297b51;color:white;font-weight:600}.request-id{font-size:10px}.request-summary.compact-request h2{font-size:13px;line-height:1.35;margin:8px 0}.compact-request p{margin:4px 0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.compact-request p>span{color:var(--core-muted,#94a0a8)}.compact-request .status-chip{font-size:10px;padding:3px 7px}.compact-request .text-link{min-height:30px;font-size:11px}.compact-request h3{display:none}.initial-status-selector{margin:22px 0 16px;padding:0;border:0;min-width:0}.initial-status-selector legend{font-size:12px;color:var(--core-text-secondary,#596b75);margin-bottom:10px}.initial-status-options{display:flex;gap:12px;flex-wrap:wrap}.initial-status-option{position:relative;cursor:pointer;margin:0}.initial-status-option input{position:absolute;width:1px;height:1px;opacity:0}.initial-status-option span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--option-border);border-radius:9px;background:var(--option-bg);color:var(--option-text);font-weight:500;font-size:12px;transition:box-shadow .15s,border-color .15s}.status-option-callback{--option-border:#eab57c;--option-bg:#fff1e1;--option-text:#9b4c0e}.status-option-negative{--option-border:#e5a0a4;--option-bg:#ffe9e9;--option-text:#a92b35}.status-option-refusal{--option-border:#a6afb5;--option-bg:#edf0f1;--option-text:#414a50}.initial-status-option input:checked+span{border:2px solid var(--option-text);padding:9px 15px;box-shadow:0 0 0 3px var(--option-bg),0 0 11px var(--option-border)}.initial-status-option input:focus-visible+span{outline:3px solid #78aece;outline-offset:4px}
@media(max-width:1100px){.request-list-head{display:none}.request-summary.compact-request{grid-template-columns:1fr 1fr;min-height:0;gap:12px 20px}.compact-request h3{display:block;font-size:10px;color:var(--core-muted,#91a0a8);font-weight:500;margin:0 0 5px}.compact-request .request-preview-main{grid-column:1/-1}}@media(max-width:600px){.request-summary.compact-request{padding:14px 16px;grid-template-columns:1fr;gap:12px}.initial-status-options{gap:9px}.initial-status-option span{padding:10px 12px}.initial-status-option input:checked+span{padding:9px 11px}}

.copy-phone{display:inline-flex;align-items:center;min-height:28px;max-width:100%;padding:2px 3px;border:0;border-radius:5px;background:transparent;color:var(--core-accent-text,#315d4d);font-size:inherit;font-weight:400;line-height:inherit;overflow-wrap:anywhere;white-space:normal;text-align:left}.copy-phone:hover{background:var(--core-accent-soft,#eaf2ee)}.copy-phone-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;padding:12px 20px;border:1px solid var(--core-line,#cbded1);border-radius:12px;background:var(--core-accent-soft,#f5fbf7);color:var(--core-accent-text,#296744);box-shadow:0 6px 25px #254c3120;max-width:calc(100vw - 32px);font-size:13px}.status-option-new{--option-border:#c2d0c8;--option-bg:#f0f5f2;--option-text:#496d59}@media(max-width:600px){.copy-phone{min-height:44px}.initial-status-options{gap:9px}}

body:has(.request-screen){height:100dvh;overflow:hidden}.app:has(.request-screen){height:100dvh;min-height:0;grid-template-rows:72px minmax(0,1fr)}.workspace:has(.request-screen){height:100%;min-height:0;padding-top:18px;padding-bottom:18px;overflow:hidden}.workspace:has(.request-screen)>.workspace-footer{display:none}.workspace:has(.request-screen)>.breadcrumb{flex:none}.request-screen-heading{flex:none;gap:14px;margin:16px 0}.request-screen-heading>div:first-child{min-width:0}.request-screen-heading h1{font-size:25px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.request-screen-heading p:not(.eyebrow){margin-top:5px}.request-screen-heading .page-actions{flex:none;flex-wrap:nowrap}.request-edit-button{border-radius:50%;flex:none}.request-view-tabs{display:none}.request-screen{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1.15fr) minmax(0,.85fr);gap:16px}.request-pane{min-width:0;min-height:0;padding:18px;overflow:auto;overscroll-behavior:contain}.request-pane h2{font-size:17px;margin:0 0 12px}.request-pane p{font-size:12px;margin:8px 0;overflow-wrap:anywhere}.request-client-meta{display:flex;flex-wrap:wrap;gap:12px 26px}.request-note:empty{display:none}.request-work-pane{display:flex;flex-direction:column}.request-work-actions{display:grid;gap:10px;grid-template-columns:1fr 1fr}.request-work-actions button{justify-content:flex-start;min-width:0;font-size:12px;padding:10px 12px}.request-handoff-button{margin-top:auto;align-self:stretch}.request-history-pane{grid-column:1/-1;display:flex;flex-direction:column;overflow:hidden}.request-history-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:8px}.request-history-scroll .call-entry{padding:8px 0}.request-history-scroll .call-entry p{margin:0 0 5px}.request-history-scroll .muted{font-size:11px}.request-action-open{overflow:hidden}.request-action-dialog{width:500px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:24px;border:1px solid var(--core-line,#dfe5e1);border-radius:18px;background:var(--core-surface,#fff);color:var(--core-text,#263238);box-shadow:0 18px 70px #162e3926;overflow:auto}.request-action-dialog::backdrop{background:#24332e55}.request-action-dialog .section-heading{flex-wrap:nowrap;align-items:flex-start;margin-bottom:18px;gap:12px}.request-action-dialog .section-heading h2{font-size:20px}.request-action-dialog .icon-button{flex:none}.request-action-dialog .form-actions{flex-wrap:wrap}.request-action-dialog form label{margin-top:14px}.request-action-dialog select{width:100%}.dialog-copy-status{display:block;margin-top:10px}.request-action-dialog .copy-phone{min-height:44px;padding:10px 16px;border:1px solid var(--core-line,#d6dde2)}.request-screen-heading .page-actions>a{white-space:nowrap}
@media(max-width:1100px){.request-work-actions{grid-template-columns:1fr}}
@media(max-width:960px){.app:has(.request-screen){height:100dvh}.workspace:has(.request-screen){height:calc(100dvh - 68px)}}
@media(max-width:767px),(max-height:650px){.workspace:has(.request-screen){padding:12px 15px}.request-screen-heading{flex-direction:row;align-items:center;margin:10px 0}.request-screen-heading h1{font-size:21px}.request-screen-heading .eyebrow{font-size:8px;margin-bottom:3px}.request-screen-heading .page-actions{gap:5px;align-self:center}.request-screen-heading .page-actions>a{padding:9px 11px;font-size:12px}.request-screen-heading p:not(.eyebrow){font-size:11px}.request-view-tabs{display:flex;gap:6px;flex:none;margin-bottom:10px}.request-view-tabs button{flex:1;background:var(--core-surface-soft,#eef2f0);color:var(--core-text-secondary,#668077);border:1px solid var(--core-line,#d8e3dd);min-height:40px;padding:8px 10px;font-size:12px}.request-view-tabs [aria-selected=true]{background:var(--core-surface,#fff);color:var(--core-accent-text,#246b4e);border-color:var(--core-line,#7ca28d);box-shadow:0 2px 8px #274b3310}.request-screen{display:block}.request-pane{display:none;height:100%;padding:16px}.request-pane.active{display:block}.request-work-pane.active{display:flex}.request-history-pane.active{display:flex}.request-work-actions{grid-template-columns:1fr}.request-handoff-button{margin-top:auto}.request-action-dialog{padding:20px}.request-client-meta{gap:8px 20px}.workspace:has(.request-screen)>.breadcrumb{font-size:10px}}@media(max-height:500px){.workspace:has(.request-screen)>.breadcrumb{display:none}.request-screen-heading{margin:0 0 8px}.request-screen-heading p:not(.eyebrow){display:none}.request-work-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.request-work-actions button{justify-content:center}.request-pane h2{margin-bottom:8px}.request-pane p{margin:5px 0}.request-handoff-button{min-height:40px}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.position-systems{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.position-systems [aria-pressed=true]{background:var(--core-accent-soft,#e4f1ec);border-color:var(--core-accent-line,#6a9d84);color:var(--core-accent-text,#246b4e)}.position-editor-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.5fr);gap:18px;margin-top:22px}.position-editor-grid>.panel{min-width:0;background:var(--core-input,#fbfcfc)}.position-page-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--core-line,#e2e8e5);border-radius:10px;margin-top:10px;background:var(--core-surface,white);padding:3px 10px}.position-page-name{background:transparent;color:var(--core-text-secondary,#566d63);text-align:left;justify-content:flex-start;font-size:12px;font-weight:500;padding:9px 6px;flex:1;min-width:0}.position-page-name.selected{color:var(--core-accent-text,#176c4b);font-weight:600}.position-page-row .access-check{flex:none}.position-action-list h3{font-size:15px;font-weight:500}.position-action-options{margin-top:14px}.position-action-options .access-check{border-bottom:1px solid var(--core-line,#edf1ef);padding:8px 0}.position-access-hint{margin-top:20px}.request-id-search{max-width:430px}.request-id-search>div{display:flex;gap:0}.request-id-search input{min-width:0;flex:1;border-radius:9px 0 0 9px}.request-id-search button{flex:none;border-radius:0 9px 9px 0}.request-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin-top:20px}.request-editor-fields .form-field{min-width:0;margin:0}.request-editor-fields select{width:100%}.request-editor-fields textarea{min-height:90px}.request-edit-form>label{max-width:200px}.request-edit-form input[readonly]{background:var(--core-surface-soft,#edf1ef);color:var(--core-muted,#86958d)}.request-edit-dialog{width:850px;max-width:calc(100vw - 24px)}.request-edit-form>button{margin-top:24px}.request-tabs [data-request-tab=trash]{--queue-stripe:#7e8790}.queue-color-trash{--queue-color:#59616a;--queue-bg:#edf0f2;--queue-border:#99a2ab}
@media(max-width:767px){.position-editor-grid{grid-template-columns:1fr}.request-editor-fields{grid-template-columns:1fr}.position-page-list,.position-action-list{padding:16px}.position-systems{gap:8px}.position-systems button{font-size:12px;padding:10px 12px}}

.user-edit-dialog{width:1000px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:26px;border:1px solid var(--core-line,#dfe5e1);border-radius:18px;background:var(--core-surface,#fff);color:var(--core-text,#263238);box-shadow:0 18px 70px #162e3926;overflow:auto}.user-edit-dialog::backdrop{background:#24332e55}.user-edit-dialog>header{position:sticky;top:-26px;background:var(--core-surface,white);padding:12px 0;z-index:2;flex-wrap:nowrap}.user-edit-dialog h2{font-size:20px}.user-edit-launch{border-radius:50%;margin:6px 0}.user-editor-open{overflow:hidden}.user-modal-form .form-field{min-width:0}.user-modal-form .position-editor-grid{grid-template-columns:minmax(180px,1fr) minmax(240px,1.4fr)}.user-modal-form select{width:100%}.user-modal-form .section-panel>h2{font-size:18px}@media(max-width:767px){.user-edit-dialog{padding:18px}.user-edit-dialog>header{top:-18px}.user-modal-form .position-editor-grid{grid-template-columns:1fr}}

/* Shared compact angled tabs: 40px -> 32px; touch target retained on phones. */
.request-tabs>a{min-height:32px;height:32px;padding:5px 16px}
.request-tabs>a[data-request-tab]::before,.request-tabs>a::after{height:26px;top:2px}
.work-settings-tabs [data-request-tab=products]{--queue-stripe:#3f9360}
.product-editor-grid{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.8fr);gap:20px}.product-editor-grid>.panel{min-width:0}.product-choice{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:18px;border:1px solid var(--core-line,#dfe7e3);border-radius:12px;color:var(--core-text,#40565a);background:var(--core-surface,#fff);overflow-wrap:anywhere;min-height:70px}.product-choice:hover,.product-choice.selected{background:var(--core-accent-soft,#e9f3ee);border-color:var(--core-accent-line,#73a58b)}.product-choice span{font-size:12px;color:var(--core-text-secondary,#73847c)}.product-editor input{width:100%}.product-dialog{width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--core-line,#dfe7e3);border-radius:18px;padding:24px;color:var(--core-text,#30454a);background:var(--core-surface,#fff)}.product-dialog::backdrop{background:#243d3440;backdrop-filter:blur(3px)}.product-dialog input{width:100%}.product-dialog .form-actions{flex-wrap:wrap}.product-modal-open{overflow:hidden}.product-dialog .helptext{display:block;margin-top:8px;color:var(--core-text-secondary,#7d8c87);font-size:12px}.product-editor .helptext{display:block;color:var(--core-text-secondary,#7d8c87);font-size:12px}.roles-table tr[data-role-url]{cursor:pointer}.roles-table tr[data-role-url]:hover{background:var(--core-accent-soft,#f0f7f3)}.role-row-link{color:inherit;overflow-wrap:anywhere}.role-switch{display:flex;align-items:center;gap:10px;position:relative;cursor:pointer;min-height:44px;margin:0;white-space:nowrap;font-size:12px}.role-switch input{position:absolute;opacity:0;width:42px;height:24px;margin:0}.switch-track{width:42px;height:24px;border-radius:20px;background:var(--core-surface-soft,#b6bdb9);box-shadow:inset 0 1px 3px #0002;position:relative;flex:none}.switch-track:after{content:"";position:absolute;width:20px;height:20px;background:linear-gradient(var(--core-surface,#fff),var(--core-surface-soft,#e3e8e5));border-radius:50%;left:2px;top:2px;box-shadow:0 1px 3px #0003;transition:transform .15s}.role-switch input:checked+.switch-track{background:#20835e}.role-switch input:checked+.switch-track:after{transform:translateX(18px)}.role-switch input:focus-visible+.switch-track{outline:3px solid #9dc9b6;outline-offset:3px}.role-switch input:disabled~span{opacity:.65}.roles-table td:first-child{width:60px}.roles-table td:last-child{width:180px}
@media(max-width:767px){.product-editor-grid{grid-template-columns:1fr}.product-dialog{padding:20px}.roles-table{min-width:0;width:100%}.roles-table td,.roles-table th{padding:10px 6px}.roles-table td:first-child{width:28px}.roles-table td:last-child{width:95px}.role-switch{flex-wrap:wrap;gap:4px;white-space:normal}.role-switch [data-role-state]{width:100%;font-size:11px}.request-tabs>a{min-height:32px;height:32px;padding:5px 12px}.request-tabs>a:before{pointer-events:none}.request-tabs>a{isolation:isolate}.request-tabs>a:after{display:block;content:"";position:absolute;inset:-6px 0;height:auto;width:auto;background:transparent}.request-tabs>a[data-request-tab]:after{display:block}}

.new-request-dialog .request-client-fields{display:grid;grid-template-columns:minmax(0,1fr) 156px;gap:12px;align-items:start}.new-request-dialog .request-client-fields>.form-field{min-width:0}.new-request-dialog .request-client-fields input{width:100%;min-width:0}.new-request-dialog .request-field select{width:100%}.request-create-actions{display:flex;flex-wrap:wrap;gap:12px}.request-handoff-form{margin-top:auto;display:flex}.request-handoff-form button{width:100%}.retail-request-orders{margin-bottom:15px}.retail-request-orders .request-list{margin-top:0}.new-request-dialog .request-field select.input-invalid{border-color:var(--core-danger-line,#e3a0a0);box-shadow:0 0 0 2px #e8a1a120,0 0 10px #e8a1a12b}.new-request-dialog .request-client-fields label{white-space:nowrap}

.request-description-preview{font-size:11px!important;color:var(--core-muted,#82938e);margin:6px 0!important;overflow-wrap:anywhere}.request-handoff-form .request-handoff-button{margin-top:0}.new-request-dialog .request-client-fields .form-field{margin:0}.new-request-dialog .request-client-fields{margin:16px 0}

.product-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-list-heading h2{margin:0;min-width:0}.product-add-button{flex:none;width:44px;height:44px;min-height:44px;background:#177655;color:#fff;border-radius:10px}.product-add-button:hover{background:#126447}

.product-group-field{display:flex;gap:10px;align-items:center}.product-group-field select{flex:1;min-width:0;width:100%}.product-group-field .product-add-button{flex:0 0 44px}.product-dialog .form-field{margin:18px 0}.product-dialog textarea,.product-editor textarea{width:100%;min-width:0}.product-dialog [data-group-errors]:empty{display:none}.work-settings-tabs [data-request-tab=groups]{--queue-stripe:#3f9360}.product-list-heading h2{overflow-wrap:anywhere}

.product-group-field select,.two-column-select-trigger{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23273841' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 12px}

.two-column-select{position:relative;min-width:0}.two-column-select-trigger{width:100%;max-width:100%;min-height:44px;justify-content:flex-start;border:1px solid var(--core-line,#cfd8de);border-radius:8px;background-color:var(--core-input,#fbfcfd);color:var(--core-text,#273841);font:inherit;font-weight:400;padding-top:10px;padding-bottom:10px;padding-left:12px;text-align:left}.two-column-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.two-column-select-popup{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;overflow:auto;overscroll-behavior:contain;border:1px solid var(--core-line,#cfd8de);border-radius:10px;background:var(--core-surface,#fff);box-shadow:0 8px 24px #21334220}.two-column-select-heading,.two-column-select-option{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;padding:10px 12px;align-items:center}.two-column-select-heading{position:sticky;top:0;z-index:1;background:var(--core-accent-soft,#f1f5f3);color:var(--core-text-secondary,#6e8078);font-size:11px;font-weight:600;border-bottom:1px solid var(--core-line,#dfe7e3)}.two-column-select-heading span,.two-column-select-option span{min-width:0;overflow-wrap:anywhere}.two-column-select-option{min-height:44px;font-size:12px;cursor:pointer;color:var(--core-text,#273841);border-bottom:1px solid var(--core-line,#edf1ef)}.two-column-select-option:last-child{border-bottom:0}.two-column-select-option.active{background:var(--core-accent-soft,#edf5f1)}.two-column-select-option[aria-selected=true]{background:var(--core-accent-soft,#e4f1ec);color:var(--core-accent-text,#146c50);font-weight:600}.two-column-select-option>span+span{border-left:1px solid var(--core-line,#e2e9e5);padding-left:12px;color:var(--core-text-secondary,#6e8078)}.two-column-select-empty{padding:10px 12px;margin:0}.new-request-dialog .two-column-select-trigger.input-invalid{border-color:var(--core-danger-line,#e3a0a0);box-shadow:0 0 0 2px #e8a1a120,0 0 10px #e8a1a12b}

.new-request-dialog{padding-top:8.4px}.new-request-dialog .section-heading{top:-8.4px;padding-top:3.6px}@media(max-width:600px){.new-request-dialog{padding-top:6px}.new-request-dialog .section-heading{top:-6px}}

:is(.new-request-dialog,.product-dialog)::-webkit-scrollbar{width:8px;background:transparent}:is(.new-request-dialog,.product-dialog)::-webkit-scrollbar-track{background:transparent;margin-block:17px}:is(.new-request-dialog,.product-dialog)::-webkit-scrollbar-thumb{background:#a4b1aa;border:2px solid transparent;background-clip:padding-box;border-radius:999px}:is(.new-request-dialog,.product-dialog)::-webkit-scrollbar-thumb:hover{background-color:#84968b}:is(.new-request-dialog,.product-dialog)::-webkit-scrollbar-button{display:none;width:0;height:0}:is(.new-request-dialog,.product-dialog)::-webkit-scrollbar-corner{background:transparent}@supports not selector(::-webkit-scrollbar){.new-request-dialog{scrollbar-width:thin;scrollbar-color:#a4b1aa transparent}}

.metric-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;column-gap:12px;row-gap:4px;align-items:center;align-content:start;min-height:88px;padding:18px;text-align:left;font-weight:400;width:100%;color:var(--core-text,#263238)}.metric-card .workspace-icon{width:44px;height:44px;border-radius:12px;margin:0}.metric-card .workspace-icon .icon{width:25px;height:25px}.metric-card .metric-label{min-width:0;color:var(--core-text-secondary,#627780);font-size:13px;line-height:1.4;overflow-wrap:anywhere}.metric-card>strong{font-size:28px;font-weight:600;letter-spacing:-1px;line-height:1.2;white-space:nowrap;align-self:center}.metric-card .metric-note{grid-column:2/-1;font-size:11px;line-height:1.4;margin:0}.metric-link{cursor:pointer;transition:background-color .15s,border-color .15s}.metric-link:hover{background:var(--core-accent-soft,#f4f9f6);border-color:var(--core-accent-line,#a4c4b3);filter:none}.metric-link:focus-visible{outline:3px solid #78aece;outline-offset:3px}@media(max-width:767px){.metric-card{padding:16px;min-height:80px;column-gap:10px}.metric-card .metric-label{font-size:12px}.metric-card>strong{font-size:26px}}

.employee-workspace{align-items:start}.employee-list-items{max-height:70dvh;overflow-y:auto;overscroll-behavior:contain}.employee-card{gap:6px}.employee-card .employee-surname{font-size:14px;color:var(--core-text,#30484b)}.employee-card .employee-given-name{font-size:13px;color:var(--core-text,#40565a)}.employee-card .status-chip{align-self:flex-start;display:inline-flex}.employee-editor{container-type:inline-size}.employee-editor .request-editor-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.employee-editor .position-editor-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.employee-editor .form-actions{flex-wrap:wrap}.employee-editor .position-systems button{white-space:normal}.employee-editor .access-check{overflow-wrap:anywhere}.employee-editor select{max-width:100%;width:100%}@container(max-width:600px){.employee-editor .position-editor-grid{grid-template-columns:1fr}.employee-editor .position-systems{gap:8px}}@media(max-width:767px){.employee-list-items{max-height:45dvh}}

.employee-editor input[type=checkbox]{width:18px;min-width:18px}.employee-editor .access-check>span{min-width:0}

.employee-control{width:70%;min-width:0}.employee-control.employee-checkbox-control{width:auto}.employee-control .password-field{margin-top:0}.employee-control .password-field input{padding-right:48px!important}.employee-control .password-toggle{height:42px;min-height:42px}.employee-create-dialog{width:760px;container-type:inline-size}.employee-create-dialog .request-editor-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.employee-create-dialog .form-field{min-width:0}.employee-create-dialog input[type=checkbox]{width:18px;min-width:18px}.employee-create-dialog .role-switch input{width:42px;min-width:42px}.employee-password-mode{margin:8px 0;font-size:11px;white-space:normal}.employee-create-dialog .form-actions{margin-top:20px}.employee-modal-open{overflow:hidden}.employee-credentials-dialog{width:480px}.employee-credentials-dialog input{margin:6px 0 18px;max-width:100%}.employee-credentials-dialog .section-heading{flex-wrap:nowrap}.employee-credentials-dialog .icon-button{flex:none}@container(max-width:600px){.employee-control{width:100%}}@media(max-width:767px){.employee-control{width:100%}}

.employee-create-dialog>.section-heading{position:sticky;top:-24px;z-index:2;background:var(--core-surface,#fff);padding-block:8px}@media(max-width:767px){.employee-create-dialog>.section-heading{top:-20px}}

.employee-create-dialog .employee-fields .form-field{margin:0}

/* Product checkbox controls retain their own width inside full-width forms. */
:is(.product-dialog,.product-editor) .access-check input[type=checkbox]{width:18px;min-width:18px;flex:0 0 18px;min-height:18px;margin:0}
:is(.product-dialog,.product-editor) .access-check>span{min-width:0;flex:1}

.product-stock-picker{border:1px solid var(--core-line,#d6dde2);border-radius:9px;background:var(--core-surface,#fff);min-width:0}
.product-stock-picker>summary{min-height:44px;padding:11px 14px;cursor:pointer;overflow-wrap:anywhere}
.product-stock-options{max-height:220px;overflow-y:auto;border-top:1px solid var(--core-line,#d6dde2);padding:6px 12px}
.product-stock-options label{display:flex!important;align-items:center;gap:10px;min-height:44px;margin:0!important;overflow-wrap:anywhere}
:is(.product-dialog,.product-editor) .product-stock-options input[type=checkbox]{width:18px;min-width:18px;flex:0 0 18px;margin:0}
.product-stock-options>div>div+div{border-top:1px solid var(--core-line,#edf1ef)}

/* Existing core switch, with a label reflecting the product type. */
.product-type-switch{flex-wrap:nowrap;gap:10px}
:is(.product-dialog,.product-editor) .product-type-switch input{width:42px;min-width:42px}
.product-type-switch .product-type-service{display:none}
.product-type-switch input:checked~.product-type-goods{display:none}
.product-type-switch input:checked~.product-type-service{display:inline}

:is(.product-dialog,.product-editor) input.product-cost-warning{border-color:var(--core-danger-line,#e3a0a0);color:var(--core-danger-text,#a04b4b);box-shadow:0 0 0 2px #e8a1a120,0 0 10px #e8a1a12b}

.approval-input-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.approval-input-row>.form-field{min-width:0}.approval-mode>div{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.approval-mode label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0!important}
.product-dialog .approval-mode input[type=radio]{width:18px;min-width:18px;margin:0;flex:none}
.approval-editor input:disabled,.approval-results input{background:var(--core-surface-soft,#f1f4f3);color:var(--core-text-secondary,#6b7c74)}
.approval-total{margin:8px 0 16px}.approval-results{border-top:1px solid var(--core-line,#dfe7e3);margin-top:10px}
@media(max-width:430px){.approval-input-row{gap:10px}.approval-input-row label{font-size:11px}.approval-editor input{padding-inline:9px;min-width:0}}

#ops-approval>.section-heading{flex-wrap:nowrap;align-items:flex-start}#ops-approval>.section-heading h2{min-width:0}#ops-approval>.section-heading .icon-button{flex:0 0 44px}.approval-mode input[type=radio]{accent-color:var(--core-accent-text,#167553)}

.compact-request .request-preview-main .order-price-line{margin:6px 0 8px;line-height:1.3}.request-preview-main .order-price-line strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.request-preview-main .order-price-line>span{font-size:12px}

.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin-bottom:10px}.sidebar-heading .sidebar-label{padding:0 0 0 13px;min-width:0}.sidebar-heading .sidebar-menu-toggle{flex:0 0 44px;margin-left:auto}.topbar-menu-toggle{display:none}@media(max-width:960px){.topbar-menu-toggle{display:inline-flex}}

/* Order remarks and comments reuse the core typography and surfaces. */
.order-comments-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;margin-top:8px;color:var(--core-accent-text,#167553);text-decoration:none}.order-comments-link .icon{width:19px;height:19px}.order-comments-link.has-reservation-alert{color:var(--core-danger-text,#cf3345)}
.order-comment-list{margin:10px 0 22px;max-height:38dvh;overflow:auto}.order-comment{display:grid;grid-template-columns:minmax(100px,.35fr) minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid var(--core-line,#dfe7e3)}.order-comment-author{display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.order-comment-author time{font-size:11px;color:var(--core-muted,#91a0aa)}.order-comment-text{white-space:normal;overflow-wrap:anywhere}.order-notes h3{font-size:13px;margin:12px 0 5px}.order-notes p{font-size:12px}
@media(max-width:430px){.order-comment{grid-template-columns:minmax(80px,.35fr) minmax(0,1fr);gap:10px}.order-comment-author{font-size:12px}}

.employee-search-form{margin:14px 0}.employee-search-form input[type=search]{width:100%;min-width:0}.employee-search-status:empty{display:none}

.employee-list .employee-card {
    position: relative;
    min-height: 84px;
    margin-top: 8px;
    padding: 8px 12px;
    gap: 3px;
    line-height: 1.3;
}
.employee-card .employee-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 7px;
}
.employee-card .employee-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3px 6px;
}

.request-client-fields[data-customer-lookup] {
    grid-template-columns: minmax(0, 1fr) auto minmax(128px, 156px);
    gap: 8px;
}
.request-customer-separator { align-self: center; font-size: 12px; }
[data-customer-results] { display: grid; gap: 6px; margin-bottom: 12px; }
[data-customer-status]:empty { display: none; }
.request-customer-result {
    justify-content: flex-start;
    text-align: left;
    overflow-wrap: anywhere;
}
