:root{font-family:Inter,Arial,sans-serif;color:#202020;background:#f8f7f4}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #b9b8b3;border-radius:5px;background:#fff;color:#222;padding:.68rem 1rem}button:focus-visible,input:focus-visible{outline:2px solid #2f5971;outline-offset:2px}button:hover{border-color:#222}.primary{background:#202020;border-color:#202020;color:#fff}.primary:hover{background:#3a3a3a}.quiet{border:0;background:transparent;text-decoration:underline}.shell{max-width:1120px;margin:0 auto;padding:2rem 1.25rem 5rem}.topbar,.section-heading,.form-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem}.topbar{padding-bottom:2rem;border-bottom:1px solid #d8d6d0}.eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:.68rem;font-weight:700;color:#64625d}h1{font-size:clamp(2rem,4vw,3.25rem);font-weight:500;letter-spacing:-.04em;margin:.3rem 0}h2{font-weight:600;font-size:1.3rem;margin:0}.subtitle,.muted,.hint{color:#6e6d68}.hint{font-size:.83rem;margin:.5rem 0}.storage,.panel,.story{background:#fff;border:1px solid #e3e1db;border-radius:8px}.storage{padding:1.3rem;margin:1.7rem 0}.storage>div:first-child{display:flex;justify-content:space-between;gap:1rem}.meter{height:7px;background:#e9e8e4;border-radius:10px;margin-top:1rem;overflow:hidden}.meter div{height:100%;width:0;background:#797366}.warning{color:#9a4e22;font-size:.85rem}.panel{padding:1.5rem;margin-bottom:2rem}label{display:block;font-size:.88rem;font-weight:600}input[type=file],input[type=text],input:not([type]){display:block;width:100%;padding:.7rem;border:1px solid #c9c7c1;border-radius:5px;margin-top:.4rem;background:white}.form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);gap:1.2rem;margin:1.25rem 0}.checkbox{display:flex;align-items:center;gap:.6rem;font-weight:400}.checkbox input{width:18px;height:18px}.form-actions{justify-content:flex-start}.list-section{margin-top:2rem}#stories-list{list-style:none;padding:0;display:grid;gap:.75rem}.story{display:grid;grid-template-columns:auto 108px minmax(0,1fr);gap:1rem;padding:1rem;align-items:start}.story.dragging{opacity:.48}.drag-handle{font-size:1.5rem;cursor:grab;color:#888;user-select:none;padding:.3rem}.story-video{width:108px;height:150px;object-fit:cover;background:#222;border-radius:4px}.story h3{font-size:1rem;margin:.15rem 0;overflow-wrap:anywhere}.meta{font-size:.78rem;color:#666;margin:.3rem 0}.story-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem;margin-top:.7rem}.story-controls label{font-size:.76rem}.story-controls input[type=text]{width:160px;margin-top:.25rem}.story-controls .checkbox{font-size:.8rem}.story-controls button{font-size:.8rem;padding:.47rem .62rem}.pending{color:#9a4e22}.empty{padding:2rem;border:1px dashed #aaa;text-align:center;color:#666}progress{width:100%;height:1rem}#page-status:empty{display:none}#page-status{color:#365a52}@media(max-width:680px){.topbar{align-items:flex-start;flex-direction:column}.form-row{grid-template-columns:1fr}.story{grid-template-columns:auto minmax(0,1fr)}.story-video{width:80px;height:110px}.story-body{grid-column:2}.storage>div:first-child{flex-direction:column;gap:.2rem}}

.cover-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:.9rem}.story-cover{width:58px;height:88px;display:grid;place-items:center;background:#272522;color:#fff;font-size:.7rem;text-align:center;border-radius:4px;overflow:hidden}.story-cover img{width:100%;height:100%;object-fit:cover}.cover-file{max-width:260px}#cover-dialog{border:1px solid #d8d6d0;border-radius:8px;padding:1.2rem;width:min(92vw,620px);max-height:90vh;overflow:auto}#cover-dialog::backdrop{background:rgba(0,0,0,.65)}#cover-video{display:block;width:100%;max-height:62vh;background:#272522;margin:1rem 0}#cover-status{min-height:1.2em}
