.enroll-wizard-shell{background:#fff;border:1px solid #e1ead8;border-radius:26px;padding:30px;box-shadow:0 18px 50px rgba(7,18,51,.08)}.enroll-wizard-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px}.enroll-wizard-header h2{margin:12px 0 8px}.enroll-progress-label{text-align:right}.enroll-progress-label span{display:block;color:#6b7280;font-size:14px;margin-top:3px}.enroll-progress-label strong{display:block;font-size:18px;color:#071233}.enroll-progress-track{height:10px;background:#edf4e8;border-radius:999px;overflow:hidden;margin-bottom:30px}.enroll-progress-track div{height:100%;width:8.33%;background:#61b900;transition:.25s ease}.enroll-step{display:none}.enroll-step.active{display:block;animation:stepIn .22s ease}@keyframes stepIn{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:none}}.sub-card,.declaration-box{border:1px solid #e1ead8;background:#fbfdf8;border-radius:18px;padding:20px;margin:18px 0}.sub-card h4{margin:0 0 15px;color:#071233}.pickup-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;border-bottom:1px solid #edf2e7;padding:15px 0}.product-table{margin:20px 0;border:1px solid #dfe8d6;border-radius:14px;overflow:hidden}.product-head,.product-row{display:grid;grid-template-columns:1.2fr 1fr .8fr}.product-head{background:#f2f7ed;font-weight:800;color:#071233}.product-head span{padding:12px}.product-row input{border:0!important;border-top:1px solid #e4eadf!important;border-right:1px solid #e4eadf!important;border-radius:0!important}.info-note,.safe-sleep-note{background:#f5faef;border-left:4px solid #61b900;padding:14px 16px;border-radius:10px;color:#425243;line-height:1.55}.safe-sleep-note{margin-bottom:20px}.inline-check{display:flex!important;align-items:center;gap:10px}.inline-check input{width:auto!important}.choice-checkboxes{display:inline-flex;flex-wrap:wrap;width:auto;max-width:100%;gap:7px 14px;padding:7px 10px;background:#f8fbf5;border:1px solid #dce7d3;border-radius:10px;min-height:0;align-items:center;}.choice-checkboxes label{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0;font-weight:700;color:#071233;cursor:pointer;white-space:nowrap;line-height:1.15;}.choice-checkboxes input[type="checkbox"]{width:16px!important;height:16px!important;margin:0!important;accent-color:#61b900;cursor:pointer;}.waitlist-field.compact-choice{width:max-content;min-width:150px;max-width:100%;align-self:start;}@media(max-width:760px){.waitlist-field.compact-choice{width:auto;min-width:0;}}.wizard-actions{display:flex;justify-content:space-between;gap:14px;margin-top:26px}.wizard-back{border:1px solid #d8e2cc;background:#fff;color:#071233;padding:13px 25px;border-radius:999px;font-weight:700;cursor:pointer}.form-error,.field-has-error input,.field-has-error select,.field-has-error textarea{border:2px solid #dc3545!important;background:#fff8f8!important}.field-error-message{color:#dc3545;font-size:13px;font-weight:700;margin-top:6px}.kg-modal-overlay{position:fixed;inset:0;background:rgba(7,18,51,.62);z-index:9999;display:flex;align-items:center;justify-content:center;padding:22px}.kg-thankyou-modal{position:relative;width:100%;max-width:560px;background:#fff;border-radius:24px;padding:38px 34px;text-align:center;box-shadow:0 25px 70px rgba(7,18,51,.28)}.kg-popup-x{position:absolute;top:14px;right:16px;border:0;background:none;font-size:32px;cursor:pointer}.kg-success-circle{width:76px;height:76px;border-radius:50%;background:#61b900;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:42px;font-weight:700}.kg-modal-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:24px}.kg-modal-close{border:1px solid #d8e2cc;background:#fff;padding:13px 26px;border-radius:999px;font-weight:700}@media(max-width:760px){.enroll-wizard-shell{padding:20px 15px}.enroll-wizard-header{display:block}.enroll-progress-label{text-align:left;margin-top:14px}.pickup-row,.product-head,.product-row{grid-template-columns:1fr}.product-head{display:none}.wizard-actions{position:sticky;bottom:0;background:#fff;padding:14px 0;z-index:15}.wizard-actions button{flex:1}}.form-group-card{margin:20px 0;padding:22px;background:#fbfdf8;border:1px solid #dfe9d6;border-radius:18px;box-shadow:0 8px 22px rgba(7,18,51,.045);}.form-group-card-title{display:flex;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e5edde;}.form-group-card-title h4{margin:0 0 3px;color:#071233;font-size:19px;}.form-group-card-title p{margin:0;color:#657065;font-size:14px;}.form-group-icon{width:34px;height:34px;border-radius:50%;background:#61b900;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;flex:0 0 34px;}.health-grid{align-items:end;}.health-grid .compact-choice{margin-top:2px;}@media(max-width:760px){.form-group-card{padding:17px 14px;border-radius:15px;}.form-group-card-title{align-items:flex-start;}}.enrollment-page-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:28px;align-items:start;}.enroll-wizard-shell{padding:26px;border-radius:20px;box-shadow:0 10px 32px rgba(7,18,51,.06);}.enroll-wizard-header{align-items:center;}.enroll-progress-label{min-width:180px;}.enroll-step-dots{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 24px;position:relative;}.enroll-step-dots:before{content:"";position:absolute;left:18px;right:18px;top:50%;height:2px;background:#dce4eb;transform:translateY(-50%);z-index:0;}.enroll-step-dots button{position:relative;z-index:1;width:34px;height:34px;border-radius:50%;border:1px solid #cfd8e3;background:#fff;color:#071233;font-weight:700;cursor:pointer;}.enroll-step-dots button.active,.enroll-step-dots button.completed{background:#61b900;border-color:#61b900;color:#fff;}.form-group-card,.sub-card,.declaration-box{background:#fff;border:1px solid #dfe6ee;border-radius:16px;box-shadow:0 6px 18px rgba(7,18,51,.045);}.form-group-card-title{border-bottom:1px solid #e8edf2;}.form-group-icon{background:#dff4d2;color:#247300;}.waitlist-grid{gap:18px 20px;}.waitlist-field label{font-size:14px;margin-bottom:7px;}.waitlist-field input,.waitlist-field select,.waitlist-field textarea{min-height:44px;border-radius:9px;border:1px solid #cfd8e3;background:#fff;}.waitlist-field textarea{min-height:96px;}.choice-checkboxes{background:#fff;border:1px solid #cfd8e3;border-radius:9px;padding:8px 10px;}.wizard-actions{border-top:1px solid #e5ebf1;padding-top:20px;}.wizard-back{color:#071233;}.enrollment-check-sidebar{position:sticky;top:100px;display:flex;flex-direction:column;gap:18px;}.sidebar-card{background:#fff;border:1px solid #cfe0f5;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(7,18,51,.045);}.sidebar-card>h3{margin:0;padding:18px 20px;font-size:18px;color:#071233;border-bottom:1px solid #e1e8ef;}.sidebar-title-row{display:flex;gap:14px;align-items:center;padding:20px;border-bottom:1px solid #dce6f3;}.sidebar-title-icon{width:44px;height:44px;border-radius:50%;background:#2266c5;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;}.sidebar-title-row h3{margin:0 0 3px;color:#102b67;font-size:20px;}.sidebar-title-row p{margin:0;color:#3e67ad;font-size:14px;}.sidebar-current-section{margin:16px;border:1px solid #cfe5c4;border-radius:12px;overflow:hidden;}.sidebar-current-heading{display:flex;gap:10px;align-items:center;padding:14px 16px;background:#f6fbf3;color:#0a4e31;border-bottom:1px solid #dcebd5;}.sidebar-check{width:22px;height:22px;border-radius:50%;background:#22a947;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;}.sidebar-field-list>div{display:flex;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid #e8eee5;color:#14213d;font-size:14px;}.sidebar-field-list>div:last-child{border-bottom:0}.sidebar-field-list span,.sidebar-section-grid span{color:#22a947;font-weight:800;}.sidebar-section-grid{display:grid;grid-template-columns:1fr 1fr;}.sidebar-section-grid>div{padding:11px 14px;border-bottom:1px solid #e9eef4;color:#14213d;font-size:13px;}.sidebar-section-grid>div:nth-child(odd){border-right:1px solid #e9eef4;}.sidebar-section-grid>div.active{background:#f4fbf0;color:#247300;font-weight:800;}.sidebar-complete-note{display:flex;gap:12px;padding:16px 18px;background:#f4fbf0;border:1px solid #b9dfa8;border-radius:14px;color:#0a4e31;}.sidebar-complete-note>span{width:34px;height:34px;border-radius:50%;background:#22a947;color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 34px;font-size:20px;}.sidebar-complete-note p{margin:4px 0 0;font-size:13px;}.secure-form-note{display:flex;align-items:center;gap:8px;color:#667085;font-size:13px;margin-top:14px;}@media(max-width:1100px){.enrollment-page-layout{grid-template-columns:1fr;}.enrollment-check-sidebar{position:static;order:2;}}@media(max-width:760px){.enroll-step-dots{overflow-x:auto;justify-content:flex-start;padding-bottom:4px;}.enroll-step-dots:before{display:none}.enroll-step-dots button{flex:0 0 32px}.sidebar-section-grid{grid-template-columns:1fr}.sidebar-section-grid>div:nth-child(odd){border-right:0}}.allergy-plan-note{grid-column:1 / -1;width:100%;box-sizing:border-box;margin-top:0;}.restriction-types-field{margin-bottom:2px;}.restriction-choice-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;}.restriction-choice{display:inline-flex!important;align-items:center;gap:7px;width:auto!important;margin:0!important;padding:9px 13px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;color:#071233;font-weight:600!important;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;}.restriction-choice:hover{border-color:#9ecf84;background:#f8fcf5;}.restriction-choice:has(input:checked){border-color:#61b900;background:#f4faef;box-shadow:0 0 0 2px rgba(97,185,0,.08);}.restriction-choice input[type="checkbox"]{width:17px!important;height:17px!important;min-height:0!important;margin:0!important;accent-color:#61b900;}.restriction-choice span{white-space:nowrap;}@media(max-width:520px){.restriction-choice-row{gap:8px;}.restriction-choice{padding:8px 10px;}}.date-field{position:relative;display:flex;align-items:center;width:100%;}.date-field input{width:100%;padding-right:46px!important;}.date-field .calendar-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);cursor:pointer;pointer-events:auto;font-size:18px;line-height:1;z-index:2;}.flatpickr-input[readonly]{background:#fff!important;}.skin-choice-row{margin-top:9px;}.skin-product-cards{display:grid;gap:16px;}.skin-product-card{border:1px solid #dfe6ee;background:#fbfdf9;border-radius:14px;padding:18px;}.skin-product-card h5{margin:0 0 15px;color:#071233;font-size:16px;}.skin-product-card .waitlist-grid{grid-template-columns:1fr 1fr 1fr;}@media(max-width:850px){.skin-product-card .waitlist-grid{grid-template-columns:1fr;}}.reportable-disease-options{align-items:flex-start;}.reportable-disease-options .restriction-choice{max-width:100%;}.reportable-disease-options .restriction-choice span{white-space:normal;}@media(min-width:900px){.reportable-disease-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.reportable-disease-options .restriction-choice{width:100%!important;box-sizing:border-box;}}.wizard-actions{display:flex;justify-content:space-between;align-items:center;margin-top:30px;padding-top:24px;}.wizard-actions .wizard-back,.wizard-actions .wizard-next,.wizard-actions .wizard-submit{min-width:170px;height:58px;border-radius:999px;font-size:20px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;transition:all .2s ease;text-decoration:none;cursor:pointer;}.wizard-actions .wizard-next,.wizard-actions .wizard-submit{background:#61b900;color:#fff;border:2px solid #61b900;box-shadow:0 8px 20px rgba(97,185,0,.28);}.wizard-actions .wizard-next:hover,.wizard-actions .wizard-submit:hover{background:#54a300;border-color:#54a300;transform:translateY(-2px);}.wizard-actions .wizard-back{background:#fff;color:#071233;border:2px solid #d8e2d0;}.wizard-actions .wizard-back:hover{border-color:#61b900;color:#61b900;transform:translateY(-2px);}@media(max-width:768px){.wizard-actions{flex-direction:column-reverse;gap:15px;}.wizard-actions .wizard-back,.wizard-actions .wizard-next,.wizard-actions .wizard-submit{width:100%;min-width:0;}}.enrollment-pdf-document{position:absolute;left:0;top:0;visibility:hidden;pointer-events:none;z-index:-9999;width:760px;background:#fff;color:#1f2933;font-family:Arial,sans-serif;padding:34px;box-sizing:border-box;}.pdf-header{text-align:center;border-bottom:3px solid #61b900;padding-bottom:18px;margin-bottom:22px;}.pdf-brand{color:#61b900;font-size:15px;font-weight:800;letter-spacing:1.5px;}.pdf-header h1{color:#071233;margin:7px 0 12px;font-size:30px;}.pdf-meta{display:flex;justify-content:center;gap:28px;font-size:12px;color:#4b5563;}.pdf-section{margin:0 0 18px;page-break-inside:avoid;}.pdf-section h2{margin:0;padding:10px 12px;background:#f1f8eb;border-left:4px solid #61b900;color:#071233;font-size:17px;}.pdf-section table{width:100%;border-collapse:collapse;table-layout:fixed;}.pdf-section th,.pdf-section td{border:1px solid #dfe6dc;padding:8px 10px;text-align:left;vertical-align:top;font-size:11px;line-height:1.4;word-wrap:break-word;}.pdf-section th{width:34%;color:#35502b;background:#fbfdf8;}.pdf-footer{border-top:1px solid #dfe6dc;padding-top:14px;margin-top:22px;text-align:center;color:#6b7280;font-size:10px;line-height:1.5;}.sidebar-step-list{margin:16px;border:1px solid #d8e8d0;border-radius:12px;overflow:hidden;}.sidebar-step-list>div{display:flex;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid #e8eee5;color:#687286;font-size:14px;background:#fff;}.sidebar-step-list>div:last-child{border-bottom:0;}.sidebar-step-list>div span{color:#a0a8b5;font-weight:800;}.sidebar-step-list>div.completed{color:#1d6f36;}.sidebar-step-list>div.completed span{color:#22a947;}.sidebar-step-list>div.active{background:#f3faef;color:#0a4e31;font-weight:800;}.sidebar-step-list>div.active span{width:22px;height:22px;border-radius:50%;background:#22a947;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;}.sidebar-section-grid,.sidebar-current-section{display:none!important;}.wizard-actions .wizard-back,.wizard-actions .wizard-next,.wizard-actions .wizard-submit{min-width:190px !important;height:60px !important;border-radius:14px !important;font-size:17px !important;font-weight:700 !important;padding:0 28px !important;transition:.25s ease !important;box-shadow:0 8px 18px rgba(0,0,0,.15) !important;}.wizard-actions .wizard-next,.wizard-actions .wizard-submit{background:#61b900 !important;border:2px solid #61b900 !important;color:#fff !important;}.wizard-actions .wizard-next:hover,.wizard-actions .wizard-submit:hover{background:#54a300 !important;border-color:#54a300 !important;transform:translateY(-2px);}.wizard-actions .wizard-back{background:#61b900 !important;border:2px solid #61b900 !important;color:#fff !important;}.wizard-actions .wizard-back:hover{background:#54a300 !important;border-color:#54a300 !important;color:#fff !important;transform:translateY(-2px);}.kg-action-button{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:190px!important;height:60px!important;padding:0 28px!important;border:0!important;border-radius:14px!important;background:#61b900!important;color:#fff!important;font-size:17px!important;font-weight:600!important;line-height:1!important;text-decoration:none!important;box-shadow:0 8px 18px rgba(97,185,0,.28)!important;cursor:pointer!important;transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important;}.kg-action-button:hover,.kg-action-button:focus{background:#54a300!important;color:#fff!important;text-decoration:none!important;transform:translateY(-2px)!important;box-shadow:0 10px 22px rgba(97,185,0,.34)!important;}.kg-action-button:disabled{opacity:.65!important;cursor:not-allowed!important;transform:none!important;}.wizard-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin-top:30px!important;padding-top:24px!important;border-top:1px solid #e5ebf1!important;}.kg-modal-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:14px!important;margin-top:24px!important;}.kg-modal-actions .kg-action-button{min-width:200px!important;}@media(max-width:760px){.wizard-actions{flex-direction:column!important;}.wizard-actions .kg-action-button,.kg-modal-actions .kg-action-button{width:100%!important;min-width:0!important;}}#wizardSubmit,#submitButton[style*="display:none"],#submitButton.is-hidden{display:none!important;}#nextButton.is-hidden,#submitButton.is-hidden{display:none!important;}.wizard-actions{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;}.wizard-actions #backButton{margin-right:auto!important;}.wizard-actions #nextButton,.wizard-actions #submitButton{margin-left:auto!important;}@media(max-width:760px){.wizard-actions{flex-direction:column!important;}.wizard-actions #backButton,.wizard-actions #nextButton,.wizard-actions #submitButton{width:100%!important;margin:0!important;}}.kg-thankyou-modal{max-width:720px!important;}.kg-modal-actions{display:grid!important;grid-template-columns:repeat(2,minmax(220px,1fr))!important;gap:18px!important;max-width:590px!important;margin:28px auto 0!important;align-items:center!important;}.kg-modal-actions .kg-action-button{width:100%!important;min-width:0!important;height:60px!important;border-radius:14px!important;font-size:18px!important;font-weight:600!important;padding:0 24px!important;white-space:nowrap!important;}.kg-modal-actions .kg-action-button:last-child{grid-column:1 / -1!important;width:calc(50% - 9px)!important;justify-self:center!important;}@media(max-width:650px){.kg-modal-actions{grid-template-columns:1fr!important;max-width:100%!important;}.kg-modal-actions .kg-action-button:last-child{grid-column:auto!important;width:100%!important;}}.declaration-fields{margin-top:32px!important;padding-top:18px!important;border-top:1px solid #e6ebef;}.kg-action-button{font-weight:600!important;letter-spacing:0!important;}
.kg-modal-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:16px!important;
    max-width:620px!important;
    margin:26px auto 0!important;
}
.kg-modal-actions .kg-action-button{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    font-weight:600!important;
}
.kg-modal-actions .kg-download-pdf-button{
    grid-column:1 / -1!important;
    width:calc(50% - 8px)!important;
    justify-self:center!important;
}
@media(max-width:650px){
    .kg-modal-actions{
        grid-template-columns:1fr!important;
    }
    .kg-modal-actions .kg-download-pdf-button{
        grid-column:auto!important;
        width:100%!important;
    }
}


