:root{--ink:#18342f;--brand:#00684d;--line:#cedbd5;--pale:#e9f3ec;--muted:#50655c;color:var(--ink);font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f3f6f1}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}.wrap{max-width:1220px;margin:auto;padding:0 clamp(14px,4vw,48px)}.top{background:#13392e;color:white}.mast{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:11px;align-items:center;font-weight:750;letter-spacing:.1em}.brand b{display:grid;place-items:center;width:39px;height:39px;border:1px solid #accbb8;border-radius:10px;font:700 27px Georgia}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:.01em;color:#cae2d2}#environment{font-size:13px;text-align:right}main{padding-bottom:30px!important}h1{font-size:clamp(36px,5vw,62px);line-height:1.04;letter-spacing:-.055em;margin:38px 0 8px}h2{margin:0 0 14px;font-size:clamp(22px,3vw,31px);line-height:1.16;letter-spacing:-.035em}h3{font-size:18px}.subtitle,.muted,small,footer{color:var(--muted)}.subtitle{margin:0 0 20px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:20px 0}.steps button{background:transparent;display:flex;align-items:center;gap:8px;border:0;border-bottom:2px solid var(--line);border-radius:0;text-align:left}.steps i{font-style:normal;background:#e1e9e2;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:13px}.steps [aria-current=step]{border-color:var(--brand);color:var(--brand)}.steps [aria-current=step] i{color:white;background:var(--brand)}.box,dialog{background:white;border:1px solid var(--line);border-radius:16px;padding:clamp(17px,3vw,32px);box-shadow:0 5px 18px #18342f08}.box p{margin-top:4px}.spread,.actions,.row,.filters,.bulk,.summary,footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread,.summary,footer{justify-content:space-between}.row,.filters{align-items:end}.filters{background:#f4f7f3;padding:14px;border-radius:10px;margin:16px 0}.filters label{flex:1 1 150px}.bulk{align-items:end;justify-content:space-between;padding:8px 0 18px}.bulk .row label{max-width:150px}.actions{margin-top:20px}.actions .primary:only-child{margin-left:auto}label{display:grid;gap:5px;font-size:13px;font-weight:650;margin:3px 0}select,input,textarea,button,a{font:inherit}select,input,textarea{width:100%;min-width:0;background:white;color:var(--ink);border:1px solid #afc1b8;border-radius:7px;padding:9px 10px;font-size:16px}textarea{resize:vertical}#stage1>label{margin:14px 0;max-width:720px}#mode{max-width:360px}button,.actions a{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);font-weight:620;border-radius:8px;padding:9px 13px;text-decoration:none}button:hover:not(:disabled),.actions a:hover{background:var(--pale)}.primary,.primary:hover:not(:disabled){background:var(--brand);color:white;border-color:var(--brand)}button:disabled{cursor:default;opacity:.48}:focus-visible{outline:3px solid #569b80;outline-offset:2px}summary{cursor:pointer;color:var(--brand);font-weight:650}details{margin-top:14px}pre{overflow:auto;background:#f1f5f2;padding:15px;font-size:13px}.upload{max-width:600px;background:#f4f8f4;padding:16px;border:1px dashed #9db8a7;border-radius:10px}.check{display:flex;align-items:center;gap:7px}input[type=checkbox]{accent-color:var(--brand);width:19px;height:19px;flex:none}.table-head,.product{display:grid;grid-template-columns:minmax(215px,2.4fr) minmax(84px,.8fr) minmax(100px,.9fr) 100px 88px;gap:13px;align-items:center}.table-head{font-size:12px;color:var(--muted);font-weight:650;padding:8px 0;border-bottom:1px solid var(--line)}.product{border-bottom:1px solid var(--line);padding:12px 0}.product strong,.product small{display:block}.product>div{min-width:0}.product small,.check-info{font-size:12px}.product .first{display:flex;gap:9px;align-items:flex-start;overflow-wrap:anywhere}.product .first input{margin-top:3px}.product .qty{display:flex;align-items:center;justify-content:space-between}.qty button,.details button{padding:5px 8px}.details{display:flex;flex-direction:column;gap:4px}.details button{font-size:13px}.attention{color:#87470b;font-size:13px;font-weight:650}.summary{position:sticky;bottom:0;border-top:1px solid var(--line);background:white;padding:12px 0}.toast{background:#e9f3ec;padding:9px 13px;border-radius:8px}.toast.error{color:#86351e;background:#fff1e9}footer{margin-top:13px;font-size:13px}.link{border:0;color:var(--brand);background:transparent;text-decoration:underline}dialog{color:var(--ink);width:min(640px,95vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#162c2380}dialog svg{display:block;max-height:50dvh;width:100%;margin:12px auto}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.review-row{border-bottom:1px solid var(--line);padding:9px 0;display:flex;justify-content:space-between;gap:15px;overflow-wrap:anywhere}.review-row small{display:block}
@media(max-width:800px){.table-head{display:none}.product{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 100px;gap:8px 14px}.product .first{grid-column:1/-1}.product .details{grid-column:1/-1;flex-direction:row}.bulk,.bulk .row{align-items:stretch}.steps button{padding:9px 3px;gap:4px;justify-content:center}.steps i{width:20px;height:20px}.box{border-radius:12px}.filters label{flex-basis:45%}}
@media(max-width:520px){.steps button{flex-direction:column;font-size:13px}.summary{align-items:stretch;flex-direction:column;gap:7px}.filters{gap:6px}.filters label:first-child{flex-basis:100%}.formgrid{grid-template-columns:1fr}.product{grid-template-columns:minmax(60px,1fr) minmax(95px,1fr) 90px}.bulk .row{display:grid;grid-template-columns:1fr 1fr}.bulk .row button{grid-column:1/-1}.actions>*{max-width:100%}h1{margin-top:26px}}
