/* Adapted from tm-kursa/public/nabidka-financni-poradci-coaching: full-screen TF flow. */
#enquiry-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#f8f8f1;color:#202820;overflow:hidden}
#enquiry-dialog::backdrop{background:#f8f8f1}#enquiry-dialog *{box-sizing:border-box}#enquiry-dialog [hidden]{display:none!important}
.enquiry-shell{height:100%;position:relative;overflow-y:auto;padding:110px 28px 120px;display:flex;flex-direction:column;justify-content:safe center}
.enquiry-shell form,.enquiry-success{width:100%;max-width:640px;margin:auto}
.enquiry-kicker{position:fixed;top:29px;left:34px;font-size:15px;font-weight:700;margin:0;letter-spacing:-.03em;z-index:3}
.enquiry-close{position:fixed;top:18px;right:24px;width:42px;height:42px;border-radius:50%;background:#eeefe7;border:1px solid #dce1d5;color:#596257;cursor:pointer;font:400 24px Figtree;z-index:4}
.enquiry-shell progress{position:fixed;inset:0 0 auto;width:100%;height:4px;border:0;margin:0;accent-color:#4058ab;z-index:5}.enquiry-shell progress::-webkit-progress-bar{background:#e0e5db}.enquiry-shell progress::-webkit-progress-value{background:#4058ab;transition:width .3s ease}
.enquiry-count{color:#4058ab;font-size:14px;font-weight:500;margin:0 0 20px}.enquiry-count:after{content:' →';margin-left:5px}
.enquiry-shell fieldset{border:0;padding:0;margin:0;min-width:0;animation:enquiry-in .3s ease both}
.enquiry-shell h2{font:400 clamp(30px,3.5vw,40px)/1.2 Figtree,sans-serif;letter-spacing:-.025em;margin:0 0 26px}
.enquiry-shell label{display:block;font-size:13px;color:#596257;font-weight:500;margin:20px 0 7px}
.enquiry-shell input:not([type=radio]),.enquiry-shell textarea{width:100%;font:400 28px/1.45 Figtree,sans-serif;border:0;border-bottom:2px solid #c0c7b7;background:transparent;color:#4058ab;border-radius:0;padding:9px 0;outline:none;transition:border-color .15s}
.enquiry-shell input:focus,.enquiry-shell textarea:focus{border-color:#4058ab}.enquiry-shell input::placeholder,.enquiry-shell textarea::placeholder{color:#a6b19c}.enquiry-shell textarea{min-height:135px;resize:vertical;font-size:24px}
.enquiry-hint{color:#64705f;font-size:18px;line-height:1.55;margin:0 0 24px}
.enquiry-options{display:grid;gap:10px;margin-top:28px}.enquiry-shell .enquiry-option{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0;background:#f0f2e9;border:1px solid #bbc4ae;border-radius:6px;cursor:pointer;font-size:19px;color:#4058ab;font-weight:400;transition:background .15s,border-color .15s}
.enquiry-option input{position:absolute;opacity:0;width:1px;height:1px}.enquiry-letter{display:grid;place-items:center;width:25px;height:25px;flex:none;font-size:13px;background:#fafbf6;border:1px solid #94a0bd;border-radius:3px}.enquiry-option:has(input:checked){background:#e5eaf7;border:2px solid #4058ab;padding:15px 17px}.enquiry-option:has(input:checked):after{content:'✓';margin-left:auto}.enquiry-option:has(input:checked) .enquiry-letter{background:#4058ab;color:#fff;border-color:#4058ab}.enquiry-option:has(input:focus-visible){outline:2px solid #4058ab;outline-offset:3px}
.enquiry-controls{position:fixed;bottom:0;left:0;right:0;z-index:4;background:#f8f8f1;border-top:1px solid #dce1d5;padding:18px 32px max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:20px}
.enquiry-next-wrap{display:flex;align-items:center;gap:16px;margin-left:auto}.enquiry-enter{font-size:12px;color:#64705f}.enquiry-next,.enquiry-done{border:0;border-radius:6px;background:#4058ab;color:#fff;font:600 17px Figtree;padding:15px 24px;cursor:pointer;min-width:150px}.enquiry-back{background:transparent;border:0;font:500 14px Figtree;color:#596257;cursor:pointer;padding:12px 0}.enquiry-back:before{content:'← ';}.enquiry-error{color:#a62d2d;font-size:14px;line-height:1.5;margin:20px 0 0}.enquiry-error:empty{display:none}.enquiry-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.enquiry-review{margin:0}.enquiry-review>div{padding:12px 0;border-bottom:1px solid #dfe3d7}.enquiry-review dt{font-size:12px;color:#64705f}.enquiry-review dd{margin:5px 0 0;font-size:18px;white-space:pre-wrap;overflow-wrap:anywhere}.enquiry-success p{font-size:20px;line-height:1.6;margin-bottom:28px}.enquiry-shell button:disabled{opacity:.55;cursor:wait}
@keyframes enquiry-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(max-width:600px){.enquiry-shell{padding:100px 24px 120px}.enquiry-kicker{top:26px;left:24px;font-size:14px}.enquiry-close{right:18px;top:16px}.enquiry-shell h2{font-size:30px}.enquiry-shell input:not([type=radio]){font-size:25px}.enquiry-hint{font-size:16px}.enquiry-shell .enquiry-option{font-size:17px}.enquiry-controls{padding:15px 24px max(15px,env(safe-area-inset-bottom))}.enquiry-enter{display:none}.enquiry-next{min-width:140px}}
@media(prefers-reduced-motion:reduce){.enquiry-shell fieldset{animation:none}.enquiry-shell progress::-webkit-progress-value{transition:none}}

/* The same new brand mark as the site header, in dark ink for the light form. */
.enquiry-kicker{top:24px}.enquiry-kicker .brand-logo{width:150px;color:#122344}.enquiry-kicker .brand-symbol{background:currentColor}
@media(max-width:600px){.enquiry-kicker{top:23px}.enquiry-kicker .brand-logo{width:132px}}

/* Keep form actions usable on touch screens and when the viewport is shortened. */
.enquiry-close{min-width:44px;min-height:44px}.enquiry-back,.enquiry-done{min-height:44px}
@media(max-width:600px){.enquiry-shell{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.enquiry-option{min-height:48px}.enquiry-review dd{font-size:17px}}
@media(max-height:500px){.enquiry-shell{justify-content:flex-start;padding-top:80px;padding-bottom:110px}}
