/* ============================================================
   MEDELA — калькулятор услуг (calculator.html)
   Page-only styles. Everything is scoped under .calcpage so the
   generic class names (.card, .total, .result, .list …) can never
   leak into, or be overridden by, the site-wide styles.css.

   The desktop hero is a fixed 1645×956 "stage" scaled to fit:
   the card shells, the CTA pill, the result-card shell, the shield
   ring and the wallet are painted into assets/calc-bg.webp, and the
   DOM only carries the text and the interactive states on top.
   Below 1100px that stage shrinks type under ~10px, so it is
   swapped for a real responsive layout (.cmob) driven by the same
   state — same categories, same picker, same totals.
   ============================================================ */

.calcpage {
  /* styles.css ships the numbered teal ramp but no bare --teal/--teal-d,
     which the imported design leans on; alias them here. */
  --teal: #2E8E99;
  --teal-d: #20707C;
  --c-green: #7FAE5B;
  --c-muted: #6B7F83;
  --c-ink-2: #5A6E73;
  padding-bottom: 24px;
}

/* ---------- desktop stage ---------- */
.cframe {
  position: relative;
  width: min(1256px, 100% - 32px, (100dvh - 152px) * 1.7207);
  margin: 16px auto 0;
  aspect-ratio: 1645 / 956;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 88, 98, .10), 0 40px 80px rgba(15, 88, 98, .07);
}
.cstage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1645px;
  height: 956px;
  transform-origin: 0 0;
}
.cscene {
  position: relative;
  width: 1645px;
  height: 956px;
  overflow: hidden;
  background: #f4f3ef;
}
.cscene .cbg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cscene .lay { position: absolute; inset: 0; }

