:root {
  --cream: #fbf6e9;
  --cream-deep: #f2e7cb;
  --paper: #fffdf7;
  --green: #173f2c;
  --green-2: #24583d;
  --olive: #5e6f3a;
  --gold: #e7ad22;
  --gold-pale: #f8e7ad;
  --ink: #1c2a22;
  --muted: #5f6962;
  --line: #d8d8c7;
  --danger: #9c372f;
  --shadow: 0 18px 50px rgb(31 49 36 / 11%);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select, input { color: inherit; }
:focus-visible { outline: 3px solid #116b9b; outline-offset: 3px; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); padding: .65rem 1rem; color: white; background: var(--green); border-radius: 8px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { width: min(1280px, calc(100% - 36px)); margin: 0 auto; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgb(23 63 44 / 14%); }
.compact-header { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { text-transform: uppercase; letter-spacing: .035em; font-size: .96rem; }
.brand small { margin-top: .3rem; color: var(--muted); font-size: .73rem; }
.brand-mark { width: 43px; height: 43px; }
.brand-mark circle { fill: var(--green); }
.brand-mark path { fill: none; stroke: var(--gold-pale); stroke-width: 3; stroke-linecap: round; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a, .site-footer a { font-size: .9rem; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Forsiden følger briefets kompakte hub: budskab og værktøjsvalg i første skærmbillede. */
.hero.home-hero {
  min-height: 0;
  grid-template-columns: minmax(0, .72fr) minmax(460px, 1.28fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding-block: 1rem .75rem;
}
.home-hero h1 {
  max-width: 12ch;
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.45rem, 3.7vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -.035em;
}
.home-hero .lede { margin-top: .75rem; font-size: clamp(.96rem, 1.2vw, 1.08rem); }
.home-hero .button-row { margin-top: 1rem; }
.home-hero .trust-list { margin-top: .8rem; }
.home-hero .hero-art {
  height: clamp(210px, 23vw, 250px);
  border-width: 5px;
  border-radius: 28% 9% 22% 8% / 22% 18% 16% 20%;
}
.home-hero .hero-art img { height: 100%; aspect-ratio: auto; object-position: 58% 43%; }
.tools-section.home-tools { padding-block: .1rem 2.1rem; }
.home-tools .section-heading { margin-bottom: .65rem; }
.home-tools .section-heading h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.home-tools .tool-card { min-height: 0; padding: 1rem 1.15rem 1.05rem 5.2rem; border-radius: 15px; }
.home-tools .tool-icon { position: absolute; top: 1.05rem; left: 1.1rem; width: 46px; height: 46px; font-size: 1.25rem; }
.home-tools .tool-kicker { margin: 0 0 .15rem; }
.home-tools .tool-card h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.home-tools .tool-card > p:not(.tool-kicker):not(.microcopy) { min-height: 0; margin: 0; font-size: .86rem; }
.home-tools .tool-card .button { min-height: 40px; margin-top: .65rem; padding-block: .5rem; }
.home-tools .microcopy { display: none; }

.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .7rem; color: var(--olive); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .77rem; }
h1, h2, h3 { color: var(--green); line-height: 1.05; letter-spacing: -.025em; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 6.4vw, 6.4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3vw, 3rem); margin: 0 0 1rem; }
h3 { font-size: 1.55rem; margin: 0 0 .7rem; }
.lede { max-width: 60ch; margin: 1.4rem 0 0; color: #35443a; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-art { display: block; border-radius: 36% 12% 30% 10% / 18% 20% 15% 22%; overflow: hidden; box-shadow: var(--shadow); border: 7px solid rgb(255 253 247 / 78%); }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.button-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.05rem; border: 1px solid transparent; border-radius: 10px; font-weight: 800; font-size: .94rem; cursor: pointer; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 9px 20px rgb(23 63 44 / 16%); }
.button-primary:hover { background: var(--green-2); }
.button-quiet { color: var(--green); background: transparent; border-color: rgb(23 63 44 / 24%); }
.button-light { color: var(--green); background: var(--paper); }
.button-disabled { color: var(--muted); background: #eeecdf; cursor: default; }
.button-disabled:hover { transform: none; }
.trust-list { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; padding: 0; margin: 1.6rem 0 0; color: var(--muted); font-size: .84rem; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: .4rem; color: var(--olive); font-weight: 900; }

.tools-section { padding-block: 5rem 6rem; }
.section-heading { text-align: center; margin-bottom: 2rem; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.tool-card { position: relative; min-height: 390px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 15px 40px rgb(31 49 36 / 7%); overflow: hidden; }
.tool-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -60px; top: -70px; border-radius: 50%; background: rgb(231 173 34 / 10%); }
.tool-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: var(--green); font-size: 1.55rem; }
.tool-icon.backpack { color: var(--green); background: var(--gold-pale); }
.tool-kicker { color: #a46700; margin: 1.3rem 0 .4rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.tool-card > p:not(.tool-kicker):not(.microcopy) { max-width: 48ch; min-height: 4.7em; color: var(--muted); }
.tool-card .button { margin-top: .7rem; }
.microcopy { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }
.muted-card { background: #f4f0e2; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 6rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.values article { padding: 2rem; background: var(--paper); }
.values article > span { color: var(--olive); font-size: 1.6rem; }
.values h2 { margin: .7rem 0 .5rem; font-size: 1rem; letter-spacing: 0; }
.values p { margin: 0; color: var(--muted); font-size: .88rem; }
.feedback { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-bottom: 5rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 24px; color: white; background: var(--green); box-shadow: var(--shadow); }
.feedback h2, .feedback .eyebrow { color: white; }
.feedback h2 { max-width: 730px; }
.feedback p:not(.eyebrow) { max-width: 65ch; margin-bottom: 0; color: rgb(255 255 255 / 76%); }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }

.calculator-hero { min-height: 470px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 3.5rem; align-items: center; padding-block: 3.5rem; }
.calculator-hero h1 { max-width: 760px; font-size: clamp(2.8rem, 5.5vw, 5.7rem); }
.calculator-art { height: 360px; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.calculator-art img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.privacy-chip { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1.4rem; padding: .55rem .8rem; border: 1px solid rgb(23 63 44 / 20%); border-radius: 999px; color: var(--green); background: rgb(255 253 247 / 70%); font-size: .82rem; font-weight: 750; }
.workflow { padding-block: 1.5rem 3rem; }
.workflow > h2 { font-size: 1.15rem; letter-spacing: 0; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: .7rem; padding: 1rem; border-radius: 12px; background: rgb(255 253 247 / 72%); }
.steps span, .step-number { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--olive); font-weight: 900; }
.steps strong { color: var(--green); }
.steps small { color: var(--muted); }

.calculator { padding-bottom: 6rem; }
.panel { margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 35px rgb(31 49 36 / 6%); }
.panel-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.panel-heading h2 { margin: .1rem 0 .25rem; font-size: 1.45rem; letter-spacing: -.01em; }
.panel-heading p { margin: 0; color: var(--muted); }
.file-drop { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: 2rem; border: 2px dashed #9fac8d; border-radius: 15px; text-align: center; background: #f8f8ed; cursor: pointer; }
.file-drop:hover, .file-drop.is-dragging { border-color: var(--green); background: #f1f5e6; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-symbol { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--gold-pale); font-size: 1.8rem; font-weight: 900; }
.file-drop strong { color: var(--green); font-size: 1.05rem; }
.file-drop span:not(.upload-symbol) { color: var(--muted); font-size: .86rem; }
.demo-choice { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: .85rem; }
.demo-choice > span { color: var(--muted); font-size: .78rem; }
.demo-choice .button { min-height: 40px; padding: .55rem .85rem; }
.demo-choice small { color: var(--muted); font-size: .72rem; }
.status-line { margin: .9rem 0 0; color: var(--muted); font-size: .86rem; }
.status-good { color: var(--green); font-weight: 750; }
.status-error { color: var(--danger); font-weight: 750; }
.text-button { margin-top: .7rem; padding: 0; color: var(--danger); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mapping-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.mapping-grid label { display: grid; gap: .4rem; color: var(--green); font-size: .82rem; font-weight: 800; }
.mapping-grid select, .mapping-grid input { width: 100%; min-height: 46px; padding: .6rem .7rem; border: 1px solid #bfc6b6; border-radius: 8px; background: white; }
.member-scope { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .65fr) 1.35fr; gap: 1rem; padding: 1rem; border: 1px solid #d8ccb1; }
.unit-choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.unit-choices label { display: flex; align-items: center; gap: .35rem; padding: .45rem; border: 1px solid #bfc6b6; border-radius: 999px; }
.unit-choices input { width: 18px; min-height: 18px; accent-color: var(--green); }
.distribution-kind { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 0; padding: .7rem; border: 1px solid #d8ccb1; border-radius: 12px; background: #fffaf0; }
.distribution-kind legend { padding: 0 .35rem; color: var(--green); font-size: .82rem; font-weight: 850; }
.distribution-kind label { display: block; cursor: pointer; }
.distribution-kind input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; }
.distribution-kind span { display: block; padding: .55rem .8rem; border: 1px solid #bfc6b6; border-radius: 999px; color: var(--green); background: white; }
.distribution-kind input:checked + span { border-color: var(--green); color: white; background: var(--green); }
.distribution-kind input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.distribution-dates { grid-column: 1 / -1; width: min(100%, 700px); display: grid; grid-template-columns: 1fr; gap: .8rem; margin: .15rem 0 0; padding: 1rem; border: 1px solid #d8ccb1; border-radius: 12px; background: #fffaf0; }
.distribution-dates legend { padding: 0 .35rem; color: var(--green); font-size: .9rem; font-weight: 850; }
.distribution-date-card { min-width: 0; padding: .75rem; border: 1px solid #d8ccb1; border-radius: 10px; background: white; }
.distribution-date-card.is-active { box-shadow: 0 3px 12px rgb(71 58 28 / 7%); }
.distribution-date-card small { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.35; }
.inferred-distribution { margin: 0; padding: .65rem .75rem; border-left: 3px solid var(--gold); color: var(--green); background: #f2eddc; font-size: .78rem; font-weight: 750; line-height: 1.4; }
.period-settings { grid-column: 1 / -1; width: min(100%, 700px); padding: .8rem 1rem; border: 1px solid #d8ccb1; border-radius: 12px; background: #f7f3e7; }
.period-settings summary { color: var(--green); font-size: .84rem; font-weight: 850; cursor: pointer; }
.period-settings > p { margin: .6rem 0; color: var(--muted); font-size: .76rem; }
.period-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.period-grid fieldset { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; padding: .75rem; border: 1px solid #d8ccb1; border-radius: 9px; background: white; }
.period-grid legend { padding: 0 .25rem; color: var(--green); font-size: .78rem; font-weight: 850; }
[hidden] { display: none !important; }
.results-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.results-heading h2 { margin-bottom: .4rem; }
.results-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.export-buttons { margin-top: 0; justify-content: flex-end; }
.result-toolbar { display: grid; gap: 1rem; margin: 1.3rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: #f8f5e9; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip { min-height: 36px; padding: .45rem .75rem; border: 1px solid #aeb8a7; border-radius: 999px; color: var(--green); background: white; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.filter-chip:hover, .filter-chip.is-active { color: white; border-color: var(--green); background: var(--green); }
.filter-chip span { min-width: 1.35em; display: inline-grid; place-items: center; margin-left: .25rem; padding: .05rem .3rem; border-radius: 999px; color: var(--green); background: var(--gold-pale); }
.view-controls { display: grid; grid-template-columns: 1.35fr 1.35fr 1fr .8fr; gap: .75rem; }
.view-controls label { display: grid; gap: .3rem; color: var(--green); font-size: .75rem; font-weight: 850; }
.view-controls select { width: 100%; min-height: 42px; padding: .5rem .65rem; border: 1px solid #bfc6b6; border-radius: 8px; background: white; }
.order-card { margin: 1.5rem 0; padding: 1.25rem; border-radius: 13px; background: #edf0d9; }
.order-card h3 { margin-bottom: .9rem; font-size: 1rem; letter-spacing: 0; }
.order-card h3 small { color: var(--muted); font-size: .72rem; font-weight: 650; }
.order-card ul { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0; list-style: none; }
.order-card li { min-width: 130px; display: grid; padding: .7rem .9rem; border: 1px solid rgb(23 63 44 / 13%); border-radius: 9px; background: rgb(255 255 255 / 58%); }
.order-card strong { color: var(--green); font-size: 1.35rem; }
.order-card span { color: var(--muted); font-size: .8rem; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.result-group + .result-group { margin-top: 2rem; }
.result-group > h3 { margin: 0 0 .65rem; padding-bottom: .45rem; border-bottom: 2px solid var(--olive); color: var(--green); font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
table { width: 100%; border-collapse: collapse; background: white; font-size: .88rem; }
th, td { padding: .8rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { position: sticky; top: 0; color: white; background: var(--green); font-size: .78rem; letter-spacing: .02em; }
tr.needs-control { background: #fff1ed; }
.member-number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.date-cell { min-width: 210px; }
.date-editor { display: grid; grid-template-columns: minmax(125px, 1fr) 42px; gap: .35rem; align-items: center; }
.date-edit, .date-picker { min-height: 38px; padding: .4rem .5rem; border: 1px solid #bfc6b6; border-radius: 7px; background: white; }
.date-edit { width: 100%; font-variant-numeric: tabular-nums; }
.date-picker { width: 42px; padding: .25rem; color: transparent; cursor: pointer; }
.needs-control .date-edit { border-color: #c56e62; background: #fffaf8; }
.star-value { color: var(--green); font-weight: 850; }
.control-value { color: var(--danger); font-weight: 850; }
details { min-width: 180px; }
details summary { color: var(--green); cursor: pointer; font-weight: 750; }
details p { max-width: 55ch; margin: .6rem 0 0; color: var(--muted); }
.correction-note { margin: .55rem 0 .25rem; color: var(--olive); font-size: .74rem; }
.undo-button { padding: 0; border: 0; color: var(--danger); background: transparent; font: inherit; font-size: .75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.empty-results { padding: 2rem; border: 1px dashed #adb6a2; border-radius: 12px; color: var(--muted); text-align: center; background: #faf9f2; }
.print-report-header, .print-report-meta, .print-control-warning, .print-report-footer, .pack-print-header, .pack-print-meta, .pack-print-share, .pack-print-footer, .pack-print-credit { display: none; }

.privacy-page { padding-block: 5rem 6rem; }
.page-heading { max-width: 900px; margin-bottom: 3.5rem; }
.page-heading h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 4rem; }
.privacy-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.privacy-grid article > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--olive); font-weight: 900; }
.privacy-grid h2 { margin: 1rem 0 .5rem; font-size: 1.2rem; letter-spacing: 0; }
.privacy-grid p { margin: 0; color: var(--muted); }
.prose-section { max-width: 850px; margin: 3.5rem 0; }
.prose-section h2 { font-size: 1.8rem; }
.prose-section p, .prose-section li { color: #3f4b43; }
.prose-section code { padding: .1rem .35rem; border-radius: 4px; background: var(--cream-deep); }
.compact-feedback { margin-inline: 0; width: 100%; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { max-height: 520px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 1.25rem; }
  .home-hero .hero-art { height: 250px; }
  .calculator-hero { grid-template-columns: 1fr; }
  .calculator-art { height: 320px; }
  .mapping-grid { grid-template-columns: repeat(2, 1fr); }
  .member-scope { grid-template-columns: 1fr; }
  .view-controls { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { width: calc(100% - 24px); min-height: 72px; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .78rem; }
  .site-header nav a:last-child { display: none; }
  .brand-mark { width: 37px; height: 37px; }
  .brand strong { font-size: .81rem; }
  .hero { padding-block: 3rem 4rem; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-art { order: -1; max-height: 330px; border-radius: 18px; }
  .hero-art img { height: 330px; object-fit: cover; object-position: 66% center; }
  .home-hero { grid-template-columns: 1fr; gap: .85rem; padding-block: 1rem .8rem; }
  .home-hero h1 { max-width: 12ch; font-size: clamp(2.2rem, 11vw, 3rem); }
  .home-hero .lede { margin-top: .45rem; font-size: .93rem; }
  .home-hero .button-row { margin-top: .7rem; }
  .home-hero .trust-list { gap: .25rem .7rem; margin-top: .55rem; font-size: .72rem; }
  .home-hero .hero-art { order: 0; height: 135px; border-radius: 16px; }
  .home-hero .hero-art img { height: 135px; object-position: 55% 42%; }
  .home-tools { padding-block: 0 2.5rem; }
  .home-tools .section-heading { margin-bottom: .55rem; text-align: left; }
  .home-tools .tool-card { padding-left: 4.7rem; }
  .tool-grid, .steps, .privacy-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: auto; }
  .feedback, .site-footer, .results-heading { align-items: flex-start; flex-direction: column; }
  .site-footer { padding-block: 1.5rem; }
  .calculator-hero { padding-block: 2.5rem; gap: 2rem; }
  .calculator-art { height: 280px; }
  .mapping-grid { grid-template-columns: 1fr; }
  .distribution-kind { grid-column: 1; }
  .distribution-dates, .period-grid { grid-template-columns: 1fr; }
  .view-controls { grid-template-columns: 1fr; }
  .export-buttons { justify-content: flex-start; }
  .export-buttons .button { flex: 1; }
  .file-drop { min-height: 180px; }
}

/* Pakkespejderen */
.pack-page { background: radial-gradient(circle at 85% 4%, rgb(231 173 34 / 10%), transparent 25rem), var(--cream); }
.pack-hero { min-height: 400px; display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 3rem; padding-block: 2.5rem; }
.pack-hero h1 { max-width: 850px; font-size: clamp(2.55rem, 5vw, 5.1rem); }
.pack-hero-art { height: 330px; display: grid; place-items: end center; overflow: hidden; border-radius: 24px; background: #eee8d6; box-shadow: var(--shadow); }
.pack-hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.pack-workspace { padding-bottom: 6rem; }
.pack-form-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: .85rem; }
.pack-form-grid label, .share-grid label, .pack-title-label { display: grid; gap: .35rem; color: var(--green); font-size: .78rem; font-weight: 850; }
.pack-form-grid input, .pack-form-grid select, .share-grid input, .pack-title-label input { width: 100%; min-height: 44px; padding: .55rem .65rem; border: 1px solid #bfc6b6; border-radius: 8px; background: white; }
.activity-options { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: 1rem 0 0; padding: .85rem 1rem; border: 1px solid #d8ccb1; border-radius: 11px; background: #faf7ed; }
.activity-options legend { padding: 0 .35rem; color: var(--green); font-size: .8rem; font-weight: 850; }
.activity-options label { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; }
.pack-file-label { position: relative; overflow: hidden; }
.pack-file-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.import-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; padding: 1rem; border: 1px solid #d5bc65; border-radius: 12px; background: #fff4cc; }
.import-banner p { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.pack-results-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.2rem; }
.pack-title-label input { min-width: min(72vw, 500px); color: var(--green); font-size: 1.25rem; font-weight: 850; }
.pack-results-heading #pack-summary { margin: .5rem 0 0; color: var(--muted); font-size: .82rem; }
.pack-results-heading .button-row { margin-top: 0; justify-content: flex-end; }
.pack-result-tools { display: grid; justify-items: end; gap: .7rem; }
.pictogram-choice { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border: 1px solid #d8d1bf; border-radius: 999px; color: var(--green); background: #faf8f0; font-size: .78rem; font-weight: 800; cursor: pointer; }
.pictogram-choice input { width: 18px; height: 18px; accent-color: var(--green); }
.picture-support-credit { display: flex; align-items: flex-start; gap: .75rem; margin: -0.25rem 0 1.2rem; padding: .8rem 1rem; border: 1px solid #d7c796; border-radius: 12px; color: #294337; background: #fffaf0; }
.picture-support-credit > div { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font: 800 .8rem Georgia, serif; }
.picture-support-credit p { display: grid; gap: .2rem; margin: 0; font-size: .74rem; line-height: 1.45; }
.picture-support-credit strong { font-size: .84rem; }
.picture-support-credit a { color: #71500d; font-weight: 800; }
.hide-pack-pictograms .picture-support-credit { display: none; }
.picture-finder { width: min(680px, calc(100% - 2rem)); padding: 1.25rem; border: 1px solid #cdbb86; border-radius: 18px; color: #1d2d23; background: #fffdf7; box-shadow: 0 22px 70px rgb(20 41 28 / 28%); }
.picture-finder::backdrop { background: rgb(18 36 25 / 58%); backdrop-filter: blur(2px); }
.picture-finder-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.picture-finder-head h2 { margin: 0 0 .35rem; font-family: Georgia, "Times New Roman", serif; }
.picture-finder-head p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
#picture-finder-close { flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid #d8d1bf; border-radius: 50%; color: var(--green); background: white; font-size: 1.25rem; cursor: pointer; }
.picture-suggestions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 1.2rem 0 .75rem; }
.picture-suggestion { display: grid; gap: .45rem; justify-items: center; padding: .7rem; border: 1px solid #d8d1bf; border-radius: 12px; color: var(--green); background: white; font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; }
.picture-suggestion:hover, .picture-suggestion:focus-visible { border-color: var(--gold); outline: 3px solid rgb(231 173 34 / 20%); }
.picture-suggestion img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.picture-finder-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .78rem; }
.pack-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pack-list-card { min-width: 0; padding: 1rem; border: 1px solid #ded6c3; border-radius: 15px; background: #faf8f0; }
.pack-list-card > header { display: flex; align-items: center; gap: .7rem; margin-bottom: .75rem; }
.pack-list-card > header > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-pale); font-size: 1.3rem; }
.pack-list-card h2 { margin: 0; font-size: 1.3rem; }
.pack-list-card header p { margin: .15rem 0 0; color: var(--muted); font-size: .76rem; }
.editable-pack-list { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.editable-pack-list li { display: grid; grid-template-columns: 24px 34px minmax(0, 1fr) auto; align-items: center; gap: .45rem; padding: .45rem; border: 1px solid #e1ddcf; border-radius: 9px; background: white; }
.editable-pack-list li > input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.pack-pictogram { width: 32px; height: 32px; padding: 4px; border-radius: 9px; color: var(--green); background: var(--gold-pale); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pack-pictogram.is-arasaac { object-fit: contain; border: 1px solid #d8d1bf; background: white; }
.pack-pictogram.is-missing { border: 1px dashed #9b8653; color: #725f32; background: #fffaf0; }
.hide-pack-pictograms .pack-pictogram { display: none; }
.hide-pack-pictograms .editable-pack-list li { grid-template-columns: 24px minmax(0, 1fr) auto; }
.editable-pack-list li > input[type="text"] { min-width: 0; width: 100%; padding: .35rem .4rem; border: 1px solid transparent; border-radius: 6px; background: transparent; }
.editable-pack-list li > input[type="text"]:focus { border-color: #bfc6b6; background: white; }
.editable-pack-list li.is-packed > input[type="text"] { color: var(--muted); text-decoration: line-through; }
.pack-item-actions { display: flex; gap: .18rem; }
.pack-item-action { width: 29px; height: 29px; display: grid; place-items: center; padding: 0; border: 1px solid #d8d8c7; border-radius: 6px; color: var(--green); background: #faf9f4; cursor: pointer; }
.pack-item-action:hover { background: var(--gold-pale); }
.pack-item-action:disabled { opacity: .35; cursor: default; }
.add-pack-item { display: grid; grid-template-columns: 1fr auto; gap: .45rem; margin-top: .7rem; }
.add-pack-item input { min-width: 0; width: 100%; padding: .55rem .65rem; border: 1px solid #bfc6b6; border-radius: 8px; background: white; }
.add-pack-item .button { min-height: 40px; padding: .5rem .7rem; }
.share-grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; align-items: center; gap: 1.5rem; }
.qr-code { min-height: 240px; display: grid; place-items: center; padding: .75rem; border: 1px solid #ddd4bd; border-radius: 14px; background: white; }
.qr-code:empty { display: none; }
.qr-code svg { width: min(100%, 290px); height: auto; }

@media (max-width: 900px) {
  .pack-form-grid { grid-template-columns: repeat(2, 1fr); }
  .pack-form-grid label:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .pack-hero { min-height: 0; grid-template-columns: 1fr 120px; gap: 1rem; padding-block: 1.5rem; }
  .pack-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .pack-hero .lede { font-size: .88rem; }
  .pack-hero-art { height: 180px; }
  .pack-form-grid, .pack-columns, .share-grid { grid-template-columns: 1fr; }
  .pack-form-grid label:first-child { grid-column: auto; }
  .pack-results-heading, .import-banner { align-items: stretch; flex-direction: column; }
  .pack-result-tools { justify-items: start; }
  .pack-results-heading .button-row { justify-content: flex-start; }
  .pack-title-label input { min-width: 0; }
  .editable-pack-list li { grid-template-columns: 24px 34px minmax(0, 1fr); }
  .pack-item-actions { grid-column: 3; justify-content: flex-end; }
  .hide-pack-pictograms .editable-pack-list li { grid-template-columns: 24px minmax(0, 1fr); }
  .hide-pack-pictograms .pack-item-actions { grid-column: 2; }
  .picture-suggestions { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  .pack-page .site-header, .pack-page .pack-hero, .pack-page .pack-generator, .pack-page .site-footer, .pack-page .pack-results-heading .button-row, .pack-page .add-pack-item, .pack-page .pack-item-actions, .pack-page .share-panel, .pack-page .import-banner { display: none !important; }
  .pack-page .pack-workspace, .pack-page .panel { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .pack-page .pack-columns { grid-template-columns: repeat(2, 1fr); }
  .pack-page .editable-pack-list li { break-inside: avoid; }
  .pack-page .pack-results { display: block !important; color: #17251d; font-family: Arial, sans-serif; }
  .pack-page .pack-results-heading { display: none !important; }
  .pack-print-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 7mm; padding-bottom: 4mm; border-bottom: 2.5pt solid #173f2c; }
  .pack-print-header > div:last-child { text-align: right; }
  .pack-print-header p { margin: 0; color: #8a6412; font-size: 8pt; font-weight: 800; letter-spacing: 1.2pt; }
  .pack-print-header h2 { max-width: 115mm; margin: 1mm 0 0; font: 700 19pt Georgia, serif; overflow-wrap: anywhere; }
  .pack-print-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2mm; margin-bottom: 6mm; }
  .pack-print-meta div { min-height: 13mm; padding: 2.5mm; border: .7pt solid #b7b7ad; }
  .pack-print-meta span { display: block; margin-bottom: 1mm; color: #4f5e54; font-size: 6.8pt; font-weight: 700; letter-spacing: .4pt; text-transform: uppercase; }
  .pack-print-meta strong { font-size: 8.5pt; }
  .pack-page .pack-columns { gap: 5mm; align-items: start; }
  .pack-page .pack-list-card { padding: 0; border: 0; background: white; }
  .pack-page .pack-list-card > header { margin-bottom: 3mm; padding-bottom: 2mm; border-bottom: 1.2pt solid #173f2c; }
  .pack-page .pack-list-card > header > span { display: none; }
  .pack-page .pack-list-card h2 { font-size: 12pt; }
  .pack-page .pack-list-card header p { font-size: 7.5pt; }
  .pack-page .editable-pack-list { gap: 0; }
  .pack-page .editable-pack-list li { min-height: 8mm; grid-template-columns: 6mm 8mm 1fr; gap: 1mm; padding: 1.3mm 0; border: 0; border-bottom: .45pt solid #c8c8c0; border-radius: 0; }
  .pack-page .editable-pack-list input[type="checkbox"] { appearance: none; width: 4mm; height: 4mm; margin: 0; border: .8pt solid #173f2c; background: white; }
  .pack-page .pack-pictogram { width: 6.5mm; height: 6.5mm; padding: .8mm; border: .6pt solid #a99b76; border-radius: 1.5mm; color: #173f2c; background: white; }
  .pack-page .pack-pictogram.is-arasaac { object-fit: contain; }
  .pack-page .pack-pictogram.is-missing { border-style: dashed; }
  .pack-page.hide-pack-pictograms .editable-pack-list li { grid-template-columns: 6mm 1fr; }
  .pack-page .editable-pack-list input[type="text"] { padding: 0; color: #17251d; font: 8.5pt Arial, sans-serif; text-decoration: none !important; }
  .pack-print-share:not([hidden]) { display: flex; align-items: center; gap: 4mm; width: 85mm; margin-top: 6mm; padding: 3mm; border: .8pt solid #b7b7ad; break-inside: avoid; }
  .pack-print-share svg { width: 23mm; height: 23mm; }
  .pack-print-share p { display: grid; gap: 1mm; margin: 0; font-size: 8pt; }
  .pack-print-share span { color: #4f5e54; font-size: 7pt; }
  .pack-print-footer { display: flex; justify-content: space-between; margin-top: 8mm; padding-top: 2mm; border-top: .6pt solid #999; color: #48544c; font-size: 7pt; break-inside: avoid; }
  .pack-page .picture-support-credit { display: none !important; }
  .pack-print-credit { display: block; margin: 6mm 0 0; color: #4f5e54; font-size: 6.5pt; line-height: 1.35; break-inside: avoid; }
  .pack-page.hide-pack-pictograms .pack-print-credit { display: none; }
}

/* Kontakt */
.contact-page { background: radial-gradient(circle at 86% 5%, rgb(231 173 34 / 14%), transparent 27rem), var(--cream); }
.contact-shell { padding-block: 3.5rem 5rem; }
.contact-heading { max-width: 790px; margin-bottom: 2rem; }
.contact-heading h1 { max-width: 760px; margin: .25rem 0 .8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .65fr); align-items: start; gap: 1.2rem; }
.contact-card, .contact-aside { border: 1px solid #ddd2b9; border-radius: 18px; background: rgb(255 253 247 / 94%); box-shadow: var(--shadow); }
.contact-card { padding: clamp(1.1rem, 3vw, 2rem); }
.contact-card form { display: grid; gap: 1rem; }
.contact-card label { display: grid; gap: .38rem; color: var(--green); font-size: .82rem; font-weight: 850; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; padding: .72rem .8rem; border: 1px solid #bfc6b6; border-radius: 9px; color: #1d2d23; background: white; font: inherit; }
.contact-card input, .contact-card select { min-height: 48px; }
.contact-card textarea { min-height: 175px; resize: vertical; line-height: 1.5; }
.contact-card :is(input, select, textarea):focus { outline: 3px solid rgb(231 173 34 / 26%); border-color: var(--gold); }
.contact-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.context-note { margin: -.2rem 0 0; padding: .7rem .8rem; border-left: 4px solid var(--gold); color: var(--muted); background: #f5efdc; font-size: .78rem; }
.contact-submit-row { display: flex; align-items: center; gap: 1rem; }
.contact-submit-row .button { min-width: 160px; }
.form-status { margin: 0; color: #8c2e21; font-size: .82rem; font-weight: 750; }
.contact-aside { padding: 1.6rem; color: #f9f3df; background: var(--green); }
.contact-aside .signal-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 0 1rem; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 2rem; }
.contact-aside h2 { margin: 0 0 .8rem; color: #fffaf0; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; }
.contact-aside p { color: #eef0df; font-size: .86rem; line-height: 1.65; }
.contact-aside a { color: #ffd972; font-weight: 850; }

/* Nyt fra værkstedet og roadmap */
.workshop-page { padding-block: 3.5rem 5rem; }
.workshop-page .page-heading { max-width: 820px; margin-bottom: 2rem; }
.workshop-page .page-heading h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1; }
.change-list { display: grid; gap: .85rem; }
.change-entry { padding: 1.25rem 1.4rem; border: 1px solid #ddd2b9; border-radius: 14px; background: var(--paper); box-shadow: 0 8px 24px rgb(31 49 36 / 7%); }
.change-entry > div { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .76rem; }
.change-entry h2 { margin: .55rem 0 .3rem; font-size: 1.35rem; }
.change-entry h2 small { color: var(--muted); font-size: .72rem; }
.change-entry p { margin: 0; }
.change-type { padding: .2rem .5rem; border-radius: 999px; color: var(--green); background: var(--gold-pale); font-weight: 850; text-transform: uppercase; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.roadmap-column { padding: 1.3rem; border: 1px solid #ddd2b9; border-radius: 16px; background: var(--paper); }
.roadmap-number { width: 38px; height: 38px; display: grid; place-items: center; margin: 0; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }
.roadmap-column h2 { margin: .8rem 0; font-family: Georgia, "Times New Roman", serif; }
.roadmap-column ul { display: grid; gap: .7rem; padding-left: 1.1rem; }
.status-2 { border-top: 5px solid var(--gold); }
.status-3 { border-top: 5px solid var(--olive); }
.hub-update { padding-block: .4rem 1.2rem; }
.latest-change { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem 1.5rem; padding: .85rem 1.1rem; border-left: 5px solid var(--gold); background: rgb(255 253 247 / 88%); }
.latest-change p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.latest-change p span { color: #8c5a00; font-weight: 900; }
.latest-change h2 { margin: 0; font-size: .92rem; }
.latest-change a { font-size: .78rem; font-weight: 850; }
@media (max-width: 760px) { .roadmap-grid { grid-template-columns: 1fr; } .latest-change { grid-template-columns: 1fr; } }
.signal-success { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.4rem; margin-top: 1.2rem; padding: 1.4rem; border: 1px solid #d2b755; border-radius: 16px; background: #fff4cb; }
.signal-success[hidden] { display: none; }
.signal-success h2 { margin: .2rem 0; font-family: Georgia, "Times New Roman", serif; }
.signal-success p { margin: 0; }
.morse-scene { position: relative; width: 150px; border: 1px solid #e5d6b6; border-radius: 14px; overflow: hidden; background: #fbf6e9; box-shadow: 0 8px 22px rgb(38 63 45 / 10%); }
.morse-scene picture, .morse-scout { display: block; width: 100%; }
.morse-scout { height: 156px; object-fit: cover; object-position: 50% 35%; }
.morse-glow { position: absolute; top: 72px; right: -18px; width: 88px; height: 52px; border-radius: 50%; opacity: 0; background: radial-gradient(ellipse at left, rgb(255 224 112 / 82%), rgb(255 224 112 / 0) 70%); transform: scale(.78); transform-origin: left center; transition: opacity 45ms linear, transform 70ms ease-out; pointer-events: none; }
.morse-scene.is-lit .morse-glow { opacity: 1; transform: scale(1); }
.morse-code { margin: 0; padding: 5px 7px 7px; border-top: 1px solid #eadfc6; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .035em; text-align: center; }
.morse-code span { color: #9a6810; margin-right: .35rem; }
@keyframes signal-flash { 0%, 100% { opacity: .18; box-shadow: none; } 35% { opacity: 1; box-shadow: 0 0 16px #ffe38a; } }

@media (max-width: 760px) {
  .contact-shell { padding-block: 2rem 4rem; }
  .contact-layout, .contact-fields { grid-template-columns: 1fr; }
  .contact-aside { grid-row: 1; }
  .contact-submit-row, .signal-success { align-items: stretch; grid-template-columns: 1fr; flex-direction: column; }
  .morse-scene { width: 180px; }
  .morse-scout { height: 188px; }
}

/* Hubben følger det godkendte illustrerede mockup. Hold reglerne afgrænset til forsiden. */
.hub-page {
  background:
    radial-gradient(circle at 12% 4%, rgb(255 255 255 / 72%), transparent 26rem),
    linear-gradient(180deg, #fffaf0 0%, #fbf5e7 78%, #f3ead4 100%);
}
.hub-page .shell { width: min(1280px, calc(100% - 48px)); }
.hub-header {
  width: min(1340px, calc(100% - 40px));
  min-height: 82px;
  border-bottom-color: #dfd4bd;
  background: #fffaf0;
}
.hub-header .brand { gap: .55rem; }
.brand-picture { width: 78px; height: 70px; flex: 0 0 auto; overflow: hidden; }
.brand-picture img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 65% 68%, #000 52%, transparent 82%); mask-image: radial-gradient(ellipse 65% 68%, #000 52%, transparent 82%); }
.hub-header .brand strong {
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.65rem;
  letter-spacing: .015em;
}
.hub-header .brand small {
  margin-top: .1rem;
  color: var(--green);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: .9rem;
  font-weight: 700;
}
.hub-header nav { gap: clamp(1rem, 3vw, 2.7rem); }
.hub-header nav a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 650; }
.hub-header nav a:hover { text-decoration: underline; }
.nav-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-weight: 900; line-height: 1; }
.shield-icon { border-radius: 45% 45% 55% 55% / 32% 32% 68% 68%; }

.hub-page .hero.home-hero {
  position: relative;
  display: block;
  width: min(1340px, 100%);
  min-height: 320px;
  padding-block: 0;
  overflow: hidden;
}
.hub-page .home-hero .hero-copy { width: 44%; padding: 2rem 0 1.2rem 1.5rem; }
.hub-page .home-hero h1 {
  max-width: none;
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.35rem, 5vw, 4.35rem);
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero-tagline {
  margin: .45rem 0 0;
  color: var(--green);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 700;
  line-height: 1.45;
}
.hub-page .home-hero .lede { max-width: 41ch; margin-top: .9rem; color: #27372e; font-size: .96rem; line-height: 1.65; }
.hero-divider { width: 180px; display: flex; align-items: center; gap: .75rem; margin: .8rem auto 0; color: var(--gold); }
.hero-divider span { flex: 1; height: 2px; background: var(--green); }
.hero-divider b { font-size: 1.45rem; }
.hero-visual { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.hub-page .home-hero .hero-copy { position: relative; z-index: 2; }
.hub-page .home-hero .hero-art { position: absolute; inset: 0; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.hub-page .home-hero .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; mix-blend-mode: multiply; }
.speech-bubble {
  position: absolute;
  z-index: 3;
  top: 2rem;
  left: 65%;
  margin: 0;
  padding: .65rem .85rem;
  color: var(--green);
  border: 2px solid #d9b46d;
  border-radius: 45% 55% 48% 52%;
  background: rgb(255 250 240 / 91%);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-3deg);
}
.speech-bubble::after { content: ""; position: absolute; left: 17%; bottom: -9px; width: 15px; height: 15px; border-right: 2px solid #d9b46d; border-bottom: 2px solid #d9b46d; background: #fffaf0; transform: rotate(45deg); }

.hub-page .tools-section.home-tools { padding: .1rem 0 1.25rem; }
.hub-page .home-tools .section-heading { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 .65rem; }
.hub-page .home-tools .section-heading span { width: 42px; height: 2px; background: var(--green); }
.hub-page .home-tools .section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: 0; }
.hub-page .tool-grid { gap: 1.15rem; }
.hub-page .home-tools .tool-card {
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(145px, 35%) 1fr;
  align-items: stretch;
  padding: .55rem 1rem .55rem .75rem;
  border-color: #e6d7bb;
  border-radius: 16px;
  background: rgb(255 252 244 / 92%);
  box-shadow: 0 7px 22px rgb(71 58 28 / 10%);
}
.hub-page .home-tools .tool-card::after { width: 130px; height: 130px; right: -45px; top: -55px; }
.hub-page .home-tools .tool-icon { z-index: 3; top: .85rem; left: .85rem; width: 46px; height: 46px; color: var(--gold); }
.hub-page .home-tools .tool-icon.backpack { color: #d9c174; background: var(--green); }
.tool-person { min-width: 0; height: 100%; display: grid; align-items: end; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 72% 86% at 50% 55%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 86% at 50% 55%, #000 58%, transparent 100%); }
.tool-person img { width: 100%; height: 215px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.tool-content { position: relative; z-index: 2; align-self: center; padding: .45rem 0 .25rem .45rem; }
.hub-page .home-tools .tool-card h3 { margin: 0; font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: .01em; text-transform: uppercase; }
.tool-subtitle { margin: 0 0 .45rem !important; color: #9a6200 !important; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.hub-page .home-tools .tool-card .tool-content > p:not(.microcopy):not(.coming-note) { min-height: 0; margin: 0; color: #27322c; font-size: .84rem; line-height: 1.48; }
.hub-page .home-tools .tool-card .button { width: min(100%, 255px); min-height: 40px; margin-top: .65rem; }
.hub-page .home-tools .microcopy { display: block; margin: .55rem 0 0; color: #24372b; font-size: .69rem; line-height: 1.35; }
.button-coming { opacity: .72; cursor: default; }
.button-coming:hover { transform: none; }
.coming-note { margin: .45rem 0 0; padding: .45rem .6rem; border-radius: 10px; color: #354327; background: #dfe3bb; font-size: .65rem; line-height: 1.3; }
.coming-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.coming-tool-card { min-width: 0; display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 1rem; padding: .65rem 1rem .65rem .65rem; border: 1px solid #e2d4b8; border-radius: 15px; background: rgb(255 252 244 / 76%); box-shadow: 0 10px 26px rgb(31 49 36 / 6%); }
.coming-tool-card picture { width: 132px; height: 132px; overflow: hidden; border-radius: 12px; background: #fbf6e9; }
.coming-tool-card img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.coming-tool-card h3 { margin: .1rem 0 .3rem; font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif; font-size: 1.35rem; letter-spacing: .01em; text-transform: uppercase; }
.coming-tool-card div > p:last-child { margin: 0; color: #465149; font-size: .76rem; line-height: 1.4; }
.coming-badge { width: fit-content; margin: 0; padding: .2rem .5rem; border-radius: 999px; color: #fff; background: var(--olive); font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.hub-page .values { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; border-width: 1px 0 0; border-radius: 0; background: transparent; }
.hub-page .values article { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: .65rem; padding: 1.05rem 1rem 1.3rem; background: transparent; }
.hub-page .values article + article { border-left: 1px solid #ded3bd; }
.hub-page .values article > span { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); font-size: 1.8rem; }
.hub-page .values h2 { margin: 0 0 .2rem; font-size: .88rem; }
.hub-page .values p { font-size: .72rem; line-height: 1.45; }
.hub-page .values a { font-weight: 850; }
.hub-footer { position: relative; width: 100%; min-height: 88px; padding-top: 45px; overflow: hidden; border: 0; color: #e8ead9; background: #173f2c; }
.hub-footer .footer-inner { min-height: 43px; display: flex; align-items: center; justify-content: space-between; }
.forest-silhouette { position: absolute; top: -1px; left: 0; width: 100%; height: 54px; background: #70844b; clip-path: polygon(0 60%, 7% 42%, 14% 63%, 23% 45%, 31% 66%, 42% 50%, 53% 69%, 63% 43%, 73% 65%, 82% 40%, 91% 62%, 100% 35%, 100% 100%, 0 100%); }
.forest-silhouette::after { content: ""; position: absolute; inset: 15px 0 0; background: #173f2c; clip-path: polygon(0 55%, 8% 72%, 18% 44%, 29% 74%, 40% 53%, 50% 78%, 61% 49%, 71% 74%, 81% 51%, 91% 76%, 100% 45%, 100% 100%, 0 100%); }
.hub-footer .site-footer { border: 0; }

@media (max-width: 900px) {
  .hub-page .shell { width: min(100% - 28px, 1280px); }
  .hub-header nav a { font-size: 0; gap: 0; }
  .hub-header nav { gap: .8rem; }
  .hub-page .home-hero .hero-copy { width: 51%; padding-left: .5rem; }
  .hub-page .home-hero h1 { font-size: clamp(2.8rem, 8vw, 4rem); }
  .speech-bubble { display: none; }
  .hub-page .home-tools .tool-card { grid-template-columns: minmax(125px, 34%) 1fr; }
  .hub-page .values { grid-template-columns: repeat(2, 1fr); }
  .hub-page .values article:nth-child(3) { border-left: 0; border-top: 1px solid #ded3bd; }
  .hub-page .values article:nth-child(4) { border-top: 1px solid #ded3bd; }
}

@media (max-width: 680px) {
  .hub-header { width: calc(100% - 20px); min-height: 66px; }
  .brand-picture { width: 52px; height: 48px; }
  .hub-header .brand strong { font-size: .98rem; }
  .hub-header .brand small { font-size: .65rem; }
  .hub-header nav a:nth-child(1) { display: none; }
  .nav-icon { width: 24px; height: 24px; font-size: .8rem; }
  .hub-page .hero.home-hero { min-height: 445px; overflow: visible; }
  .hub-page .home-hero .hero-copy { width: 100%; padding: 1rem 0 0; }
  .hub-page .home-hero h1 { font-size: clamp(2.45rem, 12.5vw, 3.35rem); }
  .hero-tagline { font-size: 1.15rem; line-height: 1.4; }
  .hub-page .home-hero .lede { max-width: 38ch; margin-top: .55rem; font-size: .82rem; line-height: 1.5; }
  .hero-divider { width: 130px; margin-top: .5rem; }
  .hero-visual { top: 220px; height: 225px; }
  .hub-page .home-hero .hero-art { height: 225px; }
  .hub-page .home-hero .hero-art img { object-position: 68% center; }
  .hub-page .home-tools .section-heading { justify-content: flex-start; }
  .hub-page .home-tools .section-heading span { width: 18px; }
  .hub-page .home-tools .section-heading h2 { font-size: 1.18rem; }
  .hub-page .tool-grid { grid-template-columns: 1fr; }
  .coming-tools { grid-template-columns: 1fr; }
  .coming-tool-card { grid-template-columns: 105px 1fr; gap: .75rem; }
  .coming-tool-card picture { width: 105px; height: 105px; }
  .hub-page .home-tools .tool-card { min-height: 235px; grid-template-columns: 34% 66%; padding: .7rem; }
  .hub-page .home-tools .tool-card h3 { font-size: 1.35rem; }
  .tool-person img { height: 215px; }
  .hub-page .home-tools .tool-card .tool-content > p:not(.microcopy):not(.coming-note) { font-size: .75rem; }
  .hub-page .values { grid-template-columns: 1fr; }
  .hub-page .values article + article { border-left: 0; border-top: 1px solid #ded3bd; }
  .hub-footer .footer-inner { padding-block: .8rem; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  @page { size: A4 portrait; margin: 16mm 12mm 18mm; }
  body { background: white; }
  .skip-link, .site-header, .calculator-hero, .workflow, .upload-panel, .mapping-panel, .site-footer, .export-buttons, .privacy-chip, .result-toolbar, .date-picker, .undo-button { display: none !important; }
  .calculator, .panel, .shell { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .results-panel { display: block !important; color: #17251d; font-family: Arial, sans-serif; }
  .results-heading { display: none !important; }
  .print-report-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 8mm; padding-bottom: 4mm; border-bottom: 2.5pt solid #173f2c; }
  .print-brand { display: grid; gap: 1mm; color: #173f2c; }
  .print-brand strong { font-size: 18pt; letter-spacing: .5pt; }
  .print-brand span { font-size: 9pt; font-weight: 700; }
  .print-report-header > div:last-child { text-align: right; }
  .print-report-header p { margin: 0; color: #8a6412; font-size: 8pt; font-weight: 800; letter-spacing: 1.2pt; }
  .print-report-header h2 { margin: 1mm 0 0; font: 700 20pt Georgia, serif; }
  .print-report-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2mm; margin-bottom: 5mm; }
  .print-report-meta div { min-height: 14mm; padding: 2.5mm; border: .7pt solid #b7b7ad; }
  .print-report-meta span { display: block; margin-bottom: 1.5mm; color: #4f5e54; font-size: 6.8pt; font-weight: 700; letter-spacing: .4pt; text-transform: uppercase; }
  .print-report-meta strong { font-size: 8.2pt; line-height: 1.3; }
  .print-control-warning:not([hidden]) { display: block; margin: 0 0 5mm; padding: 3mm; border: 1.2pt solid #7b261f; color: #5e1d18; background: #fff; font-size: 9pt; font-weight: 800; }
  .order-card { margin: 0 0 5mm; padding: 3mm; border: 1pt solid #173f2c; background: white; }
  .order-card h3 { margin-bottom: 2mm; font-size: 10pt; }
  .order-card ul { gap: 2mm; }
  .order-card li { min-width: 25mm; padding: 1.5mm 2mm; border: .7pt solid #aaa; background: white; }
  .order-card strong { font-size: 13pt; }
  table { font-size: 7.6pt; table-layout: fixed; }
  .table-scroll { overflow: visible; }
  thead { display: table-header-group; }
  tr { break-inside: avoid; }
  th, td { padding: 2mm 1.6mm; border: .5pt solid #b8b8b0; }
  th { position: static; color: white; background: #173f2c !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  th:nth-child(1) { width: 13%; } th:nth-child(2) { width: 21%; } th:nth-child(3) { width: 18%; } th:nth-child(4) { width: 16%; } th:nth-child(5) { width: 13%; } th:nth-child(6) { width: 19%; }
  tr.needs-control { background: #f3f3f3 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  details summary { font-size: 0; font-weight: 700; list-style: none; }
  details summary::after { content: attr(data-print-status); display: block; font-size: 7.2pt; line-height: 1.25; overflow-wrap: anywhere; white-space: normal; }
  details p { display: none !important; }
  .date-edit { padding: 0; border: 0; background: transparent; }
  .result-group { break-inside: auto; break-before: page; }
  .result-group:first-child { break-before: auto; }
  .result-group > h3 { margin-top: 5mm; font-size: 9pt; break-after: avoid; }
  .print-report-footer { display: flex; justify-content: space-between; margin-top: 7mm; padding-top: 2mm; border-top: .6pt solid #999; color: #48544c; font-size: 7pt; break-inside: avoid; }
  .print-page-number::after { content: "1"; }
}
