/* UltraMock v2 — same dark zinc + blue look as v1 */
:root {
  --bg: #09090b; --bg-top: #0b0c15; --panel: #18181b; --panel-2: #1f1f23; --line: #27272a; --line-2: #3f3f46;
  --text: #fafafa; --text-2: #d4d4d8; --muted: #a1a1aa; --muted-2: #71717a;
  --blue: #155dfc; --blue-h: #1447e6; --blue-soft: rgba(21, 93, 252, .16);
  --green: #22c55e; --amber: #f59e0b; --red: #ef4444;
  --radius: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --app-h: calc(100vh - 86px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); } .small { font-size: 13px; }

/* top bar (as v1) */
.topbar { background: var(--bg-top); border-bottom: 1px solid var(--line); text-align: center; padding: 14px 20px 12px; }
.topbar-title { margin: 0; font-size: 20px; font-weight: 500; color: #ccc; }
.topbar-sub { margin: 4px auto 0; max-width: 820px; font-size: 12.5px; color: var(--text-2); }

/* app layout */
.app { display: grid; grid-template-columns: 300px minmax(0, 1fr) 380px; height: var(--app-h); min-height: 640px; border-bottom: 1px solid var(--line); }
.sidebar, .panel { background: var(--panel); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sidebar { border-right: 1px solid var(--line); padding: 22px 16px 40px; }
.panel { border-left: 1px solid var(--line); }
.work { background: var(--bg); display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.app > * { min-height: 0; }

.logo { display: inline-flex; flex-direction: column; line-height: .78; font-weight: 900; font-size: 58px; letter-spacing: -.055em; text-decoration: none; padding: 0 0 6px 2px; }
.logo span:first-child { color: #fff; } .logo span:last-child { color: var(--blue); padding-left: .62em; }
.logo-sm { font-size: 34px; }
.sidebar-desc { font-size: 13px; color: var(--text-2); margin: 10px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.nav-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 18px 4px 8px; font-weight: 600; }
.nav-list, .nav-placements { list-style: none; margin: 0; padding: 0; }
.nav-overview, .nav-platform-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 14.5px; }
.nav-overview { background: var(--panel-2); border: 1px solid var(--line); }
.nav-overview:hover, .nav-platform-link:hover { background: #27272a; color: #fff; }
.nav-overview.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav-platform.is-open > .nav-platform-link { background: #3f3f46; color: #fff; }
.nav-count { font-size: 11px; color: var(--muted); background: rgba(255,255,255,.06); border-radius: 99px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
.nav-placements { display: none; margin: 4px 0 8px 10px; padding-left: 8px; border-left: 1px solid var(--line-2); }
.nav-platform.is-open .nav-placements { display: block; }
.nav-placement { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; text-decoration: none; font-size: 13.5px; color: var(--text-2); }
.nav-placement:hover { background: #27272a; }
.nav-placement.is-active { background: var(--blue); color: #fff; }
.nav-placement.is-active .nav-size { color: rgba(255,255,255,.8); }
.nav-size { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 99px; border: 1.5px solid var(--line-2); }
.dot.ok { background: var(--green); border-color: var(--green); }
.dot.warn { background: var(--amber); border-color: var(--amber); }
.dot.err { background: var(--red); border-color: var(--red); }
.dot.flag { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.25); }

/* toolbar + workflow */
.toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--bg); flex-wrap: wrap; min-height: 58px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius); border: 0; background: #27272a; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #3f3f46; }
.btn-primary { background: var(--blue); } .btn-primary:hover { background: var(--blue-h); }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); }
.btn-sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn-green { background: #15803d; } .btn-green:hover { background: #166534; }
.btn-red { background: #b91c1c; } .btn-red:hover { background: #991b1b; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.workflow { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.wf-step { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); cursor: pointer; }
.wf-step b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; background: var(--line-2); color: #fff; font-size: 11px; }
.wf-step.done { color: var(--text-2); } .wf-step.done b { background: var(--green); }
.wf-step.current { color: #fff; border-color: var(--blue); background: var(--blue-soft); } .wf-step.current b { background: var(--blue); }
.wf-sep { width: 10px; height: 1px; background: var(--line-2); }
.wf-project { font-size: 13px; color: var(--muted); margin-right: 6px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-role { font-size: 12px; padding: 4px 9px; border-radius: 99px; background: #422006; color: #fcd34d; }

/* stage */
.stage { flex: 1; overflow: auto; padding: 22px 22px 60px; position: relative; }
.stage-empty { max-width: 460px; margin: 12vh auto 0; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: 16px; padding: 40px 28px; }
.stage-empty-title { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.info-card { max-width: 640px; margin: 0 auto 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--text-2); }
.info-card h2 { margin: 0 0 6px; font-size: 16px; color: #fff; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.info-card h2 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.info-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; font-size: 12.5px; }
.info-row .label { color: var(--muted-2); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 12px; background: #27272a; color: var(--text-2); }
.tag-traffic, .tag-sales { background: #052e16; color: #4ade80; }
.tag-performance, .tag-retargeting { background: #2e1065; color: #c4b5fd; }
.tag-awareness, .tag-reach { background: #082f49; color: #7dd3fc; }
.tag-engagement, .tag-video { background: #431407; color: #fdba74; }
.tag-b2b, .tag-leads { background: #172554; color: #93c5fd; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 13px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 99px; margin-top: 6px; background: var(--green); }
.checks li.warn::before { background: var(--amber); } .checks li.err::before { background: var(--red); }
.toggles { display: flex; gap: 10px; justify-content: center; margin: 0 0 18px; flex-wrap: wrap; }
.toggle { padding: 7px 14px; border-radius: 8px; background: var(--blue); color: #fff; border: 0; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.toggle[aria-pressed="false"] { background: #27272a; color: var(--muted); }
.variant-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.preview-wrap { display: flex; justify-content: center; }

/* grid of all placements */
.grid-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1200px; margin: 0 auto 14px; flex-wrap: wrap; }
.grid-head h2 { margin: 0; font-size: 18px; }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; align-items: start; }
.mock-cell { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; text-align: left; }
.mock-cell:hover { border-color: var(--line-2); }
.mock-cell.flagged { border-color: var(--red); }
.mock-cell.approved { border-color: #166534; }
.mock-cell-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.mock-cell-head strong { font-weight: 600; }
.mock-thumb { height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.mock-thumb > .scaler { transform-origin: center center; flex: none; }

/* panel */
.tabs { display: flex; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 3; }
.tab { flex: 1; padding: 13px 10px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; cursor: pointer; font-size: 14px; }
.tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--blue); }
.tab .count { font-size: 11px; background: #27272a; border-radius: 99px; padding: 1px 7px; margin-left: 4px; color: var(--muted); }
.panel-body { padding: 16px; }
.panel-note { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.assets { display: grid; gap: 10px; }
.asset { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.asset-thumb { width: 64px; height: 64px; border-radius: 6px; background: #000 center/contain no-repeat; position: relative; overflow: hidden; }
.asset-thumb video { width: 100%; height: 100%; object-fit: contain; }
.asset-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-meta { font-size: 12px; color: var(--muted); }
.asset-meta .ok { color: #4ade80; } .asset-meta .warn { color: #fbbf24; } .asset-meta .err { color: #f87171; }
.asset-actions { display: flex; flex-direction: column; gap: 4px; }
.icon-btn { background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 6px; padding: 3px 7px; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
.icon-btn:hover { color: #fff; border-color: var(--muted-2); }
.icon-btn.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.dropzone { border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer; display: block; }
.dropzone:hover { border-color: var(--blue); color: #fff; }
.field { margin-bottom: 16px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.field label { font-size: 13px; font-weight: 600; }
.field .hint { font-size: 11.5px; color: var(--muted-2); margin: 0 0 6px; }
.field input, .field textarea, .field select { width: 100%; background: #09090b; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; outline: none; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field input[readonly], .field textarea[readonly] { opacity: .8; }
.counter { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.limits { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.limit { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: #052e16; color: #4ade80; cursor: default; }
.limit.warn { background: #422006; color: #fbbf24; }
.limit.err { background: #450a0a; color: #f87171; }
.limit.dim { background: #27272a; color: var(--muted-2); }
.section-title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 22px 0 10px; font-weight: 600; }
.channel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: 13px; }
.channel-list label { display: flex; gap: 7px; align-items: center; cursor: pointer; padding: 3px 0; }
input[type=checkbox] { accent-color: var(--blue); width: 15px; height: 15px; }

/* checklist view */
.check-view { max-width: 1100px; margin: 0 auto; }
.check-view h2 { font-size: 22px; margin: 0 0 6px; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); }
.need { display: grid; gap: 10px; }
.need-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.need-row.ok { border-color: #14532d; } .need-row.missing { border-color: #7f1d1d; }
.ratio-box { width: 100%; display: flex; align-items: center; justify-content: center; height: 70px; }
.ratio-box i { display: block; background: var(--blue-soft); border: 1.5px solid var(--blue); border-radius: 3px; max-width: 100%; max-height: 100%; }
.need-row.ok .ratio-box i { background: rgba(34,197,94,.15); border-color: var(--green); }
.need-row.missing .ratio-box i { background: rgba(239,68,68,.12); border-color: var(--red); border-style: dashed; }
.need-title { font-weight: 600; }
.need-sub { font-size: 12.5px; color: var(--muted); }
.need-status { font-size: 12.5px; text-align: right; }
.need-status .ok { color: #4ade80; } .need-status .err { color: #f87171; }
.pill-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pill { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #27272a; color: var(--text-2); }

/* review & delivery */
.review-bar { position: sticky; top: -22px; z-index: 5; background: var(--bg); padding: 10px 0 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.comments { display: grid; gap: 8px; margin-top: 10px; }
.comment { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.comment-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.comment.changes { border-left: 3px solid var(--red); } .comment.approve { border-left: 3px solid var(--green); }
.delivery-table td { vertical-align: top; }
.delivery-table img, .delivery-table video { width: 64px; height: 64px; object-fit: contain; background: #000; border-radius: 4px; }

/* modal + toast */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; width: min(560px, 100%); padding: 22px; max-height: 90vh; overflow: auto; }
.modal h3 { margin: 0 0 6px; font-size: 18px; }
.modal p { color: var(--text-2); font-size: 14px; margin: 0 0 14px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; background: #09090b; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; font-size: 13px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #fff; color: #09090b; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 60; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.drop-overlay { position: fixed; inset: 0; background: rgba(21,93,252,.18); border: 3px dashed var(--blue); display: none; place-items: center; z-index: 40; pointer-events: none; }
.drop-overlay p { background: var(--blue); padding: 14px 22px; border-radius: 12px; font-weight: 700; }
body.dragging .drop-overlay { display: grid; }
.noscript { margin: 20px; padding: 14px; border-radius: 10px; background: #422006; color: #fcd34d; }

/* ============ MOCKUPS ============ */
.mock { --m-bg: #fff; --m-fg: #0f1419; --m-sub: #65676b; --m-line: #e4e6eb; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--m-fg); position: relative; text-align: left; }
.media { position: relative; overflow: hidden; background: #2a2a2e; width: 100%; }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media.missing { background: repeating-linear-gradient(45deg, #2b2b30 0 12px, #26262a 12px 24px); }
.media .missing-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #d4d4d8; font: 600 13px/1.35 var(--font); padding: 10px; }
.media .missing-label small { display: block; font-weight: 400; color: #a1a1aa; font-size: 11.5px; }
.safe { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.safe i { position: absolute; background: rgba(239, 68, 68, .28); }
.safe i.t { left: 0; right: 0; top: 0; border-bottom: 1.5px dashed #ef4444; }
.safe i.b { left: 0; right: 0; bottom: 0; border-top: 1.5px dashed #ef4444; }
.safe i.l { left: 0; border-right: 1.5px dashed #ef4444; }
.safe i.r { right: 0; border-left: 1.5px dashed #ef4444; }
.safe em { position: absolute; left: 6px; font: 700 9.5px/1 var(--font); color: #fff; background: #ef4444; padding: 2px 4px; border-radius: 3px; font-style: normal; }
.no-ui .ui { display: none !important; }

/* phone */
.phone { width: 360px; height: 740px; border-radius: 48px; background: #3730d6; padding: 11px; box-shadow: inset 0 0 0 2px #5b52ff, 0 30px 60px rgba(0,0,0,.5); position: relative; }
.phone::before, .phone::after { content: ""; position: absolute; left: -3px; width: 4px; background: #2f28b8; border-radius: 2px; }
.phone::before { top: 130px; height: 50px; } .phone::after { top: 195px; height: 50px; }
.screen { color: var(--m-fg); width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--m-bg); position: relative; display: flex; flex-direction: column; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 104px; height: 28px; background: #000; border-radius: 20px; z-index: 20; }
.statusbar { height: 44px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 26px 6px; font-size: 13px; font-weight: 600; position: relative; z-index: 6; }
.statusbar span:last-child { letter-spacing: 1px; font-size: 11px; }
.scroll { flex: 1; overflow: hidden; position: relative; }

/* desktop */
.desktop { width: 760px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.5); border: 1px solid #3f3f46; }
.browserbar { height: 36px; background: #e4e4e7; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browserbar i { width: 11px; height: 11px; border-radius: 99px; background: #f87171; } .browserbar i:nth-child(2) { background: #fbbf24; } .browserbar i:nth-child(3) { background: #4ade80; }
.browserbar span { margin-left: 14px; flex: 1; background: #fff; border-radius: 6px; height: 22px; font: 12px/22px var(--font); color: #71717a; padding: 0 10px; }

/* feed post */
.apphead { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; border-bottom: 1px solid var(--m-line); font-weight: 700; flex: none; }
.apphead .wordmark { font-size: 21px; letter-spacing: -.02em; }
.post { background: var(--m-bg); }
.post-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.avatar { width: 34px; height: 34px; border-radius: 99px; background: #d4d4d8 center/cover; flex: none; display: grid; place-items: center; font: 700 13px/1 var(--font); color: #52525b; overflow: hidden; }
.avatar.ring { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e1306c; }
.post-who { flex: 1; min-width: 0; line-height: 1.2; }
.post-who b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-who span { font-size: 11.5px; color: var(--m-sub); }
.post-more { color: var(--m-sub); font-weight: 700; letter-spacing: 1px; }
.post-text { padding: 0 12px 10px; font-size: 13.5px; line-height: 1.38; white-space: pre-wrap; word-break: break-word; }
.post-text .more, .trunc-more { color: var(--m-sub); font-weight: 600; }
.post-cta { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #f0f2f5; }
.post-cta .t { flex: 1; min-width: 0; }
.post-cta .d { font-size: 11.5px; color: var(--m-sub); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-cta .h { font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-cta .s { font-size: 12px; color: var(--m-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-btn { background: #e4e6eb; color: #050505; border-radius: 6px; padding: 7px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; flex: none; }
.ig-cta { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--m-line); }
.ig-cta.blue { background: #0095f6; color: #fff; border: 0; }
.actions { display: flex; gap: 14px; padding: 9px 12px 4px; font-size: 20px; }
.actions .r { margin-left: auto; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.reactions { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 12px; color: var(--m-sub); border-top: 1px solid var(--m-line); }
.fb-actions { display: flex; justify-content: space-around; padding: 6px 0 8px; font-size: 13px; color: var(--m-sub); font-weight: 600; border-top: 1px solid var(--m-line); }
.dots { display: flex; justify-content: center; gap: 4px; padding: 6px 0 0; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: #c7c7cc; } .dots i.on { background: #0095f6; }
.carousel-track { display: flex; gap: 8px; padding: 0 12px; overflow: hidden; }
.carousel-card { flex: none; width: 78%; border: 1px solid var(--m-line); border-radius: 8px; overflow: hidden; background: #fff; }
.carousel-card.full { width: 100%; border: 0; border-radius: 0; }
.carousel-card .post-cta { background: #fff; }
.ghost-post { padding: 12px; display: grid; gap: 8px; border-top: 8px solid #e4e6eb; }
.ghost-post i { display: block; height: 10px; border-radius: 4px; background: #e4e6eb; } .ghost-post i:nth-child(2) { width: 60%; }
.ghost-post b { display: block; height: 150px; border-radius: 6px; background: #e4e6eb; }

/* dark themes */
.theme-dark { --m-bg: #000; --m-fg: #e7e9ea; --m-sub: #71767b; --m-line: #2f3336; }
.theme-dark .post-cta { background: #16181c; }
.theme-reddit { --m-bg: #0e1113; --m-fg: #f2f4f5; --m-sub: #8ba2ad; --m-line: #22292d; }
.theme-reddit .cta-btn { background: #2a3236; color: #fff; border-radius: 99px; }
.x-card { margin: 4px 12px 10px 56px; border: 1px solid var(--m-line); border-radius: 16px; overflow: hidden; }
.x-card .x-over { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 12.5px; padding: 2px 6px; border-radius: 4px; z-index: 3; max-width: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-from { font-size: 12.5px; color: var(--m-sub); padding: 0 12px 8px 56px; margin-top: -6px; }
.x-text { padding: 0 12px 8px 56px; margin-top: -24px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.rd-title { padding: 0 12px 8px; font-size: 16px; font-weight: 600; line-height: 1.3; word-break: break-word; }
.rd-media { margin: 0 12px; border-radius: 14px; overflow: hidden; }
.rd-cta { display: flex; justify-content: space-between; align-items: center; margin: 8px 12px 0; padding: 8px 12px; background: #1a2226; border-radius: 10px; font-size: 13px; color: var(--m-sub); }

/* fullscreen story / reels / tiktok */
.fs { position: absolute; inset: 0; background: #000; color: #fff; }
.fs .media { position: absolute; inset: 0; height: 100%; }
.fs-top { position: absolute; top: 44px; left: 0; right: 0; padding: 6px 12px; z-index: 6; }
.bars { display: flex; gap: 3px; margin-bottom: 8px; } .bars i { flex: 1; height: 2px; background: rgba(255,255,255,.4); border-radius: 2px; } .bars i.on { background: #fff; }
.fs-who { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.fs-who small { font-weight: 400; opacity: .85; }
.fs-who .x { margin-left: auto; font-size: 20px; font-weight: 300; }
.fs-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 0 12px 22px; background: linear-gradient(transparent, rgba(0,0,0,.55) 45%); padding-top: 50px; }
.fs-caption { font-size: 13px; line-height: 1.35; margin: 0 56px 10px 0; text-shadow: 0 1px 2px rgba(0,0,0,.6); word-break: break-word; }
.fs-caption b { display: block; margin-bottom: 4px; font-size: 14px; }
.fs-cta { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; color: #000; border-radius: 99px; padding: 9px; font-weight: 600; font-size: 14px; margin: 0 auto; width: 70%; }
.fs-cta.flat { border-radius: 6px; width: 100%; background: rgba(255,255,255,.95); }
.fs-cta.tt { background: #fe2c55; color: #fff; border-radius: 4px; width: 100%; }
.fs-cta.snap { background: #fff; border-radius: 10px; width: 100%; }
.fs-swipe { text-align: center; font-size: 12px; font-weight: 600; margin-top: 4px; }
.fs-rail { position: absolute; right: 8px; bottom: 120px; z-index: 6; display: grid; gap: 16px; justify-items: center; font-size: 11px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.fs-rail .ic { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; }
.fs-rail .ic svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 1.8; }
.fs-rail .avatar { width: 40px; height: 40px; box-shadow: 0 0 0 2px #fff; }
.fs-tabs { position: absolute; top: 48px; left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 600; z-index: 6; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.fs-tabs span { opacity: .6; margin: 0 8px; } .fs-tabs span.on { opacity: 1; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.fs-nav { position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: #000; z-index: 7; display: flex; justify-content: space-around; align-items: center; }
.fs-nav i { width: 22px; height: 22px; border-radius: 5px; border: 2px solid #fff; opacity: .9; } .fs-nav i.plus { width: 40px; border-radius: 8px; background: #fff; }
.sponsored-pill { display: inline-block; background: rgba(255,255,255,.2); border-radius: 4px; padding: 1px 6px; font-size: 11px; font-weight: 600; margin-top: 4px; }
.snap-top { position: absolute; top: 46px; left: 12px; right: 12px; z-index: 6; display: flex; gap: 8px; align-items: center; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.snap-top b { display: block; font-size: 14px; } .snap-top span { font-size: 12.5px; }
.snap-top .ad { margin-left: auto; font-size: 11px; background: rgba(0,0,0,.4); border-radius: 4px; padding: 2px 6px; }

/* youtube player */
.yt-page { background: #0f0f0f; color: #f1f1f1; padding: 14px; display: grid; grid-template-columns: 1fr 180px; gap: 14px; }
.yt-player { position: relative; border-radius: 10px; overflow: hidden; background: #000; }
.yt-player .media { aspect-ratio: 16/9; }
.yt-ui { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.yt-progress { position: absolute; left: 0; right: 0; bottom: 34px; height: 3px; background: rgba(255,255,255,.3); } .yt-progress i { display: block; width: 18%; height: 100%; background: #fc0; }
.yt-controls { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; align-items: center; gap: 12px; padding: 0 12px; font-size: 12px; }
.yt-adinfo { position: absolute; left: 12px; bottom: 44px; display: flex; gap: 8px; align-items: center; font-size: 12px; background: rgba(0,0,0,.55); padding: 6px 8px; border-radius: 6px; max-width: 60%; }
.yt-adinfo .avatar { width: 26px; height: 26px; }
.yt-adinfo .h { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-adinfo .cta { background: #3ea6ff; color: #0f0f0f; padding: 4px 10px; border-radius: 99px; font-weight: 600; white-space: nowrap; }
.yt-skip { position: absolute; right: 0; bottom: 48px; background: rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.3); border-right: 0; padding: 8px 14px; font-size: 14px; }
.yt-side i, .yt-below i { display: block; background: #272727; border-radius: 6px; } .yt-side { display: grid; gap: 10px; align-content: start; } .yt-side i { height: 88px; }
.yt-below { margin-top: 10px; display: grid; gap: 6px; } .yt-below i { height: 12px; } .yt-below i:nth-child(2) { width: 60%; }
.yt-companion { display: flex; gap: 8px; align-items: center; padding: 8px; background: #1f1f1f; border-radius: 8px; font-size: 12px; margin-bottom: 10px; }
.yt-companion b { display: block; font-size: 12.5px; }

/* demand gen / RDA */
.dg { background: #0f0f0f; color: #f1f1f1; min-height: 100%; padding-top: 4px; }
.dg-card { padding: 0 0 12px; }
.dg-meta { display: flex; gap: 10px; padding: 10px 12px; }
.dg-meta b { display: block; font-size: 14px; line-height: 1.3; }
.dg-meta span { font-size: 12px; color: #aaa; }
.dg-cta { margin: 0 12px; background: #3ea6ff; color: #0f0f0f; text-align: center; border-radius: 99px; padding: 8px; font-weight: 600; font-size: 14px; }
.web { background: #fff; color: #18181b; padding: 18px 22px; font-family: Georgia, serif; }
.web h4 { font-size: 22px; margin: 0 0 10px; }
.web .line { height: 9px; background: #e4e4e7; border-radius: 3px; margin: 7px 0; } .web .line.s { width: 70%; }
.web-cols { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.adslot { position: relative; }
.adslot::before { content: "Ad"; position: absolute; top: -15px; right: 0; font: 600 10px/1 var(--font); color: #71717a; }
.rda { border: 1px solid #e4e4e7; border-radius: 4px; overflow: hidden; font-family: Roboto, Arial, sans-serif; background: #fff; }
.rda-body { padding: 10px 12px; display: grid; gap: 4px; }
.rda-body b { font-size: 16px; line-height: 1.25; }
.rda-body span { font-size: 13px; color: #52525b; line-height: 1.35; }
.rda-foot { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid #f4f4f5; font-size: 12.5px; color: #52525b; }
.rda-foot .logo-sq { width: 26px; height: 26px; border-radius: 3px; background: #e4e4e7 center/cover; }
.rda-foot .go { margin-left: auto; width: 30px; height: 30px; border-radius: 99px; background: #1a73e8; display: grid; place-items: center; color: #fff; }
.rda-foot .go svg { width: 16px; height: 16px; }
.banner-slot { margin: 0 auto; }
.mweb { background: #fff; color: #18181b; height: 100%; padding: 12px; font-family: Georgia, serif; }

/* pinterest */
.pin-grid { columns: 2; column-gap: 8px; padding: 8px; }
.pin-grid > div { break-inside: avoid; margin-bottom: 10px; }
.pin-ph { border-radius: 16px; background: #e9e9e9; }
.pin-item .media { border-radius: 16px; }
.pin-item p { margin: 5px 4px 0; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.pin-item small { display: block; margin: 2px 4px; font-size: 11.5px; color: #767676; }

/* fb right column / marketplace */
.fbdesk { background: #f0f2f5; padding: 14px; display: grid; grid-template-columns: 1fr 250px; gap: 18px; min-height: 420px; }
.fbdesk .feedcol { display: grid; gap: 12px; align-content: start; }
.fbdesk .feedcol i { display: block; height: 180px; background: #fff; border-radius: 8px; }
.rc-title { font: 600 15px/1 var(--font); color: #65676b; margin: 4px 0 10px; }
.rc-ad { display: flex; gap: 10px; align-items: center; }
.rc-ad .media { width: 120px; flex: none; border-radius: 8px; }
.rc-ad b { font-size: 14px; display: block; line-height: 1.3; color: #050505; } .rc-ad span { font-size: 12.5px; color: #65676b; }
.market { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
.market .cell .media, .market .ph { border-radius: 6px; }
.market .ph { aspect-ratio: 1; background: #e4e6eb; }
.market p { margin: 4px 2px 8px; font-size: 13px; line-height: 1.25; } .market p b { display: block; }
.market small { color: #65676b; font-size: 11.5px; }

/* OOH */
.street { width: 760px; height: 470px; border-radius: 12px; overflow: hidden; position: relative; background: linear-gradient(#8fb8de, #cfe2f0 55%, #9a9a9a 55.2%, #6b6b6b); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.street::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: repeating-linear-gradient(90deg, #f5f5f5 0 60px, transparent 60px 120px) center 50% / 100% 4px no-repeat, #3f3f46; }
.bb-frame { position: absolute; background: #1c1c1c; padding: 8px; border-radius: 3px; box-shadow: 0 10px 20px rgba(0,0,0,.3); z-index: 2; }
.bb-pole { position: absolute; width: 18px; background: #3f3f46; z-index: 1; }
.shelter { position: absolute; border: 6px solid #52525b; border-bottom: 0; background: rgba(255,255,255,.18); z-index: 2; }
.shelter-roof { position: absolute; height: 14px; background: #3f3f46; z-index: 3; }
.screen-glow { box-shadow: 0 0 0 6px #18181b, 0 0 40px rgba(255,255,255,.35); }
.people i { position: absolute; bottom: 12%; width: 22px; border-radius: 11px 11px 4px 4px; background: #27272a; z-index: 3; }

@media (max-width: 1280px) { .app { grid-template-columns: 250px minmax(0,1fr) 330px; } }
@media (max-width: 1000px) {
  .app { grid-template-columns: 1fr; height: auto; }
  .work { overflow: visible; }
  .sidebar { max-height: none; } .nav-placements { display: none; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .stage { overflow: visible; }
}

/* SEO content */
.content { background: var(--bg); }
.content-inner { max-width: 1040px; margin: 0 auto; padding: 56px 24px 80px; }
.content h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 16px; background: linear-gradient(90deg, #fff, #a1a1aa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.content h2 { font-size: 26px; letter-spacing: -.02em; margin: 52px 0 12px; }
.content h3 { font-size: 18px; margin: 0 0 6px; }
.content p { color: var(--text-2); }
.lead { font-size: 18px; max-width: 760px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { background: var(--panel); color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td a { color: #93b4ff; }
.status-col { white-space: nowrap; }
.placement-spec { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 14px 0; scroll-margin-top: 20px; }
.spec-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; margin: 12px 0 0; }
.spec-dl dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.spec-dl dd { margin: 2px 0 0; font-size: 14px; }
.steps { padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.bullets { color: var(--text-2); }
.platform-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.platform-card { display: block; padding: 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--pc); text-decoration: none; height: 100%; }
.platform-card:hover { border-color: var(--line-2); border-top-color: var(--pc); }
.platform-card strong { display: block; margin-bottom: 4px; }
.platform-card span { font-size: 13px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); background: var(--bg-top); }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 36px 24px; }
.footer p { color: var(--muted); font-size: 14px; } .footer-small { font-size: 12px !important; color: var(--muted-2) !important; }

.single.side { display: grid; grid-template-columns: auto minmax(280px, 440px); gap: 28px; justify-content: center; align-items: start; }
.single.side .info-card { margin: 0 0 14px; }
.single.side .toggles { justify-content: flex-start; }
.single.side .variant-nav { justify-content: flex-start; }

/* ================= v2.1 simple brief layout ================= */
.hdr { display: flex; align-items: center; gap: 24px; padding: 18px 28px; background: var(--bg-top); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hdr .logo { font-size: 40px; padding: 0; }
.hdr-tag { flex: 1; min-width: 260px; margin: 0; color: var(--text-2); font-size: 15px; max-width: 620px; }
.hdr-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.proj { display: flex; flex-direction: column; text-align: right; line-height: 1.25; }
.proj span { font-size: 12.5px; color: var(--muted); }
.pnav { display: flex; gap: 4px 14px; flex-wrap: wrap; padding: 8px 28px; font-size: 12.5px; border-bottom: 1px solid var(--line); background: var(--bg); }
.pnav span { color: var(--muted-2); } .pnav a { color: var(--muted); text-decoration: none; } .pnav a:hover, .pnav a[aria-current] { color: #fff; }
.brief { max-width: 1180px; margin: 0 auto; padding: 24px 24px 40px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; }
.step h2 { margin: 0; font-size: 21px; display: flex; align-items: center; gap: 12px; letter-spacing: -.01em; }
.step h2 b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--blue); font-size: 15px; flex: none; }
.step-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.step-head h2 { margin-right: auto; }
.step-sum { color: var(--muted); font-size: 14px; } .step-sum b { color: #fff; font-size: 16px; }
.step-note { color: var(--muted); font-size: 14px; margin: 8px 0 16px 42px; }
.empty { color: var(--muted); margin: 6px 0 0 42px; }
.c-ok { color: var(--green) !important; } .c-err { color: var(--red) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 42px; }
.chip { padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.chip:hover:not(:disabled) { border-color: var(--muted); color: #fff; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip:disabled { cursor: default; opacity: 1; }
#step-channels .step-note { margin-top: 12px; margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-left: 42px; }
.card { display: grid; grid-template-columns: 136px 1fr; gap: 16px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--line-2); }
.card.todo { border-style: dashed; }
.card.ok { border-color: #166534; } .card.warn { border-color: #a16207; }
.card-vis { display: grid; place-items: center; height: 136px; cursor: pointer; }
.frame { display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: #27272a; border: 1.5px dashed var(--muted-2); }
.frame i { font-style: normal; color: var(--muted); font-size: 22px; }
.card.ok .frame { border: 0; } .frame img, .frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-vis:hover .frame { border-color: var(--blue); }
.card-size { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.card-size small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.card-type { font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.card-for { list-style: none; padding: 0; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); display: grid; gap: 2px; }
.card-for b { color: var(--text-2); font-weight: 600; }
.card-hint { font-size: 12px; color: #fbbf24; margin-top: 6px; }
.card-status { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; }
.card-status .file { color: #4ade80; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-status .miss { color: #f87171; font-weight: 600; }
.x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 0 3px; line-height: 1; }
.x:hover { color: #fff; }
.unused { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding: 10px 14px; border-radius: 10px; background: #1c1917; border: 1px solid #44403c; }
.unused span { margin-right: 12px; color: var(--text-2); }

.texts { margin-left: 42px; display: grid; gap: 10px; }
.trow { display: grid; grid-template-columns: 220px 1fr; gap: 6px 18px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line-2); align-items: start; }
.trow.ok { border-color: #166534; } .trow.warn { border-color: #a16207; } .trow.err { border-color: #991b1b; }
.tlabel b { display: block; font-size: 15px; }
.tlabel span { font-size: 13px; color: var(--muted); }
.trow .count { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.trow.warn .count { color: #fbbf24; } .trow.err .count { color: #f87171; }
.trow input, .trow textarea, .trow select { width: 100%; background: #0f0f12; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; outline: none; color: #fff; }
.trow textarea { resize: vertical; }
.trow input:focus, .trow textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.tinfo { grid-column: 2; font-size: 12.5px; color: var(--muted); }
.trow.warn .tinfo { color: #fbbf24; } .trow.err .tinfo { color: #f87171; }

.ptabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 16px 42px; align-items: center; }
.ptab { padding: 7px 13px; border-radius: 8px; background: transparent; border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer; font-weight: 600; font-size: 13.5px; }
.ptab span { font-weight: 500; font-size: 12px; color: var(--muted); margin-left: 4px; }
.ptab[aria-selected="true"] { background: #fff; color: #09090b; border-color: #fff; } .ptab[aria-selected="true"] span { color: #52525b; }
.ptoggles { display: inline-flex; gap: 6px; margin-left: auto; }
.tgl { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.tgl[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-left: 42px; }
.pcell { background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px; cursor: pointer; }
.pcell:hover { border-color: var(--muted-2); } .pcell.flagged { border-color: var(--red); } .pcell.approved { border-color: #166534; }
.pcell-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 10px; }
.pcell-head small { margin-left: auto; color: var(--muted); }
.pcell-head .dot { flex: none; }
.pcell .mock-thumb { height: 290px; }
.pcell-actions { display: flex; gap: 6px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.pcell-ap { text-align: center; font-size: 12.5px; margin-top: 8px; color: #4ade80; } .pcell-ap.changes { color: #f87171; }

.pv-back .modal { width: min(1100px, 100%); padding: 0; overflow: hidden; }
.pv { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: min(80vh, 820px); }
.pv-stage { background: var(--bg); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.pv-thumb { height: min(74vh, 760px) !important; }
.pv-info { padding: 22px; border-left: 1px solid var(--line); position: relative; overflow: auto; max-height: 90vh; font-size: 14px; color: var(--text-2); }
.pv-info h3 { margin: 0 30px 4px 0; color: #fff; }
.pv-size { color: var(--muted); font-size: 13px; margin-top: 0; }
.pv-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.pv-info .ptoggles { margin: 14px 0 0; }
.note { padding: 14px 18px; border-radius: 12px; background: var(--blue-soft); border: 1px solid var(--blue); margin-bottom: 14px; font-size: 14.5px; }
.note-red { background: rgba(239,68,68,.12); border-color: #991b1b; } .note-green { background: rgba(34,197,94,.1); border-color: #166534; }
#banner .comments { margin: -4px 0 16px; }
.comment { cursor: default; } .comment[data-open] { cursor: pointer; }
.comment-meta { display: block; }
.share-row { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.share-row b { display: block; } .share-row span { font-size: 13px; color: var(--muted); }
.field { margin-bottom: 14px; } .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field input, .field textarea { width: 100%; background: #09090b; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; outline: none; color: #fff; }
.dfile { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
body[data-role="client"] #step-channels, body[data-role="client"] #step-files, body[data-role="client"] #step-texts { display: none; }
body[data-role="client"] #step-preview h2 b { display: none; }
@media (max-width: 760px) {
  .cards, .texts, .pgrid, .chips, .ptabs { margin-left: 0; } .step-note, .empty { margin-left: 0; }
  .card { grid-template-columns: 96px 1fr; } .card-vis { height: 96px; }
  .trow { grid-template-columns: 1fr; } .tinfo { grid-column: 1; }
  .pv { grid-template-columns: 1fr; } .pv-info { border-left: 0; border-top: 1px solid var(--line); }
  .hdr { padding: 14px 16px; } .brief { padding: 14px; }
}
