:root{--mint:#B6D9D5;--mint-d:#7fb5ae;--gold:#D4AF37;--ink:#1f2a2a;--muted:#5d6b6b;--bg:#f6f8f7;--card:#fff;--line:#e3e9e8;--err:#b3261e;--ok:#1e6b4f;--r:14px}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.5}
a{color:#2f6f68}
header.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
header.top .in{max-width:1180px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.logo{font-weight:800;letter-spacing:.5px;font-size:18px;text-decoration:none;color:var(--ink)}
.logo span{color:var(--gold)}
nav{display:flex;gap:4px;flex-wrap:wrap;flex:1}
nav a{padding:7px 11px;border-radius:9px;text-decoration:none;color:var(--ink);font-weight:500}
nav a.on,nav a:hover{background:var(--mint)}
.badge{display:inline-block;min-width:20px;padding:0 6px;border-radius:10px;background:var(--gold);color:#fff;font-size:12px;font-weight:700;text-align:center;margin-left:4px}
main{max-width:1180px;margin:0 auto;padding:22px 16px 60px}
h1{font-size:26px;margin:4px 0 16px}
h2{font-size:19px;margin:22px 0 10px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:16px}
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.btn{display:inline-block;border:0;border-radius:10px;padding:9px 16px;font-weight:600;cursor:pointer;background:var(--ink);color:#fff;text-decoration:none;font-size:14px}
.btn.mint{background:var(--mint);color:var(--ink)}
.btn.gold{background:var(--gold)}
.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}
.btn.danger{background:var(--err)}
.btn.small{padding:5px 10px;font-size:13px}
form.inline{display:inline}
label{display:block;font-weight:600;margin:12px 0 4px}
.hint{color:var(--muted);font-size:13px;font-weight:400}
input[type=text],input[type=email],input[type=password],input[type=number],select,textarea{width:100%;padding:9px 11px;border:1px solid #cfd8d7;border-radius:10px;font:inherit;background:#fff}
textarea{min-height:80px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips label{font-weight:500;margin:0;border:1px solid var(--line);border-radius:20px;padding:5px 12px;cursor:pointer;background:#fff}
.chips input{margin-right:5px}
.flash{padding:10px 14px;border-radius:10px;margin-bottom:12px}
.flash.ok{background:#e6f4ef;color:var(--ok)}
.flash.err{background:#fbe9e7;color:var(--err)}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:13px;color:var(--muted);font-weight:600}
.st{display:inline-block;padding:2px 9px;border-radius:12px;font-size:12px;font-weight:600;background:#eef2f1}
.st.admin_review,.st.changes,.st.client_review{background:#fff3cd}
.st.error,.st.rejected{background:#fbe9e7;color:var(--err)}
.st.scheduled,.st.posted,.st.approved,.st.active{background:#e6f4ef;color:var(--ok)}
.check{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.check:last-child{border:0}
.dot{width:20px;height:20px;border-radius:50%;border:2px solid #cfd8d7;flex:none}
.dot.done{background:var(--ok);border-color:var(--ok)}
.progress{height:8px;background:#e8eeed;border-radius:6px;overflow:hidden}
.progress>div{height:100%;background:var(--gold)}
video{width:100%;max-width:340px;border-radius:12px;background:#000;display:block}
.preview{width:270px;height:480px;border-radius:16px;background:linear-gradient(160deg,#4a5c5a,#1d2524);position:relative;overflow:hidden;flex:none}
.preview .hl{position:absolute;top:60px;left:0;right:0;text-align:center;font-size:30px;padding:0 14px}
.preview .cap{position:absolute;bottom:120px;left:0;right:0;text-align:center}
.preview .w{font-size:26px;font-style:italic}
.preview .h{font-size:44px;display:block}
.row{display:flex;gap:20px;flex-wrap:wrap}
.colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.colors input[type=color]{width:100%;height:40px;border:1px solid var(--line);border-radius:8px;background:#fff}
.files li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px dashed var(--line)}
.files{list-style:none;padding:0;margin:8px 0}
.drop{border:2px dashed #cfd8d7;border-radius:12px;padding:16px;text-align:center;color:var(--muted)}
.chat{display:flex;flex-direction:column;gap:8px;max-height:60vh;overflow-y:auto;padding:6px}
.msg{max-width:75%;padding:9px 13px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word}
.msg.me{align-self:flex-end;background:var(--mint)}
.msg.them{align-self:flex-start;background:#fff;border:1px solid var(--line)}
.msg small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:14px}
.tabs a{padding:7px 12px;border-radius:9px;text-decoration:none;color:var(--ink);border:1px solid var(--line);background:#fff}
.tabs a.on{background:var(--ink);color:#fff}
.muted{color:var(--muted)}
.auth{max-width:440px;margin:40px auto}
dl{display:grid;grid-template-columns:minmax(140px,240px) 1fr;gap:6px 14px;margin:0}
dt{color:var(--muted);font-size:13px}
dd{margin:0;white-space:pre-wrap}
pre.log{white-space:pre-wrap;background:#f1f4f3;padding:10px;border-radius:10px;font-size:12px}
@media (max-width:640px){dl{grid-template-columns:1fr}.msg{max-width:90%}h1{font-size:22px}}
