/*
 * Lyssna. Vakna's look, from Vakna's own tokens (tokens.css is a copy of vakna/limesurvey/brand/tokens.css):
 * warm paper, white square cards, strong blue actions. The summary of a meeting uses the same
 * building blocks as Vakna's report (key figures, findings, sections per dimension), so the two
 * can be read side by side.
 */
@font-face {
  font-family: "Atkinson Hyperlegible Next Variable";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next Variable";
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree Variable";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree Variable";
  src: url("/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* The dimension colours of Vakna's report, checked there for colour vision deficiency. */
  --dim-kunskap: #0f8a62;
  --dim-mojlighet: #7a4fc9;
  --dim-formaga: #c98500;
  --rec: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root { --dim-kunskap: #4fc79b; --dim-mojlighet: #b79af0; --dim-formaga: #f0b84a; --rec: #ff8a80; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}
#root { min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 1.6em 0 0.5em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-weight: 800; margin-top: 0.4em; }
h2 { font-size: 1.4375rem; font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 0.9em; max-width: 78ch; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-halo); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--muted); font-size: 0.9375rem; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Page chrome ---------- */
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--surface); color: var(--primary); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 8px; }

/*
 * Header and footer: the same as on Lyssna's start page and the rest of the Nytakt family
 * (vakna/limesurvey/gateway/site/assets/site.css and family/assets/family.css): the logo, the family
 * menu with Lyssna marked, and one solid block for the action. Keep the two in step.
 */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap; gap: 0 24px; min-height: 72px; padding-inline-end: 0; }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding-block: 12px; }
