/* ===================================================================
   expertico Design-System (Prämienrechner)
   Tokens aus dem Markenfarbraum expertico.ch — kein Rebrand, nur Fit.
   Farbregel: Primary-Cyan trägt CTAs.
              Lime (#95BF00) nur für Spar-/Erfolgssignale.
   Mobil: bewusst weniger Text und weniger Nebensachen als auf dem Desktop.
   =================================================================== */
:root {
  /* Deep Navy Surfaces (statt Carbon-Schwarz) */
  --carbon: #00293b;
  --panel: #1c3e56;
  --karte: #243f54;

  /* Primary CTA — expertico Cyan */
  --btn: #1babea;
  --btn-h: #0095cf;
  --btn-ink: #ffffff;

  /* Savings / Success — Marken-Lime */
  --lime: #95bf00;
  --lime-h: #a8d116;
  --limeink: #1c3e56;

  /* Akzent-Schrift */
  --cyan: #5ec8f0; /* auf dunklem Grund */
  --cyan-d: #1770b7; /* Logo-Blau auf hellem Grund */
  --cyan-bg: #e8f6fc; /* zarte Cyan-Fläche */
  --cream: #f9f5ed;

  --paper: #f7fafc;
  --grau: #f0f4f7;
  --ink: #1c3e56;
  --ink-soft: #4a6270;
  --mut: #6b7075;
  --line: #d5e0e6;
  --line-d: #1b3845;
  --control-border: #6b838f;
  --control-focus: #1770b7;

  --disp:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --text:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  --mono: "Manrope", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radien — Wireframe / App */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 14px;
  --app-max: 100%;
  --content-max: 720px;
}
html.pr-schneider {
  --ink: #0d1b35;
  --ink-soft: #435167;
  --btn: #285c85;
  --btn-h: #0d1b35;
  --cyan-d: #285c85;
  --cyan-bg: #dcebf8;
  --line: #d6dfe5;
  --control-focus: #285c85;
  --r-lg: 20px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 15px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
button,
a,
.pr-chip,
.pr-seg-btn,
.pr-opt {
  touch-action: manipulation;
}
.pr-readmore {
  display: none;
}

/* App-Shell: Phone full-bleed, Tablet/Desktop breit */
.pr-shell {
  width: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  background: #fff;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  :root {
    --content-max: 820px;
  }
  .pr-in,
  .pr-wrap {
    max-width: var(--content-max);
    margin-inline: auto;
  }
  .pr-head h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }
  .pr-visual {
    min-height: 160px;
  }
}
@media (min-width: 1024px) {
  :root {
    --content-max: 960px;
    --app-max: 1120px;
  }
  body {
    background: linear-gradient(165deg, #00293b 0%, #1c3e56 45%, #0a3348 100%);
  }
  .pr-shell {
    max-width: 1120px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  .pr-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

/* ---------- Kopfband (dunkel) ---------- */
.pr-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.pr-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.pr-logo-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}
.pr-logo-badge img {
  height: 24px;
  width: auto;
  display: block;
}
.pr-logo-mark {
  display: none;
}
.pr-logo-txt {
  display: none;
}
.pr-brand-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  border: 0;
  padding: 0;
  white-space: nowrap;
}
.pr-head {
  background: var(--carbon);
  color: #fff;
  padding: 14px 0 18px;
  background-image:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(27, 171, 234, 0.35),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(149, 191, 0, 0.14),
      transparent 50%
    );
}
.pr-in {
  width: 100%;
  margin: 0 auto;
  padding: 0 14px;
}
.pr-head h1 {
  margin: 0 0 8px;
  font-family: var(--disp);
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.pr-yearbadge {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #aee0f4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px 8px;
  vertical-align: middle;
}
.pr-head p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
  max-width: 36ch;
}
.pr-visual {
  min-height: 110px;
  border-radius: 14px;
  margin-bottom: 12px;
  background:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(27, 171, 234, 0.35),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(149, 191, 0, 0.18),
      transparent 50%
    ),
    #083247;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.pr-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pr-mchip {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(27, 171, 234, 0.2);
  color: #aee0f4;
}

/* ---------- Körper (hell) ---------- */
.pr-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 14px 14px 28px;
  position: relative;
  flex: 1 0 auto;
  background: #fff;
}

.pr-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.pr-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 22px;
  padding: 22px 24px;
}
.pr-sec {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}
.pr-sec--last {
  padding-bottom: 22px;
}
.pr-sec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pr-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.pr-label {
  font-family: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mut);
}
.pr-label-s {
  letter-spacing: 0.04em;
  color: #aab2bd;
}
.pr-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: inherit;
  transition: border-color 0.12s;
}
.pr-input:focus {
  outline: 0;
  border-color: var(--btn);
  box-shadow: inset 0 0 0 1px var(--btn);
}
.pr-input::placeholder,
.pr-search::placeholder {
  color: #667480;
  font-weight: 400;
  opacity: 1;
}
.pr-input:disabled {
  background: var(--grau);
  color: var(--mut);
}
select.pr-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%238B94A1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 32px;
}
.pr-hint {
  font-size: 12px;
  color: var(--mut);
  line-height: 1.45;
}