.cscene h1.ctitle {
  position: absolute;
  left: 89px;
  top: 212px;
  width: 800px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.cscene h1.ctitle .l { display: block; }
.calcpage .grad {
  background: linear-gradient(92deg, var(--teal) 0%, #4A9B86 46%, #86B45C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cscene .csub {
  position: absolute;
  left: 89px;
  top: 368px;
  width: 440px;
  font-size: 19px;
  line-height: 1.75;
  font-weight: 500;
  color: var(--c-ink-2);
  text-wrap: pretty;
  margin: 0;
}

/* category cards — the shells live in the photo, these hold text + state */
.cscene .cards {
  position: absolute;
  left: 92px;
  top: 455px;
  width: 780px;
  height: 190px;
}
.cscene .cards .card {
  position: absolute;
  top: 0;
  width: 139px;
  height: 190px;
  border-radius: 22px;
  background: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 8px 16px;
  font: inherit;
  color: inherit;
  text-align: center;
  transition: background .28s, border-color .28s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.cscene .cards .card:nth-child(1) { left: 0; }
.cscene .cards .card:nth-child(2) { left: 158px; }
.cscene .cards .card:nth-child(3) { left: 319px; }
.cscene .cards .card:nth-child(4) { left: 478px; }
.cscene .cards .card:nth-child(5) { left: 638px; }
.cscene .cards .card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .42); }
.cscene .cards .card:focus-visible { outline: 3px solid rgba(46, 142, 153, .5); outline-offset: 3px; }
.cscene .cards .card .disc { display: none; }
.calcpage .card .cap { margin-top: auto; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.calcpage .card .hint { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--c-muted); white-space: nowrap; }
.calcpage .card.has .hint { color: var(--teal); }
.cscene .card.on { background: rgba(46, 142, 153, .09); border-color: rgba(46, 142, 153, .34); }
.calcpage .card .tick {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(46, 142, 153, .35);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .35s cubic-bezier(.2, 1.5, .4, 1);
}
.calcpage .card.has .tick { opacity: 1; transform: scale(1); }

/* action row — the pill and the shield ring are in the photo */
.cscene .actionrow {
  position: absolute;
  left: 88px;
  top: 713px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.cscene .actionrow .cta {
  width: 352px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 34px;
  text-align: left;
}
.cscene .actionrow .cta:hover { filter: brightness(1.05); }
.cscene .actionrow .cta svg { display: none; }
.cscene .safe { display: flex; align-items: center; gap: 16px; }
.cscene .safe .ring { width: 42px; height: 42px; flex: none; }
.cscene .safe .ring svg { display: none; }
.cscene .safe .txt { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--c-ink-2); }

/* result card — shell, divider, button and wallet are in the photo */
.calcpage .cscene .result {
  position: absolute;
  left: 1066px;
  top: 655px;
  width: 442px;
  height: 275px;
  z-index: 2;
}
.calcpage .cscene .rrow {
  position: absolute;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-ink-2);
}
.calcpage .cscene .rrow.r1 { top: 30px; }
.calcpage .cscene .rrow.r2 { top: 66px; }
.calcpage .rrow small { display: block; font-size: 12.5px; font-weight: 600; color: #9BAAAE; margin-top: 2px; }
.calcpage .rrow b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calcpage .rrow.r2 b { color: var(--c-green); }
.calcpage .cscene .total {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 124px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.calcpage .total > span:first-child { font-size: 18px; font-weight: 700; color: var(--ink); }
.calcpage .total b {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calcpage .total b > span { font-size: inherit; font-weight: inherit; }
.calcpage .total b .cur { font-size: .52em; font-weight: 700; margin-left: 6px; color: var(--c-ink-2); }
.calcpage .cscene .rhint {
  display: none;
  position: absolute;
  left: 34px;
  right: 34px;
  top: 26px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-ink-2);
}
.calcpage .rhint b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.calcpage .result.empty .rrow,
.calcpage .result.empty .total { display: none; }
.calcpage .result.empty .rhint { display: block; }
.calcpage .cscene .cbook {
  position: absolute;
  left: 67px;
  top: 183px;
  width: 307px;
  height: 55px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 0 26px;
  text-align: left;
}
.calcpage .cscene .cbook:hover { filter: brightness(1.06); }
.calcpage .cscene .cbook svg { display: none; }

/* ---------- mobile / narrow layout (real DOM, no baked artwork) ---------- */
.cmob { display: none; }
.cmob-head { padding: 26px 4px 0; }
.cmob .ceyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cmob h1 {
  margin: 14px 0 0;
  font-size: clamp(28px, 7.4vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cmob h1 .l { display: block; }
.cmob .csub {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--c-ink-2);
  max-width: 44ch;
}
.cmob .cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.cmob .cards .card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 14px 14px;
  min-height: 156px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(14, 43, 48, .04), 0 8px 20px rgba(14, 43, 48, .05);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cmob .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.cmob .cards .card:last-child:nth-child(odd) .cap { margin-top: 0; }
.cmob .cards .card:last-child:nth-child(odd) .hint { margin-left: auto; margin-top: 0; }
.cmob .card:active { transform: scale(.985); }
.cmob .card.on { border-color: rgba(46, 142, 153, .5); box-shadow: 0 0 0 3px rgba(46, 142, 153, .12); }
.cmob .card .disc {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
}
.cmob .card .disc svg { width: 24px; height: 24px; }
.cmob .card .cap { margin-top: auto; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cmob .card .hint { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--c-muted); }
.cmob .card.has .hint { color: var(--teal); }
.cmob .card .tick {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s, transform .3s cubic-bezier(.2, 1.5, .4, 1);
}
.cmob .card.has .tick { opacity: 1; transform: scale(1); }

.cmob .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(96deg, #1E8A99 0%, #157380 100%);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}
.cmob .result {
  margin-top: 16px;
  padding: 20px 20px 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(14, 43, 48, .05), 0 16px 34px rgba(14, 43, 48, .07);
}
.cmob .rhint { display: none; position: static; }
.cmob .rhint b { font-size: 17px; }
.cmob .rrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink-2);
  margin-bottom: 10px;
}
.cmob .total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.cmob .total b { font-size: 26px; }
.cmob .cbook {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(96deg, #1E8A99 0%, #157380 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
}
.cmob .safe {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--teal-700);
}
.cmob .safe .txt { font-size: 13.5px; font-weight: 600; color: var(--c-muted); }

/* ---------- service picker: inline panel, pushes the page down ---------- */
.calcpage .picker {
  display: none;
  max-width: calc(var(--maxw, 1240px) + 16px);
  margin: 0 auto;
  padding: 0 16px;
}
.calcpage .picker.open { display: block; }
.calcpage .pcard {
  width: 100%;
  margin-top: 16px;
  max-height: min(64dvh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(14, 43, 48, .05), 0 18px 40px rgba(14, 43, 48, .14);
  padding: 18px 26px 20px;
}
.calcpage .phead {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.calcpage .ptitle { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.calcpage .ptitle i { font-style: normal; font-size: 15px; font-weight: 600; color: var(--c-muted); }
.calcpage .psum {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #F1F8F8;
  border: 1px solid rgba(46, 142, 153, .18);
  white-space: nowrap;
}
.calcpage .psum span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.calcpage .psum b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.calcpage .psum b i { font-style: normal; font-size: .62em; font-weight: 700; color: var(--c-ink-2); margin-left: 4px; }
.calcpage .pclose {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-ink-2);
}
.calcpage .pclose:hover { color: var(--ink); border-color: rgba(18, 51, 58, .24); }
.calcpage .pgrid {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
  padding-right: 4px;
}
.calcpage .search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(46, 142, 153, .28);
  background: #fff;
  color: var(--teal);
  margin-bottom: 10px;
}
.calcpage .search input {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
}
.calcpage .search input::placeholder { color: #9BAAAE; font-weight: 500; }
.calcpage .list { display: flex; flex-direction: column; }
.calcpage .opt {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
}
.calcpage .opt:hover { background: #F4F8F8; }
.calcpage .opt:focus-visible { outline: 2px solid rgba(46, 142, 153, .5); }
.calcpage .opt .box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(18, 51, 58, .22);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  transition: background .2s, border-color .2s;
}
.calcpage .opt .box svg { opacity: 0; transition: opacity .15s; }
.calcpage .opt.sel .box { background: var(--teal); border-color: var(--teal); }
.calcpage .opt.sel .box svg { opacity: 1; }
.calcpage .opt .nm { font-size: 15px; font-weight: 600; flex: 1; line-height: 1.35; }
.calcpage .opt .pr { font-size: 14.5px; font-weight: 700; color: var(--c-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calcpage .pempty { padding: 22px 14px; font-size: 15px; font-weight: 600; color: #9BAAAE; }

/* ---------- grouped list (лаборатория: 359 анализов в 50 разделах) ---------- */
.calcpage .groups { display: flex; flex-direction: column; }
.calcpage .grp + .grp { border-top: 1px solid var(--line); }
.calcpage .grp-h {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: var(--ink);
}
.calcpage .grp-h:hover { background: #F4F8F8; }
.calcpage .grp-h:focus-visible { outline: 2px solid rgba(46, 142, 153, .5); }
.calcpage .grp-h .chev {
  flex: none;
  color: var(--teal);
  transition: transform .2s;
}
.calcpage .grp.open .grp-h .chev { transform: rotate(90deg); }
.calcpage .grp-n { flex: 1; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.calcpage .grp-b {
  flex: none;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.calcpage .grp-c {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #9BAAAE;
  font-variant-numeric: tabular-nums;
}
.calcpage .grp .list { padding: 2px 0 10px 26px; }

.calcpage .found {
  padding: 4px 14px 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
}
.calcpage .hit { position: relative; }
.calcpage .hit-g {
  padding: 0 14px 8px 50px;
  margin-top: -6px;
  font-size: 12px;
  font-weight: 600;
  color: #9BAAAE;
  line-height: 1.3;
}
.calcpage .opt .nm .term {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #9BAAAE;
}
.calcpage .sclear {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--c-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.calcpage .sclear:hover { color: var(--ink); }

/* ---------- category with no prices supplied (IV-терапия) ---------- */
.calcpage .opt.static { cursor: default; }
.calcpage .opt.static:hover { background: none; }
.calcpage .opt.static .nm { padding-left: 2px; }
.calcpage .pr.muted { color: #9BAAAE; font-weight: 700; }
.calcpage .onreq-note {
  margin: 10px 2px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F7FAFA;
  border: 1px solid rgba(46, 142, 153, .14);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-ink-2);
}
.calcpage .onreq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(96deg, #1E8A99 0%, #157380 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}
.calcpage .onreq-cta:hover { filter: brightness(1.06); }

.calcpage .cart {
  background: #F7FAFA;
  border: 1px solid rgba(46, 142, 153, .14);
  border-radius: 22px;
  padding: 16px 18px 15px;
  display: flex;
  flex-direction: column;
  min-height: 196px;
}
.calcpage .cart h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}
.calcpage .crow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
}
.calcpage .crow .nm { flex: 1; line-height: 1.35; }
.calcpage .crow .nm em { font-style: normal; color: var(--c-muted); font-weight: 700; }
.calcpage .crow .pr { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calcpage .crow .x {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--c-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
  font-family: inherit;
}
.calcpage .crow .x:hover { color: #B4483C; border-color: rgba(180, 72, 60, .4); }
.calcpage .cempty { font-size: 14.5px; font-weight: 600; color: #9BAAAE; line-height: 1.55; padding: 6px 0 10px; }
.calcpage .cfoot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.calcpage .cfoot span { font-size: 15px; font-weight: 700; }
.calcpage .cfoot b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calcpage .cclear {
  margin-top: 12px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink-2);
}
.calcpage .cclear:hover { color: var(--ink); }

.calcpage .cnote {
  max-width: calc(var(--maxw, 1240px) + 16px);
  margin: 18px auto 0;
  padding: 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
}

@media (max-width: 1100px) {
  .calcpage .pgrid { grid-template-columns: 1fr; }
  .cframe { display: none; }
  .cmob { display: block; max-width: 720px; margin: 0 auto; padding: 0 20px; }
  .calcpage .picker { padding: 0 20px; max-width: 760px; }
  .calcpage .pcard { padding: 18px 16px 20px; border-radius: 24px; max-height: 70dvh; }
  .calcpage .phead { flex-wrap: wrap; gap: 10px; }
  .calcpage .ptitle { width: 100%; font-size: 17px; }
  .calcpage .psum { margin-left: 0; }
  .calcpage .pclose { margin-left: auto; }
  .calcpage .cnote { padding: 0 20px; }
}

@media (max-width: 380px) {
  .cmob .cards { grid-template-columns: 1fr; }
  .cmob .cards .card { min-height: 0; flex-direction: row; align-items: center; }
  .cmob .cards .card .cap { margin-top: 0; }
  .cmob .cards .card .hint { margin-left: auto; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .calcpage *, .cmob * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
