.workspace { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 38px; }
.workspace-sidebar { position: sticky; top: 88px; align-self: start; min-width: 0; }
.workspace-sidebar nav { display: grid; gap: 4px; margin-bottom: 18px; }
.workspace-sidebar nav a { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 8px 11px; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 650; }
.workspace-sidebar nav a:hover, .workspace-sidebar nav a[aria-current="page"] { color: var(--prune); background: var(--lilac); }
.workspace-sidebar nav a svg { flex: 0 0 19px; width: 19px; }
.workspace-sidebar > .button { width: 100%; font-size: .9rem; padding-inline: 10px; }
.workspace-main { min-width: 0; }
.workspace-main h1 { font-size: clamp(2rem, 5vw, 3.5rem); overflow-wrap: anywhere; }
.workspace-main h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); letter-spacing: -.03em; }
.workspace-main h3 { font-size: 1.12rem; overflow-wrap: anywhere; }
.dossier-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.dossier-head > div:first-child { min-width: 0; }
.dossier-meta { font-size: .84rem; font-weight: 650; color: var(--prune); margin-bottom: .5rem; }
.dossier-description { color: var(--muted); margin-top: 10px; max-width: 59ch; }
.dossier-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dossier-actions .button { font-size: .88rem; }
.report-tabs { display: flex; gap: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--edge); }
.report-tabs button { display: flex; align-items: center; gap: 5px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 11px 3px; min-height: 44px; font-weight: 650; }
.report-tabs button[aria-pressed="true"] { color: var(--prune); border-bottom-color: var(--prune); }
.report-tabs svg { width: 14px; height: 14px; }
.dossier-lead { display: grid; grid-template-columns: 1fr clamp(72px, 16%, 116px); align-items: center; gap: 16px; padding: clamp(16px, 4vw, 27px); background: var(--lilac); border-radius: var(--radius); }
.dossier-lead h2 { color: var(--prune); font: 700 .86rem/1.4 var(--ui); letter-spacing: 0; margin-bottom: 8px; }
.dossier-lead p { font: 700 clamp(1.2rem, 2.6vw, 1.69rem)/1.3 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.dossier-mascot { width: 100%; max-height: 150px; object-fit: contain; }
.reading-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 16px; padding: 16px 0; margin: 3px 0 15px; }
.reading-metrics > div { min-width: 0; display: flex; flex-direction: column-reverse; gap: 4px; padding: 5px 0; }
.reading-metrics dt { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.reading-metrics dd { font: 700 clamp(1.36rem, 3vw, 1.95rem)/1.1 var(--display); }
.dossier-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, .4fr); gap: 20px; align-items: start; }
.observations, .dossier-aside { min-width: 0; }
.observations > h2 { margin-bottom: 12px; }
.observation { background: var(--surface); padding: 15px 16px 16px; border-radius: var(--radius); margin-bottom: 10px; }
.observation-head { display: flex; align-items: baseline; gap: 9px; }
.observation-head > span { font-size: .78rem; font-weight: 700; color: var(--prune); }
.observation > p { margin-top: 8px; }
.quote-set { margin-top: 10px; }
.message-quote { display: grid; justify-items: start; gap: 2px; margin: 12px 3px; min-width: 0; }
.message-quote[data-direction="sent"] { justify-items: end; }
.message-bubble {
  --message-fill: var(--message-incoming, #ede8e5);
  --message-ink: #27242a;
  position: relative;
  box-sizing: border-box;
  max-inline-size: min(91%, 35rem);
  padding: 8px 12px 7px;
  border: 1px solid color-mix(in srgb, var(--message-fill), var(--message-ink) 8%);
  border-radius: var(--message-radius, 17px) var(--message-radius, 17px) var(--message-radius, 17px) var(--message-corner, 5px);
  color: var(--message-ink);
  background: var(--message-fill);
  font: 1rem/1.43 var(--ui);
  overflow-wrap: anywhere;
}
[data-direction="sent"] > .message-bubble {
  --message-fill: var(--message-outgoing, #eadff0);
  --message-ink: var(--message-sent-ink, #30213a);
  border-end-start-radius: var(--message-radius, 17px);
  border-end-end-radius: var(--message-corner, 5px);
}
.message-bubble::before {
  position: absolute;
  inset-inline-start: -6px;
  inset-block-end: 1px;
  width: 8px;
  height: 7px;
  background: var(--message-fill);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 62% 67%);
}
:is(.message-quote, .reader-messages):is([data-platform="whatsapp"], [data-platform="imessage"]) .message-bubble::before { content: ""; }
[data-direction="sent"] > .message-bubble::before { inset-inline-start: auto; inset-inline-end: -6px; transform: scaleX(-1); }
:is(.message-quote, .reader-messages)[data-platform="whatsapp"] .message-bubble::before {
  inset-block-start: 0;
  inset-block-end: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.message-bubble .message-sender { margin: 0 0 2px; font-size: .75rem; font-weight: 700; }
.message-bubble .message-text { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; white-space: pre-wrap; }
.message-bubble time { display: block; margin-top: 3px; text-align: end; font-size: .71rem; color: color-mix(in srgb, var(--message-ink) 84%, var(--message-fill)); }
.message-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; max-width: 100%; }
.message-quote[data-direction="sent"] figcaption { justify-content: flex-end; }
.message-platform { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; color: var(--muted); font-size: .74rem; font-weight: 650; }
.message-platform .platform-icon { width: 15px; height: 15px; flex-basis: 15px; }
.message-quote figcaption .text-button { gap: 2px; color: var(--prune); font-size: .79rem; }
.message-quote figcaption .text-button svg { width: 14px; height: 14px; }
:is(.message-quote, .reader-messages)[data-platform="whatsapp"] {
  --message-incoming: #fffdf8;
  --message-outgoing: #d8f3dc;
  --message-sent-ink: #172c22;
  --message-radius: 11px;
  --message-corner: 3px;
}
:is(.message-quote, .reader-messages)[data-platform="whatsapp"] .message-bubble { border-radius: 3px 11px 11px 11px; }
:is(.message-quote, .reader-messages)[data-platform="whatsapp"] [data-direction="sent"] > .message-bubble,
.message-quote[data-platform="whatsapp"][data-direction="sent"] > .message-bubble { border-radius: 11px 3px 11px 11px; }
:is(.message-quote, .reader-messages)[data-platform="imessage"] {
  --message-incoming: #e9e9ee;
  --message-outgoing: #245dc6;
  --message-sent-ink: #fff;
  --message-radius: 19px;
}
:is(.message-quote, .reader-messages)[data-platform="messenger"] {
  --message-incoming: #eceef3;
  --message-outgoing: #1c59bd;
  --message-sent-ink: #fff;
  --message-corner: 12px;
}
:is(.message-quote, .reader-messages)[data-platform="instagram"] {
  --message-incoming: #eeeaf3;
  --message-outgoing: #7045ab;
  --message-sent-ink: #fff;
  --message-corner: 12px;
}
:is(.message-quote, .reader-messages)[data-platform="kakaotalk"] {
  --message-incoming: #eff2f5;
  --message-outgoing: #ffeb79;
  --message-sent-ink: #333017;
  --message-radius: 10px;
}
:is(.message-quote, .reader-messages)[data-platform="line"] {
  --message-incoming: #ebeff5;
  --message-outgoing: #b9efad;
  --message-sent-ink: #163820;
  --message-radius: 13px;
}
.next-idea { background: var(--surface); border-radius: var(--radius); padding: 15px; }
.next-idea h2 { font-size: 1.28rem; margin-bottom: 9px; }
.next-idea p { font-size: .92rem; }
.report-lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--edge); border-radius: var(--radius); padding: 16px; margin-top: 13px; }
.report-lock h2 { font-size: 1.3rem; }
.report-lock p { margin-top: 7px; color: var(--muted); }
.report-lock button { flex: none; }
.trend-grid { display: grid; gap: 13px; }
.trend-panel { padding: 16px; border-radius: var(--radius); background: var(--surface); overflow: auto; }
.trend-panel h2 { font-size: 1.5rem; margin-bottom: 9px; }
.trend-panel .report-note { margin: 6px 0 9px; }
.participant-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.participant-table td, .participant-table th { padding: 7px 4px; text-align: right; border-bottom: 1px solid var(--edge); }
.participant-table th:first-child { text-align: left; overflow-wrap: anywhere; }
.participant-table tbody th { font-weight: 650; }
.activity-list, .topic-list, .workspace-recent ul { list-style: none; padding: 0; }
.activity-list li { display: grid; grid-template-columns: 5.3em minmax(0, 1fr) 2.1em; gap: 10px; align-items: center; font-size: .87rem; min-height: 33px; }
.activity-list strong { text-align: right; font-size: .8rem; }
.activity-list meter { appearance: none; height: 8px; width: 100%; background: transparent; }
.activity-list meter::-webkit-meter-bar { background: var(--lilac); border: 0; border-radius: 3px; }
.activity-list meter::-webkit-meter-optimum-value { background: var(--prune); border-radius: 3px; }
.activity-list meter::-moz-meter-bar { background: var(--prune); border-radius: 3px; }
.topic-list { display: flex; gap: 7px; flex-wrap: wrap; }
.topic-list li { padding: 5px 8px; background: var(--lilac); border-radius: 5px; font-size: .87rem; }
.topic-list strong { margin-left: 3px; }
.reader-panel > h2 { margin-bottom: 14px; }
form.reader-form { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) auto; align-items: end; gap: 10px; max-width: none; }
.reader-form .button { min-height: 46px; }
.reader-messages { list-style: none; margin: 9px 0 16px; padding: clamp(9px, 3vw, 20px); display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--edge); border-radius: 14px; }
.reader-messages[data-platform="whatsapp"] { background: #f1ebe0; }
.reader-messages[data-platform="kakaotalk"], .reader-messages[data-platform="line"] { background: #e1e9f1; }
.reader-messages li { display: grid; justify-items: start; min-width: 0; scroll-margin-top: 110px; }
.reader-messages li[data-direction="sent"] { justify-items: end; }
.reader-messages .reader-focus .message-bubble { outline: 2px solid var(--prune); outline-offset: 3px; }
.reader-pages { display: flex; justify-content: flex-end; gap: 8px; }
.follow-form { background: var(--surface); padding: 16px; border-radius: var(--radius); margin-top: 22px; }
.follow-suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.follow-suggestions .button { font-size: .85rem; text-align: start; }
.workspace-cards { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: 11px; margin-bottom: 28px; }
.workspace-start, .workspace-demo { background: var(--surface); padding: 19px; border-radius: var(--radius); }
.workspace-demo { background: var(--lilac); display: grid; grid-template-columns: minmax(0,1fr) minmax(65px,90px); align-items: center; gap: 10px; }
.workspace-demo-mascot { width: 100%; }
.workspace-start p, .workspace-demo p { margin: 9px 0 15px; color: var(--muted); }
.workspace-recent header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.workspace-recent li + li { margin-top: 6px; }
.workspace-recent li > a { background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.workspace-recent li > a:hover { background: var(--lilac); }
.workspace-recent li small { display: block; font-size: .79rem; color: var(--muted); }
.recent-state { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.workspace-empty { margin: 0 0 10px; color: var(--muted); }
.workspace-main .account-page { max-width: none; }
@media (max-width: 820px) {
  .workspace { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .workspace-sidebar { position: static; }
  .workspace-sidebar nav { display: flex; overflow-x: auto; gap: 3px; margin-bottom: 0; padding: 1px 0 6px; }
  .workspace-sidebar nav a { flex: none; white-space: nowrap; padding-inline: 7px; font-size: .86rem; gap: 5px; }
  .workspace-sidebar nav a svg { display: none; }
  .workspace-sidebar > .button { display: none; }
}
@media (max-width: 575px) {
  .dossier-head, .report-lock { align-items: stretch; flex-direction: column; }
  .dossier-head { gap: 10px; margin-bottom: 14px; }
  .dossier-actions { justify-content: flex-start; }
  .dossier-actions .button { min-height: 44px; }
  .report-tabs { gap: 13px; margin-bottom: 12px; }
  .reading-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .dossier-reading, .workspace-cards { grid-template-columns: minmax(0, 1fr); }
  form.reader-form { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  form.reader-form > button { grid-column: 1 / -1; }
  .dossier-lead { grid-template-columns: minmax(0,1fr) 65px; }
  .report-lock .button { align-self: start; }
}


.dossier-meta { display: flex; align-items: center; gap: 5px 7px; flex-wrap: wrap; }
.dossier-meta .platform-icon { order: -1; width: 21px; height: 21px; flex-basis: 21px; }


.relationship-verdict { font-size: clamp(1rem,2.1vw,1.13rem); line-height: 1.7; }
.verdict-intro { font-weight: 650; }
.verdict-nuance { margin-top: 12px; color: #4d3c59; }
.relationship-verdict p, .signal-card p { overflow-wrap: anywhere; }
.verdict-quote { margin-top: 20px; }
.verdict-counter summary { min-height: 44px; padding-top: 12px; cursor: pointer; color: var(--prune); font-weight: 650; }
.relation-signals { margin-top: clamp(21px,4vw,38px); }
.relation-signals > h2, .focused-answer { margin-bottom: 13px; }
.signal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 9px; padding: 0; list-style: none; }
.signal-card { padding: clamp(13px,2.6vw,21px); border-radius: 14px; background: var(--surface); }
.signal-card > p { margin-top: 9px; color: var(--muted); }
.signal-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.signal-head span { padding: 2px 8px; border-radius: 6px; font-size: .77rem; font-weight: 700; color: #574e64; background: #ece8f1; }
.signal-watch .signal-head span { color: #773611; background: #fae5d4; }
.signal-strength .signal-head span { color: #28523a; background: #e2efe3; }
.signal-mixed .signal-head span { color: #623d7a; background: #eddeef; }
.signal-card details { margin-top: 7px; }
.signal-card summary, .relation-facts summary { cursor: pointer; min-height: 42px; padding-block: 9px; font-weight: 650; color: var(--prune); }
.signal-card summary { font-size: .87rem; }
.next-exchange { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); gap: 19px; align-items: center; margin-top: clamp(20px,4vw,34px); padding: clamp(16px,3.5vw,25px); background: #efe8dc; border-radius: 14px; }
.next-exchange h2 { margin-bottom: 8px; }
.next-message { background: var(--surface); border-radius: 10px; padding: 15px; }
.next-message h3 { font-size: .85rem; color: var(--prune); }
.next-message blockquote { font: 700 clamp(1.09rem,2.3vw,1.42rem)/1.35 var(--display); margin: 5px 0 0; padding: 0; border: 0; }
.relation-note, .focused-answer { margin-top: 15px; }
.relationship-trends { display: grid; gap: 13px; }
.relationship-trends .trend-panel { padding: clamp(15px,3.1vw,27px); border-radius: 14px; }
.relationship-trends .trend-panel h2 { font-size: clamp(1.5rem,3.5vw,2rem); }
.relationship-trends .trend-panel > p { color: var(--muted); }
.period-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 16px; }
.period-grid > section { padding: 14px; min-width: 0; background: #f1ebf6; border-radius: 10px; }
.period-dates, .period-count { margin-block: 3px; color: var(--muted); font-size: .83rem; }
.restart-bars { margin-top: 9px; padding: 0; list-style: none; }
.restart-bars li { display: grid; grid-template-columns: minmax(55px,.52fr) minmax(22px,1fr) 3.3em auto; min-height: 31px; gap: 7px; align-items: center; font-size: .86rem; }
.restart-bars li > span { overflow-wrap: anywhere; }
.restart-bars li strong { text-align: right; }
.restart-bars li small { color: var(--muted); }
.restart-bars meter { width: 100%; height: 9px; appearance: none; }
.restart-bars meter::-webkit-meter-bar { background: #e8ddf0; border: 0; border-radius: 6px; }
.restart-bars meter::-webkit-meter-optimum-value { background: var(--prune); border-radius: 6px; }
.restart-bars meter::-moz-meter-bar { background: var(--prune); border-radius: 6px; }
.moment-sequence { display: grid; gap: 6px; margin-top: 13px; }
.moment-sequence .message-quote { margin: 0; }
.relation-facts { padding-inline: 4px; }
@media (max-width: 630px) {
  .signal-grid, .next-exchange, .period-grid { grid-template-columns: minmax(0,1fr); }
}

.dossier-back { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 14px; color: var(--prune); font-size: .9rem; font-weight: 650; min-height: 44px; }
.dossier-back svg { width: 17px; height: 17px; }
.conversation-list { list-style: none; padding: 0; display: grid; gap: 8px; margin: 12px 0 24px; }
.chat-row a, .chat-row a > span { display: flex; align-items: center; gap: 10px; }
.chat-row a { min-height: 66px; padding: 10px 13px; background: var(--surface); border-radius: var(--radius); justify-content: space-between; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.chat-row a:hover { background: var(--lilac); }
.chat-row a small { display: block; color: var(--muted); margin-top: 1px; font-size: .82rem; }
.chat-row-count { font-size: .83rem; color: var(--muted); white-space: nowrap; }
.chat-row-count svg { flex: none; width: 17px; height: 17px; }
.conversation-head { margin-bottom: 17px; }
.conversation-follow { scroll-margin-top: 75px; }
.account-page .account-list { margin-top: 11px; }

.report-preparation { max-width: 47rem; margin-inline: auto; }
.report-preparation .dossier-back { margin-bottom: 10px; }
.preparation-heading { margin-bottom: 20px; }
.preparation-heading .dossier-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.preparation-heading h1 {
  font-size: clamp(2.2rem,5.5vw,3.25rem);
  letter-spacing: -.045em;
  line-height: 1.06;
  margin-bottom: 12px;
}
.preparation-writing {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.preparation-writing::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--prune);
}
.preparation-writing[data-state="ready"]::before { background: #267252; }
.preparation-writing[data-state="error"]::before { background: #a44251; }
.preparation-body .report-recap { border: 1px solid var(--edge); }
.preparation-body .recap-progress { gap: 12px; margin-bottom: clamp(18px,4vw,27px); }
.preparation-body .recap-progress progress { order: -1; flex: 1; max-width: none; min-width: 0; height: 5px; }
.preparation-body .recap-progress p { margin: 0; }
.preparation-body .report-recap > h2 {
  font-size: clamp(1.65rem,4.6vw,2.25rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.preparation-body .recap-actions {
  justify-content: space-between;
  border-top: 1px solid var(--edge);
  padding-top: 16px;
  margin-top: 23px;
}
.preparation-body .recap-actions .primary { margin-inline-start: auto; }

.report-recap { background: var(--surface); border-radius: 17px; padding: clamp(16px,4vw,31px); }
.recap-progress { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.recap-progress p { flex: none; color: var(--prune); font-weight: 700; font-size: .82rem; }
.recap-progress progress { width: 100%; max-width: 135px; height: 7px; appearance: none; accent-color: var(--prune); }
.recap-progress progress::-webkit-progress-bar { background: var(--lilac); border-radius: 8px; }
.recap-progress progress::-webkit-progress-value { background: var(--prune); border-radius: 8px; }
.report-recap > h2 { margin-bottom: 9px; }
.report-recap h2:focus { outline: 0; }
.recap-note { color: var(--muted); margin-block: 5px 12px; font-size: .9rem; }
.recap-calendar-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 16px 0 11px; }
.recap-calendar-head label { display: flex; align-items: center; gap: 8px; }
.recap-calendar-head select { min-height: 42px; }
.recap-calendar-head span { font-size: .88rem; }
.recap-calendar-scroll { --recap-cell: clamp(8px,1.48vw,12px); overflow: auto; padding-bottom: 7px; }
.recap-months { display: grid; grid-template-columns: repeat(12,1fr); width: calc(var(--recap-cell)*53 + 104px); min-width: 0; color: var(--muted); font-size: .68rem; margin-bottom: 4px; }
.recap-heatmap { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7,1fr); grid-auto-columns: var(--recap-cell); gap: 2px; }
.recap-heatmap span { width: 100%; aspect-ratio: 1; border-radius: 2px; }
.recap-heatmap [data-level="0"] { background: #eee9f1; }
.recap-heatmap [data-level="1"] { background: #d9c7e6; }
.recap-heatmap [data-level="2"] { background: #bea3d0; }
.recap-heatmap [data-level="3"] { background: #916ca9; }
.recap-heatmap [data-level="4"] { background: #5e3d74; }
.recap-days { margin-top: 7px; }
.recap-days summary { min-height: 44px; padding-block: 9px; cursor: pointer; color: var(--prune); font-weight: 650; }
.recap-days ul { max-height: 190px; overflow: auto; font-size: .88rem; padding-left: 20px; }
.recap-people { display: grid; gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.recap-people li { border-radius: 9px; background: #f4eff7; padding: 11px 12px; }
.recap-people h3, .report-recap > h3 { margin-bottom: 6px; }
.recap-people li div { display: flex; justify-content: space-between; gap: 8px; font-size: .91rem; }
.recap-people meter { display: block; width: 100%; margin-block: 5px 9px; height: 8px; }
.recap-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); gap: 7px; margin-block: 11px 15px; }
.recap-facts > div { background: #f4eff7; border-radius: 8px; padding: 9px; }
.recap-facts dt { font-size: .78rem; color: var(--muted); }
.recap-facts dd { font-weight: 700; }
.recap-hours { display: grid; grid-template-columns: repeat(24,minmax(0,1fr)); gap: 2px; padding: 0 0 18px; margin: 9px 0 0; list-style: none; }
.recap-hours li { position: relative; height: 66px; display: flex; align-items: end; }
.recap-hours span { width: 100%; border-radius: 3px 3px 0 0; background: #87649f; height: calc(var(--recap-height, .25) * 100%); }
.recap-hours [data-height="0"] span { --recap-height: .03; background: #e5dceb; }
.recap-hours [data-height="1"] span { --recap-height: .125; }
.recap-hours [data-height="2"] span { --recap-height: .25; }
.recap-hours [data-height="3"] span { --recap-height: .375; }
.recap-hours [data-height="4"] span { --recap-height: .5; }
.recap-hours [data-height="5"] span { --recap-height: .625; }
.recap-hours [data-height="6"] span { --recap-height: .75; }
.recap-hours [data-height="7"] span { --recap-height: .875; }
.recap-hours [data-height="8"] span { --recap-height: 1; background: var(--prune); }
.recap-hours small { position: absolute; white-space: nowrap; bottom: -19px; left: 0; font-size: .68rem; color: var(--muted); }
.recap-hours li:last-child small { left: auto; right: 0; }
.recap-samples, .recap-vocabulary { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 9px; margin-top: 11px; }
.recap-samples section, .recap-vocabulary section { padding: 13px; border-radius: 10px; background: #f4eff7; min-width: 0; }
.recap-transcript {
  display: grid;
  gap: 9px;
  padding: clamp(10px,2.5vw,18px);
  border-radius: 13px;
  background: #f1eef4;
}
.recap-transcript:has(> [data-platform="whatsapp"]) { background: #efeae1; }
.recap-transcript:has(> [data-platform="imessage"]) { background: #f3f5fa; }
.recap-transcript .message-quote { margin-block: 0; }
.recap-transcript .message-platform,
.recap-transcript .message-quote figcaption:not(:has([data-ref])) { display: none; }
.recap-tokens { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.recap-tokens li { background: var(--surface); padding: 4px 7px; border-radius: 6px; max-width: 100%; overflow-wrap: anywhere; font-size: .87rem; }
.recap-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.recap-actions .text-button { min-height: 44px; }
.report-profiles { margin-top: 23px; }
.report-profile h3 small { font: 650 .74rem/1.5 var(--ui); margin-inline-start: 8px; color: var(--prune); }
.profile-role { color: var(--prune); font-weight: 700; margin-block: 5px; }
.report-lock-list { margin: 9px 0 2px; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 400px) {
  .report-tabs { gap: 8px; flex-wrap: wrap; }
  .report-tabs button { font-size: .87rem; }
}

.report-reader-shell { width: min(100%, 47rem); margin: 0 auto; }
.report-reader-head { margin-bottom: clamp(20px,4vw,32px); }
.report-reader-head h1 { font-size: clamp(2.05rem,6vw,3.8rem); letter-spacing: -.045em; line-height: 1.05; overflow-wrap: anywhere; }
.report-reader-shell h2 { font-size: clamp(1.45rem,3.2vw,2rem); }
.report-author { display: flex; align-items: center; gap: 11px; margin-top: 18px; border-radius: 13px; padding: 9px 12px; background: var(--lilac); }
.report-author-avatar { width: 46px; height: 46px; flex: none; object-fit: contain; border-radius: 50%; }
.report-author strong { display: block; color: var(--prune); font-weight: 750; }
.report-author p { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.report-reader-head .dossier-actions { justify-content: flex-start; margin-top: 11px; }
.report-reader-head .dossier-actions > [data-share] { flex: 1; }
.report-privacy-line, .report-privacy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.report-privacy-line { margin-top: 6px; font-size: .84rem; color: var(--muted); }
.report-privacy-line svg { width: 16px; height: 16px; flex: none; }
.report-privacy-line .text-button { min-height: 44px; }
.report-privacy-actions { margin-top: 16px; gap: 8px 14px; }
.report-privacy-dialog p + p { margin-top: 10px; }
.profile-grid { display: grid; gap: 18px; margin-top: 16px; }
.report-profile { background: var(--surface); border-radius: 14px; padding: clamp(15px,3.4vw,24px); line-height: 1.64; overflow-wrap: anywhere; }
.report-profile h3 { font-size: clamp(1.17rem,3vw,1.45rem); }
.report-profile .message-quote { margin-top: 12px; }
.report-next-chapters { display: grid; gap: 14px; align-items: start; margin-top: 26px; background: var(--lilac); border: 0; padding: clamp(17px,4vw,28px); }
.report-next-chapters .button { justify-self: start; }
.checkout-summary { background: var(--lilac); border-radius: 10px; padding: 12px; margin: 10px 0; }
.checkout-summary > p { font-size: .87rem; color: var(--muted); }
.report-reader-footer { display: flex; gap: 8px 16px; flex-wrap: wrap; margin: 29px 0 8px; font-size: .84rem; color: var(--muted); }
.recap-overview { display: grid; gap: 15px; }
.conversation-settings-section { margin-bottom: 14px; border-radius: 13px; padding: clamp(15px,4vw,24px); background: var(--surface); }
.conversation-settings-section > p { margin-top: 8px; color: var(--muted); }
.conversation-settings-section [data-action^="delete"] { color: var(--error); }

.editorial-report { font-size: 1.04rem; line-height: 1.72; }
.editorial-opening > p:first-child { font-size: clamp(1.17rem,3vw,1.36rem); line-height: 1.56; }
.editorial-chapter { margin-block: 2.8rem; }
.editorial-chapter > h2 { font-family: var(--display); font-size: clamp(1.55rem,4vw,2.05rem); line-height: 1.22; letter-spacing: -.028em; margin: 0 0 .65em; }
.editorial-chapter p, .editorial-opening p { margin: 0 0 1.05em; }
.editorial-scripts { background: var(--lilac); border-radius: 14px; padding: clamp(1rem,4vw,1.55rem); margin-top: 1.1rem; }
.editorial-scripts h3 { margin-top: 0; font-size: 1rem; }
.editorial-scripts p:last-child { margin-bottom: 0; }
.report-waiting { min-height: 45vh; }
.report-waiting > .operation { max-width: 100%; }

.editorial-follow { margin-block: 3rem 1.5rem; padding: clamp(1rem,4.5vw,2.1rem); background: var(--surface); border: 1px solid var(--edge); border-radius: 22px; scroll-margin-top: 1.5rem; }
.editorial-follow > h2 { margin: 0 0 1rem; }
.follow-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.follow-header h2 { margin: 0; font: 700 clamp(1.5rem,4vw,2.1rem)/1.08 var(--display); letter-spacing: -.025em; }
.follow-illustration { width: 68px; max-height: 86px; object-fit: contain; flex: 0 0 68px; }
.follow-steps h3 { font-size: clamp(1.07rem,3.2vw,1.32rem); margin: 1rem 0; }
.follow-progress { display: flex; align-items: center; gap: .8rem; font-size: .86rem; font-weight: 700; color: var(--muted); }
.follow-progress progress { width: 100%; height: .55rem; appearance: none; border: none; border-radius: 1rem; color: var(--prune); background: var(--lilac); }
.follow-progress progress::-webkit-progress-bar { background: var(--lilac); border-radius: inherit; }
.follow-progress progress::-webkit-progress-value { background: var(--prune); border-radius: inherit; transition: width .22s ease; }
.follow-progress progress::-moz-progress-bar { background: var(--prune); border-radius: inherit; }
.follow-progress span { white-space: nowrap; }
.editorial-question { padding: .7rem 1rem; background: var(--lilac); border-radius: .65rem; }
.editorial-question strong { display: block; font-size: .87em; color: var(--prune); }
.follow-choices { display: grid; gap: .6rem; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.follow-choices .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.follow-choice { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem; border: 1px solid var(--edge); border-radius: 12px; cursor: pointer; }
.follow-choice:has(input:checked) { background: var(--lilac); border-color: var(--prune); }
.follow-choice input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: .18rem 0 0; accent-color: var(--prune); }
.follow-choice p, .follow-hint { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.follow-choice span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.follow-price { flex: 0 0 auto; white-space: nowrap; }
.follow-navigation { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.follow-steps > .status:empty, .follow-payment > .status:empty { margin: 0; }
.follow-label { display: block; font-weight: 650; }
.follow-label textarea { display: block; margin: .5rem 0; padding: .7rem; width: 100%; resize: vertical; color: inherit; background: var(--paper); border: 1px solid var(--edge); border-radius: .65rem; }
.follow-upload { display: grid; gap: .5rem; margin-top: .8rem; padding: .9rem; border: 1px dashed var(--prune); border-radius: .65rem; overflow-wrap: anywhere; }
.follow-upload span { display: flex; align-items: center; gap: .45rem; font-weight: 700; }
.follow-upload input { width: 100%; max-width: 100%; }
.follow-summary { padding: .9rem; border-radius: .65rem; background: var(--paper); }
.follow-summary ul { padding-inline-start: 1.2rem; margin: .15rem 0 .8rem; }
.follow-summary-price { display: flex; gap: 1rem; justify-content: space-between; align-items: center; margin: .75rem 0 .15rem; padding-top: .65rem; border-top: 1px solid var(--edge); }
.follow-question-preview { white-space: pre-wrap; overflow-wrap: anywhere; }
.follow-example-ideas { padding-inline-start: 1.2rem; }
.follow-example-ideas p { margin: .25rem 0 .8rem; }
.follow-bridge { margin: -.35rem 0 .85rem; }
.follow-offer-price { margin: .4rem 0 1rem; color: var(--muted); font-size: .85rem; }
.follow-open-questions, .follow-selected ul { list-style: none; padding: 0; }
.follow-open-questions, .follow-angle-list { display: grid; gap: .65rem; margin: 0; }
.follow-open-topic { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: .85rem; padding: .9rem 1rem; text-align: start; background: var(--surface); color: var(--ink); border: 1px solid var(--edge); border-radius: 13px; }
.follow-open-topic > span { min-width: 0; overflow-wrap: anywhere; }
.follow-open-topic strong, .follow-open-topic span span { display: block; }
.follow-open-topic strong { line-height: 1.35; text-wrap: balance; }
.follow-open-topic span span { margin-top: .35rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.follow-open-topic svg { flex: none; color: var(--prune); }
.follow-open-topic:hover, .follow-open-topic:focus-visible { border-color: var(--prune); }
.follow-open-questions + button { margin-top: .6rem; }
.follow-selected { margin-bottom: .85rem; }
.follow-selected ul { display: grid; gap: .35rem; margin: 0; border-inline-start: 3px solid var(--prune); padding-inline-start: .7rem; font-weight: 650; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .follow-progress progress::-webkit-progress-value { transition: none; } }

.wizard-email-edit + label:has([data-reader-name]) {
  display: grid;
  gap: .35rem;
  margin-block-start: .5rem;
}
label.model-consent {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: .625rem;
  min-height: 44px;
  margin-block: 1rem;
  padding: .75rem;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 450;
  line-height: 1.45;
  text-align: start;
  cursor: pointer;
}
.model-consent input {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin: .06em 0 0;
  accent-color: var(--prune);
  cursor: pointer;
}
.model-consent span { overflow-wrap: anywhere; }
.model-consent:has(input:checked) { background: var(--lilac); border-color: var(--prune); }
.wizard .model-consent + .wizard-actions { margin-block-start: 1rem; }
