:root{--ink:#20332e;--muted:#74817a;--line:#e0e6df;--bg:#f4f5ef;--green:#28664e;--lime:#d7e8a8;--nav:#1c302a;--red:#ac4c43}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.65 "Avenir Next","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #c9a747;outline-offset:3px}input,select,textarea{padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:white;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #79a18a}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}small{display:block;color:var(--muted);font-size:11px;font-weight:400}h1,h2,h3,p{margin-top:0}h2{font-size:15px;margin-bottom:0}h3{font-size:14px;margin:22px 0 12px}.skip{position:fixed;left:220px;top:-80px;background:white;padding:10px;z-index:100}.skip:focus{top:8px}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;background:var(--nav);color:#c5d4cd;display:flex;flex-direction:column;padding:26px 16px;z-index:10}.brand{display:flex;gap:12px;align-items:center;margin:0 12px 30px;color:white}.brandmark{display:grid;place-items:center;width:39px;height:39px;background:var(--lime);color:var(--nav);border-radius:11px;font-size:21px;font-weight:800}.brand strong{font-size:17px}.brand small{font-size:9px;letter-spacing:1.1px;color:#9cb1a5}.navgroup{margin:23px 14px 8px;font-size:11px;color:#88a094}.navitem{display:flex;gap:12px;width:100%;text-align:left;border:0;border-radius:7px;background:none;color:#c5d4cd;padding:12px;margin:3px 0;font-size:13px}.navitem:hover{background:#ffffff10}.navitem.active{background:var(--lime);color:var(--nav);font-weight:700}.navnum{opacity:.55;font-size:11px;padding-top:2px}.sidebar-footer{margin-top:auto;padding:30px 12px 0}.sidebar-footer a{display:block;color:#c3d4c9;font-size:12px;margin:7px 0}.sidebar-footer p{color:#90a598;font-size:11px;margin:16px 0 0}.workspace{margin-left:216px}.topbar{min-height:76px;background:#fcfdf9;border-bottom:1px solid var(--line);padding:12px 30px;display:flex;justify-content:space-between;align-items:center;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:var(--ink)}.user{display:flex;gap:10px;align-items:center}.rolelabel{font-size:10px;color:var(--muted)}.rolelabel select{display:block;padding:4px;border:0;background:none;font-size:12px;max-width:200px}main{padding:28px 30px 40px;max-width:1700px;margin:auto;min-height:calc(100vh - 76px)}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.pagehead h1{font-size:27px;line-height:1.4;margin:0;letter-spacing:-.6px}.pagehead p{margin:8px 0 0;color:var(--muted);font-size:12px;max-width:720px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--green);font-weight:700;margin-bottom:5px}.buttons{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.btn{border:1px solid var(--line);background:white;border-radius:7px;padding:8px 12px;font-size:12px;min-height:36px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn+.btn{margin-left:6px}.buttons .btn+.btn,.toolbar .btn+.btn{margin-left:0}.btn:hover:not(:disabled){background:#f6faf4;border-color:#8da797}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover:not(:disabled){background:#194e39}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 20px}.stat>span{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:31px;line-height:1.3;margin:8px 0}.stat:first-child{background:var(--nav);color:#edf2e8;border-color:var(--nav)}.stat:first-child span,.stat:first-child small{color:#b6c8b6}.panel{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:22px;overflow:hidden}.panelhead{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line);gap:12px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:normal;font-size:12px}th{background:#f8f9f5;color:var(--muted);font-weight:500;font-size:11px;white-space:nowrap}th,td{padding:14px 16px;border-bottom:1px solid #edf0e9;vertical-align:middle}tr:last-child td{border-bottom:0}td small{margin-top:4px}tbody tr:hover{background:#fcfdf9}.number{font-size:18px;color:var(--green);font-weight:600}.badge{display:inline-block;border-radius:5px;padding:3px 7px;font-size:10px;background:#edf0ea;color:#64766b;white-space:nowrap}.badge.good{background:#e4f1e6;color:#276447}.badge.warn{background:#fcf0d8;color:#90641c}.notice{padding:13px 16px;background:#f0f5e9;border:1px solid #dbe5d0;border-radius:6px;color:#5d704f;font-size:12px;margin:16px 20px}.dialogbody>.notice{margin:0 0 18px}.caption,.muted{color:var(--muted);font-size:12px}.caption{margin:14px 0}.toolbar{padding:13px 20px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar>span:first-child{margin-right:5px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.schemebody{padding:22px}.price{font-size:29px;font-weight:650}.price small{display:inline}.lineitems{line-height:2.2;margin:14px 0}.schemebody p{font-size:12px;color:var(--muted);margin:18px 0}.schemebody p b{color:var(--green);font-size:18px}.empty{text-align:center;color:var(--muted);padding:40px}footer{margin-top:30px;font-size:10px;color:var(--muted)}.modal-open{overflow:hidden}.backdrop{position:fixed;inset:0;background:#182a2477;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:30}.dialog{background:#fff;border-radius:13px;width:min(920px,100%);max-height:90vh;overflow:auto;box-shadow:0 22px 100px #12251a30}.dialoghead{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.dialoghead h2{font-size:18px}.dialogbody{padding:24px}.dialogfoot{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;background:#f9faf6;position:sticky;bottom:0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:17px;font-size:12px}.field>span{color:#66796d}.field input,.field select{width:100%}.field input[type=checkbox]{width:17px;height:17px;margin-top:10px}.lineeditor{display:grid;grid-template-columns:1fr 2fr .65fr 40px 60px;gap:10px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:15px}.lineeditor .btn{margin-top:7px}.error{color:var(--red);font-size:12px}.error:empty{display:none}fieldset{border:1px solid var(--line);border-radius:7px;margin:15px 0;padding:18px}legend{font-size:12px;color:var(--muted);padding:0 7px}.detailtop{display:flex;gap:16px;margin-bottom:20px;align-items:center}.demo-section{border-bottom:1px solid var(--line);padding-bottom:20px}.demo-section p{color:var(--muted);font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#223e30;color:#fff;padding:13px 21px;border-radius:9px;font-size:13px;z-index:60;max-width:min(90vw,650px);transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}
/* C-end pages share the same rendering for preview and live instances. */
.consumer-stage{min-height:100vh;background:#e7ebe2;padding:24px;display:grid;grid-template-columns:260px 430px;gap:48px;justify-content:center;align-items:start}.consumer-context{padding-top:80px;position:sticky;top:0}.consumer-context .eyebrow{margin:28px 0 14px}.consumer-context h1{font-size:30px;line-height:1.4;letter-spacing:-1px}.consumer-context p{font-size:13px;color:#697a6b}.consumer-context .notice{margin:24px 0;padding:16px}.phone{width:100%;min-height:850px;background:#faf9f2;border:8px solid #20352b;border-radius:38px;overflow:hidden;box-shadow:0 30px 80px #1c3a2620;position:relative}.phone-status{display:flex;justify-content:space-between;padding:13px 24px 4px;font-size:10px;font-weight:700}.c-nav{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;gap:10px}.c-nav b{font-size:16px;letter-spacing:-.5px}.c-nav button{border:0;background:none;font-size:12px;padding:6px}.c-nav a{font-size:12px}.c-homehero{background:#dce8b9;padding:26px 24px;position:relative;overflow:hidden}.c-homehero h1{font-size:29px;line-height:1.25;margin:8px 0 14px;letter-spacing:-1px}.c-homehero p{font-size:12px;max-width:230px;color:#5b734d;margin-bottom:0}.c-homehero .orbit{position:absolute;width:155px;height:155px;right:-65px;top:15px;border:24px solid #a9bf7980;border-radius:50%}.c-content{padding:20px}.c-kicker{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#56754c}.c-sectionhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.c-sectionhead h2{font-size:16px}.c-sectionhead small{font-size:10px}.c-poolcard{background:white;border:1px solid #e7e7dd;border-radius:12px;overflow:hidden;margin-bottom:16px}.c-cardbody{padding:16px}.c-cardbody h3{font-size:15px;margin:0 0 8px}.c-cardmeta{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.c-price{font-size:21px;font-weight:750;color:#2c6448}.c-price small{font-size:11px;display:inline}.c-art{height:166px;background:#e4ebe1;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.c-art.custom{background:#f1e1c8}.c-art::before,.c-art::after{content:'';position:absolute;border:1px solid #ffffff9e;border-radius:50%;width:210px;height:210px;left:-65px;top:18px}.c-art::after{left:auto;right:-30px;top:-90px;width:250px;height:250px}.c-art .prize-shape{position:relative;width:84px;height:94px;background:#f6f6e8;box-shadow:8px 10px 0 #273c2420;border:2px solid #243a2b;border-radius:38px 38px 17px 17px;transform:rotate(-9deg);display:grid;place-items:center;font-size:35px;color:#577141;font-weight:800;z-index:1}.c-art .prize-shape::after{content:'';position:absolute;inset:15px 15px auto;border:2px solid #577141;border-radius:20px;height:28px;background:#d4dfaf}.c-art .prize-shape span{padding-top:30px;font-size:17px}.c-art .artcaption{position:absolute;right:16px;bottom:11px;font-size:9px;letter-spacing:2px;color:#6c795e}.c-detail-art{height:220px}.c-detail-art .prize-shape{transform:scale(1.3) rotate(-9deg)}.c-previewbar{background:#f6e4aa;color:#705522;padding:9px 20px;font-size:11px;text-align:center}.c-arrival{padding:12px 14px;border:1px solid #dfe8d8;border-radius:8px;background:#f1f5e9;color:#5c714f;font-size:11px;margin:15px 0}.c-progress{height:6px;background:#e7ecdf;border-radius:3px;overflow:hidden;margin:9px 0}.c-progress span{display:block;height:100%;background:#8ca959}.c-prizes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.c-prize{background:white;border:1px solid #e7e7de;border-radius:9px;padding:12px}.c-prize .grade{display:inline-block;font-size:11px;padding:1px 6px;background:#e6edda;border-radius:4px;color:#54763d}.c-prize h3{font-size:12px;margin:12px 0 7px}.c-prize p{font-size:10px;color:#76816c;margin:0}.c-prize small{margin-top:8px}.c-buybar{padding:16px 20px;border-top:1px solid #e1e6d8;background:#fcfcf5;position:sticky;bottom:0;display:flex;gap:14px;justify-content:space-between;align-items:center}.c-buybar .btn{padding:11px 24px;border-radius:22px;font-size:13px}.c-bottomnav{display:flex;justify-content:space-around;position:sticky;bottom:0;background:#fcfcf5;border-top:1px solid #e1e6d8;padding:14px 20px}.c-bottomnav button{border:0;background:none;font-size:12px}.c-right{padding:16px;background:white;border:1px solid #e3e7dd;border-radius:9px;margin-bottom:12px}.c-right h3{font-size:13px;margin:0 0 8px}.c-result{text-align:center;padding:18px}.c-result .c-art{border-radius:12px;margin-bottom:20px}.c-result h2{font-size:22px;margin-bottom:12px}
@media(min-width:1500px){main{padding:36px 44px}}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.topbar{align-items:flex-start;flex-wrap:wrap}.cards{grid-template-columns:1fr}.pagehead{flex-direction:column}.consumer-stage{gap:24px;grid-template-columns:220px 410px}}@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px;display:block}.brand{margin:0 0 12px}.navgroup,.sidebar-footer{display:none}.navitem{display:inline-flex;width:auto;padding:8px;font-size:12px}.navnum{display:none}.workspace{margin:0}.topbar{padding:14px 18px}.user{flex-wrap:wrap}main{padding:22px 16px}.stats{gap:10px}.stat{padding:14px}.stat strong{font-size:26px}.pagehead h1{font-size:24px}th,td{padding:12px}table{min-width:620px}.backdrop{padding:10px}.dialog{max-height:95vh}.dialogbody{padding:18px}.dialoghead{padding:14px 18px}.formgrid{grid-template-columns:1fr}.lineeditor{grid-template-columns:1fr 1fr}.lineeditor .field{margin-bottom:5px}.consumer-stage{display:block;padding:0}.consumer-context{position:static;padding:12px 16px}.consumer-context h1,.consumer-context p,.consumer-context .eyebrow,.consumer-context .notice{display:none}.phone{border:0;border-radius:0;min-height:100vh;max-width:480px;margin:auto;box-shadow:none}.consumer-context .btn{font-size:11px}.dialogbody .tablewrap{margin:0 -8px}.skip{left:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Product catalog: lists and full-page object details. */
.catalog-permission{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fcf1db;border:1px solid #eaddbd;border-radius:9px;padding:16px 20px;margin-bottom:20px;font-size:12px}.catalog-permission small{margin-top:5px;color:#89734b}.catalog-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:20px}.catalog-tabs :is(button,a){border:0;border-bottom:3px solid transparent;background:none;padding:13px 20px;color:var(--muted);font-size:13px}.catalog-tabs :is(button,a).active{color:var(--green);border-bottom-color:var(--green);font-weight:650}.catalog-tabs span{display:inline-block;border-radius:5px;background:#e9eee2;padding:0 6px;margin-left:8px;font-size:10px}.catalog-link{border:0;padding:0;background:none;color:var(--green);text-align:left;font-weight:600;font-size:12px}.catalog-link:hover{text-decoration:underline}.detail-crumb{color:var(--muted);font-size:11px;margin-bottom:18px}.catalog-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;margin:0;padding:8px 24px 20px}.catalog-facts>div{padding:17px 0;border-bottom:1px solid #edf0e8;min-width:0}.catalog-facts dt{font-size:11px;color:var(--muted);margin-bottom:7px}.catalog-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.catalog-body{padding:20px 24px}.catalog-chips{display:flex;flex-wrap:wrap;gap:10px}.catalog-chips span{display:inline-block;border:1px solid #dae4d3;background:#f3f6ec;border-radius:7px;padding:8px 16px;font-size:13px}fieldset[hidden],#kind-field[hidden]{display:none}@media(max-width:760px){.catalog-permission{align-items:flex-start;flex-direction:column}.catalog-facts{grid-template-columns:1fr;padding:8px 18px 18px}.catalog-tabs :is(button,a){padding:12px}.catalog-tabs{gap:0}}
/* Operations console, matched to the supplied white/blue management UI. */
body.admin-theme{--ink:#262626;--muted:#8c8c8c;--line:#ebeef2;--bg:#f0f2f5;--green:#1677ff;--lime:#e6f4ff;--nav:#fff;background:#f0f2f5;color:#262626;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;font-size:13px;line-height:1.55}
.admin-theme .sidebar{width:220px;background:#fff;color:#344054;padding:18px 0;border-right:1px solid #ebeef2;box-shadow:none}
.admin-theme .brand{margin:0 16px 28px;gap:10px;color:#1f2937}.admin-theme .brandmark{width:30px;height:30px;border-radius:4px;background:#1677ff;color:#fff;font-size:18px}.admin-theme .brand strong{font-size:15px}.admin-theme .brand small{color:#98a2b3;font-size:9px;letter-spacing:.5px}
.admin-theme .navgroup{font-size:13px;font-weight:600;margin:8px 0 10px;padding:12px 16px;color:#1677ff;background:#fff}.admin-theme .navitem{color:#344054;border-radius:0;padding:14px 22px;margin:0;gap:10px;font-size:13px;border-right:2px solid transparent}.admin-theme .navitem:hover{background:#fafafa}.admin-theme .navitem.active{background:#e6f4ff;color:#1677ff;border-right-color:#1677ff;font-weight:600}.admin-theme .navnum{display:none}
.admin-theme .sidebar-footer{padding:24px 18px}.admin-theme .sidebar-footer a{color:#667085;font-size:11px}.admin-theme .sidebar-footer p{color:#98a2b3;font-size:10px}.admin-theme .workspace{margin-left:220px}
.admin-theme .topbar{min-height:60px;padding:10px 24px;background:#fff;border-bottom:0;gap:18px}.admin-theme .breadcrumb{font-size:13px;color:#8c8c8c}.admin-theme .breadcrumb b{font-weight:500;color:#262626}.admin-theme .user{gap:12px}.admin-theme .rolelabel{font-size:10px;color:#8c8c8c}.admin-theme .rolelabel select{font-size:12px;color:#262626;max-width:225px}.admin-theme main{padding:18px;max-width:none;min-height:calc(100vh - 60px)}
.admin-theme .eyebrow{display:none}.admin-theme .pagehead{margin-bottom:16px;gap:16px;align-items:center}.admin-theme .pagehead h1{font-size:20px;line-height:1.4;letter-spacing:0;font-weight:600}.admin-theme .pagehead p{font-size:12px;color:#8c8c8c;margin-top:6px}.admin-theme .detail-crumb{font-size:12px;margin-bottom:14px}.admin-theme .buttons{gap:8px}
.admin-theme button,.admin-theme input,.admin-theme select,.admin-theme textarea{font-family:inherit}.admin-theme input,.admin-theme select,.admin-theme textarea{border-color:#d9d9d9;border-radius:4px;padding:6px 10px;font-size:13px}.admin-theme input:focus,.admin-theme select:focus,.admin-theme textarea:focus{outline:0;border-color:#4096ff;box-shadow:0 0 0 2px #1677ff16}.admin-theme input[type=checkbox]{accent-color:#1677ff;width:15px;height:15px}.admin-theme input:disabled,.admin-theme select:disabled,.admin-theme textarea:disabled{background:#f5f5f5;color:#8c8c8c;cursor:not-allowed}
.admin-theme .btn{font-family:inherit;font-weight:400;line-height:20px;text-decoration:none;min-height:32px;border-radius:4px;padding:5px 13px;font-size:12px;border-color:#d9d9d9;color:#262626;box-shadow:none}.admin-theme .btn:hover:not(:disabled){background:#fff;border-color:#4096ff;color:#1677ff}.admin-theme .btn.primary{background:#1677ff;border-color:#1677ff;color:white}.admin-theme .btn.primary:hover:not(:disabled){background:#4096ff;color:#fff;border-color:#4096ff}.admin-theme .btn:disabled{color:#aaa;background:#f5f5f5;border-color:#d9d9d9;opacity:1}.admin-theme .catalog-link{font-weight:500;color:#1677ff}
.admin-theme .panel{border:0;border-radius:7px;background:#fff;margin-bottom:16px;box-shadow:none}.admin-theme .panelhead{padding:14px 16px;border-color:#f0f0f0}.admin-theme h2{font-size:14px;font-weight:600}.admin-theme h3{font-size:13px}.admin-theme .tablewrap{padding:0 12px 8px;background:#fff}.admin-theme table{font-size:12px;line-height:1.5}.admin-theme th{background:#fafafa;color:#262626;font-size:12px;font-weight:600}.admin-theme th,.admin-theme td{padding:10px 9px;border-bottom:1px solid #f0f0f0}.admin-theme th{padding-top:11px;padding-bottom:11px}.admin-theme th+th{border-left:1px solid #f0f0f0}.admin-theme tbody tr:hover{background:#fafcff}.admin-theme td small{margin-top:3px;font-size:10px;color:#8c8c8c}.admin-theme td .btn{border:0;background:transparent;color:#1677ff;min-height:24px;padding:2px 5px;border-radius:2px;box-shadow:none}.admin-theme td .btn:disabled{color:#bbb;background:transparent}.admin-theme td .btn:hover:not(:disabled){background:#e6f4ff;color:#1677ff}.admin-theme td .btn+.btn{margin-left:2px}
.admin-theme .audit-time{font-size:11px;min-width:118px;white-space:nowrap}.admin-theme .audit-changes{min-width:280px;max-width:600px;overflow-wrap:anywhere}.admin-theme .audit-changes div+div{margin-top:5px}.admin-theme .catalog-facts{padding:3px 20px 18px;column-gap:30px}.admin-theme .catalog-facts>div{padding:14px 0;border-color:#f0f0f0}.admin-theme .catalog-facts dt{font-size:12px}.admin-theme .catalog-facts dd{font-size:13px}.admin-theme .catalog-chips span{border:0;border-radius:3px;background:#e6f4ff;color:#1677ff;padding:4px 10px;font-size:12px}
.admin-theme .catalog-tabs{background:#fff;margin:0;border:0;border-radius:7px 7px 0 0;padding:0 12px}.admin-theme .catalog-tabs :is(button,a){padding:13px 16px;font-size:13px;border-bottom-width:2px}.admin-theme .catalog-tabs :is(button,a).active{color:#1677ff;border-bottom-color:#1677ff}.admin-theme .catalog-tabs span{background:#f0f5ff;color:#1677ff}.admin-theme .searchbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;margin:0 0 14px;padding:14px 16px;border-radius:0 0 7px 7px}.admin-theme .searchbar label{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.admin-theme .searchbar input{width:190px;height:32px}.admin-theme .searchbar select{height:32px;min-width:88px}.admin-theme .searchbar .btn+.btn{margin-left:0}.admin-theme #supplier-search{border-radius:7px}
.admin-theme .catalog-permission{background:#e6f4ff;border:1px solid #bae0ff;border-radius:5px;padding:12px 16px;margin-bottom:14px;font-size:12px}.admin-theme .catalog-permission small{color:#59718d}.admin-theme .notice{background:#f0f7ff;border-color:#d6e8ff;color:#536b85;font-size:12px;border-radius:4px;margin:14px 16px}.admin-theme .dialogbody>.notice{margin:0 0 16px}.admin-theme .badge{border-radius:3px;font-size:11px;padding:2px 6px}.admin-theme .badge:not(.good):not(.warn){background:#e6f4ff;color:#1677ff}.admin-theme .number{color:#1677ff;font-size:16px}
.admin-theme .stats{gap:16px;margin-bottom:16px}.admin-theme .stat,.admin-theme .stat:first-child{background:#fff;border:0;color:#262626;border-radius:7px;padding:17px 20px}.admin-theme .stat strong{color:#1677ff;font-size:27px}.admin-theme .stat:first-child span,.admin-theme .stat:first-child small{color:#8c8c8c}.admin-theme .toolbar{padding:12px 16px;border-color:#f0f0f0}.admin-theme .cards{gap:16px}.admin-theme .schemebody{padding:20px}.admin-theme .price{font-size:25px}.admin-theme .schemebody p b{color:#1677ff}.admin-theme .caption{font-size:12px;color:#8c8c8c}
.admin-theme .backdrop{background:#00000066;backdrop-filter:none}.admin-theme .dialog{border-radius:7px;box-shadow:0 6px 24px #0002}.admin-theme .dialoghead{padding:16px 22px;border-color:#f0f0f0}.admin-theme .dialoghead h2{font-size:16px}.admin-theme .dialogbody{padding:22px}.admin-theme .dialogfoot{background:white;padding:12px 22px;border-color:#f0f0f0}.admin-theme .field{font-size:12px;margin-bottom:18px}.admin-theme .field>span{color:#595959}.admin-theme fieldset{border-color:#e5e7eb;border-radius:4px}.admin-theme legend{color:#595959}.admin-theme footer{font-size:10px;color:#a3a3a3;margin-top:20px}.admin-theme #toast{background:#fff;color:#262626;box-shadow:0 4px 22px #0002;border:1px solid #eee;border-radius:5px}
@media(max-width:1100px){.admin-theme .pagehead{align-items:flex-start;flex-direction:column}.admin-theme .topbar{flex-wrap:wrap}.admin-theme .searchbar input{width:160px}}@media(max-width:760px){.admin-theme .sidebar{width:auto;padding:14px 12px;border:0}.admin-theme .brand{margin:0 0 12px}.admin-theme .navitem{display:inline-flex;width:auto;padding:9px 12px;border:0;border-radius:4px}.admin-theme .navitem.active{border:0}.admin-theme .workspace{margin-left:0}.admin-theme main{padding:14px}.admin-theme .topbar{padding:12px 16px}.admin-theme .searchbar{gap:10px}.admin-theme .searchbar label{width:100%;justify-content:space-between}.admin-theme .searchbar input{flex:1;width:auto}.admin-theme .audit-time{min-width:110px}}
/* Catalog media uses the same blue/white administration controls. */
.admin-theme .catalog-image-cell{width:80px;min-width:80px}
.admin-theme .catalog-image-button{display:block;padding:0;border:1px solid #e8e8e8;border-radius:4px;background:#fafafa;cursor:zoom-in;overflow:hidden}
.admin-theme .catalog-image-button:hover,.admin-theme .catalog-image-button:focus-visible{border-color:#1677ff;outline:2px solid #e6f4ff;outline-offset:2px}
.admin-theme .catalog-thumb{display:block;width:56px;height:56px;object-fit:contain;background:#fafafa}
.admin-theme .catalog-image-empty{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px dashed #d9d9d9;border-radius:4px;background:#fafafa;color:#8c8c8c;font-size:11px}
.admin-theme .media-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}
.admin-theme .media-heading h3{margin:0;font-size:14px}
.admin-theme .media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.admin-theme .media-card{min-width:0;padding:10px;border:1px solid #e8e8e8;border-radius:4px;background:#fff}
.admin-theme .media-card>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:8px 0;color:#8c8c8c;font-size:12px}
.admin-theme .media-card .field{margin:10px 0}
.admin-theme .media-actions{display:flex;flex-wrap:wrap;gap:6px}
.admin-theme .media-actions .btn{padding:2px 7px;font-size:12px;min-height:26px}
.admin-theme .media-actions [data-action="mediaDelete"]{color:#ff4d4f}
.admin-theme .media-view{display:flex;position:relative;flex-direction:column;align-items:stretch;border:0;background:#fafafa;padding:0;cursor:pointer;width:100%;text-align:left;border-radius:4px;overflow:hidden}
.admin-theme .media-view img{width:100%;height:148px;object-fit:contain;background:repeating-conic-gradient(#f5f5f5 0% 25%,#fff 0% 50%) 50%/16px 16px}
.admin-theme .media-view span{position:absolute;top:8px;left:8px;background:#e6f4ff;color:#1677ff;padding:2px 7px;font-size:12px;border-radius:3px}
.admin-theme .media-view small{padding:8px;color:#595959;overflow-wrap:anywhere}
.admin-theme .media-empty{grid-column:1/-1;padding:32px 12px;text-align:center;border:1px dashed #d9d9d9;background:#fafafa;color:#8c8c8c;line-height:1.9}
.admin-theme .media-expanded{padding:12px;margin-top:14px;background:#fafafa;text-align:center;border:1px solid #e8e8e8;border-radius:4px}
.admin-theme .media-expanded img{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:0 auto 12px}
.admin-theme .media-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.c-product-image{display:block;width:100%;height:140px;object-fit:contain;border-radius:10px;margin:0 0 12px;background:#fff}
.c-series-cover{display:block;width:100%;max-height:340px;object-fit:contain;background:#fff}

/* Shared administration page forms and navigation feedback. */
.admin-theme #screen-host .dialogbody{padding:24px}.admin-theme .editor-foot{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid #e5e7eb;background:#fff;z-index:5}.admin-theme .field-error{color:#cf1322;font-size:12px;margin-top:5px}.admin-theme [aria-invalid="true"]{border-color:#ff4d4f!important}.admin-theme .pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px;flex-wrap:wrap}.admin-theme .pagination select{padding:4px 8px}.admin-theme #leave-overlay .backdrop{z-index:200}.admin-theme .leave-dialog{width:min(440px,94vw)}.admin-theme #screen-host .formgrid>.caption{grid-column:1/-1}.admin-theme #screen-host .media-expanded{max-height:none}

/* Shared administration and explicit business-platform context. */
.admin-theme .sidebar{overflow-y:auto}
.admin-theme .topbar>.user{margin-left:auto;justify-content:flex-end;flex-wrap:wrap}
.admin-theme .platform-context{display:flex;align-items:center;gap:8px;flex-shrink:0}
.admin-theme .platform-context>label{font-weight:600;white-space:nowrap}
.admin-theme #platform-select{width:174px;max-width:100%;padding:6px 10px}
.admin-theme .scope-note{margin:0 0 16px;padding:10px 14px;background:#f7faff;border:1px solid #e6edf8;border-radius:4px;font-size:12px;color:#475467}
.admin-theme #platform-form .formgrid{padding:24px 24px 0}
.admin-theme #platform-form .panel>.caption{padding:0 24px 24px;margin:0}
.admin-theme .editor-foot .btn+.btn{margin-left:0}
.admin-theme input[readonly]{background:#f5f5f5;color:#667085}
.admin-theme a.btn{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}
@media(max-width:760px){.admin-theme .topbar>.user{width:100%}.admin-theme .platform-context{margin-left:auto;max-width:100%}}

/* Two-level menu: native disclosure keeps expansion separate from page navigation. */
.admin-theme .admin-navigation{flex-shrink:0}
.admin-theme .nav-section{margin:0 0 4px}
.admin-theme .nav-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:13px 20px;color:#344054;font-size:13px;font-weight:600;cursor:pointer;user-select:none}
.admin-theme .nav-section-title::-webkit-details-marker{display:none}
.admin-theme .nav-section-title:hover{background:#fafafa}
.admin-theme .nav-section-title:focus-visible{outline:2px solid #1677ff;outline-offset:-3px}
.admin-theme .contains-current>.nav-section-title{color:#1677ff}
.admin-theme .nav-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:3px}
.admin-theme .nav-section[open]>.nav-section-title .nav-chevron{transform:rotate(45deg)}
.admin-theme .nav-children .navitem{padding:11px 20px 11px 38px;font-size:13px}
.admin-theme .nav-section:not([open])>.nav-children{display:none}
@media(max-width:760px){.admin-theme .admin-navigation{display:block}.admin-theme .nav-children .navitem{display:flex;width:100%;border-radius:0;border-right:2px solid transparent}.admin-theme .nav-children .navitem.active{border-right-color:#1677ff}.admin-theme .nav-section-title{padding:11px 16px}}

/* Field guidance stays visible after typing; utility controls use accessible short hints. */
.admin-theme .input-help{display:block;font-size:12px;font-weight:400;line-height:1.5;color:#667085;white-space:normal;margin:4px 0 0;max-width:100%;overflow-wrap:anywhere}
.admin-theme .field>.input-help{margin-top:0}
.admin-theme .input-help-compact{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.admin-theme .lineeditor{align-items:start}

/* Compact purchase line editor, scoped to administration pages. */
.admin-theme .purchase-detail-table{min-width:1080px;table-layout:fixed;width:100%}
.admin-theme .purchase-detail-table .line-no{width:50px}
.admin-theme .purchase-detail-table .line-mode{width:160px}
.admin-theme .purchase-detail-table .line-object{width:280px}
.admin-theme .purchase-detail-table .line-qty{width:105px}
.admin-theme .purchase-detail-table .line-unit{width:75px}
.admin-theme .purchase-detail-table .line-price{width:155px}
.admin-theme .purchase-detail-table .line-amount{width:145px}
.admin-theme .purchase-detail-table .line-action{width:80px}
.admin-theme .purchase-detail-table th,.admin-theme .purchase-detail-table td{padding:12px 8px;vertical-align:middle}
.admin-theme .purchase-detail-table th small{display:block;margin-top:5px;white-space:normal;font-weight:400;color:#667085;font-size:11px}
.admin-theme .purchase-cell{display:block;position:relative;margin:0}
.admin-theme .purchase-cell input,.admin-theme .purchase-cell select{width:100%;min-width:0;margin:0;height:32px;box-sizing:border-box}
.admin-theme .purchase-cell-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.admin-theme .purchase-detail-table+.btn{margin-top:12px}

.admin-theme .purchase-voucher-list{display:grid;gap:10px;margin-top:12px}
.admin-theme .purchase-voucher{display:flex;align-items:center;gap:12px;border:1px solid #e5e7eb;border-radius:4px;padding:12px}
.admin-theme .purchase-voucher img,.admin-theme .purchase-voucher-icon{width:48px;height:48px;object-fit:contain;background:#f5f7fa;border-radius:4px;flex:none}
.admin-theme .purchase-voucher-icon{display:grid;place-items:center;font-size:12px;color:#667085}
.admin-theme .purchase-voucher-name{flex:1;overflow-wrap:anywhere;min-width:0}
.admin-theme .purchase-voucher .buttons{margin-left:auto;flex:none}
.admin-theme .purchase-pdf-preview{width:100%;height:65vh;border:0}

.admin-theme .purchase-product-summary{width:220px;max-width:260px;line-height:1.6}
.admin-theme .purchase-product-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Unified admin pagination and short quantity definitions. */
.admin-theme .pagination{background:#fff;border-radius:0 0 7px 7px;gap:8px}
.admin-theme .pagination .btn{min-width:32px;margin:0}
.admin-theme .pagination .page-current{border-color:#1677ff;color:#1677ff;background:#e6f4ff}
.admin-theme .pagination select{height:32px;min-width:64px}
.admin-theme tr[hidden]{display:none}


/* Supply is an explicit exception: show the five quantity definitions above the table. */
.admin-theme .supply-scope-note{margin:0 0 16px;padding:16px 20px;border:1px solid #d6e4ff;border-radius:6px;background:#f7faff;color:#595959;font-size:12px;line-height:1.7}
.admin-theme .supply-scope-note>strong{color:#262626;font-size:14px}
.admin-theme .supply-scope-note p{margin:6px 0}
.admin-theme .supply-scope-note .supply-equation{color:#262626;font-weight:600}
.admin-theme .supply-scope-note dl{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;margin:10px 0 0}
.admin-theme .supply-scope-note dl>div{display:flex;gap:8px;align-items:baseline}
.admin-theme .supply-scope-note dt{flex:0 0 84px;color:#262626;font-weight:500}
.admin-theme .supply-scope-note dd{margin:0}
@media(max-width:1000px){.admin-theme .supply-scope-note dl{grid-template-columns:1fr}}

/* Quantity explanation defaults to a compact equation; native details handles keyboard toggling. */
.admin-theme .supply-scope-note{padding:0}
.admin-theme .supply-scope-note summary{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:12px 16px;cursor:pointer;list-style:none}
.admin-theme .supply-scope-note summary::-webkit-details-marker{display:none}
.admin-theme .supply-scope-note summary:focus-visible{outline:2px solid #1677ff;outline-offset:2px}
.admin-theme .supply-scope-note summary>strong{font-size:13px;color:#262626}
.admin-theme .supply-scope-note .supply-equation{font-weight:400;margin:0}
.admin-theme .supply-note-toggle{margin-left:auto;color:#1677ff;white-space:nowrap}
.admin-theme .supply-note-toggle::after{content:'⌄';margin-left:6px}
.admin-theme .supply-scope-note[open] .supply-note-toggle::after{content:'⌃'}
.admin-theme .supply-scope-note .when-expanded,.admin-theme .supply-scope-note[open] .when-collapsed{display:none}
.admin-theme .supply-scope-note[open] .when-expanded{display:inline}
.admin-theme .supply-note-content{padding:0 16px 16px}

/* Shelf records and composition editor reuse admin controls. */
.admin-theme .shelf-thumb{width:56px;height:56px;object-fit:contain;border:1px solid #f0f0f0;border-radius:4px;background:#fafafa}
.admin-theme .shelf-cover-preview{width:160px;height:120px;object-fit:contain;margin-top:8px;border:1px solid #f0f0f0;border-radius:4px}
.admin-theme .composition-table{min-width:1000px}
.admin-theme .composition-table input:not([type=checkbox]),.admin-theme .composition-table select{width:100%;min-width:100px;height:32px}
.admin-theme .composition-table th:nth-child(2){width:150px}
.admin-theme .composition-table th:nth-child(3){width:300px}
.admin-theme .composition-table th:nth-child(4){width:105px}
.admin-theme .composition-row-actions{white-space:nowrap}
.admin-theme .composition-help{padding:0 16px}
.admin-theme #composition-editor[hidden],.admin-theme #composition-base[hidden],.admin-theme #composition-base-field[hidden],.admin-theme #composition-empty[hidden],.admin-theme #shelf-cover-preview[hidden]{display:none}
.admin-theme .composition-sku-picker{display:flex;align-items:center;gap:8px}
.admin-theme .composition-sku-picker .shelf-thumb{flex:0 0 40px;width:40px;height:40px}
.admin-theme .composition-sku-picker [hidden]{display:none}
.admin-theme .composition-sku-picker select{flex:1;min-width:150px}

/* Shared tab links for independent pool-detail sections. */
.admin-theme .catalog-tabs a{text-decoration:none;display:inline-block;cursor:pointer}

/* Unified consumer navigation: 开赏 / 交易 / 物柜 / 我的. */
.nl-c-navigation{display:flex;justify-content:space-around;gap:4px;padding:14px 12px}
.nl-c-navigation a.btn{flex:1;justify-content:center;border:0;background:transparent;padding:6px 10px;font-size:12px;min-height:30px;color:#52695b;text-decoration:none}
.nl-c-navigation a.btn.active{background:#e8efdc;color:#285e48;font-weight:700;border-radius:7px}
@media(max-width:760px){.nl-c-navigation{position:sticky;bottom:0;z-index:5}}

@media(max-width:760px){body[data-client="consumer"] .consumer-context{display:none}}

/* Preparation and sales stay in the same pool detail. */
.admin-theme .pool-workflow{display:flex;flex-wrap:wrap;gap:0;list-style:none;margin:0 0 16px;padding:14px 20px;background:#fff;border-radius:7px}.admin-theme .pool-workflow li{color:#8c8c8c;font-size:13px}.admin-theme .pool-workflow li+li:before{content:"→";margin:0 20px;color:#bfbfbf}.admin-theme .pool-workflow [aria-current]{color:#1677ff;font-weight:600}

/* Compact pool detail: header, navigation and only the selected section. */
.admin-theme .pool-detail .pagehead{margin-bottom:12px;gap:16px;align-items:flex-start}
.admin-theme .pool-header-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:8px;color:#8c8c8c;font-size:12px}
.admin-theme .pool-header-meta>span{display:inline-flex;align-items:center;gap:5px}
.admin-theme .pool-detail-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;border-bottom:1px solid #e8e8e8;margin-bottom:14px}
.admin-theme .pool-detail-tabs a{white-space:nowrap}
.admin-theme .pool-detail #pool-tab-content>.panel{margin-bottom:14px}
.admin-theme .pool-auxiliary{padding:12px 16px;background:white;border-radius:6px;font-size:12px}
.admin-theme .pool-auxiliary summary{cursor:pointer;color:#595959}
.admin-theme .pool-auxiliary[open] summary{margin-bottom:12px}
@media(max-width:1000px){.admin-theme .pool-detail .pagehead{flex-wrap:wrap}.admin-theme .pool-detail .pagehead>.buttons{justify-content:flex-start;flex-wrap:wrap}}
