:root {
  --bg: #0b1220;
  --card: #121a2b;
  --ink: #e9eefc;
  --muted: #9fb0d3;
  --accent: #5aa0ff;
  --danger: #ff6b6b;
  --ok: #1ec28b;
  --ring: rgba(90,160,255,0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 20% -10%, #101a30 0%, var(--bg) 60%);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: #0f1730; border-bottom: 1px solid #1b2640;
}

.brand { font-weight: 800; letter-spacing: .5px; color: #d6e5ff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #08122a; font-weight: 700;
  border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  box-shadow: 0 4px 0 rgba(54,115,214,.6);
}
.btn.secondary { background: #263454; color: #d9e5ff; box-shadow: none; }
.btn.danger { background: var(--danger); color: #2c0606; box-shadow: 0 4px 0 rgba(255,107,107,.5); }
.btn:focus { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn.small { padding: 6px 10px; font-size: 14px; }

.card {
  background: var(--card);
  border: 1px solid #1b2642;
  border-radius: 14px;
  padding: 16px;
}

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.field { margin-bottom: 12px; }
label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: #0f172a; color: var(--ink);
  border: 1px solid #223056; border-radius: 10px; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ring); border-color: transparent; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px; border-bottom: 1px solid #1b2640; }
.table th { text-align: left; color: var(--muted); font-weight: 600; }

.kbd {
  padding: 2px 6px; border: 1px solid #2a3b66; border-bottom-width: 2px;
  border-radius: 6px; background: #0f1730; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.copy {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 8px;
}
.badge { font-size: 12px; color: #a9c4ff; background: #152243; border: 1px solid #21335e; padding: 2px 8px; border-radius: 999px; }

/* add this */
html {
  background: #0b1220;            /* fallback base */
}

/* replace your existing body block with this */
body {
  margin: 0;
  min-height: 100vh;               /* make body fill the viewport */
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);

  /* solid fallback + gradient on top (no seam) */
  background:
    radial-gradient(1200px 600px at 20% -10%, #101a30 0%, var(--bg) 60%),
    var(--bg);

  background-attachment: fixed, fixed;   /* keep it steady while scrolling */
  background-repeat: no-repeat, no-repeat;
}

/* --- Gallery cards --- */
.pack-card {
  background: var(--card);
  border: 1px solid #1b2642;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
}

.pack-thumb {
  position: relative;
  aspect-ratio: 1 / 1;       /* square top area */
  background: #e5e7eb0d;     /* subtle gray on dark bg */
  background-size: cover;
  background-position: center;
}

.pack-thumb-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #9fb0d3;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .3px;
}

.overlay-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; gap: 6px;
}
.pill {
  font-size: 12px; padding: 4px 8px; border-radius: 999px;
  background: #0f1730cc; color: #d6e5ff;
  border: 1px solid #21335e;
}
.pill:hover { text-decoration: none; filter: brightness(1.1); }
.pill.danger { background: #33151c; color: #ffc6ce; border-color: #5c2731; }

/* Centered text + bigger title */
.pack-body {
  padding: 12px 14px;
  border-top: 1px solid #1b2640;
  text-align: center;
}

.pack-title {
  font-size: 20px;          /* was smaller */
  font-weight: 800;
  line-height: 1.2;
  margin: 2px 0 8px;
  letter-spacing: .2px;
}

.pack-meta {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;  /* center the “In pack” row */
  gap: 8px;
  font-size: 14px;
}
.muted { color: var(--muted); }
.check { color: #20d091; font-weight: 700; }

.pack-actions {
  padding: 10px 12px;
  border-top: 1px solid #1b2640;
}

.btn.block { width: 100%; justify-content: center; }
.btn.ghost {
  background: transparent; color: #d9e5ff;
  border: 1px solid #223056; box-shadow: none;
}
.btn.success {
  background: var(--ok); color: #06261c;
  box-shadow: 0 4px 0 rgba(30,194,139,.45);
}
.btn.disabled { opacity: .55; pointer-events: none; cursor: not-allowed; }

/* ----- Admin Pack polish ----- */
.section-head {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:8px;
}
.section-head h2 { margin:0; }
.head-actions { display:flex; gap:8px; }

.editor-grid {
  display:grid; gap:16px;
  grid-template-columns: 1.2fr .8fr;
}
@media (max-width: 860px) {
  .editor-grid { grid-template-columns: 1fr; }
}

.pane { /* inner card without extra borders */
  border: none; padding: 0;
}

.subhead { margin:0 0 8px 0; }

.cover-preview {
  margin-top:8px;
  border:1px solid #1b2642; border-radius:14px; overflow:hidden;
  background:#0d1427; background-size:cover; background-position:center;
  aspect-ratio: 1 / 1; position: relative;
}
.cover-preview .cover-placeholder {
  display:grid; place-items:center; height:100%;
  color:#9fb0d3; font-weight:700; font-size:18px;
}
.cover-preview.has-img::after { /* soft frame */
  content:""; position:absolute; inset:0; pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.toggle-chips { display:flex; gap:10px; }
.toggle-chip input { position:absolute; opacity:0; pointer-events:none; }
.toggle-chip span {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:999px; cursor:pointer;
  background:#0f1730cc; border:1px solid #20315b; color:#d6e5ff;
  user-select:none; transition:transform .04s ease;
}
.toggle-chip input:checked + span {
  background:#132e29; border-color:#1e805f; color:#20d091; font-weight:700;
}
.toggle-chip span:active { transform:scale(.98); }

.form-actions { margin-top:16px; }

.divider { border:0; border-top:1px solid #1b2640; margin:18px 0; }

.file-row {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background: rgba(255,255,255,0.02); padding:10px 12px; border-radius:10px;
  border:1px solid #1b2642;
}
.file-actions { display:flex; gap:8px; }

.kbd {
  display:inline-block; padding:6px 10px; border-radius:8px;
  background:#0f1730; border:1px solid #21335e;
  color:#cfe0ff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

/* prettier file input without JS */
input.file {
  width:100%;
  padding:10px 12px; border-radius:10px; border:1px solid #223056;
  background:#0e162b; color:#d6e5ff;
}
input.file::file-selector-button {
  margin-right:10px; border:1px solid #223056; border-radius:8px;
  background:#0f1730; color:#d6e5ff; padding:8px 10px; cursor:pointer;
}
input.file:hover::file-selector-button { filter:brightness(1.05); }

/* GRID: equal-sized cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;             /* stretch items to same track height */
}
.grid > * { height: 100%; }         /* each card fills its grid cell */

/* CARD: full-height flex column */
.pack-card {
  background: var(--card);
  border: 1px solid #1b2642;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* SQUARE thumb is non-negotiable */
.pack-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #e5e7eb0d;
  background-size: cover;
  background-position: center;
}
.pack-thumb-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 8px;
  color: #9fb0d3;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

/* BODY grows, actions sit at the bottom */
.pack-body {
  padding: 12px 14px;
  border-top: 1px solid #1b2640;
  text-align: center;
  flex: 1 1 auto;                   /* <-- fills remaining space so actions align */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pack-title {
  font-size: 20px;                  /* bigger title */
  font-weight: 800;
  line-height: 1.2;
  margin: 2px 0 8px;
  letter-spacing: .2px;
  /* keep height consistent even with long names */
  display: -webkit-box;
  -webkit-line-clamp: 1;            /* show 1 line; change to 2 if you prefer */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pack-meta {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;          /* center the “In pack” row */
  gap: 8px;
  font-size: 14px;
}

.pack-actions {
  padding: 10px 12px;
  border-top: 1px solid #1b2640;
}

/* ----- Pack detail polish ----- */
.item-grid { align-items: stretch; }
.item-grid > * { height: 100%; }

.item-card {
  display:flex; flex-direction:column; height:100%;
  border-radius: 16px;
}

.item-head { padding: 12px 14px 6px; }
.item-title { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.item-sub { color: var(--ink); display:flex; gap:8px; align-items:center; }
.item-meta { margin-top: 8px; display:flex; gap:8px; align-items:center; }

.chip {
  display:inline-block; padding:4px 8px; border-radius:999px;
  border:1px solid #223056; background:#0f1730; color:#cfe0ff; font-size:12px;
}
.chip.ghost { background: transparent; color:#9fb0d3; }

.item-section { padding: 10px 14px; border-top:1px solid #1b2640; }
.label { font-size: 13px; color: var(--muted); margin-bottom:6px; }

.cmd {
  position:relative; display:flex; align-items:center; gap:10px;
}
.cmd.tiny { display:flex; justify-content:space-between; }

pre.code {
  margin:0; padding:10px 12px; border-radius:10px;
  border:1px solid #223056; background:#0e162b; color:#cfe0ff;
  overflow:auto; max-width: 100%;
}
pre.code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }

.copy-btn {
  margin-left:auto;
  border:1px solid #223056; background:#2b64d3; color:#fff;
  padding:6px 10px; border-radius:10px; cursor:pointer;
  box-shadow: 0 3px 0 rgba(43,100,211,.4);
}
.copy-btn:disabled { opacity:.7; cursor:default; }

.table { overflow:hidden; }
.tr { display:grid; grid-template-columns: 160px 1fr 160px; border-top:1px solid #1b2640; }
.tr:first-child { border-top:0; }
.th { background: rgba(255,255,255,0.03); font-weight:700; }
.td { padding: 10px 12px; }
.td.right { text-align:right; }

/* small kbd pill reused */
.kbd {
  display:inline-block; padding:4px 8px; border-radius:8px;
  background:#0f1730; border:1px solid #21335e; color:#cfe0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

/* Top-right pills already exist (.overlay-actions, .pill). Add a subtle ghost pill: */
.pill.ghost { background:#0f1730b3; color:#d6e5ff; border-color:#223056; }

/* Bottom-left "Last released ..." ribbon */
.overlay-footer {
  position:absolute; left:10px; bottom:10px;
  padding:6px 10px; border-radius:8px;
  background: rgba(15,23,48,0.9); color:#cfe0ff;
  border:1px solid #21335e; font-size:12px; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* ===== Compact item cards (like screenshot) ===== */
.compact-item-grid { align-items: stretch; }
.compact-item-grid > * { height:100%; }

.compact-item {
  display:flex; flex-direction:column; gap:10px;
  border-radius:14px; border:1px solid #1b2642; background:var(--card);
}

.ci-head {
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px; padding:10px 12px 0;
}
.ci-title { font-weight:800; font-size:18px; line-height:1.1; }
.ci-sub { color:var(--ink); font-size:13px; margin-top:2px; }
.ci-pills { display:flex; gap:6px; }
.ci-pills .pill { padding:4px 8px; border-radius:10px; }

.ci-row {
  display:grid; grid-template-columns: 64px 1fr 40px; gap:8px;
  align-items:center; padding:4px 12px;
}
.ci-label {
  display:inline-flex; justify-content:center; align-items:center;
  height:28px; border-radius:999px; padding:0 10px;
  border:1px solid #223056; background:#0f1730; color:#cfe0ff; font-size:12px;
}

.ci-field {
  height:36px; border-radius:10px; border:1px solid #223056;
  background:#0e162b; color:#cfe0ff; display:flex; align-items:center;
  padding:0 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.ci-field.center { justify-content:center; font-weight:700; }
.ci-field.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:13px; }
.ci-field.scroll {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -ms-overflow-style: none;      /* IE/Edge */
  scrollbar-width: none;         /* Firefox */
}
.ci-field.scroll::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.ci-copy {
  width:36px; height:36px; border-radius:10px;
  border:1px solid #223056; background:#0f1730; color:#d6e5ff;
  display:grid; place-items:center; cursor:pointer;
}
.ci-copy.ok { background:#1d854c; border-color:#1d854c; color:#fff; }

/* ---- Pack hero ---- */
.hero { display:grid; grid-template-columns: 220px 1fr; gap:16px; align-items:start; margin-bottom:14px; }
@media (max-width: 820px){ .hero { grid-template-columns: 1fr; } }

.hero-cover {
  aspect-ratio: 1/1; border-radius:14px; border:1px solid #1b2642;
  background:#0f1730; background-size:cover; background-position:center;
  overflow:hidden; display:grid; place-items:center;
}
.hero-cover .cover-placeholder { color:#9fb0d3; font-weight:700; }

.hero-title-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hero-title { margin:0; font-size:28px; line-height:1.1; }

.hero-chips { display:flex; gap:8px; margin-top:6px; }
.hero-search { display:flex; gap:8px; margin-top:10px; }
.hero-search input { flex:1; }

/* reuse */
.chip { display:inline-block; padding:6px 10px; border-radius:999px;
  border:1px solid #223056; background:#0f1730; color:#cfe0ff; font-size:12px; }

.hero-search select {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #223056;
  background: #0f1730;
  color: #d6e5ff;
  padding: 0 10px;
}

.draggable { cursor: default; }
.handle { cursor: grab; }
.dragging { opacity: .6; }

/* Compact, tidy hero controls */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-controls input[type="text"] {
  flex: 0 1 360px;          /* nice size, not huge */
  max-width: 480px;
  min-width: 220px;
}

.hero-controls .compact-select {
  flex: 0 0 190px;          /* <- keeps the sort select small */
}

/* Space tightening */
.hero-title-row { align-items: center; }
.hero-title { margin: 0 0 6px 0; }
.hero-chips { margin: 6px 0 0; }

/* Release History */
.history-card { border-radius: 12px; overflow: hidden; background: #0F1624; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.history-table { width: 100%; }

.history-row {
  display: grid;
  grid-template-columns: 140px 1fr 140px; /* date | notes | money */
  gap: 12px;
  padding: 12px 14px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.history-row:first-child { border-top: 0; }
.history-row--head {
  background: rgba(255,255,255,0.06);
  font-weight: 600;
  letter-spacing: .2px;
}
.history-row.alt { background: rgba(255,255,255,0.02); }
.history-row--footer {
  background: rgba(255,255,255,0.03);
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.history-row--empty { padding: 28px 14px; }

.history-col.right { text-align: right; }
.history-col.w-date { width: 140px; }
.history-col.w-money { width: 140px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.muted { color: rgba(255,255,255,0.6); }
.strong { font-weight: 700; }

/* Responsive stacking for small screens */
@media (max-width: 700px) {
  .history-row { grid-template-columns: 1fr; }
  .history-col.w-date,
  .history-col.w-money { width: auto; }
  .history-row--head { display: none; }
  .history-row:not(.history-row--head) .history-col.w-date { order: -1; color: rgba(255,255,255,0.8); }
}

/* ===== Whitelist Panel ===== */
.whitelist-panel { margin-bottom: 18px; }
.wl-header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px; }
.whitelist-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
}

.wl-form label {
  display:block;
  font-size: 12px;
  margin: 10px 0 6px;
  color: rgba(255,255,255,0.8);
}
.wl-form input[type="email"],
.wl-form select {
  width: 100%;
}
.wl-actions { margin-top: 14px; }
.hint { margin: 10px 0 0; font-size: 12px; color: rgba(255,255,255,0.6); }

/* Stats chips */
.wl-stats { display:flex; flex-direction:column; gap:10px; align-items:stretch; }
.stat-chip {
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.stat-chip .k { font-size: 20px; font-weight: 700; }
.stat-chip .l { font-size: 12px; opacity: .8; }

/* Table head + search */
.wl-table-head {
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; margin-bottom: 10px;
}
#wlSearch { max-width: 240px; }

/* Badges */
.badge { display:inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,0.07); }
.badge.ok { background: rgba(32, 201, 151, .15); color: #6be3c5; }
.badge.info { background: rgba(86, 156, 214, .18); color: #79c0ff; }
.badge.warn { background: rgba(255, 193, 7, .18); color: #ffd166; }

/* Buttons (small) */
.btn.sm { padding: 6px 10px; font-size: 14px; }

/* Utilities */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.muted { color: rgba(255,255,255,0.6); }

/* Responsive */
@media (max-width: 840px) {
  .whitelist-grid { grid-template-columns: 1fr; }
  .wl-stats { flex-direction: row; }
  .stat-chip { flex: 1; }
}

select.sm { padding: 6px 8px; font-size: 14px; border-radius: 8px; }
.inline { display: inline; }

/* Whitelist header + inline add form */
.wl-head {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap; margin-bottom:8px;
}
.wl-inline-add { display:flex; gap:8px; align-items:center; }
.wl-inline-add input[type="email"] { width:260px; }

/* Small select + tidy alignment */
select.xs { height:32px; padding:4px 8px; font-size:13px; width:110px; }
.inline { display:inline; }
.table .td.center { text-align:center; }
.table .td { vertical-align: middle; }

/* Bigger status badge */
.badge.status { font-size:13px; padding:4px 10px; border-radius:999px; }
.badge.status.ok   { background: rgba(32,201,151,.20); color:#6be3c5; }
.badge.status.info { background: rgba(86,156,214,.20); color:#79c0ff; }

/* Search bar above table */
.wl-table-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0 10px; }
#wlSearch { max-width:240px; }

/* Keep action buttons on one line */
.td.actions { white-space: nowrap; }            /* prevent wrapping */
.actions-inline {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;                            /* force inline */
}

/* Keep action buttons on one line and aligned right */
.td.actions { white-space: nowrap; }
.actions-inline {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

/* Keep action buttons in a single line (already added) */
.td.actions { white-space: nowrap; }

/* Prevent the delete button from being clipped by the cell */
.td.actions { overflow: visible; padding-right: 6px; }

/* (Optional) tiny nudge so the last pill never hugs the edge */
.actions-inline { margin-right: 2px; }

/* Packs table: keep last column breathing room and visible */
.admin-packs .table { padding-right: 0; overflow: visible; }
.admin-packs .tr    { overflow: visible; }

.admin-packs .td.actions {
  white-space: nowrap;
  overflow: visible;
  padding-right: 0
}

.admin-packs .actions-inline {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  margin-right: 0;
}

@supports (transform: translateX(0)) {
  .admin-packs .actions-inline.align-edge { transform: translateX(1px); }
}

.admin-packs .td.right.actions { text-align: left !important; }
.admin-packs .actions-inline {
  justify-content: flex-start;
  margin-left: 0;
}

/* Header layout */
.app-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  background: #0e1522;
  position: sticky;
  top: 0;
  z-index: 40;
}
.app-header .brand {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}
.header-actions {
  display:flex;
  align-items:center;
  gap:12px;
}

/* User pill */
.badge.user-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

/* Make header buttons the same size */
.btn.nav.same {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 104px;         /* identical width */
  padding: 0;           /* center the label perfectly */
  font-weight: 600;
}

/* Keep forms inline for Logout */
.inline { display:inline; }

/* Brand logo in the header */
.app-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 28px;       /* tweak to taste (24–36 works well) */
  width: auto;
  display: block;
}

/* Optional: subtle hover */
.app-header .brand:hover .brand-logo { opacity: 0.9; }

/* If your logo is dark and header is dark, you can slightly brighten it:
.brand-logo { filter: brightness(1.05); }
*/