.brand__logo { display: block; height: 39px; width: auto; }
.brand__logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand__logo--dark { display: block; }
  .brand__logo--light { display: none; }
}
.family-nav { display: flex; align-items: center; margin-inline-start: auto; }
.family-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; }
.family-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 10px 0; border-bottom: 4px solid transparent; color: var(--ink); font-weight: 700; text-decoration: none; }
.family-nav a:hover { color: var(--primary-hover); text-decoration: underline; }
.family-nav a[aria-current="page"] { border-bottom-color: var(--sun); }
.site-header__user { display: flex; align-items: stretch; gap: 0 16px; }
.site-header__who { align-self: center; color: var(--muted); font-size: 0.9375rem; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header__action { display: inline-flex; align-items: center; min-height: 72px; padding-inline: 28px; border: 0; border-radius: 0; background: var(--primary); color: var(--on-primary); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.site-header__action:hover { background: var(--primary-hover); color: var(--on-primary); text-decoration: underline; }
/* Narrower than the logo, the menu and the action side by side: the menu gets a row of its own. */
@media (max-width: 1080px) {
  .family-nav { order: 3; flex-basis: 100%; margin-inline: 0 16px; border-top: 1px solid var(--line); }
  .family-nav ul { margin-inline-start: -10px; }
}
@media (max-width: 860px) {
  .family-nav a { padding-inline: 8px; }
  .family-nav ul { margin-inline-start: -8px; }
}
@media (max-width: 480px) {
  .site-header__row { gap: 0 12px; }
  .brand__logo { height: 30px; }
  .site-header__action { padding-inline: 18px; }
  .site-header__who { display: none; }
}

.site-main { flex: 1; padding-block: 20px 56px; }

.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-block: 40px; --focus: #ffffff; --focus-halo: #000000; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px 36px; align-items: start; }
@media (min-width: 861px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h2 { color: var(--footer-text); font-size: 1.125rem; font-weight: 700; margin: 0 0 12px; }
.site-footer p { margin: 0 0 10px; font-size: 1rem; max-width: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { display: inline-block; padding-block: 6px; color: var(--footer-text); text-decoration: underline; }
.site-footer a:hover { color: var(--footer-text); text-decoration-thickness: 2px; }
.crumbs { font-size: 0.9375rem; margin: 4px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: 8px; }

/* ---------- Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; border: 2px solid var(--primary); border-radius: var(--radius);
  background: var(--surface); color: var(--primary); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--sky); color: var(--primary-hover); border-color: var(--primary-hover); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--danger { border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }
.btn--quiet { border-color: transparent; background: transparent; padding-inline: 10px; }
.btn--small { min-height: 36px; padding: 4px 12px; font-size: 0.9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
label { font-weight: 700; display: block; margin-bottom: 4px; color: var(--ink); }
.hint { color: var(--muted); font-size: 0.9375rem; margin: 0 0 6px; }
input[type="text"], input[type="datetime-local"], input[type="search"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius);
  padding: 8px 10px; min-height: 44px; width: 100%; max-width: 520px;
}
textarea { min-height: 88px; max-width: none; resize: vertical; }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; max-width: 78ch; }
.check input { width: 24px; height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--primary); }
.check label { font-weight: 400; margin: 0; }

/* ---------- Blocks shared with Vakna's report ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); padding: 6px 20px 18px; margin-block: 12px 24px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 14px; }
.note { background: var(--sky); color: var(--ink); padding: 14px 16px; border-left: 4px solid var(--primary); max-width: 78ch; }
.plain { background: var(--surface-2); padding: 10px 14px; max-width: 78ch; }
.ok { background: var(--success-soft); color: var(--success); border-left: 4px solid var(--success); padding: 12px 16px; max-width: 78ch; font-weight: 600; }
.warn { background: var(--warning-soft); color: var(--warning); border-left: 4px solid var(--warning); padding: 12px 16px; max-width: 78ch; }
.error { background: var(--danger-soft); color: var(--danger); border-left: 4px solid var(--danger); padding: 12px 16px; max-width: 78ch; font-weight: 600; }
.error a, .warn a { color: inherit; }
.lead { font-size: 1.1875rem; max-width: 70ch; }
.tag { display: inline-block; padding: 2px 10px; font-size: 0.875rem; font-weight: 700; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); white-space: nowrap; }
.tag--ok { background: var(--success-soft); color: var(--success); border-color: var(--success); }
.tag--warn { background: var(--warning-soft); color: var(--warning); border-color: var(--warning); }
.tag--bad { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }
.tag--busy { background: var(--sky); color: var(--ink); border-color: var(--primary); }
.code { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 0.8125rem; background: var(--surface-2); color: var(--ink); padding: 1px 6px; margin-right: 6px; vertical-align: 0.1em; }
.table-wrap { overflow-x: auto; margin-block: 8px 16px; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--surface-2); font-weight: 700; border-bottom: 2px solid var(--line-strong); color: var(--ink); }
.table tbody th { font-weight: 600; }
.table a { font-weight: 700; }
details.more { background: var(--surface); border: 1px solid var(--line); padding: 12px 18px; margin-top: 24px; max-width: 900px; }
details.more summary { font-weight: 700; cursor: pointer; min-height: 32px; }
details.more dt { font-weight: 700; color: var(--ink); margin-top: 10px; }
details.more dd { margin: 0; max-width: 78ch; }

.kpis { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; margin: 8px 0 12px; padding: 0; }
.kpi { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--dim, var(--primary)); padding: 16px 18px; }
.kpi--count { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.kpi--count .kpi__value { font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; line-height: 1; }
.kpi--count .kpi__label { color: var(--on-primary); font-size: 1rem; }
.kpi__body { display: grid; gap: 2px; min-width: 0; }
.kpi__title { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.0625rem; line-height: 1.25; }
.kpi__label { color: var(--text); font-size: 0.875rem; }
.kpi__meta { color: var(--muted); font-size: 0.875rem; }
.kpi__meta strong { color: var(--ink); }
.ring { --size: 80px; flex: none; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--surface) 76%, transparent 77% 100%), conic-gradient(var(--dim, var(--primary)) calc(var(--p) * 1%), var(--surface-2) 0); }
.ring > span { font-family: var(--font-display); font-weight: 800; font-size: 1.4375rem; color: var(--ink); line-height: 1; }
.ring small { font-size: 0.75rem; font-weight: 700; margin-left: 1px; }
.ring--none > span { font-size: 1.125rem; color: var(--muted); }
.dim--kunskap { --dim: var(--dim-kunskap); }
.dim--mojlighet { --dim: var(--dim-mojlighet); }
.dim--formaga { --dim: var(--dim-formaga); }

.findings { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; padding: 0; margin: 8px 0 16px; }
.finding { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; }
.finding__icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #fff; background: #0a5fa6; }
.finding--weak .finding__icon { background: #a33a22; }
.finding--split .finding__icon { background: #7a4fc9; }
.finding--unsure .finding__icon { background: #565b60; }
.finding--gap .finding__icon { background: #8a5b00; }
.finding__title { display: block; color: var(--ink); margin-bottom: 2px; font-weight: 700; }
.finding__text { display: block; font-size: 0.9375rem; }

.section { scroll-margin-top: 16px; }
.section > h2 { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.section > h2::before { content: ""; width: 6px; height: 1.1em; background: var(--dim, var(--primary)); flex: none; }
.section__lead { font-size: 1.0625rem; max-width: 74ch; border-left: 6px solid var(--dim, var(--primary)); padding: 2px 0 2px 12px; }
.jump { background: var(--paper); padding: 8px 0; margin: 12px 0 4px; border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 12px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.jump a:hover { background: var(--sky); border-color: var(--primary); }

/* ---------- A question of the survey, and what the meeting said about it ---------- */
.item { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--dim, var(--line-strong)); padding: 14px 18px 12px; margin: 12px 0; max-width: 940px; }
.item--silent { border-left-color: var(--line); background: transparent; }
.item h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.item__row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 0 0 10px; font-size: 0.9375rem; }
.item__label { font-weight: 700; color: var(--ink); margin-right: 6px; }
.item__survey { display: inline-flex; align-items: center; gap: 8px; }
.bar { display: inline-block; width: 120px; height: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; }
.bar > span { position: absolute; inset: 0 auto 0 0; background: var(--dim, var(--primary)); }
.item p { margin-bottom: 8px; }
.item ul.points { margin: 0 0 10px; padding-left: 22px; }
.item__relation { font-size: 0.9375rem; background: var(--surface-2); padding: 6px 10px; margin: 0 0 8px; }
.quotes { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.quote { display: flex; gap: 10px; align-items: flex-start; border-left: 3px solid var(--line-strong); padding: 2px 0 2px 10px; font-size: 0.9375rem; }
.quote q { font-style: italic; quotes: "”" "”"; }
.quote__time { flex: none; font: inherit; text-decoration: none; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--primary); background: var(--surface); border: 1px solid var(--line-strong); padding: 1px 8px; min-height: 28px; cursor: pointer; white-space: nowrap; }
.quote__time:hover { background: var(--sky); border-color: var(--primary); }
.quote__time[disabled] { color: var(--muted); cursor: default; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line-strong); margin: 20px 0 16px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; color: var(--ink); background: transparent; border: 2px solid transparent; border-bottom: 0; padding: 10px 18px; min-height: 44px; cursor: pointer; margin-bottom: -2px; }
.tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--line-strong); border-bottom: 2px solid var(--surface); color: var(--primary); }
.tabs button:hover { color: var(--primary-hover); }