/* Mobile enrollment form improvements */
@media(max-width:760px){
    .about-section-spacing.waitlist-page{
        padding-left:0!important;
        padding-right:0!important;
    }
    .waitlist-page>.container,
    .waitlist-page .container{
        width:100%!important;
        max-width:100%!important;
        padding-left:10px!important;
        padding-right:10px!important;
        box-sizing:border-box!important;
    }
    .enrollment-page-layout{
        display:block!important;
        width:100%!important;
    }
    .enroll-wizard-shell{
        width:100%!important;
        max-width:100%!important;
        padding:18px 12px!important;
        border-radius:16px!important;
        box-sizing:border-box!important;
        overflow:hidden!important;
    }
    .enroll-wizard-header{
        display:block!important;
    }
    .enroll-wizard-header h2{
        font-size:24px!important;
        line-height:1.2!important;
    }
    .enroll-progress-label{
        min-width:0!important;
        text-align:left!important;
        margin-top:14px!important;
    }
    .enroll-step-dots{
        width:100%!important;
        overflow-x:auto!important;
        -webkit-overflow-scrolling:touch!important;
        scrollbar-width:thin;
        padding:2px 0 8px!important;
    }
    .waitlist-grid,
    .skin-product-card .waitlist-grid,
    .pickup-row{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:15px!important;
        width:100%!important;
    }
    .waitlist-field,
    .waitlist-field.wide,
    .waitlist-field.compact-choice{
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }
    .waitlist-field input,
    .waitlist-field select,
    .waitlist-field textarea,
    .date-field{
        width:100%!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }
    .form-group-card,
    .sub-card,
    .declaration-box,
    .skin-product-card{
        padding:16px 12px!important;
        margin:15px 0!important;
        border-radius:14px!important;
        box-sizing:border-box!important;
    }
    .form-group-card-title{
        gap:10px!important;
    }
    .choice-checkboxes,
    .restriction-choice-row{
        width:100%!important;
        box-sizing:border-box!important;
    }
    .restriction-choice{
        flex:1 1 auto!important;
        justify-content:flex-start!important;
        min-width:calc(50% - 6px)!important;
        box-sizing:border-box!important;
    }
    .reportable-disease-options{
        display:grid!important;
        grid-template-columns:1fr!important;
    }
    .reportable-disease-options .restriction-choice{
        width:100%!important;
        min-width:0!important;
    }
    .wizard-actions{
        position:static!important;
        display:flex!important;
        flex-direction:column!important;
        gap:12px!important;
        width:100%!important;
        padding:18px 0 0!important;
    }
    .wizard-actions .kg-action-button{
        width:100%!important;
        min-width:0!important;
        margin:0!important;
    }
    .secure-form-note{
        align-items:flex-start!important;
        line-height:1.4!important;
    }
    .enrollment-check-sidebar{
        position:static!important;
        margin-top:20px!important;
    }
    .sidebar-step-list>div{
        font-size:13px!important;
        padding:11px 12px!important;
    }
    .kg-modal-overlay{
        padding:12px!important;
        overflow-y:auto!important;
    }
    .kg-thankyou-modal{
        padding:30px 16px 22px!important;
        border-radius:18px!important;
        margin:auto!important;
    }
    .kg-modal-actions{
        grid-template-columns:1fr!important;
        gap:12px!important;
        width:100%!important;
    }
    .kg-modal-actions .kg-action-button,
    .kg-modal-actions .kg-action-button:last-child{
        grid-column:auto!important;
        width:100%!important;
        min-width:0!important;
    }
    #pdfGenerationNote{
        line-height:1.4!important;
    }
}
@media(max-width:420px){
    .enroll-wizard-shell{
        padding:15px 9px!important;
    }
    .waitlist-section-heading{
        align-items:flex-start!important;
    }
    .waitlist-section-heading h3{
        font-size:21px!important;
        line-height:1.2!important;
    }
    .restriction-choice{
        min-width:100%!important;
    }
}


