@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-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking: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;--tw-outline-style:solid}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--tracking-tight:-.025em;--radius-sm:.25rem;--radius-md:.375rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.\!mt-0{margin-top:0!important}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.\!h-auto{height:auto!important}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.\!min-h-0{min-height:0!important}.min-h-0{min-height:0}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.appearance-auto{appearance:auto}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.\!gap-2{gap:calc(var(--spacing) * 2)!important}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.overflow-x-auto{overflow-x:auto}.\!rounded-none{border-radius:0!important}.rounded-\[4px\]{border-radius:4px}.rounded-\[7px\]{border-radius:7px}.rounded-full{border-radius:3.40282e38px}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-border{border-color:var(--line)}.\!bg-transparent{background-color:#0000!important}.bg-card{background-color:var(--surface)}.bg-destructive{background-color:var(--pink)}.bg-input{background-color:var(--input)}.bg-muted,.bg-muted\/50{background-color:var(--surface-soft)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, var(--surface-soft) 50%, transparent)}}.bg-primary{background-color:var(--teal)}.bg-secondary{background-color:var(--surface-soft)}.bg-transparent{background-color:#0000}.\!p-0{padding:0!important}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-5{padding:calc(var(--spacing) * 5)}.\!px-0{padding-inline:0!important}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.\!py-0{padding-block:0!important}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.pt-0{padding-top:0}.text-left{text-align:left}.align-middle{vertical-align:middle}.\!font-\[inherit\]{font-family:inherit!important}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!leading-\[inherit\]{--tw-leading:inherit!important;line-height:inherit!important}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.whitespace-nowrap{white-space:nowrap}.\!text-inherit{color:inherit!important}.text-card-foreground{color:var(--ink)}.text-current{color:currentColor}.text-destructive-foreground{color:var(--navy-strong)}.text-foreground{color:var(--ink)}.text-muted-foreground{color:var(--muted)}.text-primary{color:var(--teal)}.text-primary-foreground{color:var(--navy-strong)}.text-secondary-foreground{color:var(--ink)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)!important}.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)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.placeholder\:text-muted-foreground::placeholder{color:var(--muted)}@media (hover:hover){.hover\:bg-muted\/50:hover{background-color:var(--surface-soft)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab, var(--surface-soft) 50%, transparent)}}.hover\:bg-secondary:hover{background-color:var(--surface-soft)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-90:hover{opacity:.9}}.focus-visible\:ring-3:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring\/45:focus-visible{--tw-ring-color:var(--teal)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/45:focus-visible{--tw-ring-color:color-mix(in oklab, var(--teal) 45%, transparent)}}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-55:disabled{opacity:.55}.data-\[state\=active\]\:bg-card[data-state=active]{background-color:var(--surface)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--ink)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--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)}.data-\[state\=checked\]\:border-primary[data-state=checked]{border-color:var(--teal)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--teal)}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--surface-soft)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\]\:border-border tr{border-color:var(--line)}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}:root{--navy:#102b55;--navy-strong:#0b2040;--ink:#17243b;--muted:#718096;--line:#e7edf5;--teal:#0f9d9a;--teal-soft:#e6f8f4;--pink:#f09ab7;--bg:#f7f9fc;--surface:#fff;--surface-soft:#f3f7fb;--input:#fff;--shadow:#1c33500d}[data-theme=dark]{--navy:#081a33;--navy-strong:#061329;--ink:#e6edf7;--muted:#9aabc0;--line:#263852;--teal:#36c6bd;--teal-soft:#123b3c;--pink:#f3a5c0;--bg:#0f1929;--surface:#17243a;--surface-soft:#1d2c44;--input:#132137;--shadow:#00000030}*{box-sizing:border-box}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--bg);color:var(--ink);margin:0;font:14px Arial,sans-serif;transition:background-color .2s,color .2s}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--teal)}@supports (color:color-mix(in lab, red, red)){button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb, var(--teal) 45%, transparent)}}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px}.shell{min-height:100vh;display:flex}.side{background:var(--navy);color:#fff;flex:none;width:220px;padding:26px 18px}.brand{padding:0 14px 34px;font-size:22px;font-weight:700}.brand span{color:var(--pink)}.app-version{color:#9bb4d3;letter-spacing:.04em;margin-top:5px;font-size:10px;font-weight:600;display:block}.nav button{color:#dbe7f7;text-align:left;background:0 0;border:0;border-radius:8px;width:100%;margin:4px 0;padding:13px 14px;display:block}.nav button.active,.nav button:hover{color:#fff;background:#224671}.nav-group{position:relative}.nav-reports,.nav-production{align-items:center;gap:8px;display:flex!important}.nav-reports .nav-label,.nav-production .nav-label{flex:1}.nav-chevron{color:#9bb4d3;transform-origin:50%;border-bottom:2px solid;border-right:2px solid;flex:none;width:7px;height:7px;transition:transform .15s;display:inline-block;position:relative;top:-1px;transform:rotate(45deg)}.nav-chevron.is-open{transform:rotate(-135deg)}.nav-submenu{border-left:1px solid #2a405f;gap:2px;margin:0 0 6px 18px;padding-left:10px;display:grid}.nav-submenu[hidden]{display:none!important}.nav-submenu button{color:#b9cce3;align-items:center;gap:8px;width:100%;margin:0;padding:9px 10px;font-size:13px;display:flex}.nav-submenu button.active{color:#fff;background:#224671}.nav-submenu button:hover{color:#fff;background:#1b3b63}.nav-divider{background:#2a405f;height:1px;margin:14px 8px 6px}.nav-label{margin-left:6px}.content{flex:1;min-width:0;max-width:1500px;padding:28px 38px}.top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.top h1{margin:0;font-size:25px}.top-actions{align-items:center;gap:10px;display:flex}.pill{background:var(--teal-soft);color:var(--teal);white-space:nowrap;border-radius:20px;padding:8px 12px;font-weight:700}.theme-toggle{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:9px 12px}.grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.card,.panel{background:var(--surface);border:1px solid var(--line);box-shadow:0 2px 8px var(--shadow);border-radius:12px}.card{padding:20px}.card small,.muted{color:var(--muted)}.metric{margin-top:10px;font-size:30px;font-weight:700}.metric-money{font-size:22px}.panel{margin-top:22px;padding:22px}.panel h2{margin:0 0 18px;font-size:17px}.toolbar{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.clients-page{flex-direction:column;display:flex}.clients-page .toolbar{order:1}.clients-page .client-form{order:2;margin-top:0;margin-bottom:22px}.clients-page .clients-table{order:3}.input,.select{border:1px solid var(--line);background:var(--input);color:var(--ink);border-radius:7px;min-width:0;padding:10px 12px}.primary{background:var(--teal);color:#fff;border:0;border-radius:7px;padding:10px 16px;font-weight:700}.secondary{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;padding:10px 16px;font-weight:700}.primary:disabled{opacity:.55;cursor:not-allowed}.table{border-collapse:collapse;width:100%;min-width:620px}.panel:has(.table){overflow-x:auto}.table th,.table td{border-bottom:1px solid var(--line);text-align:left;padding:13px 10px}.table th{color:var(--muted);text-transform:uppercase;font-size:12px}.table-sort{color:inherit;font:inherit;font-weight:inherit;text-transform:inherit;text-align:left;background:0 0;border:0;padding:0}.table-sort:hover,.table-sort:focus-visible{color:var(--teal)}.status{background:var(--surface-soft);color:var(--muted);border-radius:16px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-block}.status.ok{background:var(--teal-soft);color:var(--teal)}.status.warn{color:#9a6a00;background:#fff3d8}[data-theme=dark] .status.warn{color:#ffd878;background:#493a1a}.status-realizada{color:#166534;background:#dcfce7}.status-agendada{color:#1e40af;background:#dbeafe}.status-cancelada{color:#991b1b;background:#fee2e2}.status-confirmada{color:#5b21b6;background:#ede9fe}.status-cliente-ausente{color:#9a3412;background:#ffedd5}[data-theme=dark] .status-realizada{color:#86efac;background:#123d25}[data-theme=dark] .status-agendada{color:#93c5fd;background:#172554}[data-theme=dark] .status-cancelada{color:#fca5a5;background:#4c1d1d}[data-theme=dark] .status-confirmada{color:#c4b5fd;background:#2e1065}[data-theme=dark] .status-cliente-ausente{color:#fdba74;background:#431407}.status select{color:inherit;font:inherit;background:0 0;border:0;font-weight:700}.agenda-status-backdrop{z-index:60;background:#0a192873;place-items:center;display:grid;position:fixed;inset:0}.agenda-status-dialog{gap:12px;width:calc(100% - 32px);max-width:340px;display:grid}.agenda-status-options{gap:8px;display:grid}.agenda-status-options button{cursor:pointer;font:inherit;text-align:left;border:0}.formgrid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.field{flex-direction:column;gap:6px;display:flex}.field label{font-weight:700}.full{grid-column:1/-1}.days{flex-wrap:wrap;gap:8px;display:flex}.day{border:1px solid var(--line);background:var(--input);border-radius:7px;align-items:center;gap:5px;padding:8px;display:flex}.rule{border:1px solid var(--teal)}@supports (color:color-mix(in lab, red, red)){.rule{border:1px solid color-mix(in srgb, var(--teal) 25%, var(--line))}}.rule{background:var(--teal-soft)}@supports (color:color-mix(in lab, red, red)){.rule{background:color-mix(in srgb, var(--teal-soft) 55%, var(--surface))}}.rule{border-radius:10px;margin-top:16px;padding:16px}.agenda{overflow:auto}.date-input-shell{min-width:0;display:block;position:relative}.date-input-text{width:100%;padding-right:38px!important}.date-input-trigger{z-index:1;color:var(--muted);background:0 0;border:0;padding:2px;font-size:16px;line-height:1;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.date-input-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:17px;height:17px;display:block}.date-input-trigger:hover,.date-input-trigger:focus-visible{color:var(--teal)}.date-input-native{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.agenda-toolbar{align-items:end}.agenda-toolbar>.input,.agenda-toolbar>.select,.agenda-toolbar>.field{flex:0 auto;min-width:0}.agenda-toolbar>.field .input{min-width:0}.agenda-grid{border:1px solid var(--line);border-radius:8px;grid-template-columns:80px repeat(5,1fr);min-width:850px;display:grid;overflow:hidden}.agenda-grid>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:72px;padding:9px}.agenda-head{background:var(--surface-soft);font-weight:700}.slot{background:var(--teal-soft);border-left:3px solid var(--teal);border-radius:5px;margin:4px 0;padding:6px;font-size:12px}.slot.collect{background:var(--pink)}@supports (color:color-mix(in lab, red, red)){.slot.collect{background:color-mix(in srgb, var(--pink) 16%, var(--surface))}}.slot.collect{border-color:var(--pink)}.divider{background:var(--bg);color:var(--muted);text-transform:uppercase;grid-column:1/-1;font-size:11px;font-weight:700;min-height:30px!important}.empty{text-align:center;color:var(--muted);padding:36px}.report-tabs{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.report-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:10px 14px;font-weight:700}.report-tabs button.active{background:var(--teal);border-color:var(--teal);color:#fff}.report-summary{flex-wrap:wrap;gap:14px;display:flex}.report-summary .card{flex:180px}.report-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.dashboard-view{min-width:0}.dashboard-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.dashboard-heading h2{margin:6px 0;font-size:28px}.eyebrow{color:var(--teal);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:700}.dashboard-controls{flex-wrap:wrap;gap:10px;display:flex}.dashboard-controls .field{min-width:170px}.date-range{flex-wrap:wrap;gap:8px;display:flex}.date-range .field{min-width:138px}.dashboard-notice{color:#ffd878;background:#493a1a;border:1px solid #8a6c27;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 14px;display:flex}.dashboard-error{color:#9a4c1f;background:#fff4e9;border:1px solid #d58b5b}[data-theme=dark] .dashboard-error{color:#ffd2b2;background:#482b20;border-color:#9c694e}.dashboard-metrics{margin-top:18px}.metric-caption{color:var(--muted);margin-top:7px;font-size:12px}.dashboard-layout{grid-template-columns:1.25fr .75fr;gap:16px;margin-top:16px;display:grid}.panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.link-button{color:var(--teal);white-space:nowrap;background:0 0;border:0;padding:0;font-weight:700}.dashboard-bars{gap:16px;margin-top:20px;display:grid}.dashboard-bar .bar-label{color:var(--muted);justify-content:space-between;gap:10px;margin-bottom:6px;font-size:12px;display:flex}.dashboard-bar .bar-label b{color:var(--ink)}.bar-track{background:var(--surface-soft);border-radius:8px;height:10px;overflow:hidden}.bar-track span{background:var(--teal);border-radius:8px;height:100%;display:block}.bar-track span.bar-pink{background:var(--pink)}.shortcut{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:11px;display:flex}.shortcut:hover{border-color:var(--teal)}.metric-time{font-size:20px}.alert-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:13px 0;display:flex}.alert-row:last-child{border-bottom:0}.table-wrap{overflow-x:auto}.quick-create{border:1px solid var(--teal);margin:16px 0;padding:16px}@supports (color:color-mix(in lab, red, red)){.quick-create{border:1px solid color-mix(in srgb, var(--teal) 30%, var(--line))}}.quick-create{background:var(--teal-soft);border-radius:10px}@supports (color:color-mix(in lab, red, red)){.quick-create{background:color-mix(in srgb, var(--teal-soft) 45%, var(--surface))}}.items-module{min-width:0}.items-module .quick-create>.primary{margin-top:14px}.module-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.module-heading h2{margin:6px 0;font-size:28px}.module-actions{flex-wrap:wrap;gap:10px;display:flex}.client-price-selector{min-width:230px}.items-table{min-width:820px}.price-editor{align-items:center;gap:6px;min-width:210px;display:flex}.price-editor .input{width:110px}.price-editor+small{margin-top:5px;display:block}.client-combobox{width:100%;position:relative}.client-combobox .input{width:100%;padding-right:34px}.client-combo-caret{z-index:3;width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.client-combo-caret:hover{background:var(--teal-soft);color:var(--ink)}.client-results{z-index:4;border:1px solid var(--line);background:var(--surface);max-height:230px;box-shadow:0 8px 20px var(--shadow);border-radius:8px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto}.client-result{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:6px;gap:3px;padding:9px 10px;display:grid}.client-result:hover,.client-result.highlighted{background:var(--teal-soft)}.client-result small,.client-no-results{color:var(--muted)}.client-no-results{padding:10px}.side{background:#081a33}.dashboard-view{color:#e8eff8;--ink:#e8eff8;--muted:#9db1ca;--line:#2a405f;--surface:#172b47;--surface-soft:#0f2038;background:#0b2040;min-height:calc(100vh - 56px);margin:-28px -38px;padding:28px 38px}.dashboard-view .input,.dashboard-view .select,.dashboard-view .theme-toggle{color:#e8eff8;background:#172b47;border-color:#2a405f}.dashboard-view .card,.dashboard-view .panel{background:#172b47;border-color:#2a405f}.dashboard-view .table th,.dashboard-view .table td{border-color:#2a405f}.dashboard-view .muted,.dashboard-view .card small{color:#9db1ca}.dashboard-view .metric-warn{color:#ffd878}[data-theme=light] .dashboard-view{color:#17243b;--ink:#17243b;--muted:#718096;--line:#e7edf5;--surface:#fff;--surface-soft:#f3f7fb;background:#f7f9fc}[data-theme=light] .dashboard-view .input,[data-theme=light] .dashboard-view .select,[data-theme=light] .dashboard-view .theme-toggle{background:var(--input);color:var(--ink);border-color:var(--line)}[data-theme=light] .dashboard-view .card,[data-theme=light] .dashboard-view .panel{background:var(--surface);border-color:var(--line)}.dashboard-view .dashboard-heading h2{font-size:28px}.dashboard-stat{min-height:116px}.metric-warn{color:var(--warn,#c77b13)}.status.danger{color:#ff8f9f;background:#522b3a}.dashboard-legend{color:var(--muted);gap:16px;margin-top:16px;font-size:12px;display:flex}.dashboard-legend span{align-items:center;gap:5px;display:inline-flex}.legend-dot{border-radius:50%;width:9px;height:9px;display:inline-block}.legend-dot.teal{background:var(--teal)}.legend-dot.pink{background:var(--pink)}.dashboard-spark{min-height:150px}.dashboard-options{gap:8px;margin:20px 0 14px;display:flex}.dashboard-option{color:#e8eff8;background:#172b47;border:1px solid #2a405f;border-radius:8px;padding:10px 12px;font-weight:700}.dashboard-option.active{background:var(--teal);border-color:var(--teal);color:#062c31}.dashboard-columns{border-bottom:1px solid var(--line);align-items:end;gap:18px;min-height:180px;margin-top:18px;padding:12px 8px 0;display:flex;overflow-x:auto}.dashboard-layout .panel{margin-top:0}.dashboard-column{min-width:62px;height:160px;color:var(--muted);text-align:center;flex-direction:column;flex:1 0 62px;justify-content:end;align-items:center;gap:5px;display:flex}.dashboard-column .column-track{background:linear-gradient(to top, var(--line) 1px, transparent 1px);justify-content:center;align-items:end;width:100%;height:120px;display:flex}@supports (color:color-mix(in lab, red, red)){.dashboard-column .column-track{background:linear-gradient(to top, color-mix(in srgb, var(--line) 65%, transparent) 1px, transparent 1px)}}.dashboard-column .column-track span{background:var(--teal);border-radius:5px 5px 0 0;width:min(42px,70%);display:block}.dashboard-column b{color:var(--ink);font-size:11px}.dashboard-column small{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}[data-theme=light] .dashboard-option{background:var(--surface);color:var(--ink);border-color:var(--line)}.order-wizard{max-width:1120px}.wizard-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:22px 0 0;display:grid}.wizard-step{border:1px solid var(--line);background:var(--surface);min-height:48px;color:var(--muted);text-align:center;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:9px 12px;font-weight:700;display:flex}.wizard-step b{background:var(--surface-soft);width:26px;height:26px;color:var(--muted);border-radius:50%;flex:0 0 26px;place-items:center;font-size:12px;display:grid}.wizard-step.active{border-color:var(--teal);background:var(--teal-soft);color:var(--ink)}.wizard-step.active b{background:var(--teal);color:#fff}.wizard-panel{min-height:390px;margin-top:14px}.wizard-stage{gap:18px;display:grid}.wizard-stage h2{margin:0;font-size:22px}.wizard-stage>p{margin:-8px 0 2px}.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.choice{border:1px solid var(--line);background:var(--surface);width:100%;min-height:76px;color:var(--ink);text-align:left;border-radius:9px;padding:14px;line-height:1.35;display:block}.choice:hover,.choice.selected{border-color:var(--teal);background:var(--teal-soft)}.choice strong{margin-bottom:5px;display:block}.choice small{color:var(--muted)}.summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.summary .card{min-height:84px}.wizard-footer{border-top:1px solid var(--line);justify-content:space-between;gap:12px;margin-top:22px;padding-top:18px;display:flex}.wizard-success{text-align:center;align-content:center;gap:12px;min-height:300px;display:grid}.wizard-success h2{margin:0}.client-catalog-note{background:var(--teal-soft);color:var(--ink);border-radius:9px;padding:12px 14px}.client-catalog-all{margin-top:10px}.choice{position:relative}.choice-qty{background:var(--teal);color:#fff;border-radius:11px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;font-weight:700;display:grid;position:absolute;top:8px;right:8px}.order-lines{margin:0}.order-lines h3{margin:0 0 10px;font-size:15px}.order-lines-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.order-line{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.order-line:last-child{border-bottom:0}.order-line-name{gap:2px;min-width:0;display:grid}.order-line-actions{align-items:center;gap:6px;display:flex}.order-line-actions span{text-align:center;min-width:24px;font-weight:700}.summary-lines{gap:4px;margin:6px 0;padding:0 0 0 16px;display:grid}@media (max-width:560px){.order-line{flex-direction:column;align-items:stretch}.order-line-actions{justify-content:flex-end}}.piece-search-field{max-width:340px}.piece-picker{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;flex-wrap:wrap;gap:8px;min-height:52px;margin-top:10px;padding:12px;display:flex}.piece-chip{border:1px solid var(--teal);background:var(--teal-soft);color:var(--ink);border-radius:16px;align-items:center;gap:7px;padding:6px 11px;font-size:12px;font-weight:700;display:inline-flex}.piece-chip button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:14px;line-height:1}.piece-suggest{gap:6px;margin-top:8px;display:grid}.piece-suggest-item{border:1px dashed var(--line);background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;font:inherit;border-radius:8px;padding:8px 11px}.piece-suggest-item:hover,.piece-suggest-item:focus-visible{border-color:var(--teal);outline:2px solid var(--teal);outline-offset:1px}.client-price-table-box{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;margin-top:18px;padding:14px}.client-price-table-box h3{margin-top:0}.client-price-table-box .table-wrap{margin-top:12px}@media (max-width:560px){.piece-search-field{max-width:100%}}.production-view{min-width:0}.production-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.production-heading h2{margin:6px 0;font-size:28px}.production-tabs{border-bottom:1px solid var(--line);gap:8px;margin-bottom:18px;display:flex}.production-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-bottom:0;border-radius:8px 8px 0 0;padding:10px 18px;font-weight:700}.production-tabs button.active{background:var(--teal);border-color:var(--teal);color:#fff}.production-filters{background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(180px,240px) minmax(220px,320px);gap:14px;margin-bottom:18px;padding:14px;display:grid}.production-toolbar{align-items:end}.production-toolbar .input,.production-toolbar .select{flex:150px}.production-board{grid-template-columns:repeat(8,minmax(160px,1fr));gap:6px;min-width:1320px;padding-bottom:8px;display:grid;overflow-x:auto}.production-stage{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;min-height:500px;overflow:hidden}.production-stage h3{color:#fff;background:var(--teal);justify-content:space-between;align-items:center;gap:6px;min-height:48px;margin:0;padding:10px 10px 10px 12px;font-size:16px;display:flex}.production-stage:nth-child(2) h3{background:#55a9e8}.production-stage:nth-child(3) h3{background:#2f78ed}.production-stage:nth-child(4) h3{background:#ff8969}.production-stage:nth-child(5) h3{background:#f4b51d}.production-stage:nth-child(6) h3{background:#ef4e55}.production-stage:nth-child(7) h3{background:#a38e86}.production-stage:nth-child(8) h3{background:#91a9b5}.production-plus{color:#fff;background:0 0;border:0;padding:0 2px;font-size:25px;line-height:1}.production-stage-body{background:var(--surface-soft);align-content:start;gap:8px;min-height:450px;padding:10px;display:grid}.production-order{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);text-align:left;box-shadow:0 2px 5px var(--shadow);border-radius:7px;gap:4px;padding:10px;display:grid}.production-order:hover,.production-order:focus-visible,.production-order.is-selected{border-color:var(--teal);box-shadow:0 0 0 2px var(--teal);outline:0}@supports (color:color-mix(in lab, red, red)){.production-order:hover,.production-order:focus-visible,.production-order.is-selected{box-shadow:0 0 0 2px color-mix(in srgb, var(--teal) 28%, transparent)}}.production-order strong{color:var(--teal)}.production-order span{font-weight:700}.production-order small{color:var(--muted);line-height:1.35}.production-empty{color:var(--muted);text-align:center;padding:18px 8px;font-size:12px}.production-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.production-metric{min-height:112px}.production-number-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.production-number-columns .panel{margin-top:0}.compact-list{gap:10px;display:grid}.compact-list>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding-bottom:9px;display:flex}.compact-list>div:last-child{border-bottom:0;padding-bottom:0}.production-detail{margin-top:18px}.production-detail h3{margin:24px 0 10px;font-size:15px}.production-form-row,.production-route-form{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.production-form-row .input,.production-route-form .input,.production-route-form .select{flex:180px}.production-history{gap:8px;margin:0;padding:0;list-style:none;display:grid}.production-history li{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:4px;padding:9px;display:grid}.production-event-form{gap:8px;display:grid}.production-error{color:#9a4c1f;background:#fff4e9;border:1px solid #d58b5b;margin:0 0 14px}.production-notice{border-color:var(--teal);color:var(--teal);margin:0 0 14px}.toast-viewport{z-index:50;pointer-events:none;gap:10px;width:min(380px,100vw - 32px);display:grid;position:fixed;top:20px;bottom:auto;right:20px}.toast{pointer-events:auto;border:1px solid;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;animation:.16s ease-out toast-in;display:flex;box-shadow:0 12px 28px #061a3333}.toast-success{color:#14594e;background:#e9fbf6;border-color:#65b9a9}.toast-error{color:#8d421a;background:#fff4e9;border-color:#d58b5b}.toast-close{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:20px;line-height:1}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}[data-theme=dark] .toast-success{color:#b9f4e7;background:#163f3a;border-color:#4d9e90}[data-theme=dark] .toast-error{color:#ffd2b2;background:#482b20;border-color:#9c694e}@media (prefers-reduced-motion:reduce){.toast{animation:none}}[data-theme=dark] .production-stage,[data-theme=dark] .production-stage-body,[data-theme=dark] .production-order,[data-theme=dark] .production-filters,[data-theme=dark] .production-history li{background:var(--surface-soft);border-color:var(--line)}[data-theme=dark] .production-order{background:var(--surface)}[data-theme=dark] .production-error{color:#ffd2b2;background:#482b20;border-color:#9c694e}@media (max-width:900px){.production-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:560px){.production-heading{display:block}.production-heading .status{margin-top:12px}.production-filters,.production-metrics,.production-number-columns{grid-template-columns:1fr}.production-tabs{overflow-x:auto}.production-tabs button{flex:none}.production-detail .production-form-row>.input,.production-detail .production-form-row>button,.production-route-form>*{flex:100%;width:100%}}@media (prefers-color-scheme:dark){html:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html:not([data-theme=light]) body{color:#e8eff8;background:#0b2040}}[data-theme=dark] body,[data-theme=dark] .content{background:#0b2040}[data-theme=dark] .dashboard-view .card,[data-theme=dark] .dashboard-view .panel{background:#172b47;border-color:#2a405f}[data-theme=dark] .dashboard-view .bar-track{background:#0f2038}[data-theme=dark] .dashboard-view .dashboard-error{background:#482b20}@media (max-width:900px){.shell{display:block}.side{z-index:5;width:100%;padding:14px 16px;position:sticky;top:0}.brand{padding:0 4px 12px}.nav{gap:6px;display:flex;overflow-x:auto}.nav button{white-space:nowrap;flex:none;width:auto;margin:0}.nav-group{flex:none}.nav-submenu{z-index:6;background:#081a33;border:1px solid #2a405f;border-radius:8px;min-width:190px;max-width:calc(100vw - 32px);max-height:calc(100vh - 128px);margin:4px 0 0;padding:6px;position:fixed;top:112px;left:16px;overflow-y:auto;box-shadow:0 8px 20px #0005}.nav-submenu button{width:100%;margin:0}.content{padding:22px 18px}.grid{grid-template-columns:repeat(2,1fr)}.dashboard-layout{grid-template-columns:1fr}}@media (max-width:560px){.content{padding:18px 12px;overflow-x:hidden}.top{flex-direction:column;align-items:stretch;gap:12px}.top-actions{justify-content:space-between}.dashboard-view{margin:-18px -12px;padding:18px 12px}.grid,.formgrid{grid-template-columns:1fr}.dashboard-heading{display:block}.dashboard-controls{margin-top:16px}.dashboard-controls .field{flex:100%}.dashboard-controls .select,.date-range{width:100%}.date-range .field{flex:140px}.dashboard-notice{flex-direction:column;align-items:flex-start}.card,.panel{padding:16px}.toolbar>.input,.toolbar>.select{flex:100%;width:100%}.toolbar>.field{flex:100%;width:100%;min-width:0}.toolbar>.field>.input,.toolbar>.field>.select,.toolbar>button{width:100%}.agenda-toolbar>.field{flex:100%;width:100%;min-width:0}.agenda-toolbar>.field .input{width:100%}.day{flex:auto}.dashboard-view .dashboard-heading h2{font-size:24px}.dashboard-stat{min-height:116px}.dashboard-columns{gap:8px}.module-heading{display:block}.module-actions{margin-top:14px}.module-actions button{flex:100%;width:100%}.panel-heading{display:block}.panel-heading .link-button{white-space:normal;margin-top:10px;display:block}.dashboard-options{flex-wrap:nowrap;overflow-x:auto}.dashboard-option{white-space:nowrap;flex:none}.client-price-selector{min-width:0;margin-top:14px}.client-price-selector .select{width:100%}.wizard-steps{gap:6px;padding-bottom:2px;overflow-x:auto}.wizard-step{justify-content:flex-start;min-width:112px}.choice-grid,.summary{grid-template-columns:1fr}.wizard-footer{background:var(--surface);margin-inline:-16px;padding:14px 16px;position:sticky;bottom:0}@supports (color:color-mix(in lab, red, red)){.wizard-footer{background:color-mix(in srgb, var(--surface) 92%, transparent)}}.wizard-footer button{flex:1}}.slot[draggable=true]{cursor:grab}.slot[draggable=true]:active{cursor:grabbing}.agenda-cell.droppable{outline:2px dashed var(--teal)}@supports (color:color-mix(in lab, red, red)){.agenda-cell.droppable{outline:2px dashed color-mix(in srgb, var(--teal) 45%, transparent)}}.agenda-cell.droppable{outline-offset:-2px;min-height:48px}.schedule-date-cell{align-items:center;gap:8px;display:flex}.schedule-date-cell .input{width:auto}.modal-backdrop{z-index:70;background:#0a192873;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.modal-panel{flex-direction:column;width:min(560px,100%);max-height:min(80vh,100%);display:flex;overflow:hidden}.modal-panel.modal-wide{width:min(1120px,100%);max-height:94vh}.modal-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-body{overflow:auto}.modal-footer{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.subnav{gap:8px;margin:18px 0 14px;display:flex}.subnav button.active{background:var(--teal-soft);color:var(--teal);border-color:var(--teal)}.badge{background:var(--surface-soft);color:var(--muted);border-radius:12px;padding:3px 9px;font-size:12px;font-weight:700;display:inline-block}.piece-chips{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.piece-chips .chip{background:var(--teal-soft);color:var(--teal);border-radius:14px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:700;display:inline-flex}.piece-chips .chip button{color:inherit;cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:15px}button.added{background:var(--teal-soft);color:var(--teal);border-color:var(--teal)}.billing-view{--billing-bg:#0b1728;--billing-surface:#13253d;--billing-surface-alt:#153f47;--billing-line:#2d4663;--billing-ink:#eef5ff;--billing-muted:#aabbd0;--billing-brand:#54d0c6;--billing-good:#34d399;--billing-danger:#fb7185;--billing-accent:#75b9d3;color:var(--billing-ink)}[data-theme=light] .billing-view{--billing-bg:#f7f9fc;--billing-surface:#fff;--billing-surface-alt:#e6f8f4;--billing-line:#d8e3ef;--billing-ink:#17243b;--billing-muted:#718096;--billing-brand:#0f9d9a;--billing-good:#138a62;--billing-danger:#d44b67;--billing-accent:#317ea4}.billing-tabs{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.billing-view button{box-shadow:none;border:0}.billing-tabs .billing-context{color:var(--billing-muted);font-size:12px}.billing-panel{background:var(--billing-surface);border-color:var(--billing-line);color:var(--billing-ink);margin:14px 0 0;padding:18px}.billing-panel .input,.billing-panel .select{background:var(--billing-surface)}@supports (color:color-mix(in lab, red, red)){.billing-panel .input,.billing-panel .select{background:color-mix(in srgb, var(--billing-surface) 88%, var(--billing-bg))}}.billing-panel .input,.billing-panel .select{border-color:var(--billing-line);color:var(--billing-ink)}.billing-form-row{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.billing-form-row .field{flex:0 190px;min-width:150px}.billing-form-row .field>span,.billing-generate-filters .field>span{color:var(--billing-muted);font-size:12px}.billing-config-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 16px;display:grid}.billing-check-card{border:1px solid var(--billing-line);min-height:40px;color:var(--billing-ink);border-radius:4px;align-items:center;gap:9px;padding:10px 12px;display:flex}.billing-check-card input,.billing-checkline input{accent-color:var(--billing-brand)}.billing-invoice-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.billing-stat{border-color:var(--billing-line);border-top:4px solid var(--billing-brand);background:var(--billing-surface);min-height:76px;color:var(--billing-ink);border-radius:11px;padding:15px}.billing-stat small,.billing-stat span{color:var(--billing-muted);font-size:12px;display:block}.billing-stat strong{color:var(--billing-brand);margin-top:7px;font-size:20px;display:block}.billing-stat-paid{border-top-color:var(--billing-good)}.billing-stat-overdue{border-top-color:var(--billing-danger)}.billing-stat-open{border-top-color:var(--billing-accent)}.billing-period-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:14px 0;display:flex}.billing-period-actions{flex-wrap:wrap;gap:8px;display:flex}.billing-filter-panel{margin-top:0}.billing-invoice-filters .field{flex-basis:230px}.billing-filter-actions{flex-wrap:wrap;gap:8px;display:flex}.billing-more-filters{border-top:1px solid var(--billing-line);margin-top:12px;padding-top:12px}.billing-more-filters summary{cursor:pointer;color:var(--billing-brand);padding:4px 0 8px;font-weight:700}.billing-advanced-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.billing-table-panel{overflow-x:auto}.billing-table-panel .relative{min-width:0}.billing-table-panel .table{min-width:760px}.billing-table-panel .table th,.billing-table-panel .table td{border-color:var(--billing-line)}.billing-table-panel .table th{color:var(--billing-muted)}.billing-action-icons{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:4px;display:inline-flex}.billing-action-icons button{width:28px;min-width:28px;height:28px;color:var(--billing-brand);background:0 0;border:0;padding:0;font-size:16px}.billing-action-icons button:hover:not(:disabled){background:var(--billing-surface-alt);color:var(--billing-ink)}.billing-action-icons button:disabled{opacity:.42;cursor:not-allowed}.billing-modal{z-index:70;background:#061326aa;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.billing-modal-card{background:var(--billing-surface);border:1px solid var(--billing-line);width:min(1180px,100%);max-height:92vh;color:var(--billing-ink);border-radius:12px;overflow:auto;box-shadow:0 12px 40px #0005}.billing-modal-head{background:var(--billing-brand);color:#062d32;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.billing-modal-head h3{margin:0;font-size:18px}.billing-modal-head button{color:#062d32}.billing-modal-body{padding:20px}.billing-modal-foot{border-top:1px solid var(--billing-line);justify-content:flex-end;gap:10px;padding:13px 18px;display:flex}.billing-pdf-options{gap:12px;max-width:360px;margin:4px auto;display:grid}.billing-pdf-options p{color:var(--billing-muted);margin:0 0 4px}.billing-receipt-report{border:1px solid var(--billing-line);background:var(--billing-surface-alt);border-radius:9px;padding:18px}.billing-receipt-report h4{margin:0 0 18px}.billing-receipt-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.billing-receipt-grid small{color:var(--billing-muted);margin-bottom:5px;display:block}.billing-receipt-grid strong{display:block}.billing-report-note{border-top:1px solid var(--billing-line);color:var(--billing-muted);margin-top:18px;padding-top:12px;font-size:12px}.billing-status{white-space:nowrap;font-weight:700}.billing-status-generated{color:var(--billing-accent)}.billing-status-paid{color:var(--billing-good)}.billing-status-overdue,.billing-status-cancelled{color:var(--billing-danger)}.billing-detail-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.billing-detail-head h3{margin:0}.billing-detail-meta{grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0;display:grid}.billing-detail-meta small{color:var(--billing-muted)}.billing-report,.billing-subpanel{border:1px solid var(--billing-line);background:var(--billing-surface-alt);border-radius:9px;margin-top:14px;padding:14px}.billing-report h4,.billing-subpanel h3{margin:0 0 14px}.billing-associated-grid{gap:0;padding:0 10px;display:grid}.billing-associated-row{border-bottom:1px solid var(--billing-line);grid-template-columns:1.05fr 1.4fr 1.1fr .9fr .95fr .95fr;gap:18px;padding:15px 8px 12px;display:grid}.billing-associated-row>div{min-width:0}.billing-associated-row strong,.billing-associated-row span{display:block}.billing-associated-row strong{margin-bottom:4px;font-size:12px}.billing-associated-row span{color:var(--billing-muted);font-size:13px}.billing-rental-receipt{background:var(--billing-surface);max-width:850px;color:var(--billing-ink);margin:0 auto;padding:20px 26px 28px}.billing-rental-heading{text-align:center;border-bottom:3px solid #08aeea;padding-bottom:18px}.billing-rental-heading h4{color:#08aeea;letter-spacing:.04em;margin:0;font-size:25px}.billing-rental-heading p{color:var(--billing-muted);margin:8px 0 0;font-size:12px}.billing-rental-section{background:var(--billing-surface);border-left:4px solid #08aeea;margin-top:18px;padding:14px 16px}@supports (color:color-mix(in lab, red, red)){.billing-rental-section{background:color-mix(in srgb, var(--billing-surface) 88%, #08aeea 12%)}}.billing-rental-section h5{border-bottom:1px solid var(--billing-line);color:#08aeea;margin:0 0 10px;padding-bottom:8px;font-size:13px}.billing-rental-section p{margin:6px 0;font-size:12px;line-height:1.45}.billing-rental-section p strong{min-width:120px;display:inline-block}.billing-rental-legal{background:var(--billing-surface);border-left-color:#9aa0a6}@supports (color:color-mix(in lab, red, red)){.billing-rental-legal{background:color-mix(in srgb, var(--billing-surface) 82%, #9aa0a6 18%)}}.billing-rental-summary{background:var(--billing-surface);border:2px solid #08aeea;border-radius:3px;margin-top:16px;padding:12px 14px}@supports (color:color-mix(in lab, red, red)){.billing-rental-summary{background:color-mix(in srgb, var(--billing-surface) 84%, #08aeea 16%)}}.billing-rental-summary p{border-bottom:1px solid var(--billing-line);justify-content:space-between;gap:18px;margin:0;padding:8px 0;font-size:12px;display:flex}.billing-rental-summary p:last-child{border-bottom:0}.billing-rental-summary b{color:#08aeea;text-align:right}.billing-rental-total b{font-size:17px}.billing-rental-date{border-top:2px solid var(--billing-ink);color:var(--billing-muted);text-align:center;margin-top:28px;padding-top:12px;font-size:11px}.billing-generate-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.billing-subpanel{min-height:150px}.billing-subpanel .empty{padding:26px}.billing-checkline{color:var(--billing-ink);flex-wrap:wrap;gap:16px;margin:14px 0;display:flex}@media (max-width:900px){.billing-invoice-cards,.billing-config-grid,.billing-advanced-grid,.billing-generate-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.billing-associated-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}}@media (max-width:560px){.billing-invoice-cards,.billing-config-grid,.billing-advanced-grid,.billing-generate-filters{grid-template-columns:1fr}.billing-form-row .field,.billing-invoice-filters .field{flex-basis:100%}.billing-filter-actions{width:100%}.billing-filter-actions button{flex:1}.billing-detail-meta,.billing-receipt-grid{grid-template-columns:1fr}.billing-period-toolbar{align-items:flex-start}.billing-modal{padding:10px}.billing-associated-row{grid-template-columns:1fr;padding:12px 4px}.billing-rental-receipt{padding:14px 8px 20px}.billing-rental-summary p{flex-direction:column;align-items:flex-start;gap:4px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
