/* swiss_health_insurance — tool-specific design. Shared: nav, footer, sidebars, ad script only. */
body[data-tool="swiss_health_insurance"] {
  --s-bg: #F6F5F2; --s-card: #FFFFFF; --s-ink: #16181D; --s-ink2: #474B55; --s-mute: #7D828C; --s-line: #E3E1DB; --s-soft: #EFEDE8;
  --s-red: #D52B1E; --s-red-soft: #FBE9E7; --s-ok: #12715A;
  --s-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --s-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  background: var(--s-bg); color: var(--s-ink); font-family: var(--s-sans);
}
body[data-tool="swiss_health_insurance"] .dt-nav { background: var(--s-bg); border-bottom: 1px solid var(--s-line); }
.dt-bare { display: block; width: 100%; flex: 1; }
.shix { max-width: 1120px; margin: 0 auto; padding: 32px 16px 64px; }
.shix * { box-sizing: border-box; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shi-hero h1 { font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.shi-hero h1::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .3em; vertical-align: .04em; border-radius: 4px;
  background: linear-gradient(#fff, #fff) center / 62% 20% no-repeat, linear-gradient(#fff, #fff) center / 20% 62% no-repeat, var(--s-red); }
.shi-hero p { margin: 12px 0 0; font-size: 18px; color: var(--s-ink2); max-width: 66ch; line-height: 1.5; }

.shi { margin-top: 26px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; background: var(--s-card); border: 1px solid var(--s-line); border-radius: 16px; overflow: hidden; }
.shi[aria-busy="true"] .shi-out, .shi[aria-busy="true"] .fc { opacity: .55; transition: opacity .15s; }
.shi-in { grid-row: span 2; padding: 22px 20px; background: var(--s-soft); border-right: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 16px; margin: 0; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f label, .f .lb { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--s-mute); }
.f small { font-size: 12px; color: var(--s-mute); line-height: 1.4; }
.f input, .f select { font: inherit; font-size: 16px; color: var(--s-ink); background: #fff; border: 1px solid #CFCCC4; border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
.f-plz input { font-family: var(--s-mono); font-size: 28px; font-weight: 500; letter-spacing: .12em; padding: 8px 12px; }
.f input:focus-visible, .f select:focus-visible, .seg button:focus-visible, .shi button:focus-visible, .cost input:focus-visible { outline: 2px solid var(--s-red); outline-offset: 2px; }
.seg { display: flex; gap: 4px; padding: 3px; background: #E4E1DA; border-radius: 10px; }
.seg button { flex: 1; min-width: 0; border: 0; background: transparent; border-radius: 8px; padding: 8px 6px; font: inherit; font-size: 14px; font-weight: 500; color: var(--s-ink2); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--s-ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.msg { margin: 0; min-height: 0; font-size: 14px; color: var(--s-red); }
.msg:empty { display: none; }

.shi-out { padding: 22px 24px 18px; min-width: 0; }
.reg { margin: 0; font-size: 13px; color: var(--s-mute); }
.big { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.big .k { font-size: 13px; font-weight: 600; color: var(--s-red); text-transform: uppercase; letter-spacing: .06em; }
.f[hidden] { display: none !important; }
.big > b { font-size: 56px; line-height: 1.02; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big .s { font-size: 16px; color: var(--s-ink2); }
.big .s b { color: var(--s-ink); font-weight: 600; }
.spread { margin: 8px 0 0; font-size: 14px; color: var(--s-ink2); }
.spread b { color: var(--s-ok); }
.list { margin-top: 20px; }
.lh { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lh h2, .fch h2 { font-size: 18px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.q input { font: inherit; font-size: 14px; border: 1px solid #CFCCC4; border-radius: 999px; padding: 7px 14px; width: 210px; max-width: 100%; background: #fff; }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; }
.shi table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shi th, .shi td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--s-line); vertical-align: middle; }
.shi thead th { font-size: 12px; font-weight: 600; color: var(--s-mute); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.shi thead button { border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; padding: 0; }
.shi thead [aria-sort="ascending"] button::after { content: " ↑"; color: var(--s-red); }
#shiRows tr { cursor: pointer; }
#shiRows tr:hover { background: #FAF9F6; }
#shiRows tr.on { background: var(--s-red-soft); }
.rk { color: var(--s-mute); font-variant-numeric: tabular-nums; width: 2.2em; }
.in b { display: block; font-weight: 600; }
.in span { display: block; font-size: 13px; color: var(--s-ink2); overflow-wrap: anywhere; }
.in .mm { display: none; }
.md i, .in .mm, .models i { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--s-soft); color: var(--s-ink2); white-space: nowrap; }
.c-BASE { background: #ECEBE7 !important; } .c-PRAXIS { background: #E3EEF6 !important; color: #1F4E6E !important; }
.c-TEL_DIG { background: #EDE7F4 !important; color: #4B3470 !important; } .c-PHARM { background: #E4F1EA !important; color: #1E5B3E !important; } .c-FLEX { background: #F6EEDF !important; color: #6A4A12 !important; }
.mo, .yr { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mo { font-weight: 700; }
.yr { color: var(--s-ink2); }
.go { text-align: right !important; }
.go button { border: 1px solid #CFCCC4; background: #fff; border-radius: 8px; font: inherit; font-size: 12px; padding: 5px 9px; cursor: pointer; color: var(--s-ink2); }
.on .go button { border-color: var(--s-red); color: var(--s-red); }
.more { margin-top: 10px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--s-red); cursor: pointer; padding: 6px 0; }

.fc { grid-column: 2; padding: 20px 24px 22px; border-top: 1px solid var(--s-line); min-width: 0; }
.fch p { margin: 4px 0 0; font-size: 14px; color: var(--s-ink2); }
.cost { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; }
.cost label { font-size: 13px; font-weight: 600; color: var(--s-ink2); }
.cost input[type="range"] { width: 100%; accent-color: var(--s-red); }
.cn { display: flex; align-items: center; gap: 8px; }
.cn input { width: 96px; font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid #CFCCC4; border-radius: 8px; font-variant-numeric: tabular-nums; }
.cn output { display: none; }
.cost small { grid-column: 1 / -1; font-size: 12px; color: var(--s-mute); }
.fcb { margin: 12px 0 0; font-size: 15px; }
.fcb b { color: var(--s-red); }
.fcg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.fct td, .fct th { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fct tbody th { font-weight: 600; }
.fct tr.best th, .fct tr.best td { background: var(--s-red-soft); }
.fct em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--s-red); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.tt b { display: block; }
.bar { display: flex; height: 6px; margin-top: 4px; background: var(--s-soft); border-radius: 3px; overflow: hidden; min-width: 90px; }
.bp { background: #9A9EA6; } .bs { background: var(--s-red); }
.best .bp { background: var(--s-ink); }
.ch { margin: 10px 0 0; max-width: 680px; }
.ch svg { width: 100%; height: auto; display: block; }
.ch svg text { font-family: var(--s-sans); font-size: 11px; fill: var(--s-mute); }
.ch svg .g { stroke: var(--s-line); }
.ch svg .ln { fill: none; stroke: #3D4048; stroke-opacity: var(--o); stroke-width: 1.6; }
.ch svg .lb { stroke: var(--s-red); stroke-opacity: 1; stroke-width: 3; }
.ch svg text.lb { fill: var(--s-red); font-weight: 700; stroke: none; }
.ch svg .cx { stroke: var(--s-ink); stroke-dasharray: 3 4; }
.ch svg .cp { fill: var(--s-red); stroke: #fff; stroke-width: 2; }
.ch figcaption { font-size: 12px; color: var(--s-mute); margin-top: 4px; }
.shi > .data { grid-column: 1 / -1; margin: 0; padding: 12px 24px; font-size: 12.5px; color: var(--s-mute); background: var(--s-soft); border-top: 1px solid var(--s-line); }
.data a, .shi-art a { color: var(--s-ink); }

.shi-adwrap { margin: 22px 0; }
.shi-art { max-width: 760px; margin-top: 36px; font-size: 16.5px; line-height: 1.7; color: #23262D; }
.shi-art h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.015em; margin: 40px 0 10px; color: var(--s-ink); }
.shi-art .eq { font-family: var(--s-mono); font-size: 14.5px; background: var(--s-card); border: 1px solid var(--s-line); border-left: 4px solid var(--s-red); border-radius: 8px; padding: 12px 14px; line-height: 1.6; }
.shi-art .tw { margin: 10px 0; }
.rt { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--s-card); }
.rt th, .rt td { border: 1px solid var(--s-line); padding: 8px 10px; text-align: left; }
.rt thead th { background: var(--s-soft); font-size: 13px; }
.models { margin: 8px 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; }
.models dt { margin: 0; padding-top: 2px; } .models dd { margin: 0; }
.src { font-size: 14.5px; }
.shi-art p.data { font-size: 13px; color: var(--s-mute); }
.shi-faq { max-width: 760px; margin-top: 40px; }
.shi-faq h2 { font-size: 26px; margin: 0 0 10px; }
.shi-faq details { border-bottom: 1px solid var(--s-line); padding: 12px 0; }
.shi-faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; }
.shi-faq p { margin: 8px 0 0; line-height: 1.65; color: #2D3038; }

@media (max-width: 900px) {
  .shi { grid-template-columns: minmax(0, 1fr); }
  .shi-in { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--s-line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .shi-in .f-plz, .shi-in .msg, #shiComWrap { grid-column: 1 / -1; }
  .fc { grid-column: 1; }
}
@media (max-width: 560px) {
  .shi-hero h1 { font-size: 32px; }
  .shi-hero p { font-size: 16px; }
  .shi-in { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .shi-out, .fc { padding: 18px 14px; }
  .big > b { font-size: 44px; }
  .shi th, .shi td { padding: 8px 5px; }
  .shi .yr, .shi .go, .shi .md { display: none; }
  .in .mm { display: inline-block; margin-top: 4px; }
  .shi .lt { table-layout: fixed; }
  .shi .lt .rk { width: 2em; }
  .shi .lt .mo { width: 7.4em; }
  .fct .fm, .fct .fp { display: none; }
  .fct tbody th { white-space: normal; }
  .fct em { display: inline-block; margin: 2px 0 0; }
  .q input { width: 100%; }
  .lh .q { flex: 1 1 100%; }
  .cost { grid-template-columns: minmax(0, 1fr) auto; }
  .cost label { grid-column: 1 / -1; }
  .shi > .data { padding: 12px 14px; }
  .shi-art { font-size: 16px; }
  .shi-art h2 { font-size: 22px; }
  .models { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .models dd { margin-bottom: 8px; }
}