/* Drawn electronic signature */
.signature-field{
    margin-top:8px;
}
.signature-pad-wrap{
    position:relative;
    width:100%;
    min-height:180px;
    border:2px solid #dce5d6;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
    box-shadow:inset 0 1px 3px rgba(27,46,20,.06);
    touch-action:none;
}
.signature-pad{
    display:block;
    width:100%;
    height:180px;
    background:#fff;
    cursor:crosshair;
    touch-action:none;
}
.signature-pad-line{
    position:absolute;
    left:7%;
    right:7%;
    bottom:34px;
    height:1px;
    background:#8f9b87;
    pointer-events:none;
}
.signature-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:10px;
    color:#687286;
    font-size:13px;
}
.signature-clear-button{
    border:1px solid #cfd9c9;
    border-radius:9px;
    background:#f7faf5;
    color:#35502b;
    padding:9px 14px;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.signature-clear-button:hover,
.signature-clear-button:focus{
    background:#edf6e8;
    border-color:#61b900;
}
.signature-field.field-has-error .signature-pad-wrap{
    border-color:#d93025;
    box-shadow:0 0 0 3px rgba(217,48,37,.10);
}
@media(max-width:760px){
    .signature-pad{
        height:160px;
    }
    .signature-actions{
        align-items:flex-start;
        flex-direction:column;
    }
    .signature-clear-button{
        width:100%;
    }
}


.waitlist-field.field-has-error{
    border-radius:12px;
}
.waitlist-field.field-has-error .waitlist-consent{
    outline:2px solid #d93025;
    outline-offset:6px;
    border-radius:6px;
}
.field-error-message{
    margin-top:9px;
    color:#b42318;
    font-size:13px;
    font-weight:700;
}


/* Custody Arrangements — ergonomic single-column layout */
.enroll-step[data-step="4"] > .waitlist-grid{
    grid-template-columns:1fr !important;
    gap:22px !important;
}

.enroll-step[data-step="4"] > .waitlist-grid > .compact-choice{
    width:100% !important;
    max-width:none !important;
}

.enroll-step[data-step="4"] > .waitlist-grid > .compact-choice .choice-checkboxes{
    width:100% !important;
    box-sizing:border-box !important;
    min-height:58px !important;
    padding:14px 16px !important;
}

#custody_details_wrap{
    grid-column:1 / -1 !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    gap:22px !important;
    margin-top:2px !important;
}

