:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;color:#1d2935;background:#f4f6f7;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1d2935;--muted: #687681;--line: #dce2e5;--soft: #f7f9f9;--green: #176b58;--green-dark: #105344;--green-soft: #eaf4f1;--amber: #b46b13;--amber-soft: #fff5e6;--red: #b33a3a;--red-soft: #fff0f0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f6f7}button,input,select{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh}.page-header{min-height:112px;padding:24px max(28px,calc((100vw - 1220px)/2));display:flex;align-items:center;justify-content:space-between;gap:32px;color:#fff;background:#20383b;border-bottom:4px solid #d99a3c}.page-header h1{margin:3px 0 0;font-size:27px;line-height:1.2;letter-spacing:0}.eyebrow{margin:0;color:#b8cfca;font-size:12px;font-weight:700}.flow-steps{display:flex;align-items:center;min-width:440px}.flow-step{display:flex;align-items:center;gap:8px;color:#9fb1b2;font-size:13px;white-space:nowrap}.flow-step.active,.flow-step.done{color:#fff}.step-number{width:28px;height:28px;border:1px solid #617477;border-radius:50%;display:grid;place-items:center;font-weight:700}.flow-step.active .step-number{color:#17282b;background:#f1b85d;border-color:#f1b85d}.flow-step.done .step-number{background:#368873;border-color:#368873}.step-line{height:1px;flex:1;min-width:36px;margin:0 12px;background:#526669}.page-content{width:min(1220px,calc(100% - 40px));margin:28px auto 64px}.source-panel{padding:24px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:6px;box-shadow:0 5px 18px #15282b0d}.panel-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.title-icon{width:40px;height:40px;display:grid;place-items:center;color:var(--green);background:var(--green-soft);border-radius:6px}.panel-title h2,.orders-heading h2,.confirm-heading h2{margin:2px 0 0;font-size:19px}.section-kicker{margin:0;color:var(--green);font-size:11px;font-weight:800}.account-fields{display:grid;grid-template-columns:minmax(230px,1fr) minmax(230px,1fr) 142px;gap:12px;align-items:end}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span:first-child,.quantity-field>span:first-child{color:#43515b;font-size:13px;font-weight:700}input,select,.select-like{width:100%;height:42px;padding:0 12px;color:var(--ink);background:#fff;border:1px solid #cfd7db;border-radius:5px;outline:none}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #176b581a}input::placeholder{color:#9aa5ac}input:disabled,select:disabled,.select-like:disabled{color:#8b979e;background:#f3f5f5}.password-field,.search-field{position:relative;display:block}.password-field input{padding-right:44px}.password-toggle{position:absolute;top:3px;right:3px}.search-field svg{position:absolute;top:12px;left:12px;color:#77858d}.search-field input{padding-left:39px}.button{min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:5px;font-weight:750}.button.primary{color:#fff;background:var(--green)}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{color:#2d4447;background:#fff;border-color:#bfc9cd}.button.secondary:hover:not(:disabled){background:#f3f7f6;border-color:#8fa19f}.verify-button{white-space:nowrap}.icon-button{width:36px;height:36px;padding:0;display:grid;place-items:center;color:#53616a;background:transparent;border:0;border-radius:4px}.icon-button:hover{background:#edf1f2}.icon-button.danger:hover{color:var(--red);background:var(--red-soft)}.field-message{margin:8px 0 0;font-size:13px}.field-message.success{color:var(--green)}.field-message.error{color:var(--red)}.field-message.checking{color:var(--amber)}.asset-strip{margin-top:14px;padding:11px 14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--green-soft);border:1px solid #cfe4de;border-radius:5px}.asset-strip.empty{background:#f7f8f8;border-color:#e4e8ea}.asset-strip>div{padding:0 16px;display:flex;align-items:center;gap:9px;border-right:1px solid #cbded9;min-width:0}.asset-strip>div:first-child{padding-left:0}.asset-strip>div:last-child{padding-right:0;border-right:0}.asset-strip span{color:var(--muted);font-size:12px}.asset-strip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.orders-heading,.confirm-heading{margin:30px 2px 14px;display:flex;justify-content:space-between;align-items:end}.order-count,.confirm-heading>span{color:var(--muted);font-size:13px}.order-card,.confirm-order{margin-bottom:16px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 4px 14px #15282b0a;overflow:hidden}.order-card-header,.confirm-order>header{min-height:72px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;background:#f8faf9;border-bottom:1px solid var(--line)}.order-index{color:var(--green);font-size:11px;font-weight:800}.order-card-header h2,.confirm-order header h2{margin:3px 0 0;font-size:17px}.order-card-header h2 small,.confirm-order header h2 small{margin-left:8px;color:var(--muted);font-size:13px;font-weight:500}.order-section{padding:20px 22px;border-bottom:1px solid #e7ebed}.order-section:last-child{border-bottom:0}.section-heading{margin-bottom:14px;display:flex;align-items:center;gap:9px}.section-heading h3{margin:0;font-size:15px}.section-number{width:23px;height:23px;display:grid;place-items:center;color:var(--green);background:var(--green-soft);border-radius:50%;font-size:12px;font-weight:800}.product-grid{display:grid;grid-template-columns:1.35fr 1fr 150px;gap:12px;align-items:end}.select-like{text-align:left}.stepper{display:grid;grid-template-columns:38px 1fr 38px;border:1px solid #cfd7db;border-radius:5px;overflow:hidden}.stepper button{height:40px;display:grid;place-items:center;color:#44535c;background:#f5f7f7;border:0}.stepper input{height:40px;padding:0;text-align:center;border:0;border-left:1px solid #dce2e5;border-right:1px solid #dce2e5;border-radius:0}.sku-placeholder{margin-top:13px;padding:12px 14px;display:flex;gap:18px;background:var(--amber-soft);border:1px solid #f0ddbc;border-radius:5px}.sku-placeholder span{color:#8d5814;font-size:12px;font-weight:800;white-space:nowrap}.sku-placeholder p{margin:0;color:#765d3a;font-size:12px;line-height:1.5}.address-grid{display:grid;grid-template-columns:1fr 1fr .75fr .75fr .75fr;gap:12px}.address-detail{grid-column:1 / -1}.add-order-button{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--green);background:#f8fbfa;border:1px dashed #91b4ab;border-radius:6px;font-weight:750}.add-order-button:hover{background:var(--green-soft)}.submit-bar,.confirm-actions{position:sticky;bottom:12px;z-index:10;margin-top:24px;padding:14px 16px;display:flex;align-items:center;gap:20px;background:#fffffff7;border:1px solid #cfd7da;border-radius:6px;box-shadow:0 10px 30px #15282b21}.submit-bar>div{display:flex;flex-direction:column;gap:2px}.submit-bar>div span{color:var(--muted);font-size:12px}.submit-message{flex:1;margin:0;color:var(--amber);font-size:13px;text-align:right}.submit-message.error{color:var(--red)}.submit-button{min-width:158px}.state-panel{min-height:360px;padding:50px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#57656d;background:#fff;border:1px solid var(--line);border-radius:6px;text-align:center}.state-panel h2{margin:14px 0 6px;color:var(--ink);font-size:20px}.state-panel p{margin:0 0 20px;color:var(--muted)}.batch-summary{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:28px;color:#fff;background:#1d5f51;border-radius:6px}.summary-status{display:flex;align-items:center;gap:12px;min-width:220px}.summary-status div{display:flex;flex-direction:column;gap:2px}.summary-status span{color:#bee0d7;font-size:12px}.summary-status strong{font-size:16px}.summary-metrics{flex:1;display:grid;grid-template-columns:1.4fr 1fr 1fr}.summary-metrics>div{padding:0 20px;display:flex;flex-direction:column;gap:4px;border-left:1px solid rgba(255,255,255,.2)}.summary-metrics span{color:#bee0d7;font-size:11px}.summary-metrics strong{font-size:14px}.stock-ok{padding:6px 9px;display:inline-flex;align-items:center;gap:6px;color:var(--green);background:var(--green-soft);border-radius:4px;font-size:12px;font-weight:700}.confirm-grid{display:grid;grid-template-columns:1fr 1fr}.confirm-grid section{padding:20px 22px}.confirm-grid section:first-child{border-right:1px solid var(--line)}.confirm-grid h3{margin:0 0 13px;display:flex;align-items:center;gap:7px;font-size:14px}.confirm-grid dl{margin:0}.confirm-grid dl>div{min-height:33px;display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid #edf0f1}.confirm-grid dt{color:var(--muted);font-size:12px}.confirm-grid dd{margin:0;font-size:13px;font-weight:650;text-align:right}.confirm-grid .pay-total dt,.confirm-grid .pay-total dd{color:var(--green);font-weight:800}.confirm-grid .address-confirm{grid-column:1 / -1;padding-top:15px;background:#fafbfb;border-top:1px solid var(--line)}.address-confirm p{margin:0;color:#43515a;font-size:13px}.confirm-actions{justify-content:flex-end}.confirm-actions .submit-message{text-align:center}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.page-header{align-items:flex-start;flex-direction:column;gap:18px}.flow-steps{width:100%;min-width:0}.account-fields,.product-grid{grid-template-columns:1fr 1fr}.verify-button,.quantity-field{grid-column:1 / -1}.address-grid{grid-template-columns:repeat(3,1fr)}.address-grid .field:nth-child(1),.address-grid .field:nth-child(2){grid-column:span 3}.summary-metrics{grid-template-columns:1fr}.summary-metrics>div{padding:5px 16px}}@media(max-width:640px){.page-header{padding:20px}.page-header h1{font-size:23px}.flow-step{font-size:11px}.flow-step span:last-child{display:none}.step-line{margin:0 8px}.page-content{width:min(100% - 24px,1220px);margin-top:16px}.source-panel,.order-section{padding:16px}.account-fields,.product-grid,.address-grid,.confirm-grid{grid-template-columns:1fr}.verify-button,.quantity-field,.address-grid .field:nth-child(1),.address-grid .field:nth-child(2),.address-detail{grid-column:auto}.asset-strip{grid-template-columns:1fr 1fr;gap:10px 0}.asset-strip>div{padding:0 10px;border-right:0}.asset-strip>div:nth-child(2n){border-left:1px solid #d7e2df}.asset-strip>div:first-child{padding-left:10px}.order-card-header,.confirm-order>header{padding:14px 16px}.batch-summary{align-items:flex-start;flex-direction:column}.summary-metrics{width:100%}.confirm-grid section:first-child{border-right:0;border-bottom:1px solid var(--line)}.confirm-grid .address-confirm{grid-column:auto}.submit-bar,.confirm-actions{bottom:8px;align-items:stretch;flex-direction:column;gap:10px}.submit-message{text-align:left}.submit-button,.confirm-actions .button{width:100%}}
