:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #1c2231;
  background: #f5f6fa;
  font-size: 14px;
  font-synthesis: none;
  --nav: #111526;
  --paper: #fff;
  --ink: #171c2a;
  --muted: #626a7d;
  --line: #e3e6ee;
  --accent: #6650d8;
  --accent2: #5440c0;
  --lav: #f0ecff;
  --green: #147957;
  --radius: 13px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--accent2);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #8068ed;
}
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -0.05em;
  line-height: 1.1;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.026em;
}
h3 {
  font-size: 15px;
  letter-spacing: -0.014em;
}
p {
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.caps {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 750;
}
.quiet {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border-radius: 8px;
}
.quiet:hover {
  background: #eeedf5;
}
.btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #262d40;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  min-height: 36px;
  padding: 8px 12px;
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
}
.btn:hover {
  border-color: #b8b2d8;
  background: #faf9ff;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 2px 4px #35288918;
}
.btn.primary:hover {
  background: var(--accent2);
}
.btn.soft {
  background: #f1edff;
  color: #4937a7;
  border-color: #e6defc;
}
.btn.danger {
  color: #a52a44;
}
.btn.small {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}
.icon-btn {
  width: 36px;
  padding: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.spacer {
  flex: 1;
}
.layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 21px 14px 14px;
  background: var(--nav);
  color: #e8e9f6;
  z-index: 4;
  border-right: 1px solid #23283c;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 1px 8px 23px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #7960ed;
  color: #fff;
  border-radius: 10px;
  font-weight: 850;
  font-size: 20px;
  box-shadow:
    inset 0 0 0 1px #ffffff36,
    0 4px 18px #8968ff38;
}
.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.brand-caption {
  font-size: 10px;
  color: #a7adc6;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.switcher {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #34394e;
  border-radius: 10px;
  background: #1d2237;
  margin: 0 1px 24px;
  padding: 9px;
  min-width: 0;
}
.workspace-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #322951;
  color: #cabaff;
  border-radius: 7px;
  font-weight: 750;
  font-size: 12px;
}
.switcher select {
  color: #f3f0ff;
  background: #1d2237;
  border: 0;
  font-size: 12px;
  min-width: 0;
  width: 100%;
  font-weight: 650;
}
.nav-label {
  color: #939ab4;
  margin: 0 9px 8px;
  font-size: 10px;
}
.nav {
  display: grid;
  gap: 3px;
  margin-bottom: 23px;
}
.nav-item {
  background: transparent;
  color: #bfc4da;
  border: 0;
  border-radius: 8px;
  min-height: 39px;
  text-align: left;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 550;
  width: 100%;
}
.nav-item:hover {
  background: #222740;
  color: #fff;
}
.nav-item.active {
  color: #f3eeff;
  background: #302650;
  box-shadow: inset 3px 0 #a78aff;
}
.nav-item .n-badge {
  font-size: 10px;
  background: #ffffff13;
  padding: 2px 6px;
  border-radius: 7px;
  margin-left: auto;
  color: #dad6ed;
}
.sidebar-foot {
  margin-top: auto;
  padding: 12px 4px 1px;
  border-top: 1px solid #32364b;
  display: flex;
  gap: 9px;
  align-items: center;
}
.avatar {
  background: #e9dfff;
  color: #5b3fb3;
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.sidebar-foot strong {
  font-size: 12px;
  display: block;
}
.sidebar-foot small {
  font-size: 10px;
  color: #acb2c7;
}
.sidebar-foot .quiet:hover {
  background: #30354c;
}
.main {
  min-width: 0;
}
.topbar {
  height: 62px;
  background: #ffffffee;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 27px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 3;
  backdrop-filter: blur(8px);
}
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: #646c80;
  font-size: 12px;
}
.crumb strong {
  color: #20263b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #24a875;
  display: inline-block;
  flex-shrink: 0;
}
.top-status {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 23px 27px 32px;
  max-width: 1560px;
  margin: 0 auto;
}
.page-head {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 17px;
}
.page-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: #565e73;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}
.chip.purple {
  color: #5c44b0;
  background: #f0eaff;
  border-color: #e6ddff;
}
.queue {
  background: radial-gradient(ellipse at 86% 3%, #37265f 0%, transparent 57%),
    linear-gradient(112deg, #161b30, #21203a);
  border-radius: 15px;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 20px;
  box-shadow: 0 7px 18px #18193718;
}
.queue .eyebrow {
  color: #c2acf9;
  margin-bottom: 8px;
}
.queue .muted {
  color: #c8c7df;
}
.queue-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.queue-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-align: left;
  border: 1px solid #ffffff1f;
  background: #ffffff0d;
  color: #fff;
  border-radius: 9px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.queue-item:hover {
  background: #ffffff1a;
}
.queue-item strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.queue-item .key {
  color: #c2acf9;
}
.queue-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  align-content: start;
}
.queue-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  border: 1px solid #ffffff24;
  background: #ffffff10;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}
.queue-stat strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.queue-stat span {
  color: #c8c7df;
  font-size: 11px;
}
.queue-stat.zero strong {
  color: #8f8ea8;
}
.sla {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  margin-left: 4px;
}
.sla.overdue {
  background: #fce9ed;
  color: #a73249;
}
.sla.due {
  background: #fff2d9;
  color: #805a20;
}
.row.align-end {
  align-items: end;
}
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 2px 6px;
  background: #fff;
}
label[hidden] {
  display: none;
}
@media (max-width: 760px) {
  .queue {
    grid-template-columns: 1fr;
  }
}
.hero-art {
  width: min(34%, 360px);
  min-width: 175px;
  height: 112px;
  display: block;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 15px 0 17px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 100px;
  min-width: 0;
}
.metric .mi {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #eeeaff;
  color: #654cc8;
  display: grid;
  place-items: center;
}
.metric:nth-child(2) .mi {
  background: #fff0f0;
  color: #aa3c53;
}
.metric:nth-child(3) .mi {
  background: #e6f6ee;
  color: #127654;
}
.metric:nth-child(4) .mi {
  background: #ecf1ff;
  color: #3f5abd;
}
.metric-top {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.metric strong {
  font-size: 25px;
  display: block;
  margin: 6px 0 1px;
  letter-spacing: -0.045em;
}
.metric small {
  font-size: 11px;
  color: #666f83;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 29%);
  gap: 14px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.panel-body {
  padding: 15px;
}
.search-row {
  padding: 11px 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9f9fc;
  padding: 0 9px;
  flex: 1;
  min-width: 145px;
  color: #737b92;
}
.search input {
  min-width: 0;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 7px 0;
  outline-offset: 1px;
}
.select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 8px;
  background: #fff;
  color: #333a4d;
  min-width: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 750;
  color: #666e81;
  background: #fafafd;
  padding: 9px 13px;
  white-space: nowrap;
}
td {
  padding: 10px 13px;
  border-top: 1px solid #edf0f5;
  vertical-align: middle;
}
.ticket-btn {
  color: var(--ink);
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  display: block;
  line-height: 1.34;
  font-weight: 650;
  font-size: 12.5px;
  min-width: 150px;
  max-width: 100%;
}
.ticket-btn:hover {
  color: var(--accent2);
}
.ticket-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #70788b;
  font-size: 10.5px;
  margin-top: 4px;
  white-space: nowrap;
}
.key {
  font:
    700 10.5px ui-monospace,
    Consolas,
    monospace;
  color: #6956a4;
  letter-spacing: 0.005em;
}
.status,
.priority {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 7px;
  background: #eff0f5;
  color: #50576b;
}
.status.in-progress {
  background: #eee7ff;
  color: #5d3cb6;
}
.status.triaging {
  background: #e9efff;
  color: #3d56a2;
}
.status.waiting {
  background: #fff2d9;
  color: #805a20;
}
.status.resolved,
.status.approved,
.status.sent {
  background: #e5f5ec;
  color: #146444;
}
.status.pending,
.status.needs-review {
  background: #fff2d9;
  color: #805a20;
}
.status.rejected,
.status.failed {
  background: #fcebef;
  color: #a0354d;
}
.priority.urgent {
  background: #fce9ed;
  color: #a73249;
}
.priority.high {
  background: #fff1dc;
  color: #8e5721;
}
.priority.low {
  background: #eaf0fa;
  color: #455c80;
}
.priority:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: currentColor;
}
.owner {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.owner .avatar {
  width: 22px;
  height: 22px;
  font-size: 8px;
}
.activity {
  display: grid;
  gap: 0;
  padding: 3px 13px 7px;
}
.event {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eff0f5;
  align-items: start;
}
.event:last-child {
  border: 0;
}
.event-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eeeaff;
  color: #674cc8;
  display: grid;
  place-items: center;
}
.event-icon.time {
  background: #e5f6ed;
  color: #147957;
}
.event-icon.github {
  background: #ebedf5;
  color: #444a65;
}
.event-icon.report {
  background: #edf1ff;
  color: #485dbb;
}
.event strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}
.event p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 1px;
}
.event-time {
  color: #646d83;
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.evidence-foot {
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.footer {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  color: #737c91;
  font-size: 10px;
  gap: 8px;
}
.form {
  display: grid;
  gap: 12px;
}
.form label {
  display: grid;
  gap: 5px;
  font-weight: 650;
  color: #333b50;
  font-size: 12px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #d8dce8;
  border-radius: 8px;
  background: #fff;
  color: #22283a;
  min-height: 38px;
  padding: 8px 10px;
}
.form textarea {
  min-height: 85px;
  resize: vertical;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form .check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 500;
}
.form .check input {
  width: 14px;
  min-height: 0;
  margin: 2px 0;
}
.form .hint {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
}
.notice {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ded6f6;
  background: #f4efff;
  color: #534582;
  font-size: 12px;
  line-height: 1.55;
}
.notice.alert {
  border-color: #f4ddab;
  background: #fff7e8;
  color: #714b13;
}
.empty {
  padding: 27px 16px;
  text-align: center;
  color: var(--muted);
  line-height: 1.5;
}
.empty strong {
  display: block;
  color: #252b41;
  margin-bottom: 4px;
}
.empty .btn {
  margin-top: 10px;
}
.stack {
  display: grid;
  gap: 13px;
}
.twocol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.kv {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f5;
}
.kv:last-child {
  border: 0;
}
.kv .meta {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.setup-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 13px;
}
.setup-line:last-child {
  margin-bottom: 0;
}
.setup-num {
  display: grid;
  place-items: center;
  color: #5944af;
  background: #eee9ff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 750;
  flex-shrink: 0;
}
.setup-line p {
  color: var(--muted);
  font-size: 12px;
}
.codebox {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7fb;
  word-break: break-all;
  white-space: pre-wrap;
  color: #494263;
  font:
    12px/1.5 ui-monospace,
    Consolas,
    monospace;
  margin: 8px 0;
}
.preline {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.timerbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #e1d7ff;
  background: #f5f1ff;
  border-radius: 10px;
  color: #483d78;
}
.timerbar.paused {
  border-style: dashed;
  background: #fff7df;
  color: #785c1e;
}
.timerbar time {
  font:
    700 13px ui-monospace,
    Consolas,
    monospace;
  font-variant-numeric: tabular-nums;
}
.topbar {
  flex-wrap: wrap;
  height: auto;
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.ledger-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
}
.ledger-filters label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.ledger-actions {
  margin-top: 5px;
}
.work-note {
  white-space: normal;
}
@media (max-width: 700px) {
  .topbar .timerbar {
    order: 5;
    width: 100%;
  }
  .topbar:has(.timerbar) {
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
.error-text {
  color: #a12945;
  font-size: 12px;
  line-height: 1.45;
}
.portal-shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 23px 28px 38px;
}
.portal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.portal-head .brand {
  padding: 0;
}
.portal-hero {
  background: linear-gradient(118deg, #1e1a37, #38265d);
  border-radius: 16px;
  padding: 28px 25px;
  color: white;
  margin-bottom: 16px;
}
.portal-hero h1 {
  margin: 7px 0 8px;
}
.portal-hero p {
  color: #ddd3f5;
}
.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(265px, 36%);
  gap: 14px;
}
.portal-grid > .panel {
  align-self: start;
}
.portal-cards {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.portal-card {
  background: #fbfbfe;
  border: 1px solid var(--line);
  text-align: left;
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.portal-card:hover {
  background: #f4efff;
}
.portal-card strong {
  display: block;
  font-size: 13px;
}
.portal-card .status {
  margin-left: auto;
}
.portal-card .key {
  display: block;
  margin-bottom: 4px;
}
dialog {
  border: 1px solid var(--line);
  padding: 0;
  border-radius: 16px;
  width: min(590px, calc(100% - 28px));
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 18px 65px #10142747;
  overflow: auto;
}
dialog::backdrop {
  background: #17192c99;
  backdrop-filter: blur(2px);
}
.dialog-head {
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dialog-body {
  padding: 15px 17px 17px;
}
.ticket-detail {
  display: grid;
  gap: 12px;
}
.message {
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}
.message.internal {
  background: #fff8e8;
  border-color: #f0e0bc;
}
.message strong {
  display: block;
  font-size: 11px;
  color: #555b6d;
  margin-bottom: 3px;
}
#toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 20;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border-radius: 9px;
  background: #201b37;
  color: white;
  box-shadow: 0 8px 26px #1b183144;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.18s;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: none;
}
#toast.error {
  background: #8b2742;
}
.loading-shell {
  min-height: 80dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
}
.auth-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: radial-gradient(ellipse at 80% 75%, #452e78, transparent 70%), #15192d;
  color: #f9f6ff;
  padding: clamp(25px, 5vw, 85px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.auth-story h1 {
  font-size: clamp(36px, 5vw, 65px);
  max-width: 530px;
}
.auth-story p {
  max-width: 430px;
  color: #d0c9e9;
}
.auth-pane {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 25px;
}
.auth-form {
  width: min(410px, 100%);
}
.auth-form h2 {
  font-size: 25px;
  margin-bottom: 5px;
}
.auth-form > .form {
  margin-top: 18px;
}
.auth-form > .actions {
  margin-top: 15px;
}
.auth-form .brand {
  padding: 0 0 18px;
}
.token {
  display: grid;
  gap: 8px;
}

.no-wrap {
  white-space: nowrap;
}
@media (min-width: 1500px) {
  .layout {
    grid-template-columns: 244px minmax(0, 1fr);
  }
  .content {
    padding: 27px 34px;
  }
  .topbar {
    padding: 0 34px;
  }
}
@media (max-width: 1120px) {
  .layout {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .content {
    padding: 19px 18px 26px;
  }
  .topbar {
    padding: 0 18px;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .hide-narrow {
    display: none;
  }
  .hero-art {
    min-width: 135px;
  }
}
@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar {
    padding-left: 9px;
    padding-right: 9px;
  }
  .layout {
    grid-template-columns: 176px minmax(0, 1fr);
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 690px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 228px;
    box-shadow: 5px 0 25px #1b17375c;
    z-index: 8;
  }
  .layout.menu-open .sidebar {
    display: flex;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    padding: 0 12px;
    height: 55px;
  }
  .top-status {
    display: none;
  }
  .content {
    padding: 15px 12px 25px;
  }
  .hero {
    padding: 17px 14px;
    min-height: 130px;
  }
  .hero-art {
    display: none;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head .chip {
    white-space: normal;
    flex-shrink: 0;
  }
  .twocol {
    grid-template-columns: 1fr;
  }
  .portal-shell {
    padding: 15px 12px 24px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-pane {
    padding: 25px 16px;
    min-height: 100dvh;
  }
  .footer {
    display: block;
  }
  .crumb .crumb-parent {
    display: none;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 8px;
  }
  .hide-mobile {
    display: none;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.access-row {
  flex-wrap: wrap;
}
.access-row > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.access-row .owner {
  white-space: normal;
}
.access-row .avatar {
  flex-shrink: 0;
}
.access-subhead {
  padding: 0 15px;
  font-size: 13px;
}
.portal-grid + .panel {
  margin-top: 14px;
}
.portal-auth-brand {
  font-weight: 600;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}
.auth-form > .notice {
  margin-bottom: 15px;
}
