    /* Tarrytown Transits — light instrument-panel theme.
       Barlow Condensed for headings/labels (matches the stream overlays),
       Barlow for body. Flat surfaces, hairline rules, one amber accent.
       Squared corners throughout. */

    :root {
      --bg: #edf2f7;
      --surface: #ffffff;
      --inset: #f2f6fa;
      --text: #16293c;
      --muted: #5f7488;
      --accent: #a86f0a;
      --accent-fill: #f2c14e;
      --accent-ink: #1a1405;
      --blue: #0b5fa5;
      --primary: #0b5fa5;
      --primary-dark: #084a82;
      --line: #d3e0ec;
      --soft: #f2f6fa;
      --shadow: none;
      --radius: 6px;
      --downriver: rgba(255, 165, 0, 0.28);
      --upriver: rgba(0, 128, 255, 0.18);
      --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
      --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    }

    html {
      scroll-behavior: auto;
    }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      font-family: var(--body);
      line-height: 1.55;
      background: var(--bg);
    }

    img,
    iframe {
      max-width: 100%;
    }

    a {
      color: var(--blue);
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.94);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      width: min(1440px, calc(100% - 1.25rem));
      margin: 0 auto;
      padding: 0.55rem 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .brand {
      display: flex;
      align-items: center;
      color: inherit;
      text-decoration: none;
      min-width: 0;
    }

    .brand img {
      height: 44px;
      width: auto;
      max-width: 220px;
      flex: 0 0 auto;
      display: block;
    }

    .site-nav {
      flex: 1 1 auto;
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .site-nav ul {
      list-style: none;
      display: flex;
      gap: 0.25rem;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
    }

    .nav-link {
      display: inline-block;
      padding: 0.45rem 0.7rem;
      border-radius: 4px;
      text-decoration: none;
      color: var(--muted);
      font-family: var(--condensed);
      font-size: 1.02rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
      transition: 0.15s ease;
    }

    .nav-link:hover {
      color: var(--text);
      background: rgba(11, 95, 165, 0.09);
    }

    main {
      width: min(1440px, calc(100% - 1.25rem));
      margin: 1.25rem auto 3rem;
    }

    .hero {
      position: relative;
      scroll-margin-top: 105px;
      overflow: hidden;
      padding: 1.1rem 1.25rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      margin-bottom: 1.25rem;
      text-align: left;
    }

    .hero-kicker {
      margin: 0 0 0.3rem;
      font-family: var(--condensed);
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .hero h1 {
      margin: 0 0 0.35rem;
      font-family: var(--condensed);
      font-size: clamp(2rem, 4.5vw, 3rem);
      font-weight: 600;
      line-height: 1;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #0e2c47;
    }

    .lead {
      max-width: 78ch;
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      border: 1px solid var(--line);
      background: var(--inset);
      color: var(--muted);
      border-radius: 4px;
      padding: 0.35rem 0.6rem;
      font-family: var(--condensed);
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 1.1rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.6rem 1rem;
      border-radius: 4px;
      border: 1px solid transparent;
      font-family: var(--condensed);
      font-size: 1.05rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      transition: 0.15s ease;
    }

    .btn.primary {
      background: var(--accent-fill);
      color: var(--accent-ink);
    }

    .btn.primary:hover {
      background: #ffd277;
    }

    .btn.secondary {
      background: transparent;
      color: var(--text);
      border-color: var(--line);
    }

    .btn.secondary:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .page-section {
      margin-top: 1.9rem;
      scroll-margin-top: 105px;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 1rem;
      padding: 0.65rem 0;
      margin-bottom: 1rem;
    }

    .section-head h2 {
      margin: 0;
      font-family: var(--condensed);
      font-size: 1.9rem;
      font-weight: 600;
      line-height: 1;
      color: #0e2c47;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .section-head p {
      margin: 0.25rem 0 0;
      color: var(--muted);
      font-size: 0.95rem;
      max-width: 72ch;
    }

    .panel {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 1rem;
      box-shadow: none;
    }

    .panel h3 {
      margin: 0 0 0.45rem;
      font-family: var(--condensed);
      font-size: 1.35rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #0e2c47;
    }

    .panel-head {
      display: block;
      margin: 0 0 0.75rem;
    }

    .panel-head h3 {
      margin: 0;
    }

    .muted {
      color: var(--muted);
      font-size: 0.92rem;
      margin: 0;
    }

    .live-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
      align-items: stretch;
    }

    .stream-card {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      min-width: 0;
    }

    .responsive-iframe {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #000;
      border: 1px solid var(--line);
      border-radius: 4px;
      overflow: hidden;
    }

    .responsive-iframe iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .responsive-iframe:fullscreen {
      width: 100%;
      height: 100%;
      aspect-ratio: auto;
      border: 0;
      border-radius: 0;
      background: #000;
    }

    .responsive-iframe:-webkit-full-screen {
      width: 100%;
      height: 100%;
      border: 0;
      border-radius: 0;
      background: #000;
    }

    .fs-btn {
      position: absolute;
      right: 0.2rem;
      bottom: 0.2rem;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.3rem 0.5rem;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 4px;
      background: rgba(8, 30, 52, 0.72);
      -webkit-backdrop-filter: blur(2px);
      backdrop-filter: blur(2px);
      color: #fff;
      font-family: var(--condensed);
      font-size: 0.4rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: 0.15s ease;
    }

    .fs-btn:hover {
      border-color: var(--accent-fill);
      color: var(--accent-fill);
    }

    .fs-btn:focus-visible {
      outline: 2px solid var(--accent-fill);
      outline-offset: 2px;
    }

    .map-card {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      min-height: 480px;
    }

    .ais-map {
      position: relative;
      flex: 1 1 auto;
      min-height: 420px;
      border: 1px solid var(--line);
      border-radius: 4px;
      overflow: hidden;
      background: #dfe9f2;
    }

    .ais-map iframe {
      width: 100%;
      height: 100%;
      min-height: 420px;
      border: 0;
    }

    .table-card {
      margin-top: 1rem;
    }

    .table-shell {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 0.25rem;
    }

    table.dataTable {
      width: 100% !important;
      border-collapse: collapse;
      min-width: 760px;
      font-variant-numeric: tabular-nums;
    }

    #vesselTable.dataTable {
      min-width: 1100px;
    }

    .dataTable caption {
      caption-side: top;
      padding: 0 0 0.75rem;
      color: #0e2c47;
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 1.25rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      text-align: left;
    }

    .dataTable thead th {
      background: var(--inset);
      color: var(--muted);
      font-family: var(--condensed);
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.55rem;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: bottom;
      white-space: nowrap;
    }

    .dataTable tbody td {
      padding: 0.55rem;
      border-bottom: 1px solid #e4edf5;
      color: var(--text);
      vertical-align: middle;
      font-variant-numeric: tabular-nums;
    }

    .dataTable tbody tr:hover td {
      background: #f4f8fc;
    }

    .highlight-downriver td {
      background: var(--downriver) !important;
    }

    .highlight-upriver td {
      background: var(--upriver) !important;
    }

    .legend {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
      color: var(--muted);
      font-size: 0.88rem;
      margin-top: 0.8rem;
      padding: 0.6rem 0.75rem;
      background: var(--inset);
      border: 1px solid var(--line);
      border-radius: 4px;
    }

    .legend-item {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .color-box {
      width: 12px;
      height: 12px;
      border-radius: 2px;
      display: inline-block;
    }

    .color-box.downriver {
      background: rgba(255, 165, 0, 0.55);
    }

    .color-box.upriver {
      background: rgba(0, 128, 255, 0.55);
    }

    .link-no-underline {
      color: inherit;
      text-decoration: none;
      border-bottom: 1px dotted #9db4c8;
    }

    .link-no-underline:hover {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
      margin: 0.55rem 0;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .dataTables_wrapper label {
      color: var(--muted);
      font-size: 0.9rem;
    }

    .dataTables_wrapper .dataTables_filter input,
    .dataTables_wrapper .dataTables_length select {
      padding: 0.4rem 0.55rem;
      border: 1px solid var(--line);
      border-radius: 4px;
      background: #fff;
      color: var(--text);
    }

    .dataTables_wrapper .dataTables_filter input {
      min-width: 190px;
    }

    .dataTables_wrapper .dataTables_filter input:focus,
    .dataTables_wrapper .dataTables_length select:focus,
    .dataTables_wrapper .paginate_button:focus {
      outline: 2px solid var(--accent-fill);
      outline-offset: 2px;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
      color: var(--muted) !important;
      border: 1px solid transparent !important;
      border-radius: 4px !important;
      background: transparent !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
      color: var(--text) !important;
      border-color: var(--line) !important;
      background: var(--inset) !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
      color: var(--accent-ink) !important;
      background: var(--accent-fill) !important;
      border-color: var(--accent-fill) !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
      color: #a9bccd !important;
      background: transparent !important;
      border-color: transparent !important;
    }

    .dataTables_wrapper .dataTables_empty {
      color: var(--muted);
    }

    .project-modules {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 0.9rem;
      margin-top: 1rem;
    }

    .project-link {
      display: flex;
      gap: 0.85rem;
      align-items: flex-start;
      padding: 1rem;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      color: inherit;
      box-shadow: none;
      text-decoration: none;
      transition: 0.15s ease;
    }

    .project-link:hover {
      border-color: var(--accent);
    }

    .project-icon {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      border-radius: 4px;
      background: var(--inset);
      border: 1px solid var(--line);
      color: var(--accent);
      font-size: 1.15rem;
    }

    .project-text h3 {
      margin: 0.1rem 0 0.25rem;
      font-family: var(--condensed);
      font-size: 1.2rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #0e2c47;
    }

    .project-text p {
      margin: 0;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .yolo-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
      align-items: start;
    }

    .project-note {
      padding: 1rem;
      border-radius: 4px;
      background: var(--inset);
      border: 1px solid var(--line);
    }

    .project-note h3 {
      margin: 0 0 0.35rem;
      color: #0e2c47;
      font-size: 1.3rem;
    }

    .project-note .date {
      margin: 0 0 0.85rem;
      color: var(--muted);
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .project-note p {
      margin: 0 0 0.85rem;
      color: var(--muted);
    }

    .project-note p:last-child {
      margin-bottom: 0;
    }

    .project-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
      gap: 0.5rem;
      margin-top: 0.85rem;
    }

    .stat {
      padding: 0.6rem;
      border: 1px solid var(--line);
      border-radius: 4px;
      background: var(--surface);
      color: var(--accent);
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 1.05rem;
      letter-spacing: 0.04em;
      text-align: center;
      font-variant-numeric: tabular-nums;
    }

    .results-wrap {
      margin-top: 1rem;
    }

    .results-img {
      display: block;
      width: 100%;
      max-width: 760px;
      margin: 0 auto;
      border-radius: 4px;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: none;
    }

    .dashboard-shell {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      height: 1600px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--inset);
      box-shadow: none;
    }

    .dashboard-shell iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .download-row {
      display: flex;
      justify-content: flex-end;
      margin: 0 0 0.85rem;
    }

    .table-filter-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem 0.9rem;
      margin: 0 0 0.7rem;
      color: var(--muted);
      font-size: 0.85rem;
    }

    .table-filter-row label {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      cursor: pointer;
      color: var(--text);
    }

    .table-filter-row input[type="checkbox"] {
      width: 1rem;
      height: 1rem;
      accent-color: var(--accent);
    }

    .download-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.9rem;
      background: transparent;
      border: 1px solid var(--line);
      color: var(--text);
      border-radius: 4px;
      font-family: var(--condensed);
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      transition: 0.15s ease;
    }

    .download-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .download-btn:active {
      transform: none;
    }

    .footer {
      margin-top: 3rem;
      padding: 1.4rem 1rem 2rem;
      background: #0e2c47;
      color: #dbe7f2;
      border-top: 1px solid #0e2c47;
    }

    .footer-inner {
      width: min(1440px, calc(100% - 1.25rem));
      margin: 0 auto;
      display: grid;
      gap: 0.75rem;
      text-align: center;
    }

    .footer p {
      margin: 0;
      color: #dbe7f2;
    }

    .footer small {
      display: block;
      color: #93a9bc;
    }

    .socials {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 0.25rem;
    }

    .socials a {
      color: #93a9bc;
      font-size: 1.4rem;
      transition: 0.15s ease;
    }

    .socials a:hover {
      color: var(--accent-fill);
    }

    .fireshare-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
      gap: 0.75rem;
    }

    .fireshare-card {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .fireshare-media {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 4px;
      background: #000;
    }

    .fireshare-play {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: pointer;
    }

    .fireshare-card img,
    .fireshare-card video {
      display: block;
      width: 100%;
      height: 100%;
      border: 0;
    }

    .fireshare-card img {
      object-fit: cover;
    }

    .fireshare-card video {
      object-fit: contain;
    }

    .fireshare-play-badge {
      position: absolute;
      right: 0.5rem;
      bottom: 0.5rem;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      background: rgba(8, 30, 52, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #fff;
      font-family: var(--condensed);
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.06em;
    }

    .fireshare-native-link {
      align-self: flex-start;
      font-size: 0.85rem;
      font-weight: 700;
    }

    .count-line {
      margin: 0.15rem 0 0;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.35;
    }

    .count-label {
      color: var(--muted);
    }

    #total-video-count {
      color: var(--accent);
      font-variant-numeric: tabular-nums;
    }

    .count-link {
      color: var(--blue);
      font-weight: 600;
      text-decoration: none;
    }

    .count-link:hover {
      text-decoration: underline;
    }

    @media (max-width: 1000px) {
      .live-grid,
      .yolo-grid {
        grid-template-columns: 1fr;
      }

      .map-card {
        min-height: 380px;
      }

      .ais-map {
        min-height: 380px;
      }

      .ais-map iframe {
        min-height: 380px;
      }
    }

    @media (max-width: 720px) {
      .header-inner {
        padding: 0.55rem 0;
      }

      .brand img {
        height: 38px;
        max-width: 140px;
      }

      .hero {
        padding: 1rem;
      }

      .hero-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .section-head {
        flex-direction: column;
        align-items: start;
      }

      .download-row {
        justify-content: stretch;
      }

      .download-btn {
        width: 100%;
        justify-content: center;
      }

      @media (max-width: 1024px) {
        .dashboard-shell {
          height: 2900px;
        }
      }

      @media (max-width: 768px) {
        .dashboard-shell {
          height: 2900px;
        }
      }
    }
