﻿* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: 14px;
      line-height: 1.55;
      min-height: 100vh;
    }
    .app { display: flex; min-height: 100vh; }
    .sidebar {
      width: var(--sidebar-w);
      background: var(--kloud-purple-deep);
      border-right: 1px solid var(--kloud-purple-mid);
      padding: 20px 0;
      flex-shrink: 0;
    }
    .logo {
      padding: 6px 8px 12px;
    }
    .logo-brand {
      display: block;
      width: 100%;
      max-width: 168px;
      height: auto;
      margin: 0 auto;
      object-fit: contain;
    }
    .logo .brand-mark { color: var(--kloud-blue); font-weight: 700; }
    .nav-section {
      padding: 8px 16px 6px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--kloud-slate);
    }
    .nav-item {
      display: block;
      padding: 10px 16px;
      color: var(--muted);
      text-decoration: none;
      cursor: pointer;
      border-left: 3px solid transparent;
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
    }
    .nav-item:hover { color: var(--text-bright); background: rgba(85, 163, 215, 0.08); }
    .nav-item.active {
      color: var(--text-bright);
      background: var(--kloud-blue-soft);
      border-left-color: var(--kloud-blue);
    }
    .main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
    .topbar {
      padding: 18px 32px;
      border-bottom: 1px solid var(--kloud-purple-mid);
      background: var(--kloud-purple);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .breadcrumb { color: var(--muted); font-size: 13px; }
    .breadcrumb strong { color: var(--text); }
    .topbar-actions { display: flex; gap: 10px; align-items: center; }
    .btn {
      padding: 8px 14px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      cursor: pointer;
      font-size: 13px;
    }
    .btn-primary {
      background: linear-gradient(120deg, var(--kloud-green) 20%, var(--kloud-slate) 80%);
      border-color: transparent;
      color: var(--text-bright);
      font-weight: 600;
    }
    .reg-frequency-options {
      display: flex;
      flex-wrap: wrap;
      gap: 16px 24px;
    }
    .reg-frequency-options label {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      color: var(--text);
      font-size: 13px;
    }
    .reg-scan-features {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 20px;
    }
    .reg-scan-features label {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      font-size: 13px;
      color: var(--text);
    }
    .reg-scan-features label input:disabled + span,
    .reg-scan-features label:has(input:disabled) {
      opacity: 0.45;
      cursor: not-allowed;
    }
    .reg-feature-hint {
      color: var(--muted);
      font-size: 12px;
      font-weight: 400;
    }
    .reg-all-hint {
      margin-top: 10px;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }
    .reg-form-message {
      margin-top: 14px;
      font-size: 13px;
      line-height: 1.5;
      min-height: 1.25em;
    }
    .reg-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .reg-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
    }
    .reg-modal-panel {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 520px;
      background: var(--kloud-purple);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 24px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    .reg-edit-btn {
      padding: 5px 10px;
      font-size: 12px;
    }
    .btn:hover { opacity: 0.92; }
    .content { padding: 32px; flex: 1; overflow: auto; }
    .page { display: none; }
    .page.active { display: block; }
    h1 {
      font-family: inherit;
      font-size: 26px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text-bright);
      letter-spacing: -0.02em;
    }
    .subtitle { color: var(--muted); margin-bottom: 24px; font-size: 13px; }
    .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
    @media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } }
    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 20px 22px;
      border-top: 2px solid var(--kloud-purple-mid);
    }
    .stat-card:hover { border-top-color: var(--kloud-blue); }
    .stat-label { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
    .stat-value { font-size: 28px; font-weight: 600; margin-top: 4px; }
    .stat-value.success { color: var(--success); }
    .stat-value.warning { color: var(--warning); }
    .stat-value.danger { color: var(--danger); }
    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
    @media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
    .panel {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .panel-header {
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .badge {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 500;
    }
    .badge-success { background: rgba(136, 191, 87, 0.18); color: var(--success); }
    .badge-warning { background: rgba(212, 168, 75, 0.15); color: var(--warning); }
    .badge-danger { background: rgba(232, 93, 117, 0.15); color: var(--danger); }
    .badge-posture-fail {
      background: rgba(196, 30, 58, 0.55);
      color: #fff;
      border: 1px solid rgba(255, 107, 129, 0.65);
      font-weight: 600;
    }
    #page-fleet-category .fleet-db-name {
      font-size: 12px;
      color: var(--kloud-blue);
      background: var(--kloud-blue-soft);
      padding: 3px 8px;
      border-radius: 6px;
    }
    .badge-info { background: var(--kloud-blue-soft); color: var(--kloud-blue); }
    .badge-muted { background: var(--surface-2); color: var(--muted); }
    table { width: 100%; border-collapse: collapse; font-size: 13px; }
    th, td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--border); }
    th { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: 0.01em; }
    tr:last-child td { border-bottom: none; }
    tr.clickable { cursor: pointer; }
    tr.clickable:hover td { background: var(--surface-2); }
    .link { color: var(--accent); cursor: pointer; text-decoration: none; }
    .link:hover { text-decoration: underline; }
    .page .subtitle a,
    a.link-kloud {
      color: var(--kloud-blue);
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
    }
    .page .subtitle a:hover,
    a.link-kloud:hover {
      color: var(--text-bright);
      text-decoration: underline;
    }
    a.btn.btn-primary[download] {
      display: inline-block;
      text-decoration: none;
    }
    .callout {
      padding: 14px 18px;
      border-radius: 8px;
      border: 1px solid var(--border);
      border-left: 4px solid var(--kloud-blue);
      background: var(--kloud-blue-soft);
      margin-bottom: 24px;
      font-size: 13px;
      color: var(--muted);
    }
    .callout strong { color: var(--text-bright); }
    .tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
    .tab {
      padding: 10px 16px;
      color: var(--muted);
      cursor: pointer;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
    }
    .tab:hover { color: var(--text); }
    .tab.active { color: var(--accent); border-bottom-color: var(--accent); }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
    .filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
    .filter-pill {
      padding: 6px 12px;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--muted);
      cursor: pointer;
      font-size: 12px;
    }
    .filter-pill.active { border-color: var(--kloud-blue); color: var(--kloud-blue); background: var(--kloud-blue-soft); }
    .progress-bar {
      height: 6px;
      background: var(--kloud-purple-mid);
      border-radius: 3px;
      overflow: hidden;
      margin-top: 8px;
    }
    .progress-fill { height: 100%; background: linear-gradient(90deg, var(--kloud-blue), var(--kloud-green)); border-radius: 3px; }
    .section-scores { display: grid; gap: 10px; }
    .section-row {
      display: grid;
      grid-template-columns: 200px 1fr 60px;
      align-items: center;
      gap: 12px;
      font-size: 13px;
    }
    .icon-pass { color: var(--success); }
    .icon-fail { color: var(--danger); }
    .insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    @media (max-width: 800px) { .insight-grid { grid-template-columns: 1fr; } }
    .insight-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 18px;
      cursor: pointer;
    }
    .insight-card:hover { border-color: var(--accent); }
    .insight-card h3 { font-size: 14px; margin-bottom: 8px; }
    .form-group { margin-bottom: 18px; }
    .form-group label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
    .form-group input, .form-group select {
      width: 100%;
      max-width: 320px;
      padding: 10px 12px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
    }
    .report-frame {
      background: #f8fafc;
      color: #1e293b;
      border-radius: 10px;
      padding: 24px;
      min-height: 320px;
      font-size: 13px;
      border: 1px solid #e2e8f0;
    }
    .report-frame h4 { margin-bottom: 12px; color: #0f172a; }
    .report-table { width: 100%; color: #334155; }
    .report-table th { background: #f0f4f8; color: #475569; border-left: 4px solid var(--kloud-blue); }
    .tabs-scroll { overflow-x: auto; white-space: nowrap; flex-wrap: nowrap; display: flex; max-width: 100%; }
    .tabs-scroll .tab { flex-shrink: 0; }
    .heatmap { overflow-x: auto; font-size: 11px; max-width: 100%; }
    .heatmap table { min-width: 720px; width: max-content; }
    .heatmap th, .heatmap td { padding: 8px 10px; text-align: center; white-space: nowrap; }
    .heatmap th:first-child, .heatmap td:first-child { text-align: left; font-weight: 600; }
    .hm-ok { background: rgba(136, 191, 87, 0.25); color: var(--success); }
    .hm-bad { background: rgba(232, 93, 117, 0.2); color: var(--danger); }
    .hm-warn { background: rgba(212, 168, 75, 0.15); color: var(--warning); }
    .key-pill {
      display: inline-block;
      font-size: 10px;
      font-family: monospace;
      padding: 2px 6px;
      border-radius: 4px;
      background: var(--surface-2);
      color: var(--muted);
      margin-right: 4px;
    }
    .sub-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
    .sub-tab {
      padding: 6px 12px;
      border-radius: 6px;
      border: 1px solid var(--border);
      font-size: 12px;
      cursor: pointer;
      color: var(--muted);
    }
    .sub-tab.active { border-color: var(--kloud-blue); color: var(--kloud-blue); background: var(--kloud-blue-soft); }
    .host-report { display: flex; flex-direction: column; gap: 28px; }
    .host-toc {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 14px 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      margin-bottom: 4px;
      font-size: 12px;
    }
    .host-toc-label { color: var(--muted); margin-right: 4px; align-self: center; }
    .host-toc a {
      padding: 5px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      color: var(--muted);
      text-decoration: none;
    }
    .host-toc a:hover { color: var(--text-bright); border-color: var(--kloud-blue); }
    #page-host-detail .host-db-toolbar {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 16px 18px;
      margin-bottom: 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      border-left: 4px solid var(--kloud-blue);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    }
    #page-host-detail .host-db-toolbar[hidden] { display: none; }
    #page-host-detail .host-db-toolbar-icon {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: var(--kloud-blue-soft);
      color: var(--kloud-blue);
    }
    #page-host-detail .host-db-toolbar-content {
      flex: 1;
      min-width: 0;
    }
    #page-host-detail .host-db-toolbar-label {
      margin: 0 0 4px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-bright);
      letter-spacing: 0.01em;
    }
    #page-host-detail .host-db-toolbar-desc {
      margin: 0 0 14px;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.45;
    }
    #page-host-detail .host-db-picker {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    #page-host-detail .host-db-pill {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      min-width: 132px;
      padding: 10px 14px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      cursor: pointer;
      text-align: left;
      font: inherit;
      transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    #page-host-detail .host-db-pill:hover {
      border-color: var(--kloud-blue);
      background: rgba(85, 163, 215, 0.08);
    }
    #page-host-detail .host-db-pill.active {
      border-color: var(--kloud-blue);
      background: var(--kloud-blue-soft);
      box-shadow: 0 0 0 1px rgba(85, 163, 215, 0.25);
    }
    #page-host-detail .host-db-pill:focus-visible {
      outline: 2px solid var(--kloud-blue);
      outline-offset: 2px;
    }
    #page-host-detail .host-db-pill-name {
      font-size: 14px;
      font-weight: 600;
      font-family: ui-monospace, Consolas, monospace;
      color: var(--text-bright);
    }
    #page-host-detail .host-db-pill-stats {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      width: 100%;
    }
    #page-host-detail .host-db-pill-cis {
      font-size: 11px;
      color: var(--muted);
    }
    #page-host-detail .host-db-pill-posture {
      font-size: 10px;
      padding: 2px 7px;
      border-radius: 4px;
    }
    .report-block {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .report-block-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      background: var(--surface-2);
    }
    .report-block-header h2 {
      font-family: inherit;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-bright);
      margin-bottom: 4px;
    }
    .report-block-header p { font-size: 12px; color: var(--muted); margin: 0; }
    .report-block-body { padding: 20px; }
    .report-section { margin-bottom: 28px; scroll-margin-top: 24px; }
    .report-section:last-child { margin-bottom: 0; }
    .report-section-title {
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-bright);
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--kloud-purple-mid);
    }
    .report-section-meta { color: var(--muted); font-size: 12px; margin-bottom: 14px; }

    /* Host detail â€” Data & logs + Full HTML report */
    #block-data .data-logs-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }
    @media (max-width: 900px) {
      #block-data .data-logs-grid { grid-template-columns: 1fr; }
    }
    #block-data .data-log-card {
      margin: 0;
      min-height: 0;
    }
    #block-data .data-log-card-inner {
      height: 100%;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--surface);
      overflow: hidden;
    }
    #block-data .data-log-card-head {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 12px;
      align-items: start;
      padding: 16px 18px;
      border-bottom: 1px solid var(--border);
      background: var(--surface-2);
    }
    #block-data .data-log-card-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      flex-shrink: 0;
      background: rgba(85, 163, 215, 0.12);
      border: 1px solid rgba(85, 163, 215, 0.25);
      position: relative;
    }
    #block-data .data-log-card-icon--pii::before,
    #block-data .data-log-card-icon--log::before {
      content: '';
      position: absolute;
      inset: 0;
      margin: auto;
      width: 18px;
      height: 18px;
      background: var(--kloud-blue);
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      -webkit-mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: center;
    }
    #block-data .data-log-card-icon--pii::before {
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
    }
    #block-data .data-log-card-icon--log::before {
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8'/%3E%3C/svg%3E");
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8'/%3E%3C/svg%3E");
    }
    #block-data .data-log-card-titles { min-width: 0; }
    #block-data .data-log-card-title {
      margin: 0 0 4px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-bright);
    }
    #block-data .data-log-card-meta {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.45;
    }
    #block-data .data-log-card-meta strong { color: var(--text); font-weight: 600; }
    #block-data .data-log-card-meta code {
      font-size: 11px;
      color: var(--kloud-blue);
      background: rgba(85, 163, 215, 0.1);
      padding: 1px 6px;
      border-radius: 4px;
    }
    #block-data .data-log-status {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
      padding: 5px 10px;
      border-radius: 4px;
      white-space: nowrap;
    }
    #block-data .data-log-status--empty {
      background: rgba(255, 255, 255, 0.06);
      color: var(--muted);
    }
    #block-data .data-log-status--ok {
      background: rgba(136, 191, 87, 0.18);
      color: var(--success);
    }
    #block-data .data-log-status--warn {
      background: rgba(245, 166, 35, 0.18);
      color: var(--warning);
    }
    #block-data .data-log-card-body {
      flex: 1;
      padding: 18px;
      display: flex;
      flex-direction: column;
    }
    #block-data .data-empty-state {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 14px;
      padding: 8px 4px;
      min-height: 120px;
    }
    #block-data .data-empty-state-text {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
    }
    #block-data .data-empty-state-actions { margin-top: 4px; }
    #block-data .data-log-action {
      font-size: 13px;
      font-weight: 600;
    }
    #block-data .data-log-card-foot {
      padding: 12px 18px;
      border-top: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.02);
    }
    #block-data .data-log-table { margin: 0; }
    #block-data .data-log-code {
      font-size: 12px;
      color: var(--kloud-blue);
      background: rgba(85, 163, 215, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
    }
    #block-data .data-log-callout { margin-top: 12px; }

    /* PII scan card â€” full width + readable table (Data & logs Â§3) */
    #block-data #section-pii-scan {
      grid-column: 1 / -1;
    }
    #block-data #section-pii-scan .data-log-card-body {
      padding: 14px 18px 16px;
    }
    #block-data #section-pii-scan .data-log-pii-wrap,
    #block-data #section-pii-scan .host-module-table {
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      max-width: 100%;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(0, 0, 0, 0.18);
    }
    /* Reset host-module-table column presets (check/result = 1% width) for PII grid */
    #block-data #section-pii-scan .host-module-table th:first-child,
    #block-data #section-pii-scan .host-module-table td.host-col-check {
      width: auto;
      min-width: 0;
      padding-right: 12px;
      white-space: normal;
    }
    #block-data #section-pii-scan .host-module-table th:last-child,
    #block-data #section-pii-scan .host-module-table td.host-col-result {
      width: auto;
      min-width: 76px;
      text-align: left;
      padding-left: 12px;
      font-weight: 500;
    }
    #block-data #section-pii-scan .host-module-table td.host-col-title {
      overflow: visible;
      white-space: nowrap;
      word-break: normal;
      min-width: 0;
    }
    #block-data #section-pii-scan .data-log-pii-table,
    #block-data #section-pii-scan .host-module-table table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      font-size: 13px;
    }
    #block-data #section-pii-scan .data-log-pii-table thead th,
    #block-data #section-pii-scan .host-module-table thead th {
      padding: 8px 12px;
      text-align: left;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--muted);
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }
    #block-data #section-pii-scan .data-log-pii-table tbody td,
    #block-data #section-pii-scan .host-module-table tbody td {
      padding: 8px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      vertical-align: middle;
      font-size: 13px;
      line-height: 1.4;
    }
    #block-data #section-pii-scan .data-log-pii-table tbody tr:last-child td,
    #block-data #section-pii-scan .host-module-table tbody tr:last-child td {
      border-bottom: none;
    }
    #block-data #section-pii-scan .data-log-pii-table tbody tr:hover td,
    #block-data #section-pii-scan .host-module-table tbody tr:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    /* Column widths: more room for Column + Matched */
    #block-data #section-pii-scan .data-log-pii-table .pii-col-table,
    #block-data #section-pii-scan .host-module-table th:nth-child(1),
    #block-data #section-pii-scan .host-module-table td:nth-child(1) {
      width: 22%;
    }
    #block-data #section-pii-scan .data-log-pii-table .pii-col-column,
    #block-data #section-pii-scan .host-module-table th:nth-child(2),
    #block-data #section-pii-scan .host-module-table td:nth-child(2) {
      width: 22%;
      min-width: 120px;
    }
    #block-data #section-pii-scan .data-log-pii-table .pii-col-label,
    #block-data #section-pii-scan .host-module-table th:nth-child(3),
    #block-data #section-pii-scan .host-module-table td:nth-child(3) {
      width: 14%;
    }
    #block-data #section-pii-scan .data-log-pii-table .pii-col-conf,
    #block-data #section-pii-scan .host-module-table th:nth-child(4),
    #block-data #section-pii-scan .host-module-table td:nth-child(4) {
      width: 16%;
    }
    #block-data #section-pii-scan .data-log-pii-table .pii-col-matched,
    #block-data #section-pii-scan .host-module-table th:nth-child(5),
    #block-data #section-pii-scan .host-module-table td:nth-child(5) {
      width: 18%;
      min-width: 76px;
      white-space: nowrap;
    }
    #block-data #section-pii-scan .pii-fq-name,
    #block-data #section-pii-scan .pii-col-name {
      display: inline-block;
      max-width: none;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 13px;
      color: var(--text-bright);
      background: rgba(255, 255, 255, 0.05);
      padding: 3px 7px;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
    }
    #block-data #section-pii-scan td.pii-col-column,
    #block-data #section-pii-scan .host-module-table td:nth-child(2) {
      overflow: visible;
      white-space: nowrap;
    }
    #block-data #section-pii-scan .pii-label-chip {
      font-size: 11px;
      padding: 3px 8px;
    }
    #block-data #section-pii-scan .pii-conf-badge {
      font-size: 11px;
      padding: 3px 8px;
    }
    #block-data #section-pii-scan .pii-match-ratio,
    #block-data #section-pii-scan .pii-detector-tag {
      font-size: 12px;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    /* pg_log parser card â€” full width + readable table (Data & logs Â§3) */
    #block-data #section-pg-log {
      grid-column: 1 / -1;
    }
    #block-data #section-pg-log .data-log-card-body {
      padding: 14px 18px 16px;
    }
    #block-data #section-pg-log .host-module-table {
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      max-width: 100%;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(0, 0, 0, 0.18);
    }
    #block-data #section-pg-log .host-module-table th:first-child,
    #block-data #section-pg-log .host-module-table td.host-col-check {
      width: auto;
      min-width: 140px;
      padding-right: 12px;
      white-space: nowrap;
    }
    #block-data #section-pg-log .host-module-table th:last-child,
    #block-data #section-pg-log .host-module-table td.host-col-result {
      width: auto;
      min-width: 200px;
      text-align: left;
      padding-left: 12px;
      font-weight: 500;
      white-space: normal;
      word-break: break-word;
    }
    #block-data #section-pg-log .host-module-table td.host-col-title {
      overflow: visible;
      white-space: normal;
      word-break: break-word;
      min-width: 0;
    }
    #block-data #section-pg-log .host-module-table table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      font-size: 13px;
    }
    #block-data #section-pg-log .host-module-table thead th {
      padding: 8px 12px;
      text-align: left;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--muted);
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }
    #block-data #section-pg-log .host-module-table tbody td {
      padding: 10px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      vertical-align: middle;
      font-size: 13px;
      line-height: 1.45;
    }
    #block-data #section-pg-log .host-module-table tbody tr:last-child td {
      border-bottom: none;
    }
    #block-data #section-pg-log .host-module-table tbody tr:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    #block-data #section-pg-log .host-module-table th:nth-child(1),
    #block-data #section-pg-log .host-module-table td:nth-child(1) {
      width: 18%;
    }
    #block-data #section-pg-log .host-module-table th:nth-child(2),
    #block-data #section-pg-log .host-module-table td:nth-child(2) {
      width: 32%;
      min-width: 160px;
    }
    #block-data #section-pg-log .host-module-table th:nth-child(3),
    #block-data #section-pg-log .host-module-table td:nth-child(3) {
      width: 50%;
      min-width: 220px;
    }
    #block-data #section-pg-log .data-log-code {
      font-size: 13px;
      padding: 3px 8px;
    }
    #block-data #section-pg-log .data-log-callout {
      font-size: 13px;
      line-height: 1.5;
    }

    #section-full-report .full-report-panel {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px 22px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--surface);
    }
    #section-full-report .full-report-hero {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 16px;
      align-items: start;
    }
    #section-full-report .full-report-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(85, 163, 215, 0.12);
      border: 1px solid rgba(85, 163, 215, 0.25);
      position: relative;
    }
    #section-full-report .full-report-icon::before {
      content: '';
      position: absolute;
      inset: 0;
      margin: auto;
      width: 22px;
      height: 22px;
      background: var(--kloud-blue);
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E");
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E");
      -webkit-mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: center;
    }
    #section-full-report .full-report-title {
      margin: 0 0 6px;
      font-size: 15px;
      font-weight: 600;
      color: var(--text-bright);
    }
    #section-full-report .full-report-desc {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.55;
      max-width: 640px;
    }
    #section-full-report .full-report-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }
    #section-full-report .btn-report-open {
      padding: 10px 18px;
      border-radius: 8px;
      border: 1px solid var(--kloud-blue);
      background: var(--kloud-blue);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
    }
    #section-full-report .btn-report-open:hover {
      background: #4a9fd4;
      border-color: #4a9fd4;
      color: #fff;
    }
    #section-full-report .btn-report-download {
      padding: 10px 18px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: border-color 0.2s, background 0.2s;
    }
    #section-full-report .btn-report-download:hover {
      border-color: var(--kloud-blue);
      background: rgba(85, 163, 215, 0.08);
      color: var(--text-bright);
    }
    #section-full-report .full-report-scope {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 12px;
      padding: 12px 14px;
      border-radius: 8px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      font-size: 12px;
    }
    #section-full-report .full-report-scope-label {
      font-weight: 700;
      letter-spacing: 0.04em;
      color: var(--muted);
    }
    #section-full-report .full-report-scope-host {
      font-size: 12px;
      color: var(--kloud-blue);
      background: rgba(85, 163, 215, 0.1);
      padding: 4px 10px;
      border-radius: 4px;
      border: 1px solid rgba(85, 163, 215, 0.2);
    }
    #section-full-report .full-report-scope-note {
      color: var(--muted);
      margin-left: auto;
    }
    @media (max-width: 700px) {
      #section-full-report .full-report-scope-note {
        margin-left: 0;
        width: 100%;
      }
    }

    .host-subpanel { display: none; }
    .host-subpanel.active { display: block; }
    .hba-check-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
    .hba-check-row {
      display: grid;
      grid-template-columns: 4px 1fr auto;
      gap: 0 16px;
      align-items: stretch;
      border-bottom: 1px solid var(--border);
      background: var(--surface);
    }
    .hba-check-row--fail,
    .hba-check-row--pass { cursor: default; }
    .hba-check-row:last-child { border-bottom: none; }
    .hba-check-bar { width: 4px; min-height: 100%; }
    .hba-check-bar.pass { background: var(--success); }
    .hba-check-bar.fail { background: var(--danger); }
    .hba-check-main { padding: 14px 0; min-width: 0; }
    .hba-check-num { font-size: 11px; font-weight: 600; color: var(--kloud-blue); letter-spacing: 0.04em; margin-bottom: 4px; }
    .hba-check-title { font-weight: 600; color: var(--text-bright); font-size: 14px; margin-bottom: 4px; }
    .hba-check-desc { font-size: 12px; color: var(--muted); line-height: 1.45; }
    .hba-check-status { padding: 14px 16px 14px 0; display: flex; align-items: flex-start; }
    .hba-badge {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      padding: 5px 10px;
      border-radius: 4px;
    }
    .hba-badge.pass { background: rgba(136, 191, 87, 0.2); color: var(--success); }
    .hba-badge.fail { background: rgba(232, 93, 117, 0.2); color: var(--danger); }
    .hba-badge.warning { background: rgba(251, 188, 5, 0.2); color: #e6a800; }
    .hba-badge.critical { background: rgba(232, 93, 117, 0.35); color: #ff4d6d; }
    .hba-check-bar.warning { background: var(--warning); }
    .hba-check-bar.critical { background: #ff4d6d; }
    .ssl-check-row--warning { background: rgba(212, 168, 75, 0.04); }
    .ssl-check-row--critical { background: rgba(232, 93, 117, 0.06); }
    .ssl-check-list .hba-check-main { padding: 14px 12px 14px 0; }
    .ssl-empty-msg {
      margin: 0;
      padding: 20px 16px;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }
    .ssl-empty-msg--error { color: var(--danger); }
    .host-module-table {
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .host-module-table table { table-layout: auto; }
    .host-module-table th,
    .host-module-table td {
      padding: 14px 20px;
      vertical-align: top;
      line-height: 1.5;
    }
    .host-module-table th:first-child,
    .host-module-table td.host-col-check {
      width: 1%;
      white-space: nowrap;
      padding-right: 24px;
    }
    .host-module-table th:last-child,
    .host-module-table td.host-col-result {
      width: 1%;
      text-align: right;
      white-space: nowrap;
      padding-left: 24px;
      font-weight: 600;
    }
    .host-module-table td.host-col-title {
      word-break: break-word;
      white-space: normal;
      min-width: 0;
    }
    #block-access .hba-check-desc {
      word-break: break-word;
      white-space: normal;
    }
    #block-access .access-check-module,
    #block-access .ssl-module {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    #block-access .access-check-meta {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }
    #block-access .access-check-meta strong { color: var(--text); font-weight: 600; }
    #block-access .access-summary {
      padding: 14px 16px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 10px;
    }
    #block-access .access-summary-stats {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    #block-access .access-summary-pill {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.04em;
      padding: 4px 10px;
      border-radius: 4px;
    }
    #block-access .access-summary-pill--pass {
      background: rgba(136, 191, 87, 0.18);
      color: var(--success);
    }
    #block-access .access-summary-pill--fail {
      background: rgba(232, 93, 117, 0.18);
      color: var(--danger);
    }
    #block-access .access-summary-total {
      font-size: 12px;
      color: var(--muted);
      margin-left: auto;
    }
    #block-access .access-summary-track {
      height: 8px;
      background: var(--kloud-purple-mid);
      border-radius: 4px;
      overflow: hidden;
    }
    #block-access .access-summary-fill {
      height: 100%;
      border-radius: 4px;
      transition: width 0.3s ease;
    }
    #block-access .access-summary-fill--pass { background: var(--success); }
    #block-access .access-summary-fill--fail { background: var(--danger); }
    #block-access .access-check-list .hba-check-row {
      grid-template-columns: 4px minmax(0, 1fr) auto;
      align-items: center;
    }
    #block-access .access-check-list .hba-check-main {
      padding: 16px 0;
      min-width: 0;
    }
    #block-access .access-check-list .hba-check-status {
      padding: 16px 20px 16px 12px;
      flex-shrink: 0;
    }
    #block-access .access-check-area {
      display: inline-block;
      margin-bottom: 6px;
      padding: 3px 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: lowercase;
      color: var(--kloud-blue);
      background: rgba(85, 163, 215, 0.12);
      border: 1px solid rgba(85, 163, 215, 0.25);
      border-radius: 4px;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    #block-access .access-check-list .hba-check-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-bright);
      line-height: 1.45;
      margin: 0;
    }
    #block-access .access-result-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 6px 12px;
      border-radius: 4px;
      white-space: nowrap;
      text-align: center;
      min-width: 72px;
    }
    #block-access .access-result-badge.pass {
      background: rgba(136, 191, 87, 0.2);
      color: var(--success);
    }
    #block-access .access-result-badge.fail {
      background: rgba(232, 93, 117, 0.2);
      color: var(--danger);
    }
    #block-access .access-result-badge.warn {
      background: rgba(245, 166, 35, 0.2);
      color: var(--warning);
    }
    #block-access .access-result-badge.neutral {
      background: var(--surface-2);
      color: var(--muted);
    }
    #block-access .hba-check-bar.warn { background: var(--warning); }
    #block-access .access-check-list .hba-check-row:hover {
      background: rgba(255, 255, 255, 0.02);
    }
    #block-access .access-check-callout { margin-top: 0; }
    #block-access .ssl-module {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    #block-access .ssl-module-meta {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }
    #block-access .ssl-module-meta strong { color: var(--text); font-weight: 600; }
    #block-access .ssl-summary {
      padding: 14px 16px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 10px;
    }
    #block-access .ssl-summary-stats {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    #block-access .ssl-summary-pill {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.04em;
      padding: 4px 10px;
      border-radius: 4px;
    }
    #block-access .ssl-summary-pill--pass {
      background: rgba(136, 191, 87, 0.18);
      color: var(--success);
    }
    #block-access .ssl-summary-pill--fail {
      background: rgba(232, 93, 117, 0.18);
      color: var(--danger);
    }
    #block-access .ssl-summary-total {
      font-size: 12px;
      color: var(--muted);
      margin-left: auto;
    }
    #block-access .ssl-summary-track {
      height: 8px;
      background: var(--kloud-purple-mid);
      border-radius: 4px;
      overflow: hidden;
    }
    #block-access .ssl-summary-fill {
      height: 100%;
      border-radius: 4px;
      transition: width 0.3s ease;
    }
    #block-access .ssl-summary-fill--pass { background: var(--success); }
    #block-access .ssl-summary-fill--fail { background: var(--danger); }
    #block-access .ssl-summary-fill--warning { background: #e6a800; }
    #block-access .ssl-summary-pill--warn { background: rgba(251, 188, 5, 0.15); color: #e6a800; }
    #block-access .ssl-summary-pill--critical { background: rgba(232, 93, 117, 0.25); color: var(--danger); }
    #block-access .ssl-section-title {
      font-size: 14px;
      font-weight: 600;
      margin: 20px 0 12px;
      color: var(--text-bright);
    }
    #block-access .ssl-section-title:first-of-type { margin-top: 0; }
    #block-access .ssl-check-list .hba-check-main { padding-right: 8px; }
    #block-access .ssl-fail-lines {
      margin: 10px 0 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    #block-access .ssl-fail-lines li {
      padding: 8px 10px;
      background: rgba(232, 93, 117, 0.08);
      border: 1px solid rgba(232, 93, 117, 0.2);
      border-radius: 6px;
      font-size: 12px;
      line-height: 1.4;
      overflow-x: auto;
    }
    #block-access .ssl-fail-lines code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      color: var(--text-bright);
      white-space: pre-wrap;
      word-break: break-all;
    }
    #block-access .ssl-procedure {
      margin-top: 10px;
      padding: 10px 12px;
      background: rgba(85, 163, 215, 0.08);
      border: 1px solid rgba(85, 163, 215, 0.2);
      border-radius: 6px;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
      white-space: pre-wrap;
      word-break: break-word;
    }
    #block-access .ssl-procedure-label {
      display: inline-block;
      margin-right: 6px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: var(--kloud-blue);
    }

    /* SSL scanner page â€” stat accents only (layout matches HBA scanner) */
    #page-ssl-scanner .ssl-stats {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #page-ssl-scanner .form-group select {
      max-width: none;
      width: 100%;
    }
    #page-ssl-scanner .ssl-stat-card--pass { border-top-color: var(--success); }
    #page-ssl-scanner .ssl-stat-card--warn { border-top-color: var(--warning); }
    #page-ssl-scanner .ssl-stat-card--fail { border-top-color: var(--danger); }
    @media (max-width: 900px) {
      #page-ssl-scanner .ssl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    #page-ssl-scanner .ssl-hba-lines {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px dashed rgba(255, 255, 255, 0.08);
    }
    #page-ssl-scanner .ssl-hba-lines-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--kloud-blue);
      margin-bottom: 8px;
    }
    #page-ssl-scanner .ssl-fail-lines {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    #page-ssl-scanner .ssl-fail-lines li {
      padding: 8px 10px;
      background: rgba(0, 0, 0, 0.22);
      border: 1px solid rgba(232, 93, 117, 0.18);
      border-radius: 6px;
      font-size: 12px;
      line-height: 1.45;
    }
    #page-ssl-scanner .ssl-fail-lines code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      color: #f0c4cc;
      word-break: break-all;
    }
    #page-ssl-scanner .ssl-hba-lines--standalone {
      padding: 12px 16px;
      border-top: 1px solid var(--border);
      background: rgba(232, 93, 117, 0.04);
    }

    /* Host detail â€” critical violations, CIS, config & access */
    #block-critical-violations .host-cis-report,
    #block-cis .host-cis-report,
    #block-config .host-cis-report,
    #block-access .host-cis-report {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    #block-critical-violations .host-cis-summary,
    #block-cis .host-cis-summary,
    #block-config .host-cis-summary,
    #block-access .host-cis-summary {
      padding: 18px 20px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 10px;
    }
    #block-critical-violations .host-cis-details-header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 8px 12px;
      margin-bottom: 12px;
    }
    #block-critical-violations .host-cis-details-header .host-cis-details-title {
      margin: 0;
    }
    #block-critical-violations .host-cis-details-header .host-cis-legend {
      margin-left: auto;
      flex-shrink: 0;
      gap: 12px;
    }
    #block-critical-violations .host-cis-summary-title,
    #block-critical-violations .host-cis-details-title,
    #block-cis .host-cis-summary-title,
    #block-cis .host-cis-details-title,
    #block-config .host-cis-summary-title,
    #block-access .host-cis-summary-title,
    #block-config .host-cis-details-title,
    #block-access .host-cis-details-title {
      margin: 0 0 14px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-bright);
    }
    #block-critical-violations .host-cis-progress,
    #block-cis .host-cis-progress,
    #block-config .host-cis-progress,
    #block-access .host-cis-progress {
      margin-bottom: 12px;
    }
    #block-critical-violations .host-cis-progress:last-child,
    #block-cis .host-cis-progress:last-child,
    #block-config .host-cis-progress:last-child,
    #block-access .host-cis-progress:last-child { margin-bottom: 0; }
    #block-critical-violations .host-cis-progress--overall,
    #block-cis .host-cis-progress--overall,
    #block-config .host-cis-progress--overall,
    #block-access .host-cis-progress--overall {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--border);
    }
    #block-critical-violations .host-cis-progress-label,
    #block-cis .host-cis-progress-label,
    #block-config .host-cis-progress-label,
    #block-access .host-cis-progress-label {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 6px;
    }
    #block-critical-violations .host-cis-progress-track,
    #block-cis .host-cis-progress-track,
    #block-config .host-cis-progress-track,
    #block-access .host-cis-progress-track {
      height: 18px;
      background: var(--kloud-purple-mid);
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
    }
    #block-critical-violations .host-cis-progress-fill,
    #block-cis .host-cis-progress-fill,
    #block-config .host-cis-progress-fill,
    #block-access .host-cis-progress-fill {
      height: 100%;
      border-radius: 3px;
      transition: width 0.3s ease;
    }
    #block-critical-violations .host-cis-toolbar,
    #block-cis .host-cis-toolbar,
    #block-config .host-cis-toolbar,
    #block-access .host-cis-toolbar {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }
    #block-critical-violations .host-cis-expand-all,
    #block-cis .host-cis-expand-all,
    #block-config .host-cis-expand-all,
    #block-access .host-cis-expand-all {
      padding: 8px 16px;
      border: 1px solid var(--kloud-blue);
      border-radius: 6px;
      background: transparent;
      color: var(--kloud-blue);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.2s, color 0.2s;
    }
    #block-critical-violations .host-cis-expand-all:hover,
    #block-cis .host-cis-expand-all:hover,
    #block-config .host-cis-expand-all:hover,
    #block-access .host-cis-expand-all:hover {
      background: var(--kloud-blue-soft);
      color: var(--text-bright);
    }
    #block-critical-violations .host-cis-legend,
    #block-cis .host-cis-legend,
    #block-config .host-cis-legend,
    #block-access .host-cis-legend {
      display: flex;
      gap: 16px;
      font-size: 12px;
      color: var(--muted);
    }
    #block-critical-violations .host-cis-pass,
    #block-critical-violations .host-cis-table td.host-cis-pass,
    #block-critical-violations .host-cis-table td.host-cis-pass .host-cis-status-icon,
    #block-cis .host-cis-pass,
    #block-cis .host-cis-table td.host-cis-pass,
    #block-cis .host-cis-table td.host-cis-pass .host-cis-status-icon,
    #block-config .host-cis-pass,
    #block-config .host-cis-table td.host-cis-pass,
    #block-config .host-cis-table td.host-cis-pass .host-cis-status-icon,
    #block-access .host-cis-pass,
    #block-access .host-cis-table td.host-cis-pass,
    #block-access .host-cis-table td.host-cis-pass .host-cis-status-icon {
      color: var(--success);
      font-weight: 600;
    }
    #block-critical-violations .host-cis-fail,
    #block-critical-violations .host-cis-table td.host-cis-fail,
    #block-critical-violations .host-cis-table td.host-cis-fail .host-cis-status-icon,
    #block-cis .host-cis-fail,
    #block-cis .host-cis-table td.host-cis-fail,
    #block-cis .host-cis-table td.host-cis-fail .host-cis-status-icon,
    #block-config .host-cis-fail,
    #block-config .host-cis-table td.host-cis-fail,
    #block-config .host-cis-table td.host-cis-fail .host-cis-status-icon,
    #block-access .host-cis-fail,
    #block-access .host-cis-table td.host-cis-fail,
    #block-access .host-cis-table td.host-cis-fail .host-cis-status-icon {
      color: var(--danger);
      font-weight: 600;
    }
    #block-critical-violations .host-cis-manual,
    #block-critical-violations .host-cis-table td.host-cis-manual,
    #block-critical-violations .host-cis-table td.host-cis-manual .host-cis-status-icon,
    #block-cis .host-cis-manual,
    #block-cis .host-cis-table td.host-cis-manual,
    #block-cis .host-cis-table td.host-cis-manual .host-cis-status-icon,
    #block-config .host-cis-manual,
    #block-config .host-cis-table td.host-cis-manual,
    #block-config .host-cis-table td.host-cis-manual .host-cis-status-icon,
    #block-access .host-cis-manual,
    #block-access .host-cis-table td.host-cis-manual,
    #block-access .host-cis-table td.host-cis-manual .host-cis-status-icon {
      color: var(--warning);
      font-weight: 600;
    }
    #block-critical-violations .host-cis-pagination,
    #block-cis .host-cis-pagination {
      margin: 0;
      border-top: 1px solid var(--border);
      border-radius: 0 0 8px 8px;
      background: var(--surface-2);
    }
    #block-critical-violations .host-cis-table-wrap,
    #block-cis .host-cis-table-wrap,
    #block-config .host-cis-table-wrap,
    #block-access .host-cis-table-wrap {
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      background: var(--surface);
    }
    #block-critical-violations .host-cis-table,
    #block-cis .host-cis-table,
    #block-config .host-cis-table,
    #block-access .host-cis-table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }
    #block-critical-violations .host-cis-table th,
    #block-critical-violations .host-cis-table td,
    #block-cis .host-cis-table th,
    #block-cis .host-cis-table td,
    #block-config .host-cis-table th,
    #block-config .host-cis-table td,
    #block-access .host-cis-table th,
    #block-access .host-cis-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid var(--border);
      vertical-align: middle;
      color: var(--text);
    }
    #block-critical-violations .host-cis-table th,
    #block-cis .host-cis-table th,
    #block-config .host-cis-table th,
    #block-access .host-cis-table th {
      background: var(--surface-2);
      color: var(--muted);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    #block-critical-violations .host-cis-table tbody tr:last-child td,
    #block-cis .host-cis-table tbody tr:last-child td,
    #block-config .host-cis-table tbody tr:last-child td,
    #block-access .host-cis-table tbody tr:last-child td { border-bottom: none; }
    #block-critical-violations .host-cis-icon-col,
    #block-cis .host-cis-icon-col,
    #block-config .host-cis-icon-col,
    #block-access .host-cis-icon-col {
      width: 100px;
      text-align: center !important;
      white-space: nowrap;
    }
    #block-critical-violations .host-cis-num-col {
      width: 72px;
      text-align: center !important;
      font-variant-numeric: tabular-nums;
      color: var(--muted);
      font-size: 13px;
    }
    #block-critical-violations .host-cis-meta-col,
    #block-critical-violations .host-cis-detail-col {
      font-size: 13px;
      color: var(--muted);
      word-break: break-word;
      line-height: 1.45;
    }
    #block-critical-violations .host-cis-control-cell,
    #block-cis .host-cis-control-cell,
    #block-config .host-cis-control-cell,
    #block-access .host-cis-control-cell {
      word-break: break-word;
      font-size: 13px;
      color: var(--text-bright);
    }
    #block-critical-violations .host-cis-table tbody tr,
    #block-critical-violations .host-cis-table tbody td {
      background: var(--surface);
    }
    #block-critical-violations .host-cis-row--critical {
      background: var(--surface);
    }
    #block-cis .host-cis-row--critical,
    #block-config .host-cis-row--critical,
    #block-access .host-cis-row--critical {
      background: rgba(232, 93, 117, 0.08);
    }
    #block-critical-violations .host-cis-status-icon,
    #block-cis .host-cis-status-icon,
    #block-config .host-cis-status-icon,
    #block-access .host-cis-status-icon {
      display: inline-block;
      margin-right: 4px;
      font-weight: 700;
    }
    #block-critical-violations .host-cis-info-btn,
    #block-cis .host-cis-info-btn,
    #block-config .host-cis-info-btn,
    #block-access .host-cis-info-btn {
      width: 28px;
      height: 28px;
      border: 1px solid var(--border);
      border-radius: 50%;
      background: var(--surface-2);
      color: var(--kloud-blue);
      font-size: 14px;
      cursor: pointer;
      line-height: 1;
      padding: 0;
      transition: background 0.2s, border-color 0.2s;
    }
    #block-critical-violations .host-cis-info-btn:hover,
    #block-cis .host-cis-info-btn:hover,
    #block-config .host-cis-info-btn:hover,
    #block-access .host-cis-info-btn:hover {
      background: var(--kloud-blue-soft);
      border-color: var(--kloud-blue);
    }
    #block-critical-violations .host-cis-detail-row,
    #block-cis .host-cis-detail-row,
    #block-config .host-cis-detail-row,
    #block-access .host-cis-detail-row {
      display: none;
      background: rgba(85, 163, 215, 0.04);
    }
    #block-critical-violations .host-cis-detail-row.open,
    #block-cis .host-cis-detail-row.open,
    #block-config .host-cis-detail-row.open,
    #block-access .host-cis-detail-row.open { display: table-row; }
    #block-critical-violations .host-cis-detail-panel,
    #block-cis .host-cis-detail-panel,
    #block-config .host-cis-detail-panel,
    #block-access .host-cis-detail-panel {
      padding: 4px 0;
    }
    #block-critical-violations .host-cis-inner-table,
    #block-cis .host-cis-inner-table,
    #block-config .host-cis-inner-table,
    #block-access .host-cis-inner-table {
      width: 100%;
      border-collapse: collapse;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }
    #block-critical-violations .host-cis-inner-table th,
    #block-critical-violations .host-cis-inner-table td,
    #block-cis .host-cis-inner-table th,
    #block-cis .host-cis-inner-table td,
    #block-config .host-cis-inner-table th,
    #block-config .host-cis-inner-table td,
    #block-access .host-cis-inner-table th,
    #block-access .host-cis-inner-table td {
      padding: 10px 14px;
      border-bottom: 1px solid var(--border);
      text-align: left;
      vertical-align: top;
      font-size: 13px;
      line-height: 1.5;
    }
    #block-critical-violations .host-cis-inner-table th,
    #block-cis .host-cis-inner-table th,
    #block-config .host-cis-inner-table th,
    #block-access .host-cis-inner-table th {
      width: 160px;
      background: var(--surface-2);
      color: var(--muted);
      font-weight: 600;
    }
    #block-critical-violations .host-cis-inner-table td,
    #block-cis .host-cis-inner-table td,
    #block-config .host-cis-inner-table td,
    #block-access .host-cis-inner-table td {
      color: var(--text);
      word-break: break-word;
    }
    #block-critical-violations .host-cis-inner-table tr:last-child th,
    #block-critical-violations .host-cis-inner-table tr:last-child td,
    #block-cis .host-cis-inner-table tr:last-child th,
    #block-cis .host-cis-inner-table tr:last-child td,
    #block-config .host-cis-inner-table tr:last-child th,
    #block-config .host-cis-inner-table tr:last-child td,
    #block-access .host-cis-inner-table tr:last-child th,
    #block-access .host-cis-inner-table tr:last-child td { border-bottom: none; }
    #block-access .host-users-note {
      margin: 0 0 10px;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }
    #block-access .host-users-list {
      margin: 0 0 12px 18px;
      padding: 0;
      font-size: 13px;
      color: var(--text);
      line-height: 1.6;
    }
    #block-access .host-users-data-table {
      margin-top: 4px;
      overflow-x: auto;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--surface);
      -webkit-overflow-scrolling: touch;
    }
    #block-access .host-users-data-table table {
      width: 100%;
      min-width: 720px;
      border-collapse: collapse;
      font-size: 12px;
    }
    #block-access .host-users-data-table th {
      position: sticky;
      top: 0;
      z-index: 1;
      background: var(--surface-2);
      color: var(--muted);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      padding: 10px 12px;
      border-bottom: 1px solid var(--border);
      text-align: left;
      white-space: nowrap;
    }
    #block-access .host-users-data-table td {
      padding: 8px 12px;
      border-bottom: 1px solid var(--border);
      color: var(--text);
      white-space: nowrap;
      vertical-align: middle;
    }
    #block-access .host-users-data-table tbody tr:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    #block-access .host-users-data-table tr:last-child td { border-bottom: none; }
    #block-access .host-users-bool { font-weight: 600; font-size: 11px; text-transform: lowercase; }
    #block-access .host-users-bool--true { color: #4ade80; }
    #block-access .host-users-bool--false { color: var(--muted); }
    .scan-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; }
    @media (max-width: 700px) { .scan-form-grid { grid-template-columns: 1fr; } }
    .scan-status { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-top: 12px; }
    .scan-status.running { color: var(--kloud-blue); }
    .scan-status.done { color: var(--success); }
    #page-pii-scanner #pii-target-toolbar,
    #page-hba-scanner #hba-target-toolbar,
    #page-ssl-scanner #ssl-target-toolbar,
    .scanner-target-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: flex-end;
      margin-bottom: 20px;
      padding: 16px 18px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      border-left: 4px solid var(--kloud-blue);
    }
    #page-pii-scanner .pii-target-field,
    #page-hba-scanner .pii-target-field,
    #page-ssl-scanner .pii-target-field,
    .scanner-target-toolbar .pii-target-field {
      flex: 1 1 220px;
      min-width: 0;
      max-width: 320px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    #page-pii-scanner .pii-target-field label,
    #page-hba-scanner .pii-target-field label,
    #page-ssl-scanner .pii-target-field label,
    .scanner-target-toolbar .pii-target-field label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--muted);
    }
    #page-pii-scanner .pii-target-select,
    #page-hba-scanner .pii-target-select,
    #page-ssl-scanner .pii-target-select,
    .scanner-target-toolbar .pii-target-select {
      width: 100%;
      padding: 10px 12px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text-bright);
      font-size: 13px;
      font-family: ui-monospace, Consolas, monospace;
    }
    #page-pii-scanner .pii-target-select:focus,
    #page-hba-scanner .pii-target-select:focus,
    #page-ssl-scanner .pii-target-select:focus,
    .scanner-target-toolbar .pii-target-select:focus {
      outline: 2px solid var(--kloud-blue);
      outline-offset: 1px;
    }
    #page-pii-scanner .pii-scan-callout {
      margin-bottom: 20px;
    }
    #page-pii-scanner .pii-db-badge {
      color: var(--kloud-blue);
      background: var(--kloud-blue-soft);
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 12px;
    }
    #page-pii-scanner .pii-results-summary {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin-bottom: 16px;
    }
    @media (max-width: 900px) {
      #page-pii-scanner .pii-results-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    #page-pii-scanner .pii-stat-card {
      border-top: 3px solid var(--border);
      transition: border-color 0.15s;
    }
    #page-pii-scanner .pii-stat-card.pii-stat--data { border-top-color: var(--danger); }
    #page-pii-scanner .pii-stat-card.pii-stat--meta { border-top-color: var(--kloud-blue); }
    #page-pii-scanner .pii-stat-card.pii-stat--low { border-top-color: var(--warning); }
    #page-pii-scanner .pii-stat-card:not(.pii-stat--data):not(.pii-stat--meta):not(.pii-stat--low):hover {
      border-top-color: var(--kloud-blue);
    }

    #page-pii-scanner .pii-report-section { margin-bottom: 16px; }
    #page-pii-scanner .pii-report-section .report-block-body { padding: 12px 14px; }
    #page-pii-scanner .pii-report-section-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }
    #page-pii-scanner .pii-section-badge {
      flex-shrink: 0;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
    }
    #page-pii-scanner .pii-section-badge--data {
      background: rgba(232, 93, 117, 0.12);
      border: 1px solid rgba(232, 93, 117, 0.35);
      color: #f0a8b4;
    }
    #page-pii-scanner .pii-section-badge--meta {
      background: rgba(91, 155, 213, 0.12);
      border: 1px solid rgba(91, 155, 213, 0.35);
      color: var(--kloud-blue);
    }

    #page-pii-scanner .pii-table-wrap {
      overflow-x: auto;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.18);
    }
    #page-pii-scanner .pii-report-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
    }
    #page-pii-scanner .pii-report-table thead th {
      position: sticky;
      top: 0;
      z-index: 1;
      padding: 6px 10px;
      text-align: left;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--muted);
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }
    #page-pii-scanner .pii-report-table tbody td {
      padding: 5px 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      vertical-align: middle;
      line-height: 1.3;
    }
    #page-pii-scanner .pii-report-table tbody tr:last-child td { border-bottom: none; }
    #page-pii-scanner .pii-report-table tbody tr:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    #page-pii-scanner .table-pagination { margin-top: 12px; }
    #page-log-parser .table-pagination { margin-top: 12px; }
    #page-log-parser .log-parser-command-card .table-pagination { margin-top: 8px; }
    #page-pii-scanner .pii-row--group-start td { border-top: 1px solid rgba(255, 255, 255, 0.08); }
    #page-pii-scanner .pii-col-table {
      width: 20%;
      min-width: 110px;
      max-width: 180px;
    }
    #page-pii-scanner .pii-col-column { width: 14%; min-width: 72px; }
    #page-pii-scanner .pii-col-label { width: 12%; min-width: 72px; }
    #page-pii-scanner .pii-col-conf { width: 10%; min-width: 72px; }
    #page-pii-scanner .pii-col-detector { width: 10%; min-width: 64px; }
    #page-pii-scanner .pii-col-matched { width: 16%; min-width: 88px; }

    #page-pii-scanner .pii-fq-name,
    #page-pii-scanner .pii-col-name {
      display: inline-block;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 11px;
      color: var(--text-bright);
      background: rgba(255, 255, 255, 0.05);
      padding: 2px 6px;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    #page-pii-scanner .pii-table-empty {
      color: var(--muted);
      font-size: 12px;
    }

    #page-pii-scanner .pii-label-chip {
      display: inline-flex;
      align-items: center;
      padding: 2px 7px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.02em;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    #page-pii-scanner .pii-label-chip--email {
      background: rgba(232, 93, 117, 0.14);
      border-color: rgba(232, 93, 117, 0.35);
      color: #f0a8b4;
    }
    #page-pii-scanner .pii-label-chip--phone {
      background: rgba(91, 155, 213, 0.14);
      border-color: rgba(91, 155, 213, 0.35);
      color: #9ecbf0;
    }
    #page-pii-scanner .pii-label-chip--password {
      background: rgba(212, 168, 75, 0.14);
      border-color: rgba(212, 168, 75, 0.35);
      color: #e8c878;
    }
    #page-pii-scanner .pii-label-chip--user {
      background: rgba(136, 191, 87, 0.14);
      border-color: rgba(136, 191, 87, 0.35);
      color: #b8e08a;
    }
    #page-pii-scanner .pii-label-chip--address {
      background: rgba(180, 130, 220, 0.14);
      border-color: rgba(180, 130, 220, 0.35);
      color: #d4b0f0;
    }
    #page-pii-scanner .pii-label-chip--default {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.12);
      color: var(--text);
    }

    #page-pii-scanner .pii-conf-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 7px;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }
    #page-pii-scanner .pii-conf-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    #page-pii-scanner .pii-conf-badge--high {
      background: rgba(232, 93, 117, 0.12);
      color: #f0a8b4;
    }
    #page-pii-scanner .pii-conf-badge--high::before { background: var(--danger); }
    #page-pii-scanner .pii-conf-badge--medium {
      background: rgba(212, 168, 75, 0.12);
      color: #e8c878;
    }
    #page-pii-scanner .pii-conf-badge--medium::before { background: var(--warning); }
    #page-pii-scanner .pii-conf-badge--low {
      background: rgba(255, 255, 255, 0.06);
      color: var(--muted);
    }
    #page-pii-scanner .pii-conf-badge--low::before { background: var(--muted); }

    #page-pii-scanner .pii-detector-tag {
      display: inline-block;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 10px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--muted);
    }

    #page-pii-scanner .pii-match-cell {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 72px;
    }
    #page-pii-scanner .pii-match-ratio {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-bright);
    }
    #page-pii-scanner .pii-match-bar {
      display: block;
      height: 4px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      overflow: hidden;
    }
    #page-pii-scanner .pii-match-bar-fill {
      display: block;
      height: 100%;
      border-radius: 999px;
      transition: width 0.25s ease;
    }
    #page-pii-scanner .pii-match-bar-fill--high { background: var(--danger); }
    #page-pii-scanner .pii-match-bar-fill--medium { background: var(--warning); }
    #page-pii-scanner .pii-match-bar-fill--low { background: var(--muted); }

    #page-pii-scanner .pii-empty-state {
      text-align: center;
      padding: 36px 24px;
      border: 1px dashed rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.12);
    }
    #page-pii-scanner .pii-empty-icon {
      font-size: 28px;
      color: var(--muted);
      margin-bottom: 12px;
      opacity: 0.6;
    }
    #page-pii-scanner .pii-empty-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-bright);
      margin: 0 0 6px;
    }
    #page-pii-scanner .pii-empty-hint {
      font-size: 12px;
      color: var(--muted);
      margin: 0;
      line-height: 1.5;
    }

    #page-pii-scanner .pii-section-badge--low {
      background: rgba(212, 168, 75, 0.15);
      border-color: rgba(212, 168, 75, 0.45);
      color: #e8c878;
    }

    #page-pii-scanner .pii-low-conf-panel { margin-top: 4px; }
    #page-pii-scanner .pii-low-conf-intro {
      margin: 0 0 16px;
      padding: 12px 14px;
      font-size: 13px;
      line-height: 1.55;
      color: var(--muted);
      background: rgba(212, 168, 75, 0.08);
      border: 1px solid rgba(212, 168, 75, 0.22);
      border-radius: 8px;
    }
    #page-pii-scanner .pii-low-conf-intro strong { color: #e8c878; font-weight: 600; }

    #page-pii-scanner .pii-low-conf-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    #page-pii-scanner .pii-low-conf-search-wrap {
      display: flex;
      align-items: center;
      flex: 1;
      min-width: 200px;
      max-width: 320px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0 12px;
    }
    #page-pii-scanner .pii-low-conf-search-icon {
      color: var(--muted);
      font-size: 14px;
      margin-right: 8px;
      opacity: 0.7;
    }
    #page-pii-scanner .pii-low-conf-search {
      flex: 1;
      border: none;
      background: transparent;
      color: var(--text);
      font-size: 13px;
      padding: 10px 0;
      outline: none;
    }
    #page-pii-scanner .pii-low-conf-showing {
      font-size: 12px;
      color: var(--muted);
      white-space: nowrap;
    }

    #page-pii-scanner .pii-low-conf-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      max-height: 280px;
      overflow-y: auto;
      padding: 4px 2px 8px;
    }
    #page-pii-scanner .pii-low-conf-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      font-size: 12px;
      line-height: 1.3;
      background: var(--surface-2);
      border: 1px solid rgba(212, 168, 75, 0.28);
      border-radius: 6px;
      transition: border-color 0.15s, background 0.15s;
    }
    #page-pii-scanner .pii-low-conf-chip:hover {
      border-color: rgba(212, 168, 75, 0.55);
      background: rgba(212, 168, 75, 0.08);
    }
    #page-pii-scanner .pii-low-conf-chip__schema {
      color: var(--muted);
      font-size: 11px;
      text-transform: lowercase;
    }
    #page-pii-scanner .pii-low-conf-chip__name {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      color: var(--text);
      font-weight: 500;
    }

    #page-pii-scanner .pii-low-conf-section .report-block-body {
      padding-top: 8px;
    }
    #page-pii-scanner .pii-report-link { margin-top: 16px; font-size: 13px; color: var(--muted); }

    #page-pii-scanner .pii-run-status {
      margin-top: 14px;
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 13px;
      line-height: 1.45;
    }
    #page-pii-scanner .pii-run-status--running {
      background: rgba(91, 155, 213, 0.12);
      border: 1px solid rgba(91, 155, 213, 0.35);
      color: var(--kloud-blue);
    }
    #page-pii-scanner .pii-run-status--success {
      background: rgba(136, 191, 87, 0.12);
      border: 1px solid rgba(136, 191, 87, 0.35);
      color: #b8e08a;
    }
    #page-pii-scanner .pii-run-status--warn {
      background: rgba(212, 168, 75, 0.12);
      border: 1px solid rgba(212, 168, 75, 0.35);
      color: #e8c878;
    }
    #page-pii-scanner .pii-run-status--error {
      background: rgba(232, 93, 117, 0.12);
      border: 1px solid rgba(232, 93, 117, 0.35);
      color: #f0a8b4;
    }
    #page-pii-scanner .pii-cli-log {
      max-height: 220px;
      overflow-y: auto;
    }

    .fleet-pii-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    @media (max-width: 1000px) { .fleet-pii-grid { grid-template-columns: 1fr; } }
    .fleet-pii-card {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 14px 16px;
      cursor: pointer;
    }
    .fleet-pii-card:hover { border-color: var(--kloud-blue); }
    .fleet-pii-card h4 { font-size: 14px; margin-bottom: 6px; color: var(--text-bright); }
    .fleet-pii-card .counts { font-size: 12px; color: var(--muted); }
    .low-conf-note { font-size: 12px; color: var(--muted); line-height: 1.5; max-height: 120px; overflow-y: auto; }
    .wizard-step { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .wizard-step:last-child { border-bottom: none; }
    /* Fleet status grid (Image 2 â€” AWS-style tiles) */
    .fleet-grid-panel {
      background: rgba(136, 191, 87, 0.12);
      border: 1px solid rgba(136, 191, 87, 0.35);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 24px;
    }
    .fleet-tile-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
      gap: 12px;
    }
    .fleet-tile {
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: 10px;
      padding: 18px 16px;
      cursor: pointer;
      min-height: 108px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: border-color 0.15s, transform 0.1s;
    }
    .fleet-tile:hover { transform: translateY(-2px); }
    .fleet-tile--critical { border-color: var(--danger); background: rgba(232, 93, 117, 0.08); }
    .fleet-tile--critical:hover { box-shadow: 0 4px 20px rgba(232, 93, 117, 0.2); }
    .fleet-tile--medium { border-color: var(--warning); background: rgba(212, 168, 75, 0.08); }
    .fleet-tile--medium:hover { box-shadow: 0 4px 20px rgba(212, 168, 75, 0.15); }
    .fleet-tile--healthy { border-color: var(--success); background: rgba(136, 191, 87, 0.08); }
    .fleet-tile--healthy:hover { box-shadow: 0 4px 20px rgba(136, 191, 87, 0.15); }
    .fleet-tile-title { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-bright); line-height: 1.35; }
    .fleet-tile-meta { font-size: 11px; color: var(--muted); margin-top: 10px; }
    .fleet-tile-count { font-size: 22px; font-weight: 700; margin-top: 6px; }
    .fleet-tile--critical .fleet-tile-count { color: var(--danger); }
    .fleet-tile--medium .fleet-tile-count { color: var(--warning); }
    .fleet-tile--healthy .fleet-tile-count { color: var(--success); }
    .fleet-tile-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; font-size: 12px; color: var(--muted); }
    .fleet-tile-legend span { display: inline-flex; align-items: center; gap: 6px; }
    .fleet-tile-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
    .legend-critical i { background: var(--danger); }
    .legend-medium i { background: var(--warning); }
    .legend-healthy i { background: var(--success); }
    .fleet-detail-back { margin-bottom: 20px; }
    .fleet-detail-table-wrap {
      background: var(--kloud-purple-deep);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .fleet-detail-table-wrap table { font-size: 13px; }
    .fleet-detail-table-wrap th {
      background: var(--surface-2);
      color: var(--muted);
      border-bottom: 1px solid var(--border);
    }
    .fleet-detail-table-wrap td { background: var(--kloud-purple-deep); }
    .fleet-detail-table-wrap tr:hover td { background: var(--surface-2); }
    .fleet-detail-table-wrap .btn-row { padding: 6px 10px; font-size: 12px; }
    .fleet-detail-table-wrap .action-link { color: var(--accent); cursor: pointer; font-weight: 500; }
    .fleet-detail-table-wrap .action-link:hover { text-decoration: underline; }
    .fleet-detail-table-wrap .mfa-yes { color: var(--success); }
    .fleet-detail-table-wrap .mfa-no { color: var(--danger); }

    .table-pagination {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: 16px;
      padding: 12px 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 13px;
    }
    .table-pagination[hidden] { display: none !important; }
    .table-pagination__info { color: var(--muted); }
    .table-pagination__info strong { color: var(--text); font-weight: 600; }
    .table-pagination__controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }
    .table-pagination__nav {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
    }
    .table-pagination__btn {
      min-width: 36px;
      padding: 6px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      cursor: pointer;
      font-size: 12px;
      font-family: inherit;
    }
    .table-pagination__btn:hover:not(:disabled) {
      border-color: var(--kloud-blue);
      color: var(--text-bright);
    }
    .table-pagination__btn.active {
      border-color: var(--kloud-blue);
      background: var(--kloud-blue-soft);
      color: var(--kloud-blue);
      font-weight: 600;
    }
    .table-pagination__btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }
    .table-pagination__ellipsis {
      color: var(--muted);
      padding: 0 4px;
      user-select: none;
    }
    .table-pagination__sizes {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .table-pagination__size {
      padding: 6px 10px;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--muted);
      cursor: pointer;
      font-size: 12px;
      font-family: inherit;
    }
    .table-pagination__size:hover { border-color: var(--kloud-blue); color: var(--text-bright); }
    .table-pagination__size.active {
      border-color: var(--kloud-blue);
      color: var(--kloud-blue);
      background: var(--kloud-blue-soft);
    }
    .schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 640px; }
    @media (max-width: 700px) { .schedule-grid { grid-template-columns: 1fr; } }
    .policy-template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
    .policy-template-card {
      background: var(--surface-2);
      border: 2px solid var(--border);
      border-radius: 10px;
      padding: 16px;
      cursor: pointer;
    }
    .policy-template-card:hover, .policy-template-card.selected { border-color: var(--kloud-blue); background: var(--kloud-blue-soft); }
    .policy-template-card h4 { font-size: 14px; color: var(--text-bright); margin-bottom: 6px; }
    .policy-template-card p { font-size: 12px; color: var(--muted); line-height: 1.4; }
    .policy-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; max-width: 720px; }
    @media (max-width: 800px) { .policy-check-grid { grid-template-columns: 1fr; } }
    .policy-check-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
    .policy-check-item input { margin-top: 3px; }
    .policy-check-item code { font-size: 11px; color: var(--muted); }
    .policy-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
    .policy-tab {
      padding: 8px 14px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--muted);
      cursor: pointer;
      font-size: 13px;
    }
    .policy-tab.active { border-color: var(--kloud-blue); color: var(--kloud-blue); background: var(--kloud-blue-soft); }
    .policy-section { display: none; }
    .policy-section.active { display: block; }
    .toml-preview {
      margin-top: 12px;
      padding: 12px 14px;
      background: var(--kloud-purple-deep);
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 11px;
      font-family: monospace;
      color: var(--muted);
      white-space: pre-wrap;
      line-height: 1.5;
    }
    .host-policy-map { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; max-width: 640px; margin-bottom: 16px; }
    @media (max-width: 600px) { .host-policy-map { grid-template-columns: 1fr; } }
    /* Image 4 â€” Tactical Action Center (matches report-block / panel / stat-card) */
    .tac-board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      align-items: start;
    }
    @media (max-width: 1100px) { .tac-board { grid-template-columns: 1fr; } }
    .tac-column.report-block { border-top: 3px solid var(--border); }
    .tac-column--critical.report-block { border-top-color: var(--danger); }
    .tac-column--high.report-block { border-top-color: var(--warning); }
    .tac-column--medium.report-block { border-top-color: var(--kloud-blue); }
    .tac-column .report-block-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
    .tac-column .report-block-header h2 { margin: 0; font-size: 15px; letter-spacing: 0.04em; }
    .tac-column .report-block-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
    .tac-panel {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }
    .tac-panel-header {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      cursor: pointer;
      user-select: none;
    }
    .tac-panel-header:hover { background: rgba(85, 163, 217, 0.06); }
    .tac-panel-header h3 { font-size: 13px; font-weight: 600; color: var(--text-bright); margin: 0; }
    .tac-panel-header .tac-chevron { font-size: 10px; color: var(--muted); transition: transform 0.15s; }
    .tac-panel.collapsed .tac-chevron { transform: rotate(-90deg); }
    .tac-panel.collapsed .tac-panel-body { display: none; }
    .tac-panel-body { padding: 0; }
    .tac-finding-row {
      display: grid;
      grid-template-columns: 20px 1fr auto;
      gap: 10px 12px;
      align-items: center;
      padding: 11px 14px;
      border-bottom: 1px solid var(--border);
      font-size: 13px;
      cursor: pointer;
    }
    .tac-finding-row:last-child { border-bottom: none; }
    .tac-finding-row:hover { background: rgba(85, 163, 215, 0.08); }
    .tac-finding-icon {
      width: 18px;
      height: 18px;
      border-radius: 4px;
      background: var(--kloud-purple-mid);
      border: 1px solid var(--border);
      flex-shrink: 0;
    }
    .tac-finding-icon--people { border-radius: 50%; }
    .tac-finding-icon--network {
      border-radius: 2px;
      background: var(--kloud-blue-soft);
      border-color: var(--kloud-blue);
    }
    .tac-finding-label { color: var(--text); line-height: 1.4; min-width: 0; }
    .tac-finding-row:hover .tac-finding-label { color: var(--text-bright); }
    .tac-finding-action { font-size: 12px; white-space: nowrap; }
    /* Image 5 â€” Strategic Threat Matrix (executive / manager view) */
    .strategic-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
    .strategic-kpi-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 28px;
    }
    @media (max-width: 1100px) { .strategic-kpi-row { grid-template-columns: repeat(2, 1fr); } }
    .strategic-kpi {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 20px 22px;
      min-height: 120px;
    }
    .strategic-kpi-label { font-size: 14px; letter-spacing: 0.01em; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
    .strategic-kpi .stat-label {
      font-size: 15px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 2px;
    }
    .strategic-kpi-value { font-size: 36px; font-weight: 700; color: var(--text-bright); line-height: 1; }
    .strategic-kpi-value.danger { color: var(--danger); }
    .strategic-kpi-sub { font-size: 12px; color: var(--muted); margin-top: 8px; }
    .strategic-gauge-wrap { display: flex; align-items: center; gap: 16px; }
    .strategic-gauge {
      width: 88px;
      height: 44px;
      border-radius: 88px 88px 0 0;
      background: conic-gradient(from 180deg, var(--danger) 0deg, var(--warning) 72deg, var(--success) 180deg);
      position: relative;
      overflow: hidden;
      mask: radial-gradient(circle at 50% 100%, transparent 38px, #000 39px);
      -webkit-mask: radial-gradient(circle at 50% 100%, transparent 38px, #000 39px);
    }
    .strategic-gauge-needle {
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 3px;
      height: 36px;
      background: var(--text-bright);
      transform-origin: bottom center;
      transform: translateX(-50%) rotate(52deg);
      border-radius: 2px;
    }
    .strategic-grade { font-size: 28px; font-weight: 700; color: var(--success); }
    .strategic-progress { height: 10px; background: var(--kloud-purple-mid); border-radius: 5px; overflow: hidden; margin-top: 12px; }
    .strategic-progress-fill { height: 100%; background: linear-gradient(90deg, var(--kloud-blue), var(--kloud-green)); border-radius: 5px; }
    .strategic-fleet-block { margin-bottom: 28px; }
    .strategic-section-title {
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
      margin: 8px 0 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }
    .strategic-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 28px;
    }
    @media (max-width: 1000px) { .strategic-row { grid-template-columns: 1fr; } }
    .strategic-widget {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 16px 18px;
      min-height: 200px;
    }
    .strategic-widget h3 { font-size: 13px; font-weight: 600; color: var(--text-bright); margin-bottom: 14px; }
    .strategic-widget-head {
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
      border-bottom: 1px solid var(--border);
    }
    .strategic-widget-body {
      padding: 10px 14px 14px;
    }
    .strategic-widget-sub {
      margin: 0 0 10px;
      font-size: 11px;
      color: var(--muted);
      line-height: 1.35;
    }
    .strategic-widget-foot {
      margin: 12px 0 0;
      font-size: 11px;
    }
    .strategic-widget-chart--center {
      text-align: center;
      padding-top: 4px;
    }
    .strategic-cred-lead {
      margin: 0 0 10px;
      font-size: 13px;
      color: var(--muted);
    }
    .strategic-bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 120px; padding-top: 8px; }
    .strategic-bar-chart-scroll {
      overflow-x: scroll;
      overflow-y: hidden;
      width: 100%;
      margin-bottom: 2px;
      padding-bottom: 6px;
      scrollbar-width: thin;
      scrollbar-color: var(--kloud-blue) var(--surface-2);
    }
    .strategic-bar-chart-scroll::-webkit-scrollbar {
      height: 7px;
    }
    .strategic-bar-chart-scroll::-webkit-scrollbar-track {
      background: var(--surface-2);
      border-radius: 4px;
    }
    .strategic-bar-chart-scroll::-webkit-scrollbar-thumb {
      background: var(--kloud-blue);
      border-radius: 4px;
    }
    .strategic-bar-chart--scroll {
      display: inline-flex;
      width: max-content;
      gap: 10px;
      padding-right: 8px;
    }
    .strategic-bar-chart--scroll .strategic-bar-group {
      flex: 0 0 68px;
      width: 68px;
      min-width: 68px;
    }
    .strategic-bar-chart--scroll .strategic-bar-label {
      max-width: 72px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .strategic-bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
    .strategic-bar-stack { width: 100%; max-width: 48px; display: flex; flex-direction: column-reverse; gap: 2px; height: 100px; }
    .strategic-bar-seg { width: 100%; border-radius: 3px 3px 0 0; min-height: 4px; }
    .strategic-bar-seg.admin { background: var(--danger); }
    .strategic-bar-seg.user { background: var(--success); }
    .strategic-bar-seg.trust { background: var(--danger); }
    .strategic-bar-seg.inactive { background: var(--warning); }
    .strategic-bar-seg.secure { background: var(--success); }
    .strategic-bar-label { font-size: 10px; color: var(--muted); text-align: center; }
    .strategic-bar-legend {
      margin: 10px 0 0;
      font-size: 11px;
      color: var(--muted);
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
    }
    .strategic-bar-legend-item { white-space: nowrap; }
    .strategic-bar-leg { margin-right: 4px; }
    .strategic-bar-leg--fail { color: var(--danger); }
    .strategic-bar-leg--pass { color: var(--success); }
    .strategic-bar-leg--inactive { color: var(--warning); }
    .strategic-donut {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      margin: 0 auto 12px;
      background: conic-gradient(var(--success) 0deg 216deg, var(--warning) 216deg 288deg, var(--danger) 288deg 360deg);
      position: relative;
    }
    .strategic-donut--empty,
    .strategic-chart-empty {
      min-height: 120px;
      border-radius: 8px;
      border: 1px dashed var(--border);
      background: var(--kloud-purple-mid);
    }
    .strategic-donut--empty { width: 120px; margin: 0 auto 12px; border-radius: 50%; }
    .strategic-donut::after {
      content: '';
      position: absolute;
      inset: 28px;
      background: var(--surface);
      border-radius: 50%;
    }
    .strategic-donut-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; font-size: 11px; color: var(--muted); }
    .strategic-donut-legend span::before {
      content: '';
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 2px;
      margin-right: 5px;
      vertical-align: middle;
    }
    .strategic-legend-active::before { background: var(--success); }
    .strategic-legend-inactive::before { background: var(--warning); }
    .strategic-legend-common::before { background: var(--danger); }
    .strategic-legend-enforced::before { background: var(--success); }
    .strategic-legend-violation::before { background: var(--danger); }
    .strategic-risk-bar { display: flex; height: 28px; border-radius: 6px; overflow: hidden; margin-top: 12px; }
    .strategic-risk-bar span { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-bright); }
    .strategic-platform-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
    .strategic-platform-tile {
      padding: 20px 16px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid var(--border);
    }
    .strategic-platform-tile.blue { background: rgba(85, 163, 215, 0.15); border-color: var(--kloud-blue); }
    .strategic-platform-tile.green { background: rgba(136, 191, 87, 0.12); border-color: var(--success); }
    .strategic-platform-tile .num { font-size: 32px; font-weight: 700; color: var(--text-bright); }
    .strategic-platform-tile .lbl { font-size: 11px; color: var(--muted); margin-top: 4px; }
    .strategic-line-chart {
      height: 100px;
      display: flex;
      align-items: flex-end;
      gap: 6px;
      padding-top: 8px;
      border-bottom: 1px solid var(--border);
    }
    .strategic-line-chart > .strategic-bar-group {
      flex: 1;
      min-width: 0;
      height: 100%;
      align-items: stretch;
      justify-content: flex-end;
    }
    .strategic-line-chart .strategic-drift-col {
      width: 100%;
      max-width: 48px;
      height: 100%;
      margin: 0 auto;
    }
    .strategic-line-point {
      flex: 1;
      background: var(--success);
      border-radius: 3px 3px 0 0;
      min-height: 8px;
      opacity: 0.85;
    }
    .strategic-line-labels { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); margin-top: 6px; }
    .strategic-row-2 {
      grid-template-columns: 1fr 1fr 1fr;
      align-items: stretch;
    }
    .strategic-row-2 .strategic-widget.panel {
      padding: 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }
    .strategic-compliance-head {
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    .strategic-compliance-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 10px 14px 8px;
      min-height: 0;
    }
    .strategic-compliance-sub {
      margin: 0;
      font-size: 11px;
      color: var(--muted);
      line-height: 1.3;
    }
    .strategic-compliance-slot {
      flex: 1;
      min-height: 128px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }
    .strategic-compliance-slot .strategic-chart-empty,
    .strategic-compliance-empty {
      flex: 1;
      min-height: 96px;
      height: auto;
      margin: 0;
    }
    .strategic-line-chart--compliance {
      height: 88px;
      padding-top: 4px;
    }
    .strategic-line-chart--compliance .strategic-drift-col { height: 80px; }
    .strategic-bar-chart--scroll.strategic-line-chart--compliance {
      height: 88px;
      align-items: flex-end;
      border-bottom: 1px solid var(--border);
    }
    .strategic-line-chart--compliance + .strategic-line-labels {
      margin-top: 4px;
    }
    .strategic-compliance-legend {
      margin: 0;
      display: flex;
      gap: 12px;
      font-size: 10px;
      color: var(--muted);
    }
    .strategic-leg::before {
      content: '';
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 2px;
      margin-right: 5px;
      vertical-align: middle;
    }
    .strategic-leg--stable::before { background: var(--success); }
    .strategic-leg--deviation::before { background: var(--danger); }
    .strategic-compliance-foot {
      flex-shrink: 0;
      padding: 8px 14px 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 11px;
      line-height: 1.3;
    }
    .strategic-compliance-slot--audit {
      justify-content: stretch;
      min-height: 132px;
    }
    .strategic-compliance-slot--audit .strategic-audit-scroll {
      flex: 1;
      height: 132px;
      max-height: 132px;
      min-height: 0;
    }
    .strategic-audit-scroll {
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: var(--kloud-blue) transparent;
    }
    .strategic-audit-scroll.is-scrollable { padding-right: 2px; }
    .strategic-audit-scroll::-webkit-scrollbar { width: 5px; }
    .strategic-audit-scroll::-webkit-scrollbar-track { background: transparent; }
    .strategic-audit-scroll::-webkit-scrollbar-thumb {
      background: var(--kloud-blue);
      border-radius: 3px;
    }
    .strategic-audit-list { list-style: none; margin: 0; padding: 0; }
    .strategic-audit-list li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      padding: 4px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 11px;
      line-height: 1.3;
    }
    .strategic-audit-list li:last-child { border-bottom: none; }
    .strategic-audit-text {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .strategic-audit-host { color: var(--muted); }
    .strategic-audit-badge {
      flex-shrink: 0;
      font-size: 9px;
      padding: 2px 6px;
      letter-spacing: 0.03em;
    }
    .strategic-compliance-slot--heatmap {
      justify-content: center;
    }
    .strategic-heatmap-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 10px;
    }
    .strategic-heatmap-table th,
    .strategic-heatmap-table td {
      padding: 5px 5px;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .strategic-heatmap-table tr:last-child td { border-bottom: none; }
    .strategic-heatmap-table th {
      color: var(--muted);
      font-weight: 600;
      font-size: 9px;
      letter-spacing: 0.03em;
      border-bottom: 1px solid var(--border);
    }
    .strategic-heatmap-table th:first-child,
    .strategic-heatmap-table td:first-child {
      text-align: left;
      font-weight: 600;
    }
    .strategic-heatmap { font-size: 11px; }
    .strategic-heatmap table { width: 100%; }
    .strategic-heatmap th, .strategic-heatmap td { padding: 6px 6px; text-align: center; }
    .strategic-heatmap th:first-child, .strategic-heatmap td:first-child { text-align: left; font-weight: 600; }
    .strategic-hm-high { background: rgba(232, 93, 117, 0.35); color: var(--danger); }
    .strategic-hm-mod { background: rgba(212, 168, 75, 0.25); color: var(--warning); }
    .strategic-hm-low { background: rgba(136, 191, 87, 0.25); color: var(--success); }
    .strategic-hm-des { background: rgba(85, 163, 215, 0.2); color: var(--kloud-blue); }
    .strategic-notice {
      padding: 12px 18px;
      border-radius: 8px;
      border: 1px solid rgba(85, 163, 215, 0.45);
      background: var(--kloud-blue-soft);
      margin-bottom: 22px;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }
    .strategic-notice strong { color: var(--text-bright); }
    .strategic-page-head { margin-bottom: 8px; }
    .strategic-kpi.stat-card { min-height: 130px; }
    .strategic-drift-col { flex: 1; display: flex; flex-direction: column-reverse; align-items: stretch; height: 100px; gap: 0; }
    .strategic-drift-base { background: var(--success); border-radius: 3px 3px 0 0; min-height: 12px; }
    .strategic-drift-dev { background: var(--danger); border-radius: 3px 3px 0 0; min-height: 4px; }
    .strategic-root.is-refreshing { opacity: 0.55; pointer-events: none; transition: opacity 0.2s; }
    .strategic-updated { font-size: 11px; color: var(--success); margin-left: 10px; }
    .strategic-bar-seg.open { background: var(--danger); }
    /* Image 6 â€” Critical violations drill-down (inside Hosts page) */
    .hosts-view { display: none; }
    .hosts-view.active { display: block; }
    /* Critical violations */
    .critical-violations-back { margin-bottom: 12px; }
    .critical-violations-head {
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }
    .critical-violations-head h1 {
      margin-bottom: 6px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    .critical-violations-filters {
      display: grid;
      grid-template-columns:
        minmax(100px, 1fr)
        minmax(92px, 0.95fr)
        minmax(92px, 0.9fr)
        minmax(86px, 0.85fr)
        minmax(112px, 1fr)
        minmax(248px, 1.2fr)
        minmax(118px, max-content);
      gap: 6px 8px;
      align-items: end;
      margin-bottom: 18px;
      padding: 16px 18px;
      background: var(--kloud-purple-deep);
      border: 1px solid var(--border);
      border-radius: 10px;
      box-sizing: border-box;
      width: 100%;
    }
    .critical-violations-filters--detail {
      grid-template-columns: minmax(140px, 1.2fr) minmax(132px, 1.15fr) minmax(108px, 0.9fr) minmax(200px, 1.3fr) auto;
    }
    .critical-violations-filters .form-group {
      min-width: 0;
      margin: 0;
      width: 100%;
    }
    .critical-violations-filters .form-group[hidden] {
      display: none !important;
    }
    .critical-violations-filters .critical-filter-dropdown,
    .critical-violations-filters .critical-filter-severity-field {
      min-width: auto;
      width: 100%;
    }
    .critical-violations-filters .critical-filters-apply-field {
      min-width: max-content;
      width: auto;
    }
    .critical-violations-filters .form-group label,
    .critical-violations-filters .critical-filters-date-label {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    .critical-violations-filters select {
      width: 100%;
      height: 36px;
      padding: 8px 6px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--kloud-purple-deep);
      color: var(--text);
      font-size: 12px;
      box-sizing: border-box;
    }
    .critical-violations-filters .critical-filters-date-field {
      min-width: 248px;
    }
    .critical-date-range-box {
      display: flex;
      align-items: center;
      gap: 4px;
      width: 100%;
      min-width: 0;
      height: 36px;
      box-sizing: border-box;
    }
    .critical-date-input-wrap {
      display: flex;
      align-items: center;
      flex: 1 1 118px;
      min-width: 118px;
      height: 36px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--surface-2);
      overflow: hidden;
      position: relative;
    }
    .critical-date-input-label {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 28px;
      padding: 0;
      font-size: 10px;
      font-weight: 500;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.04);
      border-right: 1px solid var(--border);
      white-space: nowrap;
      user-select: none;
    }
    .critical-date-range-box input[type="date"] {
      flex: 1 1 auto;
      width: calc(100% - 28px);
      min-width: 0;
      height: 100%;
      padding: 0 22px 0 3px;
      border: none;
      border-radius: 0;
      background: transparent;
      color: var(--text);
      font-size: 11px;
      font-variant-numeric: tabular-nums;
      letter-spacing: 0;
      box-sizing: border-box;
      cursor: pointer;
      position: relative;
      -webkit-appearance: none;
      appearance: none;
    }
    .critical-date-range-box input[type="date"]::-webkit-calendar-picker-indicator {
      position: absolute;
      right: 5px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      opacity: 0.85;
      filter: invert(0.85);
      margin: 0;
      padding: 0;
      width: 14px;
      height: 14px;
    }
    .critical-date-range-box input[type="date"]::-webkit-datetime-edit,
    .critical-date-range-box input[type="date"]::-webkit-datetime-edit-fields-wrapper {
      color: var(--text);
      padding: 0;
      margin: 0;
    }
    .critical-date-range-box input[type="date"]::-webkit-datetime-edit-text {
      padding: 0;
      margin: 0;
      letter-spacing: -0.02em;
    }
    .critical-date-range-box input[type="date"]::-webkit-datetime-edit-day-field,
    .critical-date-range-box input[type="date"]::-webkit-datetime-edit-month-field,
    .critical-date-range-box input[type="date"]::-webkit-datetime-edit-year-field {
      padding: 0;
      min-width: 1.5ch;
    }
    .critical-date-range-box input[type="date"]:invalid::-webkit-datetime-edit {
      color: var(--muted);
    }
    .critical-date-sep {
      flex-shrink: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1;
      user-select: none;
    }
    .critical-date-range-apply {
      width: auto;
      min-width: 118px;
      height: 36px;
      padding: 0 16px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
      box-sizing: border-box;
    }
    .critical-filters-apply-field .critical-filters-apply-spacer {
      visibility: hidden;
    }
    .critical-violations-table-wrap {
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      background: var(--kloud-purple-deep);
    }
    .critical-violations-table-wrap table {
      font-size: 13px;
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }
    .critical-violations-table-wrap col.col-check-num { width: 64px; }
    .critical-violations-table-wrap col.col-violation { width: 22%; }
    .critical-violations-table-wrap col.col-affected { width: 96px; }
    .critical-violations-table-wrap col.col-server { width: 14%; }
    .critical-violations-table-wrap col.col-type { width: 12%; }
    .critical-violations-table-wrap col.col-details { width: auto; }
    .critical-violations-table-wrap col.col-severity { width: 88px; }
    .critical-violations-table-wrap col.col-source { width: 11%; }
    .critical-violations-table-wrap col.col-detected { width: 120px; }
    .critical-violations-table-wrap thead th {
      background: var(--kloud-purple-deep);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
      padding: 11px 14px;
      border-bottom: 1px solid var(--border);
      text-align: left;
      white-space: nowrap;
    }
    .critical-violations-table-wrap thead th.col-check-num,
    .critical-violations-table-wrap tbody td.critical-viol-num,
    .critical-violations-table-wrap thead th.col-affected,
    .critical-violations-table-wrap tbody td.critical-viol-affected {
      text-align: center;
      padding-left: 8px;
      padding-right: 8px;
      vertical-align: middle;
    }
    .critical-violations-table-wrap tbody td {
      background: var(--kloud-purple-deep);
      padding: 11px 14px;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
      color: var(--text);
      line-height: 1.45;
    }
    .critical-violations-row:hover td {
      background: var(--kloud-purple-deep);
    }
    .critical-viol-num {
      font-variant-numeric: tabular-nums;
      font-size: 13px;
      font-weight: 500;
      color: var(--muted);
    }
    .critical-viol-name {
      font-weight: 500;
      color: var(--text);
    }
    .critical-viol-affected {
      text-align: center;
    }
    .critical-affected-count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 22px;
      margin: 0 auto;
      padding: 0;
      border-radius: 999px;
      background: rgba(234, 67, 53, 0.14);
      color: var(--danger);
      font-size: 12px;
      font-weight: 600;
      font-variant-numeric: tabular-nums;
      line-height: 1;
      box-sizing: border-box;
    }
    .critical-viol-server {
      font-size: 13px;
      color: var(--text);
      word-break: break-word;
    }
    .critical-viol-type,
    .critical-viol-source {
      font-size: 12px;
      color: var(--muted);
    }
    .critical-viol-severity {
      vertical-align: middle;
    }
    .critical-detected-at {
      white-space: nowrap;
      color: var(--muted);
      font-size: 12px;
    }
    .critical-details-cell {
      max-width: 320px;
      line-height: 1.45;
      word-break: break-word;
      color: var(--muted);
      font-size: 12px;
    }
    /* Detail drill-down: balanced adjustable columns */
    #critical-violations-detail-panel table {
      table-layout: fixed;
      width: 100%;
    }
    #critical-violations-detail-panel col.col-check-num { width: 56px; }
    #critical-violations-detail-panel col.col-server { width: 22%; }
    #critical-violations-detail-panel col.col-details { width: 32%; }
    #critical-violations-detail-panel col.col-severity { width: 100px; }
    #critical-violations-detail-panel col.col-source { width: 14%; }
    #critical-violations-detail-panel col.col-detected { width: 130px; }
    #critical-violations-detail-panel thead th.col-server,
    #critical-violations-detail-panel td.critical-viol-server {
      padding-left: 28px;
      padding-right: 12px;
    }
    #critical-violations-detail-panel thead th.col-details,
    #critical-violations-detail-panel tbody td.critical-details-cell {
      text-align: center;
    }
    #critical-violations-detail-panel .critical-details-cell {
      max-width: none;
      width: 100%;
      padding-left: 12px;
      padding-right: 12px;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .critical-violations-empty {
      color: var(--muted);
      padding: 24px;
      text-align: center;
      background: var(--kloud-purple-deep);
    }
    .critical-violations-count {
      margin-top: 12px;
      font-size: 12px;
      color: var(--muted);
    }
    .badge-severity-high {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 4px 8px;
      border-radius: 4px;
      background: rgba(255, 180, 80, 0.2);
      color: #ffb450;
    }
    .critical-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: flex-end;
      margin-bottom: 18px;
      padding: 16px 18px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
    }
    .critical-filters .form-group { margin: 0; flex: 1; min-width: 140px; }
    .critical-filters:not(.critical-violations-filters) .form-group label { font-size: 11px; }
    .critical-filters input, .critical-filters select {
      width: 100%;
      padding: 8px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      font-size: 13px;
    }
    .critical-filters.critical-violations-filters {
      display: grid;
      grid-template-columns:
        minmax(100px, 1fr)
        minmax(92px, 0.95fr)
        minmax(92px, 0.9fr)
        minmax(86px, 0.85fr)
        minmax(112px, 1fr)
        minmax(248px, 1.2fr)
        minmax(118px, max-content);
      gap: 6px 8px;
      align-items: end;
      padding: 16px 18px;
      background: var(--kloud-purple-deep);
      box-sizing: border-box;
      width: 100%;
    }
    .critical-filters.critical-violations-filters--detail {
      grid-template-columns: minmax(140px, 1.2fr) minmax(132px, 1.15fr) minmax(108px, 0.9fr) minmax(200px, 1.3fr) auto;
    }
    .critical-filters.critical-violations-filters .form-group {
      min-width: 0;
      width: 100%;
    }
    .critical-filters.critical-violations-filters .form-group[hidden] {
      display: none !important;
    }
    .critical-filters.critical-violations-filters .critical-filter-dropdown,
    .critical-filters.critical-violations-filters .critical-filter-severity-field {
      min-width: auto;
      width: 100%;
    }
    .critical-filters.critical-violations-filters .critical-filters-date-field {
      min-width: 248px;
      width: 100%;
    }
    .critical-filters.critical-violations-filters .critical-filters-apply-field {
      min-width: max-content;
      width: auto;
    }
    .critical-table-wrap table { font-size: 12px; }
    .critical-table-wrap th { white-space: nowrap; }
    .critical-table-wrap td { vertical-align: middle; }
    .critical-details-cell {
      max-width: 320px;
      line-height: 1.45;
      word-break: break-word;
    }
    .critical-actions { display: flex; gap: 6px; flex-wrap: wrap; }
    .critical-actions .btn { padding: 5px 10px; font-size: 11px; }
    .badge-critical-pill {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 4px 8px;
      border-radius: 4px;
      background: rgba(232, 93, 117, 0.25);
      color: var(--danger);
    }

    /* Collector nodes â€” activity & log feed */
    #page-collector-nodes #cn-detail {
      scroll-margin-top: 24px;
    }
    #page-collector-nodes #cn-nodes-tbody tr.clickable.selected td {
      background: var(--kloud-blue-soft);
    }
    #page-collector-nodes #cn-nodes-tbody tr.clickable.selected td:first-child {
      box-shadow: inset 3px 0 0 var(--kloud-blue);
    }
    .cn-logs-panel .panel-header {
      padding: 10px 14px;
    }
    .cn-panel-meta {
      font-size: 12px;
      font-weight: 400;
      color: var(--muted);
    }
    .cn-feed-hint {
      margin: 0;
      padding: 6px 14px;
      font-size: 11px;
      color: var(--muted);
      border-bottom: 1px solid var(--border);
      background: var(--surface-2);
      line-height: 1.35;
    }
    .cn-timeline {
      max-height: 360px;
      overflow-y: auto;
      font-size: 13px;
    }
    .cn-log-feed {
      max-height: 320px;
      overflow-y: auto;
      overflow-x: hidden;
      font-size: 12px;
    }
    .cn-timeline-item {
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      transition: background 0.2s ease;
    }
    .cn-log-feed .cn-log-entry {
      padding: 6px 12px;
      border-bottom: 1px solid var(--border);
      transition: background 0.15s ease;
    }
    .cn-timeline-item:hover {
      background: var(--surface-2);
    }
    .cn-log-feed .cn-log-entry:hover {
      background: var(--surface-2);
    }
    .cn-timeline-item:last-child {
      border-bottom: none;
    }
    .cn-log-feed .cn-log-entry:last-child {
      border-bottom: none;
    }
    .cn-log-entry {
      border-left: 2px solid transparent;
    }
    .cn-log-entry--error {
      border-left-color: var(--danger);
      background: rgba(232, 93, 117, 0.06);
    }
    .cn-log-entry--warn {
      border-left-color: var(--warning);
      background: rgba(212, 168, 75, 0.06);
    }
    .cn-log-entry--info {
      border-left-color: var(--kloud-blue);
      background: rgba(59, 130, 246, 0.05);
    }
    .cn-log-entry-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 3px;
      min-height: 0;
    }
    .cn-log-entry-head-left {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      flex: 1;
    }
    .cn-log-entry .badge {
      flex-shrink: 0;
      font-size: 9px;
      font-weight: 700;
      padding: 2px 6px;
      letter-spacing: 0.03em;
    }
    .cn-log-title {
      font-weight: 600;
      font-size: 12px;
      color: var(--text-bright);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .cn-log-time {
      font-size: 10px;
      color: var(--muted);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .cn-log-message {
      margin: 0;
      font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
      font-size: 11px;
      line-height: 1.35;
      color: var(--muted);
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      word-break: break-word;
      padding: 4px 8px;
      border-radius: 4px;
      background: rgba(0, 0, 0, 0.15);
      border: 1px solid transparent;
      max-height: 4.05em;
      overflow: hidden;
    }
    .cn-log-entry:hover .cn-log-message {
      max-height: none;
      overflow: visible;
    }
    .cn-log-entry--error .cn-log-message {
      color: #e8a0ab;
      background: rgba(232, 93, 117, 0.08);
    }
    .cn-feed-empty {
      padding: 32px 24px;
      text-align: center;
      color: var(--muted);
    }
    .cn-feed-empty-icon {
      font-size: 28px;
      margin-bottom: 8px;
      opacity: 0.5;
    }
    .cn-feed-empty-title {
      font-weight: 600;
      color: var(--text);
      margin-bottom: 6px;
    }
    .cn-timeline-msg {
      color: var(--text-bright);
      line-height: 1.45;
    }
    .cn-timeline-meta {
      font-size: 11px;
      color: var(--muted);
      margin-top: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .cn-kind-pill {
      font-size: 10px;
      letter-spacing: 0.04em;
      padding: 2px 7px;
      border-radius: 4px;
      background: var(--surface-2);
      color: var(--muted);
    }
    .cn-log-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 8px 12px;
      border-bottom: 1px solid var(--border);
      background: var(--surface-2);
    }
    .cn-log-filter-btn {
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    .cn-log-filter-btn:hover {
      color: var(--text-bright);
      border-color: var(--kloud-blue);
    }
    .cn-log-filter-btn.active {
      background: var(--kloud-blue-soft);
      color: var(--kloud-blue);
      border-color: rgba(59, 130, 246, 0.35);
      font-weight: 600;
    }
    .cn-log-filter-btn .cn-filter-count {
      opacity: 0.85;
      margin-left: 4px;
    }

    /* GUC drift page */
    .guc-drift-page .guc-drift-hero {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 8px;
    }
    .guc-fleet-banner {
      align-self: center;
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      border: 1px solid var(--border);
      background: var(--surface);
    }
    .guc-fleet-banner--ok {
      border-color: rgba(136, 191, 87, 0.35);
      background: rgba(136, 191, 87, 0.1);
      color: var(--success);
    }
    .guc-fleet-banner--warn {
      border-color: rgba(232, 93, 117, 0.35);
      background: rgba(232, 93, 117, 0.08);
      color: var(--danger);
    }
    .guc-baseline-card {
      padding: 20px 22px;
      margin-bottom: 24px;
      border-top: 3px solid var(--kloud-blue);
    }
    .guc-baseline-card-head {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
    }
    .guc-section-eyebrow {
      display: block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--kloud-blue);
      margin-bottom: 6px;
    }
    .guc-baseline-title {
      margin: 0;
      font-size: 18px;
      font-weight: 600;
      color: var(--text-bright);
    }
    .guc-baseline-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .guc-meta-chip {
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 8px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      color: var(--muted);
    }
    .guc-meta-chip--warn {
      border-color: var(--warning);
      color: var(--warning);
    }
    .guc-baseline-upload-details {
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid var(--border);
    }
    .guc-baseline-upload-summary {
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-bright);
      padding: 2px 0 12px;
      list-style: none;
      user-select: none;
    }
    .guc-baseline-upload-summary::-webkit-details-marker { display: none; }
    .guc-baseline-upload-summary::before {
      content: '\25B8';
      display: inline-block;
      margin-right: 8px;
      color: var(--muted);
      transition: transform 0.2s ease;
    }
    .guc-baseline-upload-details[open] .guc-baseline-upload-summary::before {
      transform: rotate(90deg);
    }
    .guc-baseline-upload {
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }
    .guc-upload-label {
      margin: 0 0 4px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-bright);
    }
    .guc-upload-hint {
      margin: 0 0 14px;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.45;
    }
    .guc-upload-hint code {
      font-size: 11px;
    }
    .guc-baseline-source-tabs {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      margin-bottom: 14px;
      border-radius: 10px;
      background: var(--surface-2);
      border: 1px solid var(--border);
    }
    .guc-baseline-tab {
      font-size: 12px;
      font-weight: 600;
      padding: 8px 14px;
      border: none;
      border-radius: 8px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .guc-baseline-tab:hover {
      color: var(--text);
    }
    .guc-baseline-tab.active {
      background: var(--kloud-purple-deep);
      color: var(--text-bright);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    }
    .guc-baseline-source-panel {
      margin-bottom: 14px;
    }
    .guc-baseline-upload-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .guc-upload-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 140px;
    }
    .guc-upload-field--file,
    .guc-upload-field--paste {
      width: 100%;
    }
    .guc-upload-field-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--muted);
    }
    .guc-upload-field input[type="file"],
    .guc-baseline-paste {
      font-size: 13px;
      padding: 8px 10px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
    }
    .guc-baseline-paste {
      width: 100%;
      min-height: 180px;
      resize: vertical;
      font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
      line-height: 1.5;
    }
    .guc-baseline-paste::placeholder {
      color: var(--muted);
      opacity: 0.85;
    }
    .guc-baseline-upload-status {
      margin: 12px 0 0;
      font-size: 12px;
      color: var(--muted);
      min-height: 1.2em;
    }
    .guc-baseline-upload-status--ok {
      color: var(--success);
    }
    .guc-baseline-upload-status--error {
      color: var(--danger);
    }
    .guc-baseline-keys {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .guc-key-pill {
      font-size: 12px;
      font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
      padding: 5px 10px;
      border-radius: 6px;
      background: var(--kloud-purple-deep);
      border: 1px solid var(--kloud-purple-mid);
      color: var(--text);
    }
    .guc-drift-stats {
      grid-template-columns: repeat(5, 1fr);
      margin-bottom: 24px;
    }
    @media (max-width: 1200px) {
      .guc-drift-stats { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 700px) {
      .guc-drift-stats { grid-template-columns: repeat(2, 1fr); }
    }
    .guc-stat-card--success { border-top-color: var(--success); }
    .guc-stat-card--danger { border-top-color: var(--danger); }
    .guc-stat-card--warn { border-top-color: var(--warning); }
    .guc-host-status-panel { margin-bottom: 24px; }
    .guc-host-status-panel .table-pagination { padding: 12px 18px; border-top: 1px solid var(--border); }
    .guc-host-status-panel .panel-header {
      border-bottom: 1px solid var(--border);
    }
    .guc-host-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 12px 16px;
      padding: 12px 18px;
      margin: 0;
      border-bottom: 1px solid var(--border);
      background: var(--surface);
    }
    .guc-host-search,
    .guc-host-filter {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
    }
    .guc-host-search { flex: 1 1 220px; max-width: 320px; }
    .guc-host-filter { flex: 0 0 160px; }
    .guc-host-search-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--muted);
    }
    .guc-host-toolbar input[type="search"],
    .guc-host-toolbar select {
      width: 100%;
      padding: 8px 10px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      font-size: 13px;
    }
    .guc-host-table-wrap {
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
    }
    .guc-host-status-panel .guc-host-table-wrap.fleet-detail-table-wrap {
      border: none;
      border-radius: 0;
      background: transparent;
    }
    .guc-host-status-panel .guc-host-status-table th {
      border-top: none;
    }
    .guc-host-status-table { width: 100%; font-size: 13px; }
    .guc-host-status-table th,
    .guc-host-status-table td { padding: 10px 12px; vertical-align: middle; }
    .guc-host-status-table th:last-child,
    .guc-host-status-table td:last-child { text-align: right; white-space: nowrap; }
    .guc-host-row--drifted td:first-child { border-left: 3px solid var(--danger); }
    .guc-host-row--matched td:first-child { border-left: 3px solid var(--success); }
    .guc-host-row--missing td:first-child { border-left: 3px solid var(--warning); }
    .guc-host-row--no_snapshot td:first-child { border-left: 3px solid var(--muted); }
    .guc-host-target-cell {
      font-size: 11px;
      color: var(--muted);
      font-family: ui-monospace, Consolas, monospace;
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .guc-panel-hint {
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
    }
    .guc-drift-table-panel { margin-bottom: 24px; }
    .guc-drift-table-panel .table-pagination { padding: 12px 18px; }
    .guc-table-empty {
      color: var(--muted);
      text-align: center;
      padding: 28px 18px !important;
    }
    .guc-table-empty--ok { color: var(--success); }
    .guc-empty-inline {
      grid-column: 1 / -1;
      color: var(--muted);
      margin: 0;
      padding: 8px 0;
    }
    .guc-snapshots-history { margin-bottom: 24px; }
    .guc-snapshots-history .table-pagination { padding: 12px 18px; border-top: 1px solid var(--border); }
    .guc-val-live { color: var(--danger); font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
    .guc-val-baseline { color: var(--success); font-family: ui-monospace, Consolas, monospace; font-size: 12px; }

    /* Common / inactive users fleet reports */
    #page-common-users-report .user-report-stats,
    #page-inactive-users-report .user-report-stats {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-bottom: 20px;
    }
    #page-common-users-report .user-report-stat-card,
    #page-inactive-users-report .user-report-stat-card {
      border-top: 3px solid var(--border);
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    #page-common-users-report .user-report-stat-card:hover,
    #page-inactive-users-report .user-report-stat-card:hover {
      transform: translateY(-1px);
    }
    #page-common-users-report .user-report-stat-card--users,
    #page-inactive-users-report .user-report-stat-card--users { border-top-color: var(--kloud-blue); }
    #page-common-users-report .user-report-stat-card--hosts,
    #page-inactive-users-report .user-report-stat-card--hosts { border-top-color: var(--success); }
    #page-common-users-report .user-report-stat-card--source,
    #page-inactive-users-report .user-report-stat-card--source { border-top-color: var(--muted); }
    #page-common-users-report .user-report-stat-source,
    #page-inactive-users-report .user-report-stat-source {
      font-size: 15px !important;
      letter-spacing: 0.01em;
    }
    #page-common-users-report .user-report-panel,
    #page-inactive-users-report .user-report-panel {
      border-top: 3px solid var(--kloud-blue);
      overflow: hidden;
    }
    #page-common-users-report .user-report-panel-header,
    #page-inactive-users-report .user-report-panel-header {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
    }
    #page-common-users-report .user-report-panel-header h2,
    #page-inactive-users-report .user-report-panel-header h2 {
      margin: 0 0 4px;
      font-size: 15px;
      letter-spacing: 0.04em;
    }
    #page-common-users-report .user-report-panel-header p,
    #page-inactive-users-report .user-report-panel-header p {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
    }
    #page-common-users-report .user-report-search,
    #page-inactive-users-report .user-report-search {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1 1 200px;
      max-width: 280px;
      min-width: 0;
    }
    #page-common-users-report .user-report-search-label,
    #page-inactive-users-report .user-report-search-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--muted);
    }
    #page-common-users-report .user-report-search input[type="search"],
    #page-inactive-users-report .user-report-search input[type="search"] {
      width: 100%;
      padding: 9px 12px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      font-size: 13px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    #page-common-users-report .user-report-search input[type="search"]:focus,
    #page-inactive-users-report .user-report-search input[type="search"]:focus {
      outline: none;
      border-color: var(--kloud-blue);
      box-shadow: 0 0 0 3px var(--kloud-blue-soft, rgba(59, 130, 246, 0.15));
    }
    #page-common-users-report .user-report-body,
    #page-inactive-users-report .user-report-body {
      padding: 0;
    }
    #page-common-users-report .user-report-table-wrap,
    #page-inactive-users-report .user-report-table-wrap {
      overflow-x: auto;
    }
    #page-common-users-report .user-report-table,
    #page-inactive-users-report .user-report-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    #page-common-users-report .user-report-table thead th,
    #page-inactive-users-report .user-report-table thead th {
      padding: 12px 16px;
      text-align: left;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--muted);
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }
    #page-common-users-report .user-report-table th.user-report-col-host,
    #page-inactive-users-report .user-report-table th.user-report-col-host,
    #page-common-users-report .user-report-table th.user-report-col-databases,
    #page-inactive-users-report .user-report-table th.user-report-col-databases,
    #page-inactive-users-report .user-report-table th.user-report-col-status,
    #page-common-users-report .user-report-table td.user-report-col-host,
    #page-inactive-users-report .user-report-table td.user-report-col-host,
    #page-common-users-report .user-report-table td.user-report-col-databases,
    #page-inactive-users-report .user-report-table td.user-report-col-databases,
    #page-inactive-users-report .user-report-table td.user-report-col-status {
      text-align: left;
    }
    #page-common-users-report .user-report-instance,
    #page-inactive-users-report .user-report-instance {
      color: var(--text-bright);
      font-family: ui-monospace, Consolas, monospace;
      font-size: 13px;
    }
    #page-common-users-report .user-report-databases,
    #page-inactive-users-report .user-report-databases {
      font-size: 13px;
      color: var(--muted);
    }
    #page-common-users-report .user-report-table th.user-report-col-user,
    #page-inactive-users-report .user-report-table th.user-report-col-user,
    #page-common-users-report .user-report-table td.user-report-col-user,
    #page-inactive-users-report .user-report-table td.user-report-col-user {
      text-align: left;
      padding-left: 12px;
      padding-right: 8px;
    }
    #page-common-users-report .user-report-table th.user-report-col-user,
    #page-inactive-users-report .user-report-table th.user-report-col-user {
      width: 22%;
    }
    #page-common-users-report .user-report-table th.user-report-col-host,
    #page-inactive-users-report .user-report-table th.user-report-col-host {
      width: 18%;
    }
    #page-common-users-report .user-report-table th.user-report-col-databases,
    #page-inactive-users-report .user-report-table th.user-report-col-databases {
      width: 28%;
    }
    #page-inactive-users-report .user-report-table th.user-report-col-status {
      width: 22%;
    }
    #page-common-users-report .user-report-table tbody td,
    #page-inactive-users-report .user-report-table tbody td {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      vertical-align: middle;
    }
    #page-common-users-report .user-report-table tbody tr:last-child td,
    #page-inactive-users-report .user-report-table tbody tr:last-child td {
      border-bottom: none;
    }
    #page-common-users-report .user-report-row,
    #page-inactive-users-report .user-report-row {
      transition: background 0.15s ease;
    }
    #page-common-users-report .user-report-row:hover td,
    #page-inactive-users-report .user-report-row:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    #page-common-users-report .user-report-col-action,
    #page-inactive-users-report .user-report-col-action,
    #page-common-users-report .user-report-table th.user-report-col-action,
    #page-inactive-users-report .user-report-table th.user-report-col-action {
      text-align: center;
      width: 1%;
      white-space: nowrap;
      padding-right: 28px;
      padding-left: 8px;
    }
    #page-common-users-report .user-report-user-cell,
    #page-inactive-users-report .user-report-user-cell {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      min-width: 0;
    }
    #page-common-users-report .user-report-avatar,
    #page-inactive-users-report .user-report-avatar {
      flex: 0 0 32px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      color: hsl(var(--avatar-hue, 210) 70% 92%);
      background: hsl(var(--avatar-hue, 210) 45% 28%);
      border: 1px solid hsl(var(--avatar-hue, 210) 50% 40%);
    }
    #page-common-users-report .user-report-username,
    #page-inactive-users-report .user-report-username {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-bright);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    #page-common-users-report .user-report-host-chip,
    #page-inactive-users-report .user-report-host-chip {
      display: inline-block;
      max-width: 100%;
      padding: 5px 10px;
      border-radius: 6px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 12px;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    #page-inactive-users-report .user-report-status {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }
    #page-inactive-users-report .user-report-status--warn {
      color: #fbbf24;
      background: rgba(251, 191, 36, 0.12);
      border: 1px solid rgba(251, 191, 36, 0.28);
    }
    #page-inactive-users-report .user-report-status--ok {
      color: var(--success);
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.25);
    }
    #page-inactive-users-report .user-report-status--neutral {
      color: var(--muted);
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    #page-common-users-report .user-report-action,
    #page-inactive-users-report .user-report-action {
      font-size: 12px;
      padding: 6px 12px;
      border-radius: 8px;
      gap: 4px;
    }
    #page-common-users-report .user-report-action span,
    #page-inactive-users-report .user-report-action span {
      opacity: 0.85;
      transition: transform 0.15s ease;
    }
    #page-common-users-report .user-report-action:hover span,
    #page-inactive-users-report .user-report-action:hover span {
      transform: translateX(2px);
    }
    #page-common-users-report .user-report-empty,
    #page-inactive-users-report .user-report-empty {
      color: var(--muted);
      text-align: center;
      padding: 40px 24px !important;
      font-size: 13px;
      line-height: 1.5;
    }
    #page-common-users-report .user-report-empty--error,
    #page-inactive-users-report .user-report-empty--error {
      color: var(--danger);
    }
    #page-common-users-report .user-report-pagination,
    #page-inactive-users-report .user-report-pagination {
      padding: 12px 16px;
      border-top: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.12);
    }
    /* Inactive Users Report — typography (page-only) */
    #page-inactive-users-report h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-inactive-users-report .user-report-stat-card .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-inactive-users-report .user-report-stat-card .stat-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--text-bright);
      line-height: 1.1;
    }
    #page-inactive-users-report .user-report-stat-source {
      font-size: 15px !important;
      font-weight: 600;
      color: var(--text-bright);
      letter-spacing: 0.01em;
    }
    #page-inactive-users-report .user-report-panel-header h2 {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-inactive-users-report .user-report-search-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-inactive-users-report .user-report-table thead th {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text);
    }
    #page-inactive-users-report .user-report-username {
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-bright);
    }
    #page-inactive-users-report .user-report-instance {
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-bright);
    }
    #page-inactive-users-report .user-report-databases {
      font-size: 13px;
      color: var(--muted);
    }
    #page-inactive-users-report .user-report-status {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    #page-inactive-users-report .user-report-action {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    /* Common Users Report — typography (page-only) */
    #page-common-users-report h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-common-users-report .user-report-stat-card .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-common-users-report .user-report-stat-card .stat-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--text-bright);
      line-height: 1.1;
    }
    #page-common-users-report .user-report-stat-source {
      font-size: 15px !important;
      font-weight: 600;
      color: var(--text-bright);
      letter-spacing: 0.01em;
    }
    #page-common-users-report .user-report-panel-header h2 {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-common-users-report .user-report-search-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-common-users-report .user-report-table thead th {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text);
    }
    #page-common-users-report .user-report-username {
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-bright);
    }
    #page-common-users-report .user-report-instance {
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-bright);
    }
    #page-common-users-report .user-report-databases {
      font-size: 13px;
      color: var(--muted);
    }
    #page-common-users-report .user-report-action {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    /* HBA Scanner — typography (page-only) */
    #page-hba-scanner h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-hba-scanner .subtitle {
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }
    #page-hba-scanner .hba-scan-meta {
      margin-top: -12px;
    }
    #page-hba-scanner .hba-stat-card .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-hba-scanner .hba-stat-card .stat-value {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.1;
    }
    #page-hba-scanner .hba-stat-card .stat-value:not(.success):not(.danger) {
      color: var(--text-bright);
    }
    #page-hba-scanner .pii-target-field label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-hba-scanner .pii-target-select {
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-bright);
    }
    #page-hba-scanner .hba-callout {
      margin-bottom: 16px;
      font-size: 13px;
      line-height: 1.5;
      color: var(--text);
    }
    #page-hba-scanner .hba-callout strong {
      font-weight: 600;
      color: var(--text-bright);
    }
    #page-hba-scanner #hba-host-audit-link {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    #page-hba-scanner .hba-audit-link-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 1 1 220px;
      min-width: 0;
      justify-content: flex-end;
    }
    #page-hba-scanner .hba-audit-link-spacer {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.2;
      visibility: hidden;
      user-select: none;
      pointer-events: none;
    }
    #page-hba-scanner .hba-check-num {
      font-family: inherit;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--kloud-blue);
    }
    #page-hba-scanner .hba-check-title {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-hba-scanner .hba-check-desc {
      font-size: 13px;
      line-height: 1.45;
      color: var(--muted);
    }
    #page-hba-scanner .hba-badge {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    /* SSL Scanner — typography (page-only) */
    #page-ssl-scanner h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-ssl-scanner .subtitle {
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }
    #page-ssl-scanner .ssl-scan-meta {
      margin-top: -12px;
    }
    #page-ssl-scanner .ssl-stat-card .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-ssl-scanner .ssl-stat-card .stat-value {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.1;
    }
    #page-ssl-scanner .ssl-stat-card .stat-value:not(.success):not(.warning):not(.danger) {
      color: var(--text-bright);
    }
    #page-ssl-scanner .pii-target-field label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-ssl-scanner .pii-target-select {
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-bright);
    }
    #page-ssl-scanner .ssl-callout {
      margin-bottom: 16px;
      font-size: 13px;
      line-height: 1.5;
      color: var(--text);
    }
    #page-ssl-scanner .ssl-callout strong {
      font-weight: 600;
      color: var(--text-bright);
    }
    #page-ssl-scanner #ssl-host-audit-link {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    #page-ssl-scanner .ssl-audit-link-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 1 1 220px;
      min-width: 0;
      justify-content: flex-end;
    }
    #page-ssl-scanner .ssl-audit-link-spacer {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.2;
      visibility: hidden;
      user-select: none;
      pointer-events: none;
    }
    #page-ssl-scanner .hba-check-title {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-ssl-scanner .hba-check-desc {
      font-size: 13px;
      line-height: 1.45;
      color: var(--muted);
    }
    #page-ssl-scanner .hba-badge {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    /* Postgres PII Report — typography (page-only) */
    #page-pii-scanner h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-pii-scanner .subtitle {
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }
    #page-pii-scanner .pii-target-field label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-pii-scanner .pii-target-select {
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-bright);
    }
    #page-pii-scanner .pii-scan-callout {
      font-size: 13px;
      line-height: 1.5;
      color: var(--text);
    }
    #page-pii-scanner .pii-report-section-header h2 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-pii-scanner .pii-stat-card .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-pii-scanner .pii-stat-card .stat-value {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.1;
    }
    #page-pii-scanner .pii-report-table thead th {
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    /* GUC Drift — typography (page-only) */
    #page-guc-drift h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-guc-drift .subtitle {
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }
    #page-guc-drift .guc-section-eyebrow {
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    #page-guc-drift .guc-baseline-title {
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    #page-guc-drift .guc-drift-stats .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-guc-drift .guc-drift-stats .stat-value {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.1;
    }
    #page-guc-drift .guc-host-search-label,
    #page-guc-drift .guc-upload-field-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-guc-drift .guc-host-toolbar input[type="search"],
    #page-guc-drift .guc-host-toolbar select {
      font-family: inherit;
      font-weight: 500;
    }
    #page-guc-drift .panel-header {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-guc-drift .guc-panel-hint {
      font-weight: 500;
      letter-spacing: 0.01em;
    }
    #page-guc-drift .guc-host-status-table thead th,
    #page-guc-drift .guc-drift-table-panel thead th,
    #page-guc-drift .guc-snapshots-history thead th {
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    /* Collector Nodes — typography (page-only) */
    #page-collector-nodes h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-collector-nodes .subtitle {
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }
    #page-collector-nodes #cn-stats .stat-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    #page-collector-nodes #cn-stats .stat-value {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.1;
    }
    #page-collector-nodes .panel-header {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-collector-nodes table thead th {
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    #page-collector-nodes .cn-detail-title {
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 8px;
    }
    #page-collector-nodes .cn-panel-meta {
      font-weight: 500;
      letter-spacing: 0.01em;
    }
    /* Log Readiness — typography (page-only) */
    #page-log-readiness h1 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
      margin-bottom: 6px;
    }
    #page-log-readiness .subtitle {
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }
    #page-log-readiness .report-block-header h2 {
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text-bright);
    }
    #page-log-readiness .guc-host-search-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--muted);
    }
    #page-log-readiness .guc-host-toolbar input[type="search"] {
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
    }
    #page-log-readiness table thead th {
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    #page-log-readiness .btn-row {
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    @media (max-width: 720px) {
      #page-common-users-report .user-report-stats,
      #page-inactive-users-report .user-report-stats {
        grid-template-columns: 1fr;
      }
      #page-common-users-report .user-report-panel-header,
      #page-inactive-users-report .user-report-panel-header {
        flex-direction: column;
        align-items: stretch;
      }
      #page-common-users-report .user-report-search,
      #page-inactive-users-report .user-report-search {
        max-width: none;
      }
    }
