    :root {
      --bg: #0f172a;
      --card: #111827;
      --text: #e5e7eb;
      --muted: #9ca3af;
      --accent: #60a5fa;
      --accent-2: #34d399;
      --focus: #f59e0b;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
      background: radial-gradient(1200px 800px at 25% 20%, #0b132e 0%, var(--bg) 60%);
      color: var(--text);
      line-height: 1.6;
    }
    header {
      padding: 2rem 1rem;
      text-align: center;
    }
    header h1 {
      margin: 0 0 .5rem;
      font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    }
    header p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }
    main {
      max-width: 1000px;
      margin: 2rem auto;
      padding: 0 1rem 3rem;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
    }
    .card {
      background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 12px;
      padding: 1rem;
      transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
    }
    .card:focus-within,
    .card:hover {
      transform: translateY(-2px);
      border-color: rgba(96,165,250,.5);
      box-shadow: 0 6px 20px rgba(0,0,0,.35);
    }
    .card h2 {
      display: flex;
      align-items: center;
      gap: .5rem;
      margin: .25rem 0 .5rem;
      font-size: 1.15rem;
    }
    .card p { margin: .5rem 0 1rem; color: var(--muted); }
    .links {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
    }
    .link {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      padding: .5rem .75rem;
      border-radius: 10px;
      background: #0b1020;
      border: 1px solid rgba(255,255,255,.1);
      color: var(--text);
      text-decoration: none;
      font-size: .95rem;
    }
    .link:hover, .link:focus {
      outline: none;
      border-color: rgba(245,158,11,.7);
      box-shadow: 0 0 0 3px rgba(245,158,11,.2);
    }

      .linkcolor {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      padding: .5rem .75rem;
      border-radius: 10px;
      background: #032493;
      border: 1px solid rgba(255,255,255,.1);
      color: var(--text);
      text-decoration: none;
      font-size: .95rem;
    }
    .linkcolor:hover, .link:focus {
      outline: none;
      border-color: rgba(245,158,11,.7);
      box-shadow: 0 0 0 3px rgba(245,158,11,.2);
    }
    .badge {
      font-size: .8rem;
      color: var(--muted);
      border: 1px solid rgba(255,255,255,.1);
      padding: .15rem .4rem;
      border-radius: 8px;
    }
    footer {
      max-width: 1000px;
      margin: 0 auto;
      padding: 1rem;
      color: var(--muted);
      font-size: .9rem;
    }
    nav.breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
      align-items: center;
      margin: 1rem 0 0;
    }
    nav.breadcrumbs a {
      color: var(--accent);
      text-decoration: none;
      border-bottom: 1px dashed rgba(96,165,250,.4);
    }
    nav.breadcrumbs a:hover { color: var(--accent-2); border-bottom-color: rgba(52,211,153,.5); }
    /* prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
      .card:hover { transform: none; }
      * { scroll-behavior: auto; }
    }

    .right-align {
      text-align: right;
    }
    
    
    .centered-div {
      width: 300px;
      margin: 0 auto;
    }
    
.task-list.custom .task-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* Hide native but keep it focusable/readable */
.task-list.custom input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

/* Draw the custom box */
.task-list.custom .checkbox {
  width: 1rem;
  height: 1rem;
  border: 2px solid #94a3b8;
  border-radius: 0.2rem;
  display: inline-block;
  background: #fff;
  box-shadow: inset 0 0 0 2px transparent;
  transition: all 120ms ease;
}

/* Checked state */
.task-list.custom input[type="checkbox"]:checked + .checkbox {
  border-color: #2d6cdf;
  background: #2d6cdf;
}

/* Add a tick */
.task-list.custom input[type="checkbox"]:checked + .checkbox::after {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.25rem;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  transform: translate(3px, 2px) rotate(-45deg);
}

/* Focus ring for accessibility */
.task-list.custom input[type="checkbox"]:focus-visible + .checkbox {
  outline: 2px solid #2d6cdf;
  outline-offset: 2px;
}

/* Completed text style */
.task-list.custom input[type="checkbox"]:checked ~ .task-label {
  color: #6b7280;
  text-decoration: line-through;
}

/* Sublist indentation */
.task-sublist {
  margin-left: 2rem;   /* indent nested list */
  padding-top: 0.25rem;
}