/* ---------- Recorder ---------- */
.recorder { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); padding: 20px; }
.recorder--live { border-top-color: var(--rec); }
.recorder__clock { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 6vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); margin: 6px 0 4px; }
.recorder__state { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); min-height: 28px; }
.rec-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--rec); flex: none; }
.rec-dot--on { animation: rec-pulse 1.6s ease-in-out infinite; }
.rec-dot--paused { background: var(--line-strong); border-radius: 0; }
@keyframes rec-pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .rec-dot--on { animation: none; } }
.meter { height: 18px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; overflow: hidden; margin: 14px 0 4px; max-width: 520px; }
.meter > span { position: absolute; inset: 0 auto 0 0; background: var(--success); transition: width 0.1s linear; }
.meter--quiet > span { background: var(--line-strong); }
.recorder__controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn--rec { background: var(--rec); border-color: var(--rec); color: #fff; min-height: 56px; font-size: 1.125rem; padding-inline: 26px; }
.btn--rec:hover { background: #8c1d18; border-color: #8c1d18; color: #fff; }
@media (prefers-color-scheme: dark) { .btn--rec, .btn--rec:hover { color: #23100e; } .btn--rec:hover { background: #ffb4ab; border-color: #ffb4ab; } }
.btn--big { min-height: 56px; font-size: 1.125rem; padding-inline: 26px; }
.save-state { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; margin-top: 14px; min-height: 24px; }
.save-state__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); flex: none; }
.save-state--waiting .save-state__dot { background: var(--sun); }
.save-state--offline .save-state__dot { background: var(--danger); }
.record-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .record-layout { grid-template-columns: 1fr; } }
.brief { background: var(--surface); border: 1px solid var(--line); padding: 4px 18px 14px; }
.brief h2 { font-size: 1.1875rem; margin-top: 14px; }
.brief .findings { grid-template-columns: 1fr; }
.brief ol.agenda { margin: 6px 0 0; padding-left: 0; list-style: none; }
.brief ol.agenda li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.brief h3 { font-size: 1rem; margin: 16px 0 2px; display: flex; gap: 8px; align-items: center; }
.brief h3::before { content: ""; width: 5px; height: 1em; background: var(--dim, var(--primary)); flex: none; }
.dropzone { border: 2px dashed var(--line-strong); background: var(--surface); padding: 22px; text-align: center; }
.dropzone--over { border-color: var(--primary); background: var(--sky); }
.dropzone input[type="file"] { font: inherit; max-width: 100%; }
progress { width: 100%; max-width: 520px; height: 14px; accent-color: var(--primary); }

kbd { font-family: ui-monospace, Consolas, monospace; font-size: 0.8125rem; border: 1px solid var(--line-strong); border-bottom-width: 2px; padding: 0 5px; background: var(--surface-2); color: var(--ink); }

/* ---------- Transcript ---------- */
.transcript-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin-bottom: 12px; }
.transcript-tools .field { margin: 0; flex: 1 1 260px; }
.transcript { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); max-width: 940px; }
.line { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 8px 12px; border-top: 1px solid var(--line); scroll-margin: 80px 0; }
.line__time { font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); padding: 4px 0 0; white-space: nowrap; min-width: 3.2em; }
/* Where a name or an identifier was taken out of what was said. */
.masked { display: inline-block; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; padding: 0 6px; background: var(--surface-2); color: var(--muted); border: 1px dashed var(--line-strong); font-style: normal; vertical-align: 0.05em; }
.line:first-child { border-top: 0; }
.line--now { background: var(--sky); box-shadow: inset 4px 0 0 var(--primary); }
.line--hit mark { background: var(--sun-soft); color: var(--ink); padding: 0 1px; }
.line__text { margin: 2px 0 0; max-width: none; }
.line__edit { grid-column: 1 / -1; }
.line__edit .btn-row { margin: 8px 0 2px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--primary); border-color: var(--line-strong); background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Progress of a meeting being worked on ---------- */
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; max-width: 620px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.step__mark { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-weight: 800; font-size: 0.875rem; color: var(--muted); background: var(--surface); }
.step--done .step__mark { background: var(--success); border-color: var(--success); color: var(--surface); }
.step--now .step__mark { border-color: var(--primary); color: var(--primary); }
.step--now .step__mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); animation: rec-pulse 1.4s ease-in-out infinite; }
.step--failed .step__mark { background: var(--danger); border-color: var(--danger); color: var(--surface); }
.step strong { color: var(--ink); }
.step p { margin: 0; font-size: 0.9375rem; }
.head-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 4px 0 8px; padding: 0; list-style: none; font-size: 0.9375rem; }
.facts strong { color: var(--ink); }
.survey-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.survey-list li, .survey-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); padding: 14px 18px 16px; }
.survey-list h2, .survey-list h3, .survey-card h2 { margin: 0 0 4px; font-size: 1.1875rem; }
/* Meetings that belong to no survey: one card of their own, above the surveys. */
.survey-card { margin: 12px 0 20px; border-top-color: var(--sun, var(--primary)); max-width: 46rem; }
.survey-card p { margin: 0 0 6px; }

