:root{
  --lime:#c8ff3d;--lime-strong:#a9e81f;--lime-soft:#efffd0;--ink:#151515;--muted:#6a675f;--cream:#f5f2eb;--paper:#fff;--line:#dedbd2;--line-dark:#2d2d2a;--danger:#b42318;--warning:#b7791f;--ok:#18794e;--radius:22px;--shadow:0 22px 60px rgba(24,24,20,.08)
}
*{box-sizing:border-box}html{background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{margin:0;min-height:100vh;background:var(--cream)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}.eyebrow{font-size:.72rem;letter-spacing:.16em;font-weight:700;color:#69675f}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--lime-strong);box-shadow:0 0 0 5px rgba(200,255,61,.18);display:inline-block}.login-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 50% 96%,rgba(200,255,61,.36),transparent 24%),linear-gradient(180deg,#fbfaf6 0,#f1eee5 100%)}.login-card{width:min(540px,100%);background:rgba(255,255,255,.94);border:1px solid rgba(21,21,21,.11);border-radius:30px;padding:44px;box-shadow:var(--shadow);position:relative;overflow:hidden}.login-card:after{content:"";position:absolute;width:260px;height:260px;right:-130px;bottom:-160px;border-radius:50%;background:radial-gradient(circle,rgba(200,255,61,.62),transparent 67%);pointer-events:none}.login-logo{width:154px;height:auto;margin-bottom:34px}.login-card h1{font-size:clamp(2rem,5vw,3.25rem);line-height:.98;letter-spacing:-.055em;margin:10px 0 16px}.login-card>p{font-size:1.02rem;line-height:1.65;color:var(--muted);max-width:46ch}.login-form{display:grid;gap:10px;margin-top:28px}.login-form label,.form-grid label,.admin-dialog>form>label{font-size:.82rem;font-weight:650;color:#4d4a43}.password-wrap{display:flex;gap:8px}.password-wrap input{flex:1}.login-form input,.form-grid input,.form-grid select,.admin-dialog input,.admin-dialog select,.admin-dialog textarea,.filter-bar input,.filter-bar select,.drawer-body input,.drawer-body select,.drawer-body textarea{width:100%;border:1px solid #d5d1c7;background:#fff;border-radius:13px;padding:12px 14px;outline:none;transition:.18s}.login-form input:focus,.form-grid input:focus,.form-grid select:focus,.admin-dialog input:focus,.admin-dialog select:focus,.admin-dialog textarea:focus,.filter-bar input:focus,.filter-bar select:focus,.drawer-body input:focus,.drawer-body select:focus,.drawer-body textarea:focus{border-color:#97c900;box-shadow:0 0 0 4px rgba(200,255,61,.24)}.primary-button,.secondary-button,.ghost-button,.icon-button,.text-button,.menu-button{border:0;border-radius:12px;font-weight:700;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button{background:var(--lime);padding:12px 17px;color:#131313;box-shadow:0 8px 22px rgba(147,193,0,.14)}.primary-button:hover{transform:translateY(-1px);box-shadow:0 11px 25px rgba(147,193,0,.2)}.secondary-button{background:#fff;border:1px solid #d9d6cd;padding:11px 15px}.secondary-button:hover{background:#faf9f5}.ghost-button{background:transparent;padding:10px 12px;color:#625f58}.ghost-button:hover{background:#ece9e1}.icon-button{background:#f0eee7;padding:10px 12px}.text-button{background:transparent;color:#5f7800;padding:4px}.text-button:hover{text-decoration:underline}.wide{width:100%;text-align:center}.small{padding:8px 11px;font-size:.8rem}.form-error{margin-top:13px;border-radius:13px;padding:11px 13px;background:#fff0ee;color:var(--danger);font-size:.88rem}.security-note{margin-top:26px;padding-top:20px;border-top:1px solid #e3e0d8;display:flex;align-items:center;gap:10px;color:#66635d;font-size:.82rem}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;background:#171716;color:#f8f7f2;padding:26px 18px;display:flex;flex-direction:column;border-right:1px solid #292926;z-index:30}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:5px 9px 26px}.sidebar-brand img{width:122px;filter:none}.sidebar-brand span{font-size:.7rem;border:1px solid #44443e;color:#c9c7c0;border-radius:999px;padding:4px 7px;text-transform:uppercase;letter-spacing:.1em}.admin-nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#aaa8a0;border-radius:14px;padding:12px 13px;text-align:left;font-weight:650}.nav-item span[data-icon]{width:20px;height:20px;display:grid;place-items:center}.nav-item svg{width:19px;height:19px;stroke:currentColor}.nav-item:hover{background:#21211f;color:#f5f4ef}.nav-item.active{background:var(--lime);color:#141414}.sidebar-foot{margin-top:auto;display:grid;gap:12px;padding:18px 4px 2px}.sidebar-foot .secondary-button{background:#20201e;border-color:#3a3a35;color:#f7f6f2}.version{text-align:center;color:#77746f;font-size:.72rem}.admin-main{min-width:0}.topbar{height:92px;display:flex;align-items:center;gap:18px;justify-content:space-between;padding:18px clamp(22px,4vw,54px);border-bottom:1px solid #dfdcd3;background:rgba(245,242,235,.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}.topbar h1{margin:4px 0 0;font-size:1.55rem;letter-spacing:-.03em}.breadcrumb{font-size:.66rem;letter-spacing:.17em;color:#7b786f;font-weight:750}.topbar-actions{display:flex;align-items:center;gap:8px}.menu-button{display:none;background:#fff;border:1px solid #ddd9d0;padding:10px 13px}.menu-button svg{width:20px;height:20px}.content{padding:34px clamp(22px,4vw,54px) 72px;max-width:1680px;margin:0 auto}.view{display:none}.view.active{display:block}.hero-strip{min-height:220px;border-radius:30px;background:#181817;color:#f8f7f3;padding:34px clamp(28px,4vw,50px);display:flex;align-items:flex-end;justify-content:space-between;gap:30px;position:relative;overflow:hidden;margin-bottom:22px}.hero-strip:after{content:"";position:absolute;width:520px;height:310px;right:-130px;bottom:-245px;background:radial-gradient(ellipse,rgba(200,255,61,.92),rgba(200,255,61,.24) 34%,transparent 70%);filter:blur(2px);transform:rotate(-8deg)}.hero-strip>div{position:relative;z-index:1}.hero-strip .eyebrow{color:#aaa89f}.hero-strip h2{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.055em;line-height:1;margin:8px 0 12px;max-width:15ch}.hero-strip p{color:#c0beb6;max-width:62ch;margin:0;line-height:1.55}.hero-live{align-self:flex-start;display:flex;align-items:center;gap:10px;background:#242421;border:1px solid #383833;border-radius:999px;padding:9px 13px;font-size:.78rem;color:#cfcdc5}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.kpi-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi-card{background:#fff;border:1px solid #dedbd2;border-radius:20px;padding:20px;min-height:145px;display:flex;flex-direction:column;justify-content:space-between}.kpi-card .kpi-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.kpi-card .kpi-icon{width:40px;height:40px;background:var(--lime-soft);border-radius:12px;display:grid;place-items:center}.kpi-card .kpi-icon svg{width:20px;height:20px;stroke:#5f7900}.kpi-card .label{color:#6e6a62;font-size:.8rem;font-weight:650}.kpi-card strong{font-size:clamp(1.85rem,3vw,2.5rem);letter-spacing:-.05em}.kpi-card small{color:#817d74;line-height:1.4}.overview-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:16px;margin-bottom:16px}.panel,.table-card{background:#fff;border:1px solid #dedbd2;border-radius:22px}.panel{padding:23px}.panel-head,.section-head.split{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-head{padding-bottom:18px}.panel-head h3{margin:5px 0 0;font-size:1.15rem;letter-spacing:-.025em}.muted-pill,.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;background:#f1efe8;color:#68655e;font-size:.73rem;font-weight:700;white-space:nowrap}.status-pill.active,.status-pill.green{background:#ebf8ef;color:#207448}.status-pill.trial{background:#f1ffd1;color:#526c00}.status-pill.cancelled,.status-pill.red{background:#fff0ed;color:#9f2e23}.status-pill.suspended,.status-pill.orange{background:#fff3df;color:#a05b13}.status-pill.complimentary,.status-pill.yellow{background:#fff8ce;color:#7c6900}.plan-mix{display:grid;gap:14px}.plan-row{display:grid;grid-template-columns:100px 1fr 50px;align-items:center;gap:12px;font-size:.82rem}.plan-bar{height:9px;background:#eeece5;border-radius:999px;overflow:hidden}.plan-bar i{display:block;height:100%;background:linear-gradient(90deg,#bce92a,var(--lime));border-radius:inherit;min-width:2px}.service-mini-list,.stack-list{display:grid;gap:10px}.mini-row,.stack-row{border:1px solid #ebe8e0;border-radius:15px;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px}.stack-row .primary{font-weight:700;font-size:.88rem}.stack-row .secondary,.mini-row .secondary{font-size:.76rem;color:#77736b;margin-top:3px}.stack-row .meta,.mini-row .meta{font-size:.74rem;color:#77736b;text-align:right;white-space:nowrap}.section-head{margin-bottom:20px}.section-head h2{font-size:clamp(1.8rem,3.3vw,2.8rem);letter-spacing:-.045em;margin:7px 0 8px}.section-head p{margin:0;color:#6b675f;line-height:1.5}.filter-bar{display:flex;gap:10px;margin-bottom:13px}.search-box{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d9d6cd;border-radius:13px;padding-left:12px}.search-box input{border:0!important;box-shadow:none!important;padding-left:4px}.search-box svg{width:18px;height:18px;stroke:#757169}.filter-bar select{width:auto;min-width:150px}.table-card{overflow:hidden}.table-scroll{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;min-width:900px}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid #ece9e1;vertical-align:middle}th{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:#7d7971;background:#fbfaf7;position:sticky;top:0}td{font-size:.82rem}.user-cell{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:11px;background:var(--lime-soft);display:grid;place-items:center;font-weight:800;color:#516900;flex:0 0 auto}.user-cell strong{display:block}.user-cell small{display:block;color:#77736b;margin-top:2px}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;font-size:.78rem;color:#6f6b63}.table-footer>div{display:flex;gap:7px}.mini-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.mini-kpi{background:#fff;border:1px solid #dedbd2;border-radius:18px;padding:16px}.mini-kpi span{font-size:.72rem;color:#77736b}.mini-kpi strong{display:block;font-size:1.65rem;margin-top:5px}.info-callout{margin-top:14px;border:1px solid #d8e9a8;background:#f8ffe9;border-radius:18px;padding:16px 18px;display:flex;gap:12px;align-items:flex-start}.info-callout>span{width:34px;height:34px;border-radius:11px;background:var(--lime);display:grid;place-items:center;flex:0 0 auto}.info-callout svg{width:18px;height:18px}.info-callout strong{font-size:.88rem}.info-callout p{font-size:.78rem;color:#626058;margin:4px 0 0;line-height:1.45}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.service-card{background:#fff;border:1px solid #dedbd2;border-radius:20px;padding:18px}.service-card .service-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.service-card .service-icon{width:40px;height:40px;border-radius:12px;background:#f1efe9;display:grid;place-items:center}.service-card svg{width:20px;height:20px;stroke:#45433e}.service-card strong{display:block;margin-top:20px}.service-card p{margin:4px 0 0;color:#77736b;font-size:.78rem}.email-panel{margin-top:16px}.email-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.email-card{border:1px solid #e6e3da;border-radius:15px;padding:13px}.email-card strong{display:block;font-size:.82rem}.email-card span{display:block;color:#6e6a62;font-size:.74rem;margin-top:4px;overflow-wrap:anywhere}.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.3);backdrop-filter:blur(3px);z-index:50}.user-drawer{position:fixed;right:0;top:0;bottom:0;width:min(620px,100vw);background:#f7f5ef;z-index:60;box-shadow:-24px 0 70px rgba(0,0,0,.15);overflow:auto}.drawer-head{position:sticky;top:0;background:rgba(247,245,239,.94);backdrop-filter:blur(14px);display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px 26px 18px;border-bottom:1px solid #dedbd2;z-index:2}.drawer-head h2{margin:5px 0 4px;font-size:1.8rem;letter-spacing:-.04em}.drawer-head p{margin:0;color:#6c6860}.drawer-body{padding:22px 26px 50px;display:grid;gap:14px}.drawer-section{background:#fff;border:1px solid #dfdcd3;border-radius:20px;padding:18px}.drawer-section h3{margin:0 0 14px;font-size:1rem}.drawer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.drawer-stat{background:#f7f5ef;border-radius:13px;padding:12px}.drawer-stat span{display:block;color:#77736b;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}.drawer-stat strong{display:block;margin-top:5px;font-size:1rem}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:repeat(2,1fr)}.form-grid label,.drawer-body label{display:grid;gap:7px}.form-grid small{color:#807c73}.drawer-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.danger-button{background:#fff0ed;color:#9f2e23;border:1px solid #ffd8d2;border-radius:12px;padding:11px 14px;font-weight:700}.admin-dialog{width:min(720px,calc(100vw - 30px));border:0;border-radius:26px;padding:0;box-shadow:0 30px 90px rgba(0,0,0,.22);background:#faf9f5}.admin-dialog::backdrop{background:rgba(0,0,0,.38);backdrop-filter:blur(3px)}.admin-dialog form{padding:24px;display:grid;gap:16px}.small-dialog{width:min(520px,calc(100vw - 30px))}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.dialog-head h2{margin:6px 0 0;letter-spacing:-.035em}.admin-dialog fieldset{border:1px solid #dfdcd3;border-radius:15px;padding:13px 14px}.admin-dialog legend{font-size:.74rem;font-weight:700;color:#66625b;padding:0 6px}.check-row{display:flex;gap:18px;flex-wrap:wrap}.check-row label,.switch-line{display:flex!important;align-items:center;gap:8px}.check-row input,.switch-line input{width:auto!important}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.toast{position:fixed;right:24px;bottom:24px;z-index:100;background:#171716;color:white;border:1px solid #34342f;border-radius:15px;padding:12px 15px;box-shadow:0 16px 50px rgba(0,0,0,.2);max-width:min(420px,calc(100vw - 48px));font-size:.84rem}.toast.success{border-color:#557b19}.toast.error{border-color:#8e3027}.storage-meter{height:7px;background:#eeece5;border-radius:999px;overflow:hidden;margin-top:7px}.storage-meter i{display:block;height:100%;background:var(--lime-strong);border-radius:inherit}.copy-button{border:0;background:#f0eee7;border-radius:9px;padding:7px 9px;font-size:.72rem;font-weight:700}.nowrap{white-space:nowrap}.muted{color:#77736b}.empty-state{text-align:center;padding:28px 16px;color:#77736b}.score{font-weight:800}.score small{font-weight:600;color:#77736b}.review-comment{color:#55524c;font-size:.8rem;line-height:1.45;margin-top:6px}.service-status-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#8e8a82}.service-status-dot.green{background:#2ab26b}.service-status-dot.yellow{background:#d1ae16}.service-status-dot.orange{background:#e47e1b}.service-status-dot.red{background:#da4539}
@media(max-width:1180px){.kpi-grid,.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.email-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.admin-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;bottom:0;width:270px;transform:translateX(-105%);transition:.22s ease;box-shadow:24px 0 70px rgba(0,0,0,.25)}.sidebar.open{transform:translateX(0)}.menu-button{display:block}.topbar{padding-inline:22px}.content{padding-inline:22px}.overview-grid{grid-template-columns:1fr}.hero-strip{min-height:200px}.email-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.topbar{height:auto;min-height:82px;padding:14px 16px}.topbar-actions .secondary-button{display:inline-flex}.content{padding:20px 14px 60px}.hero-strip{padding:26px 22px;display:block}.hero-live{display:inline-flex;margin-top:22px}.kpi-grid,.kpi-grid.compact,.service-grid,.mini-kpis{grid-template-columns:1fr 1fr}.filter-bar{display:grid;grid-template-columns:1fr 1fr}.filter-bar .search-box{grid-column:1/-1}.filter-bar select{min-width:0;width:100%}.section-head.split{display:block}.section-head.split>.primary-button{margin-top:14px}.email-grid{grid-template-columns:1fr}.form-grid.two{grid-template-columns:1fr}.user-drawer{width:100vw}.drawer-head,.drawer-body{padding-left:18px;padding-right:18px}.drawer-stats{grid-template-columns:1fr 1fr}.login-card{padding:30px 24px}.table-footer{align-items:flex-start;gap:10px}.admin-dialog form{padding:19px}.plan-row{grid-template-columns:86px 1fr 42px}}
@media(max-width:460px){.kpi-grid,.kpi-grid.compact,.service-grid,.mini-kpis{grid-template-columns:1fr}.topbar h1{font-size:1.25rem}.topbar-actions .ghost-button{padding:9px 8px;font-size:.78rem}.hero-strip{border-radius:22px;min-height:240px}.hero-strip h2{font-size:2.2rem}.panel,.table-card{border-radius:18px}.filter-bar{grid-template-columns:1fr}.filter-bar .search-box{grid-column:auto}.drawer-stats{grid-template-columns:1fr}.dialog-actions{display:grid;grid-template-columns:1fr 1fr}.dialog-actions button{width:100%}.login-shell{padding:16px}.login-card{border-radius:24px}.security-note{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* V3.8.2 operations + audit workspace */
.ops-grid{align-items:start}.ops-grid>.panel{min-width:0}.ops-grid .table-scroll{max-height:560px}.compact-table{min-width:720px}.compact-table th,.compact-table td{padding:11px 12px}.inline-filter{width:auto!important;min-width:120px;padding:8px 34px 8px 10px!important;font-size:.76rem!important}.ops-mini{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 12px}.ops-mini .mini-kpi{padding:12px 13px;border-radius:14px}.ops-mini .mini-kpi strong{font-size:1.25rem}.email-value{overflow-wrap:anywhere}.log-error{max-width:420px;margin-top:4px;font-size:.7rem;line-height:1.35;color:#9f2e23}.activity-filter{max-width:720px}.status-pill.urgent{background:#fff3df;color:#a05b13}.status-pill.critical{background:#fff0ed;color:#9f2e23}
@media(max-width:1180px){.ops-grid{grid-template-columns:1fr}.ops-grid .table-scroll{max-height:none}}
@media(max-width:720px){.ops-mini{grid-template-columns:1fr 1fr}.compact-table{min-width:680px}.activity-filter{display:block}.activity-filter .search-box{width:100%}}
@media(max-width:460px){.ops-mini{grid-template-columns:1fr}.inline-filter{max-width:118px}.compact-table{min-width:620px}}

.sidebar{overflow-y:auto;overscroll-behavior:contain}

/* V3.8.3 live infrastructure capacity */
.capacity-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:30px 0 12px}.capacity-head:first-of-type{margin-top:0}.capacity-head h3{margin:5px 0 0;font-size:1.15rem;letter-spacing:-.025em}.health-head{margin-top:28px}.capacity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.capacity-card{background:#fff;border:1px solid #dedbd2;border-radius:22px;padding:20px;min-width:0}.capacity-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.capacity-icon{width:42px;height:42px;border-radius:13px;background:var(--lime-soft);display:grid;place-items:center;color:#587100}.capacity-icon svg{width:21px;height:21px}.capacity-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:19px}.capacity-title>strong{font-size:1rem}.capacity-title>span{font-size:.72rem;color:#817d74;text-align:right}.capacity-remaining{display:flex;align-items:baseline;gap:8px;margin-top:13px}.capacity-remaining b{font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.055em;line-height:1}.capacity-remaining span{font-size:.76rem;color:#77736b}.capacity-meter{height:9px;background:#eeece5;border-radius:999px;overflow:hidden;margin-top:16px}.capacity-meter i{display:block;height:100%;border-radius:inherit;background:#38b879;min-width:2px;transition:width .25s ease}.capacity-meter i.yellow{background:#d1ae16}.capacity-meter i.orange{background:#e47e1b}.capacity-meter i.red{background:#da4539}.capacity-numbers{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;margin-top:10px;color:#77736b;font-size:.7rem}.capacity-numbers span:nth-child(2){text-align:center}.capacity-numbers span:last-child{text-align:right}.capacity-numbers b{color:#3f3d38;font-weight:750}.capacity-secondary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:10px 12px;background:#f7f5ef;border-radius:12px;font-size:.74rem}.capacity-secondary span{color:#77736b}.capacity-reset{font-size:.7rem;color:#77736b;margin-top:11px}.capacity-note{font-size:.69rem!important;line-height:1.45!important;color:#817d74!important;margin:10px 0 0!important}.platform-capacity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#1b1b19;color:#f7f6f1;border-radius:20px;padding:5px;margin-bottom:18px}.platform-capacity>div{padding:16px 18px;border-right:1px solid #353531;min-width:0}.platform-capacity>div:last-child{border-right:0}.platform-capacity span,.platform-capacity small{display:block;color:#9f9c94;font-size:.7rem}.platform-capacity strong{display:block;font-size:1.15rem;margin:5px 0 3px;overflow-wrap:anywhere}.platform-capacity small{line-height:1.35}.capacity-card .status-pill{max-width:58%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1180px){.capacity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.capacity-card:last-child{grid-column:1/-1}.capacity-card:last-child .capacity-title,.capacity-card:last-child .capacity-remaining{max-width:640px}}
@media(max-width:720px){.capacity-grid{grid-template-columns:1fr}.capacity-card:last-child{grid-column:auto}.platform-capacity{grid-template-columns:1fr}.platform-capacity>div{border-right:0;border-bottom:1px solid #353531}.platform-capacity>div:last-child{border-bottom:0}.capacity-head{align-items:flex-start}.capacity-head .muted-pill{margin-top:1px}.capacity-numbers{grid-template-columns:1fr 1fr}.capacity-numbers span:last-child{grid-column:1/-1;text-align:left}.capacity-card .status-pill{max-width:66%}}
@media(max-width:460px){.capacity-head{display:block}.capacity-head .muted-pill{margin-top:10px}.capacity-card{padding:17px}.capacity-top{align-items:flex-start}.capacity-title{display:block}.capacity-title>span{display:block;text-align:left;margin-top:4px}.capacity-remaining b{font-size:2rem}}
.capacity-detail{margin-top:11px;color:#66635d;font-size:.72rem;line-height:1.4}

/* V3.8.6 photographer account intelligence + permanent public IDs and adjustment controls */
.user-drawer{width:min(860px,100vw)}
.account-hero-card{background:#171716;color:#f8f7f2;border:1px solid #2e2e2a;border-radius:24px;padding:20px;position:relative;overflow:hidden}
.account-hero-card:after{content:"";position:absolute;width:320px;height:170px;right:-90px;bottom:-130px;background:radial-gradient(ellipse,rgba(200,255,61,.5),transparent 70%);pointer-events:none}
.account-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:relative;z-index:1}.account-hero-top p{margin:8px 0 0;color:#aaa89f;font-size:.78rem}.account-export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.account-export-actions .secondary-button{background:#242421;border-color:#42423c;color:#fff}.account-export-actions .primary-button{box-shadow:none}
.account-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:18px;position:relative;z-index:1}.account-kpi{background:#222220;border:1px solid #343431;border-radius:15px;padding:13px;min-width:0}.account-kpi>span,.account-kpi>small{display:block;color:#9f9c94;font-size:.66rem;line-height:1.35}.account-kpi>strong{display:block;margin:5px 0 6px;font-size:1rem;letter-spacing:-.025em;overflow-wrap:anywhere}.account-meter{height:6px;background:#353531;border-radius:999px;overflow:hidden;margin:7px 0}.account-meter i{display:block;height:100%;background:var(--lime);border-radius:inherit;min-width:2px}
.drawer-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}.drawer-tabs::-webkit-scrollbar{display:none}.drawer-tab{border:1px solid #dcd8cf;background:#fff;color:#66625b;border-radius:999px;padding:9px 12px;font-size:.74rem;font-weight:750;white-space:nowrap}.drawer-tab.active{background:var(--lime);border-color:#b3e826;color:#151515}.drawer-tab-panel{display:none;gap:14px}.drawer-tab-panel.active{display:grid}.drawer-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.drawer-section-head h3{margin:5px 0 0}.drawer-section-head p{margin:6px 0 0;color:#77736b;font-size:.76rem;line-height:1.45}.drawer-section-head.split{align-items:flex-start}
.account-fields-grid,.subscription-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.account-field{border:1px solid #ebe8df;background:#faf9f5;border-radius:14px;padding:12px;min-width:0}.account-field>span{display:block;font-size:.64rem;text-transform:uppercase;letter-spacing:.07em;color:#817d74}.account-field>strong{display:block;margin-top:5px;font-size:.85rem;overflow-wrap:anywhere}.account-field>small{display:block;margin-top:4px;color:#77736b;font-size:.68rem;line-height:1.35}.admin-control-grid{margin-top:14px}
.project-history-list{display:grid;gap:10px}.project-history-card{border:1px solid #e2ded5;border-radius:17px;padding:14px;background:#fbfaf7}.project-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-card-head strong{font-size:.9rem}.project-card-head small{display:block;margin-top:4px;color:#77736b;font-size:.7rem}.project-metrics{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.project-metrics span{background:#f0eee7;border-radius:999px;padding:6px 9px;color:#6b675f;font-size:.68rem}.project-metrics b{color:#32302c}.project-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #ebe7de}.project-meta-grid>div{min-width:0}.project-meta-grid .full{grid-column:1/-1}.project-meta-grid span{display:block;color:#817d74;font-size:.61rem;text-transform:uppercase;letter-spacing:.05em}.project-meta-grid strong{display:block;margin-top:4px;font-size:.72rem;overflow-wrap:anywhere}.project-id{margin-top:10px;color:#99958c;font-size:.62rem;overflow-wrap:anywhere}
.email-summary-pills{display:flex;gap:6px;flex-wrap:wrap}.email-history-list{display:grid;gap:8px}.email-history-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:10px;border:1px solid #e8e4db;border-radius:14px;padding:11px 12px}.email-history-row .service-status-dot{margin-top:5px}.email-history-row strong{display:block;font-size:.78rem}.email-history-row small{display:block;color:#77736b;font-size:.68rem;margin-top:3px;line-height:1.35;overflow-wrap:anywhere}.email-history-row em{display:block;color:#9f2e23;font-style:normal;font-size:.65rem;margin-top:4px}.email-history-row time,.timeline-row time,.admin-note-card time{font-size:.64rem;color:#817d74;white-space:nowrap}
.review-history-list{display:grid;gap:9px}.review-history-card{border:1px solid #e5e1d8;border-radius:15px;padding:13px}.review-history-card>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.review-history-card strong{font-size:.8rem}.review-history-card small{display:block;color:#77736b;font-size:.68rem;margin-top:3px}.review-scores{display:flex;gap:8px!important;margin-top:10px!important;justify-content:flex-start!important}.review-scores span{background:var(--lime-soft);border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:800}.review-scores small{display:inline;font-weight:650;color:#627000}.review-history-card p{margin:10px 0 0;color:#55524c;font-size:.74rem;line-height:1.45}
.account-timeline{display:grid}.timeline-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;position:relative;padding:9px 0}.timeline-row:not(:last-child):before{content:"";position:absolute;left:5px;top:22px;bottom:-8px;width:1px;background:#dedbd2}.timeline-dot{width:11px;height:11px;border-radius:50%;background:var(--lime-strong);box-shadow:0 0 0 4px #f3f8d9;margin-top:4px;z-index:1}.timeline-row strong{font-size:.77rem}.timeline-row p{margin:3px 0 0;color:#77736b;font-size:.68rem;line-height:1.4;overflow-wrap:anywhere}
.admin-notes-list{display:grid;gap:8px;margin-top:15px}.admin-note-card{border:1px solid #dce8b5;background:#fbffed;border-radius:14px;padding:12px}.admin-note-card p{margin:0 0 7px;font-size:.76rem;line-height:1.5;white-space:pre-wrap}.admin-note-card time{display:block}.drawer-section textarea{resize:vertical}
@media(max-width:920px){.account-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.account-hero-top{display:block}.account-export-actions{justify-content:flex-start;margin-top:14px}.account-fields-grid,.subscription-summary-grid{grid-template-columns:1fr}.email-history-row,.timeline-row{grid-template-columns:10px minmax(0,1fr)}.email-history-row time,.timeline-row time{grid-column:2;white-space:normal}.project-card-head{align-items:center}}
@media(max-width:460px){.account-kpi-grid{grid-template-columns:1fr}.account-export-actions{display:grid;grid-template-columns:1fr 1fr}.account-export-actions button{width:100%}.project-meta-grid{grid-template-columns:1fr 1fr}.project-metrics{gap:5px}.drawer-tabs{margin-inline:-2px}.drawer-tab{padding:8px 10px}.review-history-card>div:first-child{display:block}.review-scores{margin-top:9px!important}}

/* V3.8.6 account references + immutable adjustment history */
.galivue-ref{color:#657f00!important;font-size:.7rem!important;font-weight:760!important;letter-spacing:.04em;margin-top:3px}.adjustment-filter{grid-template-columns:minmax(260px,1.5fr) minmax(150px,.7fr) minmax(150px,.7fr) minmax(125px,.55fr) minmax(125px,.55fr)}.date-filter{display:grid;gap:4px;font-size:.66rem;font-weight:700;color:#77736b;text-transform:uppercase;letter-spacing:.05em}.date-filter input{padding:10px 11px!important}.adjustment-undone{opacity:.62}.adjustment-undone td{text-decoration:none}.adjustment-mini.is-undone{opacity:.65}.adjustment-mini .secondary{line-height:1.45}@media(max-width:1180px){.adjustment-filter{grid-template-columns:1fr 1fr 1fr}.adjustment-filter .search-box{grid-column:1/-1}}@media(max-width:720px){.adjustment-filter{grid-template-columns:1fr 1fr}.adjustment-filter .search-box{grid-column:1/-1}}@media(max-width:460px){.adjustment-filter{grid-template-columns:1fr}.adjustment-filter .search-box{grid-column:auto}}

/* V3.8.9 subscription lifecycle history */
.subscription-history-list{display:grid;gap:8px}.subscription-event-card{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid #e6e2d8;background:#faf9f5;border-radius:14px;padding:12px}.subscription-event-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;background:#8e8a82}.subscription-event-dot.green{background:#75a51e}.subscription-event-dot.yellow{background:#d1ae16}.subscription-event-dot.red{background:#da4539}.subscription-event-card strong{display:block;font-size:.8rem}.subscription-event-card small,.subscription-event-card em{display:block;margin-top:3px;color:#77736b;font-size:.7rem;line-height:1.4;font-style:normal;overflow-wrap:anywhere}.subscription-event-card time{font-size:.68rem;color:#77736b;white-space:nowrap}.subscription-summary-grid .account-field:nth-last-child(-n+2){background:#fbffed;border-color:#dce8b5}
@media(max-width:720px){.subscription-event-card{grid-template-columns:10px minmax(0,1fr)}.subscription-event-card time{grid-column:2;white-space:normal}}

/* V3.8.12 — subscriber quick scan + journey controls */
.subscriber-section-head{align-items:flex-start}
.subscriber-head-tools{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:720px}
.subscriber-journey-summary{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.subscriber-journey-chip{appearance:none;border:1px solid #d8d2c7;background:#fff;border-radius:14px;padding:8px 10px;display:flex;align-items:center;gap:8px;font:inherit;cursor:pointer;color:#151515;white-space:nowrap}
.subscriber-journey-chip span{font-size:11px;font-weight:800;color:#625e57}
.subscriber-journey-chip b{font-size:13px}
.subscriber-journey-chip:hover,.subscriber-journey-chip.active{border-color:#a7e71b;background:#efffd3;box-shadow:0 0 0 2px #c8ff3d55}
#view-subscribers .filter-bar{grid-template-columns:minmax(280px,1fr) repeat(3,minmax(140px,180px))}
#view-subscribers .table-scroll{overflow:auto}
#view-subscribers table{min-width:1420px}
.subscriber-journey,.subscriber-billing,.subscriber-payment,.subscriber-storage,.subscriber-renewal{display:grid;gap:3px;min-width:0}
.subscriber-journey strong,.subscriber-billing strong,.subscriber-payment strong,.subscriber-storage strong,.subscriber-renewal strong{font-size:12px;line-height:1.3}
.subscriber-journey small,.subscriber-billing small,.subscriber-payment small,.subscriber-storage small,.subscriber-renewal small{font-size:10px;color:#79746c;line-height:1.25}
.subscriber-journey .journey-pending,.subscriber-renewal small{color:#6b8d24;font-weight:800}
.subscriber-storage{min-width:145px}.subscriber-storage .storage-meter{margin-top:2px}
@media(max-width:1180px){.subscriber-section-head{display:grid!important;grid-template-columns:1fr}.subscriber-head-tools{justify-content:flex-start;max-width:none}.subscriber-journey-summary{justify-content:flex-start}}
@media(max-width:760px){#view-subscribers .filter-bar{grid-template-columns:1fr}.subscriber-head-tools{display:grid;width:100%}.subscriber-journey-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.subscriber-journey-chip{justify-content:space-between}}

/* V3.8.15 — Stripe is authoritative for paid subscription plan/billing state. */
.stripe-billing-lock{margin-top:14px;border:1px solid #f0d69d;background:#fff8e8;border-radius:15px;padding:13px 14px;color:#5f4a1f}.stripe-billing-lock strong{display:block;font-size:.82rem}.stripe-billing-lock p{margin:5px 0 0;font-size:.75rem;line-height:1.45;color:#715d32}.stripe-billing-lock small{display:block;margin-top:7px;color:#8a7446;font-size:.68rem;overflow-wrap:anywhere}.drawer-section select:disabled,.drawer-section textarea:disabled,.drawer-section button:disabled{opacity:.58;cursor:not-allowed}.drawer-section button:disabled:hover{transform:none}

/* V3.8.49 Admin clarity + archive workspace -------------------------------- */
.subscriber-export-group{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.subscriber-journey-summary{max-width:980px}
.subscriber-journey-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #ddd9cf;background:#fff;border-radius:999px;padding:7px 10px;font-size:.69rem;font-weight:750;color:#5f5b54;cursor:pointer}
.subscriber-journey-chip b{font-size:.72rem;color:#151515}.subscriber-journey-chip.active{background:var(--lime);border-color:#b4e932;color:#151515}.subscriber-total-chip{background:#171716;color:#fff;border-color:#171716}.subscriber-total-chip b{color:#fff}
.status-pill.deleted{background:#efe9e6;color:#8d3a31}.archived-subscriber-row{background:#fbf8f6}.archived-subscriber-row td{opacity:.94}.journey-deleted{color:#9a4a41!important;font-weight:700}.returned-account{color:#6b7c24!important;font-weight:700}

.user-drawer{width:min(1180px,calc(100vw - 64px));top:16px;right:16px;bottom:16px;border-radius:26px;display:flex;flex-direction:column;overflow:hidden}
.drawer-head{position:relative;top:auto;flex:0 0 auto;padding:20px 24px 16px}
.drawer-body{padding:16px 24px 42px;display:block;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
.drawer-body>*+*{margin-top:14px}.drawer-tabs{position:sticky;top:-16px;z-index:6;background:rgba(247,245,239,.97);backdrop-filter:blur(14px);padding:12px 0 9px;border-bottom:1px solid #e2ded4}
.drawer-tab-panel.active{display:grid;margin-top:12px}.account-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.archive-retention-note{border:1px solid #e7c9c4;background:#fff6f3;border-radius:16px;padding:13px 15px}.archive-retention-note strong{font-size:.82rem}.archive-retention-note p{margin:5px 0 0;color:#725d58;font-size:.74rem;line-height:1.5}.archived-account-hero{background:#24211f}

.email-health-card{padding:14px;display:grid;gap:12px}.email-health-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.email-health-head>div{min-width:0}.email-health-head .status-pill{flex:0 0 auto}.email-health-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.email-health-metrics span{background:#f7f5ef;border-radius:10px;padding:8px;font-size:.66rem;color:#716d65}.email-health-metrics b{display:block;color:#151515;font-size:.82rem;margin-bottom:2px}.email-health-foot{display:flex;justify-content:space-between;gap:10px;color:#77736b;font-size:.65rem}.email-tracking-note{margin:12px 2px 0;color:#77736b;font-size:.7rem;line-height:1.5}.status-pill.yellow{background:#fff6d7;color:#8b6f0b}

@media(max-width:1200px){.user-drawer{width:calc(100vw - 28px);right:14px}.account-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscriber-export-group{justify-content:flex-start}}
@media(max-width:760px){.user-drawer{inset:0;width:100vw;border-radius:0}.drawer-head{padding:16px 18px 14px}.drawer-body{padding:12px 18px 34px}.drawer-tabs{top:-12px}.subscriber-export-group{display:grid;grid-template-columns:1fr 1fr}.subscriber-export-group .secondary-button:last-child{grid-column:1/-1}.email-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.email-health-foot{display:grid}.account-kpi-grid{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.account-kpi-grid{grid-template-columns:1fr}.subscriber-journey-summary{grid-template-columns:1fr 1fr!important}.subscriber-export-group{grid-template-columns:1fr}.subscriber-export-group .secondary-button:last-child{grid-column:auto}}

/* V3.8.49 — cleaner subscriber overview + returned-account history */
#view-subscribers .subscriber-section-head{margin-bottom:14px}
.subscriber-overview-card{border:1px solid #ded9cf;background:#fff;border-radius:22px;padding:16px 18px;margin-bottom:12px;box-shadow:0 8px 28px rgba(26,24,20,.035)}
.subscriber-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.subscriber-overview-head h3{margin:3px 0 0;font-size:1rem}.subscriber-overview-head .eyebrow{font-size:.62rem}
.subscriber-journey-summary{display:grid;grid-template-columns:minmax(120px,.62fr) repeat(4,minmax(150px,1fr));gap:10px;max-width:none!important;align-items:stretch}
.subscriber-kpi-group{border:1px solid #ebe7df;background:#faf9f5;border-radius:16px;padding:10px;display:grid;gap:8px;min-width:0}
.subscriber-kpi-group-label{font-size:.6rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#77726a}
.subscriber-kpi-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.subscriber-kpi-tile{appearance:none;border:1px solid #e1ddd4;background:#fff;border-radius:12px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font:inherit;cursor:pointer;color:#151515;min-width:0;transition:.15s ease}
.subscriber-kpi-tile span{font-size:.68rem;font-weight:760;color:#625e57;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subscriber-kpi-tile b{font-size:.86rem;color:#151515;flex:0 0 auto}
.subscriber-kpi-tile:hover{border-color:#b9dd55;transform:translateY(-1px)}.subscriber-kpi-tile.active{background:#c8ff3d;border-color:#9fd900;box-shadow:0 0 0 2px #c8ff3d33}.subscriber-kpi-tile.active span{color:#151515}
.subscriber-total-group .subscriber-kpi-tile{height:100%;min-height:48px;background:#171716;border-color:#171716;color:#fff}.subscriber-total-group .subscriber-kpi-tile span,.subscriber-total-group .subscriber-kpi-tile b{color:#fff}
.subscriber-export-menu{position:relative;z-index:8}.subscriber-export-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.subscriber-export-menu>summary::-webkit-details-marker{display:none}.subscriber-export-menu>summary:after{content:'▾';font-size:.75em}.subscriber-export-menu[open]>summary{background:#f3f8d9;border-color:#b7d968}
.subscriber-export-popover{position:absolute;right:0;top:calc(100% + 8px);width:230px;background:#171716;border-radius:14px;padding:7px;box-shadow:0 18px 40px rgba(0,0,0,.18);display:grid;gap:4px}
.subscriber-export-popover button{appearance:none;border:0;background:transparent;color:#fff;text-align:left;padding:10px 11px;border-radius:9px;font:inherit;font-size:.72rem;font-weight:720;cursor:pointer}.subscriber-export-popover button:hover{background:#2a2a28;color:#c8ff3d}
.subscriber-filter-bar{margin-bottom:12px}
.returned-user-panel{border:1px solid #d8e8a9;background:#fbffed;border-radius:18px;padding:15px 16px}.previous-account-list{display:grid;gap:9px;margin-top:12px}.previous-account-card{border:1px solid #dfe7c6;background:#fff;border-radius:14px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}.previous-account-card>div:first-child{display:grid;gap:4px}.previous-account-card strong{font-size:.8rem}.previous-account-card small{font-size:.67rem;color:#77736b}.previous-account-card p{grid-column:1/-1;margin:0;color:#5f5b54;font-size:.7rem;line-height:1.45}.previous-account-meta{display:flex!important;gap:10px;flex-wrap:wrap;color:#77736b;font-size:.66rem}.previous-account-card button{grid-column:2;grid-row:1/3;align-self:center}
@media(max-width:1320px){.subscriber-journey-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.subscriber-total-group{grid-column:auto}.subscriber-kpi-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.subscriber-overview-head{display:grid;grid-template-columns:1fr auto}.subscriber-journey-summary{grid-template-columns:1fr!important}.subscriber-kpi-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscriber-export-popover{right:0}.previous-account-card{grid-template-columns:1fr}.previous-account-card button{grid-column:1;grid-row:auto;justify-self:start}}
@media(max-width:460px){.subscriber-overview-card{padding:13px}.subscriber-overview-head{grid-template-columns:1fr}.subscriber-export-menu{justify-self:start}.subscriber-export-popover{left:0;right:auto}.subscriber-kpi-group-grid{grid-template-columns:1fr 1fr}}

/* V3.8.55 native-dialog replacement */
.admin-confirm-body{white-space:pre-line;line-height:1.55;color:var(--muted);margin:12px 0 16px}.admin-confirm-dialog textarea{width:100%;resize:vertical}.admin-confirm-dialog .hidden{display:none!important}

/* V3.8.55 — Live/Sandbox billing history separation */
.stripe-history-note{display:block;margin-top:4px;color:#9a6500;font-weight:700}.tiny-history-pill{display:inline-flex;margin-top:6px;font-size:10px}.stripe-history-row{background:rgba(255,244,205,.2)}
.stripe-history-warning{margin:0 0 18px;padding:14px 16px;border:1px solid #eedda2;border-radius:16px;background:#fff9df;color:#4d3b00}.stripe-history-warning strong{display:block;margin-bottom:5px}.stripe-history-warning p{margin:0;line-height:1.5}.stripe-history-warning small{display:block;margin-top:7px;overflow-wrap:anywhere;color:#7a6419}.stripe-history-warning.compact{margin-top:14px}.event-mode{display:inline-flex;vertical-align:middle;margin-left:6px;padding:2px 6px;border-radius:999px;background:#e7f7ea;color:#176b2c;font-size:9px;letter-spacing:.08em}.event-mode.test{background:#fff0bf;color:#7f5a00}
.admin-confirm-body{white-space:pre-line}.admin-confirm-dialog textarea{width:100%;resize:vertical}.admin-confirm-dialog .field-error{color:#a32929;font-weight:700}

/* V3.8.56.1 — GaliVue complimentary plan controls */
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.galivue-offer-card,.galivue-offer-editor{margin-top:14px;border:1px solid #cfe58f;background:#fbffed;border-radius:16px;padding:14px 16px;color:#243000}
.galivue-offer-card strong,.galivue-offer-editor h4{display:block;margin:4px 0 5px;font-size:.9rem;color:#151515}
.galivue-offer-card p,.galivue-offer-editor p,.admin-help-copy{margin:5px 0 0;font-size:.73rem;line-height:1.5;color:#5f624f}
.galivue-offer-card small{display:block;margin-top:7px;font-size:.68rem;line-height:1.45;color:#73785f}
.galivue-offer-editor .drawer-actions{margin-top:10px}
.danger-button{border:1px solid #e2aaa2;background:#fff4f2;color:#9a3027;border-radius:11px;padding:10px 12px;font:inherit;font-weight:780;cursor:pointer}
.danger-button:hover{background:#ffe8e4}
@media(max-width:900px){.form-grid.three{grid-template-columns:1fr 1fr}.form-grid.three>*:last-child{grid-column:1/-1}}
@media(max-width:560px){.form-grid.three{grid-template-columns:1fr}.form-grid.three>*:last-child{grid-column:auto}.galivue-offer-editor .drawer-actions{display:grid}.galivue-offer-editor .drawer-actions button{width:100%}}


/* V3.8.58 - dedicated Admin Storage offers workspace */
.storage-offers-workspace{gap:14px}
.storage-offer-active-list{display:grid;gap:8px;margin-top:14px;padding:14px;border:1px solid #e2e8c9;background:#fbffed;border-radius:16px}
.storage-offer-active-list>span{margin-bottom:2px}
.storage-offer-active-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #e7e4da;background:#fff;border-radius:13px}
.storage-offer-active-list article strong,.storage-offer-active-list article small{display:block}.storage-offer-active-list article small{margin-top:3px;color:#77736b;font-size:.69rem}.storage-offer-active-list article>span{font-size:.7rem;color:#5f624f;white-space:nowrap}
.storage-offer-empty{padding:12px 14px;border:1px dashed #d7d3c8;border-radius:14px;background:#faf9f5}
.storage-offer-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.storage-offer-rules article{display:grid;gap:4px;padding:12px;border:1px solid #ebe8df;background:#faf9f5;border-radius:14px}.storage-offer-rules strong{font-size:.78rem}.storage-offer-rules span{font-size:.7rem;line-height:1.45;color:#69655d}
@media(max-width:620px){.storage-offer-active-list article{align-items:flex-start;display:grid}.storage-offer-active-list article>span{white-space:normal}.storage-offer-rules{grid-template-columns:1fr}}

/* V3.8.58 — unmistakable Admin refresh + reversible storage offers */
.admin-refresh-group{display:flex;align-items:center;gap:9px}.admin-refresh-status{font-size:.68rem;color:#77736b;white-space:nowrap;font-variant-numeric:tabular-nums}.storage-offer-active-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.storage-offer-active-list article>button{flex:0 0 auto}.storage-offer-active-list article>div{min-width:0}.storage-offer-active-list article small{display:block;margin-top:3px;color:#77736b;font-size:.68rem;line-height:1.35}
@media(max-width:720px){.admin-refresh-group{gap:2px;flex-direction:column;align-items:flex-end}.admin-refresh-status{display:block;font-size:.58rem}#refreshAdmin{display:inline-flex!important;padding:9px 11px;font-size:.76rem}.storage-offer-active-head{align-items:flex-start}.storage-offer-active-list article{align-items:flex-start;flex-direction:column}.storage-offer-active-list article>button{width:100%}}

/* V3.8.58.2 — archive/export clarity */
.subscriber-overview-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.subscriber-export-label{color:#99978f;font-size:.61rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;padding:7px 11px 2px}.subscriber-archive-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #bfdc70;background:#f4ffda;border-radius:16px;padding:14px 16px;margin:0 0 14px}.subscriber-archive-banner strong{display:block;margin:4px 0 2px;font-size:.91rem}.subscriber-archive-banner p{margin:0;color:#67635b;font-size:.76rem;line-height:1.4}.email-pending{color:#8a6900}.adjustment-export-menu{flex:0 0 auto}@media(max-width:760px){.subscriber-overview-actions{justify-content:flex-start}.subscriber-archive-banner{align-items:flex-start;flex-direction:column}.section-head.split .adjustment-export-menu{justify-self:start}}


/* V3.8.59 — Admin payment visibility and accounting history */
.payment-filter-bar{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(4,minmax(130px,.72fr)) minmax(120px,.58fr) minmax(120px,.58fr);gap:9px;align-items:end;margin-bottom:12px}.payment-filter-bar .search-box{min-width:0}.payment-filter-bar .compact-date{display:grid;gap:4px;font-size:.62rem;font-weight:760;color:#736f67}.payment-filter-bar .compact-date input{min-width:0}.payment-kpis{margin-bottom:12px}.payments-table td{vertical-align:top}.payment-reference{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 6px;max-width:230px;font-size:.64rem}.payment-reference strong{color:#77736b;font-size:.58rem;text-transform:uppercase;letter-spacing:.04em}.payment-reference span{overflow-wrap:anywhere;color:#47443f}.subscriber-payment .tiny-history-pill{margin-top:5px;width:max-content}.status-pill.red{background:#fde9e6;color:#9a3027}
@media(max-width:1280px){.payment-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-filter-bar .search-box{grid-column:1/-1}}
@media(max-width:760px){.payment-filter-bar{grid-template-columns:1fr 1fr}.payment-filter-bar .search-box{grid-column:1/-1}.payment-export-menu{justify-self:start}}
@media(max-width:480px){.payment-filter-bar{grid-template-columns:1fr}.payment-filter-bar .search-box{grid-column:auto}}
