@font-face {
  font-family: Inter;
  src: url(/assets/inter-latin.woff2) format('woff2');
  font-weight: 400 750;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --paper: #fff;
  --soft: #f4f6fc;
  --ink: #182136;
  --muted: #526078;
  --sub: #586780;
  --line: #dce2ed;
  --field: #a8b4c8;
  --blue: #294cda;
  --button: #294cda;
  --blue-bg: #edf2ff;
  --green: #176645;
  --green-bg: #e9f6ef;
  --amber: #805119;
  --amber-bg: #fff3db;
  --red: #a12d38;
  --red-bg: #fff0f0;
  --shadow: 0 2px 7px #1a315507;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101623;
    --paper: #182031;
    --soft: #1d273b;
    --ink: #f0f3fb;
    --muted: #b8c2d7;
    --sub: #a9b6cf;
    --line: #35415a;
    --field: #67758e;
    --blue: #a0b4ff;
    --button: #3958cc;
    --blue-bg: #273659;
    --green: #8adcb1;
    --green-bg: #173a30;
    --amber: #f4c783;
    --amber-bg: #3e3121;
    --red: #ffadb3;
    --red-bg: #452b35;
    --shadow: none;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 1rem/1.55 Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
a,
button,
input,
textarea,
select,
summary {
  touch-action: manipulation;
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3,
strong {
  font-weight: 620;
}
h1 {
  font-size: clamp(2rem, 3.25vw, 3.05rem);
  line-height: 1.07;
  letter-spacing: -0.063em;
}
h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 0.82rem;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
::selection {
  background: #d9e3ff;
  color: #142d70;
}
.ic {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip {
  position: absolute;
  z-index: 15;
  top: -6rem;
  left: 1rem;
  background: var(--paper);
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
.initial,
#app > .loading,
#app > .notice {
  margin: 5vh 5vw;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  width: max-content;
}
.brand > span {
  font-size: 1.5rem;
  letter-spacing: -0.071em;
  font-weight: 715;
}
.brand > small {
  padding: 1px 6px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 5px;
  margin-left: 2px;
  letter-spacing: -0.035em;
  font-weight: 510;
}
.btn,
.subtle,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 43px;
  padding: 10px 16px;
  font-size: 0.89rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  letter-spacing: -0.015em;
}
.btn .ic {
  width: 17px;
  height: 17px;
}
.primary {
  background: var(--button);
  color: white;
  box-shadow: 0 2px 3px #142c6a13;
}
.primary:hover {
  background: #2343bd;
}
.secondary,
.icon-only {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}
.secondary:hover,
.icon-only:hover {
  background: var(--soft);
  border-color: var(--field);
}
.small {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.83rem;
}
.text-link,
.plain {
  font-weight: 570;
  color: var(--blue);
}
.text-link {
  text-decoration: underline;
}
.subtle {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 560;
}
.subtle:hover,
.docs-link:hover {
  text-decoration: underline;
}
.plain,
.quiet-danger {
  background: transparent;
  border: none;
  padding: 7px 3px;
  min-height: 36px;
}
.danger {
  background: #a3313c;
  color: #fff;
}
.quiet-danger {
  color: var(--red);
}
.icon-only {
  width: 38px;
  height: 38px;
  min-height: 38px;
  font-size: 0;
  gap: 0;
  padding: 8px;
}
.icon-only .ic {
  width: 19px;
  height: 19px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 590;
  line-height: 1.4;
  white-space: nowrap;
}
.badge .ic {
  width: 14px;
  height: 14px;
}
.neutral,
.session {
  background: var(--soft);
  color: var(--muted);
}
.ok {
  color: var(--green);
  background: var(--green-bg);
}
.warn {
  color: var(--amber);
  background: var(--amber-bg);
}
.error {
  color: var(--red);
  background: var(--red-bg);
}
.info {
  color: var(--blue);
  background: var(--blue-bg);
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 9px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.notice .ic {
  margin-top: 2px;
}
.notice + form {
  margin-top: 22px;
}
.loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.loading i {
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.side-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 23px 15px 14px;
}
.side-inner > .brand {
  margin: 0 8px 27px;
}
.org-tile,
.identity,
.docs-link,
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
}
.org-tile {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 3px 8px;
  background: var(--soft);
}
.org-tile > div,
.identity > span:last-child {
  display: grid;
  min-width: 0;
}
.org-tile strong,
.identity strong {
  font-size: 0.86rem;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.org-tile small,
.identity small {
  font-size: 0.75rem;
  color: var(--sub);
}
.tile-icon,
.row-icon,
.avatar,
.step-icon,
.empty-icon {
  display: grid;
  place-items: center;
  flex: none;
}
.tile-icon {
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--blue);
}
.side-inner nav h2 {
  color: var(--sub);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  margin: 24px 12px 8px;
}
.nav-link,
.docs-link {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 540;
  letter-spacing: -0.016em;
  text-decoration: none;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 7px;
}
.nav-link + .nav-link {
  margin-top: 2px;
}
.nav-link:hover,
.docs-link:hover,
.identity:hover {
  background: var(--soft);
}
.nav-link[aria-current] {
  color: var(--blue);
  background: var(--blue-bg);
  font-weight: 640;
}
.side-bottom {
  margin-top: auto;
  padding-top: 20px;
}
.docs-link .ic:last-child {
  margin-left: auto;
  width: 14px;
}
.identity {
  border-top: 1px solid var(--line);
  margin-top: 13px;
  padding: 17px 5px 0;
  color: var(--ink);
  text-decoration: none;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
}
.workspace-bar {
  height: 69px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 clamp(22px, 3.35vw, 58px);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.85rem;
  min-width: 0;
}
.crumb strong {
  color: var(--ink);
  font-weight: 570;
}
.crumb > .ic {
  width: 12px;
}
.crumb-mark {
  display: grid;
  place-items: center;
  color: var(--blue);
}
.crumb-mark .ic {
  width: 17px;
}
.workspace-bar .badge {
  align-self: center;
}
.workspace {
  margin: auto;
  padding: clamp(28px, 3.2vw, 52px) clamp(22px, 3.35vw, 58px) 60px;
  display: grid;
  align-content: start;
  gap: 24px;
  max-width: 1536px;
  min-width: 0;
}
.workspace > div:empty,
.feedback:empty {
  display: none;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 5px;
}
.page-title > div {
  min-width: 0;
}
.page-title p {
  margin-top: 9px;
}
.page-title > .badge {
  align-self: center;
}
.page-title > .btn {
  flex: none;
}
.drawer,
.menu-toggle {
  display: none;
}
.right-pane,
.panel,
.result,
.form,
.panel-body,
.stack,
.lookup-grid > * {
  min-width: 0;
}
.panel,
.status-card,
.metrics article,
.shortcut {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
}
.section-head h2,
.section-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head h2 .ic {
  color: var(--sub);
  width: 18px;
}
.status-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr);
  overflow: hidden;
}
.status-copy {
  padding: clamp(22px, 2.4vw, 36px);
}
.eyeline,
.art-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 590;
}
.eyeline {
  color: var(--muted);
}
.eyeline .ic {
  width: 16px;
}
.status-copy h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  letter-spacing: -0.05em;
  margin: 10px 0;
}
.status-copy p {
  max-width: 52ch;
}
.status-copy .actions {
  margin-top: 21px;
}
.status-art,
.auth-aside {
  background-color: #182b55;
  background-image: linear-gradient(125deg, #162747, #263e73);
}
.status-art {
  display: grid;
  align-items: center;
  border-left: 1px solid var(--line);
}
.status-art img,
.auth-map {
  display: block;
  width: 100%;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 20px;
  gap: 16px;
}
.steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.steps li:last-child {
  border: 0;
}
.step-icon {
  background: var(--soft);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.steps li:first-child .step-icon {
  background: var(--green-bg);
  color: var(--green);
}
.steps li:nth-child(2) .step-icon {
  background: var(--amber-bg);
  color: var(--amber);
}
.steps small,
.steps strong {
  display: block;
}
.steps small {
  font-size: 0.76rem;
}
.steps strong {
  font-size: 0.94rem;
}
.steps p {
  font-size: 0.84rem;
  margin-top: 4px;
}
.shortcut-section h2 {
  margin: 0 0 13px;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.shortcut {
  padding: 17px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.shortcut:hover {
  border-color: var(--blue);
}
.shortcut > span:nth-child(2) {
  flex: 1;
}
.shortcut strong,
.shortcut small {
  display: block;
}
.shortcut strong {
  font-size: 0.93rem;
}
.shortcut small {
  font-size: 0.8rem;
}
.shortcut > .ic {
  width: 14px;
  color: var(--sub);
}
.stack {
  display: grid;
  align-content: start;
  gap: 20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metrics article {
  padding: 18px;
}
.metric-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 550;
}
.metric-title .ic {
  color: var(--blue);
}
.metrics strong {
  display: block;
  font-size: 2.15rem;
  line-height: 1.2;
  letter-spacing: -0.055em;
  margin: 12px 0 3px;
}
.chart {
  padding: 22px;
}
.plot {
  width: 100%;
  height: 162px;
  display: block;
}
.gridline {
  stroke: var(--line);
  stroke-dasharray: 4 4;
}
.line {
  fill: none;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}
.line.checks {
  stroke: var(--blue);
}
.line.denied {
  stroke: var(--red);
  stroke-dasharray: 7 3;
}
.line.review {
  stroke: var(--amber);
  stroke-dasharray: 2 4;
}
.area {
  fill: var(--blue-bg);
}
.axis,
.legend {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}
.legend {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 15px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 14px;
  border-top: 3px solid var(--blue);
}
.legend .denied {
  border-color: var(--red);
  border-top-style: dashed;
}
.legend .review {
  border-color: var(--amber);
  border-top-style: dotted;
}
.chart details {
  margin-top: 16px;
}
summary {
  font-size: 0.85rem;
  color: var(--blue);
  width: fit-content;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.84rem;
  text-align: left;
}
td,
th {
  border-bottom: 1px solid var(--line);
  padding: 7px 3px;
}
caption {
  margin: 12px;
}
.empty {
  text-align: center;
  padding: clamp(32px, 5vw, 70px) 18px;
  display: grid;
  justify-items: center;
  gap: 5px;
}
.empty-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--blue);
  background: var(--soft);
}
.empty-icon .ic {
  width: 24px;
  height: 24px;
}
.empty strong {
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}
.empty p {
  max-width: 42ch;
  font-size: 0.91rem;
}
.panel-body,
.panel > .form {
  padding: 22px;
}
.panel-body {
  display: grid;
  justify-items: start;
  gap: 10px;
  overflow-wrap: anywhere;
}
.account-grid,
.lookup-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
}
.panel .notice {
  margin: 15px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
}
.list-row + .list-row {
  border-top: 1px solid var(--line);
}
.row-icon {
  width: 37px;
  height: 37px;
  background: var(--soft);
  border-radius: 8px;
  color: var(--sub);
}
.row-data {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.row-data > strong {
  font-size: 0.96rem;
}
.row-data p {
  font-size: 0.85rem;
  margin-top: 2px;
}
.row-data details {
  margin-top: 5px;
}
.row-tail {
  display: flex;
  align-items: center;
  gap: 13px;
}
.row-tail .badge {
  align-self: center;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 14px 0;
}
.facts dt,
.secret-row > strong {
  font-size: 0.8rem;
  color: var(--muted);
}
.facts dd {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}
.result-item {
  padding: 0 21px;
  border-top: 1px solid var(--line);
}
.result-item .section-head {
  border: none;
  padding: 17px 0 0;
}
.verdict-summary {
  padding: 15px 18px;
  margin: 16px;
  border-radius: 8px;
  display: grid;
  justify-items: start;
  gap: 8px;
}
.verdict-summary p,
.verdict-summary small {
  color: inherit;
}
.verdict-summary .badge {
  font-size: 1rem;
}
.form {
  display: grid;
  gap: 18px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.wide {
  grid-column: 1/-1;
}
.field {
  min-width: 0;
}
.field label,
legend {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field small {
  display: block;
  line-height: 1.45;
  margin-top: 5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--field);
  background: var(--paper);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.4;
}
.field select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23747f96' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
}
.field textarea {
  resize: vertical;
}
.field input::placeholder {
  color: var(--sub);
}
.field input.otp {
  max-width: 205px;
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  cursor: pointer;
}
.choice input {
  flex: none;
  margin: 3px 0 0;
  width: 17px;
  height: 17px;
  accent-color: var(--button);
}
.choice .text-link {
  display: inline;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.form fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
  margin: 0;
}
.form legend {
  padding: 0;
}
.indicator-list {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.indicator-row {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  padding: 14px;
}
.indicator-top {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}
.indicator-top .field {
  flex: 1;
}
.indicator-top .icon-only {
  margin-bottom: 3px;
}
.form > .actions {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.feedback .loading {
  padding: 0;
}
.form h2:not(:first-child) {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  max-width: min(560px, calc(100vw - 24px));
  width: 100%;
  max-height: calc(100dvh - 32px);
  box-shadow: 0 18px 60px #101d3940;
}
dialog::backdrop {
  background: #0b16388c;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-head h2 {
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}
.dialog-head + p {
  font-size: 0.94rem;
  margin: 5px 0 21px;
}
.secret-row {
  margin: 15px 0;
}
.secret {
  display: block;
  overflow-wrap: anywhere;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  margin: 5px 0 8px;
  font:
    500 0.89rem/1.55 ui-monospace,
    monospace;
}
.copy-status {
  color: var(--muted);
  font-size: 0.82rem;
}
.auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 16px max(calc((100vw - 1200px) / 2), 5vw);
  gap: 15px;
}
.auth-main {
  margin: clamp(26px, 5.5vw, 82px) auto 25px;
  width: min(1100px, 90%);
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1.14fr);
  align-items: start;
  gap: clamp(32px, 5vw, 78px);
}
.auth-aside {
  color: white;
  border-radius: 16px;
  padding: 34px 30px 25px;
  overflow: hidden;
  position: sticky;
  top: 24px;
}
.art-caption {
  color: #c9d7fc;
}
.auth-aside h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  letter-spacing: -0.067em;
  margin: 14px 0 10px;
  line-height: 1.07;
}
.auth-aside > p {
  color: #cfdbf4;
  font-size: 0.97rem;
  max-width: 34ch;
}
.auth-map {
  width: calc(100% + 60px);
  max-width: none;
  margin: 20px -30px 16px;
}
.auth-steps {
  list-style: none;
  padding: 0;
  display: grid;
}
.auth-steps li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #ffffff28;
  font-size: 0.86rem;
}
.auth-steps .ic {
  color: #abc2ff;
  width: 17px;
}
.auth-steps small {
  color: #cedbf6;
  font-size: 0.75rem;
}
.auth-content {
  padding: 8px 0 20px;
}
.auth-content > header {
  margin-bottom: 24px;
}
.auth-content > header p {
  margin-top: 9px;
}
.auth-content .form h2 {
  font-size: 1rem;
}
.auth-content .form > .actions {
  padding-top: 0;
  border: 0;
}
.auth-content .form > .actions .primary {
  width: 100%;
}
.after-form,
.auth-footer {
  color: var(--muted);
  font-size: 0.87rem;
}
.after-form {
  margin-top: 19px;
  text-align: center;
}
.auth-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}
.auth-footer a {
  color: inherit;
}
.enroll {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.qr {
  width: min(36%, 168px);
  height: auto;
  display: block;
  background: white;
  padding: 6px;
  border-radius: 5px;
}
.enroll > div {
  min-width: 0;
}
.enroll h2 {
  font-size: 1rem;
}
.enroll p {
  font-size: 0.87rem;
}
.enroll .secret-row {
  margin: 7px 0;
}
.strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
.strength meter {
  width: 70px;
  height: 10px;
  accent-color: var(--blue);
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .shortcut-grid {
    gap: 9px;
  }
  .shortcut {
    flex-wrap: wrap;
  }
  .shortcut > .ic {
    display: none;
  }
  .steps {
    gap: 12px;
  }
  .steps li {
    display: block;
  }
  .steps .step-icon {
    margin-bottom: 8px;
  }
  .auth-steps li {
    grid-template-columns: auto 1fr;
  }
  .auth-steps small {
    grid-column: 2;
  }
  .metrics {
    gap: 9px;
  }
  .metrics article {
    padding: 14px;
  }
}
@media (max-width: 900px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .crumb-mark {
    display: none;
  }
  .drawer[open] {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    height: 100dvh;
    max-height: 100dvh;
    width: min(295px, 90vw);
    margin: 0;
    padding: 0;
    max-width: none;
    border-radius: 0;
    border-width: 0 1px 0 0;
  }
  .drawer-close {
    position: absolute;
    right: 9px;
    top: 23px;
  }
  .drawer .brand {
    margin-right: 32px;
  }
  .drawer .side-inner {
    padding-top: 24px;
  }
  .auth-main {
    gap: 25px;
  }
  .workspace-bar {
    height: 60px;
  }
  .workspace {
    max-width: 1000px;
  }
  .auth-aside {
    padding-inline: 22px;
  }
  .auth-map {
    width: calc(100% + 44px);
    margin-inline: -22px;
  }
}
@media (max-width: 700px) {
  .auth-main {
    display: block;
    width: min(530px, calc(100% - 36px));
    margin-top: 28px;
  }
  .auth-aside {
    display: none;
  }
  .auth-content {
    padding: 0;
  }
  .auth-bar {
    padding: 13px 18px;
  }
  .auth-bar .brand {
    gap: 4px;
  }
  .auth-bar .brand > span {
    font-size: 1.28rem;
  }
  .auth-bar .brand img {
    width: 29px;
  }
  .auth-bar .subtle {
    font-size: 0.82rem;
  }
  .workspace {
    gap: 17px;
    padding: 25px 16px 40px;
  }
  .workspace-bar {
    padding: 0 14px;
  }
  .crumb {
    gap: 7px;
    font-size: 0.8rem;
  }
  .workspace-bar .badge {
    font-size: 0.7rem;
  }
  .page-title {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2px;
  }
  .page-title p {
    font-size: 0.93rem;
  }
  .page-title > .badge {
    align-self: flex-start;
  }
  .status-card {
    grid-template-columns: 1fr;
  }
  .status-art {
    height: 100px;
    order: -1;
    border: 0;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    align-content: center;
  }
  .status-art img {
    width: min(100%, 360px);
    height: 158px;
    margin: auto;
  }
  .status-copy {
    padding: 19px;
  }
  .steps {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .steps li {
    display: flex;
    border: none;
    gap: 13px;
  }
  .steps p {
    margin: 0;
  }
  .steps .step-icon {
    margin: 3px 0 0;
  }
  .shortcut-grid,
  .lookup-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .shortcut {
    flex-wrap: nowrap;
    padding: 13px;
  }
  .shortcut > .ic {
    display: block;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics strong {
    font-size: 1.85rem;
  }
  .section-head {
    padding: 15px;
  }
  .section-head h2 {
    font-size: 1.05rem;
  }
  .chart {
    padding: 15px;
  }
  .plot {
    height: 125px;
  }
  .panel > .form,
  .panel-body {
    padding: 17px;
  }
  .list-row {
    padding: 14px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .row-tail {
    flex-wrap: wrap;
  }
  .list-row:has(.quiet-danger) .row-tail {
    width: 100%;
    justify-content: space-between;
    padding-left: 46px;
  }
  .brand > small {
    font-size: 0.76rem;
  }
  .fields {
    gap: 12px;
  }
  .auth-footer {
    padding-top: 0;
  }
  .panel .facts {
    gap: 9px;
  }
  .empty {
    padding: 30px 15px;
  }
}
@media (max-width: 460px) {
  .fields,
  .check-grid {
    grid-template-columns: 1fr;
  }
  .fields .wide {
    grid-column: 1;
  }
  .auth-main .fields {
    gap: 15px;
  }
  .enroll {
    align-items: flex-start;
    flex-direction: column;
  }
  .qr {
    width: 146px;
  }
  .chart .section-head {
    flex-wrap: wrap;
  }
  .workspace-bar .badge .ic {
    display: none;
  }
  .section-head .badge {
    font-size: 0.7rem;
  }
  .steps strong {
    font-size: 0.9rem;
  }
  dialog {
    padding: 17px;
  }
  .auth-content > header {
    margin-bottom: 18px;
  }
  .strength {
    flex-wrap: wrap;
  }
  .list-row .row-data {
    min-width: 0;
  }
  .crumb strong {
    letter-spacing: -0.025em;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.plot-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}
.plot {
  height: 155px;
}
.scale {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.axis {
  margin-left: 24px;
}
.crumb-mark img {
  display: block;
}
@media (max-width: 900px) {
  .crumb-mark {
    display: grid;
  }
  .crumb-mark img {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 700px) {
  .status-art {
    height: 115px;
  }
  .status-art img {
    height: 128px;
  }
  .plot {
    height: 130px;
  }
  .scale {
    padding-bottom: 17px;
  }
}
@media (max-width: 460px) {
  .crumb-home > span {
    display: none;
  }
}
.panel > .simple-lookup {
  padding: clamp(18px, 2.2vw, 30px);
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'field action'
    'hint hint'
    'feedback feedback';
  gap: 0 12px;
}
.simple-lookup > .field {
  grid-area: field;
}
.simple-lookup label {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  margin-bottom: 2px;
}
.query-examples {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.simple-lookup input {
  min-height: 54px;
  padding-inline: 16px;
}
.simple-lookup > .actions {
  grid-area: action;
  align-self: end;
  border: none;
  padding: 0;
}
.simple-lookup .primary {
  min-height: 54px;
  padding-inline: 22px;
  font-size: 1rem;
}
.simple-lookup > small {
  grid-area: hint;
  margin-top: 9px;
}
.simple-lookup .feedback {
  grid-area: feedback;
  margin-top: 12px;
}
.simple-result {
  overflow-wrap: anywhere;
}
.lookup-outcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px clamp(18px, 2.2vw, 30px);
  border-radius: 11px 11px 0 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.outcome-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.outcome-title > .ic {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 11px;
}
.outcome-title small {
  color: inherit;
}
.outcome-title h2 {
  font-size: clamp(1.6rem, 2.45vw, 2.15rem);
  line-height: 1.1;
}
.outcome-query {
  display: grid;
  gap: 3px;
  text-align: right;
}
.outcome-query strong {
  font-size: 0.88rem;
}
.outcome-query code {
  font: 500 0.96rem/1.4 ui-monospace, monospace;
}
.lookup-overview,
.lookup-reasons,
.lookup-details {
  padding: 18px clamp(18px, 2.2vw, 30px);
}
.lookup-summary {
  max-width: 75ch;
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  color: var(--ink);
}
.no-matches {
  color: var(--green);
  margin-bottom: 3px;
}
.lookup-reasons,
.lookup-details {
  border-top: 1px solid var(--line);
}
.lookup-reasons > ul {
  list-style: none;
  padding: 0;
}
.lookup-reasons li {
  padding: 8px 0;
}
.lookup-reasons li + li {
  border-top: 1px solid var(--line);
}
.lookup-reasons li:last-child {
  padding-bottom: 0;
}
.reason-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.87rem;
}
.lookup-details,
.lookup-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 24px;
}
.lookup-details dt,
.lookup-context h3 {
  color: var(--muted);
  font-weight: 570;
  font-size: 0.88rem;
  letter-spacing: normal;
  margin-bottom: 4px;
}
.lookup-wallet {
  grid-column: 1/-1;
}
.lookup-wallet > * + * {
  margin-top: 12px;
}
.lookup-wallet .lookup-facts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}
.wallet-note {
  font-size: 0.94rem;
  color: var(--muted);
}
.lookup-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
}
.lookup-tags li {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.88rem;
}
.related-count {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 8px;
  font-size: 0.94rem;
}
.related-count .ic {
  color: var(--blue);
}
.advanced-lookup > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 570;
  color: var(--muted);
  list-style: none;
}
.advanced-lookup > summary::-webkit-details-marker {
  display: none;
}
.advanced-lookup > summary .ic {
  width: 15px;
}
.advanced-lookup[open] > summary .ic {
  transform: rotate(90deg);
}
.advanced-lookup .lookup-grid {
  margin-top: 8px;
}
@media (max-width: 620px) {
  .panel > .simple-lookup {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'field' 'hint' 'action' 'feedback';
  }
  .simple-lookup > .actions {
    margin-top: 14px;
  }
  .simple-lookup .primary {
    width: 100%;
    min-height: 46px;
  }
  .lookup-outcome {
    flex-wrap: wrap;
  }
  .outcome-query {
    text-align: left;
  }
  .lookup-details {
    grid-template-columns: minmax(0, 1fr);
  }
  .lookup-wallet .lookup-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
}
