
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:#23382e;background:#fafbf8;--line:#dce2dc}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#fafbf8}body{position:fixed;inset:0}
button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,summary:focus-visible{outline:3px solid #719269;outline-offset:3px}[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}
main{position:absolute;inset:0;height:100%;display:grid;grid-template-columns:clamp(185px,22vw,285px) minmax(0,1fr);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#fafbf8;overflow:hidden;transition:filter 8s ease}
.rail{padding:clamp(24px,4vh,46px) 22px;display:flex;flex-direction:column;gap:clamp(32px,7vh,80px);border-right:1px solid #e3e7df;min-width:0}
#brand-control{display:block;width:100%;padding:4px 0;background:none;border:0;border-radius:10px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none;transition:opacity .2s,background .2s}
#brand-control .brand{display:block;width:100%;height:auto;filter:brightness(0);pointer-events:none}#brand-control.holding{background:#e4ebdd;opacity:.65}
nav{display:flex;flex-direction:column;gap:14px;color:#677260;font-size:1.05rem;line-height:1.35}nav span{padding:15px 13px;border-radius:9px}nav .current{color:#233e2b;background:#e3ebdc;font-weight:650}
.workspace{min-height:0;min-width:0;overflow:hidden;padding:clamp(20px,3vh,36px) clamp(22px,3.2vw,52px);display:flex;flex-direction:column;gap:12px}
.development{font-size:.72rem;font-weight:600;letter-spacing:.06em;color:#65735f;flex-shrink:0}
#visitor-form{display:flex;flex:1;flex-direction:column;min-height:0;gap:12px}
.step{display:flex;flex-direction:column;min-height:0;flex:1;gap:18px}
.step-heading{flex-shrink:0}.eyebrow{font-size:.75rem;letter-spacing:.16em;font-weight:600;color:#5c735d;margin:0 0 12px}
h1{font-family:Georgia,serif;font-size:clamp(2rem,3.4vw,3.2rem);font-weight:400;line-height:1.12;letter-spacing:-.035em;margin:0 0 12px;color:#193825}
h2{font-family:Georgia,serif;font-size:2rem;font-weight:400}.intro{font-size:1.1rem;line-height:1.5;color:#56634f;margin:0;max-width:900px}
.page-body{flex:1;min-height:0;overflow:hidden}.flow-stack{display:contents}.flow-unit{margin:0 0 16px}.page-hidden{display:none!important}
.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wide{grid-column:1/-1}
label{display:block;font-size:1.1rem;line-height:1.4;font-weight:550;color:#3b4d3e;min-width:0}
input:not([type=checkbox]):not([type=radio]),select{display:block;width:100%;background:#fff;border:1px solid #aab9a6;border-radius:9px;padding:16px 17px;min-height:64px;margin-top:8px;color:#172e23;font-size:1.3rem;outline:none}
input:focus,select:focus{border-color:#628260;box-shadow:0 0 0 3px #9aaf8e30}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m2 2 5 5 5-5' stroke='%23566d51' fill='none' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}
.hint{font-size:1rem;color:#5f6c58;line-height:1.45}.step-heading .hint{margin-bottom:0}
details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}summary{cursor:pointer;font-weight:550;font-size:1.1rem;line-height:1.45;min-height:26px}summary span{font-size:.95rem;color:#697660;margin-left:8px}
.text-button{border:1px solid #bbc9b5;border-radius:8px;background:transparent;color:#3e633d;padding:14px 18px;min-height:52px;font-size:1.1rem}
.child-row{display:flex;gap:12px;align-items:end}.child-row label{flex:1}.child-row button{background:transparent;border:0;min-height:60px;padding:12px;color:#5d6e56}
.choice-heading{font-size:1.1rem;font-weight:550}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice-grid label{position:relative}.choice-grid input{position:absolute;opacity:0}.choice-grid span{display:flex;justify-content:center;align-items:center;text-align:center;border:1px solid #aab9a6;border-radius:9px;padding:15px 8px;min-height:62px;font-size:1.1rem;font-weight:400;background:#fff}.choice-grid input:checked+span{border-color:#446443;background:#e8efde;color:#2e4a2b;font-weight:600}.choice-grid input:focus-visible+span{outline:3px solid #92ad83}
.form-actions{flex-shrink:0;border-top:1px solid var(--line);padding-top:14px;display:flex;gap:12px;align-items:center}.form-actions p{margin:0 auto 0 0;color:#59674f;font-size:.95rem}.primary,.secondary{border-radius:9px;padding:15px 24px;min-height:58px;border:1px solid #253f2e;font-weight:550;font-size:1.1rem}.primary{background:#253f2e;color:#fff}.secondary{background:transparent;color:#38513b;border-color:#c7d1c3}
#status{flex-shrink:0;font-size:1rem;line-height:1.4;color:#815c2c;margin:0}#status:empty{display:none}#retry{align-self:flex-start}
#review h2{font-family:inherit;font-size:1.15rem;font-weight:650}#review .review-row{display:grid;grid-template-columns:43% minmax(0,1fr);gap:16px;padding:11px 0;border-bottom:1px solid #e0e6db;font-size:1.1rem;line-height:1.45}dt{color:#59674f}dd{margin:0;color:#233c29;overflow-wrap:anywhere}
#screensaver{position:fixed;inset:0;z-index:30;width:100%;height:100%;border:0;background:#080b0a;color:#fff;overflow:hidden;touch-action:none;overscroll-behavior:none;padding:0;opacity:0;visibility:hidden;transition:opacity .55s ease}#screensaver img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(82vw,1100px);height:auto;max-height:44vh;object-fit:contain;filter:brightness(0) invert(1);opacity:.94;transition:transform .65s ease,opacity .55s ease}#screensaver span{position:absolute;top:80%;left:0;right:0;text-align:center;font-size:clamp(.85rem,1.6vw,1.15rem);letter-spacing:.3em;color:#adb4a6;font-weight:400}#screensaver i{position:absolute;left:50%;top:88%;width:6px;height:6px;background:#a3b695;border-radius:50%;animation:breathe 3s ease-in-out infinite}.sleeping #screensaver{opacity:1;visibility:visible;transition:opacity 3s ease}.sleeping main{visibility:hidden;pointer-events:none}.dimming main{filter:brightness(.08)}.waking #screensaver{visibility:visible;opacity:0}.waking #screensaver img{transform:translate(-50%,-50%) scale(1.12);opacity:0}.waking .workspace{animation:arrive .65s ease both}@keyframes arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes breathe{50%{opacity:.3;transform:scale(.75)}}dialog{max-width:500px;width:calc(100% - 30px);max-height:85dvh;overflow:auto;border:1px solid #d0dbc8;border-radius:15px;padding:30px;background:#fafbf6;color:#2f4930}dialog::backdrop{background:#0009}dialog p{font-size:.9rem;line-height:1.65;color:#6d795f}dialog button{margin-top:20px;margin-right:8px}
@media(max-height:780px){.workspace{gap:10px}.step{gap:14px}.eyebrow{margin-bottom:8px}h1{font-size:2.1rem;margin-bottom:8px}.intro{font-size:1rem}.flow-unit{margin-bottom:12px}nav{font-size:1rem;gap:6px}.rail{gap:30px}input:not([type=checkbox]):not([type=radio]),select{min-height:60px;padding:13px 15px}.primary,.secondary{min-height:52px;padding:12px 20px}}
@media(max-width:700px){main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.rail{padding:14px 20px 10px;border-right:0;border-bottom:1px solid var(--line);gap:12px;flex-direction:row;align-items:center}#brand-control{width:150px;flex-shrink:0}nav{flex-direction:row;gap:4px;flex-wrap:wrap;font-size:.8rem}nav span{padding:7px}.workspace{padding:18px 22px}.field-row{gap:12px}label{font-size:1rem}.choice-grid{gap:8px}.choice-grid span{font-size:1rem;padding:12px 5px}.development{font-size:.65rem}.form-actions{gap:8px}.form-actions p{font-size:.8rem}.primary,.secondary{font-size:1rem;padding:12px 16px}h1{font-size:2rem}#screensaver img{width:90vw}#screensaver span{top:78%;font-size:.8rem}#screensaver i{top:86%}}
@media(max-width:480px){.field-row{grid-template-columns:1fr}.rail{flex-direction:column;gap:8px;padding:10px 16px}#brand-control{width:160px}nav{flex-wrap:nowrap;font-size:.72rem;width:100%;justify-content:space-between}nav span{padding:6px}.workspace{padding:14px 20px}.step{gap:12px}h1{font-size:1.85rem}.intro{font-size:1rem}.eyebrow{font-size:.65rem;margin-bottom:8px}.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-grid span{font-size:.9rem}input:not([type=checkbox]):not([type=radio]),select{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Match the dark welcome display through the status and home-indicator safe areas. */
:root,html{background:#080b0a}body{background:#fafbf8}html:has(body.sleeping),body.sleeping{background:#080b0a}
.sleeping #screensaver{inset:0;min-height:100%;height:100%;width:100%}
/* Large type and direct, full-size tap choices replace visitor dropdown menus. */
label,.choice-heading,summary{font-size:1.3rem}.intro{font-size:1.2rem}
input:not([type=checkbox]):not([type=radio]){min-height:72px;font-size:1.5rem}
.choice-grid span{min-height:76px;font-size:1.25rem;gap:10px;text-align:left;justify-content:flex-start;padding:16px 14px}
.choice-grid span::before{content:'';width:22px;height:22px;flex-shrink:0;border:2px solid #899d80;border-radius:5px;background:#fff}
.choice-grid label:has(input[type=radio]) span::before{border-radius:50%}
.choice-grid input:checked+span::before{background:#365a32;box-shadow:inset 0 0 0 4px #fff;border-color:#365a32}
.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.choice-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;line-height:1.4}
.choice-clear{border:0;background:transparent;color:#49673d;text-decoration:underline;font-size:1rem;padding:10px;min-height:44px;flex-shrink:0}
.realtor-toggle{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #aab9a6;border-radius:10px;background:#fff;min-height:78px;cursor:pointer}
.realtor-toggle input{width:30px;height:30px;accent-color:#365a32;margin:0;flex-shrink:0}
.realtor-toggle:has(input:checked){background:#e8efde;border-color:#446443}
.realtor-toggle:focus-within{outline:3px solid #92ad83;outline-offset:2px}
nav{font-size:1.15rem}.hint{font-size:1.1rem}#review .review-row{font-size:1.25rem}
@media(max-width:900px){.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-grid span{font-size:1.15rem;padding:14px 10px;gap:8px}.choice-grid span::before{width:18px;height:18px}}
@media(max-width:700px){label,.choice-heading,summary{font-size:1.15rem}.intro{font-size:1.05rem}input:not([type=checkbox]):not([type=radio]){min-height:68px;font-size:1.3rem}.choice-grid span{font-size:1rem;min-height:74px}.choice-grid span::before{width:16px;height:16px}nav{font-size:.8rem}.realtor-toggle{min-height:74px}}
@media(max-width:480px){.choice-grid{grid-template-columns:1fr}.choice-grid span{font-size:1.15rem;min-height:62px}.choice-grid span::before{width:22px;height:22px}nav{font-size:.72rem}}

main{height:var(--app-height,100%);bottom:auto}
.keyboard-open .workspace{padding-top:12px;padding-bottom:12px;gap:8px}
.keyboard-open .development{display:none}
.keyboard-open .step-heading .intro,.keyboard-open .step-heading .eyebrow{display:none}
.keyboard-open .step-heading h1{font-size:1.7rem;margin:0}
.keyboard-open .step{gap:10px}
.keyboard-open .rail{padding:16px;gap:16px}.keyboard-open nav{font-size:.95rem;gap:2px}.keyboard-open nav span{padding:10px}
.keyboard-open .flow-unit{margin-bottom:10px}.keyboard-open .form-actions{padding-top:10px}
.keyboard-open .form-actions p{font-size:.8rem}
#next-field{white-space:nowrap}.keyboard-open .form-actions{gap:8px}
@media(max-width:700px){.keyboard-open .rail{padding:8px 16px;gap:10px}.keyboard-open #brand-control{width:130px}.keyboard-open nav{font-size:.72rem}.keyboard-open nav span{padding:5px}.keyboard-open .form-actions{flex-wrap:wrap}.keyboard-open .form-actions p{display:none}}

/* Right-hand identity rail; fixed visual viewport, including the keyboard layout. */
main{position:fixed;top:var(--app-top,0px);grid-template-columns:minmax(0,1fr) clamp(185px,22vw,285px);grid-template-areas:"form rail"}
.rail{grid-area:rail;border-right:0;border-left:1px solid #e3e7df}.workspace{grid-area:form;overscroll-behavior:none}
html,body{overflow:clip;touch-action:manipulation}.page-body{overscroll-behavior:none}
.section-label{font-family:inherit;font-weight:650;font-size:1.35rem;line-height:1.4;color:#233e2b}
.section-label span{font-size:1rem;color:#697660;margin-left:10px;font-weight:400}
@media(max-width:700px){main{grid-template-columns:1fr;grid-template-areas:"rail" "form"}.rail{border-left:0}}

:root{--key-height:clamp(230px,34dvh,340px)}
.kiosk-keys:not(.sleeping){--app-height:calc(100dvh - var(--key-height))}
.kiosk-keys main{height:calc(100dvh - var(--key-height));top:0}
.kiosk-keys.sleeping main{height:100dvh}
.kiosk-keys:not(.sleeping) #kiosk-keyboard{display:flex!important}
.sleeping #kiosk-keyboard{display:none!important}
#kiosk-keyboard{position:fixed;z-index:20;left:0;right:0;bottom:0;height:var(--key-height);padding:8px 14px max(10px,env(safe-area-inset-bottom));background:#d4d8d5;border-top:1px solid #a5afa5;display:flex;flex-direction:column;gap:7px;touch-action:none;user-select:none;-webkit-user-select:none}
.key-toolbar{font-size:1rem;font-weight:600;line-height:1.3;color:#3d5142;text-align:center;min-height:23px}
.key-row{display:flex;justify-content:center;gap:8px;flex:1;min-height:0}
.key-row button{flex:1;max-width:110px;border:0;border-radius:8px;background:#fff;color:#20362a;box-shadow:0 2px 0 #a6b0a5;font-size:clamp(1.15rem,2.1vw,1.65rem);min-width:0;touch-action:manipulation}
.key-row button:active{background:#b9cdb1;transform:translateY(1px)}
.key-actions button{background:#edf0e9;font-size:1rem;max-width:160px}.key-actions .space-key{flex:4;max-width:600px}.key-actions .enter-key{flex:1.8;background:#253f2e;color:#fff;max-width:230px}
.kiosk-keys .workspace{padding-top:16px;padding-bottom:16px;gap:8px}
.kiosk-keys .development,.kiosk-keys .step-heading .intro,.kiosk-keys .step-heading .eyebrow{display:none}
.kiosk-keys .step-heading h1{font-size:2rem;margin:0}.kiosk-keys .step{gap:14px}
.kiosk-keys .rail{padding:22px 18px;gap:24px}.kiosk-keys nav{font-size:1rem;gap:4px}.kiosk-keys nav span{padding:12px}
@media(max-width:700px){.key-row{gap:4px}.key-actions button{font-size:.75rem}.kiosk-keys .rail{padding:8px 16px;gap:10px}.kiosk-keys #brand-control{width:140px}.kiosk-keys nav{font-size:.72rem}.kiosk-keys .step-heading h1{font-size:1.7rem}.kiosk-keys .workspace{padding:12px 20px}.key-toolbar{font-size:.85rem}}

.visible-detail .section-label{height:0;padding:0;margin:0;overflow:hidden;visibility:hidden}

/* iPad-style keyboard: full-width rows, dark keycaps and conventional modifiers. */
:root{--key-height:clamp(280px,38dvh,480px)}
#kiosk-keyboard{background:#333435;border-top:1px solid #272829;border-radius:18px 18px 0 0;padding:8px 7px max(12px,env(safe-area-inset-bottom));gap:7px}
.key-toolbar{color:#d0d0d1;font-size:.9rem;font-weight:400;min-height:22px}
.key-row{width:100%;gap:7px;justify-content:stretch}
.key-row button{max-width:none;flex:1;background:#575859;color:#fff;border-radius:9px;box-shadow:0 1px 0 #1d1e1f;font-size:clamp(1.2rem,2.1vw,2rem);font-weight:400;padding:0;line-height:1;user-select:none;-webkit-user-select:none}
.key-row button:active{background:#898a8c;transform:translateY(1px)}
.key-row .modifier-key{background:#48494a;color:#fff;flex:1.2;font-size:clamp(1.05rem,1.7vw,1.6rem)}
.key-row .shift-key,.key-row .delete-key{font-size:clamp(1.5rem,2.3vw,2.2rem);flex:1.3}
.key-row .shift-key[data-state=shift],.key-row .shift-key[data-state=locked]{background:#eeeeef;color:#222}
.key-row .shift-key[data-state=locked]{box-shadow:inset 0 -4px 0 #9da2a5,0 1px 0 #1d1e1f}
.key-row .enter-key{flex:1.5;max-width:none;background:#48494a;font-size:clamp(1.5rem,2.4vw,2.2rem)}
.key-actions button{max-width:none;font-size:clamp(.9rem,1.5vw,1.3rem)}
.key-actions .space-key{flex:5.8;max-width:none;background:#575859;color:#fff}
.key-actions .symbols-key{flex:1.5}.key-actions .cursor-key{flex:.85}
.kiosk-keys label{font-size:1.2rem}.kiosk-keys input:not([type=checkbox]):not([type=radio]){min-height:64px;padding:14px 16px}
.kiosk-keys .realtor-toggle{min-height:70px;padding:14px 18px}.kiosk-keys .flow-unit{margin-bottom:10px}
@media(max-width:700px){#kiosk-keyboard{gap:5px}.key-row{gap:4px}.key-row button{border-radius:7px;font-size:1.15rem}.key-row .modifier-key{font-size:.85rem}.key-row .shift-key,.key-row .delete-key,.key-row .enter-key{font-size:1.4rem}.key-actions button{font-size:.8rem}}
/* Focus, generous controls, and an integrated keyboard footer. */
:root{--key-height:clamp(300px,40dvh,540px)}
html:has(body.kiosk-keys:not(.sleeping)),body.kiosk-keys:not(.sleeping){background:#333435}
main{padding-top:max(env(safe-area-inset-top),20px)}
#kiosk-keyboard{bottom:0;border-radius:14px 14px 0 0;padding:8px 7px max(env(safe-area-inset-bottom),8px);gap:8px;background:#333435}
.key-toolbar{display:none}
.key-row button{min-height:0;font-size:clamp(1.35rem,2.3vw,2.3rem)}
.key-row .enter-key{font-size:clamp(1rem,1.5vw,1.6rem);background:#2166bd;flex:1.8}
.key-row button.key-pressed{background:#dceaff!important;color:#123963!important;transform:translateY(2px);box-shadow:inset 0 0 0 2px #83b9ff}
#key-feedback{position:fixed;z-index:60;transform:translateX(-50%);min-width:48px;padding:7px 12px;border-radius:8px;background:#dceaff;color:#173e6c;border:1px solid #91b8ea;box-shadow:0 3px 12px #0004;font-size:2rem;text-align:center;pointer-events:none}
.kiosk-keys .form-actions{display:none}.form-actions #step-count{display:none}
.visit-toggles{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.kiosk-keys label{font-size:clamp(1.2rem,1.6vw,1.65rem)}
.kiosk-keys input:not([type=checkbox]):not([type=radio]){font-size:clamp(1.45rem,1.9vw,1.8rem);min-height:76px;padding:16px}
.kiosk-keys #contact-fields input{height:var(--contact-input-height,80px)}
.kiosk-keys .realtor-toggle{font-size:clamp(1.15rem,1.5vw,1.5rem);min-height:84px;padding:18px 14px;line-height:1.35}
.kiosk-keys .step-heading h1{font-size:clamp(2rem,2.8vw,2.8rem);line-height:1.18}
.input-shell{position:relative;display:block;margin-top:8px}
.input-shell input{margin-top:0!important}
.active-field{color:#145fb9!important}
.active-field input{border:3px solid #2479df!important;background:#f0f7ff!important;box-shadow:0 0 0 4px #3b8aeb22!important;caret-color:#1779ed}
.typing-caret{display:none;position:absolute;top:50%;transform:translateY(-50%);width:3px;background:#1479ef;border-radius:2px;pointer-events:none;animation:cursor-blink 1.1s steps(1) infinite}
.kiosk-keys .active-field .typing-caret{display:block}
@keyframes cursor-blink{50%{opacity:0}}
.choice-grid input:checked+span,.realtor-toggle:has(input:checked){border:3px solid #2479df;background:#e9f3ff;color:#184d87}
.number-keyboard .key-row{max-width:850px;align-self:center}.number-keyboard .key-row button{font-size:clamp(1.6rem,3vw,2.8rem)}
.number-keyboard .key-row .modifier-key{font-size:1.25rem}
.sound-setting{display:flex;align-items:center;gap:12px;margin-bottom:20px}.sound-setting input{width:25px;height:25px;accent-color:#2479df}
@media(max-width:700px){.visit-toggles{gap:10px}.kiosk-keys .realtor-toggle{font-size:1rem;padding:12px 8px;gap:8px;min-height:78px}.kiosk-keys .realtor-toggle input{width:24px;height:24px}.key-actions button{font-size:.8rem}.key-row .enter-key{font-size:.8rem}.kiosk-keys .step-heading h1{font-size:1.8rem}}
@media(min-height:851px){:root{--key-height:clamp(340px,44dvh,560px)}}
#screensaver{pointer-events:none}.sleeping #screensaver{pointer-events:auto}
@keyframes arrive{from{opacity:0}to{opacity:1}}
/* Separate form navigation from typing; established keyboard engine, same kiosk surface. */
#step-count{display:none!important}
nav button{font:inherit;text-align:left;padding:14px 12px;border:0;border-radius:9px;background:transparent;color:#65715f;line-height:1.35;min-height:52px}
nav button.current{background:#deead6;color:#213d29;font-weight:650;box-shadow:inset 4px 0 #557a45}
nav button:hover{background:#eaf0e4}
.rail-actions{margin-top:auto;display:flex;flex-direction:column;gap:12px;width:100%;padding-top:20px}
.rail-actions button{width:100%;font-size:1.05rem;padding:16px 12px;min-height:58px}
#section-preview{font-size:.95rem;line-height:1.5;color:#5b6b54;margin:0;overflow-wrap:anywhere}
.ready-to-continue{box-shadow:0 0 0 4px #72a5eb66}
#kiosk-keyboard.hg-theme-default{box-sizing:border-box;background:#333435;color:#fff;border:0;border-top:1px solid #252627;padding:8px 7px max(env(safe-area-inset-bottom),8px);border-radius:14px 14px 0 0;box-shadow:none;display:block!important}
.sleeping #kiosk-keyboard.hg-theme-default{display:none!important}
#kiosk-keyboard[hidden]{display:none!important}
#kiosk-keyboard .hg-rows{height:100%;width:100%;display:flex;flex-direction:column;gap:8px}
#kiosk-keyboard .hg-row{display:flex;flex:1;min-height:0;margin:0;gap:7px}
#kiosk-keyboard .hg-button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:auto;max-height:none;margin:0;padding:0;border:0;border-radius:9px;background:#575859;color:#fff;box-shadow:0 1px 0 #1d1e1f;font-family:inherit;font-size:clamp(1.35rem,2.3vw,2.3rem);font-weight:400;touch-action:manipulation}
#kiosk-keyboard .hg-button span{pointer-events:none}
#kiosk-keyboard .hg-functionBtn{background:#48494a;flex:1.25;font-size:clamp(1.1rem,1.8vw,1.75rem)}
#kiosk-keyboard .hg-button-space{flex:5.8}
#kiosk-keyboard .hg-button-next{flex:1.7;font-size:clamp(.95rem,1.5vw,1.5rem);background:#2166bd}
#kiosk-keyboard .hg-button.hg-activeButton,#kiosk-keyboard .hg-button:active{background:#dceaff;color:#123963;box-shadow:inset 0 0 0 2px #83b9ff;transform:translateY(1px)}
#kiosk-keyboard .hg-button.modifier-on{background:#eee;color:#222}
#kiosk-keyboard .hg-button.caps-locked{box-shadow:inset 0 -4px 0 #91a1b2}
#kiosk-keyboard.keyboard-no-input .hg-button{opacity:.45;pointer-events:none}
#kiosk-keyboard.number-keyboard .hg-rows{max-width:850px;margin:auto}
.kiosk-keys .rail{gap:18px}.kiosk-keys nav{gap:4px}
.kiosk-keys .rail-actions{padding-top:8px;gap:8px}
@media(max-height:800px){.rail-actions button{padding:12px 10px;min-height:50px}nav button{padding:10px;min-height:45px}#section-preview{font-size:.85rem}.kiosk-keys .rail{padding:18px 16px;gap:14px}}
@media(max-width:700px){.rail{flex-wrap:wrap}.rail-actions{margin:0;padding:0;flex-direction:row;align-items:center;gap:8px}.rail-actions button{width:auto;margin-left:auto;padding:10px 14px;min-height:44px}#section-preview{display:none}nav button{font-size:.75rem;padding:6px;min-height:38px}.kiosk-keys .rail{padding:8px 16px;gap:8px}#kiosk-keyboard .hg-row{gap:4px}#kiosk-keyboard .hg-button{font-size:1.2rem;border-radius:7px}#kiosk-keyboard .hg-functionBtn{font-size:.9rem}#kiosk-keyboard .hg-button-next{font-size:.8rem}}
@media(min-width:701px){.rail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rail-actions #section-preview{grid-column:1/-1}.rail-actions:has(#back[hidden]) #next{grid-column:1/-1}.rail-actions button{font-size:.95rem;line-height:1.3}.kiosk-keys nav button{min-height:42px;padding:9px 10px}.kiosk-keys nav{gap:2px}}
@media(min-width:701px){main{grid-template-rows:minmax(0,1fr)}.rail{min-height:0;overflow:hidden}.rail-actions{grid-template-areas:"preview preview" "back next"}.rail-actions #section-preview{grid-area:preview}.rail-actions #back{grid-area:back}.rail-actions #next,.rail-actions #check-in{grid-area:next}.rail-actions:has(#back[hidden]) #next{grid-column:1/-1}}
.choice-heading .choice-clear{margin-left:auto}
.kiosk-keys .step[data-step="1"] .step-heading h1,.kiosk-keys .step[data-step="2"] .step-heading h1{min-height:2.36em}

/* Apply inactivity dimming to the entire kiosk, including its keyboard. */
main,#kiosk-keyboard{filter:brightness(1);transition:filter .15s ease}
.dimming main,.dimming #kiosk-keyboard{filter:brightness(.08);transition:filter 8s ease}
#kiosk-keyboard .hg-button[data-skbtn="@"]{flex:1.65}
#kiosk-keyboard .hg-button[data-skbtn="@"]{max-width:none;min-width:clamp(70px,9vw,160px)}

/* Fewer, larger answers: one question at a time. */
@media(min-width:701px){
 .page-body .choice-grid{grid-template-columns:repeat(var(--choice-columns,2),minmax(0,1fr));gap:16px}
 .page-body .choice-grid label{font-size:clamp(1.45rem,2vw,2rem)}
 .page-body .choice-grid span{font-size:inherit;min-height:86px;padding:18px 20px;line-height:1.25}
 .kiosk-keys .step[data-step="1"] .step-heading h1,.kiosk-keys .step[data-step="2"] .step-heading h1{min-height:0;font-size:clamp(2rem,3.1vw,3rem)}
}

/* Make entered answers as readable as the generously sized fields. */
@media(min-width:701px){
 #visitor-form input:not([type=checkbox]):not([type=radio]){font-size:clamp(2.5rem,3.2vw,3rem);line-height:1.15;min-height:82px;padding:12px 16px}
}

/* Keep the two visitor options as legible as the entered answers. */
#visitor-form .realtor-toggle{font-size:clamp(1.8rem,2.2vw,2.25rem);line-height:1.25;min-height:112px;padding:20px;gap:18px}
#visitor-form .realtor-toggle input{width:40px;height:40px}
@media(max-width:700px){
 .visit-toggles{grid-template-columns:1fr}
 #visitor-form .realtor-toggle{font-size:1.5rem;min-height:92px;padding:16px;gap:14px}
 #visitor-form .realtor-toggle input{width:34px;height:34px}
}

.kiosk-keys .workspace{padding-top:28px}
nav button:disabled{opacity:1;cursor:default}
#kiosk-keyboard .hg-button[data-skbtn="{.com}"]{flex:1.5;font-size:clamp(1.2rem,1.9vw,1.9rem)}
#kiosk-keyboard .hg-button[data-skbtn^="{domain"]{font-size:clamp(.8rem,1.25vw,1.25rem)}

.visit-selector{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.visit-selector button{font:inherit;font-size:clamp(1rem,1.4vw,1.4rem);padding:12px 16px;border:1px solid #aab9a6;border-radius:9px;background:white;color:#26392d;min-height:48px}
.visit-selector button[aria-pressed=true]{background:#e9f3ff;border:3px solid #2479df;color:#184d87;font-weight:700}
#visitor-form .visit-toggles .realtor-toggle{min-height:88px;font-size:clamp(1.5rem,2vw,2rem);padding:14px}

.visit-toggles button{font-family:inherit;justify-content:center;color:#26392d;font-weight:600;text-align:center}
.visit-toggles button[aria-pressed=true]{border:3px solid #2479df;background:#e9f3ff;color:#184d87}
