.scag-root, .scag-root * { box-sizing: border-box; }
  .scag-root {
    --scag-bg: #f4f6fa;
    --scag-paper: #ffffff;
    --scag-surface: #e8edf4;
    --scag-text: #253551;
    --scag-text-muted: #5a6478;
    --scag-text-faint: #94a0b5;
    --scag-rule: #d6dde9;
    --scag-rule-strong: #b8c2d4;
    --scag-accent: #253551;
    --scag-ink: #253551;
    --scag-good-bg: #eaf3de;
    --scag-good-text: #173404;
    --scag-good-accent: #5e8f1f;
    --scag-bad-bg: #fcebeb;
    --scag-bad-text: #501313;
    --scag-bad-accent: #a32d2d;
    --scag-quote-bg: #e8edf4;
    --scag-quote-text: #253551;
    --scag-quote-accent: #4d5d8a;
    --scag-takeaway-bg: #f7e9d2;
    --scag-takeaway-text: #412402;
    --scag-takeaway-accent: #b06d10;

    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--scag-text);
    line-height: 1.55;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    font-weight: 400;
  }
  .scag-root h1, .scag-root h2, .scag-root h3, .scag-root h4 {
    font-family: inherit; color: inherit; margin: 0; line-height: 1.2;
    font-weight: 600; letter-spacing: -0.01em;
  }
  .scag-root p { margin: 0; }
  .scag-root button { font-family: inherit; cursor: pointer; }
  .scag-root a { color: var(--scag-accent); text-decoration: none; }
  .scag-root a:hover { text-decoration: underline; }
  .scag-root i.fa, .scag-root i.fas, .scag-root i.far, .scag-root i.fa-solid, .scag-root i.fa-regular { font-style: normal; }

  /* ============ MASTHEAD ============ */
  .scag-masthead {
    padding: 56px 0 36px;
    border-bottom: 1px solid var(--scag-rule);
    margin-bottom: 40px;
    text-align: center;
  }
  .scag-masthead-eyebrow {
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--scag-text-muted); text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
  }
  .scag-masthead-eyebrow::before,
  .scag-masthead-eyebrow::after {
    content: ""; flex: 0 0 40px; height: 1px; background: var(--scag-rule-strong);
  }
  .scag-masthead h1 {
    font-size: 56px; font-weight: 600; letter-spacing: -0.025em;
    margin-bottom: 14px; line-height: 1.05;
  }
  .scag-masthead h1 em {
    font-family: 'Poppins'; font-style: italic;
    font-weight: 300; color: var(--scag-text-muted);
  }
  .scag-masthead-lead {
    font-size: 17px; color: var(--scag-text-muted);
    max-width: 56ch; margin: 0 auto !important;
    line-height: 1.6; font-weight: 300;
    text-align: center !important;
  }

  /* ============ CONTROLS ============ */
  .scag-controls {
    display: flex; gap: 16px; align-items: center;
    margin-bottom: 36px; flex-wrap: wrap;
    padding: 0 4px;
  }
  .scag-search-wrap {
    flex: 1 1 280px; min-width: 240px; position: relative;
  }
  .scag-search-wrap i {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--scag-text-faint); font-size: 13px;
  }
  .scag-search {
    width: 100%; padding: 12px 16px 12px 40px;
    font-family: inherit; font-size: 14px;
    border: 1px solid var(--scag-rule-strong);
    background: var(--scag-paper);
    border-radius: 999px;
    color: var(--scag-text); outline: none;
    transition: border-color 0.15s;
  }
  .scag-search:focus { border-color: var(--scag-text); }
  .scag-search::placeholder { color: var(--scag-text-faint); }

  .scag-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
  .scag-chip {
    font-size: 12.5px; padding: 7px 14px;
    border-radius: 999px;
    background: transparent;
    color: var(--scag-text-muted);
    border: 1px solid var(--scag-rule-strong);
    cursor: pointer; transition: all 0.15s;
    font-weight: 500;
  }
  .scag-chip:hover { color: var(--scag-text); border-color: var(--scag-text); }
  .scag-chip.is-active {
    background: var(--scag-ink); color: var(--scag-bg);
    border-color: var(--scag-ink);
  }
  .scag-chip.is-disabled { opacity: 0.5; cursor: default; }

  /* Read-progress chip on the index — only shown when logged in */
  .scag-progress-pill {
    font-size: 13px; letter-spacing: 0.04em;
    text-transform: uppercase; font-weight: 600;
    color: var(--scag-good-text);
    padding: 9px 16px;
    background: var(--scag-good-bg);
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--scag-good-accent) 35%, transparent);
    display: inline-flex; align-items: center; gap: 9px;
  }
  .scag-progress-pill i { color: var(--scag-good-accent); font-size: 12px; }

  /* ============ FEATURED ============ */
  .scag-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    padding: 8px 4px 48px;
    border-bottom: 1px solid var(--scag-rule);
    margin-bottom: 40px;
    cursor: pointer;
    align-items: center;
  }
  .scag-featured-text { padding-right: 16px; position: relative; }
  .scag-featured-eyebrow {
    font-size: 11px; letter-spacing: 0.16em;
    color: var(--scag-quote-accent); text-transform: uppercase;
    font-weight: 600; margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
  }
  .scag-featured-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--scag-quote-accent);
  }
  .scag-featured h2 {
    font-size: 42px; font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.05;
    margin-bottom: 18px;
  }
  .scag-featured-hook {
    font-size: 17px; color: var(--scag-text-muted);
    line-height: 1.55; max-width: 42ch;
    margin-bottom: 22px; font-weight: 300;
  }
  .scag-featured-meta { display: flex; gap: 14px; align-items: center; font-size: 12.5px; color: var(--scag-text-muted); flex-wrap: wrap; }
  .scag-featured-meta .sep { color: var(--scag-rule-strong); }
  .scag-featured-meta .read-link {
    color: var(--scag-text); font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px;
    border-bottom: 1px solid var(--scag-text);
    padding-bottom: 1px;
  }
  .scag-featured-art {
    aspect-ratio: 4 / 3;
    background: var(--scag-ink);
    border-radius: 4px;
    color: var(--scag-bg);
    padding: 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
  }
  .scag-featured-art::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 80%, rgba(214,221,233,0.10), transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(214,221,233,0.06), transparent 50%);
  }
  .scag-featured-art-icon {
    width: 64px; height: 64px;
    border: 1px solid rgba(214,221,233,0.30);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: rgba(214,221,233,0.85);
    position: relative;
  }
  .scag-featured-art-num {
    font-family: 'Poppins'; font-style: italic; font-weight: 300;
    font-size: 96px; line-height: 1; color: rgba(214,221,233,0.20);
    align-self: flex-end;
    position: relative;
  }

  /* ============ SECTION HEADERS ============ */
  .scag-section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end; gap: 24px;
    padding-bottom: 14px; margin-bottom: 22px;
    border-bottom: 1px solid var(--scag-rule);
  }
  .scag-section-head h3 {
    font-size: 13px; letter-spacing: 0.18em;
    text-transform: uppercase; font-weight: 600;
    color: var(--scag-text);
    display: flex; align-items: center; gap: 12px;
  }
  .scag-section-head .scag-section-roman {
    font-family: 'Poppins'; font-style: italic; font-weight: 300;
    font-size: 15px; letter-spacing: 0; text-transform: none;
    color: var(--scag-text-faint);
  }
  .scag-section-head-sub {
    font-size: 13px; color: var(--scag-text-muted);
    font-weight: 300; max-width: 50ch; line-height: 1.5;
    text-align: right;
  }

  /* ============ GRID + CARDS ============ */
  .scag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 32px;
    margin-bottom: 48px;
  }
  .scag-card {
    cursor: pointer;
    display: flex; flex-direction: column;
    transition: transform 0.18s;
    position: relative;
  }
  .scag-card:hover { transform: translateY(-3px); }
  .scag-card.is-coming-soon { cursor: default; opacity: 0.55; }
  .scag-card.is-coming-soon:hover { transform: none; }
  .scag-card.is-locked { cursor: pointer; }
  .scag-card.is-locked .scag-card-art {
    position: relative;
    filter: grayscale(0.55);
  }
  .scag-card.is-locked .scag-card-art::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(244, 246, 250, 0.55);
    pointer-events: none;
  }
  .scag-card-lock {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 38px;
    color: var(--scag-text-muted);
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  }
  .scag-card.is-locked .scag-card-art-glyph { display: none; }
  .scag-featured.is-locked .scag-featured-art-icon { display: none; }
  .scag-card.is-locked h4 { color: var(--scag-text-muted); }
  .scag-card.is-locked .scag-card-hook { color: var(--scag-text-faint); }
  .scag-featured.is-locked .scag-featured-art { filter: grayscale(0.4); opacity: 0.85; }

  /* "Read" stamp — top-left of card art, only on completed cards.
     Designed to feel like an editorial postmark rather than UI chrome:
     small, opaque, slightly rotated, sitting over the card art. */
  /* "Read" stamp — top-left of card art, only on completed cards.
     Green tone matches the design system's "Good practice" palette so
     completion reads as a positive editorial marker rather than UI chrome. */
  .scag-read-stamp {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--scag-good-accent);
    color: #fff;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(94, 143, 31, 0.28);
  }
  .scag-read-stamp i { font-size: 11px; }

  /* Featured-card variant — slightly larger to hold its own on the big dark art */
  .scag-featured .scag-read-stamp {
    top: 18px; left: 18px;
    font-size: 13px; padding: 7px 14px;
  }

  .scag-signin-link {
    font-size: 12.5px; padding: 7px 14px;
    border-radius: 999px;
    background: var(--scag-text);
    color: var(--scag-bg) !important;
    border: 1px solid var(--scag-text);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex; align-items: center;
    transition: opacity 0.15s;
  }
  .scag-signin-link:hover { opacity: 0.88; text-decoration: none !important; }

  .scag-locked-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 96px 32px 80px;
    text-align: center; max-width: 540px; margin: 0 auto;
    color: var(--scag-text-muted);
  }
  .scag-locked-icon-wrap {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--scag-surface);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 36px;
  }
  .scag-locked-icon-wrap i.fa-lock { font-size: 36px; color: var(--scag-text-muted); }
  .scag-locked-eyebrow {
    font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--scag-quote-accent);
    font-weight: 600; margin-bottom: 24px;
  }
  .scag-locked-body h2 {
    font-size: 34px; color: var(--scag-text);
    letter-spacing: -0.02em; line-height: 1.15;
    margin-bottom: 24px;
  }
  .scag-locked-hook {
    font-size: 17px; color: var(--scag-text-muted);
    line-height: 1.55; margin-bottom: 56px !important;
    font-weight: 300; max-width: 42ch; text-align: center;
  }
  .scag-locked-cta {
    display: inline-flex; align-items: center;
    padding: 14px 26px;
    background: var(--scag-text); color: var(--scag-bg) !important;
    border-radius: 999px;
    font-size: 14px; font-weight: 500;
    text-decoration: none !important;
    transition: opacity 0.15s; margin-bottom: 64px;
  }
  .scag-locked-cta:hover { opacity: 0.88; text-decoration: none !important; }
  .scag-locked-note {
    font-size: 13px; color: var(--scag-text-faint);
    line-height: 1.65; max-width: 38ch; text-align: center;
  }
  .scag-locked-note::before {
    content: '';
    display: block; width: 4px; height: 4px;
    border-radius: 50%; background: var(--scag-rule-strong);
    margin: 0 auto 24px;
  }

  .scag-card-art {
    aspect-ratio: 4 / 3;
    background: var(--scag-paper);
    border: 1px solid var(--scag-rule);
    border-radius: 4px;
    margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .scag-card-art-glyph { font-size: 38px; color: var(--scag-text-muted); transition: color 0.2s; }
  .scag-card:hover .scag-card-art-glyph { color: var(--scag-text); }
  .scag-card-art-num {
    position: absolute; top: 12px; left: 14px;
    font-family: 'Poppins'; font-style: italic; font-weight: 300;
    font-size: 13px; color: var(--scag-text-faint);
    letter-spacing: 0.04em;
  }
  /* When a "Read" stamp is in the top-left, hide the issue number to avoid clash */
  .scag-card[data-completed="true"] .scag-card-art-num { display: none; }

  .scag-card-art-time {
    position: absolute; bottom: 12px; right: 14px;
    font-size: 11px; color: var(--scag-text-faint);
    letter-spacing: 0.04em; text-transform: uppercase;
  }
  .scag-card-cat {
    font-size: 10.5px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--scag-text-muted);
    font-weight: 600; margin-bottom: 6px;
  }
  .scag-card h4 {
    font-size: 19px; font-weight: 600;
    letter-spacing: -0.01em; line-height: 1.2;
    margin-bottom: 8px;
  }
  .scag-card-hook {
    font-size: 14px; color: var(--scag-text-muted);
    line-height: 1.55; font-weight: 300;
  }
  .scag-card-badges {
    margin-top: 10px;
    display: flex; gap: 6px;
  }

  .scag-card-art.cat-difficult-personalities { background: linear-gradient(135deg, #f4dee8, #e6c4d4); }
  .scag-card-art.cat-tough-conversations { background: linear-gradient(135deg, #efedf8, #e0dcf2); }
  .scag-card-art.cat-core-skills { background: linear-gradient(135deg, #ecf3df, #d8e8c4); }
  .scag-card-art.cat-complex-consultations { background: linear-gradient(135deg, #dcecec, #b8d8d8); }

  /* ============ BADGES ============ */
  .scag-badge {
    font-size: 10.5px; padding: 3px 9px;
    border-radius: 999px; font-weight: 500;
    letter-spacing: 0.04em; text-transform: uppercase;
  }
  .scag-badge.b-time {
    background: transparent; color: var(--scag-text-faint);
    padding: 3px 0; letter-spacing: 0.06em;
  }
  .scag-badge.b-red { background: #fcebeb; color: #791f1f; }
  .scag-badge.b-amber { background: #faeeda; color: #633806; }
  .scag-badge.b-purple { background: #efedf8; color: #3c3489; }
  .scag-badge.b-teal { background: #e1f5ee; color: #085041; }
  .scag-badge.b-pink { background: #fbeaf0; color: #72243e; }
  .scag-badge.b-blue { background: #e6f1fb; color: #0c447c; }
  .scag-badge.b-gray { background: var(--scag-surface); color: var(--scag-text-muted); }
  .scag-badge.b-soon { background: var(--scag-surface); color: var(--scag-text-faint); }

  /* ============ READER ============ */
  .scag-reader { padding-bottom: 64px; }

  .scag-reader-page {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
  }
  .scag-reader-rail {
    position: absolute;
    top: 0; right: calc(100% + 60px);
    width: 220px; height: 100%;
    padding-top: 4px;
  }
  .scag-reader-rail-inner { position: sticky; top: 32px; }
  .scag-rail-label {
    font-size: 15px; letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 600;
    color: var(--scag-text-muted);
    padding-bottom: 14px; margin-bottom: 6px;
    border-bottom: 1px solid var(--scag-rule);
  }
  .scag-rail-link {
    display: grid; grid-template-columns: 28px 1fr; gap: 8px;
    padding: 12px 0;
    color: var(--scag-text-muted);
    border-bottom: 1px solid var(--scag-rule);
    cursor: pointer;
    font-size: 15px; line-height: 1.45;
    transition: color 0.15s, padding-left 0.15s;
    text-decoration: none;
    background: none; border-left: none; border-right: none; border-top: none;
    width: 100%; text-align: left;
    font-family: inherit;
  }
  .scag-rail-link:hover { color: var(--scag-text); }
  .scag-rail-link.is-active { color: var(--scag-text); }
  .scag-rail-link.is-active .scag-rail-num {
    color: var(--scag-quote-accent); font-weight: 600;
  }
  .scag-rail-num {
    color: var(--scag-rule-strong);
    font-family: 'Poppins'; font-style: italic; font-weight: 300;
  }
  .scag-reader-nav {
    padding: 18px 0;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--scag-rule);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }
  .scag-reader-nav .scag-back { justify-self: start; }
  .scag-reader-nav .scag-crumb { justify-self: center; }
  .scag-reader-nav .scag-reader-counter { justify-self: end; }
  .scag-back {
    background: none; border: none; padding: 0;
    font-family: inherit; font-size: 13px;
    color: var(--scag-text-muted); cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    font-weight: 500; letter-spacing: 0.02em;
  }
  .scag-back:hover { color: var(--scag-text); }
  .scag-crumb { font-size: 12px; color: var(--scag-text-faint); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
  .scag-reader-counter { font-size: 12px; color: var(--scag-text-faint); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

  .scag-reader-head {
    text-align: center;
    max-width: 720px; margin: 0 auto 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--scag-rule);
  }
  .scag-reader-cat {
    font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--scag-quote-accent);
    font-weight: 600; margin-bottom: 18px;
    display: flex; justify-content: center; align-items: center; gap: 12px;
  }
  .scag-reader-cat .dot { width: 4px; height: 4px; background: var(--scag-quote-accent); border-radius: 50%; }
  .scag-reader h1 {
    font-size: 48px; font-weight: 600;
    letter-spacing: -0.025em; line-height: 1.1;
    margin-bottom: 22px;
  }
  .scag-lead {
    font-size: 20px; line-height: 1.55;
    color: var(--scag-text-muted);
    font-weight: 300;
    max-width: 60ch; margin: 0 auto 26px;
  }
  .scag-reader-meta {
    display: flex; gap: 16px; justify-content: center;
    font-size: 12px; color: var(--scag-text-faint);
    letter-spacing: 0.04em;
    align-items: center; flex-wrap: wrap;
  }
  .scag-reader-meta .sep { color: var(--scag-rule-strong); }
  .scag-reader-meta .read-marker {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--scag-good-accent);
    font-weight: 600; letter-spacing: 0.08em;
  }

  .scag-reader-body { max-width: none; margin: 0; }

  .scag-quote {
    border: none; padding: 0; margin: 0 0 40px;
    text-align: center;
  }
  .scag-quote p {
    font-family: 'Poppins'; font-weight: 300; font-style: italic;
    font-size: 24px; line-height: 1.4;
    color: var(--scag-text); margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .scag-quote p::before { content: "\201C"; color: var(--scag-quote-accent); margin-right: 4px; }
  .scag-quote p::after { content: "\201D"; color: var(--scag-quote-accent); margin-left: 4px; }
  .scag-quote .attr {
    font-size: 11px; color: var(--scag-text-muted);
    letter-spacing: 0.16em; text-transform: uppercase;
    font-style: normal; font-weight: 500;
  }

  .scag-section { margin-bottom: 64px; scroll-margin-top: 28px; }
  .scag-section h2 {
    font-size: 26px; font-weight: 600;
    letter-spacing: -0.015em; line-height: 1.2;
    margin-bottom: 6px;
    display: flex; align-items: baseline; gap: 16px;
  }
  .scag-section h2 .num {
    font-family: 'Poppins'; font-style: italic; font-weight: 300;
    font-size: 16px; color: var(--scag-text-faint);
    min-width: 30px;
  }
  .scag-section-desc { font-size: 16px; color: var(--scag-text); line-height: 1.65; margin-bottom: 14px; padding-left: 46px; }
  .scag-section-desc p { margin-bottom: 12px; }
  .scag-section-howto { font-size: 15px; line-height: 1.65; margin-bottom: 16px; padding-left: 46px; color: var(--scag-text-muted); }
  .scag-section-howto strong { color: var(--scag-text); font-weight: 600; }

  .scag-goodbad {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin-left: 46px; margin-bottom: 8px;
  }
  .scag-good, .scag-bad {
    padding: 18px 20px; border-radius: 4px;
    border-left: 3px solid;
  }
  .scag-good {
    background: var(--scag-good-bg); color: var(--scag-good-text);
    border-left-color: var(--scag-good-accent);
  }
  .scag-bad {
    background: var(--scag-bad-bg); color: var(--scag-bad-text);
    border-left-color: var(--scag-bad-accent);
  }
  .scag-gb-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 8px;
  }
  .scag-gb-label i { font-size: 11px; }
  .scag-gb-text { font-size: 14px; line-height: 1.55; }
  .scag-gb-text em { font-style: italic; font-weight: 400; }
  .scag-good .scag-gb-text em { color: #3b6d11; }
  .scag-bad .scag-gb-text em { color: #791f1f; }

  .scag-takeaways {
    background: var(--scag-takeaway-bg);
    border-radius: 4px;
    padding: 28px 32px;
    margin: 44px 0 32px;
    border-left: 3px solid var(--scag-takeaway-accent);
  }
  .scag-takeaways-label {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: #7a4408; margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
  }
  .scag-takeaways ul {
    margin: 0; padding-left: 22px;
    color: var(--scag-takeaway-text);
    font-size: 15px; line-height: 1.7;
  }
  .scag-takeaways ul li { margin-bottom: 8px; }
  .scag-takeaways ul li:last-child { margin-bottom: 0; }
  .scag-takeaways em { font-style: italic; font-weight: 500; }

  /* "Mark as read" footer — sits between takeaways and prev/next.
     Calm, single-button, no UI noise unless logged in. */
  .scag-mark-read-wrap {
    margin: 32px 0 16px;
    display: flex; justify-content: center;
  }
  .scag-mark-read-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px;
    background: var(--scag-paper);
    color: var(--scag-text);
    border: 1px solid var(--scag-rule-strong);
    border-radius: 999px;
    font-family: inherit; font-size: 13.5px; font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
  }
  .scag-mark-read-btn:hover {
    border-color: var(--scag-text);
  }
  .scag-mark-read-btn[data-state="done"] {
    background: var(--scag-good-bg);
    border-color: var(--scag-good-accent);
    color: var(--scag-good-text);
  }
  .scag-mark-read-btn[data-state="done"] i { color: var(--scag-good-accent); }
  .scag-mark-read-btn[data-state="busy"] { opacity: 0.6; cursor: default; }
  .scag-mark-read-btn i { font-size: 13px; }
  .scag-mark-read-note {
    font-size: 11.5px; color: var(--scag-text-faint);
    letter-spacing: 0.06em; text-align: center;
    margin-top: 10px;
  }

  .scag-prev-next {
    margin-top: 56px;
    border-top: 1px solid var(--scag-rule);
    padding-top: 28px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  }
  .scag-pn-btn {
    background: none; border: none; padding: 0;
    text-align: left; cursor: pointer;
    font-family: inherit; color: var(--scag-text);
    transition: transform 0.15s;
  }
  .scag-pn-btn:hover { transform: translateX(-4px); }
  .scag-pn-btn.next { text-align: right; }
  .scag-pn-btn.next:hover { transform: translateX(4px); }
  .scag-pn-btn.is-disabled { opacity: 0.35; cursor: default; }
  .scag-pn-btn.is-disabled:hover { transform: none; }
  .scag-pn-label {
    font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--scag-text-faint);
    font-weight: 500; margin-bottom: 6px;
  }
  .scag-pn-title {
    font-size: 17px; font-weight: 600;
    letter-spacing: -0.01em; line-height: 1.25;
  }

  .scag-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--scag-rule);
  }
  .scag-related-label {
    font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--scag-text-muted);
    font-weight: 600; margin-bottom: 14px;
  }
  .scag-related-list { display: flex; gap: 8px; flex-wrap: wrap; }
  .scag-related-item {
    font-size: 13px; padding: 8px 16px;
    background: var(--scag-paper);
    border: 1px solid var(--scag-rule-strong);
    border-radius: 999px;
    cursor: pointer; color: var(--scag-text);
    transition: border-color 0.15s, transform 0.15s;
    font-weight: 500;
  }
  .scag-related-item:hover { border-color: var(--scag-text); transform: translateY(-1px); }

  .scag-empty { padding: 64px 24px; text-align: center; color: var(--scag-text-muted); font-size: 15px; }
  .scag-coming-soon-body { padding: 80px 24px; text-align: center; color: var(--scag-text-muted); }
  .scag-coming-soon-body i { font-size: 32px; color: var(--scag-text-faint); margin-bottom: 18px; }
  .scag-coming-soon-body h2 { font-size: 28px; margin-bottom: 10px; color: var(--scag-text); letter-spacing: -0.015em; }
  .scag-coming-soon-body p { font-size: 15px; max-width: 44ch; margin: 0 auto; font-weight: 300; line-height: 1.6; }
  .scag-loading { padding: 96px 24px; text-align: center; color: var(--scag-text-muted); font-size: 14px; }

  .scag-skeleton { padding: 16px 4px 0; }
  .scag-skeleton-featured {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
    padding: 8px 4px 48px; border-bottom: 1px solid var(--scag-rule);
    margin-bottom: 40px; align-items: center;
  }
  .scag-skeleton-featured .scag-skel-art { aspect-ratio: 4 / 3; border-radius: 4px; }
  .scag-skeleton-featured .scag-skel-block { height: 200px; border-radius: 4px; background: var(--scag-rule); }
  .scag-skeleton-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 36px 32px;
  }
  .scag-skel-card { display: flex; flex-direction: column; gap: 10px; }
  .scag-skel-card .scag-skel-art { aspect-ratio: 4 / 3; border-radius: 4px; margin-bottom: 6px; }
  .scag-skel-line { height: 14px; border-radius: 3px; background: var(--scag-rule); }
  .scag-skel-line-sm { width: 40%; height: 10px; }
  .scag-skel-art, .scag-skel-line {
    background: linear-gradient(90deg, var(--scag-rule) 0%, var(--scag-surface) 50%, var(--scag-rule) 100%);
    background-size: 200% 100%;
    animation: scag-shimmer 1.4s ease-in-out infinite;
  }
  @keyframes scag-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  @media (max-width: 880px) {
    .scag-skeleton-featured { grid-template-columns: 1fr; gap: 28px; }
    .scag-skeleton-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
  }
  @media (max-width: 600px) {
    .scag-skeleton-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 1080px) {
    .scag-reader-rail { display: none; }
  }
  @media (max-width: 880px) {
    .scag-masthead h1 { font-size: 40px; }
    .scag-featured { grid-template-columns: 1fr; gap: 28px; }
    .scag-featured h2 { font-size: 32px; }
    .scag-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
    .scag-reader h1 { font-size: 36px; }
    .scag-section h2 { font-size: 22px; }
    .scag-section { margin-bottom: 48px; }
  }
  @media (max-width: 600px) {
    .scag-root { padding: 0 16px; }
    .scag-masthead { padding: 32px 0 24px; margin-bottom: 28px; }
    .scag-masthead h1 { font-size: 30px; }
    .scag-masthead-lead { font-size: 15px; }
    .scag-grid { grid-template-columns: 1fr; }
    .scag-section-head { grid-template-columns: 1fr; }
    .scag-section-head-sub { text-align: left; }
    .scag-goodbad { grid-template-columns: 1fr; margin-left: 0; }
    .scag-section-desc, .scag-section-howto { padding-left: 0; }
    .scag-section h2 { font-size: 20px; }
    .scag-section h2 .num { min-width: 22px; }
    .scag-reader h1 { font-size: 28px; }
    .scag-lead { font-size: 17px; }
    .scag-quote p { font-size: 19px; }
    .scag-prev-next { grid-template-columns: 1fr; }
    .scag-pn-btn.next { text-align: left; }
    .scag-reader-nav { grid-template-columns: 1fr 1fr; }
    .scag-reader-nav .scag-crumb { display: none; }
    .scag-back { white-space: nowrap; }
  }
