/* Event Creation Tool — online case. Direction B (04.11.2026): UX documentation look,
   Inter + JetBrains Mono, grid paper, numbered call-outs. Product screens are HTML at 1440 × 900
   and scaled to their frame by case.js. */

:root {
  --bg: #F6F8FB;
  --grid: rgba(30, 111, 235, .07);
  --ink: #0F1B33;
  --ink-2: #2B3546;
  --muted: #4A5568;
  --muted-2: #6B7689;
  --line: #CBD3DF;
  --line-2: #E3E8EF;
  --card: #fff;
  --blue: #1E6FEB;
  --blue-ink: #1E5FD0;
  --blue-bg: #EAF1FF;
  --pain: #B23A1E;
  --pain-bg: #FCEDE8;
  --fix: #137A43;
  --fix-bg: #E3F6EA;
  --note: #E8590C;
  --note-bg: rgba(232, 89, 12, .08);
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 6.667vw, 96px);
  --gap-sec: clamp(88px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-top: var(--gap-sec); }
main > .sec:last-child { padding-bottom: var(--gap-sec); } /* space above the next-case block, as between sections (08.11.2026) */
.lbl { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.lbl.muted { color: var(--muted-2); }
h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-top: 12px; max-width: 920px; text-wrap: balance; }
.body-lg { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); }
.narrow { max-width: 760px; margin-top: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.p { display: inline-block; font: 500 12px/1 var(--mono); color: var(--pain); background: var(--pain-bg); border-radius: 4px; padding: 4px 5px; margin-right: 8px; vertical-align: 1px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 251, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 64px; }   /* 24 + 16 + 24: the name sits where it sits on the index */
.topbar-name { margin-right: auto; }   /* type and place come from site/shell/top.css, the same on every page */
.topbar .wrap { max-width: none; padding: 0 var(--sh-pad); }   /* the bar spans the window like the index header, so the name doesn't move */
@media (max-width: 520px) { .topbar-in { height: 52px; } }
.topbar-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-right: -9px; }   /* the last word, not its hover pad, lines up with the right edge */
.topbar-links::-webkit-scrollbar { display: none; }
.topbar-links a { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 9px; white-space: nowrap; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.topbar-links a span { font: 500 11px var(--mono); color: var(--muted-2); }
.topbar-links a:hover { color: var(--ink); background: rgba(30, 111, 235, .06); }
.topbar-links a.on { color: var(--blue-ink); background: var(--blue-bg); }
.topbar-links a.on span { color: var(--blue); }
@media (max-width: 1100px) { .topbar-links a span { display: none; } }
@media (max-width: 900px) { .topbar-links { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }
@media (max-width: 760px) { .topbar-links { display: none; } }

/* cover (08.11.2026): the title, one line and chips, then the event list without call-outs */
.cover { padding-top: clamp(64px, 8vw, 120px); }
.cover h1 { font-size: clamp(48px, 5.3vw, 76px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
@media (max-width: 340px) { .cover h1 { font-size: 44px; } }   /* "Creation Tool" stays on one line at 320 px */
.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); max-width: 720px; margin-top: 20px; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 500; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 760px) { .chips li { padding: 4px 10px; font-size: 13px; } }
.cover-vis { margin-top: clamp(48px, 5vw, 72px); }

.shot { position: relative; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(15, 27, 51, .10); background: #fff; overflow: hidden; }
.shot.scrolls { overflow-x: auto; overscroll-behavior-x: contain; }
.canvas { position: relative; overflow: hidden; }
.screen { width: 1440px; height: 900px; position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; }

/* annotation layer: dashed outline around the element + a numbered circle, in a colour the UI never uses */
.note { position: absolute; border: 1.5px dashed var(--note); border-radius: 8px; transition: background-color .15s; }
.note i { position: absolute; left: -36px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--note); color: #fff; font: 600 12px/24px var(--sans); font-style: normal; text-align: center; box-shadow: 0 0 0 2px #fff; }
.note.corner i { left: -12px; top: -12px; transform: none; }
.note.tr i { left: auto; right: -12px; top: -12px; transform: none; }
.note.bl i { left: -12px; top: auto; bottom: -12px; transform: none; }
.note.hot { background: var(--note-bg); }
.legend { display: flex; flex-direction: column; gap: 20px; }
.legend li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); transition: color .15s; }
.legend li span { flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--note); color: #fff; font: 600 12px/24px var(--sans); text-align: center; } /* centred on the first 22.5 px line */
.legend li.hot { color: var(--ink); }

/* 01 overview */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; margin-top: 32px; align-items: start; }
.spec { border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 12px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.spec dd { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 900px) { .overview-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .spec div { grid-template-columns: 1fr; gap: 4px; } }

/* 02 problem */
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.goals article { border-top: 1px solid var(--line); padding-top: 16px; }
.goals article p:not(.lbl) { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; gap: 32px; } }

