:root{--ink:#302016;--brown:#41291b;--gold:#e2b473;--cream:#faf6ee;--white:#fffdf8;--line:#e5d8c7;--muted:#78685b;--green:#27684f;--radius:20px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;font-size:15px}
a{color:inherit}.skip{position:absolute;left:-10000px;top:auto}.skip:focus{left:10px;top:10px;z-index:999;background:white;padding:12px}
button,select,input{font:inherit}button{cursor:pointer;transition:filter .15s,transform .15s}button:hover{filter:brightness(1.07)}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #d89027;outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.5}
.notice{padding:11px 24px;background:#422b1d;color:#fff7e8;text-align:center;font-size:13px;border-bottom:2px solid var(--gold)}
.notice strong{margin-right:12px;letter-spacing:.065em}
.top{background:var(--white);max-width:none;padding:17px max(20px,calc((100% - 1190px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}
.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:19px;line-height:1.12;font-family:Georgia,serif;font-weight:400}
.brand b{font-weight:700}.brand small{display:block;margin-top:5px;font:700 9px system-ui;letter-spacing:.14em;color:var(--muted)}
.monogram{width:44px;height:44px;display:grid;place-items:center;background:#2c463d;color:#fff;border-radius:12px;font:bold 14px system-ui}
.back{font-size:13px;text-decoration:none;font-weight:700;color:#575044}
.layout{max-width:1190px;margin:0 auto;padding:24px 24px 40px}.hero{display:grid;grid-template-columns:1.45fr .55fr;align-items:center;gap:20px;background:linear-gradient(119deg,#38271d,#6c4d31);border-radius:24px;color:#fff8ec;padding:40px 48px;overflow:hidden}
.eyebrow{color:#f5cf92;letter-spacing:.15em;font-size:11px;font-weight:800}
.hero h1{font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:clamp(36px,4vw,61px);letter-spacing:-.025em;line-height:1.03;margin:14px 0}.hero h1 em{font-weight:400;color:#ecc58d}
.lead{color:#efe2d2;max-width:640px;line-height:1.6;font-size:15px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}
.hero-icon{display:grid;grid-template-columns:1fr 1fr;transform:rotate(-12deg);gap:8px;opacity:.55;max-width:230px;margin-left:auto}
.hero-icon span{height:102px;border:1px solid #dabb84;border-radius:16px;display:grid;place-items:center;font:38px Georgia,serif}
.primary,.secondary{border:0;border-radius:10px;padding:12px 16px;font-weight:750}.primary{background:#e9bb7d;color:#332113}.secondary{background:#fff9ed;color:#49301d;border:1px solid #d7c5a7}
.status-strip{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:15px 0 20px;padding:13px 18px;background:#fffdf7;border:1px solid var(--line);border-radius:13px;font-size:12px;color:var(--muted)}.status-strip strong{color:var(--ink)}.dot{display:inline-block;width:8px;height:8px;background:#318a63;border-radius:50%;margin-right:7px}
.dashboard{display:grid;grid-template-columns:.94fr 1.06fr;align-items:start;gap:18px}.left-stack,.right-stack{display:grid;gap:18px}.panel{background:var(--white);border-radius:var(--radius);border:1px solid var(--line);padding:24px;box-shadow:0 5px 22px #54331b08}.section-label{font-size:10px;letter-spacing:.16em;color:#8a714e;font-weight:850;margin-bottom:12px}.panel h2{margin:0 0 20px;font:400 27px Georgia,serif;line-height:1.2}
.panel label{display:block;font-weight:700;color:#5e4c3d;font-size:12px;margin:14px 0 7px}
.panel select,.panel input{display:block;width:100%;border:1px solid #d9c6b1;border-radius:10px;padding:12px 13px;background:#fff;color:var(--ink);height:47px}
.stock-line{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:20px;margin-top:22px;gap:10px;font-weight:800}
.stock-line small{font-size:11px;color:var(--muted);font-weight:450}.stock-value{color:var(--green);white-space:nowrap}
.item-info{display:flex;justify-content:space-between;margin-top:12px;color:var(--muted);font-size:13px}.item-info strong{color:var(--ink)}
.hint,.fine,.muted{color:var(--muted);line-height:1.6;font-size:12px}.hint{background:#f8f2e6;border-radius:8px;padding:10px;margin-top:18px}
.button-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}.button-list button{background:#2e5448;color:#fff;border:1px solid #285248;border-radius:10px;min-height:55px;padding:10px 11px;font-weight:750;font-size:12px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:6px}
.button-list .outline{background:#fff;color:#744938;border:1px solid #d8b3a4}.keyhint{font-size:10px;font-weight:600;opacity:.7}.message{border:1px solid #e3d1b9;background:#f8f2e6;color:#5a3c2a;padding:12px;border-radius:10px;font-size:12px;line-height:1.5}
.message.error{border-color:#d99d8e;background:#fff4ef;color:#9b3826}.message.success{border-color:#a6d5b4;background:#f0faf2;color:#285d3c}.full{width:100%;margin-top:18px}
.text-result{display:block;margin-top:14px;font-size:12px;min-height:18px;color:#2c5d4a}
.flow-steps{display:grid;gap:2px;margin:12px 0 24px}.flow-step{display:flex;align-items:center;gap:13px;padding:12px 5px;border-bottom:1px solid #f1e8df}.flow-step:last-child{border:0}
.step-number{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;background:#f0ebe4;border:1px solid #e4d7c4;border-radius:100%;color:#88745f;font-weight:800;font-size:12px}
.flow-step.done .step-number{background:#dcefe5;color:#246044;border-color:#c5e5cf}.flow-step.active .step-number{background:#3e705a;color:#fff;border-color:#3e705a}.flow-step div:nth-child(2){font-size:13px;font-weight:700}.flow-step small{display:block;color:#998b7c;font-weight:400;margin-top:3px}
.order-summary{display:flex;justify-content:space-between;gap:12px;margin:0;border-top:1px solid #eee5da;padding:12px 0;font-size:12px;color:var(--muted)}.order-summary strong{max-width:60%;text-align:right;color:var(--ink);overflow-wrap:anywhere}
.audit{padding:0;margin:0 0 12px;list-style:none;max-height:330px;overflow:auto}.audit li{padding:10px 4px;border-bottom:1px solid #f1e6da;font-size:12px;color:#4f4236;line-height:1.5}.audit li time{font-size:10px;color:#928479;display:block}.audit li strong{font-weight:750}
.qa-panel{background:#f3f6ee}.qa-panel p{font-size:13px;line-height:1.6;color:#566651}.qa-panel output{display:block;padding:11px;border-radius:10px;background:#e2eddb;color:#315741;font:750 12px system-ui;overflow-wrap:anywhere}
footer{margin:32px auto 12px;text-align:center;font-size:12px;color:#806e60}footer a{margin-left:12px}
@media(max-width:850px){.dashboard{grid-template-columns:1fr}.hero{padding:32px}.hero-icon{display:none}.layout{padding:18px}.top{padding:15px 20px}}
@media(max-width:490px){.layout{padding:10px}.hero{padding:25px 19px;border-radius:16px}.hero h1{font-size:39px}.lead{font-size:13px}.hero-actions>*{width:100%}.panel{padding:18px;border-radius:15px}.panel h2{font-size:24px}.status-strip{font-size:11px;gap:8px}.notice{font-size:11px;padding:8px 12px}.back{font-size:11px}.brand{font-size:15px}.monogram{width:38px;height:38px}.button-list{grid-template-columns:1fr}.button-list button{min-height:49px}.dashboard{gap:12px}.left-stack,.right-stack{gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important}}
