/* harmyo.com/quote-maker (templates/quote_maker.html, static/quote-maker.js); the page frame comes from help-public.css */
.qm-hero { max-width: 820px; }
.qm-lang { display: inline-flex; gap: 4px; margin-top: 16px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qm-lang button { padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.qm-lang button[aria-pressed="true"] { background: var(--forest); color: #fff; font-weight: 600; }
.qm-tabs { display: none; gap: 6px; margin: 0 0 14px; }
.qm-tabs button { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.qm-tabs button[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.qm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.qm-build { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.qm-build h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.01em; }
.qm-build h3 { margin: 22px 0 10px; font-size: 16px; }
.qm-field { display: block; margin: 0 0 12px; }
.qm-field > span:first-child { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.qm-field input[type="text"], .qm-field select, .qm-addon select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.qm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qm-range { display: flex; align-items: center; gap: 12px; }
.qm-range input { flex: 1; min-width: 0; accent-color: var(--green); }
.qm-range output { min-width: 44px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.qm-addon { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; align-items: center; margin: 0 0 8px; font-size: 14px; }
.qm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--forest); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.qm-ghost { background: none; border: 1px solid var(--line); color: var(--ink); }
.qm-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.qm-view { position: sticky; top: 16px; }
.qm-view-title { margin: 0 0 12px; font-size: 18px; text-align: center; color: var(--muted); }
.qm-phone { position: relative; max-width: 390px; margin: 0 auto; padding: 14px; border-radius: 44px; background: #0f1e19; box-shadow: 0 30px 50px -28px rgba(23, 60, 51, .6); }
.qm-notch { position: absolute; z-index: 1; top: 20px; left: 50%; width: 96px; height: 24px; margin-left: -48px; border-radius: 999px; background: #0f1e19; }
.qm-screen { max-height: 720px; overflow-y: auto; padding: 44px 18px 22px; border-radius: 32px; background: var(--paper); }
.qm-p-clinic { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); overflow-wrap: anywhere; }
.qm-p-head h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.qm-p-pack { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.qm-p-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px; margin: 0 0 16px; border-radius: 16px; background: var(--forest); color: #fff; }
.qm-p-price span { font-size: 14px; color: #dfe9e2; }
.qm-p-price strong { font-size: 30px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.qm-screen h3 { margin: 16px 0 8px; font-size: 15px; }
.qm-checks { list-style: none; margin: 0; padding: 0; }
.qm-checks li { position: relative; padding: 5px 0 5px 26px; font-size: 14px; }
.qm-checks li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.qm-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 8px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.qm-opt strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.qm-opt.on { border-color: var(--green); background: #eaf3e2; }
.qm-sum { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.qm-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.qm-line span { color: var(--muted); }
.qm-line strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.qm-line.total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 16px; }
.qm-line.total span { color: var(--ink); font-weight: 700; }
.qm-line.disc strong { color: var(--green); }
.qm-confirm { display: block; width: 100%; min-height: 50px; margin: 16px 0 0; border: 0; border-radius: 14px; background: var(--forest); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.qm-confirm[disabled] { opacity: .45; cursor: not-allowed; }
.qm-sample { margin: 10px 0 0; font-size: 12px; text-align: center; color: var(--muted); }
.qm-sheet { position: fixed; z-index: 20; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 30, 25, .55); }
.qm-sheet[hidden] { display: none; }
.qm-sheet-card { width: min(460px, 100%); padding: 22px; border-radius: 22px 22px 0 0; background: var(--paper); }
.qm-sheet-card h3 { margin: 0 0 12px; font-size: 20px; }
.qm-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 6px; font-size: 14px; }
.qm-consent input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--green); }
.qm-sheet-card .qm-btn { margin-top: 10px; }
.qm-cta-ghost { margin-left: 10px; background: none !important; border: 1px solid rgba(255, 255, 255, .5); color: #fff !important; }
#qm[data-mode="patient"] .qm-build, #qm[data-mode="patient"] .qm-view-title, #qm[data-mode="patient"] .qm-hero, #qm[data-mode="patient"] .qm-tabs, #qm[data-mode="patient"] .qm-cta { display: none; }
#qm[data-mode="patient"] .qm-grid { grid-template-columns: minmax(0, 1fr); }
#qm[data-mode="patient"] .qm-view { position: static; }
#qm[data-mode="patient"] .qm-phone { max-width: 460px; padding: 0; background: none; box-shadow: none; }
#qm[data-mode="patient"] .qm-notch { display: none; }
#qm[data-mode="patient"] .qm-screen { max-height: none; padding: 18px 4px 28px; background: none; }
@media (max-width: 880px) {
  .qm-grid { grid-template-columns: minmax(0, 1fr); }
  .qm-tabs { display: flex; }
  #qm[data-show="build"] .qm-view, #qm[data-show="view"] .qm-build { display: none; }
  .qm-view { position: static; }
  .qm-view-title { display: none; }
  .qm-addon { grid-template-columns: minmax(0, 1fr); }
  .qm-phone { padding: 10px; border-radius: 36px; }
  .qm-screen { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .qm-opt { transition: none; } }
.qm-details { margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.qm-details > summary { padding: 14px 0; cursor: pointer; font-weight: 700; list-style-position: inside; }
.qm-details[open] > summary { padding-bottom: 8px; }
.qm-make { margin-top: 18px; }
.qm-linkbox { margin-top: 18px; padding: 16px; border: 1.5px solid var(--green); border-radius: 16px; background: #eaf3e2; }
.qm-linkbox h3 { margin: 0 0 10px; font-size: 16px; }
.qm-linkbox input[type="text"] { width: 100%; min-height: 44px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.qm-expired { padding: 28px 8px; text-align: center; }
.qm-expired h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.01em; }
.qm-expired p { margin: 0 auto; max-width: 360px; color: var(--muted); }
