:root{--bg:#0b141a;--surface:#1f2c34;--surface-2:#2a3942;--text:#e9edef;--text-dim:#8696a0;--accent:#00a884;--danger:#e35050;--border:#2f3b44;--cp-cyan:#00f0ff;--cp-magenta:#f0a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0;font-size:16px}#root{min-height:100vh}.page{max-width:640px;margin:0 auto;padding:20px 16px 24px}.page-wide{max-width:960px}.top-bar{z-index:10;background:var(--bg);flex-shrink:0;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:4px;display:flex;position:sticky;top:0}.top-bar h1{flex:1;margin:0;font-size:1.1rem}.home-bg{background:linear-gradient(#060410c7 0%,#0806148c 40%,#05030ee0 100%),url(/img/fundo-cidade.jpg) top/cover no-repeat fixed;min-height:100vh;position:relative;overflow-x:clip}.home-bg>.page{z-index:2;position:relative}.home-bg .top-bar{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:linear-gradient(#080412e6,#0804128c);margin:0 -16px 20px;padding:14px 16px}.home-bg .top-bar h1{letter-spacing:.04em;text-transform:uppercase;color:#f4fffb;text-shadow:0 0 6px var(--cp-cyan), 0 0 18px #00f0ff8c, 0 0 36px #ff00aa59;font-weight:800}.home-rebecca{z-index:1;pointer-events:none;-webkit-user-select:none;user-select:none;position:fixed;bottom:0}.home-rebecca-esquerda{height:46vh;max-height:360px;left:-8px}.home-rebecca-direita{height:40vh;max-height:320px;right:-4px}@media (width<=760px){.home-rebecca-esquerda{height:32vh;max-height:260px}.home-rebecca-direita{height:28vh;max-height:230px}}@media (width<=460px){.home-rebecca{opacity:.85}.home-rebecca-esquerda{height:24vh;max-height:200px;left:-14px}.home-rebecca-direita{height:22vh;max-height:180px;right:-10px}}.link-back{color:var(--text-dim);font-size:1.3rem;text-decoration:none}button,.btn{font:inherit;cursor:pointer;background:var(--surface-2);color:var(--text);border:none;border-radius:10px;min-height:44px;padding:12px 16px}button:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--accent);color:#04211a;font-weight:600}input,textarea,select{font:inherit;background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:8px;width:100%;padding:10px 12px}.hint{color:var(--text-dim);font-size:.85rem}.error-box{color:#ffb4b4;background:#3a1414;border-radius:8px;margin-bottom:12px;padding:10px 12px}.empty-state{color:var(--text-dim);text-align:center;padding:40px 20px}.login-form{flex-direction:column;gap:12px;max-width:320px;margin:80px auto 0;display:flex}.text-dim{color:var(--text-dim);font-size:.85rem}.agents-grid{grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:28px;display:grid}@media (width<=760px){.agents-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=460px){.agents-grid{grid-template-columns:repeat(2,1fr)}}.agent-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.agent-card-arrastando{opacity:.6;box-shadow:0 0 0 2px var(--accent)}.agent-drag-alca{color:var(--text-dim);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;display:flex}.agent-switch-linha{justify-content:space-between;align-items:center;gap:12px;display:flex}.agent-switch{flex-shrink:0;width:46px;height:26px;display:inline-block;position:relative}.agent-switch input{opacity:0;width:0;height:0}.agent-switch-trilho{background:var(--surface-2);border-radius:999px;transition:background .15s;position:absolute;inset:0}.agent-switch-trilho:before{content:"";background:var(--text);border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px}.agent-switch input:checked+.agent-switch-trilho{background:var(--accent)}.agent-switch input:checked+.agent-switch-trilho:before{transform:translate(20px)}.agent-switch input:disabled+.agent-switch-trilho{opacity:.6}.agent-switch.agent-switch-mini{width:34px;height:18px;margin-left:auto}.agent-switch.agent-switch-mini .agent-switch-trilho:before{width:14px;height:14px;top:2px;left:2px}.agent-switch.agent-switch-mini input:checked+.agent-switch-trilho:before{transform:translate(16px)}.agent-card-head{align-items:center;gap:8px;min-width:0;display:flex}.agent-dot{background:var(--text-dim);border-radius:50%;flex-shrink:0;width:9px;height:9px}.agent-dot-online{background:var(--accent)}.agent-nome{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.agent-projeto-chip{background:var(--surface-2);border-radius:999px;align-self:flex-start;padding:2px 10px;font-size:.72rem}.agent-card-botoes{flex-direction:column;gap:6px;margin-top:auto;display:flex}.agent-card-btn{text-align:center;background:var(--surface-2);color:var(--text);border-radius:8px;min-height:0;padding:8px 6px;font-size:.8rem;font-weight:600;text-decoration:none;display:block}.agent-card-btn:hover{filter:brightness(1.15)}.agent-info{flex-direction:column;gap:4px;display:flex}.agent-info-linha{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.agent-info-linha code{word-break:break-all;font-size:.82rem}.agent-link{background:var(--surface-2);color:var(--accent);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-weight:600;text-decoration:none;display:flex}.agent-link:hover{filter:brightness(1.1)}
