  :root {
    --navy: #002f87;
    --indigo: #003aa8;
    --indigo-dark: #002f87;
    --indigo-tint: #eef0fb;
    --input-bg: #f3f4f6;
    --input-border: #e3e5ea;
    --text-dark: #1f2330;
    --text-label: #4b5366;
    --placeholder: #9aa0ad;
    --warn-bg: #fffbeb;
    --warn-border: #f0c040;
    --warn-text: #7c5e10;
    --success-bg: #f0fdf4;
    --success-border: #86efac;
    --success-text: #166534;
  }

  * { box-sizing: border-box; }

.contentArea {
min-height: 225px;
}

p.sectionTitle {
color: #e11e18;
}
span.fileerror {
color: #e11e18;
font-weight: 600;
}
p.trackingID {
display: block;
width: 75%;
font-family: "RobotoB", sans-serif;
font-size: 1.1em;
color: #003aa8;
text-decoration: none;
font-weight: 400;
text-align: center;
padding: 6px;
margin: 10px auto;
background-color: #f2f2f2;
border: #003aa8 1px solid;
}

  .card {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 30px -15px rgba(31, 35, 48, 0.28);
    overflow: hidden;
  }

  .card-header {
    background: var(--navy);
    color: #fff;
    padding: 20px;
  }

  .card-header .dept-label {
    margin: 0 0 8px;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
  }
  .card-header .subtitle {
    margin: 0;
    font-size: .95em;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 580px;
  }
  .legal-banner {
    font-size: .95em;
    color: rgba(255,255,255,0.9);
    line-height: 1.55;
  }

  .legal-banner strong { color: #fff; }

  form { padding: 8px 44px 40px; }

  section.group {
    padding: 26px 0;
    border-bottom: 1px solid #eef0f4;
  }

  section.group:last-of-type { border-bottom: none; }

  section.group h2 {
    margin: 0 0 6px;
    font-family: "RobotoB", sans-serif;
    font-size: 1em;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
  }

  .section-note {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--text-label);
    line-height: 1.55;
  }

  .optional-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #e8eaf6;
    color: var(--indigo-dark);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
  }

  .required-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
  }

  .field { margin-bottom: 16px; }
  .field:last-child { margin-bottom: 0; }

  .field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-label);
    margin-bottom: 7px;
  }

  .field input[type="text"],
  .field input[type="tel"],
  .field input[type="email"],
  .field input[type="date"],
  .field select,
  .field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-dark);
    appearance: none;
    -webkit-appearance: none;
  }

  .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa0ad' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }

  .field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
  }

  .field input::placeholder,
  .field textarea::placeholder { color: var(--placeholder); }

  .field input:focus-visible,
  .field select:focus-visible,
  .field textarea:focus-visible {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(70, 85, 232, 0.15);
  }

  .row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .field-note {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-label);
    line-height: 1.5;
  }

  .warn-box {
    background: var(--warn-bg);
    border: 1px solid var(--warn-border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--warn-text);
    line-height: 1.6;
    margin-top: 16px;
  }

  .warn-box strong { color: #92400e; }

  .warn-box a {
    color: var(--indigo-dark);
    font-weight: 600;
  }

  .warn-box[hidden] { display: none; }

  .radio-question > label.q-label {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
  }

  .radio-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
  }

  .radio-row.stacked {
    flex-direction: column;
    gap: 10px;
  }

  .radio-row label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
  }

  input[type="radio"], input[type="checkbox"] {
    accent-color: var(--indigo);
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .conditional {
    margin-top: 16px;
    padding: 16px 18px;
    border-left: 3px solid var(--indigo-tint);
    background: #fafbff;
    border-radius: 0 8px 8px 0;
  }

  .conditional[hidden] { display: none; }

  /* Anonymous toggle */
  .anon-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--indigo-tint);
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
  }

  .anon-toggle-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .anon-toggle-wrap span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
  }

  .anon-note {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-label);
    display: block;
    margin-top: 2px;
  }

  /* Contact method cards */
  .contact-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  .contact-method-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
  }

  .contact-method-grid label:has(input:checked) {
    border-color: var(--indigo);
    background: var(--indigo-tint);
  }

  /* Fee schedule */
  .fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin: 14px 0 0;
  }

  .fee-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-label);
    padding: 0 12px 8px 0;
    border-bottom: 1px solid var(--input-border);
  }

  .fee-table td {
    padding: 9px 12px 9px 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-dark);
    line-height: 1.5;
    vertical-align: top;
    white-space: normal;
    word-wrap: break-word;
  }

  .fee-table td:first-child { width: 30%; font-weight: 600; }
  .fee-table td:last-child { width: 70%; }

  .fee-table tr:last-child td { border-bottom: none; }

  .acknowledgment {
    background: var(--indigo-tint);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 26px 0 8px;
  }

  .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
  }

  .checkbox-row input { margin-top: 3px; flex-shrink: 0; }

  .checkbox-row span {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-label);
  }

  .note {
    font-size: 13px;
    color: var(--text-label);
    margin: 8px 0 16px;
    line-height: 1.6;
  }

  /* File upload */
  .file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px dashed var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-label);
    transition: border-color 0.15s;
  }

  .file-upload-label:hover { border-color: var(--indigo); }

  .file-upload-label svg { flex-shrink: 0; }

  .file-upload-label input[type="file"] { display: none; }

  .submit-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: var(--indigo);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-top: 18px;
  }

  .submit-btn:hover { background: var(--indigo-dark); }
  .submit-btn:disabled { background: #a7afe8; cursor: default; }

  .submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 85, 232, 0.3);
  }

  /* Success state */
  .success-card {
    display: none;
    padding: 48px 44px;
    text-align: center;
  }

  .success-card.visible { display: block; }

  .success-icon {
    width: 64px;
    height: 64px;
    background: var(--success-bg);
    border: 2px solid var(--success-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }

  .success-icon svg { color: #16a34a; }

  .success-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text-dark);
  }

  .success-card p {
    font-size: 14.5px;
    color: var(--text-label);
    line-height: 1.6;
    margin: 0 0 24px;
  }

  .tracking-box {
    display: inline-block;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 16px 28px;
    margin-bottom: 24px;
  }

  .tracking-box .tracking-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-label);
    margin-bottom: 6px;
  }

  .tracking-box .tracking-id {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
  }

  .tracking-note {
    font-size: 13px;
    color: var(--text-label);
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto;
  }

  @media (max-width: 540px) {
  .card {
    border-radius: 20px;
    box-shadow: none;
    border: #cccccc 1px solid;
  }
    .row-two, .contact-method-grid { grid-template-columns: 1fr; }
    .field { margin-bottom: 2px; }
    .card-header, form, .success-card { padding-left: 24px; padding-right: 24px; }
  }