/* SOCIAL-MULTIPLATFORM-PUBLISHING-001 — Yayın planla (publish composer) and the creative drop zone. App tokens only. */
.pc-page { display: flex; flex-direction: column; gap: 16px; max-width: 1180px; }
.pc-page > .card h2 { font-size: 16px; line-height: 24px; margin: 0; }
.pc-step { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pc-step + .pc-step, .pc-ready + .pc-step, .row-tight + .pc-step { margin-top: 16px; }
.pc-n { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.pc-what-body { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.pc-media { width: 180px; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--surface-3); display: grid; place-items: center; align-content: center; gap: 6px; overflow: hidden; color: var(--text-3); flex: none; text-align: center; padding: 8px; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-media:has(img) { padding: 0; }
.pc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pc-tile { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.pc-tile.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.pc-tile.off { background: var(--surface-2); }
.pc-tile.missing { border-style: dashed; }
.pc-tile-head { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.pc-tile-head input { width: 18px; height: 18px; margin: 0; }
.pc-tile .btn.sm { align-self: flex-start; }
.pc-reasons { margin: 0; padding-left: 18px; font-size: 13px; color: var(--stop); }
.pc-place { width: auto; min-width: 120px; height: 30px; }
.sx-platform.p-linkedin { color: var(--p-linkedin-fg); background: var(--p-linkedin-soft); }
.pc-tabs { margin: 8px 0 12px; }
.pc-tabs [role="tab"][aria-selected="true"] { color: var(--text); font-weight: 600; }
.pc-tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.pc-dot[data-tone="ok"] { background: var(--ok); } .pc-dot[data-tone="warn"] { background: var(--warn); } .pc-dot[data-tone="stop"] { background: var(--stop); }
.pc-panel { display: flex; flex-direction: column; gap: 12px; }
.pc-editor { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.pc-caption { width: 100%; min-height: 140px; resize: vertical; }
.tiny.over { color: var(--stop); font-weight: 600; }
.pc-options { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 10px; border-radius: var(--r); background: var(--surface-2); }
.pc-options .tiny { flex-basis: 100%; }
.pc-qa { padding: 10px; border-radius: var(--r); background: var(--stop-soft); color: var(--stop); }
.pc-qa ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; }
.pc-preview { display: flex; flex-direction: column; gap: 6px; }
.pc-pv { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.pc-pv-media { aspect-ratio: 4 / 5; background: var(--surface-3); }
.pc-pv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-pv-text { padding: 10px 12px; font-size: 13px; line-height: 18px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow: auto; }
.pc-ready { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pc-plan { min-width: 200px; }
.pc-result { margin-top: 12px; padding: 12px; border-radius: var(--r); background: var(--surface-2); }
.pc-result ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pc-results { display: flex; flex-direction: column; }
.pc-result-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.pc-result-row:first-child { border-top: 0; }
.pc-result-row[data-state="FAILED_RETRYABLE"], .pc-result-row[data-state="FAILED"], .pc-result-row[data-state="NEEDS_RECONCILIATION"] { background: linear-gradient(90deg, var(--stop-soft), transparent 60%); }
.pc-details { margin-top: 4px; }
/* the creative task drop zone (CAP upload) */
.cap-drop { border: 2px dashed var(--border-strong); border-radius: var(--r-lg); padding: 20px; text-align: center; background: var(--surface-2); color: var(--text-2); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cap-drop:hover, .cap-drop:focus-visible { border-color: var(--accent); }
.cap-drop.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.cap-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cap-drop .cap-file { font-weight: 600; color: var(--text); }
@media (max-width: 820px) {
  .pc-editor { grid-template-columns: 1fr; }
  .pc-media { width: 120px; }
  .pc-tiles { grid-template-columns: 1fr; }
}
/* platform names are proper names: the page is lang="tr", so an uppercase transform prints "LİNKEDIN" / "TİKTOK" */
.sx-platform { text-transform: none; letter-spacing: 0; font-size: 12px; }
