@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--color-red-50:#fef2f2;--color-red-300:#ffa3a3;--color-red-700:#bf000f;--color-red-800:#9f0712;--color-zinc-100:#f4f4f5;--color-zinc-500:#71717b;--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-semibold:600;--radius-sm:.25rem;--radius-md:.375rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-50:lab(96.5005% 4.18508 1.52328);--color-red-300:lab(76.5514% 36.422 15.5335);--color-red-700:lab(40.4273% 67.2623 53.7441);--color-red-800:lab(33.7174% 55.8993 41.0293);--color-zinc-100:lab(96.1634% .0993311 -.364041);--color-zinc-500:lab(47.8878% 1.65477 -5.77283)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.h-full{height:100%}.min-h-full{min-height:100%}.min-w-72{min-width:calc(var(--spacing) * 72)}.flex-1{flex:1}.border-collapse{border-collapse:collapse}.flex-col{flex-direction:column}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-red-300{border-color:var(--color-red-300)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-700{background-color:var(--color-red-700)}.bg-white{background-color:var(--color-white)}.bg-zinc-100{background-color:var(--color-zinc-100)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-3{padding-block:calc(var(--spacing) * 3)}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-zinc-500{color:var(--color-zinc-500)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:p-6{padding:calc(var(--spacing) * 6)}}@media (min-width:64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}}:root{--background:#fff;--foreground:#171717;--var-red:#c8102e;--var-red-dark:#980d24;--var-red-soft:#c8102e14;--surface:#fff;--surface-muted:#f4f5f7;--surface-hover:#f9fafb;--border:#e5e7eb;--border-strong:#d1d5db;--text-primary:#171717;--text-secondary:#6b7280;--text-muted:#9ca3af;--radius-sm:8px;--radius-md:12px;--radius-pill:999px;--shadow-sm:0 1px 2px #0f172a0f;--control-padding-y:10px;--control-padding-x:12px;--status-success-text:#15803d;--status-success-bg:#dcfce7;--status-info-text:#1d4ed8;--status-info-bg:#dbeafe;--status-warning-text:#b45309;--status-warning-bg:#fef3c7;--status-danger-text:#991b1b;--status-danger-bg:#fee2e2;--status-neutral-text:#6b7280;--status-neutral-bg:#e5e7eb}input,select,textarea{padding:var(--control-padding-y) var(--control-padding-x);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-primary);font:inherit}input[type=checkbox],input[type=radio]{width:auto}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--var-red);outline-offset:2px}.classic-navigation a:focus-visible{outline-offset:-2px}.table-wrapper tr:hover{background:var(--surface-hover)}.danger-button{border-radius:var(--radius-sm);color:#fff;cursor:pointer;background:#b91c1c;border:0;padding:11px 18px;font-weight:700;transition:background-color .12s,opacity .12s}.danger-button:hover:not(:disabled){background:#991616}.danger-button:disabled{opacity:.6;cursor:not-allowed}.drawer-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1118278c;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer-shell{background:var(--surface);height:100vh;overflow-y:auto;box-shadow:-16px 0 40px #0f172a33}.drawer-head{z-index:2;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;display:flex;position:sticky;top:0}.drawer-close{border:1px solid var(--border-strong);background:var(--surface);color:#374151;cursor:pointer;border-radius:50%;width:38px;height:38px;font-size:25px;line-height:1}.drawer-close:hover{background:var(--surface-hover)}.drawer-body{gap:20px;padding:24px;display:grid}.drawer-foot{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding:18px 24px;display:flex}.operational-controls,.operational-heading{align-items:flex-end;gap:14px;display:flex}.operational-heading{justify-content:space-between}.operational-controls label{color:#606060;gap:5px;font-size:.8rem;display:grid}.operational-controls select{min-width:150px}.operational-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.operational-kpi{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);padding:16px;transition:box-shadow .12s,border-color .12s;position:relative}.operational-kpi:hover{border-color:var(--border-strong);box-shadow:0 4px 10px #0f172a14}.operational-kpi-primary:before{border-radius:var(--radius-md) 0 0 var(--radius-md);background:var(--var-red);content:"";width:3px;position:absolute;inset:0 auto 0 0}.operational-kpi span{color:#666;min-height:2.2em;font-size:.8rem;display:block}.operational-kpi strong{color:#171717;margin-top:7px;font-size:1.35rem;line-height:1.25;display:block}.operational-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;margin-bottom:18px;display:grid}.operational-alerts ul,.recent-activity{margin:0;padding:0;list-style:none}.operational-alerts li{border-bottom:1px solid #ececec;grid-template-columns:76px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px 0;display:grid}.operational-alerts p,.recent-activity p{color:#626262;margin:3px 0 0}.operational-alerts a{color:var(--var-red);font-weight:700;text-decoration:none}.operational-alerts a:hover{color:var(--var-red-dark);text-decoration:underline}.priority-actions{border-top:2px solid #222;margin-top:20px;padding-top:14px}.priority-actions h3{margin:0 0 6px;font-size:1rem}.priority-actions li{grid-template-columns:minmax(0,1fr) auto}.severity,.load{border-radius:999px;width:fit-content;padding:3px 8px;font-size:.72rem;font-weight:700}.severity-high,.load-high{background:var(--status-danger-bg);color:var(--status-danger-text)}.severity-medium,.load-normal{background:var(--status-warning-bg);color:var(--status-warning-text)}.severity-low,.load-low{background:var(--status-success-bg);color:var(--status-success-text)}.distribution-list{gap:12px;display:grid}.distribution-list>div>div:first-child{justify-content:space-between;gap:12px;margin-bottom:5px;font-size:.82rem;display:flex}.distribution-track{background:#e5e5e5;border-radius:999px;height:7px;overflow:hidden}.distribution-track span{background:var(--var-red);height:100%;display:block}.operational-grid td small{color:#737373;margin-top:3px;display:block}.recent-activity li{grid-template-columns:12px minmax(0,1fr);gap:10px;padding:9px 0;display:grid}.recent-activity li>span{background:var(--var-red);border-radius:50%;width:9px;height:9px;margin-top:5px}.recent-activity small,.empty-note{color:#747474}.trend-chart{align-items:end;gap:8px;min-height:240px;padding-top:12px;display:flex;overflow-x:auto}.trend-day{color:#555;text-align:center;grid-template-rows:130px auto auto auto;justify-items:center;min-width:58px;font-size:.72rem;display:grid}.trend-bar{background:#eee;border-radius:6px;align-items:end;width:24px;height:120px;display:flex}.trend-bar span{background:var(--var-red);border-radius:6px;width:100%}.trend-day small{margin-top:5px;line-height:1.35}.dashboard-state{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);align-items:center;gap:14px;padding:24px;display:flex}.dashboard-state.error{align-items:flex-start}.dashboard-state-icon{color:var(--var-red);flex:none}.dashboard-state.error .dashboard-state-icon{color:var(--status-danger-text)}.dashboard-state p{margin:6px 0 14px}@media (max-width:1100px){.operational-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.operational-grid{grid-template-columns:1fr}}@media (max-width:640px){.operational-heading,.operational-controls{flex-direction:column;align-items:stretch}.operational-kpis,.operational-alerts li{grid-template-columns:1fr}}.page-container>.page-heading.operational-heading{min-height:0;color:var(--text-primary);border:0;border-bottom:1px solid var(--border);box-shadow:none;background:0 0;border-radius:0;padding:0 0 22px;overflow:visible}.page-container>.page-heading.operational-heading:before,.page-container>.page-heading.operational-heading:after{content:none}.page-container>.page-heading.operational-heading .eyebrow{box-shadow:none;background:0 0;border:0;padding:0}.page-container>.page-heading.operational-heading h1{color:var(--text-primary);text-shadow:none;font-size:2rem}.page-container>.page-heading.operational-heading>div>p:not(.eyebrow){color:var(--text-secondary)}.page-container>.page-heading.operational-heading select{min-height:42px;color:var(--text-primary);background-color:var(--surface);border:1px solid var(--border-strong);box-shadow:none}.page-container>.page-heading.operational-heading select:focus{border-color:var(--var-red);box-shadow:0 0 0 3px var(--var-red-soft);outline:none}.page-container>.page-heading.operational-heading .dashboard-refresh-button{color:#fff;background:var(--var-red);min-height:42px;box-shadow:none;border:0}.page-container>.page-heading.operational-heading .dashboard-refresh-button:hover:not(:disabled){background:var(--var-red-dark);transform:none}@media (prefers-color-scheme:dark){:root{--background:#0a0a0a;--foreground:#ededed}}body{background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif}.dashboard-layout{background:#f4f5f7;grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#111;flex-direction:column;width:260px;height:100vh;padding:24px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid #303030;align-items:center;gap:12px;padding-bottom:24px;display:flex}.brand-mark{background:#c8102e;border-radius:10px;place-items:center;width:48px;height:48px;font-weight:800;display:grid}.brand strong,.brand span{display:block}.brand span{color:#a3a3a3;margin-top:4px;font-size:12px}.navigation{gap:7px;margin-top:28px;display:grid}.navigation a,.navigation span{color:#d4d4d4;border-radius:8px;padding:12px 14px;text-decoration:none}.navigation a:hover,.navigation a.active{color:#fff;background:#c8102e}.navigation .disabled{color:#666}.sidebar-footer{color:#777;margin-top:auto;padding:12px;font-size:12px}.main-content{grid-column:2}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;min-height:76px;padding:14px 32px;display:flex}.topbar strong,.topbar span{display:block}.topbar span{color:#6b7280;margin-top:4px;font-size:13px}.user-badge{background:#f3f4f6;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:700}.page-container{padding:30px 32px 50px}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.page-heading h1{margin:4px 0 8px;font-size:32px}.page-heading p{color:var(--text-secondary);margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:var(--var-red)!important}.primary-button,.secondary-button,.text-button{border-radius:var(--radius-sm);cursor:pointer;border:0;font-weight:700;transition:background-color .12s,opacity .12s}.primary-button{color:#fff;background:var(--var-red);padding:11px 18px}.primary-button:hover:not(:disabled){background:var(--var-red-dark)}.primary-button:disabled,.secondary-button:disabled,.text-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{border:1px solid var(--border-strong);color:var(--text-primary);background:#e5e7eb;padding:10px 17px}.secondary-button:hover:not(:disabled){background:#d9dbdf}.text-button{color:var(--var-red);background:0 0;padding:7px 10px}.text-button:hover:not(:disabled){background:var(--var-red-soft)}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.stat-card,.panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px}.stat-card{padding:20px}.stat-card span{color:#6b7280;font-size:13px}.stat-card strong{margin-top:8px;font-size:30px;display:block}.panel{margin-bottom:22px;padding:22px}.panel-heading{margin-bottom:20px}.panel-heading h2{margin:0 0 6px}.panel-heading p{color:#6b7280;margin:0}.customer-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.customer-form label{color:#374151;gap:7px;font-size:13px;font-weight:700;display:grid}.customer-form input,.customer-form select,.customer-form textarea,.toolbar input,.toolbar select{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:11px 12px}.customer-form textarea{resize:vertical;min-height:90px}.full-width,.form-actions{grid-column:1/-1}.form-actions{justify-content:flex-end;gap:10px;display:flex}.toolbar{grid-template-columns:1fr 220px;gap:14px;margin-bottom:18px;display:grid}.table-wrapper{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid #e5e7eb;padding:13px 12px}th{color:#6b7280;text-transform:uppercase;font-size:12px}td{font-size:14px}td strong,td small{display:block}td small{color:#6b7280;margin-top:4px}.status-badge{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.status-badge.active{color:#15803d;background:#dcfce7}.status-badge.inactive{color:#6b7280;background:#e5e7eb}.alert{border-radius:8px;margin-bottom:18px;padding:13px 15px}.alert.error{color:#991b1b;background:#fee2e2}.alert.success{color:#166534;background:#dcfce7}@media (max-width:900px){.dashboard-layout{display:block}.sidebar{width:auto;height:auto;position:static}.main-content{grid-column:auto}.stats-grid,.customer-form{grid-template-columns:1fr}.full-width,.form-actions{grid-column:auto}}.inline-actions{flex-wrap:wrap;gap:6px;display:flex}.mileage-editor{align-items:center;gap:6px;margin-top:8px;display:flex}.mileage-editor input{border:1px solid #d1d5db;border-radius:7px;width:120px;padding:7px 8px}@media (max-width:700px){.page-heading{display:block}.toolbar{grid-template-columns:1fr}.page-heading .primary-button{margin-top:16px}}.appointment-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.appointment-scheduled{color:#1d4ed8;background:#dbeafe}.appointment-confirmed{color:#7c3aed;background:#ede9fe}.appointment-in_progress{color:#b45309;background:#fef3c7}.appointment-completed{color:#15803d;background:#dcfce7}.appointment-cancelled{color:#991b1b;background:#fee2e2}.appointment-no_show{color:#4b5563;background:#e5e7eb}.work-order-toolbar{grid-template-columns:minmax(260px,1fr) 220px 200px;gap:14px;margin-bottom:18px;display:grid}.work-order-toolbar input,.work-order-toolbar select,.priority-select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;color:var(--text-primary);padding:10px 11px}.work-order-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.work-order-open{color:#1d4ed8;background:#dbeafe}.work-order-inspection{color:#7c3aed;background:#ede9fe}.work-order-waiting_approval{color:#b45309;background:#fef3c7}.work-order-in_progress{color:#c2410c;background:#ffedd5}.work-order-quality_check{color:#0369a1;background:#e0f2fe}.work-order-ready{color:#15803d;background:#dcfce7}.work-order-delivered{color:#166534;background:#bbf7d0}.work-order-cancelled{color:#991b1b;background:#fee2e2}.priority-select{font-weight:700}.priority-low{color:#4b5563}.priority-normal{color:var(--status-info-text)}.priority-high{color:var(--status-warning-text)}.priority-urgent{color:var(--status-danger-text);background:var(--status-danger-bg)}.date-label{margin-top:8px}@media (max-width:1000px){.work-order-toolbar{grid-template-columns:1fr}}.inspection-toolbar{grid-template-columns:minmax(260px,1fr) 210px 210px;gap:14px;margin-bottom:20px;display:grid}.inspection-toolbar input,.inspection-toolbar select,.inspection-item-form input,.inspection-item-form select,.inspection-item-form textarea{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.inspection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.inspection-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.inspection-card-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.inspection-card-header strong,.inspection-card-header small{display:block}.inspection-card-header small{color:#6b7280;margin-top:5px}.inspection-status,.condition-badge{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.inspection-draft{color:#4b5563;background:#e5e7eb}.inspection-in_progress{color:#b45309;background:#fef3c7}.inspection-completed{color:#15803d;background:#dcfce7}.inspection-cancelled{color:#991b1b;background:#fee2e2}.inspection-meta{margin:18px 0}.inspection-meta p{color:#374151;margin:7px 0;font-size:14px}.inspection-items-summary{background:#f3f4f6;border-radius:8px;justify-content:space-between;gap:12px;margin-bottom:14px;padding:12px;font-size:13px;display:flex}.inspection-detail-heading{justify-content:space-between;gap:20px;display:flex}.inspection-item-list{gap:12px;margin-bottom:24px;display:grid}.inspection-item{border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(180px,1fr) auto minmax(220px,1fr) auto;align-items:center;gap:16px;padding:15px;display:grid}.inspection-item small{color:#6b7280;margin-top:4px;display:block}.inspection-item p{margin:0}.condition-good{color:#15803d;background:#dcfce7}.condition-attention{color:#b45309;background:#fef3c7}.condition-critical{color:#991b1b;background:#fee2e2}.condition-not_applicable{color:#4b5563;background:#e5e7eb}.inspection-item-form{border-top:1px solid #e5e7eb;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding-top:22px;display:grid}.inspection-item-form h3{grid-column:1/-1;margin:0}.inspection-item-form label{gap:7px;font-size:13px;font-weight:700;display:grid}.inspection-item-notes{grid-column:1/-1}.inspection-action-checkbox{flex-direction:row;align-items:center;grid-template-columns:none!important;gap:8px!important;display:flex!important}.inspection-action-checkbox input{width:auto}.inspection-item-form .primary-button{justify-self:start}.inspection-points-drawer{background:#fff;width:min(760px,94vw);height:100vh;animation:.18s ease-out work-order-drawer-enter;overflow-y:auto;box-shadow:-16px 0 40px #0f172a38}.inspection-points-drawer-header{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex;position:sticky;top:0}.inspection-points-drawer-header h2{margin:4px 0 8px}.inspection-points-drawer-header p:last-child{color:#4b5563;margin:0}.inspection-points-drawer-content{gap:22px;padding:24px;display:grid}.inspection-drawer-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.inspection-drawer-summary>div{background:#f3f4f6;border-radius:9px;gap:4px;padding:12px;display:grid}.inspection-drawer-summary span{color:#6b7280;font-size:12px;font-weight:700}.inspection-points-drawer .inspection-item-list{margin-bottom:0}.inspection-points-drawer .inspection-item{grid-template-columns:minmax(0,1fr) auto}.inspection-points-drawer .inspection-item p,.inspection-points-drawer .inspection-item>strong:last-child{grid-column:1/-1}.inspection-points-drawer .inspection-item-form{grid-template-columns:repeat(2,minmax(0,1fr))}.inspection-points-drawer .inspection-item-form .primary-button{grid-column:1/-1;min-width:180px}.inspection-points-drawer button:focus-visible,.inspection-points-drawer input:focus-visible,.inspection-points-drawer select:focus-visible,.inspection-points-drawer textarea:focus-visible{outline-offset:2px;outline:3px solid #b5121b4d}@media (max-width:1050px){.inspection-grid,.inspection-item{grid-template-columns:1fr}}@media (max-width:850px){.inspection-toolbar,.inspection-item-form{grid-template-columns:1fr}.inspection-item-form h3,.inspection-item-notes{grid-column:auto}.inspection-points-drawer{width:min(100%,620px)}.inspection-drawer-summary,.inspection-points-drawer .inspection-item-form{grid-template-columns:1fr 1fr}}@media (max-width:560px){.inspection-points-drawer{width:100%}.inspection-points-drawer-header,.inspection-points-drawer-content{padding:18px}.inspection-drawer-summary,.inspection-points-drawer .inspection-item-form,.inspection-points-drawer .inspection-item{grid-template-columns:1fr}.inspection-points-drawer .inspection-item p,.inspection-points-drawer .inspection-item>strong:last-child,.inspection-points-drawer .inspection-item-form .primary-button{grid-column:auto}}.estimate-toolbar{grid-template-columns:minmax(280px,1fr) 220px;gap:14px;margin-bottom:20px;display:grid}.estimate-toolbar input,.estimate-toolbar select,.estimate-item-form input,.estimate-item-form select,.estimate-item-form textarea{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.estimate-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.estimate-card-header{justify-content:space-between;gap:16px;display:flex}.estimate-card-header strong,.estimate-card-header small{display:block}.estimate-card-header small{color:#6b7280;margin-top:5px}.estimate-card h3{margin:18px 0 12px}.estimate-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.estimate-draft{color:#4b5563;background:#e5e7eb}.estimate-sent{color:#1d4ed8;background:#dbeafe}.estimate-approved{color:#15803d;background:#dcfce7}.estimate-rejected,.estimate-cancelled{color:#991b1b;background:#fee2e2}.estimate-expired{color:#b45309;background:#fef3c7}.estimate-converted{color:#6d28d9;background:#ede9fe}.estimate-meta p{color:#374151;margin:7px 0;font-size:14px}.estimate-total{background:#f3f4f6;border-radius:9px;justify-content:space-between;align-items:center;margin:18px 0;padding:14px;display:flex}.estimate-total strong{font-size:20px}.estimate-detail-heading{justify-content:space-between;gap:20px;display:flex}.estimate-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.estimate-summary div{background:#f3f4f6;border-radius:10px;gap:7px;padding:15px;display:grid}.estimate-summary span{color:#6b7280;font-size:12px}.estimate-summary-total{color:#fff;background:#111827!important}.estimate-summary-total span{color:#d1d5db}.estimate-item-form{border-top:1px solid #e5e7eb;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:24px;padding-top:22px;display:grid}.estimate-item-form h3{grid-column:1/-1;margin:0}.estimate-item-form label{gap:7px;font-size:13px;font-weight:700;display:grid}.estimate-description-field{grid-column:span 2}.estimate-notes-field{grid-column:1/-1}.estimate-item-form .primary-button{justify-self:start}.estimate-approval-note{color:#166534;background:#dcfce7;border-radius:8px;margin-top:20px;padding:14px}@media (max-width:1050px){.estimate-grid{grid-template-columns:1fr}.estimate-summary,.estimate-item-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.estimate-toolbar,.estimate-summary,.estimate-item-form{grid-template-columns:1fr}.estimate-item-form h3,.estimate-description-field,.estimate-notes-field{grid-column:auto}}.invoice-toolbar{grid-template-columns:minmax(280px,1fr) 230px;gap:14px;margin-bottom:20px;display:grid}.invoice-toolbar input,.invoice-toolbar select{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.invoice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.invoice-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.invoice-card-header{justify-content:space-between;gap:16px;display:flex}.invoice-card-header strong,.invoice-card-header small{display:block}.invoice-card-header small{color:#6b7280;margin-top:5px}.invoice-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.invoice-draft{color:#4b5563;background:#e5e7eb}.invoice-issued{color:#1d4ed8;background:#dbeafe}.invoice-partially_paid{color:#b45309;background:#fef3c7}.invoice-paid{color:#15803d;background:#dcfce7}.invoice-overdue{color:#c2410c;background:#ffedd5}.invoice-void{color:#991b1b;background:#fee2e2}.invoice-meta{margin:18px 0}.invoice-meta p{color:#374151;margin:7px 0;font-size:14px}.invoice-financial-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.invoice-financial-summary div{background:#f3f4f6;border-radius:8px;gap:5px;padding:12px;display:grid}.invoice-financial-summary span,.invoice-summary span{color:#6b7280;font-size:12px}.invoice-detail-heading{justify-content:space-between;gap:20px;display:flex}.invoice-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.invoice-summary div{background:#f3f4f6;border-radius:10px;gap:7px;padding:15px;display:grid}.invoice-balance-card{color:#fff;background:#111827!important}.invoice-balance-card span{color:#d1d5db}@media (max-width:1050px){.invoice-grid{grid-template-columns:1fr}.invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.invoice-toolbar,.invoice-summary,.invoice-financial-summary{grid-template-columns:1fr}}.sidebar-nav{scrollbar-width:thin;overscroll-behavior:contain;overflow:hidden auto}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-thumb{background:#fff3;border-radius:999px}.payment-toolbar{grid-template-columns:minmax(280px,1fr) 230px;gap:14px;margin-bottom:20px;display:grid}.payment-toolbar input,.payment-toolbar select{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.payment-invoice-preview{background:#f3f4f6;border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:14px;display:grid}.payment-invoice-preview div,.payment-detail-grid div,.payment-allocation div{gap:5px;display:grid}.payment-invoice-preview span,.payment-detail-grid span,.payment-allocation span{color:#6b7280;font-size:12px}.payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.payment-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.payment-card-header{justify-content:space-between;gap:16px;display:flex}.payment-card-header strong,.payment-card-header small{display:block}.payment-card-header small{color:#6b7280;margin-top:5px}.payment-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.payment-pending{color:#b45309;background:#fef3c7}.payment-completed{color:#15803d;background:#dcfce7}.payment-failed,.payment-cancelled{color:#991b1b;background:#fee2e2}.payment-refunded{color:#6d28d9;background:#ede9fe}.payment-amount{margin:20px 0 14px;font-size:26px;font-weight:900}.payment-meta p{color:#374151;margin:7px 0;font-size:14px}.payment-detail-heading{justify-content:space-between;gap:20px;display:flex}.payment-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.payment-detail-grid div{background:#f3f4f6;border-radius:10px;padding:15px}.payment-allocation{border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;padding:16px;display:grid}.payment-note{background:#f3f4f6;border-radius:8px;padding:14px}@media (max-width:1100px){.payment-invoice-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-grid{grid-template-columns:1fr}.payment-detail-grid,.payment-allocation{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.payment-toolbar,.payment-invoice-preview,.payment-detail-grid,.payment-allocation{grid-template-columns:1fr}}.stock-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.stock-stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:24px;display:grid}.stock-tabs{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:8px;margin-bottom:18px;padding:6px;display:flex}.stock-tabs button{color:#4b5563;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px 16px;font-weight:800}.stock-tabs button.active{color:#fff;background:#111827}.stock-toolbar{grid-template-columns:minmax(260px,1fr) 180px 200px auto;gap:12px;margin-bottom:20px;display:grid}.stock-movement-toolbar{grid-template-columns:minmax(280px,1fr) 240px 180px}.stock-toolbar input,.stock-toolbar select{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.stock-checkbox{align-items:center;gap:8px;padding:0 10px;font-size:13px;font-weight:700;display:flex}.stock-checkbox input{width:auto}.stock-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.stock-product-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.stock-product-low{border-color:#f59e0b;box-shadow:0 0 0 1px #f59e0b26}.stock-product-header{justify-content:space-between;gap:14px;display:flex}.stock-product-header strong,.stock-product-header small{display:block}.stock-product-header small{color:#6b7280;margin-top:5px}.stock-product-status{border-radius:999px;height:fit-content;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.stock-product-active{color:#15803d;background:#dcfce7}.stock-product-inactive{color:#b45309;background:#fef3c7}.stock-product-discontinued{color:#991b1b;background:#fee2e2}.stock-product-card h3{margin:18px 0 6px}.stock-product-category{color:#6b7280;margin:0 0 16px;font-size:13px}.stock-quantity-box{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.stock-quantity-box div{background:#f3f4f6;border-radius:8px;gap:5px;padding:12px;display:grid}.stock-quantity-box span{color:#6b7280;font-size:11px}.stock-quantity-box strong{font-size:18px}.stock-low-alert{color:#92400e;background:#fef3c7;border-radius:8px;margin-bottom:14px;padding:10px 12px;font-size:13px;font-weight:800}.stock-product-meta p{color:#374151;margin:7px 0;font-size:13px}.stock-direction{border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800;display:inline-flex}.stock-direction-in{color:#15803d;background:#dcfce7}.stock-direction-out{color:#991b1b;background:#fee2e2}.stock-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.stock-category-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:16px;padding:18px;display:grid}.stock-category-card h3{margin:0 0 8px}.stock-category-card p{color:#6b7280;margin:0;font-size:14px}.stock-category-footer{justify-content:space-between;gap:10px;font-size:13px;display:flex}.stock-category-active{color:#15803d;font-weight:800}.stock-category-inactive{color:#991b1b;font-weight:800}@media (max-width:1200px){.stock-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-product-grid,.stock-category-grid,.stock-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.stock-heading-actions{justify-content:flex-start}.stock-stats-grid,.stock-product-grid,.stock-category-grid,.stock-toolbar,.stock-movement-toolbar{grid-template-columns:1fr}.stock-tabs{overflow-x:auto}.stock-quantity-box{grid-template-columns:1fr}}.procurement-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.procurement-stats-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:24px;display:grid}.procurement-tabs{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:8px;margin-bottom:18px;padding:6px;display:flex}.procurement-tabs button{color:#4b5563;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px 16px;font-weight:800}.procurement-tabs button.active{color:#fff;background:#111827}.procurement-toolbar{grid-template-columns:minmax(280px,1fr) 220px;gap:12px;margin-bottom:20px;display:grid}.procurement-toolbar input,.procurement-toolbar select{color:#171717;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.supplier-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.supplier-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:18px;padding:20px;display:grid}.supplier-card-header{justify-content:space-between;gap:16px;display:flex}.supplier-card-header strong{color:#6b7280;font-size:12px}.supplier-card-header h3{margin:6px 0 0}.supplier-card-details p{color:#374151;margin:8px 0;font-size:13px}.supplier-card-footer{color:#6b7280;border-top:1px solid #e5e7eb;justify-content:space-between;gap:12px;padding-top:14px;font-size:12px;font-weight:700;display:flex}.procurement-status{white-space:nowrap;border-radius:999px;height:fit-content;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.procurement-status-active,.procurement-status-approved,.procurement-status-received,.procurement-status-posted,.procurement-status-closed{color:#15803d;background:#dcfce7}.procurement-status-draft{color:#4b5563;background:#f3f4f6}.procurement-status-submitted,.procurement-status-partially_received{color:#1d4ed8;background:#dbeafe}.procurement-status-inactive{color:#b45309;background:#fef3c7}.procurement-status-blocked,.procurement-status-cancelled{color:#991b1b;background:#fee2e2}@media (max-width:1300px){.procurement-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.procurement-heading-actions{justify-content:flex-start}.procurement-stats-grid,.supplier-grid,.procurement-toolbar{grid-template-columns:1fr}.procurement-tabs{overflow-x:auto}}.work-order-reservations{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;gap:20px;margin-top:22px;padding:20px;display:grid}.work-order-reservations-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.work-order-reservations-heading h3{margin:4px 0 6px}.work-order-reservations-heading p{margin:0}.reservation-summary{flex-wrap:wrap;gap:8px;display:flex}.reservation-summary span{color:#374151;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.reservation-warning{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:9px;padding:12px 14px}.reservation-form{background:#fff;border-radius:10px;grid-template-columns:minmax(260px,2fr) minmax(140px,1fr);gap:14px;padding:18px;display:grid}.reservation-form label{color:#374151;gap:7px;font-size:13px;font-weight:700;display:grid}.reservation-form input,.reservation-form select,.reservation-form textarea{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:10px 11px}.selected-stock-product{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.selected-stock-product span,.reservation-quantities span{color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;gap:4px;padding:10px;font-size:12px;display:grid}.selected-stock-product strong,.reservation-quantities strong{color:#111827;font-size:15px}.reservation-list{gap:14px;display:grid}.reservation-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:14px;padding:17px;display:grid}.reservation-card-main{justify-content:space-between;gap:18px;display:flex}.reservation-card-main h4{margin:5px 0}.reservation-card-main small{color:#6b7280}.reservation-quantities{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.reservation-card-meta{color:#6b7280;flex-wrap:wrap;gap:8px 18px;font-size:12px;display:flex}.reservation-card-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding-top:12px;display:flex}.reservation-status{border-radius:999px;height:fit-content;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.reservation-status-active{color:#1d4ed8;background:#dbeafe}.reservation-status-consumed{color:#15803d;background:#dcfce7}.reservation-status-released{color:#b45309;background:#fef3c7}.reservation-status-cancelled{color:#991b1b;background:#fee2e2}@media (max-width:850px){.work-order-reservations-heading{display:grid}.reservation-form,.selected-stock-product,.reservation-quantities{grid-template-columns:1fr}}.work-order-drawer-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1118278c;justify-content:flex-end;display:flex;position:fixed;inset:0}.work-order-drawer{background:#fff;width:min(1180px,92vw);height:100vh;animation:.18s ease-out work-order-drawer-enter;overflow-y:auto;box-shadow:-16px 0 40px #0f172a33}@keyframes work-order-drawer-enter{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.work-order-drawer-header{z-index:2;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;display:flex;position:sticky;top:0}.work-order-drawer-header h2{margin:4px 0 10px}.work-order-drawer-context{color:#4b5563;margin:0 0 10px;font-size:.9rem}.work-order-drawer-tabs{background:#fffffff5;border-bottom:1px solid #e5e7eb;gap:4px;padding:10px 24px 0;display:flex;overflow-x:auto}.work-order-drawer-tabs button{color:#4b5563;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 13px;font-weight:700}.work-order-drawer-tabs button.active{border-bottom-color:var(--var-red);color:var(--var-red-dark)}.work-order-drawer-tab-panel{gap:20px;display:grid}.work-order-drawer-tab-panel[hidden]{display:none}.work-order-drawer-badges{flex-wrap:wrap;gap:8px;display:flex}.work-order-drawer-close{border:1px solid var(--border-strong);background:var(--surface);color:#374151;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.work-order-drawer-close:hover{background:#f3f4f6}.work-order-drawer-content{gap:20px;padding:24px;display:grid}.work-order-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.work-order-detail-card{border:1px solid var(--border);background:var(--surface-hover);border-radius:10px;gap:5px;padding:16px;display:grid}.work-order-detail-card span,.work-order-description-panel span{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:800}.work-order-detail-card strong{color:#111827}.work-order-detail-card small{color:var(--text-secondary)}.work-order-description-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);gap:18px;padding:20px;display:grid}.work-order-description-panel>div{gap:7px;display:grid}.work-order-description-panel p{color:#374151;margin:0;line-height:1.6}.workflow-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:20px}.workflow-heading,.workflow-section-heading,.workflow-progress-label{justify-content:space-between;align-items:center;gap:16px;display:flex}.workflow-heading h3,.workflow-section-heading h4{margin:0}.workflow-refresh{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-primary);cursor:pointer;padding:8px 12px}.workflow-refresh:hover,.workflow-refresh:focus-visible{border-color:var(--var-red);outline:none}.workflow-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.workflow-summary>div{background:var(--surface-muted);border-radius:10px;min-width:0;padding:12px}.workflow-summary span,.workflow-summary strong{display:block}.workflow-summary span{color:var(--text-secondary);margin-bottom:5px;font-size:.78rem}.workflow-overall{border-radius:999px;width:fit-content;padding:3px 8px}.workflow-overall-active,.workflow-overall-completed{background:var(--status-success-bg);color:var(--status-success-text)}.workflow-overall-blocked,.workflow-overall-cancelled{background:var(--status-danger-bg);color:var(--status-danger-text)}.workflow-progress-block{margin-top:20px}.workflow-progress-track{background:var(--border);border-radius:999px;height:9px;margin-top:8px;overflow:hidden}.workflow-progress-track span{border-radius:inherit;background:var(--var-red);height:100%;display:block}.workflow-blocking{border-left:4px solid var(--status-warning-text);background:var(--status-warning-bg);align-items:flex-start;gap:10px;margin-top:18px;padding:12px 14px;display:flex}.workflow-blocking-icon{color:var(--status-warning-text);flex:none;margin-top:1px}.workflow-blocking strong,.workflow-blocking li{color:#92400e}.workflow-blocking ul,.workflow-actions ul{margin:8px 0 0;padding-left:20px}.workflow-section-heading{margin-top:22px}.workflow-section-heading span{color:var(--text-secondary);font-size:.8rem}.workflow-action-list{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.workflow-action-row{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-primary);align-items:center;gap:10px;padding:9px 12px;font-size:.85rem;display:flex}.workflow-action-dot{background:var(--var-red);border-radius:50%;flex:none;width:6px;height:6px}.workflow-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:14px 0 0;padding:0;list-style:none;display:grid}.workflow-step{border-radius:9px;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:9px;display:grid}.workflow-step-marker{border:1px solid var(--border-strong);width:28px;height:28px;color:var(--text-secondary);border-radius:50%;place-items:center;font-size:.78rem;font-weight:700;display:grid}.workflow-step div>*{display:block}.workflow-step div>span,.workflow-step small{color:var(--text-secondary);margin-top:2px;font-size:.76rem}.workflow-step p{color:#92400e;margin:5px 0 0;font-size:.8rem}.workflow-step-completed .workflow-step-marker{border-color:var(--status-success-text);background:var(--status-success-text);color:#fff}.workflow-step-active{background:var(--var-red-soft);box-shadow:inset 3px 0 var(--var-red)}.workflow-step-active .workflow-step-marker{border-color:var(--var-red);background:var(--var-red);color:#fff}.workflow-step-pending{opacity:.72}.workflow-step-blocked{background:var(--status-warning-bg);box-shadow:inset 3px 0 var(--status-warning-text)}.workflow-step-blocked .workflow-step-marker{border-color:var(--status-warning-text);color:var(--status-warning-text)}.workflow-actions>p,.workflow-empty p,.workflow-loading{color:var(--text-secondary)}.workflow-actions li{margin-bottom:5px}@media (max-width:720px){.workflow-summary,.workflow-timeline{grid-template-columns:1fr}}.priority-badge{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.priority-badge.priority-low{color:#4b5563;background:#f3f4f6}.priority-badge.priority-normal{color:var(--status-info-text);background:var(--status-info-bg)}.priority-badge.priority-high{color:var(--status-warning-text);background:var(--status-warning-bg)}.priority-badge.priority-urgent{color:var(--status-danger-text);background:var(--status-danger-bg)}.compact-button{padding:7px 10px;font-size:12px}@media (max-width:650px){.work-order-drawer{width:100%}.work-order-drawer-header,.work-order-drawer-content{padding:18px}.work-order-detail-grid{grid-template-columns:1fr}}.work-order-consumed-parts{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;gap:18px;padding:20px;display:grid}.consumed-parts-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.consumed-parts-heading h3{margin:4px 0 6px}.consumed-parts-heading p{margin:0}.consumed-parts-summary{flex-wrap:wrap;gap:8px;display:flex}.consumed-parts-summary span{color:#374151;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.consumed-parts-empty{color:#6b7280;text-align:center;background:#fff;border:1px dashed #d1d5db;border-radius:9px;padding:18px}.consumed-parts-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.consumed-parts-totals article{background:#fff;border:1px solid #e5e7eb;border-radius:9px;gap:5px;padding:14px;display:grid}.consumed-parts-totals span{color:#6b7280;font-size:12px}.consumed-parts-totals strong{color:#111827;font-size:17px}.consumed-parts-list{gap:12px;display:grid}.consumed-part-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:14px;padding:17px;display:grid}.consumed-part-header{justify-content:space-between;gap:16px;display:flex}.consumed-part-header h4{margin:5px 0}.consumed-part-header small{color:#6b7280}.movement-out-badge{color:#991b1b;background:#fee2e2;border-radius:999px;height:fit-content;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.consumed-part-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.consumed-part-values span{color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;gap:4px;padding:10px;font-size:11px;display:grid}.consumed-part-values strong{color:#111827;font-size:14px}.consumed-part-meta{color:#6b7280;border-top:1px solid #e5e7eb;flex-wrap:wrap;gap:7px 16px;padding-top:12px;font-size:12px;display:flex}@media (max-width:700px){.consumed-parts-heading{display:grid}.consumed-parts-totals,.consumed-part-values{grid-template-columns:1fr}}.work-order-labor-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-hover);gap:18px;padding:20px;display:grid}.work-order-labor-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.work-order-labor-heading h3{margin:4px 0 6px}.work-order-labor-heading p{margin:0}.labor-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.labor-summary-grid article{border:1px solid var(--border);background:var(--surface);border-radius:9px;gap:5px;padding:12px;display:grid}.labor-summary-grid span{color:var(--text-secondary);font-size:11px}.labor-summary-grid strong{color:#111827;font-size:15px}.labor-form{background:var(--surface);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px;display:grid}.labor-form label{color:#374151;gap:7px;font-size:13px;font-weight:700;display:grid}.labor-form input,.labor-form select,.labor-form textarea{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;padding:10px 11px}.labor-entry-list{gap:12px;display:grid}.labor-empty{border:1px dashed var(--border-strong);background:var(--surface);color:var(--text-secondary);text-align:center;border-radius:9px;padding:18px}.labor-entry-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;gap:14px;padding:17px;display:grid}.labor-entry-header{justify-content:space-between;gap:16px;display:flex}.labor-entry-header>div>strong{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:800;display:block}.labor-entry-header h4{margin:5px 0}.labor-entry-header small{color:var(--text-secondary)}.labor-entry-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.labor-entry-values span{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-hover);color:var(--text-secondary);gap:4px;padding:10px;font-size:11px;display:grid}.labor-entry-values strong{color:#111827;font-size:13px}.labor-status{border-radius:999px;height:fit-content;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.labor-status-planned{color:var(--status-info-text);background:var(--status-info-bg)}.labor-status-in_progress{color:var(--status-warning-text);background:var(--status-warning-bg)}.labor-status-completed{color:var(--status-success-text);background:var(--status-success-bg)}.labor-status-cancelled{color:var(--status-danger-text);background:var(--status-danger-bg)}.labor-notes,.labor-cancellation{border-radius:var(--radius-sm);background:var(--surface-hover);color:#4b5563;margin:0;padding:10px}.labor-cancellation{color:var(--status-danger-text);background:#fef2f2}.labor-entry-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding-top:12px;display:flex}.labor-entry-actions button{align-items:center;gap:6px;display:inline-flex}@media (max-width:750px){.work-order-labor-heading{display:grid}.labor-summary-grid,.labor-form,.labor-entry-values{grid-template-columns:1fr}}.work-order-invoice-panel{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;gap:18px;padding:20px;display:grid}.work-order-invoice-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.work-order-invoice-heading h3{margin:4px 0 6px}.work-order-invoice-heading p{margin:0}.invoice-preview-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.invoice-preview-summary article{background:#fff;border:1px solid #e5e7eb;border-radius:9px;gap:5px;padding:13px;display:grid}.invoice-preview-summary span,.existing-invoice-card span{color:#6b7280;font-size:11px}.invoice-preview-summary strong,.existing-invoice-card strong{color:#111827;font-size:16px}.invoice-empty{color:#6b7280;text-align:center;background:#fff;border:1px dashed #d1d5db;border-radius:9px;padding:18px}.invoice-preview-list{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:10px;padding:16px;display:grid}.invoice-preview-list h4{margin:0 0 4px}.invoice-preview-row{border-top:1px solid #f3f4f6;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;display:flex}.invoice-preview-row:first-of-type{border-top:0}.invoice-preview-row>div{gap:3px;display:grid}.invoice-preview-row small{color:#6b7280}.invoice-preview-row>span{color:#111827;white-space:nowrap;font-weight:800}.existing-invoice-card{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:center;gap:16px;padding:18px;display:grid}.existing-invoice-card>div{gap:5px;display:grid}.existing-invoice-card small{color:#4b5563}@media (max-width:750px){.work-order-invoice-heading,.invoice-preview-row{display:grid}.invoice-preview-summary,.existing-invoice-card{grid-template-columns:1fr}}.invoice-commercial-card{background:linear-gradient(135deg,#fff 0%,#f0fdf4 100%);border:1px solid #bbf7d0;border-radius:12px;gap:18px;padding:20px;display:grid}.invoice-commercial-header{border-bottom:1px solid #d1fae5;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:14px;display:flex}.invoice-commercial-header h4{margin:4px 0 0;font-size:24px}.invoice-status-badge{border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;display:inline-flex}.invoice-status-draft{color:#92400e;background:#fef3c7}.invoice-status-issued{color:#1d4ed8;background:#dbeafe}.invoice-status-partially_paid{color:#7c3aed;background:#ede9fe}.invoice-status-paid{color:#15803d;background:#dcfce7}.invoice-status-overdue{color:#b91c1c;background:#fee2e2}.invoice-status-void{color:#4b5563;background:#e5e7eb}.invoice-commercial-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.invoice-commercial-values>div{background:#fff;border:1px solid #e5e7eb;border-radius:9px;gap:6px;padding:14px;display:grid}.invoice-commercial-values span{color:#6b7280;font-size:11px}.invoice-commercial-values strong{color:#111827;font-size:16px}.invoice-commercial-meta{color:#6b7280;background:#fff;border-radius:9px;flex-wrap:wrap;gap:10px 22px;padding:12px 14px;font-size:12px;display:flex}.invoice-commercial-meta strong{color:#111827}.invoice-commercial-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:4px;display:flex}@media (max-width:800px){.invoice-commercial-values{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.invoice-commercial-header{display:grid}.invoice-commercial-values{grid-template-columns:1fr}.invoice-commercial-actions{display:grid}.invoice-commercial-actions a{text-align:center;justify-content:center}}.invoice-document-identity{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.invoice-document-identity article{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;gap:6px;padding:16px;display:grid}.invoice-document-identity span,.invoice-document-notes span{color:#6b7280;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.invoice-document-identity strong{color:#111827;font-size:16px}.invoice-document-identity small{color:#6b7280}.invoice-document-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.invoice-document-notes article{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:16px}.invoice-document-notes p{color:#374151;white-space:pre-wrap;margin:8px 0 0}@media (max-width:800px){.invoice-document-identity,.invoice-document-notes{grid-template-columns:1fr}.invoice-detail-actions{justify-content:flex-start}}@media print{@page{size:A4;margin:12mm}body{background:#fff!important}aside,nav,header,.page-heading,.stats-grid,.invoice-toolbar,.invoice-grid,.alert,.invoice-detail-actions,.panel:not(:last-of-type){display:none!important}main{margin:0!important;padding:0!important}.panel{box-shadow:none!important;border:0!important;padding:0!important}.invoice-detail-heading{border-bottom:2px solid #111827;margin-bottom:18px;display:flex!important}.invoice-document-identity article,.invoice-summary>div,.invoice-document-notes article{break-inside:avoid;background:#fff!important}table{font-size:10pt}a{color:inherit!important;text-decoration:none!important}}.dashboard-layout{min-height:100vh}.sidebar{flex-direction:column;align-self:flex-start;height:100vh;min-height:100vh;display:flex;position:sticky;top:0;overflow:hidden}.sidebar .brand{flex:none}.sidebar nav{scrollbar-width:thin;scrollbar-color:#ffffff47 transparent;flex:auto;min-height:0;padding-right:6px;overflow:hidden auto}.sidebar nav::-webkit-scrollbar-track{background:0 0}.sidebar-footer{border-top:1px solid #ffffff1a;flex:none;margin-top:10px;padding-top:14px}.main-content{min-width:0}@media (max-width:900px){.sidebar{height:100dvh;min-height:100dvh;position:fixed;top:0;bottom:0;left:0}}.invoice-document-panel{scroll-margin-top:24px}.invoice-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (max-width:700px){.invoice-detail-actions{justify-content:flex-start}}.invoice-print-header,.invoice-print-footer{display:none}@media print{@page{size:A4 portrait;margin:12mm}html,body{background:#fff!important;margin:0!important;padding:0!important}body *{visibility:hidden}#invoice-detail,#invoice-detail *{visibility:visible}#invoice-detail{width:100%;position:absolute;top:0;left:0;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}.invoice-print-header{border-bottom:2px solid #cf0a2c;grid-template-columns:170px 1fr auto;align-items:center;gap:18px;margin-bottom:22px;padding-bottom:16px;display:grid}.invoice-print-header img{object-fit:contain;width:160px;height:auto;display:block}.invoice-print-header>div{gap:4px;display:grid}.invoice-print-header strong{color:#111;font-size:18px}.invoice-print-header span,.invoice-print-header small{color:#555}.invoice-print-number{text-align:right;justify-items:end}.invoice-print-number>span{color:#cf0a2c;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.invoice-detail-actions{display:none!important}.invoice-detail-heading{border-bottom:1px solid #d1d5db;margin-bottom:16px;padding-bottom:12px}.invoice-document-identity{grid-template-columns:repeat(3,1fr)!important}.invoice-document-identity article,.invoice-summary>div,.invoice-document-notes article{break-inside:avoid;background:#fff!important;border:1px solid #d1d5db!important}.table-wrapper{overflow:visible!important}table{border-collapse:collapse;width:100%;font-size:9.5pt}thead{display:table-header-group}tr{break-inside:avoid}th{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#111!important}th,td{border:1px solid #d1d5db;padding:8px!important}.invoice-balance-card{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#cf0a2c!important}.invoice-balance-card span,.invoice-balance-card strong{color:#fff!important}.invoice-print-footer{color:#555;border-top:1px solid #d1d5db;justify-content:space-between;align-items:flex-end;gap:20px;margin-top:28px;padding-top:14px;font-size:10px;display:flex}.invoice-print-footer>div{gap:3px;display:grid}.invoice-print-footer>div:last-child{text-align:right}@page{size:A4 portrait;margin:8mm}#invoice-detail{font-size:9.5pt!important;line-height:1.25!important}.invoice-print-header{grid-template-columns:160px 1fr auto!important;gap:14px!important;margin-bottom:12px!important;padding-bottom:10px!important}.invoice-print-header img{width:150px!important;height:auto!important}.invoice-print-header>div{gap:2px!important}.invoice-print-header strong{font-size:15px!important}.invoice-print-header span,.invoice-print-header small{font-size:9px!important}.invoice-print-number>strong{font-size:18px!important}.invoice-detail-heading{margin-bottom:10px!important;padding-bottom:8px!important}.invoice-detail-heading h2{margin:2px 0!important;font-size:17px!important}.invoice-detail-heading p{margin:2px 0!important}.invoice-document-identity{gap:8px!important;margin-bottom:10px!important}.invoice-document-identity article{border-radius:6px!important;gap:3px!important;padding:10px!important}.invoice-document-identity strong{font-size:12px!important}.invoice-document-identity span,.invoice-document-identity small{font-size:8.5px!important}.invoice-summary{gap:7px!important;margin-bottom:10px!important}.invoice-summary>div{border-radius:6px!important;gap:3px!important;padding:9px!important}.invoice-summary span{font-size:8.5px!important}.invoice-summary strong{font-size:12px!important}.table-wrapper{margin-top:8px!important}table{font-size:8.5pt!important}th,td{padding:5px 6px!important}td small{margin-top:2px;display:block;font-size:7.5pt!important}.invoice-document-notes{gap:8px!important;margin-top:10px!important}.invoice-document-notes article{border-radius:6px!important;padding:9px!important}.invoice-document-notes p{margin-top:4px!important;font-size:8.5pt!important}.invoice-print-footer{margin-top:12px!important;padding-top:8px!important;font-size:8px!important}.invoice-print-footer strong{font-size:9px!important}.invoice-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:10px 0!important;display:grid!important}.invoice-summary>div{break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;border:1px solid #d1d5db!important;border-radius:6px!important;align-content:center!important;gap:3px!important;min-height:58px!important;padding:8px 10px!important;display:grid!important}.invoice-summary>div span{color:#6b7280!important;font-size:8.5px!important;font-weight:500!important;display:block!important}.invoice-summary>div strong{color:#111827!important;font-size:12px!important;font-weight:800!important;display:block!important}.invoice-summary .invoice-balance-card{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#fff5f6!important;border:2px solid #cf0a2c!important}.invoice-summary .invoice-balance-card span{color:#991b1b!important}.invoice-summary .invoice-balance-card strong{color:#cf0a2c!important;font-size:13px!important}.invoice-summary+.table-wrapper{margin-top:10px!important}.invoice-summary>div:nth-child(4){-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#cf0a2c!important;border:2px solid #cf0a2c!important}.invoice-summary>div:nth-child(4) span,.invoice-summary>div:nth-child(4) strong{color:#fff!important}.invoice-summary>div:nth-child(4) strong{font-size:13px!important}.invoice-summary>div:nth-child(5){-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#f0fdf4!important;border:1px solid #86efac!important}.invoice-summary>div:nth-child(5) span{color:#166534!important}.invoice-summary>div:nth-child(5) strong{color:#15803d!important;font-size:13px!important}#invoice-detail table{margin-top:2px!important}#invoice-detail thead tr{height:34px!important}#invoice-detail tbody tr{min-height:42px!important}#invoice-detail th{vertical-align:middle!important;padding:7px!important;font-size:8.5pt!important}#invoice-detail td{vertical-align:middle!important;padding:8px 7px!important}#invoice-detail td strong{line-height:1.25!important}.invoice-print-footer{align-items:flex-start!important;margin-top:15px!important;padding-top:9px!important}.invoice-print-footer>div{gap:2px!important}.invoice-print-footer strong{color:#111827!important;font-size:9px!important}.invoice-print-footer span,.invoice-print-footer small{color:#4b5563!important;font-size:7.5px!important}}.payment-form-panel{scroll-margin-top:24px}.auth-loading,.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-page{background:#f3f5f7}.login-card{background:#fff;border-radius:16px;gap:18px;width:min(100%,420px);padding:32px;display:grid;box-shadow:0 18px 50px #0f172a1f}.login-card h1,.login-card p{margin:0}.login-card label{gap:7px;font-weight:600;display:grid}.login-card input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px}.login-card button,.user-badge button{cursor:pointer}.login-card button{color:#fff;background:#b91c1c;border:0;border-radius:8px;padding:12px;font-weight:700}.login-card button:disabled{opacity:.65}.form-error{color:#991b1b;background:#fee2e2;border-radius:8px;padding:10px}.user-badge{justify-items:end;gap:2px;display:grid}.user-badge small{opacity:.7;font-size:11px}.user-badge button{color:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.ui-state{text-align:center;color:#52525b;border:1px dashed #cbd5e1;border-radius:12px;padding:28px}.ui-state p{margin:6px 0 0}.status-badge{background:#e4e4e7;border-radius:999px;padding:4px 9px;font-size:.78rem;font-weight:700;display:inline-flex}.status-approved,.status-paid,.status-posted,.status-completed,.status-active{color:#166534;background:#dcfce7}.status-rejected,.status-cancelled,.status-void,.status-disputed,.status-overdue{color:#991b1b;background:#fee2e2}.status-submitted,.status-received,.status-due,.status-in_review{color:#92400e;background:#fef3c7}.money-stack{gap:2px;display:grid}.analytics-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.analytics-heading h1{margin:4px 0 7px;font-size:clamp(1.8rem,3vw,2.35rem);line-height:1.1}.analytics-heading p:last-child{color:#666;margin:0}.analytics-filters{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:10px;display:flex}.analytics-filters label{color:#606060;gap:5px;font-size:.8rem;font-weight:700;display:grid}.analytics-filters select,.analytics-filters input{color:#202020;min-width:135px;min-height:40px;font:inherit;background:#fff;border:1px solid #cfcfcf;border-radius:7px;padding:8px 10px}.analytics-tabs{border-bottom:1px solid #d9d9d9;gap:2px;display:flex;overflow-x:auto}.analytics-tabs button{color:#555;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:none;padding:10px 13px;font-weight:700}.analytics-tabs button.active{color:#8d1017;border-bottom-color:#b5121b}.analytics-tabs button:focus-visible{outline-offset:-3px;outline:3px solid #b5121b40}.analytics-executive-card{background:#fff;border:1px solid #dedede;border-radius:9px;align-content:space-between;gap:12px;min-height:112px;padding:16px;display:grid;box-shadow:0 1px 2px #0f172a0a}.analytics-executive-card span{color:#666;font-size:.8rem}.analytics-executive-card strong{color:#171717;font-size:1.25rem;line-height:1.3}.analytics-overview-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;display:grid}.analytics-quality-panel ul{color:#555;margin:10px 0 18px;padding-left:20px}.analytics-quality-panel li{margin-bottom:7px}.analytics-quality-panel h3{margin:20px 0 8px;font-size:1rem}.analytics-detail-panel{min-width:0}.analytics-section{gap:20px;margin-top:18px;display:grid}.analytics-kpis{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.analytics-card{background:#fff;border:1px solid #dedede;border-radius:9px;align-content:space-between;gap:8px;min-height:104px;padding:16px;display:grid}.analytics-card>span{color:#71717a;font-size:.85rem}.analytics-card>strong{font-size:1.1rem}.analytics-panels{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.analytics-panels>section,.analytics-section>section{background:#fff;border:1px solid #dedede;border-radius:9px;padding:16px}.analytics-row{border-bottom:1px solid #f4f4f5;justify-content:space-between;gap:16px;padding:9px 0;display:flex}.employee-documents{border:1px solid #d7d7d7;border-radius:10px;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;display:grid}.employee-documents legend{color:#333;text-transform:uppercase;letter-spacing:.04em;padding:0 8px;font-size:.82rem;font-weight:800}.employee-upload{background:#fafafa;border:1px dashed #b8b8b8;border-radius:8px;align-content:start;padding:14px}.employee-upload input{border:0;padding:8px 0}.employee-upload>small,.employee-upload span small{color:#6b7280;font-weight:400;display:block}.employee-upload img{object-fit:cover;border-radius:6px;width:88px;height:106px;margin-top:10px}.employee-upload span{gap:4px;margin-top:10px;display:grid}.employee-drawer-backdrop{justify-content:center;align-items:center;padding:32px;display:flex}.employee-drawer{border-radius:14px;width:min(1180px,92vw);max-width:none;height:min(860px,88vh);position:relative;inset:auto;overflow:hidden;box-shadow:0 24px 70px #0f172a47}.employee-drawer-header-actions{align-items:center;gap:10px;display:flex}.employee-profile{gap:18px}.employee-profile-summary{border:1px solid #dedede;border-radius:10px;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:22px;padding:18px;display:grid}.employee-profile-photo{object-fit:cover;border-radius:8px;width:132px;height:156px}.employee-photo-placeholder{color:#555;text-align:center;background:#ececec;place-content:center;justify-items:center;gap:6px;display:grid}.employee-photo-placeholder span{font-size:1.7rem;font-weight:800}.employee-photo-placeholder small{font-size:.68rem}.employee-profile-summary h3{margin:0 0 5px;font-size:1.25rem}.employee-profile-summary p{color:#666;margin:0 0 12px}.employee-active-state{color:#555;background:#f3f4f6;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:800;display:inline-flex}.employee-active-state.active{color:#166534;background:#dcfce7}.employee-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.employee-profile-grid>article{background:#fff;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:16px}.employee-profile-grid dl{gap:9px;margin:12px 0 0;display:grid}.employee-profile-grid dl div{border-bottom:1px solid #f1f2f4;grid-template-columns:minmax(90px,.45fr) minmax(0,1fr);gap:10px;padding-bottom:8px;display:grid}.employee-profile-grid dt{color:#6b7280;font-size:.78rem}.employee-profile-grid dd{overflow-wrap:anywhere;color:#252525;text-align:right;min-width:0;margin:0;font-size:.84rem;font-weight:700}.employee-editor{gap:18px;margin-bottom:18px;display:grid}.employee-list-actions{align-items:center;gap:8px;min-width:188px;display:flex}.employee-secondary-actions{position:relative}.employee-secondary-actions summary{color:#27272a;cursor:pointer;background:#fff;border:1px solid #d4d4d8;border-radius:7px;place-items:center;width:36px;height:34px;font-size:1.25rem;font-weight:800;list-style:none;display:grid}.employee-secondary-actions summary::-webkit-details-marker{display:none}.employee-secondary-actions[open] summary{color:#8d1017;border-color:#b5121b}.employee-secondary-actions>div{z-index:20;background:#fff;border:1px solid #dedede;border-radius:8px;min-width:155px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 28px #0f172a29}.employee-secondary-actions button{color:#27272a;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;padding:9px 10px;font-size:.84rem}.employee-secondary-actions button:hover{background:#f5f5f5}.employee-files-panel{gap:14px;display:grid}.employee-document-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.employee-document-status-grid article{background:#fafafa;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;gap:12px;padding:12px;display:flex}.employee-document-status-grid span{color:#6b7280}.employee-file-row{border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:13px;display:flex}.employee-file-row p{color:#555;margin:4px 0}.employee-file-row small{color:#777}.employee-badge-section{background:linear-gradient(135deg,#fafafa,#f2f3f4);border:1px solid #dedede;border-radius:12px;gap:18px;padding:20px;display:grid;overflow-x:auto}.employee-badge-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.employee-badge-toolbar h3,.employee-badge-toolbar p{margin:0}.employee-badge-toolbar .eyebrow{margin-bottom:4px}.employee-badge-toolbar p{color:#666;font-size:.82rem}.employee-badge{color:#18181b;box-sizing:border-box;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:linear-gradient(145deg,#fff 0% 70%,#f5f5f5 100%);border:.3mm solid #d5d7da;border-radius:2.6mm;flex:none;grid-template-rows:12mm 32mm 10mm;grid-template-columns:21mm minmax(0,1fr) 22mm;width:86mm;height:54mm;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 30px #0f172a29}.employee-badge-top-line{background:#b5121b;height:2mm;position:absolute;inset:0 0 auto}.employee-badge-accent{background:#b5121b;width:1.3mm;position:absolute;inset:2mm auto 0 0}.employee-badge-logo{object-fit:contain;object-position:left center;grid-area:1/1/auto/3;width:28mm;height:9mm;margin:2.4mm 0 0 4mm}.employee-badge-label{color:#6b7280;letter-spacing:.18em;grid-area:1/2;place-self:center end;margin:2.2mm 1.5mm 0 0;font-size:1.9mm;font-weight:800}.employee-badge-photo{object-fit:cover;background:#f1f2f3;border:.35mm solid #d5d7da;border-radius:1.4mm;grid-area:2/1;place-self:center;width:17mm;height:24mm;margin-left:1.2mm}.employee-badge-photo-placeholder{color:#4b5563;place-content:center;justify-items:center;display:grid}.employee-badge-photo-placeholder strong{font-size:5mm}.employee-badge-photo-placeholder span{letter-spacing:.12em;margin-top:1mm;font-size:1.6mm}.employee-badge-identity{grid-area:2/2;align-content:center;min-width:0;padding:0 1.5mm;display:grid}.employee-badge-identity strong{color:#111827;text-overflow:ellipsis;margin-bottom:1.3mm;font-size:4mm;line-height:1.08;overflow:hidden}.employee-badge-identity span{color:#4b5563;margin-bottom:1.5mm;font-size:2.45mm;font-weight:700;line-height:1.15}.employee-badge-identity b{color:#fff;letter-spacing:.08em;background:#b5121b;border-radius:.8mm;width:fit-content;padding:1mm 1.5mm;font-size:2.35mm}.employee-badge-identity small{color:#6b7280;text-transform:capitalize;margin-top:1.4mm;font-size:1.9mm}.employee-badge-qr-zone{grid-area:1/3/3;align-content:end;justify-items:center;gap:.8mm;min-width:0;padding:0 2.2mm 3.2mm 0;display:grid}.employee-badge-qr-zone>span{color:#6b7280;text-align:center;font-size:1.6mm}.employee-badge-qr-zone small{color:#374151;letter-spacing:.04em;text-transform:uppercase;font-size:1.55mm;font-weight:700}.employee-badge-qr{background:#fff;border:1mm solid #fff;width:19mm;height:19mm}.employee-badge-footer{border-top:.25mm solid #d7d9dc;grid-area:3/1/auto/-1;grid-template-columns:1fr auto;align-items:center;gap:2mm;margin:0 3.2mm 0 4mm;display:grid}.employee-badge-footer p{color:#4b5563;margin:0;font-size:2mm;font-style:italic}.employee-badge-footer span{color:#166534;background:#dcfce7;border-radius:99mm;padding:.8mm 1.3mm;font-size:1.7mm;font-weight:800}.employee-badge-inactive{filter:saturate(.7)}.employee-badge-inactive .employee-badge-footer span{color:#991b1b;background:#fee2e2}.employee-presence-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.employee-presence-kpis article{background:#fafafa;border:1px solid #e5e7eb;border-radius:8px;gap:7px;padding:13px;display:grid}.employee-presence-kpis span{color:#6b7280;font-size:.77rem}.employee-presence-kpis strong{font-size:.88rem}.employee-account-linker{gap:14px;display:grid}.employee-system-info{color:#6b7280;background:#fafafa;border:1px solid #e5e7eb;border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:14px 16px;font-size:.78rem;display:flex}.employee-system-info .eyebrow{width:100%;margin:0}.badge-verification-page{background:#f3f4f6;place-items:center;min-height:100vh;padding:24px;display:grid}.badge-verification-card{text-align:center;background:#fff;border:1px solid #ddd;border-top:5px solid #b5121b;border-radius:10px;width:min(100%,420px);padding:28px;box-shadow:0 12px 35px #0f172a17}.badge-verification-card h1{margin:4px 0 22px;font-size:1.6rem}.badge-verification-card h2{margin:14px 0 4px}.badge-verification-card>img,.badge-verification-placeholder{object-fit:cover;border-radius:8px;width:132px;height:156px;margin:18px auto 0}.badge-verification-placeholder{color:#666;background:#eee;place-items:center;font-size:.8rem;display:grid}.badge-verification-status{color:#991b1b;background:#fee2e2;border-radius:999px;width:fit-content;margin:0 auto;padding:6px 10px;font-size:.8rem;font-weight:800}.badge-verification-status.active{color:#166534;background:#dcfce7}@media (max-width:720px){.employee-documents,.employee-profile-grid,.employee-presence-kpis{grid-template-columns:1fr}.employee-profile-summary{grid-template-columns:96px minmax(0,1fr)}.employee-profile-photo{width:96px;height:118px}.employee-file-row,.employee-badge-toolbar{flex-direction:column;align-items:stretch}.employee-list-actions{min-width:0}.employee-badge{transform-origin:0 0;margin-bottom:-9mm;transform:scale(.82)}}.workflow-progress-track.workflow-progress-completed span{background:var(--status-success-text)}.attendance-kiosk{color:#171717;background:#f2f3f5;grid-template-rows:auto 1fr;min-height:100vh;padding:24px;display:grid}.kiosk-access-state{place-items:center}.kiosk-access-state>section{text-align:center;background:#fff;border:1px solid #ddd;border-top:5px solid #b5121b;border-radius:12px;justify-items:center;gap:16px;width:min(100%,480px);padding:32px;display:grid}.kiosk-access-state img{width:180px;height:auto}.kiosk-access-state .kiosk-primary{place-items:center;text-decoration:none;display:inline-grid}.attendance-kiosk>header{justify-content:space-between;align-items:center;gap:20px;width:100%;max-width:900px;margin:0 auto;display:flex}.attendance-kiosk>header img{object-fit:contain;width:155px;height:68px}.attendance-kiosk>header div{justify-items:end;display:grid}.attendance-kiosk>header strong{font-size:1.7rem}.attendance-kiosk>header span{color:#666;text-transform:capitalize}.kiosk-exit{color:#64748b;cursor:pointer;font:inherit;background:0 0;border:0;margin-top:8px;font-size:.78rem;text-decoration:underline}.kiosk-card{text-align:center;background:#fff;border:1px solid #d7d7d7;border-top:6px solid #b5121b;border-radius:14px;align-self:center;width:min(100%,760px);min-height:590px;margin:24px auto;padding:32px;box-shadow:0 12px 35px #0f172a14}.kiosk-card>h1{margin:8px 0;font-size:2rem}.kiosk-card>p{color:#666}.kiosk-scanner{aspect-ratio:4/3;background:#191919;border:3px solid #222;border-radius:12px;width:min(100%,520px);margin:24px auto;position:relative;overflow:hidden}.kiosk-scanner video{object-fit:cover;width:100%;height:100%}.kiosk-scanner span{color:#fff;background:#000000a6;padding:10px;position:absolute;inset:auto 0 0}.kiosk-scanner p{color:#fff;position:absolute;inset:40% 20px auto}.kiosk-manual,.kiosk-pin,.kiosk-confirm{gap:18px;width:min(100%,480px);margin:34px auto;display:grid}.kiosk-manual label{gap:8px;font-weight:700;display:grid}.kiosk-manual input{border:1px solid #bbb;border-radius:8px;padding:15px;font-size:1rem}.kiosk-primary,.kiosk-secondary{cursor:pointer;border:0;border-radius:9px;min-height:54px;padding:12px 20px;font-size:1.05rem;font-weight:800}.kiosk-primary{color:#fff;background:#b5121b}.kiosk-secondary{background:#fff;border:1px solid #bbb}.kiosk-link{color:#8d1017;cursor:pointer;background:0 0;border:0;font-weight:800}.kiosk-identity{text-align:left;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:24px;max-width:560px;margin:12px auto 28px;display:grid}.kiosk-identity img,.kiosk-photo-placeholder{object-fit:cover;border-radius:9px;width:130px;height:150px}.kiosk-photo-placeholder{color:#666;text-align:center;background:#eee;place-items:center;font-size:.75rem;display:grid}.kiosk-identity h1{margin:0 0 6px}.kiosk-identity p{color:#555;margin:0 0 8px}.kiosk-identity div>span{background:#eee;border-radius:999px;width:fit-content;margin-top:10px;padding:5px 10px;font-weight:800;display:block}.kiosk-identity div>span.present{color:#166534;background:#dcfce7}.kiosk-pin-display{letter-spacing:.35em;min-height:54px;font-size:2.3rem}.kiosk-keypad{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.kiosk-keypad button{background:#f8f8f8;border:1px solid #ccc;border-radius:9px;min-height:64px;font-size:1.2rem;font-weight:800}.kiosk-keypad .validate{color:#fff;background:#171717}.kiosk-success{place-items:center;gap:10px;margin-top:100px;display:grid}.kiosk-success>span{color:#166534;background:#dcfce7;border-radius:50%;place-items:center;width:80px;height:80px;font-size:2.8rem;display:grid}.kiosk-success h1{margin:8px 0 0}.kiosk-success strong{font-size:2rem}.kiosk-error{color:#991b1b;background:#fee2e2;border-radius:8px;margin:20px auto 0;padding:12px;font-weight:700}.attendance-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.attendance-filters label{gap:6px;font-weight:700;display:grid}.attendance-filters input,.attendance-filters select{background:#fff;border:1px solid #ccc;border-radius:7px;padding:10px}.attendance-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.attendance-kpis article{background:#fff;border:1px solid #dedede;border-left:3px solid #b5121b;border-radius:9px;gap:8px;padding:16px;display:grid}.attendance-kpis span{color:#666;font-size:.8rem}.attendance-kpis strong{font-size:1.5rem}.attendance-status{background:#eee;border-radius:999px;padding:4px 8px;font-size:.75rem;font-weight:800;display:inline-flex}.attendance-status.status-present{color:#166534;background:#dcfce7}.attendance-status.status-left{color:#374151;background:#e5e7eb}.attendance-correction-drawer{background:#fff;width:min(560px,100%);height:100vh;overflow:auto}.attendance-correction-drawer header{border-bottom:1px solid #ddd;justify-content:space-between;gap:15px;padding:22px;display:flex}.attendance-correction-drawer h2{margin:4px 0}.attendance-correction-drawer form{gap:16px;padding:22px;display:grid}.attendance-correction-drawer label{gap:6px;font-weight:700;display:grid}.attendance-correction-drawer input,.attendance-correction-drawer select{border:1px solid #ccc;border-radius:7px;padding:10px}@media (max-width:720px){.attendance-kiosk{padding:14px}.attendance-kiosk>header span{display:none}.kiosk-card{min-height:calc(100vh - 110px);padding:20px}.kiosk-identity{grid-template-columns:96px 1fr}.kiosk-identity img,.kiosk-photo-placeholder{width:96px;height:116px}.attendance-filters,.attendance-kpis{grid-template-columns:1fr}.kiosk-keypad button{min-height:58px}}@media (max-width:1100px){.analytics-executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-overview-grid{grid-template-columns:1fr}}@media (max-width:720px){.analytics-heading,.analytics-filters{flex-direction:column;align-items:stretch}.analytics-filters{grid-template-columns:1fr;justify-content:stretch;display:grid}.analytics-filters select,.analytics-filters input,.analytics-filters .primary-button{width:100%}.analytics-executive-kpis{grid-template-columns:1fr}.analytics-executive-card{min-height:96px}}.module-actions,.crm-actions,.crm-tracking{gap:14px;margin:16px 0;display:grid}.guided-form{background:#fafafa;border:1px solid #e4e4e7;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;padding:16px;display:grid}.guided-form label{gap:6px;font-weight:600;display:grid}.guided-form input,.guided-form select,.guided-form textarea{width:100%;font:inherit;background:#fff;border:1px solid #d4d4d8;border-radius:7px;padding:9px 10px}.guided-form fieldset{border:1px solid #d4d4d8;border-radius:9px;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;padding:12px;display:grid}.action-list{gap:10px;display:grid}.action-list article,.action-row{border:1px solid #e4e4e7;border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.action-list article>div:first-child{align-items:center;gap:10px;display:flex}.crm-tracking{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.estimate-create-form,.estimate-create-top{gap:18px;display:grid}.estimate-create-top-fields{grid-template-columns:minmax(300px,1.8fr) minmax(170px,.65fr) minmax(180px,.7fr);align-items:end;gap:16px;display:grid}.estimate-create-top-fields label{color:#374151;gap:7px;font-size:13px;font-weight:700;display:grid}.estimate-create-top-fields input,.estimate-create-top-fields select{color:#171717;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:10px 11px}.estimate-client-summary{border-top:1px solid #e5e7eb;max-width:820px;padding-top:14px}.estimate-client-summary-title{color:#111827;margin-bottom:9px;font-size:13px;font-weight:800}.estimate-client-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 28px;display:grid}.estimate-client-summary-grid>div{align-items:baseline;gap:8px;min-width:0;display:flex}.estimate-client-summary-grid span{color:#6b7280;flex:0 0 82px;font-size:12px}.estimate-client-summary-grid strong{overflow-wrap:anywhere;color:#111827;min-width:0;font-size:13px;font-weight:700}.estimate-lines-panel{overflow:hidden}.estimate-lines-heading{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.estimate-lines-heading>div{min-width:0}.estimate-add-line-button{color:#111827;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;flex:none;padding:9px 13px;font-weight:700}.estimate-add-line-button:hover{background:#f8fafc}.estimate-add-line-button:disabled{cursor:not-allowed;opacity:.55}.estimate-table-shell{border:1px solid #dbe1e8;border-radius:9px;width:100%;overflow:visible}.estimate-create-table{table-layout:fixed;border-collapse:collapse;width:100%}.estimate-create-table .estimate-col-item{width:46%}.estimate-create-table .estimate-col-price{width:16%}.estimate-create-table .estimate-col-quantity{width:12%}.estimate-create-table .estimate-col-total{width:16%}.estimate-create-table .estimate-col-action{width:10%}.estimate-create-table th{color:#374151;text-align:left;vertical-align:middle;background:#f8fafc;border-bottom:1px solid #dbe1e8;padding:11px 12px;font-size:12px;font-weight:800}.estimate-create-table td{vertical-align:middle;border-bottom:1px solid #e5e7eb;min-width:0;padding:12px}.estimate-create-table tbody tr:last-child td{border-bottom:1px solid #dbe1e8}.estimate-item-cell{min-width:0}.estimate-item-select{color:#111827;width:100%;min-width:0;max-width:100%;font:inherit;text-overflow:ellipsis;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:9px 34px 9px 10px;display:block}.estimate-item-description{gap:3px;min-width:0;margin-top:7px;line-height:1.35;display:grid}.estimate-item-description strong,.estimate-item-description span{overflow-wrap:anywhere;word-break:break-word;white-space:normal;min-width:0}.estimate-item-description strong{color:#111827;font-size:13px}.estimate-item-description span{color:#6b7280;font-size:11px}.estimate-money-cell{white-space:nowrap;color:#111827;font-variant-numeric:tabular-nums}.estimate-line-total strong{font-weight:800}.estimate-quantity-cell{text-align:center}.estimate-quantity-input{text-align:center;width:68px;max-width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:8px 6px}.estimate-quantity-input:disabled{color:#4b5563;background:#f3f4f6}.estimate-action-cell{text-align:center}.estimate-remove-button{color:#b91c1c;cursor:pointer;background:#fff5f5;border:1px solid #fecaca;border-radius:7px;place-items:center;width:34px;height:34px;padding:0;font-size:20px;font-weight:700;line-height:1;display:inline-grid}.estimate-remove-button:hover{color:#991b1b;background:#fee2e2;border-color:#ef4444}.estimate-remove-button:disabled{cursor:not-allowed;opacity:.45}.estimate-create-table tfoot td{border-bottom:0}.estimate-grand-total-row td{background:#f8fafc;padding-top:14px;padding-bottom:14px}.estimate-grand-total-label{color:#374151;text-align:right;letter-spacing:.02em;border-right:1px solid #dbe1e8;font-size:13px;font-weight:800}.estimate-grand-total-amount{color:#111827;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px;font-weight:900}.estimate-create-actions{justify-content:flex-end;gap:10px;padding:0 0 12px;display:flex}.estimate-cancel-button,.estimate-create-submit{min-width:130px}.estimate-mobile-add-line{display:none}.estimate-catalog-loading{color:#6b7280;margin:14px 0 4px}@media (max-width:1050px){.estimate-create-top-fields{grid-template-columns:minmax(260px,1fr) minmax(150px,.55fr) minmax(170px,.65fr)}.estimate-create-table .estimate-col-item{width:42%}.estimate-create-table .estimate-col-price{width:17%}.estimate-create-table .estimate-col-quantity{width:13%}.estimate-create-table .estimate-col-total{width:18%}.estimate-create-table .estimate-col-action{width:10%}}@media (max-width:780px){.estimate-create-top-fields,.estimate-client-summary-grid{grid-template-columns:1fr}.estimate-lines-heading{align-items:flex-start}.estimate-lines-heading>.estimate-add-line-button{display:none}.estimate-mobile-add-line{margin-top:12px;display:block}.estimate-create-table{font-size:12px}.estimate-create-table th,.estimate-create-table td{padding:8px 6px}.estimate-create-table .estimate-col-item{width:40%}.estimate-create-table .estimate-col-price{width:18%}.estimate-create-table .estimate-col-quantity{width:14%}.estimate-create-table .estimate-col-total{width:18%}.estimate-create-table .estimate-col-action{width:10%}.estimate-item-select{padding-left:7px;font-size:12px}.estimate-money-cell{white-space:normal;overflow-wrap:anywhere}.estimate-grand-total-amount{white-space:normal;font-size:15px}}.estimate-mode-section{border-bottom:1px solid #e5e7eb;gap:8px;padding-bottom:14px;display:grid}.estimate-mode-label{color:#374151;font-size:13px;font-weight:800}.estimate-mode-switch{flex-wrap:wrap;gap:8px;display:flex}.estimate-mode-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-height:38px;padding:8px 15px;font-weight:700}.estimate-mode-button:hover{background:#f8fafc}.estimate-mode-button.active{color:#fff;background:#111827;border-color:#111827}.estimate-mode-button:disabled{cursor:not-allowed;opacity:.55}.estimate-direct-fields{grid-template-columns:minmax(260px,1.5fr) minmax(220px,1fr) minmax(150px,.65fr) minmax(170px,.7fr)}@media (max-width:1050px){.estimate-direct-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:780px){.estimate-mode-switch{grid-template-columns:1fr;display:grid}.estimate-mode-button{width:100%}.estimate-direct-fields{grid-template-columns:1fr}}.estimate-open-button{color:#111827;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-height:36px;padding:7px 14px;font-weight:750;transition:background .15s,border-color .15s,transform .15s}.estimate-open-button:hover{background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px)}.estimate-drawer-backdrop{z-index:90;background:#0f172a59;border:0;position:fixed;inset:0}.estimate-drawer{z-index:100;background:#fff;grid-template-rows:auto minmax(0,1fr) auto;width:min(760px,92vw);display:grid;position:fixed;top:0;bottom:0;right:0;box-shadow:-18px 0 48px #0f172a2e}.estimate-drawer-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.estimate-drawer-header h2{margin:3px 0 9px}.estimate-drawer-close{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:38px;height:38px;font-size:24px;line-height:1}.estimate-drawer-content{padding:22px 24px;overflow-y:auto}.estimate-print-document{gap:18px;display:grid}.estimate-print-heading{border-bottom:1px solid #e5e7eb;justify-content:space-between;gap:20px;padding-bottom:15px;display:flex}.estimate-print-heading>div{gap:3px;display:grid}.estimate-print-heading>div:last-child{text-align:right}.estimate-print-heading span{color:#64748b;font-size:12px}.estimate-status-section h3{margin:0}.estimate-status-section label{gap:6px;display:grid}.estimate-status-section textarea{resize:vertical;min-height:90px}.estimate-print-button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:7px;min-height:40px;padding:8px 16px;font-weight:800}.estimate-drawer-secondary{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-height:40px;padding:8px 16px;font-weight:700}.estimate-status-draft{background:#f8fafc}.estimate-status-sent{background:#eff6ff}.estimate-status-approved{background:#f0fdf4}.estimate-status-rejected,.estimate-status-cancelled{background:#fef2f2}.estimate-status-expired{background:#fff7ed}.estimate-status-converted{background:#f5f3ff}@media (max-width:700px){.estimate-drawer{width:100vw}.estimate-drawer-header,.estimate-drawer-content,.estimate-drawer-actions{padding-left:16px;padding-right:16px}}@media print{.estimate-drawer,.estimate-drawer *,.estimate-print-document,.estimate-print-document *{visibility:visible!important}.estimate-drawer{width:100%;height:auto;box-shadow:none;position:absolute;inset:0}.estimate-drawer-header,.estimate-status-section,.estimate-drawer-actions,.estimate-drawer-backdrop{display:none!important}.estimate-drawer-content{padding:0;overflow:visible}.estimate-print-document{padding:20mm 15mm}.estimate-table-shell{overflow:visible!important}@page{size:A4 portrait;margin:12mm}html,body{background:#fff!important;margin:0!important;padding:0!important}aside.estimate-drawer{visibility:visible!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;position:absolute!important;inset:0 auto auto 0!important;overflow:visible!important}body *{visibility:hidden!important}aside.estimate-drawer,aside.estimate-drawer *,.estimate-print-document,.estimate-print-document *{visibility:visible!important}.estimate-drawer-backdrop,.estimate-drawer-header,.estimate-status-section,.estimate-drawer-actions{display:none!important}.estimate-drawer-content{visibility:visible!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.estimate-print-document{color:#111!important;background:#fff!important;width:100%!important;margin:0!important;padding:0!important;font-size:10pt!important;line-height:1.35!important;display:block!important}.estimate-print-heading{border-bottom:2px solid #cf0a2c!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:16px!important;padding-bottom:12px!important;display:flex!important}.estimate-print-heading strong{color:#111!important;font-size:16px!important}.estimate-print-heading span{color:#555!important;font-size:9px!important}.estimate-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 16px!important;display:grid!important}.estimate-detail-summary>div{break-inside:avoid!important;background:#fff!important;border:1px solid #d1d5db!important;border-radius:4px!important;gap:4px!important;padding:9px 10px!important;display:grid!important}.estimate-detail-summary span{color:#6b7280!important;font-size:8.5pt!important;display:block!important}.estimate-detail-summary strong{color:#111!important;font-size:10pt!important;display:block!important}.estimate-table-shell{width:100%!important;display:block!important;overflow:visible!important}.estimate-detail-table{border-collapse:collapse!important;table-layout:fixed!important;width:100%!important}.estimate-detail-table th,.estimate-detail-table td{color:#111!important;vertical-align:top!important;border:1px solid #d1d5db!important;padding:8px!important}.estimate-detail-table th{color:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#111!important;font-size:8.5pt!important;font-weight:800!important}.estimate-detail-table th:first-child{width:46%!important}.estimate-detail-table th:nth-child(2){width:20%!important}.estimate-detail-table th:nth-child(3){width:14%!important}.estimate-detail-table th:nth-child(4){width:20%!important}.estimate-detail-reference{color:#6b7280!important;margin-top:3px!important;font-size:8pt!important}.estimate-grand-total-label{text-align:right!important;font-weight:800!important}.estimate-grand-total-amount{color:#111!important;font-size:12pt!important;font-weight:900!important}}.estimate-detail-summary>div{align-content:start;gap:5px;display:grid}.estimate-detail-summary>div>span,.estimate-detail-summary>div>strong{margin:0;display:block}.estimate-drawer{z-index:100;background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-rows:auto minmax(0,1fr) auto;width:min(760px,100vw - 48px);max-height:calc(100vh - 48px);display:grid;position:fixed;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 28px 80px #0f172a47}.estimate-modal-brand{justify-items:start;gap:5px;display:grid}.estimate-modal-brand img{object-fit:contain;width:230px;max-width:100%;height:auto;display:block}.estimate-modal-brand span{color:#64748b;font-size:12px;font-style:italic}.estimate-modal-identity{justify-items:start;gap:4px;display:grid}.estimate-modal-identity h2{color:#111827;margin:0;font-size:24px;font-weight:900}.estimate-drawer-close{position:absolute;top:14px;right:14px}.estimate-drawer-actions{padding:14px 28px 18px}.estimate-print-brand{justify-items:start;gap:4px;display:grid}.estimate-print-brand img{object-fit:contain;width:190px;max-width:100%;height:auto;display:block}.estimate-print-brand span{color:#64748b;font-size:10px}.estimate-print-number{text-align:right;align-content:start;justify-items:end;gap:4px;display:grid}.estimate-print-number strong{font-size:20px;font-weight:900}.estimate-print-number span{color:#64748b;font-size:11px}@media (max-width:700px){.estimate-drawer{border-radius:10px;width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.estimate-drawer-header{grid-template-columns:1fr;gap:15px;padding:20px 52px 16px 18px}.estimate-modal-brand img{width:190px}.estimate-drawer-content,.estimate-drawer-actions{padding-left:18px;padding-right:18px}}@media print{.estimate-print-heading{grid-template-columns:200px 1fr!important;align-items:start!important;gap:20px!important;display:grid!important}.estimate-print-brand{gap:3px!important;display:grid!important}.estimate-print-brand img{object-fit:contain!important;width:180px!important;height:auto!important;display:block!important}.estimate-print-number{text-align:right!important;align-content:start!important;justify-items:end!important;display:grid!important}}.estimate-print-heading{display:none}.estimate-modal-brand img{object-fit:contain;background:#0b0b0b;border:1px solid #e2e8f0;border-radius:10px;width:225px;max-width:100%;height:auto;display:block;box-shadow:0 2px 8px #0f172a14}.estimate-modal-brand>span{display:none}.estimate-drawer-header{border-bottom:2px solid #cf0a2c;grid-template-columns:minmax(0,1fr) minmax(210px,auto);align-items:center;gap:34px;padding:26px 64px 22px 30px;display:grid;position:relative}.estimate-modal-brand{align-items:center;display:flex}.estimate-modal-identity{align-content:center;justify-items:start;gap:5px;display:grid}.estimate-modal-identity .eyebrow{color:#cf0a2c;letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:12px;font-weight:900}.estimate-modal-identity h2{color:#111827;letter-spacing:.01em;margin:0;font-size:25px;font-weight:900}.estimate-modal-identity .estimate-status-badge{margin-top:1px}.estimate-modal-identity small{color:#64748b;margin-top:3px;font-size:11px}.estimate-drawer{background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:min(760px,100vw - 48px);max-height:calc(100vh - 48px);position:fixed;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 28px 80px #0f172a4d}.estimate-drawer-content{min-height:0;padding:20px 30px 22px;overflow-y:auto}.estimate-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.estimate-detail-summary>div{background:#fff;border:1px solid #dbe1e8;border-radius:7px;gap:6px;min-height:72px;padding:12px 14px;display:grid}.estimate-detail-summary span{color:#475569;font-size:12px}.estimate-detail-summary strong{color:#111827;font-size:15px;font-weight:800}.estimate-detail-table{table-layout:fixed;width:100%}.estimate-detail-table th:first-child{width:46%}.estimate-detail-table th:nth-child(2){width:20%}.estimate-detail-table th:nth-child(3){width:14%}.estimate-detail-table th:nth-child(4){width:20%}.estimate-status-section{background:#fafafa;border:1px solid #e2e8f0;border-radius:8px;margin-top:20px;padding:16px}.estimate-drawer-actions{background:#fff;border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding:15px 30px 18px;display:flex}@media print{.estimate-print-heading{border-bottom:2px solid #cf0a2c!important;grid-template-columns:200px 1fr!important;align-items:center!important;gap:24px!important;margin-bottom:18px!important;padding-bottom:14px!important;display:grid!important}.estimate-print-brand{display:block!important}.estimate-print-brand img{object-fit:contain!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#0b0b0b!important;border:1px solid #d1d5db!important;border-radius:8px!important;width:180px!important;max-width:180px!important;height:auto!important;display:block!important}.estimate-print-brand>span{display:none!important}.estimate-print-number{text-align:right!important;align-content:center!important;justify-items:end!important;gap:4px!important;display:grid!important}.estimate-print-number strong{font-size:18px!important;font-weight:900!important}.estimate-print-number span{color:#64748b!important;font-size:9pt!important}}@media (max-width:700px){.estimate-drawer{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.estimate-drawer-header{grid-template-columns:1fr;gap:15px;padding:20px 52px 18px 18px}.estimate-modal-brand img{width:190px}.estimate-detail-summary{grid-template-columns:1fr}.estimate-drawer-content,.estimate-drawer-actions{padding-left:18px;padding-right:18px}}.estimate-delete-button{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:7px;min-height:40px;margin-right:auto;padding:8px 16px;font-weight:800}.estimate-delete-button:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5}.estimate-delete-button:disabled{opacity:.55;cursor:not-allowed}.user-badge{color:#111827;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:11px;min-width:285px;max-width:340px;padding:9px 10px;font-size:13px;font-weight:400;display:flex;box-shadow:0 2px 8px #0f172a0d}.user-badge-avatar{color:#fff;letter-spacing:.04em;background:#111827;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:13px;font-weight:800;display:grid}.user-badge-identity{flex:1;gap:3px;min-width:0;display:grid}.user-badge-identity strong{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;line-height:1.2;overflow:hidden}.user-badge-identity small{color:#64748b;letter-spacing:.05em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;opacity:1;font-size:10px;font-weight:700;line-height:1.2;overflow:hidden}.user-badge .user-badge-logout{color:#475569;min-height:32px;font:inherit;cursor:pointer;background:#f8fafc;border:1px solid #e5e7eb;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:5px;padding:6px 9px;font-size:11px;font-weight:700;text-decoration:none;transition:border-color .15s,background .15s,color .15s;display:inline-flex}.user-badge .user-badge-logout:hover{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.user-badge-logout-icon{font-size:15px;line-height:1}@media (max-width:900px){.user-badge{min-width:auto}.user-badge-logout span:last-child{display:none}.user-badge-logout{width:34px;padding:0}}.estimate-create-invoice-button{color:#fff;cursor:pointer;background:#111827;border:1px solid #111827;border-radius:7px;min-height:40px;padding:8px 16px;font-weight:800;transition:background .15s,border-color .15s,opacity .15s}.estimate-create-invoice-button:hover:not(:disabled){background:#cf0a2c;border-color:#cf0a2c}.estimate-create-invoice-button:disabled{opacity:.55;cursor:not-allowed}.estimate-status-section{background:#f8fafc;border:1px solid #dbe3ec;border-radius:10px;gap:16px;margin-top:20px;padding:18px;display:grid}.estimate-status-section h3{color:#111827;margin:0 0 2px;font-size:16px;font-weight:800}.estimate-status-section label{color:#1f2937;gap:7px;font-size:13px;font-weight:700;display:grid}.estimate-status-section select,.estimate-status-section input,.estimate-status-section textarea{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;font-family:inherit;font-size:14px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s;display:block}.estimate-status-section select,.estimate-status-section input{min-height:44px;padding:9px 12px}.estimate-status-section textarea{resize:vertical;min-height:92px;padding:10px 12px}.estimate-status-section select:focus,.estimate-status-section input:focus,.estimate-status-section textarea:focus{border-color:#cf0a2c;box-shadow:0 0 0 3px #cf0a2c1a}.estimate-status-section select:disabled,.estimate-status-section input:disabled,.estimate-status-section textarea:disabled{color:#64748b;cursor:not-allowed;background:#f1f5f9}.estimate-status-section .primary-button{color:#fff;cursor:pointer;background:#cf0a2c;border:1px solid #cf0a2c;border-radius:7px;width:100%;min-height:44px;margin-top:2px;font-size:14px;font-weight:800;transition:background .15s,border-color .15s,opacity .15s}.estimate-status-section .primary-button:hover:not(:disabled){background:#b50927;border-color:#b50927}.estimate-status-section .primary-button:disabled{opacity:.48;cursor:not-allowed}.invoice-modal-backdrop{z-index:1400;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#0f172a8c;border:0;width:100%;height:100%;padding:0;position:fixed;inset:0}.vms-confirm-modal{z-index:1410;background:#fff;border:1px solid #dbe3ec;border-radius:14px;width:min(460px,100vw - 32px);padding:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 28px 80px #0f172a47}.vms-confirm-modal p{white-space:pre-line}.invoice-document-panel.invoice-modal{z-index:1410;background:#fff;border:1px solid #dbe3ec;border-radius:14px;width:min(980px,100vw - 48px);max-height:calc(100vh - 48px);margin:0;padding:30px 34px 26px;position:fixed;top:50%;left:50%;overflow:hidden auto;transform:translate(-50%,-50%);box-shadow:0 28px 80px #0f172a47}.invoice-modal-close{z-index:4;color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe3ec;border-radius:9px;place-items:center;width:40px;height:40px;padding:0;font-size:24px;line-height:1;display:grid;position:absolute;top:15px;right:15px}.invoice-modal-close:hover{color:#cf0a2c;background:#f8fafc}.invoice-modal .invoice-print-header{display:none}.invoice-modal .invoice-detail-heading{padding-right:48px}@media (max-width:800px){.invoice-document-panel.invoice-modal{border-radius:11px;width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:22px 18px 20px}.invoice-modal .invoice-detail-heading{gap:16px;display:grid}}@media print{.invoice-modal-backdrop,.invoice-modal-close{display:none!important}.invoice-document-panel.invoice-modal{width:100%!important;max-width:none!important;max-height:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important;transform:none!important}.invoice-modal .invoice-print-header{display:grid}}.payment-modal-backdrop{z-index:80;cursor:default;background:#0f172a8c;border:0;position:fixed;inset:0}.payment-modal{z-index:81;background:#fff;border-radius:14px;width:min(900px,100vw - 48px);max-height:calc(100vh - 48px);padding:24px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 24px 70px #0f172a47}@media (max-width:768px){.payment-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:18px}}.invoice-payment-status-block{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.invoice-payment-status-block>div{background:#f7f8fa;border:1px solid #e2e5e9;border-radius:10px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.invoice-payment-status-block span{color:#667085;font-size:.82rem}.invoice-payment-status-block strong{color:#111827;font-size:1rem}@media (max-width:700px){.invoice-payment-status-block{grid-template-columns:1fr}}.invoice-status,.payment-status{white-space:nowrap;border:1px solid #0000;border-radius:9px;align-items:center;gap:8px;min-height:34px;padding:6px 11px;font-size:13px;font-weight:700;line-height:1;transition:border-color .16s,background-color .16s,box-shadow .16s,transform .16s;display:inline-flex;position:relative;box-shadow:0 1px 2px #0f172a0a}.invoice-status:before,.payment-status:before{content:"";background:currentColor;border-radius:999px;flex:none;width:7px;height:7px;box-shadow:0 0 0 3px #ffffffb8}.invoice-status:hover,.payment-status:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a12}.invoice-draft{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.invoice-issued{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.invoice-partially_paid{color:#c56a08;background:#fff8e8;border-color:#fde7bd}.invoice-paid{color:#11824b;background:#edf9f2;border-color:#ced}.invoice-overdue{color:#c6283e;background:#fff1f3;border-color:#ffd6dc}.invoice-void{color:#7c5a61;background:#faf5f6;border-color:#eadfe1}.payment-pending{color:#c56a08;background:#fff8e8;border-color:#fde7bd}.payment-completed{color:#11824b;background:#edf9f2;border-color:#ced}.payment-failed{color:#c6283e;background:#fff1f3;border-color:#ffd6dc}.payment-cancelled{color:#a73747;background:#fff4f5;border-color:#f4d8dc}.payment-refunded{color:#6f4bc3;background:#f6f2ff;border-color:#e4dafc}@media (max-width:700px){.invoice-status,.payment-status{gap:7px;min-height:32px;padding:6px 9px;font-size:12px}.invoice-status:before,.payment-status:before{width:6px;height:6px}}.invoice-cancel-button{color:#b4233c;min-height:44px;font:inherit;cursor:pointer;background:#fff7f8;border:1px solid #fecdd3;border-radius:9px;justify-content:center;align-items:center;padding:10px 16px;font-weight:700;transition:background-color .16s,border-color .16s,box-shadow .16s;display:inline-flex}.invoice-cancel-button:hover:not(:disabled){background:#fff1f3;border-color:#fda4af;box-shadow:0 3px 10px #b4233c14}.invoice-cancel-button:disabled{opacity:.55;cursor:not-allowed}.invoice-cancellation-lock{color:#7c4a03;background:#fffaf0;border:1px solid #fde7bd;border-radius:9px;flex-direction:column;gap:5px;margin-bottom:16px;padding:12px 14px;font-size:13px;line-height:1.45;display:flex}.invoice-cancellation-lock strong{font-size:13px;font-weight:750}.invoice-cancellation-lock span{color:#8a5a18}.sidebar{background:#111;border-right:1px solid #2a2a2a;padding:18px 16px 14px}.sidebar .brand{border-bottom:1px solid #2d2d2d}.classic-navigation{margin-top:14px;padding-right:5px;display:block}.classic-navigation .nav-group{margin-bottom:18px}.classic-navigation .nav-group:last-child{margin-bottom:6px}.classic-navigation .nav-group-title{color:#777;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid #242424;margin:0 10px 6px;padding-bottom:5px;font-size:10px;font-weight:700;line-height:1.2}.classic-navigation .nav-group-links{gap:1px;display:grid}.classic-navigation a{color:#c6c6c6;background:0 0;border:0;border-left:3px solid #0000;border-radius:2px;align-items:center;gap:10px;min-height:36px;padding:8px 10px 8px 12px;font-size:13px;font-weight:500;line-height:1.25;transition:background .12s,color .12s,border-color .12s;display:flex;position:relative}.classic-navigation a:hover{color:#fff;background:#1c1c1c;border-left-color:#626262}.classic-navigation a.active{color:#fff;background:#242424;border-left-color:#c8102e;font-weight:700}.classic-navigation a.active:hover{background:#292929;border-left-color:#c8102e}.classic-navigation .nav-item-marker{background:#555;border-radius:1px;flex:0 0 5px;width:5px;height:5px}.classic-navigation a:hover .nav-item-marker{background:#aaa}.classic-navigation a.active .nav-item-marker{background:#c8102e}.sidebar-footer{color:#666;text-align:center;letter-spacing:.04em;border-top:1px solid #2d2d2d;margin-top:8px;padding:12px 10px 4px;font-size:10px}.sidebar nav{padding-right:4px}.sidebar nav::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar-thumb{background:#3d3d3d;border-radius:2px}.sidebar nav::-webkit-scrollbar-thumb:hover{background:#555}.classic-navigation .nav-item-icon{color:#c8102e;flex:0 0 18px;width:18px;height:18px;transition:color .12s,transform .12s}.classic-navigation a:hover .nav-item-icon,.classic-navigation a.active .nav-item-icon{color:#e31837}.delivery-eligibility{background:#fafbfc;border:1px solid #d9dfe7;border-radius:6px;margin-top:18px;padding:16px}.delivery-eligibility.eligible{border-left:4px solid #15803d}.delivery-eligibility.blocked{border-left:4px solid #c8102e}.delivery-eligibility-title{align-items:center;gap:10px;display:flex}.delivery-eligibility-title strong{display:block}.delivery-eligibility-title span{color:#64748b;margin-top:2px;font-size:12px;display:block}.delivery-eligibility.eligible .delivery-eligibility-title svg{color:#15803d}.delivery-eligibility.blocked .delivery-eligibility-title svg{color:#c8102e}.delivery-eligibility ul{margin:14px 0 0 22px}.delivery-eligibility p{margin:12px 0}.delivery-eligibility .primary-button{margin-top:10px}.delivery-page{gap:22px;width:100%;max-width:100%;padding:34px 38px 48px;display:grid}.delivery-page .page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin:0;padding:0 0 4px;display:flex}.delivery-page .page-header>div:first-child{max-width:820px}.delivery-page .page-eyebrow{color:#c8102e;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.delivery-page .page-header h1{color:#171717;margin:0;font-size:clamp(28px,3vw,38px);font-weight:700;line-height:1.1}.delivery-page .page-header p{color:#667085;max-width:760px;margin:10px 0 0;font-size:15px;line-height:1.6}.delivery-page .page-header-icon{color:#c8102e;background:#fff7f8;border:1px solid #ead0d6;border-radius:10px;flex:0 0 54px;place-items:center;width:54px;height:54px;display:grid}.delivery-page .card{background:#fff;border:1px solid #e1e5ea;border-radius:10px;width:100%;padding:24px;box-shadow:0 1px 2px #10182808}.delivery-page .card-header{border-bottom:1px solid #eceff3;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding-bottom:16px;display:flex}.delivery-page .card-header>div{min-width:0}.delivery-page .card-kicker{color:#c8102e;letter-spacing:.1em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.delivery-page .card-header h2{color:#20242a;margin:0;font-size:20px;font-weight:700}.delivery-page .card-header>svg{color:#c8102e}.delivery-page .form-grid{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;display:grid}.delivery-page .form-grid label{gap:8px;min-width:0;display:grid}.delivery-page .form-grid label>span{color:#475467;font-size:13px;font-weight:700}.delivery-page .form-grid select{color:#20242a;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #d7dde5;border-radius:7px;outline:none;padding:0 42px 0 14px}.delivery-page .form-grid select:focus{border-color:#c8102e;box-shadow:0 0 0 3px #c8102e1a}.delivery-page .form-actions{grid-column:auto;justify-content:flex-end;align-items:center;margin:0;display:flex}.delivery-page .form-actions .primary-button{white-space:nowrap;min-height:48px;padding-inline:22px}.delivery-page .primary-button{color:#fff;background:#c8102e;border:1px solid #c8102e;border-radius:7px;font-size:14px;font-weight:700;transition:background .12s,border-color .12s,opacity .12s}.delivery-page .primary-button:hover:not(:disabled){background:#a90d27;border-color:#a90d27}.delivery-page .primary-button:disabled{cursor:not-allowed;opacity:.48}.delivery-page .delivery-eligibility{border-radius:8px;margin-top:20px;padding:18px 20px}.delivery-page .delivery-eligibility.eligible{background:#f5fbf7;border:1px solid #bbdfc7;border-left:4px solid #15803d}.delivery-page .delivery-eligibility.blocked{background:#fff8f9;border:1px solid #efd0d6;border-left:4px solid #c8102e}.delivery-page .delivery-eligibility-title{align-items:center;gap:12px;display:flex}.delivery-page .delivery-eligibility-title strong{font-size:15px;display:block}.delivery-page .delivery-eligibility-title span{color:#667085;margin-top:3px;font-size:12px;display:block}.delivery-page .delivery-eligibility ul{color:#475467;margin:16px 0 0;padding-left:22px}.delivery-page .delivery-eligibility li{margin:6px 0}.delivery-page .delivery-eligibility p{color:#475467;margin:14px 0 0}.delivery-page .delivery-eligibility .primary-button{margin-top:16px}.delivery-page .search-field{background:#fff;border:1px solid #d7dde5;border-radius:7px;align-items:center;gap:10px;width:100%;margin-bottom:18px;padding:0 14px;display:flex}.delivery-page .search-field:focus-within{border-color:#c8102e;box-shadow:0 0 0 3px #c8102e14}.delivery-page .search-field svg{color:#98a2b3;flex:none}.delivery-page .search-field input{color:#20242a;width:100%;min-height:46px;font:inherit;background:0 0;border:0;outline:0}.delivery-page .search-field input::placeholder{color:#98a2b3}.delivery-page .table-wrapper{border:1px solid #e1e5ea;border-radius:8px;overflow-x:auto}.delivery-page table{border-collapse:collapse;background:#fff;width:100%;min-width:850px}.delivery-page thead th{color:#fff;letter-spacing:.04em;text-align:left;background:#c8102e;border-bottom:1px solid #d8dde4;padding:12px 14px;font-size:11px;font-weight:800}.delivery-page tbody td{color:#344054;vertical-align:middle;border-bottom:1px solid #eceff3;padding:14px;font-size:13px}.delivery-page tbody tr:last-child td{border-bottom:0}.delivery-page tbody tr:hover{background:#fafafa}.delivery-page tbody td strong{color:#161b22}.delivery-page tbody td small{color:#98a2b3;margin-top:3px;display:block}.delivery-page .empty-state{color:#667085;text-align:center;background:#fafbfc;border:1px dashed #d5dae1;border-radius:8px;place-items:center;min-height:120px;padding:26px;display:grid}.delivery-page .alert{border-radius:7px;padding:14px 16px;font-size:14px}.delivery-page .alert-error{color:#8f1027;background:#fff4f6;border:1px solid #efc4cc}@media (max-width:1050px){.delivery-page{padding:28px 24px 40px}.delivery-page .form-grid{grid-template-columns:1fr}.delivery-page .form-actions{justify-content:flex-start}}@media (max-width:700px){.delivery-page{gap:16px;padding:22px 16px 34px}.delivery-page .page-header{flex-direction:column}.delivery-page .page-header-icon{display:none}.delivery-page .card{padding:18px}.delivery-page .card-header{align-items:flex-start}.delivery-page .form-actions .primary-button{width:100%}}.delivery-checkout-backdrop{z-index:2000;background:#0f172a94;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.delivery-checkout-modal{background:#fff;border:1px solid #d9dee5;border-radius:12px;flex-direction:column;width:min(1050px,96vw);max-height:92vh;display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a3d}.delivery-checkout-header{border-bottom:1px solid #e6e9ee;justify-content:space-between;align-items:flex-start;gap:24px;padding:22px 26px;display:flex}.delivery-checkout-header>div>span{color:#c8102e;letter-spacing:.11em;text-transform:uppercase;font-size:11px;font-weight:800}.delivery-checkout-header h2{margin:5px 0 0;font-size:24px}.delivery-checkout-header p{color:#667085;margin:5px 0 0}.delivery-checkout-body{gap:20px;padding:24px 26px;display:grid;overflow-y:auto}.delivery-checkout-section{background:#fbfcfd;border:1px solid #e4e7ec;border-radius:8px;padding:20px}.delivery-checkout-section h3{margin:0 0 18px;font-size:16px}.delivery-checkout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.delivery-checkout-grid label{color:#344054;gap:7px;font-size:13px;font-weight:700;display:grid}.delivery-checkout-grid input,.delivery-checkout-grid select,.delivery-checkout-grid textarea{width:100%;font:inherit;background:#fff;border:1px solid #d6dce4;border-radius:6px;outline:none;padding:11px 12px;font-weight:400}.delivery-checkout-grid input:focus,.delivery-checkout-grid select:focus,.delivery-checkout-grid textarea:focus{border-color:#c8102e;box-shadow:0 0 0 3px #c8102e14}.delivery-checkout-grid textarea{resize:vertical;min-height:90px}.delivery-full-width{grid-column:1/-1}.delivery-check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.delivery-check-item{cursor:pointer;background:#fff;border:1px solid #e2e6eb;border-radius:6px;align-items:center;gap:10px;min-height:46px;padding:10px 12px;display:flex}.delivery-check-item input{accent-color:#c8102e;flex:0 0 17px;width:17px;height:17px}.delivery-check-item span{color:#344054;justify-content:space-between;align-items:center;gap:8px;width:100%;font-size:13px;display:flex}.delivery-check-item strong{color:#9f1239;text-transform:uppercase;background:#ffe4e8;border-radius:999px;padding:3px 6px;font-size:9px}.delivery-checkout-footer{background:#fff;border-top:1px solid #e6e9ee;justify-content:flex-end;align-items:center;gap:10px;padding:18px 26px;display:flex}.delivery-success-message{color:#166534;background:#f2fbf5;border:1px solid #b8ddc3;border-left:4px solid #15803d;border-radius:7px;padding:14px 16px;font-size:14px;font-weight:700}@media (max-width:760px){.delivery-checkout-backdrop{padding:10px}.delivery-checkout-modal{width:100%;max-height:96vh}.delivery-checkout-grid,.delivery-check-list{grid-template-columns:1fr}.delivery-full-width{grid-column:auto}}.delivery-detail-button{color:#c8102e;cursor:pointer;background:#fff;border:1px solid #d8dde5;border-radius:6px;padding:7px 10px;font-size:12px;font-weight:700}.delivery-detail-button:hover:not(:disabled){background:#fff7f8;border-color:#c8102e}.delivery-detail-backdrop{z-index:2100;background:#0f172a94;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.delivery-detail-modal{background:#fff;border:1px solid #d9dee5;border-radius:12px;flex-direction:column;width:min(1050px,96vw);max-height:92vh;display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a3d}.delivery-detail-header{border-bottom:1px solid #e6e9ee;justify-content:space-between;gap:24px;padding:22px 26px;display:flex}.delivery-detail-header>div>span{color:#c8102e;letter-spacing:.11em;text-transform:uppercase;font-size:11px;font-weight:800}.delivery-detail-header h2{margin:5px 0 0;font-size:25px}.delivery-detail-header p{color:#667085;margin:5px 0 0}.delivery-detail-body{gap:18px;padding:24px 26px;display:grid;overflow-y:auto}.delivery-detail-section{background:#fbfcfd;border:1px solid #e4e7ec;border-radius:8px;padding:20px}.delivery-detail-section h3{margin:0 0 16px;font-size:16px}.delivery-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.delivery-detail-grid article{background:#fff;border:1px solid #e3e7ec;border-radius:6px;padding:13px}.delivery-detail-grid span,.delivery-detail-notes article>span{color:#667085;margin-bottom:5px;font-size:11px;display:block}.delivery-detail-grid strong{color:#20242a;font-size:13px}.delivery-detail-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.delivery-detail-check{border-radius:6px;align-items:center;gap:9px;min-height:42px;padding:10px 12px;font-size:12px;display:flex}.delivery-detail-check.ok{color:#166534;background:#f4fbf6;border:1px solid #c8e6d1}.delivery-detail-check.neutral{color:#667085;background:#fff;border:1px solid #e1e5ea}.delivery-detail-check>span{border-radius:50%;flex:0 0 20px;place-items:center;width:20px;height:20px;display:grid}.delivery-detail-check.ok>span{color:#fff;background:#15803d}.delivery-detail-notes{grid-template-columns:1fr 1fr;gap:12px;display:grid}.delivery-detail-notes article{background:#fff;border:1px solid #e3e7ec;border-radius:6px;min-height:90px;padding:13px}.delivery-detail-notes p{color:#344054;margin:0;font-size:13px;line-height:1.5}.delivery-detail-footer{border-top:1px solid #e6e9ee;justify-content:flex-end;gap:10px;padding:18px 26px;display:flex}@media (max-width:900px){.delivery-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.delivery-detail-backdrop{padding:10px}.delivery-detail-grid,.delivery-detail-checks,.delivery-detail-notes{grid-template-columns:1fr}}.page-container>.page-heading{color:#fff;background:linear-gradient(108deg,#7a001457 0%,#c8102e0a 52%,#ef002e1f 100%),linear-gradient(135deg,#bd0b27 0%,#d30b2d 48%,#e50932 100%);border:1px solid #ffffff26;border-radius:18px;justify-content:space-between;align-items:center;gap:34px;min-height:188px;margin:0 0 28px;padding:26px 36px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 30px #6e001230,0 2px 5px #0f172a0d}.page-container>.page-heading:after{content:"";pointer-events:none;border:42px solid #fff1;border-radius:50%;width:300px;height:300px;position:absolute;top:-105px;right:-58px}.page-container>.page-heading:before{content:"";pointer-events:none;border:34px solid #78001214;border-radius:50%;width:170px;height:170px;position:absolute;top:-42px;right:8px}.page-container>.page-heading>div{z-index:2;max-width:790px;position:relative}.page-container>.page-heading .eyebrow{color:#c8102e;letter-spacing:.09em;text-transform:uppercase;background:#fff;border:1px solid #fffffff0;border-radius:8px;align-items:center;gap:9px;width:fit-content;margin:0 0 13px;padding:9px 14px;font-size:.78rem;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 5px 15px #5a000f24,inset 0 0 0 1px #c8102e08}.page-container>.page-heading .eyebrow:before{content:"";background:#d30b2d;border-radius:3px;flex:0 0 9px;width:9px;height:9px;box-shadow:5px -3px 0 -2px #d30b2d,5px 3px 0 -2px #d30b2d}.page-container>.page-heading h1{z-index:2;color:#fff;letter-spacing:-.045em;text-shadow:0 2px 4px #50000a14;margin:0;font-size:clamp(2.25rem,3.25vw,3.15rem);font-weight:800;line-height:1.02;position:relative}.page-container>.page-heading>div>p:not(.eyebrow){z-index:2;color:#fffffff0;max-width:770px;margin:13px 0 0;font-size:1rem;font-weight:500;line-height:1.55;position:relative}.page-container>.page-heading>.primary-button{z-index:4;color:#bd0b27;background:#fff;border:1px solid #fffffff5;border-radius:10px;flex:none;min-height:50px;padding:0 24px;font-weight:850;transition:transform .16s,box-shadow .16s,background .16s;position:relative;box-shadow:0 7px 18px #5f00102e,0 1px 2px #0000000a}.page-container>.page-heading>.primary-button:hover:not(:disabled){color:#a60722;background:#fff6f7;border-color:#fff6f7;transform:translateY(-1px);box-shadow:0 10px 22px #5f001038,0 2px 3px #0000000d}.page-container>.page-heading select{z-index:4;color:#fff;min-height:50px;box-shadow:none;background-color:#8200174d;border:1px solid #ffffff14;border-radius:10px;position:relative}.page-container>.page-heading select:focus{border-color:#ffffff73;outline:none;box-shadow:0 0 0 3px #ffffff1a}.delivery-page .page-header{color:#fff;background:linear-gradient(108deg,#7a001457 0%,#c8102e0a 52%,#ef002e1f 100%),linear-gradient(135deg,#bd0b27 0%,#d30b2d 48%,#e50932 100%);border:1px solid #ffffff26;border-radius:18px;min-height:188px;padding:26px 36px;position:relative;overflow:hidden;box-shadow:0 12px 30px #6e001230,0 2px 5px #0f172a0d}.delivery-page .page-header:after{content:"";pointer-events:none;border:42px solid #fff1;border-radius:50%;width:300px;height:300px;position:absolute;top:-105px;right:-58px}.delivery-page .page-header:before{content:"";pointer-events:none;border:34px solid #78001214;border-radius:50%;width:170px;height:170px;position:absolute;top:-42px;right:8px}.delivery-page .page-header>div:first-child{z-index:2;position:relative}.delivery-page .page-eyebrow{color:#c8102e;letter-spacing:.09em;text-transform:uppercase;background:#fff;border:1px solid #fffffff0;border-radius:8px;align-items:center;gap:9px;width:fit-content;margin:0 0 13px;padding:9px 14px;font-size:.78rem;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 5px 15px #5a000f24}.delivery-page .page-eyebrow:before{content:"";background:#d30b2d;border-radius:3px;flex:0 0 9px;width:9px;height:9px;box-shadow:5px -3px 0 -2px #d30b2d,5px 3px 0 -2px #d30b2d}.delivery-page .page-header h1{color:#fff;letter-spacing:-.045em;margin:0;font-size:clamp(2.25rem,3.25vw,3.15rem);font-weight:800;line-height:1.02}.delivery-page .page-header p{color:#fffffff0;font-weight:500}.delivery-page .page-header-icon{z-index:4;color:#c8102e;background:#fff;border:1px solid #fffffff5;border-radius:10px;position:relative;box-shadow:0 7px 18px #5f00102e}.page-container>.stats-grid>*,.page-container>.summary-grid>*{border-color:#e6e8ec;box-shadow:0 4px 13px #0f172a0b,0 1px 2px #0f172a06}@media (max-width:900px){.page-container>.page-heading{flex-direction:column;align-items:flex-start;min-height:auto;padding:27px}.page-container>.page-heading>.primary-button{min-width:190px}.delivery-page .page-header{min-height:auto;padding:27px}}@media (max-width:600px){.page-container>.page-heading,.delivery-page .page-header{border-radius:14px;padding:23px 20px}.page-container>.page-heading h1,.delivery-page .page-header h1{font-size:2.05rem}.page-container>.page-heading .eyebrow,.delivery-page .page-eyebrow{padding:8px 11px;font-size:.7rem}.page-container>.page-heading>.primary-button{width:100%}.page-container>.page-heading:after,.delivery-page .page-header:after{right:-155px}.page-container>.page-heading:before,.delivery-page .page-header:before{right:-70px}}.operational-kpi-with-icon{align-items:center;gap:15px;min-height:102px;padding:18px 17px;display:flex}.operational-kpi-icon{border-radius:12px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.operational-kpi-icon svg{stroke-width:2.2px;width:22px;height:22px}.operational-kpi-content{flex-direction:column;justify-content:center;min-width:0;display:flex}.operational-kpi-content>span{color:#667085;font-size:12px;font-weight:600;line-height:1.35}.operational-kpi-content>strong{color:#101828;margin-top:6px;font-size:20px;font-weight:800;line-height:1.1}.operational-kpi-icon-red{color:#c8102e;background:#fff0f3}.operational-kpi-icon-orange{color:#d96b11;background:#fff4e8}.operational-kpi-icon-purple{color:#7c3aed;background:#f4efff}.operational-kpi-icon-teal{color:#087f83;background:#e9f8f8}.operational-kpi-icon-green{color:#159455;background:#ebf8f0}.operational-kpi-icon-yellow{color:#b77900;background:#fff6db}.dashboard-refresh-button{justify-content:center;align-items:center;gap:9px;display:inline-flex}.dashboard-refresh-button svg{flex:none}.dashboard-icon-spin{animation:.8s linear infinite dashboard-icon-spin}@keyframes dashboard-icon-spin{to{transform:rotate(360deg)}}@media (max-width:760px){.operational-kpi-with-icon{gap:12px;min-height:92px;padding:15px}.operational-kpi-icon{border-radius:10px;flex-basis:42px;width:42px;height:42px}.operational-kpi-icon svg{width:20px;height:20px}.operational-kpi-content>strong{font-size:18px}}.stat-card-with-icon{align-items:center;gap:16px;min-height:102px;padding:18px 20px;display:flex}.stat-card-icon{border-radius:12px;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex}.stat-card-icon svg{stroke-width:2.2px;width:22px;height:22px}.stat-card-content{flex-direction:column;justify-content:center;min-width:0;display:flex}.stat-card-content>span{color:#667085;font-size:12px;font-weight:600;line-height:1.35}.stat-card-content>strong{color:#101828;margin-top:6px;font-size:20px;font-weight:800;line-height:1.1}.stat-card-icon-red{color:#c8102e;background:#fff0f3}.stat-card-icon-orange{color:#d96b11;background:#fff4e8}.stat-card-icon-purple{color:#7c3aed;background:#f4efff}.stat-card-icon-teal{color:#087f83;background:#e9f8f8}.stat-card-icon-green{color:#159455;background:#ebf8f0}.stat-card-icon-yellow{color:#b77900;background:#fff6db}.page-container>.page-heading .eyebrow:has(svg):before{display:none}.page-heading .eyebrow svg{color:#c8102e;stroke-width:2.35px;flex:none}.page-heading>.primary-button{justify-content:center;align-items:center;gap:9px;display:inline-flex}@media (max-width:760px){.stat-card-with-icon{gap:12px;min-height:92px;padding:16px}.stat-card-icon{flex-basis:42px;width:42px;height:42px}}.delivery-page .page-eyebrow{color:#c8102e;letter-spacing:.14em;text-transform:uppercase;background:#fff;border-radius:9px;align-items:center;gap:8px;width:fit-content;padding:9px 13px;font-size:12px;font-weight:800;display:inline-flex;box-shadow:0 3px 12px #5a00101f}.delivery-page .page-eyebrow svg{stroke-width:2.3px;flex:none}.delivery-page .primary-button{justify-content:center;align-items:center;gap:9px;display:inline-flex}.delivery-page .delivery-detail-button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.page-container>.page-heading .stock-heading-actions .primary-button,.page-container>.page-heading .stock-heading-actions button:not(:disabled){color:#fff;opacity:1;background:#b00c27e0;border:1px solid #ffffff24;border-radius:11px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:0 20px;font-weight:800;display:inline-flex;box-shadow:0 6px 18px #50000c29}.page-container>.page-heading .stock-heading-actions button:not(:disabled):hover{color:#fff;background:#a50c27;border-color:#ffffff38;transform:translateY(-1px)}.page-container>.page-heading .stock-heading-actions button:not(:disabled) svg{color:#fff;stroke-width:2.2px}.page-container>.page-heading .stock-heading-actions button:disabled{color:#ffffffb8;opacity:.58;cursor:not-allowed;background:#ffffff2e;border:1px solid #fff3}.operational-heading .operational-controls label{color:#ffffffeb}.operational-heading .operational-controls label>span,.operational-heading .operational-controls label{font-weight:700}.operational-heading .operational-controls select{color:#fff;background:#9608216b;border-color:#ffffff2e}.operational-heading .operational-controls select:focus{border-color:#ffffff8c;box-shadow:0 0 0 3px #ffffff1a}.crm-page{gap:24px;display:grid}.crm-search-panel{align-items:center;gap:12px;padding:18px 20px;display:flex}.crm-search-panel input{min-width:260px;min-height:48px;font:inherit;background:#fff;border:1px solid #d6dce4;border-radius:9px;flex:1;padding:0 15px}.crm-search-panel button{color:#fff;min-height:48px;font:inherit;cursor:pointer;background:#c8102e;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-weight:800;display:inline-flex}.crm-search-panel button:disabled{opacity:.55;cursor:not-allowed}.notifications-page{gap:24px;display:grid}.notifications-unread-count{vertical-align:middle;color:#fff;background:#84081f6b;border:1px solid #ffffff47;border-radius:999px;justify-content:center;align-items:center;min-width:38px;height:38px;margin-left:12px;padding:0 10px;font-size:16px;font-weight:800;display:inline-flex}.notifications-page .work-order-toolbar .secondary-button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.analytics-page{gap:24px;display:grid}.analytics-page>.analytics-heading{margin-bottom:0}.analytics-page .analytics-heading .analytics-filters{z-index:2;flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:10px;display:flex;position:relative}.analytics-page .analytics-heading .analytics-filters label{color:#fffffff0;gap:6px;font-size:12px;font-weight:700;display:grid}.analytics-page .analytics-heading .analytics-filters select,.analytics-page .analytics-heading .analytics-filters input{color:#fff;min-height:46px;font:inherit;background:#91081f73;border:1px solid #ffffff38;border-radius:9px;padding:0 12px}.analytics-page .analytics-heading .analytics-filters select option{color:#111827;background:#fff}.analytics-page .analytics-heading .primary-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.analytics-executive-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.analytics-executive-card{min-width:0}.analytics-tabs{margin-top:0}@media (max-width:1150px){.analytics-executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.crm-search-panel{flex-direction:column;align-items:stretch}.crm-search-panel input{width:100%;min-width:0}.analytics-page .analytics-heading .analytics-filters{align-items:stretch;width:100%}.analytics-page .analytics-heading .analytics-filters label,.analytics-page .analytics-heading .analytics-filters select,.analytics-page .analytics-heading .analytics-filters input,.analytics-page .analytics-heading .primary-button{width:100%}.analytics-executive-kpis{grid-template-columns:1fr}}.workshop-planning-hero{margin-bottom:24px}.workshop-planning-hero .eyebrow{align-items:center;gap:8px;display:inline-flex}.workshop-hero-action{color:#fff;min-height:52px;font:inherit;cursor:pointer;background:#9900196b;border:1px solid #ffffff40;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-weight:800;display:inline-flex}.workshop-hero-action:hover{background:#7800148c}.workshop-planning-toolbar{background:#fff;border:1px solid #e4e7ec;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:16px 18px;display:flex}.workshop-planning-date-nav,.workshop-planning-view-switcher{align-items:center;gap:8px;display:flex}.workshop-planning-date-nav input{min-height:44px;font:inherit;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:0 12px}.workshop-view-button{color:#344054;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-weight:750;display:inline-flex}.workshop-view-button.active{color:#fff;background:#101828;border-color:#101828}.workshop-planning-filters{background:#fff;border:1px solid #e4e7ec;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px;padding:18px;display:grid}.workshop-planning-filters-title{color:#344054;grid-column:1/-1;align-items:center;gap:8px;display:flex}.workshop-filter-field{color:#344054;gap:7px;font-size:13px;font-weight:700;display:grid}.workshop-filter-field>span{align-items:center;gap:6px;display:inline-flex}.workshop-filter-control{width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:0 11px}.workshop-planning-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:20px;display:grid}.workshop-planning-list,.workshop-planning-form{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:20px}.workshop-section-heading{margin-bottom:18px}.workshop-section-heading .eyebrow{color:#c8102e;letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:7px;margin:0 0 6px;font-size:11px;font-weight:800;display:inline-flex}.workshop-section-heading h2{color:#101828;margin:0;font-size:20px}.workshop-empty-state{color:#667085;text-align:center;border:1px dashed #d0d5dd;border-radius:10px;justify-items:center;gap:8px;padding:48px 20px;display:grid}.workshop-empty-state strong{color:#101828;font-size:16px}.workshop-empty-state p{margin:0}@media (max-width:1100px){.workshop-planning-layout{grid-template-columns:1fr}}@media (max-width:850px){.workshop-planning-toolbar{flex-direction:column;align-items:stretch}.workshop-planning-date-nav,.workshop-planning-view-switcher{flex-wrap:wrap}.workshop-planning-filters{grid-template-columns:1fr}.workshop-planning-filters-title{grid-column:auto}}.page-container>.workshop-planning-hero{color:#fff;background:linear-gradient(115deg,#00000024 0%,#0000 48%),#c8102e;border:1px solid #ffffff1f;border-radius:18px;justify-content:space-between;align-items:center;gap:32px;margin:0 0 24px;padding:30px 34px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 28px #810a1e2e}.page-container>.workshop-planning-hero:after{content:"";pointer-events:none;border:44px solid #ffffff0f;border-radius:50%;width:260px;height:260px;position:absolute;top:-90px;right:-70px}.page-container>.workshop-planning-hero>div{z-index:1;max-width:820px;position:relative}.page-container>.workshop-planning-hero .eyebrow{color:#c8102e;letter-spacing:.14em;text-transform:uppercase;background:#fff;border-radius:8px;align-items:center;gap:8px;width:fit-content;margin:0 0 12px;padding:9px 13px;font-size:.78rem;font-weight:800;display:inline-flex;box-shadow:0 3px 10px #50000c14}.page-container>.workshop-planning-hero .eyebrow svg{color:#c8102e}.page-container>.workshop-planning-hero h1{color:#fff;letter-spacing:-.035em;margin:0;font-size:clamp(2.3rem,3.4vw,3.25rem);font-weight:800;line-height:1.04}.page-container>.workshop-planning-hero>div>p:not(.eyebrow){color:#ffffffeb;max-width:760px;margin:13px 0 0;font-size:1rem;line-height:1.55}.page-container>.workshop-planning-hero .workshop-hero-action{z-index:2;color:#b40d28;min-height:52px;font:inherit;cursor:pointer;background:#fff;border:1px solid #fffffff2;border-radius:11px;flex:none;justify-content:center;align-items:center;gap:9px;padding:0 22px;font-weight:800;display:inline-flex;position:relative;box-shadow:0 6px 18px #50000c29}.page-container>.workshop-planning-hero .workshop-hero-action svg{color:#c8102e}.page-container>.workshop-planning-hero .workshop-hero-action:hover{color:#98091f;background:#fff4f6;transform:translateY(-1px)}@media (max-width:900px){.page-container>.workshop-planning-hero{flex-direction:column;align-items:flex-start;padding:26px}}@media (max-width:600px){.page-container>.workshop-planning-hero{border-radius:14px;padding:23px 20px}.page-container>.workshop-planning-hero h1{font-size:2rem}.page-container>.workshop-planning-hero .workshop-hero-action{width:100%}.page-container>.workshop-planning-hero:after{right:-125px}}.workshop-planning-hero{color:#fff!important;background:linear-gradient(115deg,#00000024 0%,#0000 48%),#c8102e!important;border:1px solid #ffffff1f!important;border-radius:18px!important;justify-content:space-between!important;align-items:center!important;gap:32px!important;margin:0 0 28px!important;padding:30px 34px!important;display:flex!important;position:relative!important;overflow:hidden!important;box-shadow:0 10px 28px #810a1e2e!important}.workshop-planning-hero:after{content:"";pointer-events:none;border:44px solid #ffffff0f;border-radius:50%;width:260px;height:260px;position:absolute;top:-90px;right:-70px}.workshop-planning-hero>div{z-index:1;max-width:820px;position:relative}.workshop-planning-hero .eyebrow{color:#c8102e!important;letter-spacing:.14em!important;text-transform:uppercase!important;background:#fff!important;border-radius:8px!important;align-items:center!important;gap:8px!important;width:fit-content!important;margin:0 0 12px!important;padding:9px 13px!important;font-size:.78rem!important;font-weight:800!important;display:inline-flex!important;box-shadow:0 3px 10px #50000c14!important}.workshop-planning-hero .eyebrow svg{color:#c8102e!important}.workshop-planning-hero h1{color:#fff!important;letter-spacing:-.035em!important;margin:0!important;font-size:clamp(2.3rem,3.4vw,3.25rem)!important;font-weight:800!important;line-height:1.04!important}.workshop-planning-hero>div>p:not(.eyebrow){color:#ffffffeb!important;max-width:800px!important;margin:13px 0 0!important;font-size:1rem!important;line-height:1.55!important}.workshop-planning-hero .workshop-hero-action{cursor:pointer;z-index:2!important;color:#b40d28!important;min-height:52px!important;font:inherit!important;background:#fff!important;border:1px solid #fffffff2!important;border-radius:11px!important;flex:none!important;justify-content:center!important;align-items:center!important;gap:9px!important;padding:0 22px!important;font-weight:800!important;display:inline-flex!important;position:relative!important;box-shadow:0 6px 18px #50000c29!important}.workshop-planning-hero .workshop-hero-action svg{color:#c8102e!important}.workshop-planning-hero .workshop-hero-action:hover{transform:translateY(-1px);color:#98091f!important;background:#fff4f6!important}@media (max-width:900px){.workshop-planning-hero{flex-direction:column!important;align-items:flex-start!important;padding:26px!important}}@media (max-width:600px){.workshop-planning-hero{border-radius:14px!important;padding:23px 20px!important}.workshop-planning-hero h1{font-size:2rem!important}.workshop-planning-hero .workshop-hero-action{width:100%!important}.workshop-planning-hero:after{right:-125px}}.workshop-task-create-panel,.workshop-task-list-panel{margin-top:4px}.workshop-task-list{gap:14px;display:grid}.workshop-task-card{background:#fff;border:1px solid #e4e7ec;border-left:4px solid #98a2b3;border-radius:10px;justify-content:space-between;align-items:center;gap:22px;padding:18px;display:flex}.workshop-task-status-todo{border-left-color:#667085}.workshop-task-status-received{border-left-color:#1570ef}.workshop-task-status-in_progress{border-left-color:#f79009}.workshop-task-status-blocked{border-left-color:#d92d20}.workshop-task-status-completed{border-left-color:#039855}.workshop-task-status-closed{border-left-color:#475467}.workshop-task-status-cancelled{opacity:.7;border-left-color:#98a2b3}.workshop-task-card-main{flex:1;min-width:0}.workshop-task-card-topline{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:7px;display:flex}.workshop-task-number{color:var(--var-red);letter-spacing:.06em;font-size:12px}.workshop-task-status{color:#475467;background:#f2f4f7;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.workshop-task-card h3{color:#101828;margin:0;font-size:17px}.workshop-task-description{color:#667085;max-width:850px;margin:7px 0 0;line-height:1.5}.workshop-task-meta{color:#667085;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:12px;font-size:12px;display:flex}.workshop-task-meta>span{align-items:center;gap:6px;display:inline-flex}.workshop-task-priority{border-radius:999px;padding:4px 8px;font-weight:800}.workshop-task-priority-low{color:#475467;background:#f2f4f7}.workshop-task-priority-normal{color:#175cd3;background:#eff8ff}.workshop-task-priority-high{color:#b54708;background:#fffaeb}.workshop-task-priority-urgent{color:#b42318;background:#fef3f2}.workshop-task-overdue{font-weight:800;color:#b42318!important}.workshop-task-card-actions{flex:none}@media (max-width:760px){.workshop-task-card{flex-direction:column;align-items:stretch}.workshop-task-card-actions,.workshop-task-card-actions .secondary-button{width:100%}}.workshop-ticket-drawer-backdrop{z-index:1200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a61;justify-content:flex-end;display:flex;position:fixed;inset:0}.workshop-ticket-drawer{background:#f8fafc;width:min(680px,94vw);height:100vh;padding:24px;overflow-y:auto;box-shadow:-12px 0 36px #0f172a2e}.workshop-ticket-drawer-header{z-index:2;background:#fff;border-bottom:1px solid #e4e7ec;justify-content:space-between;align-items:center;gap:20px;margin:-24px -24px 20px;padding:20px 24px;display:flex;position:sticky;top:-24px}.workshop-ticket-drawer-header h2{color:#101828;margin:4px 0 0}.workshop-ticket-summary,.workshop-ticket-section{background:#fff;border:1px solid #e4e7ec;border-radius:14px;margin-bottom:18px;padding:20px}.workshop-ticket-summary-top>div{flex-wrap:wrap;gap:8px;display:flex}.workshop-ticket-summary h3{margin:14px 0 8px;font-size:21px}.workshop-ticket-summary>p{color:#667085;margin:0;line-height:1.55}.workshop-ticket-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0 0;display:grid}.workshop-ticket-details div{background:#f8fafc;border-radius:10px;padding:12px}.workshop-ticket-details dt{color:#667085;margin-bottom:4px;font-size:12px;font-weight:700}.workshop-ticket-details dd{color:#101828;margin:0;font-weight:700}.workshop-ticket-section-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.workshop-ticket-section-heading h3{margin:0}.workshop-ticket-section-heading span{background:#f2f4f7;border-radius:999px;justify-content:center;align-items:center;min-width:28px;min-height:28px;font-size:12px;font-weight:800;display:inline-flex}.workshop-ticket-comments{gap:10px;display:grid}.workshop-ticket-comment{background:#f9fafb;border:1px solid #eaecf0;border-radius:10px;padding:12px 14px}.workshop-ticket-comment>div{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.workshop-ticket-comment span{color:#98a2b3;font-size:11px}.workshop-ticket-comment p{color:#344054;margin:0;line-height:1.5}.workshop-ticket-comment-form{gap:10px;margin-top:14px;display:grid}.workshop-ticket-comment-form textarea{resize:vertical;min-height:100px;font:inherit;border:1px solid #d0d5dd;border-radius:10px;padding:12px}.workshop-ticket-history{gap:0;display:grid}.workshop-ticket-history-item{grid-template-columns:18px 1fr;gap:10px;padding-bottom:16px;display:grid;position:relative}.workshop-ticket-history-item:not(:last-child):before{content:"";background:#eaecf0;width:2px;position:absolute;top:13px;bottom:0;left:5px}.workshop-ticket-history-dot{z-index:1;background:var(--var-red);width:12px;height:12px;box-shadow:0 0 0 1px var(--var-red);border:3px solid #fff;border-radius:50%;margin-top:3px;position:relative}.workshop-ticket-history-item strong{color:#101828;font-size:13px}.workshop-ticket-history-item p{color:#98a2b3;margin:3px 0 0;font-size:11px}@media (max-width:600px){.workshop-ticket-drawer{width:100vw;padding:18px}.workshop-ticket-drawer-header{margin:-18px -18px 18px;padding:16px 18px;top:-18px}.workshop-ticket-details{grid-template-columns:1fr}}.workshop-ticket-actions-section{border-left:4px solid var(--var-red)}.workshop-ticket-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.workshop-ticket-actions .primary-button,.workshop-ticket-actions .secondary-button,.workshop-ticket-cancel-button{min-height:42px}.workshop-ticket-cancel-button{color:#b42318;font:inherit;cursor:pointer;background:#fff;border:1px solid #fda29b;border-radius:8px;padding:9px 14px;font-weight:700}.workshop-ticket-cancel-button:hover{background:#fef3f2}.workshop-ticket-cancel-button:disabled,.workshop-ticket-actions button:disabled{cursor:not-allowed;opacity:.55}.workshop-ticket-action-note{color:#667085;margin:10px 0 0;font-size:12px}@media (max-width:600px){.workshop-ticket-actions{display:grid}.workshop-ticket-actions button{width:100%}}.workshop-ticket-drawer-backdrop{z-index:1200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a7a;justify-content:center;align-items:center;padding:28px;display:flex;position:fixed;inset:0}.workshop-ticket-drawer{background:#f8fafc;border:1px solid #e4e7ec;border-radius:18px;width:min(1120px,94vw);height:auto;max-height:92vh;padding:24px;overflow-y:auto;box-shadow:0 28px 80px #0f172a47,0 8px 24px #0f172a1f}.workshop-ticket-drawer-header{z-index:4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;border-bottom:1px solid #e4e7ec;border-radius:18px 18px 0 0;justify-content:space-between;align-items:center;gap:20px;margin:-24px -24px 20px;padding:20px 24px;display:flex;position:sticky;top:-24px}@media (max-width:760px){.workshop-ticket-drawer-backdrop{align-items:stretch;padding:0}.workshop-ticket-drawer{border:0;border-radius:0;width:100vw;height:100vh;max-height:100vh;padding:18px}.workshop-ticket-drawer-header{border-radius:0;margin:-18px -18px 18px;padding:16px 18px;top:-18px}}.workshop-ticket-comment-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.workshop-ticket-file-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:7px;min-height:40px;padding:8px 12px;font-size:13px;font-weight:700;display:inline-flex}.workshop-ticket-file-button:hover{background:#f9fafb}.workshop-ticket-file-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.workshop-ticket-selected-file{background:#f9fafb;border:1px solid #d0d5dd;border-radius:9px;align-items:center;gap:10px;margin-top:8px;padding:10px 12px;display:flex}.workshop-ticket-selected-file>span{flex:1;display:grid}.workshop-ticket-selected-file small{color:#667085;margin-top:2px}.workshop-ticket-selected-file>button{color:#b42318;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.workshop-ticket-selected-file>button:hover{background:#fef3f2}.workshop-ticket-attachment{color:#344054;text-align:left;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:9px;align-items:center;gap:10px;width:100%;margin-top:9px;padding:10px 12px;display:flex}.workshop-ticket-attachment:hover{border-color:var(--var-red);background:snow}.workshop-ticket-attachment>span{flex:1;display:grid}.workshop-ticket-attachment small{color:#667085;margin-top:2px;font-size:11px}@media (max-width:600px){.workshop-ticket-comment-actions{flex-direction:column;align-items:stretch}.workshop-ticket-file-button,.workshop-ticket-comment-actions .primary-button{justify-content:center;width:100%}}.stats-grid .stat-card{position:relative}.stats-grid .stat-card .task-kpi-icon{color:#667085;background:#f2f4f7;border-radius:10px;width:38px;height:38px;padding:8px;position:absolute;top:18px;right:18px}.stats-grid .stat-card:first-child .task-kpi-icon{color:#c8102e;background:#fff1f3}.stats-grid .stat-card:nth-child(2) .task-kpi-icon{color:#b54708;background:#fff4e5}.stats-grid .stat-card:nth-child(3) .task-kpi-icon{color:#344054;background:#f2f4f7}.stats-grid .stat-card:nth-child(4) .task-kpi-icon{color:#b42318;background:#fef3f2}.stats-grid .stat-card:nth-child(5) .task-kpi-icon{color:#027a48;background:#ecfdf3}.stats-grid .stat-card:nth-child(6) .task-kpi-icon{color:#b54708;background:#fffaeb}.stats-grid .stat-card>span{padding-right:52px;display:block}.employee-drawer .work-order-drawer-content{min-height:0;overflow-y:auto}@media (max-width:900px){.employee-drawer-backdrop{padding:12px}.employee-drawer{border-radius:10px;width:96vw;height:92vh}}.employee-drawer-backdrop{justify-content:center;align-items:center;padding:28px}.employee-drawer{border-radius:14px;flex-direction:column;width:min(1260px,100vw - 56px);height:auto;max-height:calc(100vh - 56px);display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a52}.employee-drawer .work-order-drawer-header{flex:none;position:relative;top:auto}.employee-drawer .work-order-drawer-content{overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}@media (max-width:700px){.employee-drawer-backdrop{padding:10px}.employee-drawer{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}}.employee-drawer .employee-profile{flex-direction:column;align-items:stretch;gap:18px;display:flex}.employee-drawer .employee-profile>*{flex:none;min-height:max-content}.employee-drawer .employee-badge-section{flex:none;width:100%;min-height:auto;overflow:visible}.employee-drawer .employee-badge-toolbar{flex:none}.employee-drawer .employee-badge{flex:none;align-self:flex-start;width:86mm;min-width:86mm;max-width:86mm;height:54mm;min-height:54mm;max-height:54mm;overflow:hidden}.employee-drawer .employee-profile-summary,.employee-drawer .employee-profile-grid,.employee-drawer .employee-files-panel,.employee-drawer .employee-attendance-history,.employee-drawer .employee-account-linker{flex-shrink:0}@media (max-width:700px){.employee-drawer .employee-badge-section{overflow-x:auto}}.attendance-kpis article{align-items:center;gap:14px;display:flex}.attendance-kpis article>div:last-child{gap:5px;display:grid}.attendance-kpi-icon{border-radius:12px;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.attendance-kpi-present{color:#16834a;background:#e9f8ef}.attendance-kpi-entry{color:#c8102e;background:#fff0f2}.attendance-kpi-exit{color:#475569;background:#eef2f7}.attendance-kpi-alert{color:#b76a00;background:#fff7df}.attendance-row-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.attendance-row-actions .text-button{white-space:nowrap;border-radius:7px;align-items:center;gap:5px;min-height:32px;padding:6px 9px;display:inline-flex}.attendance-row-actions .text-button:hover{background:#fff0f2}.attendance-admin-badge{color:#8a5200;background:#fff7df;border-radius:999px;align-items:center;gap:5px;width:fit-content;padding:4px 7px;font-size:.72rem;font-weight:700;display:inline-flex}.attendance-admin-note{color:#704900;background:#fffaf0;border:1px solid #f2d59b;border-radius:8px;align-items:flex-start;gap:9px;padding:11px 12px;display:flex}.attendance-admin-note>div{gap:3px;display:grid}.attendance-admin-note strong{font-size:.82rem}.attendance-admin-note span{font-size:.78rem;line-height:1.4}@media (max-width:900px){.attendance-kpis article{align-items:flex-start}.attendance-row-actions{flex-direction:column;align-items:flex-start}}.settings-business{gap:24px;display:grid}.settings-page-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.settings-page-heading h1{color:var(--text-primary);margin:4px 0 6px;font-size:30px}.settings-page-heading>div>p:last-child{color:var(--text-secondary);margin:0}.settings-page-heading .primary-button,.settings-form-actions button,.settings-state button{align-items:center;gap:8px;display:inline-flex}.settings-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:22px;display:grid}.settings-navigation{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);padding:14px;position:sticky;top:20px}.settings-navigation-title{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;padding:6px 9px 12px;font-size:12px;font-weight:700}.settings-navigation-item{border-radius:var(--radius-sm);width:100%;color:var(--text-primary);font:inherit;text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:9px;padding:10px 11px;display:flex}.settings-navigation-item.active{background:var(--var-red-soft);color:var(--var-red);border-color:#c8102e2e;font-weight:700}.settings-navigation-coming{border-top:1px solid var(--border);color:var(--text-muted);margin-top:14px;padding:12px 9px 4px;font-size:12px;line-height:1.55}.settings-content{gap:16px;min-width:0;display:grid}.settings-readonly-notice{border:1px solid var(--status-info-border);border-radius:var(--radius-md);background:var(--status-info-bg);color:var(--status-info-text);align-items:flex-start;gap:11px;padding:13px 15px;display:flex}.settings-readonly-notice div{gap:3px;display:grid}.settings-readonly-notice span{font-size:13px}.settings-message{border-radius:var(--radius-md);align-items:center;gap:8px;padding:12px 14px;font-size:14px;font-weight:600;display:flex}.settings-message-success{border:1px solid var(--status-success-border);background:var(--status-success-bg);color:var(--status-success-text)}.settings-message-error{border:1px solid var(--status-danger-border);background:var(--status-danger-bg);color:var(--status-danger-text)}.settings-form{gap:18px;display:grid}.settings-section{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);padding:22px}.settings-section-heading{align-items:flex-start;gap:11px;margin-bottom:20px;display:flex}.settings-section-heading>svg{color:var(--var-red);margin-top:2px}.settings-section-heading h2{color:var(--text-primary);margin:0 0 4px;font-size:18px}.settings-section-heading p{color:var(--text-secondary);margin:0;font-size:13px}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settings-field{gap:7px;min-width:0;display:grid}.settings-field-wide{grid-column:1/-1}.settings-field>span{color:var(--text-primary);font-size:13px;font-weight:650}.settings-field input,.settings-field select{width:100%}.settings-field input:disabled,.settings-field select:disabled{opacity:1;cursor:default;background:var(--surface-muted);color:var(--text-secondary)}.settings-form-footer{justify-content:space-between;align-items:center;gap:18px;padding:4px 2px;display:flex}.settings-last-update{color:var(--text-muted);font-size:12px}.settings-form-actions{align-items:center;gap:10px;display:flex}.settings-state{justify-items:start;gap:10px;padding:24px;display:grid}.settings-state p{color:var(--text-secondary);margin:0}@media (max-width:1100px){.settings-layout{grid-template-columns:1fr}.settings-navigation{position:static}}@media (max-width:720px){.settings-page-heading,.settings-form-footer{flex-direction:column;align-items:stretch}.settings-form-grid{grid-template-columns:1fr}.settings-field-wide{grid-column:auto}.settings-form-actions{justify-content:flex-end}}.settings-field textarea{width:100%;min-height:110px;padding:var(--control-padding-y) var(--control-padding-x);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-primary);font:inherit;resize:vertical}.settings-field textarea:disabled{opacity:1;cursor:default;resize:none;background:var(--surface-muted);color:var(--text-secondary)}.settings-number-field{align-items:center;gap:10px;display:flex}.settings-number-field input{max-width:140px}.settings-number-field>span{color:var(--text-secondary);font-size:13px}.user-details-drawer{width:min(560px,94vw)}.user-details-drawer-content{background:#f8fafc;align-content:start}.user-details-card{border:1px solid var(--border);background:#fff;border-radius:12px;gap:18px;padding:20px;display:grid}.user-details-card-heading{align-items:flex-start;gap:12px;display:flex}.user-details-card-heading>svg{color:var(--var-red);flex:none;margin-top:2px}.user-details-card-heading h3{margin:0 0 4px}.user-details-card-heading p{color:var(--text-secondary);margin:0;font-size:.88rem}.user-details-list{gap:0;margin:0;display:grid}.user-details-list>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(150px,.8fr) minmax(0,1fr);gap:16px;padding:12px 0;display:grid}.user-details-list>div:last-child{border-bottom:0}.user-details-list dt{color:var(--text-secondary)}.user-details-list dd{text-align:right;margin:0;font-weight:700}.user-role-list{gap:10px;display:grid}.user-role-row{border:1px solid var(--border);background:var(--surface-hover);border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.user-role-row>div{align-items:center;gap:8px;font-weight:700;display:flex}.user-role-row svg{color:var(--var-red)}.user-security-badge{border-radius:999px;align-items:center;width:fit-content;padding:5px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.user-security-badge.normal{color:#067647;background:#ecfdf3}.user-security-badge.locked{color:#b42318;background:#fef3f2}.user-details-drawer-footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;gap:10px;padding:18px 24px;display:flex;position:sticky;bottom:0}@media (max-width:650px){.user-details-drawer{width:100%}.user-details-list>div{grid-template-columns:1fr;gap:4px}.user-details-list dd{text-align:left}.user-details-drawer-footer{flex-wrap:wrap;padding:16px 18px}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
