#tools-section {
  font-family: "DM Sans", system-ui, sans-serif;
  background: #0f1419;
  color: #e8edf4;
  line-height: 1.55;
  border-top: 3px solid rgba(194, 65, 12, 0.5);
  margin-top: 2rem;
}

    #tools-section {
      --bg: #0f1419;
      --surface: #1a2332;
      --surface-2: #243044;
      --border: #2d3a4f;
      --text: #e8edf4;
      --muted: #8b9cb3;
      --accent: #c2410c;
      --accent-2: #fb923c;
      --warn: #f59e0b;
      --danger: #ef4444;
      --radius: 10px;
    }
    #tools-section * { box-sizing: border-box; }
    #tools-section { font-family: "DM Sans", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; min-height: 100vh; }
    .er14-tools-head {
      background: linear-gradient(135deg, #1a0a08 0%, #2a1a14 45%, #0f1419 100%);
      border-bottom: 1px solid var(--border);
      padding: 1.4rem 2rem;
      position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
    }
    .er14-tools-head-inner { max-width: 1440px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; }
    h1 { font-size: 1.3rem; } h1 span { color: var(--accent-2); }
    #tools-section .er14-sub { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
    .badge { font-size: 0.72rem; padding: 0.3rem 0.65rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
    .badge.phase { border-color: rgba(251, 146, 60, 0.4); color: var(--accent-2); }
    .er14-container { max-width: 1440px; margin: 0 auto; padding: 1.25rem 2rem 3rem; }
    .er14-banner {
      background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.25);
      border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.84rem; color: var(--muted); margin-bottom: 1.25rem;
    }
  .er14-banner strong { color: var(--text); }
    .er14-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
    .er14-tab { padding: 0.6rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; font: inherit; font-size: 0.85rem; }
    .er14-tab:hover { background: var(--surface-2); }
    .er14-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
    .er14-panel { display: none; } .er14-panel.active { display: block; }
    .er14-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
    .er14-card-hd { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.92rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
    .er14-table-wrap { overflow-x: auto; }
    #tools-section table { width: 100%; border-collapse: collapse; font-size: 0.78rem; min-width: 2200px; }
    #tools-section th, #tools-section td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left; }
    #tools-section th { background: var(--surface-2); position: sticky; top: 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
    th.country-col { min-width: 118px; }
    tr.dim-row td:first-child { font-weight: 600; color: var(--accent-2); background: rgba(194, 65, 12, 0.06); position: sticky; left: 0; z-index: 1; }
    .risk-high { color: #fca5a5; font-weight: 600; }
    .risk-mid { color: #fcd34d; }
    .risk-low { color: #86efac; }
    .diff-high { color: #fca5a5; }
    .diff-low { color: #86efac; }
    .er14-country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
    .er14-country-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; }
    .er14-country-card h3 { font-size: 1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
    .er14-country-card ul { list-style: none; font-size: 0.82rem; color: var(--muted); }
    .er14-country-card li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
    .er14-country-card li strong { color: var(--text); display: inline-block; min-width: 7.5rem; }
    .refs { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; }
    .refs a { font-size: 0.76rem; color: #fb923c; text-decoration: none; }
    .refs a:hover { text-decoration: underline; }
    .er14-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    @media (max-width: 900px) { .er14-case-grid { grid-template-columns: 1fr; } }
    .er14-case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
    .er14-case-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--accent-2); }
    .er14-case-card ol { margin-left: 1.2rem; font-size: 0.82rem; color: var(--muted); }
    .er14-case-card li { margin-bottom: 0.35rem; }
    .er14-case-country { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
    .er14-tools-foot { max-width: 1440px; margin: 0 auto; padding: 1rem 2rem 2rem; border-top: 1px solid var(--border); font-size: 0.76rem; color: var(--muted); }
    select { padding: 0.5rem 0.75rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
    .er14-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
    .er14-btn { padding: 0.5rem 0.85rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; font: inherit; font-size: 0.82rem; }
    .er14-btn:hover { border-color: var(--accent); color: var(--accent-2); }
    .er14-checklist-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
    .er14-checklist-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
    .er14-checklist-card h4 { font-size: 0.8rem; color: var(--accent-2); margin: 0.75rem 0 0.35rem; }
    .er14-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; font-size: 0.8rem; color: var(--muted); }
    @media (max-width: 800px) { .er14-check-grid { grid-template-columns: 1fr; } }
    .er14-check-grid ul { margin-left: 1.1rem; }
    .er14-check-grid li { margin-bottom: 0.25rem; }
    .er14-hub-links a { color: #fb923c; margin-right: 0.75rem; font-size: 0.8rem; }
    .er14-plain-intro { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; line-height: 1.55; }
    .er14-phase-block { background: var(--surface-2); border-radius: 8px; padding: 0.85rem; margin-bottom: 0.65rem; border-left: 3px solid var(--accent); }
    .er14-phase-head { font-size: 0.88rem; margin-bottom: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
    .er14-phase-days { font-size: 0.72rem; color: var(--muted); font-family: "JetBrains Mono", monospace; }
    .er14-role-tag { font-size: 0.68rem; padding: 0.15rem 0.45rem; border-radius: 4px; background: rgba(194, 65, 12, 0.2); color: var(--accent-2); }
    .er14-warn-box { font-size: 0.78rem; color: #fcd34d; margin-top: 0.4rem; padding: 0.4rem 0.5rem; background: rgba(245,158,11,0.08); border-radius: 6px; }
    .er14-legal-hint { font-size: 0.78rem; color: #fca5a5; margin-top: 0.35rem; }
    .er14-country-addon { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
    .er14-big-list { margin-left: 1.2rem; font-size: 0.85rem; color: var(--muted); }
    .er14-big-list li { margin-bottom: 0.35rem; }
    .er14-tab.highlight { border-color: var(--accent-2); }