body.boomer-ui.da-auth-locked { padding: 0; }
body.da-auth-locked .app-shell,
body.da-auth-locked > .action-dialog,
body.da-auth-locked > .toast { display: none !important; }
.da-auth-gate[hidden], .da-account-button[hidden], .da-connection-notice[hidden], .da-auth-message[hidden] { display: none; }
.da-auth-gate { min-height: 100vh; display: grid; place-items: center; padding: 48px 28px; background: var(--bg, #f5f7f8); }
.da-auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; width: min(1050px, 100%); align-items: center; }
.da-auth-intro { padding: 26px 0; }
.da-auth-logo { color: var(--text); font-size: 40px; font-weight: 850; letter-spacing: -.06em; line-height: 1.1; margin-bottom: 54px; }
.da-auth-logo > span { color: var(--teal); }
.da-auth-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.da-auth-intro h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 760; letter-spacing: -.045em; line-height: 1.13; margin: 18px 0; }
.da-auth-intro > p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 330px; }
.da-auth-server { margin-top: 48px; font-size: 12px; color: var(--muted); display: flex; gap: 9px; align-items: center; }
.da-auth-server > span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.da-auth-card { width: 100%; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 56px #14272e09; }
.da-auth-card h2, .da-account-dialog h2 { margin: 10px 0 12px; font-size: 26px; font-weight: 750; line-height: 1.2; letter-spacing: -.03em; }
.da-auth-card > p, .da-account-heading p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.da-auth-card form, .da-add-user form { display: grid; gap: 15px; }
.da-auth-field { display: grid; gap: 7px; min-width: 0; }
.da-auth-field > span { color: var(--text); font-size: 12px; font-weight: 700; }
.da-auth-field input, .da-auth-field select { width: 100%; min-width: 0; min-height: 43px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--text); padding: 10px 12px; font-size: 14px; font-family: inherit; }
.da-auth-field small { font-size: 10px; color: var(--muted); line-height: 1.5; }
.da-auth-gate :focus-visible, .da-account-dialog :focus-visible, .da-account-button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.da-auth-primary, .da-auth-secondary, .da-account-button, .da-connection-notice button { cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 750; border-radius: 7px; padding: 11px 15px; min-height: 40px; }
.da-auth-primary { color: white; border: 1px solid var(--teal); background: var(--teal); width: 100%; margin-top: 4px; }
.da-auth-primary:hover { filter: brightness(.94); }
.da-auth-primary:disabled, .da-auth-secondary:disabled { opacity: .55; cursor: wait; }
.da-auth-secondary, .da-account-button { color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); }
.da-account-button { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.da-auth-card > .da-auth-footnote { font-size: 11px; line-height: 1.6; margin: 20px 0 0; padding-top: 17px; border-top: 1px solid var(--line); }
.da-auth-message { margin: 0; padding: 11px 12px; background: var(--red-weak); border-radius: 7px; color: var(--red); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.da-auth-message.da-auth-success { color: var(--green); background: var(--green-weak); }
.da-auth-connecting { max-width: 460px; }
.da-auth-connecting .da-auth-logo { margin-bottom: 28px; }
.da-account-dialog { width: min(620px, calc(100vw - 36px)); max-height: calc(100vh - 48px); overflow: auto; padding: 28px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 80px #14272e29; }
.da-account-dialog::backdrop { background: #17282f66; }
.da-account-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.da-account-close { cursor: pointer; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 23px; width: 36px; height: 36px; flex: 0 0 auto; }
.da-account-dialog h3 { margin: 5px 0 12px; font-size: 14px; }
.da-team-list { display: grid; gap: 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.da-team-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.da-team-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.da-team-row strong { display: block; color: var(--text); font-size: 13px; }
.da-team-row small { display: block; margin-top: 5px; font-size: 11px; }
.da-role-badge { padding: 5px 8px; border-radius: 5px; background: var(--surface-2); font-size: 11px; white-space: nowrap; }
.da-add-user { margin-top: 20px; }
.da-add-user > summary { color: var(--teal); cursor: pointer; font-size: 13px; font-weight: 750; padding: 4px 0; }
.da-add-user form { margin-top: 18px; }
.da-user-fields { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
.da-account-footer { display: flex; justify-content: flex-end; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.da-connection-notice { display: flex; align-items: center; gap: 18px; padding: 12px 22px; background: var(--amber-weak); color: var(--amber); font-size: 12px; line-height: 1.5; }
.da-connection-notice button { flex: 0 0 auto; border: 1px solid currentColor; color: inherit; background: transparent; }
@media (max-width: 820px) {
  .da-auth-layout { max-width: 490px; grid-template-columns: 1fr; gap: 22px; }
  .da-auth-intro { padding: 0; }
  .da-auth-intro .da-auth-logo { margin: 0; font-size: 32px; }
  .da-auth-intro h1, .da-auth-intro > p, .da-auth-intro > .da-auth-eyebrow, .da-auth-server { display: none; }
  .da-auth-gate { padding: 28px 20px; }
}
@media (max-width: 520px) {
  .da-auth-card { padding: 25px 21px; }
  .da-auth-card h2 { font-size: 23px; }
  .da-user-fields { grid-template-columns: 1fr; }
  .da-account-dialog { padding: 22px; }
  .da-account-button { max-width: 95px; padding: 10px; }
  .da-connection-notice { flex-wrap: wrap; gap: 10px; }
}
