:root {
    --bg: #0d1117;
    --bg-elevated: #161b22;
    --fg: #e6edf3;
    --muted: #8b949e;
    --border: #30363d;
    --accent: #4493f8;
    --accent-fg: #ffffff;
    --user-bg: #1f6feb;
    --user-fg: #ffffff;
    --assistant-bg: #161b22;
    --error-bg: #3d1115;
    --error-fg: #ff8b95;
    --meta-bg: rgba(120, 142, 175, 0.06);
    --meta-fg: #7d8590;
    --meta-border: rgba(120, 142, 175, 0.12);
    --radius: 0.5rem;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- Header ---------- */

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.app-header h1 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.app-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.info-level {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.1s, border-color 0.1s;
}

.info-level:hover {
    color: var(--fg);
    border-color: var(--muted);
}

.info-level__icon {
    opacity: 0.7;
}

/* Verbosity levels driven by data-info-level on <main>. */
main[data-info-level="compact"] .message__meta,
main[data-info-level="compact"] .message__tools,
main[data-info-level="compact"] .message__no-tools {
    display: none;
}

main[data-info-level="meta-only"] .message__tools,
main[data-info-level="meta-only"] .message__no-tools {
    display: none;
}

.locale-switch {
    font-size: 0.92rem;
    color: var(--muted);
}

.locale-switch a {
    color: var(--muted);
    margin-left: 0.5rem;
}

.locale-switch a:hover {
    color: var(--fg);
}

.locale-switch__active {
    color: var(--fg);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* ---------- Layout ---------- */

main {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

/* ---------- Public home ---------- */

.home {
    padding: 3.5rem 0 2rem;
}

.home__hero {
    max-width: 42rem;
}

.home__eyebrow {
    margin: 0 0 0.55rem;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.home__title {
    margin: 0;
    color: var(--fg);
    font-size: 2.6rem;
    line-height: 1.05;
    font-weight: 700;
}

.home__lead {
    max-width: 38rem;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.home__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    margin-top: 1.6rem;
}

.home__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.65rem 1rem;
    color: var(--accent-fg);
    background: var(--accent);
    border-radius: var(--radius);
    font-weight: 600;
}

.home__primary:hover {
    filter: brightness(1.08);
    text-decoration: none;
}

.home__access {
    color: var(--muted);
    font-size: 0.88rem;
}

.home__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 2.4rem;
}

.home__panel {
    min-height: 9.5rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.home__panel h3 {
    margin: 0 0 0.45rem;
    color: var(--fg);
    font-size: 0.98rem;
}

.home__panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .app-header {
        align-items: flex-start;
        gap: 0.75rem;
        flex-direction: column;
    }

    .home {
        padding-top: 2.25rem;
    }

    .home__title {
        font-size: 2rem;
    }

    .home__grid {
        grid-template-columns: 1fr;
    }
}

.chat__topline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 1rem;
}

.chat__hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

.chat__reset-form {
    margin: 0;
}

.chat__reset-button {
    padding: 0.25rem 0.7rem;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.78rem;
    cursor: pointer;
    font-family: inherit;
}

.chat__reset-button:hover {
    color: var(--fg);
    border-color: var(--muted);
}

/* ---------- Messages ---------- */

.chat__messages {
    margin-bottom: 1rem;
}

.message {
    margin-bottom: 1rem;
    max-width: 92%;
}

.message__content {
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    word-wrap: break-word;
}

.message__content p:first-child {
    margin-top: 0;
}

.message__content p:last-child {
    margin-bottom: 0;
}

.message__content pre,
.message__content code {
    font-family: var(--mono);
    font-size: 0.85em;
}

.message__content pre {
    background: var(--bg);
    padding: 0.5rem 0.75rem;
    border-radius: calc(var(--radius) - 0.1rem);
    overflow-x: auto;
    border: 1px solid var(--border);
}

.message__content table {
    border-collapse: collapse;
    margin: 0.5rem 0;
    font-size: 0.92em;
}

.message__content th,
.message__content td {
    border: 1px solid var(--border);
    padding: 0.3rem 0.6rem;
    text-align: left;
}

.message__content th {
    background: var(--bg);
}

.message--user {
    margin-left: auto;
}

.message--user .message__content {
    background: var(--user-bg);
    color: var(--user-fg);
}

.message--assistant .message__content {
    background: var(--assistant-bg);
    border: 1px solid var(--border);
}

.message--thinking .message__content {
    color: var(--muted);
    font-style: italic;
}

.message--error .message__content {
    background: var(--error-bg);
    color: var(--error-fg);
    border: 1px solid #5c1b22;
}

.message__meta {
    margin-top: 0.35rem;
    padding: 0.15rem 0.5rem;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.1rem;
    font-size: 0.7rem;
    color: var(--meta-fg);
    font-family: var(--mono);
    letter-spacing: 0.02em;
    background: var(--meta-bg);
    border: 1px solid var(--meta-border);
    border-radius: calc(var(--radius) - 0.2rem);
}

.message__meta-sep {
    margin: 0 0.35rem;
    opacity: 0.5;
}

/* ---------- Tool call indicator ---------- */

.message__tools {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
}

.message__tool {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.1rem 0.5rem;
    font-size: 0.72rem;
    color: var(--muted);
    font-family: var(--mono);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 0.2rem);
    cursor: help;
}