/* Ortssuche */
.pr-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--ink);
  max-height: 290px;
  overflow: auto;
  margin-top: 4px;
  border-radius: var(--r);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.1);
}
.pr-opt {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 13px;
  border: 0;
  background: 0;
  font: inherit;
  font-size: 14.5px;
  cursor: pointer;
  border-bottom: 1px solid var(--grau);
}
.pr-opt:last-child {
  border-bottom: 0;
}
.pr-opt:hover {
  background: var(--grau);
}
.pr-opt b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink);
}
.pr-opt-ort {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-opt-gem {
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--grau);
  padding: 2px 7px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.pr-opt-kt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mut);
}
.pr-opt--none {
  color: var(--mut);
  font-size: 14px;
  cursor: default;
}

/* Personen */
.pr-personen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pr-person {
  display: grid;
  grid-template-columns: 18px 96px minmax(0, 1fr) 136px 30px;
  gap: 12px;
  align-items: center;
  background: var(--grau);
  padding: 10px 12px;
  border-radius: var(--r);
}
.pr-person-n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
  text-align: center;
}
.pr-akl {
  font-size: 13.5px;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-akl.is-empty {
  color: var(--mut);
}
.pr-input--s {
  padding: 8px 10px;
  font-size: 14px;
}
.pr-p-jahr {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
select.pr-input--s {
  padding-right: 28px;
  background-position: right 10px center;
}
.pr-addrow {
  margin-top: 12px;
}
.pr-add {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: var(--r);
  cursor: pointer;
  transition: 0.12s;
}
.pr-add:hover {
  border-color: var(--ink);
}

/* Optionen + Aktion */
.pr-optrow {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.pr-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pr-calcrow {
  margin-left: auto;
}
.pr-calchint {
  margin-top: 10px;
}
.pr-calchint:empty {
  display: none;
  margin: 0;
}
.pr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pr-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r);
  cursor: pointer;
  transition: 0.12s;
}
.pr-chip:hover {
  border-color: var(--ink);
}
.pr-chip.is-on {
  background: var(--panel);
  border-color: var(--panel);
  color: #fff;
}
.pr-seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pr-seg-btn {
  border: 0;
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.12s;
  border-right: 1px solid var(--line);
}
.pr-seg-btn:last-child {
  border-right: 0;
}
.pr-seg-btn.is-on {
  background: var(--panel);
  color: #fff;
}
.pr-seg--sm .pr-seg-btn {
  font-size: 13px;
  padding: 6px 13px;
}

/* Buttons — Primary-Cyan (Marke); Lime nur für Spar-Badges */
.pr-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.12s;
  white-space: nowrap;
}
.pr-btn--primary {
  background: var(--btn);
  color: var(--btn-ink);
}
.pr-btn--primary:hover {
  background: var(--btn-h);
}
.pr-btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  font-size: 12.5px;
  padding: 6px 12px;
}
.pr-btn--ghost:hover {
  border-color: var(--ink);
}
.pr-btn--soft {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}
.pr-btn--soft:hover {
  background: var(--ink);
  color: #fff;
}
.pr-btn--xl {
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--disp);
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 28px;
}
.pr-btn--xl:hover:not(:disabled) {
  background: var(--btn-h);
}
.pr-btn--xl:disabled {
  background: var(--grau);
  color: var(--mut);
  cursor: not-allowed;
}
.pr-iconbtn {
  width: 30px;
  height: 30px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--mut);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: 0.12s;
}
.pr-iconbtn:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--ink);
}
.pr-iconbtn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ---------- Resultate ---------- */
#pr-resultarea {
  margin-top: 32px;
}
.pr-banner {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--carbon);
  color: #fff;
  padding: 24px 26px;
  margin-bottom: 20px;
  border-radius: var(--r-lg);
}
.pr-banner--ok {
  background: var(--grau);
  color: var(--ink);
  font-size: 14.5px;
  padding: 16px 20px;
  display: block;
}
.pr-banner-big {
  font-family: var(--disp);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lime);
  white-space: nowrap;
  line-height: 1;
}
.pr-banner-l {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--mut);
  margin-bottom: 4px;
}
.pr-banner b {
  color: #fff;
}

