/* ---- JetBrains Mono ---- */
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Thin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('fonts/JetBrainsMono-ExtraLight.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Medium.woff2') format('woff2');
}

:root {
  --bg: #ffffff;
  --ink: #9c9c9c;        /* primary grey text */
  --ink-strong: #7c7c7c; /* live line */
  --faint: #bdbdbd;      /* news body */
  --ring: #cfcfcf;       /* dashed circle */
  --logo: #b4b4b4;       /* the h. mark */
  --line: #d9d9d9;       /* rule */
  --red: #ff1f1f;        /* live dot */
  --app-width: 460px;
  --miniplayer-h: 0px;   /* set by player.js when the mini-player is visible */
  --foot-h: 0px;         /* home footer height; lets the mini-player sit above it */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Pages without the full-height .app layout (account/submit/mix/admin) reserve
   space below their content so the bottom-pinned mini-player can't cover it.
   player.js adds this class on those pages. */
body.mp-flow { padding-bottom: var(--miniplayer-h, 0px); }

.app {
  max-width: var(--app-width);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 18px) 26px 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---- wordmark ---- */
.wordmark {
  margin: 6px 0 16px;
  text-align: center;
  font-weight: 200;
  font-size: clamp(22px, 6.6vw, 30px);
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* ---- record / play-pause ---- */
.record {
  display: block;
  width: min(50vw, 216px);
  aspect-ratio: 1 / 1;
  margin: 2px auto 18px;
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.record__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--ring);
}

.record__logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--logo);
  /* spin is always defined so pausing freezes it in place, like a record */
  animation: spin 6s linear infinite;
  animation-play-state: paused;
  transform-origin: 50% 50%;
}
.record__logo svg {
  width: 46%;
  height: auto;
  overflow: visible;
}
.record.is-playing .record__logo {
  animation-play-state: running;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .record__logo { animation: none !important; }
}

/* ---- now playing ---- */
.now {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-strong);
  line-height: 1.4; /* full glyph height so nothing clips vertically */
  white-space: nowrap;
  /* no overflow:hidden here — .now__marquee clips its own horizontal scroll */
}
.now__dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  align-self: center;
  margin-right: 12px;
  animation: livepulse 2.4s ease-in-out infinite;
}
@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .now__dot { animation: none; }
}
.now__label { flex: 0 0 auto; }

.now__marquee {
  position: relative;
  flex: 1 1 auto;
  min-width: 0; /* allow shrink so long titles scroll instead of clipping */
  overflow: hidden;
  cursor: pointer;
}
.now__track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}
.now__track.is-scrolling {
  animation: marquee var(--marquee-dur, 12s) linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 12px 0 20px;
}

/* ---- swipe tabs (updates/news ⇄ archive) ---- */
/* Header + tabs stay fixed; only the pager panels scroll. */
.tabs {
  flex: 0 0 auto;
  display: flex;
  gap: 22px;
  margin-bottom: 16px;
}
.tab {
  font-family: inherit; font-size: 23px; font-weight: 300;
  background: none; border: 0; padding: 0 0 4px; cursor: pointer;
  color: var(--faint); border-bottom: 2px solid transparent;
  -webkit-tap-highlight-color: transparent;
}
.tab.is-active { color: var(--ink); border-bottom-color: var(--line); }

.pager {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.pager::-webkit-scrollbar { display: none; }
.page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(24px + var(--miniplayer-h, 0px) + env(safe-area-inset-bottom));
}

/* ---- news list ---- */
.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---- archive list ---- */
.archive {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mix {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
}
.mix__like {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  background: none; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--ring);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s;
}
.mix__like:hover { color: var(--ink-strong); }
.mix__like.is-liked { color: var(--red); }
.mix__like:disabled { opacity: 0.5; cursor: default; }
.mix__like svg { width: 19px; height: 19px; }
.mix__play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px dashed var(--ring);
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--logo);
  padding: 0;
  transition: color 0.15s, border-color 0.15s, border-style 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.mix__play:hover { color: var(--ink-strong); border-color: var(--ink); }
.mix__play:disabled { opacity: 0.4; cursor: default; }
.mix.is-playing .mix__play {
  color: var(--red);
  border-color: var(--red);
  border-style: solid;
}
.mix__play svg { width: 15px; height: 15px; }
.mix__title {
  display: inline-block;
  font-size: 14.5px; color: var(--ink-strong); line-height: 1.4;
  text-decoration: none;
}
.mix__title:hover { color: var(--ink); }
.mix__artist { color: var(--ink); }
.mix__tags { font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.empty { font-size: 13.5px; color: var(--faint); }
.news__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
}
.news__date {
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  white-space: nowrap;
}
.news__body {
  margin: 0;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--faint);
}

.foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.foot__link {
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.foot__link:hover { color: var(--ink-strong); }

/* ---- persistent mini-player ---- */
.mp {
  position: fixed; left: 0; right: 0; bottom: var(--foot-h, 0px); z-index: 50;
  height: 58px; box-sizing: border-box;
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mp.hidden { display: none; }
.mp__toggle, .mp__close {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: 0;
  display: grid; place-items: center; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.mp__toggle { width: 34px; height: 34px; color: var(--ink-strong); }
.mp__toggle svg { width: 16px; height: 16px; }
.mp__close { width: 26px; height: 26px; font-size: 20px; line-height: 1; color: var(--faint); }
.mp__close:hover { color: var(--ink); }
.mp__info {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  text-decoration: none; overflow: hidden;
  background: none; border: 0; padding: 0; margin: 0;
  font-family: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mp__title {
  font-size: 13px; color: var(--ink-strong);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mp__artist {
  font-size: 11px; color: var(--faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mp__like {
  flex: 0 0 auto; width: 30px; height: 30px; padding: 0;
  background: none; border: 0; cursor: pointer; display: grid; place-items: center;
  color: var(--ring); -webkit-tap-highlight-color: transparent; transition: color .15s;
}
.mp__like:hover { color: var(--ink-strong); }
.mp__like.is-liked { color: var(--red); }
.mp__like svg { width: 18px; height: 18px; }
.mp__progress {
  flex: 0 0 60px; height: 4px; border-radius: 2px;
  background: var(--line); cursor: pointer;
}
.mp__fill { height: 100%; width: 0%; background: var(--ink); border-radius: 2px; }

/* ---- expandable "now playing" view ---- */
body.mpf-open { overflow: hidden; }
.mpf {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(env(safe-area-inset-top) + 16px) 26px calc(28px + env(safe-area-inset-bottom));
}
.mpf.hidden { display: none; }
.mpf__body { max-width: var(--app-width); margin: 0 auto; width: 100%; box-sizing: border-box; }
.mpf__collapse {
  background: none; border: 0; cursor: pointer; padding: 4px 0;
  font-family: inherit; font-size: 13px; color: var(--faint);
}
.mpf__collapse:hover { color: var(--ink); }
.mpf__art {
  width: min(58vw, 240px); aspect-ratio: 1 / 1; margin: 18px auto 24px;
  display: grid; place-items: center; color: var(--logo);
}
.mpf__art svg { width: 46%; height: auto; overflow: visible; }
.mpf__art.is-playing { animation: spin 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .mpf__art.is-playing { animation: none; } }
.mpf__title { font-weight: 300; font-size: 22px; color: var(--ink); text-align: center; margin: 0; line-height: 1.25; }
.mpf__artist { font-size: 14px; color: var(--ink-strong); text-align: center; margin: 5px 0 0; }
.mpf__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 0; }
.mpf__tag { font-size: 12px; color: var(--faint); }
.mpf__like {
  display: grid; place-items: center; margin: 0;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ring);
  -webkit-tap-highlight-color: transparent; transition: color .15s;
}
.mpf__like:hover { color: var(--ink-strong); }
.mpf__like.is-liked { color: var(--red); }
.mpf__like svg { width: 24px; height: 24px; }
.mpf__controls { margin: 20px 0 8px; }
.mpf__buttons {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  margin-bottom: 18px;
}
.mpf__buttons .mpf__toggle { grid-column: 2; justify-self: center; } /* page center */
.mpf__buttons .mpf__like { grid-column: 3; justify-self: end; }      /* right edge */
.mpf__toggle {
  display: grid; place-items: center; margin: 0;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1.5px dashed var(--ring); background: none; cursor: pointer; color: var(--ink-strong);
}
.mpf__toggle svg { width: 22px; height: 22px; }
.mpf__progress { height: 4px; border-radius: 2px; background: var(--line); cursor: pointer; }
.mpf__fill { height: 100%; width: 0%; background: var(--ink); border-radius: 2px; }
.mpf__time { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 7px; }
.mpf__section { margin-top: 22px; }
.mpf__h { font-size: 12px; color: var(--ink); margin: 0 0 6px; }
.mpf__p { font-size: 14px; line-height: 1.6; color: var(--faint); margin: 0; white-space: pre-wrap; }
.mpf__link { display: inline-block; margin-top: 26px; font-size: 13px; color: var(--ink-strong); text-decoration: underline; }

/* ============================================================= *
 *  SPA: view container + consolidated per-view styles
 *  (moved here from the old per-page inline <style> blocks)
 * ============================================================= */
#view { display: contents; }

/* ---- shared form primitives ---- */
label { display: block; font-size: 12px; color: var(--ink); margin: 0 0 6px; }
.hint { font-size: 11px; color: var(--faint); }
input, textarea {
  width: 100%; box-sizing: border-box;
  font-family: inherit; font-size: 15px; color: var(--ink-strong);
  background: #fafafa; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 12px; margin-bottom: 16px;
}
input:focus, textarea:focus { outline: none; border-color: #b9b9b9; background: #fff; }
textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
button.primary {
  font-family: inherit; font-size: 14px; color: #fff;
  background: #8a8a8a; border: 0; border-radius: 8px; padding: 12px 22px; cursor: pointer;
}
button.primary:hover { background: #7c7c7c; }
button.primary:disabled { opacity: .5; cursor: default; }
.msg { font-size: 13px; margin: 10px 0 0; min-height: 18px; }
.msg.error { color: var(--red); }
.msg.ok { color: #4a9d5b; }
.hidden { display: none; }
.back { display: inline-block; margin-top: 30px; font-size: 13px; color: var(--faint); text-decoration: none; }
.back:hover { color: var(--ink); }

/* ---- mix detail view ---- */
.mixp { max-width: 560px; margin: 0 auto; padding: 40px 26px calc(60px + env(safe-area-inset-bottom)); }
.mixp__back { display: inline-block; font-size: 13px; color: var(--faint); text-decoration: none; margin-bottom: 30px; }
.mixp__back:hover { color: var(--ink); }
.mixp__head { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.mixp__play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px dashed var(--ring); background: none; cursor: pointer;
  display: grid; place-items: center; color: var(--logo); padding: 0;
  transition: color .15s, border-color .15s, border-style .15s;
}
.mixp__play:hover { color: var(--ink-strong); border-color: var(--ink); }
.mixp__play.is-playing { color: var(--red); border-color: var(--red); border-style: solid; }
.mixp__play svg { width: 16px; height: 16px; }
.mixp__headtext { min-width: 0; }
.mixp__like {
  flex: 0 0 auto; margin-left: auto; width: 40px; height: 40px;
  background: none; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ring);
  transition: color .15s; -webkit-tap-highlight-color: transparent;
}
.mixp__like:hover { color: var(--ink-strong); }
.mixp__like.is-liked { color: var(--red); }
.mixp__like:disabled { opacity: .5; cursor: default; }
.mixp__like svg { width: 22px; height: 22px; }
.mixp__title { font-weight: 300; font-size: 22px; color: var(--ink); margin: 0; line-height: 1.25; }
.mixp__artist { font-size: 14px; color: var(--ink-strong); margin: 2px 0 0; }
.mixp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.mixp__tag { font-size: 12px; color: var(--faint); }
.mixp__section { margin-top: 26px; }
.mixp__heading { font-size: 12px; letter-spacing: 0.06em; text-transform: lowercase; color: var(--ink); margin: 0 0 8px; }
.mixp__body { font-size: 14px; line-height: 1.65; color: var(--faint); margin: 0; white-space: pre-wrap; }
.mixp__rule { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.mixp__state { font-size: 14px; color: var(--faint); line-height: 1.6; }

/* comments */
.cmt { padding: 14px 0; border-top: 1px solid var(--line); }
.cmt:first-child { border-top: 0; }
.cmt__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.cmt__user { font-size: 13px; color: var(--ink-strong); }
.cmt__time { font-size: 11px; color: var(--faint); }
.cmt__del { margin-left: auto; font-family: inherit; font-size: 11px; color: var(--red); background: none; border: 0; cursor: pointer; padding: 0; }
.cmt__body { font-size: 13.5px; color: var(--faint); line-height: 1.55; margin: 0; white-space: pre-wrap; }
.cmt-empty { font-size: 13.5px; color: var(--faint); }
.compose { margin-top: 20px; }
.compose textarea { min-height: 64px; margin-bottom: 0; }
.compose__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.compose button { font-family: inherit; font-size: 13px; color: #fff; background: #8a8a8a; border: 0; border-radius: 8px; padding: 9px 18px; cursor: pointer; }
.compose button:disabled { opacity: .5; cursor: default; }
.compose__msg { font-size: 12px; color: var(--red); }
.login-prompt { font-size: 13.5px; color: var(--faint); margin: 18px 0 0; }
.login-prompt a { color: var(--ink-strong); }

/* ---- account view ---- */
.acct { max-width: 520px; margin: 0 auto; padding: 44px 26px calc(60px + env(safe-area-inset-bottom)); }
.acct__head { margin-bottom: 30px; }
.acct__brand { display: inline-block; font-weight: 200; font-size: 24px; color: var(--ink); text-decoration: none; }
.acct__title { font-weight: 300; font-size: 18px; color: var(--ink); margin: 22px 0 6px; }
.acct__intro { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: 0 0 18px; }
.switch { font-size: 13px; color: var(--faint); margin: 20px 0 0; }
.switch button { font-family: inherit; font-size: 13px; color: var(--ink-strong); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
.me__hi { font-weight: 300; font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.me__sub { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: 0 0 22px; }
.me__signout { font-family: inherit; font-size: 13px; color: var(--ink-strong); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
.me__likes { margin-top: 34px; }
.me__likesHeading { font-weight: 300; font-size: 15px; color: var(--ink); margin: 0 0 14px; }
.me__likesList { list-style: none; margin: 0; padding: 0; }
.me__empty { font-size: 13px; color: var(--faint); }
.likerow { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.likerow:first-child { border-top: 0; }
.likerow__title { font-size: 14px; color: var(--ink-strong); text-decoration: none; line-height: 1.4; }
.likerow__title:hover { color: var(--ink); }
.likerow__artist { color: var(--ink); }
.likerow__x { margin-left: auto; font-family: inherit; font-size: 12px; color: var(--red); background: none; border: 0; cursor: pointer; padding: 0; white-space: nowrap; }

/* ---- submit view ---- */
.submit { max-width: 520px; margin: 0 auto; padding: 44px 26px calc(60px + env(safe-area-inset-bottom)); }
.submit__head { margin-bottom: 30px; }
.submit__brand { display: inline-block; font-weight: 200; font-size: 24px; color: var(--ink); text-decoration: none; }
.submit__title { font-weight: 300; font-size: 18px; color: var(--ink); margin: 22px 0 6px; }
.submit__intro { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: 0; }
.req { color: var(--ink-strong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: left; }
.thanks__title { font-weight: 300; font-size: 18px; color: var(--ink); margin: 0 0 10px; }
.thanks__body { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: 0 0 22px; }
.thanks__again { font-family: inherit; font-size: 13px; color: var(--ink-strong); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---- admin view ---- */
.admin { max-width: 520px; margin: 0 auto; padding: 40px 26px calc(60px + env(safe-area-inset-bottom)); }
.admin__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 34px; }
.admin__brand { font-weight: 200; font-size: 24px; color: var(--ink); }
.admin__tag { font-size: 13px; color: var(--faint); }
.admin__signout { font-size: 13px; color: var(--ink-strong); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; font-family: inherit; }
.card { margin-bottom: 34px; }
.card__title { font-weight: 300; font-size: 18px; color: var(--ink); margin: 0 0 16px; }
.linkbtn { font-family: inherit; font-size: 13px; color: var(--ink-strong); background: none; border: 0; cursor: pointer; padding: 0 0 0 14px; text-decoration: underline; }
.list { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.row__date { font-size: 13.5px; color: var(--ink); line-height: 1.5; white-space: nowrap; }
.row__body { font-size: 13.5px; color: var(--faint); line-height: 1.5; margin: 0; }
.row__del { font-family: inherit; font-size: 12px; color: var(--red); background: none; border: 0; cursor: pointer; padding: 0; }
.sub { padding: 16px 0; border-top: 1px solid var(--line); }
.sub__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.sub__artist { font-size: 14.5px; color: var(--ink-strong); }
.sub__title { font-size: 14.5px; color: var(--ink); }
.sub__badge { font-size: 11px; padding: 1px 7px; border-radius: 10px; border: 1px solid var(--line); color: var(--faint); margin-left: auto; }
.sub__badge.approved { color: #4a9d5b; border-color: #bfe0c6; }
.sub__badge.rejected { color: var(--red); border-color: #f3c2c2; }
.sub__meta { font-size: 12.5px; color: var(--faint); line-height: 1.6; margin: 2px 0; }
.sub__meta a { color: var(--ink-strong); }
.sub__notes { font-size: 12.5px; color: var(--faint); line-height: 1.55; white-space: pre-wrap; margin: 6px 0 0; }
.sub__actions { display: flex; gap: 16px; margin-top: 10px; }
.sub__act { font-family: inherit; font-size: 12px; background: none; border: 0; cursor: pointer; padding: 0; color: var(--ink); }
.sub__act.approve { color: #4a9d5b; }
.sub__act.reject { color: var(--ink); }
.sub__act.del { color: var(--red); }
