/* Ledgerwise — premium dark-first UI */
:root {
  --bg: #0a0e16;
  --bg-glow: radial-gradient(1200px 600px at 85% -10%, rgba(52, 211, 153, .10), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(56, 189, 248, .08), transparent 60%);
  --surface: #111725;
  --surface-2: #161e2f;
  --surface-3: #1c263a;
  --border: rgba(148, 163, 184, .12);
  --border-strong: rgba(148, 163, 184, .22);
  --text: #e8edf6;
  --text-2: #b6c0d3;
  --muted: #7f8aa3;
  --accent: #34d399;
  --accent-ink: #052e1f;
  --accent-soft: rgba(52, 211, 153, .12);
  --blue: #60a5fa;
  --violet: #a78bfa;
  --gold: #fbbf24;
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, .12);
  --warn-soft: rgba(251, 191, 36, .12);
  --info-soft: rgba(96, 165, 250, .12);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px -12px rgba(0, 0, 0, .6);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", "SF Pro Display", -apple-system, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-glow: radial-gradient(1200px 600px at 85% -10%, rgba(16, 185, 129, .10), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(59, 130, 246, .08), transparent 60%);
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eef2f8;
  --border: rgba(15, 23, 42, .08);
  --border-strong: rgba(15, 23, 42, .16);
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --accent: #059669;
  --accent-ink: #ffffff;
  --accent-soft: rgba(5, 150, 105, .10);
  --blue: #2563eb;
  --violet: #7c3aed;
  --gold: #d97706;
  --danger: #dc2626;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(15, 23, 42, .18);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg-glow), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 14.5px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "cv11" 1;
}
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: 26px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }
.pos { color: var(--accent); }
.neg { color: var(--danger); }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }

#env-banner {
  position: sticky; top: 0; z-index: 50; text-align: center; padding: 6px 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  background: repeating-linear-gradient(135deg, #b45309, #b45309 12px, #92400e 12px, #92400e 24px); color: #fff;
}

/* Boot */
.boot { display: grid; place-items: center; height: 100vh; }
.boot-mark { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), #0ea5e9); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.85); opacity: .6; } }

