/* Tenebris account operations. Shared component system for all native MyAAC account flows.
   No external assets or dependencies; compatible with existing top menu and three-column shell. */
.tn-inner-content .tn-account-flow {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #d6e0eb;
  font-size: 13px;
  line-height: 1.6;
}
.tn-inner-content .tn-account-flow > :first-child { margin-top: 0; }
.tn-inner-content .tn-account-flow *,
.tn-inner-content .tn-account-flow *::before,
.tn-inner-content .tn-account-flow *::after { box-sizing: border-box; }
.tn-inner-content .tn-flow-lead {
  max-width: 65ch;
  margin: 0 0 20px;
  line-height: 1.7;
  font-size: 13px;
  color: #b9c8da;
}
.tn-inner-content .tn-flow-form { display: grid; min-width: 0; gap: 14px; }
.tn-inner-content .tn-flow-card {
  display: grid;
  gap: 17px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #3b4e67;
  border-radius: 5px;
  background: linear-gradient(130deg, #17273c, #121e31);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.tn-inner-content .tn-flow-card-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  margin: 0 0 1px;
  padding: 0 0 11px;
  border-bottom: 1px solid #40516a;
}
.tn-inner-content .tn-flow-card-heading > span {
  flex: none;
  font: 700 10px/1.4 system-ui, sans-serif;
  letter-spacing: .095em;
  color: #c9a66b;
}
.tn-inner-content .tn-flow-card-heading h2 {
  min-width: 0;
  margin: 0;
  color: #f0d095;
  font: normal 20px/1.3 Georgia, "Times New Roman", serif;
}
.tn-inner-content .tn-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-items: start;
  gap: 18px 16px;
  min-width: 0;
}
.tn-inner-content .tn-flow-field { display: grid; gap: 7px; min-width: 0; }
.tn-inner-content .tn-flow-field > label,
.tn-inner-content .tn-flow-choice-field legend {
  display: block;
  float: none;
  width: auto !important;
  margin: 0;
  padding: 0;
  color: #d7bd8c;
  font: 600 12px/1.45 system-ui, Arial, sans-serif;
}
.tn-inner-content .tn-flow-field input:not([type=checkbox]):not([type=radio]),
.tn-inner-content .tn-flow-field select,
.tn-inner-content .tn-flow-field textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #4a5b75;
  border-radius: 4px;
  background: #0a1525;
  box-shadow: none;
  color: #e9f0f9;
  font: normal 13px/1.45 system-ui, Arial, sans-serif;
}
.tn-inner-content .tn-flow-field input:focus,
.tn-inner-content .tn-flow-field select:focus,
.tn-inner-content .tn-flow-field textarea:focus {
  border-color: #d4ac6d;
  outline: 2px solid rgba(223,175,98,.19);
  outline-offset: 1px;
}
.tn-inner-content .tn-flow-field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}
.tn-inner-content .tn-flow-field input::placeholder,
.tn-inner-content .tn-flow-field textarea::placeholder { color: #788da6; opacity: 1; }
.tn-inner-content .tn-flow-field > small { display: block; font-size: 11px; color: #99acc2; }
.tn-inner-content .tn-flow-validation {
  display: flex; align-items: center; gap: 7px;
  min-height: 13px; color: #c1cad6; font-size: 11px; line-height: 1.45;
}
.tn-inner-content .tn-flow-validation:empty { display: none; }
.tn-inner-content .tn-flow-validation img { width: 12px; height: 12px; image-rendering: pixelated; }
.tn-inner-content .tn-flow-choice-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.tn-inner-content .tn-flow-choice-field legend {
  width: 100%;
  margin-bottom: 11px;
}
.tn-inner-content .tn-flow-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tn-inner-content .tn-flow-choices-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.tn-inner-content .tn-flow-choice {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 43px;
  padding: 10px 13px;
  border: 1px solid #415671;
  border-radius: 4px;
  background: #101e30;
  color: #d7e1eb;
  cursor: pointer;
  font: 500 13px/1.5 system-ui, Arial, sans-serif;
}
.tn-inner-content .tn-flow-choice:hover {
  border-color: #b49767;
  background: #22334b;
  color: #f5deb4;
}
.tn-inner-content .tn-flow-choice:has(input:checked) {
  border-color: #cb9d57;
  background: #2a374a;
  color: #f3d79f;
  box-shadow: inset 3px 0 #c8a166;
}
.tn-inner-content .tn-flow-choice input,
.tn-inner-content .tn-flow-check input {
  flex: none;
  appearance: auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #d4ae71;
}
.tn-inner-content .tn-flow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  flex-wrap: wrap;
  margin: 2px 0 0;
  padding: 17px 0 1px;
  border-top: 1px solid #3c4d65;
}
.tn-inner-content .tn-flow-primary,
.tn-inner-content .tn-flow-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 132px;
  min-height: 39px;
  padding: 9px 16px;
  border-radius: 4px;
  font: 700 12px/1.35 system-ui, Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: normal;
  text-align: center;
}
.tn-inner-content .tn-flow-primary {
  border: 1px solid #f1c77a;
  background: linear-gradient(#e2bd72,#b78944);
  color: #131b28;
}
.tn-inner-content .tn-flow-primary:hover { background: #f1d08e; color: #0f1826; }
.tn-inner-content .tn-flow-secondary {
  border: 1px solid #51617a;
  background: #18273a;
  color: #d9e4ef !important;
}
.tn-inner-content .tn-flow-secondary:hover { border-color: #b8955c; color: #f3d69b !important; background: #24364c; }
.tn-inner-content .tn-flow-danger-button { color: #fff5ee; background: #9f483f; border-color: #d57968; }
.tn-inner-content .tn-flow-danger-button:hover { background: #bf5b50; color: #fff; }
.tn-inner-content .tn-flow-hint,
.tn-inner-content .tn-flow-notice,
.tn-inner-content .tn-flow-alert {
  padding: 12px 14px;
  border: 1px solid #465870;
  border-left: 3px solid #b99863;
  border-radius: 3px;
  background: #1a2a3f;
  color: #c9d5e1;
  font-size: 12px;
  line-height: 1.65;
}
.tn-inner-content .tn-flow-hint a { color: #edcb90; }
.tn-inner-content .tn-flow-alert { margin: 0; }
.tn-inner-content .tn-flow-warning { background: #282a32; border-color: #60513e; border-left-color: #d9a85d; }
.tn-inner-content .tn-flow-danger { background: #32232b; border-color: #6b4145; border-left-color: #c76766; }
.tn-inner-content .tn-flow-alert strong,
.tn-inner-content .tn-flow-notice strong { color: #f0d19b; }
.tn-inner-content .tn-flow-country { max-width: 100%; }
.tn-inner-content .tn-flow-country-input { display: flex; align-items: center; gap: 10px; }
.tn-inner-content .tn-flow-country-input select { flex: 1; width: auto; }
.tn-inner-content .tn-flow-country-input img { flex: none; object-fit: contain; image-rendering: pixelated; }
.tn-inner-content .tn-flow-identity {
  display: flex; flex-wrap: wrap; gap: 7px 18px;
  align-items: baseline; padding: 13px 15px;
  border: 1px solid #3e5068; border-radius: 4px; background: #101e31;
}
.tn-inner-content .tn-flow-identity > span { color: #9eafc6; font-size: 12px; }
.tn-inner-content .tn-flow-identity strong { color: #f0d398; font: 18px/1.4 Georgia,serif; }
.tn-inner-content .tn-flow-check {
  display: flex; align-items: flex-start; gap: 11px;
  margin: 0; padding: 14px;
  border: 1px solid #41516a; border-radius: 4px;
  background: #111f33; cursor: pointer;
}
.tn-inner-content .tn-flow-check input { margin-top: 3px; }
.tn-inner-content .tn-flow-check span { display: grid; gap: 4px; }
.tn-inner-content .tn-flow-check strong { color: #efd19c; font-size: 12px; }
.tn-inner-content .tn-flow-check small { color: #abbbcd; font-size: 11px; line-height: 1.6; }
@media (max-width: 640px) {
  .tn-inner-content .tn-flow-card { padding: 16px; }
  .tn-inner-content .tn-flow-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .tn-inner-content .tn-flow-choices-grid { grid-template-columns: minmax(0,1fr); }
  .tn-inner-content .tn-flow-card-heading h2 { font-size: 19px; }
}
@media (max-width: 390px) {
  .tn-inner-content .tn-flow-actions > * { width: 100%; }
  .tn-inner-content .tn-flow-choice { flex: 1 1 100%; }
}
