/* TIGERTAIL_STAFF_SELF_SERVICE_ACCOUNT_V33 */
:root {
  --account-teal: #073f46;
  --account-teal-2: #0b5962;
  --account-cream: #f8f2e7;
  --account-paper: #fffdf8;
  --account-orange: #d77a09;
  --account-gold: #e6b84e;
  --account-ink: #12343a;
  --account-muted: #60757a;
  --account-pale: #e8f0ef;
  --account-line: #c8d8d8;
  --account-red: #a3443f;
}

* { box-sizing: border-box; }

.account-v33-body {
  min-height: 100vh;
  margin: 0;
  color: var(--account-ink);
  background: var(--account-cream);
}

.account-v33-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3.25rem);
  color: #fff;
  background: var(--account-teal);
}

.account-v33-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: #fff;
  text-decoration: none;
}

.account-v33-brand img { width: 54px; height: 54px; object-fit: contain; }
.account-v33-brand span { display: grid; line-height: 1.05; }
.account-v33-brand small { color: var(--account-gold); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.account-v33-brand strong { margin-top: .25rem; font-size: clamp(1.35rem, 3vw, 2rem); }
.account-v33-header-actions { display: flex; align-items: center; justify-content: center; gap: .65rem; }
.account-v33-header-actions .button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; }

