.t123-sft-page {
  --sft-ink: #14213d;
  --sft-blue: #1746a2;
  --sft-blue-dark: #102c67;
  --sft-pale: #eef5ff;
  --sft-mint: #eaf8f2;
  --sft-success: #116149;
  --sft-warning: #8a4b08;
  color: var(--t123-text);
  overflow: clip;
}

.t123-sft-page .t123-sft-hero {
  margin: 0;
  border-radius: 0;
  padding: 38px 0 42px;
  background: radial-gradient(circle at 88% 12%, rgba(129, 190, 255, .28), transparent 28%), linear-gradient(135deg, #102c67, #1746a2 62%, #246fbf);
}

.t123-sft-page .t123-sft-hero .t123-breadcrumb { margin-bottom: 20px; }
.t123-sft-page .t123-sft-hero .t123-breadcrumb a,
.t123-sft-page .t123-sft-hero .t123-breadcrumb li { color: #e7efff; }
.t123-sft-page .t123-sft-hero h1 { max-width: 860px; font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1.12; }
.t123-sft-page .t123-sft-hero p { max-width: 760px; font-size: 1.05rem; }

.t123-sft-page .t123-sft-content { padding-top: 24px; padding-bottom: 48px; }
.t123-sft-page .t123-sft-content [id] { scroll-margin-top: 96px; }
.t123-sft-page .t123-sft-verified {
  padding: 13px 16px;
  border: 1px solid #cfe0fb;
  border-radius: 10px;
  color: #334155;
  background: #f7faff;
  font-size: .88rem;
}

.t123-sft-page .t123-sft-jumps { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 30px; }
.t123-sft-page .t123-sft-jumps a {
  padding: 9px 13px;
  border: 1px solid #cbd9ed;
  border-radius: 999px;
  background: #fff;
  color: var(--sft-blue-dark);
  font-size: .88rem;
  font-weight: 650;
}
.t123-sft-page .t123-sft-jumps a:hover { background: var(--sft-pale); text-decoration: none; }

.t123-sft-page .t123-sft-panel,
.t123-sft-page .t123-sft-editorial {
  margin: 30px 0;
  padding: 26px;
  border: 1px solid var(--t123-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--t123-shadow-sm);
}
.t123-sft-page .t123-sft-panel--intro { border-left: 5px solid var(--sft-blue); background: linear-gradient(120deg, #fff, #f5f9ff); }
.t123-sft-page .t123-sft-panel h2,
.t123-sft-page .t123-sft-editorial h2 { margin: 0 0 12px; color: var(--sft-ink); font-size: clamp(1.25rem, 2vw, 1.55rem); }
.t123-sft-page .t123-sft-panel p,
.t123-sft-page .t123-sft-editorial p { margin: 10px 0 0; line-height: 1.72; }

.t123-sft-page .t123-sft-simulator {
  margin: 34px 0 42px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #cbd9ed;
  border-radius: 20px;
  background: linear-gradient(145deg, #f8fbff, #eef5ff);
  box-shadow: 0 18px 44px rgba(23, 70, 162, .10);
}
.t123-sft-page .t123-sft-section-heading { max-width: 760px; margin-bottom: 22px; }
.t123-sft-page .t123-sft-section-heading h2 { margin: 2px 0 8px; color: var(--sft-ink); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.t123-sft-page .t123-sft-section-heading > p:last-child { color: #475569; }
.t123-sft-page .t123-sft-kicker { color: var(--sft-blue); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.t123-sft-page .t123-sft-examples { margin: 0 0 22px; padding: 15px; border: 1px dashed #9bb7df; border-radius: 12px; background: rgba(255,255,255,.82); }
.t123-sft-page .t123-sft-examples p { margin: 0 0 10px; }
.t123-sft-page .t123-sft-example-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.t123-sft-page .t123-sft-example-buttons button {
  padding: 8px 11px;
  border: 1px solid #b8c9e3;
  border-radius: 8px;
  background: #fff;
  color: #17345e;
  font-size: .8rem;
  font-weight: 650;
}
.t123-sft-page .t123-sft-example-buttons button:hover { border-color: var(--sft-blue); background: var(--sft-pale); }

.t123-sft-page .t123-sft-calculator-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 24px; align-items: start; }
.t123-sft-page .t123-sft-form { min-width: 0; }
.t123-sft-page .t123-sft-fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid #d8e2f0;
  border-radius: 14px;
  background: #fff;
}
.t123-sft-page .t123-sft-fieldset legend { padding: 0 8px; color: var(--sft-ink); font-size: 1rem; font-weight: 800; }
.t123-sft-page .t123-sft-field { min-width: 0; margin-top: 16px; }
.t123-sft-page .t123-sft-field:first-child { margin-top: 4px; }
.t123-sft-page .t123-sft-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.t123-sft-page .t123-sft-field label { display: block; margin-bottom: 6px; color: #253858; font-size: .89rem; font-weight: 750; }
.t123-sft-page .t123-sft-field input,
.t123-sft-page .t123-sft-field select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #9fb0c8;
  border-radius: 9px;
  background: #fff;
  color: #111827;
  font: inherit;
}
.t123-sft-page .t123-sft-field input[aria-invalid="true"],
.t123-sft-page .t123-sft-field select[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.t123-sft-page .t123-sft-help { margin: 6px 0 0; color: #64748b; font-size: .78rem; line-height: 1.48; }
.t123-sft-page .t123-sft-field-error { margin: 6px 0 0; color: #a11919; font-size: .8rem; font-weight: 700; }
.t123-sft-page .t123-sft-conditional { margin-top: 16px; padding: 14px; border-radius: 11px; background: #f5f8fd; border: 1px solid #dbe5f2; }
.t123-sft-page .t123-sft-conditional-title { margin: 0; color: #3d506c; font-size: .79rem; font-weight: 800; }
.t123-sft-page .t123-sft-conditional[hidden],
.t123-sft-page [hidden] { display: none !important; }

.t123-sft-page .t123-sft-errors { margin-bottom: 18px; padding: 15px 17px; border: 1px solid #f0aaa5; border-radius: 10px; background: #fff1f0; color: #771d1d; }
.t123-sft-page .t123-sft-errors h3 { margin: 0 0 7px; font-size: .95rem; }
.t123-sft-page .t123-sft-errors ul { margin: 0; padding-left: 20px; list-style: disc; }
.t123-sft-page .t123-sft-errors a { color: #771d1d; text-decoration: underline; }
.t123-sft-page .t123-sft-submit {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sft-blue-dark), var(--sft-blue));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(23, 70, 162, .20);
}
.t123-sft-page .t123-sft-submit:hover { filter: brightness(1.08); }
.t123-sft-page .t123-sft-privacy { margin: 8px 0 0; color: #64748b; text-align: center; font-size: .77rem; }

.t123-sft-page .t123-sft-result {
  position: sticky;
  top: 84px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #b9d8cd;
  border-radius: 16px;
  background: linear-gradient(150deg, #fff, var(--sft-mint));
  box-shadow: 0 16px 36px rgba(17, 97, 73, .12);
}
.t123-sft-page .t123-sft-result-label { margin: 0; color: #48645c; font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.t123-sft-page .t123-sft-amount-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 7px 0 20px; color: #49635c; }
.t123-sft-page .t123-sft-amount-line strong { color: var(--sft-success); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.t123-sft-page .t123-sft-result-list { margin: 0; }
.t123-sft-page .t123-sft-result-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-top: 1px solid #d5e8e1; }
.t123-sft-page .t123-sft-result-list dt { color: #4b635c; font-size: .8rem; }
.t123-sft-page .t123-sft-result-list dd { margin: 0; color: #173f34; text-align: right; font-size: .82rem; font-weight: 780; font-variant-numeric: tabular-nums; }
.t123-sft-page .t123-sft-result-empty,
.t123-sft-page .t123-sft-result-caveat { color: #526861; font-size: .82rem; line-height: 1.55; }
.t123-sft-page .t123-sft-result-notice { margin: 12px 0 0; padding: 9px 10px; border-radius: 8px; background: #fff6df; color: var(--sft-warning); font-size: .8rem; font-weight: 700; }
.t123-sft-page .t123-sft-result-caveat { margin: 13px 0 0; }

.t123-sft-page .t123-sft-table-wrap { max-width: 100%; margin: 18px 0; overflow-x: auto; border: 1px solid #d7e0eb; border-radius: 11px; background: #fff; }
.t123-sft-page .t123-sft-table { display: table; width: 100%; min-width: 690px; border-collapse: collapse; font-size: .88rem; }
.t123-sft-page .t123-sft-table caption { padding: 11px 13px; color: #5d6b7e; text-align: left; font-size: .8rem; }
.t123-sft-page .t123-sft-table thead { display: table-header-group; }
.t123-sft-page .t123-sft-table th,
.t123-sft-page .t123-sft-table td { padding: 11px 13px; border-top: 1px solid #e4e9f0; text-align: left; white-space: nowrap; }
.t123-sft-page .t123-sft-table thead th { background: #edf3fb; color: #263a58; font-size: .78rem; letter-spacing: .02em; }
.t123-sft-page .t123-sft-table tbody th { white-space: normal; color: #233552; }

.t123-sft-page .t123-sft-editorial-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: 22px; align-items: start; }
.t123-sft-page .t123-sft-callout { padding: 18px; border: 1px solid #f0d7a5; border-radius: 12px; background: #fffbef; }
.t123-sft-page .t123-sft-callout h3 { margin: 0 0 7px; color: #6f410a; font-size: 1rem; }
.t123-sft-page .t123-sft-callout p { margin: 0; color: #61491f; font-size: .87rem; }
.t123-sft-page .t123-sft-callout--action { border-color: #bdd8ca; background: #effaf5; }
.t123-sft-page .t123-sft-callout--action h3 { color: #164e3b; }
.t123-sft-page .t123-sft-callout--action p { color: #315e50; }
.t123-sft-page .t123-sft-grid-wide { grid-column: 1 / -1; }
.t123-sft-page .t123-sft-ad { margin: 34px 0; }

.t123-sft-page .t123-sft-related { margin: 34px 0 0; }
.t123-sft-page .t123-sft-related h2 { margin-bottom: 14px; color: var(--sft-ink); }
.t123-sft-page .t123-sft-related-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.t123-sft-page .t123-sft-related-links a { display: flex; min-width: 0; padding: 16px; flex-direction: column; border: 1px solid #d5dfec; border-radius: 11px; background: #fff; }
.t123-sft-page .t123-sft-related-links a:hover { border-color: #8eacd4; background: #f7faff; text-decoration: none; }
.t123-sft-page .t123-sft-related-links strong { color: var(--sft-blue-dark); }
.t123-sft-page .t123-sft-related-links span { margin-top: 4px; color: #64748b; font-size: .78rem; line-height: 1.45; }

.t123-sft-page :is(a, button, input, select, [tabindex]):focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .t123-sft-page .t123-sft-calculator-layout { grid-template-columns: 1fr; }
  .t123-sft-page .t123-sft-result { position: static; }
  .t123-sft-page .t123-sft-related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .t123-sft-page .t123-sft-hero { padding: 28px 0 32px; }
  .t123-sft-page .t123-sft-content { padding-top: 16px; }
  .t123-sft-page .t123-sft-panel,
  .t123-sft-page .t123-sft-editorial,
  .t123-sft-page .t123-sft-simulator { padding: 18px 15px; border-radius: 13px; }
  .t123-sft-page .t123-sft-fieldset { padding: 15px 12px; }
  .t123-sft-page .t123-sft-field-grid,
  .t123-sft-page .t123-sft-editorial-grid,
  .t123-sft-page .t123-sft-related-links { grid-template-columns: 1fr; }
  .t123-sft-page .t123-sft-grid-wide { grid-column: auto; }
  .t123-sft-page .t123-sft-result-list > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .t123-sft-page .t123-sft-result-list dd { text-align: left; }
}

@media print {
  .t123-sft-page .t123-sft-hero,
  .t123-sft-page .t123-sft-jumps,
  .t123-sft-page .t123-sft-examples,
  .t123-sft-page .t123-sft-form,
  .t123-sft-page .t123-sft-ad { display: none !important; }
  .t123-sft-page .t123-sft-calculator-layout { display: block; }
  .t123-sft-page .t123-sft-result { position: static; box-shadow: none; break-inside: avoid; }
}
