.sa1040-main {
    --sa1040-navy:#062b45;
    --sa1040-teal:#1a9ba8;
    --sa1040-teal-dark:#158793;
    --sa1040-border:#d7e3e8;
    --sa1040-surface:#f6f9fb;
    --sa1040-muted:#667d89;
    --sa1040-error:#b42318;
    padding:28px 0 64px;
    background:#fff;
}

.sa1040-main *,
#pdfModal * {
    box-sizing:border-box;
}

.sa1040-main > .container {
    margin:0 auto;
    width:100%;
    max-width:1220px;
    min-width:0;
    padding-left:12px;
    padding-right:12px;
    box-sizing:border-box;
    margin-left:auto;
    margin-right:auto;
}

.sa1040-layout-row {
    overflow:visible;
}

.sa1040-form-column,
.sa1040-preview-column {
    min-width:0;
}

@media (min-width:1200px) {
    .sa1040-layout-row {
    }

    .sa1040-layout-row > .sa1040-form-column,
    .sa1040-layout-row > .sa1040-preview-column {
        width:100%;
        max-width:none;
        padding:0;
    }
}

@media (min-width:992px) and (max-width:1199.98px) {
    .sa1040-layout-row {
    }

    .sa1040-layout-row > .sa1040-form-column,
    .sa1040-layout-row > .sa1040-preview-column {
        width:100%;
        max-width:none;
        padding:0;
    }
}

#scheduleAForm {
    width:100%;
}

#scheduleAForm .sa1040-card {
    display:block;
    width:100%;
    margin:0 0 24px;
    padding:24px 26px;
    border:1px solid var(--sa1040-border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 30px rgba(2,48,71,.07);
}

#scheduleAForm .sa1040-section-title {
    display:block;
    margin:0 0 18px;
    padding:0 0 14px;
    border-bottom:2px solid #e8eef1;
    color:var(--sa1040-navy);
    font-size:1.35rem;
    font-weight:800;
    line-height:1.35;
}

#scheduleAForm .sa1040-section-copy,
#scheduleAForm .sa1040-section-intro,
#scheduleAForm .sa1040-row-help {
    margin:0 0 16px;
    color:var(--sa1040-muted);
    font-size:.8rem;
    font-weight:400;
    line-height:1.58;
    text-align:left;
}

#scheduleAForm .sa1040-row {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
    width:100%;
    margin:0 0 16px;
}

#scheduleAForm .sa1040-row:last-child {
    margin-bottom:0;
}

#scheduleAForm .sa1040-field {
    display:flex;
    min-width:0;
    width:100%;
    height:100%;
    flex-direction:column;
    margin:0;
}

#scheduleAForm .sa1040-field--full {
    width:100%;
    margin:0 0 16px;
}

#scheduleAForm .sa1040-field--full:last-child {
    margin-bottom:0;
}

#scheduleAForm .sa1040-field > label,
#scheduleAForm .sa1040-group-label {
    display:block;
    min-height:0;
    margin:0 0 7px;
    color:var(--sa1040-navy);
    font-size:13px;
    font-weight:600;
    line-height:18px;
    text-align:left;
}

#scheduleAForm .sa1040-row .sa1040-field > .sa1040-input,
#scheduleAForm .sa1040-row .sa1040-field > .sa1040-select,
#scheduleAForm .sa1040-row .sa1040-field > .sa1040-money {
    margin-top:auto;
}

#scheduleAForm .sa1040-required::after {
    content:" *";
    color:var(--sa1040-error);
}

#scheduleAForm .sa1040-optional {
    color:#6b7f8b;
    font-size:.76rem;
    font-weight:500;
    white-space:nowrap;
}

#scheduleAForm .sa1040-input,
#scheduleAForm .sa1040-select,
#scheduleAForm .sa1040-textarea {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    border:1px solid #cfdbe1;
    border-radius:9px;
    background:var(--sa1040-surface);
    color:var(--sa1040-navy);
    font-family:inherit;
    font-size:14px;
    font-weight:400;
    box-shadow:none;
}

#scheduleAForm .sa1040-input,
#scheduleAForm .sa1040-select {
    height:46px;
    min-height:46px;
    padding:10px 12px;
    line-height:1.35;
}

#scheduleAForm .sa1040-textarea {
    min-height:96px;
    padding:10px 12px;
    line-height:1.45;
    resize:vertical;
}

