@font-face{font-family:Montserrat;src:url("/fonts/Montserrat-Variable.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
/* LumeTV shared visual system — local assets, no external fonts or services. */
:root{color-scheme:dark;--canvas:#0d1016;--surface:#191f2a;--surface-raised:#202735;--border:#303949;--muted:#a9b3c5;--gold:#efbd50;--text:#f4f6fa;font-family:Montserrat,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body{font-family:inherit;background:radial-gradient(ellipse at 85% 0%,#80632316,transparent 48%),var(--canvas);color:var(--text);min-height:100vh}
h1,h2,h3{letter-spacing:-.035em}h1{font-weight:500}p{line-height:1.65}.help,small,footer{color:var(--muted)}
button,input,select{font:inherit}button,input,select,a{transition:background-color .16s,border-color .16s,box-shadow .16s}
input,select{border:1px solid var(--border);background:#10151e;color:var(--text);border-radius:11px;padding:13px 14px;min-height:46px;box-shadow:inset 0 1px 3px #0002}
input::placeholder{color:#748096}input:focus,select:focus{border-color:#d2a647;box-shadow:0 0 0 3px #efbd5014}input[readonly]{color:#a9b3c5;background:#171c26}input[type=checkbox]{min-height:0;accent-color:var(--gold);box-shadow:none}
label{font-size:12px;font-weight:500;color:#c4ccda;line-height:1.5}button{border-radius:10px;background:#252d3b;border-color:#394457;font-size:13px;font-weight:500;min-height:40px}button:hover:not(:disabled){background:#303b4d;border-color:#a5894e}button:disabled{cursor:not-allowed;opacity:.5}
.primary,.activation-app #generate{background:linear-gradient(115deg,#f6cb69,#eab446);border-color:#f0c363;color:#241a08;font-weight:500;box-shadow:0 3px 12px #0002}.primary:hover:not(:disabled),.activation-app #generate:hover:not(:disabled){background:#ffda83;border-color:#ffda83}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #f3ca72;outline-offset:3px}.danger{color:#f4b2aa;background:#34282c;border-color:#51383b}.quiet{background:transparent}.eyebrow{font-size:10px;letter-spacing:.2em;color:#d3b576;font-weight:500}
.panel,.stat{background:linear-gradient(130deg,#202733,#181e29);border:1px solid var(--border);border-radius:17px;box-shadow:0 8px 26px #0002}.panel{padding:26px}.stat{padding:23px}.stat strong{color:#f4d189;font-size:32px;font-weight:500}.stat small{font-size:12px}
.panel-app .sidebar{background:linear-gradient(180deg,#181e29,#111720);border-color:#2b3342;padding:28px 18px;box-shadow:8px 0 35px #0002}.sidebar nav button{border-radius:10px;padding:13px 16px;margin:6px 0}.sidebar nav button.selected{background:linear-gradient(95deg,#67532b70,#332e2420);border-left:3px solid #efbd50;color:#f5d78f}.sidebar nav button:hover{background:#252d3b;color:#f4f6fa}.sidebar small{font-size:11px;color:#8590a3}
.panel-app main{padding:38px 36px;max-width:none}.panel-app header{padding-bottom:24px;border-bottom:1px solid #252e3c;margin-bottom:30px}.panel-app header h1{font-size:30px;margin-top:4px}.panel-app header .eyebrow{margin:0}.toolbar{gap:12px;margin-bottom:20px}.toolbar input{max-width:420px;flex:1;min-width:210px}.toolbar select{max-width:230px}.toolbar>button.primary{margin-left:auto}
.table-wrap{border:1px solid #354052;border-radius:16px;background:#1a212d;box-shadow:0 10px 30px #0002;overflow:auto}table{background:#1a212d}th{background:#242d3c;color:#bac4d5;font-size:10px;letter-spacing:.09em;font-weight:500;padding:17px 19px;border-bottom:1px solid #3a4659}td{background:#1a212d;padding:21px 19px;border-color:#303b4d;color:#e4e9f2;font-size:12px;vertical-align:middle}tbody tr:nth-child(even) td{background:#1e2633}tbody tr:hover td{background:#252f3e}tbody tr:last-child td{border-bottom:0}td strong{font-size:13px;font-weight:500;color:#fff}td p.help{margin:7px 0 0;font-size:11px;letter-spacing:.015em}td button{margin:0;font-size:11px;padding:8px 11px;min-height:34px}.row-actions{display:flex;gap:7px;flex-wrap:wrap;min-width:260px;max-width:340px}.client-cell{min-width:185px}.badge{border:1px solid #4a5360;border-radius:7px;font-weight:500;font-size:10px;padding:5px 9px}.badge.good{background:#214335;color:#a5e5bd;border-color:#365946}.badge.bad{background:#482e34;color:#f0b4b4;border-color:#624048}.badge.test{background:#473e27;color:#efd18c;border-color:#675735}.pagination{margin-top:18px;font-size:12px;color:#b3bed0}.pagination button{font-size:12px;padding:9px 14px}.empty{border:1px dashed #394355;border-radius:15px;background:#151b25;padding:42px}
dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:28px;background:linear-gradient(145deg,#242c39,#191f2a 60%);border:1px solid #475267;border-radius:21px;box-shadow:0 32px 120px #0009;scrollbar-color:#4c586c #191f2a}dialog::backdrop{background:#070b13c9;backdrop-filter:blur(5px)}.modal-head,dialog>.heading{padding-bottom:20px;border-bottom:1px solid #354051;margin-bottom:22px}.modal-head h2,dialog h2{font-size:21px}.modal-head button,dialog>.heading button{min-width:36px;min-height:36px;padding:5px;background:#303949;color:#c1cad9}dialog label{margin-bottom:17px}.field-grid{gap:16px}.field-grid>label{min-width:0}#edit-fields>.form-intro{margin:-4px 0 22px}.source-section{border:1px solid #3b4658;background:#141b2670;padding:20px;border-radius:14px;margin:5px 0 22px}.source-section label:last-child{margin-bottom:0}.source-section select[name=kind]{background:#2c3546;border-color:#53607a;color:#f1d79e;font-weight:500}.source-section .help{font-size:11px;margin:9px 0 0}#edit-form>#save{width:100%;margin-top:8px;min-height:45px}#edit-error:empty{display:none}
.panel-app #login{padding:38px;max-width:440px;margin:8vh auto;background:linear-gradient(135deg,#242c39,#181e28);border:1px solid #394355;border-radius:22px;box-shadow:0 24px 80px #0005}.panel-app #login img{width:190px;height:64px;margin-bottom:20px}.panel-app #login h1{font-size:32px;line-height:1.2}
.customer-app>header,.activation-app>header{background:#131923e8;border-bottom:1px solid #2b3544;padding:16px max(24px,5vw);min-height:84px;height:auto}.customer-app>header img,.activation-app>header img{width:145px;height:44px}.customer-app>header span{font-size:12px;letter-spacing:.03em}.customer-app main{max-width:1120px;margin:56px auto}.customer-app .access-layout{max-width:1010px;margin:60px auto;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.access-story .eyebrow{margin-bottom:22px}.access-story h1{font-size:48px;line-height:1.13;max-width:380px;margin:0 0 22px}.access-story>p{color:#acb8cc;font-size:15px;max-width:350px}.access-story .access-note{color:#dbc08a;font-size:11px;letter-spacing:.08em;margin-top:32px}.access-card{background:linear-gradient(135deg,#232b38,#181f2a);border:1px solid #3a4659;border-radius:22px;padding:32px;box-shadow:0 20px 65px #0004}.access-card h2{font-size:23px;margin-bottom:9px}.access-card>p{font-size:13px;color:#b3bfd2}.access-card form{margin-top:25px}.access-card form button{width:100%;min-height:46px;margin:4px 0 8px}.access-card>p.help{font-size:11px;line-height:1.65;padding-top:18px;border-top:1px solid #354052;margin-bottom:0}.access-card #mac{font-family:var(--font-ui);letter-spacing:.06em}.customer-app footer,.activation-app footer{font-size:11px;color:#8b98ad;padding:24px}.customer-app #account .heading{margin-bottom:25px}.customer-app .list{background:linear-gradient(120deg,#222b3a,#191f2b)}.customer-app #status{max-width:1010px;margin:20px auto;font-size:13px}.customer-app .toolbar .primary+ .primary{background:#2a3343;border-color:#546075;color:#f0d49a;box-shadow:none}
.activation-app main{padding:54px 24px 30px}.activation-app .activation-card{display:grid;grid-template-columns:.92fr 1.08fr;max-width:970px;padding:0;text-align:left;background:linear-gradient(120deg,#222a38,#19212c);border:1px solid #3d485b;border-radius:24px;overflow:hidden;box-shadow:0 24px 90px #0005}.activation-intro{padding:44px 38px;background:radial-gradient(ellipse at 0 0,#b3872425,transparent 75%),#161e2a;border-right:1px solid #354052;display:flex;flex-direction:column;justify-content:center}.activation-intro .brand{width:175px;height:62px;margin:0 0 15px}.activation-intro .eyebrow{font-size:9px;margin:0 0 30px}.activation-intro h1{font-size:35px;line-height:1.15;margin:0 0 14px}.activation-intro .intro{font-size:14px;line-height:1.6}.activation-intro .price{align-self:flex-start;border-radius:12px;background:#b0832420;border:1px solid #7a653b;padding:17px 19px;margin:28px 0 0;font-size:27px}.activation-intro .price small{display:block;font-size:11px;margin-top:5px;color:#cfc1a5}.activation-content{padding:34px}.activation-app .notice{padding:18px;background:#1119237a;border:1px solid #394352;border-radius:12px;font-size:12px}.activation-app .notice strong{color:#efdab0}.activation-app .notice p{margin:9px 0 0}.activation-app #activation-form{margin-top:25px}.activation-app #mac{font-size:16px;padding:15px 10px;letter-spacing:.12em}.activation-app #generate{margin-top:18px;min-height:47px}.activation-app .help{font-size:11px;line-height:1.65}.activation-app .footnote{font-size:11px;margin:22px 0 0;color:#9ba9bf}.activation-app .panel-link{padding:10px 15px;border-color:#374253;background:#1e2734;font-size:12px}.activation-app .qr{max-width:100%;width:240px}.activation-app .payment-status{font-size:12px}.activation-app #pix-code{overflow-wrap:anywhere}.activation-app .payment-mac{font-size:14px}
@media(max-width:1100px){.panel-app main{padding:30px 24px}.panel-app .sidebar{width:210px}.panel-app main{margin-left:210px}.customer-app .access-layout{gap:30px}.access-story h1{font-size:40px}.activation-intro{padding:32px}.activation-content{padding:28px}}
@media(max-width:800px){.panel-app .sidebar{position:relative;width:100%;padding:16px}.panel-app main{margin-left:0;padding:24px 16px}.panel-app header{padding-bottom:20px;gap:10px}.panel-app header h1{font-size:25px}.toolbar>button.primary{margin-left:0}.toolbar input,.toolbar select{max-width:none}.customer-app .access-layout{grid-template-columns:1fr;gap:24px;margin:24px auto;max-width:480px}.access-story h1{font-size:32px;max-width:none;margin-bottom:12px}.access-story>p{font-size:13px;max-width:none}.access-story .eyebrow{margin:0 0 12px}.access-story .access-note{display:none}.customer-app main{margin:26px auto}.access-card{padding:26px}.activation-app .activation-card{grid-template-columns:1fr;max-width:510px}.activation-intro{border-right:0;border-bottom:1px solid #354052;padding:25px 28px}.activation-intro .brand{width:140px;height:43px;margin-bottom:12px}.activation-intro .eyebrow{display:none}.activation-intro h1{font-size:28px}.activation-intro .price{margin-top:20px;padding:12px 16px;font-size:24px}.activation-app main{padding:25px 16px}.activation-content{padding:25px 28px}.activation-app>header{gap:12px;flex-wrap:wrap;padding:16px}.activation-app>header>a:first-child{margin-right:auto}.activation-app .panel-link{font-size:11px;padding:9px}.row-actions{min-width:230px}.field-grid{grid-template-columns:1fr}dialog{padding:22px;max-height:calc(100dvh - 28px)}.source-section{padding:16px}.panel-app #login{padding:28px;margin:5vh 16px;max-width:440px}}
@media(prefers-reduced-motion:reduce){button,input,select,a{transition:none}}
@media(max-width:420px){.activation-app>header>a:first-child{width:100%;text-align:center;margin-right:0}.activation-app>header .panel-link{flex:1;text-align:center}}
@media(max-width:800px){.panel-app .sidebar nav{flex:0 0 100%;width:100%;min-width:0}.panel-app .sidebar nav button{flex:0 0 auto}}

/* Public entry pages: a single, centered card, shared across desktop and mobile. */
.customer-app,.activation-app{background:radial-gradient(ellipse at 50% 0%,#17213a28,transparent 52%),#090c12}
.customer-app>header,.activation-app>header{min-height:64px;padding:10px 24px;background:#0c1018;border-color:#222835}
.customer-app>header img,.activation-app>header img{width:120px;height:40px}
.customer-app main{margin:44px auto 0;padding:0 16px}
.customer-app .access-layout{display:block;max-width:480px;margin:0 auto}
.customer-app .access-card,.activation-app .activation-card{background:linear-gradient(155deg,#191e2a 0%,#10141c 52%,#0d1118 100%);border:1px solid #2c3443;border-radius:24px;box-shadow:0 18px 65px #0003}
.customer-app .access-card{padding:34px 30px;text-align:center}
.access-brand{display:block;width:160px;height:58px;object-fit:contain;margin:0 auto 24px}
.customer-app .access-card h1{font-size:26px;line-height:1.25;letter-spacing:-.035em;margin:0 0 12px}
.customer-app .access-card>p{font-size:13px;margin:0;color:#aab6cb}
.customer-app .access-card form{text-align:left;margin:27px 0 0}
.customer-app .access-card label{font-size:12px;margin:18px 0}
.customer-app .access-card #mac{text-align:center;letter-spacing:.1em}
.customer-app .access-card #key{text-align:center;letter-spacing:.05em}
.customer-app .access-card>p.help{border-top:0;margin:16px 0 0;padding:0;color:#8999b3;font-size:11px;line-height:1.65}
.customer-app .access-card input,.activation-app #mac{background:#0c1220;border-color:#323c50;min-height:48px}
.activation-app main{padding:44px 16px 0}
.activation-app .activation-card{display:block;max-width:480px;padding:34px 30px;text-align:center}
.activation-app .activation-intro{background:none;border:0;padding:0;align-items:center;text-align:center}
.activation-app .activation-intro .brand{width:160px;height:58px;margin:0 auto 24px}
.activation-app .activation-intro .eyebrow{display:none}
.activation-app .activation-intro h1{font-size:26px;margin:0 0 12px;line-height:1.25}
.activation-app .activation-intro .intro{font-size:13px;line-height:1.65}
.activation-app .activation-intro .price{align-self:center;display:inline-block;border-radius:999px;background:#b083241c;border-color:#75602c;font-size:24px;margin:20px 0 0;padding:10px 17px;line-height:1.4}
.activation-app .activation-intro .price small{display:inline;font-size:10px;margin:0 0 0 5px;white-space:nowrap}
.activation-app .activation-content{padding:0}
.activation-app .notice{text-align:left;margin-top:22px;padding:14px;background:#141c2c70;border-color:#2b3b57;font-size:11px;line-height:1.6}
.activation-app .notice p{margin-top:8px}
.activation-app #activation-form{margin-top:22px;text-align:left}
.activation-app #activation-form label{letter-spacing:.08em;font-size:11px}
.activation-app #mac{font-size:15px;padding:13px 8px;letter-spacing:.1em}
.activation-app #generate{margin-top:14px;min-height:46px}
.activation-app .footnote{margin:18px 0 0;font-size:11px;color:#8999b3}
.customer-app footer,.activation-app footer{padding:22px 16px;font-size:10px;color:#77849a}
@media(max-width:520px){
 .customer-app>header,.activation-app>header{padding:10px 16px;gap:10px}
 .customer-app main{margin-top:24px}.activation-app main{padding-top:24px}
 .customer-app .access-card,.activation-app .activation-card{padding:28px 22px;border-radius:21px}
 .customer-app .access-card h1,.activation-app .activation-intro h1{font-size:24px}
 .activation-app .activation-intro .price{font-size:23px;padding:10px 13px}
 .activation-app .activation-intro .price small{font-size:9px;margin-left:3px}
 .activation-app #mac{font-size:14px;letter-spacing:.06em}
}

/* Compact, labelled client actions; colors complement distinct icons. */
.row-actions{flex-wrap:nowrap;gap:5px;min-width:0;max-width:none;white-space:nowrap}
td:has(.row-actions){width:1%;padding-right:22px}
:is(.row-actions,.copy-cell) .icon-action{position:relative;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:36px;min-height:36px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;box-shadow:none}
:is(.row-actions,.copy-cell) .icon-action::before{content:"";display:block;width:19px;height:19px;background:currentColor;mask:var(--action-icon) center/contain no-repeat;-webkit-mask:var(--action-icon) center/contain no-repeat}
:is(.row-actions,.copy-cell) .icon-action:hover{background:#ffffff0c;border-color:#ffffff18}
:is(.row-actions,.copy-cell) .icon-action:focus-visible{outline:2px solid currentColor;outline-offset:2px;background:#ffffff0c}
.action-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(.row-actions,.copy-cell) .icon-action::after{content:attr(title);display:none;position:absolute;bottom:calc(100% + 7px);right:0;z-index:10;padding:7px 10px;border:1px solid #435066;border-radius:7px;background:#0b111c;color:#f4f6fa;font-size:11px;font-weight:500;line-height:1.3;pointer-events:none;box-shadow:0 5px 18px #0005}
:is(.row-actions,.copy-cell) .icon-action:hover::after,:is(.row-actions,.copy-cell) .icon-action:focus-visible::after{display:block}
 .action-edit{color:#b985ed;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m15%204%205%205M4%2020l5-1L21%207a2%202%200%200%200-5-5L4%2014z%22%2F%3E%3C%2Fsvg%3E")}
 .action-list{color:#2ac2de;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%224%22%2F%3E%3Cpath%20d%3D%22M7%208h.01M11%208h6M7%2012h.01M11%2012h6M7%2016h.01M13%2016h4%22%2F%3E%3C%2Fsvg%3E")}
 .action-key{color:#b985ed;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22m12%2012%208%208m-3-3%203-3m-6%200%203-3%22%2F%3E%3C%2Fsvg%3E")}
 .action-renew{color:#25cc87;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%208a9%209%200%201%200%201%207M20%203v5h-5M8%2012h8M12%208v8%22%2F%3E%3C%2Fsvg%3E")}
 .action-lock{color:#edb64e;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3M12%2014v3%22%2F%3E%3C%2Fsvg%3E")}
 .action-unlock{color:#25cc87;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%207-3M12%2014v3%22%2F%3E%3C%2Fsvg%3E")}
 .action-delete{color:#ff735f;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M6%206l1%2015h10l1-15M10%2010v7M14%2010v7%22%2F%3E%3C%2Fsvg%3E")}
 .action-partner{color:#2ac2de;--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2021v-3a6%206%200%200%201%2012%200v3M16%204a3%203%200%200%201%200%206M18%2015a5%205%200%200%201%203%206%22%2F%3E%3C%2Fsvg%3E")}

/* Management sign-in follows the centered public entry cards. */
.panel-app #login{width:calc(100% - 32px);max-width:440px;margin:clamp(32px,9vh,88px) auto;padding:34px 32px;background:linear-gradient(155deg,#191e2a,#10141c 52%,#0d1118);border-color:#2c3443;border-radius:24px;box-shadow:0 18px 65px #0003;text-align:center}
.panel-app #login img{display:block;width:160px;height:58px;object-fit:contain;margin:0 auto 24px}
.panel-app #login .eyebrow{margin:0 0 12px;font-size:9px;color:#cfb477;letter-spacing:.18em}
.panel-app #login h1{font-size:26px;line-height:1.25;margin:0 0 12px}
.panel-app #login .login-intro{font-size:13px;color:#aab6cb;margin:0 0 26px}
.panel-app #login form{text-align:left}
.panel-app #login label{font-size:12px;margin:0 0 19px}
.panel-app #login input{min-height:48px;background:#0c1220;border-color:#323c50}
.panel-app #login .primary{width:100%;min-height:46px;margin:6px 0 0}
@media(max-width:520px){.panel-app #login{padding:28px 22px;border-radius:21px}.panel-app #login h1{font-size:24px}}

/* Regular for reading, Medium for hierarchy. */
body{font-weight:400}
h1,h2,h3,h4,strong,b,button,.primary,.badge{font-weight:500}
.panel-app th,.panel-app td,.panel-app label,.panel-app input,.panel-app select{font-family:inherit}
.panel-app td{font-weight:400}
.device-list th{font-size:10px;letter-spacing:.025em;white-space:nowrap;padding:16px 12px;font-weight:500}
.device-list td{padding:18px 12px;font-size:13px;font-weight:400}
.device-list .client-cell{min-width:130px;max-width:250px;line-height:1.6;overflow-wrap:anywhere}
.device-list td:has(.row-actions){padding-left:8px;padding-right:12px}
.copy-cell{display:flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums}
.copy-cell>span{user-select:text}
.copy-cell .icon-action{flex-basis:28px;width:28px;min-height:32px;height:32px;color:#98a9c1}
.copy-cell .icon-action::before{width:15px;height:15px}
.copy-cell .icon-action:hover,.copy-cell .icon-action:focus-visible{color:#f3cb72}
.copy-cell .icon-action::after{right:auto;left:50%;transform:translateX(-50%)}
/* One focus border for fields, including every modal and public form. */
body input:not([type=checkbox]):focus,body input:not([type=checkbox]):focus-visible,body select:focus,body select:focus-visible,body textarea:focus,body textarea:focus-visible{border-color:#efbd50!important;outline:none;box-shadow:none}
 .action-copy{--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h3%22%2F%3E%3C%2Fsvg%3E")}

/* Client counters are informational, with only a visual hover treatment. */
.client-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 28px}
.client-summary-card{--summary-accent:#4b91ff;display:flex;align-items:center;gap:16px;min-height:126px;padding:22px 18px;border:1px solid transparent;border-radius:16px;background:#111925;cursor:default;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.client-summary-card:hover{border-color:var(--summary-accent);background:#141e2e;box-shadow:0 7px 24px #0002}
.client-summary-icon{display:flex;align-items:center;justify-content:center;flex:0 0 43px;width:43px;height:43px;border:1px solid #304563;border-radius:50%;background:#17253a;color:var(--summary-accent)}
.client-summary-icon::before{content:"";width:21px;height:21px;background:currentColor;mask:var(--summary-icon) center/contain no-repeat;-webkit-mask:var(--summary-icon) center/contain no-repeat}
.client-summary-body{min-width:0}
.client-summary-body h2{font-size:11px;font-weight:500;letter-spacing:.035em;text-transform:uppercase;line-height:1.5;margin:0 0 3px;color:#c1cbdc}
.client-summary-body strong{display:block;font-size:30px;font-weight:500;line-height:1.2;color:var(--summary-accent);font-variant-numeric:tabular-nums}
.client-summary-body p{font-size:11px;font-weight:400;line-height:1.5;color:#99a9c0;margin:4px 0 0}
.summary-upcoming{--summary-accent:#edbd58}.summary-expired{--summary-accent:#ee887b}.summary-blocked{--summary-accent:#b28ae5}
@media(max-width:1250px){.client-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.client-summary{grid-template-columns:1fr;gap:12px;margin-bottom:24px}.client-summary-card{min-height:113px;padding:18px 22px}}
@media(prefers-reduced-motion:reduce){.client-summary-card{transition:none}}
.summary-active{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2021h8M12%2017v4%22%2F%3E%3C%2Fsvg%3E")}
.summary-upcoming{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E")}
.summary-expired{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%203v4M17%203v4M3%2010h18M9%2014l6%204M15%2014l-6%204%22%2F%3E%3C%2Fsvg%3E")}
.summary-blocked{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3M12%2014v3%22%2F%3E%3C%2Fsvg%3E")}

/* Slots use the same non-interactive cards as the client summary. */
.slot-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.slot-overview{margin-bottom:28px}
.slot-overview .slot-summary{margin-bottom:14px}
.slot-overview>.help{margin:0 0 16px}
.slot-overview>.primary{margin:0}
.summary-cost{--summary-accent:#edbd58}.summary-online{--summary-accent:#68c99e}
.slot-list td{font-size:13px;font-weight:400;vertical-align:middle}
.slot-list th{white-space:nowrap}
.slot-list .dns-address{display:block;min-width:140px;max-width:320px;overflow-wrap:anywhere;white-space:normal;line-height:1.6}
.slot-list td:has(.row-actions){padding-right:20px}
/* Narrower vertical dialogs; keep the heading and close button visible. */
dialog{width:min(540px,calc(100vw - 32px));min-height:min(560px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:28px;overflow:hidden;border-radius:20px}
dialog[open]{display:flex;flex-direction:column}
dialog>.modal-head,dialog>.heading{flex:0 0 auto;gap:16px;margin-bottom:24px;padding-bottom:22px}
dialog>.modal-head h2,dialog>.heading h2{min-width:0;line-height:1.4}
dialog>.modal-head button,dialog>.heading button{flex:0 0 36px}
dialog>form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#4c586c transparent;padding:3px 4px 4px 0}
dialog #edit-fields,dialog #fields{flex:1 0 auto}
dialog label{margin-bottom:22px}
dialog .source-section{padding:18px}
dialog .field-grid{gap:14px}
dialog #save,dialog .actions{flex:0 0 auto}
@media(max-width:1100px){.slot-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){dialog{width:calc(100vw - 24px);padding:22px;min-height:min(520px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:18px}dialog>.modal-head,dialog>.heading{margin-bottom:20px;padding-bottom:18px}}
@media(max-width:540px){.slot-summary{grid-template-columns:1fr}}
.summary-slots{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%2218%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%206.5h.01M7%2017.5h.01M11%206.5h6M11%2017.5h6%22%2F%3E%3C%2Fsvg%3E")}
.summary-cost{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M2%2010h20M6%2015h4%22%2F%3E%3C%2Fsvg%3E")}
.summary-online{--summary-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22%2F%3E%3C%2Fsvg%3E")}

/* Global typography: Montserrat Regular and Medium throughout every web page. */
:root{--font-ui:Montserrat,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-family:var(--font-ui);font-weight:400;font-synthesis:none}
body{font-family:var(--font-ui);font-weight:400}
button,input,select,textarea,option,optgroup,code,kbd,pre,samp{font-family:var(--font-ui)}
input,select,textarea,option,code,kbd,pre,samp{font-weight:400}
input::placeholder,textarea::placeholder{font-family:inherit;font-weight:400}
h1,h2,h3,h4,h5,h6,label,legend,th,strong,b,button,optgroup,summary{font-weight:500}
p,td,li,small,caption{font-weight:400}

/* Optional local extraction; configuration still saves slot and credentials. */
.extract-shortcut{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #354052}
.extract-shortcut label{margin-bottom:12px}
.extract-button{min-height:38px;padding:9px 15px;background:#252f40;border-color:#46546c;color:#ead5a5}
.extract-feedback:empty{display:none}
.source-section .extract-feedback{margin:12px 0 0;line-height:1.6}
.source-section .extract-error{color:#f4b2aa}

/* Management area uses the same canvas and surface as the sign-in screen. */
:root{--management-canvas:#0d1016;--management-surface:linear-gradient(145deg,#1c2029,#191c23);--management-border:#30343e;--management-shadow:0 20px 55px #0002}
body.panel-app{background:var(--management-canvas)}
.panel-app #dashboard{min-height:100vh;background:radial-gradient(ellipse at -12% -18%,rgba(212,150,29,.14),rgba(164,106,25,.04) 38%,transparent 62%),radial-gradient(ellipse at 112% -16%,rgba(231,174,55,.12),rgba(140,93,23,.03) 40%,transparent 64%),var(--management-canvas);background-attachment:fixed}
.panel-app #dashboard main{min-height:100vh;background:transparent}
.panel-app #dashboard .sidebar{background:linear-gradient(180deg,rgba(28,32,41,.97),rgba(13,16,22,.98));border-color:var(--management-border);box-shadow:8px 0 35px #0002}
.panel-app #dashboard header{border-color:#292d36}
.panel-app #dashboard :is(.panel,.stat,.client-summary-card){background:var(--management-surface);border-color:var(--management-border);box-shadow:var(--management-shadow)}
.panel-app #dashboard .client-summary-card:hover{background:linear-gradient(145deg,#20242d,#1b1e26);border-color:var(--summary-accent);box-shadow:0 12px 34px #0003}
.panel-app #dashboard .table-wrap{background:var(--management-surface);border-color:var(--management-border);box-shadow:var(--management-shadow)}
.panel-app #dashboard table{background:transparent}
.panel-app #dashboard th{background:#1c2029;border-color:#30343e;color:#bec5d1}
.panel-app #dashboard td{background:#191c23;border-color:#2b2f38;color:#e8eaf0}
.panel-app #dashboard tbody tr:nth-child(even) td{background:#1b1e26}
.panel-app #dashboard tbody tr:hover td{background:#20242d}
.panel-app #dashboard .empty{background:linear-gradient(145deg,#1c2029,#191c23);border-color:#30343e}
.panel-app dialog{background:var(--management-surface);border-color:#3a3e48;box-shadow:0 32px 120px #0009;scrollbar-color:#4a4e59 #191c23}
.panel-app dialog .modal-head,.panel-app dialog>.heading{border-color:#30343e}

/* Partner identity and subscription summary in the sidebar. */
.sidebar-account{margin:12px 0 5px;padding:14px;border:1px solid #695328;border-radius:13px;background:linear-gradient(145deg,#201d17,#181a20);box-shadow:0 12px 30px #0002}
.sidebar-account-head{display:flex;flex-direction:column;gap:2px;padding:0 0 11px;border-bottom:1px solid #37332a}.sidebar-account-head span{color:#8f9aad;font-size:10px}.sidebar-account-head strong{color:#f3f4f6;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.sidebar-account-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #302d27}.sidebar-account-row:last-child{padding-bottom:0;border-bottom:0}.sidebar-account-row span{color:#8290a5;font-size:10px}.sidebar-account-row b{color:#efbd50;font-size:10px;font-weight:500;text-align:right;font-variant-numeric:tabular-nums}.sidebar-account-head+.sidebar-account-row b{padding:3px 6px;border:1px solid #6e572b;border-radius:6px;background:#392e19}
@media(max-width:800px){.sidebar-account{display:none}}

/* Customer and activation sites use the same LumeTV canvas and surfaces. */
body.customer-app,body.activation-app{min-height:100vh;background:radial-gradient(ellipse at -12% -18%,rgba(212,150,29,.14),rgba(164,106,25,.04) 38%,transparent 62%),radial-gradient(ellipse at 112% -16%,rgba(231,174,55,.12),rgba(140,93,23,.03) 40%,transparent 64%),var(--management-canvas);background-attachment:fixed}
.customer-app>header,.activation-app>header{background:rgba(13,16,22,.96);border-color:var(--management-border)}
.customer-app main,.activation-app main{background:transparent}
.customer-app :is(.access-card,.panel),.activation-app .activation-card{background:var(--management-surface);border-color:var(--management-border);box-shadow:var(--management-shadow)}
.customer-app .panel.list{background:linear-gradient(145deg,#1c2029,#191c23)}
.customer-app dialog{background:var(--management-surface);border-color:#3a3e48;box-shadow:0 32px 120px #0009;scrollbar-color:#4a4e59 #191c23}
.customer-app dialog .heading{border-color:var(--management-border)}
.customer-app :is(input,select),.activation-app input{background:#252931;border-color:#373c46;color:#f1f1f5}
.customer-app .notice,.activation-app :is(.notice,.payment-status){background:#191c23;border-color:var(--management-border)}
.activation-app .activation-intro .price{background:#b083241c;border-color:#75602c}

/* Partner subscription: plan status, term choices, reseller and renewals. */
.plan-current{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main days" "notice notice";gap:16px 24px;padding:26px 24px 23px;margin-bottom:22px;border:1px solid #78602b;border-radius:17px;background:linear-gradient(145deg,#211d14,#191a1a);box-shadow:0 20px 55px #0002}
.plan-current-main{grid-area:main;display:flex;align-items:center;gap:17px;min-width:0}
.plan-current-icon,.reseller-icon{display:flex;align-items:center;justify-content:center;flex:0 0 55px;width:55px;height:55px;border-radius:14px;background:#3a2e13;color:#efbd50}
.plan-current-icon::before{content:"";width:25px;height:25px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%209h10M7%2014h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%209h10M7%2014h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.plan-current-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.plan-current-title h2{margin:0;font-size:25px}.plan-status{padding:5px 10px;border:1px solid #8b6d2e;border-radius:999px;background:#3a2d13;color:#f1c45f;font-size:11px;font-weight:500}.plan-expiry{margin:7px 0 0;color:#8193aa;font-size:13px}
.plan-days{grid-area:days;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:112px}.plan-days strong{color:#efbd50;font-size:38px;font-weight:500;line-height:1}.plan-days span{margin-top:5px;color:#8091a9;font-size:12px}
.plan-notice{grid-area:notice;display:flex;align-items:center;gap:12px;min-height:54px;padding:13px 17px;border-radius:12px;background:#392d16;color:#efc45f}.plan-notice>span{font-size:20px}.plan-notice p{margin:0;font-size:13px;line-height:1.5}
.plan-current.is-expired{border-color:#754c2b;background:linear-gradient(145deg,#211a16,#19191a)}.plan-current.is-expired .plan-current-icon{background:#39271b;color:#e4a24b}.plan-current.is-expired .plan-status{border-color:#76502c;background:#382719;color:#eabb72}.plan-current.is-expired .plan-days strong{color:#e4a24b}.plan-current.is-expired .plan-notice{background:#342519;color:#e7ad64}
.plan-renew-action{display:flex;justify-content:center;margin:0 0 24px}.plan-renew-button{min-width:240px;background:linear-gradient(100deg,#f6ce69,#eab63e);border-color:#efbd50;color:#211806;box-shadow:0 7px 22px #0002}.plan-renew-button:hover:not(:disabled){background:#ffda83;border-color:#ffda83}.plan-feedback{text-align:center;color:#c6a969;font-size:12px;margin:-12px 0 24px}
.plan-section-title{display:flex;align-items:center;gap:11px;margin:0 0 20px}.plan-section-title h2{margin:0;font-size:21px}.plan-section-icon,.history-title-icon{width:18px;height:18px;color:#efbd50;border:2px solid currentColor;border-radius:2px}.renewal-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.renewal-plan-option{position:relative;display:flex;flex-direction:column;align-items:center;min-height:202px;padding:20px 16px;border:1px solid #303844;border-radius:14px;background:#202731;color:#edf1f5;text-align:center;box-shadow:none}.renewal-plan-option:hover:not(:disabled){background:#292b2d;border-color:#a8843b}.renewal-plan-option.selected{background:#302b20;border-color:#efbd50;box-shadow:0 0 0 1px #efbd5033}.renewal-plan-option h3{font-size:18px;margin:0 0 6px}.plan-period{color:#8191a8;font-size:13px}.plan-price{display:block;width:100%;margin:14px 0 8px;padding:10px 8px;border-radius:10px;background:#3a301b;color:#efbd50;font-size:26px;line-height:1.2}.plan-price small{font-size:11px;color:#efbd50}.plan-daily{margin-top:auto;color:#7f90a7;font-size:12px}.plan-discount{position:absolute;right:9px;top:9px;padding:3px 6px;border-radius:999px;background:#493b1d;color:#f2cb70;font-size:8px;font-weight:500}
.reseller-card{display:flex;align-items:center;gap:14px;padding:20px;margin-top:24px}.reseller-icon{flex-basis:48px;width:48px;height:48px;border-radius:50%}.reseller-icon::before{content:"";width:23px;height:23px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M5%2021a7%207%200%200%201%2014%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M5%2021a7%207%200%200%201%2014%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}.reseller-card div{display:flex;flex-direction:column;gap:4px}.reseller-card div span{color:#8293aa;font-size:12px}.reseller-card div strong{font-size:17px}
.plan-history{margin-top:24px}.history-title-icon{border:0;border-radius:50%;background:#efbd50;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012a9%209%200%201%200%203-6.7L3%208%22%2F%3E%3Cpath%20d%3D%22M3%203v5h5M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012a9%209%200%201%200%203-6.7L3%208%22%2F%3E%3Cpath%20d%3D%22M3%203v5h5M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}.payment-history{display:grid;gap:9px}.payment-history-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:76px;padding:14px 16px;border:0;border-radius:12px;background:#202731;text-align:left}.payment-history-row:hover:not(:disabled){background:#252e39;border:0}.payment-history-main{display:flex;align-items:center;gap:14px}.payment-history-main div,.payment-history-value{display:flex;flex-direction:column;gap:4px}.payment-history-main strong{font-size:14px}.payment-history-main span,.payment-history-value span{color:#8191a8;font-size:12px}.payment-history-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#4b380d;color:#f3ac00}.payment-history-icon::before{content:"";width:16px;height:16px;border:2px solid currentColor;border-radius:50%;box-sizing:border-box}.payment-history-value{align-items:flex-end}.payment-history-value strong{color:#f2aa00;font-size:15px}.payment-history-row.paid .payment-history-icon{background:#0b4335;color:#29c98c}.payment-history-row.paid .payment-history-icon::before{content:"✓";border:0;font-size:17px}.payment-history-row.paid .payment-history-value strong,.payment-history-row.paid .payment-history-value span{color:#2fd099}.payment-history-row.cancelled .payment-history-icon{background:#41252a;color:#ef8c96}.payment-history-row.cancelled .payment-history-value strong,.payment-history-row.cancelled .payment-history-value span{color:#d98a91}.payment-history-row.review .payment-history-icon{background:#3b3020;color:#ddb566}.payment-history-row.resolved .payment-history-icon{background:#20394a;color:#78b9e5}
@media(max-width:1050px){.renewal-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.plan-current{grid-template-columns:1fr;grid-template-areas:"main" "days" "notice"}.plan-days{align-items:flex-start;min-width:0}.plan-days{flex-direction:row;align-items:baseline;gap:8px}.plan-days strong{font-size:30px}.renewal-plans{grid-template-columns:1fr}.renewal-plan-option{min-height:178px}.plan-renew-button{width:100%}.payment-history-row{padding:13px 12px}.payment-history-value strong{font-size:13px}.available-plans,.plan-history{padding:20px}}

/* Renewal picker follows the reference while keeping LumeTV prices and Pix flow. */
.panel-app dialog.renewal-dialog{width:min(520px,calc(100vw - 28px));min-height:0;max-height:calc(100dvh - 32px);padding:24px;border-color:#304052;background:linear-gradient(145deg,#111927,#0d1522);box-shadow:0 28px 100px #000a}
.renewal-dialog>.modal-head{margin-bottom:10px;padding-bottom:0;border-bottom:0}.renewal-dialog>.modal-head h2{font-size:22px}.renewal-dialog #edit-fields{flex:0 0 auto}.renewal-dialog-intro{margin:0 0 18px;color:#8998ae;font-size:13px}.renewal-dialog-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.renewal-dialog-plan{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:112px;padding:14px;border:1px solid #303a49;border-radius:13px;background:#202832;color:#edf1f5;box-shadow:none}.renewal-dialog-plan:hover:not(:disabled){background:#242e39;border-color:#9a7b3d}.renewal-dialog-plan.selected{border-color:#efbd50;background:#282c31;box-shadow:0 0 0 1px #efbd5030}.renewal-dialog-plan strong{font-size:16px}.renewal-dialog-plan span{margin:6px 0 9px;color:#8190a6;font-size:12px}.renewal-dialog-plan b{color:#e8bd5c;font-size:16px;font-weight:500}.renewal-dialog #edit-error{margin:12px 0 0}.renewal-dialog #edit-form>#save{position:relative;min-height:48px;margin-top:16px;background:linear-gradient(100deg,#f6ce69,#eab63e);border-color:#efbd50;color:#211806}.renewal-dialog #edit-form>#save::before{content:"";display:inline-block;width:15px;height:15px;margin-right:8px;vertical-align:-2px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%209h10M7%2014h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%209h10M7%2014h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
@media(max-width:480px){.renewal-dialog-plans{grid-template-columns:1fr 1fr;gap:9px}.renewal-dialog-plan{min-height:102px;padding:11px}.panel-app dialog.renewal-dialog{padding:20px}}

/* Wider premium navigation, aligned with the Algo Gestor icon language. */
@media(min-width:1201px){
 .panel-app #dashboard .sidebar{width:310px;padding:30px 24px}
 .panel-app #dashboard main{margin-left:310px}
}
@media(min-width:801px) and (max-width:1200px){
 .panel-app #dashboard .sidebar{width:286px;padding:28px 21px}
 .panel-app #dashboard main{margin-left:286px}
}
@media(min-width:801px){
 .panel-app #dashboard .sidebar>img{width:210px;height:76px;margin-left:auto;margin-right:auto}
 .panel-app #dashboard .sidebar nav{margin-top:22px}
}
.panel-app #dashboard .sidebar nav button{display:flex;align-items:center;gap:13px;width:100%;min-height:46px;margin:4px 0;padding:11px 13px;border-left:3px solid transparent;border-radius:11px;color:#99a2b3;font-size:13px;font-weight:500;text-align:left;transition:background .18s ease,color .18s ease,border-color .18s ease}
.panel-app #dashboard .sidebar nav button:hover{background:#ffffff08;color:#e7e9ee;border-color:transparent}
.panel-app #dashboard .sidebar nav button.selected{background:linear-gradient(90deg,#d5a63d2b,rgba(213,166,61,.03));color:#efc868;border-left-color:#efbd50}
.sidebar-nav-icon{display:block;flex:0 0 22px;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sidebar-nav-label{min-width:0;line-height:1.25}
@media(max-width:800px){
 .panel-app #dashboard .sidebar nav button{width:auto;min-height:42px;padding:9px 12px;gap:9px}
 .sidebar-nav-icon{flex-basis:19px;width:19px;height:19px}
}

/* Enlarged partner summary with the same remaining-term meter used by Algo Gestor. */
.panel-app #dashboard .sidebar #role-name{margin:12px 0 4px;font-size:12px;letter-spacing:2.2px}
.panel-app #dashboard .sidebar-account{min-height:202px;margin:14px 0 8px;padding:18px;border-radius:15px}
.panel-app #dashboard .sidebar-account-head{gap:3px;padding-bottom:14px}
.panel-app #dashboard .sidebar-account-head span{font-size:11px}
.panel-app #dashboard .sidebar-account-head strong{font-size:16px}
.panel-app #dashboard .sidebar-account-row{padding:12px 0;gap:10px}
.panel-app #dashboard .sidebar-account-row>span{font-size:11px}
.panel-app #dashboard .sidebar-account-row b{font-size:11.5px}
.panel-app #dashboard .sidebar-account-head+.sidebar-account-row b{padding:4px 7px}
.panel-app #dashboard .sidebar-account-validity{display:grid;grid-template-columns:auto minmax(0,1fr);row-gap:8px;align-items:center}
.panel-app #dashboard .sidebar-account-validity-value{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;min-width:0}
.panel-app #dashboard .sidebar-account-validity-value>span{white-space:nowrap}
.panel-app #dashboard .sidebar-account-validity-value small{margin:0;text-align:right;color:#9e8550;font-size:9px;font-weight:500;white-space:nowrap}
.sidebar-account-progress{display:block;grid-column:1/-1;width:100%;height:4px;margin:0;overflow:hidden;border:0;border-radius:999px;background:#47402f;appearance:none}
.sidebar-account-progress::-webkit-meter-bar{border:0;border-radius:999px;background:#47402f}
.sidebar-account-progress::-webkit-meter-optimum-value{border-radius:999px;background:linear-gradient(90deg,#d49c2e,#f2c65e)}
.sidebar-account-progress::-moz-meter-bar{border-radius:999px;background:linear-gradient(90deg,#d49c2e,#f2c65e)}
.sidebar-account-progress.is-warning::-webkit-meter-optimum-value{background:#e99a36}
.sidebar-account-progress.is-warning::-moz-meter-bar{background:#e99a36}
.sidebar-account-progress.is-danger::-webkit-meter-optimum-value{background:#d95a61}
.sidebar-account-progress.is-danger::-moz-meter-bar{background:#d95a61}
.panel-app #dashboard .sidebar-account-row b.is-danger{color:#e8797f}