#custody_details_wrap .waitlist-field{
    width:100% !important;
    max-width:none !important;
}

#custody_details_wrap select{
    width:100% !important;
    max-width:420px !important;
}

#custody_details_wrap textarea{
    width:100% !important;
    min-height:120px !important;
    box-sizing:border-box !important;
}

@media(max-width:760px){
    #custody_details_wrap select{
        max-width:none !important;
    }
}


/* Health restrictions — ergonomic full-width layout */
#restriction_details_wrap{
    grid-column:1 / -1 !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    gap:18px !important;
    margin-top:4px !important;
}

#restriction_details_wrap .waitlist-field{
    width:100% !important;
    max-width:none !important;
}

#restriction_details_wrap .restriction-types-field{
    padding:0 !important;
}

#restriction_details_wrap .restriction-choice-row{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    padding:14px !important;
    border:1px solid #d7dfec !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
    background:#fff !important;
}

#restriction_details_wrap .restriction-choice{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    min-height:42px !important;
    padding:9px 14px !important;
    margin:0 !important;
    border:1px solid #cfd8e8 !important;
    border-radius:10px !important;
    background:#fff !important;
    box-sizing:border-box !important;
    white-space:nowrap !important;
}

#restriction_details_wrap .restriction-choice input{
    margin:0 !important;
    flex:0 0 auto !important;
}