#scheduleAForm .sa1040-input:focus,
#scheduleAForm .sa1040-select:focus,
#scheduleAForm .sa1040-textarea:focus {
    border-color:var(--sa1040-teal);
    background:#fff;
    outline:0;
    box-shadow:0 0 0 3px rgba(26,155,168,.14);
}

#scheduleAForm .sa1040-readonly {
    background:#eef3f5;
    color:var(--sa1040-navy);
}

#scheduleAForm .sa1040-money {
    display:flex;
    width:100%;
    min-width:0;
    height:46px;
    min-height:46px;
    flex-wrap:nowrap;
    overflow:hidden;
    border:1px solid #cfdbe1;
    border-radius:9px;
    background:var(--sa1040-surface);
    transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

#scheduleAForm .sa1040-money > span {
    box-sizing:border-box;
    display:inline-flex;
    flex:0 0 44px;
    align-items:center;
    justify-content:center;
    width:44px;
    min-width:44px;
    height:46px;
    min-height:46px;
    padding:0;
    border:0;
    border-right:1px solid #cfdbe1;
    border-radius:0;
    background:#eef3f5;
    color:var(--sa1040-navy);
    font-family:inherit;
    font-size:.9rem;
    font-weight:600;
    line-height:1;
    text-align:center;
}

#scheduleAForm .sa1040-money .sa1040-input {
    flex:1 1 auto;
    width:auto;
    min-width:0;
    height:46px;
    min-height:46px;
    border:0;
    border-radius:0;
    font-family:inherit;
    font-size:14px;
    font-weight:400;
    line-height:20px;
    text-align:right;
    font-variant-numeric:tabular-nums;
}

#scheduleAForm .sa1040-money:focus-within {
    border-color:var(--sa1040-teal);
    background:#fff;
    box-shadow:0 0 0 3px rgba(26,155,168,.14);
}

#scheduleAForm .sa1040-money .sa1040-input:focus {
    background:#fff;
    box-shadow:none;
}

#scheduleAForm .sa1040-money:has(.sa1040-input[aria-invalid="true"]) {
    border-color:var(--sa1040-error);
    background:#fff;
}

#scheduleAForm .sa1040-help {
    display:block;
    margin:7px 0 0;
    color:var(--sa1040-muted);
    font-size:.78rem;
    font-weight:400;
    line-height:1.5;
    text-align:left;
}

#scheduleAForm .sa1040-row-help {
    margin:-7px 0 16px;
}

#scheduleAForm .sa1040-choice {
    display:flex;
    align-items:flex-start;
    gap:10px;
    width:100%;
    min-height:44px;
    margin:0 0 16px;
    padding:11px 12px;
    border:1px solid #dce5e9;
    border-radius:10px;
    background:#fbfdfe;
    color:#294b5b;
    font-size:.84rem;
    font-weight:600;
    line-height:1.5;
    text-align:left;
    cursor:pointer;
}

#scheduleAForm .sa1040-choice:last-child {
    margin-bottom:0;
}

#scheduleAForm .sa1040-choice input[type="checkbox"] {
    flex:0 0 auto;
    width:18px;
    height:18px;
    margin:1px 0 0;
    accent-color:var(--sa1040-teal);
}

#scheduleAForm [hidden] {
    display:none;
}

#scheduleAForm [aria-invalid="true"] {
    border-color:var(--sa1040-error);
    background:#fff;
}

.sa1040-message {
    display:none;
    margin:0 0 16px;
    padding:12px 14px;
    border-radius:10px;
    font-size:.84rem;
    line-height:1.5;
}

.sa1040-message.is-error {
    display:block;
    border:1px solid #efbcbc;
    background:#fff3f3;
    color:#8f2525;
}

.sa1040-message.is-success {
    display:block;
    border:1px solid #a7d7c5;
    background:#effaf5;
    color:#146c43;
}

.sa1040-preview-column {
    position:sticky;
    top:96px;
    align-self:flex-start;
    height:fit-content;
}

.sa1040-preview-card {
    position:relative;
    width:100%;
    padding:12px;
    border:1px solid var(--sa1040-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 14px 36px rgba(2,48,71,.10);
}

.sa1040-preview-heading {
    margin:0 0 16px;
    text-align:center;
}

.sa1040-preview-heading h2 {
    margin:0 0 5px;
    color:var(--sa1040-navy);
    font-size:1.2rem;
    font-weight:800;
    line-height:1.35;
}

.sa1040-preview-heading p {
    margin:0;
    color:var(--sa1040-muted);
    font-size:.82rem;
    line-height:1.5;
}

.sa1040-preview-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:8px;
    padding:5px 10px;
    border:1px solid #c9dbe3;
    border-radius:999px;
    background:#eef8fa;
    color:var(--sa1040-navy);
    font-size:.78rem;
    font-weight:700;
}

