:root {
        color-scheme: light;
        --ink: #142b3d;
        --ink-soft: #425768;
        --muted: #667988;
        --line: #dce4e9;
        --canvas: #f3f6f7;
        --surface: #ffffff;
        --nav: #132a3d;
        --nav-soft: #1c3a51;
        --coral: #ef6a5b;
        --coral-dark: #bb4d42;
        --amber: #9a5c06;
        --amber-bg: #fff3dc;
        --red: #a73934;
        --red-bg: #fff0ef;
        --green: #286c52;
        --green-bg: #e9f5ef;
        --blue: #2c6683;
        --blue-bg: #eaf3f8;
        --radius: 12px;
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }
      * { box-sizing: border-box; }
      body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.45; }
      button, input, select { font: inherit; }
      button { cursor: pointer; }
      button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ffb5a9; outline-offset: 2px; }
      ::selection { color: #fff; background: var(--coral-dark); }
      .app { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
      .sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px 16px; color: #e9f0f4; background: var(--nav); }
      .brand { display: flex; align-items: center; gap: 11px; padding: 3px 10px 27px; }
      .brand-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; color: white; background: var(--coral); }
      .brand-copy { min-width: 0; }
      .brand-name, .brand-sub { display: block; }
      .brand-name { font-size: 14px; font-weight: 760; letter-spacing: .035em; }
      .brand-sub { margin-top: 2px; color: #a9bdc9; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
      .nav-label { padding: 0 12px 8px; color: #91a7b5; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
      .nav-list { display: grid; gap: 4px; }
      .nav-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; color: #c6d4dc; background: transparent; text-align: left; transition: background-color .16s ease, color .16s ease; }
      .nav-button:hover { color: #fff; background: #1b394e; }
      .nav-button[aria-current="page"] { color: #fff; background: var(--nav-soft); box-shadow: inset 3px 0 var(--coral); }
      .nav-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
      .nav-count { margin-left: auto; min-width: 21px; padding: 1px 6px; border-radius: 20px; color: #ffe5e0; background: #553e41; font-size: 11px; text-align: center; }
      .sidebar-bottom { margin-top: auto; }
      .connection-card { margin: 0 4px 13px; padding: 12px; border: 1px solid #315064; border-radius: 10px; background: #173247; }
      .connection-title { margin-bottom: 8px; color: #dce8ee; font-size: 12px; font-weight: 700; }
      .connection-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 7px; color: #b8c8d1; font-size: 11px; }
      .connection-state { color: #ffd0c9; font-weight: 700; }
      .connection-state.live { color: #aee7cb; }
      .connection-state.partial { color: #ffd991; }
      .sidebar-foot { padding: 8px 10px 0; color: #8ea4b1; font-size: 11px; }
      .main { min-width: 0; }
      .topbar { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 34px; border-bottom: 1px solid var(--line); background: #fff; }
      .crumb { color: var(--muted); font-size: 12px; }
      .top-actions { display: flex; align-items: center; gap: 10px; }
      .search-wrap { position: relative; }
      .search-wrap svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; color: #738594; transform: translateY(-50%); pointer-events: none; }
      .search { width: min(280px, 34vw); height: 36px; padding: 0 12px 0 35px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
      .search::placeholder { color: #738594; }
      .user-pill { display: flex; align-items: center; gap: 9px; padding-left: 13px; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; font-weight: 650; white-space: nowrap; }
      .user-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); background: #e7edf1; font-size: 11px; }
      .content { max-width: 1500px; margin: 0 auto; padding: 30px 34px 44px; }
      .page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
      h1 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
      .page-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
      .demo-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #f1c985; border-radius: 7px; color: #7c4c0d; background: var(--amber-bg); font-size: 11px; font-weight: 750; letter-spacing: .03em; white-space: nowrap; }
      .demo-badge svg { width: 14px; height: 14px; }
      .demo-banner { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 20px; padding: 13px 15px; border: 1px solid #f0d39b; border-radius: 10px; color: #65430d; background: #fff8e9; }
      .demo-banner svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
      .demo-banner strong { display: block; margin-bottom: 2px; font-size: 13px; }
      .demo-banner span { display: block; color: #775c2c; font-size: 12px; }
      .stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 21px; }
      .stat { padding: 15px 17px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
      .stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
      .stat-label { color: var(--muted); font-size: 12px; font-weight: 600; }
      .stat-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--blue); background: var(--blue-bg); }
      .stat-icon svg { width: 16px; height: 16px; }
      .stat-icon.alert { color: var(--red); background: var(--red-bg); }
      .stat-value { margin-top: 10px; font-size: 25px; font-weight: 760; letter-spacing: -.04em; line-height: 1; }
      .stat-note { margin-top: 7px; color: var(--muted); font-size: 11px; }
      .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(285px, .85fr); gap: 18px; align-items: start; }
      .panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
      .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e8edf0; }
      .panel-head h2 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
      .panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
      .text-button { padding: 5px 0; border: 0; color: var(--coral-dark); background: transparent; font-size: 12px; font-weight: 700; }
      .text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
      .filter-row { display: flex; gap: 8px; align-items: center; padding: 11px 18px; border-bottom: 1px solid #edf1f3; }
      .filter-row label { color: var(--muted); font-size: 11px; }
      .select { min-height: 31px; padding: 4px 25px 4px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); background: #fff; font-size: 11px; }
      .alert-list { display: grid; }
      .alert-row { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 15px 18px; border-bottom: 1px solid #edf1f3; }
      .alert-row:last-child { border-bottom: 0; }
      .severity-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--amber); }
      .severity-dot.critical, .severity-dot.high { background: var(--red); }
      .severity-dot.medium { background: #c78220; }
      .alert-main { min-width: 0; }
      .alert-title { display: block; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-size: 13px; font-weight: 700; line-height: 1.35; }
      .alert-title:hover { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; }
      .alert-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 6px; color: var(--muted); font-size: 11px; }
      .alert-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 7px; border-radius: 5px; color: #76510f; background: #fff3dc; font-size: 10px; font-weight: 700; }
      .alert-status.review { color: #255d77; background: #eaf3f8; }
      .alert-status.done { color: #286c52; background: #e9f5ef; }
      .level { align-self: start; padding: 4px 7px; border-radius: 5px; color: var(--red); background: var(--red-bg); font-size: 10px; font-weight: 750; white-space: nowrap; }
      .level.medium { color: #81510b; background: var(--amber-bg); }
      .empty { padding: 28px; color: var(--muted); text-align: center; font-size: 13px; }
      .right-stack { display: grid; gap: 18px; }
      .triage-body { display: grid; gap: 0; padding: 4px 17px; }
      .triage-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf1f3; color: var(--ink-soft); font-size: 12px; }
      .triage-row:last-child { border-bottom: 0; }
      .triage-count { min-width: 28px; padding: 3px 8px; border-radius: 6px; color: #76510f; background: #fff3dc; font-size: 11px; font-weight: 750; text-align: center; }
      .triage-count.review { color: #255d77; background: #eaf3f8; }
      .triage-count.done { color: #286c52; background: #e9f5ef; }
      .source-list { display: grid; }
      .source-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 17px; border-bottom: 1px solid #edf1f3; }
      .source-row:last-child { border-bottom: 0; }
      .source-name { color: var(--ink-soft); font-size: 12px; font-weight: 650; }
      .source-state { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; white-space: nowrap; }
      .source-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9aaab4; }
      .source-state.live { color: var(--green); font-weight: 700; }
      .source-state.live::before { background: #3b9b72; }
      .source-state.error { color: var(--red); font-weight: 700; }
      .source-state.error::before { background: var(--red); }
      .source-note { padding: 10px 17px; color: var(--muted); font-size: 10px; }
      .feed-mark { display: inline-flex; align-items: center; padding: 3px 6px; border-radius: 5px; color: var(--green); background: var(--green-bg); font-size: 10px; font-weight: 750; white-space: nowrap; }
      .feed-mark.possible { color: #81510b; background: var(--amber-bg); }
      .feed-toolbar { display: flex; align-items: center; gap: 10px; }
      .feed-updated { color: var(--muted); font-size: 10px; }
      .source-link { color: var(--coral-dark); font-size: 10px; font-weight: 700; text-decoration: none; }
      .source-link:hover { text-decoration: underline; }
      .view { display: none; }
      .view.active { display: block; }
      .table-wrap { overflow-x: auto; }
      table { width: 100%; border-collapse: collapse; text-align: left; }
      th { padding: 10px 13px; color: #687b89; background: #f8fafb; font-size: 10px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
      td { padding: 12px 13px; border-top: 1px solid #edf1f3; color: var(--ink-soft); font-size: 12px; vertical-align: top; }
      tr:hover td { background: #fbfcfd; }
      .host-name { color: var(--ink); font-weight: 700; }
      .secondary { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
      .pill { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; color: #526877; background: #eef2f4; font-size: 10px; font-weight: 650; white-space: nowrap; }
      .pill.public { color: #943d37; background: #fff0ef; }
      .pill.high { color: #81510b; background: #fff3dc; }
      .component-list { display: grid; gap: 5px; min-width: 220px; }
      .component-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; color: var(--ink-soft); font-size: 11px; }
      .component-item strong { color: var(--ink); font-size: 12px; }
      .component-vendor { color: var(--muted); }
      .component-criticality { color: #81510b; background: var(--amber-bg); }
      .component-criticality.critical { color: var(--red); background: var(--red-bg); }
      .view-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #edf1f3; }
      .view-toolbar p { margin: 0; color: var(--muted); font-size: 11px; }
      .count-label { color: var(--muted); font-size: 11px; white-space: nowrap; }
      .notice-detail { display: none; position: fixed; inset: 0; z-index: 10; align-items: center; justify-content: center; padding: 20px; background: rgb(11 27 40 / 38%); }
      .notice-detail.open { display: flex; }
      .detail-sheet { width: min(510px, 100%); max-height: min(80vh, 700px); overflow-y: auto; border-radius: 14px; background: #fff; box-shadow: 0 18px 60px rgb(12 29 42 / 24%); }
      .detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 15px; border-bottom: 1px solid var(--line); }
      .detail-head h2 { margin: 0; font-size: 17px; line-height: 1.3; }
      .close-button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); background: #fff; }
      .close-button:hover { background: #f4f7f8; }
      .detail-content { padding: 18px 22px; }
      .detail-warning { margin-bottom: 16px; padding: 11px 12px; border: 1px solid #f0d39b; border-radius: 8px; color: #704a0c; background: #fff8e9; font-size: 12px; }
      .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 17px; }
      .detail-field { padding: 9px 10px; border-radius: 7px; background: #f6f8f9; }
      .detail-field span { display: block; color: var(--muted); font-size: 10px; }
      .detail-field strong { display: block; margin-top: 3px; color: var(--ink); font-size: 12px; }
      .detail-content h3 { margin: 16px 0 5px; font-size: 12px; }
      .detail-content p { margin: 0; color: var(--ink-soft); font-size: 12px; }
      .detail-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
      .action-button { min-height: 34px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); background: #fff; font-size: 11px; font-weight: 700; }
      .action-button:hover { background: #f5f8f9; }
      .action-button.primary { border-color: var(--coral); color: #fff; background: var(--coral); }
      .action-button.primary:hover { border-color: var(--coral-dark); background: var(--coral-dark); }
      .toast { position: fixed; right: 22px; bottom: 20px; z-index: 20; display: none; padding: 11px 15px; border-radius: 8px; color: #fff; background: var(--nav); box-shadow: 0 8px 24px rgb(12 29 42 / 20%); font-size: 12px; }
      .toast.show { display: block; }
      .mobile-menu { display: none; }
      .small-print { padding: 11px 17px; border-top: 1px solid #edf1f3; color: var(--muted); font-size: 10px; }
      @media (max-width: 1060px) {
        .content { padding: 25px 22px 36px; }
        .topbar { padding: 0 22px; }
        .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .dashboard-grid { grid-template-columns: minmax(0,1fr); }
        .right-stack { grid-template-columns: repeat(2,minmax(0,1fr)); }
      }
      @media (max-width: 720px) {
        .app { display: block; }
        .sidebar { position: fixed; z-index: 12; top: 0; bottom: 0; left: 0; width: 258px; height: 100dvh; transform: translateX(-102%); transition: transform .2s ease-out; box-shadow: 12px 0 28px rgb(5 24 37 / 18%); }
        .sidebar.open { transform: translateX(0); }
        .topbar { min-height: 58px; padding: 0 14px; }
        .mobile-menu { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; }
        .top-left { display: flex; align-items: center; gap: 10px; }
        .crumb { font-weight: 650; }
        .search { width: min(190px, 40vw); }
        .user-pill { display: none; }
        .content { padding: 21px 14px 32px; }
        .page-head { margin-bottom: 15px; }
        h1 { font-size: 22px; }
        .page-subtitle { max-width: 34ch; }
        .demo-banner { padding: 11px 12px; }
        .stat-grid { gap: 8px; margin-bottom: 14px; }
        .stat { padding: 12px; }
        .stat-label { font-size: 10px; }
        .stat-value { font-size: 22px; }
        .right-stack { grid-template-columns: minmax(0,1fr); }
        .panel-head { padding: 14px; }
        .alert-row { padding: 13px 14px; }
        .filter-row { padding: 9px 14px; }
        .detail-grid { gap: 8px; }
      }
      @media (max-width: 440px) {
        .top-actions { gap: 6px; }
        .search { width: 38vw; min-width: 115px; }
        .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .stat-note { font-size: 10px; }
        .demo-badge { padding: 5px 7px; font-size: 10px; }
        .page-head { align-items: center; }
        .filter-row { flex-wrap: wrap; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
      }

.social-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:20px; border-bottom:1px solid var(--line); }
.social-controls label { display:grid; gap:6px; font-weight:650; }
.social-controls select { max-width:100%; padding:9px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); }
.social-controls p { margin:0; color:var(--ink-soft); font-size:12px; }
.social-post { padding:22px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.social-post:last-child { border-bottom:0; }
.social-post-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
.social-post-head span,.social-account { color:var(--ink-soft); font-size:12px; }
.social-account { margin:4px 0 10px; }
.social-content { max-width:75ch; white-space:pre-wrap; line-height:1.65; }
.social-match { color:var(--ink-soft); font-size:12px; }
.social-empty { padding:28px 22px; color:var(--ink-soft); }
@media(max-width:600px) { .social-controls,.social-post { padding:16px; } .social-controls label { width:100%; } }
.integration-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:12px; color:#dce8ee; }
.integration-table caption { text-align:left; font-weight:700; margin-bottom:10px; }
.integration-table th,.integration-table td { padding:9px 3px; border-bottom:1px solid #315064; text-align:left; vertical-align:top; white-space:normal; overflow-wrap:anywhere; }
.integration-table thead th { color:#b8c8d1; font-size:11px; }
.integration-table tbody th { font-weight:500; width:45%; }
.integration-table tr:last-child > * { border-bottom:0; }
.alert-filters { flex-wrap:wrap; gap:12px; }
.alert-filters label { display:grid; gap:5px; color:var(--ink-soft); font-size:12px; }
.alert-filters .select { font-size:12px; min-height:36px; }
.alert-filters button { align-self:flex-end; min-height:36px; }

.integration-table th,.integration-table td { color:#dce8ee; background:transparent; border-top:0; font-size:12px; letter-spacing:normal; text-transform:none; }
.integration-table thead th { color:#b8c8d1; font-size:11px; }
.integration-table tr:hover td { background:transparent; }
.server-inventory { background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.server-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; padding:24px; border-bottom:1px solid var(--line); }
.server-heading h2 { margin:0; font-size:24px; }
.server-heading p { margin:5px 0 0; color:var(--ink-soft); }
.server-heading dl { display:flex; flex-wrap:wrap; gap:28px; margin:0; }
.server-heading dt { color:var(--ink-soft); font-size:12px; }
.server-heading dd { margin:5px 0 0; font-weight:650; }
.server-components { table-layout:fixed; min-width:850px; }
.server-components thead th { padding:16px 20px; font-size:12px; text-transform:none; letter-spacing:0; white-space:normal; }
.server-components th:nth-child(1) { width:25%; }
.server-components th:nth-child(2) { width:22%; }
.server-components th:nth-child(3) { width:25%; }
.server-components tbody th { background:transparent; color:var(--ink); padding:20px; text-transform:none; letter-spacing:0; font-size:14px; white-space:normal; border-top:1px solid var(--line); vertical-align:top; font-weight:400; }
.server-components td { padding:20px; overflow-wrap:anywhere; font-size:14px; }
.server-components .secondary { font-size:12px; line-height:1.5; margin-top:6px; }
.server-components details { margin-top:12px; font-size:12px; color:var(--ink-soft); }
.server-components summary { cursor:pointer; color:var(--coral-dark); }
.version-number { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.lifecycle-label { font-weight:650; }
.lifecycle-label.ended,.lifecycle-ended { color:var(--red); }
.lifecycle-label.soon,.lifecycle-soon { color:var(--amber); }
.server-components { min-width:1100px; }
.server-components th:nth-child(1) { width:20%; }
.server-components th:nth-child(2) { width:18%; }
.server-components th:nth-child(3) { width:20%; }
.server-components th:nth-child(4) { width:23%; }
.component-notices summary { font-weight:700; color:var(--coral-dark); }
.component-notice-link { display:block; width:100%; padding:12px 0 4px; background:transparent; border:0; color:var(--ink); text-align:left; line-height:1.45; font-weight:650; font-size:12px; }
.component-notice-link:hover { color:var(--coral-dark); text-decoration:underline; }
.server-summary { min-width:650px; }
.server-summary thead th { font-size:12px; text-transform:none; letter-spacing:0; padding:16px 22px; }
.server-summary tbody th { background:transparent; white-space:normal; text-transform:none; letter-spacing:0; padding:22px; vertical-align:top; border-top:1px solid var(--line); }
.server-summary td { padding:22px; width:36%; }
.server-summary .secondary { display:block; font-size:12px; margin-top:8px; line-height:1.5; }
.server-open { padding:0; background:transparent; border:0; font-size:18px; font-weight:750; color:var(--ink); display:flex; gap:18px; align-items:center; }
.server-open:hover { color:var(--coral-dark); }
.server-flag { display:inline-block; margin:0 6px 6px 0; padding:5px 9px; border-radius:5px; font-size:12px; font-weight:700; }
.server-flag.danger { background:var(--red-bg); color:var(--red); }
.server-flag.warning { background:var(--amber-bg); color:var(--amber); }
.server-detail { margin-top:24px; }
.server-detail[hidden] { display:none; }
.server-detail-label { font-size:12px; font-weight:600; color:var(--coral-dark); }
.server-back { margin-bottom:16px; }
.server-back + .server-detail { margin-top:0; }
.source-stat { cursor:pointer; }
.source-stat:hover { border-color:var(--blue); }
.source-stat:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.source-settings { padding:20px 24px; }
.source-settings label { display:grid; grid-template-columns:20px 1fr; gap:8px 12px; padding:16px 0; }
.source-settings label span { grid-column:2; color:var(--ink-soft); line-height:1.5; }
.source-settings input { accent-color:var(--coral-dark); }
.source-settings p { max-width:75ch; line-height:1.6; }
.source-options { margin-top:24px; }
.stat-link { cursor:pointer; }
.stat-link:hover { border-color:var(--blue); }
.stat-link:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.message-sources { margin-top:40px; }
.message-sources > h2 { margin-bottom:18px; }
.message-sources > .panel { margin-bottom:20px; }
.level.unverified { background:var(--blue-bg); color:var(--blue); }
.severity-dot.unverified { background:var(--blue); }
.feed-health { padding:14px 10px; }
.feed-health .connection-title { display:flex; justify-content:space-between; gap:6px; }
.feed-health #sidebarFeedState { font-size:11px; font-weight:500; color:#b8c8d1; }
.feed-health-row { display:flex; justify-content:space-between; align-items:center; gap:6px; padding:10px 0; border-top:1px solid #315064; font-size:11px; color:#dce8ee; }
.feed-health-state { display:inline-flex; align-items:center; gap:5px; font-size:10px; white-space:nowrap; }
.feed-health-state i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.feed-health-state.ok { color:#aee7cb; }
.feed-health-state.failed { color:#ffb5a9; }
.feed-health-state.loading { color:#ffd991; }
#view-alerts .alert-filters { display:grid; grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(130px,1fr)) auto; align-items:end; gap:16px; padding:18px 22px; }
#view-alerts .alert-filters label { min-width:0; }
#view-alerts .alert-filters select { width:100%; min-height:40px; }
#view-alerts .alert-filters button { min-height:40px; padding:0 8px; }
.message-total { white-space:nowrap; align-self:center; font-size:13px; }
@media(max-width:1000px) { #view-alerts .alert-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } #view-alerts .alert-filters button { justify-self:start; } }
@media(max-width:550px) { #view-alerts .alert-filters { grid-template-columns:1fr; padding:16px; } }
.server-click-row { cursor:pointer; }
.server-summary .server-click-row:hover > th,.server-summary .server-click-row:hover > td { background:#edf4f7; }
.server-click-row:focus-within > th,.server-click-row:focus-within > td { background:#edf4f7; }
.server-filters { display:grid; grid-template-columns:minmax(200px,1.5fr) minmax(190px,1fr) minmax(150px,1fr) auto; gap:16px; align-items:end; padding:18px 22px; background:var(--surface); border:1px solid var(--line); border-radius:12px; margin-bottom:18px; }
.server-filters[hidden] { display:none; }
.server-filters label { display:grid; gap:7px; color:var(--ink-soft); font-size:12px; }
.server-filters input,.server-filters select { width:100%; min-width:0; min-height:40px; padding:8px 10px; border:1px solid var(--line); border-radius:7px; color:var(--ink); background:var(--surface); }
.server-filters button { min-height:40px; }
.sort-server { padding:0; width:100%; display:flex; justify-content:space-between; gap:8px; border:0; color:var(--ink-soft); background:transparent; text-align:left; font-weight:700; font-size:12px; }
@media(max-width:1000px) { .server-filters { grid-template-columns:1fr 1fr; } }
@media(max-width:550px) { .server-filters { grid-template-columns:1fr; } }

/* Larger primary navigation targets. */
.nav-list { gap:8px; }
.nav-list .nav-button { min-height:56px; padding:15px 14px; gap:14px; font-size:16px; }
.nav-list .nav-button > svg { width:22px; height:22px; flex-shrink:0; }
.nav-list .nav-count { font-size:12px; padding:3px 7px; }

.sidebar .brand { padding-bottom:48px; }
.server-components { min-width:1280px; }
.server-components th:nth-child(1) { width:18%; }
.server-components th:nth-child(2) { width:15%; }
.server-components th:nth-child(3) { width:17%; }
.server-components th:nth-child(4) { width:21%; }
.server-components th:nth-child(5) { width:15%; }
.server-components th:nth-child(6) { width:14%; }
.component-policy { width:100%; font-size:12px; min-height:38px; }
.server-components .component-excluded > th,.server-components .component-excluded > td { background:#f5f7f8; }
.server-components .component-excluded .lifecycle-label,.server-components .component-excluded .lifecycle-ended,.server-components .component-excluded .lifecycle-soon { color:var(--ink-soft); }

.breadcrumb-link { padding:0; border:0; background:transparent; color:var(--ink-soft); font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.breadcrumb-link:hover { color:var(--coral-dark); }

.component-alert-summary { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:8px; }
.component-alert-summary .server-flag { margin:0; }
.server-flag.neutral { color:var(--blue); background:var(--blue-bg); }
.notice-category { margin-top:18px; }
.notice-category h4 { margin:0; color:var(--ink); font-size:12px; text-transform:none; }

.component-alert-summary button { border:0; cursor:pointer; text-align:left; }
.component-alert-summary button:hover { filter:brightness(.95); text-decoration:underline; text-underline-offset:2px; }
.component-messages-dialog { width:min(900px,calc(100vw - 32px)); max-height:82vh; padding:0; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); overflow:auto; }
.component-messages-dialog::backdrop { background:rgba(12,29,42,.55); }
.component-messages-dialog > header { position:sticky; top:0; z-index:1; background:var(--surface); display:flex; justify-content:space-between; align-items:start; gap:16px; padding:22px; border-bottom:1px solid var(--line); }
.component-messages-dialog h2 { margin:0; font-size:20px; overflow-wrap:anywhere; }
.component-messages-dialog header p { margin:8px 0 0; color:var(--ink-soft); font-size:13px; }
