:root{color-scheme:dark;--bg:#091323;--surface:#111e31;--panel:#15233a;--border:#263955;--text:#edf4ff;--muted:#9baec5;--accent:#42bce6;--green:#36d98a;--grey:#98a5b4;--hover:#1b3150;--lime:#98d52e;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}input,textarea,select{background:#0b172a;border:1px solid #334966;color:var(--text);padding:11px 12px;border-radius:9px;outline:none;width:100%}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #42bce621}textarea{resize:vertical}label{font-weight:600;color:#c8d6e8;display:grid;gap:7px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.13em;color:var(--accent);font-weight:700}.sidebar{width:242px;background:linear-gradient(160deg,#0a182b,#101f36);border-right:1px solid var(--border);position:fixed;top:0;bottom:0;display:flex;flex-direction:column;padding:22px 14px}.brand{display:block;padding:12px 8px 28px;border-bottom:1px solid var(--border)}.brand img{width:190px;height:142px;object-fit:contain}.sidebar-label{color:#7289a7;letter-spacing:.12em;font-size:10px;font-weight:800;padding:26px 12px 12px}.navlink{display:flex;align-items:center;gap:13px;padding:13px;border-radius:10px;font-weight:600;color:#b7c8e0}.navlink.active{color:#fff;background:#185ba3}.navicon{font-size:20px}.sidebar-footer{border:1px solid var(--border);border-radius:12px;padding:14px;display:block;margin-top:auto;color:#e5f3ff;font-size:12px}.sidebar-footer small{display:block;color:var(--muted);margin-left:20px}.main-wrap{margin-left:242px;min-height:100vh}.topbar{padding:25px 35px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px;background:linear-gradient(110deg,#0c1b32,#111c31)}h1,h2,h3,p{margin-top:0}h1{font-size:27px;line-height:1.2;margin:6px 0 0}h2{font-size:18px}h3{font-size:18px}.top-user{display:flex;align-items:center;gap:15px;color:#bdccde}.content{max-width:1500px;margin:auto;padding:27px 34px 52px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat{border:1px solid var(--border);border-radius:14px;padding:20px 22px;background:var(--surface);min-height:115px}.stat span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.stat strong{font-size:34px;letter-spacing:-1px}.green-value{color:var(--green)}.page-tools{display:flex;gap:12px;align-items:center;margin:26px 0 25px}.searchbar{display:flex;align-items:center;gap:8px;flex:1;background:#101e32;border:1px solid var(--border);border-radius:11px;padding:4px 7px 4px 15px;max-width:780px}.searchbar input{border:0;box-shadow:none;background:transparent}.searchbar input:focus{box-shadow:none}.search-mark{font-size:23px;color:var(--muted)}.btn{border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;gap:7px;padding:10px 15px;font-weight:650;line-height:1.2}.btn-primary{background:#0878ce;color:white}.btn-primary:hover{background:#0791e6}.btn-secondary{background:#233752;color:#e7f3ff;border-color:#344b69}.btn-secondary:hover,.btn-ghost:hover{background:#293c58}.btn-ghost{background:transparent;color:#c9d9ed;border-color:#344b69}.btn-text{background:transparent;color:#91adcc;padding:6px 8px}.btn-small{padding:7px 10px;font-size:12px}.btn-full{width:100%}.danger{color:#ff91a1}.section-heading{margin:12px 0 18px}.section-heading h2{margin:0 0 4px}.section-heading p{color:var(--muted);font-size:13px}.company{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin:0 0 18px;overflow:hidden}.company-head{padding:19px 22px;display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:1px solid var(--border);background:#15253d}.company-title{display:flex;gap:13px;align-items:center}.company-icon{width:40px;height:40px;border-radius:11px;background:#113b5b;color:var(--accent);display:grid;place-items:center;font-size:22px}.company-title h3{margin:0;font-size:17px}.company-title p{font-size:12px;color:var(--muted);margin:0}.company-buttons{display:flex;gap:8px;align-items:center}.table-scroller{overflow-x:auto}.device-table{width:100%;border-collapse:collapse;text-align:left}.device-table th{font-size:12px;color:#93a8c1;font-weight:650;background:#112037}.device-table th,.device-table td{padding:12px 15px;border-bottom:1px solid #22344e}.device-table tbody tr:last-child td{border-bottom:0}.device-table tbody tr:hover{background:#1a2d45}.device-table td{vertical-align:middle}.device-table td:first-child{min-width:110px}.device-table code{color:#cee6ff;background:#0d1930;border:1px solid #263a55;border-radius:6px;padding:5px 8px;font-size:13px;white-space:nowrap}.status{display:inline-flex;align-items:center;gap:7px;border:1px solid #495569;background:#263044;color:#b8c5d3;border-radius:15px;font-size:12px;font-weight:700;padding:4px 9px}.status.is-online{border-color:#165d42;color:#7ef1ae;background:#0c392a}.dot{height:9px;width:9px;border-radius:50%;display:inline-block;margin-right:4px;vertical-align:middle}.dot-online{background:#3bef8e;box-shadow:0 0 0 3px #1a5438}.dot-offline{background:#a5b2c2}.pc-name{font-weight:650}.cell-note{color:#96a9c2;font-size:12px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.last-seen{font-size:12px;color:#9fb5cf}.actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.actions form{display:inline-flex}.icon-btn{background:transparent;color:#99aeca;border:0;margin-left:4px}.company-empty{padding:25px;text-align:center;color:var(--muted)}.empty{padding:52px 20px;border:1px dashed #3b506c;text-align:center;border-radius:16px;background:var(--surface)}.empty-icon{font-size:34px;color:var(--accent)}.empty h3{margin:10px 0 4px}.empty p{color:var(--muted)}.hint{background:#102035;border:1px solid #2a445b;border-radius:12px;padding:17px 20px;display:flex;gap:15px;max-width:900px;margin-top:24px}.hint>span{color:var(--accent);font-size:23px}.hint p{color:var(--muted);margin:5px 0 0}.app-footer{color:#738ba5;font-size:11px;text-align:center;padding:10px 20px 25px}.modal{background:#14243a;color:var(--text);border:1px solid #42617f;border-radius:16px;width:min(95vw,480px);box-shadow:0 30px 80px #0009}.modal::backdrop{background:#000a}.modal-body{padding:9px;display:grid;gap:16px}.modal-body h3{margin:0}.modal-body p{color:var(--muted);margin:-8px 0 0}.modal-actions,.edit-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:5px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:35px;background:radial-gradient(ellipse at 50% 0%,#1a3760,#091323 68%)}.login-box{border:1px solid var(--border);background:#101d30;width:min(94vw,440px);padding:33px;border-radius:20px;box-shadow:0 20px 70px #0005;text-align:center}.login-logo{width:220px;height:180px;object-fit:contain}.login-box h1{margin:10px 0;font-size:26px}.login-box .stack{text-align:left;margin-top:26px}.stack{display:grid;gap:17px}.login-help{font-size:12px;color:#8398b2;margin:26px 0 0}.alert{color:#ffb5be;background:#50232e;border:1px solid #a94b5a;border-radius:8px;padding:10px;margin-top:17px}.backlink{color:var(--accent);display:inline-block;margin-bottom:22px}.edit-card{max-width:650px;border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:27px}.edit-card hr{border:0;border-top:1px solid var(--border);margin:23px 0}
@media(max-width:1100px){.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:190px}.brand img{width:155px}.main-wrap{margin-left:190px}.content{padding:24px}.topbar{padding:25px}.company-head{align-items:flex-start}}
@media(max-width:740px){.sidebar{position:static;width:auto;padding:8px 16px;display:block}.brand{display:inline-block;border:0;padding:0}.brand img{height:70px;width:145px}.sidebar-label,.navlink,.sidebar-footer{display:none}.main-wrap{margin-left:0}.topbar{padding:18px;flex-wrap:wrap}h1{font-size:22px}.content{padding:18px}.summary{gap:8px}.stat{padding:15px;min-height:92px}.stat strong{font-size:26px}.page-tools{flex-wrap:wrap}.searchbar{flex-basis:100%}.company-head{flex-wrap:wrap}.company-buttons{flex-wrap:wrap}.device-table{min-width:780px}}
/* v0.2 — navegação por empresas e area de segurança */
.client-menu{overflow-y:auto;min-height:0;max-height:calc(100vh - 340px);padding-right:2px}.client-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.client-count{font-size:11px;color:#b2c8de;background:#203550;padding:2px 7px;border-radius:12px}.client-indicator{color:var(--accent);font-size:16px}.navlink{gap:9px}.sidebar-label{padding-top:13px}.brand{padding-bottom:9px}.brand img{height:138px}.company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:13px}.company-overview{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:20px;display:flex;align-items:center;gap:14px}.company-overview:hover{background:#1b3050;border-color:#3a6590}.company-overview-info{display:grid;gap:4px;flex:1;min-width:0}.company-overview-info strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.company-overview-info small{color:var(--muted)}.company-arrow{color:var(--accent);font-size:27px}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px;align-items:start}.account-grid .edit-card{width:100%;max-width:unset}.security-details{margin-top:20px}.security-details summary{cursor:pointer;color:#ffabb4}.security-details form{margin-top:17px}.qr-code{width:205px;max-width:100%;height:auto;border-radius:10px;display:block;margin:16px auto}.secret-display{display:block;padding:13px;background:#0c1728;border:1px solid var(--border);border-radius:10px;overflow-wrap:anywhere;text-align:center;letter-spacing:2px;color:#b9e4f6;margin-bottom:18px}.state-enabled{color:var(--green);font-weight:bold}.success-message{background:#103d2c;color:#a9ffd1;border:1px solid #268256;border-radius:10px;padding:15px 19px;margin-bottom:20px}.recovery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0 28px}.recovery-grid code{background:#0c1728;border:1px solid var(--border);padding:12px;border-radius:9px;text-align:center;letter-spacing:1.5px;font-size:13px}.old-monitor{font-size:11px;color:#d2be8e;background:#3e3218;border:1px solid #755b27;border-radius:7px;padding:6px 9px}.actions{min-width:max-content}.client-menu .navlink{white-space:nowrap}
@media(max-width:1000px){.account-grid{grid-template-columns:1fr}}
@media(max-width:740px){.sidebar{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.brand img{height:65px}.client-menu{display:flex;overflow-x:auto;max-height:none;width:100%;padding-bottom:4px}.sidebar-label{display:block;padding:7px;align-self:center}.navlink{display:flex;white-space:nowrap;padding:9px 12px}.sidebar-footer{display:none}.top-user{flex-wrap:wrap;gap:6px}.account-grid{grid-template-columns:1fr}.recovery-grid{grid-template-columns:1fr}}

/* v0.3 - acoes de monitor claras e backup dos segredos 2FA */
.backup-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:14px 0}
.small-note{font-size:12px;line-height:1.6}
.actions .btn-ghost{white-space:nowrap}
@media(max-width:980px){.actions{gap:6px}.actions .btn-small{padding:7px 8px}}

/* v0.4.2 - nome do agente e menu de desinstalacao em duas linhas */
.tools-download{align-items:flex-start}
.tools-download .navicon{flex:0 0 auto}
.tools-download-label{min-width:0;line-height:1.3;overflow-wrap:break-word}

/* v0.4.5 - telas separadas de backup e mensagens no contexto */
.backup-single-card{max-width:650px}
.backup-alert{max-width:650px;margin:0 0 20px}
.backup-other-action{margin-top:24px;color:var(--muted)}
.backup-other-action a{color:var(--accent);text-decoration:underline}


/* v0.5.0 — Busca de clientes e Visao geral fixa acima da lista rolavel */
.sidebar{overflow:hidden}
.brand{flex-shrink:0}
.client-search-row{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:13px 0 9px}
.sidebar-label-clients{padding:0 0 0 11px;flex-shrink:0;white-space:nowrap}
.client-search-box{display:flex;align-items:center;gap:3px;flex:1;min-width:0;padding:2px 7px;background:#0b172a;border:1px solid #334966;border-radius:8px}
.client-search-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #42bce626}
.client-search-icon{font-size:17px;color:var(--muted);font-weight:400;line-height:1}
.client-search-box input{background:none;border:0;box-shadow:none!important;border-radius:0;padding:6px 0;min-width:0;width:100%;font-size:12px;outline:0}
.client-search-box input::-webkit-search-cancel-button{cursor:pointer}
.overview-link{flex-shrink:0;margin-bottom:4px}
.client-menu{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4c6781 #101e32;padding:0 2px 4px 0}
.client-menu .navlink[hidden],.client-no-results[hidden]{display:none!important}
.client-no-results{padding:12px 10px;color:var(--muted);font-size:12px;line-height:1.5}
.sidebar>.sidebar-label{flex-shrink:0;padding-top:9px;padding-bottom:8px}
.sidebar>.tools-download{flex-shrink:0;padding-top:10px;padding-bottom:10px}
.sidebar-footer{flex-shrink:0;margin-top:11px}
@media (max-height:770px) and (min-width:741px){
  .sidebar{padding-top:11px;padding-bottom:11px}
  .brand img{height:106px}
  .brand{padding-top:5px;padding-bottom:8px}
  .sidebar>.tools-download{padding-top:7px;padding-bottom:7px}
  .sidebar-footer{padding:9px}
}
@media(max-width:740px){
  .sidebar{overflow:visible}
  .client-search-row{order:2;flex:1 1 100%;padding:8px 0}
  .client-search-box{max-width:280px}
  .overview-link{order:3;display:flex}
  .client-menu{order:4;display:flex;flex:1 1 100%;min-height:auto;max-height:none;overflow-x:auto;overflow-y:hidden;gap:6px;padding:3px 0 8px}
  .client-menu .navlink{flex-shrink:0}
  .client-no-results{flex-shrink:0}
  .sidebar>.sidebar-label{order:5}
  .sidebar>.tools-download{order:6}
  .sidebar-footer{display:none}
}

/* v0.6 - auditoria */
.security-table { width:100%; border-collapse:collapse; font-size:.85rem; }
.security-table th,.security-table td { padding:10px; border-bottom:1px solid var(--line, #d6dce3); text-align:left; white-space:nowrap; }

/* v0.6.2 — contas lado a lado e controles legíveis */
.technician-grid{display:grid;grid-template-columns:minmax(340px,.85fr) minmax(0,1.5fr);gap:20px;align-items:start;width:100%}
.technician-grid>.edit-card{width:100%;max-width:none;min-width:0;margin:0}
.technician-create .stack{margin-top:20px}
.technician-list-header{display:flex;gap:14px;justify-content:space-between;align-items:start;margin-bottom:20px}
.technician-list-header h2{margin-bottom:5px}
.technician-list-header p{margin:0}
.technician-total{display:inline-flex;flex:0 0 auto;border:1px solid #385574;color:#b7cfec;border-radius:999px;padding:4px 10px;font-size:12px}
.technician-user-list{display:grid;gap:12px}
.technician-user{border:1px solid #2d4260;background:#101d31;border-radius:12px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.technician-user-details{min-width:0;flex:1 1 auto}
.technician-user-heading{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:9px}
.technician-user-name{font-size:15px;overflow-wrap:anywhere}
.technician-user-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.technician-tag,.technician-tag-role,.technician-tag-primary{font-size:11px;line-height:1.45;border:1px solid #37506f;padding:3px 8px;border-radius:999px;color:#a9bfda;white-space:nowrap}
.technician-tag-role{background:#1a2e48;color:#c6def7}
.technician-tag-primary{border-color:#376c97;color:#a6dfff;background:#11324c}
.technician-tag-success{border-color:#226f52;color:#7ef0b4;background:#103426}
.technician-tag-warning{border-color:#8a6830;color:#f5cf86;background:#3c301f}
.technician-tag-danger{border-color:#864354;color:#ffb0ba;background:#3b212a}
.technician-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}
.technician-actions form{display:inline-flex;margin:0}
.technician-actions .btn{white-space:nowrap}
.btn-danger-outline{background:transparent;color:#ff9fa8;border:1px solid #8e4150}
.btn-danger-outline:hover{background:#512735}
.btn-danger{background:#b83147;color:#fff}
.btn-danger:hover{background:#d34259}
.technician-edit-card{max-width:680px}
@media(max-width:1250px){
  .technician-grid{grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr);gap:14px}
  .technician-grid>.edit-card{padding:19px}
  .technician-user{flex-direction:column;align-items:stretch;gap:11px}
  .technician-actions{justify-content:flex-start}
}
@media(max-width:1020px){.technician-grid{grid-template-columns:1fr}.technician-user{flex-direction:row;align-items:center}.technician-actions{justify-content:flex-end}}
@media(max-width:740px){.technician-user{flex-direction:column;align-items:stretch}.technician-actions{justify-content:flex-start;flex-wrap:wrap}.technician-list-header{flex-wrap:wrap}}


/* v0.6.3 — botao de cadastro abaixo da lista de clientes.
   Visao geral fica fixa; somente as empresas rolam; ferramentas permanecem embaixo. */
@media(min-width:741px){
  .sidebar .client-menu{flex:0 1 auto;min-height:0}
  .sidebar-spacer{flex:1 1 auto;min-height:5px}
}
.sidebar-new-company{
  display:flex;align-items:center;justify-content:center;gap:10px;
  flex:0 0 auto;margin:8px 2px 5px;padding:9px 10px;min-height:39px;
  border:1px solid #4385c8;border-radius:8px;
  background:linear-gradient(180deg,#2867ac 0%,#1c4d88 100%);
  color:#fff;font-size:13px;font-weight:700;line-height:1.2;
  transition:background-color .15s,border-color .15s;
}
.sidebar-new-company:hover,.sidebar-new-company:focus-visible{
  background:linear-gradient(180deg,#3577be 0%,#205c9d 100%);
  border-color:#76b5e9;
}
.sidebar-new-company:focus-visible{outline:2px solid #89d1ff;outline-offset:2px}
.sidebar-new-company-icon{font-size:21px;line-height:1;font-weight:400}
@media(max-width:740px){
  .sidebar-new-company{order:5;width:100%;margin:0 0 4px}
  .sidebar-spacer{display:none}
  .sidebar>.sidebar-label{order:6}
  .sidebar>.tools-download{order:7}
}


/* v0.6.4 — ferramentas organizadas em um card único */
.sidebar-tools-card{flex:0 0 auto;margin:2px 2px 0;border:1px solid #27415f;border-radius:14px;background:linear-gradient(180deg,#12223a 0%,#0d1b30 100%);overflow:hidden;box-shadow:0 10px 24px rgba(2,8,20,.16)}
.sidebar-tools-card .tool-item{padding:14px 16px;border-radius:0;gap:14px;align-items:center;background:transparent;color:#e4eef9;font-weight:600;min-height:54px}
.sidebar-tools-card .tool-item + .tool-item{border-top:1px solid rgba(127,149,176,.22)}
.sidebar-tools-card .tool-item:hover,.sidebar-tools-card .tool-item:focus-visible{background:rgba(42,70,105,.32)}
.sidebar-tools-card .navicon{width:22px;flex:0 0 22px;display:inline-flex;align-items:center;justify-content:center;font-size:19px;color:#d7e9fb}
.sidebar-tools-card .tools-download-label{font-size:12.5px;line-height:1.35;color:#edf5ff}
@media(min-width:741px){.sidebar-tools-card{margin-bottom:10px}}
@media(max-width:740px){.sidebar-tools-card{order:7;width:100%}.sidebar-tools-card .tool-item{min-height:48px;padding:12px 14px}}

/* v0.6.5 — tipografia e espacamento refinados, sem alterar outros menus */
.sidebar>.sidebar-label{padding-top:17px;padding-bottom:10px}
.sidebar-spacer{min-height:12px}
.sidebar-tools-card{margin-top:3px}
.sidebar-tools-card .tool-item{min-height:45px;padding:9px 12px;gap:10px;font-weight:550}
.sidebar-tools-card .tool-item + .tool-item{border-top-color:rgba(127,149,176,.17)}
.sidebar-tools-card .navicon{width:19px;flex-basis:19px;font-size:17px}
.sidebar-tools-card .tools-download-label{font-size:12px;line-height:1.32}
@media(max-width:740px){.sidebar-tools-card .tool-item{min-height:44px;padding:9px 12px}}


/* v0.6.6 — visualizacao de computadores; somente na pagina da empresa */
.computer-card{border:1px solid #294362;background:linear-gradient(160deg,#102138,#0b1a2f);border-radius:15px;box-shadow:0 16px 35px #0002}
.computer-card-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:transparent;border-bottom:1px solid #263b56;flex-wrap:wrap}
.computer-heading{min-width:170px}.computer-heading-title{display:flex;align-items:center;gap:10px}.computer-heading-title h2{font-size:18px;line-height:1.3;margin:0}.computer-heading-title h2 span{font-weight:650}.computer-heading p{margin:3px 0 0 31px;color:#9cb5d3;font-size:12px}.computer-monitor-icon{font-size:23px;color:#9fcaf2;line-height:1}
.computer-header-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:auto}
.computer-search{display:flex;align-items:center;gap:8px;border:1px solid #2a4260;background:#14253d;border-radius:9px;padding:0 10px;min-width:210px;width:min(25vw,260px);height:39px}
.computer-search span{font-size:22px;color:#aac1df;font-weight:400}.computer-search input{background:transparent;border:0;box-shadow:none!important;font-size:12px;padding:6px 0;width:100%;min-width:0}
.computer-filter{display:flex;align-items:center;gap:5px;background:#14253d;border:1px solid #2a4260;border-radius:9px;padding:0 7px;height:39px}.computer-filter span{font-size:18px;font-weight:400;color:#a5c3e5}.computer-filter select{border:0;box-shadow:none!important;background:transparent;padding:7px 2px;color:#d8e8f9;font-size:12px;min-width:105px;width:126px;cursor:pointer}.computer-filter option{background:#12233b;color:#eef6ff}
.computer-add{height:39px}.computer-table-scroller{scrollbar-width:thin;scrollbar-color:#3a5572 #122138}
.computer-table{min-width:1450px;width:100%}.computer-table th{white-space:nowrap;letter-spacing:.045em;text-transform:uppercase;font-size:10px;color:#9bb5d3;background:#142842;font-weight:700}.computer-table th,.computer-table td{padding:10px 12px;border-bottom:1px solid #213650}.computer-table tbody tr:hover{background:#152e49}.computer-table tbody tr[hidden]{display:none}.computer-table td:first-child{min-width:153px}.computer-row-name{display:flex;align-items:center;gap:9px;white-space:nowrap}.computer-row-name strong{font-size:12px;font-weight:650;color:#e8f2ff}.computer-row-icon{font-size:17px;color:#b5d4f4}.computer-row-note{display:block;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#91a8c4;margin-left:26px}
.computer-table td{font-size:12px;color:#d3e4f5}.computer-id-cell,.computer-seen-cell{white-space:nowrap}.computer-rustdesk-id{font-variant-numeric:tabular-nums;color:#e4f2ff;font-weight:500}.computer-copy{border:0!important;background:transparent!important;color:#8daaca!important;min-width:24px;min-height:23px;margin-left:3px;font-size:12px!important}.computer-copy:hover{color:#e3f5ff!important}.computer-muted{color:#8298b0}
.computer-table .computer-status{padding:4px 9px;font-size:11px;gap:6px;border-radius:8px}.computer-table .computer-status .dot{width:7px;height:7px;box-shadow:0 0 8px #18c36488}
.computer-actions{display:flex;align-items:center;gap:5px;white-space:nowrap;min-width:0}.computer-actions form{margin:0;display:inline-flex}.computer-actions .computer-connect{padding:7px 10px;font-size:11px;border-radius:8px;background:linear-gradient(180deg,#21558e,#153f73);border:1px solid #2a609e}.computer-actions .computer-connect:hover{background:#235b9b}.computer-connect-disabled{opacity:.44;cursor:not-allowed!important}
.computer-icon-button{border:1px solid #2d4462;border-radius:8px;background:#1c314f;color:#e1efff;display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:29px;padding:3px;font-size:16px;line-height:1}.computer-icon-button:hover,.computer-icon-button:focus-visible{background:#305377;border-color:#578bc2;color:white}
.computer-table-footer{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#a8bfda;font-size:11px}.computer-pagination{display:flex;align-items:center;gap:5px}.computer-page-btn{background:transparent;color:#b6cde7;border:1px solid transparent;border-radius:7px;min-width:31px;height:31px;padding:4px 7px;font-size:12px}.computer-page-btn:hover:not(:disabled){background:#23446a}.computer-page-btn.active{background:#2665b3;color:white;border-color:#3c7dcc}.computer-page-btn:disabled{opacity:.35;cursor:default}.computer-page-ellipsis{padding:0 3px}.computer-empty-results{padding:5px 20px 20px;color:#bacbe3;font-size:12px}.computer-empty-results[hidden]{display:none}.computer-danger-bar{display:flex;justify-content:flex-end;padding:0 15px 8px}.computer-danger-bar .btn{font-size:11px;opacity:.75}.computer-danger-bar .btn:hover{opacity:1}
@media(max-width:1340px){.computer-card-header{align-items:flex-start}.computer-header-controls{width:100%;margin-left:0}.computer-search{width:min(48vw,340px)}}
@media(max-width:740px){.computer-card-header{padding:15px}.computer-search{width:100%}.computer-header-controls{width:100%}.computer-filter{flex:1}.computer-filter select{width:100%}.computer-table-footer{align-items:flex-start;flex-direction:column;gap:7px}}

/* Mantem a geometria da tabela apesar de .actions legado usar flex. */
.computer-table td.computer-actions{display:table-cell;min-width:245px;white-space:nowrap}
.computer-actions-inner{display:flex;align-items:center;gap:5px}


/* v0.6.8 — nomes das acoes + hostname real do Windows com hora do ultimo sinal. */
.computer-presence{display:flex;flex-direction:column;gap:2px;min-width:155px;max-width:250px}
.computer-hostname{color:#e3f2ff;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.computer-presence .last-seen{font-size:11px;color:#9fbbd9;line-height:1.4}
.computer-table td.computer-actions{min-width:415px}
.computer-actions-inner{gap:6px;flex-wrap:nowrap}
.computer-actions .computer-action-btn{min-height:30px;min-width:0;flex:0 0 auto;white-space:nowrap;font-size:11px;line-height:1.2;padding:7px 9px;border-radius:8px}
.computer-actions .computer-connect{min-height:30px}

/* v0.6.9 - recoloca Usuario e Sistema, preservando o hostname e a hora. */
.computer-user,.computer-os{display:inline-block;min-width:90px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}


/* v0.6.10 — icone de monitor que acompanha o estado do agente (somente lista). */
.computer-row-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;line-height:1;transition:color .2s ease;}
.computer-row-monitor{display:block;flex:none;}
.computer-row-icon.is-online{color:#64b14c;filter:drop-shadow(0 0 3px rgba(55,180,56,.18));}
.computer-row-icon.is-offline{color:#737b86;filter:none;}
.computer-row-signal{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;border:2px solid #101e31;box-sizing:content-box;}
.computer-row-icon.is-online .computer-row-signal{background:#58cc31;box-shadow:0 0 8px rgba(88,204,49,.55);}
.computer-row-icon.is-offline .computer-row-signal{background:#737b86;box-shadow:none;}
.computer-row-note{margin-left:35px;}


/* v0.6.11 — pequeno botao ao lado do cabecalho ID RUSTDESK (somente aparencia). */
.computer-id-heading{white-space:nowrap;}
.computer-id-heading>span{vertical-align:middle;}
.computer-id-toggle{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:24px;height:23px;margin-left:7px;padding:2px;background:#1b304d;border:1px solid #385474;border-radius:5px;color:#a9c5e3;cursor:pointer;transition:background .15s,border-color .15s,color .15s;}
.computer-id-toggle:hover,.computer-id-toggle:focus-visible{background:#294e78;border-color:#68a5d5;color:#f1f9ff;outline-offset:2px;}
.computer-id-toggle[aria-pressed="true"]{background:#2d4058;border-color:#5b7696;color:#e5f0ff;}
.computer-id-toggle .computer-eye-closed{display:none;}
.computer-id-toggle[aria-pressed="true"] .computer-eye-open{display:none;}
.computer-id-toggle[aria-pressed="true"] .computer-eye-closed{display:block;}
.computer-rustdesk-id{display:inline-block;min-width:72px;white-space:pre;}


/* v0.6.12 — historico de seguranca mais compacto e facil de acompanhar.
   Escopo exclusivo da tabela de auditoria: nenhuma outra tela e afetada. */
.security-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:12px;
  color:#d5e0ef;
}
.security-table thead th{
  background:#16283f;
  color:#afc3dc;
  font-size:11px;
  font-weight:700;
  padding:11px 12px;
  border-bottom:1px solid #3a5169;
  text-align:left;
  white-space:nowrap;
}
.security-table tbody td{
  padding:8px 12px;
  border-bottom:1px solid #2c3d51;
  line-height:1.45;
  white-space:nowrap;
  background:transparent;
  transition:background-color .1s ease;
}
.security-table tbody tr:nth-child(even){background:rgba(142,168,197,.055)}
.security-table tbody tr:hover td{background:#203954;color:#f1f6ff}
.security-table tbody tr:last-child td{border-bottom:0}
.security-table tbody td:first-child{font-variant-numeric:tabular-nums;color:#c3d4e8}
@media(max-width:740px){.security-table thead th,.security-table tbody td{padding-left:10px;padding-right:10px}}


/* v0.6.13 — somente reorganizacao do menu lateral ServNetwork. */
.sidebar .overview-link{margin:8px 2px 1px;gap:11px;min-height:40px}
.sidebar .overview-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;width:21px;color:#81c6f4}
.sidebar .overview-icon svg{display:block}
.sidebar .sidebar-menu-divider{height:0;flex:0 0 auto;border-top:1px solid #30465e;margin:7px 11px}
.sidebar .sidebar-new-company{min-height:35px;margin:4px 9px;padding:7px 9px;font-size:12px;gap:7px}
.sidebar .sidebar-new-company-icon{font-size:18px}
.sidebar .client-search-row{padding-top:10px;padding-bottom:9px}
.sidebar .sidebar-label-clients{padding-left:9px}
@media(max-width:740px){
  .sidebar>.brand{order:0}
  .sidebar .overview-link{order:1;margin:3px 0 0}
  .sidebar>.sidebar-menu-divider{order:2;flex:1 1 100%;width:100%;margin:2px 0}
  .sidebar .sidebar-new-company{order:3;width:auto;min-width:145px;margin:3px 0}
  .sidebar>.sidebar-menu-divider-clients{order:4}
  .sidebar .client-search-row{order:5}
  .sidebar .client-menu{order:6}
  .sidebar>.sidebar-label{order:7}
  .sidebar .sidebar-tools-card{order:8;width:100%}
}

/* Rodapé institucional v0.7.0 — assinatura em duas linhas */
.app-footer .footer-tagline{display:block;margin-top:2px;font-size:10px;color:#617993;line-height:1.4;}

/* v0.7.1 — acoes de empresa no canto inferior; manter exclusao separada. */
.computer-danger-bar{gap:12px;align-items:center;flex-wrap:wrap;padding:8px 15px 12px}
.computer-danger-bar .btn{opacity:1}
.computer-danger-bar .btn.btn-ghost{font-size:12px;color:#b8d5f2;border-color:#3b526f}
.computer-danger-bar .btn.btn-ghost:hover{background:#1b3350;border-color:#6389b8;color:#fff}


/* v0.7.2 — rolagem independente do menu lateral em telas menores.
   Mantem a lista de clientes com altura limitada e ferramentas acessiveis. */
@media (min-width:741px) {
  .sidebar {
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    scrollbar-color:#435d79 #0d1c31;
  }
  .sidebar::-webkit-scrollbar {width:7px}
  .sidebar::-webkit-scrollbar-track {background:#0d1c31}
  .sidebar::-webkit-scrollbar-thumb {background:#435d79;border-radius:8px}
  .sidebar .client-menu {
    flex:0 0 auto;
    max-height:clamp(110px,30vh,300px);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:#435d79 transparent;
  }
  .sidebar .sidebar-spacer {flex:0 0 10px;min-height:10px}
  .sidebar .sidebar-footer {flex:0 0 auto;margin-top:8px}
}

/* v0.7.3 — aviso discreto de empresa ja cadastrada, dentro do cadastro */
.company-form-notice{display:grid;gap:8px;padding:12px 14px;border:1px solid #9b6f3c;
  border-radius:10px;background:#352819;color:#ffe6bd;font-size:13px;line-height:1.45}
.company-form-notice[hidden]{display:none!important}
.company-form-notice strong{font-size:14px;color:#ffe6bd}
.company-form-notice span{color:#e6c99f}
.company-form-notice .btn{justify-self:end;min-width:74px}


/* v0.7.4 — ícones claros e ferramentas da Visão geral. */
.company-icon{color:#5bc8ff;display:grid;place-items:center}
.company-icon svg,.client-indicator svg,.computer-monitor-icon svg{display:block;flex:none}
.client-indicator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;width:19px;color:#51bfff}
.computer-monitor-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;color:#a0caee}
.overview-tools{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px}
.overview-tools .overview-search{flex:1 1 300px;max-width:none;min-width:220px;padding:4px 7px 4px 14px}
.overview-tools .overview-search > svg{color:#94aeca;flex-shrink:0}
.overview-tools .overview-search input{min-width:0;flex:1}
.overview-tools .overview-search-submit{font-size:12px}
.overview-tools .overview-add{font-size:12px;min-height:39px;padding:10px 13px}
.overview-tools .overview-add:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:920px){
 .overview-tools .overview-search{flex:1 1 100%;max-width:none}
 .overview-tools .overview-add{flex:1 1 auto}
}
@media(max-width:470px){
 .overview-tools .overview-add{width:100%}
}

.backup-infra-card{margin-top:22px}.backup-infra-card code{font-size:12px;color:#b4e6f9}