#iframeWrapper {
    position:relative;
    width:100%;
    max-width:100%;
    height:clamp(560px,calc(100vh - 220px),940px);
    min-height:560px;
    max-height:940px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    border:1px solid #cfdbe1;
    border-radius:10px;
    background:#fff;
}

#iframeWrapper iframe {
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    height:100%;
    border:0;
    background:#fff;
}

#pdfViewer.sa1040-preview-hidden {
    display:none;
}

.sa1040-pdf-pages {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    height:100%;
    padding:2px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background:#eef3f5;
}

.sa1040-pdf-pages--modal {
    height:100%;
    padding:10px;
    border-radius:8px;
}

.sa1040-pdf-page {
    position:relative;
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    margin:0 auto 10px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 2px 10px rgba(2,48,71,.10);
}

.sa1040-pdf-page:last-child {
    margin-bottom:0;
}

.sa1040-pdf-page canvas {
    display:block;
    max-width:100%;
    height:auto;
    margin:0;
}

#pdfViewer.sa1040-pdfjs-active,
#modalPdf.sa1040-pdfjs-active {
    display:none;
}

.sa1040-loader {
    position:absolute;
    inset:0;
    z-index:5;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.76);
}

.sa1040-spinner {
    width:48px;
    height:48px;
    border:5px solid #e8eff2;
    border-top-color:var(--sa1040-teal);
    border-radius:50%;
    animation:sa1040Spin .9s linear infinite;
}

@keyframes sa1040Spin {
    to { transform:rotate(360deg); }
}

.sa1040-preview-status {
    margin:10px 0 0;
    color:var(--sa1040-muted);
    font-size:.76rem;
    line-height:1.45;
    text-align:center;
}

.sa1040-preview-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    width:100%;
    max-width:580px;
    margin:30px auto 8px;
}

.sa1040-preview-button,
.sa1040-submit-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:44px;
    min-height:44px;
    padding:8px 12px;
    border-radius:10px;
    font-family:inherit;
    font-size:.88rem;
    font-weight:800;
    line-height:1.25;
    text-align:center;
    white-space:nowrap;
    cursor:pointer;
}

.sa1040-preview-button {
    border:1px solid var(--sa1040-navy);
    background:#fff;
    color:var(--sa1040-navy);
}

.sa1040-preview-button:hover,
.sa1040-preview-button:focus {
    background:#f7fafc;
}

.sa1040-preview-button:disabled {
    cursor:not-allowed;
    opacity:.55;
}

.sa1040-submit-button {
    border:0;
    background:var(--sa1040-teal);
    color:#fff;
}

.sa1040-submit-button:hover,
.sa1040-submit-button:focus {
    background:var(--sa1040-teal-dark);
    color:#fff;
}

.sa1040-submit-button:disabled {
    cursor:progress;
    opacity:.68;
}

html.sa1040-preview-open,
body.sa1040-preview-open {
    overflow:hidden;
}

#pdfModal {
    position:fixed;
    inset:0;
    z-index:2147483647;
    display:none;
    align-items:center;
    justify-content:center;
    padding:clamp(16px,4vw,40px);
    margin:0;
    overflow:auto;
    isolation:isolate;
    background:rgba(2,48,71,.72);
}

#pdfModal.is-open {
    display:flex;
}

#pdfModal .sa1040-modal__dialog {
    position:relative;
    z-index:1;
    box-sizing:border-box;
    display:flex;
    width:min(1040px,calc(100vw - 24px));
    max-width:100%;
    height:min(96dvh,1040px);
    max-height:96dvh;
    flex-direction:column;
    aspect-ratio:auto;
    margin:auto;
    padding:0;
    overflow:hidden;
    border:1px solid #cfdbe1;
    border-radius:12px;
    background:#edf2f5;
    box-shadow:0 16px 42px rgba(0,18,27,.24);
}

#pdfModal #modalPdf {
    display:block;
    width:100%;
    height:100%;
    min-height:0;
    flex:1 1 auto;
    overflow:auto;
    border:0;
    border-radius:0;
    outline:0;
    background:#fff;
}

