/* Graphite and amber, the same look as the Android app. Dark unless the visitor chooses light with the
   button in the bar (theme.js keeps the choice). --accent fills buttons; --accent-ink is amber for text
   and thin marks, dark enough to read on a light page. */
:root {
  --bg: #111315; --surface: #1b1e22; --surface-2: #262a2f; --line: #30353b; --fg: #f2f3f5; --muted: #9aa1a9;
  --accent: #f5a623; --accent-fg: #1a1200; --accent-soft: #3b2c0c; --accent-text: #ffc55c; --accent-ink: #f5a623;
  --rec: #e5484d; --bad: #ff6b6b; --bad-soft: #4a1518; --warn: #ffc55c; --warn-soft: #3b2c0c;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f6f3; --surface: #ffffff; --surface-2: #ececea; --line: #dcdcd7; --fg: #17191c; --muted: #5d646c;
  --accent-soft: #fdefd2; --accent-text: #8a5300; --accent-ink: #9a5b00;
  --rec: #d93a40; --bad: #b3261e; --bad-soft: #fbe3e1; --warn: #8a5300; --warn-soft: #fdefd2;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 "Avenir Next", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: 1.2rem; }
p { margin: 0; }
a { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ------------------------------------------------------------ bar at the top */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1rem;
  padding: .7rem 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.brand { font-weight: 700; display: flex; align-items: center; gap: .55rem; white-space: nowrap; margin-right: auto; }
.brand a { color: inherit; text-decoration: none; }
.mark { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; left: 9px; top: 6px; border-left: 9px solid var(--accent-fg);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.beta { font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-text); border: 1px solid var(--accent-soft); background: var(--accent-soft); border-radius: 99px; padding: .05rem .5rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; font-size: .93rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--fg); }
.nav a.btn { color: var(--accent-fg); }
@media (max-width: 44rem) { .nav a:not(.btn) { display: none; } }
.who { display: flex; gap: 1rem; align-items: center; font-size: .9rem; color: var(--muted); min-width: 0; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link { background: none; border: 0; color: var(--accent-text); cursor: pointer; padding: 0; text-decoration: underline; white-space: nowrap; }

.theme-btn { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme-btn:hover { color: var(--fg); border-color: var(--muted); }
.theme-btn svg { width: 1.1rem; height: 1.1rem; }

.fine { font-size: .87rem; color: var(--muted); }
.msg { font-size: .92rem; color: var(--bad); min-height: 1.2em; }
.btn { display: inline-block; text-decoration: none; color: var(--fg); border: 1px solid var(--line); background: var(--surface-2);
  border-radius: 10px; padding: .55rem 1rem; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600; }
.btn.primary:hover { background: #ffb53d; border-color: #ffb53d; }
.btn.ghost { color: var(--accent-text); border-color: var(--accent); background: transparent; }
.btn.small { padding: .35rem .85rem; font-size: .9rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.chip { display: inline-block; font: 500 .78rem var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .2rem .7rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); }

/* ------------------------------------------------------------ home page, for visitors who are not signed in */
.home { display: flex; flex-direction: column; }
.band { width: 100%; max-width: 70rem; margin: 0 auto; padding: 3.5rem 20px; }
.band + .band { border-top: 1px solid var(--line); }
.eyebrow { font: 500 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text);
  display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; }
.band > h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.01em; max-width: 22ch; }
.band > .lede { margin-top: .8rem; max-width: 56ch; }
.lede { font-size: 1.12rem; color: var(--muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; padding-top: 4rem; padding-bottom: 4rem; }
@media (max-width: 56rem) { .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; } }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 3.7rem); letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lede { margin: 1.2rem 0 1.6rem; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; min-height: 44px; }
.hero .fine { margin-top: .9rem; }
/* Google's button is a light page in a frame; told so, the frame stays see-through on this dark page. */
#google-button { color-scheme: light; }

/* A picture of the editing room, drawn in CSS: a reel, a film, the cut below them and the three stages. */
.suite { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.screens { display: grid; grid-template-columns: 5fr 9fr; gap: 12px; align-items: end; }
.frame { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.frame.v { aspect-ratio: 9 / 15; } .frame.h { aspect-ratio: 16 / 10; }
.frame .sky { position: absolute; inset: 0 0 42% 0; background: #3d4650; }
.frame .land { position: absolute; inset: 58% 0 0 0; background: #2f3a33; }
.frame .road { position: absolute; left: 38%; right: 38%; top: 58%; bottom: 0; background: #4a4f55; clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%); }
.frame .sun { position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); left: 62%; top: 22%; }
.frame .tc { position: absolute; right: 7px; bottom: 7px; font: 500 .72rem var(--mono); color: #fff; background: rgba(0, 0, 0, .62); border-radius: 5px; padding: 0 .35rem; }
.frame .label { position: absolute; left: 9px; top: 8px; font: 500 .72rem var(--mono); color: #fff; display: flex; align-items: center; gap: .4rem; }
.track { display: flex; gap: 4px; height: 26px; position: relative; }
.track i { display: block; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); }
.track i.on { background: var(--accent-soft); border-color: var(--accent); }
.track::after { content: ""; position: absolute; left: 46%; top: -5px; bottom: -5px; width: 2px; background: var(--accent); border-radius: 2px; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stages li { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: .5rem .3rem; text-align: center;
  font-size: .82rem; color: var(--muted); }
.stages li.past { color: var(--fg); }
.stages li.past::before { content: "\2713\00a0"; }
.stages li.now { border-color: var(--accent); color: var(--accent-ink); }

.steps3 { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.steps3 li, .tile, .route { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; }
.steps3 b.n { font: 500 1.9rem var(--mono); color: var(--accent-ink); display: block; margin-bottom: .5rem; }
.steps3 h3, .route h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.steps3 p, .feature p, .route li { color: var(--muted); font-size: .96rem; }

.features { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem 2rem; }
.feature { padding-left: 1.5rem; position: relative; }
.feature::before { content: ""; position: absolute; left: 0; top: .5rem; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
.feature h3 { font-size: 1rem; margin-bottom: .2rem; }

.routes { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; align-items: stretch; }
.route { display: flex; flex-direction: column; gap: .8rem; }
.route.best { border-color: var(--accent); }
.route ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.route .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem .9rem; align-items: center; }
.badge { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--accent-fg); background: var(--accent);
  border-radius: 99px; padding: .1rem .55rem; vertical-align: middle; margin-left: .4rem; }

.tiles { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .8rem; }
.tile b { font: 500 1.7rem var(--mono); display: block; color: var(--fg); line-height: 1.2; }
.tile > span { color: var(--muted); font-size: .92rem; }

.closing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.closing h2 { max-width: none; }
.foot-bar { border-top: 1px solid var(--line); padding: 1.4rem 20px 2.2rem; text-align: center; }

/* ------------------------------------------------------------ the studio, for signed-in users */
.app { max-width: 62rem; margin: 0 auto; padding: 1.4rem 20px 4rem; display: flex; flex-direction: column; gap: 1.25rem; }
.banner { background: var(--bad-soft); color: var(--bad); padding: .6rem .9rem; border-radius: 10px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem;
  display: flex; flex-direction: column; gap: 1rem; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.panel-head h2 { margin-right: auto; display: flex; align-items: baseline; gap: .6rem; }
.panel-head h2 .n { font: 500 .85rem var(--mono); color: var(--accent-ink); }
.meter { width: 9rem; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.meter div { height: 100%; width: 0; background: var(--accent); transition: width .3s; }

.drop { display: flex; flex-direction: column; gap: .25rem; align-items: center; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--muted); border-radius: 12px; padding: 1.6rem 1rem; color: var(--muted); background: var(--bg); }
.drop strong { color: var(--accent-ink); font-size: 1.05rem; }
.drop.over, .drop:hover { border-color: var(--accent); }
.drop.over { background: var(--accent-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rows li { display: grid; grid-template-columns: 1fr auto auto; gap: .2rem .9rem; align-items: center;
  padding: .55rem 0; border-top: 1px solid var(--line); }
.rows .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .meta { color: var(--muted); font: .82rem var(--mono); white-space: nowrap; }
.rows progress { grid-column: 1 / -1; width: 100%; height: 5px; accent-color: var(--accent); }
.tag { font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 0 .3rem; margin-left: .4rem; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; align-items: start; }
.wide, .choice, .checks { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--muted); min-width: 0; }
.field input, .field select, .field textarea, .change textarea, .search {
  background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 9px; padding: .55rem .65rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus, .change textarea:focus, .search:focus { border-color: var(--accent); outline: none; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.choice legend { font-size: .88rem; color: var(--muted); padding: 0; margin-bottom: .35rem; }
.pick { display: flex; align-items: center; gap: .8rem; flex: 1 1 13rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; background: var(--bg); }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pick small { display: block; color: var(--muted); }
.shape { border: 2px solid var(--muted); border-radius: 4px; flex: none; }
.pick:has(input:checked) .shape { border-color: var(--accent); background: var(--accent); }
.shape.v { width: 18px; height: 32px; } .shape.h { width: 40px; height: 22px; }
/* A trip: three frames, one behind another. */
.shape.t { width: 30px; height: 20px; position: relative; margin: 6px 8px 6px 0; box-shadow: 4px -4px 0 -2px var(--bg), 4px -4px 0 0 var(--muted), 8px -8px 0 -2px var(--bg), 8px -8px 0 0 var(--muted); }
.pick:has(input:checked) .shape.t { box-shadow: 4px -4px 0 -2px var(--accent-soft), 4px -4px 0 0 var(--accent), 8px -8px 0 -2px var(--accent-soft), 8px -8px 0 0 var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.checks label { display: flex; gap: .5rem; align-items: center; }
.checks input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.actions .btn.primary { padding: .7rem 1.6rem; }
.ideas { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; }
.idea-list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: .4rem; }
.idea-list button { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--bg);
  border-radius: 10px; padding: .6rem .75rem; cursor: pointer; }
.idea-list button:hover { border-color: var(--accent); }
.idea-list small { display: block; color: var(--muted); }

.jobs { display: flex; flex-direction: column; gap: 1rem; }
.job { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: grid; gap: 1rem; grid-template-columns: 1fr; background: var(--bg); }
.job.has-video { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
.job.has-video.film { grid-template-columns: 1fr; }
@media (max-width: 40rem) { .job.has-video { grid-template-columns: 1fr; } }
.job video { width: 100%; border-radius: 10px; background: #000; max-height: 70vh; }
.job-body { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.job-title { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-weight: 600; }
.job-title .tc { font: 500 .85rem var(--mono); color: var(--muted); }
.status { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 99px; padding: .12rem .6rem; background: var(--surface-2); color: var(--fg); }
.status.done { background: var(--accent-soft); color: var(--accent-text); }
.status.failed { background: var(--bad-soft); color: var(--bad); }
.note-head { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: -.4rem; }
.caption { white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem .75rem; font-size: .93rem; overflow-wrap: anywhere; }
.change { display: flex; flex-direction: column; gap: .45rem; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.err { color: var(--bad); font-size: .92rem; }
/* A trip: the set of videos the editor decided it is worth, each asked for or already made. */
.trip { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: var(--bg); display: flex; flex-direction: column; gap: .9rem; }
.trip-head { display: flex; flex-direction: column; gap: .6rem; }
.trip-head h3 { margin: 0; font-size: 1.15rem; }
.trip-videos { display: flex; flex-direction: column; gap: .8rem; }
.trip-videos .job { background: var(--surface); }
.ask { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: start; border: 1px solid var(--line);
  border-radius: 12px; padding: .8rem .9rem; background: var(--surface); cursor: pointer; }
.ask input { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.ask .what { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--accent-text); }
.ask b { display: block; }
.ask small { display: block; color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.trip-foot { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.versions { margin-top: .3rem; }
.versions summary { cursor: pointer; color: var(--muted); font-size: .92rem; }
.versions .rows li { padding: .35rem 0; }

/* ------------------------------------------------------------ the owner's page */
.admin { max-width: 70rem; margin: 0 auto; padding: 1.6rem 20px 4rem; display: flex; flex-direction: column; gap: 1.2rem; }
.admin h1 { font-size: 1.7rem; }
#board:not([hidden]) { display: flex; flex-direction: column; gap: 2rem; }
.admin section { display: flex; flex-direction: column; gap: .9rem; }
.admin section > h2 { font-size: 1.15rem; }
.admin .tiles { margin-top: 0; }
.admin .tile small { display: block; margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.admin-bar .sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.admin-bar .sort select { width: auto; }
.admin-bar { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.admin-bar .search { max-width: 20rem; }
/* The list of accounts: which to show (with how many each), then one row each, opened for the details. */
.groups { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  border-radius: 999px; padding: .35rem .8rem; font: inherit; font-size: .88rem; cursor: pointer; }
.chip:hover { border-color: var(--muted); }
.chip b { font: 500 .8rem var(--mono); color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.chip[aria-pressed="true"] b { color: var(--accent-text); }
.chip.warn b { color: var(--bad); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.people { width: 100%; border-collapse: collapse; font-size: .9rem; }
.people thead th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; padding: .7rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.people tbody th, .people td { padding: .6rem .8rem; border-top: 1px solid var(--line); vertical-align: middle; text-align: left; font-weight: 400; }
.people tbody tr:first-child > * { border-top: 0; }
.people .num { text-align: right; font: .85rem var(--mono); white-space: nowrap; }
.people thead th.num { font-family: inherit; font-size: .8rem; font-weight: 500; }
.people .zero { color: var(--muted); }
.people td.c-joined, .people td.c-active { white-space: nowrap; color: var(--muted); font-size: .85rem; }
.people tr.person:hover > * { background: var(--surface-2); }
.people tr.person.open > * { background: var(--surface-2); border-bottom: 0; }
.people tr.blocked .name { color: var(--muted); }
.people tr.more > td { background: var(--bg); padding: 1rem 1rem 1.2rem; border-top: 0; }
.acct { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; min-width: 12rem; }
.who-btn { display: grid; grid-template-columns: 1rem auto; column-gap: .35rem; text-align: left; background: none; border: 0; padding: 0;
  color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.who-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.who-btn .chev { grid-row: 1 / 3; align-self: center; width: .45rem; height: .45rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg); transition: transform .15s; }
.who-btn[aria-expanded="true"] .chev { transform: rotate(45deg); }
.who-btn .name { font-weight: 600; }
.who-btn .mail { grid-column: 2; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.tag { font-size: .72rem; border: 1px solid var(--line); border-radius: 999px; padding: .05rem .5rem; color: var(--muted); white-space: nowrap; }
.tag.bad { color: var(--bad); border-color: var(--bad); background: var(--bad-soft); }
.none { padding: 1.2rem; margin: 0; }
.detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1rem 2.4rem; }
.detail .col { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.detail .each { grid-column: 1 / -1; }
.block, .limit { display: flex; flex-direction: column; gap: .45rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.limit { padding-top: 0; border-top: 0; }
.block p, .limit p { margin: 0; }
.block .row, .limit .row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.block .search, .limit .search { flex: 1 1 12rem; background: var(--surface); }
.limit select.search { width: auto; }
.limit input.search { flex: 0 0 5.5rem; width: 5.5rem; }
.block.is-blocked b { color: var(--bad); }
.btn.danger { color: var(--bad); border-color: var(--bad); background: transparent; }
.btn.danger:hover:not(:disabled) { background: var(--bad-soft); }
.rules summary { cursor: pointer; color: var(--muted); font-size: .92rem; }
.rules p { margin: .7rem 0 0; }
@media (max-width: 44rem) {
  .people .c-joined, .people .c-app { display: none; }
  .people thead th, .people tbody th, .people td { padding: .55rem .5rem; }
  .acct { min-width: 9rem; }
}
@media (max-width: 30rem) {
  .people .c-active { display: none; }   /* it is in the details too */
  .people thead th, .people tbody th, .people td { padding: .5rem .35rem; }
  .people tbody th { padding-left: .6rem; }
  .acct { min-width: 8rem; }
}
.facts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font: .8rem var(--mono); color: var(--muted); }
.used { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 0; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .9rem; }
.used dt { color: var(--muted); }
.used dd { margin: 0; text-align: right; font: .84rem var(--mono); }
.each { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.each .scroll { align-self: stretch; max-height: 18rem; overflow: auto; scrollbar-gutter: stable; padding-right: .5rem; }
.each td:first-child { white-space: nowrap; }
.each table { width: 100%; border-collapse: collapse; font: .76rem var(--mono); }
.each th { position: sticky; top: 0; background: var(--surface); text-align: left; font-weight: 500; color: var(--muted); }
.each th, .each td { padding: .28rem .6rem .28rem 0; vertical-align: top; }
.each th:last-child, .each td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.each tr.failed td { color: var(--bad); }
.quota { display: grid; grid-template-columns: 3rem 1fr auto; gap: .6rem; align-items: center; padding-top: .7rem; border-top: 1px solid var(--line); }
.quota .what { font-weight: 600; }
.quota .when { color: var(--muted); font-size: .88rem; }
.quota .when.free { color: var(--accent-text); }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 2rem; height: 2rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-size: 1.05rem; line-height: 1; }
.stepper button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-ink); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 4.6rem; text-align: center; font: .85rem var(--mono); }
.said-box { padding: .2rem 0 .6rem; }
.said-box p { margin: .3rem 0; }
.said { margin: .2rem 0 .6rem; padding-left: 1.2rem; }
.said li { margin: .15rem 0; }
.fresh { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: baseline; margin: 0; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.fresh b { color: var(--fg); font-size: .93rem; font-weight: 600; }
.fresh .free { color: var(--accent-text); }

/* The owner's page: how videos were judged, and the apps' troubles. */
.trouble { margin-top: 1rem; }
.trouble summary { cursor: pointer; overflow-wrap: anywhere; }   /* a crash's name is one long word */
.trouble pre { white-space: pre-wrap; word-break: break-word; font: .8rem var(--mono); color: var(--muted); margin: .4rem 0 0; }
