/* Creator hub: shared site tokens, local layouts, no remote assets. */
.ch { overflow-wrap: anywhere; }
.ch a { color: var(--mint); text-underline-offset: .22em; }
.ch a:hover { color: var(--ink); }
.ch p { margin: .75rem 0 1rem; }
.ch h1, .ch h2, .ch h3, .ch h4 { color: var(--ink); margin: 0 0 1rem; }
.ch h1 em { color: var(--accent); font-style: normal; }
.ch h3 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.02em; }
.ch h4 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.ch code, .ch pre { font-family: var(--mono); font-size: .86em; }
.ch code { color: var(--mint); }
.ch pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.ch li + li { margin-top: .6rem; }
.ch ul, .ch ol { padding-left: 1.35rem; }
.ch > section { margin-bottom: 72px; scroll-margin-top: 24px; }
.ch :is(article, section, details)[id] { scroll-margin-top: 24px; }
.ch-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: 24px; }
.ch .eyebrow, .ch .ch-kicker { margin: 0 0 12px; color: var(--accent); font: 600 .68rem/1.6 var(--mono); letter-spacing: .09em; }
.ch-lead { color: var(--muted); max-width: 65ch; font-size: 1.08rem; }
.ch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.ch a.ch-button, .ch .ch-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent); color: var(--surface); text-decoration: none; font: 650 .9rem/1.5 var(--sans); cursor: pointer; }
.ch a.ch-button:hover, .ch .ch-button:hover { background: var(--mint); border-color: var(--mint); color: var(--surface); }
.ch a.ch-secondary, .ch .ch-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.ch a.ch-secondary:hover, .ch .ch-secondary:hover { background: var(--surface-raised); color: var(--mint); border-color: var(--accent); }
.ch .ch-notice { border-left: 2px solid var(--warning); padding: 4px 0 4px 16px; color: var(--muted); font-size: .86rem; margin-top: 26px; }
.ch-notice strong { display: block; color: var(--warning); margin-bottom: 4px; }
.ch-sample { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.ch-sample-top { padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; font: .6rem/1.6 var(--mono); letter-spacing: .08em; color: var(--dim); }
.ch-art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 230px; aspect-ratio: 1.4; overflow: hidden; background: radial-gradient(ellipse at 70% 20%, #3b706a66, transparent 65%), var(--surface-raised); border-block: 1px solid var(--line); }
.ch-art::before, .ch-art::after { content: ''; position: absolute; width: 130%; height: 85%; border: 1px solid #9ae4d733; border-radius: 50%; transform: rotate(-25deg); z-index: -1; }
.ch-art::after { width: 150%; height: 110%; }
.ch-glass { width: 46%; aspect-ratio: 1; border-radius: 48% 52% 60% 40%; transform: rotate(-25deg); background: radial-gradient(circle at 33% 25%, #d5fff0, #9ae4d7 25%, #41877b 62%, #143e45 90%); box-shadow: inset -10px -8px 20px #10242d66, inset 3px 3px 15px #e1fff388, 10px 24px 30px #0b172099; }
.ch-orbit { position: absolute; width: 66%; height: 66%; border: 1px solid #9ae4d777; border-radius: 50%; transform: rotate(-25deg); }
.ch-art > span { position: absolute; left: 18px; bottom: 14px; color: var(--mint); font: .65rem var(--mono); letter-spacing: .2em; }
.ch-sample-body { padding: 22px; }
.ch-sample-body h2 { font-size: 1.4rem; margin: 8px 0; }
.ch-sample-body p { color: var(--muted); font-size: .9rem; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-chips span { font: .7rem var(--mono); color: var(--mint); border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; }
.ch .ch-jump { display: flex; flex-wrap: wrap; gap: 8px 26px; border-block: 1px solid var(--line); padding: 18px 0; margin: -28px 0 64px; }
.ch .ch-jump a { padding: 7px 0; font-size: .9rem; }
.ch-section-head { max-width: 720px; margin-bottom: 28px; }
.ch-section-head p { color: var(--muted); }
.ch-section-head h2 { margin-bottom: 12px; }
.ch-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.ch-steps a { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; font-size: .85rem; color: var(--muted); background: var(--surface); }
.ch-steps a > span { color: var(--dim); margin-bottom: 8px; font: .7rem var(--mono); }
.ch-steps small { font-size: .75rem; }
.ch-steps a:hover, .ch-steps [aria-selected="true"] { color: var(--ink); border-color: var(--accent); background: var(--surface-raised); }
.ch-steps [aria-selected="true"] > span { color: var(--accent); }
.ch-step { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 14px; min-height: 300px; }
.ch-step p { max-width: 78ch; color: var(--muted); }
.ch-step a { display: inline-block; padding-block: 8px; }
.ch-illustration { width: 100%; max-width: 100px; height: auto; color: var(--accent); }
.ch details { border-top: 1px solid var(--line); }
.ch summary { padding-block: 16px; cursor: pointer; color: var(--ink); font-weight: 600; }
.ch details p { color: var(--muted); }
.ch-command { margin-top: 24px; }
.ch-command pre { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--surface); }
.ch-panel { min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.ch-quiz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch label { display: grid; gap: 8px; font-size: .9rem; color: var(--ink); }
.ch label .ch-kicker { margin-bottom: 0; }
.ch input:not([type="checkbox"]), .ch select, .ch textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 1rem/1.5 var(--sans); }
.ch select { padding-right: 24px; }
.ch textarea { resize: vertical; font-family: var(--mono); font-size: .85rem; }
.ch input[aria-invalid="true"] { border-color: var(--danger); }
.ch #quiz-submit { margin-top: 22px; }
.ch-result { margin-top: 24px; padding: 22px; background: var(--surface-raised); border-left: 3px solid var(--accent); border-radius: 6px; }
.ch-result h3 { margin-bottom: 4px; }
.ch-kind-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.ch-guide-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.ch-guide-index a { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--mint); font-size: .85rem; }
.ch-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ch-wide { grid-column: 1 / -1; }
.ch table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-block: 24px; font-size: .9rem; }
.ch caption { text-align: left; margin-bottom: 10px; color: var(--dim); font-size: .8rem; }
.ch th, .ch td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ch th { color: var(--ink); font: 600 .85rem/1.6 var(--sans); }
.ch th:first-child { width: 31%; padding-left: 0; }
.ch td:last-child { padding-right: 0; }
.ch #licences th:first-child { width: 36%; }
.ch .ch-small { color: var(--dim); font-size: .8rem; }
.ch-example { padding: 14px 18px; background: var(--surface-raised); border-left: 2px solid var(--line); margin-block: 14px; border-radius: 4px; }
.ch-example p { margin-bottom: 0; }
.ch-good { border-left-color: var(--success); }
.ch-good .ch-kicker { color: var(--success); }
.ch-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ch-calculator { padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.ch-calculator h4 { margin-top: 0; }
.ch-calculator label { margin-top: 16px; }
.ch-calculator button { margin-top: 16px; }
.ch-calculation { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; }
.ch-calculation dl { margin: 0; }
.ch-calculation dl div { margin-block: 14px; }
.ch-calculation dt { font-size: .8rem; color: var(--muted); }
.ch-calculation dd { margin: 4px 0 0; color: var(--mint); font: 1.1rem var(--mono); }
.ch-calculation p { font-size: .85rem; }
.ch-calculation [data-valid="true"] { color: var(--success); }
.ch-calculation [data-valid="false"] { color: var(--danger); }
.ch-materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch-hash { display: block; word-break: break-all; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-raised); user-select: all; }
.ch .ch-downloads { padding: 0; list-style: none; }
.ch-downloads li { padding-block: 10px; border-bottom: 1px solid var(--line); }
.ch-downloads span { display: block; color: var(--muted); font-size: .8rem; }
.ch-badge { display: block; margin-block: 18px; }
.ch-badge img { display: block; max-width: 100%; height: auto; }
.ch-checklist, .ch-announcement { margin-top: 24px; }
.ch-check-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.ch-check-items label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }
.ch-check-items input { width: 20px; height: 20px; min-height: 20px; margin: 3px 0 0; flex: 0 0 20px; accent-color: var(--accent); }
.ch-check-items input:checked + span { color: var(--mint); }
.ch-checklist .ch-section-head { margin-bottom: 8px; }
.ch-announcement textarea { margin-top: 8px; }
#copy-status, #checklist-progress { font-size: .85rem; color: var(--muted); }
.ch-glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.ch-glossary > div { border-top: 1px solid var(--line); padding: 20px 0; }
.ch-glossary dt { color: var(--mint); font-size: 1rem; font-weight: 600; }
.ch-glossary dd { color: var(--muted); font-size: .92rem; margin: 8px 0 0; }
.ch-faq details { padding: 2px 0; }
.ch-faq p { max-width: 85ch; margin-bottom: 24px; }
.ch-closing { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.ch-closing p { font-size: 1.35rem; }
.site-shell[data-page="creators"] > footer { display: flex; justify-content: space-between; }
.site-shell[data-page="creators"] > footer a { color: var(--muted); }
.ch-print-only { display: none; }
@media (max-width: 1050px) {
  .ch-materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-materials > :last-child { grid-column: 1 / -1; }
  .ch-hero { gap: 28px; }
  .ch-guide-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-quiz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ch-hero, .ch-guides, .ch-two-col, .ch-check-items { grid-template-columns: 1fr; }
  .ch-sample { max-width: 420px; width: 100%; }
  .ch-hero { padding-top: 0; }
  .ch-kind-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-steps a { padding: 12px; }
  .ch-step { grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding: 22px; }
  .ch-step-panels { min-height: 0; }
}
@media (max-width: 480px) {
  .ch > section { margin-bottom: 52px; }
  .ch-materials, .ch-glossary { grid-template-columns: 1fr; }
  .ch-step { grid-template-columns: 1fr; }
  .ch-illustration { width: 56px; }
  .ch-steps > :last-child { grid-column: 1 / -1; }
  .ch-calculator { padding: 18px; }
  .ch .ch-jump { margin-bottom: 44px; gap: 6px 18px; }
  .ch-guide-index a { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch, .ch *, .ch *::before, .ch *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 15mm; }
  body.site-shell[data-page="creators"] { background: white !important; color: black !important; }
  body.site-shell > :not(main), .ch > :not(#creator-kit), #creator-kit > :not(#launch-checklist), #launch-checklist .ch-actions, #checklist-storage { display: none !important; }
  body.site-shell:not([data-page="home"]) > main { width: 100%; margin: 0; padding: 0; }
  #creator-kit, #launch-checklist { margin: 0; padding: 0; border: 0; background: white; }
  #launch-checklist * { color: black !important; }
  .ch-check-items { display: block; }
  .ch-check-items label { break-inside: avoid; padding-block: 10px; }
  .ch-check-items input { appearance: none; border: 1px solid black; border-radius: 2px; background: white; position: relative; }
  .ch-check-items input:checked::after { content: '✓'; position: absolute; inset: -5px 0 0; font: 20px/1.3 sans-serif; }
  .ch-print-only { display: block; margin-top: 24px; font-size: 11px; }
}
