:root {
  color-scheme: light;
  --aure-navy: #071a2b;
  --aure-teal: #0b6f8e;
  --aure-copper: #c7784a;
  --aure-cyan: #93dfe5;
  --aure-paper: #f4f6f4;
  --aure-ink: #17313a;
  --aure-muted: #61747a;
  --aure-line: rgba(7, 26, 43, .14);
  --aure-shadow: 0 24px 70px rgba(7, 26, 43, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--aure-paper); }
body { margin: 0; color: var(--aure-ink); background: var(--aure-paper); line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(11, 111, 142, .32); outline-offset: 3px; }

.kairos-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem clamp(1rem, 5vw, 5.5rem);
  border-bottom: 1px solid var(--aure-line);
  background: rgba(244, 246, 244, .94);
  backdrop-filter: blur(16px);
}
.kairos-header > a:last-child { color: var(--aure-teal); text-decoration: none; font-size: .9rem; font-weight: 750; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; letter-spacing: .08em; }
.brand-image { width: 48px; height: 48px; display: block; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: transparent; }
.brand-image img { width: 100%; height: 100%; display: block; object-fit: cover; mix-blend-mode: multiply; }
.kairos-header nav { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.brand b, .brand small { display: block; }
.brand b { color: var(--aure-navy); font-size: 1.2rem; }
.brand small { color: var(--aure-teal); font-size: .57rem; font-weight: 800; letter-spacing: .16em; }

.assistant-shell {
  width: min(1380px, calc(100% - 2rem));
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 7rem) 0;
}
.assistant-intro { max-width: 590px; }
.eyebrow { margin: 0 0 1rem; color: var(--aure-teal); font-size: .77rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 2px; display: inline-block; vertical-align: middle; margin-right: .55rem; background: var(--aure-copper); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 1.35rem; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.3vw, 5.7rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
h1 em { color: var(--aure-teal); font-weight: 500; }
.assistant-intro > p:not(.eyebrow) { max-width: 55ch; color: var(--aure-muted); font-size: 1.03rem; }
.ai-status { max-width: 420px; display: flex; align-items: center; gap: .85rem; margin-top: 2rem; padding: 1rem 1.1rem; border: 1px solid rgba(11, 111, 142, .18); border-radius: 15px; background: rgba(255, 255, 255, .72); }
.ai-status i { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: #2b9b70; box-shadow: 0 0 0 7px rgba(43, 155, 112, .11); }
.ai-status span, .ai-status b { display: block; }
.ai-status span { color: var(--aure-muted); font-size: .82rem; }
.ai-status b { margin-bottom: .1rem; color: var(--aure-navy); font-size: .88rem; }

.assistant-card { min-width: 0; overflow: hidden; border: 1px solid var(--aure-line); border-radius: 26px; background: rgba(255, 255, 255, .96); box-shadow: var(--aure-shadow); }
.assistant-top { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem clamp(1.2rem, 4vw, 2rem); color: #fff; background: var(--aure-navy); }
.assistant-top span { color: var(--aure-cyan); font-size: .69rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.assistant-top h2 { margin: .2rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; }
.progress { height: 4px; background: rgba(11, 111, 142, .13); }
.progress i { width: 25%; height: 100%; display: block; background: linear-gradient(90deg, var(--aure-teal), var(--aure-copper)); transition: width .24s ease; }

#kairosForm { min-height: 490px; display: flex; flex-direction: column; }
.document-upload-panel { margin-top: 1.2rem; padding: 1rem; border: 1px solid rgba(53, 229, 211, .25); border-radius: 14px; min-width: 0; }
.document-upload-panel input[type="file"] { display: block; max-width: 100%; width: 100%; margin: .6rem 0; box-sizing: border-box; }
.document-upload-panel button { max-width: 100%; white-space: normal; margin-top: .7rem; }
.source-document-list, .source-document-list p { overflow-wrap: anywhere; min-width: 0; }
.form-step { display: none; min-width: 0; margin: 0; padding: clamp(1.5rem, 4vw, 2.3rem); border: 0; }
.form-step.active { display: block; }
legend { display: block; width: 100%; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.1; }
.form-step > p { color: var(--aure-muted); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 1.5rem; }
.choice-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid label { min-width: 0; cursor: pointer; }
.choice-grid input { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.choice-grid span { min-height: 112px; display: grid; align-content: center; gap: .25rem; padding: .9rem; border: 1px solid var(--aure-line); border-radius: 15px; background: #fafbf9; transition: .15s ease; }
.choice-grid.compact span { min-height: 72px; }
.choice-grid input:checked + span { border-color: var(--aure-teal); background: rgba(147, 223, 229, .15); box-shadow: inset 0 0 0 1px var(--aure-teal); }
.choice-grid b { color: var(--aure-navy); font-size: .91rem; }
.choice-grid small { color: var(--aure-muted); line-height: 1.35; }
.input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.heating-guidance { display: grid; gap: 1rem; margin: 1.4rem 0; padding-top: 1.2rem; border-top: 1px solid var(--aure-line); }
.heating-guidance > label, #storageSizeLabel { display: grid; gap: .4rem; font-size: .85rem; font-weight: 700; }
.technical-details summary, .advanced-estimators > summary { cursor: pointer; color: var(--aure-teal); font-weight: 750; }
.technical-details[open] > .input-grid { margin-top: .8rem; }
.simple-hydraulics { padding: 1rem; border-radius: 14px; background: var(--aure-paper); }
.simple-hydraulics p { margin: .4rem 0; font-size: .85rem; }
.heating-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.heating-option { display: flex; flex-direction: column; gap: .45rem; padding: .85rem; border: 1px solid var(--aure-line); border-radius: 13px; cursor: pointer; min-width: 0; background: #fff; }
.heating-option:has(input:checked) { border-color: var(--aure-teal); background: #eaf6f5; box-shadow: inset 0 0 0 1px var(--aure-teal); }
.heating-option input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--aure-teal); }
.heating-option strong { color: var(--aure-navy); font-size: 1.05rem; }
.heating-option small { color: var(--aure-muted); font-size: .73rem; line-height: 1.4; }
.heating-option .option-price { margin-top: auto; font-weight: 800; color: var(--aure-teal); }
.advanced-estimators > summary { padding: 1rem; border: 1px solid var(--aure-line); border-radius: 12px; }
.campaign-terms { grid-column: 1 / -1; padding: 1.5rem 2rem; }
.campaign-terms p { max-width: 85ch; line-height: 1.65; }
#climateMaintenance { padding: 1rem 1.5rem; margin: 0; background: var(--aure-paper); color: var(--aure-navy); }
@media (max-width: 560px) { .heating-options { grid-template-columns: 1fr; } .heating-option { gap: .3rem; } }
.input-grid label, .wide-label { position: relative; display: grid; gap: .34rem; color: var(--aure-navy); font-size: .8rem; font-weight: 750; }
input, select, textarea { width: 100%; min-width: 0; min-height: 47px; padding: .7rem .82rem; border: 1px solid rgba(7, 26, 43, .2); border-radius: 10px; color: var(--aure-ink); background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--aure-teal); box-shadow: 0 0 0 3px rgba(11, 111, 142, .09); outline: 0; }
input:disabled, select:disabled, textarea:disabled, button:disabled { cursor: not-allowed; opacity: .5; }
.input-grid label > span { position: absolute; right: .75rem; bottom: .78rem; color: var(--aure-muted); font-size: .75rem; }
.wide-label { max-width: 260px; margin-top: 1rem; }
.document-title { margin: 1.4rem 0 .75rem; color: var(--aure-navy) !important; font-weight: 750; }
.document-title small { display: block; color: var(--aure-muted); font-weight: 400; }
.document-checks { display: flex; flex-wrap: wrap; gap: .55rem; }
.document-checks label, .consent { display: flex; align-items: flex-start; gap: .55rem; color: var(--aure-muted); font-size: .79rem; }
.document-checks label { align-items: center; padding: .55rem .7rem; border: 1px solid var(--aure-line); border-radius: 10px; background: #fafbf9; }
.document-checks input, .consent input { width: 17px; height: 17px; min-height: 0; flex: 0 0 auto; margin: .1rem 0 0; accent-color: var(--aure-teal); }
.consent { margin: 1rem 0 0; }
.assistant-actions { display: flex; justify-content: space-between; gap: .8rem; margin-top: auto; padding: 1rem clamp(1.2rem, 4vw, 2rem) 1.4rem; border-top: 1px solid var(--aure-line); }
.assistant-actions button, .next, .secondary-action, .chat-panel button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.05rem; border: 0; border-radius: 9px; cursor: pointer; text-decoration: none; font-weight: 800; }
.assistant-actions .back, .secondary-action { border: 1px solid var(--aure-line); color: var(--aure-navy); background: #fff; }
.assistant-actions .next, .next { color: #fff; background: var(--aure-copper); }
.assistant-actions .next:hover, .next:hover { background: #ae6037; }
.form-error { color: #a83f39 !important; font-size: .83rem; font-weight: 700; }

.result { min-height: 490px; padding: clamp(2rem, 6vw, 4rem); text-align: center; }
.result-mark { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; color: #fff; background: var(--aure-teal); font-size: 1.5rem; font-weight: 900; }
.result > p { color: var(--aure-teal); font-size: .72rem; font-weight: 850; letter-spacing: .13em; }
.result h2 { color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; }
#summary { max-width: 520px; margin: 1.2rem auto; color: var(--aure-muted); }
#summary ul { padding-left: 1.3rem; text-align: left; }
.quote-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 1.3rem 0; }

.estimator-section { grid-column: 1 / -1; width: 100%; margin-top: clamp(1rem, 4vw, 3rem); padding: clamp(1.3rem, 4vw, 2.3rem); border: 1px solid var(--aure-line); border-radius: 26px; background: rgba(255, 255, 255, .78); box-shadow: 0 16px 44px rgba(7, 26, 43, .08); }
.estimator-heading { max-width: 760px; }
.estimator-heading h2 { margin-bottom: .7rem; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; }
.estimator-heading > p:last-child { color: var(--aure-muted); }
.estimator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; margin-top: 1.3rem; }
.public-estimator { min-width: 0; display: grid; gap: .75rem; padding: 1.1rem; border: 1px solid var(--aure-line); border-radius: 16px; background: #fff; }
.public-estimator h3 { margin: 0; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.public-estimator > label { display: grid; gap: .3rem; color: var(--aure-navy); font-size: .78rem; font-weight: 750; }
.public-estimator fieldset { display: grid; gap: .35rem; margin: 0; padding: .7rem; border: 1px solid var(--aure-line); border-radius: 10px; }
.public-estimator fieldset legend { font-family: inherit; font-size: .76rem; font-weight: 800; }
.public-estimator button { border: 0; }
.estimate-output { min-height: 48px; display: grid; gap: .35rem; padding-top: .2rem; color: var(--aure-muted); font-size: .82rem; }
.estimate-output p, .estimate-output small { margin: 0; }
.estimate-output b { color: var(--aure-teal); letter-spacing: .08em; }
.estimate-output a { width: fit-content; color: var(--aure-teal); font-weight: 750; }

.chat-launch { position: fixed; z-index: 30; right: 24px; bottom: 22px; min-height: 48px; display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 0; border-radius: 999px; color: #fff; background: var(--aure-navy); box-shadow: 0 12px 35px rgba(7, 26, 43, .26); cursor: pointer; font-weight: 800; }
.chat-launch span { color: var(--aure-cyan); }
.chat-panel { position: fixed; z-index: 31; right: 24px; bottom: 82px; width: min(390px, calc(100% - 2rem)); max-height: min(650px, calc(100vh - 110px)); display: none; overflow: hidden; border: 1px solid var(--aure-line); border-radius: 19px; background: #fff; box-shadow: var(--aure-shadow); }
.chat-panel.open { display: grid; grid-template-rows: auto minmax(130px, 1fr) auto; }
.chat-panel > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: #fff; background: var(--aure-navy); }
.chat-panel > div:first-child button { min-height: 32px; padding: .2rem .6rem; color: #fff; background: transparent; font-size: 1.4rem; }
.chat-messages { display: grid; align-content: start; gap: .65rem; overflow: auto; padding: 1rem; background: #f7f9f8; }
.chat-messages p { max-width: 88%; margin: 0; padding: .72rem .82rem; border: 1px solid var(--aure-line); border-radius: 12px 12px 12px 3px; background: #fff; font-size: .85rem; white-space: pre-wrap; }
.chat-messages p.you { justify-self: end; border: 0; border-radius: 12px 12px 3px 12px; color: #fff; background: var(--aure-teal); }
.chat-answer { max-width: 94%; display: grid; gap: .45rem; }
.chat-answer > p { max-width: 100%; }
.chat-sources { display: flex; flex-wrap: wrap; gap: .3rem .55rem; color: var(--aure-muted); font-size: .72rem; }
.chat-sources a { color: var(--aure-teal); font-weight: 750; }
.chat-action { width: fit-content; min-height: 34px; display: inline-flex; align-items: center; padding: .42rem .65rem; border: 0; border-radius: 8px; color: #fff; background: var(--aure-teal); cursor: pointer; text-decoration: none; font-size: .75rem; font-weight: 800; }
.chat-panel form { display: grid; gap: .5rem; padding: .85rem; border-top: 1px solid var(--aure-line); }
.chat-panel label { color: var(--aure-muted); font-size: .72rem; font-weight: 750; }
.chat-panel textarea { min-height: 74px; resize: vertical; }
.chat-panel form button { justify-self: end; min-width: 100px; color: #fff; background: var(--aure-copper); }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem clamp(1rem, 5vw, 5.5rem); border-top: 1px solid var(--aure-line); color: var(--aure-muted); font-size: .77rem; }
footer a, footer button { color: var(--aure-teal); }
.legal-links { min-width: 0; display: flex; flex-wrap: wrap; gap: .45rem 1rem; align-items: center; }
.legal-links a, .legal-links button { min-height: 30px; display: inline-flex; align-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-weight: 700; }

.cookie-consent {
  position: fixed;
  z-index: 100;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  margin: 0 auto;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(147, 223, 229, .45);
  border-radius: 16px;
  color: #fff;
  background: rgba(7, 26, 43, .98);
  box-shadow: 0 24px 70px rgba(7, 26, 43, .36);
}
.cookie-consent p { max-width: 68ch; margin: .2rem 0; color: rgba(255, 255, 255, .82); font-size: .82rem; }
.cookie-consent a { color: var(--aure-cyan); font-size: .78rem; font-weight: 800; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.cookie-actions button { min-height: 44px; flex: 0 0 auto; white-space: nowrap; cursor: pointer; }
.cookie-consent .secondary-action, .cookie-settings .secondary-action { border-color: rgba(147, 223, 229, .55); }
.cookie-consent .secondary-action { color: #fff; background: rgba(255, 255, 255, .08); }
.cookie-consent .next { border: 0; color: #fff; background: var(--aure-copper); }

.cookie-settings {
  width: min(620px, calc(100% - 24px));
  max-height: min(760px, calc(100vh - 24px));
  padding: clamp(1.1rem, 4vw, 1.7rem);
  overflow: auto;
  border: 1px solid var(--aure-line);
  border-radius: 18px;
  color: var(--aure-ink);
  background: #fff;
  box-shadow: var(--aure-shadow);
}
.cookie-settings::backdrop { background: rgba(7, 26, 43, .68); backdrop-filter: blur(3px); }
.cookie-settings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cookie-settings-head h2 { margin: 0; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 500; }
.cookie-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--aure-line); border-radius: 50%; color: var(--aure-navy); background: #fff; cursor: pointer; font-size: 1.45rem; }
.cookie-choice { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-top: .75rem; padding: .9rem; border: 1px solid var(--aure-line); border-radius: 12px; background: #f7f9f8; }
.cookie-choice b, .cookie-choice small { display: block; }
.cookie-choice small { margin-top: .15rem; color: var(--aure-muted); }
.cookie-choice input { width: 22px; min-height: 22px; margin: 0; accent-color: var(--aure-teal); }
.cookie-meta { color: var(--aure-muted); font-size: .78rem; }
.cookie-settings .cookie-actions { margin-top: 1rem; }

.legal-shell { width: min(860px, calc(100% - 2rem)); min-height: calc(100vh - 210px); margin: 0 auto; padding: clamp(2.2rem, 7vw, 5rem) 0; }
.legal-shell h1 { max-width: 18ch; font-size: clamp(2.5rem, 7vw, 5rem); }
.legal-shell h2 { margin-top: 2rem; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 500; }
.legal-shell p { max-width: 74ch; }
.legal-shell code { padding: .12rem .3rem; border-radius: 4px; background: rgba(11, 111, 142, .08); overflow-wrap: anywhere; }
.legal-review { padding: 1rem; border-left: 4px solid var(--aure-copper); background: rgba(199, 120, 74, .08); }

.quote-page { min-height: 100vh; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 1rem 0 0; background: radial-gradient(circle at 80% 10%, rgba(147, 223, 229, .25), transparent 30rem), var(--aure-paper); }
.quote-page .quote-browser { margin: 1rem; }
.quote-page .aure-footer { width: 100%; align-self: end; }
.quote-browser { width: min(680px, 100%); padding: clamp(1.6rem, 5vw, 3.5rem); border: 1px solid var(--aure-line); border-top: 8px solid var(--aure-navy); border-radius: 22px; background: #fff; box-shadow: var(--aure-shadow); }
.quote-browser h1 { font-size: clamp(2.1rem, 6vw, 4rem); }
.quote-status { width: fit-content; padding: .35rem .65rem; border-radius: 999px; color: #146646; background: #e5f5ec; font-size: .8rem; font-weight: 800; }
.quote-browser dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: 1.5rem 0; padding: 1rem; border-radius: 12px; background: #f7f9f8; }
.quote-browser dt { color: var(--aure-muted); }
.quote-browser dd { margin: 0; color: var(--aure-navy); text-align: right; font-weight: 800; }
.privacy-note { margin-top: 1.4rem; color: var(--aure-muted); font-size: .78rem; }

.portal-shell { width: min(1380px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.2rem, 6vw, 5rem) 0; }
.portal-heading { max-width: 820px; margin-bottom: 2rem; }
.portal-heading h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.portal-heading > p:not(.eyebrow, .portal-notice) { max-width: 68ch; color: var(--aure-muted); }
.portal-notice { min-height: 1.7rem; margin: 1rem 0 0; color: #146646; font-weight: 750; }
.portal-notice.failure { color: #a83f39; }
.portal-access, .portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.portal-card { min-width: 0; padding: clamp(1.15rem, 3vw, 1.8rem); border: 1px solid var(--aure-line); border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 36px rgba(7, 26, 43, .08); }
.portal-card h2, .portal-card h3 { margin-bottom: 1rem; color: var(--aure-navy); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.portal-card h2 { font-size: 1.7rem; }
.portal-card h3 { font-size: 1.35rem; }
.portal-card form { display: grid; gap: .8rem; }
.portal-card form + form { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--aure-line); }
.portal-card form > label { display: grid; gap: .3rem; color: var(--aure-navy); font-size: .8rem; font-weight: 750; }
.portal-card form .consent { display: flex; color: var(--aure-muted); }
.portal-card form button { justify-self: start; min-height: 46px; border: 0; cursor: pointer; }
.portal-card > small { display: block; margin: -.25rem 0 .8rem; color: var(--aure-muted); }
.text-action { margin-top: .7rem; padding: .35rem 0; border: 0; color: var(--aure-teal); background: transparent; cursor: pointer; font-weight: 750; }
.portal-dashboard { display: grid; gap: 1rem; }
.portal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 18px; color: #fff; background: var(--aure-navy); }
.portal-toolbar h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.portal-toolbar .eyebrow { margin-bottom: .2rem; color: var(--aure-cyan); }
.portal-toolbar > div:last-child { display: flex; flex-wrap: wrap; gap: .6rem; }
.portal-list { display: grid; gap: .65rem; }
.portal-row { min-width: 0; display: grid; gap: .2rem; padding: .75rem; border: 1px solid var(--aure-line); border-radius: 10px; background: #f7f9f8; }
.portal-row b { color: var(--aure-navy); }
.portal-row span, .portal-row small, .portal-empty, #portalReferral > span { overflow-wrap: anywhere; color: var(--aure-muted); }
.portal-row a { width: fit-content; color: var(--aure-teal); font-weight: 800; }
.portal-account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; padding-top: .4rem; }
.danger-action { min-height: 46px; padding: .7rem 1.05rem; border: 1px solid #a83f39; border-radius: 9px; color: #a83f39; background: #fff; cursor: pointer; font-weight: 800; }

@media (max-width: 920px) {
  .assistant-shell { grid-template-columns: 1fr; align-items: start; max-width: 760px; }
  .assistant-intro { max-width: 660px; }
  h1 { font-size: clamp(2.7rem, 10vw, 5rem); }
  .portal-grid { grid-template-columns: 1fr; }
  .estimator-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .kairos-header { min-height: 66px; }
  .brand-image { width: 40px; height: 40px; }
  .brand small { display: none; }
  .assistant-shell { width: min(100% - 1rem, 760px); padding: 2rem 0 5rem; }
  .assistant-intro { padding: 0 .5rem; }
  .assistant-top { min-height: 82px; }
  #kairosForm, .result { min-height: 530px; }
  .choice-grid, .choice-grid.compact, .input-grid { grid-template-columns: 1fr; }
  .choice-grid span { min-height: 75px; }
  .form-step { padding: 1.25rem; }
  .assistant-actions { position: sticky; bottom: 0; background: #fff; }
  .chat-launch { right: 12px; bottom: 12px; }
  .chat-panel { right: 8px; bottom: 70px; width: calc(100% - 16px); }
  footer { flex-direction: column; padding-bottom: 5rem; }
  .legal-links { align-items: flex-start; flex-direction: column; }
  .cookie-consent { align-items: stretch; flex-direction: column; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1 1 145px; }
  .cookie-settings .cookie-actions { flex-direction: column; }
  .cookie-settings .cookie-actions button { width: 100%; flex-basis: auto; }
  .quote-page .aure-footer { padding-bottom: 1.5rem; }
  .portal-shell { width: min(100% - 1rem, 760px); padding: 2rem 0 4rem; }
  .portal-access { grid-template-columns: 1fr; }
  .portal-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
