:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#182638;background:#f2f5f8}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;background:#102d42;color:white;padding:15px max(24px,calc((100vw - 1200px)/2));gap:12px}header strong{font-size:20px}header strong span{color:#6ed6e6}header small{display:block;color:#b7cbda;margin-top:3px}button,.secondary{border:0;border-radius:9px;padding:12px 16px;background:#1278af;color:white;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;font-size:14px}button:hover,.secondary:hover{filter:brightness(.92)}button.ghost{background:#23475d}button.danger{background:#a93434}.small{font-size:12px;padding:7px 10px}.wrap{max-width:1200px;margin:30px auto;padding:0 22px}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}h1{font-size:30px;margin:0 0 8px}h2{font-size:19px;margin:0 0 12px}p{line-height:1.45;margin:8px 0}.hero p,.muted{color:#64778a;font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.stats div,section{background:white;border:1px solid #dae3eb;box-shadow:0 2px 12px #28465a0a;border-radius:14px;padding:21px}.stats b{font-size:23px;display:block}.stats small{color:#667c90}section{margin:17px 0}form.inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}input,select{font:inherit;border:1px solid #c3d1da;border-radius:7px;padding:10px;width:100%;max-width:100%;background:#fff;color:#182638}input[type=file]{width:auto;max-width:100%;flex:1}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;color:#34506a}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.fields.compact{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.library{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}.media{border:1px solid #d9e2eb;border-radius:12px;overflow:hidden}.preview{position:relative;background:#071622;height:175px}.preview img,.preview video{width:100%;height:100%;object-fit:contain}.videotag{position:absolute;top:10px;left:10px;border-radius:5px;background:#152b3bdd;color:white;padding:6px;font-size:11px}.mediafields{padding:14px;display:flex;flex-direction:column;gap:12px}.check{flex-direction:row;align-items:center}.check input{width:16px}.actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.publish{display:flex;justify-content:space-between;align-items:center;gap:20px;border-color:#8dbdce;background:#eefafd}.publish p{font-size:13px;color:#536e83}.notice,.error{padding:13px 18px;border-radius:10px}.notice{background:#e0f5e9;color:#145b38}.error{background:#fde6e3;color:#a52f2b}.auth{max-width:470px;margin:10vh auto;background:white;padding:30px;border-radius:16px;box-shadow:0 8px 30px #3044551c}.auth form{display:flex;flex-direction:column;gap:20px}.foot{text-align:center;margin:25px}.secondary{white-space:nowrap}@media(max-width:650px){.stats{grid-template-columns:1fr}.hero,.publish{align-items:flex-start;flex-direction:column}h1{font-size:24px}}
