*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#20242b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}.top{height:68px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100% - 1120px)/2));border-bottom:1px solid #eee;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px}.brandmark{width:38px;height:38px;border-radius:12px;background:#172b4d;color:white;display:grid;place-items:center;font-weight:800}.brand small{display:block;color:#89909b;font-size:11px;margin-top:3px}.ghost{background:#fff;border:1px solid #dce0e6;border-radius:9px;padding:9px 13px;color:#333}.hero{max-width:1120px;margin:24px auto 18px;background:linear-gradient(115deg,#132b4b,#28547c);border-radius:22px;color:white;padding:34px 42px;min-height:230px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.eyebrow{font-size:11px;letter-spacing:2px;color:#b6d7f4}.hero h1{font-size:34px;line-height:1.3;margin:12px 0}.hero p{color:#d1dfed}.hero-art{width:190px;height:160px;border-radius:48% 52% 40% 60%;background:#ffffff16;display:grid;place-items:center;font-size:76px;position:relative}.hero-art span{position:absolute;font-size:20px;right:15px;bottom:12px;background:#fff;color:#173452;border-radius:50%;width:42px;height:42px;display:grid;place-items:center}.primary{background:#f5a623;color:#20242b;border:0;border-radius:10px;padding:12px 20px;font-weight:700;cursor:pointer}.tabs{max-width:1120px;margin:0 auto 18px;display:flex;gap:8px}.tab{border:0;background:transparent;padding:11px 18px;color:#747b86;cursor:pointer}.tab.active{background:#fff;color:#152d4b;border-radius:10px;font-weight:700}.page{max-width:1120px;margin:0 auto 40px}.hidden{display:none!important}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quick button{border:0;background:#fff;border-radius:15px;padding:20px;text-align:left;display:flex;flex-direction:column;gap:8px;cursor:pointer}.quick span{font-size:27px}.quick small{color:#8b929d}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 15px}.section-head h2{font-size:21px;margin:0 0 5px}.section-head p{color:#8a919b;font-size:13px;margin:0}.section-head a{color:#315c85;cursor:pointer}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.product{background:#fff;border-radius:14px;overflow:hidden;border:1px solid #edf0f3}.product img{width:100%;height:170px;object-fit:cover;background:#eef1f4}.placeholder{height:170px;display:grid;place-items:center;background:#e9edf2;font-size:45px}.product-body{padding:13px}.product h3{font-size:15px;margin:0 0 8px}.muted{font-size:12px;color:#89919c;line-height:1.6}.price{font-size:20px;color:#d75b36;font-weight:800;margin:9px 0}.price small{font-size:12px;font-weight:400;color:#9aa0a8}.card-actions{display:flex;gap:8px}.card-actions button{flex:1}.secondary{border:1px solid #dce2e8;background:white;border-radius:9px;padding:10px;cursor:pointer}.service-note{margin-top:25px;background:#eaf0f6;border-radius:14px;padding:20px}.service-note p{font-size:13px;color:#657181}.service-note a{color:#28547c}.form-card{background:white;padding:20px;border-radius:14px;max-width:600px}label{display:block;font-size:13px;color:#555;margin:12px 0}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #dce1e7;border-radius:9px;margin-top:7px;font:inherit;background:#fff}textarea{min-height:80px}.full{width:100%;margin-top:12px}footer{text-align:center;color:#9aa0a8;font-size:12px;padding:28px}.modal{position:fixed;inset:0;background:#10182788;z-index:20;display:grid;place-items:center;padding:16px}.modal-card{background:#fff;border-radius:18px;width:min(560px,100%);max-height:90vh;overflow:auto;padding:24px;position:relative}.close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:27px;cursor:pointer}.modal-card h2{margin:0 30px 16px 0}.notice{padding:12px;background:#fff6df;color:#765314;border-radius:9px;font-size:13px;margin:12px 0}.order-row{padding:12px 0;border-bottom:1px solid #eee;font-size:13px}.admin-wrap{max-width:1200px;margin:30px auto;padding:0 16px}.admin-grid{display:grid;grid-template-columns:220px 1fr;gap:18px}.sidebar,.panel{background:#fff;border-radius:14px;padding:18px}.sidebar button{display:block;width:100%;text-align:left;padding:12px;border:0;background:transparent;border-radius:8px;cursor:pointer}.sidebar button.active{background:#edf2f7;color:#1c4265}.panel h2{margin-top:0}.table{width:100%;border-collapse:collapse;font-size:13px}.table th,.table td{padding:11px 8px;border-bottom:1px solid #edf0f2;text-align:left;vertical-align:top}.table th{color:#7a8490}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#f5f7f9;padding:16px;border-radius:12px}.stat b{font-size:22px;display:block;margin-top:8px}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.toolbar button{white-space:nowrap}@media(max-width:760px){.top{padding:0 14px}.hero{margin:14px;border-radius:16px;padding:24px;min-height:190px}.hero h1{font-size:27px}.hero-art{width:100px;height:100px;font-size:44px}.tabs{padding:0 12px;overflow:auto}.page{padding:0 14px}.quick{gap:8px}.quick button{padding:13px 10px}.quick small{font-size:10px}.products{grid-template-columns:repeat(2,1fr);gap:10px}.product img,.placeholder{height:135px}.section-head{margin-top:22px}.admin-grid{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;padding:8px}.sidebar button{white-space:nowrap;width:auto}.stat-grid{grid-template-columns:repeat(2,1fr)}.table{min-width:720px}.panel{overflow:auto}}

.preview-banner,.auth-note{background:#fff6df;color:#765314;text-align:center;font-size:13px;padding:10px 14px;border-bottom:1px solid #f0e2b8}
.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.auth-card{background:#fff;border-radius:18px;padding:28px 24px;width:min(420px,100%);box-shadow:0 8px 30px #15203314}
.auth-card h1{font-size:22px;margin:0 0 8px;color:#152d4b}
.auth-card .muted{margin-bottom:18px}
.user-chip{display:flex;align-items:center;gap:8px;font-size:13px;color:#555}
.list{display:flex;flex-direction:column;gap:10px}
.list-card{display:flex;gap:12px;background:#fff;border:1px solid #edf0f3;border-radius:14px;padding:12px;align-items:stretch}
.list-card .thumb,.list-card img{width:88px;height:88px;border-radius:10px;object-fit:cover;background:#e9edf2;flex:0 0 88px;display:grid;place-items:center;font-size:32px}
.list-card .body{flex:1;min-width:0}
.list-card h3{font-size:15px;margin:0 0 4px}
.list-card .tags{color:#89919c;font-size:12px;margin-bottom:8px}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.price-row .label{font-size:12px;color:#8a919b}
.price-row .price{margin:0}
.btn-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.danger{background:#c4472f;color:#fff;border:0;border-radius:9px;padding:10px 14px;cursor:pointer}
.ok{color:#1a7f4b;font-weight:700}
.warn{color:#9a6a12}
.file-btn{display:inline-block}
.thumb-preview{width:88px;height:88px;object-fit:cover;border-radius:10px;background:#eef1f4;margin-top:8px}
.staff-pill{display:inline-block;background:#edf2f7;color:#1c4265;border-radius:999px;padding:2px 8px;font-size:12px}
.hidden{display:none!important}
.error{color:#c4472f;font-size:13px;margin:8px 0}
@media(max-width:760px){.list-card .thumb,.list-card img{width:76px;height:76px;flex-basis:76px}}