#restriction_details_wrap textarea{
    width:100% !important;
    min-height:125px !important;
    box-sizing:border-box !important;
}

.enroll-step[data-step="7"] .waitlist-field.wide > select[name="immunization_status"],
.enroll-step[data-step="7"] .waitlist-field.wide > textarea[name="other_vaccine"]{
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
}

@media(max-width:760px){
    #restriction_details_wrap .restriction-choice-row{
        padding:12px !important;
    }

    #restriction_details_wrap .restriction-choice{
        flex:1 1 calc(50% - 10px) !important;
        justify-content:flex-start !important;
        min-width:130px !important;
    }
}

@media(max-width:480px){
    #restriction_details_wrap .restriction-choice{
        flex:1 1 100% !important;
    }
}


/* Version 4.0 mobile-first production polish */
#progressPercent{font-weight:700;color:#247300;margin-top:5px}.enroll-progress-track{height:12px}.enroll-progress-track>div{min-width:8.33%}.enroll-step-dots button{min-width:34px;min-height:34px;touch-action:manipulation}.waitlist-field textarea{min-height:132px;resize:vertical}.signature-pad{display:block;width:100%;height:auto;max-height:260px;touch-action:none}.signature-pad-wrap{width:100%;overflow:hidden}.enrollment-submitting-overlay[hidden]{display:none!important}.enrollment-submitting-overlay{position:fixed;inset:0;z-index:10050;background:rgba(7,18,51,.72);display:flex;align-items:center;justify-content:center;padding:20px}.enrollment-submitting-card{width:min(520px,100%);background:#fff;border-radius:22px;padding:30px;box-shadow:0 25px 70px rgba(0,0,0,.3);text-align:left}.enrollment-submitting-card h3{margin:12px 0 8px;text-align:center;color:#071233}.enrollment-submitting-card>p{text-align:center;color:#596275;line-height:1.55}.enrollment-submitting-spinner{width:48px;height:48px;margin:0 auto;border:5px solid #e7efdf;border-top-color:#61b900;border-radius:50%;animation:kgSpin .8s linear infinite}.enrollment-submit-status{display:flex;align-items:center;gap:10px;margin-top:12px;padding:11px 13px;background:#f6fbf2;border:1px solid #dcebd3;border-radius:10px;color:#244c2d;font-weight:650}.enrollment-submit-status span{color:#61b900;font-weight:900}@keyframes kgSpin{to{transform:rotate(360deg)}}body.enrollment-is-submitting{overflow:hidden}.kg-thankyou-modal p{line-height:1.55}.kg-success-circle{box-shadow:0 10px 26px rgba(97,185,0,.25)}