/* 03 research: the numbers — three big numerals on hairlines */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div { display: flex; gap: 20px; align-items: flex-start; padding: 28px 32px 32px; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; padding-left: 0; }
.numbers dt { font-size: clamp(88px, 9vw, 136px); font-weight: 600; line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--blue); }
.numbers dd { font-size: 18px; font-weight: 600; line-height: 1.3; padding-top: 2px; }
.numbers dd span { display: block; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) {
  .numbers { grid-template-columns: 1fr; }
  .numbers div { border-left: 0; padding: 20px 0; align-items: center; }
  .numbers div + div { border-top: 1px solid var(--line); }
  .numbers dt { width: 64px; flex: none; font-size: 80px; }
}

/* 03 research: each problem next to what people said about it */
.evidence { width: 100%; border-collapse: collapse; margin-top: 48px; table-layout: fixed; }
.evidence th { text-align: left; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.evidence td { vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.evidence th:first-child, .evidence td:first-child { width: 46%; padding-right: 48px; }
.evidence td:first-child { color: var(--ink); }
.pt { display: flex; align-items: flex-start; gap: 12px; }
.pt .p { flex: none; min-width: 32px; margin: 3px 0 0; text-align: center; } /* centred on the first 25.5 px line */
.evidence td:last-child { color: var(--muted); }
@media (max-width: 760px) {
  .evidence thead { display: none; }
  .evidence, .evidence tbody, .evidence tr, .evidence td { display: block; width: auto; }
  .evidence { border-top: 1px solid var(--line); margin-top: 32px; }
  .evidence tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .evidence td { border: 0; padding: 0; }
  .evidence th:first-child, .evidence td:first-child { width: auto; padding-right: 0; }
  .evidence td:last-child { padding-left: 44px; margin-top: 8px; font-size: 16px; }
}

/* 04 journey map */
.journey-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 24px; max-width: 1100px; }
.journey-intro p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.journey-intro b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .journey-intro { grid-template-columns: 1fr; gap: 16px; } }

