@font-face { font-family: "Public Sans"; src: url("/assets/public-sans-a40547bb.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --canvas: #f6f5f1; --surface: #fff; --sidebar: #efede7; --code-bg: #fbfaf6; --hover: #fcfbf8;
  --ink: #1a1c20; --muted: #676b73; --border: #e2dfd7; --border-strong: #cbc7bc; --field-border: #8e8a81;
  --accent: #3245cf; --accent-hover: #2535a8; --accent-soft: #eceefc;
  --accent-fill: #3245cf; --accent-fill-hover: #2535a8; --on-accent: #fff;
  --danger: #b8322a; --danger-soft: #fbeae8; --ok: #1e7349; --ok-soft: #e4f2ea;
  --mark: #ffe45c; --mark-soft: #fff4bd; --mark-ink: #5b4900; --selection-ink: #1a1c20;
  --nav: #17191d; --nav-raised: #23262b; --nav-active: #2c2f35; --nav-ink: #ecebe6; --nav-muted: #b6b5ae; --nav-rule: #30333a;
  --scrollbar: #8a857a; --radius: 6px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141518; --surface: #1b1c20; --sidebar: #25272c; --code-bg: #17181b; --hover: #24262b;
  --ink: #ecebe6; --muted: #9a9a93; --border: #2f3137; --border-strong: #53575f; --field-border: #666b75;
  --accent: #9ea8ff; --accent-hover: #c0c6ff; --accent-soft: #232848;
  --accent-fill: #4555dc; --accent-fill-hover: #5262e6;
  --danger: #f28b82; --danger-soft: #3a1d1b; --ok: #74c995; --ok-soft: #15291e;
  --mark: #ecd257; --mark-soft: #362f14; --mark-ink: #ecd257;
  --nav: #0e0f11; --nav-raised: #1b1d21; --nav-active: #262930; --nav-rule: #2a2c31;
  --scrollbar: #676b73;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.55 "Public Sans", sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
::selection { background: var(--mark); color: var(--selection-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
input, select { min-height: 40px; border: 1px solid var(--field-border); border-radius: 6px; color: var(--ink); background: var(--surface); padding: 8px 12px; max-width: 100%; caret-color: var(--accent); }
input[readonly] { background: var(--canvas); }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 28px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 8px; text-wrap: balance; }
h2 { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
h3 { font-size: 14px; font-weight: 650; }
p { max-width: 72ch; }
.icon { width: 19px; height: 19px; flex: 0 0 19px; vertical-align: middle; }
.button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 10px 16px; min-height: 40px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--on-accent); background: var(--accent-fill); text-decoration: none; white-space: nowrap; cursor: pointer; }
.button:hover { background: var(--accent-fill-hover); }
.button.secondary { color: var(--ink); border-color: var(--field-border); background: var(--surface); }
.button.secondary:hover { background: var(--sidebar); }
.button:disabled { opacity: .55; cursor: wait; }
.text-button { border: 0; padding: 4px; color: var(--accent); background: transparent; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.full-width { width: 100%; }
.muted, .field-help, .fine-print { color: var(--muted); }
.field-help, .fine-print { font-size: 12px; line-height: 1.6; margin: 8px 0 16px; }
.separator { margin: 0 8px; color: var(--muted); }
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--nav); color: var(--nav-ink); display: flex; flex-direction: column; padding: 24px 12px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: inline-flex; align-items: baseline; color: var(--ink); font-size: 26px; letter-spacing: -.04em; font-weight: 800; text-decoration: none; width: fit-content; }
.brand-mark { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 5px; text-underline-offset: -4px; text-decoration-skip-ink: none; }

.sidebar nav { margin-top: 28px; }
.nav-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nav-muted); padding: 10px; margin-bottom: 4px; border-radius: 4px; font-size: 13px; }
.nav-link:hover { background: var(--nav-raised); color: var(--nav-ink); }
.nav-link.active { background: var(--nav-active); color: var(--nav-ink); font-weight: 650; }
.nav-heading { font-size: 11px; color: var(--nav-muted); margin: 28px 10px 12px; }
.owner-name { display: flex; align-items: center; gap: 8px; padding: 10px; margin-top: 12px; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; color: var(--nav-ink); }
.owner-avatar { width: 28px; height: 28px; flex-shrink: 0; background: #315f51; color: white; border-radius: 4px; display: grid; place-items: center; font-size: 12px; }
.owner-kind { display: block; font-size: 11px; line-height: 1.4; color: var(--nav-muted); font-weight: 400; }
.project-link { padding-left: 18px; overflow-wrap: anywhere; }
.project-dot { width: 5px; height: 5px; background: var(--nav-muted); border-radius: 50%; flex-shrink: 0; }
.active .project-dot { background: var(--mark); }
.add-project { font-size: 12px; margin-top: 18px; }
.sidebar-footer { margin-top: auto; padding: 20px 8px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #565b64; color: white; font-weight: 650; }
.account-name { flex: 1; font-size: 12px; overflow-wrap: anywhere; }
.account-name small { display: block; color: var(--nav-muted); font-size: 11px; }
.topbar { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 32px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--surface); overflow-wrap: anywhere; }
.topbar-note { font-size: 12px; }
.main-content { padding: 28px 32px 64px; max-width: 1480px; margin: 0 auto; }
.page-heading { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.page-heading p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.filter-bar label { margin-bottom: 0; }
.filter-bar select { font-size: 12px; }
.search-field { flex: 1; min-width: 190px; }
.search-field input { width: 100%; font-size: 12px; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; margin: 18px 0 10px; }
.live-controls { display: flex; gap: 12px; align-items: center; }
.live-controls [role=status]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.live-controls .stale::before { background: var(--danger); }
.result-summary { padding: 12px 16px; border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--canvas); color: var(--muted); font-size: 12px; }
.result-summary strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); }
.issue-table { width: 100%; border-collapse: collapse; background: var(--surface); text-align: left; min-width: 640px; }
.issue-table th { font-size: 12px; font-weight: 550; color: var(--muted); padding: 10px 16px; background: var(--surface); white-space: nowrap; border-bottom: 1px solid var(--border); }
.issue-table td { padding: 18px 16px; font-size: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.issue-table tr:last-child td { border-bottom: none; }
.issue-table tbody tr:hover { background: var(--hover); }
.issue-table td:first-child { width: 62%; min-width: 260px; }
.issue-title { display: flex; align-items: flex-start; gap: 12px; }
.issue-title a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; display: block; max-width: 68ch; }
.issue-title a:hover { color: var(--accent); text-decoration: underline; }
.issue-title small { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
.severity-mark { color: var(--danger); margin-top: 1px; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.issue-table time { white-space: nowrap; color: var(--muted); font-size: 11px; }
.status-badge { display: inline-block; border-radius: 4px; padding: 3px 7px; font-size: 11px; line-height: 1.4; font-weight: 600; }
.unresolved { color: var(--danger); background: var(--danger-soft); }
.resolved { color: var(--ok); background: var(--ok-soft); }
.pagination-link { display: block; padding: 18px 0; text-align: right; font-size: 12px; }
.empty-state { text-align: center; padding: 72px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface); }
.empty-state p { max-width: 48ch; margin: 0 auto 24px; color: var(--muted); }
.empty-state h2 { margin: 12px 0; }
.empty-symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.project-list { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.project-row { display: flex; align-items: center; gap: 20px; text-decoration: none; padding: 24px; color: var(--ink); border-bottom: 1px solid var(--border); }
.project-row:last-child { border: 0; }
.project-row:hover { background: var(--hover); }
.project-symbol { color: var(--muted); padding: 8px; }
.project-description { flex: 1; min-width: 0; }
.project-description h2 { margin: 0 0 4px; font-size: 16px; overflow-wrap: anywhere; }
.project-description p { font-size: 12px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.project-meta { min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
.project-meta strong { display: block; font-size: 17px; }
.project-meta span, .project-last { font-size: 11px; color: var(--muted); }
.project-last { min-width: 160px; text-align: right; }
.setup-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 36px; }
.form-panel { background: var(--surface); border: 1px solid var(--border); padding: 28px; border-radius: var(--radius); margin-bottom: 24px; }
.form-panel input:not([type=submit]), .form-panel select, .setup-aside input { width: 100%; }
.form-panel label:not(:first-child) { margin-top: 20px; }
.form-panel .button { margin-top: 12px; }
.form-panel p, .setup-aside p { font-size: 13px; color: var(--muted); }
.setup-aside { padding: 20px 0; }
.setup-aside h2 { font-size: 16px; }
.setup-aside .button { white-space: normal; }
pre { overflow-x: auto; padding: 16px; background: var(--code-bg); border-radius: 5px; font: 12px/1.75 ui-monospace, SFMono-Regular, monospace; tab-size: 2; }
code, .mono { font-family: ui-monospace, SFMono-Regular, monospace; font-size: .9em; }
summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.form-panel details { margin: 16px 0; }
.back-link { display: inline-block; font-size: 12px; margin-bottom: 20px; }
.issue-heading h1 { font-size: 28px; overflow-wrap: anywhere; }
.issue-heading .exception-message { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.issue-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0; }
.issue-summary > div { padding: 16px; border-right: 1px solid var(--border); }
.issue-summary > div:last-child { border-right: 0; }
dt { font-size: 12px; color: var(--muted); }
dd { margin: 5px 0 0; font-size: 13px; font-weight: 550; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; }
.section-heading span { font-size: 12px; }
.exception-block { margin-bottom: 28px; }
.exception-block > h3 { margin-bottom: 5px; }
.exception-block > p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin-bottom: 14px; }
.stack-frame { background: var(--surface); border: 1px solid var(--border); border-bottom: 0; }
.stack-frame:last-child { border-bottom: 1px solid var(--border); border-radius: 0 0 6px 6px; }
.stack-frame summary { display: flex; align-items: center; gap: 12px; padding: 14px; font-weight: 400; }
.stack-frame summary::before { content: ""; width: 5px; height: 5px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(-45deg); flex-shrink: 0; }
.stack-frame[open] summary::before { transform: rotate(45deg); }
.stack-frame summary::-webkit-details-marker { display: none; }
.stack-frame summary:hover { background: var(--hover); }
.frame-number { color: var(--muted); width: 16px; flex-shrink: 0; font-size: 10px; font-variant-numeric: tabular-nums; }
.frame-description { min-width: 0; flex: 1; }
.frame-description strong { display: block; font: 600 13px/1.5 ui-monospace, SFMono-Regular, monospace; overflow-wrap: anywhere; }
.frame-description span { display: block; font: 12px/1.5 ui-monospace, SFMono-Regular, monospace; color: var(--muted); overflow-wrap: anywhere; margin-top: 4px; }
.app-label { font-size: 11px; color: var(--mark-ink); background: var(--mark-soft); padding: 2px 5px; border-radius: 3px; }
.frame-context { padding: 0 16px 16px 44px; }
.frame-context p { font-size: 11px; }
.frame-context pre { margin: 0 0 10px; padding: 12px 0; border-radius: 0; }
.context-line { display: block; padding: 0 12px; min-height: 20px; }
.error-line { background: var(--mark-soft); color: var(--ink); }
.source-link { font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.source-link .icon { width: 12px; height: 12px; }
.event-sidebar { border-left: 1px solid var(--border); padding-left: 24px; min-width: 0; }
.event-sidebar h2 { font-size: 16px; margin-bottom: 6px; }
.event-sidebar select { width: 100%; font-size: 12px; }
.event-sidebar .button { margin-top: 8px; font-size: 11px; }
.event-facts { margin: 24px 0; }
.event-facts dt { margin-top: 16px; }
.event-facts dd { font-size: 12px; font-weight: 400; }
.environment-tag { background: var(--sidebar); padding: 3px 7px; border-radius: 4px; }
.empty-inline { padding: 20px; background: var(--sidebar); font-size: 12px; border-radius: 6px; }
.payload { margin-top: 28px; }
.payload summary { padding: 12px 0; border-top: 1px solid var(--border); }
.notice { padding: 12px 16px; margin-bottom: 24px; background: var(--accent-soft); border-radius: 6px; color: var(--accent); font-size: 13px; }
.notice.alert { background: var(--danger-soft); color: var(--danger); }
.public-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 6vw; }
.public-header > span { color: var(--muted); font-size: 12px; }
.public-main { max-width: 1200px; margin: auto; padding: 8vh 6vw; }
.sign-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.sign-in-copy h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.15; margin-bottom: 24px; }
.sign-in-copy p { font-size: 16px; }
.sign-in-copy .muted { font-size: 13px; margin-top: 28px; max-width: 42ch; }
.sign-in-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.sign-in-panel h2 { font-size: 22px; margin-bottom: 12px; }
.sign-in-panel > p { color: var(--muted); font-size: 13px; }
.sign-in-panel .fine-print { font-size: 11px; margin-top: 20px; margin-bottom: 0; }
.setup-note { padding: 16px; background: var(--canvas); border-radius: 6px; font-size: 12px; }
.setup-note p { margin: 8px 0 0; overflow-wrap: anywhere; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10; background: var(--surface); padding: 12px; }
.skip-link:focus { top: 12px; }
@media (max-width: 1100px) { .main-content { padding: 28px 24px; } .app-shell { grid-template-columns: 200px minmax(0, 1fr); } .project-last { display: none; } .detail-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; } .issue-summary > div { padding: 14px; } }
@media (max-width: 850px) { .detail-layout, .setup-layout { grid-template-columns: minmax(0, 1fr); } .event-sidebar { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; } .event-facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; } .event-facts dt, .event-facts dd { margin: 0; } .topbar-note { display: none; } .issue-summary { grid-template-columns: 1fr 1fr; } .issue-summary > div:nth-child(2) { border-right: 0; } .issue-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } .sign-in { gap: 36px; } }
@media (max-width: 650px) { .app-shell { display: block; } .sidebar { position: static; height: auto; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--border); flex-direction: row; align-items: center; gap: 16px; overflow: visible; flex-wrap: wrap; } .brand-note, .nav-heading, .owner-name, .project-link, .sidebar-footer, .add-project { display: none; } .sidebar nav { margin: 0 0 0 auto; } .nav-link { margin: 0; } .topbar { height: 44px; padding: 0 16px; } .main-content { padding: 28px 16px; } .page-heading { gap: 16px; flex-wrap: wrap; } h1 { font-size: 27px; } .page-heading > .button { font-size: 11px; } .filter-bar > select { flex: 1; min-width: 120px; } .search-field { flex-basis: 100%; } .filter-bar > input[type=submit] { flex: 1; } .list-toolbar { font-size: 10px; flex-wrap: wrap; } .live-controls { margin-left: auto; } .project-row { gap: 12px; padding: 18px 14px; } .project-meta { min-width: 55px; } .project-meta span { font-size: 9px; } .project-description h2 { font-size: 14px; } .project-description p { font-size: 10px; } .form-panel { padding: 20px; } .public-header { padding: 20px; } .public-header > span { display: none; } .public-main { padding: 36px 20px; } .sign-in { grid-template-columns: 1fr; gap: 24px; } .sign-in-copy .muted { display: none; } .sign-in-panel { padding: 24px; } .frame-context { padding-left: 16px; } .frame-number { display: none; } .stack-frame summary { gap: 8px; padding: 12px; } }
@media (prefers-reduced-motion: no-preference) { .button, .nav-link { transition: background-color 120ms ease-out; } turbo-frame[busy] { transition: opacity 160ms ease-out; } }