@media(max-width:767px){
  .enrollment-page-layout{display:block}.enrollment-check-sidebar{display:none}.enroll-wizard-shell{padding:18px 12px;border-radius:16px}.enroll-wizard-header{margin-bottom:14px}.enroll-wizard-header h2{font-size:25px;line-height:1.15}.enroll-progress-label{margin-top:12px;padding:12px 14px;background:#f6fbf2;border:1px solid #dcebd3;border-radius:12px}.enroll-progress-label strong{font-size:16px}.enroll-progress-label span{font-size:13px}.enroll-step-dots{display:none!important}.waitlist-grid,.health-grid,#custody_details_wrap,#restriction_details_wrap{grid-template-columns:1fr!important;gap:15px!important}.waitlist-field,.waitlist-field.wide,.waitlist-field.compact-choice{grid-column:1!important;width:100%!important;max-width:none!important}.waitlist-field input,.waitlist-field select,.waitlist-field textarea{width:100%!important;min-height:48px;font-size:16px!important}.waitlist-field textarea{min-height:132px}.choice-checkboxes,.restriction-choice-row{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.choice-checkboxes label,.restriction-choice{white-space:normal!important;min-height:44px!important;justify-content:flex-start!important;padding:10px 12px!important}.pickup-row,.product-row{grid-template-columns:1fr!important}.signature-pad{height:180px!important;max-height:180px}.signature-pad-wrap{min-height:180px}.wizard-actions{position:sticky!important;bottom:0!important;margin-left:-12px!important;margin-right:-12px!important;width:calc(100% + 24px)!important;padding:12px!important;background:#fff!important;box-shadow:0 -10px 24px rgba(7,18,51,.08)!important;z-index:30!important;gap:10px!important}.wizard-actions .kg-action-button{height:52px!important;font-size:16px!important}.wizard-actions #nextButton,.wizard-actions #submitButton{order:1}.wizard-actions #backButton{order:2;background:#fff!important;color:#356b00!important;border:1px solid #8fc46d!important;box-shadow:none!important}.kg-thankyou-modal{padding:32px 18px!important;border-radius:18px!important}.kg-modal-actions{gap:10px!important}.enrollment-submitting-card{padding:24px 17px}.about-page-hero{padding-top:35px!important;padding-bottom:35px!important}
}
@media(max-width:420px){.choice-checkboxes,.restriction-choice-row{grid-template-columns:1fr!important}.enroll-wizard-header h2{font-size:22px}.waitlist-section-heading h3{font-size:20px}.form-group-card{padding:15px 11px}.kg-action-button{min-width:0!important}}
@media(prefers-reduced-motion:reduce){.enroll-step.active,.enrollment-submitting-spinner{animation:none!important}.kg-action-button,.enroll-progress-track div{transition:none!important}}


/* V4.1 — mobile radio controls and reliable conditional sections */
[hidden]{display:none!important;}

.choice-checkboxes input[type="radio"]{
    appearance:none;
    -webkit-appearance:none;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    margin:0!important;
    border:2px solid #9aa8b8;
    border-radius:50%;
    background:#fff;
    display:inline-grid;
    place-content:center;
    cursor:pointer;
}
.choice-checkboxes input[type="radio"]::before{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    transform:scale(0);
    transition:transform .12s ease-in-out;
    background:#61b900;
}
.choice-checkboxes input[type="radio"]:checked{
    border-color:#61b900;
}
.choice-checkboxes input[type="radio"]:checked::before{
    transform:scale(1);
}
.choice-checkboxes input[type="radio"]:focus-visible{
    outline:3px solid rgba(97,185,0,.25);
    outline-offset:2px;
}
.choice-checkboxes label:has(input[type="radio"]:checked){
    color:#286b00;
}

.inline-check{
    justify-content:flex-start!important;
    width:100%!important;
    gap:11px!important;
    padding:10px 0!important;
    text-align:left!important;
}
.inline-check input[type="checkbox"]{
    appearance:none;
    -webkit-appearance:none;
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    margin:0!important;
    border:2px solid #9aa8b8;
    border-radius:5px;
    background:#fff;
    display:inline-grid;
    place-content:center;
}
.inline-check input[type="checkbox"]::before{
    content:"✓";
    color:#fff;
    font-size:16px;
    line-height:1;
    font-weight:900;
    transform:scale(0);
}
.inline-check input[type="checkbox"]:checked{
    background:#61b900;
    border-color:#61b900;
}
.inline-check input[type="checkbox"]:checked::before{
    transform:scale(1);
}

@media(max-width:760px){
    .choice-checkboxes{
        display:flex!important;
        flex-wrap:wrap!important;
        justify-content:flex-start!important;
        gap:10px!important;
        padding:10px!important;
    }
    .choice-checkboxes label{
        flex:0 0 auto!important;
        min-width:92px!important;
        min-height:44px!important;
        padding:10px 14px!important;
        border:1px solid #d5dee8;
        border-radius:9px;
        background:#fff;
        box-sizing:border-box!important;
    }
    .choice-checkboxes label:has(input[type="radio"]:checked){
        border-color:#61b900;
        background:#f4faef;
        box-shadow:0 0 0 2px rgba(97,185,0,.10);
    }
    .inline-check{
        display:flex!important;
        align-items:center!important;
        justify-content:flex-start!important;
        flex-wrap:nowrap!important;
        min-height:44px!important;
        padding:8px 2px!important;
    }
    .inline-check input[type="checkbox"]{
        flex:0 0 22px!important;
    }
}

/* V4.2 — consistent compact radio-button cards on desktop and mobile */
.choice-checkboxes:has(input[type="radio"]){
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:max-content!important;
    max-width:100%!important;
    min-height:0!important;
    gap:10px!important;
    padding:8px!important;
    background:#fff!important;
    border:1px solid #cfd8e3!important;
    border-radius:10px!important;
    box-sizing:border-box!important;
}

.choice-checkboxes label:has(input[type="radio"]){
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    width:auto!important;
    min-width:112px!important;
    min-height:50px!important;
    margin:0!important;
    padding:10px 14px!important;
    border:1px solid #d5dee8!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#071233!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
    transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}

.choice-checkboxes label:has(input[type="radio"]):hover{
    border-color:#a9c996!important;
    background:#fbfef9!important;
}

.choice-checkboxes label:has(input[type="radio"]:checked){
    border-color:#61b900!important;
    background:#f4faef!important;
    color:#286b00!important;
    box-shadow:0 0 0 2px rgba(97,185,0,.10)!important;
}

.choice-checkboxes input[type="radio"]{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    flex:0 0 21px!important;
    border-width:2px!important;
}

.choice-checkboxes input[type="radio"]::before{
    width:9px!important;
    height:9px!important;
}

.waitlist-field.compact-choice:has(input[type="radio"]){
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
}

@media(max-width:760px){
    .choice-checkboxes:has(input[type="radio"]){
        width:100%!important;
        gap:9px!important;
        padding:8px!important;
    }

    .choice-checkboxes label:has(input[type="radio"]){
        flex:0 1 auto!important;
        min-width:108px!important;
        min-height:50px!important;
        padding:10px 13px!important;
        font-size:15px!important;
    }

    .waitlist-field.compact-choice:has(input[type="radio"]){
        width:100%!important;
    }
}

@media(max-width:390px){
    .choice-checkboxes label:has(input[type="radio"]){
        min-width:104px!important;
    }
}

/* V4.3 — streamlined inline radio buttons across the enrollment form */
.choice-checkboxes:has(input[type="radio"]){
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    max-width:100%!important;
    min-height:0!important;
    gap:8px 24px!important;
    padding:2px 0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

.choice-checkboxes label:has(input[type="radio"]){
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:auto!important;
    min-width:0!important;
    min-height:40px!important;
    margin:0!important;
    padding:7px 8px!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#071233!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    cursor:pointer!important;
    transition:background-color .16s ease,color .16s ease!important;
}

.choice-checkboxes label:has(input[type="radio"]):hover{
    border:0!important;
    background:#f5faef!important;
}

.choice-checkboxes label:has(input[type="radio"]:checked){
    border:0!important;
    background:#f1f9eb!important;
    color:#286b00!important;
    box-shadow:none!important;
}

.choice-checkboxes input[type="radio"]{
    appearance:none!important;
    -webkit-appearance:none!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    flex:0 0 20px!important;
    margin:0!important;
    padding:0!important;
    border:2px solid #9aa9ba!important;
    border-radius:50%!important;
    background:#fff!important;
    display:grid!important;
    place-content:center!important;
    cursor:pointer!important;
    box-shadow:none!important;
}

.choice-checkboxes input[type="radio"]::before{
    content:""!important;
    width:8px!important;
    height:8px!important;
    border-radius:50%!important;
    background:#61b900!important;
    transform:scale(0)!important;
    transition:transform .12s ease-in-out!important;
}

.choice-checkboxes input[type="radio"]:checked{
    border-color:#61b900!important;
}

.choice-checkboxes input[type="radio"]:checked::before{
    transform:scale(1)!important;
}

.choice-checkboxes input[type="radio"]:focus-visible{
    outline:3px solid rgba(97,185,0,.24)!important;
    outline-offset:3px!important;
}

.waitlist-field.compact-choice:has(input[type="radio"]){
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
}

@media(max-width:760px){
    .choice-checkboxes:has(input[type="radio"]){
        width:100%!important;
        gap:6px 20px!important;
        padding:2px 0!important;
    }

    .choice-checkboxes label:has(input[type="radio"]){
        min-width:0!important;
        min-height:44px!important;
        padding:8px!important;
        font-size:15px!important;
    }

    .waitlist-field.compact-choice:has(input[type="radio"]){
        width:100%!important;
    }
}

/* V4.4 — final radio and checkbox consistency pass */
.choice-checkboxes:has(input[type="radio"]){
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px 22px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:36px!important;
    padding:3px 0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

.choice-checkboxes label:has(input[type="radio"]){
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto!important;
    gap:8px!important;
    width:auto!important;
    min-width:0!important;
    min-height:36px!important;
    margin:0!important;
    padding:5px 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#071233!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    cursor:pointer!important;
}

.choice-checkboxes label:has(input[type="radio"]):hover,
.choice-checkboxes label:has(input[type="radio"]:checked){
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#071233!important;
}

.choice-checkboxes input[type="radio"]{
    appearance:none!important;
    -webkit-appearance:none!important;
    box-sizing:border-box!important;
    display:inline-grid!important;
    place-content:center!important;
    flex:0 0 20px!important;
    width:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
    margin:0!important;
    padding:0!important;
    border:2px solid #9aa9ba!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:none!important;
    vertical-align:middle!important;
    cursor:pointer!important;
}

.choice-checkboxes input[type="radio"]::before{
    content:""!important;
    display:block!important;
    width:8px!important;
    height:8px!important;
    border-radius:50%!important;
    background:#61b900!important;
    transform:scale(0)!important;
    transition:transform .12s ease-in-out!important;
}

.choice-checkboxes input[type="radio"]:checked{
    border-color:#61b900!important;
    background:#fff!important;
}

.choice-checkboxes input[type="radio"]:checked::before{
    transform:scale(1)!important;
}

.choice-checkboxes input[type="radio"]:focus-visible{
    outline:3px solid rgba(97,185,0,.24)!important;
    outline-offset:3px!important;
}

.waitlist-field.compact-choice:has(input[type="radio"]){
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    align-self:start!important;
}

/* Keep ordinary checkbox rows compact, aligned, and fully clickable. */
.inline-check,
.same-address-row{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    text-align:left!important;
}

.inline-check input[type="checkbox"],
.same-address-row input[type="checkbox"]{
    box-sizing:border-box!important;
    flex:0 0 19px!important;
    width:19px!important;
    min-width:19px!important;
    max-width:19px!important;
    height:19px!important;
    min-height:19px!important;
    max-height:19px!important;
    margin:0!important;
    padding:0!important;
    accent-color:#61b900!important;
}

@media(max-width:760px){
    .choice-checkboxes:has(input[type="radio"]){
        gap:5px 20px!important;
        min-height:42px!important;
    }

    .choice-checkboxes label:has(input[type="radio"]){
        min-height:42px!important;
        padding:8px 2px!important;
        font-size:15px!important;
    }

    .inline-check,
    .same-address-row{
        display:flex!important;
        width:100%!important;
        min-height:42px!important;
        padding:5px 0!important;
    }
}

/* Version 4.6: mobile wizard navigation buttons side by side */
@media (max-width: 760px){
  .wizard-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:stretch!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:14px 12px!important;
  }

  .wizard-actions .kg-action-button,
  .wizard-actions #backButton,
  .wizard-actions #nextButton,
  .wizard-actions #submitButton{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    height:54px!important;
    margin:0!important;
    padding:0 12px!important;
    border-radius:12px!important;
    font-size:16px!important;
    line-height:1.2!important;
    order:initial!important;
  }

  .wizard-actions #backButton{
    background:#fff!important;
    color:#4f9700!important;
    border:2px solid #61b900!important;
    box-shadow:none!important;
  }

  .wizard-actions #nextButton,
  .wizard-actions #submitButton{
    background:#61b900!important;
    color:#fff!important;
    border:2px solid #61b900!important;
    box-shadow:0 7px 16px rgba(97,185,0,.24)!important;
  }

  /* Keep the active forward button on the right when Back is hidden. */
  .wizard-actions #backButton[style*="display:none"] + #nextButton,
  .wizard-actions #backButton[style*="display: none"] + #nextButton{
    margin-left:calc(50% + 6px)!important;
  }
}

