html:root{--admin-text:#1d1d1f;--admin-muted:#51515b;--admin-line:#d0d5df;--admin-head:#e9eff8;--admin-row:#ffffff69;--admin-credit:#146c43;--admin-debit:#b42318;--admin-credit-bg:#e5f5eb;--admin-debit-bg:#fff0ee;--admin-pending:#805500;--admin-pending-bg:#fff3d6}
html body #root#root .admin-dashboard-screen{--as-text:var(--admin-text);--as-muted:var(--admin-muted);--as-accent:var(--read-blue);--as-line:var(--admin-line);--as-tint:var(--read-select);color:var(--admin-text)!important}
html body #root#root :is(.admin-dashboard-main,.admin-studio-module,.admin-points-ledger,.admin-dashboard-table,.admin-dashboard-row,.admin-points-card,.admin-person,.as-stat,.as-card,.as-member){color:var(--admin-text)!important}
html body #root#root .admin-points-ledger{font-size:16px;line-height:1.7}
html body #root#root .admin-points-ledger table{color:var(--admin-text)!important;font-size:15px!important;line-height:1.65!important;font-variant-numeric:tabular-nums}
html body #root#root .admin-points-ledger :is(th,td){color:inherit!important;border-bottom-color:var(--admin-line)!important}
html body #root#root .admin-points-ledger th{background:var(--admin-head)!important;color:var(--admin-muted)!important;font-size:14px;font-weight:600;white-space:nowrap}
html body #root#root .admin-points-ledger tbody tr:nth-child(even){background:var(--admin-row)}
html body #root#root .admin-points-ledger tbody tr:hover{background:var(--read-select)}
html body #root#root .admin-points-ledger :is(small,td>div,.admin-ledger-count){color:var(--admin-muted)!important;font-size:14px!important;line-height:1.7!important}
html body #root#root .admin-points-ledger .admin-ledger-credit{color:var(--admin-credit)!important;font-weight:600}
html body #root#root .admin-points-ledger .admin-ledger-debit{color:var(--admin-debit)!important;font-weight:600}
html body #root#root :is(.admin-dashboard-table-head,.admin-dashboard-empty,.admin-dashboard-nav-title,.admin-dashboard-account small,.admin-dashboard-brand small,.admin-person>span,.admin-point-meta,.admin-user-meta,.admin-user-wecom,.as-counts,.as-footnote,.as-stat>span,.as-stat>small,.as-bar-column>span,.as-bar-column>small,.as-receipts small,.as-health dt){color:var(--admin-muted)!important;font-size:14px!important;line-height:1.65!important}
html body #root#root :is(.admin-dashboard-row>div,.admin-balance,.admin-points-balance,.admin-person>strong,.as-person>strong,.as-spend,.as-receipts strong,.as-health dd){color:var(--admin-text)!important}
html body #root#root .admin-dashboard-table{border-color:var(--admin-line)!important}
html body #root#root :is(.admin-dashboard-row,.as-receipts>div,.as-health dl>div){border-color:var(--admin-line)!important}
html body #root#root .admin-dashboard-table-head{background:var(--admin-head)!important;border-color:var(--admin-line)!important}
html body #root#root :is(.admin-big-status.active,.admin-status.active,.as-positive){color:var(--admin-credit)!important;background:var(--admin-credit-bg)!important;border-color:transparent!important}
html body #root#root :is(.admin-big-status.pending,.admin-status.pending){color:var(--admin-pending)!important;background:var(--admin-pending-bg)!important;border-color:transparent!important}
html body #root#root :is(.admin-big-status.rejected,.admin-status.rejected,.admin-big-status.disabled,.admin-status.disabled,.admin-dashboard-error,.as-error){color:var(--admin-debit)!important;background:var(--admin-debit-bg)!important;border-color:var(--admin-debit)!important}
html body #root#root .as-notice{color:var(--admin-credit)!important;background:var(--admin-credit-bg)!important}
html body #root#root .as-bar{background:linear-gradient(0deg,#0066cc,#70b7ff)!important}
html body #root#root .as-bar.is-refund{background:var(--admin-credit)!important}
html body #root#root .admin-dashboard-nav button.active{background:var(--read-select)!important;color:var(--read-blue)!important;border-color:var(--read-blue)!important}
html body #root#root .admin-dashboard-screen :is(input:not([type=checkbox]),textarea,select){background:var(--read-control)!important;color:var(--admin-text)!important;border-color:var(--admin-line)!important}
html body #root#root .admin-dashboard-screen select option{background:var(--read-bg);color:var(--admin-text)}
html body #root#root .admin-dashboard-screen .as-feature-choices label{color:var(--admin-muted)!important}
html body #root#root .admin-dashboard-screen .as-feature-choices label.is-checked{color:var(--admin-text)!important;background:var(--read-select)!important;border-color:var(--read-blue)!important}

/* Shared admin cards: one member profile pattern across account and balance tools. */
html body #root#root .admin-dashboard-screen .admin-members-grid,html body #root#root .admin-dashboard-screen .admin-points-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px}
html body #root#root .admin-dashboard-screen .admin-member-card,html body #root#root .admin-dashboard-screen .admin-points-card{min-width:0;padding:22px;border:1px solid color-mix(in srgb,var(--admin-line) 72%,transparent);border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--read-control) 88%,white 12%),color-mix(in srgb,var(--read-select) 50%,var(--read-control)));box-shadow:0 12px 30px #1729450d,inset 0 1px #ffffffb3;backdrop-filter:blur(22px);transition:transform .2s,border-color .2s,box-shadow .2s}
html body #root#root .admin-dashboard-screen .admin-member-card:hover,html body #root#root .admin-dashboard-screen .admin-points-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--read-blue) 42%,var(--admin-line));box-shadow:0 16px 36px #17294516,inset 0 1px #ffffffd9}
.admin-member-head,.admin-points-identity{display:flex;align-items:center;gap:13px;min-width:0}
.admin-member-avatar{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:16px;background:var(--read-select);color:var(--read-blue);font-size:15px;font-weight:650;border:1px solid color-mix(in srgb,var(--read-blue) 18%,transparent)}
.admin-member-identity{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.admin-member-identity>strong,.admin-points-identity strong{font-size:17px;font-weight:650;color:var(--admin-text)}.admin-member-identity>span,.admin-points-identity>div>span{color:var(--admin-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
html body #root#root .admin-dashboard-screen .admin-member-head .admin-big-status{font-size:13px;padding:6px 10px}
.admin-member-facts{display:grid;grid-template-columns:1fr auto;gap:10px 16px;margin:20px 0;padding:15px 0;border-top:1px solid var(--admin-line);border-bottom:1px solid var(--admin-line)}.admin-member-facts>span{font-size:14px;color:var(--admin-muted)}.admin-member-facts>strong{font-size:14px;color:var(--admin-text);text-align:right;overflow-wrap:anywhere}.admin-member-facts small{font-size:12px;color:var(--admin-muted);font-weight:400}
.admin-member-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-member-actions button{min-height:42px;padding:8px 12px;border:1px solid var(--admin-line);border-radius:13px;background:var(--read-control);color:var(--admin-text);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.admin-member-actions button:hover:not(:disabled){transform:translateY(-1px);border-color:var(--read-blue);background:var(--read-select)}.admin-member-actions button:disabled{opacity:.52;cursor:not-allowed}.admin-member-actions .admin-delete-action{color:var(--admin-debit);border-color:color-mix(in srgb,var(--admin-debit) 30%,var(--admin-line));background:color-mix(in srgb,var(--admin-debit-bg) 64%,var(--read-control))}
.admin-points-identity>div{display:flex;min-width:0;flex-direction:column;gap:5px}.admin-points-balance{margin:22px 0 16px;padding:16px;border-radius:16px;background:color-mix(in srgb,var(--read-select) 55%,transparent)}.admin-points-balance span{font-size:14px;color:var(--admin-muted)}.admin-points-balance strong{color:var(--read-blue);font-size:34px;font-variant-numeric:tabular-nums}.admin-points-balance b{font-size:14px;color:var(--admin-muted)}
html body #root#root .admin-dashboard-screen .admin-points-card>button{min-height:42px;padding:9px 15px;border:1px solid color-mix(in srgb,var(--read-blue) 30%,var(--admin-line));border-radius:13px;background:var(--read-select);color:var(--read-blue);font-size:14px;font-weight:650;cursor:pointer}
html body #root#root .admin-dashboard-screen .admin-studio-module{gap:20px}
html body #root#root .admin-dashboard-screen .as-beta-users{grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));gap:16px}
html body #root#root .admin-dashboard-screen .as-beta-user{padding:22px;border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--read-control) 90%,white 10%),color-mix(in srgb,var(--read-select) 46%,var(--read-control)));box-shadow:0 12px 30px #1729450d,inset 0 1px #ffffffc4}
html body #root#root .admin-dashboard-screen .as-feature-choices{gap:9px;margin-top:18px}
html body #root#root .admin-dashboard-screen .as-feature-choices label{min-height:44px;padding:10px 13px;border-radius:13px;background:color-mix(in srgb,var(--read-select) 62%,transparent);font-size:14px}
html body #root#root .admin-dashboard-screen .as-feature-choices label.is-checked{box-shadow:inset 0 0 0 1px var(--read-blue)}
html body #root#root .admin-dashboard-screen .as-save{min-height:40px;padding:8px 15px;border-radius:13px;background:var(--read-select);border-color:color-mix(in srgb,var(--read-blue) 30%,var(--admin-line));font-size:14px;font-weight:600}
html body #root#root .admin-dashboard-screen .as-policy{padding:20px 22px;border-radius:20px;background:linear-gradient(120deg,color-mix(in srgb,var(--read-select) 70%,var(--read-control)),var(--read-control));font-size:15px}
.admin-ledger-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.admin-ledger-toolbar label{display:flex;align-items:center;gap:10px;font-weight:600}.admin-ledger-toolbar select{min-width:260px;padding:10px 14px;border:1px solid var(--admin-line);border-radius:13px;font:inherit}.admin-ledger-toolbar button,.admin-ledger-pagination button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid var(--admin-line);border-radius:13px;background:var(--read-control);color:var(--admin-text);font:inherit;cursor:pointer}.admin-ledger-count{color:var(--admin-muted);font-size:14px}.admin-ledger-cards{display:grid;gap:13px}.admin-ledger-card{padding:19px 21px;border:1px solid color-mix(in srgb,var(--admin-line) 78%,transparent);border-radius:19px;background:linear-gradient(130deg,color-mix(in srgb,var(--read-control) 90%,white 10%),color-mix(in srgb,var(--read-select) 34%,var(--read-control)));box-shadow:0 8px 24px #1729450a}.admin-ledger-card-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:13px;border-bottom:1px solid var(--admin-line)}.admin-ledger-kind{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:14px;font-weight:600;background:var(--admin-row)}.admin-ledger-kind.credit,.admin-ledger-amount.credit{color:var(--admin-credit)}.admin-ledger-kind.debit,.admin-ledger-amount.debit{color:var(--admin-debit)}.admin-ledger-amount{font-size:23px;font-variant-numeric:tabular-nums}.admin-ledger-amount small{font-size:13px;font-weight:500}.admin-ledger-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:15px 0}.admin-ledger-card-grid>div{display:flex;min-width:0;flex-direction:column;gap:5px}.admin-ledger-card-grid span,.admin-ledger-reason>span{font-size:13px;color:var(--admin-muted)}.admin-ledger-card-grid strong{font-size:14px;font-weight:550;color:var(--admin-text);overflow-wrap:anywhere}.admin-ledger-card-grid small{font-size:12px;color:var(--admin-muted)}.admin-ledger-card-grid i{font-style:normal;color:var(--admin-muted)}.admin-ledger-reason{padding-top:12px;border-top:1px solid var(--admin-line)}.admin-ledger-reason p{margin:6px 0 0;color:var(--admin-text);font-size:14px;line-height:1.65;overflow-wrap:anywhere}.admin-ledger-reason p small{display:block;margin-top:5px;color:var(--admin-muted);font-size:13px}.admin-ledger-empty,.admin-ledger-error{padding:26px;border:1px dashed var(--admin-line);border-radius:18px;text-align:center;color:var(--admin-muted)}.admin-ledger-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:20px 0}.admin-ledger-pagination span{color:var(--admin-muted);font-size:14px}
@media(max-width:900px){.admin-ledger-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body #root#root .admin-dashboard-screen :is(.admin-member-card,.admin-points-card,.as-beta-user){padding:17px;border-radius:18px}.admin-member-identity>strong,.admin-points-identity strong{font-size:16px}.admin-member-facts{margin:15px 0}.admin-ledger-card{padding:16px}.admin-ledger-card-grid{grid-template-columns:1fr 1fr}.admin-ledger-card-top{align-items:flex-start}.admin-ledger-amount{font-size:20px}.admin-ledger-toolbar label{width:100%;align-items:flex-start;flex-direction:column}.admin-ledger-toolbar select{width:100%;min-width:0}}

/* Employee cards now combine account actions, model access, and points at a glance. */
html body #root#root .admin-dashboard-screen .admin-members-module{gap:20px}
html body #root#root .admin-dashboard-screen .as-member-access-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,390px),1fr));gap:18px}
html body #root#root .admin-dashboard-screen .as-member-access-card{padding:22px 22px 18px;border-radius:24px}
html body #root#root .admin-dashboard-screen .as-member-access-card>header{align-items:center;flex-direction:row;gap:10px}
html body #root#root .admin-dashboard-screen .as-member-access-card .as-user-title{min-width:0;flex:1}
html body #root#root .admin-dashboard-screen .as-member-access-card .as-user-title>div{min-width:0}
html body #root#root .admin-dashboard-screen .as-member-access-card .as-user-title h3{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}
html body #root#root .admin-dashboard-screen .as-member-access-card .as-user-title p{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
html body #root#root .admin-dashboard-screen .as-member-access-card .admin-big-status{flex:none;white-space:nowrap}
.as-member-facts{display:grid;grid-template-columns:minmax(92px,120px) minmax(0,1fr);align-items:center;gap:10px 12px;margin:19px 0 16px;padding:14px 0;border-top:1px solid var(--as-line);border-bottom:1px solid var(--as-line)}
html body #root#root .admin-dashboard-screen .as-member-facts>span{font-size:14px;white-space:nowrap;color:var(--admin-muted)}
html body #root#root .admin-dashboard-screen .as-member-facts>strong{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:14px;color:var(--admin-text)}
.as-member-facts small{font-size:12px;font-weight:400;color:var(--admin-muted)}
.as-access-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 9px}.as-access-title>strong{font-size:14px;color:var(--admin-text)}.as-access-title>span{font-size:12px;color:var(--admin-muted)}
.as-feature-carousel{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:6px}
html body #root#root .admin-dashboard-screen .as-feature-arrow{display:grid;place-items:center;width:32px;height:36px;padding:0;border:1px solid var(--admin-line);border-radius:11px;background:var(--read-control);color:var(--read-blue);cursor:pointer}
.as-feature-rail{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:2px 1px 8px;overscroll-behavior-inline:contain}.as-feature-rail::-webkit-scrollbar{display:none}
html body #root#root .admin-dashboard-screen .as-feature-tile{display:flex;flex:0 0 132px;min-width:0;min-height:84px;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:9px 8px;border:1px solid var(--admin-line);border-radius:16px;background:color-mix(in srgb,var(--read-control) 86%,transparent);color:var(--admin-muted);cursor:pointer;scroll-snap-align:start;transition:background .18s,border-color .18s,transform .18s}
html body #root#root .admin-dashboard-screen .as-feature-tile:hover{transform:translateY(-1px);border-color:var(--read-blue)}
html body #root#root .admin-dashboard-screen .as-feature-tile.is-checked{border-color:var(--read-blue);background:var(--read-select);color:var(--read-blue);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--read-blue) 20%,transparent)}
html body #root#root .admin-dashboard-screen .as-feature-tile:has(input:disabled){opacity:.55;cursor:not-allowed}
html body #root#root .admin-dashboard-screen .as-feature-tile input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
html body #root#root .admin-dashboard-screen .as-feature-tile:has(input:focus-visible){outline:3px solid color-mix(in srgb,var(--read-blue) 48%,transparent);outline-offset:2px}
html body #root#root .admin-dashboard-screen .as-feature-tile img{width:28px;height:28px;object-fit:contain}.as-feature-tile svg{width:25px;height:25px}
html body #root#root .admin-dashboard-screen .as-feature-tile>span{font-size:12px;font-weight:600;white-space:nowrap}
.as-member-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:13px}
html body #root#root .admin-dashboard-screen .as-member-actions button{min-width:0;min-height:40px;padding:7px 8px;border:1px solid var(--admin-line);border-radius:13px;background:var(--read-control);color:var(--admin-text);font-size:13px;font-weight:600;white-space:nowrap}
html body #root#root .admin-dashboard-screen .as-member-actions button:hover:not(:disabled){border-color:var(--read-blue);background:var(--read-select)}
html body #root#root .admin-dashboard-screen .as-member-actions button.is-danger{color:var(--admin-debit);border-color:color-mix(in srgb,var(--admin-debit) 28%,var(--admin-line))}
html body #root#root .admin-dashboard-screen .as-member-actions button:disabled{opacity:.48;cursor:not-allowed}
.as-member-save{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.as-member-save>span{font-size:12px;line-height:1.5;color:var(--admin-muted)}
html body #root#root .admin-dashboard-screen .as-member-save .as-save{flex:none;min-height:38px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--read-blue) 32%,var(--admin-line));border-radius:12px;background:var(--read-select);font-size:13px}
html body #root#root .admin-dashboard-screen .admin-points-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:18px}
html body #root#root .admin-dashboard-screen .admin-points-card{display:flex;align-items:center;flex-direction:column;text-align:center;min-height:310px;padding:26px 23px 22px;border-radius:24px;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--read-select) 60%,transparent),transparent 68%),linear-gradient(150deg,color-mix(in srgb,var(--read-control) 92%,white 8%),color-mix(in srgb,var(--read-select) 36%,var(--read-control)))}
html body #root#root .admin-dashboard-screen .admin-points-identity{align-items:center;flex-direction:column;gap:10px;width:100%}
html body #root#root .admin-dashboard-screen .admin-points-identity .admin-member-avatar{width:58px;height:58px;border-radius:20px;font-size:17px}
html body #root#root .admin-dashboard-screen .admin-points-identity .admin-points-symbol{background:linear-gradient(145deg,#ffffff,var(--read-select));box-shadow:0 8px 20px color-mix(in srgb,var(--read-blue) 18%,transparent);color:var(--read-blue)}
html body #root#root .admin-dashboard-screen .admin-points-identity>div{align-items:center}
html body #root#root .admin-dashboard-screen .admin-points-identity strong{font-size:18px}
html body #root#root .admin-dashboard-screen .admin-points-identity>div>span{font-size:13px}
html body #root#root .admin-dashboard-screen .admin-points-balance{width:100%;box-sizing:border-box;margin:20px 0 16px;padding:17px;border:1px solid color-mix(in srgb,var(--read-blue) 8%,transparent);border-radius:18px;background:color-mix(in srgb,var(--read-select) 57%,var(--read-control))}
html body #root#root .admin-dashboard-screen .admin-points-balance strong{display:block;margin:3px 0;font-size:36px;line-height:1.15}
html body #root#root .admin-dashboard-screen .admin-points-card>button{width:100%;margin-top:auto;min-height:44px;border-radius:14px;font-size:14px}
@media(max-width:650px){html body #root#root .admin-dashboard-screen .as-member-access-grid{grid-template-columns:1fr}.as-member-facts{grid-template-columns:minmax(86px,110px) minmax(0,1fr)}.as-member-actions{grid-template-columns:1fr 1fr 1fr}.as-member-save>span{font-size:11px}}
