@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
/* Mobile header: user-requested compact, horizontal brand pair. */
@media screen and (max-width:720px){
 header .brand-pair{flex-wrap:nowrap!important;align-items:center;justify-content:space-between!important;gap:12px}
 header .broker-brand{flex:0 1 180px;min-width:0}
 header .broker-brand img{width:180px;min-width:0;max-width:100%;height:auto}
 header .operator-brand{flex:0 1 132px;min-width:0;margin-top:0;padding-left:12px}
 header .operator-brand img{width:120px;max-width:100%;height:auto}
}
:root{--ink:#182b50;--teal:#1539aa;--dark:#1539aa;--pale:#edf2ff;--line:#dfe5f2;--muted:#64718a;--bg:#f6f8fd}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:15px}button,input,select{font:inherit}button,a,summary,select{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}header{height:96px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(32px,calc((100vw - 1360px)/2))}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,Arial;font-weight:800;font-size:25px;letter-spacing:-1px}.brand-bottom{display:block;letter-spacing:3px;font-size:10px;margin-top:0}.mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--dark);color:#fff;font-size:44px;font-weight:400;line-height:1}.header-right{display:flex;align-items:center;gap:24px;font-size:13px}.private{border:1px solid var(--line);padding:7px 12px;border-radius:24px;color:var(--muted)}main{max-width:1360px;margin:0 auto;padding:44px 32px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:var(--teal);margin:0 0 10px}h1,h2,h3{font-family:Manrope,Arial,sans-serif}h1{font-size:32px;letter-spacing:-1.2px;margin:0 0 10px;font-weight:800}.intro p:not(.eyebrow){color:var(--muted);margin:0}.period{background:#fff1e7;border-radius:30px;font-size:12px;padding:10px 15px;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;background:var(--teal);border-radius:100%;margin-right:8px}.workspace{display:grid;grid-template-columns:365px 1fr;gap:28px;align-items:start}aside{background:white;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 8px 32px #182b5004}h2{font-size:18px;letter-spacing:-.5px;margin:0}.section-head{display:flex;gap:12px;align-items:center;margin-bottom:22px}.step{color:var(--teal);border:1px solid #dfe5f2;display:grid;place-items:center;width:29px;height:29px;border-radius:9px;font-size:11px;font-weight:700}label{display:block;font-size:12px;font-weight:600;margin-bottom:16px}input,select{display:block;border:1px solid var(--line);background:white;border-radius:9px;width:100%;height:44px;padding:0 11px;color:var(--ink);margin-top:7px;outline:none}input:focus,select:focus,button:focus-visible,summary:focus-visible{outline:3px solid #ff8800;outline-offset:2px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.divider{height:1px;background:var(--line);margin:22px 0}.hint{font-size:12px;color:var(--muted);line-height:1.65}.age-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #f2f4fa}.age-row label{margin:0;font-size:13px;font-weight:400}.age-row input{width:66px;height:32px;margin:0;text-align:center}.people-total{display:flex;justify-content:space-between;margin:20px 0;font-size:13px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:10px;padding:13px 18px;font-weight:600;border:1px solid transparent}.primary{background:var(--dark);color:white}.primary:hover{background:#102c83}.secondary{border-color:var(--line);background:white;color:var(--ink)}form>.primary{width:100%;justify-content:space-between}.text-button{display:block;border:0;background:none;color:var(--muted);margin:15px auto 0;font-size:12px}.results-head{display:flex;justify-content:space-between;align-items:center;margin:5px 0 22px}.results-head h2{font-size:24px}#result-count{font-size:12px;color:var(--muted)}#cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.empty{grid-column:1/-1;min-height:410px;border:1px dashed #c5d1ed;border-radius:20px;background:linear-gradient(140deg,#edf2ff,white);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:55px}.empty-mark{font-size:46px;background:#e0e8ff;color:var(--teal);width:72px;height:72px;border-radius:25px;display:grid;place-items:center}.empty h3{font-size:22px;margin:25px 0 10px}.empty p{max-width:390px;color:var(--muted);line-height:1.7}.plan-card{background:#fff;border:1px solid var(--line);padding:24px;border-radius:16px;position:relative}.plan-card.selected{border:2px solid var(--teal);padding:23px}.plan-card .tag{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:var(--teal);background:var(--pale);padding:5px 8px;display:inline-block;border-radius:5px}.plan-card h3{font-size:21px;margin:15px 0 5px}.plan-card .room{color:var(--muted);font-size:12px;margin:0 0 22px}.price{font-family:Manrope;font-size:30px;font-weight:800;letter-spacing:-1px}.per{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0}.breakdown{font-size:12px;display:flex;justify-content:space-between;margin-top:10px;color:var(--muted)}.plan-card button{width:100%;margin-top:22px}#proposal{background:white;border:1px solid var(--line);border-radius:18px;padding:28px;margin-top:25px}#proposal-content{font-size:13px;line-height:1.6}table{width:100%;border-collapse:collapse;margin:18px 0;font-size:12px}th{text-align:left;color:var(--muted);font-weight:500;padding:12px 8px;background:#edf2ff}td{padding:10px 8px;border-bottom:1px solid var(--line)}td:last-child,th:last-child{text-align:right}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.source-details{margin:26px 0;font-size:12px;color:var(--muted);line-height:1.8}.source-details summary{font-weight:600;color:var(--ink)}.notice{padding:14px 16px;border:1px solid #e3cf9a;border-radius:10px;background:#fff9e9;font-size:13px;line-height:1.6;margin-bottom:18px}footer{max-width:1296px;margin:0 auto;padding:28px 0;border-top:1px solid var(--line);font-size:10px;letter-spacing:1.5px;color:var(--muted);display:flex;justify-content:space-between}.total-line{display:flex;justify-content:space-between;background:var(--pale);padding:18px;border-radius:10px;font-weight:700;font-size:17px}.small{font-size:11px;color:var(--muted)}@media(max-width:1000px){.workspace{grid-template-columns:320px 1fr}#cards{grid-template-columns:1fr}.intro{align-items:start;gap:20px}.period{white-space:normal}h1{font-size:28px}}@media(max-width:720px){header{padding:0 20px;height:80px}.header-right a{display:none}main{padding:28px 18px}.intro{display:block}.period{display:inline-block;margin-top:20px}.workspace{grid-template-columns:1fr}.brand{font-size:21px}.results-head h2{font-size:21px}.empty{padding:30px;min-height:260px}h1{font-size:27px}.actions>*{width:100%}footer{margin:0 18px}.fields{gap:8px}#proposal{padding:20px}table{font-size:11px}td,th{padding:8px 4px}footer span{display:none}}@media print{body{background:white}header,aside,.intro,.results-head,#cards,.source-details,footer,#notice,.actions,#proposal>label,#proposal>.hint{display:none!important}main{padding:0;max-width:none}.workspace{display:block}#proposal{display:block!important;border:0;padding:0;margin:0}#proposal>.section-head{display:none}#proposal-content{font-size:12px}table{break-inside:avoid}.total-line{print-color-adjust:exact}}

/* Hapvida brandbook, page 56: blue #1539AA, orange #FF4E05. */
header{height:148px;border-top:4px solid #ff4e05}.brand-pair{display:flex;align-items:center;gap:28px}.broker-brand{display:flex;flex-direction:column;gap:10px}.broker-brand img{width:280px;height:auto;display:block}.broker-brand span{font-size:12px;letter-spacing:.15px;color:var(--muted)}.operator-brand{padding-left:28px;border-left:1px solid var(--line);display:flex;align-items:center}.operator-brand img{width:158px;height:auto;display:block}.period .dot{background:#ff4e05}.step{background:#fff5ec;border-color:#ffddc8;color:#9d3400}.admission-note{font-size:12px;line-height:1.5;color:var(--muted);margin:7px 0 0}.proposal-branding{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:22px}.proposal-branding .broker-brand img{width:240px}.proposal-branding>img{width:135px;height:auto}.proposal-branding .broker-brand span{font-size:12px} .total-line{border-left:3px solid #ff4e05}
@media(max-width:1000px){.header-right{gap:12px}.header-right>a{display:none}}
@media(max-width:720px){header{height:auto;min-height:100px;padding:20px 18px}.brand-pair{width:100%;gap:16px;justify-content:space-between}.broker-brand img{width:210px;max-width:100%}.operator-brand{padding-left:16px}.operator-brand img{width:108px}.header-right{display:none}.broker-brand span{font-size:12px}.proposal-branding{gap:16px}.proposal-branding .broker-brand img{width:195px}.proposal-branding>img{width:105px}}
@media(max-width:400px){.brand-pair{gap:10px}.broker-brand img{width:182px}.operator-brand{padding-left:10px}.operator-brand img{width:94px}.broker-brand span{font-size:11px}.proposal-branding{flex-wrap:wrap}.proposal-branding>img{width:105px}}

[hidden]{display:none!important}.plan-picks{display:flex;flex-wrap:wrap;gap:8px;margin:-5px 0 17px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbff}.plan-picks-title{width:100%;font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.2px}.plan-pick{display:flex;align-items:center;gap:6px;margin:0;padding:7px 9px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:12px;font-weight:500;cursor:pointer}.plan-pick input{width:15px;height:15px;margin:0;accent-color:var(--teal)}.recipient-fields{border:1px solid var(--line);border-radius:12px;margin:4px 0 22px;padding:16px 14px 0}.recipient-fields legend{font-weight:600;font-size:13px;padding:0 6px}.waiting-summary{margin:28px 0;padding-top:20px;border-top:1px solid var(--line)}.broker-brand img,.proposal-branding .broker-brand img{min-width:244px} @media(max-width:720px){header .brand-pair{flex-wrap:wrap;justify-content:flex-start}.operator-brand{margin-top:8px}.proposal-branding{flex-wrap:wrap}footer span{display:inline;letter-spacing:0}footer{gap:12px;flex-wrap:wrap}}

.proposal-conditions{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}.proposal-conditions h4{margin:28px 0 14px}.comparison-scroll{overflow-x:auto;margin-bottom:20px}.comparison-table{min-width:520px}.comparison-table th,.comparison-table td{text-align:left;vertical-align:top;white-space:normal;min-width:145px}.comparison-table th[scope="row"]{font-weight:500;min-width:180px}.comparison-scroll:focus-visible{outline:2px solid #3157D5;outline-offset:3px}

/* Sticky mobile branding; desktop and print retain their layout. */
@media screen and (max-width:720px){
 body>header{position:sticky;top:0;z-index:100;min-height:0;height:88px;padding:12px 18px;transition:height .18s ease,padding .18s ease}
 body>header .broker-brand img,body>header .operator-brand img{transition:width .18s ease}
 body>header.is-compact{height:64px;padding:7px 18px}
 body>header.is-compact .broker-brand img{width:150px}
 body>header.is-compact .operator-brand img{width:100px}
 .intro h1{font-size:clamp(16px,4.8vw,24px);letter-spacing:-.6px;line-height:1.25;white-space:nowrap}
 html{scroll-padding-top:76px}
}
@media(prefers-reduced-motion:reduce){body>header,body>header .broker-brand img,body>header .operator-brand img{transition:none}}

/* Keep quote amounts and both marks inside narrow mobile viewports. */
@media screen and (max-width:720px){
 body>header .brand-pair{flex-wrap:nowrap;justify-content:space-between;gap:12px;min-width:0}
 body>header .broker-brand{flex:1 1 auto;min-width:0}
 body>header .broker-brand img{width:100%;min-width:0;max-width:180px}
 body>header .operator-brand{flex:0 1 38%;min-width:0;margin:0;padding-left:12px}
 body>header .operator-brand img{width:100%;min-width:0;max-width:120px}
 main,#cards,.plan-card{min-width:0}
 #cards{grid-template-columns:minmax(0,1fr)}
 .results-head{gap:10px;min-width:0}
 .results-head h2{font-size:19px;min-width:0}
 #result-count{white-space:nowrap;font-size:11px}
 .plan-card,.plan-card.selected{padding:16px}
 .price{font-size:clamp(20px,6.3vw,27px);letter-spacing:-.65px;white-space:nowrap}
 .per{font-size:11px}
 .breakdown{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
 .breakdown>span:first-child{min-width:0;overflow-wrap:anywhere}
 .breakdown>span:last-child{white-space:nowrap}
}
@media screen and (max-width:360px){
 body>header{padding-left:14px;padding-right:14px}
 body>header .brand-pair{gap:9px}
 body>header .operator-brand{padding-left:9px}
 body>header.is-compact .broker-brand img{width:138px}
 body>header.is-compact .operator-brand img{width:88px}
 main{padding-left:14px;padding-right:14px}
 .plan-card,.plan-card.selected{padding:14px}
 .price{font-size:20px}
}

/* Reduce the desktop brand band while leaving the mobile header unchanged. */
@media screen and (min-width:721px){
 body>header{height:89px;position:sticky;top:0;z-index:100}
 body>header .broker-brand img{width:150px;min-width:0}
}
