/* Generated from src/components/BusinessNameGenerator.astro. */
.bng-tool {
    --bng-green: #087a53;
    --bng-green-soft: #ddf3e8;
    --bng-red: #b94736;
    --bng-red-soft: #ffe7e1;
    --bng-uncertain: #765600;
    --bng-uncertain-soft: #fff3c4;
    padding: 36px 0 64px;
    background: #fff;
  }

  .bng-tool__shell {
    width: min(1240px, calc(100% - 32px));
  }

  .bng-tool__intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
  }

  .bng-eyebrow {
    margin: 0 0 5px;
    color: var(--brand-blue-dark);
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .bng-tool__intro h1,
  .bng-results__head h2 {
    margin: 0;
    line-height: 1.12;
  }

  .bng-tool__intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .bng-tool__intro p:last-child {
    max-width: 660px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
  }

  .bng-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .bng-controls {
    padding: 20px;
    border-radius: 8px;
    background: var(--brand-ink);
    color: #fff;
  }

  .bng-controls form {
    display: grid;
    gap: 16px;
  }

  .bng-controls__fields {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 18px;
  }

  .bng-controls__secondary {
    display: grid;
    align-content: start;
    gap: 12px;
  }

  .bng-controls__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    align-items: start;
    gap: 12px;
  }

  .bng-field {
    display: grid;
    gap: 6px;
    color: rgb(255 255 255 / 82%);
    font-size: 0.82rem;
    font-weight: 760;
  }

  .bng-field input,
  .bng-field textarea,
  .bng-field select {
    width: 100%;
    min-width: 0;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 8px;
    background: rgb(255 255 255 / 9%);
    color: #fff;
    padding: 10px 11px;
    font: inherit;
    font-size: 0.94rem;
    outline: none;
  }

  .bng-field textarea {
    min-height: 104px;
    resize: vertical;
  }

  .bng-field--brief textarea {
    height: 100%;
    min-height: 132px;
  }

  .bng-field select option {
    color: var(--ink);
  }

  .bng-field input:focus,
  .bng-field textarea:focus,
  .bng-field select:focus {
    border-color: var(--brand-yellow-soft);
    box-shadow: 0 0 0 3px rgb(255 177 0 / 18%);
  }

  .bng-field-grid,
  .bng-options__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bng-options {
    border: 1px solid rgb(255 255 255 / 13%);
    border-radius: 8px;
    padding: 11px;
  }

  .bng-options__title {
    margin: 0 0 10px;
    color: rgb(255 255 255 / 82%);
    font-size: 0.84rem;
    font-weight: 800;
  }

  .bng-options__body {
    padding: 0;
  }

  .bng-submit,
  .bng-results__actions button,
  .bng-status-tabs button,
  .bng-domain-toggle,
  .bng-alternatives button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .bng-submit {
    width: 100%;
    color: #24220f;
    background: var(--brand-yellow);
  }

  .bng-submit:disabled,
  .bng-results__actions button:disabled,
  .bng-domain-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.58;
  }

  .bng-results {
    min-width: 0;
  }

  .bng-results__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
  }

  .bng-results__head h2 {
    font-size: 1.6rem;
  }

  .bng-results__head p:last-child {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
  }

  .bng-results__actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .bng-sort select,
  .bng-more-tlds {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 0 10px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
  }

  .bng-results__actions button {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 13px;
  }

  .bng-notice {
    padding: 11px 13px;
    margin: 0 0 13px;
    border: 1px solid #f2c5bb;
    border-radius: 8px;
    background: var(--bng-red-soft);
    color: #7f291b;
    font-size: 0.86rem;
    font-weight: 700;
  }

  .bng-toolbar {
    display: grid;
    gap: 9px;
    margin-bottom: 13px;
  }

  .bng-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .bng-status-tabs button {
    min-height: 36px;
    background: #e9edf0;
    color: var(--muted);
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .bng-status-tabs button.is-active {
    color: var(--bng-green);
    background: var(--bng-green-soft);
  }

  .bng-status-tabs button[data-status="all"].is-active {
    color: var(--ink);
    background: #dde2e6;
  }

  .bng-status-tabs button[data-status="taken"].is-active {
    color: var(--bng-red);
    background: var(--bng-red-soft);
  }

  .bng-status-tabs button[data-status="uncertain"].is-active {
    color: var(--bng-uncertain);
    background: var(--bng-uncertain-soft);
  }

  .bng-tld-row,
  .bng-tld-picker {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .bng-tld-picker {
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .bng-tld {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    padding: 0 10px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 820;
    cursor: pointer;
  }

  .bng-tld small {
    min-width: 19px;
    min-height: 19px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #edf0f2;
    font-size: 0.68rem;
  }

  .bng-tld.is-active {
    border-color: rgb(8 122 83 / 32%);
    background: var(--bng-green-soft);
    color: var(--bng-green);
  }

  .bng-tld:disabled,
  .bng-more-tlds:disabled {
    border-color: #dfe3e6;
    background: #edf0f2;
    color: #8a9298;
    cursor: not-allowed;
    opacity: 0.72;
  }

  .bng-more-tlds {
    flex: 0 0 124px;
    min-height: 38px;
  }

  .bng-name-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 13px;
  }

  .bng-loading,
  .bng-validation-progress {
    grid-column: 1 / -1;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .bng-loading {
    min-height: 250px;
    display: grid;
    place-items: center;
    padding: 32px;
    text-align: center;
  }

  .bng-loading__content {
    max-width: 440px;
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .bng-loading__spinner {
    width: 46px;
    height: 46px;
    margin-bottom: 4px;
    border: 4px solid #dfe5e9;
    border-top-color: var(--brand-blue-dark);
    border-radius: 50%;
    animation: bng-spin 0.85s linear infinite;
  }

  .bng-loading strong {
    font-size: 1.08rem;
  }

  .bng-loading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .bng-validation-progress {
    display: grid;
    gap: 8px;
    padding: 13px 15px;
  }

  .bng-validation-progress__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
  }

  .bng-validation-progress__head span {
    color: var(--muted);
    font-weight: 750;
  }

  .bng-validation-progress__track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eaed;
  }

  .bng-validation-progress__bar {
    height: 100%;
    border-radius: inherit;
    background: var(--brand-yellow);
    transition: width 180ms ease;
  }

  @keyframes bng-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .bng-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 1px 0 rgb(37 46 52 / 4%);
  }

  .bng-card--expanded {
    grid-column: 1 / -1;
    border-color: rgb(8 122 83 / 38%);
  }

  .bng-card__head,
  .bng-card__footer,
  .bng-card__actions,
  .bng-expanded__head,
  .bng-mini-stats,
  .bng-domain-chips,
  .bng-alternatives {
    display: flex;
    align-items: center;
  }

  .bng-card__head {
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .bng-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .bng-card__reason {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .bng-score {
    flex: 0 0 auto;
    min-width: 36px;
    min-height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e5ebff;
    color: #2f55bc;
    font-size: 0.8rem;
    font-weight: 850;
  }

  .bng-domain-action,
  .bng-primary-status {
    min-width: 0;
    min-height: 46px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgb(8 122 83 / 28%);
    border-radius: 8px;
    padding: 0 11px;
    background: #f3faf6;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
  }

  a.bng-domain-action:hover,
  a.bng-domain-action:focus-visible {
    border-color: var(--bng-green);
    background: #e9f6ef;
    color: var(--ink);
    outline: 2px solid rgb(8 122 83 / 18%);
    outline-offset: 2px;
  }

  .bng-domain-action__name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .bng-domain-action__label {
    color: #065a3f;
    white-space: nowrap;
  }

  .bng-domain-action__label--stacked {
    display: grid;
    justify-items: end;
    gap: 2px;
    line-height: 1;
  }

  .bng-domain-action__status {
    font-size: 0.7rem;
  }

  .bng-domain-action__cta {
    font-size: 0.64rem;
    opacity: 0.82;
  }

  .bng-primary-status {
    border-color: var(--line);
    background: #edf0f2;
    color: var(--muted);
  }

  .bng-domain-action--uncertain {
    border-color: rgb(118 86 0 / 25%);
    background: var(--bng-uncertain-soft);
    color: var(--bng-uncertain);
  }

  .bng-domain-action--uncertain .bng-domain-action__label {
    color: var(--bng-uncertain);
  }

  a.bng-domain-action--uncertain:hover,
  a.bng-domain-action--uncertain:focus-visible {
    border-color: var(--bng-uncertain);
    background: #ffeaa1;
    color: var(--bng-uncertain);
    outline-color: rgb(118 86 0 / 20%);
  }

  .bng-domain-action--taken {
    border-color: rgb(185 71 54 / 18%);
    background: var(--bng-red-soft);
    color: var(--bng-red);
  }

  .bng-domain-action--taken .bng-domain-action__label {
    color: var(--bng-red);
  }

  a.bng-domain-action--taken:hover,
  a.bng-domain-action--taken:focus-visible {
    border-color: var(--bng-red);
    background: #ffd9d0;
    color: var(--bng-red);
    outline-color: rgb(185 71 54 / 20%);
  }

  .bng-open-summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 11px;
    background: var(--bng-green-soft);
    color: var(--bng-green);
    font-size: 0.84rem;
    font-weight: 820;
  }

  .bng-domain-chips,
  .bng-mini-stats,
  .bng-alternatives {
    flex-wrap: wrap;
    gap: 7px;
  }

  .bng-domain-action--chip {
    min-height: 30px;
    display: inline-flex;
    width: auto;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .bng-domain-action--chip .bng-domain-action__label {
    display: none;
  }

  .bng-card__footer {
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
  }

  .bng-mini-stats span,
  .bng-mini-stats button {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 8px;
    border: 0;
    background: #edf0f2;
    color: var(--muted);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .bng-mini-stats button {
    cursor: pointer;
  }

  .bng-mini-stats button:hover,
  .bng-mini-stats button:focus-visible {
    box-shadow: 0 0 0 2px rgb(47 85 188 / 24%);
    outline: none;
  }

  .bng-mini-stats button[aria-expanded="true"] {
    box-shadow: inset 0 0 0 1px currentColor;
  }

  .bng-mini-stats__open {
    background: var(--bng-green-soft) !important;
    color: var(--bng-green) !important;
  }

  .bng-mini-stats__uncertain {
    background: var(--bng-uncertain-soft) !important;
    color: var(--bng-uncertain) !important;
  }

  .bng-card__actions {
    flex: 0 0 auto;
    gap: 7px;
  }

  .bng-domain-toggle {
    min-height: 36px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .bng-domain-toggle[aria-expanded="true"] {
    border-color: var(--brand-ink);
    background: var(--brand-ink);
    color: #fff;
  }

  .bng-expanded {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .bng-expanded__head {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }

  .bng-expanded__head span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .bng-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 7px;
  }

  .bng-domain-grid .bng-domain-action {
    min-height: 42px;
  }

  .bng-empty {
    grid-column: 1 / -1;
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
  }

  .bng-alternatives {
    justify-content: center;
  }

  .bng-alternatives button {
    min-height: 36px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .bng-affiliate-disclosure {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.75rem;
  }

  @media (max-width: 840px) {
    .bng-tool {
      padding-top: 24px;
    }

    .bng-tool__intro {
      align-items: flex-start;
    }

    .bng-controls__fields {
      grid-template-columns: 1fr;
    }

    .bng-field--brief textarea {
      min-height: 116px;
    }
  }

  @media (max-width: 620px) {
    .bng-tool__intro,
    .bng-results__head,
    .bng-card__footer {
      align-items: stretch;
      flex-direction: column;
    }

    .bng-tool__intro h1 {
      font-size: 2rem;
    }

    .bng-controls {
      padding: 16px;
    }

    .bng-controls__actions {
      grid-template-columns: 1fr;
    }

    .bng-results__actions {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .bng-sort select {
      width: 100%;
    }

    .bng-toolbar {
      position: sticky;
      top: 72px;
      z-index: 4;
      margin: 0 -16px 13px;
      padding: 10px 16px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: rgb(255 255 255 / 96%);
      backdrop-filter: blur(9px);
    }

    .bng-status-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bng-tld-row {
      min-width: 0;
      margin-right: -16px;
      overflow: hidden;
    }

    .bng-more-tlds {
      margin-right: 16px;
    }

    .bng-name-list {
      grid-template-columns: 1fr;
    }

    .bng-card {
      padding: 14px;
    }

    .bng-card__reason {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .bng-card__actions {
      width: 100%;
    }

    .bng-domain-toggle {
      flex: 1;
    }

    .bng-domain-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 420px) {
    .bng-field-grid,
    .bng-options__body {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .bng-loading__spinner {
      animation: none;
      border-color: #dfe5e9;
      border-top-color: var(--brand-blue-dark);
    }

    .bng-validation-progress__bar {
      transition: none;
    }
  }

/* HowToStartAnLLC host isolation and brand mapping. */
.content-body .bng-tool {
  --brand-blue-dark: #217d72;
  --brand-ink: #264653;
  --brand-yellow: #f4a261;
  --brand-yellow-soft: #fef0e4;
  --ink: #212529;
  --muted: #595959;
  --line: #d8dee2;
  --surface: #ffffff;
  --bng-green: #217d72;
  --bng-green-soft: #e4f2f0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  font-family: "Work Sans", system-ui, sans-serif;
}

.content-body .bng-tool,
.content-body .bng-tool *,
.content-body .bng-tool *::before,
.content-body .bng-tool *::after {
  box-sizing: border-box;
}

.content-body .bng-tool__shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.content-body .bng-tool .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.content-body .bng-tool h1,
.content-body .bng-tool h2,
.content-body .bng-tool h3,
.content-body .bng-tool h4 {
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  color: inherit;
}

.content-body .bng-tool .bng-tool__intro h1 {
  width: auto;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  color: inherit;
  text-align: left;
}

.content-body .bng-tool p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.content-body .bng-tool .bng-eyebrow {
  margin: 0 0 5px !important;
  color: var(--brand-blue-dark);
}

.content-body .bng-tool .bng-tool__intro p:last-child {
  margin: 10px 0 0 !important;
  color: var(--muted);
}

.content-body .bng-tool .bng-options__title {
  margin: 0 0 10px !important;
}

.content-body .bng-tool .bng-results__head p:last-child,
.content-body .bng-tool .bng-card__reason {
  margin: 5px 0 0 !important;
  color: var(--muted);
}

.content-body .bng-tool .bng-notice {
  margin: 0 0 13px !important;
  color: #7f291b;
}

.content-body .bng-tool .bng-loading p,
.content-body .bng-tool .bng-expanded__head span,
.content-body .bng-tool .bng-affiliate-disclosure {
  color: var(--muted);
}

.content-body .bng-tool .bng-affiliate-disclosure {
  margin: 18px 0 0 !important;
}

.content-body .bng-tool button,
.content-body .bng-tool input,
.content-body .bng-tool select,
.content-body .bng-tool textarea {
  margin-bottom: 0;
}

.content-body .bng-tool a.bng-domain-action,
.content-body .bng-tool a.bng-domain-action:visited {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.content-body .bng-tool a.bng-domain-action--uncertain,
.content-body .bng-tool a.bng-domain-action--uncertain:visited {
  color: var(--bng-uncertain);
}

.content-body .bng-tool a.bng-domain-action--taken,
.content-body .bng-tool a.bng-domain-action--taken:visited {
  color: var(--bng-red);
}

.content-body .bng-name-ideas-section {
  width: 100%;
  max-width: 750px;
  margin-right: auto;
  margin-left: auto;
}

.content-body .bng-name-ideas-section > .row {
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 767px) {
  .content-body .bng-name-ideas-section > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .content-body .bng-name-ideas-section > .row > .col {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
}