.message__tool--failure {
    color: var(--error-fg);
    border-color: rgba(255, 139, 149, 0.3);
}

.message__tool-icon {
    opacity: 0.6;
    font-size: 0.7em;
}

.message__tool-name {
    color: var(--fg);
}

.message__tool--failure .message__tool-name {
    color: var(--error-fg);
}

.message__tool-args {
    opacity: 0.75;
}

.message__tool-latency {
    opacity: 0.55;
    margin-left: 0.15rem;
}

/* Tooltips are rendered by assets/tooltip.js (ported from OpenMirror).
   The popup is appended to <body>, positioned with smart placement, and
   styled via the .tooltip-popup class below. Markup at the source:
   <span data-controller="tooltip" data-tooltip-content-value="..." ...> */

.tooltip-popup {
    position: fixed;
    z-index: 9999;
    padding: 0.4rem 0.65rem;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
                0 4px 6px -4px rgba(0, 0, 0, 0.3);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 22rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s ease;
    white-space: normal;
    word-break: break-word;
}

.tooltip-popup.opacity-100 {
    opacity: 1;
}

.tooltip-arrow {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    transform: rotate(45deg);
}

/* Collapsing rules: when the controller flags the list as collapsible, hide
   ALL chips until the user clicks the summary button. */
.message__tools--collapsible.message__tools--collapsed .message__tool {
    display: none;
}

.message__tools-toggle {
    appearance: none;
    padding: 0.1rem 0.55rem;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: calc(var(--radius) - 0.2rem);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.7rem;
    cursor: pointer;
}

.message__tools-toggle:hover {
    color: var(--fg);
    border-color: var(--muted);
}

.message__no-tools {
    margin: 0.35rem 0 0;
    padding: 0 0.4rem;
    font-size: 0.7rem;
    color: var(--muted);
    font-style: italic;
    opacity: 0.7;
}

/* ---------- Retry affordance ---------- */

.message__retry {
    margin-top: 0.5rem;
}

.message__retry-button {
    appearance: none;
    padding: 0.4rem 0.9rem;
    background: transparent;
    color: var(--error-fg);
    border: 1px solid rgba(255, 139, 149, 0.4);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.message__retry-button:not(:disabled):hover {
    background: rgba(255, 139, 149, 0.08);
    border-color: var(--error-fg);
}

.message__retry-button:not(:disabled):active {
    transform: translateY(1px);
}

.message__retry-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    /* Subtle "ticking" animation while waiting. */
    background: linear-gradient(90deg,
        rgba(255, 139, 149, 0) 0%,
        rgba(255, 139, 149, 0.12) 50%,
        rgba(255, 139, 149, 0) 100%);
    background-size: 200% 100%;
    animation: retry-shimmer 1.6s linear infinite;
}

@keyframes retry-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

/* ---------- Form ---------- */

.chat__form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: sticky;
    bottom: 0;
    padding: 0.75rem 0 1rem;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 25%, var(--bg) 100%);
    z-index: 5;
}

.chat__label {
    font-size: 0.8rem;
    color: var(--muted);
}

.chat__input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    background: var(--bg-elevated);
    color: var(--fg);
}

.chat__input:focus {
    outline: 1px solid var(--accent);
    outline-offset: -1px;
    border-color: var(--accent);
}

.chat__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chat__providers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.chat__providers-label {
    color: var(--muted);
}

.chat__model-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.chat__model-picker-label {
    color: var(--muted);
}

.chat__model-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.3rem 1.8rem 0.3rem 0.6rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--fg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%237d8590' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
}

.chat__model-select:focus {
    outline: 1px solid var(--accent);
    outline-offset: -1px;
    border-color: var(--accent);
}

.chat__model-select option,
.chat__model-select optgroup {
    background: var(--bg-elevated);
    color: var(--fg);
}

.chat__provider {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.1s, background 0.1s;
}

.chat__provider:has(input:checked) {
    border-color: var(--accent);
    background: var(--bg-elevated);
}

.chat__provider input {
    margin: 0;
    accent-color: var(--accent);
}

.chat__provider-name {
    color: var(--fg);
    font-weight: 500;
}

.chat__provider-model {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.75rem;
}

.chat__modes {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.chat__modes-label {
    color: var(--muted);
}

.chat__mode {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.1s, background 0.1s;
}

.chat__mode:has(input:checked) {
    border-color: var(--accent);
    background: var(--bg-elevated);
    color: var(--fg);
}

.chat__mode input {
    margin: 0;
    accent-color: var(--accent);
}

.chat__mode-name {
    font-weight: 500;
}

.message__meta-mode {
    color: var(--accent);
    cursor: help;
}

.chat__submit {
    padding: 0.55rem 1.4rem;
    background: var(--accent);
    color: var(--accent-fg);
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.chat__submit:hover {
    filter: brightness(1.1);
}

.chat__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scroll lives on the page (window), not inside .chat__messages. The form stays
   anchored at the bottom of the DOM; the JS controller scrolls window after
   each message to keep the form in view. */

/* ===== Login page & header user info (P4.4) ===== */

.app-header__user {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0.8rem;
    border-left: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--muted);
}

.app-header__user-name {
    color: var(--fg);
    font-weight: 500;
}

.app-header__logout {
    color: var(--muted);
    text-decoration: none;
}

.app-header__logout:hover {
    color: var(--fg);
    text-decoration: underline;
}

.login {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 1.5rem;
}

.login__card {
    width: 100%;
    max-width: 420px;
    padding: 2rem 1.8rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.5);
}