/* How the conversation went: voices and tone, side by side. */
.talk { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin: 8px 0 12px; }
.talk__card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); padding: 4px 18px 12px; }
.talk__card h3 { margin: 12px 0 2px; font-size: 1rem; }
.talk__card p { margin-bottom: 8px; }
.talk__figure { font-size: 1.0625rem; }
.talk__figure strong { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin-right: 4px; }
/* Shares of the talking time, largest first. The colours tell the parts apart and mean nothing else. */
.shares { display: flex; gap: 2px; height: 30px; margin: 4px 0 10px; }
.shares__part { display: grid; place-items: center; min-width: 4px; overflow: hidden; font-size: 0.8125rem; font-weight: 700; color: var(--ink); border: 1px solid var(--line-strong); white-space: nowrap; }
.shares__part--1 { background: var(--band-1); }
.shares__part--2 { background: var(--band-2); }
.shares__part--3 { background: var(--band-3); }
.shares__part--4 { background: var(--band-4); }
.shares__part--5 { background: var(--band-5); }
.shares__part--6 { background: var(--band-6); }

@media print {
  .site-header, .site-footer, .tabs, .btn, .btn-row, .jump, .crumbs, .no-print, .icon-btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .site-main { padding: 0; }
  .wrap { width: 100%; }
  .item, .finding, .kpi, .talk__card, .section > h2 { break-inside: avoid; }
  .quote__time { border: 0; padding: 0; color: #000; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
