:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif;color:#17171a;background:#f5f5f7;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f5f5f7;--panel: rgba(255, 255, 255, .88);--panel-solid: #ffffff;--sidebar: rgba(249, 249, 251, .92);--field: #f4f4f6;--text: #17171a;--muted: #6e6e73;--faint: #98989d;--line: rgba(18, 18, 23, .1);--blue: #087bf5;--blue-soft: rgba(8, 123, 245, .11);--shadow: 0 18px 50px rgba(24, 24, 28, .08);--focus: 0 0 0 4px rgba(8, 123, 245, .16)}:root[data-theme=dark]{color:#f5f5f7;background:#09090b;--bg: #09090b;--panel: rgba(30, 30, 33, .88);--panel-solid: #1b1b1e;--sidebar: rgba(22, 22, 25, .94);--field: #242428;--text: #f5f5f7;--muted: #a1a1a7;--faint: #77777d;--line: rgba(255, 255, 255, .1);--blue: #2997ff;--blue-soft: rgba(41, 151, 255, .16);--shadow: 0 22px 60px rgba(0, 0, 0, .34);--focus: 0 0 0 4px rgba(41, 151, 255, .2)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{color:inherit}.boot-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}.brand-mark{width:46px;height:46px;border-radius:14px;background:var(--panel-solid);border:1px solid var(--line);display:inline-grid;place-items:center;box-shadow:0 8px 24px #0d3e8d1f;flex:none}.brand-mark svg{width:34px;height:34px;fill:#083b92}.brand-mark .mark-cut{fill:var(--panel-solid)}.brand-lockup{display:flex;align-items:center;gap:13px}.brand-lockup div{display:grid;gap:2px}.brand-lockup strong{font-size:18px;letter-spacing:-.02em}.brand-lockup span:not(.brand-mark){color:var(--muted);font-size:12px}.login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(380px,.92fr) 1.08fr}.login-story{background:radial-gradient(circle at 12% 82%,rgba(39,130,246,.36),transparent 34%),radial-gradient(circle at 88% 12%,rgba(67,226,190,.22),transparent 31%),linear-gradient(145deg,#071733,#082653 55%,#073d79);color:#fff;padding:clamp(30px,5vw,70px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:460px;aspect-ratio:1;border:1px solid rgba(255,255,255,.12);border-radius:42%;right:-230px;top:26%;transform:rotate(30deg);box-shadow:0 0 0 56px #ffffff06,0 0 0 112px #ffffff05}.login-story .brand-lockup{position:relative;z-index:1}.login-story .brand-lockup strong{color:#fff}.login-story .brand-lockup span:not(.brand-mark){color:#ffffffad}.story-copy{max-width:580px;position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--blue);text-transform:uppercase}.login-story .eyebrow{color:#70b8ff}.story-copy h1{font-size:clamp(44px,6vw,82px);line-height:.98;margin:18px 0 22px;letter-spacing:-.055em}.story-copy p{max-width:500px;color:#ffffffbf;font-size:18px;line-height:1.7}.privacy-note{position:relative;z-index:1;color:#ffffff94;font-size:13px;line-height:1.6;max-width:520px}.login-panel{display:grid;place-items:center;padding:36px;position:relative;background:var(--bg)}.login-tools{position:absolute;right:32px;top:28px;display:flex;gap:8px}.quiet-button,.secondary-button{border:1px solid var(--line);background:var(--panel);border-radius:999px;min-width:40px;height:40px;padding:0 14px;cursor:pointer;transition:.18s ease}.quiet-button:hover,.secondary-button:hover{background:var(--field);transform:translateY(-1px)}.language-button{font-size:13px;font-weight:650}.login-card{width:min(440px,100%);display:grid;gap:18px}.login-card h2{margin:0;font-size:38px;letter-spacing:-.045em}.login-card>p{color:var(--muted);line-height:1.6;margin:-7px 0 12px}.login-card label{display:grid;gap:8px;font-size:13px;font-weight:650}.login-card input{height:52px;border:1px solid var(--line);border-radius:14px;padding:0 15px;color:var(--text);background:var(--panel-solid);outline:none;transition:.18s ease}.login-card input:focus{border-color:var(--blue);box-shadow:var(--focus)}.primary-button{height:52px;border:0;border-radius:15px;color:#fff;background:var(--blue);font-weight:700;cursor:pointer;box-shadow:0 10px 24px #087bf540;transition:.18s ease}.primary-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.04)}.primary-button:disabled{opacity:.55;cursor:wait}.form-error{color:#ff453a!important;font-size:13px;margin:0!important}.mobile-brand{display:none}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:var(--sidebar);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);border-right:1px solid var(--line);padding:24px 16px 18px;display:flex;flex-direction:column;overflow-y:auto}.sidebar-brand{padding:0 8px 24px}.sidebar nav{display:grid;gap:18px}.nav-group{display:grid;gap:4px}.nav-heading{color:var(--faint);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;padding:0 11px 6px}.nav-group button,.signout-button{appearance:none;border:0;background:transparent;width:100%;min-height:42px;border-radius:11px;padding:8px 11px;display:flex;gap:11px;align-items:center;color:var(--muted);cursor:pointer;text-align:left;transition:.16s ease}.nav-group button:hover,.signout-button:hover{color:var(--text);background:var(--field)}.nav-group button.active{color:var(--blue);background:var(--blue-soft);font-weight:700}.nav-group button i{width:19px;text-align:center;font-style:normal;color:currentColor}.signout-button{margin-top:auto}.workspace{min-width:0}.topbar{height:72px;padding:0 30px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:color-mix(in srgb,var(--bg) 82%,transparent);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);position:sticky;top:0;z-index:10}.topbar>div:first-child{display:flex;align-items:center;gap:10px}.topbar-actions{display:flex;align-items:center;gap:8px}.mobile-mark{display:none}.account-chip{display:flex;align-items:center;gap:10px;margin-left:7px;padding:4px 7px 4px 4px;border:1px solid transparent;border-radius:999px;color:var(--text);background:transparent;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease}.account-chip:hover{border-color:var(--line);background:var(--field)}.account-chip:focus-visible{outline:0;border-color:var(--blue);box-shadow:var(--focus)}.account-chip>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:750;background:linear-gradient(145deg,#ffb22a,#ff8300);box-shadow:0 7px 17px #ff84003d}.account-chip div{display:grid;gap:2px}.account-chip strong{font-size:13px}.account-chip small{color:var(--muted);font-size:11px}.content{padding:42px clamp(24px,4vw,58px) 70px;max-width:1740px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.page-heading h1{font-size:clamp(34px,4vw,52px);letter-spacing:-.052em;margin:8px 0;line-height:1}.page-heading p{color:var(--muted);margin:0;font-size:15px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric-card{min-height:148px;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:var(--shadow);position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}.metric-card>span{color:var(--muted);font-size:13px;margin-bottom:9px}.metric-card strong{font-size:34px;letter-spacing:-.04em}.metric-accent{position:absolute;width:74px;height:74px;border-radius:50%;right:-23px;top:-23px;opacity:.16}.metric-accent.blue{background:#1687ff}.metric-accent.amber{background:#ff9f0a}.metric-accent.green{background:#30d158}.metric-accent.purple{background:#bf5af2}.metric-accent.cyan{background:#64d2ff}.metric-accent.indigo{background:#5e5ce6}.insight-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px;margin-top:18px}.feature-card{min-height:180px;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--panel);display:flex;align-items:flex-start;gap:16px}.feature-primary{background:linear-gradient(140deg,rgba(8,123,245,.13),var(--panel));border-color:#087bf538}.feature-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:var(--blue);background:var(--blue-soft);font-weight:800;flex:none}.feature-card h3{font-size:17px;margin:5px 0 10px}.feature-card p{color:var(--muted);line-height:1.65;font-size:13px;margin:0}.state-card{border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:var(--shadow);padding:48px;text-align:center;color:var(--muted)}.secondary-button{color:var(--text);margin-top:10px}.migration-card{min-height:360px;display:grid;place-content:center;justify-items:center}.migration-card>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:var(--blue);background:var(--blue-soft);font-size:22px}.migration-card h2{color:var(--text);margin:16px 0 3px}.business-card{border:1px solid var(--line);border-radius:24px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}.filter-bar{min-height:72px;padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filter-bar select,.filter-bar>input,.search-field{height:42px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:var(--field);outline:none}.filter-bar select{min-width:145px;padding:0 34px 0 12px}.filter-bar>input{padding:0 12px}.filter-bar select:focus,.filter-bar>input:focus,.search-field:focus-within{border-color:var(--blue);box-shadow:var(--focus)}.search-field{width:min(340px,100%);display:flex;align-items:center;gap:8px;padding:0 12px}.search-field span{color:var(--faint);font-size:18px}.search-field input{min-width:0;width:100%;border:0;color:var(--text);background:transparent;outline:0}.capacity-filter{width:180px}.push-right{margin-left:auto}.primary-button.compact,.secondary-button.compact{height:42px;min-height:42px;width:auto;padding:0 17px;border-radius:12px;margin:0;white-space:nowrap}.text-button{border:0;background:transparent;color:var(--blue);font-weight:650;cursor:pointer;padding:10px;border-radius:10px}.text-button:hover{background:var(--blue-soft)}.data-table{padding:0 14px}.table-head,.table-row{display:grid;column-gap:18px;align-items:center}.table-head{min-height:48px;padding:0 12px;color:var(--faint);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.045em;border-bottom:1px solid var(--line)}.table-row{min-height:100px;padding:13px 12px;border-bottom:1px solid var(--line)}.table-row:last-child{border-bottom:0}.table-row>div{min-width:0;display:grid;align-content:center;gap:5px}.table-row strong{font-size:13px;line-height:1.35}.table-row small{display:block;color:var(--muted);font-size:11px;line-height:1.35}.orders-table .table-head,.orders-table .table-row{grid-template-columns:minmax(142px,1fr) minmax(150px,1.1fr) minmax(210px,1.5fr) minmax(150px,1.08fr) minmax(140px,1fr) 128px}.employees-table .table-head,.employees-table .table-row{grid-template-columns:minmax(160px,1.2fr) minmax(120px,.8fr) minmax(130px,.9fr) minmax(130px,.8fr) minmax(115px,.75fr) 90px}.devices-table .table-head,.devices-table .table-row{grid-template-columns:minmax(130px,1fr) minmax(120px,.8fr) minmax(130px,.85fr) minmax(130px,.9fr) minmax(160px,1.25fr) 90px}.primary-cell{align-self:stretch}.record-link{justify-self:start;border:0;background:transparent;color:var(--blue);font-size:14px;font-weight:750;padding:0;cursor:pointer}.truncate-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.progress-cell>div{display:flex;align-items:baseline;gap:4px}.progress-cell>div span{color:var(--muted);font-size:11px}.progress-cell i{height:6px;overflow:hidden;border-radius:999px;background:var(--field)}.progress-cell i b{display:block;height:100%;border-radius:inherit;background:var(--blue)}.status-pill{justify-self:start;display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:var(--field);color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap}.status-pill.pending,.status-pill.paused,.status-pill.training,.status-pill.maintenance{color:#9b6200;background:#ff9f0a24}.status-pill.assigned,.status-pill.in_progress,.status-pill.formal{color:var(--blue);background:var(--blue-soft)}.status-pill.completed,.status-pill.available,.status-pill.active{color:#12823e;background:#30d15824}.status-pill.cancelled,.status-pill.disputed,.status-pill.lost,.status-pill.terminated{color:#d52d25;background:#ff453a21}.status-pill.in_use,.status-pill.intern{color:#7046c8;background:#af52de24}.status-pill.retired,.status-pill.suspended,.status-pill.legacy_only{color:var(--muted);background:var(--field)}.chip-list{display:flex!important;flex-direction:row;flex-wrap:wrap;justify-content:start;align-content:center!important}.mini-chip{display:inline-flex;padding:4px 8px;background:var(--field);border-radius:8px;color:var(--text);font-size:11px}.device-chip{color:#7046c8;background:#af52de1f}.row-actions{display:flex!important;flex-direction:row;gap:5px!important;justify-content:flex-end}.row-actions button{height:34px;padding:0 10px;border:0;border-radius:10px;background:var(--field);cursor:pointer;font-size:12px;white-space:nowrap}.row-actions button:hover:not(:disabled){background:var(--blue-soft);color:var(--blue)}.row-actions button:disabled{opacity:.5;cursor:default}.row-actions .more-button{padding:0 8px}.pagination{min-height:60px;padding:10px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.pagination div{display:flex;gap:7px}.pagination button{min-height:34px;padding:0 13px;border:1px solid var(--line);background:var(--panel-solid);border-radius:10px;cursor:pointer}.pagination button:disabled{opacity:.4;cursor:default}.empty-state{min-height:310px;padding:34px;display:grid;place-content:center;justify-items:center;text-align:center}.empty-state>span{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:var(--blue);background:var(--blue-soft);font-size:23px;margin-bottom:14px}.empty-state strong{font-size:16px}.empty-state p{color:var(--muted);font-size:13px;margin:6px 0 0}.loading-rows{padding:12px 26px 24px;display:grid;gap:14px}.loading-rows i{height:68px;border-radius:14px;background:linear-gradient(90deg,var(--field),color-mix(in srgb,var(--field) 55%,var(--panel-solid)),var(--field));background-size:240% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{to{background-position:-240% 0}}.compact-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.compact-stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-stats.six{grid-template-columns:repeat(6,minmax(0,1fr))}.compact-stats>div{min-height:78px;border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:14px 18px;display:grid;align-content:center;gap:4px;box-shadow:0 10px 28px #18181c0b}.compact-stats span{color:var(--muted);font-size:11px}.compact-stats strong{font-size:24px;letter-spacing:-.04em}.form-card{padding:28px}.step-banner{border-radius:18px;background:linear-gradient(120deg,var(--blue-soft),transparent);padding:18px;margin-bottom:26px;display:flex;gap:13px;align-items:center}.step-banner>span,.form-section-title>span{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:var(--blue);color:#fff;font-size:13px;font-weight:800;flex:none}.step-banner div,.form-section-title div{display:grid;gap:4px}.step-banner p,.form-section-title small{margin:0;color:var(--muted);font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-field{min-width:0;display:grid;align-content:start;gap:7px}.form-field>span{font-size:12px;font-weight:700;color:var(--muted)}.form-field input,.form-field select,.form-field textarea,.compound-input{width:100%;min-height:46px;border:1px solid var(--line);border-radius:12px;padding:0 13px;color:var(--text);background:var(--panel-solid);outline:0}.form-field textarea{min-height:86px;resize:vertical;padding-top:12px;line-height:1.5}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--blue);box-shadow:var(--focus)}.form-field small{color:var(--faint);font-size:11px}.form-field.wide,.form-grid>.wide{grid-column:1 / -1}.compound-input{display:grid;grid-template-columns:1fr 92px;padding:0;overflow:hidden}.compound-input input,.compound-input select{min-width:0;border:0;background:transparent;padding:0 12px;outline:0}.compound-input select{border-left:1px solid var(--line)}.compound-input.custom-unit-input>input:last-child{border-left:1px solid var(--line);text-transform:uppercase}.form-section-title{grid-column:1 / -1;display:flex;align-items:center;gap:12px;padding:15px 0 2px;border-top:1px solid var(--line);margin-top:4px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding-top:8px}.submit-wide{min-width:220px;padding:0 24px}.modal-backdrop{position:fixed;inset:0;z-index:50;padding:24px;background:#00000061;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center}.modal-card{width:min(680px,100%);max-height:min(850px,calc(100vh - 48px));overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--panel-solid);box-shadow:0 30px 90px #00000047;display:grid;grid-template-rows:auto minmax(0,1fr)}.modal-card.wide{width:min(900px,100%)}.modal-card>header{min-height:82px;padding:19px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-card h2{margin:0;font-size:21px;letter-spacing:-.035em}.modal-card header p{margin:5px 0 0;color:var(--muted);font-size:12px}.icon-button{width:38px;height:38px;border:0;border-radius:50%;background:var(--field);color:var(--muted);font-size:24px;cursor:pointer}.modal-body{padding:22px;overflow-y:auto}.detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.detail-metrics>div{min-height:90px;border-radius:16px;background:var(--field);padding:15px;display:grid;align-content:center;gap:7px}.detail-metrics span{color:var(--muted);font-size:11px}.detail-metrics strong{font-size:20px;letter-spacing:-.03em}.modal-action-strip{display:flex;gap:7px;flex-wrap:wrap;padding:17px 0;border-bottom:1px solid var(--line)}.modal-action-strip button{min-height:38px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel-solid);cursor:pointer}.modal-action-strip button:hover{border-color:color-mix(in srgb,var(--blue),transparent 55%);color:var(--blue);background:var(--blue-soft)}.detail-list{display:grid;grid-template-columns:1fr 1fr;margin:0}.detail-list>div{min-width:0;padding:14px 4px;border-bottom:1px solid var(--line)}.detail-list dt{color:var(--muted);font-size:11px;margin-bottom:6px}.detail-list dd{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.detail-list .wide{grid-column:1 / -1}.assignment-list{display:flex;flex-wrap:wrap;gap:6px}.assignment-list>span{display:inline-flex;align-items:center;gap:5px;padding:4px 5px 4px 9px;border-radius:999px;background:var(--field);font-size:11px}.assignment-list button{width:20px;height:20px;border:0;border-radius:50%;color:var(--muted);background:color-mix(in srgb,var(--faint) 14%,transparent);cursor:pointer}.production-section{margin-top:19px;border-top:1px solid var(--line);padding-top:18px}.production-section h3{font-size:15px;margin:0 0 10px}.production-section .loading-rows{padding:8px 0}.production-list{display:grid}.production-list article{min-height:70px;padding:11px 2px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}.production-list article>div:first-child{min-width:0;display:grid;gap:4px}.production-list strong{font-size:12px}.production-list small{color:var(--muted);font-size:11px}.review-actions{display:flex;gap:5px}.review-actions button{height:32px;padding:0 10px;border:0;border-radius:9px;background:var(--field);cursor:pointer;font-size:11px}.review-actions button:first-child{color:#12823e;background:#30d15821}.review-actions button:last-child{color:#d52d25;background:#ff453a1f}.section-empty,.picker-empty{color:var(--muted);font-size:12px;padding:20px;text-align:center}.staff-picker{border:1px solid var(--line);border-radius:16px;overflow:hidden}.picker-heading{min-height:42px;padding:0 13px;border-bottom:1px solid var(--line);display:flex;align-items:center}.picker-heading strong{font-size:12px}.picker-grid{max-height:280px;overflow-y:auto;padding:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.picker-grid>button{min-width:0;min-height:90px;border:1px solid var(--line);border-radius:13px;padding:10px 10px 9px 34px;text-align:left;color:var(--text);background:var(--panel-solid);cursor:pointer;position:relative;display:grid;align-content:center;gap:3px}.picker-grid>button:hover{border-color:color-mix(in srgb,var(--blue),transparent 45%)}.picker-grid>button.selected{border-color:var(--blue);background:var(--blue-soft)}.picker-grid strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.picker-grid small,.picker-grid p{color:var(--muted);font-size:10px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.picker-check{position:absolute;left:10px;top:11px;width:18px;height:18px;border-radius:6px;display:grid;place-items:center;color:var(--faint);background:var(--field);font-size:10px}.picker-grid button.selected .picker-check{color:#fff;background:var(--blue)}.accounts-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.accounts-table .table-head,.accounts-table .table-row{grid-template-columns:minmax(200px,1.35fr) minmax(150px,.9fr) minmax(180px,1.05fr) minmax(130px,.72fr) 104px minmax(190px,1fr)}.account-badge{display:inline-flex;margin-left:6px;padding:3px 7px;border-radius:999px;color:#9b6200;background:#ff9f0a26;font-size:9px;font-style:normal;vertical-align:middle}.account-role-list{display:flex!important;flex-direction:row;flex-wrap:wrap;gap:5px!important}.account-role-list span{display:inline-flex;padding:4px 8px;border-radius:8px;color:var(--muted);background:var(--field);font-size:10px;line-height:1.2}.account-actions{flex-wrap:wrap}.accounts-state{min-height:280px;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted);text-align:center}.accounts-state button{min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel-solid);cursor:pointer}.account-form{display:grid;gap:16px}.password-field{min-height:46px;display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel-solid)}.password-field input{min-width:0;border:0!important;box-shadow:none!important}.password-field button{border:0;border-left:1px solid var(--line);padding:0 14px;color:var(--blue);background:var(--field);cursor:pointer;font-size:11px;font-weight:700}.account-role-picker{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-role-picker legend{padding:0 7px;color:var(--muted);font-size:12px;font-weight:700}.account-role-picker>label{min-width:0;min-height:62px;padding:10px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:9px;cursor:pointer;background:var(--panel-solid)}.account-role-picker input{width:17px;height:17px;accent-color:var(--blue)}.account-role-picker label>span{min-width:0;display:grid;gap:4px}.account-role-picker strong{font-size:12px}.account-role-picker small{color:var(--muted);font-size:10px}.account-access-modal{width:min(1120px,100%)}.account-notice{padding:15px 17px;border:1px solid rgba(8,123,245,.24);border-radius:14px;color:var(--blue);background:var(--blue-soft);font-size:12px;line-height:1.6}.account-notice.danger{border-color:#ff453a3d;color:#d52d25;background:#ff453a1a}.account-access-section{padding:5px 0 23px;border-bottom:1px solid var(--line)}.account-access-section+.account-access-section{padding-top:22px}.account-access-section h3{margin:0 0 13px;font-size:15px}.account-role-picker.compact{grid-template-columns:repeat(4,minmax(0,1fr));padding:0;border:0}.account-role-picker.compact>label{min-height:54px}.inline-save{margin-top:11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.inline-save input,.permission-heading input{min-height:42px;border:1px solid var(--line);border-radius:11px;padding:0 12px;color:var(--text);background:var(--field);outline:0}.inline-save button,.copy-password{min-height:42px;border:0;border-radius:11px;padding:0 16px;color:#fff;background:var(--blue);cursor:pointer;font-weight:700}.inline-save button:disabled{opacity:.55}.permission-heading{display:grid;grid-template-columns:auto minmax(260px,1fr);align-items:center;gap:14px;margin-bottom:12px}.permission-heading h3{margin:0}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.permission-grid article{min-width:0;min-height:82px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--panel-solid);display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.75fr);align-items:center;gap:10px}.permission-grid article>div{min-width:0;display:grid;gap:5px}.permission-grid article>div:last-child{justify-items:stretch}.permission-grid strong{font-size:12px}.permission-grid code{overflow:hidden;text-overflow:ellipsis;color:var(--faint);font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.permission-grid span{color:var(--muted);font-size:10px}.permission-grid span.granted{color:#12823e}.permission-grid span.blocked{color:#d52d25}.permission-grid select{width:100%;min-height:35px;border:1px solid var(--line);border-radius:9px;padding:0 8px;color:var(--text);background:var(--field);outline:0;font-size:11px}.small-modal{width:min(560px,100%)}.small-modal .modal-body{display:grid;gap:14px}.password-change-modal{width:min(520px,100%)}.password-change-success{justify-items:center;text-align:center;padding-block:36px}.password-change-success>span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#12823e;background:#30d15824;font-size:26px;font-weight:800}.password-change-success>p{max-width:390px;margin:0;color:var(--muted);line-height:1.6}.password-change-success .form-actions{justify-self:stretch}.copy-password{justify-self:start;min-height:36px;color:var(--blue);background:var(--blue-soft);font-size:11px}.group-manager{display:grid;gap:14px}.group-manager>.account-notice{margin:0}.group-manager-toolbar{min-height:48px;display:flex;align-items:center;gap:10px}.group-manager-toolbar .search-field{flex:1;width:auto}.group-manager-toolbar>small{max-width:330px;color:var(--muted);font-size:10px;line-height:1.45}.group-editor{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--field);display:grid;grid-template-columns:1fr 1fr;gap:13px}.group-editor .form-actions{grid-column:1 / -1}.group-list{overflow:hidden;border:1px solid var(--line);border-radius:16px}.group-list article{min-height:66px;padding:10px 12px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(190px,auto);align-items:center;gap:12px}.group-list article:last-child{border-bottom:0}.group-list article>div:first-child{min-width:0;display:grid;gap:4px}.group-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.group-list code{color:var(--faint);font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.group-list .row-actions{justify-content:flex-end}.compact-stats.five{grid-template-columns:repeat(5,minmax(0,1fr))}.date-presets{display:inline-flex;gap:3px;padding:3px;border-radius:12px;background:var(--field)}.date-presets button{min-height:34px;border:0;border-radius:9px;padding:0 11px;color:var(--muted);background:transparent;cursor:pointer;font-size:11px;font-weight:700;white-space:nowrap}.date-presets button:hover{color:var(--blue);background:var(--panel-solid)}.attendance-filters,.report-filters,.audit-filters,.output-filters{flex-wrap:wrap}.attendance-filters>input[type=date],.report-filters>input[type=month],.audit-filters>input[type=date],.output-filters>input[type=date]{min-height:42px;border:1px solid var(--line);border-radius:12px;padding:0 11px;color:var(--text);background:var(--field);outline:0}.attendance-table .table-head,.attendance-table .table-row{grid-template-columns:minmax(120px,.75fr) minmax(190px,1.25fr) minmax(190px,1.25fr) minmax(110px,.7fr) 95px 100px minmax(180px,1fr);gap:12px}.approval-state{display:inline-flex;color:#9b6200;font-size:11px;font-weight:700}.approval-state.approved{color:#12823e}.attendance-actions{flex-wrap:wrap;justify-content:flex-start}.attendance-edit-form{display:grid;gap:15px}.form-success{margin:12px 0 0;padding:11px 13px;border-radius:11px;color:#12823e;background:#30d1581f;font-size:12px}.inline-notice{margin:12px 16px 0;padding:11px 13px;border:1px solid rgba(8,123,245,.2);border-radius:12px;color:var(--blue);background:var(--blue-soft);font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.inline-notice.success{color:#12823e;border-color:#30d15833;background:#30d1581c}.inline-notice.danger{color:#d52d25;border-color:#ff453a33;background:#ff453a17}.inline-notice button{border:0;border-radius:8px;padding:6px 9px;color:inherit;background:color-mix(in srgb,currentColor 9%,transparent);cursor:pointer}.segmented-control{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:13px;background:var(--field)}.segmented-control button{min-height:36px;border:0;border-radius:10px;padding:0 15px;color:var(--muted);background:transparent;cursor:pointer;font-size:12px;font-weight:700}.segmented-control button.active{color:var(--blue);background:var(--panel-solid);box-shadow:0 4px 14px #00000012}.shift-tabs{margin-bottom:20px}.shift-manager{width:min(1120px,100%)!important}.shift-setup-grid,.setting-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:22px}.shift-setup-grid h3,.shift-template-form h3,.setting-split h3{margin:0 0 12px;font-size:14px}.template-list,.setting-history{overflow:hidden;border:1px solid var(--line);border-radius:15px}.template-list article{min-height:66px;padding:10px 12px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.template-list article:last-child,.setting-history article:last-child{border-bottom:0}.template-list article>div,.setting-history article>div{display:grid;gap:4px}.template-list strong,.setting-history strong{font-size:12px}.template-list small,.setting-history small{color:var(--muted);font-size:10px}.shift-dot{width:9px;height:9px;border-radius:50%;background:#af52de;box-shadow:0 0 0 5px #af52de1a}.shift-dot.day{background:#ff9f0a;box-shadow:0 0 0 5px #ff9f0a1c}.shift-dot.night{background:#5856d6;box-shadow:0 0 0 5px #5856d61c}.shift-template-form,.generate-panel,.setting-split>form{align-self:start;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--field);display:grid;gap:14px}.template-picker{margin:16px 0 0;padding:12px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-picker legend{padding:0 7px;color:var(--muted);font-size:11px;font-weight:700}.template-picker label{min-width:0;min-height:62px;padding:10px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:8px;background:var(--panel-solid);cursor:pointer}.template-picker input{width:17px;height:17px;accent-color:var(--blue)}.template-picker label>span{min-width:0;display:grid;gap:3px}.template-picker strong{font-size:11px}.template-picker small{color:var(--muted);font-size:9px}.roster-toolbar{display:flex;align-items:end;gap:10px;margin-bottom:14px}.roster-toolbar .form-grid{flex:1}.roster-panel>.form-field{margin-bottom:14px}.roster-columns{min-height:360px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.roster-columns>section{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px}.roster-columns>section>header{min-height:52px;padding:7px 11px;border-bottom:1px solid var(--line);display:flex;align-items:center}.roster-columns .search-field{width:100%;height:38px}.assigned-roster,.roster-candidates{max-height:380px;overflow-y:auto;padding:8px;display:grid;gap:5px}.assigned-roster article{min-height:54px;padding:7px 8px;border-radius:11px;background:var(--field);display:grid;grid-template-columns:minmax(0,1fr) 105px 30px;align-items:center;gap:6px}.assigned-roster article>div{display:grid;gap:3px}.assigned-roster strong,.roster-candidates strong{font-size:11px}.assigned-roster small,.roster-candidates small{color:var(--muted);font-size:9px}.assigned-roster select{min-width:0;height:34px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--panel-solid);font-size:10px}.assigned-roster article>button{width:30px;height:30px;border:0;border-radius:50%;color:var(--muted);background:var(--panel-solid);cursor:pointer}.roster-candidates>button{min-height:58px;padding:8px;border:1px solid transparent;border-radius:11px;text-align:left;color:var(--text);background:var(--field);cursor:pointer;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:7px}.roster-candidates>button.selected{border-color:var(--blue);background:var(--blue-soft)}.roster-candidates>button>span{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;color:var(--blue);background:var(--panel-solid)}.roster-candidates>button>div{min-width:0;display:grid;gap:2px}.compact-report{padding:0 14px}.compact-report-head,.report-summary{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(130px,.9fr) minmax(130px,.9fr) minmax(150px,1fr) 105px 80px;gap:12px;align-items:center}.compact-report-head{min-height:48px;padding:0 12px;border-bottom:1px solid var(--line);color:var(--faint);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.report-row{border-bottom:1px solid var(--line)}.report-row:last-child{border-bottom:0}.report-summary{min-height:66px;padding:9px 12px}.report-summary>div{min-width:0;display:grid;gap:3px}.report-summary strong{font-size:12px}.report-summary small{color:var(--muted);font-size:10px}.report-counts{display:flex!important;flex-direction:row;gap:5px!important}.report-counts span{min-width:28px;min-height:25px;border-radius:8px;display:grid;place-items:center;color:var(--muted);background:var(--field);font-size:10px;font-weight:800}.report-counts span.good{color:#12823e;background:#30d15821}.report-counts span.warn{color:#9b6200;background:#ff9f0a21}.report-row.expanded{background:color-mix(in srgb,var(--blue-soft) 24%,transparent)}.report-details{padding:2px 12px 16px}.report-detail-summary{display:flex;flex-wrap:wrap;gap:6px;padding:9px 0}.report-detail-summary span{padding:5px 8px;border-radius:8px;color:var(--muted);background:var(--field);font-size:10px}.report-calendar{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:5px}.calendar-chip{min-height:60px;padding:7px;border-radius:10px;border:1px solid var(--line);background:var(--panel-solid);display:grid;gap:2px}.calendar-chip strong{font-size:13px}.calendar-chip span,.calendar-chip small{color:var(--muted);font-size:9px}.calendar-chip.completed{border-color:#30d15840;background:#30d15814}.calendar-chip.paused{border-color:#ff9f0a40;background:#ff9f0a14}.calendar-chip.cancelled{border-color:#ff453a38;background:#ff453a12}.finance-controls,.payroll-toolbar{margin-bottom:14px;padding:12px;border:1px solid var(--line);border-radius:17px;background:var(--panel);display:flex;align-items:center;gap:9px;box-shadow:0 10px 28px #18181c0a}.finance-controls form{min-width:0;display:flex;align-items:center;gap:7px;flex:1}.finance-controls input,.payroll-toolbar input,.payroll-toolbar select{min-width:0;height:42px;border:1px solid var(--line);border-radius:11px;padding:0 11px;color:var(--text);background:var(--field);outline:0}.finance-controls input[type=date]{width:145px}.finance-controls form>span{color:var(--faint)}.unit-tabs{margin-bottom:9px;display:flex;gap:5px;overflow-x:auto}.unit-tabs button{min-height:34px;padding:0 13px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--panel);cursor:pointer;font-size:11px;font-weight:750}.unit-tabs button.active{border-color:var(--blue);color:var(--blue);background:var(--blue-soft)}.finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.finance-metrics article{min-height:128px;padding:17px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 12px 32px #18181c0d;display:grid;align-content:center;gap:7px}.finance-metrics article>span{color:var(--muted);font-size:11px}.finance-metrics article>strong{font-size:clamp(20px,2vw,28px);letter-spacing:-.045em}.finance-metrics article>div{display:flex;flex-wrap:wrap;gap:5px}.finance-metrics em{padding:4px 7px;border-radius:8px;font-size:9px;font-style:normal}.finance-metrics em.positive{color:#12823e;background:#30d1581f}.finance-metrics em.negative{color:#d52d25;background:#ff453a1a}.finance-metrics em.neutral{color:var(--muted);background:var(--field)}.finance-metrics small{color:var(--muted);font-size:10px}.analytics-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,.8fr) minmax(230px,.8fr);gap:10px;margin-bottom:12px}.analytics-grid>.business-card{min-height:290px}.analytics-grid header,.card-title-row{min-height:54px;padding:12px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.analytics-grid h3,.card-title-row h3{margin:0;font-size:14px}.analytics-grid header small{color:var(--muted);font-size:9px}.bar-chart{height:190px;padding:18px 14px 4px;display:flex;align-items:stretch;gap:4px;overflow-x:auto}.bar-group{min-width:30px;flex:1;display:grid;grid-template-rows:minmax(0,1fr) 18px;gap:4px}.bars{min-height:0;display:flex;align-items:end;justify-content:center;gap:2px;border-bottom:1px solid var(--line)}.bars i{width:7px;max-height:100%;min-height:2px;border-radius:4px 4px 1px 1px;background:var(--blue)}.bars i.cash,.chart-card footer i.cash{background:#30d158}.bars i.negative{background:#ff453a}.bar-group>span{color:var(--faint);font-size:8px;text-align:center;transform:rotate(-35deg);white-space:nowrap}.chart-card footer{height:36px;padding:0 16px;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:9px}.chart-card footer span{display:flex;align-items:center;gap:5px}.chart-card footer i{width:8px;height:8px;border-radius:3px;background:var(--blue)}.ranking-card>div{padding:7px 13px}.ranking-card article{min-height:41px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:7px}.ranking-card article>span{width:20px;height:20px;border-radius:7px;display:grid;place-items:center;color:var(--blue);background:var(--blue-soft);font-size:8px;font-weight:800}.ranking-card article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.ranking-card article em{color:var(--muted);font-size:9px;font-style:normal;white-space:nowrap}.revenue-ledger{margin-top:0}.card-title-row>div{display:flex;align-items:center;gap:8px}.card-title-row>div>span{min-width:25px;height:25px;border-radius:8px;display:grid;place-items:center;color:var(--blue);background:var(--blue-soft);font-size:9px;font-weight:800}.revenue-table .table-head,.revenue-table .table-row{grid-template-columns:120px 115px minmax(150px,1fr) 125px 135px minmax(150px,1fr) 74px;gap:10px}.revenue-table .table-row{min-height:80px}.revenue-entry-form{display:grid;gap:14px}.revenue-entry-form .form-field.wide>input+select{margin-top:6px}.payroll-toolbar{align-items:end;flex-wrap:wrap}.payroll-toolbar label{display:grid;gap:5px}.payroll-toolbar label>span{color:var(--muted);font-size:9px;font-weight:750}.payroll-toolbar label input,.payroll-toolbar label select{width:170px}.payroll-lock-banner{margin-bottom:12px;padding:14px 17px;border:1px solid rgba(8,123,245,.22);border-radius:16px;background:var(--blue-soft);display:flex;align-items:center;justify-content:space-between;gap:12px}.payroll-lock-banner.locked{border-color:#30d15840;background:#30d1581a}.payroll-lock-banner>div{display:grid;gap:4px}.payroll-lock-banner strong{font-size:13px}.payroll-lock-banner p{margin:0;color:var(--muted);font-size:10px}.payroll-lock-banner>span{color:var(--muted);font-size:11px;white-space:nowrap}.payroll-table{overflow-x:auto}.payroll-table .table-head,.payroll-table .table-row{min-width:1320px;grid-template-columns:145px 105px 115px 120px 105px 120px 120px 125px 105px 160px;gap:9px}.payroll-table .table-row{min-height:76px}.payroll-actions{justify-content:flex-start}.status-pill.payroll-unpaid{color:#d52d25;background:#ff453a1c}.status-pill.payroll-partially_paid{color:#9b6200;background:#ff9f0a21}.status-pill.payroll-paid,.status-pill.payroll-no_due{color:#12823e;background:#30d15821}.status-pill.payroll-overpaid{color:#7046c8;background:#af52de21}.payroll-empty{min-height:330px;display:grid;place-content:center;justify-items:center;text-align:center}.payroll-empty>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:var(--blue);background:var(--blue-soft);font-size:20px}.payroll-empty h2{margin:14px 0 4px}.payroll-empty p{margin:0;color:var(--muted);font-size:12px}.payroll-settings{width:min(1040px,100%)!important}.setting-split>section{min-width:0}.setting-history{max-height:460px;overflow-y:auto}.setting-history article{min-height:59px;padding:9px 11px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px}.setting-history article>strong,.setting-history article>small{justify-self:end}.rate-history article{grid-template-columns:minmax(0,1fr) auto auto}.rate-history article>button{grid-column:3;grid-row:1 / 3;align-self:center;min-height:30px;padding:0 10px;border:0;border-radius:9px;color:var(--blue);background:var(--blue-soft);cursor:pointer;font-size:10px;font-weight:750}.overpaid-balance{color:#7046c8}.audit-notice{margin-bottom:12px}.audit-table .table-head,.audit-table .table-row{grid-template-columns:140px 160px minmax(170px,1.1fr) minmax(180px,1fr) minmax(160px,1fr) 68px;gap:11px}.audit-table .table-row{min-height:78px}.audit-detail{display:grid;gap:18px}.audit-json-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.audit-json-grid section{min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}.audit-json-grid h3{margin:0;padding:10px 12px;border-bottom:1px solid var(--line);font-size:11px}.json-view{margin:0;padding:12px;max-height:350px;overflow:auto;color:var(--muted);background:var(--field);font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.page-loading{min-height:300px}.output-order-picker{margin-bottom:12px}.output-order-controls{padding:14px 16px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,1.25fr);gap:9px}.output-order-controls .search-field{width:100%}.output-order-controls select{min-height:42px;border:1px solid var(--line);border-radius:12px;padding:0 34px 0 12px;color:var(--text);background:var(--field);outline:0}.output-order-summary{margin:0 16px 16px;padding:14px;border-radius:15px;background:var(--field);display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:center;gap:18px}.output-order-summary>div:first-child{display:grid;gap:5px}.output-order-summary strong{font-size:13px}.output-order-summary small{color:var(--muted);font-size:10px}.output-table .table-head,.output-table .table-row{grid-template-columns:130px 130px 100px 115px 125px minmax(160px,1fr) 150px;gap:10px}.output-table .table-row{min-height:82px}.output-actions{justify-content:flex-start}.modal-card.order-workspace-modal{width:min(760px,calc(100vw - 36px));max-height:92vh;overflow-x:hidden;overflow-y:auto;border-radius:20px;display:block}.order-workspace-modal>header{min-height:0;padding:25px 25px 0;border-bottom:0;background:var(--panel-solid)}.order-workspace-modal>header>div{min-width:0}.order-workspace-modal>header h2{overflow:hidden;font-size:21px;line-height:1.18;text-overflow:ellipsis;white-space:nowrap}.order-workspace-modal>header p{overflow:hidden;font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:normal}.order-workspace-modal>header .status-pill{margin-right:2px;vertical-align:middle}.order-workspace-modal>header .modal-meta{color:var(--muted);font-size:11px}.order-workspace-modal>.modal-body{padding:0 25px 25px;overflow:visible;overscroll-behavior:contain}.order-workspace{min-width:0;padding:0}.order-overview-section{padding:25px 0 6px}.workspace-section,.status-history-section{min-width:0;margin-top:19px;padding:18px 0 0;border-top:1px solid var(--line)}.workspace-section-heading{min-width:0;margin-bottom:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.workspace-section-heading>div{min-width:0}.workspace-section-heading h3{margin:0;color:var(--text);font-size:15px;line-height:1.35;letter-spacing:-.02em}.workspace-section-heading h3>span{margin-left:4px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:0}.workspace-section-heading p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.workspace-section-heading>.status-pill{flex:none;margin-top:1px}.order-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:16px 0 0}.order-summary-grid article{min-width:0;min-height:76px;padding:12px;border:0;border-radius:12px;background:var(--field);display:grid;align-content:center;gap:6px}.order-summary-grid span,.order-summary-grid small{color:var(--muted);font-size:10px;line-height:1.4}.order-summary-grid strong{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.35;letter-spacing:-.015em}.order-progress-overview{margin-top:11px;padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid);display:grid;gap:9px}.order-progress-overview>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.order-progress-overview strong{font-size:13px}.order-progress-overview span{color:var(--muted);font-size:11px}.order-progress-overview>i{height:7px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--faint) 16%,transparent)}.order-progress-overview>i>b{display:block;height:100%;min-width:2px;border-radius:inherit;background:linear-gradient(90deg,var(--blue),color-mix(in srgb,var(--blue) 68%,#65d4ff));transition:width .25s ease}.workspace-meta-list{margin:13px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-meta-list>div{min-width:0;padding:13px 14px 12px 2px;border-bottom:1px solid var(--line)}.workspace-meta-list .wide{grid-column:1 / -1}.workspace-meta-list dt{margin-bottom:5px;color:var(--muted);font-size:10px}.workspace-meta-list dd{margin:0;overflow-wrap:anywhere;font-size:12px;line-height:1.55}.order-workspace .workspace-actions{margin-top:3px;padding:14px 0 4px;border-bottom:0}.order-workspace .workspace-actions button{min-height:36px;padding:0 14px;border-radius:10px;background:var(--field);font-size:11px;font-weight:680}.order-workspace .workspace-actions button:first-child{border-color:color-mix(in srgb,var(--blue) 28%,var(--line));color:var(--blue);background:var(--blue-soft)}.workspace-panel{min-width:0;margin:17px 0 3px;padding:19px;border:1px solid color-mix(in srgb,var(--blue) 18%,var(--line));border-radius:18px;background:color-mix(in srgb,var(--blue-soft) 28%,var(--panel-solid))}.workspace-panel>.workspace-section-heading{margin-bottom:16px}.workspace-panel .form-grid{gap:14px}.workspace-panel .form-actions{margin-top:3px;padding-top:14px;border-top:1px solid var(--line)}.workspace-inline-form{margin-top:15px;padding-top:16px;border-top:1px solid var(--line)}.workspace-compact-list{display:grid}.workspace-compact-list article{min-width:0;min-height:64px;padding:11px 2px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.workspace-compact-list article>div{min-width:0;display:grid;gap:4px}.workspace-compact-list strong{font-size:12px}.workspace-compact-list small{color:var(--muted);font-size:10px;line-height:1.5}.workspace-compact-list button,.assignment-workspace-list>article>button{flex:none;min-height:34px;padding:0 11px;border:1px solid var(--line);border-radius:10px;color:#d52d25;background:var(--panel-solid);cursor:pointer;font-size:10px;font-weight:680}.workspace-compact-list button:hover:not(:disabled),.assignment-workspace-list>article>button:hover:not(:disabled){border-color:#ff453a42;background:#ff453a14}.workspace-compact-list button:disabled,.assignment-workspace-list>article>button:disabled{opacity:.5;cursor:wait}.assignment-workspace-list{display:grid}.assignment-workspace-list>article{min-width:0;min-height:0;padding:10px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:13px}.assignment-workspace-list>article>div{min-width:0;display:grid;gap:4px}.assignment-workspace-list small{color:var(--muted);font-size:11px;font-weight:500}.assignment-workspace-list strong{min-width:0;overflow:hidden;font-size:11px;line-height:1.45;text-overflow:ellipsis}.assignment-person>strong{color:var(--text);font-size:14px}.assignment-person>small{color:var(--muted);font-size:11px;line-height:1.45}.assignment-note strong{white-space:normal;overflow-wrap:anywhere}.assignment-picker-form{margin-top:15px;padding:17px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--blue-soft) 23%,var(--panel-solid));display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto;align-items:end;gap:12px}.legacy-assignment-picker{margin-top:11px;padding:0;border:0;border-radius:0;background:transparent;grid-template-columns:minmax(170px,1fr) minmax(135px,.65fr) minmax(230px,1.35fr) auto;align-items:center;gap:8px}.legacy-assignment-picker>input,.legacy-assignment-picker>select{width:100%;min-width:0;min-height:40px;border:1px solid var(--line);border-radius:10px;padding:0 11px;color:var(--text);background:var(--field);outline:0}.legacy-assignment-picker>input:focus,.legacy-assignment-picker>select:focus{border-color:var(--blue);box-shadow:var(--focus)}.assignment-picker-hint{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.assignment-search-grid{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(170px,.55fr);gap:12px}.assignment-picker-form>.form-actions{align-self:end;padding:0}.assignment-picker-form>.form-actions .primary-button{min-width:106px}.production-workspace-list{display:grid}.production-workspace-list>article{min-width:0;min-height:78px;padding:12px 2px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(96px,auto);align-items:center;gap:14px}.production-record-main{min-width:0;display:grid;gap:4px}.production-record-main>strong{font-size:13px;line-height:1.4}.production-record-main>small{color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}.production-record-main .correction-note{color:#9b6200;font-weight:650}.production-record-main .rejection-note{color:#d52d25;font-weight:650}.production-workspace-list .review-actions{min-width:0;justify-content:flex-end}.production-workspace-list .review-actions button{height:34px;border:1px solid transparent;border-radius:10px;font-weight:680}.production-workspace-list .review-actions button:only-child{color:var(--blue);background:var(--blue-soft)}.production-workspace-list .review-actions:empty{display:none}.correction-panel,.output-workspace-form{margin-top:12px;padding:15px;border:1px solid color-mix(in srgb,var(--blue) 20%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--blue-soft) 27%,var(--panel-solid))}.correction-panel{margin-bottom:0}.correction-panel .workspace-section-heading,.output-workspace-form .workspace-section-heading{margin-bottom:1px}.correction-panel .form-actions,.output-workspace-form .form-actions{margin-top:2px;padding-top:14px;border-top:1px solid var(--line)}.workspace-empty,.workspace-notice{margin:0;padding:14px 15px;border-radius:12px;color:var(--muted);background:var(--field);font-size:11px;line-height:1.55}.workspace-notice{margin-top:14px;border:1px solid rgba(255,159,10,.2);color:#9b6200;background:#ff9f0a17}.workspace-error{margin-top:16px!important;padding:12px 14px;border:1px solid rgba(255,69,58,.2);border-radius:12px;background:#ff453a14}.status-history-list{display:grid}.status-history-list article{min-width:0;min-height:0;padding:3px 0;display:flex;align-items:center;flex-wrap:wrap}.status-history-list{padding:14px;border-radius:11px;background:var(--field)}.status-history-list strong{font-size:11px}.status-history-list small{color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}.legacy-secondary-actions{margin-top:15px!important;justify-content:flex-end}.order-subview-content{display:grid;gap:16px;padding-top:16px}.legacy-edit-form,.legacy-status-form,.legacy-correction-form{padding-top:18px}.correction-summary-grid{margin:16px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.correction-summary-grid article{padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--field)}.correction-summary-grid small{display:block;margin-bottom:5px;color:var(--muted);font-size:10px}.correction-summary-grid strong{font-size:16px}@media(max-width:1280px){.content{padding-left:26px;padding-right:26px}.orders-table .table-head,.orders-table .table-row{grid-template-columns:132px minmax(125px,1fr) minmax(180px,1.35fr) 138px minmax(120px,.8fr) 106px;gap:11px}.employee-filters .capacity-filter{display:none}.compact-stats.six{grid-template-columns:repeat(3,minmax(0,1fr))}.accounts-table .table-head,.accounts-table .table-row{grid-template-columns:minmax(180px,1.25fr) minmax(130px,.8fr) minmax(150px,.9fr) 115px 95px minmax(150px,.9fr);gap:10px}.account-role-picker.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-stats.five{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-grid{grid-template-columns:minmax(0,1.6fr) minmax(220px,.8fr)}.analytics-grid>:last-child{grid-column:1 / -1}.finance-controls{flex-wrap:wrap}.finance-controls form{order:2;flex-basis:100%}}@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-grid{grid-template-columns:1fr}.login-layout{grid-template-columns:minmax(330px,.75fr) 1fr}.modal-card.order-workspace-modal{width:min(760px,calc(100vw - 36px))}.workspace-meta-list{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment-workspace-list>article{grid-template-columns:minmax(0,1fr) auto;align-items:start}.assignment-workspace-list .assignment-person{grid-column:1;grid-row:1}.assignment-workspace-list>article>button{grid-column:2;grid-row:1;align-self:center}.assignment-picker-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.assignment-picker-form>.form-actions{grid-column:1 / -1;justify-content:flex-end}}@media(max-width:760px){.login-layout{display:block}.login-story{display:none}.login-panel{min-height:100vh;padding:90px 22px 38px}.mobile-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}.login-tools{top:20px;right:20px}.app-shell{display:block}.sidebar{position:fixed;z-index:20;inset:auto 0 0;height:72px;border-right:0;border-top:1px solid var(--line);padding:7px 8px;overflow-x:auto;overflow-y:hidden}.sidebar-brand,.nav-heading,.signout-button{display:none}.sidebar nav{display:flex;gap:4px;width:max-content}.nav-group{display:flex;gap:4px}.nav-group button{display:flex;width:auto;min-width:68px;min-height:56px;padding:5px 8px;flex-direction:column;justify-content:center;gap:3px;font-size:10px;white-space:nowrap}.nav-group button i{line-height:1}.topbar{height:62px;padding:0 16px}.topbar>div:first-child>strong{display:none}.mobile-mark{display:inline-flex;transform:scale(.76);transform-origin:left center}.topbar-actions .quiet-button:first-child,.account-chip div{display:none}.content{padding:30px 18px 100px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card{min-height:122px;padding:18px;border-radius:18px}.metric-card strong{font-size:28px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:36px}.business-card{border-radius:18px;overflow:visible}.filter-bar{align-items:stretch}.filter-bar .search-field{width:100%}.filter-bar select{flex:1;min-width:135px}.filter-bar .push-right{margin-left:0}.data-table{padding:0 12px}.table-head{display:none}.table-row,.orders-table .table-row,.employees-table .table-row,.devices-table .table-row{grid-template-columns:1fr 1fr;gap:13px;align-items:start;padding:17px 3px}.accounts-table .table-row{grid-template-columns:1fr 1fr}.table-row>div:before{display:block;color:var(--faint);font-size:9px;font-weight:700;text-transform:uppercase;margin-bottom:2px}.row-actions{grid-column:1 / -1;justify-content:flex-start}.progress-cell{grid-column:1 / -1}.compact-stats,.compact-stats.three,.compact-stats.six{display:flex;overflow-x:auto;gap:8px}.compact-stats>div{flex:0 0 138px;min-height:70px;border-radius:15px}.form-card{padding:17px}.form-grid{grid-template-columns:1fr}.form-field.wide,.form-grid>.wide,.form-section-title{grid-column:1}.modal-backdrop{padding:0;place-items:end stretch}.modal-card,.modal-card.wide{width:100%;max-height:94vh;border-radius:24px 24px 0 0;border-bottom:0}.modal-backdrop:has(.order-workspace-modal){padding:18px;place-items:center}.modal-card.order-workspace-modal{width:min(760px,100%);max-height:92vh;border:1px solid var(--line);border-radius:20px}.order-workspace-modal>header{min-height:0;padding:20px 20px 0}.order-workspace-modal>header h2{font-size:19px}.order-workspace-modal>header p{max-width:calc(100vw - 92px)}.order-workspace-modal>.modal-body{padding:0 20px 20px}.order-workspace{padding:0}.order-overview-section{padding-top:19px}.workspace-section,.status-history-section{padding:20px 0}.workspace-section-heading{gap:10px}.workspace-section-heading h3{font-size:15px}.order-summary-grid{grid-template-columns:1fr;gap:8px}.order-summary-grid article{min-height:75px;padding:12px 14px}.order-progress-overview>div{align-items:flex-start;flex-direction:column;gap:3px}.workspace-meta-list{grid-template-columns:1fr}.workspace-meta-list .wide{grid-column:1}.workspace-meta-list>div{padding-right:2px}.order-workspace .workspace-actions{gap:6px}.order-workspace .workspace-actions button{flex:1 1 calc(50% - 6px)}.workspace-panel,.correction-panel,.output-workspace-form{padding:15px;border-radius:15px}.workspace-compact-list article{align-items:flex-start}.assignment-workspace-list>article{margin-top:8px;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid);grid-template-columns:1fr;gap:9px}.assignment-workspace-list .assignment-person,.assignment-workspace-list>article>button{grid-column:1;grid-row:auto}.assignment-workspace-list>article>button{justify-self:start;align-self:auto}.assignment-picker-form{padding:14px;grid-template-columns:1fr}.legacy-assignment-picker{padding:0;grid-template-columns:1fr 1fr}.legacy-assignment-picker>select,.legacy-assignment-picker>button{grid-column:1 / -1;width:100%}.assignment-search-grid{grid-template-columns:1fr}.assignment-picker-form>.form-actions{grid-column:1}.assignment-picker-form>.form-actions .primary-button{width:100%}.production-workspace-list>article{grid-template-columns:minmax(0,1fr) auto;gap:9px}.production-workspace-list .review-actions{grid-column:1 / -1;justify-content:flex-start}.production-workspace-list .review-actions button{min-width:78px}.output-workspace-form .form-actions .primary-button{width:100%}.correction-summary-grid{grid-template-columns:1fr}.detail-metrics{grid-template-columns:1fr 1fr}.detail-list{grid-template-columns:1fr}.detail-list .wide{grid-column:1}.picker-grid{grid-template-columns:1fr 1fr}.production-list article{grid-template-columns:minmax(0,1fr) auto}.review-actions{grid-column:1 / -1}.account-role-picker,.account-role-picker.compact,.permission-grid,.permission-heading{grid-template-columns:1fr}.permission-grid article{grid-template-columns:1fr}.accounts-table .account-actions{grid-column:1 / -1}.group-manager-toolbar{align-items:stretch;flex-direction:column}.group-manager-toolbar .search-field{width:100%}.group-manager-toolbar>button{width:100%}.group-editor{grid-template-columns:1fr}.group-editor .form-actions{grid-column:1}.group-list article{grid-template-columns:minmax(0,1fr) auto}.group-list .row-actions{grid-column:1 / -1;justify-content:flex-start}.compact-stats.five{display:flex}.attendance-table .table-row,.revenue-table .table-row,.audit-table .table-row,.output-table .table-row,.payroll-table .table-row{min-width:0;grid-template-columns:1fr 1fr}.attendance-actions,.output-actions{grid-column:1 / -1}.shift-setup-grid,.setting-split,.roster-columns{grid-template-columns:1fr}.template-picker{grid-template-columns:1fr 1fr}.compact-report-head{display:none}.report-summary{grid-template-columns:1fr 1fr;padding:14px 3px}.report-summary>div:last-child{grid-column:1 / -1}.report-calendar{grid-template-columns:repeat(auto-fill,minmax(62px,1fr))}.finance-controls,.payroll-toolbar{align-items:stretch}.finance-controls form{display:grid;grid-template-columns:1fr 1fr}.finance-controls form>span{display:none}.finance-controls form>input,.finance-controls input[type=date]{width:100%}.finance-controls>.primary-button{margin-left:auto}.finance-metrics{display:flex;overflow-x:auto}.finance-metrics article{flex:0 0 245px;min-height:112px}.analytics-grid{grid-template-columns:1fr}.analytics-grid>:last-child{grid-column:auto}.payroll-stats{display:flex!important}.payroll-table{overflow-x:visible}.payroll-actions{grid-column:1 / -1}.audit-json-grid,.output-order-controls,.output-order-summary{grid-template-columns:1fr}}@media(max-width:430px){.metric-grid{grid-template-columns:1fr}.language-button{min-width:54px;padding:0 10px}.account-chip{margin-left:0}.template-picker,.finance-controls form{grid-template-columns:1fr}.finance-controls .date-presets{width:100%}.finance-controls .date-presets button{flex:1}.payroll-toolbar label,.payroll-toolbar label input,.payroll-toolbar label select{width:100%}.payroll-toolbar>button{width:100%!important;margin-left:0!important}.report-summary{grid-template-columns:1fr}.report-summary>div:last-child{grid-column:auto}.modal-backdrop:has(.order-workspace-modal){padding:10px}.modal-card.order-workspace-modal{max-height:calc(100dvh - 20px);border-radius:18px}.order-workspace-modal>header{padding:16px 15px 0}.order-workspace-modal>header h2{font-size:17px}.order-workspace-modal>header p{font-size:10px}.order-workspace-modal>.modal-body{padding:0 15px 16px}.order-workspace{padding:0}.workspace-section-heading{align-items:flex-start}.workspace-section-heading>.status-pill{max-width:42%;overflow:hidden;text-overflow:ellipsis}.order-summary-grid strong{font-size:14px}.order-workspace .workspace-actions button{flex-basis:100%}.workspace-panel,.correction-panel,.output-workspace-form,.assignment-picker-form{padding:13px}.legacy-assignment-picker{padding:0;grid-template-columns:1fr}.legacy-assignment-picker>*{grid-column:1 / -1}.workspace-compact-list article{align-items:stretch;flex-direction:column}.workspace-compact-list button{align-self:flex-start}.production-workspace-list>article{grid-template-columns:1fr}.production-workspace-list>article>.status-pill{grid-column:1}.production-workspace-list .review-actions{grid-column:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}.app-shell{--bg: #f5f5f7;--panel: rgba(255, 255, 255, .86);--panel-solid: #fff;--sidebar: #f4f4f6;--field: #ececf0;--text: #1d1d1f;--muted: #6e6e73;--faint: #6e6e73;--line: rgba(60, 60, 67, .14);--blue: #007aff;--blue-soft: #e8f2ff;--shadow: 0 10px 30px rgba(0, 0, 0, .06);--focus: 0 0 0 4px rgba(0, 122, 255, .16);min-height:100vh;grid-template-columns:238px minmax(0,1fr);background:#f5f5f7;color:var(--text);font:14px -apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif;letter-spacing:-.01em}:root[data-theme=dark] .app-shell{--bg: #000;--panel: rgba(28, 28, 30, .86);--panel-solid: #1c1c1e;--sidebar: #1c1c1e;--field: #2c2c2e;--text: #f5f5f7;--muted: #98989d;--faint: #98989d;--line: rgba(235, 235, 245, .15);--blue: #0a84ff;--blue-soft: rgba(10, 132, 255, .15);--shadow: 0 14px 32px rgba(0, 0, 0, .32);--focus: 0 0 0 4px rgba(10, 132, 255, .16);background:#000}.app-shell button,.app-shell input,.app-shell select,.app-shell textarea{font:inherit}.app-shell .sidebar{position:static;top:auto;height:auto;min-height:100vh;padding:26px 14px;overflow:visible;background:var(--sidebar);-webkit-backdrop-filter:none;backdrop-filter:none;border-right:1px solid var(--line);color:#424245}.app-shell .sidebar-brand{gap:10px;padding:3px 12px 30px}.app-shell .sidebar-brand .brand-mark{width:40px;height:40px;flex:0 0 40px;border:1px solid var(--line);border-radius:11px;background:var(--panel-solid);box-shadow:none}.app-shell .sidebar-brand .brand-mark svg{width:34px;height:34px}.app-shell .sidebar-brand>div{gap:0}.app-shell .sidebar-brand strong{color:var(--text);font-size:18px;font-weight:650;letter-spacing:-.04em;white-space:nowrap}.app-shell .sidebar-brand>div>span{display:none}.app-shell .sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:6px}.app-shell .nav-group{display:grid;gap:1px;margin:0 0 9px}.app-shell .nav-group:first-child{margin-bottom:13px}.app-shell .nav-heading{display:block;padding:0;margin:14px 11px 6px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap}.app-shell .nav-heading:after{content:"";display:inline-block;width:calc(100% - 63px);height:1px;margin-left:8px;vertical-align:middle;background:var(--line)}.app-shell .nav-group button,.app-shell .signout-button{min-height:0;margin:1px 0;padding:10px 12px;gap:0;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;font-weight:400;text-align:left}.app-shell .nav-group button i{width:25px;flex:0 0 25px}.app-shell .nav-group button:hover,.app-shell .signout-button:hover{color:var(--text);background:var(--field)}.app-shell .nav-group button.active{color:var(--blue);background:var(--blue-soft);font-weight:600}.app-shell .signout-button{margin-top:auto}.app-shell .topbar{position:static;top:auto;z-index:auto;height:72px;padding:0 34px;gap:12px;background:color-mix(in srgb,var(--panel-solid) 78%,transparent);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border-bottom:1px solid var(--line)}.app-shell .topbar>div:first-child{margin-right:auto;gap:10px}.app-shell .topbar>div:first-child>strong{color:var(--text);font-size:17px;font-weight:600;letter-spacing:-.025em}.app-shell .topbar-actions{gap:8px}.app-shell .topbar .quiet-button{min-width:34px;height:34px;padding:0 11px;border:1px solid var(--line);border-radius:999px;background:var(--field);box-shadow:none}.app-shell .topbar .quiet-button:hover{transform:none;color:var(--text);background:color-mix(in srgb,var(--field) 82%,var(--panel-solid))}.app-shell .topbar .language-button{font-size:12px;font-weight:600}.app-shell .account-chip{gap:7px;margin-left:0;padding:0;border:0;border-radius:0}.app-shell .account-chip:hover{border-color:transparent;background:transparent}.app-shell .account-chip>span{width:30px;height:30px;background:#ff9f0a;box-shadow:0 2px 8px #ff9f0a54}.app-shell .account-chip strong{font-size:13px;font-weight:500}.app-shell .account-chip small{font-size:11px;color:var(--muted)}.app-shell .workspace{min-width:0;background:var(--bg)}.app-shell .content{width:100%;max-width:1580px;margin:0 auto;padding:38px 38px 56px;background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 92%,var(--blue-soft)) 0%,var(--bg) 360px)}:root[data-theme=dark] .app-shell .content{background:radial-gradient(1000px 450px at 70% -140px,rgba(10,132,255,.11),transparent 60%),#000}.app-shell .page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:25px}.app-shell .page-heading .eyebrow{display:none}.app-shell .page-heading h1{margin:0 0 5px;color:var(--text);font-size:32px;line-height:1.12;font-weight:650;letter-spacing:-.045em}.app-shell .page-heading p{margin:0;color:var(--muted);font-size:14px;letter-spacing:0}.app-shell .business-card,.app-shell .state-card,.app-shell .feature-card,.app-shell .metric-card,.app-shell .form-card{border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow)}.app-shell .business-card{padding:22px;margin-bottom:16px;overflow:visible}.app-shell .state-card{padding:30px}.app-shell .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.app-shell .metric-card{min-height:0;padding:20px;display:block}.app-shell .metric-card>span{display:block;margin-bottom:10px;color:var(--muted);font-size:13px}.app-shell .metric-card strong{color:var(--text);font-size:29px;font-weight:600;letter-spacing:-.04em}.app-shell .metric-accent{display:none}.app-shell .compact-stats,.app-shell .compact-stats.three,.app-shell .compact-stats.five,.app-shell .compact-stats.six{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.app-shell .compact-stats>div{min-height:0;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow)}.app-shell .compact-stats span{color:var(--muted);font-size:13px}.app-shell .compact-stats strong{font-size:29px;font-weight:600}.app-shell .notice,.app-shell .info-banner,.app-shell .integrity-banner,.app-shell .payroll-lock-banner{padding:12px 14px;border-radius:12px}.app-shell .primary-button,.app-shell .secondary-button,.app-shell .text-button,.app-shell .row-actions button,.app-shell .review-actions button,.app-shell .modal-action-strip button{width:auto;min-width:0;height:auto;min-height:38px;padding:9px 14px;border:0;border-radius:999px;line-height:20px;font-size:14px;font-weight:500;box-shadow:none;transition:transform .15s,background .15s,box-shadow .15s}.app-shell .primary-button{color:#fff;background:var(--blue);box-shadow:0 2px 7px #0071e32b}.app-shell .primary-button:hover:not(:disabled){transform:none;background:#0077ed}.app-shell .secondary-button,.app-shell .row-actions button,.app-shell .review-actions button,.app-shell .modal-action-strip button{color:var(--text);background:var(--field)}.app-shell .secondary-button:hover,.app-shell .row-actions button:hover:not(:disabled),.app-shell .review-actions button:hover:not(:disabled){transform:none;color:var(--text);background:color-mix(in srgb,var(--field) 84%,var(--text))}.app-shell .primary-button:active,.app-shell .secondary-button:active,.app-shell .row-actions button:active{transform:scale(.97)}.app-shell .primary-button.compact,.app-shell .secondary-button.compact{height:auto;min-height:38px;padding:9px 14px;border-radius:999px}.app-shell .search-field,.app-shell .filter-bar select,.app-shell .filter-bar>input,.app-shell .form-field input,.app-shell .form-field select,.app-shell .form-field textarea,.app-shell .compound-input,.app-shell .finance-controls input,.app-shell .payroll-toolbar input,.app-shell .payroll-toolbar select,.app-shell .attendance-filters>input[type=date],.app-shell .report-filters>input[type=month],.app-shell .audit-filters>input[type=date],.app-shell .output-filters>input[type=date]{min-height:40px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--panel-solid);outline:0}.app-shell .form-field textarea{height:86px;min-height:86px;padding:11px}.app-shell .search-field:focus-within,.app-shell .filter-bar select:focus,.app-shell .filter-bar>input:focus,.app-shell .form-field input:focus,.app-shell .form-field select:focus,.app-shell .form-field textarea:focus{border-color:var(--blue);box-shadow:var(--focus)}.app-shell .form-grid{gap:18px 22px}.app-shell .form-field{gap:7px}.app-shell .form-field>span{color:#3a3a3c;font-size:13px;font-weight:500}:root[data-theme=dark] .app-shell .form-field>span{color:var(--text)}.app-shell .form-card{padding:22px}.app-shell .form-actions{gap:8px;padding-top:8px}.app-shell .filter-bar{min-height:0;padding:0;margin-bottom:14px;border:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.app-shell .filter-bar .search-field{width:222px;min-width:150px;max-width:100%}.app-shell .filter-bar select{min-width:120px;padding-right:28px}.app-shell .filter-bar .push-right{margin-left:0}.app-shell .data-table{padding:0;overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid)}.app-shell .table-head,.app-shell .table-row{column-gap:0;min-height:0;align-items:start}.app-shell .table-head{min-height:0;padding:13px 12px;border-bottom:1px solid var(--line);color:var(--muted);background:#fafafa;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none}:root[data-theme=dark] .app-shell .table-head{background:#232325}.app-shell .table-row{padding:15px 12px;border-bottom:1px solid var(--line)}.app-shell .table-row:hover{background:#f7faff}:root[data-theme=dark] .app-shell .table-row:hover{background:#242a31}.app-shell .table-row>div{gap:4px;align-content:start}.app-shell .table-row strong{font-size:13px}.app-shell .table-row small{color:var(--muted);font-size:12px;line-height:1.45}.app-shell .orders-table .table-head,.app-shell .orders-table .table-row{column-gap:14px}.app-shell .orders-table .table-head{font-size:12px}.app-shell .orders-table .table-row{padding:16px 14px}.app-shell .record-link{font-size:14px;font-weight:650}.app-shell .row-actions{gap:7px!important}.app-shell .row-actions button{min-height:34px;padding:7px 11px;font-size:12px}.app-shell .card-title-row,.app-shell .analytics-grid header{min-height:0;padding:0 0 14px;border-bottom:0}.app-shell .modal-backdrop{padding:18px;place-items:center;background:#00000061;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.app-shell .modal-card,.app-shell .modal-card.wide,.app-shell .modal-card.order-workspace-modal{width:min(760px,100%);max-height:92vh;overflow-x:hidden;overflow-y:auto;display:block;border:0;border-radius:20px;background:var(--panel-solid);box-shadow:0 28px 70px #00000040}.app-shell .modal-card>header,.app-shell .order-workspace-modal>header{min-height:0;padding:25px 25px 0;border-bottom:0;background:var(--panel-solid)}.app-shell .modal-card h2,.app-shell .order-workspace-modal>header h2{margin:0;font-size:21px;line-height:1.18;font-weight:650;letter-spacing:-.03em}.app-shell .modal-card header p,.app-shell .order-workspace-modal>header p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.app-shell .icon-button{width:30px;height:30px;flex:0 0 30px;border-radius:50%;color:var(--muted);background:var(--field);font-size:22px;line-height:25px}.app-shell .modal-card:not(.order-workspace-modal)>.modal-body{padding:20px 25px 25px;overflow:visible}.app-shell .order-workspace-modal>.modal-body{padding:0 25px 25px;overflow:visible}.app-shell .detail-metrics,.app-shell .order-summary-grid,.app-shell .correction-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media(max-width:1100px){.app-shell .orders-table .table-head,.app-shell .orders-table .table-row{min-width:940px}}@media(max-width:980px){.app-shell .employee-stats,.app-shell .compact-stats.employee-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.app-shell{display:grid;grid-template-columns:1fr}.app-shell .sidebar{display:none}.app-shell .topbar{height:72px;padding:0 20px}.app-shell .topbar>div:first-child>strong{display:inline}.app-shell .content{padding:24px 18px 56px}.app-shell .page-heading{align-items:flex-start;flex-direction:column}.app-shell .page-heading h1{font-size:27px}.app-shell .metric-grid,.app-shell .compact-stats,.app-shell .compact-stats.three,.app-shell .compact-stats.five,.app-shell .compact-stats.six,.app-shell .payroll-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.app-shell .compact-stats>div{min-height:0}.app-shell .form-grid{grid-template-columns:1fr}.app-shell .form-field.wide,.app-shell .form-grid>.wide,.app-shell .form-section-title{grid-column:1}.app-shell .filter-bar{align-items:center}.app-shell .filter-bar .search-field{width:100%}.app-shell .business-card{overflow:visible}.app-shell .data-table{overflow-x:auto}.app-shell .table-head{display:grid}.app-shell .table-head,.app-shell .table-row{min-width:900px}.app-shell .orders-table .table-head,.app-shell .orders-table .table-row{min-width:940px;grid-template-columns:132px minmax(125px,1fr) minmax(180px,1.35fr) 138px minmax(120px,.8fr) 106px;gap:11px}.app-shell .employees-table .table-head,.app-shell .employees-table .table-row{grid-template-columns:minmax(160px,1.2fr) minmax(120px,.8fr) minmax(130px,.9fr) minmax(130px,.8fr) minmax(115px,.75fr) 90px}.app-shell .devices-table .table-head,.app-shell .devices-table .table-row{grid-template-columns:minmax(130px,1fr) minmax(120px,.8fr) minmax(130px,.85fr) minmax(130px,.9fr) minmax(160px,1.25fr) 90px}.app-shell .attendance-table .table-head,.app-shell .attendance-table .table-row{grid-template-columns:minmax(120px,.75fr) minmax(190px,1.25fr) minmax(190px,1.25fr) minmax(110px,.7fr) 95px 100px minmax(180px,1fr)}.app-shell .revenue-table .table-head,.app-shell .revenue-table .table-row{grid-template-columns:120px 115px minmax(150px,1fr) 125px 135px minmax(150px,1fr) 74px}.app-shell .output-table .table-head,.app-shell .output-table .table-row{grid-template-columns:130px 130px 100px 115px 125px minmax(160px,1fr) 150px}.app-shell .accounts-table .table-head,.app-shell .accounts-table .table-row{grid-template-columns:minmax(200px,1.35fr) minmax(150px,.9fr) minmax(180px,1.05fr) minmax(130px,.72fr) 104px minmax(190px,1fr)}.app-shell .payroll-table .table-head,.app-shell .payroll-table .table-row{min-width:1320px;grid-template-columns:145px 105px 115px 120px 105px 120px 120px 125px 105px 160px}.app-shell .table-row>div:before{display:none}.app-shell .row-actions,.app-shell .progress-cell,.app-shell .attendance-actions,.app-shell .output-actions,.app-shell .payroll-actions{grid-column:auto}.app-shell .modal-backdrop,.app-shell .modal-backdrop:has(.order-workspace-modal){padding:18px;place-items:center}.app-shell .modal-card,.app-shell .modal-card.wide,.app-shell .modal-card.order-workspace-modal{width:min(760px,100%);max-height:92vh;border:0;border-radius:20px}.app-shell .modal-card>header,.app-shell .order-workspace-modal>header{padding:20px 20px 0}.app-shell .modal-card:not(.order-workspace-modal)>.modal-body{padding:18px 20px 20px}.app-shell .order-workspace-modal>.modal-body{padding:0 20px 20px}.app-shell .detail-metrics,.app-shell .order-summary-grid,.app-shell .correction-summary-grid{grid-template-columns:1fr}}@media(max-width:560px){.app-shell .account-role-picker,.app-shell .account-role-picker.compact,.app-shell .permission-grid{grid-template-columns:1fr}.app-shell .modal-backdrop:has(.order-workspace-modal){padding:10px}.app-shell .modal-card.order-workspace-modal{max-height:calc(100dvh - 20px);border-radius:18px}}.app-shell .topbar>div:first-child{flex:0 0 auto;margin-right:0}.app-shell .topbar-actions{min-width:0;flex:1 1 auto;display:flex;align-items:center;gap:8px}.app-shell .theme-switch{display:flex;align-items:center;gap:2px;margin-left:auto;margin-right:14px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--field)}.app-shell .theme-switch button{min-width:30px;height:28px;padding:0 8px;border:0;border-radius:999px;color:var(--muted);background:transparent;font-size:13px;cursor:pointer}.app-shell .theme-switch button:hover{color:var(--text)}.app-shell .theme-switch button.active{color:var(--text);background:var(--panel-solid);box-shadow:0 1px 3px #0000001f}:root[data-theme=dark] .app-shell .theme-switch button.active{background:#3a3a3c;box-shadow:none}.app-shell .backup-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;color:#248a5b;background:#30d15821;font-size:11px;font-weight:600;white-space:nowrap}.app-shell .topbar-backup{padding:5px 9px;color:var(--muted);background:var(--field);font-size:12px}.app-shell .language-toggle,.app-shell .password-button{border:1px solid var(--line);border-radius:999px;color:var(--text);background:var(--field);cursor:pointer}.app-shell .language-toggle{margin-left:auto;padding:6px 11px;font-size:12px;font-weight:600;letter-spacing:.02em}.app-shell .password-button{padding:5px 9px;font-size:12px}.app-shell .language-toggle:hover,.app-shell .password-button:hover{background:color-mix(in srgb,var(--field) 84%,var(--text))}.app-shell .topbar-user{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.app-shell .topbar-user>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#fff;background:#ff9f0a;box-shadow:0 2px 8px #ff9f0a54;font-weight:650}.app-shell .topbar-user strong{color:var(--muted);font-size:13px;font-weight:500}.app-shell .protected-data-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;margin-bottom:16px;border:1px solid color-mix(in srgb,var(--blue) 24%,var(--line));border-radius:14px;color:var(--text);background:color-mix(in srgb,var(--blue-soft) 45%,var(--panel-solid))}.app-shell .protected-data-banner strong{display:block;margin-bottom:3px}.app-shell .protected-data-banner p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.app-shell .dashboard-deadline-card{margin-top:0}.app-shell .dashboard-urgent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 3px;border-top:1px solid var(--line)}.app-shell .dashboard-urgent-row:first-child{border-top:0}.app-shell .dashboard-urgent-row>div{min-width:0}.app-shell .dashboard-urgent-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.app-shell .dashboard-empty{padding:30px;color:var(--muted);text-align:center}@media(max-width:800px){.app-shell .theme-switch{margin-left:auto;margin-right:4px}.app-shell .theme-switch button{min-width:28px;padding:0 6px}.app-shell .theme-switch button:last-child{display:none}.app-shell .topbar-backup,.app-shell .password-button{display:none}.app-shell .language-toggle{margin-left:0}.app-shell .protected-data-banner{flex-direction:column}}.app-shell .page-surface{position:relative}.app-shell .page-floating-action{position:absolute;z-index:2;top:-80px;right:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.app-shell .legacy-table-card{padding:22px}.app-shell .legacy-filters{min-height:40px;margin-bottom:14px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.app-shell .legacy-filters .search-field{width:222px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel-solid)}.app-shell .legacy-filters .search-field span{font-size:16px}.app-shell .legacy-filters select,.app-shell .legacy-directory-filters select,.app-shell .employee-directory-controls select,.app-shell .device-status-controls select,.app-shell .legacy-assignment-controls>input,.app-shell .legacy-assignment-controls>select,.app-shell .legacy-device-picker>input,.app-shell .legacy-device-picker>select{height:40px;min-width:0;padding:0 10px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--panel-solid);outline:0}.app-shell .legacy-filters select:focus,.app-shell .legacy-directory-filters select:focus,.app-shell .employee-directory-controls select:focus,.app-shell .device-status-controls select:focus,.app-shell .legacy-assignment-controls>input:focus,.app-shell .legacy-assignment-controls>select:focus,.app-shell .legacy-device-picker>input:focus,.app-shell .legacy-device-picker>select:focus{border-color:var(--blue);box-shadow:var(--focus)}.app-shell .legacy-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid)}.app-shell .legacy-table{width:100%;border:0;border-collapse:separate;border-spacing:0;color:var(--text);table-layout:fixed}.app-shell .legacy-table th,.app-shell .legacy-table td{min-width:0;text-align:left;overflow-wrap:anywhere}.app-shell .legacy-table th{padding:13px 14px;border-bottom:1px solid var(--line);color:var(--muted);background:#fafafa;font-size:12px;line-height:1.25;font-weight:500;white-space:nowrap}:root[data-theme=dark] .app-shell .legacy-table th{background:#232325}.app-shell .legacy-table td{padding:16px 14px;border-bottom:1px solid var(--line);vertical-align:top;font-size:13px;line-height:1.48}.app-shell .legacy-table tbody tr:last-child td{border-bottom:0}.app-shell .legacy-table tbody tr:hover td{background:#f7faff}:root[data-theme=dark] .app-shell .legacy-table tbody tr:hover td{background:#242a31}.app-shell .legacy-table td>strong,.app-shell .legacy-table td>small,.app-shell .legacy-table td>.status-pill{display:block}.app-shell .legacy-table td>small{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.4}.app-shell .legacy-table td>.status-pill{width:max-content;margin-top:7px}.app-shell .legacy-primary-cell .record-link{display:block;margin-bottom:4px;font-size:14px;line-height:1.35;font-weight:650}.app-shell .legacy-progress-cell>div{display:flex;align-items:baseline;gap:3px;white-space:nowrap}.app-shell .legacy-progress-cell>div span{color:var(--muted);font-size:12px}.app-shell .legacy-progress-cell>i{display:block;height:6px;margin:8px 0 5px;overflow:hidden;border-radius:999px;background:var(--field)}.app-shell .legacy-progress-cell>i>b{display:block;height:100%;border-radius:inherit;background:var(--blue)}.app-shell .legacy-progress-cell>small{display:flex!important;align-items:center;justify-content:space-between;gap:8px}.app-shell .legacy-assignee-names{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.app-shell .legacy-assignee-names>span{padding:3px 7px;border-radius:8px;background:var(--field);font-size:11px}.app-shell .legacy-row-actions{justify-content:flex-start;flex-wrap:wrap}.app-shell .legacy-row-actions button{min-height:34px;padding:7px 11px;border:0;border-radius:999px;background:var(--field);font-size:12px}.app-shell .pagination{display:none}.app-shell .pagination:has(button:not(:disabled)){display:flex}.app-shell .orders-legacy-table{min-width:1080px}.app-shell .orders-legacy-table th:nth-child(1){width:13.5%}.app-shell .orders-legacy-table th:nth-child(2){width:14%}.app-shell .orders-legacy-table th:nth-child(3){width:20%}.app-shell .orders-legacy-table th:nth-child(4){width:14.5%}.app-shell .orders-legacy-table th:nth-child(5){width:13%}.app-shell .orders-legacy-table th:nth-child(6){width:11%}.app-shell .orders-legacy-table th:nth-child(7){width:14%}.app-shell .orders-legacy-table .truncate-note{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .legacy-entry-card{padding:22px}.app-shell .legacy-entry-intro{min-height:78px;padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:0;background:color-mix(in srgb,var(--blue-soft) 55%,var(--panel-solid))}.app-shell .legacy-entry-intro strong{font-size:14px;font-weight:650}.app-shell .legacy-entry-intro p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.app-shell .legacy-step-pills{display:flex;align-items:center;gap:8px}.app-shell .legacy-step-pills>span{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--field);font-size:11px;white-space:nowrap}.app-shell .legacy-step-pills b{color:var(--blue)}.app-shell .legacy-entry-form{display:block}.app-shell .legacy-form-section{padding:26px 26px 28px;border-top:1px solid var(--line)}.app-shell .legacy-form-section-title{margin:0 0 20px;display:flex;align-items:flex-start;gap:12px}.app-shell .legacy-form-section-title>span{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:8px;color:var(--blue);background:var(--blue-soft);font-size:12px;font-weight:700}.app-shell .legacy-form-section-title>div{display:grid;gap:4px}.app-shell .legacy-form-section-title strong{font-size:15px;font-weight:650}.app-shell .legacy-form-section-title small{color:var(--muted);font-size:11px}.app-shell .legacy-form-grid{gap:18px 22px}.app-shell .legacy-device-picker{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px}.app-shell .legacy-staffbox{padding:18px;border:1px solid color-mix(in srgb,var(--blue) 30%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--blue-soft) 38%,var(--panel-solid))}.app-shell .legacy-staffbox-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.app-shell .legacy-staffbox-heading strong{font-size:14px}.app-shell .legacy-staffbox-heading b{color:var(--blue);font-size:12px}.app-shell .selected-staff-list{display:grid;gap:7px;margin-bottom:12px}.app-shell .selected-staff-chip{min-height:50px;padding:8px 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;border-bottom:1px solid var(--line)}.app-shell .selected-staff-chip>b{font-size:13px}.app-shell .selected-staff-chip>small{color:var(--muted);font-size:11px}.app-shell .selected-staff-chip>button{grid-column:2;grid-row:1 / 3;width:28px;height:28px;border:0;border-radius:50%;color:var(--muted);background:var(--field);cursor:pointer}.app-shell .legacy-assignment-controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,.58fr) minmax(230px,1.45fr) auto;align-items:center;gap:8px}.app-shell .legacy-form-actions{padding:22px 26px 5px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.app-shell .legacy-form-actions small{color:var(--muted);font-size:11px}.app-shell .legacy-directory-card{padding:22px}.app-shell .legacy-directory-toolbar{min-height:54px;padding:0 0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.app-shell .legacy-directory-title strong{font-size:14px}.app-shell .legacy-directory-title span{color:var(--muted);font-size:12px}.app-shell .legacy-directory-filters{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.app-shell .legacy-directory-filters .search-field{width:230px;height:40px}.app-shell .legacy-directory-filters>select{min-width:120px}.app-shell .legacy-segmented-filter{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--field)}.app-shell .legacy-segmented-filter button{min-height:32px;padding:0 11px;border:0;border-radius:999px;color:var(--muted);background:transparent;cursor:pointer;font-size:12px}.app-shell .legacy-segmented-filter button.active{color:var(--blue);background:var(--panel-solid);box-shadow:0 1px 3px #0000001a}.app-shell .legacy-directory-list{display:grid}.app-shell .legacy-directory-row{min-height:76px;padding:14px 3px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.app-shell .legacy-directory-row:last-child{border-bottom:0}.app-shell .employee-directory-main{min-width:0;display:grid;gap:7px}.app-shell .employee-directory-name,.app-shell .employee-directory-meta,.app-shell .employee-directory-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.app-shell .employee-directory-name>strong{margin-right:2px;font-size:15px}.app-shell .employee-directory-meta{color:var(--muted);font-size:11px}.app-shell .employee-directory-meta>span+span:before{content:"·";margin-right:7px}.app-shell .employee-directory-controls{flex:0 0 auto;justify-content:flex-end}.app-shell .employee-directory-controls>button{min-height:36px;padding:7px 11px;border:0;border-radius:999px;color:var(--text);background:var(--field);cursor:pointer;font-size:12px}.app-shell .employee-directory-controls>.danger-button{color:#fff;background:#ff3b30}.app-shell .employee-directory-controls>select{min-width:112px}.app-shell .devices-legacy-table{min-width:940px}.app-shell .devices-legacy-table th:nth-child(1){width:17%}.app-shell .devices-legacy-table th:nth-child(2){width:21%}.app-shell .devices-legacy-table th:nth-child(3){width:19%}.app-shell .devices-legacy-table th:nth-child(4){width:18%}.app-shell .devices-legacy-table th:nth-child(5){width:25%}.app-shell .legacy-device-status{display:grid;justify-items:start;gap:4px}.app-shell .legacy-device-status small{color:var(--muted);font-size:11px;line-height:1.4}.app-shell .device-status-controls{display:grid;gap:8px}.app-shell .device-status-controls>select{width:100%}@media(max-width:1280px){.app-shell .legacy-directory-toolbar{align-items:flex-start}.app-shell .legacy-directory-filters{flex-wrap:wrap}.app-shell .legacy-directory-row{align-items:flex-start}.app-shell .employee-directory-controls{max-width:430px}}@media(max-width:1100px){.app-shell .orders-legacy-table th:nth-child(6),.app-shell .orders-legacy-table td:nth-child(6){display:none}.app-shell .legacy-assignment-controls{grid-template-columns:1fr 1fr}.app-shell .legacy-assignment-controls>select,.app-shell .legacy-assignment-controls>button{grid-column:1 / -1}.app-shell .legacy-directory-toolbar,.app-shell .legacy-directory-row{flex-direction:column}.app-shell .legacy-directory-filters,.app-shell .employee-directory-controls{width:100%;max-width:none;justify-content:flex-start}}@media(max-width:800px){.app-shell .page-floating-action{position:static;justify-content:flex-start;margin:-9px 0 14px}.app-shell .legacy-entry-card,.app-shell .legacy-directory-card,.app-shell .legacy-table-card{padding:16px}.app-shell .legacy-entry-intro{align-items:flex-start;flex-direction:column;padding:15px}.app-shell .legacy-step-pills{width:100%;overflow-x:auto}.app-shell .legacy-form-section{padding:22px 0}.app-shell .legacy-form-grid,.app-shell .legacy-device-picker,.app-shell .legacy-assignment-controls{grid-template-columns:1fr}.app-shell .legacy-assignment-controls>select,.app-shell .legacy-assignment-controls>button{grid-column:1;width:100%}.app-shell .legacy-form-actions{padding:20px 0 3px;align-items:stretch;flex-direction:column}.app-shell .legacy-form-actions .primary-button{width:100%}.app-shell .legacy-directory-toolbar{align-items:stretch}.app-shell .legacy-directory-filters{display:grid;grid-template-columns:1fr}.app-shell .legacy-directory-filters .search-field{width:100%}.app-shell .legacy-segmented-filter{width:100%;overflow-x:auto}.app-shell .legacy-directory-row{min-height:0}.app-shell .employee-directory-controls{display:grid;grid-template-columns:1fr 1fr}.app-shell .employee-directory-controls>button,.app-shell .employee-directory-controls>select{width:100%}.app-shell .orders-legacy-table,.app-shell .devices-legacy-table{table-layout:auto}}.app-shell .dashboard-stats>article{min-height:106px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow);display:grid;align-content:center;gap:9px}.app-shell .dashboard-stats>article span{color:var(--muted);font-size:13px}.app-shell .dashboard-stats>article strong{font-size:29px;font-weight:600;letter-spacing:-.04em}.app-shell .dashboard-deadline-card{min-height:160px}.app-shell .dashboard-empty{min-height:96px;display:grid;place-items:center}.app-shell .page-top-actions,.app-shell .account-page-toolbar{position:absolute;z-index:2;top:-80px;right:0;min-height:40px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;display:flex;align-items:center;justify-content:flex-end;gap:8px}.app-shell .page-top-actions.filter-bar{flex-wrap:nowrap}.app-shell .page-top-actions .search-field{width:220px;height:40px}.app-shell .page-top-actions>select,.app-shell .page-top-actions>input{height:40px;min-width:140px;padding:0 10px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--panel-solid)}.app-shell .legacy-single-card{padding:22px}.app-shell .legacy-filter-row{margin:0 0 14px}.app-shell .legacy-tablebox{padding:0;overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid)}.app-shell .legacy-table tr.table-head,.app-shell .legacy-table tr.table-row,.app-shell .legacy-table tr.compact-report-head,.app-shell .legacy-table tr.report-summary,.app-shell .legacy-table tr.report-details-row{min-height:0;padding:0;border:0;display:table-row}.app-shell .legacy-table tr.table-row>td,.app-shell .legacy-table tr.report-summary>td{min-width:0;display:table-cell}.app-shell .legacy-table tr.table-row>td:before{display:none}.app-shell .attendance-business-date-notice{margin:0 0 14px;color:#946313;border-color:#ff9f0a3d;background:#ffcc001c}.app-shell .attendance-business-date-notice>div{display:grid;gap:3px}.app-shell .attendance-business-date-notice span{color:var(--muted);font-size:11px;line-height:1.5}.app-shell .attendance-summary-strip,.app-shell .report-summary-strip{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.app-shell .attendance-summary-strip{margin:0 0 14px}.app-shell .attendance-summary-strip>span,.app-shell .report-summary-strip>span{min-height:32px;padding:6px 9px;border-radius:9px;background:var(--field);display:inline-flex;align-items:center;gap:6px}.app-shell .attendance-summary-strip small,.app-shell .report-summary-strip>span{color:var(--muted);font-size:10px}.app-shell .attendance-summary-strip strong,.app-shell .report-summary-strip strong{color:var(--text);font-size:12px}.app-shell .report-summary-strip{margin-left:auto}.app-shell .attendance-table{min-width:1120px}.app-shell .attendance-table th:nth-child(1){width:11%}.app-shell .attendance-table th:nth-child(2){width:19%}.app-shell .attendance-table th:nth-child(3){width:18%}.app-shell .attendance-table th:nth-child(4){width:13%}.app-shell .attendance-table th:nth-child(5){width:10%}.app-shell .attendance-table th:nth-child(6){width:11%}.app-shell .attendance-table th:nth-child(7){width:18%}.app-shell .attendance-card-footer{min-height:42px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.app-shell .attendance-card-footer>p{margin:0;color:var(--muted);font-size:11px}.app-shell .attendance-card-footer .pagination{flex:1;padding:0;border:0}.app-shell .monthly-report-table{min-width:900px}.app-shell .monthly-report-table th:nth-child(1){width:18%}.app-shell .monthly-report-table th:nth-child(2){width:16%}.app-shell .monthly-report-table th:nth-child(3){width:17%}.app-shell .monthly-report-table th:nth-child(4){width:20%}.app-shell .monthly-report-table th:nth-child(5){width:15%}.app-shell .monthly-report-table th:nth-child(6){width:14%}.app-shell .monthly-report-table .report-counts{display:flex!important}.app-shell .monthly-report-table .report-details-row>td{padding:0 14px 16px}.app-shell .output-ledger-title{padding-bottom:14px}.app-shell .output-ledger-title span{color:var(--muted);font-size:11px}.app-shell .daily-output-card .output-order-summary{margin:0 0 14px;padding:13px 14px;border-radius:12px}.app-shell .output-table{min-width:980px}.app-shell .output-table th:nth-child(1){width:14%}.app-shell .output-table th:nth-child(2){width:15%}.app-shell .output-table th:nth-child(3){width:10%}.app-shell .output-table th:nth-child(4){width:12%}.app-shell .output-table th:nth-child(5){width:14%}.app-shell .output-table th:nth-child(6){width:19%}.app-shell .output-table th:nth-child(7){width:16%}.app-shell .page-revenue .finance-controls,.app-shell .page-payroll .payroll-toolbar{position:absolute;z-index:2;top:-88px;right:0;max-width:calc(100% - 330px);margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell .page-revenue .finance-controls input,.app-shell .page-payroll .payroll-toolbar input,.app-shell .page-payroll .payroll-toolbar select{height:40px;background:var(--panel-solid)}.app-shell .page-revenue .revenue-overview-card,.app-shell .page-payroll .payroll-settlement-card{padding:22px}.app-shell .revenue-notice{margin-bottom:14px}.app-shell .revenue-analysis-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid)}.app-shell .page-payroll .payroll-stats{display:none!important}.app-shell .page-payroll .payroll-lock-banner{margin-bottom:14px;border-radius:12px}.app-shell .page-payroll .payroll-table{padding:0;border:1px solid var(--line);border-radius:14px}.app-shell .page-accounts .access-banner{margin-bottom:14px}.app-shell .account-role-overview{margin-bottom:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow)}.app-shell .account-role-overview>.card-title-row{padding:0 0 14px}.app-shell .page-accounts>.business-card,.app-shell .page-audit>.business-card{padding:22px}@media(max-width:1380px){.app-shell .page-revenue .finance-controls,.app-shell .page-payroll .payroll-toolbar{position:static;max-width:none;margin:-8px 0 14px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}}@media(max-width:1080px){.app-shell .page-top-actions,.app-shell .account-page-toolbar{position:static;justify-content:flex-start;margin:-8px 0 14px;flex-wrap:wrap}.app-shell .page-top-actions.filter-bar{flex-wrap:wrap}.app-shell .report-summary-strip{width:100%;margin-left:0}}@media(max-width:800px){.app-shell .dashboard-stats>article{min-height:88px;padding:16px}.app-shell .dashboard-stats>article strong{font-size:24px}.app-shell .legacy-single-card{padding:16px}.app-shell .attendance-card-footer{align-items:flex-start;flex-direction:column}.app-shell .attendance-card-footer .pagination{width:100%}.app-shell .monthly-report-table tr.compact-report-head{display:table-row!important}.app-shell .page-revenue .finance-controls form{width:100%;flex-wrap:wrap}.app-shell .page-revenue .finance-controls input[type=date]{flex:1}}