@media (max-width: 650px) { .sidebar-footer { display: flex; width: 100%; margin-top: 4px; padding-top: 12px; } }

.sidebar > .brand { color: var(--nav-ink); margin-left: 8px; }
.sidebar .text-button { color: var(--nav-ink); }
.sidebar :focus-visible { outline-color: var(--mark); }
.project-subnav { display: grid; gap: 4px; margin: 0 0 12px 32px; }
.project-subnav a { color: var(--nav-muted); text-decoration: none; padding: 4px; font-size: 12px; }
.project-subnav a:hover, .project-subnav a[aria-current] { color: var(--nav-ink); text-decoration: underline; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--accent); text-decoration: underline; }
.workspace { min-width: 0; }
.issue-summary dd small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.issue-workflow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 16px 0 32px; font-size: 12px; color: var(--muted); }
.issue-workflow form { margin-left: auto; }
.stack-frame.in-app[open] > summary { background: var(--mark-soft); }
input::placeholder { color: var(--muted); opacity: 1; }
* { scrollbar-color: var(--scrollbar) transparent; scrollbar-width: thin; }
@media (max-width: 850px) {
  .issue-summary > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .issue-summary > div:nth-child(odd):not(:last-child) { border-right: 1px solid var(--border); }
  .issue-summary > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}
