/* =========================================================================
   Lovasember persona-ajanlat munkafuzet
   Design tokens derived from https://www.lovasember.hu/ (Webflow shared CSS)
   ========================================================================= */

:root {
  /* Brand */
  --lv-primary: #D1A300;
  --lv-primary-soft: #E0C154;
  --lv-primary-wash: #FBF3D8;
  --lv-tint: #E8E2CB;
  --lv-green: #0C2107;
  --lv-green-soft: #1E3A17;
  --lv-ink: #14170F;
  --lv-ink-soft: #4A4F42;
  --lv-muted: #6E7466;
  --lv-bg: #F4F4F4;
  --lv-surface: #FFFFFF;
  --lv-surface-2: #F4F3EF;
  --lv-line: #DCD8C9;
  --lv-line-strong: #BDB79F;
  --lv-on-dark: #F4F4F4;

  /* Status */
  --lv-ok: #027A48;
  --lv-ok-bg: #ECFDF3;
  --lv-neutral-bg: #F0F0F0;

  /* Type */
  --lv-font-heading: "Lora", Georgia, "Times New Roman", serif;
  --lv-font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Shape */
  --lv-radius: 8px;
  --lv-radius-sm: 4px;
  --lv-radius-btn: 2px;
  --lv-shadow: 0 4px 8px -2px rgba(0, 0, 0, .10), 0 2px 4px -2px rgba(0, 0, 0, .06);
  --lv-shadow-lg: 0 18px 38px -14px rgba(12, 33, 7, .28);
  --lv-max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--lv-bg);
  color: var(--lv-ink);
  font-family: var(--lv-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--lv-font-heading); font-weight: 700; margin: 0 0 .5em; line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--lv-green); }

.wrap { width: 100%; max-width: var(--lv-max); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */

.lv-top {
  background: var(--lv-green);
  color: var(--lv-on-dark);
  padding: 36px 0 40px;
}
.lv-top .eyebrow {
  font-family: var(--lv-font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--lv-primary-soft);
  margin: 0 0 14px;
}
.lv-top h1 { color: #fff; max-width: 22ch; }

/* ------------------------------------------------------------------- nav */

.lv-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 244, 244, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lv-line);
}
.lv-nav .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; }
.lv-nav .brandmark {
  font-family: var(--lv-font-heading); font-weight: 700; font-size: .95rem;
  color: var(--lv-green); white-space: nowrap;
}
.lv-nav .links { display: flex; gap: 4px; flex-wrap: wrap; flex: 1 1 auto; }
.lv-nav a.navlink {
  text-decoration: none; color: var(--lv-ink-soft); font-size: .84rem; font-weight: 600;
  padding: 7px 11px; border-radius: var(--lv-radius-sm); white-space: nowrap;
}
.lv-nav a.navlink:hover { background: var(--lv-tint); color: var(--lv-green); }
.lv-nav .savestate { font-size: .76rem; color: var(--lv-muted); white-space: nowrap; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--lv-font-heading); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 11px 20px; border-radius: var(--lv-radius-btn);
  border: 2px solid var(--lv-primary-soft); background: var(--lv-primary); color: var(--lv-green);
  cursor: pointer; text-decoration: none; transition: transform .08s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border-color: var(--lv-line-strong); color: var(--lv-green); }
.btn.ghost:hover { background: var(--lv-tint); }
.btn.dark { background: var(--lv-green); border-color: var(--lv-green); color: var(--lv-on-dark); }
.btn.sm { padding: 7px 13px; font-size: .74rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* -------------------------------------------------------------- sections */

.lv-section { padding: 48px 0 12px; }
.lv-section > .wrap > .sec-head { max-width: 74ch; margin-bottom: 22px; }
.sec-head .kicker {
  text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 700;
  color: var(--lv-primary); margin: 0 0 8px;
}
.sec-head p { color: var(--lv-ink-soft); }

.card {
  background: var(--lv-surface); border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius); box-shadow: var(--lv-shadow);
}

/* --------------------------------------------------------- persona block */

