/* Pena · Remote — original glass materials, layered over the existing UI. */
:root {
  color-scheme: dark;
  --bg-body: #151719; --bg-sidebar: #232628; --bg-card: #25282b;
  --bg-card-alt: #2c2f32; --bg-hover: #34383c; --bg-input: #202326;
  --text-primary: #f2f4f6; --text-secondary: #b3b8bf; --text-muted: #969da6;
  --text-dark: #737b86; --primary: #3487ff; --primary-hover: #5a9cff;
  --status-online: #5ad4a0; --status-offline: #8b949e; --status-warning: #edb566;
  --border-subtle: #ffffff0e; --border-light: #ffffff19;
  --sidebar-w: 230px; --drawer-w: 290px; --radius-sm: 10px; --radius-md: 16px; --radius-lg: 20px;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --glass-fill: linear-gradient(135deg, #ffffff09, #ffffff02 55%), #282b2ee0;
  --glass-border: #ffffff1b; --glass-shadow: 0 8px 32px #00000016, inset 0 1px 0 #ffffff13;
  --space-1: 6px; --space-2: 12px; --space-3: 20px; --space-4: 28px;
  --motion-fast: 160ms; --motion-normal: 240ms;
}
html { background: var(--bg-body); }
body { background: radial-gradient(ellipse at 42% -20%, #58636b30, transparent 62%), radial-gradient(ellipse at 100% 80%, #2d465c22, transparent 55%), #181b1e; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(130deg, #ffffff02, transparent 40%); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary); }
button { cursor: pointer; }
[hidden] { display: none !important; }
.app-wrapper { background: transparent; }
.sidebar { top: 16px; left: 16px; bottom: 16px; width: var(--sidebar-w); min-width: 0; border: 1px solid var(--glass-border); border-radius: 20px; background: var(--glass-fill); box-shadow: var(--glass-shadow); }
.sidebar-brand { height: 86px; padding: 0 20px; border-bottom: 0; }
.brand-icon { width: 36px; height: 36px; background: linear-gradient(#499aff, #2478ed); box-shadow: inset 0 1px 1px #ffffff66, 0 4px 14px #1678ff33; border: 1px solid #6aaaff; border-radius: 11px; }
.brand-text { font-size: 17px; white-space: nowrap; letter-spacing: -.6px; }
.brand-dot, .brand-sub { color: #c1c7ce; }
.sidebar-nav { padding: 0 12px 16px; gap: 4px; }
.nav-section-title { font-size: 10px; letter-spacing: 1.2px; padding: 22px 12px 8px; color: #89919b; }
.nav-item { min-height: 42px; border: 1px solid transparent; font-size: 13px; padding: 9px 12px; transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast); }
.nav-item.active { background: linear-gradient(115deg, #ffffff15, #ffffff07); border-color: #ffffff1d; box-shadow: inset 0 1px 0 #ffffff0d, 0 3px 8px #00000013; }
.nav-item.active .nav-icon { color: #77b1ff; }
.nav-item:hover { background: #ffffff0a; }
.nav-icon { font-size: 14px; }
.nav-pill { background: #ffffff0d; color: #c6cdd5; font-variant-numeric: tabular-nums; }
.client-shortcut span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer { margin: 0 12px; padding: 16px 0; border-color: #ffffff0f; }
.user-profile-card { gap: 10px; padding: 0 6px; }
.user-avatar { background: linear-gradient(135deg, #546779, #354451); border: 1px solid #ffffff27; border-radius: 12px; width: 36px; height: 36px; color: #d9e8f7; }
.user-name { font-size: 12px; }.user-role { font-size: 10px; }.logout-btn { min-height: 36px; min-width: 30px; }
.main-content { margin-left: calc(var(--sidebar-w) + 32px); }
.topbar { position: static; height: 66px; padding: 0 30px; background: transparent; border: 0; backdrop-filter: none; }
.topbar-breadcrumb { font-size: 11px; }.bc-current { color: #d3d8de; }.bc-sep { padding: 0 5px; }
.status-indicator-pill { font-size: 10px; color: #bbc7c1; padding: 6px 10px; background: #ffffff04; border-color: #ffffff0c; }
.integration-unknown { color: var(--text-muted); }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; }
.dot-total { background: #6baaff; }.dot-online { background: var(--status-online); box-shadow: 0 0 7px #5ad4a022; }.dot-offline { background: var(--status-offline); }.dot-attention { background: var(--status-warning); }
.content-body { padding: 13px 30px 30px; gap: 24px; }
.dashboard-welcome { align-items: center; margin: 0 0 4px; }
.eyebrow { font-size: 9px; color: var(--text-muted); letter-spacing: 1.8px; margin-bottom: 10px; }
.page-title-box h1 { font-size: clamp(25px, 2.3vw, 34px); font-weight: 500; letter-spacing: -1.2px; line-height: 1.2; }.page-title-box h1 span { color: #fbfcfd; }
.page-title-box p { margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.header-actions { gap: 9px; flex-shrink: 0; }
.btn { min-height: 38px; border-radius: 10px; font-size: 11px; padding: 9px 13px; gap: 8px; transition: background var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); }
.btn-secondary { background: linear-gradient(#ffffff0a, #ffffff03); border: 1px solid #ffffff22; box-shadow: inset 0 1px 0 #ffffff08; color: #d4d9df; }
.btn-primary, .btn-connect, .btn-open-rustdesk { background: linear-gradient(#3890ff, #2479ed); border: 1px solid #6aaaff55; box-shadow: inset 0 1px 0 #ffffff30, 0 3px 9px #00000022; color: white; }
.btn:hover, .btn-connect:hover, .btn-open-rustdesk:hover { transform: translateY(-1px); filter: brightness(1.09); box-shadow: 0 5px 15px #00000022, inset 0 1px 0 #ffffff20; }
.btn:active, .btn-connect:active, .btn-star:active { transform: scale(.98); }
button:disabled { opacity: .5; cursor: wait; transform: none; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #8dbfff; outline-offset: 4px; }
.stats-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.glass-surface, .drawer-panel, .card, .modal-box { border: 1px solid var(--glass-border); background: var(--glass-fill); border-radius: var(--radius-md); box-shadow: var(--glass-shadow); }
.kpi-card { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 11px; padding: 17px 18px 14px; color: var(--text-primary); overflow: hidden; min-width: 0; }
.kpi-card:hover { border-color: #ffffff30; background-color: transparent; }
.kpi-topline { display: flex; align-items: center; justify-content: space-between; gap: 5px; }.kpi-label { font-size: 11px; color: #c1c7cf; font-weight: 400; }
.stat-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #ffffff06; color: #adb6c0; font-size: 11px; }
.stat-total { color: #86b7ff; background: #3487ff13; }.stat-online { color: #76d6ad; background: #5ad4a00b; }.stat-attention { color: #e8b970; background: #edb5660b; }
.kpi-number { font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: -1.3px; font-variant-numeric: tabular-nums; }
.kpi-caption { display: flex; gap: 6px; align-items: center; font-size: 9px; color: #a1a8b1; }.kpi-caption > i { margin-left: auto; font-size: 8px; color: #737c87; }
.dashboard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 20px; align-items: start; }
.dashboard-main-col { gap: 0; }.inventory-panel { overflow: hidden; min-width: 0; }
.inventory-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 21px 20px 16px; }
.inventory-heading h2 { font-size: 16px; font-weight: 550; letter-spacing: -.3px; }.inventory-heading p { font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.icon-button { padding: 6px; min-width: 32px; min-height: 32px; color: var(--text-muted); background: #ffffff04; }
.filters-bar { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0 16px 16px; }
.search-input-wrapper { width: auto; min-width: 0; }.search-icon { left: 11px; font-size: 10px; }
.search-input, .filter-select { width: 100%; height: 35px; background-color: #14171955; border: 1px solid #ffffff12; font-size: 10px; border-radius: 8px; color: #bcc4ce; min-width: 0; }
.search-input { padding: 8px 10px 8px 30px; }.filter-select { padding: 7px 21px 7px 9px; }.filter-select option { background: #292d31; color: #edf0f4; }
.table-card { background: transparent; border: 0; border-radius: 0; }.table-responsive { overflow-x: auto; width: 100%; }
.agents-table { min-width: 650px; width: 100%; }.agents-table th { padding: 11px 13px; background: #ffffff03; border-top: 1px solid #ffffff0a; color: #909aa6; font-size: 9px; text-transform: none; letter-spacing: .15px; font-weight: 500; white-space: nowrap; }
.agents-table td { padding: 16px 13px; border-color: #ffffff0b; }.agent-row { transition: background var(--motion-fast); }.agent-row:hover { background: #ffffff05; }.agent-row.selected { background: #3487ff0c; }
.computer-icon-badge { width: 31px; height: 31px; min-width: 31px; font-size: 12px; border-radius: 8px; background: #ffffff07; border: 1px solid #ffffff0a; color: #a5b7c9; }
.computer-name { font-size: 11px; font-weight: 550; color: #e5e9ee; }.computer-subtitle { font-size: 9px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8893a0; }
.computer-name-button { background: none; border: 0; padding: 0; text-align: left; }.col-computer { gap: 10px; }.unit-name { font-size: 10px; }.unit-sub { font-size: 9px; margin-top: 3px; }.resource-value { font-size: 9px; white-space: nowrap; }.not-monitored-text { font-size: 10px; color: #8f98a4; }
.status-label { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; white-space: nowrap; }.status-label.online { color: #8ad8b5; }.status-label.offline { color: #9da6b1; }
.progress-bar-bg { height: 3px; width: 48px; background: #ffffff10; }.progress-bar-fill { border-radius: 2px; }.progress-fill-normal { background: #659ee9; }.progress-fill-teal { background: #74baa5; }
.btn-connect { min-height: 30px; padding: 6px 9px; font-size: 9px; border-radius: 7px; white-space: nowrap; }.btn-connect i { font-size: 8px; }.btn-star { min-height: 30px; min-width: 27px; font-size: 12px; color: #8b95a1; }.btn-star.active { color: #efc579; }.col-actions { gap: 4px; }
.table-footer { padding: 15px 16px; min-height: 56px; font-size: 10px; color: #96a1af; border-top: 1px solid #ffffff0a; }.page-btn { width: 27px; height: 27px; border-radius: 7px; font-size: 10px; }.page-btn.active { background: #ffffff14; color: white; border: 1px solid #ffffff20; }
.environment-rail { min-width: 0; }.environment-summary { display: flex; flex-direction: column; gap: 16px; }.health-panel, .quick-panel, .integrations-panel { padding: 19px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.panel-heading h2 { font-size: 12px; font-weight: 550; }.panel-heading > i { color: #858f9a; font-size: 11px; }.panel-subtitle { font-size: 10px; color: #8e99a7; margin-top: 5px; }
.health-ring { width: 144px; height: 144px; border-radius: 50%; margin: 24px auto 16px; padding: 7px; background: conic-gradient(from 0deg, #70cda9 var(--online-angle), #ffffff0c 0); box-shadow: 0 0 30px #5ad4a004; transform: rotate(-0deg); }
.health-ring-center { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; background: #292d30; border-radius: 50%; border: 5px solid #23272a; }.health-ring strong { font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -1.4px; }.health-ring small { font-size: 17px; color: #abb5bd; margin-left: 1px; }.health-ring-center > span { margin-top: 5px; font-size: 9px; color: #9aa5ad; }
.health-summary { text-align: center; color: #939fa9; font-size: 10px; }.health-summary strong { color: #d3ddd7; font-weight: 500; }
.health-legend { margin-top: 20px; border-top: 1px solid #ffffff0d; padding-top: 8px; }.health-legend button { width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; border: 0; color: #adb7c2; font-size: 10px; padding: 9px 0; }.health-legend button > span { display: flex; align-items: center; gap: 8px; }.health-legend button strong { color: #d9dee4; font-weight: 500; }
.quick-link { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid #ffffff09; color: #d5dbe3; text-decoration: none; }.quick-link:last-child { border: 0; padding-bottom: 0; }.quick-link > span:nth-child(2) { flex: 1; min-width: 0; }.quick-link strong { display: block; font-size: 11px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.quick-link small { font-size: 9px; color: #919da9; display: block; margin-top: 3px; }.quick-link > i { font-size: 8px; color: #8c97a3; }.quick-icon { background: #ffffff08; border: 1px solid #ffffff09; border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; color: #a3b6c9; font-size: 12px; }
.integration-row { display: flex; align-items: center; gap: 10px; margin-top: 19px; }.integration-row > div { flex: 1; }.integration-row strong { display: block; font-size: 10px; font-weight: 500; }.integration-row small { font-size: 9px; color: #93a0ad; display: block; margin-top: 3px; }.integration-row > i { font-size: 9px; color: #94a0ac; }.integration-icon { color: #a4b7ca; font-size: 13px; }.integration-note { font-size: 9px; color: #929eaa; line-height: 1.7; border-top: 1px solid #ffffff0a; margin-top: 16px; padding-top: 12px; }.empty-note { font-size: 11px; color: var(--text-muted); padding-top: 20px; }
.drawer-panel { width: 100%; min-width: 0; position: static; max-height: none; padding: 18px; }.drawer-close { margin-bottom: 20px; }.drawer-header { gap: 10px; }.drawer-icon-box { width: 38px; height: 38px; min-width: 38px; font-size: 16px; background: #ffffff08; border-color: #ffffff1b; }.drawer-machine-title { font-size: 15px; }.drawer-status-badge { font-size: 9px; }.drawer-unit-info { font-size: 10px; }.spec-val { font-size: 11px; overflow-wrap: anywhere; }.drawer-actions-row { flex-wrap: wrap; }.drawer-actions-row .btn { flex: 1; }.btn-open-rustdesk { border-radius: 10px; }.credentials-box, .perf-chart-box { background: #171b1e55; border-color: #ffffff0c; }.cred-value { font-size: 11px; }.cred-label { font-size: 10px; }.drawer-section { margin-top: 20px; }.spec-title, .section-label { font-size: 10px; }.detail-error { font-size: 11px; color: #f2bc78; margin: 12px 0; }
.modal-overlay { background: #080b1077; backdrop-filter: blur(8px); opacity: 0; visibility: hidden; display: flex; transition: opacity var(--motion-fast), visibility var(--motion-fast); }.modal-overlay.active { opacity: 1; visibility: visible; }.modal-box { transform: translateY(8px); transition: transform var(--motion-normal); animation: none; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; background-color: #292e33; }.modal-overlay.active .modal-box { transform: translateY(0); }.modal-title { font-size: 16px; }.modal-desc { font-size: 12px; }.modal-box .search-input, .modal-box .filter-select { height: 42px; font-size: 13px; }.modal-buttons { flex-wrap: wrap; }
.toast { background: #30373ef5; border: 1px solid #ffffff25; border-radius: 12px; box-shadow: 0 12px 30px #0004; font-size: 12px; }.toast-container { max-width: calc(100vw - 32px); }.api-error { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #edb5660b; border: 1px solid #edb56630; border-radius: 12px; color: #e9c48f; font-size: 12px; }.api-error > div { flex: 1; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 500; background: #287ce9; color: white; border-radius: 8px; padding: 12px; }.skip-link:focus { top: 20px; }
.sidebar-backdrop { position: fixed; inset: 0; background: #0008; backdrop-filter: blur(3px); z-index: 90; }
/* Only three bounded regions need real background blur; cards retain opaque fallbacks. */
@supports (backdrop-filter: blur(16px)) { .sidebar { background: linear-gradient(135deg, #ffffff09, #ffffff02 55%), #282b2eb8; backdrop-filter: blur(24px) saturate(115%); }.modal-box { backdrop-filter: blur(20px); } }
@media (hover: hover) and (pointer: fine) {
  [data-glass] { position: relative; isolation: isolate; }
  [data-glass]::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; background: radial-gradient(280px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #ffffff0c, transparent 70%); transition: opacity var(--motion-normal); z-index: -1; }
  [data-glass]::after { content: ''; position: absolute; inset: -1px; pointer-events: none; border: 1px solid transparent; border-radius: inherit; background: radial-gradient(160px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #ffffff40, transparent 70%) border-box; mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); mask-composite: exclude; opacity: 0; transition: opacity var(--motion-normal); }
  [data-glass].pointer-active::before, [data-glass].pointer-active::after { opacity: 1; }
  [data-tilt] { transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform var(--motion-normal); }
}
@media (max-width: 1300px) { :root { --sidebar-w: 205px; }.topbar { padding-inline: 22px; }.content-body { padding-inline: 22px; }.dashboard-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 16px; }.kpi-card { padding: 16px 13px; }.kpi-caption { font-size: 8px; }.brand-text { font-size: 15px; }.sidebar-brand { padding-inline: 15px; }.health-panel, .quick-panel, .integrations-panel { padding: 16px; }.filters-bar { grid-template-columns: 1.3fr 1fr; }.stats-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1050px) { .dashboard-layout { grid-template-columns: minmax(0, 1fr); }.environment-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.integrations-panel { grid-column: 1 / -1; }.header-actions { flex-wrap: wrap; }.dashboard-welcome { align-items: flex-start; }.kpi-caption { font-size: 9px; }.stats-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .sidebar { transform: translateX(calc(-100% - 20px)); width: 250px; bottom: 12px; top: 12px; left: 12px; }.sidebar.open { transform: translateX(0); }.sidebar-close-btn { display: block; width: 32px; height: 44px; }.main-content { margin-left: 0; }.topbar { height: 64px; padding: 0 18px; }.topbar-breadcrumb { font-size: 10px; }.bc-section, .bc-sep { display: none; }.mobile-toggle-btn { display: flex; width: 44px; height: 44px; }.topbar-left { gap: 9px; }.status-indicator-pill { font-size: 8px; gap: 5px; padding: 6px 7px; }.content-body { padding: 16px 18px 28px; gap: 20px; }.dashboard-welcome { flex-direction: column; gap: 20px; }.page-title-box h1 { font-size: 30px; }.page-title-box p { font-size: 12px; }.header-actions { width: 100%; }.header-actions .btn { flex: 1; justify-content: center; min-height: 44px; font-size: 11px; }.stats-cards-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.kpi-card { padding: 15px; gap: 14px; }.kpi-number { font-size: 30px; }.kpi-label { font-size: 10px; }.kpi-caption { font-size: 8px; }.stat-icon { width: 22px; height: 22px; }.kpi-caption > i { display: none; }.dashboard-layout { gap: 16px; }.inventory-heading { padding: 17px 15px; }.inventory-heading h2 { font-size: 15px; }.inventory-heading p { font-size: 9px; }.filters-bar { padding: 0 12px 14px; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.search-input-wrapper { grid-column: 1 / -1; }.filters-bar > select:last-child { grid-column: 1 / -1; }.search-input, .filter-select { height: 44px; font-size: 11px; }.icon-button { min-width: 44px; min-height: 44px; }.table-footer { gap: 12px; flex-wrap: wrap; font-size: 9px; }.page-btn, .btn-star, .btn-connect { min-width: 44px; min-height: 44px; }.agents-table { min-width: 720px; }.environment-summary { display: flex; }.health-panel, .quick-panel, .integrations-panel { padding: 20px; }.health-legend button, .quick-link { min-height: 44px; }.panel-heading h2 { font-size: 14px; }.drawer-panel { padding: 20px; }.btn-cred-action { min-width: 44px; min-height: 44px; }.api-error { align-items: flex-start; flex-wrap: wrap; }.modal-buttons .btn { min-height: 44px; }.nav-item { min-height: 44px; }.logout-btn { min-height: 44px; min-width: 36px; }
}
@media (prefers-reduced-transparency: reduce) { .sidebar, .glass-surface, .card, .drawer-panel, .modal-box { background: #292d31; backdrop-filter: none; }.modal-overlay { backdrop-filter: none; background: #080b10ed; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } [data-tilt] { transform: none; } [data-glass]::before, [data-glass]::after { display: none; } }
/* Keep the document as the scroll container, including full-page captures. */
html, body { height: auto; min-height: 100%; overflow-x: clip; }
/* On phones, the inventory becomes compact cards with every action visible. */
@media (max-width: 768px) {
  .inventory-panel .agents-table { min-width: 0; display: block; }
  .inventory-panel .agents-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .inventory-panel .agents-table tbody { display: block; padding: 0 12px; }
  .inventory-panel .agent-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #ffffff12; background: #ffffff02; border-radius: 12px; margin-bottom: 10px; padding: 12px; gap: 10px 8px; }
  .inventory-panel .agent-row.selected { background: #3487ff0b; border-color: #3487ff44; }
  .inventory-panel .agent-row td { padding: 0; border: 0; min-width: 0; }
  .inventory-panel .agent-row td:first-child { grid-column: 1 / 3; order: 0; }
  .inventory-panel .agent-row td:nth-child(3) { order: 1; text-align: right; align-self: center; }
  .inventory-panel .agent-row td:nth-child(2) { grid-column: 1 / -1; order: 2; padding: 0 0 9px 41px; border-bottom: 1px solid #ffffff0c; }
  .inventory-panel .col-unit { flex-direction: row; flex-wrap: wrap; gap: 5px; }.inventory-panel .unit-sub { margin: 0; }
  .inventory-panel .agent-row td[data-label] { order: 3; }.inventory-panel .agent-row td[data-label]::before { content: attr(data-label); display: block; font-size: 9px; color: #8995a4; margin-bottom: 5px; }
  .inventory-panel .agent-row td:last-child { grid-column: 1 / -1; order: 4; padding-top: 9px; border-top: 1px solid #ffffff0c; }
  .inventory-panel .col-actions { flex-direction: row-reverse; }.inventory-panel .btn-connect { flex: 1; justify-content: center; font-size: 11px; }.inventory-panel .btn-star { width: 44px; }
  .inventory-panel .computer-name { font-size: 11px; }.inventory-panel .computer-subtitle { max-width: 160px; }
}
/* Dedicated overview, separate from the operational inventory. */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 20px; align-items: start; }
.overview-capacity, .overview-clients, .overview-attention { padding: 22px; min-width: 0; }
.overview-capacity { grid-column: 1; }.overview-clients { grid-column: 1; }.overview-attention { grid-column: 1; }.overview-environment { grid-column: 2; grid-row: 1 / 4; min-width: 0; }
.capacity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; gap: 20px; }.capacity-item { display: flex; flex-direction: column; gap: 8px; }.capacity-item > span { font-size: 11px; color: var(--text-secondary); }.capacity-item > span i { margin-right: 5px; color: #87a8ce; }.capacity-item strong { font-size: 28px; font-weight: 500; letter-spacing: -.8px; }.capacity-item small { font-size: 10px; color: var(--text-muted); }.capacity-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border-subtle); margin-top: 22px; padding: 14px 0 5px; font-size: 10px; color: var(--text-secondary); }
.client-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }.client-overview-card { padding: 16px; border: 1px solid #ffffff12; background: #ffffff03; border-radius: 12px; text-decoration: none; color: var(--text-primary); }.client-overview-card:hover { background: #ffffff07; }.client-overview-card > div:first-child { display: flex; gap: 10px; align-items: center; }.client-overview-card strong { flex: 1; font-size: 12px; font-weight: 500; }.client-overview-card > div > i { color: #98a5b5; font-size: 9px; }.client-overview-card p { color: #a2adba; font-size: 11px; margin: 14px 0; }.client-availability { display: flex; justify-content: space-between; color: #8dd9b5; font-size: 10px; }.client-availability-track { background: #ffffff0a; height: 4px; border-radius: 6px; overflow: hidden; margin: 8px 0 10px; }.client-availability-track span { display: block; height: 100%; background: #72cba4; }.client-overview-card small { color: #a2adba; font-size: 10px; }
.attention-overview-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }.attention-overview-row:last-child { border: 0; padding-bottom: 0; }.attention-overview-row > span:nth-child(2) { flex: 1; min-width: 0; }.attention-overview-row strong { display: block; font-size: 12px; font-weight: 500; }.attention-overview-row small { display: block; color: var(--text-muted); font-size: 10px; margin-top: 4px; }.attention-reason { color: #dfb87e; font-size: 10px; }.attention-overview-row > i { font-size: 9px; color: var(--text-muted); }.overview-empty { padding: 24px 0 4px; font-size: 12px; color: var(--text-secondary); display: flex; gap: 10px; }.overview-empty i { color: #79c9a5; }
.resource-subvalue { color: var(--text-muted); font-size: 9px; display: block; margin-top: 3px; }.telemetry-loading { font-size: 9px; color: var(--text-muted); }.disk-detail { padding: 10px 0; border-bottom: 1px solid var(--border-subtle); font-size: 11px; }.disk-detail > div { display: flex; justify-content: space-between; gap: 10px; }.disk-detail small { display: block; margin-top: 5px; color: var(--text-muted); }.telemetry-collection { font-size: 10px; color: var(--text-muted); margin-top: 12px; }
@media (max-width: 1300px) { .overview-grid { grid-template-columns: minmax(0, 1fr) 245px; gap: 16px; }.capacity-grid { gap: 12px; }.capacity-item strong { font-size: 24px; } }
@media (max-width: 1050px) { .overview-grid { grid-template-columns: minmax(0, 1fr); }.overview-environment { grid-column: 1; grid-row: auto; }.overview-clients { grid-row: 2; }.overview-attention { grid-row: 3; } }
@media (max-width: 768px) { .overview-capacity, .overview-clients, .overview-attention { padding: 18px; }.capacity-grid { grid-template-columns: 1fr; gap: 18px; }.capacity-item { padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }.capacity-item:last-child { border-bottom: 0; padding-bottom: 0; }.capacity-item strong { font-size: 27px; }.client-overview-grid { grid-template-columns: 1fr; }.overview-clients > .panel-heading, .overview-attention > .panel-heading { flex-wrap: wrap; }.attention-overview-row { flex-wrap: wrap; }.attention-reason { margin-left: 42px; }.attention-overview-row > i { display: none; } }
@media (min-width: 769px) {
  .inventory-panel .agents-table { table-layout: fixed; min-width: 760px; }
  .inventory-panel th:first-child { width: 24%; }.inventory-panel th:nth-child(2) { width: 13%; }.inventory-panel th:nth-child(3) { width: 8%; }.inventory-panel th:nth-child(4) { width: 11%; }.inventory-panel th:nth-child(5) { width: 13%; }.inventory-panel th:nth-child(6) { width: 15%; }.inventory-panel th:last-child { width: 16%; }
  .inventory-panel .computer-meta { min-width: 0; }.inventory-panel .computer-subtitle { max-width: 100%; }.inventory-panel .computer-name { overflow-wrap: anywhere; }
  .inventory-panel .resource-subvalue { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
}
.capacity-progress { flex-wrap: wrap; }
@media (max-width: 768px) { .capacity-progress .btn { width: 100%; justify-content: center; } }
.sidebar .brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.sidebar .brand-title { font-size: 20px; font-weight: 650; letter-spacing: -.6px; }
.sidebar .brand-sub { font-size: 10px; font-weight: 400; letter-spacing: .1px; color: var(--text-muted); }

/* ==========================================================================
   CARD DO USUÁRIO NA SIDEBAR - DESIGN PREMIUM NEXO
   ========================================================================== */
.sidebar-footer {
  margin: auto 12px 14px !important;
  padding: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.user-profile-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  width: 100% !important;
}

.user-avatar {
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 10px !important;
  width: 36px !important;
  height: 36px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.user-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.user-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: -0.2px !important;
}

.user-role {
  font-size: 11px !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.user-status-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: #10b981 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.logout-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: #94a3b8 !important;
  width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  min-width: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.logout-btn:hover {
  background-color: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #ef4444 !important;
}

/* ==========================================================================
   LAYOUT PROFISSIONAL DA LISTA RÁPIDA (SEM COLUNA ESPREMIDA)
   ========================================================================== */
.tools-shell-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

.tools-grid-split {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100% !important;
}

@media (max-width: 1100px) {
  .tools-grid-split {
    grid-template-columns: 1fr !important;
  }
}

.tool-card {
  background-color: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 1.35rem !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.tool-kpis-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.tool-kpi-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  padding: 0.85rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.tool-kpi-num {
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.tool-kpi-title {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  margin-top: 0.25rem !important;
}

.result-card-modern {
  background: #151d2e !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 10px !important;
  padding: 0.95rem 1.15rem !important;
  margin-bottom: 0.65rem !important;
  transition: all 0.15s ease !important;
}

.result-card-modern:hover {
  background: #1a253a !important;
  transform: translateX(2px) !important;
}

.result-card-modern.is-dup {
  border-left-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}
