/* The Creative Engine (reviewers' site). Its own look, scoped under .ce so
 * nothing here reaches the proposals pages and nothing there reaches this. */
.ce {
  --ce-ink: #1d1b19;
  --ce-muted: #6f6861;
  --ce-line: #e6e1db;
  --ce-bg: #f6f4f1;
  --ce-card: #ffffff;
  --ce-pink: #d6336c;
  --ce-pink-soft: #fbe7ee;
  --ce-good: #1f8a5b;
  --ce-bad: #c0392b;
  min-height: 100vh;
  background: var(--ce-bg);
  color: var(--ce-ink);
  font-family: "Hanken Grotesk", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.ce *, .ce *::before, .ce *::after { box-sizing: border-box; }
.ce a { color: var(--ce-pink); }
.ce-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: var(--ce-ink); color: #fff;
}
.ce-brand { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
.ce-brand b { color: var(--ce-pink); }
.ce-top-links { display: flex; gap: 14px; align-items: center; font-size: 0.86rem; }
.ce-top-links a, .ce-top-links button { color: #fff; opacity: 0.85; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; padding: 0; }
.ce-top-links a:hover, .ce-top-links button:hover { opacity: 1; }
.ce-main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.ce-main.wide { max-width: 1080px; }
.ce h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
.ce h2 { font-size: 1.2rem; margin: 0 0 10px; font-weight: 700; }
.ce h3 { font-size: 1rem; margin: 18px 0 6px; font-weight: 700; }
.ce p { margin: 0 0 12px; }
.ce-lead { color: var(--ce-muted); font-size: 1.05rem; }
.ce-card { background: var(--ce-card); border: 1px solid var(--ce-line); border-radius: 14px; padding: 24px; margin: 0 0 18px; }
.ce-field { display: block; margin: 0 0 14px; }
.ce-field > span { display: block; font-weight: 600; font-size: 0.9rem; margin: 0 0 6px; }
.ce-field small { display: block; color: var(--ce-muted); font-size: 0.82rem; margin-top: 4px; }
.ce input[type="text"], .ce input[type="email"], .ce input[type="tel"], .ce select, .ce textarea {
  width: 100%; font: inherit; color: inherit; background: #fff;
  border: 1px solid #cfc8c0; border-radius: 9px; padding: 10px 12px;
}
.ce textarea { min-height: 104px; resize: vertical; }
.ce input:focus, .ce select:focus, .ce textarea:focus { outline: 2px solid var(--ce-pink); outline-offset: 1px; border-color: transparent; }
.ce-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ce-phone { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
@media (max-width: 560px) { .ce-row2 { grid-template-columns: 1fr; } .ce h1 { font-size: 1.55rem; } }
.ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; border-radius: 10px; padding: 11px 20px;
  border: 1px solid var(--ce-pink); background: var(--ce-pink); color: #fff; cursor: pointer; text-decoration: none;
}
.ce-btn:hover { filter: brightness(0.95); }
.ce-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.ce-btn.ghost { background: #fff; color: var(--ce-ink); border-color: #cfc8c0; }
.ce-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ce-error { color: var(--ce-bad); font-weight: 600; margin: 8px 0 0; }
.ce-ok { color: var(--ce-good); font-weight: 600; margin: 8px 0 0; }
.ce-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.ce-steps span { font-size: 0.8rem; font-weight: 700; text-align: center; padding: 8px; border-radius: 8px; background: #ece8e3; color: var(--ce-muted); }
.ce-steps span.on { background: var(--ce-pink-soft); color: var(--ce-pink); }
.ce-agree { max-height: 360px; overflow: auto; border: 1px solid var(--ce-line); border-radius: 10px; padding: 16px 18px; background: #fbfaf8; font-size: 0.93rem; }
.ce-agree h3:first-child { margin-top: 0; }
.ce-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
.ce-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ce-pink); }
.ce-otp { font-family: "Space Mono", monospace; font-size: 1.6rem !important; letter-spacing: 0.4em; text-align: center; max-width: 240px; }
.ce-rounds { display: grid; gap: 12px; }
.ce-round { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ce-bar { height: 8px; border-radius: 6px; background: #ece8e3; overflow: hidden; margin-top: 8px; }
.ce-bar i { display: block; height: 100%; background: var(--ce-pink); }
.ce-muted { color: var(--ce-muted); }
.ce-list { margin: 0 0 12px; padding-left: 20px; }
.ce-list li { margin: 0 0 6px; }

/* Review screen */
.ce-review { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .ce-review { grid-template-columns: 1fr; } }
.ce-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 0.9rem; }
.ce-idea-line { font-size: 1.15rem; font-weight: 600; margin: 0 0 6px; }
.ce-idea-ar { font-size: 1.1rem; color: var(--ce-muted); margin: 0 0 14px; }
.ce-frame { border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; color: #fff; }
.ce-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ce-frame-none { padding: 24px; text-align: center; opacity: 0.8; font-size: 0.9rem; }
.ce-frame-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 4px; }
.ce-frame-nav button { font: inherit; border: 1px solid #cfc8c0; background: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.ce-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ce-dots button { width: 9px; height: 9px; border-radius: 50%; padding: 0; border: 0; background: #d2cbc3; cursor: pointer; }
.ce-dots button.on { background: var(--ce-pink); }
.ce-frame-label { font-weight: 700; margin: 8px 0 2px; }
.ce-frame-beat { color: var(--ce-muted); font-size: 0.93rem; }
.ce-panel { position: sticky; top: 16px; }
.ce-score { font-size: 2.4rem; font-weight: 800; text-align: center; line-height: 1; margin: 4px 0 2px; }
.ce-score.pos { color: var(--ce-good); }
.ce-score.neg { color: var(--ce-bad); }
.ce-score-word { text-align: center; color: var(--ce-muted); font-size: 0.86rem; margin: 0 0 10px; min-height: 1.3em; }
.ce input[type="range"] { width: 100%; accent-color: var(--ce-pink); height: 28px; }
.ce-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ce-muted); margin: -2px 0 14px; }
.ce-heart { display: flex; align-items: center; gap: 10px; width: 100%; font: inherit; font-weight: 600; text-align: left; border: 1px solid #cfc8c0; background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; margin: 0 0 14px; }
.ce-heart .h { font-size: 1.4rem; line-height: 1; color: #c9c2ba; }
.ce-heart.on { border-color: var(--ce-pink); background: var(--ce-pink-soft); }
.ce-heart.on .h { color: var(--ce-pink); }
.ce-count { float: right; font-weight: 500; color: var(--ce-muted); font-size: 0.8rem; }
.ce-count.short { color: var(--ce-bad); }
.ce-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.ce-nav button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #cfc8c0; background: #fff; font: inherit; font-size: 0.82rem; cursor: pointer; }
.ce-nav button.done { background: #e7f4ee; border-color: #b7dcc9; }
.ce-nav button.cur { outline: 2px solid var(--ce-pink); }
.ce-saved { font-size: 0.85rem; color: var(--ce-good); margin: 8px 0 0; min-height: 1.3em; }
.ce details summary { cursor: pointer; font-weight: 700; }

/* Landing */
.ce-kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ce-pink); margin: 0 0 8px; }
.ce-btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.ce-section { margin: 36px 0 14px !important; font-size: 1.3rem !important; }
.ce-howto { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ce-howto li { display: flex; gap: 12px; background: var(--ce-card); border: 1px solid var(--ce-line); border-radius: 14px; padding: 16px; }
.ce-howto p { margin: 4px 0 0; color: var(--ce-muted); font-size: 0.93rem; }
.ce-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--ce-pink); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ce-do { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ce-do .ce-card { margin: 0; padding: 18px; }
.ce-do p { margin: 6px 0 0; color: var(--ce-muted); font-size: 0.93rem; }
@media (max-width: 700px) { .ce-howto, .ce-do { grid-template-columns: 1fr; } }

/* Team admin */
.ce-admin .ce-main { max-width: 1180px; }
.ce-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ce-table th, .ce-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ce-line); vertical-align: top; }
.ce-table th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ce-muted); font-weight: 700; }
.ce-table tr.ce-off td { opacity: 0.5; }
.ce-table-wrap { overflow-x: auto; }
.ce-code { font-family: "Space Mono", monospace; font-size: 0.86rem; background: #f1ede8; padding: 2px 6px; border-radius: 5px; }
.ce-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ce-actions button { font: inherit; font-size: 0.8rem; border: 1px solid #cfc8c0; background: #fff; border-radius: 7px; padding: 4px 9px; cursor: pointer; }
.ce-admin-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 0 0 16px; }
.ce-admin-form .ce-field { margin: 0; }
.ce-admin-form .ce-btns { grid-column: 1 / -1; }
@media (max-width: 760px) { .ce-admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ce-invite { background: #fbfaf8; border: 1px solid var(--ce-line); border-radius: 10px; padding: 14px; }
.ce-rule { line-height: 2.3; }
.ce-rule input { width: 52px !important; padding: 4px 6px !important; text-align: center; display: inline-block; }
.ce-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.ce-stat { background: var(--ce-card); border: 1px solid var(--ce-line); border-radius: 12px; padding: 14px; }
.ce-stat b { display: block; font-size: 1.5rem; }
.ce-stat span { color: var(--ce-muted); font-size: 0.82rem; }
@media (max-width: 700px) { .ce-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ce-pill { display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #e7f4ee; color: var(--ce-good); }
.ce-pill.arch { background: #fbe9e7; color: var(--ce-bad); }
.ce-pill.warn { background: #fff4d6; color: #8a6200; }
.ce-comment { border-top: 1px solid var(--ce-line); padding: 10px 0; font-size: 0.9rem; }
.ce-comment p { margin: 4px 0 0; }
.ce a.ce-btn { color: #fff; }
.ce a.ce-btn.ghost { color: var(--ce-ink); }
.ce-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ce-chip { font: inherit; font-size: 0.88rem; border: 1px solid #cfc8c0; background: #fff; border-radius: 20px; padding: 6px 13px; cursor: pointer; }
.ce-chip.on { border-color: var(--ce-pink); background: var(--ce-pink-soft); color: var(--ce-pink); font-weight: 700; }
.ce-radio { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cfc8c0; border-radius: 9px; padding: 8px 14px; background: #fff; cursor: pointer; }
.ce-radio input { accent-color: var(--ce-pink); }
.ce-chips-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .ce-chips-3 { grid-template-columns: 1fr; } }

/* Curate: each idea laid out like the reviewer's screen */
.ce-curate { display: grid; gap: 16px; }
.ce-curate-row { background: var(--ce-card); border: 1px solid var(--ce-line); border-radius: 14px; padding: 18px 20px 20px; }
.ce-curate-row.starred { border-color: #e9b949; box-shadow: inset 5px 0 0 #e9b949; }
.ce-curate-row.out { opacity: 0.55; }
.ce-curate-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0 0 10px; }
.ce-curate-head h2 { margin: 0 0 4px; font-size: 1.25rem; }
.ce-curate-writeup { margin: 0 0 14px; max-width: 900px; }
.ce-curate-frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ce-curate-frame { margin: 0; }
.ce-curate-pic { border-radius: 10px; overflow: hidden; background: #111; aspect-ratio: 3 / 2; color: #fff; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0; }
.ce-curate-pic a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ce-curate-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-curate-frame figcaption { font-size: 0.84rem; margin-top: 6px; line-height: 1.4; }
.ce-curate-frame figcaption span { display: block; color: var(--ce-muted); margin-top: 2px; }
.ce-curate-actions { display: flex; gap: 8px; flex-shrink: 0; }
.ce-curate-actions button { font: inherit; font-size: 0.86rem; font-weight: 700; border-radius: 8px; padding: 7px 12px; cursor: pointer; border: 1px solid #cfc8c0; background: #fff; white-space: nowrap; }
.ce-star.on { background: #fff4d6; border-color: #e9b949; color: #8a6200; }
.ce-remove:hover { border-color: var(--ce-bad); color: var(--ce-bad); }
@media (max-width: 900px) { .ce-curate-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ce-curate-head { flex-direction: column; } }

/* "Why it could be great" (owner, Oct 18) */
.ce-why { background: var(--ce-pink-soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.ce-why b { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ce-pink); margin: 0 0 4px; }
.ce-why p { margin: 0; }
