:root{color:#2c211a;font-synthesis:none;background:#f4efe8;font-family:Inter,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}::selection{color:#24150e;background:#d7a977}:focus-visible{outline-offset:3px;outline:3px solid #bb7438}.shell{background:#fffdfa;max-width:1180px;min-height:100vh;margin:auto;box-shadow:0 10px 36px #3c27141c}header{color:#fff8ef;background:#302018;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex}header .brand{align-items:center;gap:.8rem;min-width:0;display:flex}header .brand img{object-fit:contain;flex:none}header strong{letter-spacing:.04em;font-size:1.08rem;display:block}header span,small{color:#705e50;font-size:.84rem;display:block}header span,header small{color:#e6d4bf}header>div:last-child{text-align:right}.brand>div{min-width:0}nav{background:#fff8ee;border-bottom:1px solid #e9dccb;display:flex;overflow-x:auto}nav button{color:#5c493c;white-space:nowrap;background:0 0;border:0;padding:1rem 1.1rem;font-weight:600}nav .active{color:#70390f;background:#fffdfa;border-bottom:3px solid #a9632d}nav button:hover{background:#f5e9da}main{max-width:960px;margin:auto;padding:1.5rem}h1{letter-spacing:-.025em;color:#2d1c12;margin:0 0 1.2rem;font-size:1.85rem}h2{color:#3e2718;margin:2rem 0 1rem;font-size:1.2rem}p{line-height:1.5}.title{justify-content:space-between;align-items:start;gap:1rem;display:flex}.center{background:#f4efe8;place-content:center;min-height:100vh;padding:1rem;display:grid}.center form{background:#fffdfa;width:min(400px,90vw);box-shadow:0 15px 38px #3c27141a}.login-logo{object-fit:contain;margin:0 auto 1rem;display:block}.center h1{text-align:center;font-size:1.5rem}.center p{text-align:center;margin-bottom:1.5rem}form{background:#fcf8f2;border:1px solid #ead9c7;border-radius:14px;margin-bottom:1rem;padding:1.2rem}label{color:#483123;margin-bottom:.8rem;font-weight:600;display:block}input:not([type=checkbox]),select{color:#2c211a;background:#fff;border:1px solid #cbb7a5;border-radius:8px;width:100%;min-height:46px;margin-top:.35rem;padding:.7rem .8rem;display:block}input::placeholder{color:#77675a}input[type=checkbox]{vertical-align:middle;accent-color:#92501c;width:18px;height:18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}button:not(.product):not(.quiet):not(nav button){color:#fff;background:#793f17;border:1px solid #793f17;border-radius:8px;min-height:44px;padding:.72rem 1rem;font-weight:650}button:not(.product):not(.quiet):not(nav button):hover{background:#5e2e0d}.quiet{color:inherit;background:0 0;border:0;padding:.6rem}.product,.row{text-align:left;background:#fffdfa;border:0;border-bottom:1px solid #eddfd0;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:1rem;display:flex}.product:hover{background:#fbf2e8}.product strong,.row>strong,.row>b{font-variant-numeric:tabular-nums;white-space:nowrap;color:#66350f}.row small,.product small{color:#705e50;margin-top:.3rem}.row>div,.product>span{overflow-wrap:anywhere;min-width:0}.row small{overflow-wrap:anywhere}.edit{background:#fcf8f2;border:1px solid #ead9c7;flex-wrap:wrap}.edit input:not([type=checkbox]){width:170px}.edit select{width:150px}.edit label{margin:0}.notice{color:#4b2b11;overflow-wrap:anywhere;background:#f5e8d8;border-radius:8px;padding:1rem}.offline{color:#6d4800;background:#fff1d2;margin:0;padding:.8rem 1.5rem}@media (width<=600px){main{padding:1rem}header{padding:.8rem 1rem}.brand img{width:48px;height:48px}header strong{font-size:.92rem}.grid{grid-template-columns:1fr;gap:0}.edit input:not([type=checkbox]),.edit select{width:100%}.edit>*{flex:100%}.title h1{font-size:1.5rem}.row{align-items:start}.row>strong{margin-top:.2rem}}@media (prefers-reduced-motion:no-preference){button{transition:background-color .18s,color .18s}}.title-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.title-actions button{white-space:nowrap}.print-options{margin:0 0 1rem}.print-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.print-options p{color:#705e50;margin:.1rem 0 .8rem}.pallet-choices{border:0;min-width:0;margin:0 0 1rem;padding:0}.pallet-choices legend{color:#483123;margin-bottom:.5rem;font-weight:600}.pallet-choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-height:18rem;display:grid;overflow:auto}.pallet-choice-list label{overflow-wrap:anywhere;background:#fff;border:1px solid #ead9c7;border-radius:8px;align-items:center;gap:.6rem;min-height:44px;margin:0;padding:.6rem;font-weight:500;display:flex}.pallet-choice-list input{flex:none}.print-report{display:none}@media (width<=600px){.title{flex-wrap:wrap}.title-actions{justify-content:flex-start;width:100%}.print-fields{grid-template-columns:1fr;gap:0}.pallet-choice-list{grid-template-columns:1fr}}@media print{@page{margin:14mm}:root,body{color:#171717;background:#fff}.shell{display:none!important}.print-report{color:#171717;font-family:Arial,sans-serif;display:block}.print-heading{align-items:center;gap:12px;margin-bottom:18px;display:flex}.print-heading img{object-fit:contain}.print-heading h1{color:#171717;margin:0 0 4px;font-size:20px}.print-heading p{color:#333;margin:0;font-size:12px;line-height:1.3}.print-report table{border-collapse:collapse;width:100%;font-size:11px}.print-report th,.print-report td{text-align:left;vertical-align:top;border-bottom:1px solid #bbb;padding:7px 5px}.print-report th{border-bottom:2px solid #333}.print-report .quantity{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.print-report tr{break-inside:avoid}}
