/* Audience shelf + sticky calculator — WIP4 */

/* ---------------- landing controls ---------------- */
.ix-lctl{ display:flex; align-items:center; gap:8px; }
.ix-lsel{ position:relative; }
.ix-lsel__b{ display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 11px; border-radius:900px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
.ix-lsel__b:hover{ border-color:#c6d3de; }
.ix-lsel__b.is-set{ border-color:var(--mint-line); background:var(--mint); color:var(--green-deep); }
.ix-lsel__b .ph{ color:var(--faint); font-weight:500; }
.ix-lsel__m{ position:absolute; bottom:calc(100% + 7px); left:0; z-index:44; width:250px; max-height:290px; overflow:auto; background:var(--paper); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); padding:6px; }
.ix-lsel__o{ display:block; width:100%; text-align:left; border:0; background:none; font:inherit; font-size:13px; color:var(--ink); padding:8px 10px; border-radius:8px; cursor:pointer; }
.ix-lsel__o:hover{ background:var(--mint); }
.ix-lsel__o.on{ color:var(--green-deep); font-weight:600; background:var(--mint); }
.ix-audbtn{ display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 11px 0 9px; border-radius:900px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
.ix-audbtn:hover{ border-color:#c6d3de; }
.ix-audbtn.is-set{ border-color:var(--mint-line); background:var(--mint); color:var(--green-deep); }
.ix-audbtn__marks{ display:flex; }
.ix-audbtn__marks i{ width:19px; height:19px; border-radius:900px; color:#fff; font-size:7.5px; font-weight:700; font-style:normal; display:inline-flex; align-items:center; justify-content:center; border:1.5px solid #fff; margin-right:-6px; letter-spacing:-.02em; }
.ix-audbtn__marks i:last-child{ margin-right:2px; }

/* ---------------- shelf ---------------- */
.as-veil{ position:fixed; inset:0; z-index:70; background:rgba(5,12,20,.42); display:flex; align-items:center; justify-content:center; padding:34px; animation:ixrise 180ms ease both; }
.as-modal{ width:min(1240px,100%); height:min(760px,100%); background:var(--paper); border-radius:18px; box-shadow:0 28px 70px rgba(4,12,21,.3); display:flex; flex-direction:column; overflow:hidden; font-family:'PP Telegraf',sans-serif; }
.as-hd{ display:flex; align-items:center; gap:14px; padding:18px 22px; border-bottom:1px solid var(--line); }
.as-hd__ey{ font-size:10.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--green); }
.as-hd__t{ font-size:19px; font-weight:700; letter-spacing:-.01em; color:var(--ink); margin-top:2px; }
.as-hd__search{ margin-left:auto; display:flex; align-items:center; gap:8px; height:36px; padding:0 13px; border:1px solid var(--line); border-radius:900px; color:var(--faint); width:260px; flex:none; }
.as-hd__search input{ border:0; outline:0; font:inherit; font-size:13px; color:var(--ink); background:none; width:100%; }
.as-x{ width:34px; height:34px; border-radius:900px; border:1px solid var(--line); background:var(--paper); color:var(--muted); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.as-x:hover{ background:#f4f7fa; color:var(--ink); }
/* category step */
.ix-audbtn__cat{ font-weight:500; color:var(--muted); border-left:1px solid var(--mint-line); padding-left:8px; margin-left:1px; }

/* category rail + group tabs */
.as-rail__h--sp{ margin-top:16px; padding-top:20px; }
.as-catrow--recent .as-catrow__n{ display:inline-flex; align-items:center; gap:7px; }
.as-rail__h{ font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); padding:0 11px 8px; }
.as-catrow{ display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; text-align:left; border:0; background:none; padding:9px 11px; border-radius:9px; cursor:pointer; font:inherit; }
.as-catrow:hover{ background:#eff4f8; }
.as-catrow.is-on{ background:var(--mint); }
.as-catrow__n{ font-size:13px; font-weight:600; color:var(--muted); }
.as-catrow.is-on .as-catrow__n{ color:var(--green-deep); }
.as-catrow__b{ font-size:11px; font-weight:600; color:var(--faint); background:#eef2f6; border-radius:900px; padding:1px 8px; flex:none; }
.as-catrow.is-on .as-catrow__b{ background:#e4f0da; color:var(--green); }
.as-tabs{ display:flex; align-items:stretch; flex-wrap:wrap; gap:2px; margin:-4px -20px 14px; padding:0 20px; }
.as-tab{ display:inline-flex; align-items:center; gap:6px; flex:none; border:0; border-bottom:2px solid transparent; background:none; font:inherit; font-size:12.5px; font-weight:600; color:var(--muted); padding:9px 9px; margin-bottom:-1px; cursor:pointer; white-space:nowrap; }
.as-tab i{ font-style:normal; font-size:11px; font-weight:600; color:var(--faint); background:#f2f6fa; border-radius:900px; padding:1px 6px; }
.as-tab:hover:not(:disabled){ color:var(--ink); }
.as-tab.is-on{ color:var(--green-deep); border-bottom-color:var(--green); }
.as-tab.is-on i{ background:#e4f0da; color:var(--green); }
.as-tab.is-empty{ opacity:.4; cursor:default; }
.as-tab--alt{ padding-left:13px; margin-left:4px; border-left:1px solid var(--line); }
.as-catrow--own{ margin-top:6px; }
.as-catrow--own .as-catrow__n{ color:var(--green-deep); }
.as-sec{ margin-bottom:26px; }
.as-sec:last-child{ margin-bottom:4px; }
.as-sec__h{ display:flex; align-items:center; gap:8px; margin-bottom:11px; font-size:14.5px; font-weight:700; letter-spacing:-.01em; color:var(--ink); }
.as-sec__h i{ font-style:normal; font-size:11px; font-weight:600; color:var(--faint); background:#f2f6fa; border-radius:900px; padding:1px 7px; }
.as-sec__d{ font-size:12.5px; line-height:1.5; color:var(--muted); margin:3px 0 11px; text-wrap:pretty; max-width:620px; }
.as-pick{ display:flex; flex-direction:column; gap:6px; justify-content:center; height:100%; max-width:340px; }
.as-pick__t{ font-size:15px; font-weight:700; color:var(--ink); }
.as-pick__d{ font-size:13px; line-height:1.6; color:var(--muted); text-wrap:pretty; }

.as-body{ flex:1; display:grid; grid-template-columns:236px minmax(0,1fr); min-height:0; }
.as-thin{ font-size:12px; line-height:1.5; color:var(--amber-tx); background:var(--amber); border:1px solid #f1e2bd; border-radius:10px; padding:10px 12px; margin-bottom:12px; }
.as-rail{ border-right:1px solid var(--line); padding:16px 12px; display:flex; flex-direction:column; gap:1px; background:#fbfcfe; overflow:auto; }
.as-rail__note{ margin-top:auto; font-size:11.5px; line-height:1.5; color:var(--muted); padding:11px; background:var(--paper); border:1px solid var(--line); border-radius:10px; }
.as-main{ padding:18px 20px; overflow:auto; min-width:0; }
.as-main__note{ font-size:12.5px; color:var(--muted); margin-bottom:14px; }
.as-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(268px,1fr)); gap:10px; align-items:stretch; }
.as-card{ display:flex; flex-direction:column; gap:8px; text-align:left; border:1px solid var(--line); background:var(--paper); border-radius:14px; padding:14px 15px 13px; cursor:pointer; font:inherit; transition:border-color 120ms ease, background 120ms ease; }
.as-card:hover{ border-color:#c6d3de; }
.as-card.is-on{ border-color:var(--green); background:var(--mint); }
.as-card__hd{ display:flex; align-items:center; gap:9px; }
.as-card__mark{ width:28px; height:28px; flex:none; border-radius:8px; color:#fff; font-size:9.5px; font-weight:700; letter-spacing:-.02em; display:inline-flex; align-items:center; justify-content:center; }
.as-card__name{ font-size:13.5px; font-weight:700; color:var(--ink); letter-spacing:-.01em; line-height:1.25; }
.as-card__tick{ margin-left:auto; width:19px; height:19px; flex:none; border-radius:900px; border:1.5px solid var(--line); display:inline-flex; align-items:center; justify-content:center; color:#fff; }
.as-card.is-on .as-card__tick{ background:var(--green); border-color:var(--green); }
.as-card__desc{ font-size:12.5px; line-height:1.5; color:var(--muted); text-wrap:pretty; }
/* Everything under the header hangs off the name, not the avatar: 28px mark + 9px gap */
.as-card > .as-cov, .as-card > .as-card__hist, .as-card > .as-card__crit, .as-card > .as-card__desc{ margin-left:37px; }
.as-card__crit{ display:flex; flex-wrap:wrap; gap:4px; padding-top:2px; }
.as-card__cat{ font-size:10.5px; font-weight:700; color:var(--green-deep); background:var(--paper); border:1px solid var(--mint-line); border-radius:900px; padding:2px 8px; }
.as-card.is-on .as-card__cat{ background:#fff; }
.as-card__crit i{ font-style:normal; font-size:10.5px; font-weight:600; color:var(--muted); background:#f2f6fa; border-radius:900px; padding:3px 8px; }
.as-card.is-on .as-card__crit i{ background:#e4f0da; color:var(--green-deep); }
.as-cov{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; letter-spacing:.02em; margin-top:1px; }
.as-card__hist{ font-size:11.5px; line-height:1.5; color:var(--muted); text-wrap:pretty; margin-top:-3px; }
.as-card.is-on .as-card__hist{ color:var(--green-deep); }
.as-cov i{ width:6px; height:6px; border-radius:900px; flex:none; }
.as-card .as-cov i{ display:none; }
.as-cov--sm{ font-size:10.5px; font-weight:600; }
.as-empty{ font-size:13px; color:var(--muted); padding:26px 0; }
.as-primary{ height:42px; border-radius:900px; border:0; background:var(--green); color:#fff; font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; }
.as-primary:disabled{ opacity:.35; cursor:default; }
.as-primary:not(:disabled):hover{ background:var(--green-deep); }

/* custom pane */
.as-custom{ max-width:660px; }
.as-custom__lead{ font-size:13px; line-height:1.6; color:var(--muted); margin-bottom:18px; text-wrap:pretty; }
.as-fld{ display:block; margin-bottom:14px; }
.as-fld__l{ display:block; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.as-fld__in,.as-fld__ta{ width:100%; border:1px solid var(--line); border-radius:10px; padding:10px 12px; font:inherit; font-size:13.5px; color:var(--ink); outline:0; resize:vertical; }
.as-fld__in:focus,.as-fld__ta:focus{ border-color:var(--green); }
.as-critgrid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.as-critgrp__l{ font-size:11.5px; font-weight:600; color:var(--muted); margin-bottom:6px; }
.as-critgrp__c{ display:flex; flex-wrap:wrap; gap:5px; }
.as-chip{ border:1px solid var(--line); background:var(--paper); border-radius:900px; padding:5px 11px; font:inherit; font-size:12px; color:var(--ink); cursor:pointer; }
.as-chip:hover{ border-color:#c6d3de; }
.as-chip.is-on{ border-color:var(--green); background:var(--mint); color:var(--green-deep); font-weight:600; }
.as-custom__foot{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); font-size:12.5px; color:var(--muted); }
.as-custom__foot .as-primary{ padding:0 22px; }

/* ---------------- calculator rail (third column) ---------------- */
/* The rail absorbs all surplus width (basis 0, grow 1), so the gap to the brief's
   cards is always the brief's own 26px right padding — which also gives the overlay
   scrollbar a gutter. Narrow windows still compress the brief first, down to the
   rail's min-width floor. The card is left-aligned and widens to 520px; past that
   the leftover collects to its right, so the right spacing is the one that flexes.
   Never flex-basis:auto here — it resolves to the card's max-content and starves
   the brief. */
.cc-rail{ flex:1 1 0%; width:auto; min-width:290px; max-width:400px; padding:18px 26px 0 0; overflow-y:auto; overflow-x:hidden; font-family:'PP Telegraf',sans-serif; background:var(--bg); }
/* A card in the same family as the brief's section cards. */
.cc-card{ width:100%; max-width:380px; margin-bottom:18px; animation:ixrise 320ms ease backwards; }
/* No overflow clip — the credits popover has to escape the card; the corners are
   rounded on the first and last blocks instead. */
.cc-card{ position:relative; background:var(--paper); border:1px solid var(--line); border-radius:14px; }
.cc-top{ z-index:2; background:var(--paper); padding:18px 20px 16px; border-radius:0 0 13px 13px; }
/* panel make-up: read-only consequence of the audience and the milestone */
.cc-panel{ margin-top:18px; padding-top:16px; border-top:1px solid var(--line2); }
.cc-panel__mode{ font-size:11.5px; font-weight:600; color:var(--ink); }
.cc-mixsum{ display:flex; flex-direction:column; gap:6px; margin-top:4px; }
.cc-mixsum em{ font-style:normal; font-size:11px; color:var(--muted); }
/* collapse control */
.cc-hd{ display:flex; justify-content:flex-end; padding:8px 10px 0; }
.cc-collapse{ display:flex; align-items:center; justify-content:center; width:26px; height:26px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--muted); cursor:pointer; }
.cc-collapse:hover{ border-color:#c6d3de; color:var(--ink); }
.cc-rail.cc-rail--collapsed{ flex:0 0 auto; min-width:0; width:54px; padding:18px 14px 0 0; display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.cc-railtab{ writing-mode:vertical-rl; font-size:10.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--faint); }
/* milestone rows — timeline and decision quality in one call */
.cc-mile{ display:flex; flex-direction:column; gap:6px; margin:9px 0 2px; }
.cc-mile__b{ display:flex; align-items:flex-start; gap:10px; text-align:left; padding:10px 11px; border:1px solid var(--line); border-radius:10px; background:var(--paper); font:inherit; cursor:pointer; }
.cc-mile__b:hover:not(:disabled){ border-color:#c6d3de; }
.cc-mile__b.is-on{ border-color:var(--green); background:var(--mint); }
.cc-mile.is-wait .cc-mile__b{ cursor:default; border-color:transparent; background:transparent; }
.cc-mile.is-wait .cc-mile__b.is-on{ border-color:var(--line); background:var(--paper); }
.cc-mile__dots{ display:flex; gap:3px; padding-top:5px; flex:none; }
.cc-mile__dots i{ width:6px; height:6px; border-radius:50%; background:#dfe6ec; }
.cc-mile__dots i.is-on{ background:var(--green); }
.cc-mile__txt{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.cc-mile__lab{ font-size:12.5px; font-weight:700; color:var(--ink); }
.cc-mile__use{ font-size:11.5px; line-height:1.35; color:var(--muted); }
.cc-mile__meta{ font-size:10.5px; color:var(--faint); }
.cc-mile__when{ flex:none; padding:3px 8px; border-radius:900px; background:var(--line2); font-size:10.5px; font-weight:700; color:var(--ink); white-space:nowrap; }
.cc-mile__b.is-on .cc-mile__when{ background:var(--paper); color:var(--green-deep); }
.cc-mile__note{ font-size:10.5px; line-height:1.45; color:var(--faint); margin-top:2px; }
.cc-aud-sec{ padding:16px 20px 20px; }
.cc-aud-sec--in{ padding:14px 0 4px; border-bottom:0; }
.cc-top__hd{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px; }
.cc-aud__tot{ display:flex; align-items:baseline; gap:6px; font-size:12px; color:var(--muted); }
.cc-aud__tot b{ font-size:15.5px; font-weight:700; letter-spacing:-.015em; color:var(--ink); }
.cc-aud__split{ display:flex; align-items:center; gap:14px; font-size:11.5px; color:var(--muted); margin:2px 0 12px; }
.cc-aud__split-i{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:5px; }
.cc-aud__split-i--twin{ background:#a9cf9a; }
.cc-aud__split-i--human{ background:var(--faint); }
.cc-top__ey--sub{ color:var(--faint); }
.cc-chg{ border:0; background:none; padding:2px 0; font:inherit; font-size:12px; font-weight:600; color:var(--green-deep); cursor:pointer; }
.cc-chg:hover{ text-decoration:underline; }
.cc-top__ey{ font-size:10.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); }
.cc-aud{ display:inline-flex; align-items:center; gap:9px; width:100%; margin-top:11px; height:36px; padding:0 12px 0 9px; border-radius:900px; border:1px solid var(--line); background:var(--paper); font:inherit; font-size:13px; font-weight:600; color:var(--ink); cursor:pointer; white-space:nowrap; }
.cc-aud:hover{ border-color:#c6d3de; }
.cc-aud svg{ margin-left:auto; flex:none; }
.cc-aud__marks{ display:flex; flex:none; }
.cc-aud__marks i{ width:22px; height:22px; border-radius:900px; color:#fff; font-size:8px; font-weight:700; font-style:normal; display:inline-flex; align-items:center; justify-content:center; border:1.5px solid #fff; margin-right:-7px; }
.cc-aud__marks i:last-child{ margin-right:3px; }
.cc-figs{display:flex;flex-direction:column;margin-top:0;padding-top:0;border-top:none;}
.cc-fig{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:7px 1px; border-top:1px solid var(--line2); }
.cc-fig:first-child{ border-top:0; padding-top:2px; }
.cc-fig span{ font-size:12px; color:var(--muted); }
.cc-fig>b{ font-size:15.5px; font-weight:700; letter-spacing:-.015em; color:var(--ink); }
.cc-fig--cr{ position:relative; margin-top:3px; padding-top:9px; border-top:1px solid var(--line); }
.cc-fig--cr>span{ display:inline-flex; align-items:center; gap:5px; }
.cc-i{ display:inline-flex; align-items:center; padding:0; border:0; background:none; color:var(--faint); cursor:pointer; }
.cc-i:hover,.cc-i[aria-expanded="true"]{ color:var(--green-deep); }
.cc-pop{ display:flex; flex-direction:column; margin:10px 0 2px; padding:13px 14px; background:var(--mint); border:1px solid var(--mint-line); border-radius:12px; text-align:left; animation:ixrise 180ms ease both; }
.cc-pop__ey{ font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--green-deep); }
.cc-pop__big{ font-size:24px; font-weight:700; letter-spacing:-.02em; color:var(--green-deep); margin:3px 0 7px; }
.cc-pop__l{ font-size:12.5px; line-height:1.6; color:var(--ink); text-wrap:pretty; }
.cc-pop__l b{ font-size:12.5px; font-weight:700; color:var(--ink); }
.cc-pop__bt{ margin-top:10px; padding-top:9px; border-top:1px solid #dceacf; font-size:11.5px; line-height:1.5; color:var(--muted); }
.cc-fig--cr>b{ font-size:22px; color:var(--green-deep); }
.cc-more{ display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:34px; margin-top:13px; border:1px solid var(--line); border-radius:900px; background:var(--paper); font:inherit; font-size:12.5px; font-weight:600; color:var(--green-deep); cursor:pointer; }
.cc-more:hover{ background:var(--mint); border-color:var(--mint-line); }
.cc-live{ display:inline-flex; align-items:center; gap:7px; height:30px; margin-top:12px; padding:0 13px; border-radius:900px; background:#daebd1; color:var(--green-deep); font-size:12.5px; font-weight:600; }
.cc-live i{ width:6px; height:6px; border-radius:900px; background:var(--green-deep); }
.ix-art__go{ display:inline-flex; flex:none; align-items:center; gap:8px; height:34px; padding:0 16px; border-radius:900px; border:0; background:var(--green); color:#fff; font:inherit; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
.ix-art__go:hover:not(:disabled){ background:var(--green-deep); }
.ix-art__go:disabled{ opacity:.35; cursor:default; }

/* The commit row leads the card and stays on screen however far it runs. */
.cc-foot{ position:sticky; top:0; z-index:4; padding:16px 20px; border-bottom:1px solid var(--line); background:#fbfcfe; border-radius:13px 13px 0 0; }
.cc-hd{ position:sticky; top:0; z-index:5; background:#fbfcfe; border-radius:13px 13px 0 0; }
.cc-footrow{ display:flex; flex-wrap:wrap; gap:8px; }
.cc-footrow button{ white-space:nowrap; }
.cc-footrow>*{ min-width:0; }
.cc-preview{ flex:1; height:42px; border:1px solid var(--line); border-radius:900px; background:var(--paper); color:var(--ink); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.cc-preview:hover{ border-color:var(--green); color:var(--green-deep); background:var(--mint); }
.cc-preview:disabled{ color:var(--muted); cursor:default; }
.cc-go-wrap{ position:relative; flex:1; display:flex; }
.cc-go-wrap.has-tip{ cursor:not-allowed; }
.cc-go-wrap.has-tip::after{ content:attr(data-tip); position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); background:var(--ink); color:#fff; font-size:12px; font-weight:600; padding:6px 10px; border-radius:6px; white-space:nowrap; opacity:0; visibility:hidden; transition:opacity 120ms; pointer-events:none; z-index:10; }
.cc-go-wrap.has-tip:hover::after{ opacity:1; visibility:visible; }
.cc-go{ display:flex; align-items:center; justify-content:center; gap:9px; width:100%; height:42px; border:0; border-radius:900px; background:var(--green); color:#fff; font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.cc-go:hover:not(:disabled){ background:var(--green-deep); }
.cc-go:disabled{ background:var(--line2); color:var(--muted); cursor:not-allowed; }
/* No product imagery yet: the action is still available, but it isn't the
   confident green commit — clicking it asks for the assets first. */
.cc-go--wait:not(:disabled){ background:var(--paper); color:var(--muted); border:1px solid var(--line); }
.cc-go--wait:not(:disabled):hover{ background:var(--bg); color:var(--ink); border-color:#c6d3de; }
.cc-go:disabled{ opacity:.4; cursor:default; }
.cc-live--wide{ display:flex; justify-content:center; width:100%; margin:0; height:42px; }
.cc-trades{ margin:4px 0 10px; }
.cc-fold{ display:inline-flex; align-items:center; gap:6px; padding:4px 0; border:0; background:none; font:inherit; font-size:12.5px; font-weight:400; color:var(--green-deep); cursor:pointer; text-align:left; }
.cc-fold:hover>span{ text-decoration:underline; }

.cc-fold>i{ font-style:normal; font-size:10.5px; color:var(--green-deep); opacity:.65; }
.cc-fold>svg{ flex:none; }
.cc-trades .cc-subs{ margin-top:8px; animation:ixrise 180ms ease both; }
.cc-trades .cc-h{ margin-bottom:8px; }
.cc-sec{ padding:16px 20px 0; border-top:1px solid var(--line); margin-top:16px; }
.cc-sec:last-child{ padding-bottom:20px; }
@media (max-width:1080px){ .cc-rail{ min-width:290px; } }
.cc-col{ min-width:0; }
.cc-col--side{ margin-top:24px; }.cc-h{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.cc-h--sp{ margin-top:22px; }
.cc-fig--time{ border-bottom:0; padding-bottom:2px; }
.cc-fig--respondents{margin-top:0;padding-top:0;border-top:none;}
/* Same vocabulary as the brief's Demographics / Critical questions switcher,
   scaled down for the rail. */
.cc-dial{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:9px 0 2px; }
.cc-dial__b{ display:flex; flex-direction:column; align-items:flex-start; gap:1px; min-width:0; padding:7px 7px; border:1px solid var(--line); border-radius:9px; background:var(--paper); cursor:pointer; font:inherit; text-align:left; }
.cc-dial__b:hover{ border-color:#c6d3de; }
.cc-dial__b.is-on{ border-color:var(--green); background:var(--mint); }
.cc-dial__n{ font-size:11.5px; font-weight:400; line-height:1.2; color:var(--ink); }
.cc-dial__l{ font-size:10px; line-height:1.3; color:var(--muted); }
.cc-dial__b.is-on .cc-dial__l{ color:var(--green-deep); }
.cc-note{ font-size:12px; line-height:1.55; color:var(--muted); margin-top:10px; text-wrap:pretty; }
.cc-note b{ color:var(--amber-tx); }
.cc-rows{ border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.cc-row{ display:flex; flex-direction:column; gap:5px; padding:11px 12px; border-top:1px solid var(--line2); }
.cc-row:first-child{ border-top:0; }
.cc-row__hd{ display:flex; align-items:center; gap:8px; }
.cc-row__hd b{ flex:1; min-width:0; font-size:12.5px; font-weight:600; color:var(--ink); }
.cc-row__mark{ width:24px; height:24px; flex:none; border-radius:7px; color:#fff; font-size:8.5px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
.cc-row__cov{ font-style:normal; font-size:11px; line-height:1.4; }
.cc-mixbar{ display:block; width:100%; height:4px; border-radius:900px; background:#eef2f6; overflow:hidden; }
/* Loading: the same shimmer primitive the brief's cards use, so the two panels
   read as one piece of work in progress. */
.cc-mixbar.is-wait{ background:linear-gradient(90deg,var(--line2) 0%,var(--line) 38%,var(--line2) 76%); background-size:220% 100%; animation:ixShim 1.5s linear infinite; }
.ix-skb--mx{ max-width:104px; height:9px; }
.ix-skb--nm{ max-width:150px; height:11px; }
.cc-row__mark--wait{ background:linear-gradient(90deg,var(--line2) 0%,var(--line) 38%,var(--line2) 76%); background-size:220% 100%; animation:ixShim 1.5s linear infinite; }
.ix-skb--fig{ max-width:46px; height:15px; border-radius:5px; }
.ix-skb--cr{ max-width:74px; height:21px; border-radius:6px; }
.ix-skb--dial{ max-width:38px; height:8px; }
.cc-land{ animation:ixLand 420ms ease backwards; }
.cc-dial.is-wait .cc-dial__b{ cursor:default; }
.cc-dial.is-wait .cc-dial__b.is-on{ border-color:var(--line); background:var(--paper); }
.cc-mixbar i{ display:block; height:100%; background:#a9cf9a; }
.cc-row__mx{ font-style:normal; font-size:11px; color:var(--muted); }
.cc-row__c{ flex:none; margin-left:auto; text-align:right; font-size:12.5px; font-weight:700; color:var(--ink); }
.cc-row--ft,.cc-row--tot{ flex-direction:row; align-items:center; justify-content:space-between; gap:10px; }
.cc-row--ft{ background:#fbfcfe; }
.cc-row--ft b{ font-size:12.5px; font-weight:500; color:var(--muted); }
.cc-row--tot{ background:var(--mint); }
.cc-row--tot b{ font-size:12.5px; color:var(--green-deep); }
.cc-row--tot .cc-row__c{ color:var(--green-deep); }

.cc-save{ border:1px solid var(--mint-line); background:linear-gradient(180deg,#f4faef 0%,#fff 70%); border-radius:14px; padding:16px 18px; }
.cc-save__ey{ font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--green-deep); }
.cc-save__big{ font-size:27px; font-weight:700; letter-spacing:-.02em; color:var(--green-deep); margin:4px 0 8px; }
.cc-save__l{ font-size:12.5px; line-height:1.6; color:var(--ink); text-wrap:pretty; }
.cc-save__l b{ font-weight:700; }
.cc-save__bt{ margin-top:11px; padding-top:10px; border-top:1px solid #dceacf; font-size:11.5px; line-height:1.5; color:var(--muted); }
.cc-subs{ display:flex; flex-direction:column; gap:8px; }
.cc-sub{ border:1px solid var(--line); border-radius:12px; padding:12px 13px; transition:border-color .18s ease, background .18s ease; }
.cc-sub.is-on{ border-color:var(--green); background:var(--mint); }
.cc-sub__t{ font-size:13px; font-weight:600; color:var(--ink); }
.cc-sub__d{ font-size:12px; line-height:1.5; color:var(--muted); margin-top:4px; text-wrap:pretty; }
.cc-sub__f{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:9px; }
.cc-sub__w{ font-size:11.5px; font-weight:700; color:var(--green-deep); }
.cc-sub__a{ display:inline-flex; align-items:center; gap:7px; border:1px solid var(--line); background:var(--paper); border-radius:900px; padding:5px 13px 5px 9px; font:inherit; font-size:12px; font-weight:600; color:var(--ink); cursor:pointer; }
.cc-sub__a:hover{ border-color:var(--green); color:var(--green-deep); background:var(--mint); }
.cc-sub__sw{ width:20px; height:12px; border-radius:900px; background:var(--line); position:relative; flex:none; transition:background .18s ease; }
.cc-sub__sw>i{ position:absolute; top:2px; left:2px; width:8px; height:8px; border-radius:900px; background:#fff; transition:transform .18s ease; }
.cc-sub__a.is-on{ border-color:var(--green); color:var(--green-deep); background:#fff; }
.cc-sub__a.is-on .cc-sub__sw{ background:var(--green); }
.cc-sub__a.is-on .cc-sub__sw>i{ transform:translateX(8px); }
.cc-reset{ margin-top:12px; border:0; background:none; font:inherit; font-size:12px; color:var(--muted); text-decoration:underline; cursor:pointer; padding:0; }

/* ---------------- per-segment screener overrides ---------------- */
.ix-prof__ov{ margin-top:2px; border-top:1px solid var(--line2); padding-top:8px; }
.ix-prof__ovb{ display:inline-flex; align-items:center; gap:6px; border:0; background:none; padding:0; font:inherit; font-size:11.5px; font-weight:600; color:var(--muted); cursor:pointer; }
.ix-prof__ovb:hover{ color:var(--ink); }
.ix-prof__ovb.is-set{ color:var(--amber-tx); }
.ix-ovbody{ margin-top:9px; display:flex; flex-direction:column; gap:8px; }
.ix-ovrow{ display:flex; flex-direction:column; gap:5px; }
.ix-ovrow__l{ font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
.ix-ovrow__c{ display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
.ix-ovrow__c i{ font-style:normal; font-size:11.5px; color:var(--faint); }
.ix-ovchip{ border:1px solid var(--line); background:var(--paper); border-radius:900px; padding:3px 9px; font:inherit; font-size:11px; font-weight:600; color:var(--ink); cursor:pointer; }
.ix-ovchip:hover{ border-color:#c6d3de; }
.ix-ovchip.is-off{ color:var(--faint); background:#f6f8fa; text-decoration:line-through; border-style:dashed; font-weight:500; }
.ix-ovnote{ font-size:11px; line-height:1.45; color:var(--muted); }
