:root {
  color-scheme: dark;
  --bg: #0b0e10;
  --surface: #12171a;
  --line: #272e33;
  --text: #e1e8eb;
  --muted: #9ba8af;
  --accent: #75c9c4;
  --neutral: #849198;
  --success: #78c7a4;
  --warning: #e2b574;
  --critical: #e68989;
  font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #101417; z-index: 2; }
.brand { min-height: 67px; display: flex; align-items: center; gap: 10px; padding: 0 19px; border-bottom: 1px solid var(--line); }
.orb { display: block; }
.brand-text { display: grid; gap: 2px; color: var(--accent); font-size: 9px; letter-spacing: .22em; }
.wordmark { display: block; height: auto; filter: invert(1) brightness(1.3); }
#nav { position: relative; min-height: 0; flex: 1; overflow-y: auto; padding: 10px 10px 16px; scrollbar-width: thin; scrollbar-color: #38444b transparent; }
.nav-group + .nav-group { margin-top: 16px; }
.nav-group h2 { margin: 6px 9px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.nav-group a { display: flex; gap: 9px; align-items: center; padding: 7px 8px; border: 1px solid transparent; border-radius: 6px; color: #b6c0c6; font-size: 12px; line-height: 1.35; }
.nav-group a svg { flex: 0 0 16px; color: #86969e; }
.nav-group a:hover, .nav-group a[aria-current] { background: #182627; border-color: #2c4748; color: #d7efed; }
.nav-group a[aria-current] svg { color: var(--accent); }
.sidebar-foot { display: flex; gap: 8px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.workspace { min-width: 0; background: radial-gradient(#ffffff0b .65px, transparent .65px) 0 0 / 16px 16px; }
.topbar { min-height: 67px; display: flex; align-items: center; gap: 14px; padding: 0 clamp(16px, 3vw, 38px); border-bottom: 1px solid var(--line); background: #101417; }
.breadcrumb { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: 12px; color: var(--muted); }
.breadcrumb > span:first-child { white-space: nowrap; }
#current-page { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.languages { margin-left: auto; display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 7px; }
.languages button { border: 0; padding: 4px 7px; border-radius: 4px; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.languages button:hover, .languages button[aria-pressed="true"] { color: #def6f4; background: #203435; }
main { max-width: 1360px; margin: auto; padding: 30px clamp(16px, 3vw, 38px); }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 32px; }
h1 { font-size: clamp(24px, 3.1vw, 34px); font-weight: 650; line-height: 1.15; letter-spacing: -.03em; margin: 0; }
#page-description { margin: 9px 0 0; color: var(--muted); }
#page-description:empty { display: none; }
.status { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 6px 9px; border: 1px solid #323b41; border-radius: 6px; background: var(--surface); color: #b8c4ca; font-size: 11px; }
.dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--neutral); }
#workspaces { font-size: 13px; font-weight: 650; margin: 0 0 12px; }
.quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quick-links a, .placeholder { min-height: 86px; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.quick-links a { font-size: 13px; font-weight: 600; }
.quick-links a:hover { border-color: #426467; background: #162124; }
.tile-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #344b4e; border-radius: 7px; background: #1b2b2d; color: var(--accent); }
.arrow { color: var(--accent); margin-left: auto; }
.placeholder { min-height: 108px; color: var(--muted); }
.menu-button { display: none; }
.scrim { position: fixed; inset: 0; width: 100%; height: 100%; background: #020607b8; border: 0; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1040px) {
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(270px, 85vw); transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .menu-button { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); }
  .topbar { min-height: 56px; gap: 10px; }
}
@media (max-width: 480px) {
  .breadcrumb > span:not(:last-child) { display: none; }
  .page-heading { flex-direction: column; margin-bottom: 24px; }
  .quick-links { grid-template-columns: minmax(0, 1fr); }
  .quick-links a { min-height: 62px; }
}
