/* 优惠券运营与显示偏好使用共享语义色；不改变其他页面或资金流程。 */
/* 导航只合并业务入口，横向页签保留键盘与窄屏滚动。 */
.experience:not(.personal) .workspace-section-tabs{display:flex;gap:6px;padding:5px;margin:0 0 26px;background:#eaf0ed;border:0;border-radius:12px;overflow:auto;white-space:nowrap;flex-wrap:nowrap}
.experience:not(.personal) .workspace-section-tabs>.tab{flex:0 0 auto;min-height:40px;padding:11px 16px;border:0;border-radius:9px;font-size:12px;color:#526c64;background:transparent;box-shadow:none}
.experience:not(.personal) .workspace-section-tabs>.tab.active{background:#fff;color:#285f50;box-shadow:0 2px 6px #213f3508}
html[data-theme=dark] .experience:not(.personal) .workspace-section-tabs{background:var(--night-panel)}
html[data-theme=dark] .experience:not(.personal) .workspace-section-tabs>.tab{background:transparent;color:var(--night-muted)}
html[data-theme=dark] .experience:not(.personal) .workspace-section-tabs>.tab.active{background:#29423e!important;color:#d6e9e2!important;box-shadow:none}
/* 收付款用一个完整选择入口呈现券策略，图标、文案与操作保持同一层级。 */
.personal .payer-pass .pass-coupon{display:block;margin:20px 7px 0}
.personal .payer-pass .pass-coupon .pass-coupon-choice{display:flex;align-items:center;gap:13px;width:100%;padding:15px 14px;border:1px solid #dce7f2;border-radius:16px;background:linear-gradient(120deg,#ffffffbf,#eaf3fcaa);color:#456f93;box-shadow:inset 0 1px 0 #ffffff8c;text-align:left;min-width:0}
.pass-coupon-choice .pass-coupon-symbol{display:grid;place-items:center;flex:none;width:35px;height:38px;border-radius:12px;background:#dfeaf6;color:#537d9f}
.pass-coupon-choice .pass-coupon-symbol>.ico{width:18px;height:18px;stroke-width:1.65}
.pass-coupon-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.pass-coupon-copy>span{font-size:10px;line-height:1.5;color:#506c84}
.pass-coupon-copy>strong{font-size:13px;line-height:1.7;font-weight:550;color:#355d80;overflow-wrap:anywhere}
.pass-coupon-edit{display:flex;gap:5px;align-items:center;flex:none;font-size:10px;color:#456b8e}
.pass-coupon-edit>.ico{width:13px;height:13px}
.personal .payer-pass .pass-coupon .pass-coupon-choice:hover{border-color:#aec9e1}
.personal .payer-pass .pass-coupon .pass-coupon-choice:focus-visible{outline:2px solid #6f9fc4;outline-offset:3px}
html[data-theme=dark] .personal .payer-pass .pass-coupon .pass-coupon-choice{background:var(--night-panel);border:1px solid #ffffff0a;box-shadow:none;color:var(--night-text)}
html[data-theme=dark] .pass-coupon-choice .pass-coupon-symbol{background:#294158;color:#b0cee8}
html[data-theme=dark] .pass-coupon-choice .pass-coupon-copy>strong{color:#dce7f2}
html[data-theme=dark] .pass-coupon-choice .pass-coupon-copy>span{color:#a5b9cc}
html[data-theme=dark] .pass-coupon-choice .pass-coupon-edit{color:#aacce9}
html[data-theme=dark] .personal .payer-pass .pass-coupon .pass-coupon-choice:hover{border-color:#86b2d333}
@media(max-width:360px){.personal .payer-pass .pass-coupon .pass-coupon-choice{gap:10px;padding:13px 11px}.pass-coupon-choice .pass-coupon-symbol{width:31px;height:35px}.pass-coupon-copy>strong{font-size:12px}.pass-coupon-edit{gap:2px}}
.coupon-console,.theme-choice,.appearance-page{--cp-paper:#fff;--cp-canvas:#f3f6f5;--cp-tint:#edf4f1;--cp-text:#24433e;--cp-muted:#536d66;--cp-line:#e5eeea;--cp-accent:#2a6859;--cp-soft:#dcebe4;--cp-warn:#9d653d;--cp-danger:#a85659}
.personal .theme-choice{--cp-accent:#3f729e;--cp-soft:#dce9f5;--cp-tint:#edf4fb;--cp-text:#2c4d6b;--cp-muted:#56728b;--cp-line:#e4ecf4}
html[data-theme=dark] :is(.coupon-console,.theme-choice,.appearance-page){--cp-paper:var(--night-panel);--cp-canvas:var(--night-canvas);--cp-tint:var(--night-raised);--cp-text:var(--night-text);--cp-muted:var(--night-muted);--cp-line:var(--night-line);--cp-accent:#a3cbbd;--cp-soft:#29423e;--cp-warn:#d3b387;--cp-danger:#dfadb3}
html[data-theme=dark] .personal .theme-choice{--cp-accent:#a9cbea;--cp-soft:#29465f}
.coupon-console{max-width:1240px;margin:auto;color:var(--cp-text)}
.coupon-console .section-heading{margin-bottom:26px;align-items:center}
.coupon-console .section-heading h1{font-size:28px;letter-spacing:-.7px;color:var(--cp-text)}
.coupon-console .section-heading p{font-size:12px;color:var(--cp-muted);line-height:1.9;margin-top:9px}
.coupon-console .section-heading .eyebrow{display:none}
.coupon-console .btn.primary,.coupon-rule-form>.btn.primary{background:#2a6859;color:#fff;border-color:transparent}
html[data-theme=dark] :is(.coupon-console .btn.primary,.coupon-rule-form>.btn.primary){background:#326e60;color:#eef8f4}
.coupon-console-nav{display:flex;gap:25px;border-bottom:1px solid var(--cp-line);margin:0 0 27px;overflow:auto}
.coupon-console-nav button{display:flex;align-items:center;gap:8px;position:relative;border:0;background:transparent;color:var(--cp-muted);font-size:13px;padding:0 3px 16px;white-space:nowrap}
.coupon-console-nav .ico{width:16px;height:16px}
.coupon-console-nav .is-current{color:var(--cp-accent);font-weight:600}
.coupon-console-nav .is-current:after{content:'';position:absolute;bottom:0;height:3px;left:3px;right:3px;background:var(--cp-accent);border-radius:3px}
.coupon-capital-strip{display:flex;gap:17px;align-items:center;background:var(--cp-tint);border:0;border-radius:16px;padding:23px 25px;margin-bottom:28px}
.coupon-capital-icon{width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:14px;background:var(--cp-soft);color:var(--cp-accent)}
.coupon-capital-icon .ico{width:21px;height:21px}
.coupon-capital-strip>div{min-width:0;flex:none}
.coupon-capital-strip>div>span{display:block;font-size:11px;color:var(--cp-muted)}
.coupon-capital-strip strong{display:block;font-size:25px;font-weight:550;line-height:1.5;margin-top:6px;color:var(--cp-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.coupon-capital-strip>p{font-size:11px;color:var(--cp-muted);line-height:1.9;max-width:320px;margin:0 auto 0 18px}
.coupon-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.coupon-catalog-heading h2{font-size:17px;font-weight:550;color:var(--cp-text)}
.coupon-catalog-heading p,.coupon-catalog-heading>span{font-size:11px;color:var(--cp-muted);line-height:1.8}
.coupon-catalog-heading p{margin-top:6px}
.coupon-search{display:flex;gap:13px;align-items:flex-end;padding:18px 21px;background:var(--cp-paper);border-radius:15px;margin-bottom:20px}
.coupon-search label{margin:0;min-width:150px;color:var(--cp-muted);font-size:11px}
.coupon-search .coupon-search-key{flex:1;min-width:0}
.coupon-search-key>span{display:block;font-size:11px;color:var(--cp-muted);margin-bottom:9px}
.coupon-search .directory-search{min-width:0}
.coupon-search input,.coupon-search select{margin-top:9px;min-height:43px;background:var(--cp-canvas);border:1px solid var(--cp-line);color:var(--cp-text);width:100%;max-width:none}
.coupon-search>.btn{min-width:85px}
.coupon-campaign-list{display:grid;gap:18px}
.coupon-campaign{background:var(--cp-paper);border-radius:18px;min-width:0;border:0;box-shadow:0 4px 18px #163d2f03}
.coupon-campaign-main{display:grid;grid-template-columns:155px minmax(0,1fr) 178px;gap:25px;padding:25px}
.coupon-campaign-face{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:18px;border-radius:12px;background:var(--cp-tint);color:var(--cp-accent)}
.coupon-campaign-face>strong{font-size:24px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;letter-spacing:-.7px;color:var(--cp-accent)}
.coupon-campaign-face>span{font-size:10px;line-height:1.8;margin-top:8px}
.coupon-campaign-face>small{font-size:10px;line-height:1.8;margin-top:3px;color:var(--cp-muted)}
.coupon-campaign-copy{min-width:0;align-self:center}
.coupon-campaign-copy>header{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.coupon-campaign-id{font-size:10px;color:var(--cp-muted);font-family:ui-monospace,monospace}
.coupon-issuance{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:var(--cp-muted)}
.coupon-issuance i{width:5px;height:5px;background:currentColor;border-radius:50%}
.coupon-issuance.active{color:var(--cp-accent)}.coupon-issuance.upcoming{color:var(--cp-warn)}
.coupon-campaign-copy h3{font-size:16px;font-weight:550;line-height:1.7;color:var(--cp-text);overflow-wrap:anywhere}
.coupon-campaign-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.coupon-campaign-tags>span{font-size:10px;color:var(--cp-muted);background:var(--cp-canvas);padding:3px 7px;border-radius:5px;line-height:1.7;overflow-wrap:anywhere}
.coupon-campaign-copy :is(.coupon-campaign-period,.coupon-campaign-modes,.coupon-campaign-cap){font-size:10px;line-height:1.9;color:var(--cp-muted);margin-top:4px;overflow-wrap:anywhere}
.coupon-campaign-counts{display:grid;align-content:center;gap:20px;margin:0;border-left:1px solid var(--cp-line);padding-left:25px}
.coupon-campaign-counts dt{font-size:10px;color:var(--cp-muted);line-height:1.8}
.coupon-campaign-counts dd{font-size:21px;font-weight:550;color:var(--cp-text);margin:6px 0 0;font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}
.coupon-campaign-counts dd small{font-size:11px;font-weight:400;color:var(--cp-muted)}
.coupon-campaign-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--cp-line);padding:13px 25px}
.coupon-campaign-footer>span{font-size:10px;color:var(--cp-muted);line-height:1.8}
.coupon-campaign-actions{display:flex;gap:8px;align-items:center}
.coupon-campaign-actions .btn{font-size:11px;padding:8px 11px;min-height:35px;font-weight:500;background:transparent;border-color:var(--cp-line);color:var(--cp-text)}
.coupon-campaign-actions .ico{width:14px;height:14px}
.coupon-more{position:relative;color:var(--cp-muted)}
.coupon-more>summary{display:flex;gap:4px;align-items:center;cursor:pointer;padding:9px 6px;font-size:11px;list-style:none;white-space:nowrap}
.coupon-more>summary::-webkit-details-marker{display:none}
.coupon-more>div{position:absolute;right:0;top:100%;z-index:20;min-width:155px;padding:6px;border-radius:12px;background:var(--cp-paper);border:1px solid var(--cp-line);box-shadow:0 12px 35px #0c25221a}
.coupon-more button{display:flex;align-items:center;gap:9px;background:transparent;color:var(--cp-text);border:0;border-radius:7px;font-size:11px;padding:12px;width:100%;text-align:left;white-space:nowrap}
.coupon-more button:hover{background:var(--cp-tint)}.coupon-more .is-danger{color:var(--cp-danger)}
.coupon-console :is(button,summary):focus-visible{outline:2px solid var(--cp-accent);outline-offset:3px}
.coupon-console .pagination{font-size:11px;color:var(--cp-muted);margin:23px 0 0}
.coupon-console .pagination .btn{min-height:36px;font-size:11px;font-weight:500}
.coupon-funds-grid{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:25px;margin-bottom:25px;align-items:start}
.coupon-capital-card{background:var(--cp-tint);border-radius:18px;padding:29px;display:flex;flex-direction:column;min-width:0}
.coupon-capital-card>.coupon-capital-icon{margin-bottom:29px}
.coupon-capital-card>span:not(.coupon-capital-icon){font-size:12px;color:var(--cp-muted)}
.coupon-capital-card>strong{font-size:34px;font-weight:550;color:var(--cp-text);margin:12px 0 20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.coupon-capital-card>p,.coupon-capital-card>small{font-size:11px;line-height:1.9;color:var(--cp-muted)}
.coupon-capital-card dl{border-top:1px solid var(--cp-line);margin:24px 0;padding:10px 0}
.coupon-capital-card dl>div{display:flex;justify-content:space-between;gap:15px;font-size:11px;line-height:1.8;padding:10px 0}
.coupon-capital-card dt{color:var(--cp-muted);flex:none}.coupon-capital-card dd{color:var(--cp-text);margin:0;text-align:right}
.coupon-console .card{border:0;box-shadow:none;border-radius:18px}
.coupon-console .card-title h2{color:var(--cp-text);font-size:17px}.coupon-console .card-title p{color:var(--cp-muted);font-size:11px;line-height:1.8}
.coupon-fund-entry label{color:var(--cp-muted)}.coupon-fund-entry input,.coupon-fund-entry select{background:var(--cp-canvas);border-color:var(--cp-line);color:var(--cp-text)}
.coupon-fund-ledger table{min-width:650px}.coupon-fund-ledger .coupon-ledger-money{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--cp-text)}
.coupon-rule-form .coupon-editor-section{padding:0 0 24px;margin-bottom:25px;border-bottom:1px solid var(--line)}
.coupon-editor-section>header{display:flex;align-items:flex-start;gap:13px;margin:0 0 24px}
.coupon-editor-section>header>span{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:9px;padding:8px;margin-top:2px}
.coupon-editor-section>header h3{font-size:15px;font-weight:550;line-height:1.8}
.coupon-editor-section>header p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:5px}
.coupon-rule-form .coupon-methods{border:0;background:var(--surface-tint);margin:23px 0;border-radius:12px}
.coupon-rule-form .coupon-methods legend{padding:0;font-size:11px;color:var(--muted);margin-bottom:10px}
.coupon-rule-form .coupon-methods input{width:17px;height:17px;margin:0;accent-color:var(--accent);border-radius:4px}
.coupon-rule-form .coupon-methods label{font-weight:400;font-size:12px;line-height:1.8}
.appearance-page{max-width:980px;margin:auto}
.appearance-note{display:flex;gap:8px;align-items:flex-start;color:var(--cp-muted);font-size:12px;line-height:1.9;margin:25px 4px}
.appearance-note .ico{width:16px;height:16px;margin-top:3px}
.theme-choice{padding:26px;background:var(--cp-paper);border:0;border-radius:18px;margin:0 0 24px;color:var(--cp-text)}
.theme-choice-kicker{display:block;font-size:10px;color:var(--cp-accent);margin-bottom:10px;letter-spacing:1px}
.theme-choice header h3{font-size:19px;font-weight:550;color:var(--cp-text);line-height:1.7;margin:0}
.theme-choice header p{font-size:12px;color:var(--cp-muted);line-height:1.9;margin:9px 0 25px}
.theme-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-choice .theme-option{display:block;background:transparent;color:var(--cp-text);border:1px solid var(--cp-line);border-radius:14px;padding:8px;text-align:left;cursor:pointer;min-width:0;box-shadow:none}
.theme-choice .theme-option[aria-pressed=true]{background:var(--cp-tint);border-color:var(--cp-accent)}
.theme-choice .theme-option:focus-visible{outline:2px solid var(--cp-accent);outline-offset:4px}
.theme-preview{display:block;position:relative;height:130px;overflow:hidden;border-radius:9px;background:#edf2f0;isolation:isolate}
.theme-preview-rail{position:absolute;inset:0 auto 0 0;width:23%;background:#d9e5de;border-right:1px solid #32483b0b}
.theme-preview-heading{position:absolute;left:31%;top:16%;width:32%;height:7px;border-radius:4px;background:#76968a}
.theme-preview-card{position:absolute;left:31%;top:32%;width:59%;height:32%;border-radius:6px;background:#fff;box-shadow:0 2px 5px #32483b08}
.theme-preview-line{position:absolute;left:31%;top:76%;width:48%;height:4px;background:#bdcec5;border-radius:3px}.theme-preview-line.second{top:86%;width:32%}
.theme-preview-dark{background:#101b28}.theme-preview-dark .theme-preview-rail{background:#203448}.theme-preview-dark .theme-preview-heading{background:#7f9caa}.theme-preview-dark .theme-preview-card{background:#294153}.theme-preview-dark .theme-preview-line{background:#465f71}
.theme-preview-system{background:linear-gradient(90deg,#edf2f0 50%,#101b28 50%)}.theme-preview-system .theme-preview-rail{background:#d9e5de}.theme-preview-system .theme-preview-card{background:linear-gradient(90deg,#fff 32%,#294153 32%)}.theme-preview-system .theme-preview-heading{background:linear-gradient(90deg,#76968a 59%,#7f9caa 59%)}.theme-preview-system .theme-preview-line{background:linear-gradient(90deg,#bdcec5 39%,#465f71 39%)}
.theme-option-info{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 5px 8px}
.theme-option-info>span{min-width:0}.theme-choice .theme-option-info strong{display:block;font-size:13px;font-weight:550;color:var(--cp-text);line-height:1.8}
.theme-choice .theme-option-info small{display:block;font-size:10px;color:var(--cp-muted);line-height:1.8;margin-top:5px}
.theme-option-check{width:20px;height:20px;display:grid;place-items:center;flex:none;border-radius:50%;border:1px solid var(--cp-line);background:transparent;color:transparent}
.theme-option-check svg{width:16px;height:16px}.theme-choice [aria-pressed=true] .theme-option-check{color:var(--cp-paper);background:var(--cp-accent);border-color:transparent}
@media(max-width:1100px){.coupon-campaign-main{grid-template-columns:135px minmax(0,1fr) 130px;gap:18px;padding:22px}.coupon-campaign-counts{padding-left:18px}.coupon-capital-strip{flex-wrap:wrap}.coupon-capital-strip>p{max-width:none;flex:1;min-width:180px;margin-left:0}.coupon-capital-strip>.btn{margin-left:auto}}
@media(max-width:760px){.coupon-console .section-heading{align-items:flex-start;gap:20px;flex-wrap:wrap}.coupon-console .section-heading h1{font-size:25px}.coupon-campaign-main{grid-template-columns:120px minmax(0,1fr);gap:18px;padding:20px}.coupon-campaign-counts{grid-column:1/-1;display:flex;gap:35px;border-left:0;border-top:1px solid var(--cp-line);padding:17px 0 0}.coupon-campaign-counts dd{font-size:19px}.coupon-campaign-footer{padding:13px 20px}.coupon-funds-grid{grid-template-columns:minmax(0,1fr)}.theme-choice{padding:22px}.theme-choice-grid{gap:10px}.theme-preview{height:100px}.theme-option-info{padding:11px 3px 5px}.theme-option-check{width:18px;height:18px}}
@media(max-width:480px){.coupon-capital-strip{padding:19px;gap:13px}.coupon-capital-strip>p{flex-basis:100%;margin:0}.coupon-capital-strip>.btn{margin:0}.coupon-catalog-heading{align-items:flex-start}.coupon-catalog-heading>span{max-width:120px;text-align:right;font-size:10px}.coupon-search{padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 10px}.coupon-search .coupon-search-key{grid-column:1/-1}.coupon-search label{min-width:0}.coupon-campaign-main{grid-template-columns:96px minmax(0,1fr);gap:14px;padding:17px}.coupon-campaign-face{padding:12px}.coupon-campaign-face>strong{font-size:21px}.coupon-campaign-copy h3{font-size:14px}.coupon-campaign-tags{gap:4px}.coupon-campaign-period{font-size:9px}.coupon-campaign-footer{padding:12px 17px;align-items:flex-start;flex-direction:column}.coupon-campaign-actions{width:100%;justify-content:flex-end}.coupon-campaign-footer>span{font-size:10px}.coupon-console .section-heading .actions{flex-wrap:wrap}.theme-choice-grid{grid-template-columns:minmax(0,1fr);gap:12px}.theme-choice .theme-option{display:flex;align-items:center;gap:15px;padding:10px}.theme-preview{height:82px;width:110px;flex:none}.theme-option-info{flex:1;padding:0}.theme-choice .theme-option-info strong{font-size:13px}.theme-choice .theme-option-info small{font-size:10px}.theme-choice{padding:20px 16px}.theme-choice header h3{font-size:17px}.theme-choice header p{font-size:11px;margin-bottom:20px}.coupon-capital-card{padding:23px}.coupon-capital-card>strong{font-size:30px}}
