/* ───────── SOUL Color Studio (2026-10-16): /color-analysis/ and the 12 season pages ───────── */
body.t-color .cs-prose { max-width: 68ch; margin: 0 auto 1.2rem; line-height: 1.75; color: var(--ink-2); }
body.t-color .cs-prose p { margin: 0 0 1rem; }
body.t-color .cs-h3 { font-family: var(--f-d); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin: 0 0 .45rem; color: var(--ink); }
body.t-color .cs-h2 { font-family: var(--f-d); font-weight: 400; font-size: clamp(1.55rem, 3.2vw, 2.1rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .8rem; color: var(--ink); text-wrap: balance; }
body.t-color .cs-list { margin: .4rem 0 1rem; padding-left: 1.2rem; display: grid; gap: .5rem; line-height: 1.7; }
body.t-color .cs-fine { font-size: .86rem; color: var(--muted); line-height: 1.6; }
body.t-color .cs-more { text-align: center; margin-top: 1.2rem; }
body.t-color .cs-select { display: inline-grid; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
body.t-color .cs-select select { font: inherit; font-weight: 400; padding: .6rem 2.2rem .6rem .9rem; border-radius: 999px; border: 1.5px solid var(--s-rim); background: rgba(255,255,255,.75); color: var(--ink); min-width: 13rem; }

/* quiz */
body.t-color .cq { border-radius: 2rem; padding: clamp(1.3rem, 3.5vw, 2.4rem); max-width: 760px; margin: 0 auto; display: grid; gap: 1.2rem; }
body.t-color .cq-bar { height: 6px; border-radius: 99px; background: var(--s-tile); overflow: hidden; }
body.t-color .cq-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .35s ease; }
body.t-color .cq-q { border: 0; margin: 0; padding: 0; min-width: 0; }
body.t-color .cq-q + .cq-q { margin-top: 1.4rem; }
body.t-color .cq-on .cq-q { display: none; margin: 0; }
body.t-color .cq-on .cq-q.cq-cur { display: block; animation: cqIn .35s ease; }
@keyframes cqIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.t-color .cq-q legend { display: grid; gap: .35rem; margin-bottom: 1rem; padding: 0; }
body.t-color .cq-n { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
body.t-color .cq-text { font-family: var(--f-d); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.2; color: var(--ink); text-wrap: balance; }
body.t-color .cq-opts { display: grid; gap: .6rem; }
body.t-color .cq-opt { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-radius: 999px; background: rgba(255,255,255,.62); border: 1.5px solid var(--s-rim); box-shadow: var(--s-hi); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; line-height: 1.4; }
body.t-color .cq-opt:hover { background: #fff; transform: translateY(-1px); }
body.t-color .cq-opt input { appearance: none; -webkit-appearance: none; flex: none; width: 1.15rem; height: 1.15rem; margin: 0; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-content: center; }
body.t-color .cq-opt input::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s; }
body.t-color .cq-opt input:checked::before { transform: scale(1); }
body.t-color .cq-opt:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
body.t-color .cq-opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.t-color .cq-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; }
body.t-color .cq-nav [hidden] { display: none; }
body.t-color .cq-res { display: grid; gap: .55rem; justify-items: start; }
body.t-color .cq-res[hidden] { display: none; }
body.t-color .cq-name { margin: 0; }
body.t-color .cq-alt { margin: 0; font-style: italic; color: var(--accent); }
body.t-color .cq-short { margin: 0; font-size: 1.05rem; line-height: 1.65; max-width: 56ch; }
body.t-color .cq-sw { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0; }
body.t-color .cq-dot { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px -6px rgba(40,62,50,.5); }
body.t-color .cq-why, body.t-color .cq-runner { margin: 0; color: var(--ink-2); line-height: 1.6; }
body.t-color .cq-res .cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
body.t-color .cq-again { background: none; border: 0; padding: .4rem 0; font: inherit; font-size: .9rem; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* drape mirror */
body.t-color .dm { border-radius: 2rem; padding: clamp(1.2rem, 3.5vw, 2.4rem); display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { body.t-color .dm { grid-template-columns: 1.15fr 1fr; } }
body.t-color .dm-stages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 2vw, 1.4rem); }
body.t-color .dm-stage { margin: 0; display: grid; gap: .6rem; justify-items: center; }
body.t-color .dm-ring { width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 14%; box-shadow: var(--s-lift), inset 0 0 0 4px rgba(255,255,255,.55); transition: background .35s ease; }
body.t-color .dm-face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, #f3efe7 0 22%, #e2dccf 23% 100%); display: grid; place-items: center; border: 4px solid #fff; }
body.t-color .dm-face img { width: 100%; height: 100%; object-fit: cover; }
body.t-color .dm-face img[hidden], body.t-color .dm-ph[hidden] { display: none; }
body.t-color .dm-ph { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
body.t-color .dm-stage figcaption { font-size: .88rem; font-weight: 600; color: var(--ink-2); text-align: center; }
body.t-color .dm-ctl { display: grid; gap: .9rem; justify-items: start; }
body.t-color .dm-up { cursor: pointer; }
body.t-color .dm-private { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); max-width: 44ch; }
body.t-color .dm-tests { display: flex; flex-wrap: wrap; gap: .45rem; }
body.t-color .dm-t { font: inherit; font-size: .88rem; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--s-rim); background: rgba(255,255,255,.6); color: var(--ink-2); box-shadow: var(--s-hi); cursor: pointer; }
body.t-color .dm-t[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }
body.t-color .dm-season { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
body.t-color .dm-season[hidden] { display: none; }
body.t-color .dm-tip { margin: 0; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
body.t-color .cs-howto { border-radius: 1.6rem; padding: clamp(1.2rem, 3vw, 2rem); margin-top: 1.2rem; }
body.t-color .cs-howto .cs-list { margin-bottom: .6rem; }

/* palette card */
body.t-color .pcard { border-radius: 2rem; padding: clamp(1.2rem, 3.5vw, 2.4rem); display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 820px) { body.t-color .pcard { grid-template-columns: 1fr minmax(260px, 380px); } }
body.t-color .pcard-ctl { display: grid; gap: 1rem; justify-items: start; }
body.t-color .pcard-note { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); max-width: 44ch; }
body.t-color .pcard-ctl .cta-row { display: flex; flex-wrap: wrap; gap: .6rem; }
body.t-color .pcard-ctl [hidden] { display: none; }
body.t-color .pcard-view canvas { display: block; width: 100%; height: auto; border-radius: 1.4rem; box-shadow: var(--s-lift); }

/* season grid */
body.t-color .cs-fam + .cs-fam { margin-top: 2rem; }
body.t-color .cs-fam-h { font-family: var(--f-d); font-weight: 400; font-size: 1.6rem; margin: 0 0 .9rem; color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
body.t-color .cs-fam-h span { font-family: var(--f-b); font-size: .9rem; color: var(--muted); }
body.t-color .cs-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.t-color .cs-card { border-radius: 1.6rem; padding: 1.3rem 1.3rem 1.2rem; display: grid; gap: .45rem; align-content: start; color: inherit; text-decoration: none; transition: transform .25s ease; }
body.t-color .cs-card:hover { transform: translateY(-3px); }
body.t-color .cs-strip { display: flex; height: 2.3rem; border-radius: 999px; overflow: hidden; border: 3px solid #fff; margin-bottom: .4rem; box-shadow: 0 6px 14px -10px rgba(40,62,50,.45); }
body.t-color .cs-strip i { flex: 1; }
body.t-color .cs-card-h { font-family: var(--f-d); font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
body.t-color .cs-card-alt { font-size: .85rem; font-style: italic; color: var(--accent); margin-top: -.2rem; }
body.t-color .cs-card-p { font-size: .92rem; line-height: 1.6; color: var(--muted); }
body.t-color .cs-card .tlink { margin-top: .3rem; }

/* theory and tests */
body.t-color .cs-dims, body.t-color .cs-tests { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1rem 0 1.4rem; }
body.t-color .cs-dim, body.t-color .cs-test { border-radius: 1.6rem; padding: 1.3rem; }
body.t-color .cs-dim p, body.t-color .cs-test p { margin: 0; font-size: .93rem; line-height: 1.65; color: var(--muted); }
body.t-color .cs-dim-sw { display: block; height: 1.6rem; border-radius: 999px; border: 3px solid #fff; margin-bottom: .9rem; }
body.t-color .cs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
body.t-color .cs-table caption { text-align: left; font-weight: 600; padding: .8rem 1rem; color: var(--ink-2); }
body.t-color .cs-table th, body.t-color .cs-table td { text-align: left; padding: .6rem 1rem; border-top: 1px solid var(--hair); white-space: nowrap; }
body.t-color .cs-table th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
body.t-color .cs-honest { border-radius: 1.8rem; padding: clamp(1.3rem, 3.5vw, 2.4rem); max-width: 760px; }

/* shop pair and inline CTAs */
body.t-color .cs-shop { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
body.t-color .cs-shop-card { border-radius: 1.8rem; padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: .6rem; justify-items: start; align-content: start; }
body.t-color .cs-shop-h { font-family: var(--f-d); font-weight: 400; font-size: 1.7rem; margin: 0; color: var(--ink); }
body.t-color .cs-shop-card p { margin: 0 0 .5rem; line-height: 1.65; color: var(--ink-2); }
body.t-color .cs-cta { border-radius: 1.6rem; padding: 1.2rem 1.4rem; display: grid; gap: .8rem; justify-items: start; margin: 1.2rem 0 .4rem; }
body.t-color .cs-cta p { margin: 0; line-height: 1.65; }

/* season article */
body.t-color .cs-season { max-width: 860px; padding-block: clamp(1rem, 3vw, 2rem); }
body.t-color .cs-block { margin: 2.4rem 0 0; line-height: 1.75; color: var(--ink-2); }
body.t-color .cs-block > p { margin: 0 0 1rem; max-width: 68ch; }
body.t-color .cs-glance { border-radius: 1.8rem; padding: clamp(1.2rem, 3vw, 2rem); }
body.t-color .cs-dl { display: grid; gap: .1rem 1.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; }
body.t-color .cs-dl div { padding: .6rem 0; border-top: 1px solid var(--hair); }
body.t-color .cs-dl dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
body.t-color .cs-dl dd { margin: .15rem 0 0; color: var(--ink); line-height: 1.5; }
body.t-color .cs-neigh { list-style: none; padding: 0; }
body.t-color .cs-neigh li { padding: .9rem 1.1rem; border-radius: 1.2rem; background: rgba(255,255,255,.5); border: 1.5px solid var(--s-rim); }
body.t-color .cs-neigh a { display: block; margin-bottom: .2rem; color: var(--accent); }
body.t-color .cs-cards-2 { max-width: 860px; margin-inline: auto; }

/* swatches */
body.t-color .sw-grid { list-style: none; padding: 0; margin: .4rem 0 1.4rem; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
body.t-color .sw { position: relative; width: 100%; font: inherit; text-align: left; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; padding: .55rem .7rem .55rem .55rem; border-radius: 999px; background: rgba(255,255,255,.6); border: 1.5px solid var(--s-rim); box-shadow: var(--s-hi); cursor: pointer; color: var(--ink); }
body.t-color .sw:hover { background: #fff; }
body.t-color .sw-dot { grid-row: 1 / 3; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(40,62,50,.12); }
body.t-color .sw-n { font-size: .82rem; font-weight: 600; line-height: 1.2; }
body.t-color .sw-h { font-size: .72rem; color: var(--muted); letter-spacing: .03em; }
body.t-color .sw-copied .sw-h { font-size: 0; }
body.t-color .sw-copied .sw-h::after { content: "Copied"; font-size: .72rem; color: var(--accent); font-weight: 700; }
body.t-color .sw-avoid .sw-dot { position: relative; }
body.t-color .sw-avoid .sw-dot::after { content: ""; position: absolute; inset: 45% -8% auto; height: 2px; background: #fff; transform: rotate(-45deg); box-shadow: 0 0 0 1px rgba(40,62,50,.18); }
@media (max-width: 520px) {
  body.t-color .sw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.t-color .dm-tests { gap: .35rem; }
  body.t-color .dm-t { padding: .5rem .8rem; font-size: .82rem; }
  body.t-color .cq-opt { border-radius: 1.3rem; }
}
body.t-color :is(.cs-prose, .cs-test, .cs-table, .cs-block, .cq-runner, .cs-howto, .cs-dl) a:not(.btn):not(.tlink) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.t-color .cs-tests { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
