.billing-settings-page{padding-bottom:26px} .billing-settings-page .ops-heading{margin-bottom:17px} .billing-default-card{container-type:inline-size;margin-bottom:16px;border:1px solid var(--primary-border);border-radius:var(--radius-card);background:var(--card);box-shadow:var(--shadow-card)} .billing-default-heading{display:flex;align-items:center;gap:12px;padding:14px 22px;border-radius:9px 9px 0 0;background:var(--primary-soft)} .billing-default-heading h2{margin:0;color:var(--foreground);font-size:18px;line-height:1.3} .billing-default-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid var(--primary-border);border-radius:8px;background:var(--card);color:var(--primary)} .billing-default-row{display:grid;grid-template-columns:minmax(0,1fr) 112px minmax(280px,320px);align-items:center;gap:12px 20px;padding:14px 22px;border-top:1px solid var(--border-subtle)} .billing-default-copy h3{margin:0 0 4px;color:var(--foreground);font-size:var(--type-body);font-weight:650} .billing-default-copy p{margin:0;color:var(--text-secondary);font-size:var(--type-support);line-height:1.55} .billing-default-current>span{display:block;color:var(--text-secondary);font-size:var(--type-support)} .billing-default-current strong{display:block;margin-top:4px;color:var(--primary);font-size:16px;font-variant-numeric:tabular-nums;line-height:1.35} .billing-default-edit>label{display:block;margin-bottom:5px;color:var(--field-label);font-size:var(--type-support);font-weight:400} .billing-default-edit>div{display:flex;align-items:center;gap:8px} .billing-default-edit .ops-select{flex:1;min-width:125px;background:var(--card)} .billing-default-edit .ops-select select{width:100%;min-width:100px} .billing-default-edit button{flex:none;min-width:130px} @container (max-width:680px){ .billing-default-row{grid-template-columns:minmax(0,1fr) auto} .billing-default-edit{grid-column:1/-1;max-width:320px} } @container (max-width:400px){ .billing-default-heading,.billing-default-row{padding-inline:16px} .billing-default-row{grid-template-columns:minmax(0,1fr)} .billing-default-edit>div{flex-wrap:wrap} } .billing-operators .ops-list-heading{padding:18px 22px 16px} .billing-operators .ops-list-heading p{max-width:600px} .billing-table-wrap{overflow-x:auto} .billing-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed} .billing-table th:nth-child(1){width:24%}.billing-table th:nth-child(2){width:22%}.billing-table th:nth-child(3){width:15%}.billing-table th:nth-child(4){width:22%}.billing-table th:nth-child(5){width:17%} .billing-table th{padding:12px 12px;border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);background:var(--surface-subtle);color:var(--muted-foreground);font-size:var(--type-support);font-weight:600;text-align:left;white-space:nowrap} .billing-table td{padding:13px 12px;border-bottom:1px solid var(--border-subtle);color:var(--text-secondary);font-size:var(--type-body);line-height:1.4;vertical-align:middle} .billing-table tr:last-child td{border-bottom:0} .billing-table tbody tr:hover{background:var(--surface-subtle)} .billing-table th:first-child,.billing-table td:first-child{padding-left:22px} .billing-table th:last-child,.billing-table td:last-child{padding-right:22px} .billing-table td strong{display:block;color:var(--foreground);font-size:var(--type-body);font-weight:650} .billing-table td small{display:block;margin-top:5px;color:var(--muted-foreground);font-size:var(--type-support)} .billing-table td small.billing-override-hint{color:var(--primary)} .billing-field{display:block;max-width:220px} .billing-field select{display:block;width:100%;height:38px;padding:0 34px 0 10px;border:1px solid var(--border);border-radius:6px;outline:0;background:var(--card) var(--select-chevron) no-repeat right 10px center;background-size:16px;color:var(--foreground);font:inherit;font-size:var(--type-body);appearance:none;cursor:pointer} .billing-field select:focus-visible{outline:none;border-color:var(--ring);box-shadow:0 0 0 3px var(--ring-glow)} .billing-notify{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);font-size:var(--type-support)} .billing-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;white-space:nowrap} .billing-row-actions .ops-table-action{padding:4px} .billing-guidance{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:13px 17px;border:1px solid var(--primary-border);border-radius:8px;background:var(--primary-soft);color:var(--primary)} .billing-guidance>svg{flex:none;margin-top:2px} .billing-guidance strong{display:block;font-size:var(--type-support);font-weight:650} .billing-guidance p{margin:4px 0 0;color:var(--text-secondary);font-size:var(--type-support);line-height:1.55} @media(max-width:640px){.billing-operators .ops-list-heading{align-items:flex-start;flex-direction:column;gap:8px;padding:17px}.billing-guidance{padding:12px}} /* 列宽跟随容器;窄屏保留运营商身份,操作随内容滚动。 */ .billing-ledger-scroll{position:relative;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain} .billing-ledger-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:-2px} .billing-table.billing-ledger{min-width:1040px;border-collapse:separate;border-spacing:0} .billing-ledger th:nth-child(n){width:auto} .billing-ledger td{background:var(--card);white-space:nowrap} .billing-ledger td strong,.billing-ledger td small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .billing-ledger tbody tr:is(:hover,:focus-within) td{background:var(--surface-subtle)} .billing-ledger .billing-row-actions>*{flex-shrink:0} .billing-ledger-scroll.has-horizontal-overflow.can-pin-identity .billing-ledger :is(th,td):first-child:where(:not([colspan])){position:sticky;left:0;z-index:2} .billing-ledger-scroll.can-scroll-left.can-pin-identity .billing-ledger :is(th,td):first-child:where(:not([colspan])){box-shadow:9px 0 12px -10px rgb(24 40 48 / 35%)} .billing-ledger th:last-child{text-align:right}