/* What the web adds to the Kit Studio's stylesheet (studio.css). */
.signin{max-width:520px;margin:12vh auto 0;text-align:center}
.signin .logo{display:inline-block;width:44px;height:44px}
.signin h1{font-size:28px;margin:8px 0}
.signin p{color:var(--ink2)}
.signin .hot{margin-top:18px}
.who{color:var(--mute);font-size:13px}
.money{font:700 28px system-ui,sans-serif;color:var(--ink)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:12px 0}
.stats .card{padding:14px}
.stats small{display:block;color:var(--mute);margin-top:4px}
.ledger{width:100%;border-collapse:collapse;font-size:14px}
.ledger td,.ledger th{padding:8px 6px;border-bottom:1px solid var(--line);text-align:left}
.ledger td.c{text-align:right;font-family:var(--mono)}
.buy{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.buy a{text-decoration:none}
.field{display:grid;gap:6px;margin:10px 0}
.field label{font-weight:600}
.field input,.field textarea{font:15px system-ui,sans-serif;color:var(--ink);background:var(--bg2);border:1px solid var(--line2);border-radius:10px;padding:10px 12px;width:100%;box-sizing:border-box}
.field textarea{min-height:84px;resize:vertical}
.field input:focus,.field textarea:focus{border-color:var(--hot);outline:none}
.choice[disabled]{opacity:.45;cursor:not-allowed}
.soon{color:var(--gold);font-size:12px;font-weight:600}
@media (max-width:640px){header{flex-wrap:wrap;gap:8px}.signin{margin-top:6vh}}
/* slice 2 — making a video: the quote, the video page, the videos list */
.pbar{height:10px;border-radius:999px;background:var(--bg2);border:1px solid var(--line);overflow:hidden;margin:6px 0}
.pbar i{display:block;height:100%;background:linear-gradient(90deg,var(--hot),var(--hot2));transition:width .6s ease}
.pline{margin:0;color:var(--ink2);font-size:14px}
.warn{color:var(--gold);margin:0}
.quote td:first-child{color:var(--ink2)}
.jlist{display:grid;gap:8px;margin-top:8px}
.jrow{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;text-align:left;border-radius:12px;padding:10px 12px;background:var(--bg2);width:100%}
.jrow small{display:block;color:var(--mute);font-weight:400;font-size:12.5px}
.jrow .pbar{grid-column:1/-1;height:6px;margin:2px 0 0}
.jst{font:600 12.5px var(--mono);color:var(--ink2)}
.jst.done{color:var(--ok)}.jst.waiting,.jst.needs_topup{color:var(--gold)}.jst.failed{color:var(--hot)}
.needs{border-color:rgba(255,194,75,.5)}
.ask .choices{margin-top:8px}
.choice.rec{border-color:var(--gold)}.choice .rtag{color:var(--gold);font-weight:600}
.ledger td.c{white-space:nowrap}
@media (max-width:640px){.jrow{grid-template-columns:1fr}.wq{font-size:21px}
  header>b,.who{display:none}                      /* the channel picker already names the channel */
  .nav{flex-wrap:nowrap;gap:2px}.nav button{padding:8px 10px;font-size:14px;white-space:nowrap}}
/* slice 3 — read the script, then the finished video */
.script{max-height:min(60vh,520px);overflow:auto;background:var(--bg2);border:1px solid var(--line);border-radius:12px;padding:4px 16px;margin:10px 0;line-height:1.6;font-size:15.5px}
.script p{margin:12px 0;white-space:pre-wrap}
.notebox textarea{min-height:110px}
.player{display:block;width:100%;max-height:70vh;background:#000;border-radius:12px;margin:8px 0}
a.btn{display:inline-flex;align-items:center;text-decoration:none;font:600 14px system-ui,sans-serif;border-radius:999px;padding:9px 16px;border:1px solid var(--line2);color:var(--ink);min-height:38px;box-sizing:border-box}
a.btn.hot{background:linear-gradient(135deg,var(--hot),var(--hot2));border-color:transparent;color:#fff}
.rlines td{color:var(--ink2);font-size:13.5px}
.first{display:flex;gap:12px;align-items:center;margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--bg2)}
.first img{width:160px;max-width:40%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;flex:none}
.first small{display:block;margin-bottom:4px}.first b{font-size:16px}
