.quote-dialog{position:fixed;inset:auto 0 0;margin:auto auto 0;padding:0;border:0;width:min(100%,780px);height:98vh;height:98dvh;max-width:none;max-height:none;border-radius:28px 28px 0 0;background:#f8faff;color:var(--ink,#0f2141);box-shadow:0 -24px 90px #081b3880;overflow:hidden;overscroll-behavior:contain}.quote-dialog::backdrop{background:#06152cbf;backdrop-filter:blur(5px)}.quote-dialog[open]{animation:quote-rise .38s cubic-bezier(.2,.75,.2,1) both}.quote-dialog[open]::backdrop{animation:quote-dim .38s ease both}.quote-shell,.quote-form{height:100%;min-height:0;display:flex;flex-direction:column}.quote-top{height:62px;min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,40px);background:#0a1830;color:white}.quote-brand{font:800 11px Montserrat,Arial,sans-serif;letter-spacing:.14em}.quote-brand span{color:#f9b233;margin:0 9px}.quote-close{width:48px;height:48px;border:0;border-radius:50%;background:#ffffff17;color:white;font:300 32px/1 Arial,sans-serif;cursor:pointer;transition:background .2s,transform .2s}.quote-close:hover{background:#ffffff35;transform:rotate(90deg)}.quote-progress{display:flex;justify-content:space-between;gap:12px;padding:24px clamp(22px,7vw,60px) 10px;color:#52627b;font:800 12px Montserrat,Arial,sans-serif;letter-spacing:.02em}.quote-progress span:first-child{color:#2e7fe0}.quote-meter{height:5px;margin:0 clamp(22px,7vw,60px);background:#e4eaf3;border-radius:9px;overflow:hidden}.quote-meter span{display:block;width:100%;transform:scaleX(.2);transform-origin:left;height:100%;border-radius:9px;background:linear-gradient(90deg,#2e7fe0,#5da9ff);transition:transform .35s ease}.quote-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.quote-inner{width:min(100%,660px);margin:0 auto;padding:clamp(28px,5vh,58px) clamp(22px,7vw,60px) 40px}.quote-kicker{margin:0 0 12px;color:#2e7fe0;text-transform:uppercase;font:800 11px Montserrat,Arial,sans-serif;letter-spacing:.13em}.quote-step h2,.quote-done h2{font:900 clamp(26px,5vw,40px)/1.16 Montserrat,Arial,sans-serif;letter-spacing:-.035em;margin:0;color:#0a1830}.quote-hint{font-size:16px;line-height:1.5;color:#5b6b82;margin:16px 0 26px}.quote-options{display:grid;gap:12px}.quote-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-option{position:relative;display:flex;align-items:center;gap:17px;min-height:72px;width:100%;padding:13px 16px;border:2px solid #e2e8f0;border-radius:17px;background:#fff;color:#0f2141;text-align:left;font-family:Nunito,Arial,sans-serif;cursor:pointer;box-shadow:0 5px 15px #132c4b08;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}.quote-option:hover{border-color:#83b4eb;transform:translateY(-1px);box-shadow:0 10px 22px #132c4b13}.quote-option[aria-pressed="true"]{border-color:#2e7fe0;background:#edf5ff;box-shadow:0 7px 20px #2e7fe024}.quote-option-icon{flex:none;display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:#eaf3ff;color:#2e7fe0;font:800 26px/1 Montserrat,Arial,sans-serif}.quote-option-copy{flex:1;min-width:0}.quote-option-copy strong{display:block;font:800 16px/1.3 Montserrat,Arial,sans-serif}.quote-option-copy small{display:block;margin-top:5px;color:#63718a;font-size:12px;line-height:1.3}.quote-check{flex:none;display:grid;place-items:center;width:25px;height:25px;border:2px solid #d8e1ed;border-radius:50%;color:transparent;font-size:16px;font-weight:900;transform:scale(.8);transition:transform .22s cubic-bezier(.2,1.7,.3,1),background .18s,color .18s,border-color .18s}.quote-option[aria-pressed="true"] .quote-check{background:#2e7fe0;border-color:#2e7fe0;color:white;transform:scale(1)}.quote-option-wide{grid-column:1/-1}.quote-field{display:block;margin-bottom:0}.quote-field>span:first-child{display:block;margin:0 0 9px;font:800 13px Montserrat,Arial,sans-serif}.quote-field em{color:#2e7fe0;font-style:normal}.quote-field input,.quote-field select{width:100%;min-height:52px;border:1.5px solid #ccd6e3;border-radius:12px;background:#fff;color:#0f2141;font:600 16px Nunito,Arial,sans-serif;padding:13px 16px;outline:none}.quote-field input:focus,.quote-field select:focus{border-color:#2e7fe0;box-shadow:0 0 0 4px #2e7fe020}.quote-field input[aria-invalid="true"]{border-color:#c53c3c}.quote-field input::placeholder{color:#8996a8}.quote-field small{display:block;color:#67758c;font-size:12px;margin-top:9px}.quote-fields{display:grid;gap:17px}.quote-phone-row{display:flex;gap:8px}.quote-phone-row select{flex:none;width:118px;padding:0 8px}.quote-phone-row input{min-width:0}.quote-recap{margin-top:28px;padding:20px;background:#ecf3fd;border:1px solid #d6e6fa;border-radius:16px}.quote-recap>strong{font:800 14px Montserrat,Arial,sans-serif}.quote-recap dl{margin:13px 0 0}.quote-recap dl>div{display:flex;justify-content:space-between;gap:18px;padding:8px 0;border-top:1px solid #d8e6f5;font-size:13px}.quote-recap dt{color:#5b6b82}.quote-recap dd{margin:0;font-weight:800;text-align:right;overflow-wrap:anywhere}.quote-privacy{font-size:12px;line-height:1.5;color:#63718a;margin:20px 0 0}.quote-privacy a{color:#236abb;text-decoration:underline}.quote-error{margin:9px 0 0;color:#b32733;font-size:13px;font-weight:800}.quote-error[hidden],.quote-send-error[hidden],.quote-step[hidden],.quote-done[hidden],.quote-actions[hidden],.quote-actions [hidden]{display:none!important}.quote-send-error{margin:26px 0 0;padding:14px 16px;border-radius:12px;background:#fff1f0;color:#a0202c;font-size:14px;line-height:1.5;font-weight:800}.quote-actions{display:flex;gap:12px;align-items:center;padding:17px clamp(22px,7vw,60px) max(17px,env(safe-area-inset-bottom));border-top:1px solid #e1e7ef;background:#fff;box-shadow:0 -12px 30px #0a183009}.quote-back,.quote-next,.quote-submit,.quote-done-close{min-height:54px;border-radius:13px;font:800 14px Montserrat,Arial,sans-serif;cursor:pointer}.quote-back{padding:0 17px;border:1px solid #d3dce8;background:white;color:#465a75}.quote-next,.quote-submit{flex:1;border:1px solid #ffd482;border-bottom:4px solid #ca8a20;background:linear-gradient(#ffca68,#f9b233);color:#132642;box-shadow:0 9px 20px #f9b23335;padding:0 18px}.quote-next span,.quote-submit span{margin-left:8px}.quote-next:hover,.quote-submit:hover{filter:brightness(1.035)}.quote-submit:disabled{cursor:wait;opacity:.65}.quote-done{text-align:center;padding:7vh 0}.quote-done-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;margin:0 auto 26px;background:#e4f6e9;color:#19824a;font-size:38px;font-weight:900}.quote-done p{color:#52627b;line-height:1.6;font-size:16px;max-width:390px;margin:20px auto 27px}.quote-done-close{padding:0 32px;border:0;background:#0a1830;color:white}.quote-honey{position:absolute!important;width:1px!important;height:1px!important;left:-9999px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}@keyframes quote-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes quote-dim{from{opacity:0}to{opacity:1}}@media(max-width:520px){.quote-dialog{border-radius:22px 22px 0 0}.quote-options-grid{grid-template-columns:1fr}.quote-option-wide{grid-column:auto}.quote-inner{padding-top:26px}.quote-progress{padding-top:18px}.quote-brand{font-size:10px}.quote-option{min-height:64px}.quote-actions{padding-top:12px}.quote-actions button{font-size:12px}.quote-back{padding:0 12px}}@media(prefers-reduced-motion:reduce){.quote-dialog[open],.quote-dialog[open]::backdrop{animation:none}.quote-meter span,.quote-option,.quote-check,.quote-close{transition:none}}
.quote-option-icon svg{width:25px;height:25px}
.quote-check svg{width:15px;height:15px;stroke:currentColor}
.quote-step-enter{animation:quote-step-in .24s ease-out both}
.quote-address-options{position:relative;z-index:2;margin-top:8px;padding:6px;background:#fff;border:1px solid #cbd9eb;border-radius:13px;box-shadow:0 14px 30px #0a183019}
.quote-address-options[hidden]{display:none!important}
.quote-address-option{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:8px;color:#132642;font:700 14px/1.35 Nunito,Arial,sans-serif;cursor:pointer}
.quote-address-option:hover,.quote-address-option[aria-selected="true"]{background:#edf5ff;color:#1259ab}
.quote-address-marker{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eef5fd;color:#2e7fe0}
.quote-address-marker svg{width:17px;height:17px}
.quote-address-options>small{display:block;padding:7px 12px 4px;color:#68778e;font-size:11px}
.quote-address-status{min-height:1.4em;margin:8px 0 0;color:#52627b;font-size:12px;line-height:1.4}
@keyframes quote-step-in{from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.quote-step-enter{animation:none}}

/* Mobil (29. 9. 2026): formulář přes celou obrazovku, výška podle viditelné části (klávesnice
   nezakryje pole ani tlačítko – form.js nastavuje --vv-h/--vv-top z visualViewport), čitelné písmo. */
@media(max-width:520px){
  .quote-dialog{inset:0 0 auto;top:var(--vv-top,0px);margin:0;width:100%;height:100vh;height:var(--vv-h,100dvh);border-radius:0;box-shadow:none}
  .quote-top{height:auto;min-height:calc(56px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}
  .quote-brand{font-size:11px}
  .quote-progress{font-size:13px;padding-top:14px}
  .quote-inner{padding-top:20px}
  .quote-hint{margin:12px 0 20px}
  .quote-option-copy small,.quote-field small,.quote-address-status{font-size:13px}
  .quote-address-option{min-height:44px;font-size:15px}
  .quote-recap dl>div{font-size:14px}
  .quote-privacy{font-size:13px}
  .quote-privacy a{display:inline-flex;align-items:center;min-height:44px}
  .quote-error{font-size:14px}
  .quote-actions{padding:10px 16px max(10px,env(safe-area-inset-bottom))}
  .quote-actions button{font-size:15px}
  .quote-back{padding:0 14px}
}
.quote-also{display:flex;gap:12px;align-items:flex-start;margin-top:20px;padding:14px 16px;border:2px solid #e2e8f0;border-radius:14px;background:#fff;cursor:pointer;min-height:44px}.quote-also input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:#2e7fe0}.quote-also strong{display:block;font:800 14px Montserrat,Arial,sans-serif;color:#0f2141}.quote-also small{display:block;margin-top:4px;color:#63718a;font-size:12px;line-height:1.35}.quote-also:has(input:checked){border-color:#2e7fe0;background:#edf5ff}
.quote-consent{display:flex;gap:10px;align-items:flex-start;margin:20px 0 0;font-size:12px;line-height:1.45;color:#52627b;cursor:pointer}.quote-consent[hidden]{display:none!important}.quote-consent input{flex:none;width:20px;height:20px;margin:0;accent-color:#2e7fe0}.quote-consent a{color:#236abb;text-decoration:underline}
