:root {
      --bg: #0f172a;
      --bg-soft: #111827;
      --card-bg: #020617;
      --accent: #38bdf8;
      --accent-soft: rgba(56, 189, 248, 0.15);
      --text: #e5e7eb;
      --text-soft: #9ca3af;
      --border: #1f2937;
      --radius-lg: 18px;
      --radius-xl: 24px;
      --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
      --shadow-light: 0 0 0 1px rgba(148, 163, 184, 0.1);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #020617 100%);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .app-shell {
      width: 100%;
      max-width: 1120px;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 32, 0.98));
      border-radius: 28px;
      padding: 24px;
      box-shadow: var(--shadow-soft), var(--shadow-light);
      border: 1px solid rgba(148, 163, 184, 0.2);
      backdrop-filter: blur(18px);
    }

    @media (min-width: 900px) {
      .app-shell {
        padding: 30px 32px;
      }
    }

    header {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 24px;
    }

    @media (min-width: 900px) {
      header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    .title-block {
      max-width: 560px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 10px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(59, 130, 246, 0.2));
      color: var(--accent);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 600;
      border: 1px solid rgba(56, 189, 248, 0.5);
      margin-bottom: 10px;
    }

    .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
    }

    h1 {
      margin: 0;
      font-size: 26px;
      line-height: 1.2;
    }

    @media (min-width: 900px) {
      h1 {
        font-size: 30px;
      }
    }

    .subtitle {
      margin-top: 6px;
      color: var(--text-soft);
      font-size: 14px;
    }

    .cta-block {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    @media (min-width: 600px) {
      .cta-block {
        align-items: flex-end;
      }
    }

    .pill {
      font-size: 12px;
      color: var(--text-soft);
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px dashed rgba(148, 163, 184, 0.4);
      display: inline-flex;
      gap: 6px;
      align-items: center;
    }

    .pill-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
    }

    .contact-info {
      font-size: 13px;
      color: var(--text-soft);
    }

    .contact-info strong {
      color: var(--text);
    }

    /* Tabs / navigation */

    .tabs {
      display: flex;
      gap: 8px;
      padding: 4px;
      border-radius: 999px;
      background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
      border: 1px solid rgba(148, 163, 184, 0.3);
      margin-bottom: 18px;
      position: relative;
      overflow: hidden;
    }

    .tab-button {
      position: relative;
      flex: 1;
      border: none;
      background: transparent;
      color: var(--text-soft);
      font-size: 12px;
      padding: 8px 12px;
      border-radius: 999px;
      cursor: pointer;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 2px;
      text-align: left;
    }

    .tab-button span.label {
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .tab-button span.sub {
      font-size: 11px;
      opacity: 0.75;
    }

    .tab-button.active {
      color: var(--accent);
    }

    .tab-highlight {
      position: absolute;
      top: 4px;
      bottom: 4px;
      width: 33.333%;
      border-radius: 999px;
      background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.9));
      box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
      transition: transform 0.22s ease, width 0.22s ease;
    }

    /* Layout for content */

    .content {
      display: grid;
      grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.4fr);
      gap: 18px;
    }

    @media (max-width: 900px) {
      .content {
        grid-template-columns: 1fr;
      }
    }

    .panel-main {
      background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.98));
      border-radius: var(--radius-xl);
      padding: 18px 18px 20px;
      border: 1px solid rgba(148, 163, 184, 0.3);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
      position: relative;
      overflow: hidden;
    }

    .panel-main::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 55%);
      opacity: 0.9;
      pointer-events: none;
    }

    .panel-main-inner {
      position: relative;
      z-index: 1;
    }

    .panel-side {
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
      border-radius: var(--radius-xl);
      padding: 14px 14px 18px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    }

    .panel-heading {
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--text-soft);
      margin-bottom: 4px;
    }

    .panel-title {
      font-size: 18px;
      margin: 0 0 4px;
    }

    .panel-subtitle {
      font-size: 13px;
      color: var(--text-soft);
      margin-bottom: 12px;
    }

    .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 10px;
    }

    .chip {
      font-size: 11px;
      padding: 4px 8px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      color: var(--text-soft);
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.93));
    }

    .chip.accent {
      border-color: rgba(56, 189, 248, 0.8);
      color: var(--accent);
      background: var(--accent-soft);
    }

    .section-block {
      margin-top: 10px;
    }

    .section-title {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-soft);
      margin-bottom: 4px;
    }

    .section-body {
      font-size: 13px;
      line-height: 1.55;
      color: var(--text);
    }

    .section-body p {
      margin: 4px 0 8px;
    }

    .section-body ul {
      margin: 4px 0 8px 18px;
      padding: 0;
    }

    .section-body li {
      margin-bottom: 4px;
    }

    .divider {
      height: 1px;
      background: linear-gradient(90deg, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.02));
      margin: 10px 0;
    }

    .side-section {
      margin-top: 8px;
    }

    .side-section-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-soft);
      margin-bottom: 2px;
    }

    .side-section-body {
      font-size: 13px;
      color: var(--text-soft);
      line-height: 1.5;
    }

    .side-section-body ul {
      margin: 4px 0 8px 16px;
      padding: 0;
    }

    .side-section-body li {
      margin-bottom: 4px;
    }

    .risk-scale {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      margin-top: 8px;
      font-size: 11px;
    }

    .risk-pill {
      padding: 6px 8px;
      border-radius: 999px;
      text-align: center;
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: var(--text-soft);
    }

    .risk-pill.good {
      border-color: rgba(34, 197, 94, 0.7);
      color: #4ade80;
      background: rgba(22, 163, 74, 0.15);
    }

    .risk-pill.warn {
      border-color: rgba(234, 179, 8, 0.7);
      color: #fde68a;
      background: rgba(161, 98, 7, 0.18);
    }

    .risk-pill.bad {
      border-color: rgba(248, 113, 113, 0.9);
      color: #fecaca;
      background: rgba(127, 29, 29, 0.25);
    }

    .footer-note {
      margin-top: 10px;
      font-size: 11px;
      color: var(--text-soft);
      opacity: 0.8;
    }