@media (max-width: 650px) {
  .project-subnav { display: none; }
  .sidebar-footer { border-top: 1px solid var(--nav-rule); }
  .sidebar > .brand { margin-left: 0; }
  .topbar { height: auto; }
  .issue-workflow > span:not(.status-badge) { flex: 1; }
  .issue-workflow .button { white-space: normal; }
}
.appearance { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.appearance legend { padding: 0 0 6px; color: var(--muted); font-size: 12px; }
.appearance-options { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--field-border); border-radius: 5px; width: fit-content; background: var(--surface); }
.appearance label { position: relative; margin: 0; font-size: 12px; font-weight: 500; }
.appearance input { position: absolute; inset: 0; opacity: 0; min-height: 0; margin: 0; padding: 0; width: 100%; height: 100%; cursor: pointer; }
.appearance input + span { display: block; padding: 5px 12px; border-radius: 3px; color: var(--muted); }
.appearance input:checked + span { background: var(--ink); color: var(--surface); }
.appearance input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.appearance label:hover input:not(:checked) + span { background: var(--hover); color: var(--ink); }
html:not([data-theme]) .appearance { display: none; }
.sidebar > .appearance { margin: 16px 8px 0; }
.sidebar .appearance legend, .sidebar .appearance input + span { color: var(--nav-muted); }
.sidebar .appearance-options { width: 100%; background: var(--nav-raised); border-color: var(--nav-rule); }
.sidebar .appearance label { flex: 1; text-align: center; }
.sidebar .appearance input + span { padding: 5px 8px; }
.sidebar .appearance input:checked + span { background: var(--nav-ink); color: var(--nav); }
.sidebar .appearance label:hover input:not(:checked) + span { background: var(--nav-active); color: var(--nav-ink); }
.sidebar .appearance input:focus-visible + span { outline-color: var(--mark); }
@media (max-width: 650px) {
  .sidebar > .appearance { margin: 0; width: 100%; }
  .sidebar .appearance legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
