*{box-sizing:border-box}html{font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#262726;background:#f6f5f2}body{margin:0;min-height:100vh;display:grid;grid-template-columns:212px minmax(0,1fr)}aside{background:white;border-right:1px solid #deded9;display:flex;flex-direction:column;padding:30px 18px;position:sticky;top:0;height:100vh}.brand{display:block;width:143px;height:auto;margin:2px auto 43px}.workspace,.over{font-size:10px;font-weight:750;letter-spacing:.14em;color:#73746f}.workspace{padding:0 12px 12px}nav a{display:flex;gap:12px;align-items:center;color:#51534f;padding:11px 13px;border-radius:7px;margin:2px 0;text-decoration:none;font-weight:580}nav a.active{background:#f6eae8;color:#832820}nav a:hover{background:#f6f3ef}.aside-foot{margin-top:auto;color:#777971;padding:14px 8px;font-size:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:8px;background:#a86a35;margin-right:5px}main{min-width:0}header{height:62px;padding:0 clamp(18px,4vw,60px);background:#fff;border-bottom:1px solid #deded9;display:flex;justify-content:space-between;align-items:center;color:#74756f;font-size:13px}header b{color:#333831}header i{padding:0 10px;color:#c7c8c0}#screen{max-width:1530px;margin:0 auto;padding:36px clamp(18px,4vw,60px) 65px}.top,.actions,.tools,.pager,.linehead,.sumrow,.payrow{display:flex;align-items:center;gap:12px}.top,.linehead,.sumrow,.pager,.payrow{justify-content:space-between}.top{margin:0 0 23px}.top h1{margin:4px 0 0}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,3vw,40px);line-height:1.16;letter-spacing:-.05em;font-weight:690}h2{font-size:22px;letter-spacing:-.035em}h3{font-size:16px}.card{background:white;border:1px solid #dfded7;border-radius:12px;padding:23px;margin:16px 0}.card.tablecard{padding:0;overflow:hidden}.table-wrap{overflow:auto}button,.btn,input,select,textarea{font:inherit}button,.btn{border:1px solid #d5d5ce;background:white;color:#32342f;padding:9px 14px;border-radius:7px;font-size:14px;font-weight:580;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.4}button:hover,.btn:hover{border-color:#9b9e91;background:#f6f5f1}.primary{background:#822921;border-color:#822921;color:white}.primary:hover{color:white;background:#682019;border-color:#682019}.danger{color:#932b24}.light{background:#fcfbf8}.small{font-size:12px;padding:6px 9px}.plain{border:0;background:transparent;color:#78271f}.tools{flex-wrap:wrap;padding:16px 18px;border-bottom:1px solid #e8e7e2}.tools .search{flex:1;min-width:190px}.tools select{width:auto}.search,input,textarea,select{border:1px solid #cccec5;border-radius:6px;padding:9px 10px;background:white;color:#262924;width:100%;min-height:39px}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:#822921;cursor:pointer}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid #9a5c4e;outline-offset:2px}textarea{resize:vertical;min-height:65px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;color:#686b62;font-weight:650;background:#f7f7f4;white-space:nowrap}td,th{padding:12px 10px;border-bottom:1px solid #eeeee8}td{font-size:14px}td:first-child,th:first-child{padding-left:17px}td:last-child,th:last-child{padding-right:17px}.orderlink{font-weight:680;color:#73251e;text-decoration:none}.orderlink:hover{text-decoration:underline}.muted,small{font-size:12px;color:#71746a}.sub{display:block;margin-top:3px}.amount,.number{font-variant-numeric:tabular-nums;white-space:nowrap}.pill{display:inline-block;font-size:11px;padding:4px 9px;border-radius:14px;white-space:nowrap;background:#f6ede0;color:#754411}.pill.good{background:#e5efe5;color:#2e623c}.pill.overpaid{background:#e4edf5;color:#325d81}.pager{padding:13px 18px}.pager .actions{gap:5px}.empty{text-align:center;padding:40px 18px;color:#65675f}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:15px}label.field{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px}.span{grid-column:1/-1}.bottom{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(265px,.8fr);gap:18px}.items,.payments{margin-top:11px}.item{display:grid;grid-template-columns:minmax(160px,1fr) 118px 38px;align-items:end;gap:9px;margin:9px 0}.payment{display:grid;grid-template-columns:1fr 1fr 1fr auto auto;gap:8px;align-items:end;margin:9px 0}.xbtn{height:39px;width:36px;padding:5px;font-size:18px}.sumrow{border-bottom:1px solid #ecece7;padding:11px 0}.sumrow:last-child{border:0}.sumrow strong{font-size:20px}.login{max-width:420px;margin:7vh auto;padding:28px}.login h1{font-size:32px}.login .field{margin:16px 0}.login .primary{width:100%;margin-top:3px}.error{padding:9px 13px;background:#fff0ed;color:#8a2720;border-radius:5px;margin:10px 0;font-size:14px}.back{color:#676a61;font-size:13px;text-decoration:none;display:inline-block;margin-bottom:12px}.tagdot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.c0{background:#383d39}.c1{background:#d59c37}.c2{background:#a63a2b}.c3{background:#527d55}.batch{background:#faf1eb;padding:10px 18px;display:flex;align-items:center;justify-content:space-between}.foot-actions{justify-content:flex-end;flex-wrap:wrap}.notice{font-size:13px;color:#72756d;margin:8px 0}.stats{display:flex;align-items:center;gap:9px;color:#74776e;font-size:13px}.stats b{font-size:14px;color:#34382f}#toast{position:fixed;right:24px;bottom:20px;border-radius:8px;padding:13px 18px;background:#29392e;color:white;box-shadow:0 5px 25px #0002;z-index:3;max-width:min(440px,90vw)}dialog{border:1px solid #dcdad4;border-radius:12px;padding:24px;max-width:420px}dialog p{margin:12px 0 20px}dialog::backdrop{background:#25242265}dialog .actions{justify-content:flex-end}[hidden]{display:none!important}.subheading{margin-top:18px}.notes{white-space:pre-wrap;overflow-wrap:anywhere}button:disabled{opacity:.5;cursor:default}
@media(max-width:1050px){body{grid-template-columns:165px minmax(0,1fr)}aside{padding:22px 10px}.brand{width:120px}.bottom{grid-template-columns:1fr}.payment{grid-template-columns:1fr 1fr 1fr auto auto}}
@media(max-width:760px){body{display:block}aside{height:auto;position:static;flex-direction:row;align-items:center;gap:8px;padding:8px 12px;border-right:0;border-bottom:1px solid #ddd}.brand{width:74px;margin:0 8px 0 0}.workspace,.aside-foot,header{display:none}nav{display:flex;flex-wrap:wrap}nav a{font-size:12px;padding:6px;gap:4px}#screen{padding:22px 12px 38px}.top{align-items:flex-start;gap:10px}.actions{flex-wrap:wrap;gap:6px}.card{padding:15px}.fields{gap:10px}.item{grid-template-columns:1fr 85px 32px}.payment{grid-template-columns:1fr 1fr}.payment .xbtn{justify-self:end}.tools{padding:12px}.top h1{font-size:28px}.top .btn,.top button{font-size:12px;padding:8px}.pager{padding:12px}.optional-col{display:none}}
@media(max-width:480px){.fields{grid-template-columns:1fr}.linehead{flex-wrap:wrap}.tools select{width:100%}.top{flex-wrap:wrap}.login{margin:38px auto}.stats{display:none}.table-wrap table{min-width:560px}}
fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.82}

.product-cell { width: 32%; min-width: 13rem; overflow-wrap: anywhere; }
.product-list summary { cursor: pointer; }
.product-list summary::marker { color: #832820; }
.product-list summary:focus-visible { outline: 2px solid #9a5c4e; outline-offset: 3px; }
.product-more, .product-less { color: #73251e; font-size: .85em; font-weight: 600; }
.product-list:not([open]) .product-less, .product-list[open] .product-short, .product-list[open] .product-more { display: none; }
.product-list ol { margin: .4em 0 0; padding-left: 1.65em; }
.product-list li { white-space: pre-line; }
.product-list li + li { margin-top: .25em; }
