.ssp-app {
  color: var(--ss-text, #f7f8fb);
}

.ssp-product-hero {
  padding: 82px 0 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 80% 10%, rgba(201, 162, 39, 0.22), transparent 30%),
    #101a2c;
  text-align: center;
}

.ssp-product-hero h1 {
  max-width: 900px;
  margin: 14px auto;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ssp-product-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #b5bece;
  font-size: 19px;
}

.ssp-back-link {
  color: #e0bc4e;
  font-weight: 800;
}

.ssp-product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssp-product-card {
  display: block;
  min-height: 270px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #1d2838;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ssp-product-card:hover {
  border-color: #6366f1;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.ssp-product-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: #e7f3ec;
  color: #2c6e4e;
  font-size: 19px;
  font-weight: 950;
}

.ssp-product-card h2 {
  margin: 25px 0 10px;
  color: #182032;
  font-size: 27px;
}

.ssp-product-card p {
  color: #667085;
}

.ssp-product-card strong {
  color: #6366f1;
}

.ssp-account-shell {
  min-height: 72vh;
  padding: 82px 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(201, 162, 39, 0.18), transparent 28%),
    var(--ss-bg, #0d1424);
}

.ssp-auth-layout {
  display: grid;
  max-width: 1050px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--ss-card, #182438);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  grid-template-columns: 0.9fr 1.1fr;
}

.ssp-auth-intro {
  padding: 54px;
  background:
    radial-gradient(circle at 20% 90%, rgba(135, 149, 255, 0.2), transparent 34%),
    #111c2f;
}