.pr-resbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.pr-results-shell {
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.pr-resbar-info b {
  color: var(--ink);
}
.pr-resbar-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}
.pr-link {
  border: 0;
  background: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  border-bottom: 1px solid var(--cyan-d);
}
.pr-link:hover {
  color: var(--cyan-d);
}
.pr-view-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pr-view-link {
  color: var(--mut);
  border-bottom-color: transparent;
}
.pr-view-link.is-on {
  color: var(--ink);
  border-bottom-color: var(--cyan-d);
  font-weight: 700;
}
.pr-search {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: inherit;
  font-size: 13.5px;
  min-width: 180px;
}
.pr-select-s {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: inherit;
  font-size: 13.5px;
  background: #fff;
}

.pr-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pr-card {
  display: block;
  background: #fff;
  border: 1px solid var(--control-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: 0.12s;
}
.pr-card:hover {
  border-color: #a6bdb1;
}
.pr-card.is-best {
  border-color: var(--control-border);
  box-shadow: none;
}
.pr-card.is-open {
  border-color: var(--cyan-d);
  box-shadow: 0 0 0 1px rgba(23, 112, 183, 0.08);
}
.pr-card-summary {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 28px;
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pr-card-rank {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
  text-align: center;
}
.pr-card.is-best .pr-card-rank {
  color: var(--btn);
}
.pr-card-main {
  min-width: 0;
}
.pr-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pr-card-name {
  margin: 0;
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pr-card-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pr-tname {
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-split {
  font-family: var(--mono);
  color: var(--mut);
  font-size: 11.5px;
  white-space: nowrap;
}
.pr-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.pr-mini b {
  color: var(--mut);
  font-weight: 500;
}
.pr-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--r-sm);
}
.pr-badge--best {
  background: var(--lime);
  color: var(--limeink);
}
.pr-badge--partner {
  background: var(--grau);
  color: var(--ink-soft);
}
.pr-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--grau);
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.pr-tag--m0 {
  background: #edeff2;
  color: #3b4a5a;
}
.pr-tag--m1 {
  background: #e7eaee;
  color: #2c3742;
}
.pr-tag--m2 {
  background: #e1e5ea;
  color: #2c3742;
}
.pr-tag--m3 {
  background: #dbe0e6;
  color: #2c3742;
}
.pr-delta {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mut);
}
.pr-delta--up {
  color: var(--lime);
}
.pr-delta--down {
  color: var(--mut);
}
.pr-card-price {
  text-align: right;
  white-space: nowrap;
}
.pr-price {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pr-price-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mut);
  margin-top: 2px;
}
.pr-card-price span {
  display: block;
}
.pr-card-chevron {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cyan-d);
  color: var(--cyan-d);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 9px rgba(23, 112, 183, 0.12);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}
.pr-card-summary:hover .pr-card-chevron {
  background: var(--cyan-bg);
}
.pr-card.is-open .pr-card-chevron {
  transform: rotate(180deg);
  background: var(--cyan-d);
  color: #fff;
}
.pr-card-panel {
  display: none;
  padding: 16px 18px 18px;
  border-top: 1px solid #c9dce5;
  background: #f3f9fc;
}
.pr-card.is-open .pr-card-panel {
  display: grid;
  gap: 16px;
}
.pr-card-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.pr-card-panel-head strong {
  font-family: var(--disp);
  font-size: 16px;
}
.pr-card-panel-head span {
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 12.5px;
  text-align: right;
}
.pr-card-unfall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}
.pr-card-unfall > .pr-label {
  font-size: 10px;
}
.pr-card-unfall .pr-seg {
  border-radius: 9px;
}
.pr-card-unfall .pr-seg-btn {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 12px;
}
.pr-card-people {
  display: grid;
  gap: 8px;
}
.pr-card-people > .pr-label {
  margin-bottom: 1px;
}
.pr-card-people .pr-person {
  background: #fff;
  border: 1px solid var(--line);
}
.pr-card-panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pr-card-panel-actions .pr-card-offer {
  margin-left: auto;
  min-height: 44px;
}
.pr-card-cta {
  display: none;
}
.pr-more {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--r);
}
.pr-more:hover {
  border-color: var(--ink);
}
.pr-offer-cta {
  margin-top: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pr-offer-cta p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 48ch;
}
.pr-offer-cta .pr-btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
}
.pr-card-extra {
  min-width: 0;
}
.pr-banner-extra {
  display: none;
}
.pr-banner-body {
  min-width: 0;
}
.pr-banner-sum {
  font-size: 14.5px;
  line-height: 1.4;
}
.pr-readmore {
  border: 0;
  background: 0;
  padding: 0;
  margin-top: 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan-d);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pr-readmore--banner {
  color: var(--cyan);
}