.persona {
  margin-bottom: 34px; background: var(--lv-surface); border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius); box-shadow: var(--lv-shadow); overflow: hidden;
}
.persona-head {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px; background: var(--lv-green); color: var(--lv-on-dark);
  cursor: pointer;
}
.persona-head .slotno {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--lv-primary); color: var(--lv-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lv-font-heading); font-weight: 700; font-size: 1.05rem;
}
.persona-head .ph-main { flex: 1 1 auto; min-width: 0; }
.persona-head h3 { color: #fff; margin: 0 0 4px; font-size: 1.25rem; }
.persona-head .ph-desc { color: #DDE0D6; font-size: .9rem; margin: 0; }
.persona-head .ph-tools { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.persona-head .chev {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(244,244,244,.4);
  display: flex; align-items: center; justify-content: center; font-size: .8rem;
  transition: transform .18s ease;
}
.persona.collapsed .persona-head .chev { transform: rotate(-90deg); }
.persona.collapsed .persona-body { display: none; }
.persona-body { padding: 28px 26px 32px; }

.fw-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--lv-green);
  background: var(--lv-primary-wash); border: 1px solid var(--lv-primary-soft);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}

/* --------------------------------------------------------------- fields */

.field { margin-bottom: 24px; }
.field label.flabel {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-weight: 700; font-size: 1rem; color: var(--lv-green); margin-bottom: 5px;
}
.field .fhelp { font-size: .84rem; color: var(--lv-muted); margin: 0 0 10px; font-weight: 400; }
.field input[type="text"], .field textarea, .field select {
  width: 100%; font-family: var(--lv-font-body); font-size: 1rem; color: var(--lv-ink);
  background: var(--lv-surface-2); border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius-sm); padding: 14px 16px; line-height: 1.65;
  transition: border-color .12s ease, background .12s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field select { min-height: 52px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--lv-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(209, 163, 0, .16);
}
.field.is-edited input, .field.is-edited textarea { background: #fff; border-color: var(--lv-primary-soft); }
.list-field .li-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.list-field .li-bullet {
  flex: 0 0 auto; width: 26px; height: 26px; margin-top: 12px; border-radius: 50%;
  background: var(--lv-primary-wash); border: 1px solid var(--lv-primary-soft);
  font-size: .7rem; font-weight: 700; color: var(--lv-green);
  display: flex; align-items: center; justify-content: center;
}

/* ------------------------------------------------- framework 1: ladder */

.ladder {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 6px 0 28px;
}
.ladder .rung {
  position: relative; background: var(--lv-surface-2); border: 1px solid var(--lv-line);
  border-right: none; padding: 18px 18px 18px 22px;
}
.ladder .rung:first-child { border-radius: var(--lv-radius) 0 0 var(--lv-radius); }
.ladder .rung:last-child { border-right: 1px solid var(--lv-line); border-radius: 0 var(--lv-radius) var(--lv-radius) 0; }
.ladder .rung::after {
  content: ""; position: absolute; top: 50%; right: -11px; z-index: 3;
  width: 20px; height: 20px; margin-top: -10px; transform: rotate(45deg);
  background: var(--lv-surface-2); border-top: 1px solid var(--lv-line); border-right: 1px solid var(--lv-line);
}
.ladder .rung:last-child::after { display: none; }
.ladder .rung.r1 { background: #FDF6E3; }
.ladder .rung.r1::after { background: #FDF6E3; }
.ladder .rung.r2 { background: #F6F1E2; }
.ladder .rung.r2::after { background: #F6F1E2; }
.ladder .rung.r3 { background: #EFEFE4; }
.ladder .rung.r3::after { background: #EFEFE4; }
.ladder .rung.r4 { background: var(--lv-green); color: var(--lv-on-dark); border-color: var(--lv-green); }
.ladder .rung.r4::after { background: var(--lv-green); border-color: var(--lv-green); }
.ladder .rung .rung-step {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lv-primary); margin-bottom: 6px;
}
.ladder .rung h4 { font-size: 1rem; margin-bottom: 6px; }
.ladder .rung.r4 h4 { color: #fff; }
.ladder .rung p { font-size: .84rem; margin: 0; color: var(--lv-ink-soft); }
.ladder .rung.r4 p { color: #DDE0D6; }

.block {
  border: 1px solid var(--lv-line); border-radius: var(--lv-radius);
  padding: 20px 22px; margin-bottom: 20px; background: var(--lv-surface);
}
.block > .block-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border-bottom: 1px solid var(--lv-line); padding-bottom: 12px; margin-bottom: 16px;
}
.block > .block-head .bnum {
  width: 26px; height: 26px; border-radius: var(--lv-radius-sm); background: var(--lv-green);
  color: var(--lv-primary); font-family: var(--lv-font-heading); font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.block > .block-head h4 { margin: 0; font-size: 1.22rem; }
.block > .block-head .bhint { font-size: .8rem; color: var(--lv-muted); margin-left: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* solution levels table */
.levels { width: 100%; border-collapse: collapse; font-size: .88rem; }
.levels th, .levels td { border: 1px solid var(--lv-line); padding: 10px 12px; vertical-align: top; text-align: left; }
.levels thead th {
  background: var(--lv-green); color: var(--lv-on-dark); font-family: var(--lv-font-heading);
  font-size: .8rem; letter-spacing: .04em;
}
.levels tbody th {
  background: var(--lv-primary-wash); font-family: var(--lv-font-heading); width: 132px;
  color: var(--lv-green); font-size: .85rem;
}
.levels td { background: var(--lv-surface); }
.levels textarea { min-height: 112px; }
.levels .field { margin: 0; }

/* offer sketch panel */
.offer-sketch {
  border: 2px solid var(--lv-primary); border-radius: var(--lv-radius);
  background: linear-gradient(180deg, var(--lv-primary-wash) 0%, var(--lv-surface) 62%);
  padding: 22px; margin-bottom: 20px;
}
.offer-sketch .os-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.offer-sketch .os-head .os-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--lv-primary); color: var(--lv-green);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.offer-sketch .os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --------------------------------------------- framework 2: empathy map */

.empathy {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto;
  gap: 14px; margin-bottom: 20px;
}
.empathy .emp-cell {
  border: 1px solid var(--lv-line-strong); border-radius: var(--lv-radius);
  background: var(--lv-surface-2); padding: 15px 16px;
}
.empathy .emp-cell .emp-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
  font-family: var(--lv-font-heading); font-weight: 700; font-size: .95rem; color: var(--lv-green);
}
.empathy .emp-cell .emp-title .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--lv-primary); flex: 0 0 auto;
}
.empathy .emp-core {
  grid-column: 2; grid-row: 2;
  background: var(--lv-green); color: var(--lv-on-dark); border-color: var(--lv-green);
  display: flex; flex-direction: column; justify-content: center;
}
.empathy .emp-core .emp-title { color: var(--lv-primary); }
.empathy .emp-core .fhelp { color: #C9CCC1; }
.empathy .emp-core label.flabel { color: var(--lv-primary-soft); }
.empathy .emp-core input, .empathy .emp-core textarea {
  background: rgba(255, 255, 255, .10); border-color: rgba(224, 193, 84, .45); color: #fff;
}
.empathy .emp-cell.pain { border-top: 3px solid #B42318; }
.empathy .emp-cell.gain { border-top: 3px solid var(--lv-ok); }

.emp-summary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  border: 1px dashed var(--lv-line-strong); border-radius: var(--lv-radius);
  padding: 18px 20px; background: var(--lv-primary-wash); margin-bottom: 20px;
}

/* ----------------------------------------- framework 3: awareness timeline */

.timeline { position: relative; margin: 10px 0 22px; padding-left: 46px; }
.timeline::before {
  content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(180deg, var(--lv-primary-soft), var(--lv-green));
  border-radius: 3px;
}
.tl-stage { position: relative; margin-bottom: 20px; }
.tl-stage .tl-dot {
  position: absolute; left: -46px; top: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--lv-surface); border: 3px solid var(--lv-primary); color: var(--lv-green);
  font-family: var(--lv-font-heading); font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.tl-stage .tl-card {
  border: 1px solid var(--lv-line); border-left: 4px solid var(--lv-primary);
  border-radius: var(--lv-radius); background: var(--lv-surface); padding: 18px 20px;
}
.tl-stage:nth-child(5) .tl-card { border-left-color: var(--lv-green); }
.tl-stage .tl-card h4 { margin-bottom: 2px; }
.tl-stage .tl-card .tl-sub { font-size: .8rem; color: var(--lv-muted); margin-bottom: 12px; }
.msg-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-bottom: 12px; }
.msg-table th, .msg-table td { border: 1px solid var(--lv-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.msg-table thead th { background: var(--lv-tint); font-family: var(--lv-font-heading); font-size: .78rem; }
.msg-table .field { margin: 0; }
.channel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel-row .field { margin: 0; }

/* --------------------------------------------------------------- ranking */

.rank-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.weights { padding: 20px 22px; }
.weights h4 { margin-bottom: 4px; }
.weights .wnote { font-size: .8rem; color: var(--lv-muted); margin-bottom: 14px; }
.weight-row { margin-bottom: 12px; }
.weight-row .wr-top { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; }
.weight-row input[type="range"] { width: 100%; accent-color: var(--lv-primary); }

.rank-table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.rank-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .87rem; background: var(--lv-surface); }
.rank-table th, .rank-table td { border: 1px solid var(--lv-line); padding: 9px 10px; text-align: center; }
.rank-table thead th { background: var(--lv-green); color: var(--lv-on-dark); font-family: var(--lv-font-heading); font-size: .76rem; }
.rank-table thead th.namecol, .rank-table td.namecol { text-align: left; min-width: 190px; }
.rank-table tbody tr:nth-child(even) td { background: var(--lv-surface-2); }
.rank-table select { width: 74px; min-height: 44px; padding: 9px 6px; font-size: .95rem; border: 1px solid var(--lv-line); border-radius: var(--lv-radius-sm); background: #fff; }
.rank-table td.total { font-family: var(--lv-font-heading); font-weight: 700; font-size: 1rem; background: var(--lv-primary-wash) !important; }
.rank-table td.rankpos { font-family: var(--lv-font-heading); font-weight: 700; color: var(--lv-green); }
.rank-bar { height: 8px; border-radius: 4px; background: var(--lv-line); overflow: hidden; }
.rank-bar > i { display: block; height: 100%; background: var(--lv-primary); }
.unknown-note { font-size: .78rem; color: var(--lv-muted); }

/* ---------------------------------------------------------- submit bar */

.submit-panel { padding: 26px 28px; margin-bottom: 40px; }
.submit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; }
.status-line { font-size: .88rem; padding: 12px 14px; border-radius: var(--lv-radius-sm); display: none; }
.status-line.show { display: block; }
.status-line.ok { background: var(--lv-ok-bg); color: var(--lv-ok); border: 1px solid var(--lv-ok); }
.status-line.err { background: var(--lv-neutral-bg); color: #B42318; border: 1px solid #B42318; }
.status-line.info { background: var(--lv-primary-wash); color: var(--lv-green); border: 1px solid var(--lv-primary-soft); }

/* ---------------------------------------------------- optional content */

.extra-content {
  width: calc(100% - 48px); max-width: var(--lv-max); margin: 12px auto 48px;
  border-top: 1px solid var(--lv-line);
}
.extra-content > summary {
  display: inline-flex; align-items: center; gap: 8px; list-style: none;
  margin-top: 14px; padding: 7px 10px; border-radius: var(--lv-radius-sm);
  color: var(--lv-muted); font-size: .8rem; font-weight: 600; cursor: pointer;
}
.extra-content > summary::-webkit-details-marker { display: none; }
.extra-content > summary::after { content: "+"; font-size: 1rem; line-height: 1; color: var(--lv-green); }
.extra-content[open] > summary::after { content: "−"; }
.extra-content > .lv-section { margin-left: -24px; margin-right: -24px; }
.extra-content > .lv-section:last-child { padding-bottom: 24px; }

.lv-foot { background: var(--lv-green); color: #C9CCC1; padding: 26px 0; font-size: .84rem; margin-top: 20px; }

.addbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 6px 0 40px; }
.addbar .hint { font-size: .84rem; color: var(--lv-muted); }

.tpl-toolbar {
  display: flex; gap: 10px; align-items: center; justify-content: flex-end;
  padding: 10px 0 0; font-size: .8rem; color: var(--lv-muted);
}

/* ---------------------------------------------------------- responsive */

/* grid and flex children must be allowed to shrink below their content width,
   otherwise a wide table or a range input pushes the whole page sideways */
.rank-wrap > *, .two-col > *, .three-col > *, .os-grid > *, .emp-summary > *, .channel-row > * { min-width: 0; }
.weights input[type="range"] { max-width: 100%; }

@media (max-width: 1000px) {
  .ladder { grid-template-columns: 1fr 1fr; }
  .empathy { grid-template-columns: 1fr 1fr; }
  .empathy .emp-core { grid-column: 1 / -1; grid-row: auto; }
  .ladder .rung { border-right: 1px solid var(--lv-line); border-radius: var(--lv-radius); margin-bottom: 22px; }
  .ladder .rung::after { top: auto; bottom: -12px; right: 50%; margin-right: -10px; margin-top: 0;
    border-top: none; border-right: 1px solid var(--lv-line); border-bottom: 1px solid var(--lv-line); }
  .rank-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .ladder { grid-template-columns: 1fr; }
  .two-col, .three-col, .offer-sketch .os-grid, .emp-summary, .channel-row { grid-template-columns: 1fr; }
  .empathy { grid-template-columns: 1fr; }
  .empathy .emp-core { grid-column: 1; grid-row: auto; }
  .persona-body { padding: 20px 16px 24px; }
  .persona-head { padding: 16px; gap: 12px; }
  .persona-head .slotno { width: 36px; height: 36px; font-size: .9rem; }
  .persona-head h3 { font-size: 1.05rem; }
  .lv-nav .links { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .lv-nav .savestate { display: none; }
  .levels, .levels thead, .levels tbody, .levels tr, .levels th, .levels td { display: block; width: 100%; }
  .levels thead { display: none; }
  .levels tbody th { width: 100%; border-radius: var(--lv-radius-sm) var(--lv-radius-sm) 0 0; }
  .levels tbody td { border-top: none; }
  .levels tbody tr { margin-bottom: 14px; display: block; }
  .levels td::before { content: attr(data-col); display: block; font-size: .7rem; text-transform: uppercase;
    letter-spacing: .08em; color: var(--lv-muted); font-weight: 700; margin-bottom: 5px; }
  .msg-table, .msg-table thead, .msg-table tbody, .msg-table tr, .msg-table th, .msg-table td { display: block; width: 100%; }
  .msg-table thead { display: none; }
  .msg-table td::before { content: attr(data-col); display: block; font-size: .7rem; text-transform: uppercase;
    letter-spacing: .08em; color: var(--lv-muted); font-weight: 700; margin-bottom: 5px; }
  .msg-table tr { margin-bottom: 12px; border: 1px solid var(--lv-line); border-radius: var(--lv-radius-sm); padding: 6px; }
  .msg-table td { border: none; padding: 6px; }
  .rank-table-scroll { overflow-x: auto; }
  .rank-table { min-width: 720px; }
  /* readable minimums on a phone: the client may fill this in on mobile */
  .ladder .rung .rung-step { font-size: .74rem; }
  .sec-head .kicker, .lv-top .eyebrow { font-size: .8rem; }
  .btn.sm { font-size: .82rem; padding: 8px 14px; }
  .fw-badge, .list-field .li-bullet { font-size: .76rem; }
  .fhelp { font-size: .88rem; }
  .submit-panel { padding: 20px 16px; }
  .weights { padding: 18px 16px; }
  .timeline { padding-left: 34px; }
  .tl-stage .tl-dot { left: -34px; width: 28px; height: 28px; font-size: .8rem; }
  .timeline::before { left: 12px; }
  .submit-actions .btn { width: 100%; }
  .extra-content { width: calc(100% - 32px); }
  .extra-content > .lv-section { margin-left: -16px; margin-right: -16px; }
}

/* -------------------------------------------------------------- printing */

@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body { background: #fff; font-size: 10.5pt; }
  .lv-nav, .addbar, .tpl-toolbar, .submit-actions, .lv-foot, .no-print { display: none !important; }
  .lv-top { background: #fff !important; color: var(--lv-ink); padding: 0 0 12pt; }
  .lv-top h1, .lv-top .lead, .lv-top .eyebrow { color: var(--lv-ink) !important; }
  .persona { break-inside: auto; page-break-inside: auto; box-shadow: none; border: 1px solid #999; }
  .persona.collapsed .persona-body { display: block !important; }
  .persona-head { background: var(--lv-green) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .block, .offer-sketch, .tl-stage, .emp-cell { break-inside: avoid; page-break-inside: avoid; }
  .persona { page-break-before: always; }
  .persona:first-of-type { page-break-before: auto; }
  input, textarea, select { border: 1px solid #bbb !important; background: #fff !important; }
  textarea { min-height: 0 !important; height: auto !important; overflow: visible !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
