:root{--bg:#f2f5fa;--surface:#fff;--ink:#162743;--muted:#61728a;--line:#e1e8f1;--blue:#1761d5;--nav:#102b53;--soft:#edf4ff;--gold:#e9ab28;--success:#16845d;--danger:#bf3650}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body.dark{--bg:#0b1628;--surface:#12223a;--ink:#e8eef9;--muted:#a1b2ca;--line:#273c59;--soft:#19365b;--nav:#091426}a{color:var(--blue);text-decoration:none}button,input,select{font:inherit}button,.button{cursor:pointer;border:0;background:var(--blue);color:#fff;border-radius:9px;padding:11px 17px;font-weight:600;display:inline-block;line-height:1.4}button:hover,.button:hover{filter:brightness(.94)}button.secondary,.button.secondary{background:var(--soft);color:var(--ink);border:1px solid var(--line)}button.danger{background:var(--danger)}input,select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface)}input:focus,select:focus{outline:2px solid #80acf5;outline-offset:1px}label{font-size:14px;font-weight:600;display:block;margin-bottom:7px}small,.muted{color:var(--muted);font-size:14px}h1{font-size:28px;line-height:1.2;margin:0 0 8px;letter-spacing:-.7px}h2{font-size:19px;margin:0 0 18px}h3{font-size:16px;margin:0 0 10px}p{margin:8px 0 20px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:var(--nav);color:#c1d1e8;display:flex;flex-direction:column;padding:28px 16px;z-index:20}.brand{padding:0 12px 30px;color:#fff;line-height:1.25;display:flex;align-items:center;gap:10px}.brand strong{font-size:16px;letter-spacing:.4px}.brand small{font-size:12px;letter-spacing:1.8px;color:#9bb5db;display:block;margin-top:6px}.brandmark{width:38px;height:38px;background:#2472eb;display:grid;place-items:center;border-radius:10px;font-weight:800;color:#fff}.nav-label{font-size:12px;letter-spacing:1.4px;padding:14px 14px 8px;color:#7295c0}.nav a{padding:12px 14px;color:#c1d1e8;display:flex;align-items:center;gap:12px;border-radius:8px;margin:3px 0;font-size:14px}.nav a.active{background:#246bdd;color:white}.nav a:hover{background:#1e4272}.nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.sidebar-footer{margin-top:auto;padding:22px 12px 0;font-size:14px;border-top:1px solid #29446a}.role{color:#8facd0;font-size:12px}.workspace{margin-left:240px;min-height:100vh}.topbar{height:76px;padding:0 36px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:var(--surface);gap:15px}.topbar strong{font-size:14px}.topbar-right{display:flex;align-items:center;gap:12px}.plexword{color:var(--gold);font-size:22px;font-weight:800;letter-spacing:-1px}.avatar{width:36px;height:36px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:var(--blue);font-weight:700}.content{max-width:1500px;margin:auto;padding:32px 36px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:12px;letter-spacing:1.8px;color:var(--blue);font-weight:700;margin-bottom:8px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px}.stat{font-size:34px;line-height:1.2;font-weight:750;margin:12px 0 6px;letter-spacing:-1px}.stat-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}.stat-icon{width:32px;height:32px;background:var(--soft);display:grid;place-items:center;color:var(--blue);border-radius:8px}.grid{display:grid;grid-template-columns:1.7fr 1fr;gap:24px;margin-bottom:24px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:24px}.panel-head{padding:21px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{margin:0}.panel-body{padding:22px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th{text-align:left;font-size:12px;letter-spacing:.5px;color:var(--muted);background:var(--bg);padding:14px 20px;font-weight:650}td{padding:17px 20px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td strong{display:block;font-weight:600}td small{display:block;font-size:12px}tr:hover td{background:var(--soft)}.badge{border-radius:6px;padding:5px 9px;font-size:12px;font-weight:650;display:inline-block;background:var(--soft);color:var(--ink)}.badge.active,.badge.completed{background:#e1f6ed;color:#13744f}.badge.invited,.badge.pending,.badge.processing{background:#fff3d5;color:#946013}.badge.review,.badge.failed,.badge.expired,.badge.suspended{background:#fce7eb;color:#a92e47}.badge.redeemed{background:#e1f6ed;color:#13744f}.empty{text-align:center;color:var(--muted);padding:44px 24px;white-space:normal}.empty strong{color:var(--ink);display:block;margin-bottom:7px;font-size:16px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.full{grid-column:1/-1}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.toolbar{display:flex;gap:12px;margin-bottom:20px}.toolbar input{max-width:440px}.notice{padding:15px 18px;border:1px solid #b8d3fa;background:var(--soft);border-radius:9px;font-size:14px;margin-bottom:24px}.notice.success{background:#e1f6ed;color:#16583f;border-color:#a8d7c5}.notice.error{background:#fce7eb;color:#962940;border-color:#e3b1ba}.quick{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);gap:15px}.quick:last-child{border-bottom:0}.quick p{font-size:14px;color:var(--muted);margin:4px 0}.split{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inline{display:inline}.inline button{padding:7px 10px;font-size:12px}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:620px;width:calc(100% - 32px);max-height:90vh;overflow:auto;background:var(--surface);color:var(--ink)}dialog::backdrop{background:#07193399;backdrop-filter:blur(3px)}dialog header{padding:22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}dialog header h2{margin:0}dialog header button{padding:5px 12px;background:var(--soft);color:var(--ink)}dialog form{padding:22px}.auth{min-height:100vh;display:grid;place-items:center;padding:30px;background:var(--nav)}.auth-card{max-width:520px;width:100%;background:var(--surface);padding:36px;border-radius:16px}.auth-card .brand{color:var(--ink);padding:0 0 28px}.auth-card .brand small{color:var(--muted)}.auth-card label{margin-top:18px}.auth-card button{width:100%;margin-top:24px}.auth-card h1{font-size:25px}.tabs{display:flex;gap:8px;overflow:auto;padding-bottom:10px;margin-bottom:15px}.tabs a{padding:8px 14px;border-radius:7px;white-space:nowrap;color:var(--muted);font-size:14px}.tabs a.active{background:var(--soft);color:var(--blue);font-weight:650}.code-list{padding:18px;background:var(--bg);border-radius:8px;font:14px/2 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.instructions{max-width:820px}.instructions li{margin:10px 0}.mobile-menu{display:none}.dark .badge{filter:brightness(.86)}.logout{background:transparent!important;padding:8px 0!important;font-size:14px!important;color:#b9d0ef!important}.help{font-size:14px;color:var(--muted);margin:12px 0}.hidden{display:none!important}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.content{padding:26px}.topbar{padding:0 26px}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #07193370}.workspace{margin-left:0}.mobile-menu{display:block;padding:7px 11px}.topbar{height:66px;padding:0 16px}.content{padding:22px 16px}.cards{gap:10px}.card{padding:16px}.stat{font-size:28px}.stat-icon{display:none}.page-head{align-items:flex-start;flex-wrap:wrap}.page-head .button{font-size:14px}h1{font-size:25px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.topbar-date{display:none}.panel-head{padding:17px}.panel-body{padding:17px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:100%}.auth{padding:18px}.auth-card{padding:26px}.form-actions{flex-wrap:wrap}.stat-title{font-size:13px}.sidebar-footer{padding-bottom:30px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}.stat-icon svg{width:19px;height:19px}.quick>svg{color:var(--blue)}@media(max-width:760px){.topbar-caption{display:none}.topbar .split{flex-wrap:nowrap}.content.dashboard .grid table th:nth-child(2),.content.dashboard .grid table td:not([colspan]):nth-child(2){display:none}.content.dashboard table th:nth-child(4),.content.dashboard table td:not([colspan]):nth-child(4){display:none}.content.dashboard .empty{max-width:calc(100vw - 68px);padding:30px 18px}.content.dashboard th,.content.dashboard td{padding-left:14px;padding-right:14px}}

@media(max-width:760px){.content.dashboard>section table th:nth-child(3),.content.dashboard>section table td:not([colspan]):nth-child(3){display:none}}

.library-choice{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);margin:8px 0;overflow-wrap:anywhere}.library-choice input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--blue)}

