@import url('fonts.css');
/* Public authentication and Your Presence Portal — ein einziges, barrierearmes Stylesheet.
   Grundfarben und Typografie folgen der Hauptseite (Smaragd/Italiana/DM Sans). */

:root {
  --ink:          #10211b;
  --ink-soft:     #3f4e47;
  --paper:        #fbfaf6;
  --line:         rgba(7,75,56,.22);
  --accent:       #087a59;
  --accent-hover: #034b38;
  --accent-soft:  #dcefe6;
  --accent-ink:   #ffffff;
  --surface-dark:   #071712;
  --surface-darker: #04100c;
  --surface-cream:  #f4f0e7;
  --surface-light:  #fbfaf6;
  --ok:    #206446;
  --warn:  #7a5511;
  --error: #8f2626;
  --muted: #53645d;
  --radius: 0;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(4,16,12,.10);
  --display: "Italiana", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);

  --type-h1: clamp(2rem, 3.4vw, 2.85rem);
  --type-h2: clamp(1.35rem, 2.2vw, 1.7rem);
  --type-h3: 1.2rem;
  --type-body: 1.0625rem;   /* ~17px base, larger than typical 16px for readability */
  --type-label: 1rem;
  --type-small: .9rem;
}

/* Installierbare Kundenportal-App */
.pwa-install{appearance:none;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;padding:.5rem .85rem;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}
.pwa-install:hover,.pwa-install:focus-visible{background:rgba(255,255,255,.12)}
.pwa-update{position:fixed;z-index:1200;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));display:flex;align-items:center;gap:.8rem;max-width:min(28rem,calc(100% - 2rem));padding:.8rem 1rem;border-radius:14px;background:#063f35;color:#fff;box-shadow:0 16px 50px rgba(0,0,0,.3)}
.pwa-update button{border:0;border-radius:999px;padding:.55rem .8rem;background:#dcefe6;color:#063f35;font:inherit;font-weight:750;white-space:nowrap;cursor:pointer}
.loginbox>.pwa-install{margin-top:1rem;color:var(--emerald,#063f35);background:transparent}
.pwa-connection{position:fixed;z-index:9999;left:50%;bottom:calc(1rem + env(safe-area-inset-bottom));transform:translateX(-50%);margin:0;padding:.7rem 1rem;border-radius:999px;background:#7a2d24;color:#fff;box-shadow:0 10px 35px rgba(0,0,0,.24);font-size:.85rem;text-align:center}
.pwa-offline{min-height:100svh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
@media(display-mode:standalone){.topbar{padding-top:calc(1rem + env(safe-area-inset-top))}.footbar{padding-bottom:calc(1rem + env(safe-area-inset-bottom))}}
@media(max-width:780px){.who .pwa-install{width:100%;margin-top:.35rem}.pwa-connection{width:calc(100% - 2rem);border-radius:12px}}
@media(max-width:780px){.pwa-update{left:1rem;right:1rem;bottom:calc(5.5rem + env(safe-area-inset-bottom));justify-content:space-between}}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface-light);
}

h1 { font: 400 var(--type-h1)/1.08 var(--display); color: var(--ink); letter-spacing: -.01em; margin: 0 0 .35em; }
h1::after { content: ""; display: block; width: 52px; height: 3px; margin-top: 16px; background: var(--accent); }
h2 { font: 400 var(--type-h2)/1.15 var(--display); color: var(--ink); margin: 2.2rem 0 .7rem; }
h3 { font: 600 var(--type-h3)/1.25 var(--sans); color: var(--ink); margin: 0 0 .4rem; }
a  { color: var(--accent-hover); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1rem; }

.sr, .ypchat__sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink);
  color: var(--paper); padding: .8rem 1.2rem; z-index: 100; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Rahmen ---------- */
.topbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  min-height: 76px; padding: .8rem 1.4rem;
  background: var(--surface-dark); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand { color: inherit; text-decoration: none; font: 500 1.25rem var(--display); letter-spacing: .01em; }
.brand span { color: #9cd8bd; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; margin-left: .4em; }
.topbar .who { margin-left: auto; display: flex; gap: 1.1rem; align-items: center; font-size: .95rem; flex-wrap: wrap; }
.topbar .who a, .topbar .who button { color: #fff; text-decoration: none; padding: .5rem .8rem; border-radius: var(--radius); font-weight: 600; }
.topbar .who a:hover, .topbar .who button:hover { background: rgba(255,255,255,.1); }
.navtoggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.4);
  color: #fff; border-radius: var(--radius); padding: .55rem 1rem; font: 600 .95rem var(--sans); cursor: pointer;
}

.shell { display: grid; grid-template-columns: 250px minmax(0,1fr); min-height: calc(100vh - 128px); }

.sidenav { background: var(--surface-cream); border-right: 1px solid var(--line); padding: 1.4rem .9rem; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav a {
  display: block; padding: .78rem 1rem; margin: 2px 0; text-decoration: none;
  color: var(--ink-soft); font-size: 1.02rem; font-weight: 600; border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.sidenav a:hover { background: var(--surface-light); color: var(--accent-hover); }
.sidenav a[aria-current="page"] {
  color: var(--accent-hover); background: var(--surface-light);
  box-shadow: inset 3px 0 0 var(--accent);
}
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.4em; height: 1.4em;
  margin-left: .5em; padding: 0 .35em; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1;
  vertical-align: middle;
}

.content { padding: 2.1rem clamp(1.2rem, 3vw, 2.6rem) 4.5rem; max-width: 1080px; }

.footbar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 1.4rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted); background: var(--surface-cream);
}
.app-tabbar,.navbackdrop { display: none; }

/* ---------- Bausteine ---------- */
.lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: 0; }
.muted { color: var(--muted); font-size: .92rem; }
.crumb { font-size: .92rem; color: var(--muted); margin: 0 0 .5rem; }
.crumb a { color: var(--accent-hover); }
.empty {
  color: var(--ink-soft); background: var(--surface-cream); border: 1px solid var(--line);
  padding: 1.3rem 1.4rem; border-radius: var(--radius); font-size: 1.02rem;
}

