.prepayment-card[hidden],#closeChannelPrepayment[hidden]{display:none!important}
.prepayment-card{scroll-margin-top:82px}
.prepayment-controls input[readonly]{background:#f5f7f6;color:#253544;cursor:default;appearance:textfield;-moz-appearance:textfield}
.prepayment-controls input[readonly]::-webkit-inner-spin-button,.prepayment-controls input[readonly]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.header-version-actions{display:flex;align-items:center;flex:0 0 auto;gap:8px;white-space:nowrap}
#openChannelPrepayment{white-space:nowrap}
.prepayment-heading{flex-wrap:wrap}.prepayment-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-left:auto}
#closeChannelPrepayment{min-height:30px;padding:5px 10px;border:1px solid #d7dfe3;border-radius:6px;background:#fff;color:#69788b;font:400 12px "Microsoft YaHei",sans-serif;white-space:nowrap;cursor:pointer}
#openChannelPrepayment:focus-visible,#closeChannelPrepayment:focus-visible,.channel-access-dialog button:focus-visible{outline:2px solid #07874b;outline-offset:3px}
@media(max-width:720px){.header-version-actions{gap:6px}.prepayment-card{scroll-margin-top:110px}}
.channel-access-dialog{width:min(390px,calc(100vw - 28px));margin:auto;padding:0;border:0;border-radius:12px;box-shadow:0 22px 80px #10261a55;background:#fff}
.channel-access-dialog::backdrop{background:#10251c99}.channel-access-body{padding:22px}.channel-access-body .control{width:100%;margin-top:9px}
.channel-access-body>button{width:100%;min-height:42px;padding:10px 16px;border:0;border-radius:7px;background:#08794c;color:#fff;font:650 14px "Microsoft YaHei",sans-serif;cursor:pointer}.channel-access-body>button:disabled{opacity:.6;cursor:wait}
.channel-access-body>.field-label+.field-label{margin-top:15px}.channel-access-body>.field-label[hidden]{display:none!important}
.channel-access-error{min-height:20px;margin:9px 0 14px;color:#a3342b;font-size:12px;line-height:1.7}.channel-access-body [aria-invalid=true]{border-color:#bd5550}
.channel-editor-dialog{width:min(670px,calc(100vw - 24px));max-height:92vh;margin:auto;padding:0;border:0;border-radius:12px;background:#fff;box-shadow:0 22px 80px #10261a55}.channel-editor-dialog::backdrop{background:#10251c99}
.channel-editor-body{padding:18px 22px}.channel-editor-body>label[hidden],.channel-editor-actions button[hidden]{display:none!important}.channel-editor-body>label .control{width:100%;margin-top:7px}
.channel-editor-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.channel-editor-table th{padding:9px 6px;background:#f3f6f5;font-size:12px;color:#52675b}.channel-editor-table th:first-child{width:46px}.channel-editor-table td{padding:7px 5px;border-bottom:1px solid #e7ece9}.channel-editor-table td .control{width:100%;min-width:0;height:40px;padding:7px 9px;font-size:14px}
.channel-editor-status{min-height:23px;margin:12px 0;color:#9c473b;font-size:12px;line-height:1.7}.channel-editor-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px}.channel-editor-actions button{min-height:40px;padding:9px 17px;border:1px solid #08794c;border-radius:7px;background:#fff;color:#08794c;font:650 13px "Microsoft YaHei",sans-serif;cursor:pointer}.channel-editor-actions #channelEditorSave{background:#08794c;color:#fff}.channel-editor-actions button:disabled{opacity:.5;cursor:wait}
@media(max-width:600px){.channel-editor-body{padding:14px}.channel-editor-table th{font-size:11px}.channel-editor-table th:first-child{width:40px;white-space:nowrap}.channel-editor-table td{padding:6px 3px}.channel-editor-table td .control{padding:7px 5px;font-size:13px}}
.channel-intro{margin:0 0 16px;color:#68778a;font-size:12px;line-height:1.8}
.channel-schemes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 15px}
.channel-scheme{min-width:0;padding:13px 15px;border:1px solid #dfe5e9;border-radius:9px;background:#fff;color:#253544;text-align:left;cursor:pointer}
.channel-scheme strong{display:block;font-size:14px}.channel-scheme small{display:block;margin-top:5px;color:#718095;font-size:11px;line-height:1.6}
.channel-scheme[aria-pressed=true]{border-color:#07874b;background:#f0f8f3;box-shadow:inset 0 0 0 1px #07874b}.channel-scheme:focus-visible,.channel-tier:focus-visible{outline:2px solid #07874b;outline-offset:3px}
.channel-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 9px}
.channel-tier{min-width:0;padding:12px 8px;border:1px solid #e0e6eb;border-radius:7px;background:#fafbfc;color:#253544;text-align:center;cursor:pointer}.channel-tier strong{display:block;font-size:14px}.channel-tier span{display:block;margin-top:5px;color:#08794c;font-size:13px;font-weight:700}.channel-tier[aria-pressed=true]{border-color:#07874b;background:#edf7f0}
.channel-hint{margin:8px 0 15px;font-size:11px;color:#718095;line-height:1.8}.channel-hint b{color:#425466}
.channel-policy{margin-top:15px;padding:13px 15px;border:1px solid #e2e7eb;border-radius:8px;background:#fafbfc}.channel-policy summary,.channel-compare summary{cursor:pointer;font-size:13px;font-weight:700;color:#344454;line-height:1.8}
.channel-policy-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 20px;margin-top:13px}.channel-policy .control{height:39px;max-width:180px}.channel-policy .field-label{font-size:12px}.channel-policy label.channel-check{display:flex;align-items:flex-start;gap:8px;line-height:1.8;font-size:12px;color:#425466}.channel-check input{margin-top:5px;accent-color:#07874b}.channel-upgrade-copy{margin:8px 0 0;font-size:11px;line-height:1.8;color:#67768a}.channel-policy .field-help{font-size:11px}.channel-rule-copy{grid-column:1/-1;margin:0;color:#67768a;font-size:11px;line-height:1.8}
.channel-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:13px}.channel-actions button{padding:8px 13px;min-height:36px;border:1px solid #cfd9df;border-radius:7px;background:#fff;color:#344454;font-size:12px;font-weight:650;cursor:pointer}.channel-actions button:hover{border-color:#07874b;color:#08794c}.channel-actions button:disabled{opacity:.5;cursor:wait}.channel-action-status{font-size:11px;color:#67768a;line-height:1.7}
.channel-compare{margin-top:13px}.channel-table-wrap{overflow-x:auto;margin-top:10px}.channel-table{width:100%;border-collapse:collapse;font-size:12px;text-align:center}.channel-table th{padding:10px 8px;background:#f2f5f6;font-size:11px;font-weight:650;color:#536476;white-space:nowrap}.channel-table td{padding:10px 8px;border-bottom:1px solid #e7ecef;color:#344454;white-space:nowrap}.channel-table .is-selected{color:#08794c;background:#f0f8f3;font-weight:700}
.channel-analysis{margin-top:15px;padding:16px;border:1px solid #dce5e0;border-radius:9px;background:#f8fbf9}.channel-analysis[hidden]{display:none!important}.channel-analysis-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.channel-analysis h3{margin:0;color:#253c32;font-size:14px}.channel-analysis-heading span{font-size:10px;color:#718095}.channel-analysis-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px}.channel-analysis .control{height:39px}.channel-analysis .field-label{font-size:11px}.channel-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:15px;padding-top:13px;border-top:1px solid #dde6e0}.channel-metrics span{display:block;color:#68798b;font-size:11px}.channel-metrics strong{display:block;margin-top:6px;font-size:19px;color:#243b30;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.channel-metrics small{display:block;min-height:17px;margin-top:4px;color:#718095;font-size:10px}.channel-analysis-message{margin:12px 0 0;padding:9px 11px;background:#eef5f0;border-radius:5px;color:#526b5c;font-size:11px;line-height:1.8}.channel-analysis-message.is-warning{background:#fff3df;color:#895619}.channel-analysis-message.is-error{background:#fceceb;color:#a3342b}.channel-analysis .field-help.is-error{color:#a3342b}
.channel-dialog{width:min(960px,calc(100vw - 24px));max-height:92vh;margin:auto;padding:0;border:0;border-radius:12px;background:#f3f5f4;box-shadow:0 25px 90px #10261a55}.channel-dialog::backdrop{background:#10251c99}.channel-dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 20px;background:#fff;border-bottom:1px solid #dde4e0}.channel-dialog-head h2{margin:0;color:#22382c;font-size:17px}.channel-dialog-head button{min-width:36px;min-height:36px;background:#fff;border:1px solid #dbe3dd;border-radius:7px;font-size:20px;color:#4a5f52;cursor:pointer}.channel-dialog-body{padding:16px 20px}.channel-dialog-body>p{margin:0 0 12px;color:#63766b;font-size:12px;line-height:1.8}.channel-plan-image{display:block;width:100%;height:auto;background:#fff;user-select:auto;-webkit-user-select:auto;-webkit-touch-callout:default}.channel-dialog-body a{display:inline-block;margin-top:13px;padding:9px 15px;border:1px solid #07874b;border-radius:7px;color:#08794c;background:#fff;font-size:13px;text-decoration:none}
@media(max-width:700px){.channel-schemes{gap:7px}.channel-scheme{padding:11px 9px}.channel-scheme strong{font-size:12px;white-space:nowrap}.channel-scheme small{font-size:10px}.channel-tiers{grid-template-columns:repeat(3,minmax(0,1fr))}.channel-policy-grid{grid-template-columns:minmax(0,1fr)}.channel-policy{padding:12px}.channel-analysis{padding:13px}.channel-analysis-heading{display:block}.channel-analysis-heading span{display:block;margin-top:4px}.channel-analysis-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-analysis-inputs>label:last-child{grid-column:1/-1}.channel-metrics{gap:9px}.channel-metrics strong{font-size:16px}.channel-dialog-body{padding:12px}.channel-dialog-head{padding:12px}.channel-dialog-head h2{font-size:15px}}
@media(max-width:600px){.prepayment-controls .field-label>span{min-height:38px;display:block}.channel-policy .field-help{display:block;margin:6px 0 0}.channel-metrics{grid-template-columns:minmax(0,1fr);gap:12px}.channel-metrics>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:3px 8px}.channel-metrics strong{margin-top:0;font-size:19px;white-space:nowrap}.channel-metrics small{grid-column:1/-1;margin-top:0;min-height:0}.channel-analysis .field-label>span{min-height:32px;display:block}}
/* Shared account tiers and their two independent service rates. */
.prepayment-card .prepayment-controls{grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,1fr)) auto auto}
.channel-account-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 14px}.channel-account-heading .channel-intro{margin:0}
#manageChannelAccounts{flex-shrink:0;padding:6px 10px;border:1px solid #d7dfe3;border-radius:6px;background:#fff;color:#52675b;font:400 12px "Microsoft YaHei",sans-serif;cursor:pointer}
.channel-tier small{display:block;margin-top:4px;color:#7b8790;font-size:11px;line-height:1.6}.channel-tier span+span{color:#426653}
.channel-account-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px;padding-top:16px;border-top:1px solid #e4eae7}
.channel-account-actions button{min-height:36px;border:1px solid #d3ddd7;border-radius:6px;background:#fff;color:#425b4d;font:500 13px "Microsoft YaHei",sans-serif;cursor:pointer}
.channel-account-actions button:hover{border-color:#08794c;color:#08794c}.channel-account-actions button:last-child{color:#a0443b}
.channel-access-dialog{max-height:calc(100dvh - 28px);overflow:auto}.channel-access-body>label+label{display:block;margin-top:16px}
.channel-access-body>label[hidden]{display:none!important}.channel-access-body .field-label{display:block;font-size:13px}
.channel-editor-table-wrap{overflow-x:auto}.channel-editor-table th:first-child{width:52px}.channel-editor-table th:nth-child(2){width:35%}.channel-editor-table th{line-height:1.7}
.channel-analysis-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1080px){.prepayment-card .prepayment-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.prepayment-card .prepayment-controls button{margin-top:0}.prepayment-card .prepayment-controls .prepayment-confirm{grid-column:1/3}}
@media(max-width:640px){.prepayment-card .prepayment-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.prepayment-card .prepayment-controls .input-field:first-child{grid-column:1/-1}.prepayment-card .prepayment-controls .prepayment-confirm{grid-column:auto}.prepayment-controls .field-label>span{min-height:0}.prepayment-card .prepayment-controls button{padding:0 10px}.channel-account-heading{gap:8px}.channel-intro{font-size:11px}.channel-tier{padding:12px 4px}.channel-tier strong{font-size:13px}.channel-tier small{font-size:10px}.channel-tier span{font-size:12px}.channel-editor-table th:first-child{width:37px}.channel-editor-table th:nth-child(2){width:38%}.channel-editor-table td .control{font-size:12px;padding:6px 3px}.channel-editor-table th{padding:7px 3px;font-size:10px}.channel-analysis-inputs>label:last-child{grid-column:auto}}
.channel-tiers{grid-template-columns:repeat(var(--channel-tier-columns,3),minmax(0,1fr))}
.channel-editor-rule{margin:0 0 17px;padding:10px 12px;border-left:2px solid #bad3c5;background:#f6f9f7;color:#52675b;font-size:11px;line-height:1.85}
.channel-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 11px;color:#687b70;font-size:12px}
#channelTierAdd{min-height:36px;padding:7px 12px;border:1px solid #b6cfc0;border-radius:6px;background:#fff;color:#08794c;font:600 12px "Microsoft YaHei",sans-serif;cursor:pointer}
#channelTierAdd:disabled,.channel-tier-remove:disabled{opacity:.45;cursor:default}
.channel-editor-table th:first-child{width:66px}.channel-editor-table th:nth-child(2){width:31%}
.channel-editor-table tbody th{padding:10px 6px;font-weight:600;font-size:12px;vertical-align:top;background:#fff}
.channel-tier-remove{display:block;margin:7px 0 0;padding:3px 0;border:0;background:transparent;color:#a54d45;font:500 11px "Microsoft YaHei",sans-serif;cursor:pointer}
.channel-tier-reference{display:block;margin-top:4px;color:#08794c;font-size:10px;font-weight:400}.channel-tier-reference[hidden]{display:none}
.channel-tier-mobile-label{display:none}
.channel-tier-field-hint{display:block;min-height:16px;margin-top:5px;color:#7a8981;font-size:10px;line-height:1.6;overflow-wrap:anywhere}
.channel-tier-cell .control[aria-invalid=true]{border-color:#bc5148;background:#fffafa}.channel-tier-cell .control[aria-invalid=true]+.channel-tier-field-hint{color:#a43e36}
@media(max-width:600px){
  .channel-editor-table-wrap{overflow:visible}.channel-editor-table,.channel-editor-table tbody{display:block;width:100%}.channel-editor-table thead{display:none}
  .channel-editor-table tbody{display:grid;gap:13px}.channel-editor-table [data-editor-tier]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:13px;border:1px solid #dce5df;border-radius:8px;background:#fff}
  .channel-editor-table [data-editor-tier]>th{display:flex;align-items:center;gap:8px;grid-column:1/-1;width:auto;padding:0;background:transparent;font-size:13px}
  .channel-editor-table [data-editor-tier]>td{display:block;min-width:0;padding:0;border:0}.channel-editor-table .channel-tier-cell-amount{grid-column:1/-1}
  .channel-tier-mobile-label{display:block;margin-bottom:6px;color:#61756a;font-size:11px;font-weight:500}
  .channel-editor-table td .control{height:41px;padding:8px 10px;font-size:15px}.channel-tier-remove{margin:0 0 0 auto;padding:4px 5px;font-size:12px}.channel-tier-reference{margin:0}
  .channel-tier-cell-amount .channel-tier-field-hint:empty{display:none}
}
