/* AI content planner (ai-content-planner.html). Light tool page; builds on .cst-* chips. */
.pl { padding: clamp(18px, 3vw, 32px); color: #121316; }
.pl-form { display: grid; gap: 16px; }
.pl-form label > span, .pl-field > span { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.pl-form input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid rgba(18, 19, 22, .18); border-radius: 12px; background: #fff; color: #121316; font: inherit; }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-chips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pl-go { justify-self: start; }
.pl-note { margin: 0; font-size: .82rem; opacity: .7; }
.pl-note a { color: #0596C3; }
.pl-busy { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pl-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(7, 195, 250, .25); border-top-color: #07C3FA; animation: plspin .8s linear infinite; }
@keyframes plspin { to { transform: rotate(360deg); } }
.pl-res { margin-top: 28px; border-top: 1px solid rgba(18, 19, 22, .1); padding-top: 24px; }
.pl-head h3 { margin: 4px 0 8px; }
.pl-head p { margin: 0 0 10px; }
.pl-pillars { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-pillars span { padding: 5px 12px; border-radius: 999px; background: #eef8fd; color: #0577a0; font-size: .85rem; font-weight: 600; }
.pl-mix { font-size: .85rem; opacity: .7; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.pl-post { border: 1px solid rgba(18, 19, 22, .12); border-radius: 14px; padding: 16px; background: #fff; }
.pl-post header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pl-post header em { font-style: normal; font-size: .78rem; opacity: .65; }
.pl-fmt { padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #eef0f3; }
.pl-fmt--reel { background: #ffe7ef; color: #b0255a; } .pl-fmt--carousel { background: #e9f1ff; color: #2650a8; }
.pl-fmt--image { background: #eafbf1; color: #157a43; } .pl-fmt--story { background: #fff4e0; color: #9a6500; }
.pl-post h4 { margin: 0 0 6px; font-size: 1rem; }
.pl-post p { margin: 0 0 8px; font-size: .9rem; }
.pl-tags { color: #0577a0; font-size: .82rem !important; word-break: break-word; }
.pl-lockwrap { position: relative; }
.pl-grid--locked { filter: blur(5px); pointer-events: none; user-select: none; max-height: 260px; overflow: hidden; }
.pl-gate { position: relative; margin-top: -120px; background: #fff; }
.pl-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pl-actions { margin-top: 20px; flex-wrap: wrap; }
.pl-actions p { flex-basis: 100%; margin: 0 0 6px; }
.pl-res > .pl-note { margin-top: 16px; }
@media (max-width: 720px) { .pl-row { grid-template-columns: 1fr; } .pl-gate { margin-top: -80px; } }
.pl-post header em { font-family: "Inter", sans-serif !important; font-style: normal !important; color: #6b7280 !important; -webkit-text-fill-color: #6b7280 !important; background: none !important; font-size: .78rem; }