.login__title {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    color: var(--fg);
}

.login__hint {
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

.login__error {
    margin: 0 0 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.35);
    border-radius: var(--radius);
    color: #f85149;
    font-size: 0.85rem;
}

.login__google {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #dadce0;
    border-radius: var(--radius);
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.login__google:hover {
    background: #f8f9fa;
}

.login__google-icon {
    flex-shrink: 0;
}

.login__fineprint {
    margin: 1.2rem 0 0;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

/* ===== Onboarding & Settings cards (P4.6) ===== */

.app-header__settings {
    color: var(--muted);
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1;
}

.app-header__settings:hover {
    color: var(--fg);
}

.onboarding {
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.onboarding__card {
    width: 100%;
    max-width: 520px;
    padding: 2rem 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.5);
}

.onboarding__title {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
    color: var(--fg);
}

.onboarding__hint {
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.onboarding__steps {
    margin: 0 0 1.6rem;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    color: var(--fg);
    line-height: 1.7;
}

.onboarding__steps code {
    padding: 0.05rem 0.35rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 0.82rem;
}

.onboarding__yt-link {
    color: var(--accent);
    text-decoration: none;
}

.onboarding__yt-link:hover {
    text-decoration: underline;
}

.onboarding__error,
.onboarding__flash {
    margin: 0 0 1rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.onboarding__error {
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.35);
    color: #f85149;
}

.onboarding__flash {
    background: rgba(63, 185, 80, 0.1);
    border: 1px solid rgba(63, 185, 80, 0.35);
    color: #3fb950;
}

.onboarding__form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0 0 1rem;
}

.onboarding__field-label {
    font-size: 0.82rem;
    color: var(--muted);
}

.onboarding__field {
    padding: 0.7rem 0.9rem;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: 0.85rem;
}

.onboarding__field:focus {
    outline: 1px solid var(--accent);
    outline-offset: -1px;
    border-color: var(--accent);
}

.onboarding__submit {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    background: var(--accent);
    color: var(--accent-fg);
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.onboarding__submit:hover {
    filter: brightness(1.1);
}

.onboarding__fineprint {
    margin: 1.4rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

.onboarding__back {
    margin: 1.8rem 0 0;
    text-align: center;
    font-size: 0.85rem;
}

.onboarding__back a {
    color: var(--muted);
    text-decoration: none;
}

.onboarding__back a:hover {
    color: var(--fg);
}

.settings__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    margin: 0 0 1.4rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.settings__status-label {
    color: var(--muted);
}

.settings__status-value--ok {
    color: #3fb950;
}

.settings__status-value--missing {
    color: #d29922;
}

.settings__section-title {
    margin: 1.6rem 0 0.4rem;
    font-size: 0.95rem;
    color: var(--fg);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.4rem;
}

.settings__section-title--danger {
    color: #f85149;
}

.settings__delete-form {
    margin: 0;
}

.settings__delete-button {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.4);
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
}

.settings__delete-button:hover {
    background: rgba(248, 81, 73, 0.1);
}

/* ===== Admin audit page (P4.9) ===== */

.app-header__admin {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.app-header__admin:hover {
    color: var(--fg);
    border-color: var(--accent);
}

.audit {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.audit__head {
    margin-bottom: 1.4rem;
}

.audit__title {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
    color: var(--fg);
}

.audit__hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.audit__empty {
    margin: 2rem 0;
    text-align: center;
    color: var(--muted);
    font-style: italic;
}

.audit__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
}

.audit__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.audit__table thead {
    background: var(--bg);
    color: var(--muted);
    text-align: left;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.audit__table th,
.audit__table td {
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.audit__table tbody tr:last-child td {
    border-bottom: none;
}

.audit__table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.audit__cell-time {
    font-family: var(--mono);
    color: var(--muted);
    white-space: nowrap;
}

.audit__cell-user {
    color: var(--fg);
    white-space: nowrap;
}

.audit__cell-tool {
    font-family: var(--mono);
    color: var(--accent);
}

.audit__cell-args {
    color: var(--muted);
    font-family: var(--mono);
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audit__col-num {
    text-align: right;
    font-family: var(--mono);
    color: var(--muted);
    white-space: nowrap;
}

.audit__status {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.audit__status--success {
    background: rgba(63, 185, 80, 0.15);
    color: #3fb950;
}

.audit__status--failure {
    background: rgba(248, 81, 73, 0.15);
    color: #f85149;
}
