.order-print-sheet{display:none}
.order-pdf-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:0 0 22px;border-bottom:4px solid var(--orange)}.order-pdf-header img{width:180px;max-height:72px;object-fit:contain;object-position:left center}.order-pdf-header>div{text-align:right}.order-pdf-header>div p{margin:0 0 8px;color:var(--orange);font-size:11px;font-weight:700;letter-spacing:.08em}.order-pdf-header h1{margin:0 0 8px;color:var(--navy);font-size:25px}.order-pdf-header>div strong{font-size:15px}.order-pdf-parties{display:grid;grid-template-columns:1fr minmax(250px,.7fr);gap:28px;margin:30px 0 24px}.order-pdf-label{margin:0 0 7px;color:var(--muted);font-size:12px}.order-pdf-parties h2{margin:0;color:var(--navy);font-size:17px}.order-pdf-parties dl{display:grid;gap:10px;margin:0}.order-pdf-parties dl>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-pdf-parties dt{color:var(--muted)}.order-pdf-parties dd{margin:0;font-weight:600;text-align:right}.order-pdf-items{width:100%;border-collapse:collapse}.order-pdf-items th{padding:11px 10px;background:#f1f4f6;color:var(--navy);font-size:12px;text-align:left}.order-pdf-items th:first-child,.order-pdf-items td:first-child{width:34px}.order-pdf-items th:nth-child(3),.order-pdf-items th:nth-child(4),.order-pdf-items th:nth-child(5){text-align:right}.order-pdf-items td{padding:13px 10px;border-bottom:1px solid #d8dee2;vertical-align:top}.order-pdf-items td:nth-child(n+3){text-align:right;white-space:nowrap}.order-pdf-items td strong,.order-pdf-items td small{display:block}.order-pdf-items td small{margin-top:4px;color:var(--muted);font-size:11px}.order-pdf-quantity small{color:var(--muted)}.order-pdf-summary{display:flex;justify-content:flex-end;margin-top:16px}.order-pdf-totals{width:min(440px,100%)}.order-pdf-totals>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #e5e7eb}.order-pdf-grand-total{margin-top:5px;padding:14px!important;background:#f1f4f6;color:var(--navy);font-size:16px}.order-pdf-notes{margin-top:25px}.order-pdf-notes h2,.order-pdf-terms h2{font-size:15px}.order-pdf-notes p,.order-pdf-terms>p:last-child{white-space:pre-wrap;line-height:1.6}.order-pdf-thanks{display:grid;gap:5px;margin-top:30px;color:var(--navy)}.order-pdf-thanks span{color:var(--muted)}.order-pdf-terms{break-before:page;padding-top:10mm}.order-pdf-terms>p:last-child{margin-top:10px}
@media print{body.order-printing .topbar,body.order-printing .mobile-title,body.order-printing .layout>.sidebar,body.order-printing .layout>.sidebar-footer{display:none!important}body.order-printing .layout{display:block!important;min-height:0!important}body.order-printing main.content{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important}body.order-printing main.content>:not(.order-print-sheet){display:none!important}body.order-printing .order-print-sheet{display:block!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;color:#1f2937!important;font:10pt/1.45 Arial,sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body.order-printing .order-pdf-header{align-items:center;margin-bottom:8mm}body.order-printing .order-pdf-header img{width:58mm;max-height:24mm}body.order-printing .order-pdf-header h1{font-size:20pt}body.order-printing .order-pdf-parties{margin:10mm 0 8mm}body.order-printing .order-pdf-items thead{display:table-header-group}body.order-printing .order-pdf-items tr{break-inside:avoid}body.order-printing .order-pdf-items th{background:#eef2f4!important}body.order-printing .order-pdf-grand-total{background:#eef2f4!important}body.order-printing .order-pdf-terms{break-before:page}body.order-printing .order-pdf-notes,body.order-printing .order-pdf-summary,body.order-printing .order-pdf-thanks{break-inside:avoid}}
body .layout>.sidebar-footer{z-index:95}
.order-items-table .order-line-remove{width:48px;height:48px;border-color:#E8ECEF;color:var(--brand-primary);font-size:18px;font-weight:700}
.order-items-table .order-line-remove:disabled{opacity:.72}
.order-items-table thead th:nth-child(1){width:31%}.order-items-table thead th:nth-child(7){width:9%}
 .order-line-remove{display:grid;place-items:center;padding:0}
@media(min-width:900px){.material-dialog.order-record-dialog{width:min(1120px,calc(100vw - 48px))}}
@media(min-width:900px){body main.content details.customer-form-panel[open]{width:min(860px,calc(100vw - 48px))}}
html body main.content details.form-panel[open] .entry-form.customer-entry-form{display:block;padding:22px 24px}.customer-entry-form .customer-row{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:6px 16px;margin-bottom:14px}.customer-entry-form .customer-row.customer-row-top{align-items:start}.customer-entry-form .customer-row-label{display:block;color:var(--dark-text);font-size:12px;font-weight:500}.customer-entry-form .customer-row-label.required{color:#DC2626}.customer-row-note{color:var(--muted);font-weight:400}.customer-row-field{display:flex;gap:10px;min-width:0;max-width:440px}.customer-row-field.customer-row-field-wide{max-width:none}.customer-row-field>*{flex:1 1 0;min-width:0}.customer-entry-form .customer-type-options{gap:20px}.customer-entry-form .customer-type-options label{display:flex;flex:0 0 auto;align-items:center;gap:7px;color:var(--dark-text);font-size:12px}.customer-entry-form .customer-type-options input[type="radio"]{width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--brand-primary)}.customer-phone{display:flex}.customer-phone>span{display:grid;place-items:center;padding:0 10px;border:1px solid var(--line);border-right:0;border-radius:4px 0 0 4px;background:var(--soft);color:var(--dark-text);font-size:12px}.customer-entry-form .customer-phone input{border-radius:0 4px 4px 0}.customer-entry-form input.system-generated{background:var(--soft);color:var(--muted)}.customer-entry-form input:focus,.customer-entry-form select:focus,.customer-entry-form textarea:focus{outline:2px solid var(--brand-primary);outline-offset:1px}.customer-hint{grid-column:2;margin:0;color:var(--muted);font-size:10px}.customer-tabs{display:flex;gap:24px;margin:22px 0 18px;border-bottom:1px solid var(--line);overflow-x:auto}.customer-tabs[hidden]{display:none}.customer-entry-form .customer-tabs button{flex:0 0 auto;margin:0 0 -1px;padding:9px 0;border:0;border-bottom:2px solid transparent;background:none;color:var(--dark-text);font:inherit;font-size:12px;cursor:pointer}.customer-entry-form .customer-tabs button[aria-selected="true"]{border-bottom-color:var(--brand-primary);color:var(--brand-dark);font-weight:700}.customer-tab-panel>h3{margin:20px 0 12px;padding-top:14px;border-top:1px solid var(--line);color:var(--brand-dark);font-size:13px}.customer-entry-form[data-tabs-ready] .customer-tab-panel>h3{display:none}.customer-entry-form[data-tabs-ready] .customer-tab-panel{min-height:216px}.customer-form-actions{display:flex;gap:8px;margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}.customer-form-actions .button{min-height:40px}@media(max-width:600px){.customer-entry-form .customer-row{grid-template-columns:1fr}.customer-hint{grid-column:1}.customer-row-field,.customer-row-field.customer-row-field-wide{flex-wrap:wrap;max-width:none}.customer-row-field.customer-row-field-wide>*{flex:1 1 100%}}
.material-dialog.customer-dialog{width:min(860px,100%)}html body .material-dialog .entry-form.customer-entry-form{display:block;padding:18px 0 0}.customer-entry-form .order-product-error{margin:0 0 10px}.customer-combobox{position:relative;display:grid;gap:6px;min-width:0}.customer-combobox-menu{position:absolute;top:100%;right:0;left:0;z-index:20;margin-top:4px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--paper);box-shadow:0 12px 30px #1d324430}.customer-combobox-menu[hidden]{display:none}.customer-combobox-menu ul{max-height:220px;margin:0;padding:4px;overflow-y:auto;list-style:none}.customer-combobox-menu li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:4px;color:var(--dark-text);font-size:12px;cursor:pointer}.customer-combobox-menu li small{color:var(--muted);font-size:10px;white-space:nowrap}.customer-combobox-menu li[aria-selected="true"],.customer-combobox-menu li[role="option"]:hover{background:var(--orange-soft)}.customer-combobox-menu li.customer-combobox-empty{color:var(--muted);cursor:default}.entry-form .customer-combobox-add{display:block;width:100%;padding:10px 12px;border:0;border-top:1px solid var(--line);background:var(--soft);color:var(--brand-primary);font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.entry-form .customer-combobox-add:hover{background:var(--orange-soft)}
.order-items-table tbody.order-items{display:table-row-group;gap:0}.order-items-table tbody.order-items tr[data-order-item]{display:table-row;padding:0;border:0;border-radius:0;background:transparent}
@media(min-width:900px){body main.content details.order-form-panel[open]{width:min(1120px,calc(100vw - 48px))}}
.report-heading{align-items:center}.report-print-button{min-height:40px;background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.report-print-button:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.report-filter-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:0 0 8px;padding:14px 16px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.report-filter-form label{display:grid;gap:5px;color:var(--dark-text);font-size:11px;font-weight:600}.report-filter-form input{height:40px;min-width:170px;padding:0 10px;border:1px solid var(--soft-border);border-radius:6px;background:var(--neutral-gray);color:var(--dark-text)}.report-filter-form .button{height:40px;min-height:40px}.report-period{margin:4px 0 14px;color:var(--muted);font-size:11px}
@media print{@page{size:auto;margin:12mm}html,body{background:#fff!important;color:#111827!important}body{margin:0!important}.topbar,.sidebar,.mobile-title,.report-filter-form,.report-print-button,.no-print{display:none!important}.layout{display:block!important;min-height:0!important}.content,main.content{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}.page-heading{display:block!important;margin:0 0 12px!important}.page-heading h1{font-size:24px!important}.report-period{margin:0 0 12px!important;color:#374151!important}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}.metric{min-height:0!important;padding:10px!important;border:1px solid #d1d5db!important}.panel{margin:0 0 10px!important;border:1px solid #d1d5db!important;box-shadow:none!important;break-inside:avoid}.table-scroll{overflow:visible!important}.table-panel th,.table-panel td{padding:6px 8px!important;color:#1f2937!important}.table-panel tbody tr{break-inside:avoid}.table-panel thead{display:table-header-group}.record-count{display:none!important}}
.history-group .history-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr) minmax(96px,auto);column-gap:12px;align-items:center}.history-group .history-row>span{grid-column:1;min-width:0}.history-group .history-row>strong{grid-column:2;justify-self:start}.history-group .history-row>time{grid-column:3;justify-self:end}@media(max-width:700px){.history-group .history-row{grid-template-columns:minmax(0,1fr) minmax(100px,.7fr) minmax(80px,auto);column-gap:8px}}
.history-group>summary.history-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) 20px;grid-template-rows:auto;column-gap:12px;justify-content:initial;align-items:center;min-height:49px;padding:9px 18px}.history-group>summary.history-title>strong{grid-column:1;grid-row:1;align-self:center}.history-group>summary.history-title>span{grid-column:2;grid-row:1;justify-self:start;align-self:center}.history-group>summary.history-title::after{grid-column:3;grid-row:1;justify-self:end;align-self:center}@media(max-width:600px){.history-group>summary.history-title{grid-template-columns:minmax(0,1fr) minmax(110px,.8fr) 20px;column-gap:8px;padding-right:12px;padding-left:12px}}
.activity-entry-form>button.button{align-self:start;justify-self:start;height:40px;min-height:40px;padding:0 16px}
.activity-form-content{display:grid;gap:0}.activity-form-content>section{padding:16px 20px;border-bottom:1px solid var(--line)}.activity-form-content>section:last-child{border-bottom:0}.activity-form-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.activity-form-heading h2{margin:0;color:var(--brand-dark);font-size:14px}.activity-form-heading span{color:var(--muted);font-size:10px}.activity-entry-form{padding:0}.activity-entry-form>button{justify-self:start}.activity-form-panel:not([open])>summary{bottom:96px!important;background:var(--brand-dark)!important}.activity-history-panel{margin-top:15px}
.material-dialog-close .close-icon{position:relative;display:block;width:14px;height:14px}.material-dialog-close .close-icon::before,.material-dialog-close .close-icon::after{content:"";position:absolute;top:50%;left:50%;width:14px;height:2px;border-radius:2px;background:currentColor}.material-dialog-close .close-icon::before{transform:translate(-50%,-50%) rotate(45deg)}.material-dialog-close .close-icon::after{transform:translate(-50%,-50%) rotate(-45deg)}
.user-settings-form{display:grid;gap:14px;margin-top:16px}.user-settings-form>label{display:grid;gap:6px;color:var(--dark-text);font-size:11px;font-weight:600}.user-settings-form select{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--dark-text)}.user-settings-form select:focus{outline:2px solid var(--brand-primary);outline-offset:1px}.user-settings-form .material-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
.record-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:12px 0 18px;color:var(--muted);font-size:12px}@media(max-width:600px){.record-pagination{justify-content:center;flex-wrap:wrap}}
.operator-role-options label>span{display:grid;gap:2px}.operator-role-options label small{color:var(--muted);font-size:9px}
.operator-roles{min-width:0;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:6px}.operator-roles legend{padding:0 5px;color:var(--dark-text);font-size:11px;font-weight:700}.operator-role-options{display:flex;flex-wrap:wrap;gap:8px 16px}.operator-role-options label{display:flex;align-items:center;gap:7px;color:var(--dark-text);font-size:11px}.entry-form .operator-role-options input[type="checkbox"]{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--brand-primary)}.record-earnings-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.record-earnings-list li{display:grid;gap:3px;padding:8px 10px;border-radius:4px;background:var(--neutral-gray)}.record-earnings-list li>div{display:flex;justify-content:space-between;gap:12px}.record-earnings-list li>div strong{color:var(--brand-dark)}.record-earnings-list li>div span,.record-earnings-list li small{color:var(--muted);font-size:10px}.record-earnings-list li small strong{color:var(--dark-text)}
.record-material-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.record-material-list li{display:flex;justify-content:space-between;gap:12px;padding:7px 9px;border-radius:4px;background:var(--neutral-gray);color:var(--dark-text)}.record-material-list li strong{font-size:11px}.record-material-list li span{font-size:11px;white-space:nowrap}
.production-entry-form .material-usage-heading{display:grid;gap:4px;padding-top:13px;border-top:1px solid var(--line)}.material-usage-heading strong{color:var(--brand-dark);font-size:12px}.production-entry-form>label .field-meta{display:block;margin-top:2px}
.topbar{position:sticky;top:0;z-index:100}html body .layout>.sidebar{top:68px}
.layout>.sidebar{position:fixed;top:68px;right:auto;bottom:0;left:0;z-index:90;width:225px;overflow:hidden}.layout>.content{grid-column:2;min-width:0}.layout>.sidebar nav{flex:1;min-height:0;padding-bottom:78px;overflow-y:auto;align-content:start}.layout>.sidebar nav::-webkit-scrollbar{width:6px}.layout>.sidebar nav::-webkit-scrollbar-thumb{border-radius:6px;background:var(--line)}.layout>.sidebar-footer{position:fixed;right:auto;bottom:-20vh;left:0;width:225px;z-index:1200;margin:0;padding:15px 22px 18px;border-top:1px solid #edf0f1;background:#fff}@media screen and (min-width:1100px){.layout>.sidebar{bottom:-20vh}}@media(max-width:700px){.layout>.sidebar{position:static;top:auto;right:auto;bottom:auto;left:auto;z-index:auto;align-self:stretch;width:auto;height:auto;overflow:visible}.layout>.content{grid-column:auto}.layout>.sidebar nav{flex:none;min-height:auto;padding-bottom:0;overflow-x:auto;overflow-y:hidden}.layout>.sidebar-footer{display:none}}
.layout>.sidebar{position:fixed;top:68px;right:auto;bottom:0;left:0;z-index:90;width:225px;overflow:hidden}.layout>.content{grid-column:2;min-width:0}.layout>.sidebar nav{flex:1;min-height:0;padding-bottom:78px;overflow-y:auto;align-content:start}.layout>.sidebar nav::-webkit-scrollbar{width:6px}.layout>.sidebar nav::-webkit-scrollbar-thumb{border-radius:6px;background:var(--line)}.layout>.sidebar-footer{position:fixed;right:auto;bottom:0;left:0;width:225px;z-index:1200;margin:0;padding:15px 22px 18px;border-top:1px solid #edf0f1;background:#fff}@media(max-width:700px){.layout>.sidebar{position:static;top:auto;right:auto;bottom:auto;left:auto;z-index:auto;align-self:stretch;width:auto;height:auto;overflow:visible}.layout>.content{grid-column:auto}.layout>.sidebar nav{flex:none;min-height:auto;padding-bottom:0;overflow-x:auto;overflow-y:hidden}.layout>.sidebar-footer{display:none}}
.history-group{padding:0}.history-group>summary{padding:14px 18px;cursor:pointer;list-style:none}.history-group>summary::-webkit-details-marker{display:none}.history-group>summary::marker{content:""}.history-group>summary::after{content:"";flex:0 0 8px;width:8px;height:8px;margin-left:12px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .16s ease}.history-group[open]>summary{border-bottom:1px solid var(--line)}.history-group[open]>summary::after{transform:rotate(225deg)}.history-group .history-row{margin-right:18px;margin-left:18px}.history-group>.usage-total{margin:12px 18px 14px}
.record-detail-row{cursor:pointer;transition:background-color .12s ease}.record-detail-row:hover{background:#F3F4F6}.record-detail-row:focus-visible{outline:2px solid var(--brand-primary);outline-offset:-2px}.record-dialog{width:min(680px,100%)}.record-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;margin:14px 0 0}.record-detail-item{min-width:0;padding:11px 0;border-bottom:1px solid var(--line)}.record-detail-item dt{margin:0 0 5px;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.record-detail-item dd{margin:0;color:var(--dark-text);font-size:12px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:600px){.record-detail-list{grid-template-columns:1fr}}
.history-expense{display:block;margin-top:2px;color:var(--dark-text);font-size:10px;font-weight:600}
.entry-form>button.button{min-height:40px}
.entry-form input:not([type="hidden"]),.entry-form select{height:40px;min-height:40px;box-sizing:border-box}
.history-sort-form{display:flex;align-items:center;gap:8px}.history-sort-form label{color:var(--muted);font-size:11px}.history-sort-form select{min-height:33px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--dark-text);font-size:11px}.history-supplier{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4}
html body .inventory-update-form .inventory-save{align-self:end;justify-self:start;min-height:40px;padding:0 16px}
html:root{--brand-primary:#F15A24;--brand-dark:#0F1A2B;--neutral-gray:#F3F4F6;--dark-text:#1F2937;--soft-border:#D1D5DB;--navy:var(--brand-dark);--orange:var(--brand-primary);--line:var(--soft-border);--muted:#6B7280;--paper:#fff;--soft:var(--neutral-gray);--orange-soft:#FFF0E9;color:var(--dark-text);background:var(--neutral-gray)}html body{background:radial-gradient(ellipse at 72% 0,#fff0e8 0,transparent 34%),var(--neutral-gray);color:var(--dark-text)}
html body main.content details.form-panel[open] .button.inventory-save{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}html body main.content details.form-panel[open] .button.inventory-save:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}
html body .inventory-selector-form select:focus,html body .inventory-update-form input:focus,html body .material-register-form input:focus{outline-color:var(--brand-primary)}html body .registry-selected{border-left-color:var(--brand-dark)}html body .registry-selected .eyebrow,html body .field-meta{color:var(--brand-dark)}
html body main.content details.form-panel[open] .entry-form.inventory-selector-form{grid-template-columns:minmax(0,1fr) auto;align-items:end}html body main.content details.form-panel[open] .entry-form.inventory-selector-form>label.wide{grid-column:1}
.inventory-selector-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:18px 20px 14px;background:#f3f4f6;border-bottom:1px solid #e5e7eb}.inventory-selector-form>label.wide{grid-column:1;gap:7px;color:#1f2937;font-size:12px;font-weight:600}.inventory-selector-form select,.inventory-update-form input,.material-register-form input{min-height:40px;border:1px solid #d1d5db;border-radius:6px;background:#f3f4f6;color:#1f2937}.inventory-selector-form select:focus,.inventory-update-form input:focus,.material-register-form input:focus{outline:2px solid #1e3a8a;outline-offset:1px}.inventory-selector-form .button{min-height:40px}.inventory-prompt{margin:16px 20px 20px;padding:12px 14px;border:1px dashed #d1d5db;border-radius:6px;background:#f9fafb;color:#6b7280}.inventory-update-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}.registry-selected{display:grid;gap:4px;padding:13px 15px;border-left:3px solid #1e3a8a;border-radius:0 6px 6px 0;background:#f3f4f6;color:#1f2937}.registry-selected .eyebrow{margin:0;color:#1e3a8a}.registry-selected strong{font-size:15px}.inventory-update-form>label,.material-register-form>label{color:#1f2937;font-size:11px;font-weight:600}.field-meta{color:#1e3a8a;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.inventory-update-form input[readonly]{background:#e5e7eb;color:#4b5563}.inventory-save{min-height:40px;background:#1e3a8a;border-color:#1e3a8a;color:#fff}.inventory-save:hover{background:#f15a24;border-color:#f15a24;color:#fff}.material-dialog-backdrop{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:16px;background:#1f293780}.material-dialog{width:min(460px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#1f2937;box-shadow:0 24px 70px #11182755}.material-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #e5e7eb}.material-dialog-heading .eyebrow{margin-bottom:6px;color:#1e3a8a}.material-dialog-heading h2{margin:0;color:#1f2937;font-size:19px;font-weight:650}.material-dialog-close{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#f3f4f6;color:#1f2937;font-size:22px;line-height:1}.material-register-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0 0}.material-register-form .wide{grid-column:1/-1}.material-register-form input{background:#f3f4f6}.material-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}.material-dialog-actions .button{min-height:40px;margin:0;border-radius:6px}.material-dialog-footnote{margin:12px 0 0;color:#6b7280;font-size:10px}
html body .entry-form.inventory-selector-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:18px 20px 14px;background:#f3f4f6;border-bottom:1px solid #e5e7eb}html body .entry-form.inventory-selector-form>label.wide{grid-column:1}html body .entry-form.inventory-selector-form select,html body .entry-form.inventory-update-form input,html body .entry-form.material-register-form input{min-height:40px;border:1px solid #d1d5db;border-radius:6px;background:#f3f4f6;color:#1f2937}html body .entry-form.inventory-update-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}html body .entry-form.inventory-update-form>label,html body .entry-form.material-register-form>label{color:#1f2937;font-size:11px;font-weight:600}html body .entry-form.material-register-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0 0}html body .entry-form.material-register-form .wide{grid-column:1/-1}@media(max-width:600px){html body .entry-form.inventory-selector-form{grid-template-columns:minmax(0,1fr)}html body .entry-form.inventory-selector-form>label.wide{grid-column:1}html body .entry-form.inventory-selector-form .button{width:100%}html body .entry-form.material-register-form{grid-template-columns:1fr}html body .entry-form.material-register-form .wide{grid-column:1}}
.inventory-selector-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:18px 20px 14px;background:#f3f4f6;border-bottom:1px solid #e5e7eb}.inventory-selector-form>label.wide{grid-column:1;gap:7px;color:#1f2937;font-size:12px;font-weight:600}.inventory-selector-form select,.inventory-update-form input,.material-register-form input{min-height:40px;border:1px solid #d1d5db;border-radius:6px;background:#f3f4f6;color:#1f2937}.inventory-selector-form select:focus,.inventory-update-form input:focus,.material-register-form input:focus{outline:2px solid #1e3a8a;outline-offset:1px}.inventory-selector-form .button{min-height:40px}.inventory-prompt{margin:16px 20px 20px;padding:12px 14px;border:1px dashed #d1d5db;border-radius:6px;background:#f9fafb;color:#6b7280}.inventory-update-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}.registry-selected{display:grid;gap:4px;padding:13px 15px;border-left:3px solid #1e3a8a;border-radius:0 6px 6px 0;background:#f3f4f6;color:#1f2937}.registry-selected .eyebrow{margin:0;color:#1e3a8a}.registry-selected strong{font-size:15px}.inventory-update-form>label,.material-register-form>label{color:#1f2937;font-size:11px;font-weight:600}.field-meta{color:#1e3a8a;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.inventory-update-form input[readonly]{background:#e5e7eb;color:#4b5563}.inventory-save{min-height:40px;background:#1e3a8a;border-color:#1e3a8a;color:#fff}.inventory-save:hover{background:#f15a24;border-color:#f15a24;color:#fff}.material-dialog-backdrop{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:16px;background:#1f293780}.material-dialog{width:min(460px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#1f2937;box-shadow:0 24px 70px #11182755}.material-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #e5e7eb}.material-dialog-heading .eyebrow{margin-bottom:6px;color:#1e3a8a}.material-dialog-heading h2{margin:0;color:#1f2937;font-size:19px;font-weight:650}.material-dialog-close{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#f3f4f6;color:#1f2937;font-size:22px;line-height:1}.material-register-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0 0}.material-register-form .wide{grid-column:1/-1}.material-register-form input{background:#f3f4f6}.material-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}.material-dialog-actions .button{min-height:40px;margin:0;border-radius:6px}.material-dialog-footnote{margin:12px 0 0;color:#6b7280;font-size:10px}
.table-panel .record-time{display:block;margin-top:2px;color:var(--muted);font-size:10px;line-height:1.35;white-space:nowrap}
.table-panel .record-note{display:block;max-width:260px;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
html body main.content details.form-panel .form-panel-plus{position:relative;display:block;width:20px;height:20px;font-size:0;line-height:0}html body main.content details.form-panel .form-panel-plus::before,html body main.content details.form-panel .form-panel-plus::after{content:"";position:absolute;top:50%;left:50%;border-radius:2px;background:currentColor;transform:translate(-50%,-50%)}html body main.content details.form-panel .form-panel-plus::before{width:20px;height:3px}html body main.content details.form-panel .form-panel-plus::after{width:3px;height:20px}html body main.content details.form-panel[open] .form-panel-plus{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--navy);transform:rotate(45deg)}
html body main.content details.form-panel[open]{overflow-x:hidden;background:var(--paper);box-shadow:0 0 0 100vmax #1d324466,0 18px 60px #1d324440}html body main.content details.form-panel[open]::before{content:none}html body main.content details.form-panel[open] .entry-form{width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));box-sizing:border-box}
main.content details.form-panel:not([open]){margin:0;padding:0;border:0;background:transparent;box-shadow:none}main.content details.form-panel:not([open])>summary{position:fixed;right:24px;bottom:24px;z-index:90;display:grid;place-items:center;width:60px;height:60px;padding:0;border:0;border-radius:50%;background:var(--orange);color:#fff;box-shadow:0 8px 24px #1d324440;font-size:0;transition:transform .16s ease,box-shadow .16s ease}main.content details.form-panel:not([open])>summary:hover{transform:translateY(-2px);box-shadow:0 12px 28px #1d32444d}main.content details.form-panel:not([open])>summary:focus-visible{outline:3px solid var(--navy);outline-offset:3px}main.content details.form-panel>summary::-webkit-details-marker{display:none}main.content details.form-panel>summary::marker{content:""}main.content details.form-panel:not([open]) .form-panel-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}main.content details.form-panel .form-panel-plus{font-size:34px;line-height:1;font-weight:400;transition:transform .16s ease}main.content details.form-panel[open]{position:fixed;top:50%;left:50%;z-index:1000;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;margin:0;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 18px 60px #1d324440}main.content details.form-panel[open]::before{content:"";position:fixed;inset:-100vh -100vw;z-index:-1;background:#1d324466}main.content details.form-panel[open]>summary{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:12px 20px;background:var(--paper);border-bottom:1px solid var(--line)}main.content details.form-panel[open] .form-panel-title{color:var(--navy);font-size:16px}main.content details.form-panel[open] .form-panel-plus{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--navy);transform:rotate(45deg)}main.content details.form-panel[open] .entry-form{padding:20px}
form.login-panel > .login-logo{display:block;align-self:start;justify-self:center;margin:0 auto 27px;object-position:center}
:root{font-family:"DM Sans", "Segoe UI", sans-serif;color:#1d3244;background:#f5f7f5;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#1d3244;--orange:#f15a24;--line:#dce3e6;--muted:#70808b;--paper:#fff;--soft:#edf2f5;--orange-soft:#fff0e9}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 72% 0,#fff0e8 0,transparent 34%),#f5f7f5;color:var(--navy)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,summary{touch-action:manipulation}.topbar{height:68px;display:flex;align-items:center;gap:52px;padding:0 30px;background:#ffffffed;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;min-width:205px;font-size:14px;letter-spacing:.02em}.brand img{width:30px;height:30px;object-fit:contain}.brand strong{color:var(--navy)}.brand strong span{color:var(--orange)}.top-context{display:flex;align-items:center;gap:11px;color:#87949a;font-size:12px}.top-context b{color:#c3cbcf}.top-context strong{color:var(--navy)}.account-form{display:flex;align-items:center;gap:10px;margin-left:auto}.avatar,.workspace-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--navy);font-size:11px;font-weight:700}.account-name{color:#61727d;font-size:12px}.text-button,.inline-link,.action-link{border:0;background:transparent;color:var(--orange);font-size:12px;font-weight:700;cursor:pointer}.layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:calc(100vh - 68px)}.sidebar{display:flex;flex-direction:column;padding:26px 14px 18px;background:#fff;border-right:1px solid var(--line)}.sidebar-label,.eyebrow{margin:0 0 11px;color:#89979e;font:10px "Consolas",monospace;letter-spacing:.12em;text-transform:uppercase}.sidebar nav{display:grid;gap:3px}.nav-item{min-height:39px;padding:8px 10px;display:flex;align-items:center;gap:10px;border-radius:5px;color:#5c6f7c;font-size:12px}.nav-item:hover,.nav-item.active{background:var(--soft);color:var(--navy)}.nav-item.active{box-shadow:inset 3px 0 var(--orange);font-weight:700}.nav-item small{margin-left:auto;color:var(--orange);font:10px "Consolas",monospace}.nav-mark{width:20px;height:20px;display:grid;place-items:center;border:1px solid #d7e0e3;border-radius:4px;color:#788a94;font-size:10px}.active .nav-mark{border-color:#f5c3b0;background:#fff;color:var(--orange)}.sidebar-footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding:15px 8px 0;border-top:1px solid #edf0f1}.sidebar-footer strong,.sidebar-footer small{display:block}.sidebar-footer strong{font-size:11px}.sidebar-footer small{margin-top:3px;color:var(--muted);font-size:10px}.workspace-avatar{border-radius:6px;background:var(--orange);color:#fff}.content{width:min(100%,1500px);margin:0 auto;padding:36px clamp(20px,4vw,58px) 60px}.page-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 25px}.page-heading .eyebrow{margin-bottom:9px}.page-heading h1,.setup-panel h1,.login-panel h1{margin:0;color:var(--navy);font:500 31px Georgia,serif}.muted{margin:8px 0 0;color:var(--muted);font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric{min-height:126px;padding:17px 18px;background:var(--paper);border:1px solid var(--line);border-top:2px solid var(--orange)}.metric-label{display:block;color:#6d7c85;font-size:11px}.metric strong{display:block;margin-top:16px;color:var(--navy);font-size:23px;line-height:1.2}.metric small{display:block;margin-top:4px;color:#829099;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:14px;margin-bottom:15px}.panel{min-width:0;background:var(--paper);border:1px solid var(--line)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border-bottom:1px solid #edf0f1}.panel-heading h2,.alert-panel h2{margin:0;color:var(--navy);font-size:14px}.panel-heading p{margin:5px 0 0;color:var(--muted);font-size:10px}.panel-heading form{display:flex;align-items:center;gap:6px}.panel-heading select,.search-form input{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);font-size:11px}.chart{height:220px;padding:14px 18px 12px}.bars{height:100%;display:flex;align-items:stretch;gap:8px;border-bottom:1px solid #e6ebed}.bar-column{min-width:0;flex:1;display:grid;grid-template-rows:18px minmax(0,1fr) 22px;justify-items:center;gap:4px}.bar-value{height:18px;color:#71808a;font:9px "Consolas",monospace;white-space:nowrap}.bar-track{width:min(28px,70%);height:100%;display:flex;align-items:end;overflow:hidden;background:linear-gradient(to top,#edf2f5 1px,transparent 1px);background-size:100% 25%}.bar-track i{width:100%;min-height:0;background:var(--orange);border-radius:3px 3px 0 0}.bar-label{color:#72818a;font:9px "Consolas",monospace}.stock-panel{padding-bottom:16px}.stock-line{display:flex;justify-content:space-between;gap:12px;padding:13px 18px;border-bottom:1px solid #eef1f2;color:#53636d;font-size:11px}.stock-line span{display:flex;align-items:center;gap:9px}.stock-line i{width:9px;height:9px;border-radius:2px}.stock-line strong{color:var(--navy);font-size:11px}.stock-panel .inline-link{display:inline-block;margin:15px 18px 0}.table-panel{margin-bottom:15px}.table-panel table{width:100%;border-collapse:collapse}.table-panel th{padding:12px 15px;background:var(--soft);border-bottom:1px solid var(--line);color:#5f727e;text-align:left;font:10px "Consolas",monospace;text-transform:uppercase;white-space:nowrap}.table-panel td{padding:13px 15px;border-bottom:1px solid #edf0f1;color:#566872;font-size:11px}.table-panel tbody tr:last-child td{border-bottom:0}.table-panel td:first-child{color:var(--navy);font-weight:600}.table-scroll{width:100%;overflow-x:auto}.status{display:inline-block;padding:4px 7px;border-radius:3px;background:var(--soft);color:var(--navy);font:9px "Consolas",monospace;white-space:nowrap}.status.warning{background:var(--orange-soft);color:#bd4c23}.alert-panel{padding:17px 19px}.alert-panel h2{margin-bottom:10px}.alert-panel p{display:flex;gap:10px;align-items:center;margin:0;padding:9px 0;border-top:1px solid #f0f2f3;color:#546772;font-size:11px}.alert-panel p strong{margin-left:auto}.alert-panel p span{color:var(--muted);font-size:10px}.module-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 14px}.search-form{display:flex;gap:7px;flex:1;max-width:470px}.search-form input{width:100%;min-width:0}.record-count{color:var(--muted);font:10px "Consolas",monospace}.button{min-height:39px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--orange);border-radius:4px;background:var(--orange);color:#fff;font-size:12px;font-weight:700;cursor:pointer}.button:hover{background:#d94f1f;border-color:#d94f1f}.button.secondary{border-color:var(--line);background:#fff;color:var(--navy)}.button.secondary:hover{background:var(--soft)}.button.small{min-height:33px;padding:0 10px;font-size:10px}.button.full{width:100%;margin-top:8px}.form-panel{margin-bottom:15px;padding:0 17px}.form-panel summary{padding:15px 1px;color:var(--navy);font-size:12px;font-weight:700;cursor:pointer}.entry-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:3px 0 18px}.entry-form label,.login-panel label{display:grid;gap:6px;color:#52646f;font-size:11px}.entry-form input,.entry-form select,.entry-form textarea,.login-panel input{width:100%;min-height:37px;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);font-size:12px}.entry-form textarea{resize:vertical}.entry-form .wide{grid-column:span 2}.entry-form button{justify-self:start}.actions{white-space:nowrap}.actions form{display:inline}.action-link{padding:5px;color:var(--orange)}.action-link.danger{color:#b84232}.empty,.empty-cell{padding:22px;color:#829098;text-align:center;font-size:11px}.empty-cell{text-align:left}.color-swatch{display:inline-block;width:18px;height:18px;border:1px solid #d5dde0;border-radius:50%;vertical-align:middle}.history-panel{margin-top:15px}.history-group{padding:14px 18px;border-top:1px solid #edf0f1}.history-title,.history-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.history-title strong{font-size:12px}.history-title span,.history-row,.history-row time{color:var(--muted);font-size:10px}.history-row{padding:8px 0;border-bottom:1px solid #f0f2f3}.history-row strong{color:var(--navy)}.history-row strong.negative{color:#b84232}.usage-total{margin:9px 0 0;color:var(--muted);font-size:10px}.notice{padding:11px 13px;border:1px solid var(--line);font-size:12px}.notice.success{border-color:#bddbc9;background:#eff8f2;color:#276442}.notice.error{border-color:#f0c6b7;background:var(--orange-soft);color:#a74329}.setup-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 76% 10%,#fff0e8,transparent 35%),#f5f7f5}.login-panel,.setup-panel{width:min(100%,420px);padding:34px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--orange);box-shadow:0 16px 42px #1d324414}.login-logo{display:block;width:180px;height:auto;max-height:58px;object-fit:contain;object-position:left;margin-bottom:27px}.login-panel h1,.setup-panel h1{margin-bottom:8px}.login-panel .muted,.setup-panel p:not(.eyebrow){line-height:1.6}.login-panel label{margin-top:16px}.setup-panel code{font-family:"Consolas",monospace}.setup-panel .button{margin-top:12px}.account-form .text-button{padding:7px 9px}.mobile-title{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.content{padding-left:4%;padding-right:4%}}
@media(max-width:700px){.topbar{height:60px;padding:0 14px;gap:10px}.brand{min-width:0}.top-context{display:none}.account-form{gap:7px}.account-name{display:none}.layout{display:flex;flex-direction:column}.sidebar{order:0;padding:8px 10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-label,.sidebar-footer{display:none}.sidebar nav{display:flex;gap:4px;overflow-x:auto}.nav-item{flex:none;padding:7px 9px;font-size:10px}.nav-mark{display:none}.nav-item small{margin-left:2px}.mobile-title{display:none}.content{padding:25px 14px 42px}.page-heading h1{font-size:26px}.metric-grid{gap:8px}.metric{min-height:105px;padding:13px}.metric strong{font-size:19px}.dashboard-grid{gap:10px}.panel-heading{align-items:flex-start;padding:14px}.panel-heading form{flex-wrap:wrap;justify-content:flex-end}.chart{height:185px;padding-right:10px;padding-left:10px}.bar-column{min-width:0}.bar-value,.bar-label{font-size:8px}.table-panel th,.table-panel td{padding:11px 10px}.module-toolbar{align-items:flex-start;flex-direction:column}.search-form{width:100%;max-width:none}.record-count{align-self:flex-end}.entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-form .wide{grid-column:span 2}.history-title,.history-row{gap:8px}.history-row time{white-space:nowrap}.login-panel,.setup-panel{padding:26px}.account-form .text-button{font-size:10px}}
.report-print-header,.report-print-footer{display:none}
@media print{@page{size:auto;margin:16mm 12mm 22mm}.report-print-header{display:flex;align-items:center;justify-content:space-between;gap:12mm;margin:0 0 8mm;padding:0 0 6mm;border-bottom:3px solid var(--orange);-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-print-header img{display:block;width:70mm;max-height:23mm;object-fit:contain;object-position:left center}.report-print-header>div{display:grid;gap:2mm;text-align:right}.report-print-header>div span{color:var(--orange);font-size:8pt;font-weight:700}.report-print-header>div strong{color:var(--navy);font-size:16pt}.report-print-footer{position:fixed;right:0;bottom:-14mm;left:0;display:flex;align-items:center;justify-content:space-between;gap:5mm;padding-top:3mm;border-top:1px solid #dce3e6;background:#fff;color:#52616b;font-size:8pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-footer-brand{color:var(--navy);font-weight:800}.report-footer-brand i{color:var(--orange);font-style:normal}.report-print-footer time{text-align:right}}
.order-product-modal[hidden]{display:none!important}.order-entry-form>label,.product-registry-form>label{color:var(--dark-text);font-size:12px;font-weight:600}.order-entry-form input:not([type="hidden"]),.order-entry-form select,.product-registry-form input:not([type="hidden"]){min-height:40px;padding:0 10px;border:1px solid var(--soft-border);border-radius:6px;background:#fff;color:var(--dark-text)}.order-entry-form input:focus,.order-entry-form select:focus,.product-registry-form input:focus{outline:2px solid var(--brand-dark);outline-offset:1px}.order-entry-form .system-generated{background:var(--neutral-gray)!important;color:#4B5563!important}.order-stock-note{margin:0;padding:10px 12px;border-left:3px solid var(--brand-dark);background:var(--neutral-gray);color:var(--dark-text);font-size:11px}.order-stock-message{margin:0;padding:10px 12px;border:1px solid #F5B9A2;border-radius:6px;background:#FFF0E9;color:#7C2D12;font-size:12px;font-weight:700}.order-product-save{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.order-product-save:hover{background:#D94816;border-color:#D94816;color:#fff}.order-product-error{margin:0;color:#B42318;font-size:12px;font-weight:600}
.order-items{display:grid;gap:10px}.order-item{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--soft-border);border-radius:6px;background:#fff}.order-item>label{display:grid;gap:6px;min-width:0;color:var(--dark-text);font-size:11px;font-weight:600}.order-item input,.order-item select{width:100%;min-width:0}.order-item .order-line-remove{justify-self:start}.order-add-line{justify-self:start}.order-detail-items{display:grid;gap:7px;margin:0;padding:0;list-style:none}.order-detail-items li{display:grid;gap:4px;padding:9px 11px;border-radius:6px;background:var(--neutral-gray)}.order-detail-items li>div{display:flex;justify-content:space-between;gap:12px}.order-detail-items li>div span,.order-detail-items li>small{color:var(--muted);font-size:11px}.order-detail-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.order-detail-actions form{margin:0}.order-detail-actions .danger{background:#fff;border-color:#D1D5DB;color:#B42318}.order-detail-actions .danger:hover{background:#FEF2F2;border-color:#B42318}@media(max-width:600px){.order-item{grid-template-columns:minmax(0,1fr)}.order-item .order-line-remove{grid-column:1}.order-detail-actions{justify-content:stretch}.order-detail-actions>*{flex:1}}
.order-items-table-shell{grid-column:1/-1;max-width:100%;overflow-x:auto;border:1px solid var(--soft-border);border-radius:6px;background:#fff}.order-items-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}.order-items-table th{height:36px;padding:8px 10px;border-bottom:1px solid var(--soft-border);background:#F9FAFB;color:#6B7280;font-size:10px;font-weight:700;text-align:left;text-transform:uppercase}.order-items-table td{padding:8px 10px;border-bottom:1px solid #E5E7EB;vertical-align:middle}.order-items-table tbody tr:last-child td{border-bottom:0}.order-items-table th:nth-child(1){width:35%}.order-items-table th:nth-child(2){width:11%}.order-items-table th:nth-child(3){width:14%}.order-items-table th:nth-child(4){width:10%}.order-items-table th:nth-child(5){width:10%}.order-items-table th:nth-child(6){width:15%}.order-items-table th:nth-child(7){width:5%}.order-items-table select,.order-items-table input{width:100%;min-width:0;height:38px;min-height:38px;padding:0 9px;border:1px solid var(--soft-border);border-radius:6px;background:#fff;color:var(--dark-text);font-size:12px}.order-items-table input.system-generated{background:var(--neutral-gray);text-align:right}.order-items-table input:focus,.order-items-table select:focus{outline:2px solid var(--brand-dark);outline-offset:1px}.order-line-remove{width:30px;height:30px;border:1px solid var(--soft-border);border-radius:50%;background:#fff;color:var(--brand-primary);font-size:18px;line-height:1;cursor:pointer}.order-line-remove:hover:not(:disabled){border-color:var(--brand-primary);background:#FFF0E9}.order-line-remove:disabled{opacity:.4;cursor:not-allowed}.order-row-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.order-row-controls label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.order-row-controls input{width:58px;height:34px;padding:0 7px;border:1px solid var(--soft-border);border-radius:6px;background:#fff;color:var(--dark-text)}.order-entry-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:20px;align-items:start}.order-entry-notes{display:grid;gap:14px}.order-entry-notes label{display:grid;gap:6px;color:var(--dark-text);font-size:12px;font-weight:600}.order-entry-notes textarea{width:100%;min-height:74px;padding:9px;border:1px solid var(--soft-border);border-radius:6px;background:#fff;color:var(--dark-text);font:12px/1.45 inherit;resize:vertical}.order-entry-notes textarea:focus,.order-summary input:focus,.order-summary select:focus{outline:2px solid var(--brand-dark);outline-offset:1px}.order-summary{display:grid;gap:0;padding:12px;border-radius:6px;background:var(--neutral-gray);color:var(--dark-text)}.order-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 0;border-bottom:1px solid #E5E7EB;font-size:12px}.order-summary-row>output{min-width:88px;text-align:right;font-variant-numeric:tabular-nums}.order-summary-row>label{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0}.order-summary input,.order-summary select{height:36px;min-width:0;padding:0 8px;border:1px solid var(--soft-border);border-radius:6px;background:#fff;color:var(--dark-text);font-size:12px}.order-summary input[type="number"]{width:112px;text-align:right}.order-discount-control{display:flex}.order-discount-control input{width:104px;border-top-right-radius:0;border-bottom-right-radius:0}.order-discount-control select{width:50px;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.order-summary-row.order-summary-subtotal{font-weight:700}.order-summary-row.order-summary-total{min-height:50px;margin-top:4px;border:0;color:var(--dark-text);font-size:15px;font-weight:800}.order-summary-row.order-summary-total strong:last-child{font-variant-numeric:tabular-nums}@media(max-width:700px){.order-entry-bottom{grid-template-columns:minmax(0,1fr)}.order-summary{grid-row:1}.order-row-controls{align-items:flex-start}}