:root {
  color-scheme: light;
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: #3d4246;
  background: #fff;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; }
a { color: #315c7a; text-underline-offset: 3px; }
a:hover { color: #1f1f1f; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #557b97;
  outline-offset: 3px;
}
.tx-header { border-bottom: 1px solid #e8e9eb; padding: 24px 32px; }
.tx-header-inner { max-width: 1100px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.tx-logo { display: block; width: 180px; height: auto; }
.tx-support { font-size: 15px; }
.tx-main { width: 100%; max-width: 800px; margin: 0 auto; padding: 48px 32px 64px; flex: 1; overflow-wrap: anywhere; }
.tx-eyebrow { color: #557b97; font-size: 14px; font-weight: 600; margin: 0 0 10px; }
h1 { margin: 0 0 36px; color: #1f1f1f; font-size: 30px; font-weight: 600; line-height: 1.25; }
.tx-form-section { min-width: 0; border: 0; border-bottom: 1px solid #e8e9eb; padding: 0 0 28px; margin: 0 0 28px; }
legend { padding: 0; margin-bottom: 20px; color: #1f1f1f; font-size: 18px; font-weight: 600; }
.tx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.tx-field { min-width: 0; }
.tx-field-wide { grid-column: 1 / -1; }
label { display: block; color: #30363a; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
input, textarea, select, button { font: inherit; letter-spacing: 0; }
input:not([type="hidden"]), textarea, select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #b8c0c6;
  border-radius: 4px;
  background: #fff;
  color: #30363a;
  padding: 10px 12px;
  line-height: 1.4;
}
select { padding-right: 28px; }
textarea { min-height: 132px; resize: vertical; }
.tx-key { font-family: Consolas, "Courier New", monospace; }
.tx-hint, .tx-section-note { margin: 7px 0 0; color: #5e6367; font-size: 14px; }
.tx-section-note { margin: 0 0 20px; }
.tx-field-error { margin: 7px 0 0; color: #a52c2c; font-size: 14px; }
[aria-invalid="true"] { border-color: #b84242 !important; }
.tx-error-summary { border-left: 3px solid #b84242; padding: 0 0 0 18px; margin-bottom: 32px; }
.tx-error-summary h2 { font-size: 20px; line-height: 1.3; margin: 0 0 12px; color: #1f1f1f; }
.tx-error-summary ul { margin: 0; padding-left: 20px; }
.tx-error-summary li + li { margin-top: 6px; }
.tx-error-summary a { color: #a52c2c; }
.tx-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 4px; }
.tx-submit { width: 252px; max-width: 100%; min-height: 46px; padding: 11px 22px; border: 1px solid #315c7a; border-radius: 4px; background: #315c7a; color: #fff; font-weight: 600; cursor: pointer; }
.tx-submit:hover { background: #24465f; border-color: #24465f; }
.tx-submit:disabled { opacity: .65; cursor: wait; }
.tx-footer { background: #f5f5f5; padding: 28px 32px; font-size: 14px; }
.tx-footer-inner { max-width: 1100px; margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.tx-footer p { margin: 0; }
[hidden] { display: none !important; }
.tx-skip { position: absolute; top: 8px; left: 12px; background: #fff; padding: 8px 12px; transform: translateY(-180%); z-index: 1; }
.tx-skip:focus { transform: none; }
@media (max-width: 600px) {
  .tx-header { padding: 20px; }
  .tx-header-inner { gap: 16px; }
  .tx-logo { width: 155px; }
  .tx-main { padding: 32px 20px 44px; }
  h1 { font-size: 26px; margin-bottom: 28px; }
  .tx-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tx-form-section { padding-bottom: 24px; margin-bottom: 24px; }
  .tx-footer { padding: 24px 20px; }
}
