:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1b2b3b;
  background: #f6f8fb;
  font-synthesis: none;
  line-height: 1.5;
  font-size: 14px;
  --blue: #087ff2;
  --border: #e4eaf0;
  --muted: #66788b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  transition: background 0.15s;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #69b4ff;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 750;
  color: #66788b;
  margin-bottom: 18px;
}
.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--blue);
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  padding-right: 2px;
}
.brand-mark.large {
  width: 60px;
  height: 60px;
  font-size: 50px;
  border-radius: 17px;
  margin-bottom: 65px;
}
.boot {
  padding: 15vh;
  text-align: center;
}
.boot p {
  margin-top: 20px;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.primary:hover {
  background: #0069d0;
}
.secondary {
  background: white;
  border: 1px solid #dce4ed;
  color: #405469;
}
.secondary:hover {
  background: #edf4fc;
}
.text-button {
  background: transparent;
  color: #086ed0;
  padding: 7px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}
.sidebar {
  background: white;
  border-right: 1px solid var(--border);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 57px;
}
.brand strong {
  font-size: 20px;
  letter-spacing: -0.6px;
}
.staff-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #7b8ca0;
  padding-top: 6px;
}
.nav-caption {
  color: #94a2b2;
  font-size: 10px;
  letter-spacing: 1.6px;
  margin: 0 13px 15px;
}
.nav-item {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #65768a;
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 7px;
  font-size: 13px;
  padding: 12px;
}
.nav-item.active {
  background: #eaf4ff;
  color: #0877df;
}
.nav-icon {
  font-size: 20px;
  width: 23px;
  line-height: 1;
}
.identity {
  margin-top: auto;
  padding: 22px 10px 0;
  border-top: 1px solid var(--border);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.identity p {
  margin: 10px 0 2px;
}
.main {
  padding: 0 42px 50px;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  align-self: start;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8190a1;
  font-size: 12px;
}
.private-label {
  color: #61776f;
  font-size: 11px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0 28px;
}
.heading p {
  margin: 0;
}
.heading .eyebrow {
  margin-bottom: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.stat p {
  font-size: 12px;
  margin-bottom: 18px;
}
.stat strong {
  display: block;
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.stat-hint {
  color: #8595a7;
  font-size: 11px;
}
.welcome-panel {
  background: #eaf4ff;
  border: 1px solid #d5e8fb;
  border-radius: 14px;
  padding: 36px;
  margin: 28px 0;
  max-width: 100%;
}
.welcome-panel p {
  max-width: 610px;
  line-height: 1.8;
}
.welcome-panel h2 {
  font-size: 26px;
}
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.note {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}
.note p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.8;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.toolbar > .muted {
  font-size: 12px;
  white-space: nowrap;
}
.search-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 650px;
}
.search-form input {
  flex: 1;
  min-width: 0;
}
input,
select,
textarea {
  border: 1px solid #d6e0ea;
  border-radius: 8px;
  padding: 11px 13px;
  background: white;
  color: #283d51;
}
textarea {
  resize: vertical;
  width: 100%;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7a8a9c;
  background: #fbfcfe;
  padding: 17px 20px;
  font-weight: 600;
  white-space: nowrap;
}
td {
  padding: 18px 20px;
  border-top: 1px solid #eef1f5;
  max-width: 330px;
  overflow-wrap: anywhere;
}
td .text-button {
  white-space: nowrap;
  font-size: 12px;
}
tbody tr:hover {
  background: #fbfdff;
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  background: #eef2f6;
  color: #647588;
  font-size: 10px;
  font-weight: 650;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge.open,
.badge.owner {
  background: #eaf3ff;
  color: #1176d4;
}
.badge.reviewing,
.badge.pending {
  background: #fff2d9;
  color: #92641f;
}
.badge.active,
.badge.resolved,
.badge.succeeded {
  background: #e7f5ee;
  color: #247851;
}
.badge.suspended,
.badge.failed,
.badge.disabled {
  background: #fcecec;
  color: #b64e4e;
}
.badge.moderator {
  background: #eeeaff;
  color: #7060ad;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.pagination button {
  font-size: 12px;
}
.empty {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 65px 25px;
  text-align: center;
}
.empty-icon {
  font-size: 25px;
  color: #7ba59a;
  margin-bottom: 14px;
}
.empty h2 {
  font-size: 18px;
}
.empty p {
  margin-bottom: 0;
}
.notice {
  background: #edf4fc;
  border: 1px solid #dbe8f6;
  color: #526a84;
  border-radius: 9px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.7;
}
.notice p {
  margin-bottom: 12px;
}
.notice p:last-child {
  margin: 0;
}
.notice.error {
  background: #fff1ef;
  color: #a64138;
  border-color: #f4d9d5;
}
.loading {
  padding: 55px;
  text-align: center;
  color: #6e8298;
}
.audit-reason {
  margin: 7px 0 0;
  font-size: 12px;
}
code {
  font-size: 10px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
}
.login-story {
  position: relative;
  overflow: hidden;
  background: #edf6ff;
  padding: 80px max(45px, 8vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
.login-story h1 {
  white-space: pre-line;
  font-size: 48px;
  letter-spacing: -2px;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.login-story p {
  color: #58718b;
  max-width: 380px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}
.login-story .eyebrow {
  color: #4c87b8;
}
.login-card {
  align-self: center;
  padding: 70px;
  max-width: 590px;
  margin: auto;
}
.login-card h2 {
  font-size: 32px;
  margin-bottom: 18px;
}
.login-card > .muted {
  line-height: 1.9;
}
.login-footnote {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: #8c9bab;
  font-size: 11px;
  line-height: 1.8;
}
.signal {
  position: absolute;
  bottom: -165px;
  right: -140px;
  width: 490px;
  height: 490px;
  display: grid;
  place-items: center;
  opacity: 0.4;
}
.signal i {
  position: absolute;
  border: 1px solid #8dc5ff;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}
.signal i:nth-child(2) {
  width: 75%;
  height: 75%;
}
.signal i:nth-child(3) {
  width: 50%;
  height: 50%;
}
.signal i:nth-child(4) {
  width: 25%;
  height: 25%;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: min(570px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  color: inherit;
  box-shadow: 0 25px 100px #172d4930;
}
dialog::backdrop {
  background: #15263966;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  margin-bottom: 0;
}
.dialog-head button {
  font-size: 12px;
}
.dialog-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font-weight: 400;
}
dl {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  font-size: 12px;
  padding: 20px 0;
  margin: 0;
}
dt {
  color: #7c8fa1;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.report-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 12px;
}
.evidence {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 17px;
  font-size: 13px;
  line-height: 1.8;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #203c50;
  color: #fff;
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 5px 30px #15263926;
  z-index: 10;
  max-width: calc(100vw - 48px);
}
@media (min-width: 1500px) {
  .main {
    padding-left: 65px;
    padding-right: 65px;
  }
}
@media (max-width: 1050px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .main {
    padding: 0 25px 35px;
  }
  .layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 14px;
  }
  .login-card {
    padding: 40px;
  }
  .login-story {
    padding: 50px;
  }
  .login-story h1 {
    font-size: 38px;
  }
}
@media (max-width: 700px) {
  .layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }
  .brand {
    margin-bottom: 18px;
  }
  .nav-caption,
  .identity {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 6px;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    margin: 0;
    padding: 9px;
  }
  .nav-icon {
    display: none;
  }
  .main {
    padding: 0 18px 30px;
  }
  .topbar {
    height: 55px;
  }
  .heading {
    margin-top: 25px;
    align-items: start;
  }
  .heading h1 {
    font-size: 28px;
  }
  .heading .secondary {
    font-size: 11px;
    padding: 8px;
    white-space: nowrap;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat p {
    font-size: 11px;
  }
  .welcome-panel {
    padding: 24px;
  }
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search-form {
    width: 100%;
    flex: auto;
  }
  .login-page {
    display: block;
  }
  .login-story {
    min-height: auto;
    padding: 30px;
  }
  .login-story .brand-mark {
    margin-bottom: 25px;
  }
  .login-story h1 {
    font-size: 30px;
  }
  .login-story p {
    font-size: 12px;
    margin-bottom: 0;
  }
  .login-card {
    padding: 35px 25px;
  }
  .login-story .signal {
    display: none;
  }
  th,
  td {
    padding: 14px;
  }
  .sidebar .identity {
    display: block;
    border: 0;
    padding: 10px 0 0;
    margin: 0;
  }
  .identity p {
    display: inline;
    margin: 0 8px;
  }
  .identity .badge {
    display: none;
  }
  .identity .text-button {
    font-size: 11px;
  }
}
.qa-banner {
  background: #fff1c6;
  color: #745817;
  text-align: center;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.login-card {
  width: 100%;
}
.login-card .login-footnote {
  margin-top: 28px;
}
.identity .text-button {
  display: block;
}
dialog > input[readonly] {
  width: 100%;
  font-family: monospace;
  margin-bottom: 16px;
}
dialog > hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