/* Info-Symbol bei den Tarifnamen */
.pr-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--mut);
  background: 0;
  color: var(--mut);
  font-family: var(--mono);
  font-size: 10px;
  cursor: help;
  padding: 0;
  line-height: 1;
}
.pr-i:hover {
  border-color: var(--cyan-d);
  color: var(--cyan-d);
}
.pr-tip {
  position: absolute;
  z-index: 70;
  max-width: 330px;
  background: var(--panel);
  color: #fff;
  border: 1px solid var(--line-d);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(10, 12, 16, 0.28);
}
.pr-tip b {
  display: block;
  font-family: var(--disp);
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}
.pr-tip-k {
  display: block;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-bottom: 9px;
}
.pr-tip span {
  display: block;
  color: #b9c2ce;
}

/* Kassenauswahl */
.pr-manage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.pr-manage-g {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px;
}
.pr-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: var(--r-sm);
}
.pr-check:hover {
  background: var(--grau);
}
.pr-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--cyan-d);
  flex: none;
}
.pr-check span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-check em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mut);
}
/* Tabelle */
.pr-tablewrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: auto;
  max-height: 72vh;
}
.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.pr-table thead th {
  position: sticky;
  top: 0;
  background: var(--carbon);
  text-align: left;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mut);
  padding: 11px 14px;
  white-space: nowrap;
  z-index: 2;
}
.pr-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #b7c9bf;
  vertical-align: middle;
}
.pr-table tbody tr:last-child td {
  border-bottom: 0;
}
.pr-table tbody tr:hover {
  background: var(--grau);
}
.pr-table td:nth-child(2) {
  white-space: nowrap;
}
.pr-table td:nth-child(2) .pr-i {
  margin-left: 7px;
  vertical-align: -3px;
}
.pr-td-ins {
  font-weight: 600;
}
.pr-num {
  text-align: right;
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
}
.pr-b {
  font-weight: 600;
  color: var(--ink);
}

/* Leiste unten — klar vom Seiteninhalt getrennt */
.pr-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: 100%;
  background: #eaf6fb;
  color: var(--ink);
  padding: 7px 14px;
  padding-bottom: max(7px, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 2px solid var(--btn);
  box-shadow: 0 -8px 22px rgba(0, 41, 59, 0.14);
}
@media (min-width: 1024px) {
  .pr-sticky {
    max-width: 1120px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
.pr-sticky span {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
  font-weight: 600;
}
.pr-sticky b {
  color: var(--cyan-d);
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 800;
}
.pr-sticky .pr-btn {
  padding: 7px 12px;
  font-size: 12.5px;
  border-radius: 10px;
  background: var(--btn);
  color: var(--btn-ink);
}
.pr-sticky .pr-btn:hover {
  background: var(--btn-h);
}

/* Fenster */
.pr-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 12, 16, 0.72);
  overflow: auto;
}
.pr-modal-box {
  background: #fff;
  max-width: 500px;
  width: 100%;
  padding: 28px;
  position: relative;
  margin: auto;
  border-radius: var(--r-lg);
}
.pr-modal-box h2 {
  margin: 0 0 8px;
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pr-modal-box > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
}
.pr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  background: var(--grau);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 15px;
  border-radius: var(--r);
}
.pr-ctx {
  background: var(--grau);
  padding: 13px 16px;
  margin-bottom: 18px;
  display: grid;
  gap: 5px;
  border-radius: var(--r);
}
.pr-ctx-r {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}
.pr-ctx-r span {
  color: var(--mut);
}
.pr-ctx-r b {
  font-family: var(--mono);
  font-weight: 500;
}
.pr-frow {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
@media (min-width: 520px) {
  .pr-frow--2 {
    grid-template-columns: 1fr 1fr;
  }
}
.pr-ta {
  resize: vertical;
  font-family: inherit;
  min-height: 54px;
}
.pr-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--mut);
  line-height: 1.55;
  margin: 16px 0;
}
.pr-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--cyan-d);
}
.pr-consent--locked {
  color: var(--ink-soft);
}
.pr-consent--locked input {
  pointer-events: none;
  opacity: 1;
  accent-color: var(--cyan-d);
}
#lf-plz,
#lf-jahrgang {
  background: var(--grau);
  color: var(--ink-soft);
  cursor: default;
}
.pr-hp {
  position: absolute;
  left: -9999px;
}
.pr-formerr {
  color: #b3261e;
  font-size: 13px;
  min-height: 17px;
}
.pr-done {
  text-align: center;
  padding: 16px 0;
}
.pr-done-ico {
  width: 52px;
  height: 52px;
  background: var(--btn);
  color: #fff;
  font-size: 24px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.pr-done h2 {
  margin: 0 0 10px;
}
.pr-done p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* Rest */
.pr-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 20px;
  text-align: center;
  color: var(--mut);
}
.pr-note {
  font-size: 12px;
  color: var(--mut);
  margin-top: 10px;
}