@media (max-width: 390px){
  .wizard-actions{gap:9px!important;}
  .wizard-actions .kg-action-button,
  .wizard-actions #backButton,
  .wizard-actions #nextButton,
  .wizard-actions #submitButton{
    height:52px!important;
    font-size:15px!important;
    padding:0 8px!important;
  }
}

/* Version 4.7: mobile success modal viewport fit */
.kg-modal-overlay{
  z-index:2147483000!important;
  box-sizing:border-box!important;
  overscroll-behavior:contain;
}

@media (max-width:760px){
  .kg-modal-overlay{
    align-items:flex-start!important;
    justify-content:center!important;
    width:100%!important;
    height:100vh!important;
    height:100dvh!important;
    padding:10px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .kg-thankyou-modal{
    width:100%!important;
    max-width:440px!important;
    max-height:calc(100vh - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    margin:0 auto!important;
    padding:24px 16px 18px!important;
    border-radius:18px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .kg-popup-x{
    top:7px!important;
    right:10px!important;
    width:40px!important;
    height:40px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:30px!important;
    line-height:1!important;
    z-index:2!important;
  }

  .kg-success-circle{
    width:58px!important;
    height:58px!important;
    font-size:32px!important;
    margin:0 auto 8px!important;
  }

  .kg-thankyou-modal h2{
    margin:6px 34px 8px!important;
    font-size:22px!important;
    line-height:1.2!important;
  }

  .kg-thankyou-modal p{
    margin:7px 0!important;
    font-size:15px!important;
    line-height:1.4!important;
    overflow-wrap:anywhere!important;
  }

  .kg-modal-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    width:100%!important;
    max-width:none!important;
    margin:18px auto 0!important;
  }

  .kg-modal-actions .kg-action-button,
  .kg-modal-actions .kg-action-button:last-child,
  .kg-modal-actions .kg-download-pdf-button{
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
    height:50px!important;
    min-height:50px!important;
    padding:0 12px!important;
    border-radius:12px!important;
    font-size:16px!important;
    white-space:normal!important;
    box-sizing:border-box!important;
  }

  #pdfGenerationNote{
    margin-top:2px!important;
    font-size:13px!important;
  }
}

@media (max-width:380px), (max-height:700px){
  .kg-thankyou-modal{
    padding:18px 12px 14px!important;
  }
  .kg-success-circle{
    width:48px!important;
    height:48px!important;
    font-size:27px!important;
    margin-bottom:4px!important;
  }
  .kg-thankyou-modal h2{
    margin-top:4px!important;
    font-size:20px!important;
  }
  .kg-thankyou-modal p{
    margin:5px 0!important;
    font-size:14px!important;
  }
  .kg-modal-actions{
    gap:7px!important;
    margin-top:13px!important;
  }
  .kg-modal-actions .kg-action-button,
  .kg-modal-actions .kg-action-button:last-child,
  .kg-modal-actions .kg-download-pdf-button{
    height:46px!important;
    min-height:46px!important;
    font-size:15px!important;
  }
}

/* Production QA refinements */
.conditional-panel[hidden]{display:none!important;}
.field-error-message{color:#b42318;font-size:14px;margin-top:7px;line-height:1.35;}
[aria-invalid="true"]{border-color:#b42318!important;box-shadow:0 0 0 3px rgba(180,35,24,.12)!important;}
@media(max-width:760px){
  .enroll-step{padding-bottom:92px;}
  .wizard-actions{position:sticky!important;bottom:0;z-index:20;background:#fff;padding:12px 0 calc(12px + env(safe-area-inset-bottom))!important;box-shadow:0 -8px 18px rgba(20,45,20,.08);}
}
