.f1098t{--navy:#023047;--teal:#0097b2;--teal-dark:#158793;--text:#294b5b;--muted:#627783;--border:#d9e3e8;--soft:#f6f9fb;padding:0 0 64px;background:#fff}
.f1098t *{box-sizing:border-box}
.f1098t .f1098t-head.tax1099-w2-hero{min-height:244px!important}
.f1098t .f1098t-head #epay-create-h1-force-a{margin:0 0 10px!important;font-family:"Poppins",sans-serif!important;font-size:clamp(28px,4vw,32px)!important;line-height:1.25!important}
.f1098t-head .tax1099-w2-intro ol,.f1098t-head .tax1099-w2-intro li{font-size:13px;text-align:left}
.f1098t-wrap{margin:0 auto;padding:40px 12px 0;width:100%;max-width:1220px;min-width:0;padding-left:12px;padding-right:12px;box-sizing:border-box;margin-left:auto;margin-right:auto}
.f1098t-grid{align-items:start}
.f1098t-form{min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.f1098t-section{display:block;margin:0 0 24px;padding:26px;overflow:visible;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(2,48,71,.07)}
.f1098t-section:last-child{margin-bottom:0}
.f1098t-section h2{display:flex;align-items:center;min-height:0;margin:0 0 18px;padding:0 0 14px;border-bottom:2px solid #e8eef1;color:var(--navy);font-size:1.35rem;font-weight:800;line-height:1.35}
.f1098t-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:18px;align-items:stretch;margin:0 0 18px}
.f1098t-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.f1098t-field{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;margin:0 0 18px;align-content:start}
.f1098t-field label{display:block;margin:0;color:var(--navy);font-family:"Poppins",sans-serif;font-size:15px;font-weight:500;line-height:1.38;text-align:left}
.f1098t-field input{width:100%;min-width:0;height:46px;min-height:46px;margin:0;padding:9px 12px;border:1px solid #cfdbe1;border-radius:9px;background:var(--soft);color:var(--navy);font-family:"Poppins",sans-serif;font-size:15px;font-weight:400;line-height:1.35;outline:none;box-shadow:none}
.f1098t-field input:focus{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px rgba(0,151,178,.14)}
.f1098t-row>.f1098t-field{height:100%;margin:0;align-content:end}
.f1098t-row>.f1098t-field label{display:flex;align-items:flex-end}
.f1098t-section>:last-child{margin-bottom:0}
.f1098t-check{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;margin:0 0 18px;padding:9px 12px;border:1px solid #dce5e9;border-radius:10px;background:#fbfdfe;color:#294b5b;font-size:.86rem;font-weight:600;line-height:1.5;text-align:left}
.f1098t-row>.f1098t-check{margin:0}
.f1098t-check input{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:var(--teal)}
.f1098t-reserved{margin:0 0 18px;padding:13px 14px;border:1px solid #dce5e9;border-radius:10px;background:#fbfdfe;color:var(--muted);font-size:.82rem;line-height:1.5}
.f1098t-preview{position:sticky;top:96px;align-self:start;min-width:0;height:fit-content;padding:12px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(2,48,71,.1)}
.f1098t-preview-heading{margin:0 0 16px;text-align:center}
.f1098t-preview-heading h2{margin:0 0 5px;color:var(--navy);font-size:1.2rem;font-weight:800;line-height:1.35}
.f1098t-preview-heading p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}
.f1098t-year-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(--navy);font-size:.78rem;font-weight:700}
.f1098t-pdf{position:relative;width:100%;height:clamp(560px,calc(100vh - 220px),940px);min-height:560px;max-height:940px;overflow:hidden;border:1px solid #cfdbe1;border-radius:10px;background:#fff}
#f1098tPreview{display:block;width:100%;max-width:100%;min-width:0;height:100%;border:0;background:#fff}
.f1098t-loader{position:absolute;inset:0;z-index:5;display:none;align-items:center;justify-content:center;border-radius:inherit;background:rgba(255,255,255,.78)}
.f1098t-spinner{width:40px;height:40px;border:4px solid #e5edf0;border-top-color:var(--teal);border-radius:50%;animation:f1098tspin .8s linear infinite}
@keyframes f1098tspin{to{transform:rotate(360deg)}}
.f1098t-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:580px;margin:30px auto 8px}
.f1098t .f1098t-actions button.f1098t-action{display:inline-flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:44px;margin:0;padding:8px 12px;border-radius:10px;font-size:.88rem;font-weight:800;line-height:1.25;text-align:center;white-space:nowrap;box-shadow:none;cursor:pointer}
.f1098t .f1098t-actions .f1098t-action--secondary{border:1px solid var(--navy);background:#fff;color:var(--navy)}
.f1098t .f1098t-actions .f1098t-action--primary{border:0;background:#1a9ba8;color:#fff}
.f1098t .f1098t-actions .f1098t-action--secondary:hover,.f1098t .f1098t-actions .f1098t-action--secondary:focus{background:#f7fafc}
.f1098t .f1098t-actions .f1098t-action--primary:hover,.f1098t .f1098t-actions .f1098t-action--primary:focus{background:#158793;color:#fff}
.f1098t-error{display:none;margin:0 0 18px;padding:12px 14px;border:1px solid #b33b32;border-radius:9px;background:#fff7f6;color:#842029;font-size:13px;line-height:1.5}
.f1098t-modal{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)}
.f1098t-modal-card{position:relative;z-index:1;display:flex;width:min(760px,75vw,calc((100dvh - 64px) * 8.5 / 11));height:auto;aspect-ratio:8.5/11;margin:auto;padding:6px;overflow:hidden;border:1px solid #cfdbe1;border-radius:12px;background:#edf2f5;box-shadow:0 16px 42px rgba(0,18,27,.24)}
.f1098t-modal-head{position:absolute;inset:0;z-index:3;display:block;min-height:0;padding:0;border:0;pointer-events:none;font-size:0}
.f1098t-modal-head>span{display:none}
.f1098t-close{position:absolute;top:-2px;right:-2px;z-index:4;display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;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);pointer-events:auto}
#f1098tModalPdf{display:block;flex:1;width:100%;height:100%;min-height:0;border:0;border-radius:8px;background:#fff}
.f1098t-ios{display:none;padding:30px;text-align:center}
@media(max-width:1199.98px){.f1098t-wrap{width:100%;max-width:1220px;min-width:0;padding-left:12px;padding-right:12px;box-sizing:border-box;margin-left:auto;margin-right:auto}}
@media(max-width:1199.98px) and (min-width:992px){.f1098t-grid{}.f1098t-pdf{height:clamp(500px,calc(100vh - 230px),820px);min-height:500px;max-height:820px}}
@media(max-width:991.98px){.f1098t-grid{}.f1098t-preview{position:static;top:auto;align-self:auto;height:auto;margin-top:8px}.f1098t-pdf{height:clamp(540px,72dvh,760px);min-height:0;max-height:760px}}
@media(max-width:767.98px){.f1098t .f1098t-head.tax1099-w2-hero{min-height:244px!important}.f1098t .f1098t-head #epay-create-h1-force-a{font-size:clamp(28px,4vw,32px)!important;line-height:1.25!important}.f1098t-wrap{padding-top:28px;padding-bottom:44px;width:100%;max-width:1220px;min-width:0;padding-left:12px;padding-right:12px;box-sizing:border-box;margin-left:auto;margin-right:auto}.f1098t-section{padding:20px;border-radius:14px}.f1098t-section h2{font-size:1.18rem}.f1098t-row,.f1098t-row.three{grid-template-columns:minmax(0,1fr)}.f1098t-preview{padding:10px;border-radius:14px}.f1098t-pdf{height:clamp(460px,70dvh,640px);max-height:640px}.f1098t-modal{align-items:stretch;padding:0}.f1098t-modal-card{width:100%;max-width:100%;height:100dvh;aspect-ratio:auto;margin:0;border:0;border-radius:0}}
@media(max-width:575.98px){.f1098t{padding-bottom:42px}.f1098t .f1098t-head.tax1099-w2-hero{min-height:325px!important}.f1098t-wrap{padding:28px 12px 0;width:100%;max-width:1220px;min-width:0;padding-left:12px;padding-right:12px;box-sizing:border-box;margin-left:auto;margin-right:auto}.f1098t-section{padding:16px}.f1098t-preview{padding:8px}.f1098t-pdf{height:clamp(420px,68dvh,560px);max-height:560px}}
@media(max-width:479.98px){.f1098t-actions{grid-template-columns:minmax(0,1fr);max-width:100%}.f1098t .f1098t-actions button.f1098t-action{white-space:normal}}
.f1098t .f1098t-actions button.f1098t-action{height:44px!important;min-height:44px!important;padding:8px 12px!important;border-radius:10px!important;font-size:.88rem!important;line-height:1.25!important}
.f1098t .f1098t-actions .f1098t-action--secondary{border:1px solid var(--navy)!important;background:#fff!important;color:var(--navy)!important}
.f1098t .f1098t-actions .f1098t-action--primary{border:0!important;background:#1a9ba8!important;color:#fff!important}
/* Container layout verified against Form 941; page-scoped, 2026-11-01. */
.f1098t-grid{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}
.f1098t-grid > *{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){.f1098t-grid{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:22px}}
@media(max-width:991.98px){.f1098t-grid{grid-template-columns:minmax(0,1fr);gap:24px}}

/* Form 941 field and typography parity: one full-width control per row. */
.f1098t,
.f1098t :is(input,select,textarea,button){font-family:"Poppins",sans-serif}
.f1098t .f1098t-section h2{
    min-height:0;
    margin:0 0 18px;
    padding:0 0 14px;
    color:#023047;
    font-size:21.6px;
    font-weight:800;
    line-height:29.16px;
}
.f1098t .f1098t-row,
.f1098t .f1098t-row.three{
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    margin-bottom:18px;
}
.f1098t .f1098t-field{
    gap:8px;
    margin-bottom:18px;
}
.f1098t .f1098t-row > .f1098t-field{
    width:100%;
    height:auto;
    margin:0;
    align-content:start;
}
.f1098t .f1098t-row > .f1098t-field label,
.f1098t .f1098t-field label{
    display:block;
    min-height:0;
    margin:0;
    color:#023047;
    font-size:14px;
    font-weight:400;
    line-height:20px;
}
.f1098t .f1098t-field input,
.f1098t .f1098t-field select,
.f1098t .f1098t-field textarea{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:46px;
    min-height:46px;
    padding:9px 12px;
    border:1px solid #cfdbe1;
    border-radius:9px;
    background:#f6f9fb;
    color:#023047;
    font-size:12.5px;
    font-weight:400;
    line-height:1.35;
}
.f1098t .f1098t-check{
    align-items:center;
    min-height:46px;
    margin:0 0 18px;
    padding:10px 12px;
    color:#023047;
    font-family:"Poppins",sans-serif;
    font-size:14px;
    font-weight:400;
    line-height:20px;
}
.f1098t .f1098t-row > .f1098t-check{margin:0}

/* Form 941 responsive PDF rendering for normal and full preview. */
.f1098t-pdf .epay-941-pdf-pages,
.f1098t-modal-body .epay-941-pdf-pages{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    height:100%;
    padding:8px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#eef3f5;
}
.f1098t-modal-body .epay-941-pdf-pages--modal{
    padding:0 10px 10px;
    overflow:auto;
    border:0;
    border-radius:7px;
}
.f1098t .epay-941-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,.1);
}
.f1098t-modal .epay-941-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,.1);
}
.f1098t .epay-941-pdf-page:last-child,
.f1098t-modal .epay-941-pdf-page:last-child{margin-bottom:0}
.f1098t .epay-941-pdf-page canvas,
.f1098t-modal .epay-941-pdf-page canvas{display:block;width:100%;max-width:100%;height:auto;margin:0}
.f1098t-pdf > iframe[hidden],
.f1098t-modal-body > iframe[hidden]{display:none!important}
.f1098t-modal-card{
    flex:none;
    flex-direction:column;
    width:min(960px,75vw,calc((100dvh - 64px) * 17 / 11));
    max-width:100%;
    max-height:calc(100dvh - 32px);
    min-height:0;
    aspect-ratio:17/11;
    overflow:visible;
}
.f1098t-modal-body{
    flex:1 1 auto;
    width:100%;
    min-height:0;
    overflow:hidden;
    border:1px solid #cfdbe1;
    border-radius:8px;
    background:#fff;
}
.f1098t-modal-body > iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.f1098t-modal .epay-941-pdf-zoom{
    position:sticky;
    top:0;
    z-index:4;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    width:100%;
    min-height:52px;
    margin:0 0 10px;
    padding:7px 58px 7px 10px;
    border-bottom:1px solid #cfdbe1;
    background:rgba(255,255,255,.96);
    box-shadow:0 2px 8px rgba(2,48,71,.08);
}
.f1098t-modal .epay-941-pdf-zoom button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:38px;
    padding:0 11px;
    border:1px solid #b9ccd5;
    border-radius:8px;
    background:#fff;
    color:#023047;
    font:700 14px/1 "Open Sans",Arial,sans-serif;
    cursor:pointer;
}
.f1098t-modal .epay-941-pdf-zoom .epay-941-zoom-value{min-width:68px}
.f1098t-modal .epay-941-pdf-zoom .epay-941-zoom-fit{min-width:92px}
.f1098t-modal-head{z-index:25;height:52px;pointer-events:none}
.f1098t-close{
    top:9px;
    right:22px;
    width:42px;
    height:38px;
    border:1px solid #b9ccd5;
    border-radius:8px;
    background:#fff;
    color:#023047;
    font:700 22px/1 "Open Sans",Arial,sans-serif;
    box-shadow:none;
    z-index:26;
    pointer-events:auto;
}
@media(max-width:991.98px){
    .f1098t-modal{padding:16px}
    .f1098t-modal-card{width:min(720px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:900px;aspect-ratio:auto}
}
@media(max-width:767.98px){
    .f1098t-modal{align-items:stretch;padding:12px}
    .f1098t-modal-card{width:100%;height:calc(100dvh - 24px);max-height:none;margin:auto;padding:4px;border:1px solid #cfdbe1;border-radius:10px}
    .f1098t-modal .epay-941-pdf-zoom{gap:5px;padding:7px 48px 7px 7px}
    .f1098t-modal .epay-941-pdf-zoom button{min-width:36px;height:36px;padding:0 7px;font-size:13px}
    .f1098t-modal .epay-941-pdf-zoom .epay-941-zoom-value{min-width:56px}
    .f1098t-modal .epay-941-pdf-zoom .epay-941-zoom-fit{min-width:78px}
    .f1098t-close{top:14px;right:14px;width:36px;height:36px;font-size:20px}
}
