.ai3d-account {
  --ai3d-ink: #193148;
  --ai3d-muted: #667b8b;
  --ai3d-border: #e5edf2;
  --ai3d-mint: #13a98f;
  box-sizing: border-box;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  color: var(--ai3d-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
.ai3d-account *, .ai3d-account *::before, .ai3d-account *::after { box-sizing: border-box; }
.ai3d-account h2, .ai3d-account h3, .ai3d-account p { margin: 0; }
.ai3d-account h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.18; letter-spacing: -.035em; }
.ai3d-account h3 { color: var(--ai3d-ink); font-size: 20px; line-height: 1.25; letter-spacing: -.025em; margin-top: 4px; }
.ai3d-account-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 22px;
  padding: 30px 32px; border-radius: 20px;
  background: radial-gradient(circle at 88% 18%, rgba(71,209,187,.28), transparent 34%), linear-gradient(115deg, #172f47 0%, #0f4561 100%);
  color: #e4f4f4; box-shadow: 0 12px 32px rgba(12,42,60,.12);
}
.ai3d-account-hero p { margin-top: 8px; overflow-wrap: anywhere; opacity: .87; }
.ai3d-account-kicker { display: inline-block; color: #138d82; font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1.4; }
.ai3d-account-hero .ai3d-account-kicker { color: #86ebd8; margin-bottom: 7px; }
.ai3d-account-pill { display: inline-flex; flex-shrink: 0; align-items: center; gap: 5px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 700; }
.ai3d-account-alert { margin: 16px 0 0 !important; padding: 12px 15px; border-radius: 10px; border: 1px solid #b8e7dd; background: #edfbf8; color: #176555; }
.ai3d-account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 17px 0; }
.ai3d-account-stat, .ai3d-account-card { border: 1px solid var(--ai3d-border); background: #fff; box-shadow: 0 7px 24px rgba(25,49,72,.045); }
.ai3d-account-stat { min-width: 0; border-radius: 15px; padding: 18px 21px; }
.ai3d-account-stat > span, .ai3d-account-stat > small { display: block; color: var(--ai3d-muted); }
.ai3d-account-stat > span { font-size: 13px; font-weight: 700; }
.ai3d-account-stat strong { display: block; color: var(--ai3d-ink); font-size: 30px; line-height: 1.25; margin: 5px 0 3px; font-variant-numeric: tabular-nums; }
.ai3d-account-stat > small { font-size: 12px; line-height: 1.35; }
.ai3d-account-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; gap: 14px; }
.ai3d-account-card { min-width: 0; border-radius: 17px; padding: 23px 24px; }
.ai3d-account-cardhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.ai3d-account-muted { color: var(--ai3d-muted); font-size: 13px; line-height: 1.5; }
.ai3d-account-rows { margin-top: 12px; }
.ai3d-account-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ai3d-border); }
.ai3d-account-row strong, .ai3d-account-row small { display: block; }
.ai3d-account-row strong { font-size: 14px; }
.ai3d-account-row small { font-size: 12px; color: var(--ai3d-muted); margin-top: 2px; }
.ai3d-account-row b { flex: none; color: #b85447; font-variant-numeric: tabular-nums; }
.ai3d-account-empty { padding: 18px 0 4px; color: var(--ai3d-muted); }
.ai3d-account-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 18px; }
.ai3d-account-actions p { flex-basis: 100%; }
.ai3d-account .ai3d-account-button, .ai3d-account .ai3d-account-button:visited {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  border: 1px solid #0b6e67; border-radius: 10px; padding: 9px 14px; background: #0b736b;
  color: #fff; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer;
  box-shadow: none; transition: background-color .18s, transform .18s;
}
.ai3d-account .ai3d-account-button:hover, .ai3d-account .ai3d-account-button:focus-visible { background: #085d57; color: #fff; transform: translateY(-1px); }
.ai3d-account .ai3d-account-button-light, .ai3d-account .ai3d-account-button-light:visited { color: #13635f; border-color: #cce8e3; background: #f1fbf9; }
.ai3d-account .ai3d-account-button-light:hover, .ai3d-account .ai3d-account-button-light:focus-visible { color: #084b47; background: #ddf5ef; }
.ai3d-account .ai3d-account-button:disabled { opacity: .54; cursor: not-allowed; transform: none; }
.ai3d-account-business { margin-top: 16px; }
.ai3d-account-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #08766b; background: #e6f8f3; font-weight: 800; }
.ai3d-account-domain-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; margin: 20px 0 0; }
.ai3d-account-domain-form label, .ai3d-account-key-result label { min-width: 0; color: var(--ai3d-ink); font-weight: 700; font-size: 13px; }
.ai3d-account-domain-form input, .ai3d-account-key-result input { display: block; width: 100%; min-height: 42px; margin: 6px 0; padding: 9px 12px; border: 1px solid #ccdce3; border-radius: 9px; background: #fff; color: var(--ai3d-ink); font: inherit; font-size: 14px; }
.ai3d-account-domain-form input:focus, .ai3d-account-key-result input:focus { outline: 2px solid #63cbbb; outline-offset: 1px; }
.ai3d-account-domain-form label small { display: block; color: var(--ai3d-muted); font-size: 12px; font-weight: 400; }
.ai3d-account-domain-form > button { justify-self: start; grid-column: 1 / -1; }
.ai3d-account-pending { margin-top: 15px !important; color: #845c1c; background: #fff8e8; border-radius: 9px; padding: 10px 12px; font-size: 13px; }
.ai3d-account-key { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 15px; align-items: center; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--ai3d-border); }
.ai3d-account-key > div:first-child strong { font-size: 15px; }
.ai3d-account-key-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai3d-account .ai3d-account-text-button { border: 0; background: none; color: #0c756a; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 6px 3px; }
.ai3d-account-key-result { display: flex; gap: 10px; align-items: end; grid-column: 1 / -1; }
.ai3d-account-key-result[hidden] { display: none; }
.ai3d-account-key-result label { flex: 1; }
.ai3d-account-key-message { grid-column: 1 / -1; color: #9c442f; font-size: 13px; }
.ai3d-account-key-message:empty { display: none; }
.ai3d-account-key > small { grid-column: 1 / -1; }
.ai3d-account-team-total { margin: 8px 0 16px !important; font-weight: 700; font-size: 14px; }
.ai3d-account-table-wrap { width: 100%; overflow-x: auto; }
.ai3d-account-table { width: 100%; border: 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ai3d-account-table th { color: var(--ai3d-muted); text-align: left; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--ai3d-border); padding: 10px 12px 10px 0; }
.ai3d-account-table td { border-bottom: 1px solid var(--ai3d-border); padding: 11px 12px 11px 0; font-size: 14px; }
.ai3d-account-table th:not(:first-child), .ai3d-account-table td:not(:first-child) { text-align: right; white-space: nowrap; }
.ai3d-account-table td small { display: block; color: var(--ai3d-muted); font-size: 12px; overflow-wrap: anywhere; }
.ai3d-account-team .ai3d-account-table { min-width: 700px; }
.ai3d-account-team .ai3d-account-table th:first-child { min-width: 200px; }
.ai3d-account-pages { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 15px 0; font-size: 13px; }
.ai3d-account-pages a { color: #0b736b; font-weight: 700; }
.ai3d-account-team > small { display: block; margin-top: 14px; }
.ai3d-account-member-search { margin: 19px 0 8px; }
.ai3d-account-member-search label { display: block; font-size: 13px; font-weight: 700; }
.ai3d-account-member-search > div { display: flex; align-items: center; gap: 9px; margin-top: 7px; }
.ai3d-account-member-search input { flex: 1; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1px solid #ccdce3; border-radius: 9px; background: #fff; color: var(--ai3d-ink); font: inherit; }
.ai3d-account-member-search input:focus { outline: 2px solid #63cbbb; outline-offset: 1px; }
.ai3d-account-member-list { margin-top: 5px; border-top: 1px solid var(--ai3d-border); }
.ai3d-account-member-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--ai3d-border); }
.ai3d-account-member-row strong, .ai3d-account-member-row small { display: block; }
.ai3d-account-member-row strong { font-size: 14px; }
.ai3d-account-member-row small { margin-top: 2px; color: var(--ai3d-muted); font-size: 12px; overflow-wrap: anywhere; }
.ai3d-account-member-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ai3d-account-blocked { padding: 5px 9px; border: 1px solid #f3d6c8; border-radius: 999px; background: #fff6f0; color: #9a4b32; font-size: 12px; font-weight: 700; }
.ai3d-account-limit-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
.ai3d-account-limit-form > label { display: block; color: var(--ai3d-ink); font-size: 13px; font-weight: 700; }
.ai3d-account-limit-form input[type="number"] { display: block; width: 170px; max-width: 100%; min-height: 42px; margin-top: 6px; padding: 9px 12px; border: 1px solid #ccdce3; border-radius: 9px; background: #fff; color: var(--ai3d-ink); font: inherit; }
.ai3d-account-limit-form input:focus-visible, .ai3d-account-member-limits summary:focus-visible { outline: 2px solid #63cbbb; outline-offset: 2px; }
.ai3d-account-limit-form > .ai3d-account-check { display: flex; align-items: center; gap: 8px; min-height: 42px; }
.ai3d-account-check input[type="checkbox"] { flex: none; width: 17px; height: 17px; margin: 0; accent-color: #0b736b; }
.ai3d-account-limit-help { margin-top: 14px !important; }
.ai3d-account-limit-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 15px 0; font-variant-numeric: tabular-nums; }
.ai3d-account-limit-stats > div { min-width: 90px; }
.ai3d-account-limit-stats dt { color: var(--ai3d-muted); font-size: 12px; }
.ai3d-account-limit-stats dd { margin: 2px 0 0; color: var(--ai3d-ink); font-size: 15px; font-weight: 700; }
.ai3d-account-member-entry { padding-bottom: 16px; border-bottom: 1px solid var(--ai3d-border); }
.ai3d-account-member-entry > .ai3d-account-member-row { border-bottom: 0; }
.ai3d-account-member-entry .ai3d-account-limit-stats { margin-top: 0; }
.ai3d-account-member-limits summary { display: list-item; width: fit-content; max-width: 100%; color: #0b736b; cursor: pointer; font-size: 13px; font-weight: 700; }
.ai3d-account-member-limits[open] { padding-bottom: 4px; }
.ai3d-account-deletion { margin-top: 16px; }
.ai3d-account-deletion p + p { margin-top: 9px; }
.ai3d-account-deletion form { margin-top: 16px; }
.ai3d-account-login { border: 1px solid var(--ai3d-border); border-radius: 15px; padding: 22px; background: #fff; }
.ai3d-account-login p { margin-bottom: 14px; }
@media (max-width: 740px) {
  .ai3d-account-hero { padding: 23px; flex-direction: column; }
  .ai3d-account-stats { grid-template-columns: 1fr 1fr; }
  .ai3d-account-stat:first-child { grid-column: 1 / -1; }
  .ai3d-account-grid, .ai3d-account-domain-form { grid-template-columns: 1fr; }
  .ai3d-account-domain-form > button { grid-column: 1; }
  .ai3d-account-key { grid-template-columns: 1fr; }
  .ai3d-account-member-row { align-items: flex-start; flex-direction: column; }
  .ai3d-account-limit-form { align-items: flex-start; flex-direction: column; }
  .ai3d-account-limit-form > label, .ai3d-account-limit-form input[type="number"] { width: 100%; }
}
@media (max-width: 450px) {
  .ai3d-account-stats { grid-template-columns: 1fr; }
  .ai3d-account-stat:first-child { grid-column: 1; }
  .ai3d-account-card { padding: 19px; }
  .ai3d-account-hero { padding: 21px; }
  .ai3d-account-key-result { flex-wrap: wrap; }
  .ai3d-account-key-result label { flex-basis: 100%; }
}
