@font-face {
  font-family: Archivo;
  src: url("/assets/fonts/Archivo-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f5f7fb;
  --surface: #fff;
  --subtle: #eef2f7;
  --field: #f6f8fb;
  --border: #e3e8f0;
  --text: #151827;
  --muted: #667085;
  --primary: #2a3ba0;
  --primary-ink: #fff;
  --soft: #eef0fa;
  --success: #14845d;
  --warning: #956200;
  --danger: #c63029;
  --info: #2ab4e5;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--canvas);
  font-family:
    Archivo,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111522;
  --surface: #171c2a;
  --subtle: #222a3b;
  --field: #202636;
  --border: #2a3244;
  --text: #f2f5fa;
  --muted: #a8b1c2;
  --primary: #6ccdf2;
  --primary-ink: #07101d;
  --soft: #202f42;
  --success: #59d5a7;
  --warning: #f4c465;
  --danger: #ff938c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font:
    14px/1.5 Archivo,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--info);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin-bottom: 8px;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}
h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 6px;
}
p {
  color: var(--muted);
  margin-bottom: 0;
}
svg.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.global-bar {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  width: 208px;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 26px;
  height: 30px;
}
.brand strong {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 720;
}
.brand > span {
  margin-left: 5px;
  border-left: 1px solid var(--border);
  padding-left: 15px;
  color: var(--muted);
  font-size: 14px;
}
.bar-spacer {
  flex: 1;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.dot.good {
  background: var(--success);
}
.icon-button {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
}
.account-button {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  font-weight: 700;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.navigation {
  position: fixed;
  top: 70px;
  bottom: 0;
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  z-index: 15;
}
.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 10px 12px 12px;
}
.navigation nav {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 41px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.nav-item:hover {
  background: var(--subtle);
  text-decoration: none;
}
.nav-item.active {
  background: var(--soft);
  color: var(--primary);
  font-weight: 650;
}
.external {
  margin-left: auto;
  font-size: 14px;
}
.nav-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 20px 12px 4px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.nav-footer p {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0 10px;
}
.nav-footer a {
  font-size: 12px;
}
.page {
  margin-left: 240px;
  padding: 30px 32px 20px;
  min-height: calc(100dvh - 70px);
  max-width: 1900px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.page-heading .eyebrow {
  margin-bottom: 10px;
}
.page-heading p {
  font-size: 13px;
}
.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 13px;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.button:hover {
  background: var(--subtle);
  text-decoration: none;
}
.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}
.button.small {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.metric-label svg {
  width: 17px;
}
.metric strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
  font-weight: 680;
  line-height: 1;
  margin: 14px 0 9px;
}
.metric small {
  font-size: 11px;
  color: var(--muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 0 0 14px;
}
.section-heading > p {
  font-size: 12px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 21px;
  color: var(--text);
}
.tool-card:hover {
  text-decoration: none;
  border-color: var(--primary);
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.tool-card h3 {
  font-size: 15px;
}
.tool-card p {
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 17px;
  max-width: 270px;
}
.tool-card .open-tool {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.panel-header {
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-body {
  padding: 20px;
}
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.pill {
  font-size: 10px;
  font-weight: 600;
  background: var(--subtle);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill.good {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 9%, var(--surface));
}
.pill.warning {
  color: var(--warning);
  background: color-mix(in srgb, var(--warning) 9%, var(--surface));
}
.pill.bad {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
}
.record {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: center;
}
.record:last-child {
  border-bottom: 0;
}
.record .record-main {
  flex: 1;
  min-width: 0;
}
.record strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.record small {
  font-size: 11px;
  color: var(--muted);
}
.record img {
  width: 74px;
  height: 45px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--subtle);
}
.record .record-end {
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}
.record .record-end .pill {
  margin-top: 4px;
}
.meter {
  height: 5px;
  border-radius: 5px;
  background: var(--subtle);
  overflow: hidden;
  margin-top: 9px;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 5px;
}
.empty {
  padding: 38px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--success);
}
.empty strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
}
.page-footer {
  margin-top: 30px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.notice,
.error-banner {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 14px;
}
.notice > div {
  flex: 1;
}
.notice p {
  font-size: 12px;
}
.error-banner {
  color: var(--danger);
  border-color: var(--danger);
  font-size: 13px;
}
.status-line {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.field,
input[type="search"],
select {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  min-height: 38px;
}
input[type="search"] {
  flex: 1;
  min-width: 190px;
}
.toolbar .status-line {
  margin: 0 0 0 auto;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 18px;
}
.dashboard-grid .panel {
  align-self: start;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.screenshot-card {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  color: var(--text);
  text-align: left;
  width: 100%;
}
.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #0c101b;
}
.screenshot-meta {
  padding: 15px;
  display: grid;
  gap: 7px;
}
.screenshot-meta strong {
  font-size: 13px;
}
.screenshot-meta small {
  color: var(--muted);
  font-size: 11px;
}
.screenshot-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.center-actions {
  text-align: center;
  margin-top: 24px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
th {
  background: var(--field);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}
th button {
  font: inherit;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
tbody tr:hover {
  background: var(--field);
}
td img {
  width: 70px;
  border-radius: 4px;
}
.column-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.column-group {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.column-group h3 {
  margin-bottom: 12px;
}
.column-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  font-size: 12px;
}
.column-group input {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
}
.preset-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.selected-columns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.column-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 9px;
  border-radius: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
}
.column-chip button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 1px 4px;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -60px;
  padding: 10px;
  background: var(--surface);
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.menu-toggle {
  display: none;
}
dialog {
  max-width: 1100px;
  width: 90vw;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}
dialog::backdrop {
  background: #0c101bbb;
}
dialog img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #0c101b;
}
dialog .section-heading {
  margin-bottom: 15px;
}
.wall-mode .navigation,
.wall-mode .page-footer {
  display: none;
}
.wall-mode .page {
  margin-left: 0;
}
.wall-mode .dashboard-grid {
  grid-template-columns: 1fr 1.5fr 1fr;
}
.skeleton {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .navigation {
    width: 264px;
  }
  .page {
    margin-left: 264px;
    padding: 32px 40px;
  }
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1150px) {
  .tools-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid > section:last-child {
    grid-column: 1/-1;
  }
  .metric {
    padding: 16px;
  }
  .page {
    padding: 24px;
  }
  .column-picker {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .navigation {
    transform: translateX(-100%);
  }
  .nav-open .navigation {
    transform: none;
    box-shadow: 20px 0 40px #0002;
  }
  .menu-toggle {
    display: grid;
  }
  .global-bar {
    padding: 0 18px;
    gap: 10px;
  }
  .brand {
    width: auto;
  }
  .page {
    margin-left: 0;
    padding: 22px 20px;
  }
  .metrics {
    gap: 10px;
  }
  .connection {
    margin-left: auto;
  }
  .bar-spacer {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .nav-open:after {
    content: "";
    position: fixed;
    inset: 70px 0 0 240px;
    background: #0004;
    z-index: 14;
  }
}
@media (max-width: 600px) {
  .page {
    padding: 22px 16px;
  }
  .brand strong {
    font-size: 23px;
  }
  .brand > span {
    font-size: 12px;
    padding-left: 10px;
  }
  .connection {
    font-size: 0;
    flex: 1;
    justify-content: flex-end;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric strong {
    font-size: 27px;
  }
  .tools-grid,
  .gallery,
  .dashboard-grid,
  .wall-mode .dashboard-grid,
  .column-picker {
    grid-template-columns: 1fr;
  }
  .tool-card {
    min-height: 175px;
  }
  .notice {
    flex-wrap: wrap;
  }
  .notice .button {
    width: 100%;
  }
  .page-footer {
    flex-direction: column;
  }
  .toolbar > * {
    max-width: 100%;
  }
  .toolbar .status-line {
    width: 100%;
    margin: 0;
  }
  .dashboard-grid > section:last-child {
    grid-column: auto;
  }
  h1 {
    font-size: 25px;
  }
  .record {
    padding: 14px;
  }
  .record .record-end {
    max-width: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 901px) {
  .dashboard-grid .panel {
    max-height: 560px;
    overflow: auto;
  }
  .dashboard-grid .panel-header {
    position: sticky;
    top: 0;
    background: var(--surface);
    z-index: 1;
  }
  .wall-mode .metrics,
  .wall-mode .page-heading {
    display: none;
  }
  .wall-mode .dashboard-grid .panel {
    max-height: calc(100dvh - 170px);
  }
}

@media (max-width: 900px) {
  .navigation {
    visibility: hidden;
  }
  .nav-open .navigation {
    visibility: visible;
  }
}

.screenshot-card:disabled {
  opacity: 1;
  cursor: default;
}
