@font-face {
font-family: "IBM Plex Sans";
src: url("/assets/plex-sans.woff2") format("woff2");
font-weight: 100 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Mono";
src: url("/assets/plex-mono-400.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Mono";
src: url("/assets/plex-mono-500.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Mono";
src: url("/assets/plex-mono-600.woff2") format("woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Newsreader";
src: url("/assets/newsreader-500.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
:root {
--canvas: #F5F3EE;
--bg: #F5F3EE;
--pop: #FBFAF7;
--panel: #EBE7DE;
--fg: #1A1917;
--sfg: #3D3A34;
--mfg: #5C5850;
--border: #D9D3C6;
--input: #D9D3C6;
--accent: #0E5E68;
--accent-fg: #F5F3EE;
--active: #DCE9EA;
--copper: #8A4B2A;
--destructive: #9A2F2F;
--ok: #2E6B3A;
--scrim: rgba(26, 25, 23, 0.35);
--shadow: rgba(26, 25, 23, 0.16);
--radius: 6px;
--radius-card: 8px;
--serif: "Newsreader", Georgia, "Times New Roman", serif;
--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
--mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
color-scheme: light;
}
:root.dark {
--canvas: #17181A;
--bg: #17181A;
--pop: #1C1E21;
--panel: #1F2124;
--fg: #ECE8E0;
--sfg: #D5D0C6;
--mfg: #A9A399;
--border: #33363B;
--input: #33363B;
--accent: #6CC3CC;
--accent-fg: #17181A;
--active: #233236;
--copper: #D9A27E;
--destructive: #E08A8A;
--ok: #7FBF8A;
--scrim: rgba(0, 0, 0, 0.55);
--shadow: rgba(0, 0, 0, 0.5);
color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body.gv {
margin: 0;
display: flex;
flex-direction: column;
font-family: var(--sans);
font-size: 14px;
line-height: 1.45;
color: var(--fg);
background: var(--canvas);
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 0.15em; }
a:hover { text-decoration-color: var(--accent); }
svg {
width: 16px; height: 16px; flex-shrink: 0;
fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
svg.mark { fill: currentColor; stroke: none; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--mfg); }
.small { font-size: 11px; }
.b { font-weight: 600; }
.r { text-align: right; }
.push { margin-left: auto; }
.pad { padding: 0 12px; }
.pad.first { padding-top: 12px; }
.amber { color: var(--copper); }
.amber svg { width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.empty { padding: 16px 14px; color: var(--mfg); font-size: 12px; }
.top {
display: flex; align-items: center; gap: 14px; height: 56px; flex-shrink: 0;
padding: 0 20px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--fg); }
.brand svg.mark { width: 22px; height: 22px; }
.brand > span { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.brand > span.ui { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--mfg); padding-left: 2px; letter-spacing: 0; }
.vsep { width: 1px; height: 22px; background: var(--border); }
.crumb { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.chip {
display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px;
border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; }
.chip.on { background: var(--active); border-color: transparent; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--mfg); }
.dot.ok { background: var(--ok); }
.dot.amber { background: var(--copper); }
.dot.bad { background: var(--destructive); }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.body { flex: 1; min-height: 0; display: flex; gap: 16px; padding: 16px 20px 20px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card {
background: var(--pop); border: 1px solid var(--border); border-radius: var(--radius-card);
display: flex; flex-direction: column; min-height: 0; overflow: hidden;
}
.panel { flex: 1; }
.ch { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 16px 0; }
.ct { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.ct.mono { font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.cd { grid-column: 1; font-size: 12px; line-height: 1.4; color: var(--mfg); }
.ca { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 8px; }
.cf {
margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 16px;
border-top: 1px solid var(--border); background: var(--panel); font-size: 12px; color: var(--mfg);
}
.rail { width: 256px; flex-shrink: 0; }
.rail .ch { padding: 14px 14px 0; }
.tree { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; overflow: auto; flex: 1; }
.tr {
position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px;
border-radius: var(--radius); font-size: 13px; white-space: nowrap; text-decoration: none; color: var(--fg);
}
.tr svg { color: var(--mfg); width: 14px; height: 14px; }
.tr.proj { font-weight: 500; margin-top: 8px; }
.tr.proj:first-child { margin-top: 0; }
.tr.env { color: var(--sfg); }
.tr.d1 { padding-left: 30px; }
.tr.d2 { padding-left: 46px; }
.tr.d3 { padding-left: 62px; }
a.tr:hover { background: var(--panel); }
.tr.on, a.tr.on:hover { background: var(--active); color: var(--accent); font-weight: 600; }
.tr .n { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--mfg); }
.tabs { display: flex; align-items: flex-end; gap: 4px; height: 44px; padding: 0 8px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.tab {
position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; margin-bottom: -1px;
font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
color: var(--mfg); border-bottom: 2px solid transparent;
}
.tab:hover { color: var(--fg); }
.tab.on { color: var(--fg); font-weight: 600; border-bottom-color: var(--accent); }
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0;
height: 32px; padding: 0 12px; border-radius: var(--radius); border: 1px solid transparent;
background: var(--accent); color: var(--accent-fg); font: inherit; font-size: 13px; font-weight: 500;
white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 88%, var(--fg)); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn:focus-visible, .input:focus-visible, .tab:focus-visible, .tr:focus-visible, a:focus-visible {
outline: none; box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--accent);
}
.btn.sm { height: 30px; padding: 0 12px; gap: 6px; font-size: 13px; }
.btn.sm svg { width: 14px; height: 14px; }
.btn.xs { height: 28px; padding: 0 10px; gap: 6px; font-size: 13px; }
.btn.xs svg { width: 14px; height: 14px; }
.btn.ixs { width: 28px; height: 28px; padding: 0; }
.btn.ixs svg { width: 14px; height: 14px; }
.btn.ism { width: 30px; height: 30px; padding: 0; }
.btn.ism svg { width: 14px; height: 14px; }
.btn.outline { background: var(--pop); border-color: var(--border); color: var(--fg); }
.btn.outline:hover:not(:disabled) { background: var(--panel); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover:not(:disabled), .btn.ghost.on { background: var(--panel); }
.btn.danger { color: var(--destructive); }
.btn.danger-solid { background: color-mix(in srgb, var(--destructive) 12%, transparent); color: var(--destructive); }
.btn.danger-solid:hover:not(:disabled) { background: color-mix(in srgb, var(--destructive) 20%, transparent); }
.badge {
display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 4px;
border: 1px solid transparent; font-family: var(--mono); font-size: 11px; font-weight: 500; white-space: nowrap;
background: var(--active); color: var(--accent);
}
.badge.secondary { background: var(--panel); color: var(--fg); }
.badge.destructive { background: color-mix(in srgb, var(--destructive) 10%, transparent); color: var(--destructive); }
.kbd {
display: inline-flex; align-items: center; justify-content: center; height: 20px; min-width: 20px; padding: 0 6px;
border-radius: 4px; background: var(--panel); color: var(--sfg); font-family: var(--mono); font-size: 11px; font-weight: 500;
}
.cmd { font-family: var(--mono); font-size: 12px; background: var(--panel); border-radius: 4px; padding: 2px 6px; }
.input {
height: 32px; width: 100%; min-width: 0; padding: 0 10px; border-radius: var(--radius);
border: 1px solid var(--input); background: var(--pop); color: var(--fg); font: inherit; font-size: 14px;
}
.input.sm { height: 28px; width: auto; padding: 0 8px; font-size: 13px; }
textarea.input { height: auto; padding: 8px 10px; resize: vertical; font-family: var(--mono); font-size: 12.5px; }
.field { display: grid; gap: 6px; font-size: 12px; font-weight: 500; }
.inline { display: flex; align-items: center; gap: 8px; }
.form-error { color: var(--destructive); font-size: 12px; }
.grid { flex: 1; min-height: 0; overflow: auto; }
.th, .trow { display: grid; align-items: center; font-size: 13px; border-bottom: 1px solid var(--border); }
.th {
position: sticky; top: 0; z-index: 1; height: 34px; background: var(--panel);
font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mfg); white-space: nowrap;
}
.trow { min-height: 40px; font-variant-numeric: tabular-nums; }
.th > div, .trow > div { padding: 0 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th, .trow { padding: 0 8px; }
.trow:hover { background: var(--panel); }
.trow.gone { opacity: 0.6; }
.trow.warn { background: color-mix(in srgb, var(--copper) 8%, transparent); }
.trow.proj-row { background: var(--panel); }
.acts { display: flex; justify-content: flex-end; gap: 2px; color: var(--mfg); }
.acts .btn.ghost { color: inherit; }
.acts .btn.ghost.danger { color: var(--destructive); }
.trow:hover .acts { color: var(--fg); }
.val { display: flex; align-items: center; gap: 10px; }
.val .mono:not(.mask) { color: var(--accent); }
.mask { letter-spacing: 0.14em; color: var(--mfg); }
.path { display: flex; align-items: center; gap: 8px; }
.path.d1 { padding-left: 20px; }
.path.d2 { padding-left: 36px; }
.path.d3 { padding-left: 52px; }
.t-secrets .th, .t-secrets .trow { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr) 56px 120px 72px 136px; }
.t-tokens .th, .t-tokens .trow { grid-template-columns: 110px 90px 90px minmax(0, 1fr) 120px 120px 84px; }
.t-audit .th, .t-audit .trow { grid-template-columns: 72px 150px 150px minmax(0, 1fr) minmax(0, 1.4fr); }
.t-compare .th, .t-compare .trow { grid-template-columns: minmax(0, 1.3fr) 110px 110px minmax(0, 1.3fr); }
.t-projects .th, .t-projects .trow { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 110px 140px; }
.alert {
display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px;
padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--border); font-size: 12px; background: var(--pop);
}
.alert > svg { grid-row: span 2; transform: translateY(1px); }
.alert .at { font-weight: 600; }
.alert .ad { color: var(--mfg); text-wrap: pretty; }
.alert.ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 6%, transparent); }
.alert.ok > svg { color: var(--ok); }
.alert.amber { border-color: color-mix(in srgb, var(--copper) 45%, transparent); background: color-mix(in srgb, var(--copper) 8%, transparent); }
.alert.amber > svg { color: var(--copper); }
.alert.fail { border-color: color-mix(in srgb, var(--destructive) 40%, transparent); background: color-mix(in srgb, var(--destructive) 6%, transparent); }
.alert.fail > svg { color: var(--destructive); }
.scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); }
.scrim.modal { display: grid; place-items: center; }
.dialog {
width: min(460px, calc(100vw - 32px)); display: grid; gap: 18px; padding: 20px;
border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--pop); box-shadow: 0 18px 48px var(--shadow);
}
.dt { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.dd { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--mfg); text-wrap: pretty; }
.df {
margin: 0 -20px -20px; display: flex; justify-content: flex-end; align-items: center; gap: 8px;
padding: 14px 20px; border-top: 1px solid var(--border); background: var(--panel); border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.box { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; font-size: 12px; }
.codebox { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--panel); padding: 18px 16px; text-align: center; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mfg); }
.code { font-family: var(--mono); font-size: 40px; font-weight: 500; letter-spacing: 0.3em; padding-left: 0.3em; line-height: 1.1; color: var(--accent); }
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.handover { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 6px; }
.btns { display: flex; gap: 4px; }
.sheet-scrim { position: fixed; inset: 0; z-index: 40; background: var(--scrim); }
.sheet {
position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(400px, 100vw);
display: flex; flex-direction: column; gap: 16px; background: var(--pop); border-left: 1px solid var(--border);
box-shadow: 0 10px 30px var(--shadow);
}
.sheet-head { position: relative; display: grid; gap: 4px; padding: 18px 56px 0 20px; }
.sheet-title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.sheet-close { position: absolute; top: 14px; right: 14px; }
.versions { display: flex; flex-direction: column; gap: 8px; padding: 0 20px; overflow: auto; }
.ver { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; }
.ver.cur { border-color: var(--accent); background: var(--active); }
.sheet-foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--border); background: var(--panel); }
.toast {
position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(340px, calc(100vw - 48px));
display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-card); border: 1px solid var(--border);
background: var(--pop); font-size: 13px; box-shadow: 0 6px 20px var(--shadow);
}
.overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: var(--canvas); }
.states { flex: 1; display: grid; place-items: center; padding: 24px; }
.state { width: min(400px, calc(100vw - 32px)); padding: 22px; gap: 14px; }
.state-icon { width: 38px; height: 38px; border-radius: var(--radius-card); background: var(--panel); display: flex; align-items: center; justify-content: center; }
.state-icon svg { width: 18px; height: 18px; }
.state-title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
.state-body { font-size: 13px; color: var(--mfg); line-height: 1.55; text-wrap: pretty; }
.state-how { display: flex; align-items: center; gap: 8px; font-size: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.state-how:empty { display: none; }