body[data-auth-page] {
  margin:0;
  min-height:100vh;
  color:#eef0f7;
  background:#0b0d16;
  background-image:radial-gradient(ellipse at 12% 0%,#28204566,transparent 48%);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;
  line-height:1.6;
  color-scheme:dark
}
body[data-auth-page] *, .wf-auth-nav * {
  box-sizing:border-box
}
body[data-auth-page] a {
  color:#cbc7ff;
  text-decoration:none
}
body[data-auth-page] a:hover {
  color:#fff
}
body[data-auth-page] h1,body[data-auth-page] h2,body[data-auth-page] p {
  margin:0
}
body[data-auth-page] h1 {
  font-size:32px;
  letter-spacing:-1px;
  line-height:1.3
}
body[data-auth-page] h2 {
  font-size:18px;
  letter-spacing:-.3px
}
body[data-auth-page] .muted {
  color:#9298ad
}
body[data-auth-page] [hidden] {
  display:none!important
}
.auth-shell {
  max-width:1320px;
  margin:0 auto;
  padding:44px 32px 64px
}
.auth-brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  font-weight:700;
  letter-spacing:.1px;
  color:#f4f2ff!important
}
.auth-brand small {
  display:block;
  color:#9093ad;
  font-size:10px;
  font-weight:400;
  letter-spacing:3px;
  line-height:1.4
}
.brand-mark {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #c3a8ff66;
  border-radius:12px;
  background:linear-gradient(140deg,#8a6cf1,#4148a9);
  color:#fff;
  font-size:32px;
  line-height:1
}
.auth-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 32px;
  border-bottom:1px solid #ffffff0e;
  background:#0d101bd9
}
.auth-header nav {
  display:flex;
  align-items:center;
  gap:20px;
  font-size:13px
}
.eyebrow {
  color:#a9a0e8;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:11px;
  font-weight:600;
  margin-bottom:12px!important
}
.auth-card {
  min-width:0;
  padding:26px;
  border:1px solid #292c40;
  background:#121520e8;
  border-radius:16px;
  box-shadow:0 14px 42px #00000018
}
.login-shell {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  align-items:center;
  gap:100px;
  max-width:1070px;
  min-height:100vh;
  padding-top:40px;
  padding-bottom:40px
}
.login-intro .auth-brand {
  margin-bottom:70px
}
.login-intro h1 {
  font-size:43px;
  letter-spacing:-1.5px;
  margin-bottom:20px
}
.intro-copy {
  color:#b0b3c8;
  max-width:370px;
  font-size:16px;
  line-height:1.9
}
.intro-rule {
  width:45px;
  height:2px;
  background:#8170cf;
  margin:32px 0
}
.login-intro>.muted {
  max-width:355px;
  font-size:12px;
  line-height:1.9
}
.login-card {
  padding:34px
}
.login-card h2 {
  font-size:25px;
  margin-bottom:6px
}
.login-card form {
  margin-top:26px
}
.auth-field {
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:12px;
  font-weight:500;
  color:#bfc3d7;
  margin-bottom:16px
}
.auth-field input,.auth-field select {
  width:100%;
  height:41px;
  min-width:0;
  border:1px solid #32364d;
  border-radius:8px;
  background:#0c0f18;
  color:#f0f1f7;
  font:inherit;
  font-size:14px;
  padding:0 11px;
  outline:none
}
.auth-field input:focus,.auth-field select:focus {
  border-color:#9c8bf0;
  box-shadow:0 0 0 3px #a08bf01c
}
.auth-field.checkbox-field {
  flex-direction:row;
  align-items:center;
  align-self:end;
  min-height:41px;
  white-space:nowrap
}
.auth-field.checkbox-field input {
  width:17px;
  height:17px;
  accent-color:#aa94ff
}
.auth-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:39px;
  padding:8px 15px;
  border:1px solid #383c52;
  border-radius:8px;
  background:#1b1f2d;
  color:#e2e4f2;
  font:inherit;
  font-size:13px;
  cursor:pointer;
  white-space:nowrap;
  text-decoration:none
}
.auth-button:hover {
  background:#282d40;
  border-color:#696181
}
.auth-button.primary {
  background:#8972e6;
  border-color:#9b84f2;
  color:#fff;
  font-weight:600
}
.auth-button.primary:hover {
  background:#9a83f3
}
.auth-button:disabled {
  opacity:.5;
  cursor:wait
}
.auth-button.compact {
  min-height:32px;
  padding:5px 11px;
  font-size:12px
}
.auth-button.wide {
  width:100%
}
.auth-button:focus-visible,body[data-auth-page] a:focus-visible {
  outline:2px solid #c5b6ff;
  outline-offset:3px
}
.form-note {
  color:#8b91a7;
  font-size:12px;
  line-height:1.7;
  margin:10px 0 16px!important
}
.login-card>.form-note {
  margin-top:23px!important;
  margin-bottom:0!important
}
.message {
  padding:11px 13px;
  margin:18px 0;
  border:1px solid;
  border-radius:9px;
  font-size:13px;
  overflow-wrap:anywhere
}
.message.error {
  color:#ffb6bd;
  border-color:#63303b;
  background:#481b252e
}
.message.success {
  color:#a7e5d4;
  border-color:#28534c;
  background:#133b322e
}
.account-shell {
  max-width:650px
}
.account-shell>.auth-card {
  min-width:0;
  margin-top:28px
}
.account-shell>.auth-card form {
  max-width:470px
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px
}
.page-heading h1 {
  margin-bottom:7px
}
.admin-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px
}
.full-width {
  grid-column:1/-1
}
.section-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:start;
  margin-bottom:22px
}
.section-heading>.muted {
  font-size:12px
}
.section-heading .form-note {
  margin-bottom:0!important
}
.field-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 15px
}
.button-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.count-badge,.role-badge {
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  border:1px solid #44405f;
  border-radius:6px;
  color:#bfb0f6;
  background:#282239;
  font-size:11px;
  white-space:nowrap
}
.user-list {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:15px
}
.user-card {
  min-width:0;
  padding:18px;
  border:1px solid #2b3043;
  border-radius:11px;
  background:#0d111b
}
.user-card-head {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:17px
}
.user-card-head b {
  font-size:15px;
  overflow-wrap:anywhere
}
.user-id {
  margin-left:auto;
  color:#767d94;
  font-size:11px
}
.user-settings {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr auto;
  gap:14px;
  align-items:end
}
.user-settings .auth-field {
  margin-bottom:0
}
.user-password {
  display:flex;
  align-items:end;
  gap:12px;
  padding-top:16px;
  margin-top:16px;
  border-top:1px solid #ffffff09
}
.user-password .auth-field {
  width:280px;
  max-width:70%;
  margin:0
}
.user-password .auth-button {
  white-space:nowrap
}
.audit-scroll {
  overflow-x:auto
}
.audit-table {
  width:100%;
  min-width:740px;
  border-collapse:collapse;
  text-align:left;
  font-size:12px
}
.audit-table th {
  color:#9d9eb9;
  font-weight:500;
  white-space:nowrap
}
.audit-table td,.audit-table th {
  padding:11px 12px;
  border-bottom:1px solid #ffffff09;
  vertical-align:top
}
.audit-table td {
  color:#c4c7d8;
  overflow-wrap:anywhere;
  max-width:330px
}
.audit-table td:first-child {
  white-space:nowrap;
  color:#8e95ad
}
.wf-auth-nav {
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  margin-left:auto;
  padding-left:10px;
  font:12px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
  color:#dfe3ef
}
.wf-auth-nav a,.wf-auth-nav button {
  padding:6px 9px;
  border:1px solid #39374f;
  border-radius:7px;
  background:#161724;
  color:#d6d0f4;
  text-decoration:none;
  font:inherit;
  cursor:pointer;
  white-space:nowrap
}
.wf-auth-nav a:hover,.wf-auth-nav button:hover {
  background:#302a43;
  color:#fff
}
.wf-auth-nav a:focus-visible,.wf-auth-nav button:focus-visible {
  outline:2px solid #bcabff;
  outline-offset:2px
}
.wf-account-name {
  max-width:110px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.wf-account-role {
  color:#8bd4cc;
  font-size:10px;
  white-space:nowrap
}
.wf-role-notice {
  margin:10px 22px 0;
  padding:10px 13px;
  border:1px solid #3c3b59;
  border-radius:9px;
  background:#1a1b2b;
  color:#c3bddf;
  font:12px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif
}
.wf-permission-hidden {
  display:none!important
}
@media(max-width:1000px) {
  .login-shell {
    gap:50px
  }
  .user-settings {
    grid-template-columns:repeat(2,minmax(0,1fr)) 1fr
  }
  .user-settings>.auth-button {
    justify-self:start
  }
  .auth-header nav {
    gap:12px
  }
  .wf-auth-nav {
    gap:4px
  }
  .wf-account-name {
    max-width:70px
  }
}
@media(max-width:700px) {
  .auth-shell {
    padding:28px 18px 40px
  }
  .login-shell {
    display:block;
    max-width:460px;
    min-height:auto
  }
  .login-intro .auth-brand {
    margin:0 0 30px
  }
  .login-intro h1 {
    font-size:30px
  }
  .login-intro .intro-copy,.login-intro .intro-rule,.login-intro>.muted,.login-intro>.eyebrow {
    display:none
  }
  .login-intro {
    margin-bottom:24px
  }
  .login-card {
    padding:25px
  }
  .auth-header {
    padding:14px 18px;
    align-items:start
  }
  .auth-header nav {
    gap:9px;
    flex-wrap:wrap;
    justify-content:flex-end;
    font-size:12px
  }
  .auth-header #account-identity {
    display:none
  }
  .admin-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .auth-card {
    min-width:0;
    padding:20px
  }
  .field-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .user-settings {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .section-heading {
    gap:10px
  }
  .section-heading>.muted {
    display:none
  }
  .page-heading h1 {
    font-size:27px
  }
  .page-heading {
    align-items:start
  }
  .wf-account-name,.wf-account-role {
    display:none
  }
  .wf-auth-nav a,.wf-auth-nav button {
    padding:5px 7px;
    font-size:11px
  }
}
