:root{--brand-accent:#176560;--brand-hero:#123F41}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px system-ui,
    sans-serif;
  background: #f4f7f6;
  color: #17342d;
}
header,
footer {
  padding: 20px max(5%, calc((100% - 1100px) / 2));
  background: white;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
header span {
  color: #52665e;
  font-size: 14px;
}
.brand {
  font-size: 23px;
  font-weight: 800;
  color: var(--brand-accent);
  text-decoration: none;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}
.hero {
  background: var(--brand-hero);
  color: white;
  border-radius: 24px;
  padding: 36px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin: 12px 0;
}
.hero p {
  color: #d3eee5;
}
.hero input {
  max-width: 550px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #aebfb8;
  border-radius: 9px;
  font: inherit;
  background: white;
  color: #17342d;
}
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
button {
  cursor: pointer;
  border: 1px solid #aebfb8;
  border-radius: 9px;
  padding: 10px 14px;
  background: white;
  color: var(--brand-hero);
  font: inherit;
}
button.active,
button.primary {
  background: var(--brand-accent);
  color: white;
  border-color: var(--brand-accent);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.tile,
#workspace,
.notice {
  background: white;
  border: 1px solid #dce7e1;
  border-radius: 16px;
  padding: 22px;
}
.tile {
  text-align: left;
  min-height: 120px;
}
.tile strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}
.tile span {
  color: #52665e;
  font-size: 14px;
}
#workspace,
.notice {
  margin-top: 24px;
}
label {
  display: block;
  margin: 12px 0;
}
label input {
  margin-top: 5px;
}
.result {
  font-size: 24px;
  font-weight: 700;
  margin: 18px 0;
  white-space: pre-wrap;
}
.muted {
  color: #52665e;
  font-size: 14px;
}
.record {
  border-top: 1px solid #ddd;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #d99b29;
  outline-offset: 2px;
}
@media (max-width: 500px) {
  main {
    padding: 12px;
  }
  .hero {
    padding: 24px;
  }
  header span {
    display: none;
  }
}
@media print {
  header,
  .hero,
  nav,
  #cards,
  footer,
  .notice,
  #workspace button,
  #workspace form {
    display: none !important;
  }
  body {
    background: white;
  }
  #workspace {
    border: 0;
  }
}
.dashboard {
  background: white;
  border: 1px solid #dce7e1;
  border-radius: 20px;
  padding: 24px;
  margin: 24px 0;
}
.dash-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.dash-heading h2 {
  margin: 0 0 12px;
}
.dash-heading small,
.metric span {
  color: #52665e;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.metric {
  background: #f4f7f6;
  border-radius: 12px;
  padding: 16px;
  min-width: 0;
}
.metric span,
.metric strong {
  display: block;
}
.metric strong {
  font-size: clamp(18px, 3vw, 26px);
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tile:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 4px 12px #17342d12;
}
@media (max-width: 500px) {
  .dashboard {
    padding: 16px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media print {
  .dashboard,
  main > h2 {
    display: none !important;
  }
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-card .tile {
  flex: 1;
}
.tool-card > a {
  font-size: 14px;
  color: var(--brand-hero);
  padding: 4px 8px;
}
.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 8px;
}
a:focus-visible,
select:focus-visible {
  outline: 3px solid #d99b29;
  outline-offset: 3px;
}
.launch {
  display: inline-block;
  background: var(--brand-hero);
  color: white;
  padding: 12px 18px;
  border-radius: 9px;
}
footer a {
  color: var(--brand-hero);
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media print {
  .skip {
    display: none;
  }
}

:root {
  --paper: #fff;
  --canvas: #f4f7f6;
  --ink: #17342d;
  --quiet: #476158;
  --line: #b6c7bf;
  --accent: var(--brand-hero);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #172923;
  --canvas: #0f201a;
  --ink: #edf8f2;
  --quiet: #b6d2c5;
  --line: #50695f;
  --accent: #89e5c6;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --paper: #172923;
    --canvas: #0f201a;
    --ink: #edf8f2;
    --quiet: #b6d2c5;
    --line: #50695f;
    --accent: #89e5c6;
  }
}
body {
  background: var(--canvas);
  color: var(--ink);
}
header,
footer,
.dashboard,
.tile,
#workspace,
.notice,
button,
input,
select,
textarea {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
header {
  justify-content: space-between;
}
header nav {
  margin: 0;
}
nav a,
.tool-card > a,
.brand,
footer a {
  color: var(--accent);
}
.metric {
  background: var(--canvas);
}
.tile span,
.dash-heading small,
.metric span,
.muted {
  color: var(--quiet);
}
#status:not(:empty) {
  padding: 0.75rem 1rem;
  background: var(--paper);
  border-left: 4px solid #138365;
  position: sticky;
  top: 0;
  z-index: 2;
}
#workspace {
  scroll-margin-top: 3rem;
}
#workspace:focus {
  outline: 2px solid var(--line);
}
button:disabled {
  opacity: 0.6;
}
button {
  min-height: 44px;
}
#workspace label input,
#workspace label select {
  display: block;
}
label input[type="month"] {
  max-width: 15rem;
}
.quick {
  align-items: center;
}
.record > button {
  margin: 0.25rem;
}
.tool-card > button:last-child {
  align-self: flex-start;
}
.tool-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 1rem;
  padding: 0.7rem;
}
.tile {
  border: 0;
}
.hero label {
  color: white;
}
.dashboard meter {
  display: block;
  width: min(100%, 28rem);
}
fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.line {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 0.5rem;
  align-items: end;
}
.line input {
  min-width: 0;
}
.document-preview {
  margin: 1.25rem 0;
  overflow-wrap: anywhere;
}
.document-preview img {
  max-width: 9rem;
  max-height: 5rem;
}
.document-preview table {
  width: 100%;
  border-collapse: collapse;
}
.document-preview td,
.document-preview th {
  padding: 0.45rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
#workspace form > button {
  margin: 0.35rem;
}
main {
  overflow-wrap: anywhere;
}
main nav[aria-label="Caminho"] {
  margin: 0;
}
header nav a {
  padding: 0.4rem;
}
@media (max-width: 650px) {
  .line {
    grid-template-columns: 1fr 1fr;
  }
  .line label:first-child {
    grid-column: 1/-1;
  }
  header {
    gap: 0.5rem;
    padding: 1rem;
  }
  .hero {
    border-radius: 14px;
  }
}
@page {
  size: A4;
  margin: 16mm;
}
@media print {
  body,
  main,
  #workspace {
    background: white !important;
    color: black !important;
    padding: 0;
    margin: 0;
  }
  body > *,
  main > *,
  #workspace > * {
    display: none !important;
  }
  body > main,
  main > #workspace,
  #workspace > .document-preview {
    display: block !important;
  }
  .document-preview tr {
    break-inside: avoid;
  }
  .document-preview thead {
    display: table-header-group;
  }
  .document-preview {
    font-size: 11pt;
  }
}

