:root{--green:#255f4a;--green-dark:#174434;--cream:#f7f3e8;--paper:#fff;--ink:#20312b;--muted:#66756f;--line:#dbe3df;--warn:#fff1bf;--danger:#a93737;--radius:16px;--shadow:0 5px 22px rgba(26,54,43,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.45}a{color:var(--green-dark)}button,input,select,textarea{font:inherit}.site-header{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px max(18px,calc((100vw - 1180px)/2));background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--green);display:flex;flex-direction:column;line-height:1.1}.brand strong{font-size:21px}.brand small{font-size:11px;letter-spacing:.08em;text-transform:uppercase}.site-header nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.site-header nav a,.link-button{text-decoration:none;font-weight:650}.link-button{border:0;background:none;color:var(--green-dark);padding:0;cursor:pointer}.inline{display:inline}.container{max-width:1180px;margin:0 auto;padding:30px 18px 70px}.messages{position:fixed;right:18px;top:82px;z-index:30;max-width:420px}.message{padding:14px 18px;margin:8px;border-radius:10px;background:#fff;box-shadow:var(--shadow);border-left:5px solid var(--green)}.message.error{border-color:var(--danger)}h1{font-size:clamp(29px,5vw,44px);line-height:1.05;margin:.2em 0}h2{margin:.25em 0;font-size:23px}p{margin:.5em 0 1em}.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;border:1px solid var(--green);border-radius:11px;padding:9px 17px;background:#fff;color:var(--green-dark);font-weight:750;text-decoration:none;cursor:pointer}.button.primary{color:#fff;background:var(--green)}.button.primary:hover{background:var(--green-dark)}.button.small{min-height:38px;padding:6px 13px}.button.large{min-height:56px;font-size:19px;padding:12px 24px}.button:disabled{opacity:.45;cursor:not-allowed}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.narrow{max-width:580px;margin:30px auto}.stacked-form>div{margin:17px 0}.stacked-form label,.filters label,.deadline label{display:flex;flex-direction:column;gap:5px;font-weight:650}.stacked-form input,.stacked-form select,.stacked-form textarea,.filters input,.filters select,.deadline input{width:100%;border:1px solid #aab8b2;border-radius:9px;padding:11px;background:#fff}.errorlist{color:var(--danger);margin:5px 0}.helptext{font-size:14px;color:var(--muted)}.notice{padding:16px 19px;background:var(--warn);border-radius:12px;margin:18px 0}.catalog-top,.page-heading,.print-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.catalog-top p,.page-heading p{color:var(--muted)}.filters{position:sticky;z-index:10;top:68px;background:var(--cream);display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px;padding:12px 0 18px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.product-card{overflow:hidden;background:#fff;border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow)}.product-card img,.photo-placeholder{display:flex;width:100%;height:190px;object-fit:cover;align-items:center;justify-content:center;background:#dfe9df;color:var(--green);font-weight:900;font-size:42px}.product-body{display:flex;flex-direction:column;gap:7px;padding:17px}.product-body h2,.product-body p{margin:0}.category{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.price{font-size:20px}.product-body small,.line-item small,.list-link small{display:block;color:var(--muted)}.add-form{display:grid;grid-template-columns:80px 1fr;gap:8px;margin-top:7px}.add-form input,.quantity-form input,table input,select{min-width:0;border:1px solid #aab8b2;border-radius:9px;padding:10px;background:#fff}.order-group{margin:16px 0}.line-item,.summary-line,.confirm-line{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}.line-item:last-child,.summary-line:last-child,.confirm-line:last-child{border:0}.quantity-form{display:flex;gap:8px}.quantity-form input{width:100px}.order-total{display:flex;justify-content:space-between;align-items:center;font-size:26px;padding:22px 3px}.empty{text-align:center;grid-column:1/-1;padding:50px 20px}.list-cards{display:grid;gap:12px}.list-link{display:flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none}.status{padding:9px 13px;border-radius:999px;background:#e3ece8;font-weight:750}.status-ready,.status-issued{background:#d8eedc}.deadline{margin:15px 0}.deadline label{max-width:380px}.responsive-table{overflow-x:auto;margin:16px 0}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted)}.big-check,.confirm-line input{width:24px;height:24px}.section-title{display:flex;align-items:center;justify-content:space-between}.confirm-line{grid-template-columns:auto 1fr auto}.tabs{display:flex;gap:8px;margin:20px 0}.tabs button{border:1px solid var(--line);background:#fff;padding:11px 20px;border-radius:999px;font-weight:700}.tabs button.active{background:var(--green);color:#fff}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.payout{font-size:24px}.print-section{padding:18px 0;border-bottom:2px solid #333}.print-section h2 small{font-weight:400;margin-left:15px}.print-total{display:flex;justify-content:space-between;padding:14px 0;font-size:20px}.report-table tfoot{font-size:20px}
@media(max-width:760px){body{font-size:16px}.site-header{align-items:flex-start}.site-header nav{justify-content:flex-end;gap:10px}.site-header nav a:not(.button){font-size:14px}.container{padding-top:20px}.filters{position:static;grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}.product-grid{grid-template-columns:1fr 1fr}.product-card img,.photo-placeholder{height:150px}.catalog-top,.page-heading{align-items:flex-start}.line-item{grid-template-columns:1fr auto}.line-item>strong{grid-column:2}.quantity-form{grid-column:1}.responsive-table{margin-left:-18px;margin-right:-18px}.card{padding:17px}.list-link{align-items:flex-start}}
@media(max-width:520px){.product-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:120px 1fr}.product-card img,.photo-placeholder{height:100%;min-height:190px}.add-form{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.filters label:first-child{grid-column:auto}.catalog-top{position:static}.site-header{position:relative;flex-direction:column}.site-header nav{justify-content:flex-start}.site-header nav a,.site-header nav form{display:inline-flex}.line-item{gap:9px}.quantity-form{flex-wrap:wrap}.page-heading{flex-direction:column}.payout{font-size:20px}}
@media print{@page{size:A4;margin:14mm}.no-print,.site-header,.messages{display:none!important}body{background:#fff;color:#000;font-size:11pt}.container{max-width:none;padding:0}.card{box-shadow:none;border:0}.print-section{break-inside:avoid}.buyer-print{break-after:page}.buyer-print:last-child{break-after:auto}table{font-size:10pt}th,td{padding:6px}.print-head{margin-bottom:10mm}a{color:#000;text-decoration:none}}
