.tenki-volunteer-container {
    max-width: 760px;
    margin: 32px auto 40px;
    padding: 0 16px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    isolation: isolate;
  }
  .tenki-volunteer-container *, .tenki-volunteer-container *::before,
  .tenki-volunteer-container *::after { box-sizing: border-box; }

  .tenki-vol-build-chip {
    display: none;
    position: absolute; top: -8px; right: 10px;
    background: #16a34a; color: #fff;
    font: 700 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
    padding: 4px 10px; border-radius: 4px; z-index: 50;
  }
  .tenki-volunteer-container.show-build .tenki-vol-build-chip { display: inline-block; }

  .tv-card {
    background: #ffffff;
    border-radius: 16px;
    border-top: 5px solid #005A9C;
    box-shadow: 0 10px 30px rgba(0, 36, 63, .08);
    padding: 34px 30px 28px;
  }

  .tv-logo-box { text-align: center; margin-bottom: 18px; }
  .tv-logo-box img { max-width: 180px; width: 60%; height: auto; }

  .tv-eyebrow {
    font-size: 11px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: #005A9C;
    text-align: center; margin: 0 0 6px;
  }
  .tv-title {
    font-size: clamp(22px, 4.5vw, 30px); font-weight: 800; color: #00243f;
    text-align: center; margin: 0 0 10px; line-height: 1.25;
  }
  .tv-intro {
    font-size: 15px; color: #444; line-height: 1.6;
    text-align: center; margin: 0 auto 20px; max-width: 560px;
  }

  .tv-crosslink {
    background: #f0f7ee; border: 1px solid #cde5c8; border-radius: 10px;
    padding: 12px 16px; margin: 0 0 20px;
    font-size: 14px; line-height: 1.5; color: #1d4e2a; text-align: center;
  }
  .tv-crosslink a { color: #008C45; font-weight: 700; }

  .tv-form { display: block; }
  .tv-field { margin-bottom: 16px; }
  .tv-field label {
    display: block; font-size: 13px; font-weight: 700; color: #00243f;
    margin-bottom: 5px;
  }
  .tv-field .tv-req { color: #c2410c; }
  .tv-field input[type="text"], .tv-field input[type="email"],
  .tv-field input[type="tel"], .tv-field textarea, .tv-field select {
    width: 100%; min-height: 44px;
    padding: 10px 12px;
    font-size: 15px; font-family: inherit; color: #1a1a1a;
    background: #fbfdff;
    border: 1.5px solid #d4dee8; border-radius: 9px;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .tv-field textarea { min-height: 96px; resize: vertical; }
  .tv-field input:focus, .tv-field textarea:focus, .tv-field select:focus {
    outline: none; border-color: #005A9C;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, .15);
  }
  .tv-field input.tv-invalid, .tv-field textarea.tv-invalid {
    border-color: #dc2626;
  }
  .tv-field-err {
    display: none; font-size: 12.5px; color: #dc2626; margin-top: 4px;
  }
  .tv-field-err.show { display: block; }

  /* Role checkbox group — big touch targets, single column on phones */
  .tv-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tv-role {
    display: flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 8px 12px;
    border: 1.5px solid #d4dee8; border-radius: 9px;
    background: #fbfdff; cursor: pointer;
    font-size: 14px; color: #1a1a1a; font-weight: 500;
  }
  .tv-role input { width: 18px; height: 18px; accent-color: #005A9C; flex: 0 0 auto; }
  .tv-role:has(input:checked) { border-color: #005A9C; background: #eef6fd; }

  .tv-optin {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; color: #444; line-height: 1.5;
    margin: 2px 0 18px; cursor: pointer;
  }
  .tv-optin input { width: 18px; height: 18px; margin-top: 1px; accent-color: #005A9C; flex: 0 0 auto; }

  /* Honeypot — visually gone, still in the DOM for bots to find */
  .tv-hp { position: absolute !important; left: -9999px !important;
           width: 1px; height: 1px; overflow: hidden; }

  .tv-submit {
    display: block; width: 100%;
    min-height: 50px; padding: 13px 26px;
    background: #005A9C; color: #fff;
    font-size: 16px; font-weight: 800; font-family: inherit;
    border: 0; border-radius: 10px; cursor: pointer;
    transition: background .15s ease, transform .1s ease;
  }
  .tv-submit:hover:not(:disabled) { background: #004a80; transform: translateY(-1px); }
  .tv-submit:disabled { opacity: .6; cursor: wait; }

  .tv-result {
    border-radius: 10px; padding: 16px 18px; margin: 4px 0 12px;
    font-size: 15px; line-height: 1.55;
  }
  .tv-result.ok  { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-weight: 600; }
  .tv-result.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
  .tv-result.err a { color: #b91c1c; font-weight: 700; }

  .tv-privacy {
    font-size: 12.5px; color: #6b7280; text-align: center;
    margin: 12px 0 4px; line-height: 1.5;
  }
  .tv-trust {
    font-size: 12px; color: #8a97a5; text-align: center;
    margin: 6px 0 0; line-height: 1.6;
    border-top: 1px solid #eef2f6; padding-top: 14px;
  }
  .tv-trust a { color: #005A9C; text-decoration: none; font-weight: 600; }

  @media (max-width: 600px) {
    .tenki-volunteer-container { margin-top: 18px; }
    .tv-card { padding: 26px 18px 22px; }
    .tv-roles { grid-template-columns: 1fr; }
  }