.account-v33-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2.1rem 0 3rem; }
.account-v33-intro { margin-bottom: 1.4rem; }
.account-v33-eyebrow, .account-v33-kicker { margin: 0 0 .35rem; color: var(--account-orange); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-v33-intro h1 { margin: 0; color: var(--account-ink); font-size: clamp(1.65rem, 4.1vw, 2.75rem); line-height: 1.08; text-wrap: balance; }
.account-v33-intro > p:last-child { max-width: 850px; margin: .7rem 0 0; color: var(--account-muted); }

.account-v33-layout { display: grid; grid-template-columns: minmax(245px, 320px) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.account-v33-identity { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 1.7rem 1.25rem; border-radius: 24px; color: #fff; background: var(--account-teal); text-align: center; }
.account-v33-avatar, .account-v33-preview { display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--account-pale); color: var(--account-teal); font-weight: 900; }
.account-v33-avatar { width: 128px; height: 128px; border: 6px solid var(--account-orange); font-size: 2.25rem; }
.account-v33-avatar img, .account-v33-preview img { width: 100%; height: 100%; object-fit: cover; }
.account-v33-identity h2 { margin: 1rem 0 .2rem; color: #fff; font-size: 1.5rem; text-align: center; }
.account-v33-identity > p { margin: .1rem 0 .9rem; color: var(--account-pale); text-align: center; }
.account-v33-pill { display: inline-flex; justify-content: center; min-width: 170px; margin: .25rem 0 1.25rem; padding: .45rem .8rem; border-radius: 999px; color: var(--account-gold); background: var(--account-teal-2); font-size: .75rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.account-v33-identity dl { width: 100%; margin: 0; }
.account-v33-identity dl div { padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.13); text-align: center; }
.account-v33-identity dt { color: var(--account-pale); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.account-v33-identity dd { margin: .22rem 0 0; overflow-wrap: anywhere; color: #fff; }
.account-v33-private-note { margin-top: auto !important; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .8rem; line-height: 1.35; }

.account-v33-workspace { min-width: 0; padding: 1rem; border: 2px solid var(--account-line); border-radius: 24px; background: var(--account-paper); }
.account-v33-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1rem; padding: .35rem; border-radius: 15px; background: var(--account-pale); }
.account-v33-tabs button { min-height: 42px; border: 0; border-radius: 11px; color: var(--account-teal); background: transparent; font: inherit; font-weight: 800; text-align: center; cursor: pointer; }
.account-v33-tabs button.active { color: #fff; background: var(--account-teal); box-shadow: 0 6px 14px rgba(7,63,70,.14); }
.account-v33-panel { min-width: 0; padding: .75rem .5rem .35rem; }
.account-v33-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.account-v33-panel-heading h2 { margin: 0; color: var(--account-ink); font-size: clamp(1.3rem, 3vw, 1.75rem); }
.account-v33-status { flex: 0 0 auto; padding: .4rem .75rem; border-radius: 999px; color: var(--account-teal); background: var(--account-pale); font-size: .72rem; font-weight: 800; text-align: center; }
.account-v33-help { margin: .65rem 0 1.2rem; color: var(--account-muted); line-height: 1.5; }
.account-v33-photo-flow { display: grid; grid-template-columns: minmax(180px, 255px) minmax(220px, 1fr); gap: 1.35rem; align-items: center; padding: 1.25rem; border-radius: 18px; background: #f3f7f6; }
.account-v33-preview { width: min(100%, 230px); aspect-ratio: 1; margin: 0 auto; border: 3px solid var(--account-line); border-radius: 22px; font-size: 2.5rem; }
.account-v33-photo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.account-v33-photo-actions .button, .account-v33-password-form > .button, .account-v33-microsoft .button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: .7rem 1rem; border: 2px solid transparent; border-radius: 13px; font-weight: 800; text-align: center; white-space: normal; cursor: pointer; }
.account-v33-button-primary { color: #fff !important; background: var(--account-orange) !important; border-color: var(--account-orange) !important; }
.account-v33-button-secondary { color: var(--account-teal) !important; background: #fff !important; border-color: var(--account-teal) !important; }
.account-v33-button-danger { color: var(--account-red) !important; background: #fff !important; border-color: var(--account-red) !important; }
.account-v33-button-primary:disabled { opacity: .48; cursor: not-allowed; }
.account-v33-form-status { min-height: 1.5rem; margin: .9rem 0 0; color: var(--account-teal); font-weight: 700; text-align: center; }
.account-v33-form-status.error { color: var(--account-red); }

.account-v33-password-form { display: grid; gap: .95rem; }
.account-v33-password-form label:not(.account-v33-show-passwords) { display: grid; gap: .38rem; color: var(--account-ink); font-weight: 800; }
.account-v33-password-form input[type="password"], .account-v33-password-form input[type="text"] { width: 100%; min-height: 46px; padding: .7rem .85rem; border: 2px solid var(--account-line); border-radius: 11px; color: var(--account-ink); background: #fff; font: inherit; }
.account-v33-password-form input:focus { border-color: var(--account-teal-2); outline: 3px solid rgba(11,89,98,.15); }
.account-v33-password-form small { color: var(--account-muted); font-weight: 400; }
.account-v33-show-passwords { display: inline-flex; align-items: center; justify-content: flex-start; gap: .55rem; color: var(--account-muted); }
.account-v33-show-passwords input { width: 1.15rem; height: 1.15rem; }
.account-v33-microsoft { display: grid; justify-items: center; gap: .75rem; padding: 2rem 1rem; border-radius: 18px; background: var(--account-pale); text-align: center; }
.account-v33-microsoft-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 17px; color: #fff; background: #226a93; font-size: 1.8rem; font-weight: 900; }
.account-v33-microsoft h3, .account-v33-microsoft p { margin: 0; text-align: center; }
.account-v33-microsoft p { max-width: 540px; color: var(--account-muted); }

.account-v33-boundaries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.account-v33-boundaries article { display: grid; gap: .25rem; min-width: 0; padding: 1rem; border: 1px solid var(--account-line); border-radius: 14px; background: var(--account-paper); text-align: center; }
.account-v33-boundaries strong { color: var(--account-teal); }
.account-v33-boundaries span { color: var(--account-muted); font-size: .84rem; line-height: 1.4; }

.account-v33-dialog { width: min(450px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 18px; color: var(--account-ink); background: var(--account-paper); box-shadow: 0 22px 60px rgba(7,63,70,.28); }
.account-v33-dialog::backdrop { background: rgba(2,25,29,.62); }
.account-v33-dialog form { display: grid; gap: .8rem; padding: 1.4rem; text-align: center; }
.account-v33-dialog h2, .account-v33-dialog p { margin: 0; text-align: center; }
.account-v33-dialog p { color: var(--account-muted); }
.account-v33-dialog form > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .4rem; }

.account-v33-header-link { display: inline-flex !important; align-items: center; justify-content: center; text-align: center; white-space: nowrap; }

@media (max-width: 820px) {
  .account-v33-layout { grid-template-columns: 1fr; }
  .account-v33-identity { min-height: auto; }
  .account-v33-private-note { margin-top: .5rem !important; }
  .account-v33-boundaries { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .account-v33-header { align-items: flex-start; padding: .75rem 1rem; }
  .account-v33-brand img { width: 44px; height: 44px; }
  .account-v33-brand strong { font-size: 1.25rem; }
  .account-v33-header-actions { flex-direction: column; align-items: stretch; }
  .account-v33-header-actions .button { min-height: 34px; padding: .42rem .65rem; font-size: .75rem; }
  .account-v33-shell { width: min(100% - 1rem, 1180px); padding-top: 1.25rem; }
  .account-v33-workspace { padding: .65rem; border-radius: 18px; }
  .account-v33-tabs { grid-template-columns: 1fr; }
  .account-v33-panel-heading { display: grid; }
  .account-v33-status { justify-self: start; }
  .account-v33-photo-flow { grid-template-columns: 1fr; padding: .8rem; }
  .account-v33-photo-actions { grid-template-columns: 1fr; }
  .account-v33-dialog form > div { grid-template-columns: 1fr; }
}
