:root{--green:#123f35;--accent:#dcbd70;--ink:#223a34;--muted:#667970;--bg:#f3f5f0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}aside{position:fixed;inset:0 auto 0 0;width:236px;background:var(--green);color:white;padding:40px 26px;display:flex;flex-direction:column}.brand{color:white;text-decoration:none;font-size:21px;font-weight:800;letter-spacing:1px}.brand span{display:block;color:#a8c0b4;font-size:11px;letter-spacing:3px;margin:4px 0 55px}nav a{display:block;color:#d9e8df;padding:14px 10px;border-bottom:1px solid #ffffff15;text-decoration:none}nav a:hover{background:#ffffff12}.sidebar-note{margin-top:auto;color:#cee1d4;font-size:22px}.sidebar-note small{display:block;font-size:11px;margin-top:20px}main{margin-left:236px;padding:0 42px;max-width:1600px}header{height:100px;display:flex;align-items:center;justify-content:space-between}header p{margin:0;font-weight:650}small{letter-spacing:1.5px;font-size:10px}h1{font-size:40px;line-height:1.2;letter-spacing:-1.2px;margin:12px 0 22px}h2{font-size:21px;line-height:1.35;margin:10px 0 16px}.intro{background:var(--green);border-radius:22px;padding:34px 40px;color:white;position:relative;overflow:hidden}.intro small{color:#c3d6c7}.intro p{color:#d0e0d5}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 30px}.stats>div{background:white;border:1px solid #e4e9e0;padding:20px;border-radius:14px}.stats strong{display:block;font-size:23px;margin-top:10px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 12px}.section-title span{color:var(--muted);font-size:13px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{padding:24px;background:white;border:1px solid #e2e8df;border-radius:16px;margin-bottom:20px}a{color:var(--green)}button,.button{font:inherit;background:var(--green);border:0;border-radius:8px;color:white;padding:11px 19px;text-decoration:none;display:inline-block;font-weight:650;cursor:pointer}button:hover,.button:hover{filter:brightness(1.12)}.gold{background:var(--accent);color:#263b30}.quiet{background:#edf1eb;color:#344c40}.badge{background:#e5efe7;color:#245940;display:inline-block;padding:5px 12px;font-size:12px;border-radius:30px}label{display:block;font-weight:600;margin:14px 0}input,select,textarea{display:block;width:100%;font:inherit;background:#f9faf7;border:1px solid #cdd7cd;border-radius:7px;padding:11px;margin-top:6px;color:#263e33}input:focus,textarea:focus,button:focus,select:focus{outline:3px solid #dfbd6c;outline-offset:2px}input[type=file]{background:white}input[readonly],textarea[readonly]{font-size:12px;font-family:monospace}summary{cursor:pointer;font-weight:650}.muted{color:var(--muted);font-size:13px}.media-row{display:flex;gap:16px;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid #e3e8dd;padding:16px 20px}.media-row p{margin:4px 0;color:var(--muted);font-size:13px}.playlist-item{border-bottom:1px solid #e4eadd;padding:14px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.schedule{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}.schedule button{margin-bottom:14px}.notice{background:#e4efe0;padding:18px;border-radius:10px}.error{color:#a03228}.notice.error{background:#fbe6df}.login{max-width:550px;margin-top:25px}footer{padding:30px 0;color:#758176;font-size:12px}.watch{background:#0c1613;color:white}.screen{position:relative;background:black}.screen video{display:block;width:100%;aspect-ratio:16/9;max-height:86vh}.watermark{position:absolute;top:18px;right:18px;background:#133d35cc;padding:6px 12px;pointer-events:none;border-radius:5px}.watch-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 20px}.watch-bar span{font-size:13px;color:#c8d8cf}@media(max-width:900px){aside{position:static;width:auto;padding:18px 20px}.brand span{margin:0}.sidebar-note{display:none}nav{display:flex;flex-wrap:wrap;margin-top:15px}nav a{padding:8px 12px}main{margin:0;padding:0 18px}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.intro{padding:25px}h1{font-size:32px}.schedule{display:block}.section-title{align-items:flex-start}.media-row{flex-wrap:wrap}}
[hidden]{display:none!important}.upload-item{padding:16px 0;border-top:1px solid #e2e8df;overflow-wrap:anywhere}.upload-item progress{display:block;width:100%;height:18px;margin-top:10px;accent-color:var(--green)}.upload-item p{font-size:13px;margin:6px 0}.rename-video{min-width:160px;max-width:380px}.media-row>div{min-width:0;overflow-wrap:anywhere}button:disabled{opacity:.6;cursor:wait}

.video-preview{flex:1 1 280px;min-width:0;max-width:600px}.video-preview video{display:block;width:100%;max-height:340px;aspect-ratio:16/9;background:#111;margin-top:12px;border-radius:8px}.media-row{flex-wrap:wrap}.video-preview summary{color:var(--green)}
.drag-handle{display:inline-block;padding:8px 14px;margin-right:8px;border-radius:6px;background:#e5efe7;cursor:grab;user-select:none;font-size:22px}.drag-handle:active{cursor:grabbing}.playlist-item.dragging{opacity:.5;background:#e5efe7}

.admin-logo{display:block;width:100%;max-width:200px;height:auto;background:white;border-radius:6px}.brand span{font-size:10px;letter-spacing:2px;margin-top:10px}

textarea{width:100%;padding:14px;border:1px solid #ccd8d0;border-radius:8px;font:inherit;box-sizing:border-box} .card label{display:block;margin:16px 0}

.video-choices{max-height:420px;overflow:auto;margin:18px 0}.video-choice{display:flex!important;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #dde4df}.video-choice input{width:20px!important;flex:0 0 20px}.video-choice:has(input:disabled){opacity:.6}
