:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #252530;
  background: #f7f7fa;
  font-synthesis: none;
  font-size: 16px;
  --accent: #6847d6;
  --line: #e6e5ed;
  --muted: #6d6b7b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 2.15rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.2;
}
h2 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 0.95rem;
  font-weight: 650;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ac98ef;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
  line-height: 1.55;
}
.small,
.help {
  font-size: 0.875rem;
}
.help {
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  color: #817792;
  margin-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 7px;
  font-size: 1.3rem;
  letter-spacing: 0;
}
.brand-label {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: #aaa3b9;
  border: 1px solid #555064;
  border-radius: 4px;
  padding: 3px 5px;
  margin-left: 5px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 10px 17px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover {
  background: #5734c6;
}
.secondary {
  background: #fff;
  border-color: var(--line);
  color: #454153;
}
.secondary:hover {
  background: #f6f4fb;
}
.wide {
  width: 100%;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 46% 54%;
}
.intro {
  padding: 48px 12%;
  background: #211d2b;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.intro .eyebrow {
  color: #aaa0c4;
}
.intro h1 {
  font-size: 3.35rem;
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.13;
}
.intro-copy {
  max-width: 370px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #b9b3c7;
  margin-top: 26px;
}
.intro-footer {
  font-size: 0.85rem;
  color: #948ba6;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.login-card {
  width: 100%;
  max-width: 390px;
}
.login-card h2 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.login-card > .muted {
  margin-bottom: 32px;
}
.login-card > .small {
  margin-top: 22px;
  text-align: center;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 550;
  margin-bottom: 20px;
}
input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8d6e2;
  border-radius: 6px;
  background: #fff;
  color: #252530;
  outline: none;
}
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #6847d615;
}
input::placeholder {
  color: #9a96a6;
}
.password-field {
  display: flex;
  position: relative;
}
.password-field input {
  padding-right: 65px;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.password-field .text-button {
  position: absolute;
  right: 10px;
  top: 11px;
}
.error {
  padding: 12px 14px;
  background: #fff0f0;
  border: 1px solid #efd2d2;
  color: #9b3030;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.console {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #211d2b;
  color: #f4f1fb;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 235px;
}
.sidebar .brand {
  padding: 0 7px;
}
.nav-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #8d849e;
  margin: 47px 12px 15px;
}
.nav-current {
  background: #ffffff10;
  border: 1px solid #ffffff0a;
  padding: 13px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
}
.nav-current span {
  color: #b39bea;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  gap: 10px;
  padding: 24px 0 14px;
  border-top: 1px solid #ffffff12;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #443754;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c4b4df;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.sidebar-bottom strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
}
.sidebar-bottom #account-email {
  display: block;
  font-size: 0.7rem;
  color: #aaa1bb;
  max-width: 155px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 5px;
}
.sign-out {
  background: transparent;
  border: 0;
  color: #c5bdd1;
  text-align: left;
  padding: 8px 0;
  font-size: 0.85rem;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 0.85rem;
  color: #85808f;
}
.topbar strong {
  color: #484351;
  font-weight: 500;
}
.tag {
  font-size: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 8px;
  color: #736b80;
}
.content {
  padding: 44px 38px;
  max-width: 1450px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.page-heading .muted {
  margin-top: 11px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.company-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.table-toolbar {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.table-toolbar strong {
  font-size: 0.95rem;
  font-weight: 600;
}
.count {
  background: #f1edf9;
  color: #6d53a4;
  border-radius: 5px;
  font-size: 0.75rem;
  margin-left: 10px;
  padding: 3px 7px;
}
.search-label {
  margin: 0;
  width: 280px;
}
.search-label input {
  min-height: 38px;
  font-size: 0.85rem;
  background: #fbfbfd;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  padding: 12px 22px;
  font-size: 0.75rem;
  color: #88818f;
  background: #faf9fc;
  border-block: 1px solid var(--line);
  font-weight: 550;
}
td {
  padding: 22px;
  border-bottom: 1px solid #f0eef4;
  font-size: 0.875rem;
}
td strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}
td .sub {
  display: block;
  color: #8e8798;
  font-size: 0.8rem;
  margin-top: 6px;
}
.status {
  font-size: 0.75rem;
  border-radius: 5px;
  padding: 4px 8px;
  color: #35705a;
  background: #edf5f0;
}
.status.inactive {
  background: #f3f0f0;
  color: #817272;
}
.table-action {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #675383;
  padding: 7px 10px;
  font-size: 0.8rem;
}
.empty {
  padding: 52px 24px 58px;
  text-align: center;
}
.empty-icon {
  color: #8b71c9;
  background: #f4f0fb;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  border-radius: 10px;
  margin: 0 auto 20px;
}
.empty h2 {
  font-size: 1.15rem;
}
.empty p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.directory-note {
  padding: 0 22px 15px;
}
.directory-note:empty {
  display: none;
}
.footnote {
  font-size: 0.8rem;
  color: #958d9e;
  margin: 20px 2px;
}
.notice {
  border: 1px solid #d8cde9;
  background: #f4f0fb;
  border-radius: 7px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.pending-section {
  margin-bottom: 24px;
}
.pending-section h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.pending-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff9ec;
  border: 1px solid #eddfba;
  padding: 13px 16px;
  border-radius: 6px;
  margin-bottom: 7px;
  gap: 15px;
}
.pending-row strong {
  font-size: 0.9rem;
}
.pending-row small {
  display: block;
  color: #8a7750;
  margin-top: 4px;
}
dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid #e5deed;
  border-radius: 12px;
  color: #252530;
  box-shadow: 0 24px 100px #211d2b26;
  max-height: calc(100vh - 48px);
}
dialog::backdrop {
  background: #20162d66;
  backdrop-filter: blur(2px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.dialog-heading .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 7px;
}
.icon-button {
  border: 0;
  background: #f4f1f8;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  color: #7d718a;
  font-size: 1.3rem;
  line-height: 1;
}
.form-section {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 20px;
}
.form-section h3 {
  margin-bottom: 17px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 7px;
}
.recipient {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #f7f4fc;
  border-radius: 6px;
  margin: 22px 0;
}
.recipient strong {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
#result-link {
  font-size: 0.85rem;
}
#result-help {
  margin: 0 0 20px;
}
#copy-status {
  color: #35705a;
  margin-bottom: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 850px) {
  .intro {
    padding: 38px 9%;
  }
  .intro h1 {
    font-size: 2.7rem;
  }
  .console {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 16px 22px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .sidebar .brand {
    font-size: 1.2rem;
  }
  .sidebar .nav-label,
  .sidebar .nav-current,
  .sidebar-bottom {
    display: none;
  }
  .sign-out {
    margin-left: auto;
  }
  .workspace {
    grid-column: 1;
  }
  .topbar {
    padding: 0 22px;
    height: 53px;
  }
  .content {
    padding: 30px 22px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 1.85rem;
  }
}
@media (max-width: 600px) {
  .login-shell {
    display: block;
  }
  .intro {
    min-height: auto;
    padding: 24px;
  }
  .intro > div,
  .intro-footer {
    display: none;
  }
  .login-panel {
    padding: 45px 24px;
  }
  .login-card h2 {
    font-size: 1.55rem;
  }
  .page-heading {
    flex-direction: column;
    gap: 20px;
  }
  .page-heading > .primary {
    width: 100%;
  }
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-label {
    width: 100%;
  }
  .topbar .tag {
    display: none;
  }
  .content {
    padding: 26px 16px;
  }
  .footnote {
    line-height: 1.6;
  }
  dialog {
    padding: 22px;
  }
  .pending-row {
    align-items: flex-start;
  }
  .pending-row button {
    white-space: nowrap;
  }
}
