:root{--bg:#fff;--panel:#fff;--sidebar:#f4f4f5;--ink:#111;--muted:#62656b;--border:#e5e5e7;--accent:#ffb81c;--hover:#f4ae13;--card:#fbfbfc;--radius:15px;--shadow:0 8px 27px #1111110b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}.layout{display:flex;min-height:100vh}.sidebar{width:246px;flex-shrink:0;background:var(--sidebar);border-right:1px solid var(--border);padding:30px 16px;display:flex;flex-direction:column;gap:18px}.brand{font-size:20px;font-weight:800;letter-spacing:.03em;display:flex;align-items:center;gap:12px}.brand b{font-weight:800}.mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--accent);font-size:23px;color:#141414}.subtitle{font-size:10px;letter-spacing:.2em;color:var(--muted);margin-top:-10px;margin-left:50px}nav{display:flex;flex-direction:column;gap:4px;margin-top:25px}nav button{text-align:left;padding:13px 15px;border-radius:10px;background:none;color:#383a3d;font-weight:600;font-size:14px}nav button.active{background:#fff1d3;border-left:3px solid var(--accent);color:#151515}nav button:hover{background:#eaeaea}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:14px;color:var(--muted);font-size:12px}.dot{display:inline-block;width:9px;height:9px;background:#999;border-radius:50%}.dot.ok{background:#21966b}.main{flex:1;min-width:0;max-width:1300px;margin:auto;padding:38px clamp(20px,4vw,70px)}header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:32px}.eyebrow{font-size:11px;color:#777;letter-spacing:.17em;font-weight:700}h1{margin:8px 0 0;font-size:30px;letter-spacing:-.04em}h2{font-size:17px;margin:0 0 12px;letter-spacing:-.02em}h3{font-size:15px;margin:0}.top-tags{display:flex;gap:9px;flex-wrap:wrap}.top-tags span{background:#f2f2f3;border:1px solid var(--border);padding:7px 10px;border-radius:25px;color:#555;font-size:11px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:23px}.card p{color:var(--muted);line-height:1.5;font-size:14px}.card.big{grid-column:span 2}.stat{font-size:34px;font-weight:750;letter-spacing:-.06em}.sm{font-size:12px;color:var(--muted)}.primary{padding:12px 18px;background:var(--accent);color:#141414;font-weight:700;border-radius:10px}.primary:hover{background:var(--hover)}.secondary{padding:10px 13px;background:#eeeef0;border-radius:9px;color:#222}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.space{margin-top:24px}.progress{background:#ededee;border-radius:9px;height:7px;overflow:hidden;margin-top:12px}.progress>div{height:100%;background:var(--accent)}.hint{color:var(--muted);font-size:13px;line-height:1.6}.login{min-height:100vh;display:grid;place-items:center;background:#fafafa}.login-card{width:min(92vw,420px);padding:38px;background:white;border-radius:24px;border:1px solid var(--border);box-shadow:var(--shadow)}.login-card .brand{margin-bottom:35px}.login-card h1{margin-bottom:10px}.login-card p{color:#666}.login form{display:flex;flex-direction:column;gap:13px;margin:20px 0}.login label{font-size:13px}.login input{padding:13px;border:1px solid #ccc;border-radius:9px}.login-card small{color:#888}.danger{color:#ac3232!important}.chatbox{min-height:400px;max-height:65vh;overflow-y:auto;border:1px solid var(--border);border-radius:13px;padding:19px;display:flex;flex-direction:column;gap:14px;background:#fdfdfd}.bubble{padding:13px 16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;border-radius:13px;max-width:89%;font-size:14px}.bubble.user{background:#fff0cb;align-self:flex-end}.bubble.assistant{background:#f2f2f3;align-self:flex-start}.chat-compose{display:flex;gap:10px;align-items:flex-end;margin-top:12px}.chat-compose textarea{resize:vertical;min-height:68px;flex:1;border:1px solid #ccc;border-radius:12px;padding:14px}.job{padding:13px 0;border-bottom:1px solid var(--border);font-size:14px}.pill{display:inline-block;padding:5px 9px;border-radius:15px;background:#f1f1f1;color:#444;font-size:11px}.pill.pending{background:#fff0cb}.pill.completed{background:#e2f4eb}.pill.failed{background:#ffebeb}.chat-layout{display:grid;grid-template-columns:190px 1fr;gap:15px}.thread{display:block;width:100%;text-align:left;background:#f5f5f5;padding:11px;border-radius:9px;margin-bottom:6px;color:#333;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.thread.active{background:#fff0cb}.panel-note{background:#fff8e6;border:1px solid #ffe5a0;border-radius:12px;padding:14px;margin-bottom:18px;font-size:13px;color:#574313}@media(max-width:780px){.sidebar{width:74px;padding:24px 8px}.sidebar .brand span:last-child,.subtitle,.sidebar-bottom #worker-label,.sidebar-bottom .secondary{display:none}.sidebar nav button{font-size:0;padding:13px;text-align:center}.sidebar nav button::first-letter{font-size:19px}.main{padding:22px 15px}header{flex-direction:column}.grid{grid-template-columns:1fr}.card.big{grid-column:span 1}.chat-layout{grid-template-columns:1fr}}



/* PULSAR GATE13: BRANDING DEFINITIVO */
.sidebar {
    padding-top:20px;
}
.pnw-logo-sidebar {
    display:block;
    width:calc(100% + 32px);
    max-width:none;
    height:auto;
    margin:-20px -16px 16px;
    object-fit:contain;
    mix-blend-mode:multiply;
}
.pnw-logo-login {
    display:block;
    width:100%;
    height:auto;
    margin:0 auto 20px;
    object-fit:contain;
}
.pnw-copyright {
    font-size:10px;
    line-height:1.5;
    text-align:center;
    color:#777;
    margin-top:14px;
}
.sidebar-bottom .pnw-copyright {
    padding:0 4px;
}
.login-card .pnw-copyright {
    margin-top:16px;
}
/* FIN PULSAR GATE13 */