*{box-sizing:border-box}body{color:#182638;background:#f4f6fa;margin:0;font:16px/1.5 system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:#24364b;background:#fff;border:1px solid #d5dce5;border-radius:9px;padding:10px 15px}button:hover{background:#eaf1fa}button:disabled{opacity:.5;cursor:wait}input,select{color:#182638;background:#fff;border:1px solid #ced6e1;border-radius:8px;width:100%;padding:11px}:is(input:focus,select:focus,button:focus-visible){outline:3px solid #72b5ff}small{color:#65758a;font-size:14px;display:block}h1{letter-spacing:-1px;margin:5px 0;font-size:34px}h2{margin:0;font-size:20px}p{color:#637086}.shell{min-height:100vh;display:flex}aside{color:#fff;background:#12283e;flex-direction:column;flex-shrink:0;width:244px;height:100vh;padding:30px 20px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;font-size:24px;font-weight:750;display:flex}.brand small{letter-spacing:1.4px;color:#abc0d2;font-size:12px}.cube{color:#fff;background:#24b493;border-radius:10px;padding:0 10px;font-size:32px}nav{gap:9px;margin-top:44px;display:grid}nav button{text-align:left;color:#c6d4e2;background:0 0;border:0;justify-content:space-between;padding:13px 16px;display:flex}nav button.active{color:#fff;background:#264059}nav b{color:#092e27;background:#2ab798;border-radius:5px;padding:0 7px}.aside-note{color:#c5d4e1;margin-top:auto}.aside-note small{color:#92a9bf;margin-top:8px}main{flex:1;min-width:0;max-width:1450px;padding:40px}header{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}header p{margin:0}.eyebrow{color:#13876f;letter-spacing:1.8px;font-size:13px;font-weight:700}.role,.status{background:#e6ecf4;border-radius:20px;padding:7px 12px;font-size:14px}.stats{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:30px;display:grid}.stats article{background:#fff;border:1px solid #e2e7ed;border-radius:13px;padding:22px}.stats strong{margin-top:7px;font-size:32px;display:block}.toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.toolbar input{max-width:470px}.primary{color:#fff;background:#087d68;border-color:#087d68}.primary:hover{background:#066553}.panel{background:#fff;border:1px solid #dde4ec;border-radius:13px;overflow:hidden}.panel-head{border-bottom:1px solid #e8edf2;justify-content:space-between;gap:14px;padding:22px;display:flex}.panel-head span{color:#6b7a8b;font-size:14px}.empty{text-align:center;color:#66758a;padding:65px 20px}.empty>span{color:#119b80;font-size:44px}.empty h3{color:#24384f}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th{color:#69798b;background:#f8fafc;font-size:14px}th,td{border-bottom:1px solid #e9edf3;padding:18px}td strong{font-size:16px}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions button{padding:7px 10px;font-size:14px}.actions input{width:90px}.low{color:#9b5f13;background:#fff0dc;border-radius:6px;padding:5px 10px}.hint{border:1px dashed #b6c9db;border-radius:12px;margin-top:24px;padding:22px}.hint p{margin:7px 0 15px}.hint button{margin-right:10px}.orders{gap:20px;display:grid}.order{padding:23px}.order-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.pending{color:#8a570e;background:#fff0d7}.line{border-bottom:1px solid #e5eaf0;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;display:flex}.padded{padding:24px}.alert,.notice{border-radius:9px;margin-bottom:18px;padding:15px 20px}.alert{color:#a63125;background:#ffe8e6}.alert a{color:inherit;text-decoration:underline;display:block}.notice{background:#def5eb;justify-content:space-between;align-items:center;display:flex}.notice button{padding:4px 9px;font-size:14px}.overlay{z-index:20;background:#0b203ca8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:17px;width:min(650px,100%);max-height:92vh;padding:26px;overflow:auto;box-shadow:0 24px 90px #0003}.dialog label{color:#56677c;margin:15px 0;font-size:14px;display:block}.dialog label input,.dialog select{margin-top:5px;display:block}.grid{grid-template-columns:1fr 1fr;gap:0 18px;display:grid}.dialog form>.primary{width:100%;margin-top:20px}.dialog label.line{display:flex}.quantity{max-width:90px}footer{color:#7e8d9f;margin-top:35px;font-size:14px}@media (max-width:800px){.shell{display:block}aside{width:100%;height:auto;padding:17px;position:relative}.brand{font-size:21px}nav{gap:4px;margin-top:20px;display:flex;overflow:auto}nav button{white-space:nowrap;padding:9px 12px}.aside-note{display:none}main{padding:22px 15px}.stats{gap:8px}.stats article{padding:13px 10px}.stats strong{font-size:25px}.stats small{font-size:13px}.role{display:none}.panel-head{display:block}.panel-head span{margin-top:8px;display:block}.toolbar{flex-wrap:wrap}.grid{grid-template-columns:1fr}.overlay{padding:10px}.dialog{padding:18px}th,td{padding:12px}.order-head{align-items:flex-start}}@media print{aside,.toolbar,button,footer,.stats{display:none}main{padding:0}.panel{border:0}body{background:#fff}.overlay{background:#fff;position:static}.dialog{max-height:none;box-shadow:none}}.export-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-bottom:18px;display:flex}.export-bar span{color:#60748a;margin-right:auto;font-size:14px}.article-row td{background:#edf5f3;border-top:1px solid #cce0db;padding:15px 18px}.article-row td>div{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.article-row strong{color:#086b59;font-size:18px}.article-row span{color:#61756f;font-size:14px}.article-row button{margin-left:auto;padding:6px 10px;font-size:14px}@media (max-width:600px){.export-bar span{width:100%}.article-row span{display:none}.article-row td{padding:12px}.article-row button{font-size:13px}}@media print{.export-bar{display:none}}textarea{width:100%;font:inherit;resize:vertical;border:1px solid #ced6e1;border-radius:8px;margin-top:5px;padding:11px}.padded.line{flex-wrap:wrap}.session-actions{margin-top:22px}.logout-button{color:#fff;text-align:center;border:1px solid #7890a7;border-radius:9px;padding:11px 16px;font-weight:600;text-decoration:none;display:block}.logout-button:hover{background:#264059}.logout-button:focus-visible{outline:3px solid #72b5ff}@media (max-width:800px){.session-actions{margin-top:14px}.logout-button{padding:8px 16px;display:inline-block}}@media print{.session-actions{display:none}}.session-actions>button{width:100%;margin-bottom:10px;display:block}.customer-catalog .quantity{max-width:110px}.customer-catalog section+section{border-top:1px solid #dde4ec}.export-link{font:inherit;color:#24364b;background:#fff;border:1px solid #d5dce5;border-radius:9px;padding:10px 15px;text-decoration:none;display:inline-block}.export-link:hover{background:#eaf1fa}.export-link:focus-visible{outline:3px solid #72b5ff}.dialog input.permission-check{width:auto;margin:0 8px 0 0;display:inline-block}.order-tracking{background:#f0f7f5;border-radius:9px;margin:15px 0;padding:12px 16px}.order-tracking p{margin:5px 0}.order-article{background:#fff;border:1px solid #d8e0e8;border-radius:10px;margin:16px 0;overflow:hidden}.order-article h3{color:#fff;background:#172f46;margin:0;padding:12px 16px;font-size:1.05rem}.order-column-labels{color:#344f67;background:#e8eef3;justify-content:space-between;gap:16px;padding:10px 16px;font-size:.875rem;font-weight:600;display:flex}.order-article .line{border-bottom:1px solid #e2e8f0;margin:0;padding:12px 16px}.order-article .line:nth-child(2n){background:#f1f5f9}.order-article .line>span{overflow-wrap:anywhere;min-width:0}.order-article .quantity{flex-shrink:0;width:85px}.correction-line{flex-wrap:wrap;gap:12px}.correction-line>span:first-child{flex:180px}.correction-line>span:last-child{font-size:.875rem}.correction-line input{max-width:110px}.price-selector{flex:170px;min-width:170px;font-size:.875rem}.price-selector select{width:100%;min-width:0}.order-article .line{flex-wrap:wrap;gap:12px}.order-article .line>span:first-child{flex:180px}.history-entry{background:#fff;border:1px solid #d8e0e8;border-radius:10px;margin:16px 0;overflow:hidden}.history-entry h4{margin:0 0 6px;font-size:1rem}.history-entry table{width:100%}.history-entry tbody tr:not(.article-row):nth-child(2n){background:#f1f5f9}.history-entry tfoot{background:#e8eef3}.history-entry .order-head{background:#f1f5f9;flex-wrap:wrap;gap:12px}.history-void{border-left:4px solid #8b4050}.reserve-section{background:#f8fafc;border:1px solid #d8e0e8;border-radius:12px;margin:20px 0;padding:18px}.reserve-section h3{margin:0 0 8px}.reserve-section .order-head{flex-wrap:wrap;gap:12px}.product-prices{border:1px solid #cbd5e1;border-radius:10px;margin:18px 0;padding:16px}.product-prices legend{color:#172f46;padding:0 8px;font-weight:700}.product-prices small{font-size:.875rem;line-height:1.5}.price-grid{width:100%;min-width:740px}.price-cell{align-items:center;gap:6px;min-width:150px;margin:0;display:flex}.price-cell input{font-variant-numeric:tabular-nums;width:100%;min-width:0}.price-grid th:first-child{min-width:220px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.record-disclosure.order{padding:0}.record-summary{cursor:pointer;color:#172f46;background:#fff;min-height:60px;padding:18px 22px}.record-summary:hover{background:#f1f5f9}.record-summary:focus-visible{outline-offset:-3px;outline:3px solid #72b5ff}.record-summary-content{vertical-align:middle;justify-content:space-between;align-items:center;gap:20px;width:calc(100% - 22px);display:inline-flex}.record-summary strong{overflow-wrap:anywhere}.record-summary time{white-space:nowrap;color:#65758a;font-size:.95rem}.record-disclosure[open]>.record-summary{background:#f1f5f9;border-bottom:1px solid #e2e8f0}.record-disclosure.order>.record-content{padding:23px}@media (max-width:600px){.record-summary{padding:16px}.record-summary-content{align-items:flex-start;gap:12px}.record-disclosure.order>.record-content{padding:16px}}
