/* Generated by generate_dashboard.py: shared header, nav, and layout. */

    :root {
      --bg: #121212;
      --bg-deep: #0b0e14;
      --card: #161b22;
      --card-raised: #1a1f28;
      --text: #e6edf3;
      --muted: #8b949e;
      --border: rgba(232, 232, 232, 0.1);
      --border-strong: #2a3140;
      --tide-red: #c8102e;
      --tide-gold: #f5b800;
      --tide-blue: #5db8e8;
      --tide-white: #ffffff;
      --accent: var(--tide-gold);
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
      --radius: 10px;
      --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
      --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
    }
    * { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #4a5160 transparent; }
    body {
      margin: 0;
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }
    html {
      scrollbar-width: thin;
      scrollbar-color: #4a5160 transparent;
    }
    *::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    *::-webkit-scrollbar-track,
    *::-webkit-scrollbar-corner {
      background: transparent;
    }
    *::-webkit-scrollbar-thumb {
      background-color: #4a5160;
      border: 2px solid transparent;
      border-radius: 8px;
      background-clip: padding-box;
    }
    *::-webkit-scrollbar-thumb:hover {
      background-color: #6b7380;
    }
    h1, h2, h3, h4 {
      font-family: var(--font-display);
      font-weight: 400;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    p, li, label, .meta, .intro, .resource-desc, .tip-note, a {
      font-family: var(--font-body);
    }

    @font-face {
      font-family: "KyrillaSansSerif";
      src: url("fonts/KyrillaSansSerif-Bold.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    .title-bar-sentinel {
      display: block;
      width: 1px;
      height: 1px;
      margin: 0;
      padding: 0;
      overflow: hidden;
      pointer-events: none;
      opacity: 0;
    }
    .title-bar {
      position: sticky;
      top: 0;
      z-index: 3500;
      overflow: visible;
      border-bottom: 1px solid transparent;
      background-color: rgba(18, 18, 18, 0.95);
      box-shadow: none;
      /* Do not transition background-color on this sticky header: Chrome can
         stick the computed background at transparent afterward. */
    }
    .title-bar.is-scrolled {
      border-bottom-color: rgba(255, 255, 255, 0.18);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
    }
    .title-bar-inner {
      position: relative;
      z-index: 1;
      max-width: 1100px;
      margin: 0 auto;
      padding: 12px 24px;
      min-height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      overflow: visible;
    }
    .title-bar-brand {
      text-decoration: none;
      color: inherit;
      min-width: 0;
      position: relative;
      z-index: 1;
    }
    .title-bar h1 {
      margin: 0;
      text-align: left;
      font-family: "KyrillaSansSerif", var(--font-display);
      font-weight: 400;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      font-size: clamp(2.26rem, 6.38vw, 3.33rem);
      line-height: 1.05;
      color: #e07040;
      background-image: linear-gradient(
        90deg,
        #f2c28a 0%,
        #e8874a 22%,
        #c94a3a 48%,
        #8a3d55 76%,
        #d8c0a0 100%
      );
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    @supports not ((-webkit-background-clip: text) or (background-clip: text)) {
      .title-bar h1 {
        color: #e07040;
        background-image: none;
        -webkit-text-fill-color: currentColor;
      }
    }
    .title-bar .site-nav-root {
      position: relative;
      top: auto;
      right: auto;
      transform: none;
      display: flex;
      align-items: center;
      flex: 0 0 auto;
      z-index: 4000;
      overflow: visible;
    }
    .site-nav-root {
      position: relative;
      z-index: 4000;
    }
    .site-nav-desktop {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .site-nav-desktop a {
      display: inline-flex;
      align-items: center;
      padding: 8px 12px;
      border-radius: 8px;
      color: var(--muted);
      font-family: var(--font-body);
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      text-decoration: none;
      white-space: nowrap;
      transition: color 0.15s ease, background 0.15s ease;
    }
    .site-nav-desktop a:hover,
    .site-nav-desktop a:focus-visible {
      outline: none;
      color: var(--tide-white);
      background: rgba(255, 255, 255, 0.06);
    }
    .site-nav-desktop a[aria-current="page"] {
      color: var(--tide-gold);
    }
    .site-nav-toggle {
      display: none;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      border-radius: 8px;
      background: transparent;
      box-shadow: none;
      cursor: pointer;
      padding: 0;
      color: var(--tide-white);
      -webkit-tap-highlight-color: transparent;
      position: relative;
      z-index: 2;
    }
    .title-bar.is-scrolled .site-nav-toggle {
      border-color: rgba(255, 255, 255, 0.14);
      background: rgba(22, 27, 34, 0.55);
    }
    .site-nav-toggle:hover,
    .site-nav-toggle:focus-visible {
      outline: none;
      border-color: var(--tide-gold);
    }
    .site-nav-burger {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 18px;
      height: 12px;
      pointer-events: none;
    }
    .site-nav-burger span {
      display: block;
      height: 2px;
      width: 100%;
      border-radius: 1px;
      background: var(--tide-white);
      transition: transform 0.18s ease, opacity 0.18s ease;
    }
    .site-nav-root.is-open .site-nav-burger span:nth-child(1) {
      transform: translateY(5px) rotate(45deg);
    }
    .site-nav-root.is-open .site-nav-burger span:nth-child(2) {
      opacity: 0;
    }
    .site-nav-root.is-open .site-nav-burger span:nth-child(3) {
      transform: translateY(-5px) rotate(-45deg);
    }
    .site-nav-mobile {
      position: fixed;
      top: 0;
      right: 0;
      min-width: 11.5rem;
      padding: 8px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 10px;
      background: rgba(22, 27, 34, 0.98);
      box-shadow: var(--shadow);
      display: none;
      flex-direction: column;
      gap: 2px;
      z-index: 10050;
    }
    .site-nav-root.is-open .site-nav-mobile,
    .site-nav-mobile.is-open {
      display: flex;
    }
    .site-nav-mobile[hidden] {
      display: none !important;
    }
    .site-nav-mobile a {
      display: block;
      padding: 10px 12px;
      border-radius: 7px;
      color: var(--tide-white);
      font-size: 0.92rem;
      font-weight: 600;
      text-decoration: none;
    }
    .site-nav-mobile a:hover,
    .site-nav-mobile a:focus-visible {
      outline: none;
      background: rgba(93, 184, 232, 0.12);
      color: var(--tide-blue);
    }
    .site-nav-mobile a[aria-current="page"] {
      color: var(--tide-gold);
    }
    @media (max-width: 760px) {
      .title-bar-inner {
        padding: 10px 16px;
        min-height: 56px;
      }
      .site-nav-desktop {
        display: none;
      }
      .site-nav-toggle {
        display: inline-flex;
      }
    }

    .wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
    .panel {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 20px 0;
      margin-bottom: 20px;
      box-shadow: none;
    }
    .panel h2 {
      margin: 0 0 10px;
      font-size: 1.15rem;
      color: var(--tide-white);
    }
    .meta {
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 0.9rem;
    }
    .site-footer {
      margin-top: 28px;
      padding: 16px 0 6px;
      border-top: none;
      text-align: center;
      color: var(--muted);
      font-size: 0.78rem;
    }
    .site-footer a {
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      text-decoration: none;
    }
    .site-footer a:hover { color: #b0b8c0; text-decoration: underline; }
    .site-footer-mark {
      display: block;
      width: 72px;
      height: 72px;
      margin: 0 auto 10px;
    }
    .site-footer-mark img {
      display: block;
      width: 72px;
      height: 72px;
    }
    .site-footer a.site-footer-mark:hover {
      text-decoration: none;
    }
    @media (max-width: 760px) {
      .wrap { padding: 16px; }
      .panel { padding: 16px 0; }
    }
