:root{--ink:#111;--muted:#6d6d6d;--line:#dedede;--soft:#f4f4f2;--accent:#f4c542;--danger:#b42318;--radius:18px;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#ececea;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{height:94px;padding:0 max(24px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;background:#111;color:#fff}.eyebrow{margin:0 0 5px;font-size:11px;letter-spacing:.2em;color:#bfbfbf}.topbar h1{margin:0;font-size:27px;letter-spacing:-.03em}.status{display:flex;align-items:center;gap:8px;font-size:13px;color:#d8d8d8}.status i{width:8px;height:8px;border-radius:50%;background:#5fd17a;box-shadow:0 0 0 4px #5fd17a22}.layout{max-width:1280px;margin:28px auto 0;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 480px;gap:24px;align-items:start}.panel,.preview-wrap{background:#fff;border-radius:var(--radius);box-shadow:0 8px 30px #0000000a}.editor{padding:28px}.section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:25px}.section-title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#111;color:#fff;font-weight:800}.section-title h2{margin:1px 0 5px;font-size:20px}.section-title p,.history p{margin:0;color:var(--muted);font-size:14px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field>span{font-size:14px;font-weight:700}.field em{font-style:normal;font-weight:400;color:#999;margin-left:5px}.field input,.field textarea{width:100%;border:1px solid #cfcfcf;border-radius:10px;background:#fff;padding:13px 14px;font:inherit;font-size:16px;outline:none;transition:.15s}.field textarea{resize:vertical}.field input:focus,.field textarea:focus{border-color:#111;box-shadow:0 0 0 3px #11111110}.product-entry{display:flex;align-items:flex-end;gap:10px}.product-entry .field{margin:0}.grow{flex:1}.qty-field{width:92px}.qty-field input{text-align:center}.primary,.secondary,.text-button{border:0;font:inherit;font-weight:800;cursor:pointer;border-radius:10px}.primary{padding:14px 18px;background:#111;color:#fff}.primary:hover{background:#282828}.secondary{padding:13px 18px;background:#fff;border:1px solid #111}.text-button{background:transparent;padding:9px;color:#555}.text-button:hover{color:#111;background:#f1f1f1}.add-button{white-space:nowrap;height:49px}.message{min-height:22px;margin:8px 0 11px;color:var(--danger);font-size:14px;font-weight:700}.selected-head{display:flex;justify-content:space-between;align-items:center;padding-top:17px;margin-bottom:10px;border-top:1px solid var(--line);font-size:14px}.selected-head span{color:var(--muted)}.selected-list{display:flex;flex-direction:column;gap:9px;margin-bottom:20px;min-height:62px}.empty-state,.preview-empty{display:grid;place-items:center;min-height:62px;border:1px dashed #c8c8c8;border-radius:12px;color:#8b8b8b;font-size:14px}.selected-item{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:12px}.selected-item img{width:58px;height:58px;object-fit:contain;background:#f4f4f4;border-radius:8px}.selected-item strong{display:block;font-size:14px;margin-bottom:4px}.selected-item p{margin:0;font-size:13px;color:var(--muted)}.item-controls{display:flex;align-items:center;gap:7px}.item-controls button{width:30px;height:30px;border-radius:8px;border:1px solid #d6d6d6;background:#fff;font-size:18px;cursor:pointer}.item-controls .remove{color:var(--danger);font-size:15px;margin-left:5px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.preview-wrap{padding:22px;background:#242424;position:sticky;top:18px}.preview-title{color:#fff;margin:0 4px 18px}.preview-title>span{background:var(--accent);color:#111}.preview-title p{color:#adadad}.warehouse-card{overflow:hidden;background:#fff;border-radius:12px}.card-brand{display:flex;justify-content:space-between;padding:17px 22px;background:#111;color:#fff;font-size:13px;letter-spacing:.16em}.card-brand b{letter-spacing:.05em}.tracking-block{text-align:center;padding:24px 18px 21px;background:var(--accent);border-bottom:4px solid #111}.tracking-block small{display:block;font-weight:900;letter-spacing:.17em;font-size:11px}.tracking-block strong{display:block;margin:8px auto 7px;font-size:30px;line-height:1.04;overflow-wrap:anywhere;letter-spacing:.02em}.tracking-block p{margin:0;font-size:11px}.card-products{padding:17px;display:flex;flex-direction:column;gap:11px}.preview-product{display:grid;grid-template-columns:115px 1fr;gap:16px;align-items:center;padding-bottom:11px;border-bottom:1px solid #ddd}.preview-product:last-child{border-bottom:0;padding-bottom:0}.preview-product img{width:115px;height:115px;object-fit:contain;background:#f4f4f4}.preview-product .sku{font-size:22px;font-weight:900;margin-bottom:6px}.preview-product .name{font-size:14px;line-height:1.35}.preview-product .quantity{display:inline-block;margin-top:10px;background:#111;color:#fff;padding:5px 10px;font-size:13px;font-weight:900}.card-note{margin:0 17px 17px;padding:11px 12px;background:#fff7d6;border-left:4px solid var(--accent);font-size:13px;line-height:1.45}.checklist{display:flex;justify-content:space-between;gap:6px;padding:15px 17px;border-top:1px solid #ddd;font-size:11px;font-weight:900}.history{max-width:1280px;margin:24px auto 45px;padding:24px}.history-head{display:flex;align-items:center;justify-content:space-between}.history h2{margin:0 0 4px;font-size:19px}.history-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:17px}.history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:12px;padding:13px}.history-item strong{display:block;font-size:14px}.history-item small{color:var(--muted)}.history-item button{border:0;background:#111;color:#fff;border-radius:8px;padding:9px 11px;font-weight:700;cursor:pointer}
@media(max-width:900px){.topbar{height:82px;padding:0 18px}.layout{grid-template-columns:1fr;padding:0 13px;margin-top:14px}.editor{padding:20px 16px}.preview-wrap{position:static;padding:15px}.product-entry{display:grid;grid-template-columns:1fr 90px}.add-button{grid-column:1/-1}.history{margin:15px 13px 30px;padding:18px 15px}.history-list{grid-template-columns:1fr}.actions .primary,.actions .secondary{flex:1}.tracking-block strong{font-size:26px}.preview-product{grid-template-columns:100px 1fr}.preview-product img{width:100px;height:100px}}
@media(max-width:430px){.topbar h1{font-size:23px}.status{display:none}.section-title h2{font-size:18px}.actions{display:grid;grid-template-columns:1fr 1fr}.actions .text-button{grid-column:1/-1}.checklist{font-size:10px}.tracking-block{padding-left:12px;padding-right:12px}.tracking-block strong{font-size:24px}}