/* Fussband (dunkel) */
.pr-foot {
  background: var(--carbon);
  color: rgba(255, 255, 255, 0.65);
  padding: 18px 0 22px;
  margin-top: 0;
  flex: 0 0 auto;
}
body.pr-has-sticky .pr-foot {
  padding-bottom: 72px;
}
.pr-foot p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  max-width: 104ch;
}
.pr-foot b {
  color: #fff;
  font-weight: 700;
}

/* ---------- Schmal / Tablet ---------- */
@media (max-width: 900px) {
  .pr-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pr-personen {
    grid-template-columns: 1fr;
  }
  .pr-calcrow {
    margin-left: 0;
    width: 100%;
  }
  .pr-btn--xl {
    width: 100%;
    min-height: 48px;
  }
  .pr-optrow {
    gap: 16px;
    align-items: stretch;
  }
  .pr-filter {
    width: 100%;
  }
}

/* ---------- Mobile: app-dicht, keine Löcher, kein Overflow ---------- */
@media (max-width: 700px) {
  :root {
    --r: 12px;
    --r-lg: 14px;
  }

  .pr-in,
  .pr-wrap {
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }
  .pr-wrap {
    padding-top: 14px;
    padding-bottom: 28px;
  }
  body.pr-has-sticky .pr-foot {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .pr-head {
    padding: 18px 0 16px;
  }
  .pr-brandbar {
    margin-bottom: 12px;
    gap: 10px;
  }
  .pr-logo-txt {
    font-size: 16px;
  }
  .pr-brand-tag {
    font-size: 9px;
    padding: 4px 8px;
    flex: 0 0 auto;
  }
  .pr-head h1 {
    font-size: clamp(22px, 6.2vw, 28px);
    gap: 8px;
    margin-bottom: 0;
  }
  .pr-yearbadge {
    font-size: 11px;
    padding: 3px 8px;
  }
  .pr-row,
  .pr-sec {
    padding: 14px;
  }
  .pr-sec--last {
    padding-bottom: 14px;
  }
  .pr-sec-h {
    margin-bottom: 10px;
  }
  #pr-resultarea {
    margin-top: 18px;
  }

  /* Inputs: 16px verhindert iOS-Zoom; Touch-Höhe */
  .pr-input {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 48px;
  }
  .pr-input--s {
    font-size: 16px;
    min-height: 44px;
    padding: 10px 12px;
  }
  select.pr-input--s {
    padding-right: 30px;
  }

  /* Personen: kompakt, keine überlappenden Zellen */
  .pr-person {
    grid-template-columns: 16px 96px minmax(0, 1fr) 44px;
    gap: 8px;
    row-gap: 8px;
    padding: 10px;
    align-items: center;
  }
  .pr-person-n {
    grid-column: 1;
    grid-row: 1;
  }
  .pr-person .pr-p-jahr {
    grid-column: 2;
    grid-row: 1;
  }
  .pr-person .pr-akl {
    grid-column: 3;
    grid-row: 1;
    font-size: 12px;
    min-width: 0;
  }
  .pr-person .pr-p-del {
    grid-column: 4;
    grid-row: 1;
    width: 44px;
    height: 44px;
  }
  .pr-person .pr-p-fra {
    grid-column: 1/5;
    grid-row: 2;
  }

  /* Modell-Chips: horizontal scroll statt Umbruch-Chaos */
  .pr-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
    max-width: 100%;
  }
  .pr-chips::-webkit-scrollbar {
    display: none;
  }
  .pr-chip {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
  }
  .pr-seg {
    width: 100%;
  }
  .pr-seg-btn {
    flex: 1;
    min-height: 44px;
    padding: 10px 12px;
  }
  .pr-optrow {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .pr-add {
    min-height: 44px;
    width: 100%;
  }

  /* Banner: Zahl dominant, Detail hinter Mehr lesen */
  .pr-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    margin-bottom: 14px;
  }
  .pr-banner-big {
    font-size: clamp(28px, 8vw, 36px);
  }
  .pr-banner-l {
    margin-bottom: 2px;
  }
  .pr-banner-sum {
    font-size: 13.5px;
  }
  .pr-banner .pr-readmore {
    display: inline-flex;
    margin-top: 4px;
  }
  .pr-banner-extra {
    display: none;
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #a8c0ce;
  }
  .pr-banner.is-open .pr-banner-extra {
    display: block;
  }

  /* Karten: kompakter Balken, Einstellungen beim Antippen erweitert */
  .pr-cards {
    gap: 8px;
  }
  .pr-card {
    padding: 0;
  }
  .pr-card-summary {
    grid-template-columns: 18px minmax(0, 1fr) auto 30px;
    gap: 8px;
    padding: 12px;
    align-items: start;
  }
  .pr-card-rank {
    padding-top: 5px;
  }
  .pr-card-main {
    min-width: 0;
  }
  .pr-card-price {
    text-align: right;
    align-self: start;
  }
  .pr-card-cta {
    display: none;
  }
  .pr-offer-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .pr-offer-cta .pr-btn {
    width: 100%;
  }
  .pr-card-head {
    gap: 6px;
  }
  .pr-card-name {
    font-size: 15.5px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .pr-badge {
    font-size: 9px;
    padding: 2px 6px;
  }
  .pr-badge--partner {
    display: none;
  } /* mobil: weniger Chrome */
  .pr-price {
    font-size: 18px;
  }
  .pr-price-sub {
    font-size: 10px;
  }

  .pr-card-meta {
    display: block;
    line-height: 1.55;
    font-size: 12.5px;
  }
  .pr-card-meta .pr-tag {
    margin-right: 6px;
  }
  .pr-card-meta .pr-i {
    display: none;
  }
  .pr-card-meta .pr-mini {
    display: block;
    margin: 2px 0;
  }
  .pr-delta {
    margin-top: 4px;
    font-size: 12px;
  }
  .pr-split {
    display: none;
  }
  .pr-card-panel {
    padding: 14px;
  }
  .pr-card-panel-head {
    display: grid;
    gap: 3px;
  }
  .pr-card-panel-head span {
    text-align: left;
  }
  .pr-card-unfall {
    display: flex;
    gap: 6px;
    padding: 6px 8px;
  }
  .pr-card-unfall > .pr-label {
    font-size: 9px;
  }
  .pr-card-unfall .pr-seg {
    width: auto;
    margin-left: auto;
  }
  .pr-card-unfall .pr-seg-btn {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 3px 7px;
    font-size: 10.5px;
  }
  .pr-card-panel-actions {
    display: grid;
  }
  .pr-card-panel-actions .pr-card-offer {
    width: 100%;
    margin: 0;
    min-height: 44px;
  }

  /* Resultatleiste */
  .pr-resbar {
    gap: 8px;
    margin-bottom: 12px;
  }
  #pr-viewswitch {
    flex: 1 1 100%;
    width: 100%;
  }
  #pr-viewswitch .pr-view-link {
    flex: 0 0 auto;
  }
  .pr-resbar-info {
    font-size: 12.5px;
    width: 100%;
  }
  .pr-resbar-actions {
    margin-left: 0;
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
  }
  .pr-resbar-actions .pr-link {
    flex: 0 0 auto;
    font-size: 13px;
  }
  .pr-search {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    font-size: 16px;
    min-height: 44px;
  }
  .pr-select-s {
    flex: 0 0 auto;
    font-size: 16px;
    min-height: 44px;
    max-width: 42%;
  }

  /* Tabelle → Listenkarten */
  .pr-tablewrap {
    max-height: none;
    overflow: visible;
    border-radius: var(--r-lg);
  }
  .pr-table thead {
    display: none;
  }
  .pr-table,
  .pr-table tbody {
    display: block;
  }
  .pr-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }
  .pr-table tbody tr:last-child {
    border-bottom: 0;
  }
  .pr-table td,
  .pr-table tbody tr:last-child td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .pr-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    font-size: 14.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pr-table td:nth-child(2) {
    grid-column: 1/3;
    grid-row: 2;
    white-space: normal;
    font-size: 12.5px;
    color: var(--ink-soft);
  }
  .pr-table td:nth-child(3) {
    display: none;
  }
  .pr-table td:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    font-size: 12px;
    color: var(--mut);
  }
  .pr-table td:nth-child(4)::before {
    content: "Franchise ";
  }
  .pr-table td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-family: var(--disp);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .pr-table td:nth-child(5)::before {
    content: "CHF ";
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--mut);
    letter-spacing: 0.04em;
  }
  .pr-table td:nth-child(6) {
    display: none;
  }
  .pr-table td:nth-child(7) {
    grid-column: 1/3;
    grid-row: 4;
    margin-top: 6px;
  }
  .pr-table td:nth-child(7) .pr-btn {
    width: 100%;
    min-height: 44px;
  }

  /* Weniger Text auf Mobile */
  .pr-head p {
    display: none;
  }
  .pr-field .pr-hint {
    display: none;
  }
  .pr-field--plz .pr-hint {
    display: block;
    font-size: 11.5px;
    margin-top: 2px;
  }
  .pr-field:has(#pr-curmodel:disabled) {
    display: none;
  }
  .pr-modal-box > p {
    display: none;
  }
  .pr-hint:empty {
    display: none;
  }

  .pr-manage-g {
    grid-template-columns: 1fr;
  }
  .pr-more {
    min-height: 48px;
    margin-top: 8px;
  }

  /* Sticky: eine Zeile, kein Umbruch, Safe Area */
  .pr-sticky {
    padding: 7px max(10px, env(safe-area-inset-right, 0px))
      max(7px, env(safe-area-inset-bottom, 0px))
      max(10px, env(safe-area-inset-left, 0px));
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .pr-sticky span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    font-size: 11.5px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pr-sticky b {
    font-size: 12.5px;
  }
  .pr-sticky .pr-btn {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 11.5px;
    max-width: 42%;
    white-space: normal;
    line-height: 1.15;
  }

  .pr-modal {
    padding: max(10px, env(safe-area-inset-top, 0px)) 12px
      max(12px, env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }
  .pr-modal-box {
    padding: 20px 16px;
    max-height: min(92dvh, 920px);
    overflow: auto;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    width: 100%;
  }
  .pr-frow--2 {
    grid-template-columns: 1fr;
  }
  .pr-consent {
    font-size: 11.5px;
  }
  .pr-tip {
    position: fixed;
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    top: auto;
  }
}

@media (max-width: 380px) {
  .pr-card-price .pr-price {
    font-size: 16.5px;
  }
  .pr-card-name {
    font-size: 14.5px;
  }
  .pr-brand-tag {
    display: none;
  }
  .pr-sticky .pr-btn {
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* Desktop: Extra immer offen, Mehr lesen unsichtbar */
@media (min-width: 701px) {
  .pr-card .pr-readmore,
  .pr-banner .pr-readmore {
    display: none !important;
  }
  .pr-card .pr-card-extra {
    display: block;
  }
  .pr-banner-extra {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #a8c0ce;
  }
}

/* Einbettung in expertico-web (iframe ?embed=1) */
html.pr-embed .pr-head .pr-brandbar,
html.pr-embed .pr-head .pr-visual,
html.pr-embed .pr-head .pr-chip-row {
  display: none;
}
html.pr-embed .pr-head {
  padding: 16px 0 14px;
  background: transparent;
  color: var(--ink);
}
html.pr-embed .pr-head h1 {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
html.pr-embed .pr-head p {
  color: var(--ink-soft);
  max-width: 52ch;
}
html.pr-embed .pr-yearbadge {
  color: var(--cyan-d);
  border-color: var(--line);
}
html.pr-embed .pr-sticky {
  position: sticky;
  bottom: 0;
  transform: none;
  left: 0;
  right: 0;
  max-width: none;
}
html.pr-embed body.pr-has-sticky .pr-foot {
  padding-bottom: 24px;
}

/* ---------- Horizontaler Rechner für die Startseite ---------- */
.pr-quickbar {
  display: grid;
  grid-template-columns:
    minmax(190px, 1.35fr) minmax(105px, 0.62fr) minmax(135px, 0.78fr)
    minmax(150px, 0.9fr) auto;
  gap: 8px;
  align-items: stretch;
  padding: 8px;
  background: #e7f0f4;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 41, 59, 0.06);
}
.pr-quickbar .pr-field {
  justify-content: center;
  gap: 3px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--control-border);
  border-radius: 12px;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.pr-quickbar .pr-field:focus-within {
  background: #f3faff;
  border-color: var(--control-focus);
  box-shadow: none;
}
.pr-quickbar .pr-label {
  font-size: 10px;
  color: #405866;
  letter-spacing: 0.06em;
  font-weight: 750;
}
.pr-quickbar .pr-input {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  font-size: 15.5px;
  font-weight: 750;
}
.pr-quickbar .pr-input::placeholder {
  color: #667480;
  font-weight: 400;
  opacity: 1;
}
.pr-quickbar .pr-input:focus {
  box-shadow: none;
}
.pr-quickbar select.pr-input {
  background-position: right 2px center;
  padding-right: 22px;
}
.pr-quickbar .pr-field--plz .pr-hint {
  display: none;
}
.pr-quickbar .pr-list {
  top: calc(100% + 5px);
}
.pr-quickbar .pr-accident-field {
  border: 1px solid var(--control-border);
}
.pr-quickbar .pr-accident-field .pr-seg {
  width: 100%;
  border: 0;
  background: #edf3f6;
  border-radius: 10px;
  padding: 2px;
}
.pr-quickbar .pr-accident-field .pr-seg-btn {
  flex: 1;
  min-height: 28px;
  padding: 3px 9px;
  font-size: 12.5px;
  border: 0;
  border-radius: 8px;
}
.pr-quickbar .pr-accident-field .pr-seg-btn.is-on {
  background: var(--panel);
  box-shadow: 0 2px 7px rgba(0, 41, 59, 0.18);
}
.pr-quickbar .pr-calcrow {
  display: flex;
  margin: 0;
  padding-left: 6px;
}
.pr-quickbar .pr-btn--xl {
  min-height: 66px;
  padding: 12px 21px;
  background: var(--btn);
  color: var(--btn-ink);
  border: 1px solid var(--btn);
  border-radius: 13px;
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(23, 112, 183, 0.2);
}
.pr-quickbar .pr-btn--xl:hover:not(:disabled) {
  background: var(--btn-h);
  border-color: var(--btn-h);
}
.pr-quickbar .pr-btn--xl:disabled {
  background: #dceff8;
  color: #35677e;
  border-color: #b8dce9;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
.pr-form > .pr-calchint {
  margin: 7px 14px 0;
}

.pr-settings-disclosure {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 11px 16px;
}
.pr-settings-lead {
  display: flex;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background 0.12s;
}
.pr-settings-disclosure::before,
.pr-settings-disclosure::after {
  content: "";
  flex: 1 1 0;
  min-width: 12px;
  border-top: 1px solid #b7c9bf;
}
.pr-settings-action {
  flex-shrink: 0;
}
.pr-settings-lead:hover {
  background: transparent;
}
.pr-settings-lead > .pr-settings-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid #b7c9bf;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 65%) 0%,
    rgb(255 255 255 / 20%) 48%,
    rgb(21 63 59 / 3%) 100%
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 85%),
    inset 0 -1px 2px rgb(21 63 59 / 5%),
    0 2px 3px rgb(21 63 59 / 9%);
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.pr-settings-lead:hover > .pr-settings-surface {
  border-color: #9fb8aa;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 95%),
    0 3px 5px rgb(21 63 59 / 12%);
}
.pr-settings-lead:active > .pr-settings-surface {
  box-shadow: inset 0 1px 3px rgb(21 63 59 / 14%);
}
.pr-settings-lead:focus-visible > .pr-settings-surface {
  outline: 2px solid var(--cyan-d);
  outline-offset: 3px;
}
.pr-settings-lead[aria-expanded="true"] {
  background: transparent;
  border-radius: 0;
  border-bottom-color: #b8dce9;
}
.pr-settings-copy {
  display: grid;
  gap: 1px;
}
.pr-settings-lead strong {
  color: var(--cyan-d);
  font-size: 14px;
  font-weight: 800;
}
.pr-settings-lead small {
  font-size: 12px;
  color: var(--ink-soft);
}
.pr-settings-action {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan-d);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pr-settings-chevron {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.16s ease;
}
.pr-settings-lead[aria-expanded="true"] .pr-settings-chevron {
  transform: rotate(180deg);
}
.pr-settings-panel {
  margin-top: 0;
  border: 1px solid #b8dce9;
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: #f8fcfe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.pr-settings-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  padding: 18px 24px;
  background: #fff;
}
.pr-settings-panel .pr-sec {
  background: #f8fcfe;
  border-top: 1px solid #d3e7ef;
}
.pr-settings-panel .pr-person {
  background: #fff;
  border: 1px solid var(--line);
}

html.pr-compact body {
  min-height: 0;
  background: #fff;
}
html.pr-compact .pr-shell {
  max-width: none;
  min-height: 0;
  box-shadow: none;
}
html.pr-compact .pr-head,
html.pr-compact .pr-foot {
  display: none;
}
html.pr-compact .pr-wrap {
  max-width: none;
  padding: 0;
  background: #fff;
}
html.pr-compact .pr-form {
  border: 0;
  border-radius: 0;
  background: transparent;
}
html.pr-compact #pr-resultarea {
  margin-top: 22px;
}
html.pr-compact .pr-empty {
  padding: 18px;
}

@media (max-width: 900px) {
  .pr-quickbar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px;
  }
  .pr-quickbar .pr-field {
    padding: 9px 12px;
    background: #fff;
    border: 1px solid var(--control-border);
    border-radius: 12px;
  }
  .pr-quickbar .pr-field--plz {
    grid-column: 1 / -1;
  }
  .pr-quickbar .pr-accident-field {
    grid-column: 1 / -1;
  }
  .pr-quickbar .pr-calcrow {
    grid-column: 1 / -1;
  }
  .pr-quickbar .pr-calcrow {
    padding-left: 0;
  }
  .pr-quickbar .pr-btn--xl {
    width: 100%;
    min-height: 44px;
  }
  .pr-settings-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pr-quickbar {
    gap: 7px;
    padding: 8px;
    border-radius: 15px;
  }
  .pr-quickbar .pr-field {
    padding: 7px 10px;
  }
  .pr-quickbar .pr-input {
    font-size: 15px;
    min-height: 28px;
  }
  .pr-settings-disclosure {
    padding: 9px 8px;
  }
  .pr-settings-action-label {
    display: none;
  }
  .pr-settings-top {
    padding: 14px;
  }
  .pr-results-shell {
    padding: 8px;
    border-radius: 15px;
  }
  .pr-results-shell .pr-resbar {
    padding: 4px 4px 2px;
    margin-bottom: 8px;
  }
  .pr-results-shell .pr-cards {
    gap: 10px;
  }
  .pr-results-shell .pr-card-summary {
    padding: 10px;
  }
  .pr-card-panel {
    padding: 12px;
  }
  .pr-card-panel-head {
    display: none;
  }
}
