:root {
  color-scheme: dark;
  --bg: #101013;
  --panel: #19191e;
  --line: #303037;
  --muted: #9c9ca7;
  --text: #f4f2f1;
  --red: #ed3751;
  --green: #71ccac;
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-wrap: anywhere;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
  background: #25252c;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 16px;
  min-height: 44px;
}
button:hover,
a.card:hover {
  border-color: #77717b;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
  font-weight: 700;
}
button.quiet {
  background: none;
}
button.danger {
  color: #ff8a9a;
}
input {
  /* Prevent Safari from zooming the viewport when a field receives focus. */
  font-size: 16px;
  display: block;
  width: 100%;
  padding: 12px;
  background: #111115;
  border: 1px solid #41414c;
  color: white;
  border-radius: 8px;
  margin: 6px 0 18px;
}
input[type="checkbox"] {
  display: inline;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
  accent-color: var(--red);
}
label {
  display: block;
  color: #d7d5d9;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -1.6px;
  line-height: 1.15;
  margin-bottom: 13px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.muted,
p {
  color: var(--muted);
}
.eyebrow,
.aside-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  color: var(--red);
}
#shell {
  display: flex;
  min-height: 100vh;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  border-right: 1px solid var(--line);
  padding: 36px 22px;
  background: #131316;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--muted);
  margin-top: -3px;
}
.brand-mark {
  font-size: 34px;
  letter-spacing: -6px;
}
.brand-mark span,
.mobile-brand span {
  color: var(--red);
}
.aside-label {
  margin: 47px 10px 15px;
  color: #72727f;
  font-size: 9px;
  letter-spacing: 1.6px;
}
nav a {
  display: flex;
  gap: 14px;
  padding: 12px 15px;
  margin-bottom: 4px;
  border-radius: 8px;
  color: #a9a7b1;
  font-weight: 500;
}
nav a.active {
  background: #ed375114;
  color: #ff6b80;
}
nav .glyph {
  font-size: 18px;
  width: 20px;
  text-align: center;
}
.nav-separator {
  height: 1px;
  background: var(--line);
  margin: 20px 10px;
}
.aside-foot {
  margin-top: auto;
  padding: 30px 10px 0;
  font-size: 11px;
  color: #c0bdc8;
}
.aside-foot p {
  font-size: 10px;
  margin: 7px 0;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 7px;
}
.workspace {
  margin-left: 238px;
  flex: 1;
  min-width: 0;
}
header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 45px;
}
.context {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #c7c3ce;
}
.context span {
  color: #777481;
  margin-left: 15px;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header-actions button {
  padding: 6px 12px;
}
.private-tag {
  font-size: 9px;
  letter-spacing: 1px;
  color: #aaa5b4;
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 5px;
}
.mobile-brand {
  display: none;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 44px 45px 60px;
  min-height: calc(100vh - 150px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.page-heading p {
  margin-bottom: 0;
  max-width: 650px;
}
.date {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 30px 0 15px;
}
.section-title h2 {
  margin: 0;
}
.section-title small {
  font-size: 10px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 13px;
  padding: 23px;
}
.service-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card .service-icon {
  font-size: 22px;
  margin-bottom: 21px;
  font-weight: 800;
}
.service-card:nth-child(2) .service-icon {
  color: #d1b99b;
}
.service-card:nth-child(3) .service-icon {
  font-family: Georgia, serif;
  font-style: italic;
}
.service-card p {
  font-size: 12px;
  margin: 4px 0 22px;
}
.card-end {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.status {
  font-size: 10px;
  color: var(--green);
  border: 1px solid #71ccac30;
  border-radius: 20px;
  padding: 3px 8px;
}
.status.unavailable {
  color: #e2b876;
  border-color: #e2b87640;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  padding: 19px;
}
.metric .value {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 650;
}
.metric .label {
  font-size: 11px;
  color: #bcb7c4;
}
.metric small {
  font-size: 10px;
  color: var(--muted);
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.panel-heading h2 {
  margin: 0;
}
.panel-heading a {
  font-size: 11px;
  color: var(--red);
}
.empty {
  padding: 23px 0;
  color: var(--muted);
  font-size: 12px;
}
.empty strong {
  color: #d9d4df;
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child {
  border: 0;
}
.row p {
  margin: 3px 0;
  font-size: 12px;
}
.row time {
  font-size: 10px;
  color: var(--muted);
}
.row-title {
  font-size: 13px;
  font-weight: 600;
}
.row.unread {
  border-left: 2px solid var(--red);
  padding-left: 13px;
}
.severity {
  font-size: 9px;
  text-transform: uppercase;
  color: #e2b876;
  letter-spacing: 1px;
}
.severity.critical,
.severity.high {
  color: #ff6f84;
}
.severity.info {
  color: #88c7b6;
}
.banner {
  border-left: 2px solid var(--red);
  background: #21181d;
  border-radius: 4px;
  padding: 15px 19px;
  margin: 22px 0;
  color: #bfb4c0;
  font-size: 12px;
}
.banner b {
  color: white;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.actions button {
  font-size: 12px;
  padding: 7px 12px;
}
.link-button {
  display: inline-block;
  padding: 10px 16px;
  background: #27252d;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.auth-card {
  max-width: 440px;
  margin: 6vh auto;
  background: var(--panel);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.auth-card h1 {
  font-size: 34px;
  margin: 15px 0;
}
.auth-card p {
  font-size: 13px;
}
.auth-card button.primary {
  width: 100%;
  margin-top: 8px;
}
.auth-card .eyebrow {
  margin-bottom: 15px;
}
.error {
  color: #ff8da0;
  font-size: 12px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.preference {
  padding: 13px 0;
  display: flex;
  align-items: center;
}
.report {
  margin-bottom: 16px;
}
.passkey-settings {
  margin-top: 18px;
}
.report summary {
  cursor: pointer;
  font-weight: 650;
}
.report .stats {
  margin-top: 20px;
  grid-template-columns: repeat(3, 1fr);
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 20px 45px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 2px;
  color: #8d8597;
  display: flex;
  justify-content: space-between;
}
footer span {
  letter-spacing: 0.4px;
}
#mobile-nav {
  display: none;
}
#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #f5eff2;
  color: #211b22;
  border-radius: 8px;
  padding: 12px 18px;
  z-index: 20;
  max-width: 90vw;
  box-shadow: 0 5px 30px #0007;
}
#toast:empty {
  display: none;
}
.loading {
  padding: 50px 0;
  color: var(--muted);
}
:focus-visible {
  outline: 2px solid #ff7188;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  aside {
    width: 208px;
  }
  .workspace {
    margin-left: 208px;
  }
  header {
    padding: 0 28px;
  }
  main {
    padding: 35px 28px;
  }
  .cards {
    gap: 12px;
  }
  .card,
  .panel {
    padding: 18px;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .date {
    display: none;
  }
}
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: clip;
  }
  #shell,
  .workspace {
    width: 100%;
  }
  .cards > *,
  .stats > *,
  .two-col > *,
  .settings-grid > *,
  .row > *,
  .page-heading > *,
  .panel-heading > * {
    min-width: 0;
  }
  aside,
  .context {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  header {
    height: 72px;
    height: calc(72px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right))
      0 max(16px, env(safe-area-inset-left));
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions button {
    padding-inline: 10px;
    flex-shrink: 0;
  }
  .mobile-brand {
    display: block;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: -4px;
  }
  .mobile-brand b {
    font-size: 11px;
    letter-spacing: 2px;
    margin-left: 15px;
  }
  .private-tag {
    display: none;
  }
  main {
    padding: 29px max(16px, env(safe-area-inset-right))
      calc(110px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }
  .page-heading {
    margin-bottom: 26px;
  }
  .page-heading p {
    font-size: 12px;
  }
  h1 {
    font-size: 33px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    min-height: 158px;
    padding: 20px 20px 18px 76px;
  }
  .service-card .service-icon {
    position: absolute;
    left: 22px;
    top: 22px;
  }
  .service-card p {
    margin-bottom: 16px;
  }
  .service-card h3 {
    font-size: 18px;
  }
  .card-end {
    font-size: 10px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric .value {
    font-size: 28px;
  }
  .two-col,
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .row {
    flex-wrap: wrap;
  }
  .panel-heading,
  .section-title {
    flex-wrap: wrap;
  }
  .actions > * {
    max-width: 100%;
  }
  .section-title {
    margin-top: 27px;
  }
  .section-title h2 {
    font-size: 17px;
  }
  #mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    background: #151519f5;
    backdrop-filter: blur(15px);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    z-index: 10;
  }
  #mobile-nav a {
    padding: 7px 10px;
    margin: 0;
    gap: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 9px;
    min-width: 60px;
  }
  #mobile-nav .glyph {
    font-size: 20px;
  }
  .auth-card {
    margin: 15px auto;
    padding: 24px;
  }
  .auth-card h1 {
    font-size: 30px;
  }
  footer {
    padding: 18px 20px 100px;
    gap: 15px;
    font-size: 8px;
  }
  .report .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
