:root{--red:#eb1d27;--deep:#be1b2c;--ink:#17191e;--muted:#69707d;--line:#e5e7eb;--soft:#f4f5f7;--ok:#16835e;--warn:#c78012;--shadow:0 22px 60px rgba(17,24,39,.12);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#f5f6f8}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input{font:inherit}.portal-login{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1.15fr) minmax(380px,.85fr);background:#17191e}.login-story{padding:clamp(44px,7vw,110px);display:flex;flex-direction:column;justify-content:center;color:#fff;background:radial-gradient(circle at 88% 20%,rgba(235,29,39,.25),transparent 35%),linear-gradient(140deg,#131419,#22252c)}.login-story img{width:210px;border-radius:18px;margin-bottom:48px}.login-story>span,.portal-hero span,.portal-panel header span,.portal-section-head span{font-size:12px;font-weight:800;letter-spacing:.16em;color:var(--red)}.login-story h1{font-size:clamp(44px,5vw,76px);line-height:.98;margin:18px 0 24px;letter-spacing:-.045em}.login-story p{max-width:640px;color:#c7cad1;font-size:18px;line-height:1.7;margin:0 0 38px}.login-story div{display:flex;gap:12px;margin:8px 0;font-weight:650}.login-story div b{color:#ff5961}.login-card{margin:auto;width:min(470px,84%);padding:48px;background:#fff;border-radius:28px;box-shadow:var(--shadow)}.login-card>span{font-size:12px;font-weight:900;letter-spacing:.16em;color:var(--red)}.login-card h2{font-size:38px;margin:12px 0 8px}.login-card>p{color:var(--muted);line-height:1.6;margin:0 0 28px}.login-card label{display:grid;gap:9px;font-weight:750;margin:18px 0}.login-card input,.portal-section-head input{border:1px solid #d7dbe1;border-radius:14px;padding:15px 16px;min-height:52px;outline:none}.login-card input:focus,.portal-section-head input:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(235,29,39,.1)}.login-card button,.portal-hero button{width:100%;border:0;border-radius:14px;background:var(--red);color:#fff;min-height:54px;font-weight:850;cursor:pointer}.login-card output{display:block;color:var(--deep);font-weight:700;min-height:24px;margin-top:14px}.login-card>small{display:block;border-top:1px solid var(--line);padding-top:22px;color:var(--muted);line-height:1.5}.portal-app{min-height:100vh}.portal-app>header{height:92px;padding:0 clamp(24px,5vw,76px);display:flex;align-items:center;gap:38px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.portal-brand{display:flex;align-items:center;gap:15px;color:inherit;text-decoration:none;margin-right:auto}.portal-brand img{width:116px}.portal-brand span{display:grid;border-left:1px solid var(--line);padding-left:15px}.portal-brand small{color:var(--muted);margin-top:3px}.portal-app nav{display:flex;gap:5px}.portal-app nav button{border:0;background:transparent;padding:12px 15px;border-radius:11px;font-weight:750;color:#5c6370;cursor:pointer}.portal-app nav button.active{background:#fff0f1;color:var(--deep)}.portal-user{display:flex;align-items:center;gap:10px}.portal-user>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#17191e;color:#fff;font-weight:850}.portal-user div{display:grid}.portal-user small{color:var(--muted)}.portal-user button{border:0;background:#f1f2f4;padding:10px 12px;border-radius:10px;cursor:pointer}.portal-hero{padding:42px clamp(24px,5vw,76px) 28px;display:flex;justify-content:space-between;align-items:end;max-width:1600px;margin:auto}.portal-hero h1{font-size:clamp(34px,4vw,56px);letter-spacing:-.04em;margin:8px 0}.portal-hero p{color:var(--muted);margin:0}.portal-hero button{width:auto;padding:0 22px;background:#17191e}.portal-section{display:none;max-width:1600px;margin:auto;padding:0 clamp(24px,5vw,76px) 70px}.portal-section.active{display:block}.portal-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.portal-kpis article{padding:25px;background:#fff;border:1px solid var(--line);border-radius:18px}.portal-kpis span{color:var(--muted);font-size:13px;font-weight:750}.portal-kpis strong{display:block;font-size:34px;margin:10px 0 4px}.portal-kpis small{color:var(--ok);font-weight:700}.portal-dashboard-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.portal-panel{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}.portal-panel>header{padding:24px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.portal-panel h2{margin:6px 0 0}.portal-panel header button{border:0;background:#f0f1f3;padding:10px 12px;border-radius:10px;font-weight:750;cursor:pointer}.portal-row{padding:18px 26px;border-bottom:1px solid #edf0f2;display:grid;grid-template-columns:1fr auto;gap:8px}.portal-row:last-child{border:0}.portal-row strong{font-size:15px}.portal-row p,.portal-row small{margin:2px 0;color:var(--muted)}.status{display:inline-flex;align-items:center;align-self:start;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850;background:#eef0f3}.status.active,.status.paid{background:#e7f7ee;color:#08754d}.status.warning{background:#fff4db;color:#9a6200}.portal-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.portal-section-head h2{font-size:34px;margin:8px 0}.portal-section-head p{color:var(--muted);margin:0}.portal-section-head input{width:min(390px,40%);background:#fff}.portal-table-wrap{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:auto}.portal-table{width:100%;border-collapse:collapse;min-width:900px}.portal-table th{text-align:left;padding:15px 18px;background:#17191e;color:#fff;font-size:12px;letter-spacing:.08em}.portal-table td{padding:18px;border-bottom:1px solid var(--line);vertical-align:top}.portal-table tr:last-child td{border:0}.portal-table td strong{display:block}.portal-table td small{color:var(--muted)}.portal-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.service-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.service-card header{display:flex;justify-content:space-between;gap:12px}.service-card h3{margin:0;font-size:22px}.service-card .route{margin:22px 0;padding:18px;background:var(--soft);border-radius:14px;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}.service-card .route span:last-child{text-align:right}.service-card .route small{display:block;color:var(--muted);font-size:11px}.service-card footer{display:flex;gap:8px;flex-wrap:wrap}.service-card a,.portal-table a{color:var(--deep);font-weight:750;text-decoration:none;background:#fff0f1;padding:8px 10px;border-radius:9px}.empty{padding:46px;text-align:center;color:var(--muted)}.portal-app>footer{display:flex;justify-content:space-between;padding:24px clamp(24px,5vw,76px);background:#17191e;color:#fff}.portal-app>footer small{color:#aeb3bd}#portal-toast{position:fixed;right:24px;bottom:24px;background:#17191e;color:#fff;padding:14px 20px;border-radius:12px;opacity:0;transform:translateY(10px);transition:.2s;z-index:40}#portal-toast.show{opacity:1;transform:none}@media(max-width:1050px){.portal-login{grid-template-columns:1fr}.login-story{display:none}.portal-app>header{height:auto;padding:18px 24px;flex-wrap:wrap}.portal-app nav{order:3;width:100%;overflow:auto}.portal-user div{display:none}.portal-dashboard-grid{grid-template-columns:1fr}.portal-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.login-card{padding:30px}.portal-brand span{display:none}.portal-user{margin-left:auto}.portal-hero{align-items:start}.portal-hero button{width:48px;font-size:0}.portal-hero button:first-letter{font-size:20px}.portal-kpis{grid-template-columns:1fr 1fr}.portal-service-grid{grid-template-columns:1fr}.portal-section-head{align-items:start;flex-direction:column;gap:16px}.portal-section-head input{width:100%}.portal-app>footer{display:grid;gap:8px}}
[hidden]{display:none!important}