.cjm { margin-top: 40px; }
.cjm-bar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.seg button { border: 0; background: none; cursor: pointer; height: 34px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.seg button i { font: 500 11px var(--mono); font-style: normal; text-transform: uppercase; color: var(--muted-2); }
.seg button[aria-selected="true"] { background: var(--blue); color: #fff; }
.seg button[aria-selected="true"] i { color: rgba(255, 255, 255, .75); }
.pfilter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pfilter .lbl { margin-right: 4px; }
.pfilter button { cursor: pointer; height: 30px; padding: 0 11px; border: 1px dashed #B9C3D3; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.pfilter button:hover { border-color: var(--pain); }
.pfilter button[aria-pressed="true"] { border-style: solid; border-color: var(--ink); background: var(--ink); color: #fff; }

.cjm-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overscroll-behavior-x: contain; }
.cjm-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cjm-t { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; }
.cjm-t.old { min-width: 1040px; }
.cjm-t.new { min-width: 1240px; }
.cjm-t th, .cjm-t td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line-2); border-left: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.45; transition: opacity .2s, background-color .2s; }
.cjm-t tr:last-child > * { border-bottom: 0; }
.cjm-t th[scope="row"] { position: sticky; left: 0; z-index: 1; width: 150px; border-left: 0; background: #F9FAFC; font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); box-shadow: 1px 0 0 var(--line-2); }
.cjm-t thead th { background: #F9FAFC; font-weight: 600; font-size: 15px; color: var(--ink); }
.cjm-t thead th:not([scope]) i { display: block; font: 500 12px var(--mono); font-style: normal; color: var(--blue); margin-bottom: 4px; }
.cjm-t thead th em { display: block; font: 500 11px var(--mono); font-style: normal; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.cjm-t td.q { color: var(--muted); font-style: italic; }
.cjm-t tr.pain td { background: #FFF8F6; color: var(--pain); }
.cjm-t tr.fix td { background: #F5FBF7; color: var(--fix); }
.cjm-t tr.fix .p { color: var(--fix); background: var(--fix-bg); }
.cjm-t tr.where td { font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--blue-ink); }
.cjm-t .p { display: table; margin: 0 0 6px; }
.cjm[data-p] .cjm-t [data-p]:not(.match) { opacity: .22; }
.cjm[data-p] .cjm-t thead th.match { box-shadow: inset 0 3px 0 var(--pain); }
.cjm-hint { display: none; font: 500 12px var(--mono); text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
@media (max-width: 1100px) { .cjm-hint { display: block; } }
@media (max-width: 560px) { .cjm-t th[scope="row"] { width: 112px; padding: 12px; } }

/* 05 user flow: before / after structure */
.fm { margin-top: 48px; }
.fm-lbl { margin-bottom: 12px; }
.fm-row { display: grid; grid-template-columns: 150px 28px minmax(0, 1fr) 28px 150px 64px 130px; position: relative; }
.fm-row.before { align-items: center; margin-bottom: 40px; }
.fm-row.after { align-items: start; padding-top: 56px; }
.fm-node { display: block; text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 14px; min-height: 92px; position: relative; }
.fm-node i { display: block; font: 500 11px/1.4 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.fm-node b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.fm-node small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.fm-node .p { margin: 8px 6px 0 0; }
.fm-row.before .fm-node { background: transparent; border-style: dashed; }
.fm-row.after .p { color: var(--fix); background: var(--fix-bg); }
button.fm-node { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; cursor: pointer; transition: border-color .15s, box-shadow .15s; } /* buttons centre their content by default */
button.fm-node:hover { border-color: var(--blue); }
button.fm-node[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-bg); }
button.fm-node:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fm-row.after > .fm-node { margin-top: 44px; height: var(--step-h, auto); }
.fm-arrow { position: relative; height: 1.5px; background: var(--muted-2); margin: 0 6px 0 4px; align-self: center; }
.fm-row.after > .fm-arrow { align-self: start; margin-top: calc(44px + var(--step-h, 92px) / 2); }
.fm-arrow::after { content: ""; position: absolute; right: 0; top: -3.75px; width: 7px; height: 7px; border-top: 1.5px solid var(--muted-2); border-right: 1.5px solid var(--muted-2); transform: rotate(45deg); }
.fm-arrow em { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font: 500 11px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }
.fm-wizard { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, .55); }
.fm-wlbl { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 18px; }
.fm-wlbl i { vertical-align: 1px; font: 500 11px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-right: 8px; }
.fm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.fm-steps .fm-node:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 46px; width: 14px; height: 1.5px; background: var(--muted-2); }
.fm-dialogs { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: 28px; width: calc((100% - 56px) / 5); margin-left: calc((100% - 56px) / 5 * 3 + 42px); }
.fm-dialogs::before { content: ""; position: absolute; left: 50%; top: -28px; height: 28px; border-left: 1.5px dashed var(--muted-2); }
.fm-node.fm-dialog { min-height: 0; padding: 8px 12px 10px; border-style: dashed; }
.fm-node.fm-dialog b { font-size: 14px; }
.fm-loop { position: absolute; top: 16px; height: 40px; left: calc(178px + (100% - 550px) / 2); right: 269px; border: 1.5px dashed var(--muted-2); border-bottom: 0; border-radius: 10px 10px 0 0; }
.fm-loop::after { content: ""; position: absolute; right: -1.5px; top: 100%; height: 44px; border-right: 1.5px dashed var(--muted-2); }
.fm-loop::before { content: ""; position: absolute; left: -5.25px; bottom: 0; width: 7px; height: 7px; border-right: 1.5px solid var(--muted-2); border-bottom: 1.5px solid var(--muted-2); transform: rotate(45deg); }
.fm-loop em { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); padding: 0 10px; background: var(--bg); font: 500 11px/18px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); white-space: nowrap; }
.fm-detail { margin-top: 32px; }
.fm-detail > div { display: grid; grid-template-columns: 320px 1fr; gap: 24px; padding: 20px 0; }
.fm-detail > div + div { border-top: 1px solid var(--line-2); }
@media (min-width: 1101px) { html.js .fm-detail > div:not(.on) { display: none; } } /* narrow screens list every node */
.fm-detail dt { font: 500 13px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.fm-detail dd { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1100px) {
  .fm-row, .fm-row.before, .fm-row.after { display: flex; flex-direction: column; align-items: stretch; padding-top: 0; }
  .fm-row.after > .fm-node { margin-top: 0; height: auto; }
  .fm-node { min-height: 0; }
  .fm-arrow, .fm-row.after > .fm-arrow { align-self: flex-start; width: 1.5px; height: 28px; margin: 4px 0 4px 28px; }
  .fm-arrow::after { right: auto; top: auto; left: -2.75px; bottom: 0; transform: rotate(135deg); }
  .fm-arrow em { left: 16px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .fm-loop { display: none; }
  .fm-steps { grid-template-columns: 1fr; gap: 10px; }
  .fm-steps .fm-node:not(:last-child)::after { right: auto; left: 28px; top: 100%; width: 1.5px; height: 10px; }
  .fm-dialogs { width: auto; margin: 22px 0 0 28px; }
  .fm-dialogs::before { content: "Opened from step 4"; position: static; height: auto; border: 0; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
  .fm-detail > div { grid-template-columns: 1fr; gap: 6px; }
  button.fm-node, button.fm-node:hover, button.fm-node[aria-pressed="true"] { cursor: default; border-color: var(--line); box-shadow: none; } /* every node's details are listed below */
}

/* 06 design system */
.ds-foundations { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.ds-colors, .ds-type { margin-top: 14px; border-top: 1px solid var(--line); }
.ds-colors li { display: grid; grid-template-columns: 36px 84px 80px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ds-colors i { width: 36px; height: 36px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 27, 51, .08); }
.ds-colors b { font-weight: 600; }
.ds-colors code, .ds-type code { font: 500 13px var(--mono); color: var(--muted-2); }
.ds-colors span { font-size: 14.5px; color: var(--muted); }
.ds-type li { display: grid; grid-template-columns: minmax(0, 1fr) 92px 130px; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: #1A2233; }
.ds-type small { font-size: 14px; color: var(--muted); }
.ds-clbl { margin-top: 64px; }
.ds-comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: rgba(255, 255, 255, .65); }
.ds-c { display: flex; flex-direction: column; gap: 16px; padding: 20px 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ds-cn { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.ds-cv { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-height: 84px; }
.ds-rule { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) { .ds-foundations { grid-template-columns: 1fr; gap: 40px; } .ds-comps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ds-comps { grid-template-columns: minmax(0, 1fr); }   /* 320 px: the cells no longer push the page sideways */
  .ds-colors li { grid-template-columns: 32px 1fr auto; row-gap: 2px; }
  .ds-colors i { width: 32px; height: 32px; grid-row: span 2; }
  .ds-colors span { grid-column: 2 / -1; }
  .ds-type li { grid-template-columns: minmax(0, 1fr) auto; }
  .ds-type small { display: none; }
}

/* UI components — shared by the design system section and the product screens */
.ui-btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; height: 36px; padding: 0 16px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font: 500 14px var(--sans); cursor: pointer; box-shadow: 0 1px 2px rgba(15, 27, 51, .15); transition: background-color .15s; }
.ui-btn:hover { background: #1A63D6; }
.ui-btn.sec { background: #fff; color: #1A2233; box-shadow: inset 0 0 0 1px #D5DCE6, 0 1px 2px rgba(15, 27, 51, .06); }
.ui-btn.sec:hover { background: #F6F8FB; }
.ui-link { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px; border: 0; background: none; color: var(--blue-ink); font: 500 14px var(--sans); cursor: pointer; }
.ui-link .ic { width: 16px; height: 16px; }
.ui-link:hover { text-decoration: underline; }
.ui-field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ui-field > span:first-child { font-size: 13px; font-weight: 500; color: #3C4657; }
.ui-input { width: 100%; height: 38px; padding: 0 12px; border: 1px solid #D5DCE6; border-radius: 7px; background: #fff; color: #1A2233; font: 400 14px var(--sans); outline: none; transition: border-color .15s, box-shadow .15s; }
.ui-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-bg); }
.ui-select { display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 5px 10px 5px 6px; border: 1px solid #D5DCE6; border-radius: 7px; background: #fff; }
.ui-select .chev { width: 16px; height: 16px; margin-left: auto; color: #6B7689; }
.ui-tag { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 6px 0 9px; border-radius: 5px; background: #F0F2F5; font-size: 13px; color: #1A2233; }
.ui-tag .ic { width: 13px; height: 13px; color: #6B7689; }
.tiles { flex-wrap: nowrap; }
@media (max-width: 400px) { .tiles { flex-wrap: wrap; } }   /* two tiles don't fit side by side in a 320 px cell */
.ui-check { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 10px; border: 1px solid #D5DCE6; border-radius: 8px; background: #fff; font-size: 14px; color: #1A2233; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ui-check input { position: absolute; opacity: 0; pointer-events: none; }
.ui-check i { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid #B9C3D3; border-radius: 5px; color: transparent; }
.ui-check i .ic { width: 12px; height: 12px; stroke-width: 3; }
.ui-check:has(input:checked), .ui-check.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.ui-check:has(input:checked) i, .ui-check.on i { background: var(--blue); border-color: var(--blue); color: #fff; }
.ui-check:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.ui-switchrow { display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 14px; border: 1px solid #E3E8EF; border-radius: 8px; background: #fff; cursor: pointer; }
.ui-switchrow b { display: block; font-size: 14px; font-weight: 600; color: #1A2233; }
.ui-switchrow small { display: block; font-size: 13px; line-height: 1.4; color: #6B7689; margin-top: 2px; }
.ui-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 36px; height: 20px; margin: 0 0 0 auto; border-radius: 999px; background: #C9D1DE; cursor: pointer; transition: background-color .15s; }
.ui-switch::before { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 51, .25); transition: transform .15s; }
.ui-switch:checked, .ui-switch.on { background: var(--blue); }
.ui-switch:checked::before, .ui-switch.on::before { transform: translateX(16px); }
.ui-switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ui-stepper { display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; }
.ui-stepper li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #8792A6; }
.ui-stepper li:not(:last-child)::after { content: ""; width: 18px; height: 1px; margin: 0 10px; background: #C9D1DE; }
.ui-stepper i { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #C9D1DE; border-radius: 50%; font-size: 12px; font-style: normal; }
.ui-stepper li.done { color: #1A2233; }
.ui-stepper li.done i { background: var(--blue); border-color: var(--blue); color: #fff; }
.ui-stepper li.done i .ic { width: 13px; height: 13px; stroke-width: 2.8; }
.ui-stepper li.cur { color: var(--blue-ink); font-weight: 600; }
.ui-stepper li.cur i { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px var(--blue-bg); }
.ui-st { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 12.5px; font-weight: 500; }
.ui-st.up { background: var(--blue-bg); color: var(--blue-ink); }
.ui-st.now { background: var(--fix-bg); color: var(--fix); }
.ui-st.done { background: #F0F2F5; color: #5B6577; }
.ui-chip { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px 0 8px; border: 1px dashed #B9C3D3; border-radius: 999px; background: none; color: #3C4657; font: 500 13px var(--sans); cursor: pointer; }
.ui-chip .ic { width: 14px; height: 14px; }
.ui-chip em { font-style: normal; }
.ui-chip[aria-pressed="false"] em { display: none; }
.ui-chip[aria-pressed="true"] { border-style: solid; border-color: var(--blue); background: var(--blue-bg); color: var(--blue-ink); }
.ui-chip[aria-pressed="true"] .ic { transform: rotate(45deg); }
.ui-fieldrow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid #E3E8EF; border-radius: 8px; background: #fff; }
.ui-fieldrow .grip { width: 18px; height: 18px; color: #9AA5B5; cursor: grab; }
.ui-fieldrow b { display: block; font-size: 14px; font-weight: 600; color: #1A2233; }
.ui-fieldrow b em { font-style: normal; color: var(--blue); }
.ui-fieldrow small { display: block; font-size: 13px; color: #6B7689; }
.ui-fieldrow .more { width: 18px; height: 18px; margin-left: auto; color: #9AA5B5; }

/* 07 solution: one screen per row, text on the left */
.sol-list { margin-top: 56px; }
.sol { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.sol + .sol { margin-top: clamp(88px, 9vw, 136px); }   /* no lines between the rows: they clashed with the grid (08.11.2026) */
.sol-text h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; margin-top: 10px; text-wrap: balance; }
.sol-text > p:not(.lbl) { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.sol-text .legend { margin-top: 28px; gap: 16px; }
.sol-text .lbl { display: flex; align-items: center; gap: 8px; }
.sol-text .lbl .p { margin: 0; }
.p.fix { color: var(--fix); background: var(--fix-bg); }
.sol-tabs { margin-top: 28px; }
.sol-panels .legend { margin-top: 20px; }
html.js .sol-panel:not(.on) { display: none; }
.sol-panel + .sol-panel { margin-top: 40px; }
html.js .sol-panel + .sol-panel { margin-top: 0; }
@media (max-width: 1100px) { .sol { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* 08 prototype */
.proto-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 12px; }
.proto-hint { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-top: 12px; }
.proto-screen [data-go] { cursor: pointer; }
.proto-screen .ui-btn[data-go]:hover { filter: brightness(.95); }
.proto-screen .ui-link[data-go]:hover, .proto-screen .ui-stepper li[data-go]:hover { text-decoration: underline; }
.proto-screen [data-go]:focus-visible { outline: 2px solid var(--note); outline-offset: 2px; }
.app-table tr.new td { animation: rowin 2.4s ease-out both; }
@keyframes rowin { 0%, 40% { background: #E4EEFF; } 100% { background: #F4F8FF; } }

/* wizard screens (1440 × 900, content kept in the middle 1000 px) */
.app.wz { display: block; }
.wz-top { height: 64px; border-bottom: 1px solid #E3E8EF; background: #fff; }
.wz-top-in { width: 1000px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 14px; }
.wz-x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; box-shadow: inset 0 0 0 1px #D5DCE6; background: #fff; color: #1A2233; }
.wz-x .ic { width: 16px; height: 16px; }
.wz-top b { font-size: 15px; font-weight: 600; line-height: 24px; padding-right: 16px; border-right: 1px solid #E3E8EF; white-space: nowrap; }
.wz-top .ui-stepper { flex-wrap: nowrap; margin-left: 4px; }
.wz-top .ui-stepper li { white-space: nowrap; }
.wz-top .ui-stepper li:not(:last-child)::after { width: 14px; margin: 0 8px; }
.wz-body { width: 600px; margin: 40px auto 0; padding-bottom: 8px; }
.app h3 { margin: 0; }
.wz-body h3, .app .dlg h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #1A2233; }
.wz-sub { font-size: 14.5px; line-height: 1.5; color: #5B6577; margin-top: 6px; }
.wz-form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.wz-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wz-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #E3E8EF; }
.wz-group { font-size: 14px; font-weight: 600; color: #1A2233; margin-bottom: -6px; }
.app .ui-field > span:first-child em { font-style: normal; font-weight: 400; color: #8792A6; margin-left: 4px; }
.app .ui-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app .ui-input .ic { width: 16px; height: 16px; color: #8792A6; }
.app .ui-input.ph { color: #8792A6; }
.app .ui-area { height: 76px; align-items: flex-start; padding-top: 9px; }
.ui-q { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; background: #EEF1F6; color: #6B7689; font: 600 11px/1 var(--sans); font-style: normal; vertical-align: 1px; }
.wz-regby { position: relative; }
.ui-tip { position: absolute; left: calc(100% + 14px); top: 22px; width: max-content; max-width: 220px; padding: 8px 10px; border-radius: 6px; background: #1A2233; color: #fff; font-size: 12.5px; line-height: 1.4; }
.ui-tip::before { content: ""; position: absolute; left: -5px; top: 13px; width: 10px; height: 10px; background: #1A2233; transform: rotate(45deg); }
.ui-drop { display: grid; place-items: center; height: 88px; border: 1.5px dashed #C9D1DE; border-radius: 8px; font-size: 14px; color: #5B6577; }
.ui-drop b { font-weight: 500; color: var(--blue-ink); }
.wz-tiles { display: flex; gap: 12px; }
.wz-tiles.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.ui-box { border: 1px solid #E3E8EF; border-radius: 10px; overflow: hidden; background: #fff; }
.ui-bh { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; background: #F9FAFC; border-bottom: 1px solid #E3E8EF; }
.ui-bh b { font-size: 14px; font-weight: 600; color: #1A2233; }
.ui-bh.plain { background: none; border: 0; padding: 0 0 4px; }
.ui-row { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; font-size: 14.5px; color: #1A2233; }
.ui-row + .ui-row { border-top: 1px solid #EDF0F5; }
.ui-row .ic { width: 18px; height: 18px; color: #6B7689; }
.ui-row span { flex: 1; }
.ui-row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.ui-row .m { color: #9AA5B5; }
.ui-link.muted { color: #6B7689; }
.wz-fieldlist { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.wz-rules { display: flex; flex-direction: column; gap: 12px; }
.wz-rule { border: 1px solid #E3E8EF; border-radius: 10px; padding: 12px 14px 14px; }
.wz-rule-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wz-rule-h b { font-size: 13.5px; font-weight: 600; color: #1A2233; }
.wz-rule-h .ui-link { font-size: 13px; }
.wz-rule-g { display: grid; grid-template-columns: 1fr 120px; gap: 10px 12px; }

/* dialogs over the wizard */
.app .scrim { position: absolute; inset: 0; background: rgba(15, 27, 51, .42); }
.app .dlg { position: absolute; left: 440px; top: 72px; width: 560px; padding: 24px 28px; border-radius: 12px; background: #fff; box-shadow: 0 24px 64px rgba(15, 27, 51, .28); }
.dlg-h { display: flex; justify-content: space-between; align-items: center; }
.app .dlg .wz-form { margin-top: 22px; gap: 16px; }
.app .dlg-review { left: 400px; top: 28px; width: 640px; }
.dlg-body { margin-top: 16px; border-top: 1px solid #E3E8EF; }
.rv { padding: 12px 0 13px; border-bottom: 1px solid #E3E8EF; }
.rv:last-child { border-bottom: 0; }
.rv-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rv-h b { font-size: 15px; font-weight: 600; color: #1A2233; }
.rv-h .ui-link .ic { width: 14px; height: 14px; }
.rv dl { display: flex; flex-direction: column; gap: 3px; }
.rv dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 14px; line-height: 1.45; }
.rv dt { color: #6B7689; }
.rv dd { color: #1A2233; }

/* 09 results */
.numbers.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .numbers.two { grid-template-columns: 1fr; } .numbers.two dt { width: auto; min-width: 64px; font-size: clamp(48px, 15vw, 64px); } }

/* 10 what I'd do next: step 4 with the registration preview (a concept) */
.wz-split { width: 1000px; margin: 36px auto 0; padding: 0 16px 8px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.pv { padding: 16px; border: 1px solid #E3E8EF; border-radius: 12px; background: #F6F8FB; }
.pv-lbl { font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #6B7689; }
.pv-card { margin-top: 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(15, 27, 51, .08), 0 12px 32px rgba(15, 27, 51, .08); overflow: hidden; }
.pv-cv { height: 104px; background: radial-gradient(circle at 76% 30%, #FFC93C 0 21%, transparent 22%), linear-gradient(150deg, #1E6FEB, #7FB0FF); }
.pv-b { display: flex; flex-direction: column; padding: 16px 18px 18px; }
.pv-b h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: #1A2233; }
.pv-meta { font-size: 13px; color: #5B6577; margin-top: 3px; }
.pv-k { font-size: 13px; font-weight: 600; color: #1A2233; margin: 16px 0 2px; }
.pv-opt { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border: 1px solid #E3E8EF; border-radius: 8px; font-size: 13.5px; color: #1A2233; }
.pv-opt i { flex: none; width: 16px; height: 16px; border: 1.5px solid #B9C3D3; border-radius: 50%; }
.pv-opt.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.pv-opt.on i { border: 5px solid var(--blue); }
.pv-opt span { flex: 1; }
.pv-opt b, .pv-cp b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pv-cp { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; border-radius: 6px; background: var(--fix-bg); color: var(--fix); font-size: 13px; }
.pv-cp .ic { width: 15px; height: 15px; }
.pv-cp span { flex: 1; }
.pv-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid #EDF0F5; font-size: 13.5px; color: #1A2233; }
.pv-tot b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.pv-btn { width: 100%; margin-top: 14px; }

/* 11 takeaways: numbered rows on hairlines */
.tk { margin-top: 40px; border-top: 1px solid var(--line); }
.tk li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tk span { font: 500 13px var(--mono); color: var(--blue); }
.tk b { font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.tk p { font-size: 16.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .tk li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; } .tk p { grid-column: 2; } }

/* closing */
.foot-in { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-thanks { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; }
.foot .ui-link { font-size: 15px; text-decoration: none; }

.foot { padding-bottom: 96px; }

/* ?shot=<id> keeps one section (still frames for LinkedIn / Behance) */
html.shot .topbar, html.shot main > :not(.is-shot), html.shot .foot { display: none; }
html.shot .is-shot { padding-top: 72px; padding-bottom: 72px; }
html.frame-only .is-shot { padding: 0; }
html.frame-only .is-shot .wrap { max-width: none; padding: 0; }
html.frame-only .is-shot .wrap > :not(.shot) { display: none; }
html.frame-only .is-shot .shot { border: 0; border-radius: 0; box-shadow: none; }

/* ================================================================ product screens (HTML, 1440 × 900) */
.app { background: #fff; font-family: var(--sans); color: #1A2233; display: flex; text-align: left; }
.app .ic { width: 20px; height: 20px; }
.app-side { width: 232px; flex: none; border-right: 1px solid #E3E8EF; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; background: #FBFCFE; }
.app-org { display: flex; align-items: center; gap: 10px; padding: 8px 8px 22px; font-size: 15px; }
.app-org i { width: 28px; height: 28px; border-radius: 7px; background: var(--blue); color: #fff; font-style: normal; font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.app-org .ic { width: 16px; height: 16px; margin-left: auto; color: #6B7689; }
.app-side a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #3C4657; text-decoration: none; }
.app-side a .ic { width: 18px; height: 18px; color: #6B7689; }
.app-side a.on { background: var(--blue-bg); color: var(--blue-ink); }
.app-side a.on .ic { color: var(--blue); }
.app-side .app-set { margin-top: auto; }
.app-main { flex: 1; padding: 32px 40px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-head h3 { font-size: 28px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.app-head div { display: flex; gap: 8px; }
.app-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 1px 2px rgba(15, 27, 51, .15); white-space: nowrap; }
.app-btn .ic { width: 16px; height: 16px; }
.app-btn.sec { background: #fff; color: #1A2233; box-shadow: inset 0 0 0 1px #D5DCE6, 0 1px 2px rgba(15, 27, 51, .06); }
.app-filters { display: flex; gap: 8px; margin-top: 24px; align-items: center; }
.app-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px 0 8px; border: 1px dashed #B9C3D3; border-radius: 999px; font-size: 13px; font-weight: 500; color: #3C4657; }
.app-chip .ic { width: 14px; height: 14px; }
.app-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 260px; height: 34px; border: 1px solid #D5DCE6; border-radius: 7px; padding: 0 10px; font-size: 14px; color: #8792A6; }
.app-search .ic { width: 16px; height: 16px; }
.app-table { margin-top: 20px; width: 100%; border-collapse: collapse; }
.app-table th { text-align: left; font-size: 12.5px; font-weight: 500; color: #6B7689; padding: 10px 12px; border-top: 1px solid #E3E8EF; border-bottom: 1px solid #E3E8EF; background: #F9FAFC; }
.app-table td { padding: 0 12px; height: 54px; border-bottom: 1px solid #EDF0F5; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-table td:first-child { font-weight: 500; }
.app-table td:last-child .ic { width: 18px; height: 18px; color: #8792A6; }
.app .st { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 12.5px; font-weight: 500; }
.app .st.up { background: var(--blue-bg); color: var(--blue-ink); }
.app .st.now { background: var(--fix-bg); color: var(--fix); }
.app .st.done { background: #F0F2F5; color: #5B6577; }
.app .dp { display: inline-block; padding: 2px 7px; border-radius: 5px; background: #F0F2F5; font-size: 12.5px; margin-right: 4px; color: #3C4657; }
.app .paid { width: 14px; height: 14px; color: var(--fix); vertical-align: -2px; margin-right: 4px; stroke-width: 2.4; }
.app-count { font-size: 13px; color: #6B7689; margin-top: 16px; padding-left: 12px; }   /* lines up with the event names (cell padding 12px) */

/* portfolio shell (04.11.2026): the bar's left name now links to the index; the next case and the footer come from site/shell */
html.shot .sh-next, html.shot .sh-foot { display: none; }

/* research: the persona and other products (04.11.2026) — plain rows on hairlines, aligned with the problems table */
.r-h { margin-top: 72px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.r-note { margin-top: 8px; font-size: 16px; color: var(--muted); }
.r-text { margin-top: 12px; max-width: 760px; font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.persona { margin-top: 24px; border-top: 1px solid var(--line); }
.evidence.r-table { margin-top: 24px; }
.persona div { display: grid; grid-template-columns: 46% 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.persona dt { padding: 3px 48px 0 0; font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.persona dd { font-size: 17px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
@media (max-width: 760px) {
  .r-h { margin-top: 56px; font-size: 20px; }
  .persona div { grid-template-columns: 1fr; padding: 16px 0; }
  .persona dt { padding: 0; }
  .persona dd { margin-top: 6px; font-size: 16px; }
}


/* No word alone on the last line (Lev's rule, checked with site/scripts/check-orphans.mjs at 320–1920 px; 08.11.2026).
   Paragraphs wrap "pretty"; short text — headings, table cells, list items, captions, hints — balances its lines. */
main { text-wrap: pretty; }
main :is(h1, h3, h4, th, td, li, dd, dt, small, figcaption, .ui-tip, .ds-rule, .r-note) { text-wrap: balance; }
.cjm-t.old { min-width: 1120px; }   /* was 1040: "participant information" and "description, participants" now fit a column */

/* cover list (08.11.2026): a calm entrance once it is on screen (the frame rises, then the rows one by one, about a second),
   then hover states as in the product; nothing on it can be clicked. case.js adds .in and the item order (--i). */
html.js .cover-play:not(.in) .shot { opacity: 0; }
.cover-play .app-table { border-collapse: separate; border-spacing: 0; }   /* row lines belong to the cells, so they appear with their row */
.cover-play.in .shot { animation: cp-frame .8s cubic-bezier(.2, .7, .2, 1) both; }
.cover-play.in .cp-item:not(tr), .cover-play.in tr.cp-item > * { animation: cp-item .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.3s + var(--i) * 65ms); }
.cover-play.in .app-count.cp-item { animation-name: cp-fade; }   /* the frame's height is measured to this line, so it doesn't move */
html.js .cover-play:not(.in) .cp-item:not(tr), html.js .cover-play:not(.in) tr.cp-item > * { opacity: 0; }
.cover-play.still .shot, .cover-play.still .cp-item, .cover-play.still tr.cp-item > * { animation: none; }
@keyframes cp-frame { from { opacity: 0; transform: translateY(20px); } }
@keyframes cp-item { from { opacity: 0; transform: translateY(8px); } }
@keyframes cp-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cover-play .shot, .cover-play .cp-item, .cover-play tr.cp-item > * { animation: none !important; } }
.cover-play .app { cursor: default; }
.cover-play .app-side a, .cover-play .app-side a .ic, .cover-play .app-btn, .cover-play .app-chip, .cover-play .app-search, .cover-play .app-table td, .cover-play .app-table td:last-child .ic { transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; }
.cover-play .app-table td:last-child { position: relative; }
.cover-play .app-table td:last-child::after { content: "More actions"; position: absolute; right: 21px; bottom: calc(50% + 17px); transform: translate(50%, 4px); padding: 6px 9px; border-radius: 6px; background: #1A2233; color: #fff; font-size: 12.5px; font-weight: 400; line-height: 1.3; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
@media (hover: hover) {
  .cover-play .app-side a:not(.on):hover { background: #F0F3F8; color: #1A2233; }
  .cover-play .app-side a:not(.on):hover .ic { color: #3C4657; }
  .cover-play .app-btn:not(.sec):hover { background: #1A63D6; }
  .cover-play .app-btn.sec:hover { background: #F4F6FA; }
  .cover-play .app-chip:hover { border-color: #8792A6; background: #F6F8FB; color: #1A2233; }
  .cover-play .app-search:hover { border-color: #B9C3D3; }
  .cover-play .app-table tbody tr:hover td { background: #F7F9FC; }
  .cover-play .app-table tbody tr:hover td:last-child .ic { color: #3C4657; }
  .cover-play .app-table td:last-child .ic:hover { background: #E6EAF1; box-shadow: 0 0 0 5px #E6EAF1; border-radius: 50%; }
  .cover-play .app-table td:last-child:hover::after { opacity: 1; transform: translate(50%, 0); }
}
