.hospital-section.white{background:var(--white)}
.hospital-top{padding:42px 0 48px}.hospital-top h1{max-width:970px;font-size:clamp(2.35rem,4.1vw,3.8rem)}.hospital-top .lead{max-width:840px}.hospital-top .actions{margin-top:24px}.hospital-section{padding:62px 0}.hospital-section h2{font-size:clamp(2rem,3vw,2.9rem)}.hospital-summary{display:grid;grid-template-columns:1.15fr 1fr;gap:42px;align-items:start}.hospital-summary p{margin-top:18px}.hospital-rates{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);background:var(--paper)}.hospital-rates div{padding:24px}.hospital-rates div+div{border-left:1px solid var(--line)}.hospital-rates strong{display:block;font:400 2.5rem Editorial,Georgia,serif;color:var(--navy)}.hospital-rates span{font-size:1rem}.hospital-rates small{display:block;font-size:.875rem;color:var(--muted)}.hospital-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:30px;margin-top:28px;align-items:start}.hospital-form{padding:28px;border:1px solid var(--line);background:#F0ECE1}.hospital-form label{display:block;font-size:1rem;font-weight:600;margin-bottom:8px}.hospital-form input[type=number],.hospital-form select{width:100%;min-height:50px;padding:10px 12px;border:1px solid #9daab4;background:var(--white);color:var(--ink);border-radius:2px}.hospital-form .form-field{margin-bottom:22px}.hospital-form .form-hint{font-size:.875rem;line-height:1.55;margin-top:8px}.hospital-form .hc-check{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:.875rem;line-height:1.55;margin:0}.hc-check input{margin-top:5px;width:18px;height:18px;flex:none;accent-color:var(--navy)}.hc-output{background:var(--navy);color:#fff;padding:30px}.hc-output .eyebrow{color:#d0bd81;margin-bottom:10px}.hc-output p{color:#d5dfe6}.hc-output .hc-main{font:400 clamp(2rem,3.6vw,3rem) Editorial,Georgia,serif;display:block;margin:10px 0}.hc-kpis{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #ffffff35;padding-top:20px;margin-top:22px}.hc-kpis span{display:block;font-size:.875rem;color:#d5dfe6}.hc-kpis strong{display:block;font-size:1.15rem;margin-top:5px}.hc-status{font-size:1rem;padding:18px 20px;border:1px solid var(--line);background:#F0ECE1;margin-bottom:18px}.hc-comparison{border:1px solid var(--line);background:#F0ECE1;padding:24px;margin-top:20px}.hc-comparison h3{font-size:1.5rem;margin-bottom:18px}.hc-bar-row{margin:18px 0}.hc-bar-label{display:flex;justify-content:space-between;gap:12px;font-size:.875rem}.hc-bar-track{height:10px;background:var(--paper);margin-top:8px}.hc-bar{height:100%;background:var(--navy);transition:width .2s}.hc-bar.after{background:var(--gold-ink)}.hc-table-scroll{overflow-x:auto}.hc-table{width:100%;border-collapse:collapse;font-size:.875rem;margin:18px 0}.hc-table th,.hc-table td{text-align:left;padding:10px 7px;border-bottom:1px solid var(--line)}.hc-table td:not(:first-child),.hc-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.hc-memory summary{font-weight:600;cursor:pointer;padding:12px 0}.hc-memory p{font-size:.875rem;margin:10px 0}.hc-notice{font-size:.875rem;margin-top:20px;max-width:920px}.hospital-copy section+section{margin-top:35px}.hospital-copy h3{margin-bottom:14px}.hospital-copy p+p{margin-top:16px}.hospital-copy ul{margin-top:15px}.hospital-inline{display:flex;gap:24px;flex-wrap:wrap;margin-top:24px}.ebook-section{padding:60px 0;background:var(--paper)}.ebook-section h2{font-size:clamp(2rem,3vw,2.9rem);margin-bottom:28px}.ebook-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:32px;max-width:940px;align-items:center;background:#F0ECE1;border:1px solid var(--line);padding:28px}.ebook-card img{width:180px;box-shadow:0 8px 20px #09243e18}.ebook-card h3{font-size:clamp(1.65rem,2.5vw,2rem)}.ebook-card p{margin-top:16px}.ebook-card .ebook-meta{font-size:.875rem;color:var(--gold-ink)}.ebook-card .actions{margin-top:22px;gap:12px}.hospital-article .article-meta{margin-bottom:24px;font-size:.875rem}.hospital-article .source-links{display:flex;flex-direction:column;gap:14px}.hospital-article .source-links a{text-decoration:underline;overflow-wrap:anywhere}.nav-feature{display:block;margin-top:14px;font-size:.9rem;color:var(--gold-ink)}
@media(max-width:800px){.hospital-summary,.hospital-layout{grid-template-columns:1fr}.hospital-top{padding:30px 0}.hospital-section{padding:42px 0}.hospital-summary{gap:25px}.hospital-form,.hc-output,.hc-comparison{padding:22px}.ebook-card{grid-template-columns:130px minmax(0,1fr);gap:24px}.ebook-card img{width:130px}}
@media(max-width:520px){.ebook-card{grid-template-columns:1fr;padding:22px}.ebook-card img{width:150px}.hc-kpis{gap:16px}.hc-bar-label{flex-direction:column;gap:2px}.hospital-rates div{padding:20px}.hospital-form{padding:20px}.hc-table{font-size:.875rem}.hospital-top .actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){.hc-bar{transition:none}}
.hc-section{background:var(--paper)}.hc-heading{text-align:center;margin-bottom:36px}.hc-heading .eyebrow{margin-bottom:12px}.hc-heading h2{margin-bottom:15px}.hc-shell{background:#F0ECE1;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 18px 55px #09243e0b;max-width:1120px;margin:auto}.hc-shell-header{padding:28px 34px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--line)}.hc-shell-header h3{font-family:Interface,Arial,sans-serif;font-weight:600;font-size:1.3rem;letter-spacing:-.015em}.hc-shell-header p{font-size:.875rem;margin-top:7px}.hc-live{border:1px solid #d8dbd8;border-radius:30px;white-space:nowrap;font-size:.8125rem;padding:8px 13px;color:var(--navy);background:var(--paper)}.hc-shell .hospital-layout{margin:0;gap:0;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.hc-shell .hospital-form{border:0;border-right:1px solid var(--line);padding:32px 34px;background:#F0ECE1}.hc-control{margin-bottom:30px}.hc-control-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.hc-control-head label{margin:0;font-size:1rem;line-height:1.4}.hc-control-head p{font-size:.8125rem;margin-top:5px;line-height:1.45}.hc-value{display:flex;align-items:center;gap:5px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px 10px;flex:none;color:var(--navy);font-size:1.1rem;font-weight:600}.hc-shell .hc-value input{border:0;background:transparent;min-height:30px;height:30px;width:52px;text-align:right;padding:0;border-radius:0;color:var(--navy);font-size:1.1rem;font-weight:600;appearance:textfield;-moz-appearance:textfield}.hc-shell .hc-value input::-webkit-inner-spin-button,.hc-shell .hc-value input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.hc-shell .hc-value-money input{width:88px;font-size:1rem}.hc-value-money span{font-size:.875rem}.hc-range{--range-fill:50%;display:block;width:100%;height:7px;border:0;border-radius:20px;appearance:none;background:linear-gradient(to right,var(--navy) 0%,var(--navy) var(--range-fill),#e5e9ec var(--range-fill),#e5e9ec 100%);margin:0;cursor:pointer}.hc-range::-webkit-slider-thumb{appearance:none;width:19px;height:19px;border:3px solid #fff;border-radius:50%;background:var(--navy);box-shadow:0 0 0 1px var(--navy),0 2px 7px #09243e25}.hc-range::-moz-range-thumb{width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:var(--navy);box-shadow:0 0 0 1px var(--navy)}.hc-range-labels{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--muted);margin-top:13px}.hospital-form .hc-inline-check{display:flex;align-items:center;gap:9px;font-size:.875rem;font-weight:400;margin-top:15px}.hc-inline-check input{width:16px;height:16px;accent-color:var(--navy)}.hc-premises{border-top:1px solid var(--line);padding-top:15px;margin-top:6px}.hc-premises summary{font-size:.875rem;color:var(--muted);cursor:pointer;margin-bottom:12px}.hc-premises p{font-size:.875rem}.hc-contact{width:100%;margin-top:18px;border-radius:8px;min-height:52px}.hc-results-column{padding:32px;background:var(--paper)}.hc-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hc-result-card{padding:22px 18px;border:1px solid var(--line);background:#F0ECE1;border-radius:12px;min-height:150px;display:flex;flex-direction:column;justify-content:center}.hc-result-card>span{font-size:.8125rem;font-weight:600;color:var(--muted);line-height:1.5}.hc-result-card strong{display:block;font-size:clamp(1.4rem,2.15vw,1.95rem);line-height:1.25;color:var(--navy);margin:12px 0 10px;letter-spacing:-.045em;white-space:nowrap;font-variant-numeric:tabular-nums}.hc-result-card small{font-size:.8125rem;color:var(--muted);line-height:1.5}.hc-result-card.hc-featured{background:var(--navy);border-color:var(--navy)}.hc-featured>span,.hc-featured small{color:#dce5ec}.hc-featured strong{color:#fff}.hc-five-year{margin-top:18px;border:1px solid #cfbd87;background:#f4f0e5;border-radius:12px;padding:23px}.hc-five-year span{font-size:.875rem;font-weight:600;color:var(--gold-ink);display:block}.hc-five-year strong{display:block;font-size:1.85rem;line-height:1.2;color:var(--navy);letter-spacing:-.035em;margin-top:10px}.hc-five-year p{font-size:.8125rem;margin-top:12px;line-height:1.6}.hc-results-column .hc-memory{margin-top:16px;font-size:.875rem}.hc-shell-foot{border-top:1px solid var(--line);padding:18px 34px;font-size:.8125rem;line-height:1.6;color:var(--muted)}
@media(max-width:1000px){.hc-shell .hospital-layout{grid-template-columns:1fr 1fr}.hc-shell .hospital-form,.hc-results-column{padding:25px}.hc-control-head{align-items:flex-start;gap:10px}.hc-result-grid{gap:10px}.hc-result-card{padding:18px 13px}.hc-result-card strong{font-size:1.5rem}.hc-control-head label{font-size:.9375rem}}
@media(max-width:800px){.hc-shell .hospital-layout{grid-template-columns:1fr}.hc-shell .hospital-form{border-right:0;border-bottom:1px solid var(--line)}.hc-shell-header{padding:24px;flex-direction:column;align-items:flex-start;gap:15px}.hc-result-card strong{font-size:1.85rem}.hc-shell-foot{padding:18px 24px}.hc-heading{text-align:left}.hc-shell-header h3{font-size:1.2rem}}
@media(max-width:420px){.hc-shell .hospital-form,.hc-results-column{padding:22px 18px}.hc-result-card{padding:17px 12px;min-height:160px}.hc-result-card strong{font-size:1.4rem}.hc-control-head label{max-width:175px}.hc-result-card>span,.hc-result-card small{font-size:.8125rem}.hc-five-year{padding:20px}}

/* Enquadramento: hierarquia editorial e contraste da identidade do site. */
.hospital-review{padding:80px 0;background:var(--white);border-top:1px solid var(--line)}
.hr-heading{max-width:760px;margin-bottom:36px}
.hr-heading .eyebrow,.hospital-questions .eyebrow,.hospital-update .eyebrow{margin-bottom:14px}
.hr-heading h2,.hospital-questions h2,.hospital-update h2{font-size:clamp(2rem,3vw,2.9rem);line-height:1.15;color:var(--navy)}
.hr-heading>p:last-child{margin-top:20px;max-width:660px}
.hospital-review p,.hospital-questions p,.hospital-update p{font-size:1rem;line-height:1.7}
.hr-criteria{background:var(--navy);color:#fff;padding:38px 40px;border-top:3px solid var(--gold)}
.hr-criteria ol{display:grid;grid-template-columns:1fr 1fr;gap:30px 44px;list-style:none;margin:0;padding:0}
.hr-criteria li{display:flex;gap:18px;padding:0;margin:0;min-width:0}
.hr-number{font-size:.8125rem;line-height:1.5;color:#d8c58d;border:1px solid #ffffff35;width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:none;margin-top:2px}
.hr-criteria h3,.hr-info-card h3{font:600 1.125rem/1.4 Interface,Arial,sans-serif;letter-spacing:0}
.hr-criteria h3{color:#fff;margin-bottom:9px}
.hr-criteria li p{color:#dce5ec}
.hr-criteria .hr-criteria-note{color:#dce5ec;border-top:1px solid #ffffff30;padding-top:24px;margin-top:30px}
.hr-dental{display:grid;grid-template-columns:.8fr 1.7fr;gap:48px;margin-top:28px;padding:36px 40px;background:#f4f0e5;border:1px solid #ddd1ad;border-left:3px solid var(--gold)}
.hr-dental .eyebrow{margin-bottom:12px}
.hr-dental h3{font:600 1.125rem/1.4 Interface,Arial,sans-serif;letter-spacing:0;color:var(--navy)}
.hr-dental p+p{margin-top:18px}
.hr-dental>div:last-child p{color:var(--ink)}
.hr-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px}
.hr-info-card{padding:34px 36px;border:1px solid var(--line);background:#F0ECE1;display:flex;flex-direction:column;align-items:flex-start}
.hr-info-card .eyebrow{font-size:.75rem;margin-bottom:12px}
.hr-info-card h3{color:var(--navy);margin-bottom:18px}
.hr-info-card>p:not(.eyebrow){color:var(--ink)}
.hr-info-card .hr-card-note{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;color:var(--muted)!important}
.hospital-questions{padding:76px 0;background:var(--paper);border-top:1px solid var(--line)}
.hr-faq-layout{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr);gap:70px;align-items:start}
.hr-faq-layout header>p:not(.eyebrow){margin-top:20px;max-width:340px}
.hr-faq-layout .text-link{margin-top:22px;color:var(--gold-ink);white-space:normal}
.hr-faq-layout .faq-list{border-top:1px solid #b9c1c7}
.hr-faq-layout .faq-list details{border-bottom:1px solid #b9c1c7;margin:0;background:transparent}
.hr-faq-layout .faq-list summary{font:600 1rem/1.5 Interface,Arial,sans-serif;letter-spacing:0;color:var(--navy);padding:23px 36px 23px 0;min-height:68px}
.hr-faq-layout .faq-list details[open] summary{color:var(--navy)}
.hr-faq-layout .faq-list p{padding:0 36px 24px 0;margin:0;color:var(--ink);max-width:none}
.hospital-update{padding:0 0 56px;background:var(--paper);color:var(--navy)}
.hr-update-inner{display:flex;align-items:center;justify-content:space-between;gap:50px;background:#c6d9e8;padding:36px 40px;border-top:3px solid var(--gold)}
.hr-update-inner>div{max-width:730px}
.hospital-update .eyebrow{color:#6d5522}
.hospital-update h2{color:var(--navy);font-size:clamp(1.75rem,2.5vw,2.2rem)}
.hospital-update p:not(.eyebrow){margin-top:16px;color:var(--navy-soft)}
.hr-update-inner .button{flex:none}
@media(max-width:1000px){.hr-faq-layout{gap:40px}.hr-dental{gap:30px}.hr-info-card{padding:28px}}
@media(max-width:800px){.hospital-review,.hospital-questions{padding:48px 0}.hr-heading{margin-bottom:28px}.hr-criteria{padding:28px}.hr-criteria ol{grid-template-columns:1fr;gap:24px}.hr-dental{grid-template-columns:1fr;gap:20px;padding:28px}.hr-card-grid{grid-template-columns:1fr;gap:20px}.hr-faq-layout{grid-template-columns:1fr;gap:30px}.hr-faq-layout header>p:not(.eyebrow){max-width:600px}.hospital-update{padding-bottom:40px}.hr-update-inner{align-items:flex-start;flex-direction:column;gap:24px;padding:28px}.hr-info-card .hr-card-note{margin-top:20px}}
@media(max-width:420px){.hr-criteria,.hr-dental,.hr-info-card{padding:24px 20px}.hr-criteria li{gap:14px}.hr-number{width:28px;height:28px}.hr-faq-layout .faq-list p{padding-right:0}.hr-update-inner .button{width:100%}}

/* Allow calculator content to shrink inside its grid on narrow screens. */
.hc-shell,.hc-shell .hospital-layout,.hc-shell .hospital-form,.hc-results-column,#hospital-results,.hc-result-card,.hc-control-head>div,.hc-memory,.hc-table-scroll{min-width:0;max-width:100%}
.hc-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hc-range{min-width:0}
.hc-shell-header>div{min-width:0}
.hc-shell h3,.hc-shell p,.hc-shell summary,.hc-result-card>span,.hc-result-card small{overflow-wrap:anywhere}
@media(max-width:800px){
  .hc-shell .hospital-layout{grid-template-columns:minmax(0,1fr)}
  .hc-live{white-space:normal}
  .hc-result-card strong,.hc-five-year strong{white-space:normal;overflow-wrap:anywhere}
  .hc-table-scroll{width:100%;overscroll-behavior-x:contain}
}
@media(max-width:600px){
  .hc-result-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .hc-result-card{min-height:0;padding:22px}
  .hc-result-card strong{font-size:1.85rem;margin:10px 0 8px}
  .hc-shell .hospital-form,.hc-results-column{padding:24px 20px}
}
@media(max-width:520px){
  .hc-control-head{flex-direction:column;align-items:stretch;gap:12px}
  .hc-control-head label{max-width:none;font-size:1rem}
  .hc-control-head .hc-value{align-self:flex-start;max-width:100%;min-height:46px}
  .hc-shell .hc-value input{font-size:1rem}
  .hc-shell .hc-value-money input{width:108px}
  .hc-shell-header{padding:22px 20px}
  .hc-shell-foot{padding:18px 20px}
  .hc-five-year{padding:22px}
}
@media(max-width:360px){
  .hc-shell .hospital-form,.hc-results-column{padding:22px 16px}
  .hc-result-card,.hc-five-year{padding:20px 16px}
  .hc-result-card strong,.hc-five-year strong{font-size:1.6rem}
}


/* Centered resource section and the shared palette for health services. */
.ebook-section.bordered { background: var(--blue-gray); border: 0; padding: 70px 0; }
.ebook-section > .wrap > .eyebrow { text-align: center; margin-bottom: 14px; font-size: .875rem; }
.ebook-section > .wrap > h2 { text-align: center; max-width: 1000px; margin: 0 auto 32px; color: var(--navy); }
.ebook-section .ebook-card {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 36px;
  padding: 32px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 24px #09243e08;
}
.ebook-section .ebook-card > a { display: block; width: 100%; max-width: 180px; justify-self: center; }
.ebook-section .ebook-card > div { min-width: 0; }
.ebook-section .ebook-card img { display: block; width: 100%; height: auto; }
.ebook-section .ebook-card h3 { color: var(--navy); line-height: 1.25; }
.ebook-section .ebook-card p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.ebook-section .ebook-card .ebook-meta { color: var(--gold-ink); font-size: .875rem; }
.ebook-section .ebook-card .actions { gap: 12px; align-items: center; }
.hospital-rates,
.hc-section,
.hc-live,
.hc-value,
.hc-results-column,
.hospital-questions { background: var(--blue-gray); }
.hc-live { border-color: var(--line); font-size: .875rem; }
.hc-five-year,
.hr-dental { background: var(--blue-gray); border-color: var(--line); border-left: 3px solid var(--gold); }
.hc-five-year span { color: var(--gold-ink); }
.hc-five-year strong { color: var(--navy); }
.hospital-update { background: var(--white); }
.hr-number { color: #d0bd81; }
.hr-dental .eyebrow,
.hr-info-card .eyebrow,
.hospital-questions .eyebrow,
.hospital-update .eyebrow { font-size: .875rem; }

@media (max-width: 800px) {
  .ebook-section .ebook-card { grid-template-columns: 130px minmax(0,1fr); gap: 26px; padding: 26px; }
  .ebook-section .ebook-card > a { max-width: 130px; }
}
@media (max-width: 600px) {
  .ebook-section.bordered { padding: 56px 0; }
  .ebook-section > .wrap > h2 { margin-bottom: 26px; }
  .ebook-section .ebook-card { grid-template-columns: minmax(0,1fr); gap: 26px; padding: 24px; }
  .ebook-section .ebook-card > a { max-width: 170px; }
  .ebook-section .ebook-card > div { text-align: center; }
  .ebook-section .ebook-card .actions { justify-content: center; }
}

/* Calculator charts share the site's navy, gold and blue-gray palette. */
.hc-shell [hidden]{display:none!important}
.hc-result-card strong{white-space:normal;overflow-wrap:anywhere}
.hc-memory .hc-table caption{text-align:left;font-weight:600;margin-bottom:8px;color:var(--navy)}
.hc-table td{white-space:nowrap}
.hc-table .hc-total-row{font-weight:600;color:var(--navy);background:var(--blue-gray)}
.hc-source-links a{text-decoration:underline;text-underline-offset:3px}
.hc-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:30px 34px;border-top:1px solid var(--line);background:var(--blue-gray)}
.hc-chart{margin:0;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--white);min-width:0}
.hc-chart figcaption{min-height:88px}
.hc-chart h4{margin:0;font:600 1.0625rem/1.5 Interface,Arial,sans-serif;letter-spacing:0;color:var(--navy)}
.hc-chart figcaption p{font-size:.875rem;line-height:1.6;margin-top:7px;color:var(--muted)}
.hc-column-plot,.hc-line-plot{display:grid;grid-template-columns:3.75rem minmax(0,1fr);gap:12px 8px;margin-top:22px;--hc-line-color:var(--gold-ink)}
.hc-y-axis{position:relative;height:224px;font-size:.875rem;line-height:1;color:var(--muted);font-variant-numeric:tabular-nums}
.hc-y-axis span{position:absolute;right:0;transform:translateY(-50%)}
.hc-y-axis span:nth-child(1){top:0}.hc-y-axis span:nth-child(2){top:25%}.hc-y-axis span:nth-child(3){top:50%}.hc-y-axis span:nth-child(4){top:75%}.hc-y-axis span:nth-child(5){top:100%}
.hc-bars,.hc-line-canvas{height:224px;min-width:0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--line) calc(25% - 1px),var(--line) 25%)}
.hc-bars{display:flex;align-items:stretch;gap:16px;padding:0 16px}
.hc-bar-slot{flex:1;display:flex;align-items:flex-end;min-width:0}
.hc-chart-bar{width:100%;max-width:76px;margin-inline:auto;min-height:0;border-radius:5px 5px 0 0;transition:height .2s}
.hc-color-reference{background:#638097}
.hc-color-qualified{background:var(--gold-ink)}
.hc-axis-unit{font-size:.875rem;color:var(--muted);text-align:right}
.hc-bar-labels{display:flex;gap:12px;text-align:center;color:var(--navy);font-size:.875rem;line-height:1.5;padding:0 10px}
.hc-bar-labels span{flex:1;min-width:0;overflow-wrap:anywhere}
.hc-chart-legend{margin:22px 0 0;padding:0;border-top:1px solid var(--line)}
.hc-chart-legend>div{padding-top:14px}
.hc-chart-legend dt{font-size:.875rem;line-height:1.55;color:var(--ink);display:flex;align-items:baseline;gap:9px}
.hc-chart-legend i{width:10px;height:10px;flex:none;display:inline-block;border-radius:2px}
.hc-chart-legend dd{font-size:.875rem;line-height:1.55;font-weight:600;font-variant-numeric:tabular-nums;color:var(--navy);margin:4px 0 0 19px;overflow-wrap:anywhere}
.hc-line-canvas svg{display:block;width:100%;height:100%;overflow:visible}
.hc-line{fill:none;stroke:var(--hc-line-color);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.hc-line-area{fill:var(--hc-line-color);opacity:.1}
.hc-year-labels{position:relative;min-height:1.5em;font-size:.875rem;line-height:1.5;color:var(--navy)}
.hc-year-labels span{position:absolute;top:0;transform:translateX(-50%)}
.hc-year-labels span:nth-child(1){left:0;transform:none}.hc-year-labels span:nth-child(2){left:20%}.hc-year-labels span:nth-child(3){left:40%}.hc-year-labels span:nth-child(4){left:60%}.hc-year-labels span:nth-child(5){left:80%}.hc-year-labels span:nth-child(6){left:100%;transform:translateX(-100%);white-space:nowrap}
.hc-projection-values{margin:22px 0 0;border-top:1px solid var(--line);font-size:.875rem}
.hc-projection-values>div{display:flex;justify-content:space-between;gap:12px;margin-top:10px}
.hc-projection-values dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;color:var(--navy);overflow-wrap:anywhere;text-align:right}
.hc-chart-note{font-size:.8125rem;line-height:1.6;margin-top:16px;color:var(--muted)}
@media(max-width:1000px){.hc-charts{padding:25px;gap:18px}.hc-chart{padding:20px}}
@media(max-width:800px){.hc-charts{grid-template-columns:minmax(0,1fr);padding:24px}.hc-chart figcaption{min-height:0}.hc-chart-bar{max-width:90px}}
@media(max-width:520px){.hc-charts{padding:24px 20px;gap:18px}.hc-chart{padding:20px 16px}.hc-column-plot,.hc-line-plot{grid-template-columns:3.25rem minmax(0,1fr);gap:12px 6px}.hc-bars{gap:12px;padding:0 8px}.hc-bar-labels{padding:0;gap:8px}.hc-chart-legend dd{margin-left:0}}
@media(max-width:360px){.hc-charts{padding:22px 16px}.hc-chart{padding:20px 12px}.hc-bars{gap:8px;padding:0 6px}}
@media(prefers-reduced-motion:reduce){.hc-chart-bar{transition:none}}

.hc-result-card>span,.hc-result-card small{font-size:.875rem}
.hc-plot-axis-name{grid-column:2;font-size:.875rem;text-align:right;color:var(--muted);margin-top:-4px}

/* Distinct light backgrounds for the two presumption rates. */
.hospital-rates{background:#dce8f2;border-color:var(--line);border-radius:8px;overflow:hidden;color:var(--navy)}
.hospital-rates span{color:var(--navy);font-size:1rem}
.hospital-rates strong{color:var(--navy);margin:10px 0;font-size:2.75rem;line-height:1.15}
.hospital-rates small{color:var(--navy);font-size:.875rem}
.hospital-rates div+div{background:var(--white);border-left-color:var(--line)}
.hospital-rates div+div span,.hospital-rates div+div strong,.hospital-rates div+div small{color:var(--navy)}
.hc-result-card.hc-featured-gold{background:#d0bd81;border-color:#d0bd81}
.hc-featured-gold>span,.hc-featured-gold strong,.hc-featured-gold small{color:var(--navy)}

/* The calculation memory is a centered section after the calculator and charts. */
.hc-memory-section{padding:0 0 64px;background:var(--blue-gray)}
.hc-memory-card{max-width:1000px;margin-inline:auto;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white);box-shadow:0 12px 35px #09243e08}
.hc-memory-header{padding:30px 36px;text-align:center;background:var(--navy)}
.hc-memory-header .eyebrow{color:#d0bd81;font-size:.875rem;margin-bottom:10px}
.hc-memory-header h2{color:var(--white);font-size:clamp(1.75rem,3vw,2.4rem);line-height:1.2}
.hc-memory-header>p:last-child{color:#dce5ec;font-size:1rem;line-height:1.6;margin:14px auto 0;max-width:700px}
.hc-memory-body{padding:32px 36px;min-width:0;max-width:100%}
.hc-memory-summary{text-align:center;font-size:1rem;color:var(--navy);margin-bottom:24px}
.hc-memory-summary strong{font-variant-numeric:tabular-nums;white-space:normal}
.hc-memory-card .hc-table{margin:0 auto;width:100%;font-size:1rem;table-layout:fixed}
.hc-memory-card .hc-table caption{text-align:center;font-size:.9375rem;font-weight:600;color:var(--navy);padding-bottom:18px}
.hc-memory-card .hc-table th,.hc-memory-card .hc-table td{padding:16px 14px;overflow-wrap:anywhere;white-space:normal}
.hc-memory-card .hc-table thead{background:var(--navy);color:var(--white)}
.hc-memory-card .hc-table thead th{font-size:.9375rem;line-height:1.5;font-weight:600;border-color:#ffffff30}
.hc-memory-card .hc-table th:first-child{width:40%;text-align:left}
.hc-memory-card .hc-table td,.hc-memory-card .hc-table thead th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.hc-memory-card .hc-table tbody th{font-weight:600;line-height:1.5}
.hc-memory-card .hc-table .hc-total-row{background:var(--blue-gray);color:var(--navy)}
.hc-memory-card .hc-total-row>th{box-shadow:inset 3px 0 0 var(--gold)}
.hc-memory-notes{margin:30px auto 0;padding-top:26px;border-top:1px solid var(--line);max-width:860px}
.hc-memory-notes p{font-size:1rem;line-height:1.7;margin-top:18px;overflow-wrap:anywhere}
.hc-memory-notes p:first-child{margin-top:0}
.hc-memory-notes .hc-source-links{font-size:.875rem}
@media(max-width:800px){.hc-memory-section{padding-bottom:48px}.hc-memory-header{padding:28px 24px}.hc-memory-body{padding:28px 24px}.hc-memory-card .hc-table th,.hc-memory-card .hc-table td{padding:14px 12px}}
@media(max-width:600px){
  .hc-memory-header{padding:26px 20px}
  .hc-memory-body{padding:24px 20px}
  .hc-memory-card .hc-table,.hc-memory-card .hc-table caption,.hc-memory-card .hc-table tbody{display:block;width:100%}
  .hc-memory-card .hc-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .hc-memory-card .hc-table tbody tr{display:block;border:1px solid var(--line);border-radius:6px;margin-bottom:14px;overflow:hidden}
  .hc-memory-card .hc-table tbody th{display:block;width:100%;padding:13px 14px;background:var(--blue-gray);text-align:left;border:0}
  .hc-memory-card .hc-table tbody td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;border:0;font-size:.9375rem}
  .hc-memory-card .hc-table tbody td+td{border-top:1px solid var(--line)}
  .hc-memory-card .hc-table tbody td:before{content:attr(data-label);text-align:left;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--muted)}
  .hc-memory-card .hc-table td span{min-width:0;overflow-wrap:anywhere;text-align:right}
  .hc-memory-notes{margin-top:24px;padding-top:22px}
}
@media(max-width:360px){.hc-memory-header{padding:24px 16px}.hc-memory-body{padding:22px 16px}.hc-memory-card .hc-table tbody td{padding:12px;gap:10px}}

.hc-revenue-hint{margin-bottom:20px}

/* Ebook takes the former update banner position; the update is a compact side note. */
.hospital-materials .hospital-materials-heading{text-align:center;max-width:760px;margin:0 auto 32px}
.hospital-materials-heading h2{margin:0 0 16px}
.hospital-materials-heading .eyebrow{margin-bottom:14px}
.hospital-materials-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start;max-width:1120px;margin-inline:auto}
.hospital-materials .ebook-card{grid-template-columns:160px minmax(0,1fr);border-radius:20px;padding:32px;gap:28px;margin:0}
.hospital-materials .ebook-card h3{font-size:2rem}
.hospital-materials .ebook-card .eyebrow{font-size:.7rem;margin:0 0 12px}
.hospital-materials .ebook-card .actions{flex-wrap:wrap}
.hospital-materials .hospital-update{padding:24px;background:#dce9f2;border:1px solid #ccdce7;border-radius:20px;min-width:0}
.hospital-materials .hospital-update .eyebrow{font-size:.65rem;letter-spacing:.09em;margin:0 0 14px}
.hospital-materials .hospital-update h3{font-size:1.35rem;line-height:1.3}
.hospital-materials .hospital-update p:not(.eyebrow){font-size:.85rem;line-height:1.65;margin:12px 0 18px}
.hospital-materials .hospital-update a{display:inline-flex;gap:12px;align-items:center;min-height:44px;color:var(--navy);font-size:.85rem;font-weight:600;text-decoration:none}
.hospital-materials .hospital-update a:hover{color:#3a708e}
@media(min-width:1400px){.hospital-materials-grid{grid-template-columns:1fr 250px;position:relative}.hospital-materials .ebook-card{margin-left:55px}}
@media(max-width:1000px){.hospital-materials-grid{grid-template-columns:minmax(0,1fr)}.hospital-materials .ebook-card{max-width:850px;margin-inline:auto}.hospital-materials .hospital-update{width:280px;max-width:100%;justify-self:end}}
@media(max-width:600px){.hospital-materials .ebook-card{grid-template-columns:minmax(0,1fr);padding:26px;gap:24px}.hospital-materials .ebook-card .actions{justify-content:center}.hospital-materials .hospital-update{width:100%}.hospital-materials .ebook-card h3{font-size:1.8rem}}

/* Accessible quick selections along each calculator scale. */
.hc-ticks{display:flex;justify-content:space-between;gap:0;margin:0 -10px 8px;padding-top:3px}
.hc-tick{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-width:24px;min-height:44px;padding:5px 0;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:.65rem;white-space:nowrap}
.hc-tick-dot{display:block;width:7px;height:7px;border-radius:50%;background:var(--navy);opacity:.55}
.hc-tick:hover .hc-tick-dot,.hc-tick:focus-visible .hc-tick-dot{opacity:1;transform:scale(1.4)}
.hc-tick:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:4px}
@media(max-width:400px){.hc-ticks .hc-tick:nth-child(even):not(:last-child) .hc-tick-label{visibility:hidden}}
