/* CRM review showcase: hub extras on top of the Astronotes tokens. No new colours, only the site's variables. */
.reading .page.hub-page { width: min(58rem, calc(100% - 3.5rem)); }
.sc-hero { position: relative; margin: 18px 0 28px; padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
              radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 60%), var(--panel); }
.sc-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 0); background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 35%, #000 100%); }
.sc-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.sc-lede { font-size: 1.18rem; line-height: 1.5; margin: 0 0 16px; max-width: 44rem; color: var(--ink); }
.sc-meta, .sc-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; position: relative; z-index: 1; }
.sc-meta span { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); background: var(--panel); }
.sc-type { font-size: 13px; color: var(--muted); padding: 3px 9px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.sc-type b { color: var(--ink); font-weight: 600; }
.sc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; position: relative; z-index: 1; }
.sc-block { margin: 30px 0; }
.sc-h { font-size: 1.1rem; margin: 0 0 12px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sc-h span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.sc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sc-stat { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 14px 14px 12px; transition: transform .25s var(--ease), border-color .25s; }
.sc-stat:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.sc-num { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; margin: 0; line-height: 1.1;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-lab { margin: 4px 0 0; font-weight: 500; font-size: 14px; }
.sc-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.sc-more { margin: 8px 0 0; font-size: 13px; }
.sc-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); gap: 2px; }
.sc-seg.sc-prog, .sc-dot.sc-prog { background: var(--accent); }
.sc-seg.sc-wait, .sc-dot.sc-wait { background: var(--warn); }
.sc-seg.sc-open, .sc-dot.sc-open { background: var(--line-strong); }
.sc-dot.sc-done { background: var(--live); }
.sc-legend { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 8px 0 14px; }
.sc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip { font-size: 13px; text-decoration: none; color: var(--ink); padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); }
.sc-chip::before { content: "✓ "; color: var(--live); }
.sc-chip:hover { border-color: var(--accent); }
.sc-tl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.sc-tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: .5; }
.sc-tl li { position: relative; padding: 0 0 16px 30px; display: grid; grid-template-columns: 9.5rem 1fr; column-gap: 14px; }
.sc-tl li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); }
.sc-tl li.sc-tl-done::before { background: var(--live); border-color: var(--live); }
.sc-tl li.sc-tl-now::before { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.sc-tl li.sc-tl-goal::before { border-color: var(--accent-2); background: var(--accent-2); border-radius: 3px; transform: rotate(45deg); }
.sc-tl li.sc-tl-later::before { border-style: dashed; border-color: var(--dim); }
.sc-tl-when { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; grid-row: span 2; }
.sc-tl-what { font-weight: 500; }
.sc-tl-sub { font-size: 13px; color: var(--muted); }
.sc-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.sc-col { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.sc-col header { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 2px 2px 4px; }
.sc-count { color: var(--ink); }
.sc-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 10px; font-size: 13.5px; line-height: 1.35; transition: border-color .2s, transform .2s var(--ease); }
.sc-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.sc-card-m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sc-due { font-size: 11.5px; color: var(--dim); }
.sc-pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.sc-pill.sc-top { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.sc-pill.sc-prog { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.sc-pill.sc-wait { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.sc-hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0 10px; }
.built-with .footer-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.built-with p { margin: 0; }
.built-with .wordmark { font-size: 12px; }
.bw-mark { color: var(--accent); }
.text-btn.logout { text-decoration: none; margin-right: 6px; }
@media (max-width: 800px) {
  .reading .page.hub-page { width: calc(100% - 2rem); }
  .sc-hero { padding: 20px 16px; }
  .sc-lede { font-size: 1.05rem; }
  .sc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-num { font-size: 1.5rem; }
  .sc-board { grid-template-columns: 1fr; }
  .sc-tl li { grid-template-columns: 1fr; }
  .sc-tl-when { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .sc-stat, .sc-card { transition: none; } }
.side-tools .text-btn.logout { font-size: 11px; }
@media (max-width: 800px) { .topbar .text-btn.logout { display: none; } }
.hub-page details.props { margin-top: 26px; }
