/* Scoped 1040 source geometry: tilda-quiz-form-1.1 and the page's record styles. */
.source-program-dialog{--program-padding:45px;width:min(760px,calc(100vw - 40px));max-width:760px;height:600px;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:20px;background:#fefeff;color:#424242;overflow:visible;font-family:Montserrat,Arial,sans-serif}.source-program-dialog::backdrop{background:rgba(22,41,82,.2)}.source-program-dialog form{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:20px}.source-program-close{position:absolute;right:-40px;top:0;border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer}.source-program-progress{position:absolute;top:0;left:0;right:0;z-index:1;height:5px;background:rgba(72,112,198,.2)}.source-program-progress>div{height:100%;width:100%;background:#4870c6;transition:width .3s}.source-program-main{flex:1;overflow:auto;padding:45px var(--program-padding) 25px}.source-program-main fieldset{border:0;padding:0;margin:0;min-width:0}.source-program-main section[hidden]{display:none}.source-program-main h2{margin:0;color:#424242;font:500 26px/1.23 DrukTextWideTT,Arial,sans-serif}.source-program-subtitle,.source-program-main header p{margin:15px 0 0;font:500 20px/1.5 Montserrat,Arial,sans-serif;color:#424242}.source-program-subtitle{opacity:.7}.source-program-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;row-gap:22px;margin-top:30px;padding-top:7px}.source-program-channels label{cursor:pointer;font:500 20px/1.1 Montserrat,Arial,sans-serif}.source-program-channels input{position:absolute;opacity:0}.source-program-image{display:flex;align-items:center;justify-content:center;aspect-ratio:100/66;border:1px solid rgba(66,66,66,.1);border-radius:4px;overflow:hidden}.source-program-image img{width:100%;height:100%;object-fit:contain}.source-program-channels label>span:last-child{display:block;margin-top:10px}.source-program-channels input:focus-visible+.source-program-image{outline:3px solid #4870c6}.source-program-channels input:checked+.source-program-image{border-color:#213c7f}.source-program-inputs{display:grid;gap:20px;margin-top:30px;font:400 16px/1.5 Montserrat,Arial,sans-serif}.source-program-inputs label:not(.source-program-consent){display:grid;gap:5px}.source-program-inputs input[type=text],.source-program-inputs input[type=tel]{width:100%;height:60px;padding:0 20px;color:#162952;border:1px solid #e0e0e0;border-radius:10px;font:400 16px/1.33 Montserrat,Arial,sans-serif}.source-program-consent{display:flex;align-items:flex-start;gap:10px;font:400 14px/1.4 Montserrat,Arial,sans-serif}.source-program-trap,.source-program-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.source-program-footer{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:0 var(--program-padding) 45px}.source-program-counter{color:#c2c2c2;font-size:14px}.source-program-actions{display:flex;gap:8px}.source-program-actions button{min-height:45px;padding:0 24px;border:0;border-radius:10px;background:#162952;color:#fff;font:500 16px Montserrat,Arial,sans-serif;cursor:pointer}.source-program-actions button:disabled{opacity:.4;cursor:not-allowed}.source-program-actions [data-program-back]{background:transparent;color:#162952;border:1px solid #162952}.source-program-dialog [hidden]{display:none!important}.source-program-dialog [data-program-status]{margin:0 var(--program-padding) 12px;font:14px/1.4 Montserrat,Arial,sans-serif}.source-program-dialog [data-program-status]:empty{display:none}@media(max-width:600px){.source-program-dialog{--program-padding:20px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.source-program-close{right:6px;top:4px;color:#162952;z-index:2}.source-program-main{padding-top:45px}.source-program-footer{padding-bottom:35px}.source-program-channels{gap:18px}}@media(max-width:480px),(orientation:landscape) and (max-height:480px){.source-program-main h2{font-size:18px}.source-program-subtitle,.source-program-main header p,.source-program-channels label{font-size:18px}}

/* Source forms/input and image-select: scoped to this dialog only. */
:root body .source-program-dialog,:root body .source-program-dialog *{box-sizing:border-box}
:root body .source-program-dialog .source-program-consent input[type=checkbox]{appearance:none;flex:0 0 20px;width:20px;height:20px;margin:0;border:2px solid #000;border-radius:0;opacity:.6;position:relative;background:transparent}
:root body .source-program-dialog .source-program-consent input[type=checkbox]:checked{opacity:1}
:root body .source-program-dialog .source-program-consent input[type=checkbox]:checked::after{content:"";position:absolute;left:50%;top:50%;width:8px;height:3px;border:solid #213c7f;border-width:0 0 2px 2px;transform:translate(-50%,-70%) rotate(-45deg)}
:root body .source-program-dialog .source-program-inputs input[type=text],:root body .source-program-dialog .source-program-inputs input[type=tel]{appearance:none;box-sizing:border-box;height:60px;line-height:1.33;margin:0;padding:0 20px;width:100%;border:1px solid #e0e0e0;border-radius:10px;color:#162952;background:#fff;font-family:Montserrat,Arial,sans-serif;font-weight:400;font-size:16px}

/* Original record 1040 controls: orange pill and the disabled back circle. */
:root body .source-program-dialog .source-program-actions button{min-height:52.4px;padding:15px 30px;border:0;border-radius:30px;background:#ff6534;color:#fff;font:600 16px/22.4px Montserrat,Arial,sans-serif}
:root body .source-program-dialog .source-program-actions [data-program-back]{width:50px;min-width:50px;padding:0;border:1px solid #ff6534;border-radius:30px;background:transparent;color:#ff6534;display:flex;align-items:center;justify-content:center}
:root body .source-program-dialog .source-program-actions [data-program-back]:disabled{opacity:.4}
:root body .source-program-dialog .source-program-close{position:fixed;top:10px;right:10px;width:32px;height:32px;padding:0;color:#fff;font-size:28px;line-height:32px}
/* Exact 1040 title, subtitle and contact spacing measured against source. */
:root body .source-program-dialog [data-program-choice] h2{padding:0 10px 5px 0}
:root body .source-program-dialog .source-program-subtitle{margin:0;padding-right:10px;font:500 20px/31px Montserrat,Arial,sans-serif}
:root body .source-program-dialog .source-program-channels{margin-top:25px}
:root body .source-program-dialog [data-program-step] header h2{padding-bottom:15px}
:root body .source-program-dialog [data-program-step] header p{margin:0;font:300 14px/1.55 Montserrat,Arial,sans-serif}
:root body .source-program-dialog .source-program-inputs{gap:25px}
:root body .source-program-dialog .source-program-inputs label:not(.source-program-consent){font:300 14.3px/22.165px DrukTextWideTT,Arial,sans-serif;padding-right:0}
@media(max-width:480px),(orientation:landscape) and (max-height:480px){:root body .source-program-dialog .source-program-subtitle,:root body .source-program-dialog [data-program-step] header p{font-size:18px}}
:root body .source-program-dialog .source-program-counter{color:#c2c2c2;font:300 12px/18.6px Montserrat,Arial,sans-serif}
