@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif&display=swap');
:root{font-family:"Instrument Sans",sans-serif;color:#111111;background:#fbfbf8;--ink:#111111;--muted:#4b5b66;--line:#dfe5e7;--blue:#6ba6da;--soft:#e6f0f7}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:#2c6388}h1,h2,h3,p{margin:0}h1{font-weight:600;font-size:clamp(42px,6vw,70px);line-height:1;letter-spacing:-.07em}h2{font-size:24px;letter-spacing:-.04em}h3{font-size:16px}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.side{background:#111111;color:#fff;padding:33px 22px;display:flex;flex-direction:column;gap:30px}.brand{display:flex;align-items:center;width:max-content}.brand img{display:block;width:130px;height:auto}.side .brand{background:#fbfbf8;padding:8px 10px;border-radius:9px}.side small{color:#c7cdd0}.side button{color:#fbfbf8;background:none;border:1px solid transparent;text-align:left;width:100%}.side button.active{background:#284657;border-color:#6ba6da}.side button:hover{background:#284657}.side .quiet{border-color:#58656d;margin-top:12px}.side .workspace{margin-top:auto}.clients{display:grid;gap:5px;margin-top:10px}.workspace p{margin-top:6px;font-size:13px;color:#e0e6e8}.main,.review{width:100%;max-width:1350px;margin:auto;padding:38px clamp(20px,5vw,68px) 70px}.main{margin-top:0}.review{max-width:1040px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.crumb{font-size:13px;color:var(--muted)}.hero{background:#e1e5ac;border:1px solid #d6da9e;border-radius:24px;margin:24px 0;padding:clamp(24px,5vw,48px);position:relative}.hero p{margin-top:13px;color:#343a2b}.hero .row{margin-top:24px}.eyebrow{font-size:12px;color:#343a2b;font-weight:700;letter-spacing:.11em;text-transform:uppercase;margin-bottom:14px}.btn{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 14px;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none;display:inline-block}.primary{background:var(--blue);border-color:var(--blue);color:var(--ink)}.btn:hover:not(:disabled){filter:brightness(.95)}.notice{font-size:13px;background:#fff4df;border:1px solid #f1dfbc;padding:11px 14px;border-radius:10px;color:#624b28;margin:14px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 32px}.stat,.card,.empty{background:white;border:1px solid var(--line);border-radius:16px;padding:16px}.stat b{display:block;font-size:25px;line-height:1;margin-bottom:8px}.toolbar{margin-bottom:14px}.toolbar select{max-width:100%}.posts{display:grid;gap:12px}.post{display:grid;align-items:center;grid-template-columns:64px minmax(0,1fr) auto auto;gap:14px}.post p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:13px}.thumb{width:64px;height:64px;border-radius:10px;overflow:hidden}.pill{background:#edf1f3;color:#48565f;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap}.pending{background:#fff1d9;color:#795321}.approved{background:#dcf5e9;color:#21644a}.changes,.rejected{background:#fce8ed;color:#8a3151}.empty{padding:28px;color:var(--muted)}.tabs{display:flex;gap:6px;margin:18px 0}.tabs .active{background:var(--soft);border-color:#b5d0e3;color:#244e6b}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tile{border:0;padding:0;position:relative;background:white;overflow:hidden;border-radius:10px;text-align:left}.tile .visual{aspect-ratio:1}.tile .pill{position:absolute;bottom:8px;left:8px}.feed{max-width:550px;margin:auto;display:grid;gap:16px}.feed .visual{aspect-ratio:4/3}.feed .card{padding:0;overflow:hidden}.feed .body{padding:15px;display:grid;gap:10px}.visual{display:grid;place-items:center;width:100%;height:100%;background:#eaf1f5;overflow:hidden}.visual img,.visual video{display:block;width:100%;height:100%;object-fit:cover}.art{display:grid;align-content:center;justify-items:start;width:100%;height:100%;padding:10%;background:var(--art-bg);color:var(--art-ink);font-family:"Instrument Serif",Georgia,serif;font-size:clamp(18px,4vw,52px);line-height:.95}.art small{font:700 .24em "Instrument Sans",sans-serif;letter-spacing:.13em;color:inherit;margin-bottom:12%}.thumb .art{font-size:12px}.thumb .art small{display:none}dialog{width:min(640px,calc(100% - 26px));border:0;border-radius:20px;padding:24px;color:var(--ink);max-height:90vh;overflow:auto;box-shadow:0 24px 90px #11111140}dialog::backdrop{background:#11111180}.dialog-head{margin-bottom:18px}.dialog-media{display:grid;gap:7px;margin:15px 0}.dialog-media .visual{border-radius:12px;max-height:420px}.dialog-media .visual img,.dialog-media .visual video{max-height:420px;object-fit:contain}.dialog-media .art{min-height:205px}.form{display:grid;gap:14px}.form label{display:grid;gap:5px;font-size:13px;font-weight:700}.form div.row label{display:flex;align-items:center}.form input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #d2dbe0;border-radius:9px;padding:9px;background:#fff;color:var(--ink)}.toolbar select{width:auto}.form textarea{min-height:80px;resize:vertical}.form .error{color:#9b2b48}.history{padding:12px;background:#edf3f6;border-radius:9px;margin:14px 0;font-size:13px}.history p+p{margin-top:8px}.caption{white-space:pre-wrap;margin:13px 0;overflow-wrap:anywhere}#toast{position:fixed;bottom:18px;right:18px;background:#111111;color:white;border-radius:10px;padding:12px 18px;z-index:2}#toast:empty{display:none}
@media(max-width:760px){.shell{display:block}.side{padding:15px;gap:14px}.side .workspace{display:none}.clients{display:flex;flex-wrap:wrap}.side button{width:auto}.main,.review{padding:20px 14px 44px}.stats{grid-template-columns:repeat(2,1fr)}.post{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:10px}.post .btn{grid-column:2/-1;justify-self:start}.thumb{width:54px;height:54px}.tile .pill{left:4px;bottom:4px;font-size:9px;padding:3px 5px}}

.side button:focus-visible{outline-color:#e1e5ac}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #437fab}
@media(max-width:760px){.brand img{width:100px}}
.form fieldset{margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:9px;min-width:0}.form legend{font-size:13px;font-weight:700}.upload-selection{font-size:13px;overflow-wrap:anywhere;color:var(--muted)}.upload-selection:empty{display:none}.review-caption{border:1px solid var(--line);border-radius:12px;padding:14px;margin:12px 0}.review-caption .caption{margin:6px 0 0}

/* Client social previews */
.social-review{max-width:1280px;padding:20px 24px 60px}
.review-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--line);border-radius:14px;padding:8px 16px;background:#fff}
.review-toolbar .brand img{width:76px}
.review-toolbar strong,.review-toolbar small{display:block}
.review-toolbar strong{font-size:14px}
.review-toolbar small{font-size:11px}
.review-filters .tabs{margin:0}
.review-filters select{width:auto;font-size:13px}
.social-profile{margin-top:18px}
.profile-info{display:flex;align-items:center;gap:24px;padding:24px}
.profile-info h1{font-size:clamp(24px,4vw,38px);letter-spacing:-.045em;line-height:1.1}
.profile-info p,.profile-info a{margin-top:5px;font-size:14px;line-height:1.35}
.profile-handle{font-weight:700}
.profile-avatar{display:block;width:120px;aspect-ratio:1;object-fit:cover;border-radius:50%;flex:none;background:#edf3f6}
.profile-initials{display:grid;place-items:center;font-size:32px;font-weight:700;color:#244e6b}
.social-review .profile-tabs{display:flex;justify-content:center;gap:24px;border-top:1px solid var(--line);padding:0 12px}
.profile-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 8px;color:#50565e;font-weight:700;font-size:14px}
.profile-tabs button[aria-pressed="true"]{border-color:#151515;color:#151515}
.instagram-preview .profile-info{max-width:660px;margin:0 auto;padding:25px 24px 32px}
.instagram-preview .profile-avatar{border:3px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(35deg,#fab02c,#e40096,#b92deb) border-box}
.instagram-preview>.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.instagram-preview .tile{border-radius:2px}
.instagram-preview .tile .visual{aspect-ratio:4/5}
.social-review .tile:hover .visual{filter:brightness(.93)}
.format-flag{position:absolute;right:7px;top:7px;background:#111d;color:white;font-size:11px;line-height:1.2;border-radius:5px;padding:3px 5px;max-width:calc(100% - 14px)}
body:has(.instagram-preview){background:#fff}
body:has(.facebook-preview){background:#edf0f4}
.facebook-preview .social-profile{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}
.page-cover{display:block;width:100%;aspect-ratio:5.6;object-fit:cover;object-position:center}
.generic-cover{background:linear-gradient(110deg,#6ba6da,#e1e5ac)}
.facebook-preview .profile-info{position:relative;align-items:flex-start}
.facebook-preview .profile-info>.profile-avatar{width:110px;margin-top:-48px;border:4px solid #fff}
.facebook-preview .profile-tabs{justify-content:flex-start}
.facebook-preview .profile-tabs button[aria-pressed="true"]{border-color:#0866ff;color:#0759c7}
.fb-columns{display:grid;grid-template-columns:minmax(230px,2fr) minmax(0,3fr);align-items:start;gap:14px;margin-top:14px}
.fb-photos{padding:12px}
.fb-photos .grid{gap:3px;margin-top:10px}
.fb-photos .tile{border-radius:3px}
.fb-photos .tile .visual{aspect-ratio:1}
.fb-photos .tile .art{font-size:clamp(12px,2vw,22px)}
.fb-columns .feed{width:100%;max-width:none;margin:0}
.fb-post-header{display:flex;align-items:center;gap:10px;padding:12px 14px 0}
.fb-post-header .profile-avatar{width:38px;font-size:13px}
.fb-post .caption{margin:10px 14px}
.fb-post-creative{display:block;width:100%;padding:0;border:0;margin-top:10px;background:#e9edf1}
.feed .fb-post-creative .visual{height:auto;aspect-ratio:auto;max-height:600px;background:#e9edf1}
.fb-post-creative .visual :is(img,video){object-fit:contain;width:100%;max-height:600px}
.fb-post-creative .art{min-height:230px}
.fb-post-actions{padding:10px 14px}
.facebook-preview>.grid{margin-top:14px}
.social-review>.empty{margin-top:10px}
@media(max-width:680px){
  .social-review{padding:10px 10px 38px}
  .review-toolbar{padding:8px 10px}
  .review-toolbar .brand img{width:60px}
  .profile-info,.instagram-preview .profile-info{padding:18px 12px;gap:12px}
  .profile-avatar{width:70px}
  .page-cover{aspect-ratio:3.8}
  .facebook-preview .profile-info>.profile-avatar{width:68px;margin-top:-23px}
  .instagram-preview>.grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fb-columns{grid-template-columns:minmax(0,1fr)}
  .fb-photos .grid .tile:nth-child(n+4){display:none}
  .social-review .profile-tabs{gap:10px}
}
.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere}.profile-fields{display:grid;gap:10px}.hero:has(a[href*="signin"]) .btn{margin-top:10px}
.hero .draft-note{font-size:13px;margin-top:12px}
.btn.danger{color:#92243b;border-color:#e3adb8}.btn.danger:hover:not(:disabled){background:#fff0f3}
.pill.uploaded{background:#dcecf8;color:#19496e}.reel-thumbnail img{display:block;width:72px;height:90px;object-fit:cover;border-radius:8px;margin-top:8px}
@media(min-width:761px){.stats{grid-template-columns:repeat(5,minmax(0,1fr))}}
