/* BULWARK CUSTOMER PORTAL V3 — Single original dark-tactical design */
:root{color-scheme:dark;--bg:#090d12;--panel:#111922;--panel2:#19242f;--line:#2d3c49;--line2:#425263;--text:#eff5f8;--muted:#9aaebe;--soft:#73889a;--orange:#e85b2c;--orange2:#ff935d;--success:#5bd5b7;--r:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--text);font:14px/1.55 'Segoe UI',Inter,Arial,sans-serif;background:radial-gradient(ellipse 780px 480px at 93% 5%,#25334055,transparent 82%),radial-gradient(ellipse 550px 370px at 4% 100%,#411f1833,transparent 80%),var(--bg)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--orange2);outline-offset:3px}img{max-width:100%;display:block}p{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18}.wrap{max-width:1280px;margin:auto;padding:0 30px}
.site-header{height:80px;display:flex;align-items:center;background:#0a0e14ef;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.bar{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{height:54px;width:54px;object-fit:contain;filter:drop-shadow(0 0 12px #e6582740)}.brand strong{display:block;font-size:24px;line-height:1;letter-spacing:2.8px;font-weight:900}.brand small{display:block;font-size:9px;color:#90a5b4;letter-spacing:1.4px;font-weight:700;margin-top:7px}.toplinks{display:flex;align-items:center;gap:25px}.toplinks a{color:#b8c7d4;font-size:11px;letter-spacing:.4px;font-weight:800}.toplinks a:hover{color:var(--orange2)}.toplinks .topcta{border:1px solid #536575;background:#1e2a35;border-radius:7px;padding:10px 15px;color:white}.eyebrow{font:800 11px Consolas,'Courier New',monospace;letter-spacing:2px;color:var(--orange2);text-transform:uppercase}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace}.eyebrowline{width:38px;height:3px;background:var(--orange);margin:15px 0}.pill{border:1px solid #6b4535;color:#f5a77b;background:#2a201e;padding:6px 10px;border-radius:99px;font-size:10px;font-weight:900;letter-spacing:.7px}.badge-neutral{border:1px solid #435260;color:#adc1cf;background:#1d2a35;padding:6px 10px;border-radius:99px;font-size:11px;font-weight:800}.button{padding:12px 18px;border:1px solid transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:8px;font-weight:850;font-size:12px;letter-spacing:.35px;min-height:44px}.button.primary{background:linear-gradient(110deg,#c44720,#e65c2a);color:white;box-shadow:0 9px 25px #d95a2525}.button.primary:hover{filter:brightness(1.09)}.button.ghost{border-color:#425466;background:#1d2934;color:#e7eff4}.button.ghost:hover{border-color:var(--orange2)}.button.full{width:100%}.button:disabled{opacity:.48;cursor:not-allowed}.site-footer{margin-top:60px;border-top:1px solid var(--line);padding:26px 0;color:#8598aa;font-size:11px}.footinner{display:flex;justify-content:space-between;align-items:center;gap:15px}.footbrand{display:flex;align-items:center;gap:9px;font-weight:850;letter-spacing:1.7px}.footbrand img{height:26px;width:26px;object-fit:contain}
.auth-shell{min-height:calc(100vh - 155px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px;padding-top:70px;padding-bottom:45px}.auth-art{position:relative;padding:38px 15px 38px 0}.auth-art:before{position:absolute;content:'';width:410px;height:410px;border-radius:50%;background:#ce4c2420;filter:blur(86px);z-index:-1;top:-40px;left:-10px}.auth-art .big-logo{width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 0 28px #e85b2c33);margin-bottom:30px}.auth-art h1{font-size:clamp(39px,4.6vw,66px);font-weight:900;letter-spacing:-2px;margin:15px 0 20px;max-width:590px}.auth-art h1 span{color:var(--orange2)}.auth-art p{font-size:16px;max-width:490px;line-height:1.7}.auth-features{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:560px;margin-top:30px}.auth-feature{border:1px solid #334451;background:#161f29b8;border-radius:9px;padding:15px}.auth-feature b{display:block;font-size:13px}.auth-feature span{color:var(--muted);font-size:11px;display:block;margin-top:6px}.feature-dot{color:var(--orange2);margin-right:6px}.auth-card{padding:36px;background:linear-gradient(150deg,#17222c,#11171f);border:1px solid #3a4a58;border-radius:16px;box-shadow:0 25px 80px #0006;position:relative;overflow:hidden;max-width:525px;width:100%;margin-left:auto}.auth-card:before,.panel:before{content:'';height:3px;position:absolute;top:0;left:25px;right:25px;background:linear-gradient(90deg,var(--orange),#a84428 70%,transparent)}.auth-card h2{font-size:29px;letter-spacing:-.5px;margin:12px 0 7px}.auth-card .muted{margin-bottom:26px}.form-grid{display:grid;gap:16px}.field label{display:block;color:#c8d5df;font-size:12px;font-weight:800;margin-bottom:7px}.field input{width:100%;padding:13px 14px;background:#0d151d;border:1px solid #445461;color:white;border-radius:7px;outline:0;min-height:47px}.field input:focus{border-color:var(--orange2);box-shadow:0 0 0 2px #d45c2620}.field input::placeholder{color:#748595}.smallprint{color:#8ea2b1;font-size:11px;line-height:1.65}.auth-bottom{border-top:1px solid #33424e;padding-top:19px;margin-top:22px;color:#aebfc9;font-size:12px}.auth-bottom a{color:var(--orange2);font-weight:850}.alert{border:1px solid #684436;background:#38241e;color:#ffd3bd;border-radius:8px;padding:12px 14px;font-size:12px;margin-bottom:18px}.alert.ok{border-color:#316453;background:#153529;color:#a6f3d7}.hp{position:absolute;left:-99999px;top:auto;width:1px;height:1px;overflow:hidden}
.portal-page{padding-top:43px;padding-bottom:55px}.portal-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.portal-heading h1{font-size:40px;letter-spacing:-1.2px;margin:10px 0 10px}.portal-heading p{margin-bottom:0}.portal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:23px;align-items:start}.side{border:1px solid var(--line);background:#131d26;border-radius:12px;padding:15px;position:sticky;top:100px}.side .side-head{font:800 10px Consolas,monospace;color:var(--orange2);letter-spacing:1.4px;padding:10px 12px}.side a{display:flex;align-items:center;gap:11px;border:1px solid transparent;padding:12px;border-radius:8px;color:#aec1cd;font-size:12px;font-weight:750;margin-bottom:3px}.side a.active,.side a:hover{color:white;background:#2a302f;border-color:#76503b}.side .line{height:1px;background:#2c3d49;margin:13px 9px}.side form{margin:0}.side .logout{width:100%;display:block;border:1px solid transparent;background:transparent;color:#e4ac96;text-align:left;padding:12px;border-radius:8px;font-size:12px;font-weight:800}.side .logout:hover{background:#2c2020}.content{min-width:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.stat,.panel{border:1px solid #354653;background:linear-gradient(145deg,#18232c,#121a22);border-radius:12px;padding:23px}.stat small{display:block;color:#9dabb9;font-size:11px;margin-bottom:16px}.stat strong{font-weight:900;font-size:27px}.stat em{display:block;color:#8195a5;font-style:normal;font-size:11px;margin-top:8px}.panel{position:relative;overflow:hidden}.panel h2{font-size:21px;margin:4px 0 11px}.panel p{line-height:1.7}.panelgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.panel a.inline-link{color:#ffa374;font-size:12px;font-weight:800}.empty{border:1px dashed #465969;border-radius:10px;padding:42px 24px;text-align:center;background:#111923}.empty .empty-icon{font-size:32px;opacity:.75;display:block;margin-bottom:9px}.empty h3{font-size:17px;margin-bottom:9px}.empty p{font-size:12px;max-width:500px;margin:0 auto 16px}.data-list{display:grid;gap:10px;margin-top:17px}.data-row{display:grid;grid-template-columns:160px 1fr;gap:10px;padding-bottom:12px;border-bottom:1px solid #2f4050;font-size:12px}.data-row span{color:#98abba}.form-panel{max-width:740px}.form-panel form{max-width:520px}.secure-note{border:1px solid #514332;background:#28251f;border-radius:9px;color:#e9ba98;padding:14px 16px;font-size:12px;margin-top:20px}.admin-preview-note{margin:20px 0;padding:12px 14px;color:#ffb48c;background:#27221f;border-left:3px solid #ef7442;font-size:12px}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr;gap:18px;padding-top:32px}.auth-art{padding:5px 0}.auth-art .big-logo{width:76px;height:76px;margin-bottom:14px}.auth-art h1{font-size:39px;margin:11px 0}.auth-art p{font-size:13px}.auth-card{max-width:100%;margin:0}.portal-layout{grid-template-columns:1fr}.side{position:static;display:flex;flex-wrap:wrap;gap:4px}.side .side-head,.side .line{display:none}.side a,.side .logout{white-space:nowrap}.stats{grid-template-columns:1fr 1fr}.toplinks{gap:12px}}
@media(max-width:600px){.wrap{padding:0 17px}.site-header{height:73px}.brand strong{font-size:19px}.brand small{font-size:8px}.brand img{width:43px;height:43px}.toplinks a:not(.topcta){display:none}.toplinks .topcta{padding:9px 11px}.auth-art h1{font-size:36px}.auth-features,.panelgrid{grid-template-columns:1fr}.auth-card{padding:27px 20px}.auth-shell{min-height:0;padding-bottom:10px}.portal-heading{display:block}.portal-heading h1{font-size:30px}.stats{grid-template-columns:1fr}.portal-page{padding-top:29px}.footinner{display:block}.footbrand{margin-bottom:10px}.side{gap:0}.side a{font-size:11px;padding:10px}.data-row{grid-template-columns:1fr;gap:4px}}

@media(max-width:600px){.auth-art:before{width:calc(100vw - 34px);left:0}.auth-art{min-width:0}}

/* V3.1 — licença permanente e redefinição de IP */
.license-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.license-item:last-of-type{border-bottom:0}.license-item strong{font-size:14px}.license-item p{margin:6px 0 0;font-size:12px}.license-item form{flex-shrink:0}
@media(max-width:650px){.license-item{align-items:flex-start;flex-direction:column}.license-item form,.license-item button{width:100%}}

/* Bulwark V3.5: cards de prazo - nao altera estilo global */
.license-v35-intro{font-size:12px;max-width:790px}
.license-v35-notice{border:1px solid #776139;background:#2c261c;color:#f6c58a;border-radius:9px;padding:12px 14px;margin:13px 0;font-size:12px}
.license-v35-list{display:grid;gap:15px;margin:20px 0}
.license-v35-card{padding:19px 20px;border:1px solid #394a57;border-radius:11px;background:linear-gradient(120deg,#141f29,#101820);min-width:0}
.license-v35-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.license-v35-top h3{font-size:21px;margin:4px 0 0}
.license-v35-state{display:inline-block;border:1px solid #5b6d78;background:#22303b;color:#c1d0dc;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:850;white-space:nowrap}
.license-v35-active,.license-v35-permanent{border-color:#34786b;color:#73e4c8;background:#17352f}
.license-v35-expired,.license-v35-revoked{border-color:#825047;color:#ffb1a1;background:#39231e}
.license-v35-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.license-v35-metric{border:1px solid #344655;border-radius:8px;background:#0d161f;padding:13px 15px;min-width:0}
.license-v35-metric span{display:block;color:#94aabc;font-size:11px;font-weight:750;margin-bottom:5px}
.license-v35-metric strong{display:block;color:#edf5fb;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.license-v35-metric:nth-child(2) strong{color:#ffab7d;font-size:17px}
.license-v35-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:15px;color:#97abba;font-size:11px;flex-wrap:wrap}
.license-v35-note{font-size:11px;line-height:1.7;color:#93aabc;margin:12px 0 16px}
@media(max-width:650px){.license-v35-card{padding:16px 13px}.license-v35-metrics{grid-template-columns:1fr}.license-v35-top h3{font-size:19px}.license-v35-bottom .button{width:100%}}


/* Bulwark V3.6 — interface de licenças consistente, independente do cache V3.5 */
.bw36-section{padding:24px 25px}
.bw36-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}
.bw36-intro h2{font-size:25px;letter-spacing:-.45px;margin:8px 0 7px}
.bw36-intro p{font-size:13px;max-width:660px;margin:0}
.bw36-count{font-size:11px;font-weight:750;color:#d4e1ea;background:#202e3a;border:1px solid #3f5060;padding:9px 12px;border-radius:999px;white-space:nowrap}
.bw36-list{display:grid;gap:17px}
.bw36-card{min-width:0;overflow:hidden;border-radius:12px;border:1px solid #3b4c5b;background:linear-gradient(130deg,#16232d,#0e171f);box-shadow:0 14px 28px #0002}
.bw36-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 24px 20px;border-top:3px solid #e65f30}
.bw36-licenseid{display:block;color:#ff9969;letter-spacing:1.65px;font:bold 11px Consolas,monospace;margin-bottom:10px}
.bw36-header h3{font-size:23px;margin:0 0 5px;letter-spacing:-.4px}
.bw36-subhead{font-size:12px;color:#9eb2c2}
.bw36-statuses{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;max-width:58%}
.bw36-pill{font-size:11px;font-weight:850;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:8px 11px;border:1px solid #435564;color:#bdccd8;background:#1c2b36}
.bw36-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0;box-shadow:0 0 9px currentColor}
.bw36-pill-active,.bw36-pill-permanent{color:#85e8c9;background:#18362e;border-color:#356c5d}
.bw36-pill-unused{color:#ffbd81;background:#3b2a20;border-color:#79543e}
.bw36-pill-used{color:#a9cce9;background:#253749;border-color:#426482}
.bw36-pill-expired,.bw36-pill-revoked{color:#ffafa4;background:#3b2422;border-color:#7a4641}
.bw36-primary{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:12px;margin:0 24px 13px}
.bw36-primary>div{min-width:0;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:19px 20px;background:#0a141d;border:1px solid #324656;border-radius:9px}
.bw36-primary>div:first-child{background:linear-gradient(130deg,#251e1d,#151c22);border-color:#6b4735}
.bw36-label{color:#a1b2bf;letter-spacing:1.2px;font:800 10px Consolas,monospace}
.bw36-primary strong{display:block;color:#f3f7fa;font-size:22px;font-weight:900;letter-spacing:-.35px;line-height:1.22;overflow-wrap:break-word}
.bw36-primary>div:first-child strong{color:#ff9d71;font-size:26px}
.bw36-primary small{color:#a3b5c3;font-size:11px}
.bw36-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 24px 17px}
.bw36-detail{min-width:0;background:#14212b;border:1px solid #344857;padding:13px 15px;border-radius:8px;display:flex;flex-direction:column;gap:5px}
.bw36-detail span{color:#8fa7b9;font-size:11px;font-weight:700}
.bw36-detail strong{color:#e4ecf3;font-size:13px;font-weight:760;line-height:1.45;overflow-wrap:anywhere}
.bw36-context{color:#aebfc9;font-size:11px;line-height:1.6;margin:0 24px 15px}
.bw36-warning{margin:0 24px 15px;padding:11px 13px;color:#f4c3a1;font-size:12px;line-height:1.6;background:#34271f;border:1px solid #76523b;border-radius:8px}
.bw36-section>.bw36-warning{margin:0 0 17px}
.bw36-footer{border-top:1px solid #30404d;margin:0 24px;padding:17px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#91a5b6;font-size:11px}
.bw36-footer .button{white-space:nowrap}
.bw36-bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;flex-wrap:wrap}
.bw36-bottom-bar p{font-size:11px;color:#899eae;max-width:640px;margin:0}
.bw36-aux{margin-top:18px}
.bw36-aux .panel{padding:22px}
.bw36-aux .panel h2{font-size:18px;margin:10px 0}
.bw36-aux .panel p{font-size:12px;margin-bottom:14px}
@media(max-width:840px){.bw36-header{flex-wrap:wrap}.bw36-statuses{max-width:100%;justify-content:flex-start}.bw36-intro{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:650px){.bw36-section{padding:16px 13px}.bw36-header{padding:18px 14px}.bw36-header h3{font-size:20px}.bw36-primary{grid-template-columns:1fr;margin:0 14px 12px}.bw36-primary strong{font-size:20px}.bw36-primary>div:first-child strong{font-size:24px}.bw36-details{grid-template-columns:1fr;margin:0 14px 13px}.bw36-footer{margin:0 14px}.bw36-footer .button{width:100%}.bw36-context{margin:0 14px 13px}.bw36-warning{margin:0 14px 13px}.bw36-bottom-bar .button{width:100%}.bw36-count{font-size:10px}}


/* Bulwark V3.7 — ativação na primeira utilização */
.bw36-pill-pending{color:#ffbf8b;background:#38271f;border-color:#84523a}
.bw36-card:has(.bw36-pill-pending) .bw36-primary>div:first-child strong{font-size:clamp(19px,2vw,25px)}
@media(max-width:650px){.bw36-card:has(.bw36-pill-pending) .bw36-primary>div:first-child strong{font-size:21px}}
