:root {
  color-scheme: dark;
  --bg: #121614;
  --panel: #1b211e;
  --line: #37403a;
  --soft: #b6c0b9;
  --ink: #f0f2e9;
  --acid: #f0a194;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
header {
  border-bottom: 1px solid var(--line);
}
.wrap {
  width: min(1080px, 92%);
  margin: auto;
}
.bar,
nav,
.actions,
.row,
.hero,
.cardline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bar {
  min-height: 70px;
  color: var(--soft);
  font-size: 0.9rem;
}
.brand {
  font-size: 1.13rem;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.brand span,
.eyebrow {
  color: var(--acid);
}
#logout {
  margin-left: auto;
}
main {
  padding: 42px 0 100px;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.7em;
}
h1 {
  font:
    500 clamp(2.5rem, 7vw, 4.7rem)/1.02 Georgia,
    serif;
  letter-spacing: -0.045em;
}
h2 {
  font:
    500 1.85rem/1.15 Georgia,
    serif;
}
h3 {
  font-size: 1.1rem;
}
.hero {
  gap: 26px;
  margin-bottom: 32px;
}
.hero > div {
  min-width: 0;
}
.eyebrow {
  font:
    600 0.79rem/1.3 ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
nav {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
nav button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 12px 16px;
}
nav .active {
  box-shadow: inset 0 -2px var(--acid);
  color: var(--acid);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
}
button:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.primary {
  color: #18210e;
  background: var(--acid);
  border-color: var(--acid);
  font-weight: 650;
}
.primary:hover {
  color: #18210e;
  background: #e3ffb2;
}
.actions {
  margin: 18px 0;
}
.row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  gap: 14px;
}
.row .grow,
.cardline .grow {
  flex: 1;
  min-width: 145px;
}
.title {
  font-weight: 650;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
small,
.muted,
time {
  color: var(--soft);
}
small {
  display: block;
  font-size: 0.88rem;
}
.cover {
  width: 52px;
  height: 52px;
  object-fit: cover;
  flex: none;
  border-radius: 4px;
}
.record {
  background: radial-gradient(
    circle,
    #1a211b 0 5%,
    #cbdba8 6% 20%,
    #263028 21% 31%,
    #536250 32%,
    #293029 34% 38%,
    #65705a 39%,
    #303930 40% 46%,
    #4a5647 47%,
    #283029 49% 62%,
    #78856c 63%,
    #b6c5a4 64%
  );
  display: inline-block;
}
.hero .cover {
  width: clamp(104px, 17vw, 200px);
  height: clamp(104px, 17vw, 200px);
}
input,
textarea,
select {
  color: var(--ink);
  background: #111612;
  border: 1px solid #546059;
  border-radius: 5px;
  padding: 9px;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
}
label {
  display: block;
  color: var(--soft);
  margin-bottom: 12px;
}
label > input,
label > textarea,
label > select {
  display: block;
  margin-top: 4px;
}
label.inline > input {
  display: inline;
}
.grid,
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
}
.columns {
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  margin-top: 25px;
}
.panel,
dialog {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
}
.panel + .panel {
  margin-top: 18px;
}
dialog {
  width: min(680px, 95vw);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #000a;
}
audio {
  width: 100%;
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  padding: 8px 0;
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filters input,
.filters select {
  width: auto;
  max-width: 100%;
}
dl {
  margin: 0;
}
dl div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  color: var(--soft);
  font-size: 0.85rem;
}
dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.note p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.stamp {
  color: var(--acid);
  padding: 1px 6px;
  margin-right: 6px;
}
.auth {
  max-width: 480px;
  margin: 5vh auto;
}
.auth h1 {
  margin-bottom: 0.5em;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #e2edce;
  color: #142015;
  border-radius: 8px;
  z-index: 5;
}
.error {
  color: #ffc5ac;
}
.row.selected {
  background: #202821;
}
.count {
  font-family: ui-monospace, monospace;
  color: var(--soft);
}
:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 680px) {
  .columns,
  .grid {
    grid-template-columns: 1fr;
  }
  .row {
    gap: 9px;
  }
  .row button {
    font-size: 0.92rem;
  }
  .panel,
  dialog {
    padding: 16px;
  }
  .hero {
    gap: 16px;
  }
  .bar {
    gap: 8px;
  }
  main {
    padding-top: 28px;
  }
}
button[aria-pressed="true"] {
  border-color: var(--acid);
  color: var(--acid);
}

header{background:#f5f1e9}header .bar{color:#212520}.studio-logo{width:74px;height:60px;object-fit:contain}