.flash { padding: .9rem 1.1rem; border-radius: var(--radius); margin: 0 0 1.2rem; border-left: 4px solid; font-weight: 600; font-size: 1rem; }
.flash--success { background: #eaf6f0; border-color: var(--ok); color: #16452f; }
.flash--error   { background: #fbecec; border-color: var(--error); color: #6b1a1a; }
.flash--warn    { background: #fbf3e2; border-color: var(--warn); color: #5c3f0c; }

/* Next-steps: the "what's next" hero card on the dashboard */
.next-steps { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: .9rem; }
.next-steps li {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.next-steps li a.btn { margin-left: auto; }
.next-steps p { margin: 0; font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.next-steps .muted-line { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); margin-top: .2rem; }
.next-steps--calm li { border-left-color: var(--line); }
.next-steps--calm p { font-weight: 500; }

.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 1.3rem 0 2rem; }
.stats a {
  display: block; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; min-width: 190px; box-shadow: var(--shadow);
  transition: transform .2s var(--ease), border-color .2s;
}
.stats a:hover { border-color: var(--accent); transform: translateY(-2px); }
.stats strong { display: block; font: 400 2.1rem var(--display); color: var(--accent); }
.stats span { color: var(--ink-soft); font-size: .96rem; }

.cards { list-style: none; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.card--action { border-top: 4px solid var(--accent); }
.card .eyebrow { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.pagehead { margin: 0 0 1.5rem; }
.pagehead .eyebrow { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.badge {
  display: inline-block; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: var(--radius-pill); background: rgba(7,75,56,.09); color: var(--ink-soft); font-weight: 700;
}
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tablewrap th, .tablewrap td { text-align: left; padding: .85rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tablewrap th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; background: var(--surface-cream); }
.tablewrap tfoot th { background: none; text-transform: none; font-size: 1.05rem; }

.list { list-style: none; padding: 0; margin: 0; }
.list > li { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.list--notes > li { background: var(--surface-cream); padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; border-bottom: 1px solid var(--line); }

.table { width: 100%; border-collapse: collapse; font-size: 1rem; background: #fff; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: .85rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; background: var(--surface-cream); }
.table tbody tr:hover { background: var(--surface-cream); }
.table tr.is-cancelled { opacity: .55; text-decoration: line-through; }

.tag {
  display: inline-block; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: var(--radius-pill); background: rgba(7,75,56,.09); color: var(--ink-soft); font-weight: 700;
}
.tag--freigabe, .tag--offen, .tag--gesendet { background: var(--accent-soft); color: var(--accent-hover); }
.tag--abgeschlossen, .tag--bezahlt, .tag--freigegeben, .tag--bestaetigt, .tag--angenommen { background: #e4f2e9; color: var(--ok); }
.tag--pausiert, .tag--abgesagt, .tag--storniert, .tag--abgelehnt { background: #f8e6e6; color: var(--error); }
.tag--intern { background: #f7ecd8; color: var(--warn); }

.bar { display: inline-block; width: 100px; height: 8px; background: var(--line); border-radius: var(--radius-pill); overflow: hidden; vertical-align: middle; }
.bar--wide { width: 100%; max-width: 360px; height: 9px; }
.bar i { display: block; height: 100%; background: var(--accent); }

.quote { border-left: 3px solid var(--line); padding-left: 1rem; color: var(--ink-soft); }

/* ---------- Formulare ---------- */
.form p { margin: 0 0 1.1rem; }
.form label, .loginbox label { display: block; font-size: var(--type-label); font-weight: 700; margin-bottom: .35rem; color: var(--ink); }
.form label code { font-weight: 400; }

input[type="text"], input[type="email"], input[type="password"], input[type="date"],
input[type="datetime-local"], input[type="number"], input[type="tel"], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem; font: inherit; font-size: 1.02rem; color: inherit;
  background: #fff; border: 1px solid #9fb3a9; border-radius: var(--radius);
}
textarea { min-height: 110px; resize: vertical; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: .9rem; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid rgba(8,122,89,.18); }
input:disabled { background: var(--surface-cream); color: var(--muted); }
input[type="file"] { border: 1px dashed #9fb3a9; padding: 1rem; background: var(--surface-cream); min-height: auto; }

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer;
  min-height: 50px; padding: .7rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
button:hover, .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button:active, .btn:active { transform: scale(.98); }
button:disabled { opacity: .55; cursor: not-allowed; }
.btn--ghost { background: #fff; color: var(--accent-hover); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-cream); }
.btn--link {
  background: none; border: none; padding: .3rem 0; min-height: auto; color: var(--accent-hover);
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.btn--link:hover { background: none; color: var(--accent); }
.btn--danger { background: #fff; color: var(--error); border-color: var(--error); }
.btn--danger:hover { background: #fbecec; }

.form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form--grid .full { grid-column: 1 / -1; }
.form--inline { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; }
.form--inline textarea { flex: 1 1 240px; }
.check { font-weight: 400; display: inline-flex; gap: .55rem; align-items: flex-start; font-size: 1rem; }
.check input { width: auto; min-height: auto; margin-top: .2rem; }

fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin: 0 0 1.3rem; background: #fff; }
legend { font-weight: 700; padding: 0 .5rem; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1rem 1.2rem; margin: 0 0 1.5rem; }
.panel > summary { cursor: pointer; font-weight: 700; color: var(--accent-hover); font-size: 1.05rem; list-style: none; }
.panel > summary::-webkit-details-marker { display: none; }
.panel > summary::before { content: "+ "; color: var(--accent); }
.panel[open] > summary::before { content: "– "; }
.panel[open] > summary { margin-bottom: 1rem; }
.panel--nested { margin: 0 0 1rem; padding: .8rem 1rem; background: var(--bg, #f7f9f8); }
.panel--nested > summary { font-size: .95rem; }

.publishbar { margin-bottom: 1.4rem; }
.tabs { display: flex; gap: 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; flex-wrap: wrap; }
.tabs a { padding: .6rem 0; text-decoration: none; color: var(--muted); font-weight: 600; }
.tabs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }

.thumb { max-width: 150px; border-radius: 4px; border: 1px solid var(--line); margin-top: .5rem; }
.grid { list-style: none; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; }
.tile img { width: 100%; height: 130px; object-fit: cover; border-radius: 4px; }

/* ---------- Nachrichtenverlauf ---------- */
.thread { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.msg { max-width: 36rem; padding: .8rem 1.05rem; border-radius: var(--radius); margin-bottom: .7rem; background: #fff; border: 1px solid var(--line); }
.msg--team { border-left: 4px solid var(--accent); }
.msg--client { margin-left: auto; background: var(--surface-cream); }
.msg--unread { box-shadow: 0 0 0 2px var(--accent); }
.msg__meta { font-size: .82rem; color: var(--muted); font-weight: 600; }
.msg p { margin: .3rem 0 0; font-size: 1.02rem; }
.msg__attachment { margin: .5rem 0 0; }
.msg__attachment a {
  display: inline-block; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-light); font-weight: 600; text-decoration: none; font-size: .92rem;
}

.split { display: grid; grid-template-columns: 280px 1fr; gap: 1.8rem; align-items: start; }
.list--conv > li.is-active { background: var(--accent-soft); }
.list--conv a { display: block; text-decoration: none; padding: .4rem; }
.list--conv .nav-badge { float: right; }

/* ---------- Login ---------- */
.loginpage { position: relative; isolation: isolate; overflow-x: hidden; display: grid; place-items: center; min-height: 100vh; padding: 24px; background: #04150e; color: #edf8f2; }
.loginpage::before {
  content: "YP"; position: fixed; z-index: -2; right: -.08em; top: -.18em; color: rgba(133,231,186,.055);
  font: 500 min(70vw,850px)/1 var(--display); letter-spacing: -.12em;
}
.loginpage::after {
  content: ""; position: fixed; z-index: -1; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(10,166,110,.25), transparent 34%),
              linear-gradient(110deg, transparent 0 52%, rgba(255,255,255,.025) 52%);
}
.loginbox {
  position: relative; width: min(480px, calc(100vw - 36px)); margin: clamp(20px,5vw,60px) auto;
  padding: clamp(30px,5vw,58px); border: 1px solid rgba(133,231,186,.25); border-radius: var(--radius);
  background: rgba(250,249,245,.98); box-shadow: 0 35px 110px rgba(0,0,0,.38);
  color: var(--ink);
}
.loginbox--wide { width: min(820px, calc(100vw - 36px)); }
.loginbox::before { content: "YOUR PRESENCE / PRIVATE"; display: block; margin-bottom: 38px; color: var(--accent-hover); font-size: .68rem; font-weight: 700; letter-spacing: .2em; }
.loginbox h1 { font-size: var(--type-h1); color: #09271c; }
.loginbox h1 span { display: block; color: var(--accent); }
.loginbox .lead { max-width: 34rem; color: #52645c; }
.loginbox a { color: var(--accent-hover); }
.loginbox button, .loginbox .btn { width: 100%; }
.hint { font-size: 1rem; color: var(--muted); margin: .9rem 0 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.file-preview { display: block; width: 130px; height: 84px; object-fit: cover; border-radius: 4px; margin-bottom: .5rem; background: var(--surface-cream); }
.file-preview--video { width: min(280px,100%); height: auto; }
.offer-row { display: grid; grid-template-columns: minmax(220px,2fr) 100px 150px; gap: .8rem; }
.offer-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin: 1.6rem 0; box-shadow: var(--shadow); }
.offer-total { text-align: right; font-size: 1.2rem; font-weight: 700; }
.offer-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.order-configuration { display: grid; gap: .35rem; margin: .9rem 0 0; }
.order-configuration div { display: flex; gap: .5rem; }
.order-configuration dt { color: var(--muted); }
.order-configuration dd { margin: 0; font-weight: 700; }

/* ---------- Mobil ---------- */
@media (max-width: 780px) {
  .topbar { min-height: 66px; padding: .6rem 1rem; }
  .navtoggle { display: inline-block; }
  .shell { grid-template-columns: 1fr; }
  .sidenav { position: fixed; z-index: 1002; inset: auto 0 0; max-height: min(76svh,680px); overflow-y: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 1.1rem 1rem calc(6.2rem + env(safe-area-inset-bottom)); box-shadow: 0 -20px 70px rgba(4,16,12,.24); }
  .sidenav[hidden] { display: none; }
  .sidenav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
  .sidenav a { padding: .8rem .9rem; font-size: .94rem; background: rgba(255,255,255,.55); }
  .content { padding: 1.4rem 1.1rem calc(7.2rem + env(safe-area-inset-bottom)); }
  .footbar { padding-bottom: calc(6.2rem + env(safe-area-inset-bottom)); }
  .app-tabbar { position: fixed; z-index: 1003; left: max(.65rem,env(safe-area-inset-left)); right: max(.65rem,env(safe-area-inset-right)); bottom: max(.55rem,env(safe-area-inset-bottom)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: stretch; padding: .42rem; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(4,16,12,.95); box-shadow: 0 14px 45px rgba(0,0,0,.3); backdrop-filter: blur(18px); }
  .app-tabbar a,.app-tabbar button { position: relative; min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap:.12rem; padding:.25rem; border:0; border-radius:13px; background:transparent; color:rgba(255,255,255,.72); text-decoration:none; font:inherit; }
  .app-tabbar a[aria-current="page"],.app-tabbar button[aria-expanded="true"] { background:rgba(156,216,189,.16); color:#fff; }
  .app-tabbar span { font-size:1.15rem; line-height:1; }
  .app-tabbar small { font-size:.68rem; font-weight:700; white-space:nowrap; }
  .app-tabbar b { position:absolute; top:.18rem; left:calc(50% + .42rem); display:grid; place-items:center; min-width:1.25rem; height:1.25rem; padding:0 .25rem; border-radius:999px; background:#dcefe6; color:#063f35; font-size:.66rem; }
  .navbackdrop:not([hidden]) { display:block; position:fixed; z-index:1001; inset:0; width:100%; height:100%; min-height:0; padding:0; border:0; border-radius:0; background:rgba(4,16,12,.5); backdrop-filter:blur(2px); }
  body.nav-open { overflow:hidden; }
  .form--grid, .split { grid-template-columns: 1fr; }
  .topbar .who span { display: none; }
  .table { display: block; overflow-x: auto; }
  .offer-row { grid-template-columns: 1fr; }
  .offer-total { text-align: left; }
  .next-steps li { flex-direction: column; align-items: flex-start; }
  .next-steps li a.btn { margin-left: 0; width: 100%; }
  .stats { gap: .8rem; }
  .stats a { flex: 1 1 150px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
