:root {
  color-scheme: light;
  --ink: #211e1a;
  --muted: #665f56;
  --paper: #f8f1e5;
  --paper-soft: #fffaf1;
  --line: #aa987d;
  --blue: #5267ff;
  --blue-dark: #3149d5;
  --dark: #201c18;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-soft); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button, textarea, input { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.topbar { min-height: 78px; padding: 14px max(20px,calc((100% - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(86,72,53,.18); background: rgba(248,241,229,.94); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 600; text-decoration: none; }
.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 7px 12px rgba(56,40,23,.24), 0 2px 0 rgba(139,109,68,.45);
  transform: perspective(160px) rotateX(5deg);
}
.brand em { color: var(--blue); font-weight: 500; }
.back-link { color: var(--muted); font-size: 13px; font-weight: 600; text-underline-offset: 5px; }
.eyebrow { margin: 0 0 16px; color: var(--blue-dark); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin-top: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.hero { min-height: 680px; padding-block: clamp(70px,10vw,120px); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.75fr); gap: clamp(52px,8vw,110px); align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(54px,6.8vw,88px); }
.hero-lead { max-width: 710px; margin: 0 0 20px; font-family: var(--serif); font-size: clamp(21px,2.2vw,29px); line-height: 1.4; }
.hero-note { max-width: 650px; margin: 0 0 32px; color: var(--muted); }
.capacity-definition { max-width: 650px; margin: 0 0 18px; padding: 16px 18px; border-left: 3px solid var(--blue); background: rgba(238,228,213,.62); color: var(--muted); font-size: 14px; }
.capacity-definition strong { color: var(--ink); }
.button { min-height: 50px; padding: 13px 21px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; color: #fff; background: var(--dark); font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.map-preview { overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 24px 55px rgba(57,45,31,.14); }
.map-preview > span { display: block; margin-bottom: 18px; color: var(--blue-dark); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.map-preview ol { margin: 0; padding: 0; list-style: none; }
.map-preview li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #c9bba6; font-family: var(--serif); }
.map-preview b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-dark); font-family: var(--sans); font-size: 12px; }
.worksheet-section { padding-block: clamp(76px,9vw,120px); background: #eee4d5; }
.worksheet { display: grid; gap: 28px; }
.worksheet-intro { display: grid; grid-template-columns: 1fr minmax(300px,.65fr); gap: 48px; align-items: end; margin-bottom: 18px; }
.worksheet-intro h2, .map-close h2 { margin-bottom: 0; font-size: clamp(38px,4.8vw,64px); }
.privacy-note { padding: 18px 20px; border-left: 3px solid var(--blue); background: rgba(255,255,255,.46); }
.privacy-note strong, .privacy-note span { display: block; }
.privacy-note strong { margin-bottom: 5px; font-size: 13px; }
.privacy-note span { color: var(--muted); font-size: 12px; }
.experience-note { padding: 18px 20px; display: grid; grid-template-columns: minmax(210px,.45fr) 1fr; gap: 28px; align-items: center; border: 1px solid #c8baa5; border-radius: 14px; background: rgba(255,250,241,.68); }
.experience-note strong { font-family: var(--serif); font-size: 18px; }
.experience-note span { color: var(--muted); font-size: 13px; }
.step-progress { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,250,241,.72); }
.step-progress button { min-width: 0; padding: 14px 16px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; border: 0; border-right: 1px solid rgba(170,152,125,.5); color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.step-progress button:last-child { border-right: 0; }
.step-progress button > span { grid-row: 1 / 3; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #aa987d; border-radius: 50%; font-size: 11px; font-weight: 600; }
.step-progress button b { color: var(--ink); font-size: 13px; }
.step-progress button small { font-size: 10px; }
.step-progress button[aria-current="step"] { background: #fffaf1; box-shadow: inset 0 -3px 0 var(--blue); }
.step-progress button[aria-current="step"] > span, .step-progress button.is-complete > span { border-color: var(--blue-dark); color: #fff; background: var(--blue-dark); }
.step-progress button:hover { background: rgba(255,255,255,.65); }
.step-progress button:focus-visible, .button:focus-visible, .text-button:focus-visible { outline: 3px solid rgba(82,103,255,.28); outline-offset: 3px; }
.step-card { margin: 0; padding: clamp(24px,4vw,42px); border: 1px solid var(--line); border-radius: 22px; background: var(--paper-soft); box-shadow: 0 16px 35px rgba(57,45,31,.07); }
.step-card:focus { outline: none; }
.step-card[hidden], .map-result[hidden] { display: none; }
.step-heading { width: 100%; margin: 0 0 26px; display: grid; grid-template-columns: 42px auto minmax(0,1fr); gap: 12px; align-items: center; }
.step-heading > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-dark); font-weight: 600; }
.step-heading b { font-family: var(--serif); font-size: 25px; }
.step-heading small { max-width: 360px; justify-self: end; color: var(--muted); line-height: 1.4; text-align: right; }
.step-card > label, .decision-grid label { display: block; font-weight: 600; }
.field-help, .step-intro { max-width: 780px; margin: 7px 0 16px; color: var(--muted); font-size: 13px; }
textarea { width: 100%; min-height: 96px; margin-top: 8px; padding: 14px 15px; resize: vertical; border: 1px solid #bba98f; border-radius: 12px; color: var(--ink); background: #fffdf8; line-height: 1.5; }
textarea:focus, input:focus { outline: 3px solid rgba(82,103,255,.22); border-color: var(--blue); }
.signal-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 22px 0 26px; }
.signal-group { min-width: 0; margin: 0; padding: 18px; border: 1px solid #c8baa5; border-radius: 14px; background: #f4ebdd; }
.signal-group > legend { width: 100%; padding: 0 0 12px; }
.signal-group > legend b, .signal-group > legend span { display: block; }
.signal-group > legend b { font-family: var(--serif); font-size: 20px; }
.signal-group > legend span { color: var(--muted); font-size: 11px; }
.choice-chip { margin-top: 9px; padding: 10px 11px; display: flex; gap: 9px; align-items: flex-start; border: 1px solid #d4c7b4; border-radius: 10px; background: rgba(255,253,248,.74); color: var(--muted); font-size: 12px; line-height: 1.35; cursor: pointer; }
.choice-chip:has(input:checked) { border-color: var(--blue); color: var(--ink); background: #f0f2ff; box-shadow: inset 3px 0 0 var(--blue); }
.choice-chip input { width: 16px; height: 16px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--blue-dark); }
.signal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 22px 0 24px; }
.signal-grid label { padding: 18px; border: 1px solid #c8baa5; border-radius: 14px; background: #f4ebdd; }
.signal-grid b, .signal-grid span { display: block; }
.signal-grid b { margin-bottom: 4px; font-family: var(--serif); font-size: 19px; }
.signal-grid span, .decision-grid span { min-height: 42px; color: var(--muted); font-size: 12px; font-weight: 400; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 25px; }
.decision-grid b, .decision-grid span { display: block; }
.decision-grid b { margin-bottom: 5px; font-family: var(--serif); font-size: 18px; }
.dependency-field { margin: 0; padding: 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; border: 1px dashed #aa987d; border-radius: 14px; }
.dependency-field legend { padding: 0 8px; font-weight: 600; }
.dependency-field label { display: inline-flex; align-items: center; gap: 7px; }
.step-action { border-color: rgba(82,103,255,.55); background: #f3f5ff; }
.step-action label + textarea { margin-bottom: 22px; }
.scope-note { margin-top: 22px; padding: 17px 18px; display: grid; gap: 4px; border: 1px solid rgba(82,103,255,.38); border-radius: 12px; background: rgba(255,255,255,.68); }
.scope-note strong { font-size: 13px; }
.scope-note span { color: var(--muted); font-size: 12px; }
.step-navigation { margin-top: 28px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(170,152,125,.38); }
.step-navigation-end { justify-content: flex-end; }
.button-secondary { border: 1px solid #aa987d; color: var(--ink); background: transparent; }
.button-secondary:hover { color: #fff; border-color: var(--blue-dark); }
.map-result { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fffaf1; box-shadow: 0 22px 50px rgba(57,45,31,.12); }
.map-result:focus { outline: none; }
.print-watermark { display: none; }
.result-header { padding: clamp(28px,5vw,52px); text-align: center; }
.result-header h2 { margin-bottom: 12px; font-size: clamp(40px,5vw,66px); }
.result-header > p:last-child { max-width: 640px; margin: 0 auto; color: var(--muted); }
.result-signals { padding: 0 clamp(20px,4vw,42px) 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.result-signals > div { min-width: 0; padding: 16px; border: 1px solid #c8baa5; border-radius: 13px; background: #f5ecde; }
.result-signals span, .result-board article > span { color: var(--blue-dark); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.result-signals p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.result-board { padding: 0 clamp(20px,4vw,42px) clamp(28px,5vw,48px); display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-items: start; }
.result-board article { min-width: 0; padding: clamp(22px,2.4vw,28px); border: 1px solid #c8baa5; border-top: 4px solid #b45c6e; border-radius: 16px; background: #fffdf8; }
.result-board article.result-focus { border-top-color: #c47b14; }
.result-board article.result-action { border-top-color: var(--blue); }
.result-board h3 { margin: 7px 0 15px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.result-board p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-board article > small { display: block; margin-top: 17px; padding-top: 14px; border-top: 1px solid #ded3c3; color: var(--muted); font-size: 11px; white-space: pre-wrap; }
.out-of-queue { margin-top: 20px; padding: 14px; border-radius: 11px; background: #f4ebdd; }
.out-of-queue b { display: block; margin-bottom: 5px; color: #8c651f; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.out-of-queue p { color: var(--muted); font-size: 12px; }
.result-close { padding: clamp(26px,4vw,42px); display: grid; grid-template-columns: 1fr minmax(260px,.45fr); gap: 42px; align-items: end; color: #fffaf1; background: var(--dark); }
.result-close h3 { margin: 0 0 11px; font-family: var(--serif); font-size: clamp(28px,3.6vw,42px); font-weight: 500; line-height: 1.1; }
.result-close > div > p:last-child { max-width: 700px; margin: 0; color: rgba(255,250,241,.72); }
.text-button { padding: 5px 0; border: 0; color: rgba(255,250,241,.8); background: transparent; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.step-progress button:disabled { cursor: not-allowed; opacity: .48; }
.step-progress button:disabled:hover { background: transparent; }
.step-copy { max-width: 820px; margin-bottom: 24px; }
.step-copy h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(22px,2.6vw,30px); font-weight: 500; line-height: 1.25; }
.step-copy p { margin: 0; color: var(--muted); }
.backlog-builder { display: grid; gap: 12px; }
.backlog-entry { padding: 12px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid #c8baa5; border-radius: 13px; background: #f4ebdd; }
.backlog-number { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-dark); font-size: 12px; font-weight: 600; }
.backlog-entry input { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #c8baa5; border-radius: 9px; color: var(--ink); background: #fffdf8; }
.backlog-entry input:focus { outline: 3px solid rgba(82,103,255,.22); border-color: var(--blue); }
.remove-card-button, .add-card-button { border: 0; color: var(--muted); background: transparent; font-weight: 600; cursor: pointer; }
.remove-card-button { padding: 9px 8px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.add-card-button { margin-top: 12px; padding: 11px 3px; color: var(--blue-dark); text-align: left; }
.add-card-button:disabled { color: var(--muted); cursor: default; }
.inline-feedback { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid #b04b5e; color: #7e3140; background: #fff1f2; font-size: 13px; }
.carry-forward { padding: clamp(18px,3vw,28px); border: 1px solid #c8baa5; border-radius: 17px; background: #f4ebdd; }
.carry-forward > header { margin-bottom: 18px; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.carry-forward > header span { color: var(--blue-dark); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.carry-forward > header h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.carry-forward > header small { max-width: 330px; color: var(--muted); text-align: right; }
.impact-list { display: grid; gap: 12px; }
.impact-card { padding: 16px; display: grid; grid-template-columns: minmax(220px,1fr) minmax(280px,.8fr) minmax(170px,.5fr); gap: 18px; align-items: center; border: 1px solid #d3c4ae; border-radius: 12px; background: #fffdf8; }
.impact-card-heading { min-width: 0; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; }
.impact-card-heading > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: #edf0ff; font-size: 11px; font-weight: 600; }
.impact-card h4 { margin: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.impact-card-heading b { color: var(--blue-dark); font-size: 11px; white-space: nowrap; }
.impact-scale { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.impact-scale button { min-width: 36px; min-height: 38px; border: 1px solid #c8baa5; border-radius: 9px; color: var(--muted); background: #f8f1e5; font-weight: 600; cursor: pointer; }
.impact-scale button:hover, .impact-scale button.is-selected { border-color: var(--blue-dark); color: #fff; background: var(--blue-dark); transform: translateY(-1px); }
.impact-scale button:focus-visible, .focus-card:focus-visible, .add-card-button:focus-visible, .remove-card-button:focus-visible { outline: 3px solid rgba(82,103,255,.25); outline-offset: 2px; }
.impact-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.focus-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.focus-card { min-width: 0; padding: 17px; display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; border: 1px solid #c8baa5; border-radius: 12px; color: var(--ink); background: #fffdf8; text-align: left; cursor: pointer; }
.focus-card > span { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.focus-card > b { color: #9a6614; font-size: 12px; white-space: nowrap; }
.focus-card > small { grid-column: 1 / -1; color: var(--muted); }
.focus-card:hover { border-color: var(--blue); }
.focus-card.is-selected { border-color: var(--blue-dark); background: #eef1ff; box-shadow: inset 4px 0 0 var(--blue-dark); }
.focus-card.is-selected > small { color: var(--blue-dark); font-weight: 600; }
.focus-reason { margin-top: 24px; display: block; }
.focus-reason b, .focus-reason span { display: block; }
.focus-reason b { margin-bottom: 4px; }
.focus-reason span { color: var(--muted); font-size: 12px; font-weight: 400; }
.action-context { margin-bottom: 24px; padding: 20px; border: 1px solid rgba(82,103,255,.5); border-radius: 15px; background: #eef1ff; }
.action-context > span { color: var(--blue-dark); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.action-context h3 { margin: 6px 0 12px; font-family: var(--serif); font-size: clamp(24px,3vw,34px); font-weight: 500; line-height: 1.2; }
.action-context > div { display: flex; gap: 20px; align-items: start; }
.action-context b { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #fff; background: var(--blue-dark); font-size: 11px; }
.action-context p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.result-backlog { display: grid; gap: 9px; }
.result-queue-card { padding: 11px 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; border: 1px solid #d5c8b5; border-radius: 9px; background: #f5ecde; }
.result-queue-card > span { overflow-wrap: anywhere; font-size: 12px; }
.result-queue-card > b { color: #8c651f; font-size: 11px; }
.result-queue-card > small { grid-column: 1 / -1; color: var(--blue-dark); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.result-queue-card.is-focus { border-color: var(--blue); background: #eef1ff; box-shadow: inset 3px 0 0 var(--blue); }
.result-impact { display: inline-flex; margin: 0 0 14px; padding: 6px 9px; border-radius: 999px; color: #fff; background: #b67616; font-size: 10px; }
.noscript-note { padding: 18px; border: 1px solid #b04b5e; border-radius: 12px; color: #7e3140; background: #fff1f2; }
.map-close { padding: clamp(28px,5vw,52px); display: grid; grid-template-columns: 1fr minmax(280px,.55fr); gap: 54px; align-items: end; border-radius: 22px; color: #fffaf1; background: var(--dark); }
.map-close .eyebrow { color: #b8c1ff; }
.map-close h2 { max-width: 720px; }
.map-close p:not(.eyebrow) { max-width: 720px; color: rgba(255,250,241,.72); }
.map-actions { display: grid; gap: 16px; justify-items: start; }
.map-actions .button { color: var(--dark); background: #fffaf1; }
.map-actions .button-secondary { border-color: rgba(255,250,241,.48); color: #fffaf1; background: transparent; }
.map-actions .button-secondary:hover { border-color: #fffaf1; color: var(--dark); background: #fffaf1; }
.map-actions .button:disabled { cursor: progress; opacity: .64; }
.save-feedback { max-width: 330px; margin: -3px 0 0; color: rgba(255,250,241,.68); font-size: 11px; line-height: 1.5; }
.save-feedback-mobile { display: none; }
.map-actions a:not(.button) { color: rgba(255,250,241,.75); font-size: 13px; }
footer { padding: 28px max(20px,calc((100% - var(--max))/2)); display: flex; justify-content: space-between; gap: 28px; color: #dfd6ce; background: #181512; font-size: 11px; }
footer p { max-width: 720px; margin: 0; }

@media (max-width: 820px) {
  .hero, .worksheet-intro, .map-close { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .map-preview { width: min(100%,560px); }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid span { min-height: 0; }
  .signal-columns { grid-template-columns: 1fr; }
  .experience-note, .result-close { grid-template-columns: 1fr; gap: 10px; }
  .result-close { gap: 28px; }
  .impact-card { grid-template-columns: 1fr; gap: 12px; }
  .impact-card > p { min-height: 0; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px),var(--max)); }
  .topbar { padding-inline: 14px; }
  .back-link { font-size: 0; }
  .back-link::after { font-size: 12px; content: "Voltar"; }
  .hero { padding-block: 58px 76px; gap: 40px; }
  .hero h1 { font-size: 48px; }
  .capacity-definition { padding: 14px 15px; }
  .experience-note { padding: 16px; }
  .step-progress { gap: 0; }
  .step-progress button { padding: 11px 5px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; text-align: center; }
  .step-progress button > span { grid-row: auto; width: 26px; height: 26px; margin-bottom: 4px; }
  .step-progress button b { font-size: 10px; }
  .step-progress button small { font-size: 10px; }
  .step-card { padding: 24px 18px; border-radius: 17px; }
  .step-heading { margin-bottom: 28px; grid-template-columns: 38px minmax(0,1fr); gap: 8px 12px; align-items: center; }
  .step-heading b { font-size: 25px; }
  .step-heading small { grid-column: 2; max-width: none; justify-self: start; font-size: 13px; line-height: 1.45; text-align: left; }
  .decision-grid { grid-template-columns: 1fr; }
  .dependency-field { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .step-navigation { flex-direction: column-reverse; }
  .step-navigation-end { flex-direction: column; }
  .backlog-entry { grid-template-columns: 34px minmax(0,1fr); }
  .remove-card-button { grid-column: 2; justify-self: start; padding-left: 0; }
  .carry-forward { padding: 16px 12px; }
  .carry-forward > header { align-items: start; flex-direction: column; gap: 6px; }
  .carry-forward > header small { text-align: left; }
  .impact-card { padding: 13px; }
  .impact-card-heading { grid-template-columns: 28px 1fr; }
  .impact-card-heading b { grid-column: 2; }
  .impact-scale button { min-width: 0; }
  .focus-board { grid-template-columns: 1fr; }
  .action-context > div { flex-direction: column; gap: 8px; }
  .result-signals { grid-template-columns: repeat(3,minmax(0,1fr)); padding-inline: 14px; gap: 7px; }
  .result-signals > div { padding: 10px 8px; }
  .result-signals p { font-size: 10px; }
  .result-board { grid-template-columns: none; grid-auto-columns: minmax(270px,calc(100vw - 64px)); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding: 0 16px 28px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .result-board article { height: max-content; padding: 22px 20px; scroll-snap-align: start; }
  .result-board h3 { margin-bottom: 12px; }
  .result-backlog { gap: 10px; }
  .result-queue-card { padding: 12px; }
  .out-of-queue { margin-top: 16px; }
  .map-actions { width: 100%; }
  .map-actions .button, .map-actions .text-button { width: 100%; }
  .map-actions [data-print-map] { display: none; }
  .save-feedback { max-width: none; text-align: center; }
  .save-feedback-mobile { display: inline; }
  .save-feedback-desktop { display: none; }
  footer { flex-direction: column; }
}

@page { size: A4 landscape; margin: 8mm; }

@media print {
  html, body { width: 100%; margin: 0; background: #fff; }
  body { font-size: 8.5pt; line-height: 1.35; }
  *, *::before, *::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar, .hero, .worksheet-intro, .experience-note, .step-progress, .step-card, .result-close, .map-actions, footer { display: none !important; }
  .worksheet-section { padding: 0; background: #fff; }
  .worksheet { width: 100%; max-width: none; margin: 0; display: block; }
  .map-result { width: 100%; margin: 0; display: block !important; overflow: visible; border: 1px solid #aa987d; border-radius: 4mm; box-shadow: none; break-inside: avoid-page; page-break-inside: avoid; }
  .print-watermark { position: fixed; z-index: 999; right: 10mm; bottom: 6mm; display: flex !important; align-items: center; gap: 5px; color: #211e1a; opacity: .34; pointer-events: none; }
  .print-watermark img { width: 24px; height: 24px; border-radius: 50%; object-fit: contain; box-shadow: 0 2px 4px rgba(56,40,23,.22); }
  .print-watermark span { font-family: var(--serif); font-size: 12pt; font-weight: 600; white-space: nowrap; }
  .print-watermark em { color: var(--blue-dark); font-weight: 500; }
  .result-header { padding: 4mm 5mm 3mm; text-align: left; }
  .result-header .eyebrow { margin-bottom: 1.5mm; font-size: 7pt; }
  .result-header h2 { margin: 0; font-size: 24pt; line-height: 1; }
  .result-header > p:last-child { display: none; }
  .result-signals, .result-board { grid-template-columns: repeat(3,minmax(0,1fr)); overflow: visible; }
  .result-board { padding: 0 5mm 6mm; grid-auto-flow: row; gap: 3mm; align-items: stretch; }
  .result-board article { padding: 3.5mm; border-top-width: 2px; border-radius: 3mm; break-inside: avoid; page-break-inside: avoid; }
  .result-board article > span { font-size: 6.5pt; }
  .result-board h3 { margin: 1.5mm 0 2.5mm; font-size: 13pt; line-height: 1.15; }
  .result-board p { font-size: 8pt; line-height: 1.35; }
  .result-backlog { gap: 1.5mm; }
  .result-queue-card { padding: 2mm 2.5mm; gap: 1mm 2mm; border-radius: 2mm; }
  .result-queue-card > span { font-size: 7.5pt; line-height: 1.25; }
  .result-queue-card > b { font-size: 7pt; }
  .result-queue-card > small { font-size: 6pt; }
  .result-impact { margin-bottom: 2.5mm; padding: 1mm 2mm; font-size: 6.5pt; }
  .out-of-queue { margin-top: 3mm; padding: 2.5mm; border-radius: 2mm; }
  .out-of-queue b { margin-bottom: 1mm; font-size: 6pt; }
  .out-of-queue p { font-size: 7pt; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
