:root {
  --green: #087b4d;
  --green-dark: #064a36;
  --green-soft: #eaf7ef;
  --lime: #d9ff95;
  --ink: #17362b;
  --muted: #60776d;
  --line: #dce9e1;
  --surface: #ffffff;
  --background: #f4f8f5;
  --danger: #a63b31;
  --warning: #7a5700;
  --shadow: 0 12px 32px rgba(15, 72, 47, .075);
  --page: 1180px;
  --nav-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; background: radial-gradient(circle at 12% 0%,#e9f7ee 0,transparent 28%),radial-gradient(circle at 92% 28%,#eff8ff 0,transparent 24%),var(--background); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #f4b52b; outline-offset: 3px; }
.app { width: 100%; max-width: var(--page); min-height: 100vh; margin: 0 auto; padding-top: 70px; overflow: hidden; border-inline: 1px solid rgba(19,89,56,.06); background: rgba(249,252,250,.94); box-shadow: 0 0 70px rgba(21,79,48,.08); }
.screen { display: none; }
.screen.active { display: block; }
.content { padding: 28px 28px 48px; }
.muted, .sub { color: var(--muted); font-size: 13px; line-height: 1.5; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .09em; }

.hero { padding: 34px 32px; color: #fff; background: linear-gradient(125deg, var(--green-dark), var(--green)); }
.hero .brand { font-size: 30px; font-weight: 900; letter-spacing: -.8px; }
.hero .sub { color: rgba(255,255,255,.82); }
.screen:not(#home) > .hero { position: relative; padding: 36px 32px 34px; overflow: hidden; background: linear-gradient(122deg,#07583d,#087d50 62%,#0b9560); }
.screen:not(#home) > .hero::after { position: absolute; right: -55px; bottom: -100px; width: 230px; height: 230px; border: 42px solid rgba(255,255,255,.045); border-radius: 50%; content: ""; }
.screen:not(#home) > .hero .brand,.screen:not(#home) > .hero .sub { position: relative; z-index: 1; }
#home .gw215-hero { position: relative; isolation: isolate; padding: 38px clamp(26px, 5vw, 66px) 44px; background: linear-gradient(128deg, #05683f 0%, #079b59 58%, #1bc477 100%); border-radius: 0 0 42px 42px; overflow: hidden; }
#home .gw215-hero::before { position: absolute; z-index: -1; right: -120px; top: -170px; width: 430px; height: 430px; border: 70px solid rgba(255,255,255,.055); border-radius: 50%; content: ""; }
#home .gw215-hero::after { position: absolute; z-index: -1; left: 45%; bottom: -170px; width: 300px; height: 300px; border-radius: 50%; background: rgba(217,255,149,.075); content: ""; }
#home .gw215-heroInner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: center; gap: 32px; }
#home .gw215-brand { margin-bottom: 13px; color: #fff; font-size: 29px; font-weight: 920; letter-spacing: -1.15px; }
#home .gw215-brand span { color: #fff; }
#home .gw215-brand i { color: #ffd166; font-style: normal; }
#home .gw215-symbol { margin-right: 7px; color: var(--lime); }
#home .gw215-kicker { margin-bottom: 10px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 900; letter-spacing: .09em; }
#home .gw215-hero h1 { max-width: 720px; margin: 0 0 16px; color: #fff; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.035; letter-spacing: -2px; text-wrap: balance; }
#home .gw215-hero h1 em { color: var(--lime); font-style: normal; }
#home .gw215-heroCopy > p { max-width: 560px; margin: 0 0 18px; color: #eafff2; font-size: 16px; line-height: 1.55; }
#home .gw220-quick { display: flex; flex-wrap: wrap; gap: 9px; }
#home .gw220-quick button { min-height: 46px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.48); border-radius: 14px; background: rgba(255,255,255,.96); color: #155a3d; font-size: 13px; font-weight: 850; box-shadow: 0 7px 18px rgba(5,70,42,.14); transition: transform .16s ease,box-shadow .16s ease; }
#home .gw220-quick button:hover { transform: translateY(-2px); box-shadow: 0 10px 23px rgba(5,70,42,.2); }
#home .gw220-quick button b { margin-left: 4px; }
#home .gw215-reassure { margin-top: 14px; color: rgba(255,255,255,.84); font-size: 12px; }
#home .gw215-reassure span { padding: 0 8px; }
#home .gw215-summary { min-width: 0; padding: 27px; border: 1px solid rgba(255,255,255,.75); border-radius: 26px; background: linear-gradient(155deg,#fff,#f9fffb); color: var(--ink); box-shadow: 0 22px 52px rgba(4,67,37,.2); }
#home .gw215-summaryIcon { float: right; color: #0ba05b; font-size: 26px; }
#home .gw215-summaryTitle { margin-bottom: 24px; font-size: 18px; font-weight: 900; }
#home .gw215-summaryLabel { color: var(--muted); font-size: 12px; }
#home .gw215-total { margin: 8px 0; overflow-wrap: anywhere; color: #079944; font-size: clamp(27px, 3vw, 44px); font-weight: 930; line-height: 1.1; letter-spacing: -1px; }
#home .gw215-live { display: inline-block; padding: 6px 9px; border-radius: 999px; background: var(--green-soft); color: #176b3b; font-size: 10px; font-weight: 900; }
#home .gw215-summaryFoot { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: #345846; font-size: 13px; font-weight: 750; }
#home .gw215-note { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.gw220-overview { width: 100%; min-height: 46px; margin-top: 14px; border: 1px solid #add2bb; border-radius: 14px; background: #f5fcf7; color: var(--green-dark); font-weight: 850; }

.gw205-sectionlabel { margin: 6px 0 18px; }
.gw205-sectionlabel h2, .sectionTitle h2 { margin: 0 0 4px; font-size: 27px; letter-spacing: -.6px; }
.gw205-sectionlabel p { margin: 0; color: var(--muted); font-size: 13px; }
.allCostsGrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 15px; }
.allCostsGrid > .costTile { grid-column: span 4; }
.allCostsGrid > .costTile:nth-child(n+4) { grid-column: span 3; }
.costTile { display: flex; align-items: center; justify-content: space-between; min-height: 184px; padding: 22px; overflow: hidden; border: 1px solid rgba(23,59,48,.105); border-radius: 25px; text-align: left; color: var(--ink); box-shadow: 0 9px 24px rgba(25,76,52,.065); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.costTile:hover { transform: translateY(-4px); border-color: rgba(8,123,77,.24); box-shadow: 0 17px 34px rgba(25,76,52,.14); }
.costTile .gw-cardText { display: flex; flex: 1 1 62%; min-width: 0; flex-direction: column; align-items: flex-start; }
.costTile .gw-art { flex: 0 0 40%; width: 40%; max-width: 145px; order: 2; filter: drop-shadow(0 9px 12px rgba(34,79,57,.08)); }
.costTile .gw-art svg { display: block; width: 100%; max-height: 135px; }
.costTile b { margin-bottom: 7px; font-size: 19px; line-height: 1.2; }
.costTile small { color: #516c5f; font-size: 12px; line-height: 1.4; }
.costTile .gw-cardLink { margin-top: 11px; color: var(--green); font-size: 11px; font-weight: 900; }
.homecost { background: linear-gradient(125deg,#fff9eb,#ffedba); }
.insurecost { background: linear-gradient(125deg,#f1f9ff,#d9ecff); }
.telecomcost { background: linear-gradient(125deg,#fff4f9,#ffe0ee); }
.carecost { background: linear-gradient(125deg,#f9f5ff,#e9dfff); }
.subcost { background: linear-gradient(125deg,#f0fcf5,#d9f4e5); }
.financecost { background: linear-gradient(125deg,#fff8ef,#ffe7c9); }
.othercost { background: linear-gradient(125deg,#f6f8ff,#e6ecfa); }
.gw220-explain, .legacyConsumerBlock, .attentionCard { display: none !important; }

.gw202Intro { margin-bottom: 18px; padding: 23px 24px; border: 1px solid #d8eade; border-radius: 24px; background: linear-gradient(135deg,#f5fcf8,#eaf7ef); box-shadow: 0 10px 26px rgba(18,77,48,.06); }
.gw202Intro h2 { margin: 9px 0 8px; font-size: 26px; letter-spacing: -.6px; }
.gw202Intro p { max-width: 850px; margin: 0; color: var(--muted); line-height: 1.55; }
.gw202Steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 17px; }
.gw202Steps span { padding: 11px 12px; border: 1px solid #d8e9de; border-radius: 13px; background: rgba(255,255,255,.8); color: #315c48; font-size: 12px; font-weight: 820; }
.gw202Trust { margin-top: 11px; color: #44705a; font-size: 11px; font-weight: 720; }
#savings .content > .card:first-of-type { position: relative; overflow: hidden; background: linear-gradient(135deg,#fff,#f1fbf5); }
#savings .content > .card:first-of-type::after { position: absolute; right: 22px; top: 50%; color: rgba(8,123,77,.08); font-size: 88px; font-weight: 950; content: "€"; transform: translateY(-50%); }
#savingTotal { position: relative; z-index: 1; letter-spacing: -1px; }
#historyList:empty::before { display: block; padding: 9px 0; color: var(--muted); font-size: 12px; content: "Nog geen momentopnames bewaard."; }

.card { margin-bottom: 15px; padding: 19px; border: 1px solid rgba(210,230,218,.92); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.card h2 { margin: 0 0 9px; font-size: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #f7fbf8; }
.stat b { display: block; margin-top: 3px; color: var(--green); font-size: 22px; }
.nextActionCard { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg,#103f35,#176b55); border: 0; box-shadow: 0 15px 36px rgba(10,72,51,.16); }
.nextActionCard::after { position: absolute; right: -38px; top: -52px; width: 150px; height: 150px; border: 25px solid rgba(255,255,255,.045); border-radius: 50%; content: ""; pointer-events: none; }
.nextActionCard .eyebrow, .nextActionCard .muted { color: #d9eee8; }
.empty { padding: 24px 16px; border: 1px dashed #cbded2; border-radius: 17px; background: #fff; color: var(--muted); text-align: center; }
.empty b, .emptyIcon { display: block; margin-bottom: 5px; color: var(--ink); }
.emptyIcon { font-size: 27px; }

.btn { width: 100%; min-height: 46px; padding: 12px 15px; border: 0; border-radius: 14px; font-weight: 850; transition: transform .15s ease,filter .15s ease; }
.btn:hover { filter: brightness(.98); transform: translateY(-1px); }
.primary, .btn.primary { background: var(--green); color: #fff; }
.soft, .btn.soft { background: var(--green-soft); color: var(--green-dark); }
.danger, .btn.danger { background: #fff0ed; color: var(--danger); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: block; margin: 10px 0 5px; color: #52675d; font-size: 12px; font-weight: 800; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #cbded1; border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 82px; resize: vertical; }
input[type="file"] { display: none; }
.search { margin-bottom: 12px; }
.upload { display: block; padding: 16px; border: 2px dashed #9bcab0; border-radius: 14px; background: #f5fff8; text-align: center; }
.preview { display: none; width: 100%; max-height: 180px; margin-top: 8px; border-radius: 12px; object-fit: cover; }
.fileinfo { margin-top: 7px; color: var(--muted); font-size: 12px; }
.notice { margin-bottom: 11px; padding: 11px 12px; border: 1px solid #d3eadc; border-radius: 13px; background: #edf9f2; color: #285e46; font-size: 13px; }
.warn { border-color: #ecdcae; background: #fff8e5; color: var(--warning); }
#settings .content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
#settings .content > .card { margin: 0; }
#settings .content > .card:has(.grid),#settings .content > .card:has(textarea),#settings .content > .releaseCard { grid-column: 1 / -1; }
#settings .content > .technicalSetting:first-child { grid-column: 1 / -1; }
#settings .technicalSetting { border-style: dashed; background: linear-gradient(145deg,#fbfdfc,#f2f8f4); }
#settings .technicalSetting h2::after { display: inline-block; margin-left: 8px; padding: 4px 7px; border-radius: 999px; background: #e9f2ed; color: #5f776a; font-size: 9px; font-weight: 850; letter-spacing: .04em; content: "GEAVANCEERD"; vertical-align: 3px; }
#settings .releaseCard { text-align: center; background: linear-gradient(135deg,#f0faf4,#fff); }

.chips { display: flex; gap: 7px; padding: 2px 1px 9px; overflow-x: auto; scrollbar-width: none; }
.chip { padding: 8px 11px; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; }
.chip.on { border-color: var(--green); background: var(--green); color: #fff; }
.item, .gw-clean-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 0; margin: 0 0 12px; padding: 17px 19px; border: 1px solid #dce9e1; border-radius: 19px; background: linear-gradient(150deg,#fff,#fbfefc); box-shadow: 0 7px 20px rgba(23,78,43,.055); }
.gw-clean-main { min-width: 0; flex: 1; }
.gw-clean-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.gw-clean-category { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.gw-clean-provider { display: block; margin-top: 4px; font-size: 18px; }
.gw-clean-price { margin-top: 3px; color: var(--green-dark); font-size: 17px; font-weight: 900; }
.gw-clean-meta, .gw-clean-detail { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.gw-clean-saving { margin-top: 6px; color: var(--green); font-size: 12px; font-weight: 850; }
.gw-clean-actions { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; flex-wrap: wrap; }
.gw-clean-actions > button { min-height: 38px; padding: 8px 10px; border: 0; border-radius: 10px; }
.gw-clean-more { position: relative; }
.gw-clean-more summary { min-height: 38px; padding: 9px 10px; border-radius: 10px; background: #f2f6f3; list-style: none; font-size: 12px; font-weight: 800; }
.gw-clean-more > div { position: absolute; z-index: 4; right: 0; display: grid; gap: 5px; width: 120px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.statusChip, .readiness, .badge, .pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.statusChip.good, .readiness.ok { background: #dff7e9; color: #087455; }
.statusChip.urgent { background: #ffe8e4; color: #a33227; }
.statusChip.missing, .readiness.wait { background: #fff1cf; color: #805d00; }
.statusChip.ready, .readiness.need { background: #edf2ef; color: #48625c; }
.actions { display: flex; gap: 7px; margin-top: 9px; }
.actions button { flex: 1; min-height: 38px; border: 0; border-radius: 10px; }

.smartCompare { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 18px; align-items: center; padding: 15px 18px; background: linear-gradient(145deg,#fff,#edf9f3); }
.smartCompare h2, .smartCompare > .muted { grid-column: 1; margin: 0; }
.smartCompare .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; min-width: 190px; margin: 0 !important; }
.smartCompare .row { grid-column: 1 / -1; margin-top: 4px; }
.smartCompare .row, .energyMeta, .scanMeta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.sourcePill, .energyTag, .scanChip { padding: 5px 8px; border-radius: 999px; background: #e6f5ec; color: #126b43; font-size: 10px; font-weight: 850; }
.compactOpportunity { display: flex; align-items: center; gap: 11px; padding: 16px 18px; text-align: left; }
.compactOpportunity .emptyIcon { flex: 0 0 auto; margin: 0; }
.compactOpportunity b { flex: 0 0 auto; margin: 0; }
.compactOpportunity span:last-child { color: var(--muted); font-size: 12px; }
.liveEnergy { position: relative; overflow: hidden; border: 0; background: linear-gradient(145deg,#073b2a,#0d6849); color: #fff; }
.liveEnergy .muted { color: rgba(255,255,255,.75); }
.energyPrice { margin: 5px 0; font-size: 35px; font-weight: 950; }
.energyRows { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
.energyRow { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.sourceNote { margin-top: 9px; color: rgba(255,255,255,.68); font-size: 11px; }
.controlGrid, .energyFacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 10px; }
.controlBox, .energyFacts > div { padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfc; }
.controlBox b, .energyFacts strong { display: block; font-size: 17px; }
.coverageRow { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.statusGood { color: #167342; font-weight: 850; }
.statusWait { color: #8a5b00; font-weight: 850; }

.groupGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 10px 0 16px; }
.groupIntro { margin: 15px 0 11px; }
.groupIntro b { display: block; margin-bottom: 4px; font-size: 18px; }
.groupIntro > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.groupTile { position: relative; min-height: 100px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#fff,#fbfdfc); color: var(--ink); text-align: left; transition: transform .15s ease,border-color .15s ease,box-shadow .15s ease; }
.groupTile:hover { transform: translateY(-2px); border-color: #acd6be; box-shadow: 0 9px 20px rgba(18,77,48,.07); }
.groupTile.on { border-color: #7ec5a0; background: #edf9f2; }
.groupTile .gi { display: grid; width: 36px; height: 36px; margin-bottom: 8px; place-items: center; border-radius: 11px; background: #e9f7ef; color: var(--green); font-size: 17px; font-weight: 900; }
.groupTile b, .groupTile small { display: block; }
.groupTile small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.stepCard, .energyEstimate, .energyCompareCard, .bagLookup { margin: 10px 0; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #f4f9f6; }
.stepLabel { margin-bottom: 6px; color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.stepSummary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.changeStep { padding: 7px 9px; border: 0; border-radius: 9px; background: var(--green-soft); color: var(--green-dark); font-weight: 800; }
.hiddenStep { display: none !important; }
.formProgress { height: 5px; margin: 5px 0; overflow: hidden; border-radius: 99px; background: #e5ece8; }
.formProgress > i { display: block; width: 0; height: 100%; background: var(--green); transition: width .2s; }
.formProgressText, .draftState { color: var(--muted); font-size: 11px; text-align: center; }
.providerPickerBtn { position: relative; width: 100%; min-height: 46px; padding: 11px 42px 11px 13px; border: 1px solid #cbded1; border-radius: 12px; background: #fff; color: var(--ink); text-align: left; }
.providerPickerBtn:after { position: absolute; right: 14px; content: "⌄"; }
#provider { display: none !important; }
.providerInline { display: none; margin-top: 7px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.providerInline.open { display: block; }
.providerOptions { max-height: 250px; overflow-y: auto; }
.providerOption { display: flex; width: 100%; justify-content: space-between; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; }
.providerOption.selected { background: var(--green-soft); }
.providerOption .check { opacity: 0; }
.providerOption.selected .check { opacity: 1; }
.bagLookupGrid, .bagAutoGrid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 8px; }
.bagAutoFields, .bagResult { display: none; }
.bagAutoFields.on, .bagResult.on { display: block; }
.energyChecks { display: flex; flex-wrap: wrap; gap: 7px; }
.energyCheck { display: flex; gap: 6px; align-items: center; margin: 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.modal { position: fixed; z-index: 1100; inset: 0; display: none; align-items: flex-end; justify-content: center; background: rgba(7,31,22,.54); backdrop-filter: blur(3px); }
.modal.show { display: flex; }
.sheet { width: min(700px, 100%); max-height: 92dvh; padding: 16px 20px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; border: 1px solid rgba(255,255,255,.65); border-radius: 28px 28px 0 0; background: linear-gradient(180deg,#fff,#fbfefc); box-shadow: 0 -22px 70px rgba(4,42,27,.2); }
.sheethead { position: sticky; z-index: 5; top: -16px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; padding: 10px 0; background: #fff; }
.sheethead h2 { margin: 0; text-align: center; }
.x, .backBtn { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #edf5f0; color: var(--ink); }
.alertbox, .scanTrust { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #f7fbf8; }
.alertbox input, .scanTrust input { width: auto; }
.compareAction, .compareTile { width: 100%; min-height: 62px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-align: left; }
.compareAction b, .compareAction small, .compareTile b, .compareTile small { display: block; }
.compareAction small, .compareTile small { margin-top: 3px; color: var(--muted); }
.compareGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.toast { position: fixed; z-index: 1300; left: 50%; bottom: 90px; width: min(420px, calc(100% - 32px)); padding: 12px 14px; border-radius: 13px; background: #15352f; color: #fff; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.manualCompareSheet { width: min(760px,100%); }
.manualCompareIntro { display: grid; grid-template-columns: minmax(190px,.65fr) 1.35fr; gap: 18px; align-items: center; margin-bottom: 14px; padding: 15px 16px; border: 1px solid #d9eade; border-radius: 16px; background: linear-gradient(135deg,#edf9f2,#f9fdfb); }
.manualCompareIntro div { display: grid; gap: 2px; }
.manualCompareIntro span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.manualCompareIntro b { font-size: 18px; }
.manualCompareIntro strong { color: var(--green); font-size: 15px; }
.manualCompareIntro p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.manualCompareGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 11px; }
.manualCompareResult { margin: 15px 0; overflow: hidden; border: 1px solid #d8e9de; border-radius: 18px; background: #f9fcfa; }
.manualCompareHint { padding: 18px; color: var(--muted); font-size: 12px; text-align: center; }
.manualResultHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #dfece4; background: #edf8f1; }
.manualResultHead span { color: #527063; font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.manualResultHead b { color: var(--green-dark); }
.manualResultGrid { display: grid; grid-template-columns: repeat(4,1fr); }
.manualResultGrid > div { min-width: 0; padding: 14px; border-right: 1px solid #e1ece5; }
.manualResultGrid > div:last-child { border-right: 0; }
.manualResultGrid span { display: block; min-height: 28px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.manualResultGrid b { display: block; margin-top: 5px; font-size: 16px; line-height: 1.25; }
.manualResultGrid .positive b { color: #087849; }
.manualResultGrid .negative b { color: var(--danger); }
.manualResultBreakdown { padding: 10px 14px; border-top: 1px solid #e1ece5; color: var(--muted); font-size: 10px; line-height: 1.5; }
.manualCompareActions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9px; }
.manualCompareDisclaimer { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: center; }
.manualOfferBtn { background: #fff5d9 !important; color: #715200 !important; }
.compareSheet54 { position: relative; width: min(660px,100%); padding: 25px; }
.compareClose54 { position: absolute; z-index: 4; right: 18px; top: 18px; width: 42px; height: 42px; border: 0; border-radius: 13px; background: #edf5f0; color: var(--green-dark); font-size: 19px; }
.gwCompareHead { display: flex; align-items: center; gap: 12px; padding-right: 50px; }
.gwCompareHead h3 { margin: 3px 0 0; font-size: 24px; letter-spacing: -.5px; }
.compareMark { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; background: linear-gradient(135deg,#087b4d,#16b972); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 8px 20px rgba(8,123,77,.18); }
.compareSummary { margin: 17px 0 12px; padding: 14px 15px; border: 1px solid #dceae1; border-radius: 15px; background: #f7fbf8; }
.compareSummary b { display: block; margin-bottom: 3px; font-size: 18px; }
.noOffer54,.verifiedOffer54 { display: grid; gap: 4px; margin: 12px 0; padding: 15px; border: 1px solid #dbe9e0; border-radius: 16px; background: #f7fbf8; }
.noOffer54 b,.verifiedOffer54 b { font-size: 17px; }
.noOffer54 span,.verifiedOffer54 span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.verifiedOffer54 { background: #edf9f2; border-color: #cfe7d9; }
.verifiedOffer54 strong { color: var(--green); font-size: 12px; }
.verifiedOffer54.manual { background: #fff9e9; border-color: #efe0b4; }
.verifiedOffer54.manual strong { color: #765600; }
.compareChoiceActions { display: grid; gap: 9px; margin-top: 12px; }
.liveUnavailable { padding: 10px 12px; border-radius: 12px; background: #f2f5f3; color: var(--muted); font-size: 11px; text-align: center; }
.compareTransparency { margin-top: 12px; padding: 10px 12px; border: 1px solid #e1ece5; border-radius: 12px; background: #fbfdfc; }
.compareTransparency summary { color: #385c4b; font-size: 12px; font-weight: 800; cursor: pointer; }
.compareTransparency div { padding-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.compareAddress54 { margin: 12px 0; padding: 14px; border: 1px solid #dce9e1; border-radius: 15px; background: #fafcfb; }
.compareAddress54 > b,.compareAddress54 > span { display: block; }
.compareAddress54 > span { margin: 3px 0 9px; color: var(--muted); font-size: 11px; }
.addressGrid54 { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8px; }
.marketExplorer { margin: 14px 0; }
.marketExplorerHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
.marketExplorerHead h3 { margin: 3px 0 0; font-size: 19px; }
.marketDate { color: var(--muted); font-size: 10px; white-space: nowrap; }
.marketLead { margin: 0 0 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.marketCandidates { display: grid; gap: 7px; }
.marketCandidate { display: grid; grid-template-columns: 31px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #dce9e1; border-radius: 14px; background: #fff; }
.marketCandidate.best { border-color: #7fc7a1; background: #edf9f2; box-shadow: 0 6px 18px rgba(8,123,77,.08); }
.marketRank { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: #edf4ef; color: #557064; font-size: 11px; font-weight: 900; }
.marketCandidate.best .marketRank { background: var(--green); color: #fff; }
.marketCandidateMain { min-width: 0; }
.marketCandidateMain b { font-size: 13px; }
.marketCandidateMain small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.marketCandidate > strong { color: var(--green-dark); font-size: 12px; white-space: nowrap; }
.marketCandidate > a { padding: 8px 9px; border-radius: 9px; background: #edf7f1; color: var(--green-dark); font-size: 10px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.bestMatch { display: inline-flex; margin-left: 6px; padding: 3px 5px; border-radius: 999px; background: #ccefdc; color: #08754a; font-size: 8px; font-weight: 900; vertical-align: 1px; }
.scanAdvanced { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbf9; }
.scanAdvanced summary { font-size: 12px; font-weight: 800; }
.formProgressText { margin-top: 3px; }
.draftState { margin: 2px 0 9px; }

.premiumNav { position: fixed; z-index: 1000; top: 0; left: 50%; display: flex; width: min(var(--page), 100%); height: 70px; transform: translateX(-50%); justify-content: center; gap: 7px; padding: 9px clamp(14px,4vw,36px); border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); box-shadow: 0 7px 24px rgba(15,65,42,.07); backdrop-filter: blur(18px); }
.nav { min-width: 0; min-height: 50px; padding: 6px 15px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 780; }
.nav span { display: inline-block; margin-right: 5px; font-size: 17px; vertical-align: -1px; }
.nav.on { background: #e7f6ed; color: var(--green-dark); box-shadow: inset 0 0 0 1px rgba(8,123,77,.04); }
.navAdd { order: 5; width: auto; padding: 5px 14px; background: var(--green); color: #fff; }
.navAdd span { margin: 0; font-size: 23px; }

@media (max-width: 850px) {
  .app { padding-top: 0; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); border: 0; }
  .content { padding: 20px 16px 36px; }
  #home .gw215-hero { padding: 24px 20px 29px; border-radius: 0 0 28px 28px; }
  #home .gw215-heroInner { grid-template-columns: 1fr; gap: 17px; }
  #home .gw215-brand { font-size: 23px; }
  #home .gw215-hero h1 { font-size: 38px; }
  #home .gw215-summary { padding: 20px; }
  .allCostsGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .allCostsGrid > .costTile, .allCostsGrid > .costTile:nth-child(n+4) { grid-column: span 1; }
  .costTile { min-height: 185px; padding: 14px; flex-direction: column-reverse; align-items: flex-start; }
  .costTile .gw-art { width: 76px; max-width: 76px; flex: 0 0 auto; align-self: flex-end; }
  .costTile .gw-cardText { flex: 1 1 auto; }
  .costTile b { font-size: 16px; }
  .premiumNav { position: fixed; top: auto; bottom: 0; left: 50%; width: min(540px, 100%); height: calc(var(--nav-height) + env(safe-area-inset-bottom)); transform: translateX(-50%); align-items: flex-start; justify-content: space-around; gap: 0; padding: 8px 5px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(14,61,42,.1); }
  .nav { flex: 1; padding: 4px 3px; font-size: 10px; }
  .nav span { display: block; margin: 0 0 2px; font-size: 20px; }
  .navAdd { order: initial; max-width: 60px; height: 54px; margin-top: -20px; border-radius: 50%; box-shadow: 0 8px 20px rgba(8,123,77,.25); }
  .navAdd span { margin: 0; font-size: 25px; }
  .item, .gw-clean-item { display: block; }
  .gw-clean-actions { margin-top: 12px; }
  .smartCompare { display: block; }
  .smartCompare .btn { width: 100%; margin-top: 12px !important; }
  .compactOpportunity { display: block; text-align: center; }
  .compactOpportunity .emptyIcon, .compactOpportunity b { margin-bottom: 5px; }
  #settings .content { grid-template-columns: 1fr; }
  #settings .content > .card:has(.grid),#settings .content > .card:has(textarea),#settings .content > .releaseCard { grid-column: auto; }
}

@media (max-width: 520px) {
  .hero { padding: 25px 18px; }
  .hero .brand { font-size: 26px; }
  .grid { grid-template-columns: 1fr; }
  .groupGrid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gw205-sectionlabel h2 { font-size: 22px; }
  .costTile { min-height: 174px; padding: 12px; }
  .costTile .gw-cardLink { font-size: 10px; }
  .costTile small { font-size: 10px; }
  .actions { flex-wrap: wrap; }
  .sheet { border-radius: 22px 22px 0 0; }
  .gw202Steps { grid-template-columns: 1fr; }
  .gw202Intro { padding: 18px; }
  .manualCompareIntro,.manualCompareGrid,.manualCompareActions { grid-template-columns: 1fr; }
  .manualResultGrid { grid-template-columns: 1fr 1fr; }
  .manualResultGrid > div:nth-child(2) { border-right: 0; }
  .manualResultGrid > div:nth-child(-n+2) { border-bottom: 1px solid #e1ece5; }
  .marketExplorerHead { align-items: flex-start; }
  .marketCandidate { grid-template-columns: 29px minmax(0,1fr) auto; }
  .marketCandidate > strong { grid-column: 2; }
  .marketCandidate > a { grid-column: 3; grid-row: 1 / span 2; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; }
}

@media (max-width: 360px) {
  .allCostsGrid { grid-template-columns: 1fr; }
  .groupGrid, .stats, .compareGrid { grid-template-columns: 1fr; }
}

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