    @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');
    :root {
      --bg: #f2f6fb;
      --card: #ffffff;
      --text: #0f172a;
      --muted: #5f6b7a;
      --accent: #0f4fa8;
      --border: #e3e8ef;
      --shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
      --type-climate: #0ea5e9;
      --type-remote: #10b981;
      --type-forecast: #8b5cf6;
      --type-hazard: #f97316;
      --type-atmosphere: #06b6d4;
    }

    :root.dark {
      --bg: #0b1220;
      --card: #0f172a;
      --text: #e5e7eb;
      --muted: #9ca3af;
      --accent: #7fb4ff;
      --border: #1f2937;
      --shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
      --type-remote: #38bdf8;
      --type-climate: #34d399;
      --type-forecast: #a78bfa;
      --type-hazard: #fb923c;
      --type-atmosphere: #22d3ee;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Outfit", "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
    }

    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 32px;
      background: linear-gradient(135deg, #0b3d75, #0b7ac1);
      box-shadow: 0 12px 36px rgba(11, 61, 117, 0.25);
      position: sticky;
      top: 0;
      z-index: 10;
      color: #ffffff;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    header h1 {
      margin: 0;
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: #ffffff;
    }

    .summary {
      font-size: 14px;
      color: var(--muted);
    }

    .tagline {
      font-size: 13px;
      color: var(--muted);
      margin-top: 4px;
    }

    header .summary {
      color: rgba(255, 255, 255, 0.8);
    }

    header .tagline {
      color: rgba(255, 255, 255, 0.82);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      color: rgba(255, 255, 255, 0.88);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand a {
      display: inline-flex;
      align-items: center;
    }

    .brand-logo {
      width: 58px;
      height: 58px;
      object-fit: contain;
      background: transparent;
      border-radius: 12px;
      padding: 0;
      box-shadow: none;
      filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.82));
    }

    .theme-toggle {
      border: 1px solid rgba(255, 255, 255, 0.28);
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
      border-radius: 12px;
      padding: 8px 12px;
      cursor: pointer;
      font-weight: 600;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .catalog-info-btn {
      border: 1px solid rgba(255, 255, 255, 0.28);
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
      font-weight: 600;
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 10px;
      text-align: left;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .catalog-info-btn:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    .catalog-info-btn:focus-visible {
      outline: 2px solid rgba(255, 255, 255, 0.9);
      outline-offset: 2px;
    }

    .catalog-info-icon {
      font-size: 18px;
      line-height: 1;
    }

    .catalog-info-text {
      display: inline-flex;
      flex-direction: column;
      line-height: 1.1;
      font-size: 13px;
      font-weight: 700;
    }

    main {
      padding: 24px 32px 48px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .controls {
      display: flex;
      align-items: center;
      gap: 16px;
      justify-content: space-between;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }

    .search {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 8px 12px;
      box-shadow: 0 5px 16px rgba(17, 24, 39, 0.05);
      min-width: 260px;
      flex: 1;
      max-width: 480px;
    }

    .search input {
      border: none;
      outline: none;
      width: 100%;
      font-size: 14px;
      background: transparent;
      color: var(--text);
    }

    .control-actions {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    .reset-filters-btn {
      border: 1px solid #f59e0b;
      background: #fffbeb;
      color: #92400e;
      border-radius: 12px;
      padding: 10px 14px;
      font-weight: 700;
      box-shadow: 0 6px 14px rgba(146, 64, 14, 0.12);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
    }

    .reset-filters-btn:hover {
      background: #fef3c7;
    }

    .reset-filters-btn:focus-visible {
      outline: 2px solid #f59e0b;
      outline-offset: 2px;
    }

    :root.dark .reset-filters-btn {
      border-color: #f59e0b;
      background: rgba(245, 158, 11, 0.14);
      color: #fde68a;
    }

    :root.dark .reset-filters-btn:hover {
      background: rgba(245, 158, 11, 0.2);
    }

    .filter-toggle {
      border: 1px solid var(--border);
      background: var(--card);
      color: var(--text);
      border-radius: 12px;
      padding: 10px 14px;
      font-weight: 700;
      box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .filters-drawer {
      display: none;
      flex-direction: column;
      gap: 12px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px;
      margin-bottom: 14px;
      box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
    }

    .filters-drawer.open {
      display: flex;
    }

    .filters-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
    }

    .filter-select,
    .filter-input,
    .year-slider input[type="range"] {
      border: 1px solid var(--border);
      background: var(--card);
      color: var(--text);
      border-radius: 10px;
      padding: 8px 10px;
      font-weight: 600;
      box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
      min-width: 150px;
    }

    .filter-input {
      font-weight: 500;
    }

    .year-range {
      display: grid;
      gap: 3px;
    }

    .year-range strong {
      font-size: 12px;
      line-height: 1.1;
    }

    .year-slider {
      position: relative;
      height: 24px;
      display: grid;
      align-items: center;
    }

    .year-slider input[type="range"] {
      width: 100%;
      margin: 0;
      padding: 0;
      min-width: 0;
      box-shadow: none;
      -webkit-appearance: none;
      appearance: none;
      height: 4px;
      border-radius: 999px;
    }

    .year-slider input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #4f46e5;
      border: 1px solid #ffffff;
      box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.35);
      cursor: pointer;
    }

    .year-slider input[type="range"]::-moz-range-thumb {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #4f46e5;
      border: 1px solid #ffffff;
      box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.35);
      cursor: pointer;
    }

    .year-values {
      display: flex;
      justify-content: flex-end;
      font-weight: 600;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.1;
    }

    .variables-filter {
      position: relative;
      height: 100%;
    }

    .dropdown-btn {
      width: 100%;
      height: 100%;
      border: 1px solid var(--border);
      background: var(--card);
      color: var(--text);
      border-radius: 10px;
      padding: 10px 12px;
      font-weight: 700;
      box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
    }

    .dropdown-btn span {
      font-weight: 600;
    }

    .dropdown-panel {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: auto;
      width: max(100%, 340px);
      max-width: calc(100vw - 32px);
      z-index: 5;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
      padding: 10px;
      display: none;
      gap: 8px;
    }

    .dropdown-panel.open {
      display: grid;
    }

    .variables-filter input[type="search"] {
      border: 1px solid var(--border);
      background: var(--card);
      color: var(--text);
      border-radius: 10px;
      padding: 8px 10px;
      font-weight: 500;
      box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
      width: 100%;
    }

    .variable-options {
      max-height: 220px;
      overflow-y: auto;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 8px;
      background: #fafbfc;
      display: grid;
      gap: 6px;
    }

    .variable-option {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
    }

    .view-toggle {
      display: flex;
      gap: 8px;
    }

    .toggle-btn {
      border: 1px solid var(--border);
      background: var(--card);
      border-radius: 10px;
      padding: 8px 12px;
      cursor: pointer;
      font-weight: 600;
      color: var(--text);
      box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
      transition: background 0.12s ease, color 0.12s ease, border 0.12s ease;
    }

    .toggle-btn.active {
      background: #e0e7ff;
      border-color: #c7d2fe;
      color: #1d4ed8;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      align-items: stretch;
      grid-auto-rows: 1fr;
    }

    .card-grid.list {
      grid-template-columns: 1fr;
    }

    .card {
      display: flex;
      flex-direction: column;
      gap: 6px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 14px;
      box-shadow: var(--shadow);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      cursor: pointer;
      border-top: 4px solid transparent;
      align-items: stretch;
    }

    .card:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 35px rgba(17, 24, 39, 0.12);
    }

    .card.type-remote {
      border-top-color: var(--type-remote);
    }

    .card.type-atmosphere {
      border-top-color: var(--type-atmosphere);
    }

    .card.type-climate {
      border-top-color: var(--type-climate);
    }

    .card.type-forecast {
      border-top-color: var(--type-forecast);
    }

    .card.type-hazard {
      border-top-color: var(--type-hazard);
    }

    .card h3 {
      margin: 0;
      font-size: 17px;
      line-height: 1.35;
      align-self: center;
    }

    .card small {
      color: var(--muted);
      font-size: 12.5px;
      line-height: 1.4;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
    }

    .card-grid.list .card-top {
      grid-area: title;
      align-items: center;
    }

    .card-grid.list .card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      grid-template-areas:
        "title preview"
        "meta preview";
      align-items: center;
      gap: 10px 16px;
    }

    .preview {
      background: linear-gradient(135deg, #dce8ff 0%, #cde3ff 50%, #c7d2fe 100%);
      border-radius: 12px;
      position: relative;
      overflow: hidden;
      display: grid;
      place-items: center;
      color: #2c3a4f;
      font-weight: 600;
      letter-spacing: 0.05em;
      aspect-ratio: 4 / 3;
      min-height: 180px;
      margin-bottom: 6px;
    }

    .preview::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, rgba(0,0,0,0.06), rgba(0,0,0,0.2));
      opacity: 0;
      transition: opacity 0.2s ease;
      pointer-events: none;
    }

    .preview.has-image {
      color: transparent;
      position: relative;
    }

    .preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .placeholder-text {
      padding: 0 12px;
      text-align: center;
    }

    .preview.has-image::before {
      opacity: 0.2;
    }

    .card-grid.list .preview {
      grid-area: preview;
      height: 190px;
      min-height: 190px;
      width: 100%;
    }

    .meta {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 6px;
      font-size: 12.5px;
      color: var(--muted);
      margin-top: 4px;
      margin-bottom: 4px;
    }

    .card-grid.list .meta {
      grid-area: meta;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      width: 100%;
      align-self: center;
      justify-items: start;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #eef2ff;
      color: #3b458f;
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 12px;
      font-weight: 600;
      border: 1px solid rgba(37, 99, 235, 0.12);
      width: fit-content;
    }

    .footer-meta {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 2px;
    }

    .footer-note {
      margin-top: 14px;
      color: var(--muted);
      font-size: 12.5px;
      text-align: right;
    }

    .type-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 12px;
      font-weight: 700;
      background: #eef2ff;
      color: #1f2937;
      border: 1px solid var(--border);
      text-transform: capitalize;
      white-space: nowrap;
    }

    .type-pill.climate {
      background: rgba(14,165,233,0.12);
      border-color: rgba(14,165,233,0.2);
      color: #0ea5e9;
    }

    .type-pill.remote {
      background: rgba(16,185,129,0.12);
      border-color: rgba(16,185,129,0.2);
      color: #0f9c69;
    }

    .type-pill.forecast {
      background: rgba(139,92,246,0.12);
      border-color: rgba(139,92,246,0.2);
      color: #7c3aed;
    }

    .type-pill.hazard {
      background: rgba(249,115,22,0.12);
      border-color: rgba(249,115,22,0.2);
      color: #ea580c;
    }

    .type-pill.atmosphere {
      background: rgba(6,182,212,0.12);
      border-color: rgba(6,182,212,0.2);
      color: #0ea5e9;
    }

    .type-pill .type-label {
      white-space: pre-line;
      line-height: 1.1;
      display: inline-block;
      text-align: left;
    }

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(17, 24, 39, 0.45);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 100;
    }

    .modal.active {
      display: flex;
    }

    .modal-card {
      background: var(--card);
      border-radius: 16px;
      padding: 20px 22px;
      max-width: 920px;
      width: 100%;
      max-height: 94vh;
      overflow: auto;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }

    .catalog-modal-card {
      max-width: 1120px;
    }

    .modal-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
    }

    .modal h2 {
      margin: 0 0 6px 0;
      font-size: 20px;
    }

    .modal-title-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .modal-title-row h2 {
      margin: 0;
      font-size: 20px;
      line-height: 1.3;
    }

    .modal .summary {
      font-size: 13px;
      color: var(--muted);
    }

    .modal-preview {
      margin: 12px 0 10px;
    }

    .modal-preview .preview {
      width: 100%;
      height: auto;
      min-height: 0;
      aspect-ratio: auto;
      border-radius: 0;
      overflow: visible;
      background: transparent;
      margin-bottom: 0;
    }

    .modal-preview .preview::before {
      display: none;
    }

    .modal-preview .preview img {
      width: 100%;
      height: auto;
      object-fit: contain;
      box-shadow: 0 9px 22px rgba(15, 23, 42, 0.22);
    }

    .close-btn {
      background: none;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 8px 10px;
      cursor: pointer;
      font-weight: 700;
      color: var(--muted);
    }

    .detail-grid {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin: 12px 0 16px;
      font-size: 14px;
    }

    .detail-item {
      padding: 6px 0;
      border-bottom: 1px solid var(--border);
    }

    .detail-item:last-child {
      border-bottom: none;
    }

    .detail-item span {
      display: block;
      word-break: break-word;
      white-space: normal;
    }

    .modal-section {
      margin-top: 14px;
      font-size: 14px;
    }

    .modal-section strong {
      display: block;
      margin-bottom: 6px;
    }

    .modal-list {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .modal-list li {
      margin-bottom: 6px;
    }

    .catalog-intro {
      margin: 8px 0 10px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    #catalog-modal .summary + .catalog-intro {
      margin-top: 4pt;
    }

    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 460px));
      gap: 20px 24px;
      justify-content: center;
    }

    .catalog-card {
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 16px;
      background: linear-gradient(135deg, rgba(15, 79, 168, 0.08), rgba(255, 255, 255, 0));
      display: flex;
      min-height: 280px;
    }

    :root.dark .catalog-card {
      background: linear-gradient(135deg, rgba(127, 180, 255, 0.12), rgba(15, 23, 42, 0));
    }

    .catalog-logo {
      width: 100%;
      height: 160px;
      border-radius: 14px;
      background: #ffffff;
      border: 1px solid rgba(15, 23, 42, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px;
    }

    .catalog-logo img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      display: block;
    }

    .catalog-card-body {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
    }

    .catalog-card h3 {
      margin: 0;
      font-size: 16px;
    }

    .catalog-card p {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.4;
      padding-bottom: 2pt;
    }

    #catalog-modal p:last-child {
      padding-bottom: 0;
    }

    .catalog-citation {
      font-size: 12px;
      color: var(--muted);
      margin-top: 2px;
    }

    .catalog-link {
      margin-top: auto;
      margin-top: 6px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 10px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--card);
      color: var(--accent);
      font-weight: 700;
      font-size: 12px;
      text-decoration: none;
      width: fit-content;
      align-self: center;
    }

    .catalog-link:hover {
      background: rgba(15, 79, 168, 0.08);
    }

    @media (max-width: 900px) {
      .catalog-grid {
        grid-template-columns: 1fr;
      }
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }

    th, td {
      border: 1px solid var(--border);
      padding: 10px;
      text-align: left;
      font-size: 14px;
    }

    th {
      background: #f3f4f6;
    }

    a {
      color: var(--accent);
      font-weight: 600;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    @media (max-width: 900px) {
      .controls {
        flex-direction: column;
        align-items: stretch;
      }
      .view-toggle {
        align-self: flex-end;
      }
    }

    @media (max-width: 640px) {
      header {
        padding: 16px;
      }
      main {
        padding: 16px;
      }
      .card {
        padding: 12px;
      }
      .card-grid.list .card {
        flex-direction: column;
      }
      .card-grid.list .preview {
        width: 100%;
        height: 160px;
      }
    }
