    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:         #0d1117;
      --surface:    #161b22;
      --surface-2:  #21262d;
      --border:     #30363d;
      --text:       #e6edf3;
      --muted:      #8b949e;
      --blue:       #3b82f6;
      --blue-dk:    #1d4ed8;
      --green:      #10b981;
      --green-dk:   #059669;
      --radius:     12px;
      --radius-sm:  8px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ---- Header ---- */
    .page-header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 0 32px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }

    .page-header-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text);
    }

    .page-header-logo .icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, #3b82f6, #1d4ed8);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      color: white;
    }

    .page-header-logo span {
      font-weight: 700;
      font-size: 15px;
    }
    
    /* ---- Main content ---- */
    main {
      flex: 1;
      padding: 56px 32px;
      max-width: 1000px;
      width: 100%;
      margin: 0 auto;
    }

    .page-title {
      text-align: center;
      margin-bottom: 56px;
    }

    .page-title h1 {
      font-size: 34px;
      font-weight: 800;
      letter-spacing: -.5px;
      margin-bottom: 10px;
    }

    .page-title p {
      font-size: 16px;
      color: var(--muted);
    }

    /* ---- Two-column groups ---- */
    .doc-groups {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    @media (max-width: 720px) {
      .doc-groups { grid-template-columns: 1fr; }
    }

    .doc-group {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .doc-group-label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: var(--muted);
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }

    /* ---- Cards ---- */
    .doc-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 22px 22px 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      text-decoration: none;
      color: inherit;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
      animation: rise .35s cubic-bezier(.22,1,.36,1) both;
    }

    .doc-card:hover {
      border-color: #484f58;
      box-shadow: 0 8px 24px rgba(0,0,0,.35);
      transform: translateY(-2px);
    }

    .doc-card.blue:hover { border-color: rgba(59,130,246,.45); }
    .doc-card.green:hover { border-color: rgba(16,185,129,.45); }

    @keyframes rise {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .doc-card:nth-child(1) { animation-delay: .05s; }
    .doc-card:nth-child(2) { animation-delay: .12s; }

    .doc-group:nth-child(2) .doc-card:nth-child(1) { animation-delay: .08s; }
    .doc-group:nth-child(2) .doc-card:nth-child(2) { animation-delay: .15s; }

    .card-top {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .card-icon {
      width: 46px;
      height: 46px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 19px;
      flex-shrink: 0;
    }

    .card-icon.blue {
      background: rgba(59,130,246,.12);
      border: 1px solid rgba(59,130,246,.2);
      color: #60a5fa;
    }

    .card-icon.green {
      background: rgba(16,185,129,.12);
      border: 1px solid rgba(16,185,129,.2);
      color: #34d399;
    }

    .card-info h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 3px;
    }

    .card-info span {
      font-size: 12px;
      color: var(--muted);
    }

    .card-desc {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
    }

    .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 10px;
      border-top: 1px solid var(--border);
    }

    .card-badge {
      font-size: 10px;
      font-weight: 600;
      padding: 3px 9px;
      border-radius: 100px;
      text-transform: uppercase;
      letter-spacing: .4px;
    }

    .card-badge.available {
      background: rgba(16,185,129,.12);
      color: #34d399;
      border: 1px solid rgba(16,185,129,.2);
    }

    .card-badge.draft {
      background: rgba(245,158,11,.1);
      color: #fbbf24;
      border: 1px solid rgba(245,158,11,.2);
    }

    .card-arrow {
      font-size: 13px;
      color: var(--muted);
      transition: color .18s, transform .18s;
    }

    .doc-card:hover .card-arrow {
      color: var(--text);
      transform: translateX(3px);
    }

    /* ---- Footer ---- */
    footer {
      text-align: center;
      padding: 24px;
      font-size: 12px;
      color: var(--muted);
      border-top: 1px solid var(--border);
    }

    footer a { color: var(--muted); text-decoration: none; }
    footer a:hover { color: var(--text); }