.ssp-auth-intro h1 {
  margin: 26px 0 14px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ssp-auth-intro p {
  color: #b1bbcc;
  font-size: 18px;
}

.ssp-auth-intro ul {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.ssp-auth-intro li::before {
  margin-right: 9px;
  color: #55c788;
  content: "✓";
  font-weight: 900;
}

.ssp-auth-card {
  padding: 54px;
}

.ssp-auth-card form {
  display: grid;
  gap: 17px;
}

.ssp-auth-card .ssp-submit {
  margin-top: 4px;
}

.ssp-auth-links {
  display: flex;
  margin-top: 8px;
  justify-content: space-between;
  gap: 14px;
  color: var(--ss-muted, #9da8ba);
  font-size: 14px;
}

.ssp-auth-links a {
  color: #e0bc4e;
  font-weight: 800;
}

.ssp-account-error,
.ssp-account-success {
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: 9px;
}

.ssp-account-error {
  border: 1px solid rgba(239, 109, 122, 0.35);
  background: rgba(239, 109, 122, 0.09);
  color: #ff9aa5;
}

.ssp-account-success {
  border: 1px solid rgba(67, 189, 122, 0.35);
  background: rgba(67, 189, 122, 0.09);
  color: #72daa0;
}

.ssp-account-dashboard {
  max-width: 1120px;
  margin-inline: auto;
}

.ssp-account-welcome {
  display: flex;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: var(--ss-card, #182438);
  align-items: center;
  gap: 20px;
}

.ssp-account-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  font-size: 28px;
  font-weight: 950;
}

.ssp-account-welcome h1,
.ssp-account-welcome p {
  margin: 0;
}

.ssp-account-welcome>div>span,
.ssp-account-welcome p {
  color: var(--ss-muted, #a9b2c3);
}

.ssp-account-welcome h1 {
  font-size: 32px;
}

.ssp-account-logout {
  min-height: 44px;
  margin-left: auto;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-weight: 800;
}

.ssp-account-cards {
  display: grid;
  margin-top: 22px;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssp-account-cards a {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: var(--ss-card, #182438);
}

.ssp-account-cards a>span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 11px;
  background: rgba(201, 162, 39, 0.15);
  color: #e0bc4e;
  font-weight: 950;
}

.ssp-account-cards h2 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.ssp-account-cards p {
  margin: 0;
  color: var(--ss-muted, #a9b2c3);
  font-size: 14px;
}

.ssp-account-note {
  margin-top: 22px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: var(--ss-bg-soft, #111c2f);
}

.ssp-account-note h2 {
  margin: 0 0 7px;
}

.ssp-account-note p {
  margin: 0;
  color: var(--ss-muted, #a9b2c3);
}

.ssp-access-gate {
  max-width: 680px;
  margin-inline: auto;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--ss-card, #182438);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.ssp-access-gate .ssp-product-icon {
  margin-inline: auto;
}

.ssp-access-gate h1 {
  margin: 22px 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
}

.ssp-access-gate p {
  color: var(--ss-muted, #a9b2c3);
}

.ssp-access-price {
  margin: 24px 0 16px;
  color: #e0bc4e;
  font-size: 32px;
  font-weight: 950;
}

.ssp-purchase-button {
  display: inline-flex;
  width: auto;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.ssp-access-small {
  max-width: 520px;
  margin: 17px auto 0;
  font-size: 12px;
}

.ssp-alert {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 183, 77, 0.35);
  border-radius: 12px;
  background: rgba(255, 154, 74, 0.09);
  color: #d9dfeb;
}

.ssp-alert strong {
  color: #ffb16f;
}

.ssp-layout {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: var(--ss-card, #182438);
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.22);
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
}

/* .ssp-tool-layout {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--ss-card, #182438);
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
} */

.ssp-tool-layout {
  display: grid;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--ss-card, #182438);
  grid-template-columns: 1fr;
}

.ssp-tool-layout .ssp-document-form {
  min-width: 0;
}

.ssp-form-header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.ssp-form-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #f8fafc;
}

.ssp-form-intro {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  max-width: 680px;
}

.ssp-document-preview {
  min-height: 720px;
  padding: 28px;
  background: radial-gradient(circle at top left, rgba(201, 162, 39, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #101824;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 20px 60px rgba(0, 0, 0, 0.32);
  color: #f6f0dd;
  overflow: auto;
}

.ssp-tool-layout .ssp-document-preview {
  display: grid;
  place-items: center;
}

.ssp-preview-column {
  display: grid;
  gap: 18px;
}

.ssp-submit-preview {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.ssp-tool-layout .ssp-document-preview .w2-official-form,
.ssp-tool-layout .ssp-document-preview .f1099-official-form {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
  width: min(100%, 760px);
}

.ssp-document-form {
  padding: 34px;
}

.ssp-document-form h2 {
  margin: 28px 0 16px;
  font-size: 23px;
}

.ssp-expanded-form {
  display: grid;
  gap: 20px;
}

.ssp-form-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(10, 18, 32, 0.18);
}

.ssp-form-panel>h2 {
  display: flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}

.ssp-form-panel>h2>span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 13px;
}

.ssp-inline-fields {
  display: grid;
  gap: 8px;
  grid-template-columns: 0.8fr 1.2fr;
}

.ssp-check-row {
  display: flex;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: var(--ss-input, #0f192a);
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ssp-check-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.ssp-address-columns {
  display: grid;
  margin-bottom: 22px;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.ssp-address-columns>div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.ssp-address-columns h3 {
  margin: 0 0 3px;
  color: #aeb8cc;
  font-size: 15px;
}

.ssp-invoice-logo {
  display: grid;
  min-height: 100px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px dashed #6366f1;
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
  text-align: center;
}

.ssp-invoice-logo span {
  font-weight: 800;
}

.ssp-invoice-logo strong {
  color: #e0bc4e;
  font-size: 12px;
}

.ssp-invoice-logo input {
  position: absolute;
  opacity: 0;
}

.ssp-invoice-items {
  display: grid;
  gap: 14px;
}

.ssp-invoice-item {
  position: relative;
  display: grid;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: var(--ss-bg-soft, #111c2f);
  gap: 12px;
  grid-template-columns: minmax(180px, 2fr) minmax(110px, 0.8fr) minmax(90px, 0.7fr) auto;
}

.ssp-invoice-item .ssp-field--wide {
  grid-column: 1 / -1;
}

.ssp-invoice-item .ssp-check {
  align-self: end;
  min-height: 48px;
}

.ssp-item-remove {
  justify-self: start;
  padding: 7px 10px;
  border: 1px solid rgba(239, 109, 122, 0.35);
  border-radius: 7px;
  background: rgba(239, 109, 122, 0.08);
  color: #ff9aa5;
  cursor: pointer;
  grid-column: 1 / -1;
}

.ssp-add-item {
  width: fit-content;
  margin-top: 14px;
  padding: 10px 15px;
  border: 1px solid #6366f1;
  border-radius: 8px;
  background: transparent;
  color: #e0bc4e;
  cursor: pointer;
  font-weight: 800;
}

.ssp-invoice-totals {
  display: grid;
  margin-bottom: 20px;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssp-invoice-totals span {
  display: grid;
  padding: 14px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.08);
  gap: 4px;
  font-size: 12px;
}

.ssp-invoice-totals strong {
  color: #e0bc4e;
  font-size: 17px;
}

.ssp-doc-logo {
  display: block;
  width: 70px;
  max-height: 70px;
  margin: 0 0 14px auto;
  object-fit: contain;
}

.ssp-tool-notice {
  padding: 16px;
  border: 1px solid rgba(255, 177, 111, 0.35);
  border-radius: 10px;
  background: rgba(255, 154, 74, 0.08);
  color: #d2d9e5;
}

.ssp-tool-notice strong {
  color: #ffb16f;
}

.ssp-document-preview {
  min-height: 720px;
  padding: 28px;
  background: radial-gradient(circle at top left, rgba(201, 162, 39, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #101824;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 20px 60px rgba(0, 0, 0, 0.32);
  color: #f6f0dd;
}

.ssp-tool-layout .ssp-document-preview .w2-official-form,
.ssp-tool-layout .ssp-document-preview .f1099-official-form {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.ssp-document-stage {
  position: sticky;
  top: 110px;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.ssp-document-toolbar {
  display: flex;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid #d9deea;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #657085;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
}

.ssp-document-toolbar>div {
  display: flex;
  color: #29334a;
  align-items: center;
  gap: 8px;
}

.ssp-document-toolbar>div>span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35b46f;
  box-shadow: 0 0 0 4px rgba(53, 180, 111, 0.13);
}

.ssp-document-status {
  display: flex;
  margin-top: 12px;
  color: #667186;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 800;
}

.ssp-doc-sheet {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 580px;
  padding: 30px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(24, 32, 50, 0.18);
}

.ssp-doc-watermark {
  position: absolute;
  top: 44%;
  left: 3%;
  color: rgba(239, 109, 122, 0.08);
  font-size: 42px;
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(-28deg);
  white-space: nowrap;
}

.ssp-doc-watermark:empty {
  display: none;
}

.ssp-doc-sheet header {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 2px solid #182032;
}

.ssp-doc-sheet header small,
.ssp-doc-columns small {
  color: #69758a;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ssp-doc-sheet header h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.ssp-doc-columns {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 22px 0;
  grid-template-columns: 1fr 1fr;
}

.ssp-doc-columns strong {
  display: block;
}

.ssp-doc-columns p {
  margin: 5px 0 0;
  color: #69758a;
  font-size: 13px;
}

.ssp-doc-meta,
.ssp-doc-row,
.ssp-doc-total {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.ssp-doc-meta {
  padding: 12px;
  background: #f1f3f7;
  color: #667186;
  font-size: 12px;
}

.ssp-doc-row {
  padding: 10px 0;
  border-bottom: 1px solid #dfe3eb;
}

.ssp-doc-total {
  margin-top: 22px;
  padding: 17px;
  border-radius: 8px;
  background: #f2e9cf;
  color: #4658c7;
  font-size: 20px;
  font-weight: 900;
}

.ssp-doc-notes {
  padding: 14px 0;
  color: #69758a;
}

.ssp-doc-disclosure {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #d9dfeb;
  border-radius: 10px;
  background: #f7f9fc;
  color: #566176;
  font-size: 12px;
  line-height: 1.55;
}

.ssp-result-details {
  margin-top: 14px;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  background: #f8faff;
  overflow: hidden;
}

.ssp-result-details summary {
  position: relative;
  padding: 15px 46px 15px 18px;
  color: #172033;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ssp-result-details summary::-webkit-details-marker {
  display: none;
}

.ssp-result-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f6ecd2;
  color: #8f6d24;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

.ssp-result-details[open] summary::after {
  content: "−";
}

.ssp-result-details>div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  padding: 0 18px 16px;
  border-top: 1px solid #e4e8f1;
}

.ssp-result-details>div>span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e8ecf4;
  color: #5e687b;
  font-size: 12px;
}

.ssp-result-details>div>span strong {
  color: #202a3d;
  text-align: right;
}

.ssp-result-details>.ssp-calculation-methods {
  display: block;
}

.ssp-calculation-methods p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 5px 16px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e8ecf4;
  color: #5e687b;
  font-size: 12px;
  line-height: 1.5;
}

.ssp-calculation-methods p strong {
  grid-row: 1 / span 2;
  color: #202a3d;
}

.ssp-calculation-methods p small {
  color: #7a8496;
}

.ssp-compliance-result {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 4px solid #e2a534;
  border-radius: 8px;
  background: #fff8e8;
  color: #5f522e;
}

.ssp-compliance-result strong {
  display: block;
  margin-bottom: 7px;
  color: #3e351e;
  font-size: 13px;
}

.ssp-compliance-result p {
  margin: 4px 0;
  font-size: 11px;
  line-height: 1.5;
}

.ssp-statutory-controls {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(134, 148, 178, 0.28);
}

.ssp-statutory-controls>h4 {
  margin: 0 0 6px;
}

.ssp-statutory-controls>p {
  margin: 0 0 16px;
  color: #9aa6ba;
  font-size: 13px;
}

.ssp-statutory-control {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) repeat(3, minmax(140px, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(134, 148, 178, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.ssp-statutory-control>div strong,
.ssp-statutory-control>div small {
  display: block;
}

.ssp-statutory-control>div small {
  margin-top: 5px;
  color: #9aa6ba;
  font-size: 11px;
}

:root[data-theme="light"] .ssp-statutory-control {
  border-color: #dce2ee;
  background: #f8faff;
}

:root[data-theme="light"] .ssp-statutory-controls>p,
:root[data-theme="light"] .ssp-statutory-control>div small {
  color: #68758a;
}

.ssp-doc-sheet footer {
  position: relative;
  margin-top: 24px;
  color: #69758a;
  font-size: 11px;
  text-align: center;
}

.ssp-doc-sheet footer button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 7px;
  background: #182032;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.ssp-calculator-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssp-calculator-intro {
  display: flex;
  margin-bottom: 26px;
  padding: 30px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.18), transparent 36%),
    var(--ss-card, #182438);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ssp-calculator-intro>div>span,
.ssp-payroll-link>div>span {
  color: #e0bc4e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ssp-calculator-intro h2 {
  margin: 7px 0 5px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.ssp-calculator-intro p {
  max-width: 690px;
  margin: 0;
  color: var(--ss-muted, #a9b2c3);
}

.ssp-calculator-intro>strong {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid rgba(67, 189, 122, 0.32);
  border-radius: 999px;
  background: rgba(67, 189, 122, 0.1);
  color: #72daa0;
  font-size: 13px;
}

.ssp-calc-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--ss-card, #182438);
  box-shadow: 0 18px 45px rgba(2, 8, 23, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ssp-calc-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b9aff);
  content: "";
}

.ssp-calc-card:hover {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 24px 55px rgba(2, 8, 23, 0.18);
  transform: translateY(-3px);
}

.ssp-calc-card header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ssp-calc-card header>span {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: rgba(201, 162, 39, 0.14);
  color: #9da9ff;
  font-size: 17px;
  font-weight: 950;
}

.ssp-calc-card header small {
  color: var(--ss-muted, #a9b2c3);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-calc-card h2 {
  margin: 2px 0 0;
  font-size: 24px;
}

.ssp-calc-card>p {
  min-height: 48px;
  margin: 18px 0;
  color: var(--ss-muted, #a9b2c3);
}

.ssp-calc-card .ssp-field {
  margin-bottom: 14px;
}

.ssp-calc-result {
  margin-top: 20px;
  padding: 19px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(201, 162, 39, 0.05));
}

.ssp-calc-result small,
.ssp-calc-result strong {
  display: block;
}

.ssp-calc-result small {
  margin-bottom: 5px;
  color: var(--ss-muted, #a9b2c3);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-calc-result strong {
  color: #e0bc4e;
  font-size: 21px;
  font-weight: 950;
}

.ssp-payroll-link {
  display: flex;
  margin-top: 24px;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #5268e9, #7c8bff);
  color: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ssp-payroll-link h2,
.ssp-payroll-link p {
  margin-top: 0;
}

.ssp-payroll-link h2 {
  margin-bottom: 7px;
}

.ssp-payroll-link p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.ssp-payroll-link a {
  flex: 0 0 auto;
  padding: 13px 18px;
  border-radius: 10px;
  background: #fff;
  color: #3e52c6;
  font-weight: 900;
}

.ssp-form {
  padding: 38px;
}

.ssp-paystub-panel {
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 18px;
  background: rgba(245, 247, 255, 0.06);
}

.ssp-paystub-panel>h2 {
  margin: 0 0 22px;
  font-size: 22px;
  text-align: center;
}

.ssp-paystub-panel .ssp-grid+.ssp-grid {
  margin-top: 16px;
}

.ssp-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssp-logo-upload--large {
  min-height: 110px;
  margin-top: 18px;
  justify-content: center;
}

.ssp-advanced-toggle {
  display: block;
  margin: 22px auto;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #7f91ff;
  cursor: pointer;
  font-weight: 800;
}

.ssp-advanced-fields {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ssp-switch-field {
  display: grid;
  margin-top: 18px;
  gap: 9px;
  color: var(--ss-text, #dce2ed);
  font-size: 14px;
  font-weight: 700;
}

.ssp-switch {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.ssp-switch input {
  position: absolute;
  opacity: 0;
}

.ssp-switch i {
  position: relative;
  display: block;
  width: 52px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--ss-input, #0f192a);
}

.ssp-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e0bc4e;
  content: "";
  transition: transform 0.18s ease;
}

.ssp-switch input:checked+i::after {
  transform: translateX(22px);
}

.ssp-switch b {
  color: #e0bc4e;
  font-size: 13px;
}

:root[data-theme="light"] .ssp-paystub-panel,
:root[data-theme="light"] .ssp-form-section,
:root[data-theme="light"] .ssp-template-picker,
:root[data-theme="light"] .ssp-template-selected,
:root[data-theme="light"] .ssp-color-customizer,
:root[data-theme="light"] .ssp-logo-upload,
:root[data-theme="light"] .ssp-template-option,
:root[data-theme="light"] .ssp-type-switch label {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

:root[data-theme="light"] .ssp-advanced-fields {
  border-color: #e2e8f0;
}

:root[data-theme="light"] .ssp-switch i {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

:root[data-theme="light"] .ssp-field input,
:root[data-theme="light"] .ssp-field select,
:root[data-theme="light"] .ssp-field textarea {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-field select option {
  background-color: #ffffff;
  color: #0f172a;
}

.ssp-template-picker {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ssp-template-selected {
  display: flex;
  padding: 16px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 16px;
  background: var(--ss-bg-soft, #111c2f);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ssp-selected-template-preview {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
}

.ssp-selected-template-preview .ssp-template-thumb {
  width: 105px;
  height: 72px;
  flex: 0 0 auto;
}

.ssp-selected-template-preview>div {
  display: grid;
}

.ssp-selected-template-preview small {
  color: #8f9aaf;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-selected-template-preview strong {
  margin: 2px 0;
  font-size: 18px;
}

.ssp-selected-template-preview>div>span {
  color: var(--ss-muted, #a9b2c3);
  font-size: 12px;
}

.ssp-template-open {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
  color: #e0bc4e;
  cursor: pointer;
  font-weight: 850;
  white-space: nowrap;
}

.ssp-template-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssp-template-option {
  position: relative;
  display: grid;
  padding: 11px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--ss-bg-soft, #111c2f);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ssp-template-option:has(input:checked) {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.ssp-template-option:hover {
  transform: translateY(-2px);
}

.ssp-template-check {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.ssp-template-option:has(input:checked) .ssp-template-check {
  display: grid;
}

.ssp-template-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ssp-template-option strong {
  margin-top: 9px;
  font-size: 14px;
}

.ssp-template-option small {
  color: var(--ss-muted, #a9b2c3);
  font-size: 11px;
}

.ssp-template-thumb {
  display: grid;
  height: 78px;
  padding: 9px;
  border: 1px solid #d6dbe5;
  border-radius: 6px;
  background: #fff;
  gap: 7px;
}

.ssp-template-thumb b {
  color: #29334a;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.ssp-template-thumb i {
  display: block;
  height: 7px;
  background: #d8deea;
}

.ssp-template-thumb em {
  display: block;
  width: 42%;
  height: 9px;
  margin-left: auto;
  background: #f2e9cf;
}

.ssp-template-thumb--classic i:first-child {
  background: #1d2b45;
}

.ssp-template-thumb--template2 {
  border-color: #e6d6a8;
}

.ssp-template-thumb--template2 b {
  color: #8f6d24;
}

.ssp-template-thumb--template2 i:first-child {
  background: #f6ecd2;
}

.ssp-template-thumb--template2 em {
  background: #6366f1;
}

.ssp-template-thumb--template3 {
  border-top: 13px solid #14171f;
}

.ssp-template-thumb--template3 i:first-child {
  background: #14171f;
}

.ssp-template-thumb--template4 {
  border-left: 8px solid #1f3a5f;
}

.ssp-template-thumb--template4 i:first-child {
  background: #1f3a5f;
}

.ssp-template-thumb--template5 {
  border-color: #b8cfb6;
}

.ssp-template-thumb--template5 b {
  color: #2c6e4e;
}

.ssp-template-thumb--template5 i {
  height: 4px;
  background: #9ecaa8;
}

.ssp-template-thumb--template5 em {
  background: #dcecdf;
}

.ssp-template-thumb--template6 {
  border-color: #c5c8ce;
}

.ssp-template-thumb--template6 b {
  color: #4b4f58;
}

.ssp-template-thumb--template6 i:first-child {
  background: #c5c8ce;
}

.ssp-template-thumb--template6 em {
  width: 100%;
  background: #dedfe1;
}

.ssp-color-customizer {
  display: flex;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: var(--ss-bg-soft, #111c2f);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ssp-color-customizer>span {
  font-size: 13px;
  font-weight: 800;
}

.ssp-color-customizer>div {
  display: flex;
  gap: 9px;
}

.ssp-color-customizer label {
  position: relative;
  cursor: pointer;
}

.ssp-color-customizer input {
  position: absolute;
  opacity: 0;
}

.ssp-color-customizer i {
  display: block;
  width: 27px;
  height: 27px;
  border: 3px solid transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ssp-color-customizer input:checked+i {
  border-color: #fff;
  box-shadow: 0 0 0 2px #6366f1;
}

.ssp-color-customizer .is-indigo {
  background: #9c7a26;
}

.ssp-color-customizer .is-blue {
  background: #1677c8;
}

.ssp-color-customizer .is-emerald {
  background: #1f765b;
}

.ssp-color-customizer .is-charcoal {
  background: #293344;
}

.ssp-color-customizer .is-burgundy {
  background: #8c3150;
}

.ssp-logo-upload {
  position: relative;
  display: flex;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px dashed rgba(201, 162, 39, 0.42);
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.06);
  cursor: pointer;
  align-items: center;
  gap: 13px;
}

.ssp-logo-upload__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.16);
  color: #e0bc4e;
  font-size: 22px;
  font-weight: 800;
}

.ssp-logo-upload>span:nth-child(2) {
  display: grid;
}

.ssp-logo-upload small {
  color: var(--ss-muted, #a9b2c3);
  font-weight: 500;
}

.ssp-logo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ssp-logo-upload button {
  min-height: 34px;
  margin-left: auto;
  padding: 0 11px;
  border: 1px solid rgba(239, 109, 122, 0.35);
  border-radius: 8px;
  background: rgba(239, 109, 122, 0.08);
  color: #ff9aa5;
  cursor: pointer;
}

.ssp-template-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
  padding: 28px;
  place-items: center;
}

.ssp-template-modal.is-open {
  display: grid;
}

.ssp-template-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.78);
  backdrop-filter: blur(8px);
}

.ssp-template-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  overflow: hidden;
  width: min(1120px, 100%);
  height: min(900px, calc(100vh - 56px));
  max-height: calc(100vh - 56px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: var(--ss-card, #182438);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.ssp-template-modal__head {
  display: flex;
  padding: 25px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.2), transparent 38%),
    var(--ss-bg-soft, #111c2f);
  justify-content: space-between;
  gap: 20px;
}

.ssp-template-modal__head>div>span {
  color: #e0bc4e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ssp-template-modal__head h2 {
  margin: 4px 0;
  font-size: clamp(26px, 4vw, 38px);
}

.ssp-template-modal__head p {
  margin: 0;
  color: var(--ss-muted, #a9b2c3);
}

.ssp-template-modal__head>button {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.ssp-template-modal__grid {
  display: grid;
  overflow-y: auto;
  min-height: 0;
  padding: 25px 28px;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overscroll-behavior: contain;
}

.ssp-template-card {
  position: relative;
  display: grid;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: var(--ss-bg-soft, #111c2f);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.ssp-template-card:hover {
  transform: translateY(-3px);
}

.ssp-template-card:has(input:checked) {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.ssp-template-card input {
  position: absolute;
  opacity: 0;
}

.ssp-template-card>strong {
  margin: 12px 2px 2px;
  font-size: 17px;
}

.ssp-template-card>small {
  margin-inline: 2px;
  color: var(--ss-muted, #a9b2c3);
}

.ssp-template-card__check {
  position: absolute;
  top: 18px;
  right: 18px;
  display: none;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-weight: 900;
}

.ssp-template-card:has(input:checked) .ssp-template-card__check {
  display: grid;
}

.ssp-template-document {
  display: flex;
  min-height: 245px;
  padding: 15px;
  border: 1px solid #d9dde4;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 32, 50, 0.12);
  color: #313844;
  flex-direction: column;
  gap: 7px;
}

.ssp-template-document__head,
.ssp-template-document__people,
.ssp-template-document__meta,
.ssp-template-document__summary,
.ssp-template-document__split {
  display: grid;
  gap: 8px;
}

.ssp-template-document__head {
  align-items: start;
  grid-template-columns: 1fr auto;
}

.ssp-template-document__head b {
  font-family: Georgia, serif;
  font-size: 12px;
}

.ssp-template-document__head em {
  color: #798190;
  font-size: 6px;
  font-style: normal;
  text-align: right;
}

.ssp-template-document__people {
  min-height: 34px;
  grid-template-columns: 1fr 1fr;
}

.ssp-template-document__people i {
  background:
    linear-gradient(#697383 2px, transparent 2px),
    repeating-linear-gradient(to bottom, transparent 0 7px, #d9dde4 7px 8px);
}

.ssp-template-document__meta {
  min-height: 22px;
  padding: 5px;
  background: #f0f2f5;
  grid-template-columns: repeat(3, 1fr);
}

.ssp-template-document__meta i {
  background: repeating-linear-gradient(to bottom, #a3a9b2 0 2px, transparent 2px 6px);
}

.ssp-template-document__section {
  display: flex;
  min-height: 16px;
  padding: 3px 5px;
  border-bottom: 2px solid #9c7a26;
  color: #9c7a26;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  font-weight: 850;
}

.ssp-template-document__section small {
  font-size: 5px;
  font-weight: 600;
}

.ssp-template-document__table {
  display: grid;
  gap: 3px;
}

.ssp-template-document__table i,
.ssp-template-document__summary i,
.ssp-template-document__split i {
  display: block;
  height: 7px;
  border-bottom: 1px solid #d8dde4;
  background:
    linear-gradient(90deg, #8a929e 0 18%, transparent 18% 48%, #8a929e 48% 58%, transparent 58% 80%, #6c7582 80% 100%);
  opacity: 0.72;
}

.ssp-template-document__summary {
  padding-block: 2px;
}

.ssp-template-document__total {
  display: block;
  width: 48%;
  height: 22px;
  margin-top: auto;
  margin-left: auto;
  background:
    linear-gradient(90deg, #dcecdf 0 52%, #bfdcc6 52% 100%);
}

.ssp-template-document__split {
  grid-template-columns: 1fr 1fr;
}

.ssp-template-document__split>span {
  display: grid;
  gap: 3px;
}

.ssp-template-document__split b {
  padding: 3px;
  background: #d3d5d9;
  font-size: 6px;
}

.ssp-template-document__check {
  display: grid;
  min-height: 31px;
  padding: 7px 9px;
  background: #dedfe1;
  font-size: 9px;
  font-weight: 850;
  text-align: right;
}

.ssp-template-document__check small {
  font-size: 5px;
  font-weight: 600;
}

.ssp-template-document--classic .ssp-template-document__head {
  padding: 7px;
  background: #1d2b45;
  color: #fff;
}

.ssp-template-document--modern {
  border-top: 15px solid #9c7a26;
}

.ssp-template-document--modern .ssp-template-document__head {
  padding: 8px;
  background: #f6ecd2;
  color: #8f6d24;
}

.ssp-template-document--compact {
  gap: 4px;
}

.ssp-template-document--compact .ssp-template-document__table i {
  height: 5px;
}

.ssp-template-document--executive {
  border-left: 8px solid #1f6b48;
}

.ssp-template-document--executive .ssp-template-document__section {
  border-bottom-color: #b7954c;
  color: #8a6d2e;
}

.ssp-template-document--summary .ssp-template-document__head b,
.ssp-template-document--summary .ssp-template-document__section {
  color: #3c9d70;
}

.ssp-template-document--summary .ssp-template-document__section {
  border-bottom-color: #8aba90;
}

.ssp-template-document--summary .ssp-template-document__total {
  width: 100%;
  height: 14px;
  background: #edf6ed;
}

.ssp-template-document--voucher .ssp-template-document__section {
  border: 0;
  background: #c9cace;
  color: #3c424b;
}

.ssp-template-document--voucher .ssp-template-document__meta {
  background: #dedfe1;
  grid-template-columns: repeat(4, 1fr);
}

.ssp-template-document--voucher .ssp-template-document__total {
  width: 40%;
  height: 34px;
  background: #c4c5c8;
}

.ssp-template-modal__foot {
  position: relative;
  z-index: 3;
  display: flex;
  padding: 17px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ss-bg-soft, #111c2f);
  box-shadow: 0 -12px 28px rgba(3, 8, 17, 0.22);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ssp-template-modal__foot span {
  color: var(--ss-muted, #a9b2c3);
  font-size: 13px;
  font-weight: 750;
}

.ssp-template-modal__foot button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #6366f1;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

body.ssp-modal-open {
  overflow: hidden;
}

.ssp-form-section {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ssp-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ssp-section-heading>span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  font-weight: 900;
}

.ssp-section-heading h3,
.ssp-section-heading p {
  margin: 0;
}

.ssp-section-heading h3 {
  font-size: 22px;
}

.ssp-section-heading p {
  color: var(--ss-muted, #a9b2c3);
  font-size: 14px;
}

.ssp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssp-field--wide {
  grid-column: 1 / -1;
}

.ssp-field {
  display: grid;
  gap: 6px;
  color: var(--ss-text, #dce2ed);
  font-size: 14px;
  font-weight: 700;
}

.ssp-field input,
.ssp-field select,
.ssp-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  outline: none;
  background: var(--ss-input, #0f192a);
  color: var(--ss-text, #fff);
}

.ssp-field textarea {
  min-height: 78px;
  padding-block: 11px;
  resize: vertical;
}

.ssp-field input:focus,
.ssp-field select:focus,
.ssp-field textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.ssp-field small {
  color: #8e99ab;
  font-weight: 500;
}

.ssp-check,
.ssp-attestation {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccd3df;
}

.ssp-type-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.ssp-type-switch label {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: #111c2f;
}

.ssp-attestation {
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.08);
  font-size: 14px;
}

.ssp-attestation input {
  margin-top: 4px;
}

.ssp-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 9px;
  background: #6366f1;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.ssp-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ssp-form-message {
  min-height: 24px;
  color: #ff8893;
}

.ssp-results {
  display: flex;
  min-height: 720px;
  padding: 30px;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    #e8ebf1;
  background-size: 24px 24px;
  color: #182032;
}

.ssp-preview-stage {
  position: sticky;
  top: 110px;
  width: 100%;
  /* max-width: 590px; */
}

.ssp-preview-toolbar {
  display: flex;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid #d9deea;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #5d687c;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
}

.ssp-preview-toolbar>div {
  display: flex;
  color: #29334a;
  align-items: center;
  gap: 8px;
}

.ssp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35b46f;
  box-shadow: 0 0 0 4px rgba(53, 180, 111, 0.13);
}

.ssp-placeholder {
  max-width: 390px;
  margin: auto;
  text-align: center;
}

.ssp-placeholder>span {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-weight: 900;
}

.ssp-placeholder h3 {
  font-size: 27px;
  line-height: 1.2;
}

.ssp-placeholder p {
  color: #647085;
}

.ssp-live-preview {
  --ssp-accent: #9c7a26;
  --ssp-accent-soft: #f2e9cf;
  width: 100%;
  max-width: 560px;
  margin: auto;
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(24, 32, 50, 0.18);
  color: #182032;
}

.ssp-live-preview__header {
  display: flex;
  margin: -30px -30px 24px;
  padding: 20px 30px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, var(--ssp-accent), color-mix(in srgb, var(--ssp-accent) 72%, white));
  color: #ffffff;
  justify-content: space-between;
  gap: 16px;
}

.ssp-live-preview__header>div {
  display: grid;
}

.ssp-live-preview__header .ssp-preview-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ssp-preview-brand>span:last-child {
  display: grid;
}

.ssp-preview-logo,
.ssp-statement-logo {
  display: grid;
  overflow: hidden;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ssp-accent);
  font-size: 18px;
  font-weight: 950;
}

.ssp-preview-logo img,
.ssp-statement-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ssp-live-preview__header span,
.ssp-live-preview__header strong,
.ssp-live-preview__header small {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-live-preview__header small {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  align-self: center;
}

.ssp-live-preview h3 {
  margin: 0;
  font-size: 19px;
}

.ssp-live-preview__parties {
  display: grid;
  padding-bottom: 18px;
  border-bottom: 2px solid #29334a;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.ssp-live-preview__parties small,
.ssp-live-preview__meta small {
  color: #7a8598;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-live-preview__parties p {
  margin: 4px 0 0;
  color: #667186;
  font-size: 11px;
}

.ssp-live-preview__meta {
  display: grid;
  margin: 14px 0 22px;
  padding: 12px;
  border-radius: 8px;
  background: #f2f4f8;
  gap: 10px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.ssp-live-preview__meta span {
  display: grid;
}

.ssp-live-preview__meta strong {
  font-size: 11px;
}

.ssp-live-preview h4 {
  margin: 0 0 6px;
  color: var(--ssp-accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-live-preview__lines {
  display: grid;
  gap: 0;
}

.ssp-live-preview__lines [data-live-deduction-lines] {
  display: contents;
}

.ssp-live-preview__lines div,
.ssp-live-preview__net {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #dfe3eb;
  justify-content: space-between;
  gap: 18px;
}

.ssp-live-preview__lines span {
  color: #667186;
}

.ssp-live-preview__net {
  margin-top: 20px;
  padding: 17px;
  border: 0;
  border-radius: 10px;
  background: var(--ssp-accent-soft);
  color: var(--ssp-accent);
  font-size: 20px;
  font-weight: 900;
}

.ssp-preview-security {
  display: flex;
  margin-top: 12px;
  color: #667186;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 800;
}

.ssp-accent--indigo {
  --ssp-accent: #9c7a26;
  --ssp-accent-soft: #f2e9cf;
}

.ssp-accent--blue {
  --ssp-accent: #1677c8;
  --ssp-accent-soft: #e5f3fc;
}

.ssp-accent--emerald {
  --ssp-accent: #1f765b;
  --ssp-accent-soft: #e7f3ee;
}

.ssp-accent--charcoal {
  --ssp-accent: #293344;
  --ssp-accent-soft: #e9ebef;
}

.ssp-accent--burgundy {
  --ssp-accent: #8c3150;
  --ssp-accent-soft: #f7e8ed;
}

.ssp-live-preview--modern {
  border-radius: 22px;
}

.ssp-live-preview--modern .ssp-live-preview__header {
  padding-block: 27px;
}

.ssp-live-preview--compact {
  padding: 22px;
  font-size: 12px;
}

.ssp-live-preview--compact .ssp-live-preview__header {
  margin: -22px -22px 18px;
  padding: 14px 22px;
}

.ssp-live-preview--compact .ssp-live-preview__lines div {
  padding: 8px 0;
}

.ssp-live-preview--executive {
  border-left: 7px solid var(--ssp-accent);
}

.ssp-live-preview--executive .ssp-live-preview__header {
  background: #203831;
}

.ssp-live-preview--executive h4 {
  color: #a77c23;
}

.ssp-live-preview--summary {
  border: 1px solid #bbc2bd;
  border-radius: 0;
  box-shadow: 0 14px 35px rgba(24, 32, 50, 0.14);
}

.ssp-live-preview--summary .ssp-live-preview__header {
  margin: -12px -12px 20px;
  padding: 12px;
  border-radius: 0;
  background: #fff;
  color: #2c6e4e;
}

.ssp-live-preview--summary .ssp-live-preview__header>small {
  border-color: #b8d2bb;
  color: #2c6e4e;
}

.ssp-live-preview--summary .ssp-preview-logo {
  border: 1px solid #dce6dd;
  background: #f4faf4;
}

.ssp-live-preview--summary .ssp-live-preview__parties {
  border-bottom-color: #7fb386;
}

.ssp-live-preview--summary h4 {
  padding-bottom: 5px;
  border-bottom: 2px solid #8cbb91;
  color: #2c6e4e;
}

.ssp-live-preview--summary .ssp-live-preview__net {
  border-radius: 0;
  border-top: 2px solid #8cbb91;
  background: transparent;
  color: #182032;
}

.ssp-live-preview--voucher {
  border: 1px solid #c7c9cd;
  border-radius: 0;
  font-size: 11px;
}

.ssp-live-preview--voucher .ssp-live-preview__header {
  margin: -18px -18px 18px;
  padding: 15px 18px;
  border-radius: 0;
  background: #fff;
  color: #555b64;
}

.ssp-live-preview--voucher .ssp-live-preview__header>small {
  border-color: #c9cbd0;
  color: #555b64;
}

.ssp-live-preview--voucher .ssp-preview-logo {
  border: 1px solid #dddfe3;
  background: #f5f5f6;
}

.ssp-live-preview--voucher .ssp-live-preview__parties {
  padding: 12px;
  border: 0;
  background: #ededee;
}

.ssp-live-preview--voucher .ssp-live-preview__meta {
  border-radius: 0;
  background: #d4d5d7;
}

.ssp-live-preview--voucher h4 {
  padding: 7px 9px;
  background: #d0d1d3;
  color: #363b43;
}

.ssp-live-preview--voucher .ssp-live-preview__lines div {
  padding: 7px 5px;
}

.ssp-live-preview--voucher .ssp-live-preview__net {
  width: 58%;
  margin-left: auto;
  border-radius: 0;
  background: #c7c8ca;
  color: #252a32;
  font-size: 16px;
}

.ssp-live-preview__note {
  margin: 18px 0 0;
  color: #667186;
  font-size: 12px;
  text-align: center;
}

.ssp-statement {
  --ssp-accent: #9c7a26;
  --ssp-accent-soft: #f2e9cf;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 930px;
  min-height: 1180px;
  padding: 28px 24px;
  border: 1px solid #cbd2df;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(24, 32, 50, 0.16);
  color: #182032;
}

.ssp-attestation,
.ssp-submit,
.ssp-form-message {
  width: min(1040px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.ssp-submit {
  display: grid;
  place-items: center;
}

.ssp-statement-brand {
  position: relative;
  display: flex;
  margin: -24px -24px 0;
  padding: 14px 24px;
  border-bottom: 2px solid #182032;
  background: #f5f7fb;
  color: #182032;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ssp-statement-brand span {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.09em;
}

.ssp-statement-brand__identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ssp-statement-brand__identity>span:last-child {
  display: grid;
}

.ssp-statement-brand__identity b {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ssp-statement-brand__identity small {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.ssp-statement-brand strong {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ssp-statement--modern {
  border-radius: 6px;
}

.ssp-statement--modern .ssp-statement-brand {
  background: #f6ecd2;
  color: #182032;
}

.ssp-statement--modern .ssp-statement-head {
  border-bottom-color: var(--ssp-accent);
}

.ssp-statement--modern h4 {
  color: var(--ssp-accent);
}

.ssp-statement--compact {
  padding: 22px;
  font-size: 13px;
}

.ssp-statement--compact .ssp-statement-brand {
  margin: -22px -22px 14px;
  padding: 13px 22px;
  background: #384052;
}

.ssp-statement--compact .ssp-statement-meta {
  margin: 10px 0 14px;
}

.ssp-statement--compact h4 {
  margin-top: 14px;
}

.ssp-statement--compact .ssp-result-line {
  padding: 5px 0;
}

.ssp-statement--compact .ssp-net {
  margin-top: 14px;
  padding: 12px;
  font-size: 17px;
}

.ssp-statement--executive {
  border-left: 7px solid var(--ssp-accent);
}

.ssp-statement--executive .ssp-statement-brand {
  background: #173d34;
}

.ssp-statement--executive .ssp-statement-brand strong,
.ssp-statement--executive h4 {
  color: #e0bd6b;
}

.ssp-statement--executive .ssp-net {
  background: var(--ssp-accent-soft);
  color: var(--ssp-accent);
}

.ssp-statement--summary {
  border: 1px solid #aeb6b0;
  border-radius: 0;
}

.ssp-statement--summary .ssp-statement-brand {
  margin: -12px -12px 22px;
  padding: 12px;
  background: #fff;
  color: #2c6e4e;
}

.ssp-statement--summary .ssp-statement-logo {
  border: 1px solid #dce6dd;
  background: #f4faf4;
}

.ssp-statement--summary .ssp-statement-head {
  border-bottom-color: #7fb386;
}

.ssp-statement--summary h4 {
  padding-bottom: 5px;
  border-bottom: 2px solid #8cbb91;
  color: #2c6e4e;
}

.ssp-statement--summary .ssp-net {
  border-radius: 0;
  border-top: 2px solid #8cbb91;
  background: transparent;
  color: #182032;
}

.ssp-statement--voucher {
  border: 1px solid #c6c8cc;
  border-radius: 0;
  font-size: 11px;
}

.ssp-statement--voucher .ssp-statement-brand {
  margin: -18px -18px 18px;
  padding: 14px 18px;
  background: #fff;
  color: #555b64;
}

.ssp-statement--voucher .ssp-statement-logo {
  border: 1px solid #dddfe3;
  background: #f5f5f6;
}

.ssp-statement--voucher .ssp-statement-head {
  padding: 12px;
  border: 0;
  background: #ededee;
}

.ssp-statement--voucher .ssp-statement-meta {
  padding: 10px;
  background: #d4d5d7;
}

.ssp-statement--voucher h4 {
  padding: 7px 9px;
  background: #d0d1d3;
  color: #363b43;
}

.ssp-statement--voucher .ssp-result-line {
  padding: 6px 5px;
}

.ssp-statement--voucher .ssp-net {
  width: 58%;
  margin-left: auto;
  border-radius: 0;
  background: #c7c8ca;
  color: #252a32;
  font-size: 16px;
}

:root[data-theme="light"] .ssp-product-hero {
  border-color: rgba(99, 102, 241, 0.1);
  background:
    radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.08), transparent 32%),
    #f1f5f9;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-product-hero h1 {
  color: #0f172a;
}

:root[data-theme="light"] .ssp-product-hero p {
  color: #475569;
}

:root[data-theme="light"] .ssp-auth-intro,
:root[data-theme="light"] .ssp-alert,
:root[data-theme="light"] .ssp-tool-notice {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-form-section,
:root[data-theme="light"] .ssp-template-picker {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-auth-intro p,
:root[data-theme="light"] .ssp-account-note p,
:root[data-theme="light"] .ssp-account-cards p,
:root[data-theme="light"] .ssp-section-heading p,
:root[data-theme="light"] .ssp-field small {
  color: #475569;
}

:root[data-theme="light"] .ssp-section-heading h3 {
  color: #0f172a;
}

:root[data-theme="light"] .ssp-field {
  color: #334155;
}

:root[data-theme="light"] .ssp-check,
:root[data-theme="light"] .ssp-attestation {
  color: #334155;
}

:root[data-theme="light"] .ssp-submit {
  color: #ffffff;
}

.ssp-watermark {
  position: absolute;
  top: 47%;
  left: 8%;
  color: rgba(239, 109, 122, 0.09);
  font-size: 46px;
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(-28deg);
  white-space: nowrap;
}

.ssp-stub-topline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  border-right: 1px solid #cbd2df;
  border-bottom: 1px solid #cbd2df;
  border-left: 1px solid #cbd2df;
  background: #ffffff;
}

.ssp-stub-topline>div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid #cbd2df;
}

.ssp-stub-topline>div:last-child {
  border-right: 0;
  background: var(--ssp-accent-soft);
}

.ssp-stub-topline small {
  display: block;
  margin-bottom: 3px;
  color: #5f6b7e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ssp-stub-topline strong {
  display: block;
  color: #182032;
  font-size: 15px;
}

.ssp-stub-tables {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.ssp-stub-tables section {
  min-width: 0;
}

.ssp-statement-head,
.ssp-statement-meta,
.ssp-result-line,
.ssp-net {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.ssp-statement-head {
  padding: 15px 0;
  border-bottom: 1px solid #cbd2df;
}

.ssp-statement-head small {
  color: #6c778b;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ssp-statement-head h3 {
  margin: 3px 0 0;
  font-size: 18px;
}

.ssp-statement-head p {
  margin: 4px 0 0;
  color: #687386;
  font-size: 11px;
}

.ssp-statement-meta {
  margin: 12px 0 18px;
  padding: 8px 10px;
  border: 1px solid #dfe3eb;
  background: #fafbfe;
  color: #687386;
  font-size: 12px;
}

.ssp-statement h4 {
  position: relative;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cbd2df;
  border-bottom: 0;
  background: #e9edf4;
  color: #293241;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-result-line {
  padding: 8px 10px;
  border: 1px solid #dfe3eb;
  border-bottom: 0;
  background: #fff;
  font-size: 12px;
}

.ssp-stub-tables section .ssp-result-line:last-child {
  border-bottom: 1px solid #dfe3eb;
  background: #fafbfe;
  font-weight: 900;
}

.ssp-net {
  margin-top: 18px;
  padding: 14px 16px;
  border: 2px solid #182032;
  border-radius: 0;
  background: #fff;
  color: #182032;
  font-size: 19px;
  font-weight: 900;
}

.ssp-statement footer {
  position: relative;
  margin-top: 24px;
  color: #687386;
  font-size: 11px;
  text-align: center;
}

.ssp-statement footer button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: #182032;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.ssp-statement>.ssp-result-details,
.ssp-statement>.ssp-compliance-result {
  display: none;
}

.ssp-stub-watermark {
  position: absolute;
  top: 27%;
  left: 7%;
  z-index: 0;
  color: rgba(80, 99, 230, 0.08);
  font-size: 108px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 0.85;
  pointer-events: none;
  transform: rotate(47deg);
  transform-origin: left center;
  white-space: nowrap;
}

.ssp-check-stub,
.ssp-check-stub__tables,
.ssp-check-advice {
  position: relative;
  z-index: 1;
}

.ssp-check-stub {
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 0.92fr;
}

.ssp-check-stub address,
.ssp-check-company address {
  margin: 0;
  color: #3a3a3a;
  font-style: italic;
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
}

.ssp-check-stub address strong,
.ssp-check-company address strong {
  display: inline-block;
}

.ssp-check-stub__codes {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 4px 8px;
  background: #d6d6d6;
  color: #333;
  font-size: 10px;
  gap: 10px;
  grid-template-columns: repeat(5, auto);
}

.ssp-check-stub__codes b,
.ssp-live-codes b {
  display: block;
  font-weight: 500;
}

.ssp-stub-id {
  display: grid;
  max-width: 330px;
  margin-top: 28px;
  color: #333;
  font-size: 12px;
  gap: 3px 18px;
  grid-template-columns: auto 1fr;
}

.ssp-stub-id strong,
.ssp-stub-dates strong {
  font-weight: 500;
}

.ssp-check-stub__right h2 {
  margin: 0 0 16px;
  color: #333;
  font-size: 25px;
  line-height: 1;
}

.ssp-stub-dates {
  display: grid;
  max-width: 300px;
  margin-bottom: 22px;
  color: #333;
  gap: 6px 18px;
  grid-template-columns: auto 1fr;
}

.ssp-check-stub__tables {
  display: grid;
  margin-top: 34px;
  gap: 20px;
  grid-template-columns: 1.08fr 1fr 1.05fr;
}

.ssp-stub-table-head,
.ssp-stub-row {
  display: grid;
  align-items: center;
  color: #333;
  column-gap: 10px;
}

.ssp-check-stub__tables section:first-child .ssp-stub-table-head,
.ssp-check-stub__tables section:first-child .ssp-stub-row {
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.9fr 1fr;
}

.ssp-check-stub__tables section:nth-child(2) .ssp-stub-table-head,
.ssp-check-stub__tables section:nth-child(2) .ssp-stub-row {
  grid-template-columns: 1.28fr 0.88fr 1fr 1fr;
}

.ssp-check-stub__tables section:nth-child(3) .ssp-stub-table-head,
.ssp-check-stub__tables section:nth-child(3) .ssp-stub-row {
  grid-template-columns: 1.3fr 0.9fr 1fr;
}

.ssp-stub-table-head {
  min-height: 30px;
  border-bottom: 2px solid #9d9d9d;
  font-size: 13px;
  font-weight: 900;
}

.ssp-stub-row {
  min-height: 24px;
  border-bottom: 1px solid transparent;
  font-size: 12px;
}

.ssp-stub-row strong {
  font-weight: 500;
  text-align: right;
}

.ssp-stub-row.is-highlight {
  border-top: 1px solid #a3a3a3;
  border-bottom: 1px solid #a3a3a3;
  background: #d8d8d8;
  font-weight: 900;
}

.ssp-stub-row.is-highlight strong,
.ssp-stub-row.is-highlight span {
  font-weight: 900;
}

.ssp-check-advice {
  display: grid;
  margin-top: 250px;
  color: #333;
  gap: 16px 24px;
  grid-template-columns: 1.25fr 1fr;
}

.ssp-check-company {
  display: grid;
  align-items: center;
  gap: 16px;
  grid-template-columns: 96px 1fr;
}

.ssp-check-logo {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid #64748b;
  background: #fff;
  overflow: hidden;
}

.ssp-check-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ssp-check-logo b {
  color: #111827;
  font-size: 30px;
}

.ssp-check-details {
  display: grid;
  align-content: center;
  gap: 10px 18px;
  grid-template-columns: auto 1fr;
}

.ssp-check-details strong {
  text-align: right;
}

.ssp-check-payee,
.ssp-check-amount {
  display: grid;
  grid-column: 1 / -1;
  align-items: end;
  gap: 10px;
  grid-template-columns: auto 1fr;
}

.ssp-check-payee strong,
.ssp-check-amount strong,
.ssp-check-amount b {
  padding-bottom: 4px;
  border-bottom: 2px solid #27364a;
}

.ssp-check-payee strong {
  font-size: 15px;
  text-transform: uppercase;
}

.ssp-check-amount {
  grid-template-columns: auto 1fr 120px;
}

.ssp-check-amount strong {
  font-size: 13px;
  text-transform: uppercase;
}

.ssp-check-amount b {
  font-weight: 500;
  text-align: right;
}

.ssp-nonnegotiable {
  grid-column: 1 / -1;
  margin-top: 30px;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-align: right;
}

.ssp-template-document--template2 .ssp-template-document__head,
.ssp-template-document--template6 .ssp-template-document__head {
  padding: 7px;
  background: #f4f4f4;
}

.ssp-template-document--template2 .ssp-template-document__check,
.ssp-template-document--template6 .ssp-template-document__check {
  background: #d8d8d8;
}

.ssp-template-document--template3 .ssp-template-document__head {
  padding: 7px;
  background: #2f2f2f;
  color: #fff;
}

.ssp-template-document--template3 .ssp-template-document__section {
  border-bottom: 0;
  background: #353535;
  color: #fff;
}

.ssp-template-document--template4 {
  border: 2px solid #7d97b3;
}

.ssp-template-document--template4 .ssp-template-document__head,
.ssp-template-document--template4 .ssp-template-document__section {
  border-bottom: 0;
  background: #dcc078;
  color: #111827;
}

.ssp-template-document--template5 .ssp-template-document__head b,
.ssp-template-document--template5 .ssp-template-document__section {
  color: #3c9d70;
}

.ssp-template-document--template5 .ssp-template-document__section {
  border-bottom-color: #8aba90;
}

.ssp-template-document--template6 .ssp-template-document__section {
  border: 0;
  background: #d4d4d4;
  color: #333;
}

.ssp-statement--template2,
.ssp-statement--template3,
.ssp-statement--template4,
.ssp-statement--template5,
.ssp-statement--template6 {
  color: #333;
}

.ssp-statement--template2 {
  padding: 28px 20px !important;
}

.ssp-statement--template2 .ssp-check-stub {
  padding-bottom: 22px;
  border-bottom: 2px solid #b8bec7;
  grid-template-columns: 1fr auto;
}

.ssp-statement--template2 .ssp-check-stub__right h2 {
  text-align: right;
  text-transform: uppercase;
}

.ssp-statement--template2 .ssp-check-stub__codes,
.ssp-statement--template2 .ssp-check-advice {
  display: none;
}

.ssp-statement--template2 .ssp-check-stub__tables {
  margin-top: 18px;
  gap: 0;
  border: 2px solid #6b7280;
  background: #ededed;
  grid-template-columns: 1.1fr 1fr;
}

.ssp-statement--template2 .ssp-check-stub__tables section {
  padding: 0 10px 10px;
  border-right: 2px solid #6b7280;
}

.ssp-statement--template2 .ssp-check-stub__tables section:last-child {
  grid-column: 1 / -1;
  border-top: 2px solid #6b7280;
  border-right: 0;
  background: #fff;
}

.ssp-statement--template2 .ssp-stub-table-head {
  margin-inline: -10px;
  padding-inline: 10px;
  border-bottom: 2px solid #6b7280;
  background: #303030;
  color: #fff;
  text-transform: uppercase;
}

.ssp-statement--template2 .ssp-stub-row.is-highlight {
  background: #fff;
}

.ssp-statement--template3 .ssp-check-advice,
.ssp-statement--template4 .ssp-check-advice,
.ssp-statement--template5 .ssp-check-advice {
  display: none;
}

.ssp-statement--template3 .ssp-check-stub,
.ssp-statement--template4 .ssp-check-stub,
.ssp-statement--template5 .ssp-check-stub {
  grid-template-columns: 1fr auto;
}

.ssp-statement--template3 .ssp-check-stub__codes,
.ssp-statement--template4 .ssp-check-stub__codes,
.ssp-statement--template5 .ssp-check-stub__codes {
  display: none;
}

.ssp-statement--template3 .ssp-check-stub__right h2,
.ssp-statement--template4 .ssp-check-stub__right h2 {
  text-align: right;
  text-transform: uppercase;
}

.ssp-statement--template3 .ssp-check-stub__tables,
.ssp-statement--template4 .ssp-check-stub__tables {
  gap: 0;
  border: 2px solid #56606d;
  grid-template-columns: 1.2fr 1fr;
}

.ssp-statement--template3 .ssp-check-stub__tables section,
.ssp-statement--template4 .ssp-check-stub__tables section {
  padding: 0 10px 10px;
}

.ssp-statement--template3 .ssp-check-stub__tables section:nth-child(3),
.ssp-statement--template4 .ssp-check-stub__tables section:nth-child(3) {
  grid-column: 1 / -1;
  border-top: 2px solid #56606d;
}

.ssp-statement--template3 .ssp-stub-table-head {
  margin-inline: -10px;
  padding-inline: 10px;
  border-bottom: 2px solid #56606d;
  background: #343434;
  color: #fff;
  text-transform: uppercase;
}

.ssp-statement--template3 .ssp-stub-row.is-highlight {
  background: #f0f0f0;
}

.ssp-statement--template4 {
  border: 2px solid #e3cd8f !important;
}

.ssp-statement--template4 .ssp-check-stub {
  padding: 10px 10px 16px;
  border: 2px solid #e3cd8f;
}

.ssp-statement--template4 .ssp-check-stub__right h2 {
  padding: 12px 18px;
  background: #dcc078;
}

.ssp-statement--template4 .ssp-stub-table-head,
.ssp-statement--template4 .ssp-stub-row.is-highlight {
  margin-inline: -10px;
  padding-inline: 10px;
  border-bottom: 0;
  background: #dcc078;
  color: #111827;
  text-transform: uppercase;
}

.ssp-statement--template4 .ssp-check-stub__tables {
  border-color: #e3cd8f;
}

.ssp-statement--template5 .ssp-check-stub {
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.ssp-statement--template5 .ssp-check-stub__right h2,
.ssp-statement--template5 h4,
.ssp-statement--template5 .ssp-stub-table-head {
  color: #3c9d70;
}

.ssp-statement--template5 .ssp-check-stub__tables {
  display: block;
  margin-top: 42px;
}

.ssp-statement--template5 .ssp-check-stub__tables section {
  margin-bottom: 24px;
}

.ssp-statement--template5 .ssp-stub-table-head {
  border-bottom: 2px solid #8aba90;
  background: transparent;
}

.ssp-statement--template5 .ssp-stub-row {
  border-bottom: 1px solid #edf0ed;
}

.ssp-statement--template5 .ssp-stub-row.is-highlight {
  background: #fbfbfb;
}

.ssp-statement--template5 .ssp-stub-watermark {
  display: none;
}

.ssp-statement--template6 {
  padding: 26px 22px !important;
}

.ssp-statement--template6 .ssp-check-stub {
  grid-template-columns: 1fr auto;
}

.ssp-statement--template6 .ssp-check-stub__codes {
  display: none;
}

.ssp-statement--template6 .ssp-check-stub__right h2 {
  display: none;
}

.ssp-statement--template6 .ssp-check-advice {
  margin-top: 42px;
  padding-bottom: 26px;
  border-bottom: 1px solid #b6b6b6;
}

.ssp-statement--template6 .ssp-check-amount {
  padding: 14px 12px;
  background: #d8d8d8;
}

.ssp-statement--template6 .ssp-check-stub__tables {
  gap: 0;
  border: 1px solid #b8b8b8;
  grid-template-columns: 1fr 1fr;
}

.ssp-statement--template6 .ssp-check-stub__tables section {
  padding: 0 8px 8px;
}

.ssp-statement--template6 .ssp-check-stub__tables section:nth-child(3) {
  grid-column: 1 / -1;
  border-top: 1px solid #b8b8b8;
}

.ssp-statement--template6 .ssp-stub-table-head,
.ssp-statement--template6 .ssp-stub-row.is-highlight {
  margin-inline: -8px;
  padding-inline: 8px;
  border-bottom: 1px solid #b8b8b8;
  background: #d4d4d4;
}

.ssp-live-preview--template3 .ssp-live-table-head,
.ssp-live-preview--template3 .ssp-live-row.is-highlight {
  background: #343434;
  color: #fff;
}

.ssp-live-preview--template4 .ssp-live-table-head,
.ssp-live-preview--template4 .ssp-live-row.is-highlight {
  background: #dcc078;
  color: #111827;
}

.ssp-live-preview--template5 .ssp-live-check-top h3,
.ssp-live-preview--template5 .ssp-live-table-head {
  color: #3c9d70;
}

.ssp-live-preview--template6 .ssp-live-table-head,
.ssp-live-preview--template6 .ssp-live-row.is-highlight {
  background: #d4d4d4;
}

.ssp-ref-template {
  position: relative;
  z-index: 1;
  color: #333;
  font-size: 12px;
}

.ssp-ref-template address {
  margin: 0;
  font-style: italic;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

.ssp-ref-template section {
  margin-top: 14px;
}

.ssp-ref-template h2,
.ssp-ref-template h3 {
  margin: 0;
  color: #333;
  line-height: 1.1;
  text-transform: none;
}

.ssp-ref-template h3 {
  padding-bottom: 6px;
  font-size: 14px;
}

.ssp-ref-head,
.ssp-ref-row {
  display: grid;
  min-height: 25px;
  align-items: center;
  column-gap: 8px;
}

.ssp-ref-head>*,
.ssp-ref-row>* {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ssp-ref-head {
  border-bottom: 2px solid #9d9d9d;
  font-size: 12px;
  font-weight: 900;
}

.ssp-ref-row {
  border-bottom: 1px solid #ececec;
}

/* .ssp-ref-row span:not(:first-child) {
  text-align: right;
} */

.ssp-ref-row.is-highlight {
  background: #d8d8d8;
  font-weight: 900;
}

.ssp-ref-parties,
.ssp-ref-template header,
.ssp-ref-two-tables,
.ssp-ref-title-row {
  display: grid;
  gap: 18px;
}

.ssp-ref-template header {
  align-items: start;
  grid-template-columns: 1fr auto;
}

.ssp-ref-template header>div:first-child {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ssp-ref-template .ssp-check-logo {
  width: 72px;
  height: 72px;
}

.ssp-ref-meta {
  display: grid;
  color: #555;
  gap: 4px 20px;
  grid-template-columns: auto auto;
}

.ssp-ref-meta b {
  color: #333;
  text-align: right;
}

.ssp-ref-two-tables {
  grid-template-columns: 1fr 1fr;
}

.ssp-ref-two-tables section {
  min-width: 0;
}

.ssp-ref-two-tables section:first-child .ssp-ref-head,
.ssp-ref-two-tables section:first-child .ssp-ref-row {
  grid-template-columns: 1.1fr 0.7fr 0.7fr 1fr 1fr;
}

.ssp-ref-two-tables section:nth-child(2) .ssp-ref-head,
.ssp-ref-two-tables section:nth-child(2) .ssp-ref-row {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.ssp-ref-bottom-totals .ssp-ref-head,
.ssp-ref-bottom-totals .ssp-ref-row {
  grid-template-columns: repeat(6, 1fr);
}

.ssp-ref-template2 header {
  margin-bottom: 74px;
}

.ssp-ref-template2 .ssp-ref-watermark {
  position: absolute;
  top: 118px;
  left: 18%;
  color: rgba(80, 80, 80, 0.08);
  font-size: 52px;
  font-weight: 500;
  transform: rotate(-18deg);
  white-space: nowrap;
}

.ssp-ref-order {
  display: grid;
  align-items: end;
  border-bottom: 2px solid #aeb4bc;
  gap: 8px;
  grid-template-columns: auto 1fr auto 120px;
}

.ssp-field[hidden] {
  display: none !important;
}

.ssp-ref-order strong {
  font-size: 15px;
  text-transform: uppercase;
}

.ssp-ref-order em {
  font-style: normal;
  text-align: right;
}

.ssp-ref-non {
  margin: 70px 0 54px;
  font-size: 20px;
  font-weight: 900;
  text-align: right;
}

.ssp-ref-employee-grid,
.ssp-ref-note,
.ssp-ref-template2 .ssp-ref-two-tables,
.ssp-ref-template2 section {
  border: 1px solid #c3c6ca;
}

.ssp-ref-employee-grid .ssp-ref-head,
.ssp-ref-employee-grid .ssp-ref-row {
  grid-template-columns: 0.9fr 0.9fr 1fr 0.9fr 1.1fr 0.9fr 0.9fr 0.8fr;
}

.ssp-ref-note {
  padding: 8px;
  background: #f3f3f3;
}

.ssp-ref-note p {
  margin: 4px 0 0;
  font-size: 10px;
}

.ssp-ref-template2>section>.ssp-ref-head,
.ssp-ref-template2>section>.ssp-ref-row {
  grid-template-columns: 0.7fr 1fr 1fr 1fr 1fr 1fr;
}

.ssp-ref-template3 header {
  margin: 116px 0 18px;
  grid-template-columns: 1fr auto;
}

.ssp-ref-template3 header h2 {
  font-size: 26px;
  text-transform: uppercase;
}

.ssp-ref-period {
  border: 2px solid #4f5964;
}

.ssp-ref-period .ssp-ref-head,
.ssp-ref-period>div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.ssp-ref-period .ssp-ref-head {
  background: #303030;
  color: #fff;
}

.ssp-ref-period>div>* {
  padding: 10px;
  border-right: 2px solid #4f5964;
}

.ssp-ref-template3 .ssp-ref-two-tables {
  min-height: 250px;
  border: 2px solid #4f5964;
  background: #ddd;
  gap: 0;
}

.ssp-ref-template3 .ssp-ref-two-tables section {
  margin: 0;
  padding: 0 10px 10px;
  border-right: 2px solid #4f5964;
}

.ssp-ref-template3 .ssp-ref-two-tables section:last-child {
  border-right: 0;
}

.ssp-ref-template3 .ssp-ref-head {
  margin-inline: -10px;
  padding-inline: 10px;
  background: #303030;
  color: #fff;
}

.ssp-ref-template3 .ssp-ref-bottom-totals {
  border: 2px solid #4f5964;
  border-top: 0;
}

.ssp-ref-template4 {
  border: 2px solid #e3cd8f;
}

.ssp-ref-template4 header {
  min-height: 82px;
  background: linear-gradient(45deg, transparent 0 70%, #dcc078 70%);
  align-items: start;
  justify-content: end;
}

.ssp-ref-template4 header h2 {
  padding: 20px;
  font-size: 24px;
  text-transform: uppercase;
}

.ssp-ref-template4 .ssp-ref-head,
.ssp-ref-template4 .ssp-ref-row.is-highlight,
.ssp-ref-template4 .ssp-ref-bottom-totals .ssp-ref-head {
  border-bottom: 0;
  background: #dcc078;
  color: #111827;
}

.ssp-ref-blue-company {
  margin-top: 0;
}

.ssp-ref-blue-company .ssp-ref-head {
  grid-template-columns: 1fr 1fr;
}

.ssp-ref-blue-company>div {
  display: grid;
  border: 1px solid #e3cd8f;
  grid-template-columns: 1fr 1fr;
}

.ssp-ref-blue-company>div>div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.ssp-ref-blue-company address {
  padding: 12px;
  border-left: 1px solid #e3cd8f;
}

.ssp-ref-template4 section>.ssp-ref-head,
.ssp-ref-template4 section>.ssp-ref-row {
  grid-template-columns: repeat(3, 1fr);
}

.ssp-ref-template4 .ssp-ref-pay-grid>.ssp-ref-head:first-child,
.ssp-ref-template4 .ssp-ref-pay-grid>.ssp-ref-row:nth-child(2) {
  grid-template-columns: 1.2fr 0.9fr 1fr;
}

.ssp-ref-template4 .ssp-ref-pay-grid>.ssp-ref-head:nth-child(3),
.ssp-ref-template4 .ssp-ref-pay-grid>.ssp-ref-row:nth-child(4) {
  grid-template-columns: repeat(4, 1fr);
}

.ssp-ref-template4 .ssp-ref-two-tables {
  gap: 0;
}

.ssp-ref-template4 .ssp-ref-two-tables section {
  margin: 0;
  padding: 0 8px 8px;
  border: 1px solid #e3cd8f;
}

.ssp-ref-template3 .ssp-ref-two-tables section:first-child .ssp-ref-head,
.ssp-ref-template3 .ssp-ref-two-tables section:first-child .ssp-ref-row,
.ssp-ref-template4 .ssp-ref-two-tables section:first-child .ssp-ref-head,
.ssp-ref-template4 .ssp-ref-two-tables section:first-child .ssp-ref-row {
  grid-template-columns: 1.15fr 0.75fr 0.75fr 1fr;
}

.ssp-ref-template3 .ssp-ref-two-tables section:nth-child(2) .ssp-ref-head,
.ssp-ref-template3 .ssp-ref-two-tables section:nth-child(2) .ssp-ref-row,
.ssp-ref-template4 .ssp-ref-two-tables section:nth-child(2) .ssp-ref-head,
.ssp-ref-template4 .ssp-ref-two-tables section:nth-child(2) .ssp-ref-row {
  grid-template-columns: 1.45fr 1fr 1fr;
}

.ssp-ref-template5 header {
  margin-bottom: 40px;
  grid-template-columns: 1fr 1.35fr 110px;
}

.ssp-ref-template5 h2,
.ssp-ref-template5 h3 {
  color: #3c9d70;
  font-family: Georgia, serif;
}

.ssp-ref-template5 header strong {
  display: block;
  margin-top: 8px;
  color: #3c9d70;
  font-size: 18px;
}

.ssp-ref-template5 .ssp-ref-parties {
  align-items: start;
  grid-template-columns: 1fr 1fr auto;
}

.ssp-ref-template5 h3 {
  border-bottom: 2px solid #8aba90;
}

.ssp-ref-template5 section>.ssp-ref-head,
.ssp-ref-template5 section>.ssp-ref-row {
  grid-template-columns: 1.6fr 1fr 1fr;
}

.ssp-ref-template5 section:nth-of-type(2)>.ssp-ref-head,
.ssp-ref-template5 section:nth-of-type(2)>.ssp-ref-row {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1fr;
}

.ssp-ref-template6 header {
  align-items: center;
}

.ssp-ref-template6 header time {
  color: #777;
}

.ssp-ref-check-line {
  display: grid;
  margin: 28px 0 20px;
  padding: 12px;
  background: #d8d8d8;
  grid-template-columns: 1fr auto;
}

.ssp-ref-check-line small {
  grid-column: 2;
}

.ssp-ref-payee {
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
}

.ssp-ref-title-row {
  margin: 46px 0 16px;
  align-items: end;
  grid-template-columns: 1fr auto;
}

.ssp-ref-title-row h2 {
  font-size: 16px;
}

.ssp-ref-template6 section>.ssp-ref-head,
.ssp-ref-template6 section>.ssp-ref-row {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 0.8fr;
}

.ssp-ref-template6 .ssp-ref-two-tables {
  gap: 0;
}

.ssp-ref-template6 .ssp-ref-two-tables section {
  margin: 0;
  padding: 0 8px 8px;
}

.ssp-ref-template6 .ssp-ref-head,
.ssp-ref-template6 .ssp-ref-row.is-highlight {
  background: #d4d4d4;
}

.ssp-ref-summary-strip .ssp-ref-row {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.ssp-ref-net-box {
  width: 220px;
  margin: 14px 0 0 auto;
  background: #d4d4d4;
}

.ssp-ref-net-box .ssp-ref-row {
  grid-template-columns: 1fr 1fr;
  padding-inline: 10px;
}

.ssp-live-preview .ssp-ref-template {
  font-size: 11px;
}

.ssp-live-preview .ssp-ref-template footer {
  display: none;
}

.ssp-live-preview .ssp-ref-template2 header,
.ssp-live-preview .ssp-ref-template3 header,
.ssp-live-preview .ssp-ref-template5 header {
  margin-top: 0;
}

.ssp-live-preview .ssp-ref-non {
  margin: 34px 0 26px;
}

@media (max-width: 1000px) {

  .ssp-layout,
  .ssp-tool-layout {
    grid-template-columns: 1fr;
  }

  .ssp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssp-auth-layout {
    grid-template-columns: 1fr;
  }

  .ssp-account-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssp-template-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssp-template-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssp-preview-stage {
    position: static;
  }

  .ssp-document-stage {
    position: static;
  }

  .ssp-invoice-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {

  .ssp-form,
  .ssp-results {
    padding: 22px;
  }

  .ssp-results {
    order: -1;
  }

  .ssp-form {
    order: 2;
  }

  .ssp-grid {
    grid-template-columns: 1fr;
  }

  .ssp-field--wide {
    grid-column: auto;
  }

  .ssp-address-columns,
  .ssp-invoice-item,
  .ssp-invoice-totals,
  .ssp-grid--three {
    grid-template-columns: 1fr;
  }

  .ssp-invoice-item .ssp-field--wide,
  .ssp-item-remove {
    grid-column: auto;
  }

  .ssp-inline-fields {
    grid-template-columns: 1fr;
  }

  .ssp-form-panel {
    padding: 17px;
  }

  .ssp-paystub-panel {
    padding: 20px 17px;
  }

  .ssp-product-grid,
  .ssp-calculator-grid,
  .ssp-doc-columns,
  .ssp-account-cards {
    grid-template-columns: 1fr;
  }

  .ssp-template-options {
    grid-template-columns: 1fr;
  }

  .ssp-template-selected {
    align-items: stretch;
    flex-direction: column;
  }

  /* .ssp-selected-template-preview {
    align-items: flex-start;
  } */

  .ssp-template-open {
    width: 100%;
  }

  .ssp-template-modal {
    padding: 10px;
  }

  .ssp-template-modal__dialog {
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .ssp-template-modal__head {
    padding: 20px;
  }

  .ssp-template-modal__grid {
    max-height: calc(100vh - 245px);
    padding: 18px 20px;
    grid-template-columns: 1fr;
  }

  .ssp-template-document {
    min-height: 215px;
  }

  .ssp-template-modal__foot {
    align-items: stretch;
    padding: 15px 20px;
    flex-direction: column;
  }

  .ssp-template-modal__foot button {
    width: 100%;
  }

  .ssp-logo-upload {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ssp-logo-upload button {
    width: 100%;
    margin-left: 0;
  }

  .ssp-calculator-intro,
  .ssp-payroll-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .ssp-color-customizer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ssp-calculator-intro>strong,
  .ssp-payroll-link a {
    flex: auto;
  }

  .ssp-section-heading {
    align-items: flex-start;
  }

  .ssp-type-switch {
    flex-direction: column;
  }

  .ssp-live-preview,
  .ssp-statement,
  .ssp-doc-sheet {
    padding: 22px;
  }

  .ssp-live-preview__header,
  .ssp-statement-brand {
    margin: -22px -22px 20px;
    padding: 16px 22px;
    flex-direction: column;
    gap: 6px;
  }

  .ssp-live-preview--summary .ssp-live-preview__header,
  .ssp-live-preview--voucher .ssp-live-preview__header,
  .ssp-statement--summary .ssp-statement-brand,
  .ssp-statement--voucher .ssp-statement-brand {
    flex-direction: row;
  }

  .ssp-live-preview__parties,
  .ssp-live-preview__meta {
    grid-template-columns: 1fr;
  }

  .ssp-preview-toolbar,
  .ssp-preview-security,
  .ssp-document-toolbar,
  .ssp-document-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .ssp-preview-security,
  .ssp-document-status {
    gap: 5px;
  }

  .ssp-auth-intro,
  .ssp-auth-card {
    padding: 30px 22px;
  }

  .ssp-account-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .ssp-account-logout {
    margin-left: 0;
  }

  .ssp-statement-meta {
    flex-direction: column;
    gap: 3px;
  }

  .ssp-stub-topline,
  .ssp-stub-tables {
    grid-template-columns: 1fr;
  }

  .ssp-stub-topline>div {
    border-right: 0;
    border-bottom: 1px solid #cbd2df;
  }

  .ssp-stub-topline>div:last-child {
    border-bottom: 0;
  }

  .ssp-result-details>div {
    grid-template-columns: 1fr;
  }

  .ssp-calculation-methods p {
    grid-template-columns: 1fr;
  }

  .ssp-calculation-methods p strong {
    grid-row: auto;
  }

  .ssp-statutory-control {
    grid-template-columns: 1fr;
  }
}

/* PaystubNow-inspired commercial generator look, customized for MyPayStubsNow. */
.ssp-product-page,
.ssp-product-page .ss-container {
  color: #1d2838;
}

.ssp-product-hero {
  padding: 76px 0 66px;
  border-bottom: 1px solid #e8edf3;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  text-align: left;
}

.ssp-product-hero__inner {
  display: grid;
  align-items: center;
  gap: 54px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
}

.ssp-product-hero__copy {
  min-width: 0;
}

.ssp-product-hero h1 {
  max-width: 820px;
  margin: 18px 0 16px;
  color: #1b2a3d;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.ssp-product-hero p {
  max-width: 680px;
  margin: 0;
  color: #59677a;
  font-size: 19px;
  line-height: 1.65;
}

.ssp-back-link {
  display: inline-flex;
  color: #6366f1;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.ssp-hero-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.ssp-hero-actions a,
.ssp-submit,
.ssp-template-open,
.ssp-template-modal__foot button {
  border: 0;
  border-radius: 6px;
  background: #6366f1;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.24);
}

.ssp-hero-actions a {
  padding: 15px 22px;
  font-weight: 950;
  text-decoration: none;
}

.ssp-hero-actions span {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.ssp-hero-stats {
  display: flex;
  margin-top: 30px;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 14px;
}

.ssp-hero-stats span {
  min-width: 122px;
  padding: 14px 16px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #ffffff;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.ssp-hero-stats strong {
  display: block;
  margin-bottom: 3px;
  color: #172033;
  font-size: 24px;
  line-height: 1;
}

.ssp-hero-stub {
  position: relative;
  padding: 22px;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(31, 45, 61, 0.14);
  transform: rotate(1deg);
}

.ssp-hero-stub__bar,
.ssp-hero-stub__meta,
.ssp-hero-stub__people,
.ssp-hero-stub__rows i,
.ssp-hero-stub__net {
  display: grid;
}

.ssp-hero-stub__bar {
  margin: -22px -22px 18px;
  padding: 16px 20px;
  border-bottom: 2px solid #1b2a3d;
  background: #f3f6f9;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.ssp-hero-stub__bar span {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #6366f1;
}

.ssp-hero-stub__bar b {
  color: #1b2a3d;
  font-size: 15px;
}

.ssp-hero-stub__meta,
.ssp-hero-stub__people {
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.ssp-hero-stub__people {
  margin-top: 13px;
  grid-template-columns: 1fr 1fr;
}

.ssp-hero-stub__meta i,
.ssp-hero-stub__people span {
  height: 42px;
  border: 1px solid #dfe7ef;
  background: #fbfcfe;
}

.ssp-hero-stub__rows {
  display: grid;
  margin-top: 16px;
  border: 1px solid #dfe7ef;
  border-bottom: 0;
}

.ssp-hero-stub__rows i {
  height: 29px;
  border-bottom: 1px solid #dfe7ef;
  background: linear-gradient(90deg, #eef2f5 0 42%, #ffffff 42% 100%);
}

.ssp-hero-stub__net {
  margin-top: 16px;
  padding: 14px 16px;
  border: 2px solid #1b2a3d;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.ssp-hero-stub__net span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ssp-hero-stub__net strong {
  color: #3c9d70;
  font-size: 22px;
}

.ssp-app {
  color: #1d2838;
}

.ssp-generator-intro {
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
}

.ssp-generator-intro>span {
  color: #6366f1;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-generator-intro h2 {
  margin: 8px 0 8px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
}

.ssp-generator-intro p {
  max-width: 700px;
  margin: 0 auto 22px;
  color: #667085;
  font-size: 17px;
}

.ssp-wizard-steps {
  display: grid;
  overflow: hidden;
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssp-wizard-steps div {
  position: relative;
  display: flex;
  min-height: 66px;
  padding: 13px 14px;
  border-right: 1px solid #e2e8f0;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.ssp-wizard-steps div:last-child {
  border-right: 0;
}

.ssp-wizard-steps b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 13px;
}

.ssp-wizard-steps span {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.ssp-alert {
  border-color: #fde3a7;
  background: #fff8e6;
  color: #765b21;
}

.ssp-alert strong {
  color: #9a6500;
}

.ssp-layout {
  display: flex;
  overflow: visible;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  flex-direction: column;
}

.ssp-form {
  display: contents;
  padding: 0;
  background: #ffffff;
}

.ssp-template-picker,
.ssp-paystub-panel,
.ssp-form-section {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 18px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.ssp-template-picker {
  order: 1;
  margin-top: 28px;
  padding-bottom: 22px;
}

.ssp-results {
  order: 2;
}

.ssp-paystub-panel,
.ssp-form-section,
.ssp-attestation,
.ssp-submit,
.ssp-form-message {
  order: 3;
}

.ssp-paystub-panel>h2 {
  margin: 0 0 18px;
  color: #182032;
  font-size: 20px;
  text-align: left;
}

.ssp-section-heading span {
  background: #6366f1;
}

.ssp-section-heading h3,
.ssp-paystub-panel h2 {
  color: #182032;
}

.ssp-section-heading p,
.ssp-field small,
.ssp-template-selected small,
.ssp-selected-template-preview span {
  color: #64748b;
}

.ssp-field span,
.ssp-switch-field,
.ssp-check,
.ssp-attestation {
  color: #344054;
}

.ssp-field input,
.ssp-field select,
.ssp-field textarea,
.ssp-logo-upload,
.ssp-check,
.ssp-attestation,
.ssp-switch i {
  border-color: #d8e0ea;
  background: #ffffff;
  color: #182032;
}

.ssp-field input:focus,
.ssp-field select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(33, 165, 91, 0.14);
  outline: 0;
}

.ssp-template-selected {
  border-color: #d8e0ea;
  border-radius: 8px;
  background: #f8fafc;
}

.ssp-advanced-toggle,
.ssp-switch b {
  color: #6366f1;
}

.ssp-switch i::after {
  background: #6366f1;
}

.ssp-results {
  border-top: 1px solid #e2e8f0;
  border-left: 0;
  background: #f5f8fb;
}

.ssp-preview-stage {
  position: relative;
  top: auto;
  padding: 26px;
}

.ssp-preview-toolbar,
.ssp-preview-security {
  color: #5e6b7e;
}

.ssp-live-preview {
  max-width: 620px;
  margin-inline: auto;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ssp-live-preview__header {
  border-bottom: 2px solid #182032;
  background: #f3f6f9;
  color: #182032;
}

.ssp-live-preview__header small {
  border-color: #d8e0ea;
  background: #ffffff;
  color: #6366f1;
}

.ssp-live-preview__parties,
.ssp-live-preview__meta {
  border-color: #d8e0ea;
}

.ssp-live-preview__parties {
  padding: 16px;
  border: 1px solid #d8e0ea;
  border-bottom: 0;
}

.ssp-live-preview__meta {
  margin-top: 0;
  border: 1px solid #d8e0ea;
  border-radius: 0;
  background: #f8fafc;
}

.ssp-live-preview h4 {
  margin-top: 16px;
  padding: 9px 10px;
  border: 1px solid #d8e0ea;
  border-bottom: 0;
  background: #e9edf4;
  color: #182032;
}

.ssp-live-preview__lines {
  border: 1px solid #d8e0ea;
  border-bottom: 0;
}

.ssp-live-preview__lines div,
.ssp-live-preview__net {
  padding-inline: 10px;
}

.ssp-live-preview__net {
  border: 2px solid #182032;
  border-radius: 0;
  background: #ecfdf3;
  color: #197a44;
}

.ssp-preview-security span::first-letter {
  color: #3c9d70;
}

.ssp-template-modal__dialog {
  background: #ffffff;
  color: #182032;
  border-radius: 10px;
}

.ssp-template-modal__head {
  border-bottom-color: #e2e8f0;
  background: #f8fafc;
}

.ssp-template-modal__head>div>span {
  color: #6366f1;
}

.ssp-template-modal__head p {
  color: #667085;
}

.ssp-template-modal__head>button {
  border-color: #d8e0ea;
  color: #344054;
}

.ssp-template-card {
  border-color: #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #182032;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.ssp-template-card:has(input:checked) {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.ssp-template-card__check {
  background: #6366f1;
}

.ssp-doc-sheet {
  max-width: 760px;
  min-height: 980px;
  border: 1px solid #cbd2df;
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  color: #333;
}

.ssp-doc-watermark {
  top: 28%;
  left: 8%;
  color: rgba(80, 99, 230, 0.07);
  font-size: 82px;
  transform: rotate(48deg);
}

.ssp-doc-sheet header {
  display: grid;
  border-bottom-color: #9d9d9d;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.ssp-doc-sheet header h2 {
  color: #333;
  font-size: 26px;
}

.ssp-doc-meta {
  border: 1px solid #d8d8d8;
  background: #eeeeee;
}

.ssp-doc-row {
  min-height: 30px;
  padding: 7px 2px;
  border-bottom-color: #9d9d9d;
}

.ssp-doc-total {
  border-radius: 0;
  border-top: 1px solid #9d9d9d;
  border-bottom: 1px solid #9d9d9d;
  background: #d8d8d8;
  color: #333;
}

.ssp-template-document {
  min-height: 280px;
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.ssp-template-document__head {
  padding: 8px 9px;
  border-bottom: 2px solid #1b2a3d;
  background: #f3f6f9;
}

.ssp-template-document__head b {
  color: #1b2a3d;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ssp-template-document__head em {
  color: #5f6b7e;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.ssp-template-document__meta {
  border: 1px solid #d8e0ea;
  background: #f8fafc;
}

.ssp-template-document__people i {
  border: 1px solid #d8e0ea;
  background:
    linear-gradient(#344054 2px, transparent 2px),
    repeating-linear-gradient(to bottom, transparent 0 7px, #d9dde4 7px 8px);
}

.ssp-template-document__section {
  border: 1px solid #d8e0ea;
  border-bottom: 0;
  background: #e9edf4;
  color: #293241;
}

.ssp-template-document__table {
  padding: 4px 5px;
  border: 1px solid #d8e0ea;
}

.ssp-template-document__table i,
.ssp-template-document__summary i,
.ssp-template-document__split i {
  height: 9px;
}

.ssp-template-document__total {
  border: 2px solid #1b2a3d;
  background: #ecfdf3;
}

.ssp-statement--modern .ssp-statement-brand,
.ssp-statement--classic .ssp-statement-brand {
  background: #f3f6f9;
  color: #182032;
}

.ssp-statement--summary .ssp-statement-brand {
  color: #2c6e4e;
}

.ssp-statement--executive {
  border-left-color: #3c9d70;
}

.ssp-statement--executive .ssp-statement-brand {
  background: #10271b;
  color: #ffffff;
}

.ssp-statement--executive .ssp-statement-brand strong,
.ssp-statement--executive h4 {
  color: #9ee5b9;
}

.ssp-statement--modern h4,
.ssp-statement--classic h4 {
  color: #182032;
}

.ss-section.ssp-product-page,
.ssp-product-page,
.ssp-product-page .ss-container,
.ssp-product-page .ssp-app,
.ssp-product-page .ssp-layout,
.ssp-product-page .ssp-results,
.ssp-product-page .ssp-preview-stage {
  background: #0d1424 !important;
}

.ssp-product-page .ssp-form,
.ssp-product-page .ssp-form-section,
.ssp-product-page .ssp-paystub-panel,
.ssp-product-page .ssp-template-picker {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: #172236 !important;
  color: #edf2fb;
}

.ssp-product-page .ssp-layout {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.ssp-preview-stage {
  background: #0d1424;
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

.ssp-product-page .ssp-generator-intro h2,
.ssp-product-page .ssp-paystub-panel>h2,
.ssp-product-page .ssp-section-heading h3,
.ssp-product-page .ssp-template-selected strong,
.ssp-product-page .ssp-template-modal__head h2,
.ssp-product-page .ssp-template-card strong {
  color: #f7f9fc;
}

.ssp-product-page .ssp-generator-intro p,
.ssp-product-page .ssp-section-heading p,
.ssp-product-page .ssp-field small,
.ssp-product-page .ssp-template-selected small,
.ssp-product-page .ssp-template-modal__head p,
.ssp-product-page .ssp-template-card small,
.ssp-product-page .ssp-selected-template-preview span {
  color: #aeb9ca;
}

.ssp-product-page .ssp-field span,
.ssp-product-page .ssp-switch-field,
.ssp-product-page .ssp-check,
.ssp-product-page .ssp-attestation,
.ssp-product-page .ssp-template-modal__foot span {
  color: #dfe6f2;
}

.ssp-product-page .ssp-field input,
.ssp-product-page .ssp-field select,
.ssp-product-page .ssp-field textarea,
.ssp-product-page .ssp-logo-upload,
.ssp-product-page .ssp-check,
.ssp-product-page .ssp-attestation,
.ssp-product-page .ssp-switch i,
.ssp-product-page .ssp-template-selected,
.ssp-product-page .ssp-wizard-steps,
.ssp-product-page .ssp-template-card,
.ssp-product-page .ssp-template-modal__dialog {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: #101a2b !important;
  color: #f7f9fc !important;
}

.ssp-product-page .ssp-field input::placeholder,
.ssp-product-page .ssp-field textarea::placeholder {
  color: #7f8ca0;
}

.ssp-product-page .ssp-field input:focus,
.ssp-product-page .ssp-field select:focus,
.ssp-product-page .ssp-field textarea:focus {
  border-color: #27c46a !important;
  box-shadow: 0 0 0 3px rgba(39, 196, 106, 0.22) !important;
}

.ssp-product-page .ssp-wizard-steps {
  display: none;
}

.ssp-product-page .ssp-wizard-steps div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe6f2;
}

.ssp-product-page .ssp-wizard-steps b,
.ssp-product-page .ssp-advanced-toggle,
.ssp-product-page .ssp-switch b {
  color: #42d87d;
}

.ssp-product-page .ssp-template-modal__head,
.ssp-product-page .ssp-template-modal__foot {
  border-color: rgba(255, 255, 255, 0.12);
  background: #172236;
}

/* Paystub form card style matching the attached design */
.ssp-product-page .ssp-form {
  padding: 0;
}

.ssp-product-page .ssp-paystub-panel,
.ssp-product-page .ssp-form-section {
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 18, 42, 0.76);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.ssp-product-page .ssp-section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.ssp-product-page .ssp-section-heading>span {
  display: none;
}

.ssp-product-page .ssp-section-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f7f9fc;
}

.ssp-product-page .ssp-section-heading p {
  margin: 0;
  color: #b2bed7;
  font-size: 13px;
}

.ssp-product-page .ssp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssp-product-page .ssp-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssp-product-page .ssp-field {
  display: grid;
  gap: 6px;
  color: #dfe7fb;
  font-size: 13px;
  font-weight: 700;
}

.ssp-product-page .ssp-field input,
.ssp-product-page .ssp-field select,
.ssp-product-page .ssp-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: #f7f9fc;
}

.ssp-product-page .ssp-field input::placeholder,
.ssp-product-page .ssp-field textarea::placeholder {
  color: rgba(247, 249, 252, 0.55);
}

.ssp-product-page .ssp-field input:focus,
.ssp-product-page .ssp-field select:focus,
.ssp-product-page .ssp-field textarea:focus {
  border-color: #4f7bff;
  box-shadow: 0 0 0 3px rgba(79, 123, 255, 0.18);
}

.ssp-product-page .ssp-logo-upload {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
  padding: 24px;
  min-height: 120px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #dfe7fb;
}

.ssp-product-page .ssp-logo-upload__icon {
  font-size: 24px;
  color: #4f7bff;
}

.ssp-product-page .ssp-logo-upload strong {
  color: #f7f9fc;
}

.ssp-product-page .ssp-logo-upload small {
  color: #9fb1d0;
}

.ssp-product-page .ssp-logo-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ssp-product-page .ssp-step-progress,
.ssp-product-page .ssp-stepper,
.ssp-product-page .ssp-step-nav__status {
  display: none;
}

.ssp-product-page .ssp-step-nav {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ssp-product-page .ssp-step-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ssp-product-page .ssp-step-nav__next {
  width: 100%;
  flex: 1 1 100%;
}

.ssp-product-page .ssp-step-nav__back {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
}

.ssp-product-page .ssp-step-nav__next {
  min-height: 56px;
  flex: 1 1 220px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #4f7bff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
}

.ssp-product-page .ssp-step-nav__next:hover,
.ssp-product-page .ssp-step-nav__back:hover {
  opacity: 0.94;
}

.ssp-product-page .ssp-form-message {
  margin-top: 8px;
}
}

.ssp-product-page .ssp-template-document {
  background: #ffffff;
}

.ssp-product-page .ssp-preview-toolbar,
.ssp-product-page .ssp-preview-security {
  color: #c8d2e2;
}

/* ============================================= */
/* PRODUCT PAGE — LIGHT MODE OVERRIDES           */
/* ============================================= */

:root[data-theme="light"] .ssp-product-page .ssp-layout {
  border-color: #e2e8f0;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .ssp-preview-stage {
  background: #f1f5f9;
}

:root[data-theme="light"] .ssp-product-page .ssp-paystub-panel,
:root[data-theme="light"] .ssp-product-page .ssp-form-section {
  border-color: #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

:root[data-theme="light"] .ssp-product-page .ssp-generator-intro h2,
:root[data-theme="light"] .ssp-product-page .ssp-paystub-panel > h2,
:root[data-theme="light"] .ssp-product-page .ssp-section-heading h3,
:root[data-theme="light"] .ssp-product-page .ssp-template-selected strong,
:root[data-theme="light"] .ssp-product-page .ssp-template-modal__head h2,
:root[data-theme="light"] .ssp-product-page .ssp-template-card strong {
  color: #0f172a;
}

:root[data-theme="light"] .ssp-product-page .ssp-generator-intro p,
:root[data-theme="light"] .ssp-product-page .ssp-section-heading p,
:root[data-theme="light"] .ssp-product-page .ssp-field small,
:root[data-theme="light"] .ssp-product-page .ssp-template-selected small,
:root[data-theme="light"] .ssp-product-page .ssp-template-modal__head p,
:root[data-theme="light"] .ssp-product-page .ssp-template-card small,
:root[data-theme="light"] .ssp-product-page .ssp-selected-template-preview span {
  color: #64748b;
}

:root[data-theme="light"] .ssp-product-page .ssp-field span,
:root[data-theme="light"] .ssp-product-page .ssp-switch-field,
:root[data-theme="light"] .ssp-product-page .ssp-check,
:root[data-theme="light"] .ssp-product-page .ssp-attestation,
:root[data-theme="light"] .ssp-product-page .ssp-template-modal__foot span {
  color: #334155;
}

:root[data-theme="light"] .ssp-product-page .ssp-field input,
:root[data-theme="light"] .ssp-product-page .ssp-field select,
:root[data-theme="light"] .ssp-product-page .ssp-field textarea,
:root[data-theme="light"] .ssp-product-page .ssp-logo-upload,
:root[data-theme="light"] .ssp-product-page .ssp-check,
:root[data-theme="light"] .ssp-product-page .ssp-attestation,
:root[data-theme="light"] .ssp-product-page .ssp-switch i,
:root[data-theme="light"] .ssp-product-page .ssp-template-selected,
:root[data-theme="light"] .ssp-product-page .ssp-template-card,
:root[data-theme="light"] .ssp-product-page .ssp-template-modal__dialog {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

:root[data-theme="light"] .ssp-product-page .ssp-field select option {
  background-color: #ffffff;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-product-page .ssp-field input::placeholder,
:root[data-theme="light"] .ssp-product-page .ssp-field textarea::placeholder {
  color: #94a3b8;
}

:root[data-theme="light"] .ssp-product-page .ssp-field input:focus,
:root[data-theme="light"] .ssp-product-page .ssp-field select:focus,
:root[data-theme="light"] .ssp-product-page .ssp-field textarea:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

:root[data-theme="light"] .ssp-product-page .ssp-logo-upload {
  border: 1px dashed #cbd5e1 !important;
  background: #f8fafc !important;
}

:root[data-theme="light"] .ssp-product-page .ssp-wizard-steps div {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
}

:root[data-theme="light"] .ssp-product-page .ssp-template-modal__head,
:root[data-theme="light"] .ssp-product-page .ssp-template-modal__foot {
  border-color: #e2e8f0;
  background: #f1f5f9;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-product-page .ssp-step-nav__back {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
}

:root[data-theme="light"] .ssp-product-page .ssp-preview-toolbar,
:root[data-theme="light"] .ssp-product-page .ssp-preview-security {
  color: #475569;
}



.ssp-live-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1040px !important;
  min-height: 980px;
  margin-inline: auto;
  padding: 28px 24px !important;
  border: 1px solid #bfc7d2 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08) !important;
  color: #333;
  font-size: 14px !important;
}

.ssp-live-check-watermark {
  position: absolute;
  top: 23%;
  left: 7%;
  color: rgba(80, 99, 230, 0.08);
  font-size: clamp(70px, 10vw, 126px);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 0.9;
  pointer-events: none;
  transform: rotate(47deg);
  transform-origin: left center;
  white-space: nowrap;
}

.ssp-live-check-top,
.ssp-live-check-tables,
.ssp-live-check-bottom {
  position: relative;
  z-index: 1;
}

.ssp-live-check-top {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.ssp-live-check-top address {
  margin: 0;
  color: #3a3a3a;
  font-style: italic;
  font-weight: 850;
  line-height: 1.18;
  text-transform: uppercase;
}

.ssp-live-check-top h3 {
  margin: 0 0 18px;
  color: #333;
  font-size: 25px;
}

.ssp-live-codes {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 4px 8px;
  background: #d6d6d6;
  color: #333;
  font-size: 10px;
  gap: 10px;
  grid-template-columns: repeat(5, auto);
}

.ssp-live-id,
.ssp-live-dates {
  display: grid;
  margin-top: 24px;
  color: #333;
  font-size: 12px;
  gap: 4px 18px;
  grid-template-columns: auto 1fr;
}

.ssp-live-dates {
  max-width: 340px;
  margin: 0 0 22px;
  font-size: 14px;
  gap: 8px 18px;
}

.ssp-live-id strong,
.ssp-live-dates strong {
  font-weight: 500;
}

/* .ssp-live-check-tables {
  display: grid;
  margin-top: 36px;
  gap: 20px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1.05fr);
}

.ssp-live-table-head,
.ssp-live-row {
  display: grid;
  align-items: center;
  color: #333;
  column-gap: 10px;
}

.ssp-live-check-tables section:first-child .ssp-live-table-head,
.ssp-live-check-tables section:first-child .ssp-live-row {
  grid-template-columns: 1.1fr 0.8fr 0.8fr 1fr 1fr;
}

.ssp-live-check-tables section:nth-child(2) .ssp-live-table-head,
.ssp-live-check-tables section:nth-child(2) .ssp-live-row {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.ssp-live-check-tables section:nth-child(3) .ssp-live-table-head,
.ssp-live-check-tables section:nth-child(3) .ssp-live-row {
  grid-template-columns: 1.2fr 1fr;
} */




.ssp-live-check-tables {
  display: grid;
  margin-top: 36px;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  /* 2 equal columns on top */
}

/* 1. Tell Section 2 to span full width (pushes it to row 2) */
.ssp-live-check-tables section:nth-child(2) {
  grid-column: span 2;
  order: 2;
  /* Ensures it renders second (on the bottom row) */
}

/* 2. Place Section 3 in the right spot on the top row */
.ssp-live-check-tables section:nth-child(3) {
  order: 1;
  /* Moves Section 3 up into the top row next to Section 1 */
}

.ssp-live-table-head,
.ssp-live-row {
  display: grid;
  align-items: center;
  color: #333;
  column-gap: 10px;
}

.ssp-live-check-tables section:first-child .ssp-live-table-head,
.ssp-live-check-tables section:first-child .ssp-live-row {
  grid-template-columns: 1.1fr 0.8fr 0.8fr 1fr 1fr;
}

.ssp-live-check-tables section:nth-child(2) .ssp-live-table-head,
.ssp-live-check-tables section:nth-child(2) .ssp-live-row {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.ssp-live-check-tables section:nth-child(3) .ssp-live-table-head,
.ssp-live-check-tables section:nth-child(3) .ssp-live-row {
  grid-template-columns: 1.2fr 1fr;
}

.ssp-live-table-head {
  min-height: 31px;
  border-bottom: 2px solid #9d9d9d;
  font-size: 13px;
  font-weight: 950;
}

.ssp-live-row {
  min-height: 25px;
  font-size: 12px;
}

.ssp-live-row strong {
  font-weight: 500;
  text-align: right;
}

.ssp-live-row.is-highlight {
  border-top: 1px solid #a3a3a3;
  border-bottom: 1px solid #a3a3a3;
  background: #d8d8d8;
  font-weight: 950;
}

.ssp-live-row.is-highlight span,
.ssp-live-row.is-highlight strong {
  font-weight: 950;
}

.ssp-live-check-bottom {
  display: grid;
  margin-top: 170px;
  align-items: end;
  color: #333;
  gap: 14px 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
}

.ssp-live-check-company {
  display: grid;
  align-items: center;
  gap: 16px;
  grid-template-columns: 82px 1fr;
}

.ssp-live-check-company .ssp-preview-logo {
  width: 76px;
  height: 76px;
  border: 1px solid #64748b;
  border-radius: 0;
  background: #fff;
}

.ssp-live-check-company address {
  margin: 0;
  font-style: italic;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.ssp-live-check-details {
  display: grid;
  align-content: center;
  color: #333;
  gap: 8px 18px;
  grid-template-columns: auto 1fr;
}

.ssp-live-check-details strong {
  text-align: right;
}

.ssp-live-check-payee,
.ssp-live-check-amount {
  display: grid;
  grid-column: 1 / -1;
  align-items: end;
  gap: 10px;
  grid-template-columns: auto 1fr;
}

.ssp-live-check-payee strong,
.ssp-live-check-amount strong,
.ssp-live-check-amount b {
  padding-bottom: 5px;
  border-bottom: 2px solid #27364a;
}

.ssp-live-check-payee strong {
  font-size: 16px;
  text-transform: uppercase;
}

.ssp-live-check-amount {
  grid-template-columns: auto 1fr 120px;
}

.ssp-live-check-amount strong {
  font-size: 13px;
  text-transform: uppercase;
}

.ssp-live-check-amount b {
  font-weight: 500;
  text-align: right;
}

.ssp-live-nonnegotiable {
  grid-column: 1 / -1;
  margin-top: 28px;
  font-size: 25px;
  font-weight: 950;
  text-align: right;
}

.ssp-live-preview__header,
.ssp-live-preview__parties,
.ssp-live-preview__meta,
.ssp-live-preview h4,
.ssp-live-preview__lines,
.ssp-live-preview__net,
.ssp-live-preview__note {
  display: none;
}

@media (max-width: 1000px) {
  .ssp-product-hero__inner {
    grid-template-columns: 1fr;
  }

  .ssp-product-hero {
    text-align: center;
  }

  .ssp-product-hero p {
    margin-inline: auto;
  }

  .ssp-hero-actions,
  .ssp-hero-stats {
    justify-content: center;
  }

  .ssp-preview-stage,
  .ssp-template-picker,
  .ssp-paystub-panel,
  .ssp-form-section,
  .ssp-attestation,
  .ssp-submit,
  .ssp-form-message {
    width: min(100% - 24px, 1040px);
  }

  .ssp-live-preview {
    min-height: auto;
    padding: 18px 14px !important;
    font-size: 12px !important;
  }

  .ssp-live-check-top,
  .ssp-live-check-tables,
  .ssp-live-check-bottom {
    grid-template-columns: 1fr;
  }

  .ssp-live-check-top {
    gap: 22px;
  }

  .ssp-live-check-tables {
    gap: 18px;
  }

  .ssp-live-check-bottom {
    margin-top: 70px;
  }

  .ssp-live-check-company,
  .ssp-live-check-details,
  .ssp-live-check-payee,
  .ssp-live-check-amount {
    grid-template-columns: 1fr;
  }

  .ssp-live-check-details strong,
  .ssp-live-check-amount b,
  .ssp-live-nonnegotiable {
    text-align: left;
  }

  .ssp-live-check-watermark {
    top: 26%;
    left: 4%;
    font-size: 64px;
  }

  .ssp-ref-template {
    font-size: 11px;
  }

  .ssp-ref-two-tables,
  .ssp-ref-template header,
  .ssp-ref-parties,
  .ssp-ref-title-row,
  .ssp-ref-template5 header,
  .ssp-ref-template5 .ssp-ref-parties {
    grid-template-columns: 1fr;
  }

  .ssp-ref-template header>div:first-child,
  .ssp-ref-blue-company>div>div {
    flex-wrap: wrap;
  }

  .ssp-ref-template3 header {
    margin-top: 30px;
  }

  .ssp-ref-template2 header {
    margin-bottom: 42px;
  }

  .ssp-ref-template2 .ssp-ref-watermark {
    top: 98px;
    left: 8%;
    font-size: 38px;
  }

  .ssp-ref-non {
    margin: 42px 0 32px;
  }
}

@media (max-width: 620px) {
  .ssp-wizard-steps {
    grid-template-columns: 1fr 1fr;
  }

  .ssp-live-codes {
    width: 100%;
    font-size: 8px;
    gap: 5px;
  }

  .ssp-live-table-head,
  .ssp-live-row {
    column-gap: 6px;
    font-size: 10px;
  }

  .ssp-live-check-tables section:first-child .ssp-live-table-head,
  .ssp-live-check-tables section:first-child .ssp-live-row {
    grid-template-columns: 1.1fr 0.7fr 0.7fr 0.9fr 0.9fr;
  }

  .ssp-live-check-tables section:nth-child(2) .ssp-live-table-head,
  .ssp-live-check-tables section:nth-child(2) .ssp-live-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }

  .ssp-live-check-bottom {
    margin-top: 42px;
  }

  .ssp-live-nonnegotiable {
    font-size: 20px;
  }

  .ssp-ref-template {
    font-size: 10px;
  }

  .ssp-ref-template .ssp-check-logo {
    width: 56px;
    height: 56px;
  }

  .ssp-ref-head,
  .ssp-ref-row {
    column-gap: 5px;
    font-size: 9px;
  }

  .ssp-ref-employee-grid .ssp-ref-head,
  .ssp-ref-employee-grid .ssp-ref-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ssp-ref-employee-grid .ssp-ref-head> :nth-child(n+5),
  .ssp-ref-employee-grid .ssp-ref-row> :nth-child(n+5) {
    display: none;
  }

  .ssp-ref-order,
  .ssp-ref-payee {
    grid-template-columns: 1fr;
  }

  .ssp-ref-order em,
  .ssp-ref-row span:not(:first-child) {
    text-align: left;
  }

  .ssp-ref-bottom-totals .ssp-ref-head,
  .ssp-ref-bottom-totals .ssp-ref-row,
  .ssp-ref-summary-strip .ssp-ref-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media print {
  @page {
    margin: 0.2in;
    size: letter;
  }

  html,
  body {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  body.ssp-is-printing> :not(.ssp-print-root),
  body:has(.ssp-print-root)> :not(.ssp-print-root) {
    display: none !important;
  }

  .ssp-print-root {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ssp-print-root .ssp-statement,
  .ssp-print-root .ssp-doc-sheet {
    position: static !important;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .ssp-print-root .ssp-statement {
    min-height: 0 !important;
    height: 9.75in !important;
    overflow: hidden !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    font-size: 10px;
  }

  .ssp-print-root .ssp-stub-watermark {
    top: 21% !important;
    font-size: 92px !important;
  }

  .ssp-print-root .ssp-check-stub {
    gap: 28px !important;
  }

  .ssp-print-root .ssp-check-stub__codes {
    margin-bottom: 7px !important;
    padding: 3px 6px !important;
    font-size: 8px !important;
    gap: 7px !important;
  }

  .ssp-print-root .ssp-stub-id {
    margin-top: 18px !important;
    font-size: 10px !important;
  }

  .ssp-print-root .ssp-check-stub__right h2 {
    margin-bottom: 12px !important;
    font-size: 20px !important;
  }

  .ssp-print-root .ssp-stub-dates {
    margin-bottom: 16px !important;
    font-size: 11px !important;
    gap: 4px 14px !important;
  }

  .ssp-print-root .ssp-check-stub__tables {
    margin-top: 24px !important;
    gap: 14px !important;
  }

  .ssp-print-root .ssp-stub-table-head {
    min-height: 24px !important;
    font-size: 10px !important;
  }

  .ssp-print-root .ssp-stub-row {
    min-height: 19px !important;
    font-size: 10px !important;
  }

  .ssp-print-root .ssp-check-advice {
    margin-top: 95px !important;
    gap: 10px 18px !important;
  }

  .ssp-print-root .ssp-check-company {
    grid-template-columns: 62px 1fr !important;
    gap: 12px !important;
  }

  .ssp-print-root .ssp-check-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .ssp-print-root .ssp-check-details {
    gap: 6px 14px !important;
  }

  .ssp-print-root .ssp-check-payee,
  .ssp-print-root .ssp-check-amount {
    gap: 8px !important;
  }

  .ssp-print-root .ssp-nonnegotiable {
    margin-top: 18px !important;
    font-size: 20px !important;
  }

  .ssp-print-root .ssp-statement footer {
    display: none !important;
  }

  .ssp-print-root .ssp-result-details,
  .ssp-print-root .ssp-compliance-result,
  .ssp-print-root .ssp-preview-toolbar,
  .ssp-print-root .ssp-preview-security,
  .ssp-print-root .ssp-document-toolbar,
  .ssp-print-root .ssp-document-status {
    display: none !important;
  }

  .ssp-print-root .ssp-statement footer,
  .ssp-print-root .ssp-doc-sheet footer {
    margin-top: 12px;
  }

  .ssp-print-root .ssp-statement footer button,
  .ssp-print-root .ssp-doc-sheet footer button {
    display: none !important;
  }
}

/* ============================================= */
/* OFFICIAL W-2 FORM PREVIEW STYLES              */
/* ============================================= */

.w2-official-form {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid #b0b0b0;
  color: #222;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.3;
}

.w2-watermark {
  position: absolute;
  top: 20%;
  left: 5%;
  color: rgba(180, 50, 60, 0.09);
  font-size: 80px;
  font-weight: 950;
  letter-spacing: 0.06em;
  transform: rotate(-28deg);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.w2-header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #222;
}

.w2-year {
  font-size: 22px;
  font-weight: 900;
}

.w2-form-title {
  display: block;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.w2-form-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 700;
}

.w2-treasury {
  display: block;
  font-size: 9px;
  font-weight: 800;
  text-align: right;
}

.w2-irs {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.w2-header-bar {
  padding: 4px 8px;
  margin: 4px 0 8px;
  background: #e8e8e8;
  font-size: 9px;
  font-weight: 700;
}

.w2-form-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.w2-row {
  display: grid;
  gap: 0;
}

.w2-row-top {
  grid-template-columns: 2fr 1fr 1fr;
}

.w2-box {
  border: 1px solid #333;
  min-height: 42px;
  display: flex;
  flex-direction: column;
}

.w2-box-label {
  padding: 3px 6px;
  background: #f0f0f0;
  font-size: 9px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w2-box-value {
  padding: 6px 8px;
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
  white-space: nowrap;
  overflow: hidden;
}

.w2-box-1 .w2-box-value,
.w2-box-2 .w2-box-value {
  font-size: 14px;
}

.w2-box-employer {
  grid-row: span 2;
}

.w2-employer-block strong {
  font-size: 12px;
  text-transform: uppercase;
}

.w2-employer-block {
  font-size: 9px;
  white-space: normal;
}

.w2-box-wide {
  grid-column: 1 / -1;
}

.w2-box-empty {
  min-height: 28px;
}

.w2-box-12-row {
  grid-template-columns: 1fr 1fr;
}

.w2-box-12-cell {
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  min-height: 36px;
}

.w2-box-12-cell .w2-box-label {
  padding: 3px 6px;
  background: #f0f0f0;
  font-size: 9px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
}

.w2-box-12-cell .w2-box-value {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
}

.w2-12-code {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #999;
  padding: 0 4px;
  font-size: 10px;
  margin-left: 4px;
}

.w2-box-13 {
  grid-column: span 2;
}

.w2-checkboxes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 9px;
}

.w2-checkbox {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border: 1px solid #333;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.w2-checkbox-on {
  background: #222;
  color: #fff;
}

.w2-box-14 {
  grid-column: span 2;
}

.w2-box-15 {
  grid-column: span 1;
}

.w2-footer {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-size: 9px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.w2-footer button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
}

/* Live W-2 preview: hide form footer, show full form */
.w2-official-form.w2-live-preview {
  max-width: 780px;
}

.w2-official-form.w2-live-preview .w2-footer {
  display: none;
}

/* ============================================= */
/* OFFICIAL 1099-MISC FORM PREVIEW STYLES        */
/* ============================================= */

.f1099-official-form {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid #b0b0b0;
  color: #222;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  line-height: 1.3;
}

.f1099-watermark {
  position: absolute;
  top: 20%;
  left: 5%;
  color: rgba(180, 50, 60, 0.09);
  font-size: 80px;
  font-weight: 950;
  letter-spacing: 0.06em;
  transform: rotate(-28deg);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.f1099-header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #222;
}

.f1099-year {
  font-size: 14px;
  font-weight: 900;
}

.f1099-form-title {
  display: block;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.f1099-corrected {
  display: block;
  color: #c00;
  font-size: 12px;
  font-weight: 900;
}

.f1099-omb {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.f1099-header-bar {
  padding: 4px 8px;
  margin: 4px 0 8px;
  background: #e8e8e8;
  font-size: 9px;
  font-weight: 700;
}

.f1099-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.f1099-left-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.f1099-section {
  border: 1px solid #333;
}

.f1099-section-label {
  padding: 3px 6px;
  background: #f0f0f0;
  font-size: 8px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  text-transform: uppercase;
}

.f1099-section-content {
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
}

.f1099-section-content strong {
  font-size: 12px;
  text-transform: uppercase;
}

.f1099-right-panel {
  display: flex;
  flex-direction: column;
}

.f1099-copy-label {
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #999;
}

.f1099-boxes-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.f1099-box-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.f1099-box {
  border: 1px solid #333;
  min-height: 38px;
  display: flex;
  flex-direction: column;
}

.f1099-box-num {
  padding: 2px 5px;
  background: #f0f0f0;
  font-size: 8px;
  font-weight: 900;
  border-bottom: 1px solid #ccc;
  white-space: pre-line;
}

.f1099-box-val {
  padding: 5px 8px;
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
}

.f1099-box-check {
  min-height: 38px;
  flex-direction: row;
  align-items: center;
}

.f1099-box-check-label {
  font-size: 8px;
  font-weight: 700;
  padding: 3px 5px;
  white-space: normal;
  line-height: 1.2;
  border: none;
  background: #f0f0f0;
  width: 100%;
  display: flex;
  align-items: center;
}

.f1099-box-check-box {
  border: 1px solid #333;
  width: 28px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}

.f1099-x {
  color: #c00;
}

.f1099-box-wide {
  grid-column: span 2;
}

.f1099-tax-warning {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-size: 8px;
  color: #666;
  line-height: 1.4;
}

.f1099-tax-warning p {
  margin: 0 0 4px;
}

.f1099-footer {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-size: 8px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.f1099-footer button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
}

/* Live 1099 preview */
.f1099-official-form.f1099-live-preview .f1099-footer {
  display: none;
}

/* Direct deposit label styling */
.ssp-check-deposit {
  display: grid;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #a0aec0;
  border-radius: 6px;
  background: #f7fafc;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 11px;
}

.ssp-check-deposit span {
  color: #4a5568;
  font-weight: 600;
}

.ssp-check-deposit strong {
  color: #2d3748;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
}

/* Print styles for W-2 and 1099 official forms */
@media print {

  .ssp-print-root .w2-official-form,
  .ssp-print-root .f1099-official-form {
    position: static !important;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    box-shadow: none !important;
    border: 1px solid #333 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .ssp-print-root .w2-official-form .w2-footer,
  .ssp-print-root .f1099-official-form .f1099-footer {
    display: none !important;
  }

  .ssp-print-root .w2-watermark,
  .ssp-print-root .f1099-watermark {
    opacity: 0.12 !important;
  }
}

/* Step wizard */
.ssp-section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.ssp-wizard-steps,
.ssp-step-progress,
.ssp-step-nav__status {
  display: none !important;
}

.ssp-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.ssp-stepper__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  opacity: 0.45;
  transition: opacity 0.16s ease;
}

.ssp-stepper__item::before {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.ssp-stepper__item:first-child::before {
  border-radius: 2px 0 0 2px;
}

.ssp-stepper__item:last-child::before {
  border-radius: 0 2px 2px 0;
}

.ssp-stepper__dot {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.ssp-stepper__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ssp-stepper__item.is-active,
.ssp-stepper__item.is-done {
  opacity: 1;
}

.ssp-stepper__item.is-active::before,
.ssp-stepper__item.is-done::before {
  background: #6366f1;
}

.ssp-stepper__item.is-active .ssp-stepper__dot {
  border-color: #6366f1;
  background: #6366f1;
  color: #ffffff;
}

.ssp-stepper__item.is-done .ssp-stepper__dot {
  border-color: #6366f1;
  color: #6366f1;
}

.ssp-step {
  display: none;
  animation: ssp-step-in 0.2s ease;
}

.ssp-step.is-active {
  display: block;
}

@keyframes ssp-step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ssp-step-nav {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  order: 3;
}

.ssp-step-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 16px;
  margin-bottom: 22px;
}

.ssp-step-nav__back,
.ssp-step-nav__next {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.ssp-step-nav__back {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: inherit;
}

.ssp-step-nav__back[hidden],
.ssp-step-nav__next[hidden] {
  display: none;
}

.ssp-step-nav__next {
  border: 1px solid transparent;
  background: #6366f1;
  color: #ffffff;
  width: 80%;
  margin-inline: auto;
}

.ssp-step-nav__next:hover,
.ssp-step-nav__back:hover {
  opacity: 0.86;
}

.ssp-step-nav__status {
  color: #a9b2c3;
  font-size: 13px;
  font-weight: 600;
}

.ssp-step .ssp-submit,
.ssp-step .ssp-attestation,
.ssp-step .ssp-form-message {
  display: block;
}

@media (max-width: 720px) {
  .ssp-stepper {
    grid-template-columns: repeat(6, minmax(46px, 1fr));
    overflow-x: auto;
  }

  .ssp-stepper__label {
    display: none;
  }

  .ssp-step-nav {
    flex-wrap: wrap;
  }

  .ssp-step-nav__status {
    order: 3;
    width: 100%;
    text-align: center;
  }
}

:root[data-theme="light"] .ssp-step-nav,
:root[data-theme="light"] .ssp-form-section {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #0f172a;
}

:root[data-theme="light"] .ssp-stepper__item::before {
  background: #cbd5e1;
}

:root[data-theme="light"] .ssp-stepper__dot {
  border-color: #94a3b8;
  background: #f8fafc;
}

:root[data-theme="light"] .ssp-step-nav__back {
  border-color: #cbd5e1;
  color: #334155;
  background: #f1f5f9;
}

:root[data-theme="light"] .ssp-step-nav__status {
  color: #64748b;
}

/* Record numbers (CO./FILE/DEPT./CLOCK/VCHR.NO) */
.ssp-record-numbers {
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.ssp-record-numbers__label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
}

.ssp-record-numbers__help {
  display: block;
  margin-bottom: 14px;
  color: #a9b2c3;
}

.ssp-record-numbers__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}

.ssp-record-numbers__grid .ssp-field span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .ssp-record-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

:root[data-theme="light"] .ssp-record-numbers {
  border-color: rgba(20, 26, 40, 0.14);
  background: rgba(20, 26, 40, 0.02);
}

/* ============================================= */
/* NEED HELP, PRODUCT INFO & FAQ ACCORDION STYLES */
/* ============================================= */

.ssp-info-section {
  margin-top: 56px;
  padding: 0 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Help Bar --- */
.ssp-help-bar {
  text-align: center;
  padding: 32px 24px;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 18px;
  margin: 36px 0 48px;
}

.ssp-help-bar h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: #f0f4ff;
  letter-spacing: -0.02em;
}

.ssp-help-bar p {
  margin: 0 0 18px;
  color: #8b9dc3;
  font-size: 14px;
}

.ssp-help-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.ssp-help-links span,
.ssp-help-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #818cf8;
  text-decoration: none;
  transition: color 0.18s ease;
}

.ssp-help-links a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

/* --- Info Content Grid --- */
.ssp-info-content {
  display: grid;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.ssp-info-block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ssp-info-block:last-child {
  border-bottom: none;
}

.ssp-info-block h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 10px;
  color: #f0f4ff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ssp-info-block h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #c8d5f0;
  letter-spacing: -0.01em;
}

.ssp-info-block p {
  margin: 0 0 8px;
  color: #7b8ba8;
  font-size: 14px;
  line-height: 1.7;
}

.ssp-info-block p:last-child {
  margin-bottom: 0;
}

/* --- FAQ Section --- */
.ssp-faq-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ssp-faq-intro h2 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #f0f4ff;
  letter-spacing: -0.03em;
}

.ssp-faq-intro p {
  margin: 0;
  color: #7b8ba8;
  font-size: 14px;
  line-height: 1.65;
}

.ssp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ssp-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ssp-faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.12);
}

.ssp-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.ssp-faq-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  padding-right: 16px;
  color: #dce8ff;
}

.ssp-faq-item.is-open .ssp-faq-header h3 {
  color: #a5b4fc;
}

.ssp-faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #8b9dc3;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ssp-faq-item.is-open .ssp-faq-icon {
  border-color: rgba(99, 102, 241, 0.5);
  color: #818cf8;
}

.ssp-faq-icon::before,
.ssp-faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Horizontal bar */
.ssp-faq-icon::before {
  width: 10px;
  height: 2px;
}

/* Vertical bar */
.ssp-faq-icon::after {
  width: 2px;
  height: 10px;
}

.ssp-faq-item.is-open .ssp-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.ssp-faq-body {
  display: none;
  padding: 0 22px 20px;
}

.ssp-faq-item.is-open .ssp-faq-body {
  display: block;
}

.ssp-faq-body p {
  margin: 0;
  color: #8b9dc3;
  font-size: 13.5px;
  line-height: 1.7;
}

/* ============================================= */
/* LIGHT THEME OVERRIDES — Info & FAQ            */
/* ============================================= */

:root[data-theme="light"] .ssp-info-section {
  border-top-color: #e2e8f0;
}

:root[data-theme="light"] .ssp-help-bar {
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  border-color: rgba(99, 102, 241, 0.2);
}

:root[data-theme="light"] .ssp-help-bar h3 {
  color: #1e1b4b;
}

:root[data-theme="light"] .ssp-help-bar p {
  color: #475569;
}

:root[data-theme="light"] .ssp-help-links span,
:root[data-theme="light"] .ssp-help-links a {
  color: #4f46e5;
}

:root[data-theme="light"] .ssp-help-links a:hover {
  color: #4338ca;
}

:root[data-theme="light"] .ssp-info-block {
  border-bottom-color: #e2e8f0;
}

:root[data-theme="light"] .ssp-info-block h2 {
  color: #0f172a;
}

:root[data-theme="light"] .ssp-info-block h3 {
  color: #1e293b;
}

:root[data-theme="light"] .ssp-info-block p {
  color: #475569;
}

:root[data-theme="light"] .ssp-faq-section {
  border-top-color: #e2e8f0;
}

:root[data-theme="light"] .ssp-faq-intro h2 {
  color: #0f172a;
}

:root[data-theme="light"] .ssp-faq-intro p {
  color: #64748b;
}

:root[data-theme="light"] .ssp-faq-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .ssp-faq-item.is-open {
  border-color: #6366f1;
  background: #fafafe;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

:root[data-theme="light"] .ssp-faq-header h3 {
  color: #1e293b;
}

:root[data-theme="light"] .ssp-faq-item.is-open .ssp-faq-header h3 {
  color: #4f46e5;
}

:root[data-theme="light"] .ssp-faq-icon {
  border-color: #cbd5e1;
  color: #64748b;
}

:root[data-theme="light"] .ssp-faq-item.is-open .ssp-faq-icon {
  border-color: #6366f1;
  color: #6366f1;
}

:root[data-theme="light"] .ssp-faq-body p {
  color: #475569;
}

@media (max-width: 900px) {
  .ssp-faq-section {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
  }

  .ssp-faq-intro h2 {
    font-size: 26px;
  }
}