@font-face {font-family:Inter;src:url("/marca/inter.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
body {font-family:Inter,system-ui,sans-serif}
.brand {display:inline-flex;gap:.55rem;align-items:center;letter-spacing:-.045em}
.brand img {border-radius:.45rem}
.hero {border-top:4px solid #e7ae4e}
.kit-grid {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:2rem;align-items:start}
.kit-grid figure {margin:0}
.kit-grid figure img {display:block;width:100%;height:auto;border:1px solid #8a9c98}
.kit-grid figcaption,.document-credit {font-size:.85rem;margin-top:.65rem}
.document-credit {border-top:2px solid var(--brand-accent);padding-top:.6rem}
@media(max-width:680px){.kit-grid{grid-template-columns:1fr}.kit-grid figure{max-width:23rem}}

/* Descoberta de ferramentas */
.hero input {max-width: 720px; min-height: 54px; font-size: 1rem;}
.search-suggestions {display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;}
.search-suggestions button {background:transparent;border:1px solid #b8ded7;color:#fff;border-radius:999px;font-size:.875rem;}
.search-suggestions button:hover {background:#ffffff18;}
#search-summary {min-height:1.25rem;margin-bottom:0;font-size:.9rem;}
#tools {scroll-margin-top:1rem;}
@media(max-width:500px){.search-suggestions button{font-size:.8rem;padding:.5rem .75rem;}}

[hidden]{display:none!important}
.hero{text-align:center;padding:clamp(1.5rem,5vw,4rem);margin-top:1.2rem}.hero h1{max-width:800px;margin:0 auto 1rem;font-size:clamp(1.9rem,4.4vw,3.4rem);line-height:1.13;letter-spacing:-.035em}.hero input{display:block;margin:auto;text-align:left}.search-suggestions{justify-content:center}.welcome{margin:2rem 0}.start-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}.start-grid a{display:flex;flex-direction:column;gap:.55rem;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:1.2rem;border-radius:1rem;text-decoration:none}.start-grid a:hover{border-color:var(--brand-accent)}.start-grid span{color:var(--quiet);font-size:.9rem}.tool-symbol{display:flex!important;align-items:center;justify-content:center;color:var(--brand-accent)!important;background:#dceeea;min-width:42px;width:max-content;padding:.35rem .55rem;height:42px;font-size:1.05rem!important;font-weight:700;border-radius:11px;margin-bottom:12px}.tile{padding:1rem}.tool-card{box-shadow:0 2px 12px #123f4109}.tool-card > button:last-child{font-size:.85rem}.dashboard .metrics .metric:first-child{background:var(--brand-hero);color:white}.dashboard .metrics .metric:first-child span{color:#d3eee5}header a[aria-current="page"]{font-weight:700;text-decoration-thickness:2px;text-underline-offset:.3rem}.tool-guide{margin:2rem 0}.welcome>a{color:var(--accent)}@media(max-width:500px){.start-grid{grid-template-columns:1fr}.hero{padding:1.4rem 1rem}header nav{gap:.1rem}header nav a{font-size:.85rem}}

.setup-progress{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;padding:1rem;background:var(--canvas);border-radius:12px}.setup-progress p{margin:0;width:100%}.setup-progress progress{width:100%;height:12px;accent-color:var(--brand-accent);margin-bottom:.5rem}.backup-reminder{padding:.8rem;border-left:3px solid var(--brand-accent);background:var(--canvas);border-radius:5px}#workspace h1{font-size:clamp(1.65rem,4vw,2.4rem)}

/* Final component system */
.tool-symbol svg{display:block;width:24px;height:24px}.tool-card .tile:hover .tool-symbol{background:#cce5df}.finance-chart{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.88rem}.finance-chart th,.finance-chart td{padding:.45rem;text-align:left;border-bottom:1px solid var(--line)}.finance-chart caption{caption-side:top;text-align:left;color:var(--quiet);margin:0 0 .65rem}.finance-chart th:first-child{width:27%}.finance-chart button{padding:.35rem;min-height:44px;width:100%;font-size:.8rem}.finance-chart button[aria-pressed=true]{border:2px solid var(--brand-accent);font-weight:700}.finance-chart td span{display:block;overflow-wrap:anywhere}.finance-chart meter{width:100%;height:12px;display:block}.finance-chart meter.finance-income::-webkit-meter-optimum-value{background:#21866b}.finance-chart meter.finance-expense::-webkit-meter-optimum-value{background:#b45b45}.finance-chart meter.finance-income::-moz-meter-bar{background:#21866b}.finance-chart meter.finance-expense::-moz-meter-bar{background:#b45b45}.document-preview:not(:empty){padding:clamp(1rem,4vw,2rem);border:1px solid #c7d2ce;border-radius:.65rem;background:white;color:#172c29}.document-preview[data-layout=modern] h2{border-top:5px solid #176560;padding-top:1rem;color:#123f41}.document-preview[data-layout=modern] th{background:#e5f1ee}.document-preview[data-layout=classic] h2{font-family:Georgia,serif;border-bottom:2px solid #123f41;padding-bottom:.7rem}.document-preview[data-layout=classic] th{border-top:1px solid #17342d;border-bottom:1px solid #17342d}.document-preview[data-layout=minimal] h2{font-weight:600;letter-spacing:-.03em}.document-preview[data-layout=minimal] .document-credit{border-top:1px solid #aebfb8}.document-preview table{table-layout:auto}.document-preview th,.document-preview td{border-color:#dce7e1;overflow-wrap:anywhere}.document-preview strong{display:block;font-size:1.25em;margin:1rem 0}.document-preview img{object-fit:contain}.document-preview .document-credit{color:#3b5650}@media(max-width:500px){.finance-chart{font-size:.75rem}.finance-chart td,.finance-chart th{padding:.3rem .2rem}.finance-chart button{font-size:.73rem}.document-preview:not(:empty){padding:.6rem}.document-preview table{font-size:.8rem}}@media print{.document-preview:not(:empty){padding:0;border:0;border-radius:0;print-color-adjust:exact;-webkit-print-color-adjust:exact}.document-preview td,.document-preview th{font-size:10pt}.document-preview img{max-width:32mm}}

/* TratoLume: sistema visual empreendedor. Sem recursos externos. */
:root{--radius-panel:18px;--motion-fast:140ms;--motion-enter:180ms;--easing:cubic-bezier(.2,.7,.2,1)}
body{line-height:1.55}main{max-width:1200px;padding:26px 24px 56px}
header,footer{padding:14px max(24px,calc((100% - 1152px)/2));border-bottom:1px solid var(--line)}
header{gap:12px}header .brand{font-size:1.4rem;color:var(--accent)}header nav{gap:4px;align-items:center}header nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;text-decoration:none;font-size:.9rem;border-radius:8px}header nav a[aria-current=page]{background:var(--canvas);text-decoration:none;color:var(--accent)}
.hero{border-top:0;text-align:left;position:relative;overflow:hidden;background:linear-gradient(135deg,#123f41,#195e55);padding:clamp(22px,4vw,46px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.93fr);gap:26px;align-items:center;border-radius:24px}
.hero-copy{position:relative}.hero h1{font-size:clamp(2rem,4.4vw,3.65rem);line-height:1.08;letter-spacing:-.045em;margin:10px 0 14px;max-width:650px}.hero-copy>p:not(.eyebrow){font-size:1.05rem;max-width:48ch;margin:0}.eyebrow{font-size:.72rem!important;letter-spacing:.13em;font-weight:750;color:var(--quiet);margin:0 0 5px}.hero .eyebrow{color:#f2c979}
.assistant-box{background:var(--paper);color:var(--ink);border-radius:18px;padding:clamp(16px,2vw,24px);box-shadow:0 16px 38px #062a2933;min-width:0}.assistant-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.assistant-dot{width:28px;height:28px;display:grid;place-items:center;background:#dceeea;color:#176560;border-radius:8px;font-size:1.15rem}.assistant-title strong{font-size:1rem}.local-label{font-size:.72rem;color:var(--quiet);margin-left:auto}.assistant-box label{color:var(--ink);font-size:.88rem;margin:14px 0 6px;font-weight:600}.search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.hero input{max-width:none;min-width:0;margin:0;min-height:48px;font-size:.94rem}.assistant-box p{color:var(--quiet);font-size:.82rem;margin:8px 0 0}.search-suggestions{justify-content:flex-start;margin-top:10px}.assistant-box .search-suggestions button{color:var(--accent);border:1px solid var(--line);background:var(--canvas);min-height:38px;font-size:.79rem;padding:7px 10px}.assistant-box .search-suggestions button:hover{background:var(--paper)}#clear-search{min-height:34px;font-size:.78rem;padding:4px 9px;margin-top:6px}#search-summary:empty{display:none}.hero-benefits{grid-column:1/-1;display:flex;gap:10px 22px;flex-wrap:wrap;font-size:.8rem;color:#e1f4ec}.hero-benefits span::before{content:"✓";color:#f2c979;margin-right:7px}
.compact-hero{display:block;padding:22px}.compact-hero .hero-copy,.compact-hero .hero-benefits{display:none}.compact-hero .assistant-box{max-width:850px;margin:auto}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin:24px 0 16px}.section-heading h1,.section-heading h2{font-size:clamp(1.45rem,2.7vw,2rem);line-height:1.2;letter-spacing:-.03em;margin:4px 0}.section-heading p:not(.eyebrow){color:var(--quiet);margin:6px 0 0}.section-heading a{font-size:.88rem;color:var(--accent);min-height:44px;display:flex;align-items:center}.start-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.start-grid a{position:relative;min-height:178px;justify-content:flex-start;border-radius:var(--radius-panel);padding:18px;text-decoration:none}.start-grid .step-number{font-weight:750;color:var(--accent);font-size:.8rem}.start-grid strong{font-size:1.06rem;letter-spacing:-.02em}.start-grid .card-link{margin-top:auto;font-weight:650;color:var(--accent);font-size:.82rem}.resource-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:20px}.resource-banner h3,.resource-banner p{margin:0}.resource-banner p{font-size:.87rem;color:var(--quiet)}.resource-banner a{flex-shrink:0;text-decoration:none}
.journey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,315px),1fr));gap:14px}.journey-card{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.journey-head{display:flex;gap:12px;align-items:center}.journey-head .tool-symbol{margin:0;flex-shrink:0}.journey-head h3{margin:0;font-size:1.08rem}.journey-card p{font-size:.9rem;color:var(--quiet)}.journey-card ol{padding-left:1.5rem;margin-bottom:0}.journey-card li{padding-left:4px;margin:6px 0}.journey-card li button{width:100%;text-align:left;font-size:.88rem;border-color:var(--line)}
.next-section{margin:12px 0 22px}.next-section h2{font-size:1.15rem;margin-bottom:0}.next-section p{color:var(--quiet);font-size:.85rem;margin:5px 0 12px}.next-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.next-action{background:var(--canvas);border-color:var(--line);text-align:left;padding:13px;display:flex;flex-direction:column;gap:4px}.next-action span{font-size:.8rem;color:var(--quiet)}.dash-heading h1{margin:0;font-size:1.9rem;letter-spacing:-.04em}.metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.metric strong{font-variant-numeric:tabular-nums}
#tools{margin-top:26px}#tools-heading{font-size:1.5rem;letter-spacing:-.025em}#filters{margin:12px 0 18px;gap:7px}#filters button{font-size:.82rem;border-radius:99px;padding:8px 14px}#cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}.tool-card{padding:8px;gap:6px;border-radius:16px;min-width:0}.tile{min-height:140px;padding:13px;border-radius:12px}.tile strong{font-size:1rem}.tile span:not(.tool-symbol){font-size:.84rem;line-height:1.45}.tool-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 6px 6px;flex-wrap:wrap}.tool-actions a{color:var(--accent);font-size:.77rem;padding:8px 2px;min-height:44px;display:flex;align-items:center}.tool-actions button{font-size:.78rem;padding:6px 10px}.search-empty{grid-column:1/-1;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px}.search-empty h3{margin-top:0}.search-empty p{color:var(--quiet)}#workspace{padding:clamp(16px,3vw,28px);box-shadow:0 8px 26px #123f4108}#workspace>form{max-width:900px}#workspace .primary{font-weight:650}.notice{border-radius:16px}.launch{background:var(--brand-hero);color:white!important}.backup-reminder,.setup-progress{background:var(--canvas)}
button,a,input,select,textarea{transition:background-color var(--motion-fast) var(--easing),border-color var(--motion-fast) var(--easing),box-shadow var(--motion-fast) var(--easing),transform var(--motion-fast) var(--easing)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d99b29;outline-offset:3px}button[aria-busy=true]{cursor:wait}button:disabled{opacity:.65}
@media (hover:hover) and (pointer:fine){.start-grid a:hover,.journey-card:hover,.tool-card:hover{transform:translateY(-2px);box-shadow:0 6px 22px #17342d12;border-color:var(--accent)}.start-grid a,.journey-card,.tool-card{transition:transform var(--motion-fast) var(--easing),box-shadow var(--motion-fast) var(--easing),border-color var(--motion-fast) var(--easing)}button:not(:disabled):active{transform:scale(.985)}}
@keyframes tl-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:no-preference){#landing:not([hidden]),#welcome:not([hidden]),#journeys:not([hidden]),#workspace:not([hidden]),#panel:not([hidden]){animation:tl-enter var(--motion-enter) var(--easing)}}
@media(max-width:900px){.hero{grid-template-columns:1fr}.hero h1{max-width:19ch}.hero-benefits{grid-column:1}.start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}header nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap}header nav a{white-space:nowrap}}
@media(max-width:500px){main{padding:12px 12px 32px}header,footer{padding:12px}.hero{padding:18px 14px;gap:18px;border-radius:16px}.hero h1{font-size:2.1rem}.assistant-box{padding:12px}.search-row{grid-template-columns:1fr}.start-grid{grid-template-columns:1fr}.start-grid a{min-height:130px}.resource-banner{align-items:stretch;flex-direction:column}.resource-banner a{text-align:center}.section-heading{align-items:flex-start}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:12px}.journey-card{padding:15px}.tool-actions{gap:3px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;transform:none!important}}
@media print{*,*::before,*::after{animation:none!important;transition:none!important;box-shadow:none!important}}

#status[data-kind=error]:not(:empty){border-left-color:#b84a37}#status:not(:empty){border-radius:8px;box-shadow:0 4px 12px #123f410b}

@media screen and (max-width: 500px) {
  header { padding: 4px 12px; row-gap: 0; }
  header nav a, header .brand, header button,
  #landing input, #landing button { min-height: 44px; }
  #landing { padding: 12px; gap: 10px; }
  #landing h1 { font-size: 1.75rem; margin: 4px 0 6px; }
  #landing .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  #landing .search-row { grid-template-columns: minmax(0, 1fr) auto; }
  #landing .search-row input { min-width: 0; }
}
