/* Inherits Investopinoy's global tokens; all fallback styles are scoped to this feature. */
.ip-hmo { --hc-brand: var(--ip-brand, #292263); --hc-hover: var(--ip-brand-hover, #3e347f); --hc-ink: var(--ip-ink, #202333); --hc-muted: var(--ip-muted, #626675); --hc-line: var(--ip-line, #e2e4ed); --hc-tint: var(--ip-tint, #eeedf8); color: var(--hc-ink); font: 400 1rem/1.65 Inter, Arial, sans-serif; min-width: 0; }
.ip-hmo, .ip-hmo * { box-sizing: border-box; }
.ip-hmo [hidden] { display: none !important; }
.ip-hmo :is(h2,h3,p,dl,ul) { margin-top: 0; }
.ip-hmo :is(h2,h3) { color: var(--hc-ink); font-family: Manrope, Arial, sans-serif; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.ip-hmo h2 { font-size: 1.5rem; }
.ip-hmo h3 { font-size: 1.375rem; }
.ip-hmo :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--hc-brand); outline-offset: 4px; }
.ip-hmo ::selection { background: var(--hc-brand); color: #fff; }
.ip-hmo :is(input,select) { caret-color: var(--hc-brand); }
.ip-hmo :is(a,button) { touch-action: manipulation; }
.ip-hmo a { color: var(--hc-brand); text-underline-offset: 4px; }
.ip-hmo a:hover { text-decoration: underline; }
.ip-hmo button { font: inherit; cursor: pointer; }
.ip-hmo :disabled { cursor: not-allowed; opacity: .6; }
.ip-hmo .iphc-help { margin: 0; color: var(--hc-muted); font-size: .8125rem; line-height: 1.6; }
.ip-hmo .iphc-filters { padding: 0 0 28px; border-bottom: 1px solid var(--hc-line); }
.ip-hmo .iphc-primary-fields { display: grid; grid-template-columns: 1fr .65fr 1.35fr; gap: 22px; align-items: start; }
.ip-hmo .iphc-field { min-width: 0; }
.ip-hmo :is(.iphc-field > label,.iphc-detail-selector label,.iphc-card-actions label) { display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 600; }
.ip-hmo :is(input[type=number],input[type=search],select) { display: block; width: 100%; min-width: 0; min-height: 50px; margin: 0; padding: 11px 13px; border: 1px solid #cccbd7; border-radius: 7px; background: #fff; color: var(--hc-ink); font: 400 1rem/1.5 Inter, Arial, sans-serif; transition: border-color .2s; }
.ip-hmo select { padding-right: 30px; }
.ip-hmo :is(input,select):hover { border-color: #a39abb; }
.ip-hmo :is(input,select):focus { border-color: var(--hc-brand); }
.ip-hmo input::placeholder { color: #6e6a7b; opacity: 1; }
.ip-hmo .iphc-field > .iphc-help { display: block; margin-top: 6px; }
.ip-hmo fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.ip-hmo legend { padding: 0; margin-bottom: 10px; font-size: .875rem; font-weight: 600; }
.ip-hmo .iphc-needs { margin-top: 0; }
.ip-hmo .iphc-choices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ip-hmo .iphc-choice { display: flex; align-items: start; gap: 9px; padding: 6px 0; color: var(--hc-ink); font-size: .875rem; line-height: 1.6; cursor: pointer; }
.ip-hmo input[type=checkbox] { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--hc-brand); }
.ip-hmo .iphc-basic-secondary { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hc-line); }
.ip-hmo .iphc-addon-choice { margin-top: 16px; }
.ip-hmo .iphc-source-links { padding-left: 20px; }
.ip-hmo .iphc-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.ip-hmo .iphc-filter-actions .iphc-help { margin-left: auto; }
.ip-hmo .iphc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: 10px; padding: 13px 23px; border: 1px solid transparent; border-radius: 7px; background: var(--hc-brand); color: #fff; text-decoration: none; text-align: center; font: 600 .875rem/1.4 Inter, Arial, sans-serif; transition: background-color .2s, border-color .2s; }
.ip-hmo .iphc-button:hover { background: var(--hc-hover); color: #fff; text-decoration: none; }
.ip-hmo .iphc-button-outline { background: transparent; border-color: #c8c5db; color: var(--hc-brand); }
.ip-hmo .iphc-button-outline:hover { background: var(--hc-tint); border-color: #a7a1c8; color: var(--hc-brand); }
.ip-hmo .iphc-link-button { padding: 10px 0; border: 0; background: none; color: var(--hc-brand); font-size: .8125rem; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.ip-hmo .iphc-results-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 28px 0 18px; }
.ip-hmo .iphc-results-header > p:first-child { margin: 0; font-size: .9375rem; font-weight: 600; }
.ip-hmo .iphc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ip-hmo .iphc-chips:empty { margin-bottom: 0; }
.ip-hmo .iphc-chip { max-width: 100%; padding: 7px 12px; border: 0; border-radius: 24px; background: var(--hc-tint); color: var(--hc-brand); font-size: .8125rem; overflow-wrap: anywhere; text-align: left; }
.ip-hmo .iphc-chip:hover { background: #dedbef; }
.ip-hmo .iphc-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.ip-hmo .iphc-card { min-width: 0; padding: 28px; border: 1px solid var(--hc-line); border-radius: 8px; background: #fff; display: flex; flex-direction: column; align-items: stretch; }
.ip-hmo .iphc-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; margin-bottom: 20px; }
.ip-hmo .iphc-provider { color: var(--hc-muted); font-size: .875rem; font-weight: 600; }
.ip-hmo .iphc-badge { display: inline-block; padding: 5px 10px; border-radius: 24px; background: var(--hc-tint); color: var(--hc-brand); font-size: .6875rem; line-height: 1.4; font-weight: 600; }
.ip-hmo .iphc-card h3 { margin: 0 0 12px; font-size: 1.375rem; }
.ip-hmo .iphc-card h3 a { color: var(--hc-ink); text-decoration: none; }
.ip-hmo .iphc-card h3 a:hover { color: var(--hc-brand); }
.ip-hmo .iphc-summary { margin: 0 0 22px; font-size: .875rem; color: var(--hc-muted); }
.ip-hmo .iphc-facts { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 20px; }
.ip-hmo .iphc-facts dt { color: var(--hc-muted); font-size: .75rem; }
.ip-hmo .iphc-facts dd { margin: 3px 0 0; font-size: .875rem; font-weight: 600; line-height: 1.65; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ip-hmo .iphc-fact-wide { grid-column: 1 / -1; }
.ip-hmo .iphc-match-note { margin: auto 0 18px; padding-top: 18px; border-top: 1px solid var(--hc-line); color: var(--hc-muted); font-size: .75rem; }
.ip-hmo .iphc-needs-confirmation .iphc-match-note { color: var(--hc-brand); }
.ip-hmo .iphc-card-actions { display: grid; gap: 14px; margin-top: auto; }
.ip-hmo .iphc-card-actions .iphc-button { width: 100%; }
.ip-hmo .iphc-card-actions [data-ip-hmo-card-picker] { padding-top: 14px; border-top: 1px solid var(--hc-line); }
.ip-hmo .iphc-card-actions label { margin: 0; }
.ip-hmo .iphc-card-actions select { margin-top: 7px; font-size: .8125rem; }
.ip-hmo .iphc-selection-summary { margin: 9px 0 0; color: var(--hc-muted); font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.ip-hmo .iphc-card-actions .iphc-link-button { display: block; text-align: left; }
.ip-hmo .iphc-download { font-size: .8125rem; font-weight: 600; }
.ip-hmo .iphc-download span { display: block; margin-top: 2px; font-size: .75rem; color: var(--hc-muted); font-weight: 400; }
.ip-hmo .iphc-pending { margin-top: 38px; }
.ip-hmo .iphc-pending > h3 { margin-bottom: 8px; }
.ip-hmo .iphc-pending > p { margin-bottom: 20px; }
.ip-hmo .iphc-error { margin: 20px 0 0; font-size: .875rem; color: var(--ip-danger,#a32635); }
.ip-hmo .iphc-empty { padding: 42px 28px; border: 1px dashed #c8c4dc; border-radius: 12px; background: #fff; text-align: center; }
.ip-hmo .iphc-empty h3 { margin-bottom: 12px; }
.ip-hmo .iphc-empty p { max-width: 60ch; margin: 0 auto 22px; color: var(--hc-muted); font-size: .9375rem; }
.ip-hmo .iphc-fallback { margin: 0 0 22px; color: var(--hc-muted); font-size: .875rem; }
.ip-hmo .iphc-compare-tray { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; margin-top: 32px; background: var(--hc-tint); color: var(--hc-brand); border-radius: 12px; }
.ip-hmo .iphc-compare-tray > div { flex: 1 1 400px; min-width: 0; }
.ip-hmo .iphc-compare-tray ul { padding: 0; margin: 8px 0 0; list-style: none; }
.ip-hmo .iphc-compare-tray li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .8125rem; overflow-wrap: anywhere; }
.ip-hmo .iphc-compare-tray .iphc-link-button { padding: 5px 0; }
.ip-hmo .iphc-compare-status { margin: 12px 0 0; color: var(--hc-brand); font-size: .8125rem; }
.ip-hmo .iphc-compare-status:empty { margin: 0; }
.ip-hmo .iphc-comparison { padding-top: 40px; scroll-margin-top: 120px; }
.ip-hmo .iphc-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 12px; }
.ip-hmo .iphc-section-head h2 { margin: 0; }
.ip-hmo .iphc-table-scroll { max-width: 100%; overflow: auto; margin-top: 22px; border: 1px solid var(--hc-line); border-radius: 12px; background: #fff; scrollbar-color: #a39abb var(--hc-tint); scrollbar-width: thin; }
.ip-hmo table { width: 100%; min-width: 650px; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: .8125rem; line-height: 1.65; font-variant-numeric: tabular-nums; }
.ip-hmo caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ip-hmo :is(th,td) { padding: 18px 20px; border-bottom: 1px solid var(--hc-line); vertical-align: top; overflow-wrap: anywhere; }
.ip-hmo th { font-weight: 600; }
.ip-hmo thead th { background: var(--hc-tint); color: var(--hc-brand); }
.ip-hmo thead th strong { display: block; font: 700 1rem/1.4 Manrope,Arial,sans-serif; }
.ip-hmo thead th span { display: block; margin-top: 8px; font-weight: 400; }
.ip-hmo tr > :first-child { width: 180px; }
.ip-hmo tbody th { background: #f7f8fc; }
.ip-hmo tbody tr:last-child > * { border-bottom: 0; }
.ip-hmo .iphc-table-document { display: block; margin-bottom: 8px; }
.ip-hmo .iphc-detail-intro { max-width: 70ch; color: var(--hc-muted); }
.ip-hmo .iphc-detail-facts { margin: 0 0 28px; }
.ip-hmo .iphc-detail-facts > div { display: grid; grid-template-columns: minmax(140px,.4fr) 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--hc-line); }
.ip-hmo .iphc-detail-facts dt { font-size: .875rem; font-weight: 600; }
.ip-hmo .iphc-detail-facts dd { margin: 0; color: var(--hc-muted); font-size: .875rem; }
.ip-hmo .iphc-detail-selector { margin: 0 0 32px; }
.ip-hmo .iphc-detail-selector label { max-width: 300px; }
.ip-hmo .iphc-detail-selector select { margin-top: 8px; }
.ip-hmo .iphc-option { border: 1px solid var(--hc-line); border-radius: 12px; background: #fff; margin-top: 14px; }
.ip-hmo .iphc-option > summary { padding: 22px 26px; cursor: pointer; color: var(--hc-brand); font-size: .9375rem; }
.ip-hmo .iphc-option > summary span { display: block; margin: 6px 0 0 18px; color: var(--hc-muted); font-size: .8125rem; font-weight: 400; }
.ip-hmo .iphc-option-body { padding: 0 26px 26px; }
.ip-hmo .iphc-benefit-list { padding: 0; margin: 0 0 28px; list-style: none; }
.ip-hmo .iphc-benefit-list li { display: grid; grid-template-columns: minmax(140px,.4fr) 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--hc-line); font-size: .8125rem; }
.ip-hmo .iphc-benefit-list span { color: var(--hc-muted); }
.ip-hmo .iphc-documents { margin-top: 28px; }
.ip-hmo .iphc-documents h3 { margin-bottom: 14px; font-size: 1.125rem; }
.ip-hmo .iphc-documents ul { margin: 0; padding: 0; list-style: none; }
.ip-hmo .iphc-documents li { padding: 12px 0; border-bottom: 1px solid var(--hc-line); font-size: .875rem; }
.ip-hmo .iphc-documents li span { display: block; margin-top: 4px; color: var(--hc-muted); font-size: .75rem; }
.ip-hmo .iphc-source-note { margin-top: 32px; max-width: 75ch; color: var(--hc-muted); font-size: .8125rem; }
.ip-hmo .iphc-source-note p { margin-bottom: 8px; }
@media (max-width: 1100px) {
  .ip-hmo .iphc-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ip-hmo .iphc-primary-fields { grid-template-columns: 1fr .65fr 1.35fr; }
  .ip-hmo .iphc-search { grid-column: 1 / -1; }
  .ip-hmo .iphc-filter-actions .iphc-help { flex-basis: 100%; margin-left: 0; }
}
@media (max-width: 700px) {
  .ip-hmo .iphc-filters { padding: 0 0 24px; }
  .ip-hmo :is(.iphc-primary-fields,.iphc-basic-secondary,.iphc-product-grid) { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .ip-hmo .iphc-advanced > summary span { display: block; margin: 6px 0 0 18px; }
  .ip-hmo .iphc-card { padding: 24px; }
  .ip-hmo .iphc-choices { gap: 4px 20px; }
  .ip-hmo .iphc-filter-actions .iphc-button { flex: 1 1 auto; }
  .ip-hmo .iphc-compare-tray { padding: 22px; }
  .ip-hmo .iphc-compare-tray .iphc-button { width: 100%; }
  .ip-hmo :is(.iphc-detail-facts > div,.iphc-benefit-list li) { grid-template-columns: 1fr; gap: 5px; }
  .ip-hmo .iphc-option > summary { padding: 20px; }
  .ip-hmo .iphc-option-body { padding: 0 20px 20px; }
  .ip-hmo tr > :first-child { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-hmo *, .ip-hmo *::before, .ip-hmo *::after { transition: none !important; scroll-behavior: auto !important; }
}
.ip-hmo-quick-finder { color: var(--ip-ink, #202333); }
.ip-hmo-quick-finder .iphc-quick-help { display: block; margin-top: 7px; font-size: .8125rem; line-height: 1.6; color: var(--ip-muted, #626675); }
.ip-hmo-quick-finder .iphc-quick-error { color: var(--ip-danger, #a32638); font-size: .875rem; margin: 0 0 16px; }
.ip-hmo-quick-finder [hidden] { display: none !important; }
.iphc-amount-input { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 8px; }
.ip-hmo .iphc-care-types { margin-top: 24px; }
.ip-hmo .iphc-plan-details > summary { list-style: none; cursor: pointer; }
.ip-hmo .iphc-plan-details > summary::-webkit-details-marker { display: none; }
.ip-hmo .iphc-plan-content { padding-top: 24px; overflow-wrap: anywhere; }
.ip-hmo .iphc-details-text { white-space: pre-line; overflow-wrap: anywhere; font-size: .9375rem; max-width: 72ch; }
.ip-hmo .iphc-tier-section { margin-top: 28px; }
.ip-hmo .iphc-premium { font-size: .875rem; font-weight: 600; margin: 18px 0; overflow-wrap: anywhere; }
.ip-hmo .iphc-shortlist { display: flex; align-items: center; gap: 8px; font-size: .875rem; margin: 16px 0; }
.ip-hmo .iphc-shortlist input { width: 18px; height: 18px; accent-color: var(--hc-brand); }
.ip-hmo .iphc-results-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ip-hmo .iphc-results-header button { min-height: 40px; }
.ip-hmo .iphc-rate-panel { margin-top: 32px; border-top: 1px solid var(--hc-line); padding-top: 24px; }
.ip-hmo .iphc-rate-panel h3 { font-size: 1.125rem; }
.ip-hmo .iphc-quote-fields { display: grid; grid-template-columns: minmax(110px,.5fr) minmax(0,1.5fr); gap: 16px; margin-bottom: 18px; }
.ip-hmo .iphc-quote-fields label { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: .875rem; font-weight: 600; }
.ip-hmo .iphc-quote-fields :is(input,select) { width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: 10px; border: 1px solid var(--hc-line); border-radius: 6px; font: inherit; font-weight: 400; background: #fff; color: var(--hc-ink); }
.ip-hmo .iphc-quote-context { margin: 18px 0; }
.ip-hmo :is(.iphc-quote-context,.iphc-rate-conditions) > summary { cursor: pointer; font-size: .875rem; color: var(--hc-brand); }
.ip-hmo .iphc-quote-context[open] > summary { margin-bottom: 18px; }
.ip-hmo .iphc-rate-result { border-top: 1px solid var(--hc-line); padding: 20px 0; overflow-wrap: anywhere; }
.ip-hmo .iphc-rate-result p { margin: 8px 0; }
.ip-hmo .iphc-rate-result .iphc-rate-option { font-weight: 600; }
.ip-hmo .iphc-rate-price { font-size: 1rem; font-variant-numeric: tabular-nums; }
.ip-hmo :is(.iphc-rate-status,.iphc-rate-source) { color: var(--hc-muted); font-size: .8125rem; }
.ip-hmo .iphc-rate-conditions { margin-top: 12px; }
.ip-hmo .iphc-rate-conditions p { white-space: pre-line; font-size: .875rem; }
[data-iphc-print-summary] { display: none; }
@media (max-width: 600px) { .ip-hmo .iphc-quote-fields { grid-template-columns: minmax(0,1fr); } }
@media print {
  body.iphc-printing > * { display: none !important; }
  body.iphc-printing > [data-iphc-print-summary] { display: block !important; color: #202333; background: #fff; font: 12pt/1.5 Arial,sans-serif; padding: 0; }
  [data-iphc-print-summary] section { break-inside: avoid; margin: 24px 0; border-top: 1px solid #e2e4ed; padding-top: 12px; }
  [data-iphc-print-summary] h1 { font-size: 22pt; }
  [data-iphc-print-summary] h2 { font-size: 16pt; }
  [data-iphc-print-summary] :is(p,li,a,span) { overflow-wrap: anywhere; }
}
.ip-hmo .iphc-tier-section h3 { font-size: 1.125rem; }
.ip-hmo .iphc-tier-table { width: 100%; min-width: 0; table-layout: fixed; margin-bottom: 22px; }
.ip-hmo .iphc-tier-table tr > :first-child { width: 48%; }
.ip-hmo .iphc-tier-table :is(th,td) { padding: 12px; font-size: .875rem; }
.ip-hmo .iphc-tier-notes { padding: 14px 0; border-bottom: 1px solid var(--hc-line); }
.ip-hmo .iphc-tier-notes > summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--hc-brand); }
.ip-hmo .iphc-tier-notes[open] > summary { margin-bottom: 18px; }
.ip-hmo .iphc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ip-hmo.iphc-dialog { width: min(800px, calc(100% - 32px)); max-width: 800px; max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 0; border-radius: 8px; background: #fff; color: var(--hc-ink); overflow: auto; scrollbar-color: #a39abb #eeedf8; }
.ip-hmo.iphc-dialog::backdrop { background: #171323a6; }
.ip-hmo .iphc-modal-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 24px 28px; background: #fff; border-bottom: 1px solid var(--hc-line); z-index: 1; }
.ip-hmo .iphc-modal-bar h2 { margin: 0; font-size: 1.375rem; overflow-wrap: anywhere; }
.ip-hmo .iphc-modal-bar button { flex: 0 0 auto; padding: 2px 0; min-height: 32px; }
.ip-hmo .iphc-modal-content { padding: 28px; }
.iphc-quick-care { border: 0; padding: 0; margin: 0 0 22px; }
.iphc-quick-care legend { margin-bottom: 8px; font-size: .8125rem; font-weight: 600; }
.iphc-quick-care label { display: inline-flex; align-items: center; gap: 8px; margin: 0 14px 10px 0; font-size: .8125rem; }
.iphc-quick-care input { width: 18px; height: 18px; accent-color: var(--ip-brand, #292263); }
@media (max-width: 700px) {
  .ip-hmo .iphc-modal-bar { padding: 20px; }
  .ip-hmo .iphc-modal-content { padding: 20px; }
}
