    :root {
      color-scheme: light;
      --paper: #f6f5f0;
      --surface: #fffefa;
      --ink: #202622;
      --muted: #737a73;
      --line: #e4e5dc;
      --green: #28634c;
      --green-soft: #e6f1e9;
      --red: #a63e35;
      --red-soft: #f8e9e5;
      --yellow: #986a17;
      --yellow-soft: #f8f0dc;
      --focus: #296b50;
      font-family: 'DM Sans', sans-serif;
      background: var(--paper);
      color: var(--ink);
    }

    * { box-sizing: border-box; }
    body { margin: 0; min-width: 320px; min-height: 100vh; }
    button, input, textarea, select { font: inherit; }
    button { cursor: pointer; }
    button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
      outline: 3px solid #91bfa2;
      outline-offset: 2px;
    }

    .topbar {
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 max(24px, calc((100vw - 1080px) / 2));
      border-bottom: 1px solid var(--line);
      background: rgba(255, 254, 250, .82);
    }
    .brand { color: var(--ink); text-decoration: none; font: 700 18px 'Space Grotesk', sans-serif; }
    .brand span { color: var(--green); }
    .top-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 12px 'DM Mono', monospace; }
    .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #56a271; box-shadow: 0 0 0 3px #e6f1e9; }

    main { width: min(100% - 40px, 900px); margin: 0 auto; padding: 54px 0 88px; }
    .eyebrow { margin: 0 0 12px; color: var(--green); font: 500 11px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: 0; }
    h1 { margin: 0; font: 600 38px/1.12 'Space Grotesk', sans-serif; letter-spacing: 0; }
    .intro { max-width: 570px; margin: 12px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.65; }
    .search-wrap { position: relative; margin-bottom: 19px; }
    .search-icon { position: absolute; left: 16px; top: 50%; color: #81877f; transform: translateY(-50%); pointer-events: none; }
    .search-input {
      width: 100%; height: 52px; padding: 0 18px 0 46px; border: 1px solid #d8dbd1;
      border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 15px;
      box-shadow: 0 2px 5px rgba(29, 40, 31, .025);
    }
    .search-input::placeholder { color: #92978f; }
    .filters { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
    .segmented { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #eeeee8; }
    .filter-button { min-height: 32px; padding: 0 13px; border: 0; border-radius: 4px; background: transparent; color: #626a62; font-size: 13px; }
    .filter-button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #17251c1a; }
    .result-count { color: var(--muted); font: 11px 'DM Mono', monospace; }
    .list { display: grid; gap: 8px; }
    .entry { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); animation: arrive .24s ease-out both; }
    .entry-copy { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.55; font-size: 14px; }
    .entry-meta { display: flex; flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 6px; }
    .badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; border-radius: 4px; font: 500 10px 'DM Mono', monospace; text-transform: uppercase; }
    .badge::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ''; }
    .badge.blocked { color: var(--red); background: var(--red-soft); }
    .badge.unblocked { color: var(--green); background: var(--green-soft); }
    .release-note { color: var(--yellow); font: 10px 'DM Mono', monospace; text-align: right; }
    .empty { padding: 38px 20px; border: 1px dashed #d4d8cd; border-radius: 6px; color: var(--muted); text-align: center; font-size: 14px; line-height: 1.7; }
    .empty strong { display: block; margin-bottom: 5px; color: var(--ink); font: 600 15px 'Space Grotesk', sans-serif; }
    .board-warning { margin: 0 0 24px; padding: 12px 14px; border: 1px solid #e5c77e; border-radius: 5px; background: var(--yellow-soft); color: #725313; font-size: 13px; line-height: 1.55; }
    .board-warning strong { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 600; }

    .staff-main { width: min(100% - 40px, 1000px); padding-top: 38px; }
    .staff-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
    .staff-heading .intro { margin-bottom: 0; }
    .back-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13px; white-space: nowrap; }
    .staff-grid { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.4fr); align-items: start; gap: 32px; }
    .section-title { margin: 0 0 14px; font: 600 16px 'Space Grotesk', sans-serif; }
    .add-form { padding: 19px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
    .field { display: grid; gap: 7px; margin-bottom: 16px; }
    .field label { color: #535c54; font: 500 11px 'DM Mono', monospace; text-transform: uppercase; }
    .field textarea, .field input, .field select {
      width: 100%; min-height: 40px; padding: 10px 11px; border: 1px solid #d8dbd1; border-radius: 4px;
      background: #fff; color: var(--ink); font-size: 13px;
    }
    .field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
    .field small { color: var(--muted); font-size: 11px; line-height: 1.5; }
    .primary-button, .small-button, .icon-button { min-height: 36px; border-radius: 4px; font-size: 12px; font-weight: 600; }
    .primary-button { width: 100%; border: 1px solid var(--green); background: var(--green); color: white; }
    .primary-button:hover { background: #204f3d; }
    .manage-list { display: grid; gap: 8px; }
    .manage-entry { min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
    .manage-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
    .manage-top .entry-copy { font-size: 13px; }
    .manage-actions { display: flex; align-items: center; gap: 7px; }
    .timer-form { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding-top: 10px; border-top: 1px solid #edeee8; }
    .timer-form input { min-width: 190px; height: 32px; padding: 0 8px; border: 1px solid #d8dbd1; border-radius: 4px; color: var(--ink); font: 11px 'DM Mono', monospace; }
    .small-button { min-height: 32px; padding: 0 10px; border: 1px solid #d8dbd1; background: white; color: #424a43; }
    .small-button:hover, .back-link:hover { background: #f2f4ee; }
    .small-button.remove { color: var(--red); }
    .no-timer { color: var(--muted); font: 10px 'DM Mono', monospace; }
    .manage-empty { padding: 28px 16px; border: 1px dashed #d4d8cd; border-radius: 5px; color: var(--muted); font-size: 13px; text-align: center; }
    .toast { position: fixed; right: 22px; bottom: 22px; z-index: 2; max-width: calc(100vw - 44px); padding: 12px 16px; border-radius: 5px; background: var(--ink); color: white; font-size: 13px; box-shadow: 0 8px 25px #17251c26; animation: arrive .18s ease-out; }
    .toast[hidden] { display: none; }
    @keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

    .login-main { width: min(100% - 40px, 420px); margin: 0 auto; padding: 64px 0 88px; }
    .login-form { padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
    .login-form .field { margin-bottom: 18px; }
    .login-form input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d8dbd1; border-radius: 4px; background: #fff; color: var(--ink); }
    .form-error { margin: 0 0 14px; color: var(--red); font-size: 13px; }
    .form-error[hidden] { display: none; }
    .login-back { margin-top: 18px; }
    .staff-nav { display: flex; align-items: center; gap: 8px; }
    .list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .list-heading .section-title { margin-bottom: 14px; }
    .timer-label { color: #535c54; font: 500 11px 'DM Mono', monospace; text-transform: uppercase; }
    .timer-form input { min-height: 32px; }
    .small-button:disabled { cursor: not-allowed; opacity: .5; }

    @media (max-width: 650px) {
      .topbar { height: 60px; padding: 0 20px; }
      main, .staff-main { width: min(100% - 32px, 900px); padding-top: 36px; }
      h1 { font-size: 32px; }
      .intro { margin-bottom: 23px; font-size: 14px; }
      .filters { align-items: flex-start; flex-direction: column; }
      .entry { align-items: flex-start; padding: 14px; }
      .entry-meta { align-items: flex-end; }
      .staff-heading { align-items: flex-start; flex-direction: column; }
      .staff-grid { grid-template-columns: 1fr; gap: 27px; }
      .timer-form input { flex: 1 1 100%; }
      .manage-top { gap: 8px; }
      .login-main { width: min(100% - 32px, 420px); padding-top: 42px; }
      .staff-nav { width: 100%; }
      .manage-actions { flex-wrap: wrap; justify-content: flex-end; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    }
