/* Scoped to the new onboarding forms; reuse existing modal, table and button shells. */
[data-flow-form] { display: grid; gap: 14px; min-width: 0; }
[data-flow-form] p { margin: 0; color: #65738c; line-height: 1.7; }
[data-flow-form] label { display: grid; gap: 7px; color: #455574; min-width: 0; }
[data-flow-form] input, [data-flow-form] select, [data-flow-form] textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #dce3f0;
  border-radius: 9px; background: #fff; color: #26334c; font: inherit;
}
/* Compact controls are 36px high; native selects need the full inner height for text. */
[data-flow-form] select { padding-block: 0; }
[data-flow-form] textarea { resize: vertical; min-height: 100px; }
[data-flow-form] input:focus, [data-flow-form] select:focus, [data-flow-form] textarea:focus {
  outline: 2px solid #e3e7ff; border-color: #6675ff;
}
[data-flow-form] [data-guardian-fields]:not([hidden]) { display: grid; gap: 14px; }
[data-flow-form] [data-flow-error] { color: #c93232; padding: 10px; background: #fff1f0; border-radius: 8px; }
[data-flow-form] button { border: 1px solid #dce3f0; border-radius: 8px; padding: 8px 12px; color: #4e64e8; background: #fff; cursor: pointer; }
[data-flow-form] button:disabled { opacity: .6; cursor: wait; }
[data-flow-form] .student-error-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-bottom: 1px solid #edf0f5; padding: 10px 0; }
[data-flow-form] .student-error-row > div { flex: 1 1 200px; overflow-wrap: anywhere; }
[data-flow-form] .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
@media (max-width: 600px) { [data-flow-form] .form-grid { grid-template-columns: 1fr; } }
#inviteRegister { border: 0; background: transparent; color: #566bff; cursor: pointer; font: inherit; }
