/* ✦ Creative Lab แบบใช้ง่าย (เจ้าของเคาะ mockup 23 ต.ค. 2569) · ใช้สีจากธีม dashboard (--surface/--ink/--accent …) · โพสต์ในฟีดเป็นสีขาวแบบ Facebook ทั้งสองโทน */
#cleRoot { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cle-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.cle-head h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.cle-mark { color: var(--accent); }
.cle-sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.cle-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cle-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.cle-chip.amber { background: var(--accent-soft); color: var(--accent-deep, var(--accent)); }
.cle-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cle-steps > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; }
.cle-steps b { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.cle-steps small { color: var(--muted); font-size: 12px; }
.cle-h3 { margin: 6px 0 0; font-size: 18px; }
.cle-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.cle-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cle-card.ready { border-top: 3px solid var(--accent); }
.cle-card.ready.on { box-shadow: 0 0 0 1px var(--accent); }
.cle-card-h { display: flex; gap: 10px; align-items: center; }
.cle-card-h h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.cle-card-h small { color: var(--muted); font-size: 12px; }
.cle-thumb { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.cle-old { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.cle-old em { display: block; font-style: normal; font-size: 11px; }
.cle-vlist { display: flex; flex-direction: column; gap: 6px; }
.cle-v { display: flex; gap: 8px; align-items: flex-start; text-align: left; width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); font: inherit; cursor: pointer; }
.cle-v:hover, .cle-v.on { border-color: var(--accent); }
.cle-n { flex: none; font-size: 11px; font-weight: 700; color: var(--accent-deep, var(--accent)); background: var(--accent-soft); border-radius: 6px; padding: 1px 7px; margin-top: 2px; }
.cle-vt { font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; }
.cle-vt small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.cle-task { background: var(--surface-2); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.cle-task small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.cle-card .dbtn { width: 100%; justify-content: center; text-align: center; }
.cle-compare { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 12px; }
.cle-compare-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.cle-compare-h h3 { margin: 0; font-size: 17px; }
.cle-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cle-tab { border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 10px; padding: 6px 12px; font: inherit; font-size: 13px; text-align: left; cursor: pointer; min-height: 44px; }
.cle-tab small { display: block; color: var(--muted); font-size: 11px; }
.cle-tab.on { border-color: var(--accent); background: var(--accent-soft); }
.cle-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.cle-side h4 { margin: 0 0 8px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cle-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.cle-dot.new { background: var(--accent); }
.cle-post { background: #fff; color: #1c1e21; border-radius: 12px; overflow: hidden; max-width: 420px; box-shadow: var(--shadow); }
.cle-post-h { display: flex; gap: 8px; align-items: center; padding: 10px 12px 4px; }
.cle-post-h b { display: block; font-size: 14px; }
.cle-post-h small { font-size: 12px; color: #65676b; }
.cle-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #e4e6eb; flex: none; display: inline-block; }
.cle-post-txt { padding: 4px 12px 10px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cle-hook { font-weight: 600; background: #fff3cd; border-radius: 3px; }
.cle-more { border: 0; background: none; color: #65676b; font: inherit; cursor: pointer; padding: 0; }
.cle-imgs { display: grid; gap: 2px; grid-template-columns: 1fr 1fr; }
.cle-imgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; display: block; max-width: 100%; }
.cle-imgs.n1 { grid-template-columns: 1fr; }
.cle-imgs.n3 img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.cle-imgs.n1 img { aspect-ratio: 4 / 5; }
.cle-noimg { padding: 30px 12px; text-align: center; color: #65676b; background: #f0f2f5; font-size: 13px; }
.cle-edit { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.cle-edit input { font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.cle-edit input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cle-warn { margin: 0; color: var(--danger); font-size: 13px; }
.cle-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.cle-note { color: var(--muted); font-size: 13px; margin-left: auto; }
.cle-team { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.cle-team summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.cle-team dl { margin: 10px 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; }
.cle-team dt { color: var(--muted); }
.cle-team dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 760px) {
  .cle-steps, .cle-pair { grid-template-columns: 1fr; }
  .cle-note { margin-left: 0; }
  .cle-team dl { grid-template-columns: 1fr; }
}