#pdfModal .sa1040-pdf-pages {
    width:100%;
    height:auto;
    min-height:0;
    flex:1 1 auto;
    overflow:auto;
}

#pdfModal .sa1040-pdf-pages--modal .sa1040-pdf-page,
#pdfModal .sa1040-pdf-pages--modal .sa1040-pdf-page canvas {
    max-width:none;
}

#pdfModal .close-btn {
    position:absolute;
    top:5px;
    right:5px;
    z-index:3;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    border:2px solid #fff;
    border-radius:50%;
    background:#009bb5;
    color:#fff;
    font-size:26px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 5px 16px rgba(0,18,27,.24);
}

#pdfModal .close-btn:hover,
#pdfModal .close-btn:focus-visible {
    background:#007f96;
    outline:3px solid rgba(0,155,181,.28);
    outline-offset:2px;
}


@media (max-width:991.98px) {
    .sa1040-preview-column {
        position:static;
        top:auto;
        height:auto;
    }

    #iframeWrapper {
        height:clamp(540px,72dvh,760px);
        min-height:0;
        max-height:760px;
    }

    #pdfModal {
        padding:16px;
    }

    #pdfModal .sa1040-modal__dialog {
        width:min(720px,calc(100vw - 32px));
        max-width:100%;
        height:calc(100dvh - 32px);
        max-height:900px;
        aspect-ratio:auto;
    }

    #pdfModal .close-btn {
        top:8px;
        right:8px;
    }
}

@media (max-width:767.98px) {
    .sa1040-main {
        padding-top:24px;
        padding-bottom:44px;
    }

    #scheduleAForm .sa1040-card {
        padding:20px;
        border-radius:14px;
    }

    #scheduleAForm .sa1040-row {
        grid-template-columns:minmax(0,1fr);
        gap:16px;
    }

    #scheduleAForm .sa1040-row .sa1040-field > .sa1040-input,
    #scheduleAForm .sa1040-row .sa1040-field > .sa1040-select,
    #scheduleAForm .sa1040-row .sa1040-field > .sa1040-money {
        margin-top:0;
    }

    .sa1040-preview-card {
        padding:10px;
        border-radius:14px;
    }

    #iframeWrapper {
        height:clamp(460px,70dvh,640px);
        min-height:0;
        max-height:640px;
    }

    #pdfModal {
        align-items:stretch;
        padding:12px;
    }

    #pdfModal .sa1040-modal__dialog {
        width:100%;
        max-width:100%;
        height:calc(100dvh - 24px);
        max-height:none;
        margin:auto;
        padding:4px;
        border-radius:10px;
    }

    #pdfModal iframe {
        border-radius:7px;
    }

    #pdfModal .close-btn {
        top:8px;
        right:8px;
        width:44px;
        height:44px;
        font-size:25px;
    }
}

@media (max-width:479.98px) {
    .sa1040-preview-actions {
        grid-template-columns:minmax(0,1fr);
        max-width:100%;
    }
    .sa1040-preview-button,
    .sa1040-submit-button { white-space:normal; }
}

@media (max-width:575.98px) {
    .sa1040-main > .container {
        width:100%;
        max-width:1220px;
        min-width:0;
        padding-left:12px;
        padding-right:12px;
        box-sizing:border-box;
        margin-left:auto;
        margin-right:auto;
    }

    #scheduleAForm .sa1040-card {
        padding:16px;
    }

    .sa1040-preview-card {
        padding:8px;
    }

    #iframeWrapper {
        height:clamp(420px,68dvh,560px);
        min-height:0;
        max-height:560px;
    }

    .sa1040-pdf-pages,
    .sa1040-pdf-pages--modal {
        padding:5px;
    }

    .sa1040-pdf-page {
        margin-bottom:7px;
    }
}
.sa1040-hero .tax1040-extra-w2-intro ol,
.sa1040-hero .tax1040-extra-w2-intro li {
    font-size:14px;
    text-align:left;
}
/* Container layout verified against Form 941; page-scoped, 2026-11-01. */
.sa1040-layout-row{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,13fr);gap:24px;margin:0;width:100%;min-width:0;align-items:start;box-sizing:border-box}
.sa1040-layout-row > *{width:100%;max-width:none;min-width:0;padding-left:0;padding-right:0;margin:0;box-sizing:border-box}
@media(min-width:992px) and (max-width:1199.98px){.sa1040-layout-row{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:22px}}
@media(max-width:991.98px){.sa1040-layout-row{grid-template-columns:minmax(0,1fr);gap:24px}}
