@font-face { font-family: InterVar; src: url(/fonts/inter-latin-variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* Monochrome: black actions, hairline borders, colour only for state. */
:root, [data-bs-theme="light"] {
  --tblr-font-sans-serif: InterVar, system-ui, sans-serif;
  --line: #eaeaea; --panel: #fff; --page: #fafafa; --ink: #0a0a0a; --soft: #3f3f46; --hover: #f2f2f2;
}
[data-bs-theme="dark"] { --line: #262626; --panel: #0a0a0a; --page: #000; --ink: #f5f5f5; --soft: #d0d0d4; --hover: #1a1a1a; }
:root, [data-bs-theme="light"], [data-bs-theme="dark"] {
  --tblr-body-bg: var(--page); --tblr-body-color: var(--ink); --tblr-secondary: var(--soft); --tblr-secondary-color: var(--soft);
  --tblr-border-color: var(--line); --tblr-border-color-translucent: var(--line); --tblr-bg-surface: var(--panel); --tblr-bg-surface-secondary: var(--panel);
  --tblr-primary: var(--ink); --tblr-link-color: var(--ink); --tblr-link-hover-color: var(--ink); --tblr-active-bg: var(--hover);
  --tblr-card-bg: var(--panel);
}
body { background: var(--page); color: var(--ink); font-feature-settings: "cv11", "ss01"; letter-spacing: -.006em; }
.wrap { width: 100%; max-width: 90rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.top { background: var(--panel); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: .6rem; height: 3.5rem; }
.volqan { display: block; width: auto; height: 18px; }
.volqan.on-dark, [data-bs-theme="dark"] .volqan.on-light { display: none; }
[data-bs-theme="dark"] .volqan.on-dark { display: block; }
.top-logo { margin-right: .15rem; }
.top-slash { color: var(--line); font-size: 1.5rem; font-weight: 200; transform: translateY(-1px); }
.scope, .icon-button, .avatar-button, .search-button { background: none; border: 0; color: var(--ink); cursor: pointer; }
.scope { display: flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; padding: .3rem .5rem; border-radius: 6px; }
.scope:hover, .icon-button:hover { background: var(--hover); }
.scope .icon { width: 1rem; height: 1rem; color: var(--soft); }
.scope-menu { max-height: 75vh; overflow-y: auto; }
.quick { gap: .15rem; margin-left: 1rem; }
.quick-link { color: var(--soft); font-size: .83rem; padding: .25rem .65rem; border-radius: 999px; }
.quick-link:hover { color: var(--ink); text-decoration: none; }
.quick-link.active { color: var(--ink); background: var(--hover); font-weight: 500; }
.top-end { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.search-button { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 6px; padding: .3rem .4rem .3rem .65rem; color: var(--soft); font-size: .83rem; min-width: 13rem; }
.search-button:hover { border-color: var(--soft); }
.search-button .icon { width: 1rem; height: 1rem; }
.search-button kbd { margin-left: auto; background: var(--hover); color: var(--soft); font-size: .7rem; box-shadow: none; }
.icon-button { padding: .35rem; border-radius: 6px; line-height: 0; }
.avatar-button { width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--panel); font-size: .8rem; font-weight: 600; }

.tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 0 0 .5rem; color: var(--soft); font-size: .85rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.tab > span { display: flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 6px; }
.tab:hover { color: var(--ink); text-decoration: none; }
.tab:hover > span { background: var(--hover); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }

.pill { background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .83rem; padding: .28rem .8rem; cursor: pointer; }
.pill:hover { border-color: var(--soft); text-decoration: none; }
.pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.frame { display: flex; align-items: flex-start; gap: 2rem; }
.side { width: 15rem; flex: none; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 1.5rem 0 2rem; }
.side-nav.collapse { display: block; }
.side-toggle { display: none; }
.side-group { padding: 1.1rem .7rem .35rem; font-size: .75rem; font-weight: 600; color: var(--ink); }
.side-group:first-child { padding-top: 0; }
.side-link { display: block; padding: .38rem .7rem; border-radius: 6px; color: var(--ink); font-size: .85rem; }
.side-link:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.side-link.active { background: var(--hover); color: var(--ink); font-weight: 600; }
.side-link.pending { color: var(--soft); opacity: .85; }
.dropdown-item.pending { opacity: .72; }
.content { flex: 1; min-width: 0; padding-top: 1.5rem; padding-bottom: 4rem; }
.heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.25rem; }
.heading h1 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; margin: 0; }
.eyebrow { color: var(--soft); font-size: .75rem; margin-bottom: .15rem; }
.eyebrow:empty { display: none; }

.card { border-radius: 10px; box-shadow: none; }
.card-link:hover { border-color: var(--soft); box-shadow: none; transform: none; }
.card-header { gap: .75rem; }
.table thead th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .75rem; font-weight: 500; color: var(--soft); }
.table td { white-space: nowrap; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; padding-top: .8rem; padding-bottom: .8rem; }
.btn { border-radius: 6px; box-shadow: none; }
.btn-primary { --tblr-btn-bg: var(--ink); --tblr-btn-color: var(--panel); --tblr-btn-border-color: var(--ink); --tblr-btn-hover-bg: var(--soft); --tblr-btn-hover-color: var(--panel); --tblr-btn-hover-border-color: var(--soft); --tblr-btn-active-bg: var(--soft); --tblr-btn-active-color: var(--panel); }
.dropdown-menu { border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.dropdown-item.active { background: var(--hover); color: var(--ink); font-weight: 500; }
.state { display: inline-flex; align-items: center; gap: .45rem; }
.state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #a1a1a1; }
.state-ok::before { background: #0070f3; }
.state-warn::before { background: #f5a623; }
.state-bad::before { background: #e5484d; }
.record { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: .55rem 1.5rem; margin: 0; }
.record dt { color: var(--soft); font-weight: 400; }
.record dd { margin: 0; overflow-wrap: anywhere; }
.record .record { grid-template-columns: minmax(6rem, 10rem) 1fr; gap: .25rem 1rem; }
.record dd:has(> .record) { grid-column: 1 / -1; padding-left: 1rem; }
.turbo-progress-bar { background: var(--ink); height: 2px; }

.palette { width: min(44rem, calc(100vw - 2rem)); margin-top: 12vh; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.palette::backdrop { background: rgba(0,0,0,.35); }
.palette-input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); padding: .9rem 1.1rem; font-size: 1rem; outline: 0; }
.palette-list { max-height: 50vh; overflow-y: auto; padding: .4rem; }
.palette-item { display: flex; align-items: center; gap: .8rem; padding: .5rem .7rem; border-radius: 6px; font-size: .87rem; }
.palette-item[hidden] { display: none; }
.palette-item small { margin-left: auto; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.palette-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.palette-item.pending .palette-label { opacity: .8; }
.palette-item:hover, .palette-item.selected { background: var(--hover); text-decoration: none; }
.palette-empty { color: var(--soft); text-align: center; margin: 1rem; }

.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.login-box { width: 22rem; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 2.5rem 1.5rem 2rem; }
.login-box .volqan { height: 26px; margin: 0 auto 1.75rem; }
.login-box h1 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; }
#google-button { display: flex; justify-content: center; }

@media (max-width: 800px) { .wrap { padding-left: 1rem; padding-right: 1rem; } .search-button { min-width: 0; } .search-button span, .search-button kbd { display: none; } }
.summary { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--soft); margin: -.6rem 0 1.25rem; }
.block-title { font-size: .95rem; font-weight: 600; margin-bottom: 1rem; }
.anchors { padding: 0 0 1rem; }
.anchors .pill { background: var(--panel); }
turbo-frame { display: block; }
[id] { scroll-margin-top: 1rem; }
.wrap-cells .table td { white-space: pre-line; max-width: 42rem; vertical-align: top; }
.skeleton i { display: block; height: .7rem; border-radius: 4px; background: var(--hover); margin-bottom: .6rem; animation: pulse 1.2s ease-in-out infinite; }
.skeleton i:nth-child(2) { width: 75%; } .skeleton i:nth-child(3) { width: 50%; }
@keyframes pulse { 50% { opacity: .4; } }
.logo { display: inline-flex; align-items: center; justify-content: flex-start; width: 5.5rem; height: 1.5rem; flex: none; overflow: hidden; }
.logo img { max-width: 100%; max-height: 1.05rem; width: auto; height: auto; }
.logo-name { font-weight: 600; font-size: .8rem; }
/* The wordmarks are drawn for light surfaces. */
[data-bs-theme="dark"] .logo:has(img) { background: #fff; border-radius: 4px; padding: 0 .3rem; justify-content: center; }
.brand-item { gap: .6rem; min-width: 13rem; }
/* Tabler's own greys follow the darker secondary text. */
:root, [data-bs-theme] { --tblr-secondary-rgb: 63, 63, 70; --tblr-muted: var(--soft); }
.table, .table td, .record dd { color: var(--ink); }
.table td .text-secondary, .table thead th, .dropdown-header, .form-control::placeholder { color: var(--soft); }
.form-control::placeholder { opacity: .85; }
@media (max-width: 900px) {
  .frame { display: block; }
  .side { width: auto; position: static; max-height: none; padding: 1rem 0 0; }
  .side-toggle { display: flex; justify-content: space-between; width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: .5rem .8rem; color: var(--ink); font-weight: 500; }
  .side-nav.collapse { display: none; }
  .side-nav.collapse.show, .side-nav.collapsing { display: block; }
  .side-nav { padding-top: .75rem; }
}
.context-logo { display: flex; align-items: center; height: 2rem; }
.context-logo img { display: block; height: 1.4rem; width: auto; max-width: 9.5rem; }
.context-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.top-logo:hover { text-decoration: none; }
[data-bs-theme="dark"] .context-logo { background: #fff; border-radius: 6px; padding: 0 .5rem; }
/* Where the data lives. Red: a new database that duplicates MySQL and is not aligned with it. */
.origin { display: inline-block; flex: none; font-size: .64rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; border-radius: 4px; padding: 0 .35rem; border: 1px solid; vertical-align: middle; }
.origin-main { color: var(--soft); border-color: var(--line); }
.origin-new { color: #8a4b00; background: #fff4e0; border-color: #f5c27a; }
.origin-unaligned { color: #fff; background: #d11a2a; border-color: #d11a2a; }
[data-bs-theme="dark"] .origin-new { color: #ffcc80; background: #33230a; border-color: #7a5316; }
.side-link { display: flex; align-items: center; gap: .55rem; }
.side-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.warning { display: flex; gap: .75rem; align-items: flex-start; border: 2px solid #d11a2a; background: #fff0f1; color: #8f0f1b; border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1rem; }
.warning .icon { flex: none; width: 1.4rem; height: 1.4rem; }
[data-bs-theme="dark"] .warning { background: #2b0b0e; color: #ffb3ba; }
.stores { margin-top: 1rem; font-size: .75rem; color: var(--soft); }
/* Menu icons: outline, 1rem, in the colour of their text; quieter until the option is open or pointed at. */
.ico { display: inline-flex; flex: none; width: 1rem; height: 1rem; color: var(--soft); }
.ico .icon { width: 1rem; height: 1rem; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:is(.tab, .side-link, .pill, .card-link, .palette-item):is(:hover, .active, .selected) .ico { color: var(--ink); }
.side-link.pending .ico { color: var(--soft); }
.with-icon { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.pill.with-icon { display: inline-flex; gap: .35rem; }
.block-title { display: flex; align-items: center; gap: .5rem; }
.side-group { display: flex; align-items: center; gap: .55rem; }
.card-text-block { min-width: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

