:root{font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:#252825;background:#f5f5f0;font-size:16px;line-height:1.6;--brand:#b94515;--brand-hover:#95360f;--border:#d9ddd5;--muted:#5e665d;--paper:#fff;--success:#226343;--error:#b12e26}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:8px;font-weight:600;transition:background-color .15s,color .15s}button:disabled{cursor:not-allowed;opacity:1;background:#e5e8e2;color:#61695f;border-color:#798273}input,select,textarea{display:block;width:100%;padding:10px 12px;min-height:46px;border:1px solid #879080;border-radius:7px;background:#fff;color:#252825}input:disabled,select:disabled,textarea:disabled{background:#eef0eb;color:#5c6357}input::placeholder,textarea::placeholder{color:#697263}textarea{resize:vertical}label{display:block;font-size:14px;font-weight:650;margin:17px 0 7px}p{margin:0 0 10px}h1,h2,h3{line-height:1.3;margin:0 0 12px;letter-spacing:-.035em}h1{font-size:32px}h2{font-size:23px}h3{font-size:16px}a{color:var(--brand)}:focus-visible{outline:3px solid #be4b15;outline-offset:3px}section[id]{scroll-margin-top:20px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;padding:10px 20px;background:#fff}.skip-link:focus{top:12px}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;color:#79503a;margin-bottom:8px}.primary{background:var(--brand);color:#fff}.primary:hover{background:var(--brand-hover)}.secondary{background:#fff;color:#343c31;border-color:#879080}.secondary:hover{background:#edf0e8}.danger{background:#fff1ed;color:#a52d20;border-color:#b66b59}.danger:hover,.danger.armed{background:#a52d20;color:#fff;border-color:#a52d20}.text-button{background:transparent;padding:8px 0;text-align:left;color:#64422e}.text-button:hover{text-decoration:underline}.full{width:100%}.status{font-size:14px;min-height:23px;margin:12px 0;color:var(--muted);overflow-wrap:anywhere}.status.error{color:var(--error)}.status.success{color:var(--success)}.global-status:empty{display:none}.brand{display:flex;align-items:center;gap:11px;font-size:21px;letter-spacing:-.035em;font-weight:760;color:inherit;text-decoration:none;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:35px;height:35px;background:var(--brand);color:#fff;border-radius:9px;font-size:24px;line-height:1}.brand-tag{font-size:12px;font-weight:500;letter-spacing:0;border-left:1px solid #c8b6a2;padding-left:12px;color:#614b35}.login-view{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#fff}.login-intro{padding:56px max(36px,8vw);display:flex;flex-direction:column;justify-content:space-between;background:#f1ede0;border-right:1px solid #dedaca;min-height:700px}.login-intro h1{font-size:clamp(35px,4vw,58px);line-height:1.3;letter-spacing:-.045em}.login-intro .eyebrow{font-size:14px;letter-spacing:.08em}.intro-copy{color:#5f624e;max-width:380px;line-height:1.9;margin-top:22px}.intro-foot{font-size:13px;color:#6c6955}.login-card{width:min(100%,450px);margin:auto;padding:40px}.login-card h2{font-size:27px}.login-note{font-size:13px;color:var(--muted);text-align:center;margin-top:24px}.admin-layout{display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:28px 20px;background:#eceee5;border-right:1px solid var(--border);display:flex;flex-direction:column}.sidebar .brand{font-size:20px;gap:9px}.sidebar-label{font-size:12px;color:#65705e;letter-spacing:.08em;margin:35px 12px 12px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{display:flex;align-items:center;min-height:46px;border-radius:7px;padding:10px 12px;text-decoration:none;color:#414d38;font-size:15px;font-weight:600;border:1px solid transparent}.sidebar nav a:hover,.sidebar nav a[aria-current="location"]{background:#fff8ef;color:#984015;border-color:#e2d6c8}.sidebar-footer{margin-top:auto;border-top:1px solid #cdd3c5;padding:20px 10px 0;display:flex;flex-direction:column;gap:7px}.role-label{font-size:11px;color:#56634d;letter-spacing:.07em}.account-name{font-size:13px;overflow-wrap:anywhere}.main{padding:36px clamp(20px,3vw,54px);max-width:1540px;width:100%;min-width:0}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-header h1{margin-bottom:7px}.page-header .muted{font-size:14px}.page-header>button{flex-shrink:0}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.metric{background:#fff;border:1px solid var(--border);padding:21px 23px;border-radius:11px}.metric p{font-size:14px;color:#536049;margin-bottom:5px}.metric strong{display:block;font-size:36px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.metric span{font-size:12px;color:var(--muted)}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:26px;margin-top:25px;min-width:0}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.section-heading .muted,.panel>p.muted{font-size:14px}.section-heading>button{flex-shrink:0}.search-form{display:flex;gap:10px;margin-top:20px;max-width:650px;align-items:center}.search-form input,.search-form select{min-width:0}.search-form button{flex-shrink:0}.table-wrap{width:100%;overflow:auto;border:1px solid #e1e4dc;border-radius:8px}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{background:#f3f5ef;color:#535f49;font-size:12px;font-weight:650;white-space:nowrap}th,td{padding:13px 15px;border-bottom:1px solid #e5e8e1;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td{overflow-wrap:anywhere}td.amount{font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}td.amount.positive{color:var(--success)}td.amount.negative{color:#9c3b1d}.row-actions{display:flex;gap:8px;white-space:nowrap}.row-actions button{font-size:12px;padding:6px 10px;min-height:44px}.cell-account{font-weight:600}.cell-sub{display:block;font-size:12px;color:var(--muted);margin-top:3px}.empty-cell{text-align:center;color:var(--muted);padding:35px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:17px;font-size:13px}.pagination>div{display:flex;gap:10px}.pagination button{font-size:13px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:12px}.field-grid label{margin-top:7px}.provider-section{border-top:1px solid #e3e7dd;margin-top:25px;padding-top:23px}.providers-list{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.provider-item{padding:13px;border:1px solid #dce2d5;border-radius:8px;min-width:0}.provider-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;font-weight:650}.provider-url{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere;margin-top:7px}.badge{font-size:11px;font-weight:650;border-radius:5px;padding:2px 7px;white-space:nowrap;background:#e9f2e6;color:#315c33}.badge.warning{background:#fff0dd;color:#8c4816}.settings-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;max-width:700px}.settings-form>div{flex:1;min-width:200px}.settings-form label{margin-top:5px}.settings-form button{margin-top:13px}.field-hint{font-size:12px;color:var(--muted);margin:5px 0}.page-footer{font-size:12px;color:#5d6756;padding:28px 0 0;text-align:center}dialog{padding:28px;border:1px solid #cfd5c6;border-radius:14px;max-width:520px;width:calc(100% - 32px);box-shadow:0 20px 80px #17211138;color:#252825}dialog::backdrop{background:#1a241b85}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.dialog-heading h2{margin:0}.icon-button{font-size:25px;background:#f1f3ed;color:#4c5744;min-width:44px;padding:0;line-height:1}.icon-button:hover{background:#e2e6db}.grant-target{background:#f4f5ef;padding:16px;border:1px solid #e0e5d9;border-radius:8px;margin-bottom:14px;overflow-wrap:anywhere}.grant-target p{font-size:14px;margin:3px 0}.grant-target strong{font-size:16px}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.dialog-actions button{font-size:14px}
@media(max-width:1000px){.admin-layout{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:24px 14px}.main{padding:27px 20px}.metric{padding:18px 17px}.metric strong{font-size:30px}.panel{padding:22px}.field-grid{grid-template-columns:1fr}.providers-list{grid-template-columns:1fr}.login-intro{padding:40px}.brand-tag{display:none}}
@media(max-width:760px){.login-view{display:flex;flex-direction:column;min-height:100vh}.login-intro{padding:25px;min-height:0;border-right:0;border-bottom:1px solid #dedaca;gap:26px}.login-intro h1{font-size:31px}.login-intro h1 br{display:none}.intro-copy{font-size:14px;max-width:none;margin-top:12px}.intro-foot{display:none}.login-card{padding:30px 25px}.admin-layout{display:block}.sidebar{position:static;height:auto;padding:17px 20px;display:grid;grid-template-columns:1fr auto;gap:14px;border-right:0;border-bottom:1px solid var(--border)}.sidebar-label{display:none}.sidebar nav{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;gap:5px;flex-wrap:wrap}.sidebar nav a{font-size:12px;padding:9px 11px;min-height:44px}.sidebar-footer{margin:0;padding:0;border:0;align-items:flex-end;gap:0}.account-name{max-width:170px;font-size:11px}.role-label{font-size:10px}.sidebar-footer .text-button{font-size:12px;padding:0;min-height:44px}.main{padding:25px 16px}.page-header{align-items:flex-start;gap:12px;margin-bottom:20px}.page-header h1{font-size:27px}.page-header .muted{font-size:13px}.page-header>button{font-size:12px;padding:9px 12px}.summary-grid{gap:9px}.metric{padding:14px 11px}.metric p{font-size:12px;margin-bottom:9px}.metric strong{font-size:25px;overflow-wrap:anywhere}.metric span{display:none}.panel{padding:18px 14px;margin-top:20px}.section-heading{align-items:flex-start;gap:12px}.section-heading h2,h2{font-size:21px}.section-heading>button{font-size:12px;padding:8px 10px}.section-heading .muted{font-size:13px}.table-wrap{border:0;border-top:1px solid #dfe4d7;border-bottom:1px solid #dfe4d7;border-radius:0}th,td{padding:12px 9px}table{font-size:12px}#accounts table th:nth-child(2),#accounts table td:nth-child(2),#accounts table th:nth-child(3),#accounts table td:nth-child(3),#accounts table th:nth-child(4),#accounts table td:nth-child(4){display:none}.row-actions{flex-direction:column;gap:2px}.row-actions button{padding:3px 8px;min-height:44px}.cell-sub{font-size:11px}.pagination{flex-wrap:wrap;font-size:12px}.pagination button{font-size:12px}.pagination>div{gap:7px}.search-form{gap:8px}.search-form input,.search-form select{font-size:14px}.search-form button{font-size:13px;padding:10px 12px}#usage table th:last-child{min-width:140px}#usage table th:first-child{min-width:140px}.field-grid{gap:8px}.settings-form{gap:10px}.settings-form>div{flex-basis:100%}.settings-form button{margin-top:0}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}dialog{padding:22px}.brand{font-size:19px}.sidebar .brand{font-size:18px}.sidebar .brand-mark{height:30px;width:30px}.providers-list{gap:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.password-form{max-width:480px}.password-form .text-button{display:block}.password-form input[aria-invalid=true]{border-color:var(--error)}
.model-editor-table{min-width:760px}.model-editor-table input{min-width:115px;min-height:40px;padding:7px 9px;font-size:13px}.model-editor-table input[type=number]{min-width:85px}.model-editor-table input[type=checkbox]{min-width:20px;width:20px;min-height:20px;accent-color:var(--brand)}
.media-filters{margin-top:20px}.media-editor-table td:first-child{min-width:200px}.media-editor-table input[type=checkbox]{width:24px;height:24px;min-height:24px;cursor:pointer}.media-toggle{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;font-size:13px;white-space:nowrap}.media-editor-table .field-hint{margin:5px 0 0}.media-editor-table tr[data-enabled="false"] td:first-child{color:var(--muted)}
.invites-table{min-width:600px}.invite-code{font-family:Consolas,monospace;user-select:all}.invites-table td:nth-child(3){min-width:150px}
fieldset{border:0;margin:0;padding:0;min-width:0}.compact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px;margin:10px 0 20px}.compact-grid label{margin-top:9px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.check-label{display:flex;align-items:center;gap:10px;min-height:44px;margin:10px 0;font-size:15px}.check-label input[type=checkbox]{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--brand)}.toggle-group{display:flex;flex-direction:column;justify-content:center}.integration-note{padding:12px 15px;border:1px solid #b57b35;border-radius:8px;background:#fff5df;color:#6a4515;font-size:14px;margin:14px 0}.confirmation-changes{max-height:45vh;overflow:auto;border:1px solid var(--border);border-radius:8px}.confirmation-changes table{table-layout:fixed}.confirmation-changes th:first-child{width:28%}.confirmation-changes td{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere;vertical-align:top}.confirmation-changes th,.confirmation-changes td{padding:10px}.confirmation-changes td:nth-child(2){color:#596253;background:#f5f6f2}.confirmation-changes td:nth-child(3){background:#eff5e9;font-weight:600}#confirm-dialog{max-width:760px;max-height:calc(100vh - 32px);overflow:auto}#confirm-dialog .dialog-heading h2{font-size:23px}#invite-uses-dialog{max-width:700px;max-height:calc(100vh - 32px);overflow:auto}.loss-row{background:#fff0ed;color:#a32119}.loss-row td:first-child,.loss-row td:nth-child(5){font-weight:700}.pricing-table{min-width:730px}.pricing-table td:first-child{max-width:250px}.sidebar{overflow:auto}.sidebar nav{gap:3px}.sidebar-label{margin-top:25px}.sidebar-footer{padding-top:12px}.row-actions{flex-wrap:wrap}.row-actions button{white-space:nowrap}#accounts .row-actions{min-width:230px}.panel form>button{margin:8px 0}.panel .search-form>button{margin:0}
@media(max-width:1100px){.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar nav a{padding:8px 10px}}
@media(max-width:760px){.compact-grid{grid-template-columns:minmax(0,1fr);gap:3px}.compact-grid label{margin-top:14px}.sidebar{overflow:visible}.sidebar nav{gap:4px}.sidebar nav a{font-size:12px;padding:8px 10px}.confirmation-changes th,.confirmation-changes td{padding:8px;font-size:12px}.confirmation-changes th:first-child{width:25%}#confirm-dialog .dialog-heading h2{font-size:20px}.toolbar button{flex:1}#accounts .row-actions{min-width:120px;flex-direction:column}.check-label{font-size:14px}.toggle-group{margin-top:8px}.integration-note{padding:10px;font-size:13px}.settings-form{max-width:none}.section-heading>button{white-space:nowrap}}
.audit-detail{white-space:pre-wrap;min-width:280px;max-width:700px}
.channel-model-table{min-width:640px}.channel-model-table input{min-width:100px}.channel-model-table input[type=number]{min-width:80px}.channel-model-table .check-label input{min-width:22px}.channel-model-table .check-label{margin:0;font-size:13px}.channel-model-table .text-button{font-size:12px;min-height:44px}#channel-add-model{margin-top:12px}#channels-list .provider-head{align-items:flex-start}#channels-list .provider-head strong{overflow-wrap:anywhere;min-width:0}#channels-list .provider-item>button{margin-top:8px}#model-pricing-notes{white-space:pre-line}#channel-management form{margin-top:20px}#policy-notice{margin-top:15px}
.channel-workspace{display:grid;grid-template-columns:minmax(200px,26%) minmax(0,1fr);border:1px solid var(--border);border-radius:9px;margin-top:16px;overflow:hidden}.channel-sidebar{background:#f5f6f1;padding:17px;border-right:1px solid var(--border);min-width:0}.channel-sidebar-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.channel-sidebar-heading h3{margin:0}.channel-sidebar-heading button{padding:8px 10px;font-size:13px}.channel-sidebar label{margin-top:13px}.channel-sidebar input,.channel-sidebar select{font-size:14px}.channel-sidebar #channel-count{margin:14px 0 8px}.channel-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;max-height:580px;overflow:auto}.channel-list-button{width:100%;display:block;min-width:0;text-align:left;border:1px solid var(--border);border-radius:7px;background:#fff;padding:12px;font-weight:400}.channel-list-button .provider-head{font-size:14px;gap:6px}.channel-list-button .provider-url{font-weight:400;margin:5px 0;max-height:38px;overflow:hidden}.channel-list-button[aria-pressed=true]{background:#fff7ed;border:2px solid #a2461f;padding:11px}.channel-list-button:hover{background:#fff8ef}.channel-list .empty-cell{padding:18px 7px;text-align:left;font-size:14px}.channel-detail{padding:20px;min-width:0;overflow:hidden}.channel-detail .section-heading{gap:12px}.channel-detail .section-heading>a{font-size:13px;white-space:nowrap}.channel-detail #channel-detail-title{margin-bottom:5px;overflow-wrap:anywhere}.channel-actions{padding-bottom:14px;border-bottom:1px solid var(--border);gap:7px;margin:15px 0 0}.channel-actions button{padding:8px 11px;font-size:13px}.channel-detail .field-grid{gap:6px 15px}.channel-detail .field-grid>div{min-width:0}.channel-detail .field-grid input,.channel-detail .field-grid select{font-size:14px}.channel-detail #channel-form{margin-top:15px}.channel-detail .channel-model-heading{margin-top:22px;align-items:center}.channel-model-heading h3{margin:0}.channel-model-heading .toolbar{gap:6px;margin:0}.channel-model-heading button{font-size:12px;padding:7px 10px;margin:0!important}.channel-model-heading #channel-add-model{margin-top:0}.channel-detail .channel-model-filters{margin-top:13px}.channel-model-bulk{align-items:center;gap:7px;margin:7px 0 10px}.channel-model-bulk>.check-label{font-size:13px;margin:0 auto 0 0;gap:7px}.channel-model-bulk button{font-size:12px;padding:7px 9px}.channel-model-table{min-width:670px}.channel-model-table th,.channel-model-table td{padding:10px 8px}.channel-model-table input{font-size:13px;min-height:44px;padding:7px 8px}.channel-model-table input[type=checkbox],.channel-discovery-table input[type=checkbox]{width:22px;min-width:22px;height:22px;min-height:22px;accent-color:var(--brand);cursor:pointer}.channel-model-table .channel-model-selection{width:44px}.channel-model-table td:first-child{padding:10px}.channel-model-table td:last-child{min-width:100px}.channel-transfer{gap:7px;margin-bottom:7px}.channel-transfer button{font-size:12px;flex:1;padding:8px}.channel-detail #channel-model-empty{padding:22px 10px}.channel-model-table input:invalid:not(:placeholder-shown){border-color:#a33128}.channel-discovery-table{min-width:390px}.channel-discovery-table td:first-child{width:48px}.channel-discovery-table td:nth-child(2){max-width:300px}.channel-discovery-table td:nth-child(3){min-width:180px;font-size:12px}#channel-discovery-dialog{max-width:850px;max-height:calc(100vh - 32px);overflow:auto}#channel-discovery-dialog>.table-wrap{max-height:43vh;overflow:auto}#channel-discovery-dialog th{position:sticky;top:0}#channel-discovery-dialog .toolbar{margin:13px 0 8px}#models summary{cursor:pointer;font-size:16px;font-weight:650;min-height:44px;display:flex;align-items:center;list-style-position:inside}#models summary::before{content:'＋';margin-right:10px;color:var(--muted)}#models details[open]>summary::before{content:'−'}
@media(min-width:761px) and (max-width:1250px){.channel-workspace{grid-template-columns:minmax(180px,29%) minmax(0,1fr)}.channel-sidebar{padding:13px}.channel-sidebar-heading{align-items:flex-start;flex-direction:column}.channel-detail{padding:17px}.channel-detail .field-grid{grid-template-columns:minmax(0,1fr)}.channel-model-heading{align-items:flex-start!important;flex-direction:column}.channel-model-heading .toolbar{flex-wrap:wrap}.channel-model-bulk>.check-label{flex-basis:100%}}
@media(max-width:760px){.channel-workspace{display:block}.channel-sidebar{border-right:0;border-bottom:1px solid var(--border);padding:15px}.channel-sidebar-heading{align-items:center}.channel-list{max-height:280px}.channel-list-button .provider-url{max-height:none}.channel-detail{padding:17px 12px}.channel-detail .section-heading{flex-wrap:wrap}.channel-detail .section-heading>a{font-size:13px}.channel-detail .channel-actions{gap:7px}.channel-actions button{flex:1;min-width:110px}.channel-detail .field-grid{grid-template-columns:minmax(0,1fr)}.channel-detail .channel-model-heading{align-items:flex-start;flex-direction:column}.channel-model-heading .toolbar{width:100%}.channel-model-heading button{flex:1}.channel-model-bulk>.check-label{flex-basis:100%;margin-bottom:4px}.channel-model-bulk button{flex:1}.channel-model-table{min-width:0}.channel-model-table thead{display:none}.channel-model-table tbody{display:block}.channel-model-table tr{display:grid;grid-template-columns:44px minmax(0,1fr);padding:12px 0;border-bottom:1px solid var(--border)}.channel-model-table td{display:block;border:0;padding:5px 8px!important}.channel-model-table td:first-child{grid-column:1;grid-row:1/7;padding-top:20px!important}.channel-model-table td:not(:first-child){grid-column:2}.channel-model-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:650;color:var(--muted);margin-bottom:5px}.channel-model-table input{min-width:0;width:100%;font-size:14px}.channel-model-table input[type=number]{min-width:0}.channel-model-table td:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.channel-model-table td:last-child::before{flex-basis:100%;margin-bottom:0}.channel-model-table .text-button{margin-left:auto}.channel-model-table tr:last-child{border-bottom:0}#channel-discovery-dialog{padding:18px 14px}#channel-discovery-dialog .dialog-heading h2{font-size:20px}.channel-discovery-table{min-width:0}.channel-discovery-table th,.channel-discovery-table td{padding:10px 7px}.channel-discovery-table td:nth-child(3){min-width:95px}.channel-discovery-table td:nth-child(2){min-width:80px}.channel-discovery-table input[type=checkbox]{width:24px;height:24px}.channel-detail .table-wrap{border:0}}
.channel-connectivity{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-top:14px}.channel-connectivity>div{min-width:180px;flex:1}.channel-connectivity label{margin-top:0}.channel-connectivity .field-hint{flex-basis:100%;margin:0}.channel-model-table select{min-height:44px;min-width:105px;font-size:13px;padding:7px 8px}.channel-model-table select[data-field=protocol]{min-width:150px}.pricing-batch{margin:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:12px 0}.pricing-batch summary{cursor:pointer;min-height:44px;font-weight:650}.pricing-history-heading{margin-top:26px}.pricing-history-table{min-width:650px}.pricing-history-table td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.pricing-history-table td:first-child{min-width:165px}.pricing-table td{overflow-wrap:anywhere}.pricing-table td:last-child button{margin:3px}.pricing-table .cell-sub{max-width:260px;overflow-wrap:anywhere}
@media(min-width:761px){.channel-model-table{min-width:1140px}}
@media(max-width:760px){.channel-model-table td:first-child{grid-row:1/10}.channel-model-table select{min-width:0;width:100%;font-size:14px}.channel-model-table select[data-field=protocol]{min-width:0}.channel-connectivity{align-items:stretch}.channel-connectivity>div,.channel-connectivity>button{flex-basis:100%}.pricing-history-heading{align-items:flex-start;flex-direction:column}.pricing-table{min-width:0}.pricing-table thead{display:none}.pricing-table tbody{display:block}.pricing-table tr{display:grid;grid-template-columns:minmax(0,1fr);padding:12px 0;border-bottom:1px solid var(--border)}.pricing-table td{display:block;border:0;padding:6px 8px}.pricing-table td:first-child{font-weight:650;max-width:none}.pricing-table td:nth-child(2)::before{content:'计价单位：'}.pricing-table td:nth-child(3)::before{content:'进价（元）：'}.pricing-table td:nth-child(4)::before{content:'收取积分：'}.pricing-table td:nth-child(5)::before{content:'收支：'}.pricing-table td:last-child{display:flex;gap:8px}.pricing-table td:last-child button{flex:1;min-height:44px}.pricing-table .cell-sub{max-width:none}}

@media(max-width:760px){#pricing-form .toolbar{flex-direction:column}#pricing-form .toolbar button{width:100%}}

.pricing-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.pricing-metric{background:#f5f6f1;color:#414d38;border:1px solid var(--border);text-align:left;font-size:15px;min-height:54px;font-weight:650}.pricing-metric:hover{background:#fff8ef;border-color:#984015}.pricing-filters{margin-bottom:14px}.pricing-filters label{margin-top:6px}.pricing-group,.pricing-other,.pricing-rules,.pricing-reference,#price-editor{border:1px solid var(--border);border-radius:8px;margin:12px 0;padding:12px 15px;min-width:0}.pricing-group summary,.pricing-other>summary,.pricing-rules>summary,.pricing-reference>summary,#price-editor>summary{cursor:pointer;min-height:44px;font-weight:650;line-height:1.5;padding:10px 0;overflow-wrap:anywhere}.pricing-group .table-wrap{margin-top:10px}.pricing-group .pricing-table{min-width:720px}.pricing-group .pricing-table td:last-child{min-width:185px}.pricing-group .pricing-table td:last-child button{font-size:12px;padding:7px 9px;min-height:44px}.pricing-rules{background:#f8f9f5}.pricing-rules input[readonly]{background:#edf0e9;color:#414d38}.pricing-reference p{overflow-wrap:anywhere}.pricing-other{background:#f8f9f5}.channel-list-group{list-style:none;padding:0;margin:0;display:grid;gap:7px}.channel-list details>summary{font-size:13px!important;min-height:44px!important}.channel-list details>summary::before{font-size:14px}#usage-form{align-items:end;margin:14px 0}#usage-form label{margin-top:0}.pricing-history-table .cell-sub{white-space:pre-wrap}#price-editor[open]{background:#fafaf7}#pricing-count{margin:17px 0 5px}#pricing .toolbar{flex-wrap:wrap}#confirm-changes>p,#confirm-changes>details{margin:10px;padding:8px}#confirm-changes>details p{font-size:13px;padding:5px;overflow-wrap:anywhere}#confirm-changes>details summary{cursor:pointer;min-height:44px}#channel-price-rules{white-space:normal}input:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #984015;outline-offset:3px}#rule-saved-summary{white-space:normal}
@media(max-width:760px){.pricing-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-metric{padding:12px;font-size:14px}.pricing-group,.pricing-other,.pricing-rules,.pricing-reference,#price-editor{padding:8px 10px}.pricing-group .pricing-table{min-width:0}.pricing-group .pricing-table td:last-child{min-width:0;flex-wrap:wrap}.pricing-group .pricing-table td:last-child button{min-width:65px}.pricing-filters{gap:8px}.pricing-filters label{margin-top:5px}.pricing-rules .compact-grid{gap:8px}#confirm-changes{max-height:50vh}.pricing-reference .toolbar{flex-direction:column}#usage-form button{width:100%}#usage .pagination{align-items:flex-start;flex-direction:column}#channel-model-kind{margin-bottom:10px}}
