body.manage{padding-bottom:60px}
.mhead{display:flex;align-items:center;gap:16px;padding:16px 4%;background:#000;position:sticky;top:0;z-index:5}
.mhead h1{font-size:1.3rem}
.pill{margin-left:auto;padding:5px 12px;border-radius:999px;font-size:.85rem;background:#222;color:#aaa}
.pill.ok{background:#12351c;color:#46d369}.pill.ko{background:#3a1717;color:#ff7b7b}
.mmain{padding:20px 4%;max-width:1200px;margin:0 auto}
.denied{background:#2a1a1a;border-radius:8px;padding:18px;color:#ffb3b3}.denied a{color:#fff}
.panel{background:var(--card);border-radius:10px;padding:18px;margin-bottom:20px}
.panel h2{font-size:1.1rem;margin-bottom:12px}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.panel-head h2{margin-bottom:0}
.hint{color:#888;font-size:.88rem;margin:6px 0 10px}
.btn.sm{padding:6px 12px;font-size:.85rem;min-height:0}
.btn.danger{background:#5a1c1c;color:#ffd6d6}.btn.danger:hover{background:#7a2323}
.drop{display:block;border:2px dashed #3a3a44;border-radius:10px;padding:26px;text-align:center;color:#bbb;cursor:pointer;line-height:1.8}
.drop.over{border-color:var(--red);background:#1f1416}
code{background:#222;padding:2px 6px;border-radius:3px}
#queue{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.qrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#101014;border-radius:8px;padding:8px 10px}
.qrow input{flex:1 1 260px;min-width:0;padding:8px;border-radius:4px;border:1px solid #333;background:#0b0b0d;color:#eee}
.qrow input.bad{border-color:#c0392b}
.qrow .state{font-size:.85rem;color:#999;min-width:130px}
.bar{height:6px;border-radius:3px;background:#2a2a30;overflow:hidden;flex:1 1 100%}
.bar>i{display:block;height:100%;width:0;background:var(--red);transition:width .3s}
.jobs{display:flex;flex-direction:column;gap:8px}
.job{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;background:#101014;border-radius:8px;padding:8px 10px;font-size:.9rem}
.job .bar{grid-column:1/-1}
.job .st{color:#999}.job.error .st{color:#ff7b7b}.job.done .st{color:#46d369}
.erow{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:14px 0;border-top:1px solid #26262c}
.erow:first-child{border-top:0}
.eposter{aspect-ratio:16/9;background:#222 center/cover;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff3;font-weight:800;font-size:1.6rem}
.etitle{font-weight:700;text-transform:capitalize}
.efile{color:#777;font-size:.8rem;word-break:break-all}
.badges{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
.badge{font-size:.75rem;padding:2px 8px;border-radius:999px;background:#25252c;color:#bbb}
.badge.good{background:#12351c;color:#46d369}.badge.warn{background:#3b3010;color:#f0c14b}
.eactions{display:flex;gap:6px;flex-wrap:wrap}
dialog label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:#bbb}
dialog textarea{padding:10px;border-radius:4px;border:1px solid #333;background:#0b0b0d;color:#eee;font:inherit;resize:vertical}
dialog input[type=file]{color:#bbb}
dialog{width:min(460px,92vw)}
.subrow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #26262c}
@media (max-width:600px){.erow{grid-template-columns:1fr}.eposter{max-width:220px}}
.qname{flex:1 1 220px;min-width:0;word-break:break-all;font-size:.9rem}
.qrow select{max-width:240px;padding:8px;border-radius:4px;background:#0b0b0d;color:#eee;border:1px solid #333}
