@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #111315;
  --panel: #191c1f;
  --input: #121517;
  --border: #30353a;
  --text: #edf0ee;
  --muted: #a0a8ae;
  --accent: #bad7f4;
  --red: #ffb5ad;
  --green: #a6d2b8;
  --radius: 12px;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
[hidden] {
  display: none!important;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .48;
}
button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--text);
  background: transparent;
  transition: background-color .16s ease,border-color .16s ease;
}
button:hover:enabled {
  background: #2c3339;
}
button.primary {
  background: var(--accent);
  color: #142330;
  font-weight: 600;
}
button.primary:hover:enabled {
  background: #d0e5fa;
}
.secondary {
  background: #22272b;
  border-color: var(--border);
}
.danger {
  color: var(--red);
  border-color: #673b38;
  background: #302220;
}
.text-button {
  color: var(--muted);
  padding: 6px 8px;
}
.icon-button {
  font-size: 24px;
  line-height: 1;
  width: 38px;
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--accent);
  color: #142330;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -.7px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 600;
}
h2 {
  font-size: 20px;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
input,
textarea,
select {
  width: 100%;
  background: var(--input);
  border: 1px solid #41484e;
  border-radius: 8px;
  color: var(--text);
  min-height: 42px;
  padding: 10px 12px;
}
input:read-only {
  color: var(--muted);
  border-style: dashed;
}
input::placeholder,
textarea::placeholder {
  color: #818c94;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 16px 0 7px;
}
code {
  overflow-wrap: anywhere;
}
input[type=file] {
  padding: 12px;
}
input[type=search] {
  min-height: 38px;
}
input[type=datetime-local] {
  color-scheme: dark;
}
.auth-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.auth-panel {
  width: min(100%,420px);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
}
.wordmark {
  display: block;
  margin-bottom: 38px;
}
.auth-panel h1 {
  font-size: 27px;
}
.auth-panel form > button.primary {
  width: 100%;
  margin-top: 24px;
}
.quiet-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
#auth-signout {
  display: block;
  margin: 16px auto 0;
}
#qr-container img {
  max-width: 100%;
  height: auto;
  background: white;
  padding: 8px;
  border-radius: 8px;
}
#mfa-secret {
  display: block;
  padding: 12px 0;
  user-select: all;
}
.workspace {
  display: grid;
  grid-template-columns: 216px minmax(0,1fr);
  min-height: 100svh;
}
.sidebar {
  border-right: 1px solid var(--border);
  padding: 30px 18px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100svh;
  background: #151719;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0 6px;
}
.brand span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  color: var(--muted);
  padding-top: 5px;
}
.nav-caption {
  font-size: 12px;
  letter-spacing: .1em;
  color: #818c94;
  margin: 48px 12px 14px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 8px;
}
.sidebar nav a span {
  font-size: 18px;
  width: 19px;
}
.sidebar nav a[aria-current=page] {
  color: var(--text);
  background: #2a3036;
}
.sidebar nav a:hover {
  background: #24292d;
}
.sidebar-footer {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  padding: 16px 8px 0;
}
.sidebar-footer small {
  padding-left: 14px;
  color: #89959f;
}
.connection-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
}
.content-shell {
  min-width: 0;
}
.topbar {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  border-bottom: 1px solid var(--border);
  gap: 18px;
  font-size: 12px;
}
.account-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}
.mode {
  font-size: 12px;
  border: 1px solid #3b4651;
  color: #c2d9ed;
  background: #1d2832;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
main {
  padding: 36px;
  max-width: 1720px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p:last-child {
  margin-bottom: 0;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.heading-actions .primary span {
  font-size: 20px;
  vertical-align: -1px;
  line-height: 0;
  padding-right: 3px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.metrics article {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.metrics article > span {
  display: block;
  color: #b6bec4;
  font-size: 12px;
}
.metrics strong {
  display: block;
  font-size: 31px;
  font-weight: 550;
  letter-spacing: -.7px;
  margin: 10px 0 3px;
  font-variant-numeric: tabular-nums;
}
.metrics small {
  font-size: 12px;
  color: var(--muted);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.filter-tabs {
  display: flex;
  gap: 3px;
}
.filter-tabs button {
  font-size: 12px;
  white-space: nowrap;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
}
.filter-tabs button[aria-pressed=true] {
  background: #303940;
  color: var(--text);
}
.search {
  display: block;
  margin: 0 0 0 auto;
  flex: 1;
  min-width: 180px;
  max-width: 250px;
}
.search input {
  font-size: 12px;
  padding: 8px 12px;
}
.toolbar select {
  width: auto;
  max-width: 160px;
  min-height: 38px;
  font-size: 12px;
  padding: 8px 28px 8px 10px;
}
.table-scroll {
  position: relative;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  min-width: 770px;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: var(--muted);
  background: #171a1d;
  font-size: 12px;
  padding: 13px 20px;
  white-space: nowrap;
}
td {
  padding: 18px 20px;
  border-top: 1px solid #2b3035;
  white-space: nowrap;
}
td:first-child {
  white-space: normal;
  min-width: 220px;
  max-width: 360px;
  overflow-wrap: anywhere;
}
td strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 3px;
}
td small {
  font-size: 12px;
  color: var(--muted);
}
td:last-child {
  text-align: right;
}
td:last-child button {
  font-size: 12px;
  min-height: 32px;
  padding: 5px 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid #445362;
  background: #24313d;
  color: #c0d9ef;
}
.badge.ok {
  border-color: #3b5547;
  background: #22352b;
  color: var(--green);
}
.badge.bad {
  border-color: #67403c;
  background: #382725;
  color: var(--red);
}
.badge.neutral {
  border-color: #44494e;
  background: #2b3034;
  color: #b8c0c6;
}
.badge.warn {
  border-color: #62553c;
  background: #352f24;
  color: #e1c996;
}
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.panel-footer > div {
  display: flex;
  gap: 8px;
}
.panel-footer button {
  min-height: 32px;
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 64px 20px;
}
.empty h2 {
  font-size: 17px;
}
.empty p {
  font-size: 12px;
  margin-bottom: 0;
}
.footnote {
  font-size: 12px;
  color: #919ca4;
  margin: 18px 0;
}
.note {
  font-size: 13px;
  background: #21303c;
  color: #d2e8fa;
  border: 1px solid #405669;
  border-radius: 8px;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}
.note[data-kind=error] {
  color: var(--red);
  border-color: #67403c;
  background: #382725;
}
.note[data-kind=ok] {
  color: var(--green);
  border-color: #3b5547;
  background: #22352b;
}
.activity-row {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}
.activity-row strong {
  font-size: 13px;
  font-weight: 550;
}
.activity-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.activity-row time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid #41494f;
  border-radius: 16px;
  width: min(560px,calc(100% - 32px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 26px;
  box-shadow: 0 18px 80px #0006;
}
dialog::backdrop {
  background: #06090bd6;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}
.dialog-heading h2 {
  margin-bottom: 5px;
}
.dialog-heading p:last-child {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 24px;
}
.effect {
  font-size: 12px;
  color: #acbac4;
  background: #222b32;
  border: 1px solid #35424c;
  border-radius: 8px;
  padding: 12px;
  margin: 18px 0 0;
}
.detail-meta {
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 12px;
}
.detail-line > span:first-child {
  color: var(--muted);
}
.detail-line > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
}
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.detail-actions button {
  font-size: 12px;
  text-align: left;
  border-color: var(--border);
  background: #22272b;
}
.detail-actions .danger {
  color: var(--red);
}
.import-results {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
  margin: 14px 0 0;
}
@media (min-width:1600px) {
  main {
    padding: 48px;
  }
  .topbar {
    padding: 0 48px;
  }
}
@media (max-width:1200px) {
  .topbar {
    padding: 0 24px;
  }
  .account-controls #signed-email {
    display: none;
  }
  main {
    padding: 28px 24px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 260px;
  }
  .metrics article {
    padding: 16px;
  }
  .search {
    max-width: none;
  }
}
@media (max-width:900px) {
  .workspace {
    grid-template-columns: 176px minmax(0,1fr);
  }
  .sidebar {
    padding: 24px 12px;
  }
  .brand {
    gap: 5px;
  }
  .brand img {
    width: 104px;
  }
  .brand span {
    font-size: 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading {
    flex-direction: column;
  }
  .heading-actions {
    max-width: none;
    justify-content: flex-start;
  }
  .toolbar {
    padding: 14px;
  }
  .filter-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .metrics strong {
    font-size: 28px;
  }
  .sidebar-footer {
    font-size: 12px;
  }
  .sidebar-footer small {
    padding-left: 0;
  }
  .topbar {
    gap: 8px;
  }
}
@media (max-width:620px) {
  .workspace {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand img {
    width: 112px;
  }
  .nav-caption,
  .sidebar-footer {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-top: 16px;
    gap: 5px;
  }
  .sidebar nav a {
    font-size: 12px;
    padding: 8px 10px;
  }
  .sidebar nav a span {
    display: none;
  }
  .topbar {
    height: auto;
    min-height: 58px;
    padding: 12px 20px;
    flex-wrap: wrap;
  }
  .account-controls {
    gap: 8px;
  }
  .mode {
    font-size: 12px;
  }
  main {
    padding: 26px 18px;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    gap: 20px;
    margin-bottom: 22px;
  }
  .page-heading p.muted {
    font-size: 12px;
  }
  .heading-actions {
    width: 100%;
    gap: 6px;
  }
  .heading-actions button {
    padding: 8px 10px;
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
    margin-bottom: 22px;
  }
  .metrics article {
    padding: 16px 13px;
  }
  .metrics article > span {
    font-size: 12px;
  }
  .metrics small {
    font-size: 12px;
  }
  .metrics strong {
    font-size: 27px;
  }
  .search {
    min-width: 145px;
  }
  .toolbar select {
    max-width: 135px;
    font-size: 12px;
  }
  .filter-tabs button {
    padding: 6px 9px;
    font-size: 12px;
  }
  .panel-footer {
    padding: 14px;
    flex-wrap: wrap;
  }
  .auth-panel {
    padding: 26px;
  }
  .activity-row {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .detail-line {
    gap: 12px;
    font-size: 12px;
  }
  .footnote {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
  dialog::backdrop {
    backdrop-filter: none;
  }
}
