@charset "UTF-8";
:root{--ink:#20382e;--muted:#7b857e;--green:#1e6a4b;--green-light:#eaf3e9;--line:#e4e8df;--paper:#f7f8f2;--white:#fff;--danger:#a44832;--radius:18px;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #8bc6a6;outline-offset:4px}input,textarea,select{width:100%;border:1px solid #dce3d9;border-radius:9px;background:#fff;padding:12px 14px;color:var(--ink);outline:none;transition:border-color .2s,box-shadow .2s}input:focus,textarea:focus,select:focus{border-color:#73a88b;box-shadow:0 0 0 3px #dcecdf}input::placeholder,textarea::placeholder{color:#a1a69f}textarea{resize:vertical;min-height:100px;font-family:Consolas,"Microsoft YaHei",monospace;font-size:13px;line-height:1.8}label{display:block;font-size:13px;font-weight:600;margin:18px 0 9px}label small{float:right;color:var(--green);font-size:11px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.5px;line-height:1.35}h2{font-size:21px;line-height:1.5;letter-spacing:-.5px}h3{font-size:19px}p{line-height:1.85}button{border:0}.green{color:var(--green)}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace;font-size:12px}.full{width:100%}[hidden]{display:none!important}.wide{grid-column:1/-1}
.topbar{height:90px;max-width:1440px;margin:0 auto;padding:0 64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:10px;font-size:24px;font-weight:700;letter-spacing:-.7px;white-space:nowrap}.brand-icon{height:36px;width:36px;display:inline-flex;align-items:center;justify-content:center;background:var(--green);border-radius:11px;color:white;position:relative;font-size:31px;font-family:Georgia,serif;font-weight:500;line-height:1}.brand-icon>span{font-family:system-ui;font-size:13px;position:absolute;right:4px;top:3px}.brand-sep{height:20px;width:1px;background:#d6ded2;margin:0 8px}.brand-sub{font-size:13px;letter-spacing:1px;font-weight:500;color:#647267}.header-right{display:flex;align-items:center;gap:30px}.local-badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#5e7564}.local-badge i,.sidebar-status i{height:6px;width:6px;background:#629c69;border-radius:50%;display:inline-block}.text-button{display:inline-flex;gap:20px;align-items:center;justify-content:center;background:none;color:#657265;padding:6px 0;font-size:12px}.admin-link{font-size:12px;border:1px solid #d7dfd3;border-radius:7px;padding:7px 13px}.portal{max-width:1180px;margin:auto;padding:70px 28px 0;display:grid;grid-template-columns:1fr 1fr;column-gap:100px;align-items:start}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#72816c}.intro>.eyebrow{display:flex;align-items:center;gap:9px}.tiny-star{color:var(--green);font-size:19px}.intro h1{font-size:52px;font-weight:650;line-height:1.4;margin:23px 0 20px;letter-spacing:-2px}.intro>p{color:#7c877a;font-size:14px;line-height:2}.intro-tags{display:flex;gap:24px;font-size:11px;color:#63715f;margin:27px 0 0}.intro-tags span::first-letter{color:var(--green)}.access-visual{height:265px;position:relative;margin-top:8px;overflow:hidden}.visual-grid{position:absolute;inset:0;background-image:linear-gradient(#dee6d750 1px,transparent 1px),linear-gradient(90deg,#dee6d750 1px,transparent 1px);background-size:28px 28px;mask-image:radial-gradient(ellipse,black,transparent 70%)}.orbit{position:absolute;border:1px solid #dce4d6;border-radius:50%;width:370px;height:190px;top:40px;left:28px;transform:rotate(-22deg)}.orbit-two{transform:rotate(26deg);width:320px;left:55px}.access-card{position:absolute;left:82px;top:45px;width:287px;height:169px;transform:rotate(-11deg);border-radius:15px;background:linear-gradient(115deg,#164a36,#367956);box-shadow:12px 23px 35px #224d3626;color:#eff3df;padding:16px 20px;overflow:hidden}.access-card:after{content:"";position:absolute;width:210px;height:210px;border:1px solid #ffffff15;border-radius:50%;right:-36px;top:-40px;box-shadow:0 0 0 24px #ffffff06,0 0 0 48px #ffffff04}.access-card-top,.access-card-bottom{display:flex;justify-content:space-between;position:relative;z-index:1}.access-card-top{font-size:13px;font-weight:600}.access-card-top span:last-child{font-size:18px;line-height:1}.access-symbol{font-family:Georgia,serif;font-size:73px;line-height:1.1;font-style:italic;position:relative;padding-left:4px}.access-symbol span{font-size:40px;position:absolute;top:20px;left:45px;color:#a8c69c}.access-card-bottom{font-size:7px;letter-spacing:1.7px;margin-top:12px;opacity:.8}.floating-chip{position:absolute;background:#fffffff0;border:1px solid #e0e6d8;box-shadow:0 6px 18px #405e3010;padding:9px 13px;border-radius:7px;font-size:8px;letter-spacing:1px;z-index:2}.chip-one{top:24px;left:246px;transform:rotate(6deg);color:#557348}.chip-two{bottom:31px;left:24px;transform:rotate(-3deg);font-size:10px;letter-spacing:.3px;display:flex;align-items:center;gap:6px}.green-dot{width:6px;height:6px;background:#4e8b54;border-radius:50%}.visual-plus{position:absolute;color:#afbea6;font-size:23px}.plus-one{left:32px;top:57px}.plus-two{right:11px;bottom:55px}.intro-foot{display:flex;align-items:center;gap:12px;font-size:8px;color:#84917b;letter-spacing:1.5px;margin-top:2px}.line{height:1px;width:26px;background:#bdcdb3}.redeem-column{padding-top:9px}.redeem-card{background:#fff;border:1px solid #e0e6d8;border-radius:20px;padding:30px 32px 22px;box-shadow:0 10px 40px #46603705}.card-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.section-icon{display:inline-flex;align-items:center;justify-content:center;background:#edf4e9;border:1px solid #dbe9d6;color:var(--green);width:31px;height:31px;font-size:19px;border-radius:9px}.card-heading .eyebrow{font-size:8px;letter-spacing:1.7px}.redeem-card h2{font-size:24px;margin-bottom:4px;font-weight:650}.redeem-card>.muted{font-size:12px}.steps{list-style:none;display:flex;padding:21px 0 25px;margin:18px 0 21px;border-bottom:1px solid #eef0ea;justify-content:space-between;position:relative}.steps:before{content:"";height:1px;position:absolute;top:33px;left:28px;right:28px;background:#e7ebe3}.steps li{font-size:10px;color:#a0aa9d;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;background:#fff;padding:0 9px}.steps b{height:25px;width:25px;display:flex;justify-content:center;align-items:center;border:1px solid #e1e6dc;border-radius:50%;background:#fff;font-weight:500;font-size:10px}.steps li.active{color:var(--green);font-weight:600}.steps li.active b,.steps li.done b{background:var(--green);border-color:var(--green);color:#fff}.steps li.done{color:var(--green)}.form-stage>label:first-child{margin-top:0}.label-hint{float:right;font-size:9px;letter-spacing:1.2px;color:#94a08e}.input-wrap{position:relative}.input-wrap>span{position:absolute;left:14px;top:12px;color:#98a68e;font-size:18px}.input-wrap input{padding-left:40px;background:#fbfcf9;font-size:11px;letter-spacing:.1px;min-height:49px}.field-note{font-size:11px;line-height:1.9;color:#929c8c;margin:10px 0 20px}.primary{background:var(--green);color:#fff;border-radius:9px;padding:12px 18px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;box-shadow:0 3px 5px #1e6a4b0a;transition:background .2s}.primary:hover{background:#155338}.primary.full{display:flex;justify-content:space-between;padding:13px 17px}.primary span{font-size:18px;line-height:1}.secondary{background:#fff;border:1px solid #dce4d6;color:#476146;border-radius:8px;padding:9px 14px;font-size:12px;min-height:39px;transition:background .2s}.secondary:hover{background:#f0f5eb}.form-bottom{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#929e8b;margin-top:17px}.form-bottom span{font-size:15px;color:#85a279}.help-strip{display:flex;align-items:center;gap:12px;padding:20px 8px;color:#86917d}.help-strip>span:first-child{font-size:19px;color:#8b9c7d}.help-strip>span:last-child{margin-left:auto}.help-strip strong{font-size:10px;font-weight:600;color:#708066}.help-strip p{font-size:10px;margin:1px 0 0}.guide{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.6fr;gap:0 75px;border-top:1px solid var(--line);padding:38px 0 48px;margin-top:55px}.guide>div{grid-row:1/4}.guide h2{font-size:20px;margin-top:10px}.guide details{border-bottom:1px solid var(--line);font-size:12px;padding:0 0 13px;margin-bottom:13px}.guide summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:20px}.guide summary::-webkit-details-marker{display:none}.guide summary>span{font-family:Consolas,monospace;color:#9aa58e;font-size:10px}.guide summary b{margin-left:auto;color:#829674;font-size:17px;font-weight:400}.guide details p{margin:14px 0 0 33px;color:#84917c;font-size:11px}.guide a{text-decoration:underline;color:var(--green)}footer{max-width:1312px;padding:21px 0;margin:auto;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#9aa28f;font-size:9px}footer>span:last-child{display:flex;gap:9px;align-items:center;font-size:8px;letter-spacing:1px}footer i{width:3px;height:3px;background:#9aa28f;border-radius:50%}.notice{background:#fff4e8;border:1px solid #f2dec5;color:#926132;font-size:12px;line-height:1.8;border-radius:8px;padding:10px 13px;margin:14px 0}.product-summary{padding:15px;background:#f1f6ed;border:1px solid #e1ebd9;border-radius:10px;margin-bottom:22px}.product-summary strong,.product-summary span{display:block}.product-summary span{font-size:10px;color:#7c8e71;margin-top:4px}.checkbox{display:flex;align-items:start;gap:9px;font-size:11px;font-weight:400;color:#718269;line-height:1.8;margin:18px 0}.checkbox input{width:14px;height:14px;margin:3px 0 0;accent-color:var(--green);flex-shrink:0}.centered{display:flex;margin:12px auto 0}.quote-box{background:#f0f6eb;border:1px solid #d6e5cc;color:#527448;border-radius:9px;padding:12px;font-size:11px;margin-top:15px}.result-icon{height:54px;width:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#658570;background:#eef3e9;font-size:29px;margin:20px auto 15px}.result-icon.success{color:#246844;background:#e2f1df}.result-icon.attention{color:#a87c2e;background:#fcf1da}#result-stage h3{text-align:center;margin-bottom:8px}.result-description{text-align:center;font-size:12px}.order-details{display:grid;grid-template-columns:90px 1fr;gap:11px 8px;font-size:11px;padding:17px 0;border-top:1px solid #ecf0e6;border-bottom:1px solid #ecf0e6}.order-details dt{color:#95a08c}.order-details dd{margin:0;overflow-wrap:anywhere}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:10px 0 23px}.status-grid span,.status-grid strong{display:block}.status-grid span{font-size:10px;color:#94a08c}.status-grid strong{font-size:12px;font-weight:500;margin-top:4px}
/* Management workspace */
.admin-body{background:#f6f8f3}.login-view{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;padding:30px}.login-card{max-width:440px;width:100%;padding:34px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 70px #354f3110}.login-card h1{font-size:26px;margin:12px 0}.login-card .primary{margin-top:24px}.login-card>.field-note{margin-bottom:0}.sidebar{width:228px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 20px;z-index:10}.sidebar>.brand{padding:0 12px;font-size:23px}.sidebar-caption{font-size:9px;color:#a2ad98;letter-spacing:2px;margin:48px 12px 16px}.nav-button{display:flex;align-items:center;gap:14px;padding:12px 16px;background:none;color:#839079;border-radius:8px;margin:5px 0;font-size:17px;width:100%;text-align:left;transition:background .2s}.nav-button span{font-size:12px}.nav-button.active{background:#eaf2e5;color:var(--green);font-weight:600}.nav-button:hover{background:#f1f6ed}.sidebar-bottom{margin-top:auto;padding-top:20px}.sidebar-status{font-size:10px;display:flex;align-items:center;gap:7px;padding:12px 15px;margin-bottom:10px;border-top:1px solid var(--line)}.admin-main{margin-left:228px}.admin-topbar{height:77px;background:#ffffffb0;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#95a18c}.admin-topbar b{font-weight:500;color:#516248}.breadcrumb{padding:0 14px;color:#c8cfc2}.admin-topbar>div{display:flex;align-items:center;gap:12px}.admin-topbar .local-badge{margin-right:14px}.avatar{display:flex;align-items:center;justify-content:center;width:29px;height:29px;background:#e5efde;border:1px solid #d6e3cc;color:#67835a;font-size:11px;border-radius:50%}.admin-content{padding:38px 40px;max-width:1600px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;margin:5px 0 29px;gap:20px}.page-title h1{font-size:30px;font-weight:650;margin:8px 0 10px}.page-title p{font-size:12px;margin:0}.page-title .primary{white-space:nowrap}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px 23px}.stat-card>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8b967f}.stat-card b{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #e6edde;background:#f3f7ed;color:#859c71;border-radius:8px;font-size:14px;font-weight:400}.stat-card>strong{font-size:34px;font-weight:550;line-height:1.6;display:block;margin:10px 0 3px;letter-spacing:-1px}.stat-card>small{font-size:9px;color:#9aa58e}.overview-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px;min-width:0}.panel h2{font-size:16px;font-weight:600;margin:0 0 15px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.panel-title h2{margin:0}.panel-title .text-button{font-size:10px}.empty-state{padding:44px 15px;text-align:center;display:flex;flex-direction:column;align-items:center}.empty-state>span{background:#f1f5eb;color:#9bae8b;display:flex;justify-content:center;align-items:center;width:50px;height:50px;border:1px solid #e4ebdc;border-radius:14px;font-size:22px;margin-bottom:15px}.empty-state strong{font-size:13px;font-weight:500;color:#788b69}.empty-state p{font-size:11px;color:#a0ab94;margin:7px 0 15px}.setup-panel>p{font-size:11px}.setup-panel ol{padding:0;list-style:none;margin:19px 0 28px}.setup-panel li{display:flex;align-items:center;gap:10px;font-size:11px;padding:13px 0;border-bottom:1px solid #f0f2eb}.setup-panel li b{height:25px;width:25px;display:flex;align-items:center;justify-content:center;background:#f7f9f2;border:1px solid #e4eadb;color:#9eae8e;border-radius:50%;font-size:9px;font-weight:500}.setup-panel li small{font-size:9px;color:#a7b09c;margin-left:auto}.setup-panel .complete b{background:#e9f1e3;border-color:#e1edda;color:var(--green)}.setup-panel .complete small{color:#6f8f5f}.workspace-banner{margin-top:25px;background:#edf3e5;border:1px solid #dce7cf;border-radius:13px;padding:26px;display:flex;align-items:center;gap:22px}.banner-icon{font-size:38px;color:#6e8b5b;line-height:1}.workspace-banner h2{font-size:15px;margin:0 0 5px}.workspace-banner p{font-size:10px;color:#8a9a7a;margin:0}.workspace-banner a{margin-left:auto;font-size:11px;white-space:nowrap;color:#68824f}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:23px}.toolbar input{max-width:280px;font-size:11px;background:#fbfcf8;padding:10px 13px}.toolbar select{max-width:145px;font-size:11px;padding:10px}.toolbar>.muted{font-size:10px;margin-left:auto;white-space:nowrap}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{padding:12px 14px;background:#f8faf5;border-bottom:1px solid #e9eee1;font-weight:500;color:#8c9a7f;font-size:10px}td{padding:17px 14px;border-bottom:1px solid #eff2e9;color:#65765a}tbody tr:last-child td{border-bottom:0}.table-button{background:none;color:var(--green);padding:3px;font-size:10px}.table-sub{display:block;font-size:9px;color:#a0ab95;margin-top:3px}.pill{font-size:9px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#f1f5ec;border:1px solid #e5ebdf;padding:3px 8px;border-radius:5px;color:#8a987d;line-height:1.65}.pill i{height:4px;width:4px;border-radius:50%;background:currentColor}.pill.ready,.pill.success{background:#eaf4e5;color:#57884a;border-color:#deecd5}.pill.processing,.pill.submitting,.pill.unknown{background:#fff6e5;color:#b18d4c;border-color:#f3e7cb}.pill.failed,.pill.disabled,.pill.expired{background:#f9eee8;color:#b07c64;border-color:#efded2}.pill.used{background:#edf0f7;border-color:#e1e7ef;color:#7b8da5}.recent-order{display:flex;align-items:center;width:100%;background:#fff;border-top:1px solid #eef2e8;padding:17px 0;text-align:left;gap:12px}.recent-order>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.recent-order strong{font-weight:500;font-size:11px;color:#64765a}.recent-order small{font-size:9px;color:#a1ad94;font-family:Consolas,monospace}.recent-order>.pill{margin-left:auto}.mini-product,.product-icon{height:36px;width:36px;display:flex;align-items:center;justify-content:center;background:#edf4e7;border:1px solid #e0e9d6;border-radius:9px;color:#73915d;font-size:19px}.product-icon{width:42px;height:42px;font-size:24px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-tile h2{font-size:18px;margin-top:24px;overflow-wrap:anywhere}.product-tile>.muted{font-size:11px}.product-tile dl{border-top:1px solid #edf1e5;padding-top:14px;display:grid;grid-template-columns:100px 1fr;gap:12px 6px;font-size:10px;margin:22px 0}.product-tile dt{color:#a3ad96}.product-tile dd{margin:0;overflow-wrap:anywhere}.info-banner{background:#edf3e5;border:1px solid #dfe8d5;border-radius:9px;padding:13px 17px;font-size:11px;color:#7c906a;margin-bottom:24px}.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.connection-grid .panel{padding:27px}.connection-grid label{font-size:11px}.connection-grid input{font-size:12px}.connection-grid .primary{margin-top:2px}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.button-row>.secondary{font-size:11px;padding:8px 12px}.connection-note{border-top:1px solid var(--line);margin-top:27px;padding-top:18px;display:flex;gap:10px;align-items:center;font-size:18px;color:#8ba278}.connection-note p{font-size:11px;margin:0;color:#9aa88c}.lower-grid{margin-top:25px}.lower-grid .muted{font-size:11px;margin:16px 0}.upstream-panel{margin-top:25px;scroll-margin-top:20px}pre{background:#f8faf5;border:1px solid #e8edde;border-radius:8px;padding:16px;color:#6d7f5c;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;font-family:Consolas,monospace;max-height:450px;overflow:auto}.upstream-panel pre{margin-top:15px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#244a36;color:#fff;font-size:12px;border:1px solid #3e6d4c;border-radius:10px;box-shadow:0 8px 40px #16342030;z-index:1000;max-width:calc(100% - 40px)}dialog{border:1px solid #dde5d4;border-radius:18px;padding:30px;width:540px;max-width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #1c402a30}dialog::backdrop{background:#1b302875;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.dialog-heading h2{font-size:21px;margin:7px 0 0}.dialog-heading .eyebrow{font-size:8px}.icon-button{background:#f4f7ef;color:#9aa78d;border:1px solid #e4ebda;border-radius:8px;font-size:23px;width:32px;height:32px;line-height:1;flex-shrink:0}dialog label{font-size:11px}dialog input,dialog select{font-size:12px}dialog .primary.full{margin-top:20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.order-detail-head{margin-bottom:20px}.order-detail-head h3{margin:12px 0}.order-details+.notice{margin-top:15px}.order-details dd{font-size:11px}#generated-result h3{margin-bottom:7px}#generated-result>.muted{font-size:12px}
@media(min-width:1500px){.portal{padding-top:94px}.guide{margin-top:75px}.topbar{height:100px}}
@media(max-width:1200px){.topbar{padding:0 36px}.portal{gap:55px;max-width:1060px;padding-top:50px}.intro h1{font-size:46px}.redeem-card{padding:26px}.access-card{left:58px}.chip-one{left:211px}footer{margin:0 36px}.admin-content{padding:28px}.admin-topbar{padding:0 28px}.sidebar{width:205px;padding:27px 15px}.admin-main{margin-left:205px}.stat-card{padding:17px}.overview-grid{gap:17px}.panel{padding:20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.connection-grid{gap:17px}}
@media(max-width:960px){.portal{gap:30px;padding:40px 30px 0}.intro h1{font-size:40px}.intro-tags{gap:15px;font-size:10px}.access-card{left:35px;width:245px;height:155px;top:52px}.chip-one{left:170px}.access-symbol{font-size:65px}.access-card-bottom{font-size:6px}.intro-foot{font-size:6px;letter-spacing:1px}.redeem-card{padding:24px}.redeem-card h2{font-size:21px}.header-right{gap:18px}.guide{gap:0 30px;margin-top:35px}.sidebar{width:178px;padding:25px 10px}.admin-main{margin-left:178px}.sidebar>.brand{font-size:20px}.sidebar .brand-icon{width:31px;height:31px}.sidebar-caption{margin-top:38px}.nav-button{padding:11px 12px;gap:10px}.sidebar-status{font-size:9px;padding:10px 8px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.setup-panel ol{margin-bottom:15px}.connection-grid{grid-template-columns:1fr}.page-title h1{font-size:26px}.workspace-banner{gap:14px}.workspace-banner p{max-width:350px}.workspace-banner a{font-size:10px}.admin-topbar{padding:0 22px}.admin-content{padding:25px 22px}.toolbar{flex-wrap:wrap}.toolbar>.muted{margin-left:0}.product-grid{grid-template-columns:1fr 1fr}.product-tile dl{grid-template-columns:1fr}.product-tile dt{font-size:9px}.product-tile dd{margin-bottom:3px}}
@media(max-width:720px){.topbar{height:75px;padding:0 22px}.brand{font-size:21px;gap:8px}.brand-sub{font-size:11px}.brand-sep{margin:0 3px}.brand-icon{height:31px;width:31px;font-size:27px}.header-right{gap:12px}.header-right>.local-badge,.header-right>.text-button{display:none}.admin-link{font-size:10px;padding:6px 9px}.portal{display:block;padding:33px 22px 0;max-width:540px}.intro h1{font-size:39px;margin:15px 0}.intro>.eyebrow{font-size:8px}.intro>p{font-size:12px}.intro-tags{margin:20px 0 27px;font-size:10px;gap:23px}.access-visual,.intro-foot{display:none}.redeem-column{padding:0}.redeem-card{padding:26px 23px}.redeem-card h2{font-size:22px}.guide{display:block;padding-top:28px;margin-top:15px}.guide>div{margin-bottom:24px}.guide h2{font-size:18px}.guide summary{font-size:11px;gap:15px}.guide details{margin-bottom:15px;padding-bottom:15px}.guide details p{margin-left:27px}footer{margin:0 22px;font-size:8px;padding:18px 0}footer>span:last-child{font-size:6px;letter-spacing:.5px}.sidebar{position:static;width:auto;display:block;padding:16px 18px 0;border-bottom:1px solid var(--line);border-right:0}.sidebar>.brand{font-size:20px;padding:0}.sidebar-caption{display:none}.sidebar nav{display:flex;gap:3px;overflow:auto;margin-top:15px;scrollbar-width:none}.nav-button{font-size:13px;width:auto;white-space:nowrap;padding:9px 12px;margin:0}.nav-button span{font-size:10px}.sidebar-bottom{display:none}.admin-main{margin:0}.admin-topbar{height:55px;font-size:10px;padding:0 20px}.admin-topbar .local-badge{margin:0;font-size:9px}.admin-topbar>div>span:last-child{display:none}.admin-topbar .avatar{width:24px;height:24px;font-size:9px}.admin-content{padding:24px 18px}.page-title{align-items:start;margin-bottom:22px;gap:10px}.page-title h1{font-size:23px}.page-title .eyebrow{font-size:7px;letter-spacing:1.2px}.page-title p{font-size:10px}.page-title>.primary,.page-title>.secondary{font-size:10px;padding:9px 12px;min-height:35px;margin-top:20px;gap:7px}.stat-grid{gap:11px;margin-bottom:18px}.stat-card{padding:15px}.stat-card>div{font-size:10px}.stat-card>strong{font-size:29px}.stat-card>small{font-size:8px}.stat-card b{width:24px;height:24px;font-size:12px}.overview-grid{gap:18px}.workspace-banner{padding:20px;align-items:start;flex-wrap:wrap;gap:12px}.workspace-banner h2{font-size:13px}.workspace-banner p{font-size:9px;max-width:270px}.workspace-banner .banner-icon{font-size:28px}.workspace-banner a{margin-left:40px}.panel{padding:20px 16px}.panel h2{font-size:15px}.setup-panel li{font-size:11px}.toolbar input{max-width:none;flex:1;min-width:140px}.toolbar select{max-width:110px;font-size:10px}.toolbar>.muted{font-size:9px}.product-grid{grid-template-columns:1fr}.product-tile dl{grid-template-columns:100px 1fr}.connection-grid .panel{padding:22px 18px}.login-card{padding:27px}.login-card h1{font-size:24px}.login-card>.muted{font-size:12px}dialog{padding:24px 20px;border-radius:14px}.field-grid{gap:12px}.connection-note p{font-size:10px}.order-details{grid-template-columns:84px 1fr}.toast{font-size:11px;bottom:16px}td,th{padding-left:10px;padding-right:10px}.guide .eyebrow{font-size:8px}}
.catalog-toolbar{display:flex;gap:12px;align-items:end}.catalog-toolbar>div{flex:1}.catalog-toolbar label{margin-top:0}.catalog-toolbar button{font-size:10px;margin-bottom:1px;white-space:nowrap}.catalog-spec{background:#eff5e9;border:1px solid #dce8d2;color:#6b8458;padding:11px 13px;border-radius:8px;font-size:10px;line-height:1.9;margin:13px 0}.params-preview{font-size:11px;color:#7d8e70;margin:20px 0}.params-preview summary{cursor:pointer}.params-preview pre{font-size:10px}#catalog-status{margin-bottom:16px}#product-form-error{margin-bottom:0}@media(max-width:450px){.catalog-toolbar{flex-wrap:wrap}.catalog-toolbar>div{flex-basis:100%}.catalog-toolbar button{width:100%}}
.code-select{width:15px;height:15px;padding:0;margin:0;vertical-align:middle;accent-color:var(--green);cursor:pointer}.code-select:disabled{cursor:default;opacity:.45}.bulk-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 17px}.bulk-actions>span{font-size:11px;color:var(--green);min-width:65px}.bulk-actions>small{font-size:10px;color:var(--muted)}.bulk-actions .secondary{font-size:11px;padding:7px 12px}
.danger-text{color:var(--danger)}.pill.deleted{background:#f9eee8;color:#b07c64;border-color:#efded2}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.lowest-panel{margin-bottom:23px}.lowest-panel .panel-title{align-items:flex-start;margin-bottom:8px}.lowest-panel .panel-title .field-note{margin-bottom:0}.lowest-panel .panel-title .secondary{white-space:nowrap;font-size:11px;padding:8px 12px}.lowest-table-wrap{max-height:345px;overflow:auto}.lowest-table-wrap th{position:sticky;top:0;z-index:1}.lowest-table-wrap td{padding-top:11px;padding-bottom:11px}.lowest-price{font-weight:600;color:var(--green);font-family:Consolas,monospace}


/* Public redemption flow: one type scale, restrained panels and one primary action. */
body[data-redeem-stage="2"] .portal,
body[data-redeem-stage="3"] .portal{display:block;max-width:740px;padding:36px 24px 0}
body[data-redeem-stage="2"] .intro,
body[data-redeem-stage="3"] .intro{display:none}
body[data-redeem-stage="2"] .redeem-column,
body[data-redeem-stage="3"] .redeem-column{padding:0}
body[data-redeem-stage="2"] .redeem-card,
body[data-redeem-stage="3"] .redeem-card{padding:30px 36px 22px}
body[data-redeem-stage="2"] .guide,
body[data-redeem-stage="3"] .guide{display:block;margin-top:26px;padding:26px 8px}
body[data-redeem-stage="2"] .guide>div,
body[data-redeem-stage="3"] .guide>div{margin-bottom:22px}
.redeem-card .product-summary{padding:16px 18px;margin-bottom:18px;border-radius:10px}
.product-summary strong{font-size:17px;font-weight:650}
.redeem-card .product-summary span{font-size:12px;color:#6b7d70}
#account-form>label{font-size:14px}
#account-form .field-note{font-size:12px;color:#768379;margin:10px 0 16px}
#account-form #credential{height:132px;min-height:112px;font-size:13px}
.session-help{margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid var(--line);color:#526759;font-size:13px;line-height:1.8}
.session-help summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:var(--green)}
.session-help summary::-webkit-details-marker{display:none}
.session-help summary span{font-size:12px;font-weight:400;color:#7b8c80}
.session-help[open] summary span{color:var(--green)}
.session-help ol{margin:14px 0 0;padding:14px 16px 14px 34px;background:#f6f8f4;border-radius:8px}
.session-help li+li{margin-top:6px}
.session-help a{text-decoration:underline;text-underline-offset:3px;color:var(--green)}
#account-form .primary.full{min-height:48px;font-size:14px;font-weight:600;border-radius:10px;box-shadow:none;justify-content:center}
#account-form .read-account-button{margin:8px 0 0}
#account-form #submit-button{margin-top:12px;position:relative}
#account-form:has(#quote-box[hidden]) #submit-button{display:none}
#submit-button>span{position:absolute;right:18px}
#submit-button:disabled{background:#b4c8bb;opacity:1;cursor:not-allowed}
#submit-button[aria-busy="true"]{cursor:wait}
.has-account-preview #product-summary,
.has-account-preview #session-help,
.has-account-preview #credential-label,
.has-account-preview #credential,
.has-account-preview #credential-note,
.has-account-preview #quote-button{display:none}
.quote-box.account-preview{margin:0;padding:22px;background:#f7faf6;border:1px solid #dce6d9;border-radius:12px;box-shadow:none}
.account-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #e0e8dc}
.account-preview-heading>strong{font-size:17px;font-weight:650;color:#244f37}
.account-preview-heading>.text-button{font-size:12px;white-space:nowrap;color:var(--green);padding:2px 0}
.account-preview .account-preview-details{margin:20px 0;padding:0;border:0;display:grid;grid-template-columns:125px minmax(0,1fr);gap:16px 18px;line-height:1.6}
.account-preview-details dt{font-size:13px;color:#748173}
.account-preview .account-preview-details dd{margin:0;font-size:15px;color:#294535;font-weight:500;overflow-wrap:anywhere}
.account-preview-details dd:first-of-type,.account-preview-details dd:last-of-type{font-weight:650;color:#1e5238}
.account-preview .account-preview-details dd:nth-of-type(2){font-size:13px;color:#69816e;font-weight:400}
#account-form .account-preview>.field-note{margin:0;padding-top:16px;border-top:1px solid #e0e8dc;font-size:12px;line-height:1.8;color:#778773}
#account-form #confirm-label{margin:20px 0 14px;font-size:13px;font-weight:400;line-height:1.8;color:#5c705f;align-items:flex-start;gap:10px}
#confirm-label input{width:16px;height:16px;flex-shrink:0;margin-top:4px}
#account-form #switch-code{font-size:12px;color:#84907f;margin-top:14px}
@media(max-width:720px){
  body[data-redeem-stage="2"] .portal,body[data-redeem-stage="3"] .portal{padding:24px 18px 0;max-width:600px}
  body[data-redeem-stage="2"] .redeem-card,body[data-redeem-stage="3"] .redeem-card{padding:25px 22px 20px}
  .account-preview .account-preview-details{grid-template-columns:108px minmax(0,1fr);gap:15px 12px}
}
@media(max-width:420px){
  .quote-box.account-preview{padding:18px 16px}
  .account-preview .account-preview-details{grid-template-columns:1fr;gap:5px}
  .account-preview-details dt:not(:first-of-type){margin-top:10px}
  .account-preview-heading>strong{font-size:16px}
}
