/* Curation style guide v0.8: #f2f2f2 on #171717, Yellow 400 hero, cyan/purple/pink section
   colours, Inter, flat surfaces (no gradients, no glass). Tokens match curation-tools-home/site.css. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #171717; --panel: #262626; --ink: #f2f2f2; --muted: #a3a3a3; --faint: #525252;
  --line: rgba(242, 242, 242, 0.12);
  --yellow: #facc15; --cyan: #67e8f9; --purple: #c084fc; --pink: #f472b6; --pos: #22c55e; --neg: #ef4444;
  --accent: var(--yellow);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.25; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
[hidden] { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1040px; margin: 0 auto; padding: 24px 24px 8px; }
.lockup { --lh: 34px; display: inline-flex; align-items: flex-end; height: var(--lh); text-decoration: none; }
.wm { display: block; height: 100%; aspect-ratio: 1500 / 330; background: var(--ink);
  -webkit-mask: url("/brand/curation-wordmark.png") center / contain no-repeat; mask: url("/brand/curation-wordmark.png") center / contain no-repeat; }
.cursor { flex: none; display: inline-block; background: var(--accent); border-radius: 4%; }
.lockup .cursor { width: calc(var(--lh) * .245); height: calc(var(--lh) * .245); margin: 0 0 calc(var(--lh) * .097) calc(var(--lh) * -.16); animation: blink 1.06s steps(1, end) infinite; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lockup .cursor { animation: none; } }
.top .name { color: var(--muted); font-size: 15px; margin-left: 14px; }
.top .left { display: flex; align-items: flex-end; }

main { max-width: 1040px; margin: 0 auto; padding: 16px 24px 96px; }
section { margin-top: 48px; }
#compose { --accent: var(--yellow); } #queue { --accent: var(--cyan); } #accounts { --accent: var(--purple); } #sent { --accent: var(--pink); }
h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 20px; }
h2 .cursor { width: 12px; height: 12px; }
h2 .count { color: var(--muted); font-weight: 400; font-size: 15px; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.empty { color: var(--muted); padding: 20px; border: 1px dashed var(--line); border-radius: 8px; }

button, input, textarea, select { font: inherit; color: inherit; }
.btn { display: inline-block; padding: 10px 18px; border: 0; border-radius: 6px; cursor: pointer; background: var(--accent); color: #171717; font-weight: 600; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.line { background: none; color: var(--ink); border: 1px solid var(--line); font-weight: 400; padding: 7px 12px; font-size: 14px; }
.btn.line:hover { border-color: var(--accent); }
.btn.quiet { background: none; color: var(--muted); padding: 7px 0; font-weight: 400; font-size: 14px; }
.btn.quiet:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=password], input[type=datetime-local], input[type=number], textarea, select {
  width: 100%; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.35; }
input[type=file] { width: 100%; font-size: 14px; color: var(--muted); }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }
.field + .field { margin-top: 16px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; margin: 0; cursor: pointer; }
.check + .check { margin-top: 10px; }
.check.off { color: var(--faint); cursor: default; }

.chip { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #171717; background: var(--muted); white-space: nowrap; }
.chip.youtube { background: var(--neg); color: var(--ink); } .chip.instagram { background: var(--pink); } .chip.tiktok { background: var(--cyan); } .chip.linkedin { background: var(--purple); }

.pick { border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.pick + .pick { margin-top: 10px; }
.pick .extra { margin: 14px 0 0 26px; }
.pick .extra .field + .field { margin-top: 12px; }
.pick .slot { margin-left: auto; color: var(--muted); font-size: 13px; }

.rows { border: 1px solid var(--line); border-radius: 8px; }
.day { padding: 10px 16px; font-size: 13px; color: var(--muted); background: var(--panel); }
.day:first-child { border-radius: 8px 8px 0 0; }
.row { display: grid; grid-template-columns: 64px 92px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.rows > .row:first-child { border-top: 0; }
.row.wide { grid-template-columns: 128px 92px 1fr auto; }
.row .when { font-variant-numeric: tabular-nums; }
.row .what { min-width: 0; }
.row .what div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .acts { display: flex; gap: 8px; align-items: center; }
.row .err { color: var(--neg); white-space: normal !important; font-size: 13px; margin-top: 4px; }
.row .note { white-space: normal !important; }
@media (max-width: 760px) { .row, .row.wide { grid-template-columns: 56px 1fr; } .row .acts { grid-column: 1 / -1; } }

.acct { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.acct .every { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 14px; }
.acct .every input { width: 64px; padding: 6px 8px; }
.plat { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plat + .acct { margin-top: 14px; }
.panel + .panel { margin-top: 16px; }
code { background: var(--panel); padding: 2px 6px; border-radius: 4px; font-size: 13px; word-break: break-all; }

.flash { margin-top: 16px; padding: 12px 16px; border-radius: 6px; background: var(--panel); border-left: 4px solid var(--pos); }
.flash.bad { border-left-color: var(--neg); }
.bar { height: 6px; background: var(--panel); border-radius: 3px; margin-top: 14px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.submit { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 96px; line-height: 1.5; }
.doc h1 { font-size: 32px; margin: 32px 0 8px; } .doc h2 { display: block; font-size: 18px; margin: 28px 0 8px; } .doc p, .doc li { color: #d4d4d4; }
.signin { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.signin form { width: min(360px, 100%); }
.signin .lockup { --lh: 56px; margin-bottom: 32px; }

.who { display: flex; align-items: center; gap: 14px; }
.who select { width: auto; padding: 6px 10px; }
#keys { --accent: var(--yellow); } #team { --accent: var(--purple); }
.panel h3 { font-size: 16px; margin-bottom: 4px; }
form.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
form.inline input[type=text] { width: auto; flex: 1 1 220px; }
.spaces { display: flex; gap: 14px; flex-wrap: wrap; }
.spaces .check + .check, form.inline .check + .check { margin-top: 0; }
.acct select { width: auto; padding: 6px 8px; }
.acct .grow { margin-left: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
pre.copy { background: var(--panel); border-radius: 6px; padding: 14px; margin: 14px 0 0; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; user-select: all; }