/* Shell */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 22px 14px; display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #0ea5e9); display: grid; place-items: center; color: #04121c; font-weight: 800; font-size: 15px; box-shadow: 0 6px 20px -6px rgba(52, 211, 153, .6); }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav a svg { width: 18px; height: 18px; flex: none; }
.nav .sep { height: 1px; background: var(--border); margin: 10px 8px; }
.sidebar-foot { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.sidebar-foot .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.main { min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 80px; max-width: 1440px; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.topbar .sub { color: var(--muted); margin-top: 4px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Grid */
.grid { display: grid; gap: 16px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.span-2 { grid-column: span 2; }
@media (max-width: 1180px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } .g-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .g-4, .g-3, .g-2 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }

/* Cards */
.card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white 2%), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head .muted { font-size: 12.5px; }
.card.flush { padding: 0; overflow: hidden; }
.card.hero {
  background: linear-gradient(135deg, rgba(52, 211, 153, .16), rgba(14, 165, 233, .10) 55%, transparent), var(--surface);
  border-color: rgba(52, 211, 153, .25);
}

.kpi .label { color: var(--muted); font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.kpi .value { font-size: 28px; font-weight: 680; letter-spacing: -.03em; margin-top: 6px; }
.kpi .delta { font-size: 12.5px; margin-top: 4px; color: var(--muted); }
.kpi .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font: 600 13.5px var(--font); cursor: pointer;
  transition: transform .06s, background .15s, border-color .15s, opacity .15s; white-space: nowrap;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, white), var(--accent)); color: var(--accent-ink); border-color: transparent; box-shadow: 0 8px 24px -10px var(--accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--danger); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn svg { width: 16px; height: 16px; }
.icon-btn { width: 32px; height: 32px; padding: 0; }

/* Forms */
label.field { display: grid; gap: 6px; font-size: 12.5px; color: var(--text-2); font-weight: 550; }
label.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input, select, textarea {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font: 14px var(--font); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-prefix input { padding-left: 24px; }

/* Chips & badges */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border); white-space: nowrap; }
.chip.green { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip.red { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.chip.gold { background: var(--warn-soft); color: var(--gold); border-color: transparent; }
.chip.blue { background: var(--info-soft); color: var(--blue); border-color: transparent; }
.chip.biz { background: rgba(167, 139, 250, .14); color: var(--violet); border-color: transparent; }

/* Recommendations */
.recs { display: grid; gap: 10px; }
.rec { display: grid; grid-template-columns: 4px 1fr auto; gap: 14px; padding: 14px 16px 14px 0; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.rec .bar { border-radius: 0 4px 4px 0; }
.rec.critical .bar { background: var(--danger); }
.rec.high .bar { background: var(--gold); }
.rec.medium .bar { background: var(--blue); }
.rec.info .bar { background: var(--muted); opacity: .5; }
.rec h4 { font-size: 14px; font-weight: 620; margin-bottom: 4px; letter-spacing: -.01em; }
.rec p { color: var(--text-2); font-size: 13px; }
.rec .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; justify-content: space-between; }
.recs.compact p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rec .impact { font-weight: 650; font-size: 13px; }
@media (max-width: 720px) { .rec { grid-template-columns: 4px 1fr; } .rec .meta { grid-column: 2; flex-direction: row; justify-content: flex-start; align-items: center; } }

/* Health ring */
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .center b { font-size: 34px; letter-spacing: -.04em; display: block; line-height: 1; }
.ring .center span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.progress { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #22d3ee); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.progress.warn > i { background: linear-gradient(90deg, var(--gold), #fb923c); }
.progress.bad > i { background: linear-gradient(90deg, var(--danger), #fb7185); }

/* Waterfall */
.flow { display: grid; gap: 10px; }
.flow-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.flow-row .name { font-weight: 560; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.flow-row .amt { font-weight: 650; }
.flow-row .progress { grid-column: 1 / -1; height: 6px; }
.flow-row .detail { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); position: sticky; top: 0; z-index: 1; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
td.amount, th.amount { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .desc { font-weight: 550; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td select { height: 32px; font-size: 13px; padding: 0 8px; max-width: 220px; }

/* Filters bar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; border-bottom: 1px solid var(--border); }
.filters input, .filters select { height: 36px; width: auto; min-width: 140px; }
.filters input[type="checkbox"] { min-width: 0; width: 18px; height: 18px; }
.filters .grow { flex: 1; min-width: 200px; }

/* Segmented */
.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 12.5px var(--font); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.seg button.on { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }

/* Goals */
.goal { display: grid; gap: 14px; }
.goal-top { display: flex; gap: 14px; align-items: center; }
.goal-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--surface-3); flex: none; }
.goal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.goal-stats div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.goal-stats b { display: block; font-size: 15px; }
.goal-stats span { font-size: 11.5px; color: var(--muted); }
.tips { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 12.5px; display: grid; gap: 6px; }
details summary { cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 600; list-style: none; }
details summary::before { content: "›"; display: inline-block; margin-right: 6px; transition: transform .15s; }
details[open] summary::before { transform: rotate(90deg); }

/* Quarter timeline */
.quarters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .quarters { grid-template-columns: 1fr 1fr; } }
.quarter { padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); position: relative; }
.quarter.next { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.quarter .q { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.quarter .due { font-weight: 650; margin: 4px 0 8px; }
.quarter .amt { font-size: 20px; font-weight: 680; letter-spacing: -.02em; }

.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 13.5px; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 560; }
.kv .total { border-top: 1px solid var(--border); padding-top: 8px; font-weight: 700; color: var(--text); }

/* Drop zone */
.drop {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 44px 20px; text-align: center; cursor: pointer;
  background: var(--surface-2); transition: border-color .15s, background .15s;
}
.drop.over, .drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.drop .big { font-size: 40px; margin-bottom: 8px; }

/* Chat */
.chat { display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 480px; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 16px; line-height: 1.6; font-size: 14px; }
.bubble.user { align-self: flex-end; background: linear-gradient(135deg, var(--accent), #10b981); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.bubble.assistant { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble p + p, .bubble ul, .bubble ol { margin-top: 8px; }
.bubble ul, .bubble ol { padding-left: 20px; margin-bottom: 0; }
.bubble code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-3); padding: 1px 5px; border-radius: 5px; }
.bubble h3, .bubble h4 { margin: 10px 0 4px; font-size: 14px; }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }
.chat-input textarea { min-height: 44px; height: 44px; max-height: 160px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.suggestions button { border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-2); border-radius: 999px; padding: 7px 12px; font: 500 12.5px var(--font); cursor: pointer; }
.suggestions button:hover { border-color: var(--accent); color: var(--accent); }
.typing span { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 14, .6); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fade .15s; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); animation: rise .2s cubic-bezier(.2, .8, .2, 1); }
.modal header { padding: 20px 22px 0; display: flex; justify-content: space-between; align-items: center; }
.modal .body { padding: 18px 22px; display: grid; gap: 14px; }
.modal footer { padding: 0 22px 20px; display: flex; justify-content: flex-end; gap: 8px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Toasts */
#toasts { position: fixed; bottom: 20px; right: 20px; display: grid; gap: 8px; z-index: 200; }
.toast { background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: 13.5px; animation: rise .2s; max-width: 360px; }
.toast.err { border-color: var(--danger); }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.auth .card { width: min(420px, 100%); padding: 32px; }
.auth h1 { font-size: 24px; margin: 18px 0 6px; }
.auth form { display: grid; gap: 14px; margin-top: 22px; }

/* Empty */
.empty { text-align: center; padding: 56px 20px; }
.empty .art { font-size: 44px; margin-bottom: 12px; }
.empty h2 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 18px; }

.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.cat-list { display: grid; gap: 10px; }
.cat-row { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.cat-row .progress { grid-column: 2 / -1; height: 5px; }
.chart-box { position: relative; height: 260px; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Mobile */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 80; transform: translateX(-100%); transition: transform .2s; background: var(--surface); }
  .sidebar.open { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); }
  .main { padding: 20px 16px 80px; }
  .kpi .value { font-size: 24px; }
  .bubble { max-width: 92%; }
}

/* Releases */
.sha { font-family: var(--mono); font-size: .95em; background: var(--surface-3); padding: 1px 6px; border-radius: 6px; }
.release-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.rel-builds { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.rel-big { font-size: 22px; font-weight: 650; margin-top: 4px; }
.rel-arrow { font-size: 22px; color: var(--muted); }
.rel-action { display: grid; gap: 10px; justify-items: end; max-width: 380px; text-align: right; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; }
.commit-list { list-style: none; display: grid; gap: 12px; margin: 4px 0 0; padding: 0; }
.commit-list li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.commit-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.commit-list .pre { white-space: pre-wrap; margin-top: 4px; }
.nowrap { white-space: nowrap; }
.files { margin-top: 12px; }
.files summary { cursor: pointer; }
.files ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.files code, .rel-body code { font-family: var(--mono); font-size: 12.5px; }
.rel-history { display: grid; gap: 8px; }
.rel-item { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.rel-item summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rel-body { margin-top: 12px; display: grid; gap: 10px; }
.rel-body blockquote { margin: 0; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--surface-2, var(--surface-3)); border-radius: 6px; font-size: 13.5px; }
.log-out { font-family: var(--mono); font-size: 12px; background: var(--surface-3); border-radius: 10px; padding: 12px; max-height: 260px; overflow: auto; white-space: pre-wrap; margin: 10px 0 0; }
@media (max-width: 760px) { .release-hero { grid-template-columns: 1fr; } .rel-action { justify-items: start; text-align: left; } .commit-list li { flex-direction: column; gap: 4px; } }
.rel-ver { font-size: 15px; min-width: 44px; }
