:root {
  color-scheme: light;
  --bg: #f4f1e8;
  --ink: #16221d;
  --muted: #66736d;
  --line: #ded8c9;
  --panel: #fffdf7;
  --brand: #10231c;
  --accent: #d5a526;
  --danger: #b42318;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
body.photo-viewer-open {
  overflow: hidden;
}
a { color: inherit; }
button, input, select, textarea {
  font: inherit;
}
button {
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 700;
}
button:disabled,
.disabled-button {
  cursor: not-allowed;
  opacity: .55;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  padding: max(10px, env(safe-area-inset-top)) 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(244, 241, 232, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--accent);
  font-weight: 900;
  font-size: 13px;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 1px; }
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 247, .72);
}
.top-nav a {
  padding: 8px 10px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.top-nav a:hover {
  background: #fff;
  color: var(--brand);
}
.ghost, .ghost-link {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
  text-decoration: none;
}
.edit-pill {
  display: none;
  padding: 8px 10px;
  border-radius: 999px;
  background: #e6f2ec;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}
main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 16px 14px 40px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 8px 0 16px;
}
.compact-hero {
  align-items: center;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(32px, 9vw, 56px); line-height: .95; margin-bottom: 0; letter-spacing: 0; }
h2 { font-size: 20px; }
.messages {
  width: min(1120px, calc(100% - 28px));
  margin: 12px auto 0;
}
.message {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.message.error { border-color: #f6b2aa; color: var(--danger); }
.message.ok { border-color: #a7d7bc; color: #166534; }
.plans {
  display: grid;
  gap: 12px;
}
.plan-card, .song-card, .editor-panel, .archive, .form-page {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(25, 30, 26, .05);
}
.plan-card {
  padding: 14px;
}
.plan-card.next {
  border-color: rgba(213, 165, 38, .8);
  box-shadow: 0 16px 34px rgba(213, 165, 38, .16);
}
.plan-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 10px;
}
.plan-head time {
  display: block;
  font-size: 22px;
  font-weight: 900;
}
.plan-head strong {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.plan-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}
.plan-head-actions > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f0eadb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.plan-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.plan-admin-actions form {
  margin: 0;
}
.tiny-plan-action,
.tiny-plan-danger {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
}
.tiny-plan-action {
  background: #edf3ee;
  color: #245342;
}
.tiny-plan-random {
  background: #fff4cf;
  color: #73510b;
}
.tiny-plan-danger {
  background: #fee4e2;
  color: var(--danger);
}
.metronome-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf3ee;
  color: #245342;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.song-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.song-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.song-row-link {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-decoration: none;
}
.song-row-link span {
  overflow-wrap: anywhere;
}
.song-row-link:hover span {
  color: #1769aa;
}
.song-list small {
  color: var(--muted);
}
.plan-song-item {
  border-left: 4px solid transparent;
  padding-left: 8px;
}
.item-type-common { border-left-color: #6fa67a; }
.item-type-group { border-left-color: #7c5ac7; }
.item-type-youth { border-left-color: #0f9f9a; }
.item-type-youth_service { border-left-color: #d1495b; }
.song-part-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.type-common {
  background: #e8f4ea;
  color: #276437;
}
.type-group {
  background: #eee8fb;
  color: #593a9d;
}
.type-youth {
  background: #e3f6f4;
  color: #08756f;
}
.type-youth_service {
  background: #fde8ec;
  color: #a6263a;
}
.song-meta-line, .song-key-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.song-meta-line, .song-key-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.song-key-line {
  margin: 10px 0 0;
}
.item-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.item-actions form {
  margin: 0;
}
.tiny-danger, .tiny-muted, .tiny-type {
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
}
.tiny-danger, .tiny-muted {
  width: 32px;
}
.tiny-type {
  width: auto;
  min-width: 42px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
}
.tiny-danger {
  background: #fee4e2;
  color: var(--danger);
}
.tiny-muted {
  background: #f0eadb;
  color: var(--brand);
}
.library {
  margin-top: 22px;
}
.library-page {
  margin-top: 6px;
}
.songs-result-count {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.section-title h2 { margin: 0; }
.section-title span {
  color: var(--muted);
  font-weight: 800;
}
.filters, .add-to-plan, .compact-form, .song-edit-form {
  display: grid;
  gap: 10px;
}
.filters {
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  min-height: 42px;
  padding: 10px 11px;
}
textarea { resize: vertical; }
.song-search-field {
  position: relative;
}
.song-search-field input[readonly] {
  padding-right: 46px;
  background: #f6fbf8;
  border-color: #245342;
  color: #123d2f;
  font-weight: 800;
}
.song-search-reset {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
  background: #edf3ee;
  color: var(--brand);
}
.song-search-reset[hidden] {
  display: none;
}
label span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 5px;
}
.song-grid {
  display: grid;
  gap: 10px;
}
.song-card {
  padding: 13px;
}
.song-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.song-card-link {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  text-decoration: none;
}
.song-card-link h3 {
  margin-bottom: 4px;
}
.song-count, .big-count {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0eadb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.big-count {
  background: var(--brand);
  color: #fff;
  font-size: 14px;
}
.song-last-use {
  margin: 2px 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags a {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf3ee;
  color: #245342;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.links, .edit-link {
  margin-top: 9px;
  display: flex;
  gap: 8px;
}
.links a, .edit-link {
  color: #1769aa;
  font-weight: 800;
  font-size: 13px;
}
.editor-panel {
  display: grid;
  gap: 16px;
  padding: 14px;
  margin-bottom: 16px;
}
.plan-edit-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: flex-end;
}
.add-song-button {
  min-height: 36px;
  padding: 0 12px;
  background: #edf3ee;
  color: #245342;
}
.archive {
  margin-top: 18px;
  padding: 12px 14px;
}
.archive summary {
  font-weight: 900;
}
.archive-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.archive-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.edit-dialog {
  border: 0;
  border-radius: 18px;
  width: min(420px, calc(100% - 28px));
  padding: 18px;
}
.wide-dialog {
  width: min(620px, calc(100% - 28px));
}
.edit-dialog::backdrop {
  background: rgba(16, 35, 28, .45);
}
.dialog-subtitle {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.form-page {
  padding: 16px;
}
.back-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
}
.song-picker {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf8ef;
}
.song-picker button {
  min-height: 36px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: left;
  font-weight: 700;
}
.song-picker button.selected {
  border-color: #245342;
  background: #e6f2ec;
  color: #163c2e;
}
.new-song-tags {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fbf8ef;
}
.new-song-tags[hidden] {
  display: none;
}
.new-song-tags p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.tag-picker legend {
  width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 2px;
}
.tag-picker label {
  position: relative;
}
.service-type-picker {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.service-type-picker legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}
.compact-type-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}
.compact-type-picker legend {
  grid-column: 1 / -1;
}
.service-type-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
}
.service-type-option input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}
.service-type-option span {
  margin: 0;
  color: inherit;
  font-size: 14px;
}
.compact-type-picker .service-type-option {
  min-height: 40px;
  padding: 8px 9px;
}
.compact-type-picker .service-type-option span {
  font-size: 12px;
}
.service-type-option:has(input:checked) {
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(16, 35, 28, .06);
}
.tag-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tag-picker span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.tag-picker b {
  display: none;
  font-size: 14px;
  line-height: 1;
}
.tag-picker input:checked + span {
  border-color: #245342;
  background: #e6f2ec;
  color: #245342;
}
.tag-picker input:checked + span b {
  display: inline;
}
.detail-page {
  display: grid;
  gap: 14px;
}
.song-detail-card, .history-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(25, 30, 26, .05);
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.detail-head h1 {
  font-size: clamp(30px, 8vw, 52px);
}
.detail-section {
  margin-top: 18px;
}
.detail-section h2, .history-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.key-editor form, .photo-upload {
  display: grid;
  gap: 8px;
}
.song-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.song-photos figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.song-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 5px;
}
.photo-actions form {
  margin: 0;
}
.photo-pickers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.photo-pickers label {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf8ef;
}
.photo-pickers input {
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
}
.tag-page {
  display: grid;
  gap: 14px;
}
.tag-admin-head {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.tag-create-form {
  display: grid;
  gap: 8px;
}
.tag-admin-list {
  display: grid;
  gap: 8px;
}
.tag-admin-row {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.tag-admin-row form {
  display: grid;
  gap: 8px;
}
.tag-admin-row label {
  display: grid;
  gap: 5px;
}
.tag-admin-row label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: calc(74px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));
  background: rgba(8, 13, 11, .94);
}
.photo-viewer[hidden] {
  display: none;
}
.photo-viewer-top {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
}
.photo-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-viewer-actions button,
.photo-download {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.photo-viewer-actions [data-photo-close] {
  width: 38px;
  padding: 0;
  font-size: 24px;
}
.photo-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  min-height: 54px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 34px;
}
.photo-prev {
  left: 12px;
}
.photo-next {
  right: 12px;
}
.detail-tags {
  margin-top: 12px;
}
.vertical-links {
  display: grid;
  gap: 6px;
}
.button-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.detail-actions form {
  margin: 0;
}
.danger-button {
  background: #fee4e2;
  color: var(--danger);
}
.history-list {
  display: grid;
  gap: 8px;
}
.history-list article {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.history-list span, .history-list small, .muted {
  color: var(--muted);
}
.empty {
  padding: 16px;
  border-radius: 14px;
  background: #fffdf7;
  border: 1px solid var(--line);
  color: var(--muted);
}
.install {
  background: var(--accent);
  color: var(--brand);
}
.metronome-page {
  display: grid;
  gap: 14px;
}
.metronome-panel {
  display: grid;
  gap: 14px;
}
.metronome-display {
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
}
.metronome-display strong {
  font-size: clamp(24px, 7vw, 44px);
  line-height: 1.05;
}
.metronome-display span {
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.metronome-display b {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand);
  font-size: 34px;
}
.metronome-editor {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}
.metronome-editor[hidden] {
  display: none;
}
.metronome-editor label {
  text-align: left;
}
.metronome-editor label span {
  color: rgba(255,255,255,.72);
}
.metronome-editor input,
.metronome-editor select {
  background: #fff;
}
.tempo-stepper {
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 6px;
  align-self: end;
}
.tempo-stepper button {
  min-height: 42px;
  padding: 0;
  background: #edf3ee;
  color: var(--brand);
}
.tap-tempo {
  min-height: 42px;
  padding: 0 12px;
  align-self: end;
  background: var(--accent);
  color: var(--brand);
}
.metronome-editor > button {
  grid-column: 1 / -1;
}
.metronome-stop {
  background: #fee4e2;
  color: var(--danger);
}
.metronome-stop:disabled {
  opacity: .45;
}
.metronome-list {
  display: grid;
  gap: 8px;
}
.metronome-song {
  min-height: 64px;
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}
.metronome-song.active {
  border-color: var(--accent);
  background: #fff7db;
}
.metronome-song:disabled {
  opacity: .52;
}
.metronome-song span {
  font-size: 16px;
}
.metronome-song small {
  color: var(--muted);
  font-weight: 800;
}

@media (min-width: 740px) {
  .edit-pill { display: inline-block; }
  main { padding-inline: 24px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card.next { grid-column: span 2; }
  .filters { grid-template-columns: 1fr 180px 160px auto; }
  .song-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editor-panel { grid-template-columns: 1fr 1.4fr; }
  .add-to-plan { grid-template-columns: 1fr 1fr 160px auto; align-items: end; }
  .key-editor form { grid-template-columns: 160px 110px 110px auto; justify-content: start; align-items: end; }
  .song-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tag-admin-head { grid-template-columns: 1fr minmax(320px, .7fr); align-items: end; }
  .tag-create-form { grid-template-columns: 1fr auto; align-items: end; }
  .tag-admin-row { grid-template-columns: 1fr auto; align-items: end; }
  .tag-admin-row form:first-child { grid-template-columns: 1fr auto; align-items: end; }
  .metronome-panel { grid-template-columns: minmax(280px, .8fr) 1.2fr; align-items: start; }
  .metronome-editor { grid-template-columns: 110px auto 92px 110px; align-items: end; }
  .metronome-editor > button { grid-column: auto; }
}

@media (max-width: 520px) {
  .topbar {
    padding-left: 10px;
    padding-right: 10px;
    gap: 6px;
  }
  .brand {
    gap: 7px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px;
  }
  .brand small {
    display: none;
  }
  .brand strong {
    font-size: 14px;
  }
  .top-nav {
    gap: 2px;
    padding: 3px;
  }
  .top-nav a {
    padding: 7px 8px;
    font-size: 12px;
  }
  .top-actions .ghost {
    min-height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
}
