:root{--ink:#233c36;--muted:#78867e;--green:#246c51;--green-dark:#18543e;--line:#dfe6df;--paper:#f6f7f1;--white:#fff;--lime:#dcea99;--danger:#aa493c}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}button:hover:not(:disabled){filter:brightness(.96)}.header{height:94px;max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line)}.brand{font-size:24px;font-weight:760;display:flex;align-items:center;gap:10px;letter-spacing:1px}.brand-icon{display:inline-grid;place-items:center;background:var(--green);color:var(--lime);height:36px;width:36px;border-radius:12px;font-size:28px}.brand small{font-size:10px;letter-spacing:2px;font-weight:500;color:var(--muted);margin-left:12px}.header nav{display:flex;align-items:center;gap:26px;font-size:13px}.subtle{color:var(--muted)}.public-body .header nav button.subtle{background:none;border:0;padding:0;color:inherit;font-size:inherit;font-weight:400}.landing{max-width:1200px;margin:62px auto 50px;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:0 40px}.intro{padding-top:25px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:650}.dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:8px}h1{font-size:60px;line-height:1.22;font-weight:600;letter-spacing:-2px;margin:25px 0}h1 span{color:var(--green)}.intro-copy{font-size:16px;line-height:1.9;color:var(--muted)}h2{font-size:24px;font-weight:650;letter-spacing:-.5px;margin:12px 0 5px}.muted{color:var(--muted);margin:3px 0 22px}.orbit-art{height:230px;width:300px;position:relative;margin:18px 0 12px 10px;display:grid;place-items:center}.orbit{position:absolute;width:260px;height:150px;border:1px solid #bfd0b3;border-radius:50%;transform:rotate(-28deg)}.orbit-two{transform:rotate(35deg);width:245px;height:145px}.star{font-size:156px;line-height:1;color:var(--green);text-shadow:9px 9px 0 #dce5b3;transform:rotate(10deg)}.floating-tag{position:absolute;bottom:10px;right:-8px;transform:rotate(-7deg);background:var(--lime);padding:8px 15px;border:1px solid #cddc91;border-radius:5px;font-size:10px;letter-spacing:1.5px}.trust-row{display:flex;gap:20px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:22px}.card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:0 12px 36px #243c3605}.card-top{display:flex;justify-content:space-between;align-items:center}.badge{display:inline-block;font-size:11px;line-height:1.5;padding:5px 10px;background:#edf4e9;color:var(--green);border-radius:30px;white-space:nowrap}.badge.failed,.badge.disabled{background:#fbece8;color:var(--danger)}.badge.manual_review,.badge.submission_unknown,.badge.locked{background:#fcf1d6;color:#92702c}.badge.used,.badge.success{background:#e7f3eb;color:var(--green)}label{display:block;font-size:12px;font-weight:650;margin:17px 0 7px}.optional{float:right;font-size:10px;font-weight:400;color:var(--muted)}input,textarea,select{border:1px solid var(--line);border-radius:9px;background:#fafbf8;color:var(--ink);width:100%;padding:11px 13px;transition:border-color .2s}input:focus,textarea:focus,select:focus{outline:2px solid #dbe8d9;border-color:var(--green)}textarea{resize:vertical;line-height:1.65;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}input::placeholder,textarea::placeholder{color:#9da69d}.input-action{display:flex;gap:8px}.input-action input,.input-action select{min-width:0;flex:1}.primary,.secondary{border-radius:9px;padding:11px 18px;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary span{float:right}.secondary{background:#f1f4ec;border:1px solid var(--line);color:var(--ink)}.full{width:100%;margin-top:15px;text-align:left}.hint{font-size:11px;color:var(--muted);margin:8px 0;line-height:1.7}.notice{background:#f8f5df;border:1px solid #ece5b8;border-radius:9px;padding:10px 12px;color:#807136;font-size:11px;margin:15px 0}.consent{display:flex;gap:9px;color:var(--muted);font-weight:400;font-size:11px;align-items:flex-start;line-height:1.8}.consent input{width:14px;height:14px;flex-shrink:0;margin-top:3px;accent-color:var(--green)}.error{color:var(--danger);font-size:12px;white-space:pre-wrap}.error:empty{display:none}.success-text{color:var(--green);font-size:12px}.card-foot{display:flex;justify-content:center;gap:40px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.account-preview{background:#edf4e9;padding:10px 13px;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.lookup,.result-card{max-width:1120px;margin:30px auto;scroll-margin-top:25px}.lookup{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px}.lookup form{display:grid;grid-template-columns:1fr;gap:5px}.lookup label{margin:3px 0}.lookup button{margin-top:5px}footer{max-width:1200px;border-top:1px solid var(--line);margin:55px auto 0;padding:26px 40px 35px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}footer a{color:var(--green)}dl{display:grid;grid-template-columns:160px minmax(0,1fr);font-size:13px;margin:20px 0;gap:0}dt,dd{border-bottom:1px solid #edf0eb;margin:0;padding:9px 0;overflow-wrap:anywhere}dt{color:var(--muted)}.admin-main{max-width:1280px;padding:35px 40px;margin:auto;min-height:70vh}.login-card{max-width:430px;margin:45px auto}.login-card h1{font-size:36px}.text-button{background:none;color:var(--muted);font-size:12px}.workspace-heading{display:flex;justify-content:space-between;align-items:center}.workspace-heading h1{font-size:36px;margin:10px 0}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:20px 0 28px}.stat{background:white;border:1px solid var(--line);padding:20px;border-radius:14px}.stat span{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:32px;font-weight:550;margin-top:8px}.tabs{display:flex;gap:24px;align-items:center;border-bottom:1px solid var(--line);margin:25px 0}.tab{background:none;padding:14px 4px;color:var(--muted);border-bottom:2px solid transparent}.tab.active{color:var(--green);border-color:var(--green);font-weight:650}.tabs .hint{margin-left:auto}.generate{padding:24px}.generate h2{font-size:18px;margin:0}.generate .muted{font-size:12px;margin-bottom:5px}.generate-form{display:grid;grid-template-columns:1fr 80px 1fr 1.3fr 1fr auto;align-items:end;gap:12px}.generate-form label{margin-top:12px}.toolbar{display:flex;justify-content:space-between;gap:20px;margin:25px 0 15px}.search-form{display:flex;gap:10px;max-width:650px;flex:1}.search-form select{width:130px}.search-form input{min-width:100px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;background:#eff2ea;color:var(--muted);font-weight:500;padding:13px 18px}td{padding:17px 18px;border-top:1px solid var(--line)}td small{display:block;color:var(--muted);margin-top:5px}.empty{text-align:center;padding:50px;color:var(--muted)}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;font-size:12px;margin:16px 0}.pagination button{padding:7px 12px}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:min(760px,95vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#172d2555;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{margin:0}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f5ee;padding:15px;border-radius:8px;font-size:11px;max-height:250px;overflow:auto}#generated{margin-top:15px}#generated button{margin-top:8px}[hidden]{display:none!important}@media(max-width:1000px){.landing{gap:30px}.generate-form{grid-template-columns:repeat(3,1fr)}.lookup,.result-card{margin:25px 40px}.header nav{gap:16px}.brand small{display:none}h1{font-size:50px}.stats{gap:8px}.stat{padding:15px}}@media(max-width:700px){.header{height:74px;padding:0 20px}.brand{font-size:20px}.header nav{gap:12px;font-size:11px}.header .subtle{display:none}.landing{display:block;padding:0 20px;margin-top:30px}.intro{padding:0}.intro h1{font-size:44px;margin:20px 0 15px}.intro-copy{font-size:14px}.orbit-art{display:none}.trust-row{margin:25px 0}.card{padding:24px;border-radius:16px}.lookup{display:block}.lookup,.result-card{margin:25px 20px}.lookup form{margin-top:20px}footer{padding:25px 20px;gap:15px;flex-direction:column}.admin-main{padding:25px 20px}.workspace-heading{align-items:flex-start;gap:10px}.workspace-heading h1{font-size:28px}.workspace-heading .secondary{padding:9px;font-size:10px}.stats{grid-template-columns:repeat(2,1fr)}.stat:last-child{grid-column:1/-1}.stat strong{font-size:26px}.tabs{gap:15px;flex-wrap:wrap}.tabs .hint{width:100%;margin:0 0 10px}.generate-form{grid-template-columns:1fr 1fr}.toolbar{flex-wrap:wrap}.search-form{min-width:100%;flex-wrap:wrap}.search-form input{flex:1}.search-form select{width:110px}.generate{padding:18px}.optional{float:none;margin-left:8px}dl{grid-template-columns:110px minmax(0,1fr)}.login-card{margin:25px auto}.brand-icon{width:30px;height:30px}}

.session-guide{color:#2563eb;font-weight:400}.session-guide:hover{text-decoration:underline}

/* Admin workspace */
.admin-body{background:#f3f5f1;min-height:100vh}.admin-body>.header{max-width:none;height:72px;padding:0 28px;background:#fff}.admin-body>.header .brand-icon{display:inline-grid;width:34px;height:34px;border-radius:10px}.admin-body>.header .brand-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.admin-sidebar{position:fixed;left:0;top:72px;bottom:0;width:248px;background:#17201e;color:#dfe8e2;padding:24px 16px;transition:width .2s ease;z-index:4}.sidebar-heading{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;color:#91a29a}.sidebar-caption{font-size:11px;letter-spacing:1.5px;text-transform:uppercase}.sidebar-toggle{width:30px;height:30px;border:1px solid #40504a;border-radius:8px;background:transparent;color:#dfe8e2;display:grid;place-items:center}.sidebar-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.sidebar-nav{display:grid;gap:6px;margin-top:14px}.sidebar-item{display:flex;align-items:center;gap:14px;width:100%;height:46px;padding:0 12px;border-radius:10px;background:transparent;color:#aebcb5;text-align:left;font-size:13px}.sidebar-item svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-item:hover,.sidebar-item.active{background:#2a5143;color:#fff}.admin-content{margin-left:248px;min-height:calc(100vh - 72px);transition:margin-left .2s ease}.admin-content>.admin-main{max-width:none;padding:34px 42px}.admin-sidebar.collapsed{width:72px}.admin-sidebar.collapsed .sidebar-caption,.admin-sidebar.collapsed .sidebar-item span{display:none}.admin-sidebar.collapsed .sidebar-heading{justify-content:center;padding:0}.admin-sidebar.collapsed .sidebar-toggle svg{transform:rotate(180deg)}.admin-sidebar.collapsed .sidebar-item{justify-content:center;padding:0}.admin-content.sidebar-collapsed{margin-left:72px}.admin-main .tabs{display:none}.admin-main .admin-toolbar{margin:0 0 24px;border-bottom:1px solid var(--line);padding-bottom:18px}.admin-main .admin-toolbar .eyebrow{font-size:16px;letter-spacing:.3px;color:var(--ink)}.management-panel{min-height:420px}@media(max-width:800px){.admin-sidebar{width:72px}.admin-sidebar .sidebar-caption,.admin-sidebar .sidebar-item span{display:none}.admin-sidebar .sidebar-heading{justify-content:center;padding:0}.admin-sidebar .sidebar-item{justify-content:center;padding:0}.admin-content{margin-left:72px}.admin-content>.admin-main{padding:24px 18px}.admin-body>.header{padding:0 16px}.admin-body>.header nav a{display:none}}

.module-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px}.module-heading h1{font-size:30px;margin:0}.module-heading .muted{margin:4px 0 0}.user-toolbar{justify-content:flex-start}.user-toolbar input{max-width:300px}.user-toolbar input[type=number]{max-width:150px}.user-toolbar select{max-width:150px}.user-drawer{position:fixed;z-index:20;right:0;top:0;bottom:0;width:min(460px,94vw);padding:28px;background:#fff;box-shadow:-18px 0 50px #17352b22;transform:translateX(105%);transition:transform .22s ease;overflow:auto}.user-drawer.open{transform:translateX(0)}.drawer-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:16px}.drawer-header h2{margin:0}.drawer-close{background:none;color:var(--muted);font-size:25px;line-height:1}.drawer-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.admin-body:has(.user-drawer.open)::after{content:"";position:fixed;inset:0;background:#17352b33;z-index:19}
.admin-body:not(.admin-authenticated) .admin-sidebar{display:none}.admin-body:not(.admin-authenticated) .admin-content{margin-left:0}

#order-search-form,#code-search-form{max-width:none;flex-wrap:wrap;align-items:center}#order-search,#code-search{flex:1;min-width:220px}#order-plan-id,#code-plan-id{width:135px;flex:none}.time-range-button{white-space:normal;text-align:left}.time-range-dialog{width:min(850px,95vw)}.time-range-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:end}.time-range-fields>span{padding-bottom:12px}.time-range-fields input{min-width:0;border-radius:24px}.time-presets{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0}.time-presets button{border-radius:24px;background:#edf2e9;color:var(--ink);padding:12px 8px}.time-presets button:hover{background:#dce9d5}.time-range-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}@media(max-width:600px){.time-range-fields{grid-template-columns:1fr}.time-range-fields>span{display:none}.time-presets{grid-template-columns:repeat(2,1fr)}.time-range-button{width:100%}}

.payment-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.payment-box{padding:22px;margin:24px 0;border:1px solid var(--border,#dfe6df);border-radius:16px;background:#f5f8f2}.payment-box h3{margin:8px 0}.payment-box .full{margin-top:18px}.payment-actions{display:flex;flex-wrap:wrap;gap:10px}.payment-actions a{text-decoration:none}.payment-code{overflow-wrap:anywhere;font-weight:600}@media(max-width:700px){.payment-settings-grid{grid-template-columns:1fr}.payment-box{padding:16px}}

.redeem-code-label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;margin-top:22px}.redeem-gift{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f7edda;color:#c58a20}.redeem-gift svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.redeem-code-action{gap:12px;margin-top:14px}.redeem-code-action input{border-radius:28px;min-width:0;padding:14px 18px}.redeem-code-action button{border-radius:28px;min-width:86px;white-space:nowrap;padding:12px 22px;border:1px solid var(--line)}.catalog-heading{font-size:14px;margin:22px 0 12px}.public-plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-plan-card{display:flex;flex-direction:column;gap:10px;text-align:left;padding:6px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);overflow-wrap:anywhere}.public-plan-card:hover{border-color:var(--green)}.public-plan-card[aria-pressed=true]{border-color:var(--green);background:#edf4e9;box-shadow:0 0 0 1px var(--green)}.public-plan-name{font-size:14px;font-weight:600}.public-plan-price{font-size:24px;color:var(--green)}.public-plan-detail{font-size:12px;color:var(--muted);line-height:1.6}@media(max-width:380px){.public-plan-list{grid-template-columns:1fr}.redeem-code-action button{min-width:70px;padding:12px 16px}}

/* Nested system settings navigation. */
.admin-sidebar{overflow-y:auto}.sidebar-group-toggle .sidebar-chevron{width:16px;height:16px;flex-basis:16px;margin-left:auto;transition:transform .2s ease}.sidebar-group-toggle[aria-expanded=false] .sidebar-chevron{transform:rotate(-90deg)}.sidebar-group-toggle.has-active-child{color:#eef5f0}.sidebar-subnav{display:grid;gap:4px;margin:6px 0 8px 21px;padding-left:14px;border-left:1px solid #40504a}.sidebar-subnav[hidden]{display:none}.sidebar-subitem{height:40px;border-radius:24px;padding:0 16px;font-size:13px}.sidebar-subitem.active{background:#223847;color:#bfdbf5}.sidebar-subitem:hover{background:#293d45;color:#e3f0fb}.sidebar-item:focus-visible{outline:2px solid #bfdbf5;outline-offset:2px}.admin-sidebar.collapsed .sidebar-chevron{display:none}.admin-sidebar.collapsed .sidebar-subnav{margin:6px 0;padding:0;border:0}.admin-sidebar.collapsed .sidebar-subitem{height:auto;min-height:40px;padding:7px 2px;border-radius:8px}.admin-sidebar.collapsed .sidebar-subitem span{display:block;font-size:10px;line-height:1.5;text-align:center;white-space:normal}.admin-sidebar.collapsed .sidebar-subitem span{max-width:40px}@media(max-width:800px){.admin-sidebar .sidebar-chevron{display:none}.admin-sidebar .sidebar-subnav{margin:6px 0;padding:0;border:0}.admin-sidebar .sidebar-subitem{height:auto;min-height:40px;padding:7px 2px;border-radius:8px}.admin-sidebar .sidebar-subitem span{display:block;max-width:40px;font-size:10px;line-height:1.5;text-align:center;white-space:normal}}

.channel-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}.channel-config-grid fieldset{min-width:0;margin:0;padding:20px;border:1px solid var(--line);border-radius:12px}.channel-config-grid legend{padding:0 8px;font-size:16px;font-weight:600}@media(max-width:1000px){.channel-config-grid{grid-template-columns:1fr}}

/* Keep the admin shell stationary; each page scrolls inside the workspace. */
.admin-body{--admin-header-height:56px;height:100vh;height:100dvh;min-height:0;overflow:hidden}
.admin-body>.header{position:fixed;inset:0 0 auto;height:var(--admin-header-height);z-index:10}
.admin-body>.header .brand{font-size:22px}
.admin-body>.header .brand-icon{width:30px;height:30px;border-radius:9px}
.admin-sidebar{top:var(--admin-header-height);overscroll-behavior:contain}
.admin-content{position:fixed;top:var(--admin-header-height);right:0;bottom:0;left:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.admin-content>.admin-main{min-height:calc(100% - 100px)}
.admin-content>footer{max-width:none;margin:0 42px;padding:22px 0}
@media(max-width:800px){.admin-content>footer{margin:0 18px}}

/* Recharge channel selection; provider configuration styles remain separate. */
.channel-selection{padding:24px;background:#f8faf7;border:1px solid var(--line);border-radius:14px;margin-bottom:24px}
.channel-status-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.channel-caption{display:block;font-size:12px;color:#62776c;margin-bottom:6px}
.channel-current-detail{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.channel-current-detail strong{font-size:22px;line-height:1.3;font-weight:650}
.channel-choice{border:0;margin:0;padding:0;min-width:0}
.channel-choice legend{font-weight:600;padding:0;font-size:14px}
.channel-choice .hint{margin:4px 0 14px;color:#62776c;font-size:12px}
.channel-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.channel-options .channel-option{display:flex;align-items:center;gap:14px;margin:0;padding:20px;min-width:0;cursor:pointer;background:var(--white);border:1px solid var(--line);border-radius:12px;transition:border-color .15s,background .15s,box-shadow .15s}
.channel-options .channel-option:hover{border-color:#92b3a1}
.channel-options .channel-option:has(input:checked){border-color:var(--green);background:#eff7f0;box-shadow:inset 0 0 0 1px var(--green)}
.channel-options .channel-option:has(input:focus-visible){outline:2px solid var(--green);outline-offset:3px}
.channel-options .channel-option:has(input:disabled){cursor:default}
.channel-options input{width:18px;height:18px;flex-shrink:0;padding:0;margin:0;accent-color:var(--green)}
.channel-option-content{display:block;flex:1;min-width:0}
.channel-option-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.channel-option-heading strong{font-size:16px;font-weight:650}
.channel-option-status{font-size:11px;font-weight:500;color:#62776c;white-space:nowrap}
.channel-option-status[data-state=current]{background:#e0eee3;color:var(--green);padding:3px 9px;border-radius:20px}
.channel-option-status[data-state=pending]{color:var(--green)}
.channel-option-description{display:block;margin-top:6px;color:#62776c;font-size:12px;font-weight:400;overflow-wrap:anywhere}
.channel-switch-footer{margin-top:20px}
.channel-switch-actions{display:flex;gap:10px;flex-wrap:wrap}
.channel-switch-footer .hint{margin:10px 0 0;color:#62776c;font-size:12px}
.channel-selection button:disabled{cursor:default}
@media(max-width:700px){.channel-selection{padding:18px}.channel-options{grid-template-columns:1fr;gap:12px}.channel-options .channel-option{padding:16px}.channel-current-detail strong{font-size:20px}}


.payment-method-label{font-size:12px;font-weight:650;margin:18px 0 8px}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-method{display:flex;align-items:center;gap:10px;padding:16px;border:1px solid var(--line);border-radius:16px;background:white;color:var(--ink);font-size:16px;font-weight:650;text-align:left}.payment-method:hover{border-color:var(--green)}.pay-icon{display:inline-grid;place-items:center;width:25px;height:25px;flex-shrink:0;font-size:20px;line-height:1}.alipay-icon{background:#1677ff;color:white;border-radius:5px}.wechat-icon{color:#07c160}.payment-dialog{width:min(480px,calc(100vw - 32px));padding:28px;border-radius:26px}.payment-dialog h2{font-size:28px;margin:0 0 8px}.payment-summary{grid-template-columns:110px minmax(0,1fr);margin:30px 0 22px;align-items:center}.payment-summary dt,.payment-summary dd{padding:16px 0;border:0}.payment-summary dd{text-align:right;font-size:17px;font-weight:650}.payment-summary .payment-total{font-size:30px}.payment-summary dt:last-of-type,.payment-summary dd:last-of-type{border-top:1px solid var(--line);margin-top:10px;padding-top:22px}.payment-summary .payment-method{display:inline-flex;padding:0;border:0;background:transparent;opacity:1;cursor:default}.payment-dialog-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:22px}.payment-dialog-actions button{border-radius:24px;font-size:14px}.payment-dialog::backdrop{background:#172d2577;backdrop-filter:blur(6px)}

.wechat-icon svg{width:27px;height:27px}#payment-summary-method{display:flex;justify-content:flex-end;align-items:center;gap:10px}

/* Public page typography: helper, label, body, section, title. */
.public-body{--text-xs:11px;--text-sm:12px;--text-md:14px;--text-lg:18px;--text-xl:24px;font-size:var(--text-md)}
.public-body :is(.hint,.optional,.consent,.eyebrow,.trust-row,.floating-tag,footer,.brand small){font-size:var(--text-xs)}
.public-body :is(label,.payment-method-label,.payment-method,.redeem-code-label,.primary,.secondary,.error,.account-preview,.public-plan-detail,.header nav){font-size:var(--text-sm)}
.public-body :is(input,select,textarea,.intro-copy,.muted,dl,.public-plan-name,.payment-summary dd){font-size:var(--text-md)}
.public-body :is(h3,.catalog-heading,.public-plan-price){font-size:var(--text-lg)}
.public-body :is(h1,h2,.brand,.payment-summary .payment-total){font-size:var(--text-xl)}
.public-body .intro h1{font-size:var(--text-xl);letter-spacing:-.5px}
.public-body #payment-summary-method{font-size:var(--text-sm)}

/* Match the compact admin header while retaining the public page navigation. */
.public-body>.header{position:sticky;top:0;z-index:10;max-width:none;height:56px;padding:0 28px;background:#fff;border-bottom:1px solid var(--line)}
.public-body>.header .brand{font-size:22px;flex-shrink:0}
.public-body>.header .brand small{font-size:10px}
.public-body>.header .brand-icon{display:inline-grid;width:30px;height:30px;border-radius:9px}
.public-body>.header .brand-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.public-body>.header nav{font-size:13px}
.public-body :is(.lookup,.result-card){scroll-margin-top:76px}
@media(max-width:800px){.public-body>.header{padding:0 16px}}
@media(max-width:700px){.public-body>.header nav{font-size:11px;gap:12px}}

/* Compact payment and redemption controls. */
.public-body .pay-icon{width:18.75px;height:18.75px;font-size:15px}
.public-body .wechat-icon svg{width:20.25px;height:20.25px}
.public-body .payment-methods .payment-method{height:44.25px;padding:0 16px;gap:7.5px;border-radius:12px}
.public-body .redeem-gift{width:21px;height:21px;flex-shrink:0}
.public-body .redeem-gift svg{width:13.5px;height:13.5px}
.public-body .redeem-code-action{align-items:center;margin-top:8px}
.public-body .redeem-code-action input{height:28px;padding:2px 12px;line-height:22px;border-radius:14px}
.public-body .redeem-code-action button{height:28px;padding:0 22px;border-radius:14px}
@media(max-width:380px){.public-body .redeem-code-action button{padding-inline:16px}}

/* Integrate purchasing into the self-service card. */
.public-body .payment-box{padding:0;margin:6px 0 10px;border:0;border-radius:0;background:transparent}
.public-body .catalog-heading{font-size:var(--text-sm);font-weight:650;margin:0 0 8px}

/* Compact self-service heading. */
.public-body .redeem-card{padding-top:16px;padding-bottom:16px}
.public-body .redeem-card>.card-top{padding:0;line-height:1.4}
.public-body .payment-box>h3{font-size:var(--text-xl);margin:0 0 8px}

.public-body .payment-box>.hint{margin-bottom:0}
.public-body .redeem-code-label{margin-top:12px;margin-bottom:0}
.public-body #code-info{margin-bottom:0}

/* Session guidance and payment section spacing. */
.public-body #session{display:block}
.public-body #session+.hint{margin:10px 0 0}
.public-body .payment-method-label{margin-top:12px}

/* Compact order lookup card spacing. */
.public-body .lookup{padding-top:16px;padding-bottom:16px}
.public-body #lookup-form>label:first-child{margin-top:0}
@media(max-width:700px){.public-body .lookup>div>.muted{margin-bottom:0}.public-body #lookup-form{margin-top:16px}}

#payment-settings-save{margin-bottom:16px}

#announcement-dialog{border:0;border-radius:16px;padding:24px;max-width:560px;width:calc(100% - 32px);box-shadow:0 12px 40px #0003}#announcement-dialog::backdrop{background:#0005}.announcement-view{white-space:pre-wrap;line-height:1.8;margin:16px 0 24px;max-height:60vh;overflow:auto}

.admin-announcement-entry{cursor:pointer}.announcement-dialog{width:min(560px,calc(100vw - 32px));min-height:560px;padding:18px 18px 14px;border-radius:18px}.announcement-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding:0 4px 12px}.announcement-dialog-head h2{margin:0;font-size:18px}.announcement-dialog .announcement-view{font-family:inherit;font-size:14px;line-height:1.8;margin:18px 4px;min-height:420px}.announcement-dialog .drawer-close{font-size:22px}
