.app-shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:100vh}.sidebar{background:#edf0e9;border-right:1px solid var(--line);padding:34px 23px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#929b8d;margin:55px 10px 15px}.sidebar nav{display:grid;gap:7px}.nav-button{display:flex;align-items:center;gap:13px;border:0;background:none;text-align:left;padding:13px 12px;border-radius:8px;font-size:12px;color:#74816f}.nav-button>span{font-size:18px}.nav-button.active{background:#dce4d5;color:#304b34;font-weight:600}.nav-button b{margin-left:auto;font-size:10px;background:#718b6d;color:white;border-radius:10px;padding:2px 6px}.sidebar-note{margin-top:auto;font-size:10px;line-height:1.9;color:#63755e}.sidebar-note p{color:#8b9686;margin:9px 0 23px;padding-left:15px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6f997c;margin-right:5px;vertical-align:middle}.logout{text-align:left;font-size:11px}.main{min-width:0}.topbar{height:76px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:11px;color:#65715f}.breadcrumb{color:#939b8f;margin-left:12px}.topbar-right{display:flex;align-items:center;gap:7px;font-size:10px}.topbar-right .status-dot{margin-left:17px}.page-content{max-width:1550px;margin:auto;padding:36px 42px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.page-heading h1{font-size:30px;font-weight:650;letter-spacing:-.8px;margin:10px 0}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.8}.heading-actions{display:flex;gap:9px;flex-shrink:0}.scope-banner{display:flex;align-items:flex-start;gap:10px;background:#e9eee4;border:1px solid #dce5d3;padding:12px 15px;margin-top:26px;border-radius:8px;color:#6c7c63;font-size:11px;line-height:1.8}.scope-banner strong{font-weight:600;margin-right:8px;color:#4a6043}.scope-icon{border:1px solid #95a58b;border-radius:50%;display:grid;place-items:center;min-width:15px;height:15px;font-family:Georgia,serif;margin-top:2px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:28px 0 29px;border-bottom:1px solid var(--line);padding-bottom:24px}.stats>div{padding:0 26px;border-left:1px solid var(--line)}.stats>div:first-child{padding-left:0;border-left:0}.stats>div>span{font-size:11px;color:#78816f}.stats strong{display:flex;align-items:baseline;gap:11px;font-size:34px;font-weight:550;margin-top:10px;font-variant-numeric:tabular-nums}.stats small{font-size:10px;font-weight:400;color:#8a9481;line-height:1.5}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:19px}.filter-tabs{display:flex;gap:5px}.filter-button{font-size:11px;border:0;background:transparent;color:#829077;border-radius:6px;padding:8px 12px}.filter-button.selected{background:#fff;box-shadow:0 1px 4px #18240d0a;color:#3d5335;font-weight:600}.search-label{margin:0;width:215px}.search-label input{font-size:11px;background:transparent;padding:9px 11px}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.account-card{background:#fff;border:1px solid #e0e5db;border-radius:12px;padding:21px 21px 13px;min-width:0;box-shadow:0 3px 6px #40512503}.account-card:hover{box-shadow:0 6px 20px #4051250a}.card-heading{display:flex;align-items:center;gap:10px;min-width:0}.platform-icon{height:35px;width:35px;min-width:35px;display:grid;place-items:center;background:#eceee9;border-radius:10px;font-size:18px;letter-spacing:-1px;font-weight:600}.platform-icon.lovart{background:#edeafd;color:#7461a1}.platform-icon.libtv{background:#e4f0e4;color:#53785a;font-size:15px}.platform-icon.jimeng{background:#e6edf7;color:#6382a5}.platform-icon.yunque{background:#fff1d8;color:#ba9758}.platform-icon.kling{background:#202925;color:#d5ee92}.account-name{min-width:0;flex:1}.account-name h3{font-size:13px;font-weight:600;margin:0 0 5px}.account-name p{font-size:9px;margin:0;color:#8a9286;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag{display:inline-block;white-space:nowrap;font-size:9px;border:1px solid #e4e7df;border-radius:4px;padding:3px 5px;color:#86917c;background:#f6f8f2;font-weight:400}.tag.verified{background:#eff5ec;border-color:#e0e9da;color:#6e8760}.tag.pending{background:#f9f3e8;border-color:#eee2cd;color:#ab8b50}.tag.urgent{background:#fcf0e9;border-color:#f0ddcb;color:#bd8863}.balance-line{display:flex;align-items:baseline;gap:6px;margin-top:25px;min-width:0;flex-wrap:wrap}.balance{font-size:36px;font-weight:550;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-1.2px}.unit{font-size:10px;color:#8b9780}.plan-tag{margin-left:auto;font-size:9px;color:#829273;background:#f2f5ed;padding:4px 7px;border-radius:4px}.balance-meta{font-size:9px;color:#929c88;margin-top:9px;line-height:1.6}.bucket-list{margin:22px 0 17px;padding-top:14px;border-top:1px solid #edf0e8;min-height:79px}.bucket-row{display:grid;grid-template-columns:1fr auto;gap:3px 10px;font-size:10px;padding:5px 0;color:#78876b}.bucket-row strong{font-size:11px;font-weight:550;color:#54674a;font-variant-numeric:tabular-nums}.bucket-expiry{grid-column:1/-1;font-size:9px;color:#a0a994;text-align:right}.member-row{display:flex;justify-content:space-between;gap:8px;font-size:10px;padding-top:13px;border-top:1px solid #edf0e8;line-height:1.6}.member-row span{color:#87927d}.member-row strong{font-weight:550;font-size:10px;text-align:right}.renew-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:9px;color:#929e86;margin-top:7px;line-height:1.8}.more-fields{font-size:10px;color:#8c9781;line-height:1.8;margin:11px 0 13px}.more-fields summary{cursor:pointer}.more-fields p{margin:6px 0;overflow-wrap:anywhere}.card-actions{border-top:1px solid #edf0e8;display:flex;justify-content:space-between;align-items:center;gap:5px;padding-top:10px}.card-actions .text-button{font-size:10px}.secondary-text{color:#97a08c}.empty-card{background:#f7f8f3;border-style:dashed;border-color:#cdd5c5}.balance.unknown{font-size:30px;color:#afbaa5;letter-spacing:1px}.empty-space{min-height:252px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#929e86}.empty-symbol{border:1px dashed #c3ceb8;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:20px;color:#9baa8c}.empty-space p{font-size:11px;line-height:1.9}.empty-space small{font-size:9px;color:#a1ab96}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:17px}.section-title h2{font-size:15px;font-weight:600;margin:0}.section-title h2 span{font-size:11px;color:#96a087;font-weight:400;padding-left:7px}.section-title p{font-size:10px;color:#9aa48f;margin:0}.alerts-panel{margin-top:31px}.alert-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0}.alert-row>div{flex:1}.alert-row strong{font-size:11px;font-weight:550}.alert-row p{font-size:10px;color:#89967d;line-height:1.8;margin:5px 0 0}.alert-dot{height:6px;width:6px;border-radius:50%;background:#b7b083;flex-shrink:0}.alert-dot.urgent{background:var(--orange)}.alert-row .text-button{font-size:10px;white-space:nowrap}.page-footer{display:flex;align-items:center;gap:18px;font-size:9px;color:#9aa68e;margin-top:35px;padding-top:19px;border-top:1px solid var(--line);line-height:1.8}.page-footer>span{margin-right:auto}.page-footer .text-button{font-size:10px}.muted{font-size:11px;color:#8b9781;line-height:1.8}.empty-result{padding:35px;background:#fff;border:1px dashed var(--line);border-radius:10px;color:#8d9982;font-size:12px;grid-column:1/-1}.check-list{display:grid;gap:12px}.check-list article{display:flex;align-items:center;gap:14px;background:#fff;padding:20px;border:1px solid var(--line);border-radius:10px}.check-list article>div:nth-child(2){flex:1}.check-list h3{font-size:13px;margin:0 0 6px}.check-list p{font-size:11px;color:var(--muted);margin:0}.help-box{padding:25px;background:#edf1e7;border:1px solid #dfe6d4;border-radius:12px;margin-top:24px}.help-box h3{font-size:19px;font-weight:550;line-height:1.6;margin:10px 0 15px}.help-box p{font-size:12px;color:#849076;line-height:1.9}.notification-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:23px}.notification-grid .help-box{margin:0}.settings-panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:15px 0}.form-grid label{line-height:1.8}.form-help{font-size:11px;line-height:1.9;color:#8f9b82}.check-label{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.6;cursor:pointer;margin:15px 0}.check-label input{margin:3px 0 0;accent-color:var(--green)}.notification-actions{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;gap:10px}.delivery-panel{margin-top:30px}.delivery-row{background:white;border:1px solid var(--line);border-radius:9px;padding:14px;margin-top:9px;font-size:11px}.delivery-row summary{display:flex;align-items:center;gap:15px;cursor:pointer}.delivery-row time{margin-left:auto;color:#8f9b82}.delivery-row p{color:var(--muted)}pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
dialog{border:1px solid #d6dfcc;border-radius:16px;box-shadow:0 20px 80px #233b2833;padding:28px;max-width:760px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);background:#fff}dialog::backdrop{background:#1d2c2855;backdrop-filter:blur(2px)}.dialog-header{display:flex;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:21px}.dialog-header h2{font-size:20px;font-weight:600;margin:7px 0 8px}.dialog-header p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.dialog-close{border:0;background:#f2f5ee;border-radius:50%;width:29px;height:29px;font-size:21px;color:#889779;flex-shrink:0}.form-notice{background:#f0f4e9;color:#7c8e6a;font-size:11px;padding:12px;border-radius:7px;line-height:1.8}.edit-field{padding:12px;background:#f8faf5;border:1px solid #e6ebdf;border-radius:9px;margin:12px 0}.form-grid .edit-field{margin:0}.edit-field small{display:block;color:#9aa58f;font-size:9px;line-height:1.8;margin-top:7px}.field-check{display:flex;align-items:center;gap:8px;cursor:pointer}.field-check input{accent-color:var(--green);width:auto}.deadline-input{display:grid;grid-template-columns:1.6fr 1fr;gap:10px}.deadline-input input,.deadline-input select{font-size:11px}.extra-edit{font-size:11px;color:#7f9070;margin:22px 0}.extra-edit summary{cursor:pointer}.bucket-editor-row{display:grid;grid-template-columns:1fr .7fr 1.4fr 1fr 20px;gap:6px;margin-bottom:8px}.bucket-editor-row input,.bucket-editor-row select{font-size:10px;padding:8px 6px}.note-label{margin-top:20px}.identity-check{color:#657d53}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;padding-top:18px;border-top:1px solid var(--line);margin-top:18px}#form-error,#account-error{font-size:12px;color:var(--danger);line-height:1.8}#account-form label{margin:18px 0}.history-list article{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.history-list article>div{display:flex;justify-content:space-between;gap:12px}.history-list small{font-size:10px;color:#8d9b7e}.message-preview{background:#f4f6f0;padding:20px;border-radius:9px}
@media(min-width:1550px){.account-card{padding:25px 25px 15px}.account-name h3{font-size:15px}.balance{font-size:42px}.bucket-row{grid-template-columns:1fr auto 1.5fr}.bucket-expiry{grid-column:auto}.empty-space{min-height:226px}}
@media(max-width:1190px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:26px 16px}.sidebar .brand{font-size:19px}.brand small{font-size:8px}.page-content{padding:28px}.topbar{padding:0 28px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats>div{padding:0 17px}.stats strong{display:block;font-size:29px}.stats small{display:block;margin-top:5px}.page-heading h1{font-size:27px}.heading-actions{flex-direction:column}.notification-grid{grid-template-columns:1fr}.empty-space{min-height:278px}}
@media(max-width:780px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:17px 20px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;flex-wrap:wrap;gap:20px}.sidebar .brand{font-size:18px}.sidebar .brand-mark{width:35px;height:35px;font-size:19px}.sidebar .brand small{font-size:7px}.workspace-label,.sidebar-note,.sidebar .logout{display:none}.sidebar nav{display:flex;margin-left:auto;gap:3px}.nav-button{font-size:10px;padding:9px 8px;gap:5px}.nav-button>span{display:none}.topbar{height:49px;padding:0 20px;font-size:10px}.topbar-right{font-size:9px}.page-content{padding:26px 20px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:9px}.page-heading p{font-size:11px}.heading-actions .button{font-size:10px;padding:8px 9px;min-height:32px}.scope-banner{font-size:10px;margin-top:21px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:23px 0}.stats>div{padding-left:16px}.stats>div:nth-child(3){border:0;padding:0}.stats strong{font-size:29px;display:flex;flex-wrap:wrap;gap:6px}.stats small{font-size:9px}.section-toolbar{gap:8px}.search-label{width:145px}.filter-button{font-size:10px;padding:8px}.account-grid{gap:12px}.account-card{padding:17px 15px 12px}.card-heading{flex-wrap:wrap;gap:9px}.card-heading .tag{margin-left:44px;margin-top:-4px}.balance{font-size:30px}.plan-tag{font-size:8px}.card-actions{flex-wrap:wrap}.page-footer{flex-wrap:wrap;gap:8px}.page-footer>span{flex-basis:100%}.check-list article{flex-wrap:wrap}.check-list article>div:nth-child(2){min-width:65%}.check-list .button{font-size:10px}.notification-grid{gap:15px}.form-grid{gap:12px}.settings-panel{padding:19px}.bucket-editor-row{grid-template-columns:1fr 1fr 20px;gap:7px;padding-bottom:10px;border-bottom:1px solid var(--line)}.bucket-editor-row [data-bucket=expiry]{grid-column:1}.bucket-editor-row [data-bucket=zone]{grid-column:2}.bucket-editor-row button{grid-column:3;grid-row:1/3}.deadline-input{grid-template-columns:1fr}.dialog-header h2{font-size:18px}dialog{padding:21px}.alert-row{align-items:flex-start}.alert-dot{margin-top:6px}.alert-row .text-button{font-size:9px}.delivery-row summary{flex-wrap:wrap;gap:9px}.empty-space{min-height:260px}}
@media(max-width:520px){.account-grid{grid-template-columns:1fr}.card-heading{flex-wrap:nowrap}.card-heading .tag{margin:0}.card-actions{flex-wrap:nowrap}.balance{font-size:38px}.bucket-row{grid-template-columns:1fr auto 1.5fr;gap:8px}.bucket-expiry{grid-column:auto}.empty-space{min-height:160px}.sidebar{gap:12px}.sidebar nav{width:100%;justify-content:space-between}.nav-button{flex:1;justify-content:center;font-size:11px}.brand small{display:none}.section-toolbar{flex-wrap:wrap}.search-label{width:100%}.heading-actions .button{max-width:110px}.stats small{display:block;flex-basis:100%}.form-grid{grid-template-columns:1fr}.alert-row p{font-size:10px}}
/* Compact list view. Existing login, editor and notification styles remain shared. */
.list-shell{display:block;min-height:100vh}
.compact-header{display:flex;align-items:center;gap:24px;min-height:56px;padding:9px 24px;background:#edf0e9;border-bottom:1px solid var(--line)}
.compact-header .brand{gap:9px;font-size:17px;letter-spacing:1px;flex-shrink:0}
.compact-header .brand-mark{width:32px;height:32px;border-radius:10px;font-size:18px}
.compact-header .brand small{font-size:7px;letter-spacing:1px;margin-top:2px}
.compact-header nav{display:flex;gap:4px;align-items:center}
.compact-header .nav-button{gap:6px;padding:8px 11px;font-size:12px;white-space:nowrap;min-height:34px}
.compact-header .nav-button b{margin:0;padding:1px 5px;line-height:15px}
.compact-header .logout{display:block;margin-left:auto;font-size:11px;min-height:32px}
.list-shell .page-content{max-width:1480px;padding:18px 24px 20px}
.list-shell .page-heading{gap:16px;align-items:center}
.heading-title{display:flex;align-items:baseline;gap:13px;min-width:0}
.list-shell .page-heading h1{font-size:24px;letter-spacing:-.5px;line-height:1.3;margin:0;white-space:nowrap}
.account-count{font-size:11px;color:#6b786a;white-space:nowrap}
.list-shell .heading-actions{flex-direction:row;gap:7px}
.list-shell .heading-actions .button{min-height:32px;font-size:11px;padding:7px 10px;max-width:none}
.list-context{margin:8px 0 12px;font-size:11px;line-height:1.6;color:#6d7a6a}
.list-shell .section-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:12px;margin-bottom:8px}
.list-shell .filter-tabs{gap:3px;min-width:0}
.list-shell .filter-button{font-size:11px;padding:8px 10px;white-space:nowrap;color:#69785f;min-height:32px}
.list-shell .filter-button.selected{color:#304c3b;background:#e4ebde;box-shadow:none}
.list-shell .search-label{width:210px;margin:0}
.list-shell .search-label input{font-size:11px;padding:7px 10px;min-height:32px;background:#fff}
.account-table-wrap{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:clip}
.account-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.account-table .account-col{width:24%}
.account-table .balance-col{width:16%}
.account-table .monthly-col,.account-table .member-col{width:18%}
.account-table col.check-column{width:13%}
.account-table col.actions-column{width:11%}
.account-table thead{background:#eff3eb}
.account-table th,.account-table td{text-align:left;padding:8px 12px;vertical-align:middle}
.account-table thead th{height:42px;font-size:11px;font-weight:550;color:#65735f;line-height:1.45}
.account-table thead th>span:not(.desktop-label):not(.mobile-label){display:block;font-size:9px;color:#788471;font-weight:400}
.account-table .mobile-label{display:none}
.account-row{border-top:1px solid #e9ede5}
.account-row:hover{background:#fafcf7}
.account-row:focus-within{background:#f5f9f0}
.account-row.unverified-row{background:#fafbf7}
.account-entry{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:2px 0;border:0;background:none;text-align:left;color:var(--ink);border-radius:3px}
.account-entry:hover .account-identity>strong{text-decoration:underline;text-underline-offset:3px}
.account-entry .platform-icon{width:28px;height:28px;min-width:28px;font-size:16px;border-radius:8px}
.account-entry .platform-icon.libtv{font-size:12px}
.account-identity{min-width:0;display:block}
.account-identity>strong{display:block;font-size:13px;line-height:19px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.identity-label{display:block;margin-top:2px;font-size:10px;font-weight:400;line-height:15px;color:#697563;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-check{display:none}
.credits-metric,.expiry-metric{min-width:0}
.credits-value{display:block;font-size:24px;line-height:28px;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.credits-value.unknown{font-size:16px;letter-spacing:0;color:#697563}
.metric-major{display:block;font-size:16px;font-weight:600;line-height:20px;font-variant-numeric:tabular-nums}
.metric-major.normal{color:#345c43}
.metric-major.soon{color:#a3642f}
.metric-major.past{color:#a75440}
.metric-major.unknown{font-size:14px;color:#697563}
.metric-date{display:block;font-size:11px;font-weight:400;line-height:16px;color:#697563;font-variant-numeric:tabular-nums}
.metric-detail{display:block;font-size:10px;font-weight:400;line-height:14px;color:#697563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checked-time{display:block;margin-top:4px;font-size:10px;line-height:15px;color:#66765e;font-variant-numeric:tabular-nums}
.account-table .tag{font-size:9px;padding:3px 5px}
.account-table .tag.verified{color:#49643b}
.account-table .tag.pending{color:#89652c}
.account-table .tag.inferred{color:#607594;background:#eef2f8;border-color:#dbe3ef}
.account-table .tag.urgent{color:#985734}
.row-actions{display:grid;grid-template-columns:repeat(2,max-content);gap:2px 7px}
.row-actions .text-button{font-size:11px;line-height:18px;padding:2px;white-space:nowrap}
.row-actions .secondary-text{color:#718067}
.account-table .table-empty{padding:35px 12px;text-align:center;color:var(--muted)}
.table-footnote{font-size:10px;color:#66745f;line-height:1.6;margin:8px 1px}
.list-shell .compact-alerts{margin-top:10px;border:1px solid var(--line);border-radius:8px;background:#f7f9f3}
.compact-alerts>summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:9px 12px;font-size:11px;line-height:16px;list-style:none}
.compact-alerts>summary::-webkit-details-marker{display:none}
.compact-alerts>summary:before{content:'›';font-size:17px;color:#7a886f;transform:rotate(0deg)}
.compact-alerts[open]>summary:before{transform:rotate(90deg)}
.compact-alerts>summary b{color:#a47142;font-weight:600;margin-left:5px}
.compact-alerts>summary small{font-size:10px;color:#7a866f;margin-left:auto}
.alerts-content{padding:0 12px}
.compact-alerts .alert-row{padding:10px 0}
.list-shell .page-footer{margin-top:13px;padding-top:10px;gap:12px;font-size:10px}
.list-shell .page-footer>span{flex-basis:auto}
.detail-notice{font-size:11px;color:#697965;line-height:1.8;margin:0 0 15px}
.account-facts{margin:0}
.account-facts>div{display:grid;grid-template-columns:150px minmax(0,1fr);padding:10px 0;border-bottom:1px solid #edf0e7;gap:15px}
.account-facts dt{font-size:12px;color:#76836c}
.account-facts dd{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.account-facts dd small{display:block;font-size:10px;line-height:1.8;color:#88957f}
.detail-buckets h3,.detail-note h3{font-size:14px;margin:20px 0 8px}
.detail-buckets>.muted{margin:0 0 10px}
.detail-bucket-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.detail-bucket-list article{background:#f7f9f2;border:1px solid #e4eade;border-radius:7px;padding:10px}
.detail-bucket-list article>div{display:flex;justify-content:space-between;gap:8px;font-size:12px}
.detail-bucket-list article strong{font-weight:550;overflow-wrap:anywhere}
.detail-bucket-list article span{font-variant-numeric:tabular-nums;white-space:nowrap}
.detail-bucket-list article p{font-size:10px;line-height:1.7;color:#7b896f;margin:6px 0 0;overflow-wrap:anywhere}
.cycle-derived-note{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:12px 0;padding:10px 12px;border:1px solid #dbe3ef;border-radius:7px;background:#f3f6fa;color:#607594}
.cycle-derived-note strong{font-size:11px}
.cycle-derived-note span{font-size:10px;text-align:right;line-height:1.6}
.detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;color:#77866c}
.account-detail-actions{flex-wrap:wrap}
@media(min-width:1350px){
  .row-actions{display:flex;gap:5px}
}
@media(max-width:1000px){
  .account-table .check-column{display:none}
  .account-table .account-col{width:26%}
  .account-table .balance-col{width:17%}
  .account-table .monthly-col,.account-table .member-col{width:22%}
  .account-table col.actions-column{width:13%}
  .account-table th,.account-table td{padding:8px 10px}
  .credits-value{font-size:22px}
  .metric-major{font-size:15px}
  .mobile-check{display:block;margin-top:2px;font-size:9px;line-height:12px;font-weight:400;color:#756a4b}
  .compact-header{gap:18px}
}
@media(max-width:700px){
  .compact-header{padding:8px 12px;gap:10px;min-height:50px}
  .compact-header .brand-wordmark{display:none}
  .compact-header .brand{gap:0}
  .compact-header nav{gap:1px;flex:1}
  .compact-header .nav-button{flex:initial;font-size:11px;padding:8px 7px;gap:4px}
  .compact-header .nav-button b{font-size:9px;padding:0 4px}
  .compact-header .logout{margin-left:0;font-size:10px;padding:4px}
  .list-shell .page-content{padding:13px 12px 18px}
  .list-shell .page-heading{gap:8px}
  .heading-title{display:block}
  .list-shell .page-heading h1{font-size:21px;margin-bottom:3px}
  .account-count{font-size:10px}
  .account-count>span{display:none}
  .list-shell .heading-actions{gap:5px}
  .list-shell .heading-actions .button{font-size:10px;padding:7px;min-height:31px}
  .list-context{font-size:10px;margin:8px 0 10px;line-height:1.6}
  .list-shell .section-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,125px);gap:7px}
  .list-shell .filter-tabs{gap:1px}
  .list-shell .filter-button{font-size:10px;padding:7px 5px}
  .list-shell .search-label{width:auto;min-width:0}
  .list-shell .search-label input{font-size:10px;padding:7px}
  .account-table-wrap{border-radius:8px}
  .account-table .actions-column{display:none}
  .account-table .account-col{width:30%}
  .account-table .balance-col{width:22%}
  .account-table .monthly-col,.account-table .member-col{width:24%}
  .account-table thead th{font-size:10px;height:41px;line-height:1.4}
  .account-table thead th>span:not(.desktop-label):not(.mobile-label){font-size:8px}
  .account-table .desktop-label{display:none}
  .account-table .mobile-label{display:inline}
  .account-table th,.account-table td{padding:7px 6px}
  .account-entry{gap:0}
  .account-entry .platform-icon{display:none}
  .account-identity>strong{font-size:11px;line-height:16px}
  .identity-label{font-size:9px;line-height:13px;margin-top:2px}
  .mobile-check{font-size:8px;line-height:11px;margin-top:2px}
  .credits-value{font-size:18px;line-height:23px;letter-spacing:-.5px}
  .credits-value.unknown{font-size:13px}
  .metric-major{font-size:13px;line-height:18px}
  .metric-major.unknown{font-size:12px}
  .metric-date{font-size:10px;line-height:15px;letter-spacing:-.25px}
  .metric-detail{font-size:9px;line-height:13px}
  .table-footnote{font-size:9px;line-height:1.6;margin:7px 1px}
  .compact-alerts>summary{padding:8px 10px;font-size:10px}
  .compact-alerts>summary small{font-size:9px}
  .list-shell .page-footer{font-size:9px;flex-wrap:wrap;gap:6px 12px;margin-top:10px}
  .list-shell .page-footer>span{flex-basis:100%}
  .account-facts>div{grid-template-columns:110px minmax(0,1fr);gap:10px}
  .detail-bucket-list{grid-template-columns:1fr}
  .cycle-derived-note{align-items:flex-start;flex-direction:column;gap:3px}
  .cycle-derived-note span{text-align:left}
  .account-detail-actions .button{font-size:11px;padding:8px 10px}
}
@media(max-width:360px){
  .compact-header .nav-button{font-size:10px;padding:8px 5px}
  .compact-header{gap:7px}
  .list-shell .page-content{padding-left:9px;padding-right:9px}
  .account-table th,.account-table td{padding-left:4px;padding-right:4px}
  .credits-value{font-size:16px}
  .metric-major{font-size:12px}
  .metric-date{font-size:9px}
}
/* Preserve verified clock times without inventing midnight for date-only records. */
.expiry-metric .metric-date{display:flex;flex-wrap:wrap;column-gap:5px}
.metric-calendar-date,.metric-clock-time{white-space:nowrap}
.metric-clock-time{display:inline-flex;align-items:baseline;gap:4px}
.metric-zone{font:inherit;font-size:9px;color:#6b7964}
@media(max-width:700px){
  .expiry-metric .metric-date{column-gap:4px}
  .metric-zone{font-size:8px}
}

/* Ranked horizontal-bar overview. Operational metadata stays in the ? dialog. */
.ranked-chart{overflow:hidden;background:#fff;border:1px solid #dfe5da;border-radius:12px;box-shadow:0 8px 24px rgba(51,72,43,.035)}
.chart-heading,.rank-row{display:grid;grid-template-columns:42px minmax(200px,.95fr) minmax(230px,2fr) minmax(105px,120px) minmax(105px,120px) 38px;align-items:center;column-gap:14px}
.chart-heading{min-height:37px;padding:0 15px;background:#eef2e9;color:#788473;font-size:9px;font-weight:450;letter-spacing:.08em}
.chart-heading span:nth-child(4),.chart-heading span:nth-child(5){text-align:center}
.rank-list{display:grid}
.rank-row{position:relative;min-height:63px;padding:6px 15px;border-top:1px solid #e9ede5;background:#fff;transition:background-color .16s ease,transform .16s ease}
.rank-row:first-child{border-top:0}
.rank-row:before{content:'';position:absolute;inset:12px auto 12px 0;width:3px;border-radius:0 3px 3px 0;background:#91aa83;opacity:.38}
.rank-row:hover,.rank-row:focus-within{background:#f9fbf7}
.rank-row.urgent:before,.rank-row.soon:before{background:#d39a54;opacity:.85}
.rank-row.past:before{background:#bb6c54;opacity:.9}
.rank-row.unknown:before{background:#aab2a3}
.rank-index{font-size:10px;font-weight:450;letter-spacing:.08em;color:#929c8d;font-variant-numeric:tabular-nums}
.rank-account{display:flex;align-items:center;gap:10px;min-width:0}
.rank-account .platform-icon{width:29px;height:29px;min-width:29px;border-radius:9px;font-size:14px}
.rank-account .platform-icon.libtv{font-size:11px}
.rank-account-copy{display:grid;min-width:0;gap:1px}
.rank-platform{font-size:12px;font-weight:560;line-height:16px;color:#3e5042;text-transform:none}
.rank-identity{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;line-height:14px;color:#7b8878}
.credit-bar{display:grid;grid-template-columns:minmax(70px,1fr) max-content;align-items:center;gap:12px;min-width:0}
.credit-track{display:block;width:100%;height:23px;overflow:hidden;border:0;border-radius:7px;background:transparent;appearance:none;-webkit-appearance:none}
.credit-track::-webkit-progress-bar{border-radius:7px;background:linear-gradient(90deg,#eef3ea,#f6f8f3);box-shadow:inset 0 0 0 1px #e8ede3}
.credit-track::-webkit-progress-value{border-radius:7px;background:linear-gradient(90deg,#90af83 0%,#5f8970 100%);box-shadow:0 3px 10px rgba(73,116,84,.16);transition:width .28s ease}
.credit-track::-moz-progress-bar{border-radius:7px;background:linear-gradient(90deg,#90af83 0%,#5f8970 100%)}
.rank-row.soon .credit-track::-webkit-progress-value,.rank-row.urgent .credit-track::-webkit-progress-value{background:linear-gradient(90deg,#d9b46c,#c5864d)}
.rank-row.soon .credit-track::-moz-progress-bar,.rank-row.urgent .credit-track::-moz-progress-bar{background:linear-gradient(90deg,#d9b46c,#c5864d)}
.rank-row.past .credit-track::-webkit-progress-value{background:linear-gradient(90deg,#ca8b73,#aa654f)}
.rank-row.past .credit-track::-moz-progress-bar{background:linear-gradient(90deg,#ca8b73,#aa654f)}
.rank-row.unknown .credit-track::-webkit-progress-value{background:#c5cbc0}
.rank-row.unknown .credit-track::-moz-progress-bar{background:#c5cbc0}
.credit-number{min-width:72px;text-align:right;font-size:18px;line-height:22px;font-weight:540;letter-spacing:-.35px;color:#334b3a;font-variant-numeric:tabular-nums}
.credit-number.unknown{font-size:17px;color:#9ca59a}
.rank-period{display:grid;gap:6px;min-width:0;width:100%;font-variant-numeric:tabular-nums}
.rank-period strong{display:block;text-align:center;font-size:13px;line-height:16px;font-weight:520;color:#496252;white-space:nowrap}
.rank-period.soon strong{color:#a56c38}
.rank-period.past strong{color:#a75c49}
.rank-period.unknown strong{color:#a4aca0}
.period-track{display:block;width:100%;height:6px;overflow:hidden;border:0;border-radius:999px;background:transparent;appearance:none;-webkit-appearance:none}
.period-track::-webkit-progress-bar{border-radius:999px;background:#edf1e9;box-shadow:inset 0 0 0 1px #e5eae1}
.period-track::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,#a8bd86,#769a6f);transition:width .28s ease}
.period-track::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg,#a8bd86,#769a6f)}
.period-track.year::-webkit-progress-value{background:linear-gradient(90deg,#9fb6c7,#6f8ca3)}
.period-track.year::-moz-progress-bar{background:linear-gradient(90deg,#9fb6c7,#6f8ca3)}
.rank-period.soon .period-track::-webkit-progress-value{background:linear-gradient(90deg,#e2bd76,#c9874e)}
.rank-period.soon .period-track::-moz-progress-bar{background:linear-gradient(90deg,#e2bd76,#c9874e)}
.rank-period.past .period-track::-webkit-progress-value{background:#b76753}
.rank-period.past .period-track::-moz-progress-bar{background:#b76753}
.rank-period.unknown .period-track::-webkit-progress-value{background:#c7cdc2}
.rank-period.unknown .period-track::-moz-progress-bar{background:#c7cdc2}
.rank-help{display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid #d6ded0;border-radius:50%;background:#f7f9f4;color:#6f8069;font:500 13px/1 Georgia,serif;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.rank-help:hover,.rank-help:focus-visible{background:#e8eee2;border-color:#aabca0;transform:translateY(-1px);outline:none}
.chart-empty{padding:38px 15px;text-align:center;font-size:11px;color:#899584}
.detail-rules{margin-top:20px;padding:13px 15px;border:1px solid #e1e8da;border-radius:8px;background:#f6f8f2}
.detail-rules h3{margin:0 0 8px;font-size:13px;font-weight:550;color:#4f6250}
.detail-rules p{margin:6px 0;font-size:10px;line-height:1.8;color:#788674}

@media(max-width:900px){
  .chart-heading,.rank-row{grid-template-columns:34px minmax(150px,.95fr) minmax(160px,1.55fr) 96px 96px 34px;column-gap:9px}
  .chart-heading,.rank-row{padding-left:11px;padding-right:11px}
  .credit-number{min-width:62px;font-size:16px}
  .rank-period strong{font-size:12px}
}
@media(max-width:700px){
  .ranked-chart{border-radius:9px}
  .chart-heading,.rank-row{grid-template-columns:20px minmax(78px,1fr) minmax(80px,1.2fr) 56px 56px 25px;column-gap:4px;padding-left:6px;padding-right:6px}
  .chart-heading{min-height:31px;font-size:8px;letter-spacing:0}
  .rank-row{min-height:57px;padding-top:5px;padding-bottom:5px}
  .rank-row:before{top:10px;bottom:10px;width:2px}
  .rank-index{font-size:9px;letter-spacing:0}
  .rank-account{gap:0}
  .rank-account .platform-icon{display:none}
  .rank-platform{font-size:10px;line-height:14px}
  .rank-identity{font-size:8px;line-height:11px}
  .credit-bar{grid-template-columns:minmax(35px,1fr) max-content;gap:5px}
  .credit-track{height:17px;border-radius:5px}
  .credit-fill{border-radius:5px}
  .credit-number{min-width:0;font-size:12px;line-height:16px;letter-spacing:-.15px}
  .credit-number.unknown{font-size:12px}
  .rank-period{gap:4px}
  .rank-period strong{font-size:9px;line-height:12px;font-weight:520;letter-spacing:-.2px}
  .period-track{height:5px}
  .rank-help{width:24px;height:24px;font-size:12px}
}
@media(max-width:380px){
  .chart-heading,.rank-row{grid-template-columns:18px minmax(70px,.95fr) minmax(72px,1.1fr) 50px 50px 22px;column-gap:3px;padding-left:5px;padding-right:5px}
  .rank-platform{font-size:9px}
  .rank-identity{font-size:7.5px}
  .credit-track{height:15px}
  .credit-number{font-size:11px}
  .rank-period strong{font-size:8px}
  .rank-help{width:22px;height:22px}
}