.sidebar .nav{overflow-y:auto;min-height:0;flex:1}.sidebar-footer{flex-shrink:0}fieldset{border:1px solid var(--line);border-radius:9px;margin:0 0 20px;padding:14px}

/* Platform navigation */
.platform-menu{--platform:#ffca50;--platform-tint:#ffca5015;margin:12px 0;border:1px solid #ffffff14;border-radius:14px;background:linear-gradient(120deg,var(--platform-tint),#ffffff04);color:var(--platform);box-shadow:0 4px 12px #00000014;overflow:hidden}
.platform-menu[data-platform="emby"]{--platform:#62df65;--platform-tint:#62df6518}
.platform-menu[data-platform="jellyfin"]{--platform:#be9aff;--platform-tint:#be9aff18}
.platform-menu summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:15px 13px;font-size:20px;font-weight:800;letter-spacing:.2px;line-height:1.35;user-select:none;transition:background .18s}
.platform-menu summary::-webkit-details-marker{display:none}
.platform-menu summary::before{content:"";width:31px;height:31px;flex:0 0 31px;background:var(--platform);border-radius:9px;box-shadow:0 0 14px var(--platform-tint);clip-path:polygon(28% 15%,82% 50%,28% 85%)}
.platform-menu summary::after{content:"";width:7px;height:7px;margin-left:auto;margin-right:3px;flex:0 0 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .18s}
.platform-menu summary:hover{background:var(--platform-tint)}
.platform-menu summary:focus-visible{outline:2px solid var(--platform);outline-offset:-4px;border-radius:14px}
.platform-menu[open] summary{background:var(--platform-tint);border-bottom:1px solid #ffffff12}
.platform-menu[open] summary::after{transform:rotate(45deg)}
.platform-links{padding:7px}
.platform-links a{position:relative;font-size:14px!important;padding:11px 10px 11px 18px!important;color:#d5e2f3!important;line-height:1.4;border-radius:9px;transition:background .18s,color .18s}
.platform-links a::before{content:"";position:absolute;left:5px;width:4px;height:4px;border-radius:50%;background:var(--platform);opacity:.6}
.platform-links a:hover{background:var(--platform-tint);color:#fff!important}
.platform-links a.active{background:var(--platform-tint);color:var(--platform)!important;font-weight:700;box-shadow:inset 3px 0 var(--platform)}
.platform-links a.active::before{opacity:0}
.sidebar .nav{scrollbar-width:thin;scrollbar-color:#486182 transparent}

/* Cardona-Flix: comfortable reading and a richer administration layout */
:root{--bg:#eef3fa;--muted:#50627c;--line:#dbe5f2;--soft:#eaf2ff}
body{font-size:18px;line-height:1.6;background:radial-gradient(ellipse at 90% 0,#dceaff 0,transparent 45%),var(--bg)}
.sidebar{width:280px;padding:25px 18px;background:radial-gradient(ellipse at top left,#254e85 0,transparent 55%),linear-gradient(175deg,#132f57,#0b203e);box-shadow:6px 0 30px #122e5910}
.brand{padding:0 8px 25px;gap:12px}.brandmark{width:44px;height:44px;flex-shrink:0;border-radius:14px;background:linear-gradient(145deg,#4899ff,#1c5bda);box-shadow:0 6px 18px #0003;font-size:19px}.brand strong{font-size:18px}.brand small{font-size:12px;letter-spacing:1.3px}
.nav-label{font-size:12px;font-weight:700;color:#9ab7dc;padding-left:12px}
.nav>a{font-size:16px;font-weight:550;min-height:48px;padding:12px;border-radius:12px}.nav>a.active{background:linear-gradient(115deg,#2c7ced,#225cc6);box-shadow:0 6px 16px #03193640}
.platform-menu summary{font-size:22px;padding:16px 14px}.platform-links a{font-size:16px!important;min-height:46px;padding-top:12px!important;padding-bottom:12px!important}
.sidebar-footer{padding:18px 10px 0;font-size:16px}.role{font-size:14px;color:#a5bcdb}.logout{font-size:16px!important}
.workspace{margin-left:280px}.topbar{height:84px;padding:0 36px;background:var(--surface);box-shadow:0 3px 16px #1b3a6510}.topbar strong{font-size:17px}.topbar small{font-size:15px}.avatar{width:42px;height:42px;font-size:18px}.plexword{font-size:27px}
.content{max-width:1580px;padding:32px 36px}.page-head{position:relative;isolation:isolate;overflow:hidden;min-height:144px;background:linear-gradient(115deg,#fff,#e5efff);border:1px solid #d3e1f5;border-radius:22px;padding:28px 30px;margin-bottom:26px;box-shadow:0 8px 26px #2047750b;border-left:5px solid var(--blue)}
.page-head::after{content:"";position:absolute;z-index:-1;width:220px;height:220px;border:32px solid #2c73dd08;border-radius:50%;right:-55px;top:-115px;pointer-events:none}
.eyebrow{font-size:13px;letter-spacing:1.6px;margin-bottom:9px}h1{font-size:34px;letter-spacing:-.8px}h2{font-size:23px}h3{font-size:19px}.muted,small{font-size:16px;color:var(--muted)}
button,.button{font-size:17px;padding:13px 19px;min-height:48px;border-radius:12px;box-shadow:0 4px 10px #1761d51c;transition:transform .15s,box-shadow .15s}button:hover,.button:hover{filter:brightness(.97);box-shadow:0 6px 16px #1761d52a}button.secondary,.button.secondary{background:var(--surface);border-color:var(--line);box-shadow:none}button:focus-visible,.button:focus-visible,a:focus-visible{outline:3px solid #77aaf4;outline-offset:3px}
label{font-size:17px;margin-bottom:9px}input,select{font-size:17px;min-height:49px;border-radius:11px;padding:12px 14px}.form-grid{gap:22px}.form-actions{margin-top:28px}.help{font-size:16px;line-height:1.65}
.cards{gap:20px}.card{position:relative;overflow:hidden;border-radius:18px;padding:25px;border:1px solid var(--line);box-shadow:0 7px 22px #19365b09;border-top:4px solid #2776df}.card:nth-child(2){border-top-color:#e7a72e}.card:nth-child(3){border-top-color:#20a580}.card:nth-child(4){border-top-color:#9970dc}.stat{font-size:44px;font-weight:800;margin:16px 0 8px}.stat-title{font-size:17px;font-weight:650;color:var(--ink);gap:10px}.stat-icon{width:42px;height:42px;border-radius:13px}.stat-icon svg{width:23px;height:23px}.card:nth-child(2) .stat-icon{background:#fff2d8;color:#a46c0d}.card:nth-child(3) .stat-icon{background:#e0f7ed;color:#158161}.card:nth-child(4) .stat-icon{background:#f0e7fc;color:#8353bd}.card small{display:block;line-height:1.5}
.panel{border-radius:18px;border-color:var(--line);box-shadow:0 7px 24px #14345d08}.panel-head{padding:23px 26px;background:linear-gradient(110deg,var(--surface),var(--soft))}.panel-body{padding:26px}table{font-size:16px;line-height:1.6}th{font-size:13px;font-weight:750;letter-spacing:.65px;background:#edf3fc;padding:17px 22px;color:#445c7b}td{padding:21px 22px}td strong{font-size:17px;font-weight:700}td small{font-size:14px;line-height:1.6}.inline button{font-size:14px;padding:9px 13px;min-height:40px;border-radius:9px}td .button{font-size:15px;padding:10px 14px;min-height:43px}.badge{font-size:14px;padding:6px 11px;border-radius:8px}.empty{padding:52px 28px;font-size:17px}.empty strong{font-size:20px}.notice{border-radius:13px;padding:17px 20px;font-size:16px;border-left:4px solid #3d7de0;line-height:1.65}.notice.success{border-left-color:#16845d}.notice.error{border-left-color:#bf3650}.quick{padding:20px 0}.quick p{font-size:16px}.tabs a{font-size:16px;padding:10px 17px}.library-choice{padding:16px;border-radius:12px;font-size:18px}.library-choice input{min-height:0;width:22px;height:22px;flex-basis:22px}
dialog{max-width:700px;border-radius:20px;box-shadow:0 20px 80px #07193345}dialog header{padding:24px 28px;background:var(--soft)}dialog form{padding:28px}dialog header button{min-height:40px}.auth-card{max-width:560px;border-radius:22px;box-shadow:0 20px 70px #0003}.auth-card h1{font-size:30px}.code-list{font-size:16px}
body.dark{--bg:#0a1628;--surface:#14253e;--muted:#b1c1d8;--line:#304663;--soft:#20395c;background:radial-gradient(ellipse at 90% 0,#183057 0,transparent 50%),var(--bg)}.dark .page-head{background:linear-gradient(115deg,#172d4d,#1c3b65);border-color:#36557c;border-left-color:#72acff}.dark .page-head::after{border-color:#ffffff07}.dark th{background:#1c3250;color:#bacce5}.dark .card:nth-child(2) .stat-icon{background:#473923;color:#ffcd71}.dark .card:nth-child(3) .stat-icon{background:#183d37;color:#7ee1bc}.dark .card:nth-child(4) .stat-icon{background:#352b50;color:#ceb0ff}.dark .notice{border-color:#395c8c;background:#1a3556;color:#dae7fa}.dark .notice.success{background:#193e35;color:#ace9cf;border-color:#397864}.dark .notice.error{background:#462839;color:#ffd0dc;border-color:#92536c}.dark .badge{filter:none}
@media(max-width:1200px){.cards{grid-template-columns:repeat(2,1fr)}.content{padding:26px}.topbar{padding:0 26px}.page-head{padding:24px}.grid{grid-template-columns:1fr}}
@media(max-width:760px){.workspace{margin-left:0}.sidebar{width:280px;padding:22px 18px}.topbar{height:74px;padding:0 16px}.topbar strong{font-size:15px}.content{padding:20px 16px}.page-head{padding:22px 19px;min-height:0;border-radius:17px;gap:18px;margin-bottom:22px}.page-head>div{min-width:0}.page-head button,.page-head .button{font-size:16px}h1{font-size:29px}h2{font-size:21px}.eyebrow{font-size:12px}.cards{gap:12px}.card{padding:18px 15px;border-radius:15px}.stat{font-size:36px}.stat-title{font-size:16px}.card small{font-size:14px}.stat-icon{display:none}.panel-head{padding:20px}.panel-body{padding:20px}.form-grid{grid-template-columns:1fr;gap:18px}.full{grid-column:auto}.form-actions{flex-wrap:wrap}dialog form{padding:22px}dialog header{padding:20px}.sidebar-footer{padding-bottom:18px}.notice{padding:15px 16px}button,.button{font-size:16px}.content.dashboard th,.content.dashboard td{padding-left:16px;padding-right:16px}.content.dashboard .empty{max-width:calc(100vw - 68px)}.auth-card{padding:26px}.mobile-menu{padding:8px 12px}}
.dark a:not(.button):not(.card):not(.brand),.dark .eyebrow,.dark .quick>svg,.dark .avatar,.dark .stat-icon{color:#8cbaff}.dark .nav a{color:#c1d1e8}.dark .nav a.active{color:#fff}.dark .tabs a.active{color:#a8caff}

.credit-wallets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.credit-wallet{--wallet:#d09211;display:flex;flex-direction:column;padding:7px 12px;min-width:102px;background:var(--soft);border:1px solid var(--line);border-top:3px solid var(--wallet);border-radius:11px;line-height:1.4}.credit-wallet[data-platform="emby"]{--wallet:#269d3e}.credit-wallet[data-platform="jellyfin"]{--wallet:#9361d1}.credit-wallet>span{font-size:13px;font-weight:750;color:var(--wallet)}.credit-wallet strong{font-size:18px;white-space:nowrap}.credit-wallet small{font-size:12px}.dark .credit-wallet{--wallet:#ffca50}.dark .credit-wallet[data-platform="emby"]{--wallet:#62df65}.dark .credit-wallet[data-platform="jellyfin"]{--wallet:#be9aff}
@media(max-width:1000px){.topbar-date{display:none}.topbar:has(.credit-wallets){height:auto;min-height:84px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}.topbar:has(.credit-wallets) .topbar-right{margin-left:auto;flex-wrap:wrap}.credit-wallet{min-width:85px;padding:6px 8px}}
@media(max-width:760px){.topbar:has(.credit-wallets) .topbar-right{width:100%;justify-content:flex-end;gap:8px}.credit-wallets{gap:6px}.credit-wallet{min-width:76px}.credit-wallet strong{font-size:16px}.topbar:has(.credit-wallets) .avatar{display:none}}
@media(max-width:760px){.topbar:has(.credit-wallets) .topbar-right{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center}.credit-wallets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.credit-wallet{min-width:0;padding:6px 8px}.credit-wallet strong small{display:block;font-size:11px}.credit-wallet strong{font-size:17px}.credit-wallet>span{font-size:12px}}

.delivery-result{margin-bottom:24px}.delivery-dialog{width:calc(100% - 32px);max-width:650px}.delivery-dialog header{border-bottom:1px solid var(--line);padding:25px 28px}.delivery-dialog header h2{margin:8px 0 0}.delivery-ready{display:inline-flex;align-items:center;gap:8px;color:#13744f;background:#dff5e9;border:1px solid #b8e2cd;border-radius:20px;padding:5px 12px;font-size:14px;font-weight:700}.delivery-body{padding:26px 28px}.delivery-body .code-list{line-height:1.8;border:1px solid var(--line);margin:16px 0 0;user-select:text}.delivery-body .form-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.delivery-body .notice{margin-top:18px;margin-bottom:0}.dark .delivery-ready{color:#a1e9c8;background:#1a3c32;border-color:#396c58}@media(max-width:760px){.delivery-dialog header{padding:21px}.delivery-body{padding:21px}.delivery-body .code-list{font-size:16px;padding:16px}.delivery-body .form-actions button{flex:1}}
.account-credential{min-width:0;display:flex;flex-direction:column;gap:10px}.credential-buttons{display:flex;gap:8px;flex-wrap:wrap}.credential-buttons button{font-size:15px;min-height:44px}.credential-status{margin:0;color:var(--muted);font-size:15px}.account-credential input{width:100%;min-width:0}.account-credential>button{align-self:flex-start}@media(max-width:600px){.credential-buttons button,.account-credential>button{flex:1;width:100%}}
.renew-preview{margin:18px 0;padding:18px;border-radius:14px;background:#eef5ff;border:1px solid #b7d1f8}.renew-preview p{margin:8px 0}.renew-preview [data-renew-expiry]{color:#1748a2;font-size:22px}.dark .renew-preview{background:#142746;color:#eef5ff;border-color:#365b8c}.dark .renew-preview [data-renew-expiry]{color:#b7d9ff}[data-transfer-results]{font-size:16px;overflow-wrap:anywhere}

.giftcard-full-code{display:block;font-family:ui-monospace,monospace;font-size:1rem;white-space:nowrap;margin-bottom:8px}

/* Full-width, readable administration */
body{font-size:20px;line-height:1.6}.sidebar{width:320px}.workspace{margin-left:320px;min-width:0}.content{width:100%;max-width:none;padding:28px 30px}.topbar{padding:0 30px;min-height:88px}.topbar strong{font-size:21px}.topbar small{font-size:18px}.brand strong{font-size:22px}.nav>a,.platform-links a{font-size:20px!important;min-height:54px}.nav-label,.eyebrow{font-size:15px}.platform-menu summary{font-size:26px}.sidebar-footer,.logout{font-size:19px!important}.role{font-size:17px}h1{font-size:40px}h2{font-size:28px}h3{font-size:23px}.muted,small,.help{font-size:18px}label,input,select,textarea{font-size:20px}input,select{min-height:54px}button,.button{font-size:20px;min-height:52px}table{font-size:20px;width:100%}th{font-size:17px}td strong{font-size:21px}td small{font-size:17px}.inline button,td .button{font-size:18px;min-height:46px}.badge{font-size:17px}.tabs a{font-size:20px}.notice{font-size:19px}.stat-title,.card small{font-size:19px}.stat{font-size:48px}.table-scroll{overflow-x:auto;max-width:100%}.toolbar input{max-width:680px;width:100%}.code-list,.giftcard-full-code{font-size:19px}dialog{width:min(960px,calc(100vw - 36px));max-width:960px;max-height:calc(100dvh - 36px);overflow:auto}.credit-wallet>span{font-size:16px}.credit-wallet strong{font-size:22px}.credit-wallet small{font-size:15px}.cleanup-filters{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}.cleanup-filters label{flex:1;min-width:220px}.cleanup-filters button{margin-bottom:9px}.cleanup-check{display:flex;align-items:center;gap:12px;margin:0}.cleanup-check input,[data-cleanup-row] input[type=checkbox]{width:24px;height:24px;min-height:0;accent-color:var(--blue)}[data-cleanup-error]{color:var(--red);white-space:normal;max-width:480px}
@media(max-width:1000px) and (min-width:761px){.sidebar{width:270px;padding:20px 14px}.workspace{margin-left:270px}.content{padding:24px}.nav>a,.platform-links a{font-size:18px!important}}
@media(max-width:760px){body{font-size:19px}.workspace{margin-left:0}.sidebar{width:min(320px,88vw)}.content{padding:20px 14px;width:100%;max-width:none}.topbar{padding:12px 14px;min-height:78px;height:auto;gap:10px}.topbar strong{font-size:18px}.page-head{padding:22px 18px}h1{font-size:32px}h2{font-size:25px}.page-head button,.page-head .button,button,.button{font-size:19px}.muted,small,.help{font-size:17px}label,input,select,textarea{font-size:19px}table{font-size:19px}th{font-size:16px}td{padding:18px}td strong{font-size:20px}td small{font-size:17px}.card small,.stat-title{font-size:17px}.credit-wallet strong{font-size:19px}.credit-wallet>span{font-size:14px}.credit-wallet strong small{font-size:13px}.panel-head{gap:16px;flex-wrap:wrap}.cleanup-filters{gap:12px}.cleanup-filters label{min-width:100%}dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.form-actions>*{flex:1}.code-list{font-size:18px}}

/* Wide-screen edition, with generous text sizes */
body{font-size:24px}.workspace{width:calc(100% - 320px);margin-left:320px}main.content{max-width:none!important;width:100%;margin:0;padding:24px}.content>.panel,.content>.page-head,.content>.toolbar{width:100%;max-width:none}.topbar strong{font-size:24px}.brand strong{font-size:24px}.nav>a,.platform-links a{font-size:22px!important}.platform-menu summary{font-size:29px}.nav-label,.eyebrow{font-size:18px}h1{font-size:46px}h2{font-size:32px}h3{font-size:27px}.muted,small,.help,.credential-status{font-size:20px}label,input,select,textarea{font-size:24px}input,select{min-height:60px}button,.button{font-size:23px;min-height:58px}.credential-buttons button{font-size:21px;min-height:54px}table{font-size:23px}th{font-size:19px}td{padding:24px}td strong{font-size:24px}td small{font-size:20px}.inline button,td .button{font-size:21px;min-height:52px}.badge{font-size:19px}.tabs a{font-size:23px}.notice{font-size:22px}.stat-title,.card small{font-size:21px}.stat{font-size:56px}.code-list,.giftcard-full-code{font-size:22px}.instructions{max-width:none}dialog,.delivery-dialog{width:min(1400px,calc(100vw - 48px));max-width:calc(100vw - 48px)}dialog form{padding:34px}.delivery-ready{font-size:20px}.credit-wallet>span{font-size:18px}.credit-wallet strong{font-size:25px}.credit-wallet small{font-size:17px}.cleanup-check{font-size:23px;display:flex;gap:14px;align-items:center}.cleanup-check input{flex:0 0 26px;width:26px;height:26px;min-height:0}
@media(max-width:1200px) and (min-width:761px){.sidebar{width:280px}.workspace{width:calc(100% - 280px);margin-left:280px}.brand strong{font-size:21px}.nav>a,.platform-links a{font-size:20px!important}.content{padding:20px}.platform-menu summary{font-size:26px}}
@media(max-width:760px){body{font-size:21px}.workspace{width:100%;margin-left:0}main.content{padding:18px 12px}.topbar strong{font-size:20px}.sidebar{width:min(330px,90vw)}h1{font-size:35px}h2{font-size:28px}h3{font-size:24px}.muted,small,.help,.credential-status{font-size:19px}label,input,select,textarea{font-size:21px}button,.button,.page-head button,.page-head .button{font-size:21px;min-height:56px}table{font-size:21px}th{font-size:18px}td{padding:18px}td strong{font-size:22px}td small{font-size:19px}.stat-title,.card small{font-size:19px}.notice{font-size:20px}.stat{font-size:44px}.code-list,.giftcard-full-code{font-size:20px}.delivery-body .code-list{font-size:20px}.delivery-ready{font-size:18px}dialog,.delivery-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}dialog form{padding:22px}.credit-wallet>span{font-size:14px}.credit-wallet strong{font-size:20px}.credit-wallet strong small{font-size:13px}.cleanup-check{font-size:20px}}
