/* Avartan marketing plan, shared styles for the proposal and the calendar & tracker. */
:root {
    --bg: #F5F7F4;
    --surface: #FFFFFF;
    --surface-2: #EEF2EC;
    --ink: #0C1512;
    --ink-soft: #4C5A53;
    --ink-faint: #7C897F;
    --line: #DCE3DD;
    --accent: #0E7C5A;
    --accent-ink: #073F2E;
    --accent-soft: #DEF0E6;
    --warm: #B5502A;
    --warm-soft: #F6E3DA;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0B1210;
      --surface: #121B17;
      --surface-2: #17221D;
      --ink: #ECF3EF;
      --ink-soft: #A9B8B0;
      --ink-faint: #77877E;
      --line: #26352D;
      --accent: #37E0AE;
      --accent-ink: #C6FBE7;
      --accent-soft: #14332A;
      --warm: #E58455;
      --warm-soft: #33221A;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0B1210;
    --surface: #121B17;
    --surface-2: #17221D;
    --ink: #ECF3EF;
    --ink-soft: #A9B8B0;
    --ink-faint: #77877E;
    --line: #26352D;
    --accent: #37E0AE;
    --accent-ink: #C6FBE7;
    --accent-soft: #14332A;
    --warm: #E58455;
    --warm-soft: #33221A;
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    margin: 0;
  }
  .wrap { max-width: 960px; margin: 0 auto; padding: 0 20px 96px; }
  .mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

  h1, h2, h3 { font-family: 'IBM Plex Sans', sans-serif; text-wrap: balance; margin: 0; color: var(--ink); }
  p { line-height: 1.65; color: var(--ink-soft); margin: 0; }
  a { color: var(--accent-ink); }

  .topbar {
    position: sticky; top: 0; z-index: 20;
    background: var(--bg);
    border-bottom: 0.5px solid var(--line);
  }
  .topbar-inner { max-width: 960px; margin: 0 auto; padding: 10px 20px; }
  .topbar-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
  .topbar-mark { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; white-space: nowrap; }
  .topbar-title { font-size: 13px; color: var(--ink-faint); }
  .topnav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a {
    flex: 0 0 auto; font-size: 12px; color: var(--ink-soft); text-decoration: none;
    padding: 5px 10px; border-radius: 100px; white-space: nowrap;
  }
  .topnav a:hover { background: var(--surface-2); color: var(--ink); }
  .topnav a.forward { color: var(--accent-ink); font-weight: 500; margin-left: auto; }

  .hero { padding: 48px 0 36px; border-bottom: 0.5px solid var(--line); }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent-ink); font-weight: 500; margin-bottom: 14px;
  }
  .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .hero h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 500; line-height: 1.12; max-width: 17ch; }
  .hero-sub { font-size: 16px; max-width: 60ch; margin-top: 16px; }
  .meta-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
  .meta-item .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 3px; }
  .meta-item .v { font-size: 14px; font-weight: 500; }

  section { padding: 40px 0; border-bottom: 0.5px solid var(--line); }
  section:last-of-type { border-bottom: none; }
  .section-head { margin-bottom: 22px; }
  .section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 6px; }
  .section-head h2 { font-size: 22px; font-weight: 500; }
  .section-head p { margin-top: 8px; max-width: 62ch; font-size: 14.5px; }

  .p-pill { font-family: 'IBM Plex Mono', monospace; font-size: 11px; background: var(--surface-2); color: var(--ink-soft); border-radius: 5px; padding: 2px 6px; display: inline-block; }
  .p-pill.t { background: var(--accent-soft); color: var(--accent-ink); }
  table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  .tbl-wrap { overflow-x: auto; border: 0.5px solid var(--line); border-radius: 12px; }
  th { text-align: left; font-weight: 500; color: var(--ink-faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 14px; border-bottom: 0.5px solid var(--line); background: var(--surface-2); white-space: nowrap; }
  td { padding: 10px 14px; border-bottom: 0.5px solid var(--line); vertical-align: top; color: var(--ink); background: var(--surface); }
  tr:last-child td { border-bottom: none; }
  td.pri-high { color: var(--accent-ink); font-weight: 500; }
  td.dim { color: var(--ink-faint); }

  .cta-band {
    background: var(--accent-soft); border-radius: 16px; padding: 32px; text-align: center;
  }
  .cta-band h2 { font-size: 20px; font-weight: 500; }
  .cta-band p { margin-top: 8px; font-size: 14px; }
  .cta-btn {
    display: inline-block; margin-top: 18px; background: var(--accent); color: #fff; text-decoration: none;
    font-weight: 500; font-size: 14px; padding: 12px 24px; border-radius: 100px;
  }

  footer.doc-footer { padding: 36px 0 8px; }
  footer.doc-footer p { font-size: 12.5px; color: var(--ink-faint); }


  .hero { padding: 44px 0 30px; }
  .hero h1 { max-width: 20ch; }
  .hero-sub { max-width: 54ch; }
  .glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
  .glance .g { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 14px 16px; }
  .glance .n { font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
  .glance .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

  section { padding: 34px 0; }
  .section-head { margin-bottom: 18px; }
  .section-head p { font-size: 14.5px; max-width: 58ch; }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .chip { font-size: 13px; background: var(--surface); border: 0.5px solid var(--line); border-radius: 100px; padding: 7px 14px; color: var(--ink); }
  .chip b { font-weight: 500; color: var(--accent-ink); margin-right: 6px; }
  .chip.warn b { color: var(--warm); }

  .timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin-top: 4px; }
  .timeline::before { content: ''; position: absolute; top: 4px; left: 5px; right: 8px; height: 1px; background: var(--line); }
  .tl-step { padding-right: 12px; position: relative; }
  .tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin-bottom: 10px; position: relative; z-index: 1; }
  .tl-step.is-ours .tl-dot { background: var(--accent); }
  .tl-step .when { font-size: 13px; font-weight: 500; }
  .tl-step .what { font-size: 12px; color: var(--ink-faint); margin-top: 2px; line-height: 1.4; }

  .two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  .card.hl { border: 1px solid var(--accent); }
  .card .tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); }
  .card h3 { font-size: 17px; font-weight: 500; margin-top: 4px; }
  .card .big { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent-ink); margin-top: 2px; }
  .card ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
  .card li { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
  .card p { font-size: 13.5px; color: var(--ink); margin-top: 8px; }

  .rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
  .rule { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; border-left: 2px solid var(--accent); }
  .rule .k { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-ink); }
  .rule .v { font-size: 13px; color: var(--ink); margin-top: 3px; line-height: 1.4; }

  .phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .phase { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 14px 16px; position: relative; }
  .phase .code { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 5px; padding: 2px 6px; display: inline-block; }
  .phase h3 { font-size: 15px; font-weight: 500; margin-top: 8px; }
  .phase .when { font-size: 12px; color: var(--ink-faint); margin-top: 1px; }
  .phase p { font-size: 13px; color: var(--ink); margin-top: 8px; line-height: 1.45; }
  .phase .cnt { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); margin-top: 8px; }

  details { margin-top: 12px; background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; }
  summary { cursor: pointer; padding: 12px 16px; font-size: 13.5px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; font-family: 'IBM Plex Mono', monospace; color: var(--accent-ink); font-size: 16px; }
  details[open] summary::after { content: '\2212'; }
  details .inner { padding: 0 16px 16px; }
  details .tbl-wrap { border-radius: 10px; }
  details ul.plain { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
  details ul.plain li { font-size: 13.5px; color: var(--ink); line-height: 1.45; }

  .fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .fw { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
  .fw .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .fw .no { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-faint); }
  .fw .src { font-size: 11px; color: var(--ink-faint); text-align: right; line-height: 1.3; }
  .fw h3 { font-size: 16px; font-weight: 500; }
  .fw .idea { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .fw .use { font-size: 13px; color: var(--ink); background: var(--surface-2); border-radius: 8px; padding: 10px 12px; line-height: 1.45; }
  .fw .use b { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-ink); font-weight: 500; margin-bottom: 3px; }
  .fw .shapes { margin-top: auto; font-size: 11.5px; color: var(--ink-faint); }
  .fw .shapes span { color: var(--accent-ink); font-weight: 500; }
  .fw.sum { background: var(--accent-soft); border-color: var(--accent); justify-content: center; }
  .fw.sum h3 { color: var(--accent-ink); }
  .fw.sum p { font-size: 13.5px; color: var(--accent-ink); line-height: 1.55; }

  .steps6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .st { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 14px; }
  .st .l { font-family: 'IBM Plex Mono', monospace; font-size: 20px; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); border-radius: 8px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
  .st h3 { font-size: 14px; font-weight: 500; margin-top: 10px; }
  .st p { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
  .funnel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .funnel-col { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 16px; }
  .funnel-col .stage-name { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-ink); font-weight: 500; }
  .funnel-col .stage-job { font-size: 12px; color: var(--ink-faint); margin: 2px 0 10px; }
  .funnel-pillar { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 0.5px solid var(--line); }
  .funnel-pillar:first-of-type { border-top: none; }
  .funnel-pillar .name { font-size: 12.5px; color: var(--ink); }

  .obj-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .obj { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; }
  .obj .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent-ink); padding-top: 2px; }
  .obj p { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
  .kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
  .kpi { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
  .kpi .n { font-family: 'IBM Plex Mono', monospace; font-size: 22px; font-weight: 500; }
  .kpi .l { font-size: 12px; color: var(--ink-soft); margin-top: 3px; line-height: 1.35; }
  .kpi-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; font-style: italic; }

  .persona-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .persona { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 14px; }
  .persona .tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.04em; }
  .persona h3 { font-size: 14px; font-weight: 500; margin: 6px 0 6px; line-height: 1.3; }
  .persona p { font-size: 12.5px; line-height: 1.45; }
  .persona .sees { margin-top: 10px; padding-top: 8px; border-top: 0.5px solid var(--line); color: var(--ink); }
  .persona .sees b { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); font-weight: 400; margin-bottom: 2px; }

  .grp { font-size: 13px; font-weight: 500; margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
  .grp .c { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); font-weight: 400; }
  .theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
  .theme { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .theme.t { border-color: var(--accent); }
  .theme .row { display: flex; align-items: center; justify-content: space-between; }
  .theme .n { font-family: 'IBM Plex Mono', monospace; font-size: 20px; font-weight: 500; }
  .theme h3 { font-size: 13.5px; font-weight: 500; margin-top: 8px; line-height: 1.3; }
  .theme p { font-size: 12px; color: var(--ink-faint); margin-top: 3px; line-height: 1.4; }
  .cov { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .cov .a { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 14px; }
  .cov .a.first { border-color: var(--accent); }
  .cov .n { font-family: 'IBM Plex Mono', monospace; font-size: 24px; font-weight: 500; }
  .cov .l { font-size: 12.5px; color: var(--ink); margin-top: 2px; line-height: 1.3; }
  .cov .w { font-size: 11.5px; color: var(--ink-faint); margin-top: 4px; line-height: 1.35; }
  .fine { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; max-width: 70ch; }

  .cadence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
  .cadence-item { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; }
  .cadence-item .k { font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; font-family: 'IBM Plex Mono', monospace; }
  .cadence-item .v { font-size: 13px; color: var(--ink); line-height: 1.4; }

  .cta-band { padding: 26px; }

  @media (max-width: 860px) {
    .fw-grid, .persona-grid, .cov { grid-template-columns: repeat(2, 1fr); }
    .steps6 { grid-template-columns: repeat(3, 1fr); }
    .phases, .kpi-grid, .cadence-grid, .glance { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .timeline { grid-template-columns: 1fr; gap: 14px; }
    .timeline::before { display: none; }
    .two, .rules, .obj-list, .funnel-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 480px) {
    .fw-grid, .persona-grid, .cov, .phases, .kpi-grid, .cadence-grid, .steps6 { grid-template-columns: 1fr; }
  }

  .expand-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--line); flex-wrap: wrap; }
  .expand-bar span { font-size: 13px; color: var(--ink-faint); }
  .expand-bar button { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; border: 0.5px solid var(--line); background: var(--surface); color: var(--ink-soft); border-radius: 100px; padding: 6px 13px; cursor: pointer; }
  .expand-bar button:hover { border-color: var(--accent); color: var(--accent-ink); }
  .take { font-size: 18px; line-height: 1.4; color: var(--ink); max-width: 46ch; font-weight: 500; text-wrap: balance; }
  .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .pills .chip.acc { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
  .pills .chip.step b { font-family: 'IBM Plex Mono', monospace; }
  .sum .kpi-grid { margin-top: 16px; }
  .sum .cov { margin-top: 16px; }
  .sum .grp { display: none; }
  .sum .chips { margin-top: 14px; }
  details.more { margin-top: 18px; background: transparent; border: none; border-radius: 0; }
  details.more > summary { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border: 0.5px solid var(--line); background: var(--surface); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--accent-ink); }
  details.more > summary:hover { border-color: var(--accent); }
  details.more > summary::after { content: none; }
  details.more > summary::before { content: '+'; font-family: 'IBM Plex Mono', monospace; font-size: 15px; width: 18px; text-align: center; }
  details.more[open] > summary::before { content: '\2212'; }
  details.more > summary em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--ink-faint); }
  details.more > .body { padding-top: 20px; }
  details.more > .body > p:first-child { font-size: 14px; max-width: 60ch; margin-bottom: 16px; }
  .sub-head { font-size: 13.5px; font-weight: 500; margin: 24px 0 8px; }

  .note { margin-top: 8px; padding: 18px 18px 6px; background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; }
  .note + .note { margin-top: 16px; }
  .note-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .note-head .sub-head { margin: 0 0 10px; font-size: 15px; }
  .note p { font-size: 13.5px; color: var(--ink); margin: 0 0 10px; }
  .note h4.note-h { font-size: 13.5px; font-weight: 500; margin: 18px 0 6px; color: var(--ink); }
  .note ul.plain, .note ol.plain { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
  .note ul.plain li, .note ol.plain li { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
  .note code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
  .note-quote { margin: 0 0 12px; padding: 10px 14px; border-left: 2px solid var(--accent); background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--ink); line-height: 1.55; }
  .codewrap { position: relative; margin: 0 0 12px; }
  .codewrap .copy-btn { position: absolute; top: 8px; right: 8px; }
  pre.code { margin: 0; padding: 14px 16px; background: var(--surface-2); border: 0.5px solid var(--line); border-radius: 10px; overflow-x: auto; font-size: 12px; line-height: 1.55; color: var(--ink); max-height: 460px; }
  pre.code code { background: none; padding: 0; font-size: 12px; white-space: pre; }
  .copy-btn { font-family: 'IBM Plex Mono', monospace; font-size: 11px; border: 0.5px solid var(--line); background: var(--surface); color: var(--ink-soft); border-radius: 100px; padding: 5px 11px; cursor: pointer; }
  .copy-btn:hover { border-color: var(--accent); color: var(--accent-ink); }

  @font-face { font-family: 'Space Grotesk'; src: url('/marketing-plan/fonts/SpaceGrotesk-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
  @font-face { font-family: 'Space Grotesk'; src: url('/marketing-plan/fonts/SpaceGrotesk-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
  @font-face { font-family: 'Space Grotesk'; src: url('/marketing-plan/fonts/SpaceGrotesk-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
  @font-face { font-family: 'Satoshi'; src: url('/marketing-plan/fonts/satoshi-variable.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
  .sample-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
  .sample { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
  .sample-media { background: #000; }
  .sample-svg { display: block; width: 100%; height: auto; }
  .sample-svg .s2-h1 { font: 400 66px 'Satoshi', sans-serif; fill: #00FFC9; }
  .sample-svg .s2-h2 { font: 700 40px 'Satoshi', sans-serif; fill: #fff; }
  .sample-svg .s2-call { font: 700 17px 'Satoshi', sans-serif; fill: #F7A81B; letter-spacing: 0.03em; }
  .sample-svg .s2-tag { font: 500 25px 'Satoshi', sans-serif; fill: #00FFC9; }
  .sample-svg .s2-cap { font: 700 16px 'Satoshi', sans-serif; fill: #A7B4DC; letter-spacing: 0.12em; }
  .sample-svg .s2-op { font: 500 56px 'Satoshi', sans-serif; fill: #2BB99B; }
  .sample-svg .s2-ring-l { font: 700 30px 'Satoshi', sans-serif; }
  .sample-svg .s2-ring-t { font: 700 15px 'Satoshi', sans-serif; fill: #8FA0CF; letter-spacing: 0.14em; }
  .sample-svg .s2-photo { font: 700 20px 'Satoshi', sans-serif; fill: #A7B4DC; letter-spacing: 0.14em; }
  .sample-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .sample-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; color: var(--ink-faint); }
  .sample-copy p { font-size: 13.5px; color: var(--ink); line-height: 1.5; margin: 0 0 8px; }
  .sample-copy p.tags { color: var(--ink-faint); font-size: 12.5px; }
  .sample-note { font-size: 12px; color: var(--ink-faint); margin: 0; font-style: italic; }
  .sample-body .copy-btn { align-self: flex-start; margin-top: auto; }
  @media (max-width: 760px) { .sample-grid { grid-template-columns: 1fr; } }

  /* Presentation view: add ?view=present to the URL. Hides internal working sections. */
  html.present #website, html.present #before, html.present #samples details.more, html.present .sample-note,
  html.present .topnav a[href="#website"], html.present .topnav a[href="#before"] { display: none !important; }

/* ==========================================================================
   Structure layer: header, hero, section nav, charts and the tracker.
   Everything above is the original Avartan plan styling, unchanged.
   ========================================================================== */
:root {
  --navy: #070C1B;
  --navy-2: #0D1630;
  --mint: #00FFC9;
  --amber: #F7A81B;
  --ok: #2f8f5b;
  --warn: #B5772A;
  --header-h: 76px;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
.wide { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- internal items: shown only in the team view (?view=team) ---- */
html:not(.team) .internal { display: none !important; }

/* ---- header: transparent over the hero, solid once the page scrolls ---- */
.site-header {
  position: sticky; top: 0; z-index: 100; margin-bottom: calc(var(--header-h) * -1);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,12,27,.78) 0%, rgba(7,12,27,.34) 55%, rgba(7,12,27,0) 100%);
  transition: opacity 260ms ease;
}
.site-header.scrolled { background: rgba(7,12,27,.96); border-bottom-color: rgba(255,255,255,.1); }
.site-header.scrolled::before { opacity: 0; }
.site-header .wide { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { height: 50px; width: auto; display: block; }
.brand .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 500; padding: .4em 0; border-bottom: 2px solid transparent; transition: border-color 200ms; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--mint); }
.header-status { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(255,255,255,.85); white-space: nowrap; }
@media (max-width: 880px) { .brand .tag { display: none; } .header-status { display: none; } .main-nav { gap: 1.1rem; } }
@media (max-width: 520px) { .brand img { height: 40px; } .main-nav a { font-size: 12.5px; } }

/* ---- proposal hero ---- */
.p-hero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; background: var(--navy); color: #fff; overflow: hidden; padding-top: var(--header-h); }
.p-hero-media { position: absolute; inset: 0; background: radial-gradient(900px 520px at 80% 38%, rgba(0,255,201,.16), rgba(0,255,201,0) 70%), linear-gradient(180deg, #070C1B 0%, #0B1226 100%); }
.p-hero-media img { position: absolute; right: 3%; top: 52%; transform: translateY(-50%); height: 92%; width: auto; max-width: 52%; object-fit: contain; opacity: .95; }
.p-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,12,27,.6), rgba(7,12,27,0) 62%); }
.p-hero-inner { position: relative; width: 100%; padding-top: 3.2rem; }
.p-hero-copy { max-width: 640px; padding: 2.3rem 2.4rem; background: rgba(255,255,255,.96); color: var(--ink); border-top: 4px solid var(--accent); border-radius: 0 0 14px 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.p-hero-copy .eyebrow { margin-bottom: 12px; }
.p-hero-copy h1 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 500; line-height: 1.1; max-width: 18ch; margin-bottom: 14px; color: #0C1512; }
.p-hero-copy .sub { font-size: 15.5px; color: #26322D; margin-bottom: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.4em; font: inherit; font-weight: 500; font-size: 13.5px; border-radius: 100px; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; transition: background 200ms, color 200ms; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-accent { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.stat-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.18); }
.stat-strip .stat { padding: 1.5rem 1.2rem 1.7rem; }
.stat-strip .stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
.stat-strip .value { display: block; font-family: 'IBM Plex Mono', monospace; font-size: clamp(30px, 4.4vw, 52px); font-weight: 500; line-height: 1.05; color: var(--mint); letter-spacing: -.02em; }
.stat-strip .label { display: block; margin-top: .55rem; font-size: 13px; color: rgba(255,255,255,.86); }
@media (max-width: 760px) {
  .p-hero { min-height: 0; flex-direction: column; align-items: stretch; padding-top: 0; }
  .p-hero-media { position: relative; height: 230px; }
  .p-hero-media img { height: 100%; max-width: 70%; right: 6%; }
  .p-hero-inner { padding-top: 0; }
  .p-hero-copy { max-width: none; padding: 1.7rem var(--pad); border-radius: 0; box-shadow: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-top: 0; background: var(--navy); }
  .stat-strip .stat:nth-child(3) { border-left: 0; }
  .stat-strip .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .site-header { background: rgba(7,12,27,.96); } .site-header::before { display: none; }
}

/* ---- section nav ---- */
.tab-nav { position: sticky; top: var(--header-h); z-index: 90; background: var(--bg); border-bottom: 1px solid var(--line); }
.tab-nav .wide { display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; }
.tab-nav .wide::-webkit-scrollbar { display: none; }
.tab-nav a { flex: none; padding: .95rem .8rem; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; transition: color 200ms, border-color 200ms; }
.tab-nav a:hover { color: var(--ink); }
.tab-nav a.on { color: var(--accent-ink); border-color: var(--accent); }
.tab-nav .grow { flex: 1; }
.tab-nav .out { color: var(--accent-ink); font-weight: 600; }
.expand-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--line); flex-wrap: wrap; }
.expand-bar span { font-size: 13px; color: var(--ink-faint); }
.expand-bar button { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; border: 0.5px solid var(--line); background: var(--surface); color: var(--ink-soft); border-radius: 100px; padding: 6px 13px; cursor: pointer; }
.expand-bar button:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---- data driven charts and tiles ---- */
.bars { display: grid; gap: .65rem; margin-top: 14px; }
.bar-row { display: grid; grid-template-columns: 190px 1fr 36px; align-items: center; gap: .9rem; font-size: 13.5px; }
.bar-row .track { height: 12px; background: var(--surface-2); border-radius: 100px; overflow: hidden; }
.bar-row .fill { height: 100%; width: 0; background: var(--accent); border-radius: 100px; transition: width 900ms cubic-bezier(.2,.7,.2,1); }
.bar-row.alt .fill { background: #3D4A43; }
.bar-row b { text-align: right; font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .bar-row { grid-template-columns: 120px 1fr 30px; font-size: 12.5px; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.fact { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.fact .n { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 500; color: var(--accent-ink); line-height: 1.1; }
.fact .t { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.budget { display: grid; gap: .55rem; margin-top: 14px; }
.b-row { display: grid; grid-template-columns: 56px 1fr 90px; align-items: center; gap: .9rem; font-size: 13.5px; }
.b-track { position: relative; height: 24px; background: var(--surface-2); border-radius: 6px; }
.b-track .li { height: 100%; background: var(--accent); border-radius: 6px; width: 0; transition: width 900ms cubic-bezier(.2,.7,.2,1); }
.b-track .cap { position: absolute; right: 0; top: -4px; bottom: -4px; width: 0; border-right: 2px dashed var(--ink); }
.b-row b { text-align: right; font-family: 'IBM Plex Mono', monospace; font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: .4em; vertical-align: -1px; border-radius: 3px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { font-weight: 600; background: var(--surface-2); }
.cta-band-link { display: inline-block; margin-top: 18px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; padding: 12px 24px; border-radius: 100px; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 2.2rem 0; font-size: 13px; }
.site-footer .wide { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 44px; width: auto; }
.site-footer p { margin: 0; color: rgba(255,255,255,.7); max-width: 640px; font-size: 12.5px; }
.tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; padding: .5em 1em; font-size: 12px; }
.btn-light:hover { background: #fff; color: var(--navy); }

/* ---- tracker page ---- */
.t-hero { background: var(--navy); color: #fff; padding: calc(var(--header-h) + 2.6rem) 0 0; position: relative; overflow: hidden; }
.t-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 85% 30%, rgba(0,255,201,.14), rgba(0,255,201,0) 70%); }
.t-hero .wide { position: relative; }
.t-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); font-weight: 500; max-width: 16ch; margin-bottom: 12px; }
.t-hero p { color: rgba(255,255,255,.82); max-width: 640px; font-size: 15px; }
.t-hero .eyebrow { color: var(--mint); }
.t-hero .eyebrow::before { background: var(--mint); }
.t-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); margin-top: 1.8rem; }
.t-kpis > div { padding: 1.2rem 1.1rem 1.4rem; }
.t-kpis > div + div { border-left: 1px solid rgba(255,255,255,.16); }
.t-kpis .v { display: block; font-family: 'IBM Plex Mono', monospace; font-size: clamp(24px, 3.4vw, 36px); font-weight: 500; color: var(--mint); line-height: 1.05; font-variant-numeric: tabular-nums; }
.t-kpis .l { display: block; margin-top: .4rem; font-size: 12.5px; color: rgba(255,255,255,.85); }
.meter { height: 5px; background: rgba(255,255,255,.2); margin-top: .8rem; border-radius: 100px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--mint); transition: width 500ms ease; }
@media (max-width: 760px) { .t-kpis { grid-template-columns: repeat(2, 1fr); } .t-kpis > div:nth-child(3) { border-left: 0; } .t-kpis > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); } }
.t-toolbar { position: sticky; top: var(--header-h); z-index: 90; background: var(--bg); border-bottom: 1px solid var(--line); }
.t-toolbar .wide { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; align-items: center; padding-top: .5rem; padding-bottom: .5rem; }
.seg { display: inline-flex; border: 0.5px solid var(--line); border-radius: 100px; overflow: hidden; background: var(--surface); }
.seg button { font: inherit; font-size: 12px; font-weight: 500; padding: .55em 1em; border: 0; background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.seg button + button { border-left: 0.5px solid var(--line); }
.seg button.on { background: var(--accent); color: #fff; }
.t-toolbar .sp { flex: 1; }
.months { display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; }
.months button { flex: none; font: inherit; padding: .65rem .85rem; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--ink-soft); text-align: left; }
.months button.on { color: var(--accent-ink); border-color: var(--accent); }
.months button small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-faint); }
.months button .mini { display: block; height: 3px; background: var(--line); margin-top: 5px; border-radius: 100px; overflow: hidden; }
.months button .mini i { display: block; height: 100%; background: var(--ok); width: 0; }
.mh { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; margin: 2rem 0 1.4rem; align-items: start; }
.mh h2 { font-size: 24px; font-weight: 500; margin-bottom: .3em; }
.mh p { font-size: 14.5px; max-width: 60ch; }
.paid-box { border: 0.5px solid var(--line); border-left: 3px solid var(--warm); padding: 1rem 1.2rem; background: var(--surface); border-radius: 0 12px 12px 0; }
.paid-box .k { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--warm); margin-bottom: .4rem; }
.paid-box p { margin: 0; font-size: 13.5px; color: var(--ink); }
@media (max-width: 860px) { .mh { grid-template-columns: 1fr; gap: 1rem; } }
.cal { border: 0.5px solid var(--line); background: var(--surface); overflow-x: auto; border-radius: 12px; }
.cal-in { min-width: 860px; }
.cal-row { display: grid; grid-template-columns: 56px repeat(7, 1fr); }
.cal-row > div { border-right: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); padding: .5rem; min-height: 108px; }
.cal-row > div:last-child { border-right: 0; }
.cal-row:last-child > div { border-bottom: 0; }
.cal-dow > div { min-height: 0; padding: .6rem .5rem; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); background: var(--surface-2); }
.cal-wk { display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-faint); background: var(--surface-2); }
.cal-date { font-size: 11px; color: var(--ink-faint); display: block; margin-bottom: .35rem; }
.cal-date.today { color: #fff; background: var(--accent); display: inline-block; padding: 0 .4em; border-radius: 4px; }
.chip-post { display: block; width: 100%; text-align: left; font: inherit; font-size: 11.5px; line-height: 1.3; padding: .4em .5em; margin-bottom: .3rem; border: 0; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--ink); cursor: pointer; border-radius: 0 6px 6px 0; }
.chip-post.P { border-left-color: #55645B; background: var(--surface-2); }
.chip-post.done { opacity: .5; text-decoration: line-through; }
.chip-post.prog { box-shadow: inset 0 0 0 1px var(--warn); }
.chip-post:hover { filter: brightness(.97); }
.cal-rest { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 6px, var(--bg) 6px, var(--bg) 12px); }
.posts-list { border: 0.5px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden; }
.pl-wk { padding: .55rem 1.1rem; background: var(--surface-2); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); border-top: 0.5px solid var(--line); }
.pl-wk:first-child { border-top: 0; }
.pl { display: grid; grid-template-columns: 64px 1fr 140px; gap: 1rem; padding: 1rem 1.1rem; border-top: 0.5px solid var(--line); align-items: start; }
.pl.focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.pl .code { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2rem; padding: 0 .4rem; font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12.5px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; }
.pl .code.P { color: var(--ink-soft); background: var(--surface-2); }
.pl .dt { display: block; font-size: 11px; color: var(--ink-faint); margin-top: .35rem; }
.pl h3 { font-size: 14.5px; margin: 0 0 .5rem; line-height: 1.4; font-weight: 500; }
.pl .meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { display: inline-block; font-size: 11px; font-weight: 500; padding: .2em .65em; border: 0.5px solid var(--line); color: var(--ink-soft); background: var(--surface); border-radius: 100px; }
.pill.aud { border-color: var(--ink-faint); color: var(--ink); }
.pill.flag { border-style: dashed; border-color: var(--warm); color: var(--warm); background: transparent; }
.pill.fl { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pl-edit { margin-top: .8rem; display: none; gap: .5rem; }
.pl.open .pl-edit { display: grid; }
.pl-edit label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.pl-edit textarea, .pl-edit input { width: 100%; font: inherit; font-size: 13.5px; padding: .6em .7em; border: 0.5px solid var(--line); background: var(--surface); color: var(--ink); resize: vertical; border-radius: 8px; }
.pl-edit textarea:focus, .pl-edit input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.pl-side { display: grid; gap: .5rem; justify-items: stretch; }
.st { font: inherit; font-size: 12px; font-weight: 500; padding: .55em .8em; border: 0.5px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; text-align: center; border-radius: 100px; }
.st[data-s="prog"] { border-color: var(--warn); color: var(--warn); background: var(--warm-soft); }
.st[data-s="done"] { border-color: var(--ok); color: #fff; background: var(--ok); }
.pl .toggle { font: inherit; font-size: 11.5px; background: none; border: 0; color: var(--accent-ink); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.has-note { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-left: .4em; vertical-align: middle; }
@media (max-width: 720px) { .pl { grid-template-columns: 1fr; } .pl-side { grid-template-columns: 1fr 1fr; align-items: center; } }
input.cell { width: 110px; font: inherit; padding: .4em .5em; border: 0.5px solid var(--line); text-align: right; background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; border-radius: 6px; }
input.cell:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
input.cell.wide { width: 100%; text-align: left; }
.over { color: #b3261e; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--surface); padding: .8em 1.2em; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity 200ms, transform 200ms; z-index: 300; border-radius: 100px; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.rules-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .55rem; color: var(--ink-soft); font-size: 14px; }
.rules-list li b, .rules-list li strong { color: var(--ink); }
.tsec { padding: 2.6rem 0; border-bottom: 0.5px solid var(--line); }
.tsec .section-head { margin-bottom: 1.2rem; }

/* ---- post templates (from the calendar) ---- */
.post-card { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; }
.post-label { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin-bottom: 12px; }
.post-label .l { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-faint); letter-spacing: .05em; text-transform: uppercase; }
.post-label .p { font-size: 13px; font-weight: 500; color: var(--accent-ink); }
.post-body p { white-space: pre-wrap; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.post-tags { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-faint); margin-top: 8px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.spec .k { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
.spec .v { font-size: 14px; color: var(--ink); line-height: 1.55; }
.spec.is-wide { grid-column: 1 / -1; padding-top: 12px; border-top: 0.5px solid var(--line); }
.templates-note { font-size: 13px; color: var(--ink-faint); margin: -6px 0 18px; max-width: 64ch; font-style: italic; }
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; } }
@media print { .site-header, .tab-nav, .t-toolbar, .btn, .expand-bar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar-row .fill, .b-track .li { transition: none; } }
.tsec, .tab-nav + .wrap section { scroll-margin-top: 140px; }

.pill.art { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-post.art { border-left-style: double; border-left-width: 5px; }
.chip-post i { font-style: normal; font-weight: 600; }

.cal-row > .cal-out { opacity: .45; }

.sched { display: block; margin-top: .3rem; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); }
.chip-post .sched { margin-top: .2rem; }
