:root {
  --ink: #1f241d;
  --muted: #6d7469;
  --paper: #f5f3ec;
  --panel: #fbfaf6;
  --line: #deddd3;
  --accent: #d8ff62;
  --accent-deep: #9fc42e;
  --orange: #ff825c;
  --blue: #63a8ff;
  --violet: #9d86ff;
  --shadow: 0 18px 60px rgba(33, 37, 29, .14);
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: -.02em;
}

button, input, textarea, select { font: inherit; }
button { color: inherit; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px;
  color: #f6f5ef;
  background: #171a15;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.brand-mark {
  width: 43px; height: 43px; border-radius: 13px;
  display: grid; place-items: center;
  color: #131611; background: var(--accent);
  font: 800 25px/1 Arial, sans-serif;
  transform: rotate(-3deg);
}
.brand p, .brand h1 { margin: 0; }
.brand p { color: #8f9789; font: 700 9px/1.3 Arial, sans-serif; letter-spacing: .13em; }
.brand h1 { margin-top: 3px; font-size: 18px; letter-spacing: -.05em; }

.section-kicker, .eyebrow { margin: 0; color: #939a8e; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.summary-panel { padding: 19px; border: 1px solid #353a30; border-radius: 19px; background: #20241d; }
.score-row { margin: 10px 0 12px; display: flex; align-items: baseline; gap: 9px; }
.score-row strong { font: 700 38px/1 Arial, sans-serif; letter-spacing: -.05em; }
.score-row span { color: #aeb4a8; font-size: 11px; }
.progress-track { height: 7px; border-radius: 999px; background: #d7d8ce; overflow: hidden; }
.progress-track.large { background: #3c4137; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .3s ease; }
.stat-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-grid div { padding-right: 8px; border-right: 1px solid #373c33; }
.stat-grid div:last-child { border: 0; }
.stat-grid strong, .stat-grid span { display: block; }
.stat-grid strong { font: 700 20px/1.2 Arial, sans-serif; }
.stat-grid span { margin-top: 4px; color: #8f9789; font-size: 10px; }

.filters { margin-top: 30px; }
.filters .section-kicker { padding: 0 10px 9px; }
.filter-chip { width: 100%; padding: 11px 10px; border: 0; border-radius: 11px; color: #adb3a8; background: transparent; display: flex; gap: 10px; align-items: center; font-size: 13px; text-align: left; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { color: white; background: #252922; }
.filter-chip b { margin-left: auto; padding: 2px 7px; color: #9ca295; background: #30352d; border-radius: 99px; font: 600 10px/1.5 Arial, sans-serif; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #858b81; }
.dot.idea { background: var(--violet); }
.dot.working { background: var(--orange); }
.dot.done { background: var(--accent); }

.publish-counter { margin-top: 22px; padding: 15px 12px 11px; border: 1px solid #353a30; border-radius: 14px; background: #20241d; }
.publish-counter .section-kicker { padding: 0 2px 10px; }
.counter-head, .counter-row { display: grid; grid-template-columns: 1fr 44px 44px; align-items: center; gap: 6px; }
.counter-head { padding: 0 7px 5px; color: #71796d; font-size: 9px; font-weight: 700; text-align: center; }
.counter-head span:first-child { text-align: left; }
.counter-row { min-height: 34px; padding: 0 7px; border-top: 1px solid #30352d; }
.counter-row strong { color: #b7bdb2; font-size: 11px; }
.counter-row span { color: #f6f5ef; font: 700 13px/1 Arial, sans-serif; text-align: center; }
.counter-row span:last-child { color: var(--accent); }

.sidebar-actions { margin-top: auto; padding-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ghost-button { min-height: 35px; padding: 8px; border: 1px solid #3b4037; border-radius: 9px; color: #b5bbb0; background: transparent; font-size: 10px; text-align: center; cursor: pointer; }
.ghost-button:hover { color: white; border-color: #666e60; }
.file-button input { display: none; }
.privacy-note { margin: 13px 0 0; color: #7f8679; font-size: 9px; text-align: center; }
.privacy-note span { color: var(--accent); }

.main-content { min-width: 0; padding: 36px clamp(22px, 4vw, 58px) 60px; }
.topbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.topbar h2 { margin: 5px 0 0; font-size: clamp(27px, 3vw, 40px); line-height: 1.1; letter-spacing: -.055em; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.search-box { width: 170px; height: 39px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.56); display: flex; align-items: center; gap: 7px; }
.search-box span { color: #93988f; font-size: 20px; transform: rotate(-15deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.month-nav { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.month-nav button { height: 37px; padding: 0 11px; border: 0; border-right: 1px solid var(--line); background: rgba(255,255,255,.55); font-weight: 600; cursor: pointer; }
.month-nav button:last-child { border: 0; }
.month-nav button:hover { background: white; }
.primary-button, .secondary-button, .danger-button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 11px; font-size: 12px; font-weight: 700; cursor: pointer; }
.primary-button { color: #171a15; background: var(--accent); box-shadow: inset 0 -2px 0 rgba(0,0,0,.11); }
.primary-button:hover { background: #e3ff8d; transform: translateY(-1px); }
.primary-button span { margin-right: 3px; font-size: 18px; }
.secondary-button { background: #ebeae3; }
.danger-button { color: #cc4f36; background: #fff0eb; }

.calendar-wrap { margin-top: 27px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.45); overflow: hidden; box-shadow: 0 5px 28px rgba(38, 42, 34, .04); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { min-height: 36px; align-items: center; color: #90958c; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; text-align: center; }
.calendar-grid { grid-auto-rows: minmax(144px, auto); background: var(--line); gap: 1px; }
.calendar-day { min-height: 144px; height: auto; padding: 8px; background: #fbfaf6; overflow: visible; }
.calendar-day.other-month { background: #f0efe8; }
.calendar-day.other-month .day-number { color: #b8bbb4; }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--ink); }
.day-top { min-height: 23px; display: flex; justify-content: space-between; align-items: center; }
.day-number { width: 24px; height: 24px; display: grid; place-items: center; color: #676e63; font: 600 11px/1 Arial, sans-serif; }
.mobile-day-date { display: none; }
.today .day-number { color: #171a15; background: var(--accent); border-radius: 8px; }
.add-day { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 7px; color: #8c9289; background: transparent; opacity: 0; cursor: pointer; }
.calendar-day:hover .add-day { opacity: 1; }
.add-day:hover { background: #e8e8df; }
.day-cards { display: grid; gap: 4px; }
.content-card { position: relative; width: 100%; min-width: 0; padding: 5px 7px 5px 10px; border: 0; border-radius: 8px; background: #eef1e9; display: block; text-align: left; cursor: pointer; overflow: hidden; }
.content-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #9fa69a; }
.content-card[data-status="idea"], .content-card[data-status="working"] { background: #eceeea; }
.content-card[data-status="idea"]::before, .content-card[data-status="working"]::before { background: #a5aaa2; }
.content-card[data-status="done"].family-then { background: #f7e7e5; }
.content-card[data-status="done"].family-then::before { background: #c9877f; }
.content-card[data-status="done"].family-hero { background: #e5eef8; }
.content-card[data-status="done"].family-hero::before { background: #7fa5ce; }
.content-card[data-status="done"].family-body { background: #fbf3d8; }
.content-card[data-status="done"].family-body::before { background: #d1ae43; }
.content-card[data-status="done"].family-healing { background: #eee7f7; }
.content-card[data-status="done"].family-healing::before { background: #9d83be; }
.content-card[data-status="done"].family-press { background: #e5f3ee; }
.content-card[data-status="done"].family-press::before { background: #71a997; }
.content-card[data-status="done"].family-ranking { background: #e8edf5; }
.content-card[data-status="done"].family-ranking::before { background: #8397b8; }
.content-card[data-status="done"].family-geugyaenu { background: #f1e8f3; }
.content-card[data-status="done"].family-geugyaenu::before { background: #a284aa; }
.content-card:hover { filter: brightness(.97); transform: translateY(-1px); }
.content-card-title { display: -webkit-box; padding-right: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10px; font-weight: 700; line-height: 1.45; }
.blog-indicator { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font: 700 6px/1 Arial, sans-serif; }
.blog-indicator.is-published { color: #fff; border-color: #2f7d48; background: #2f7d48; }
.blog-indicator.is-unpublished { color: #9da39a; background: transparent; opacity: .58; }
.content-type-tag { margin-right: 4px; color: #526035; font-weight: 900; white-space: nowrap; }
.card-meta { margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.mini-progress { flex: 1; height: 3px; border-radius: 99px; background: rgba(32,36,29,.12); overflow: hidden; }
.mini-progress i { display: block; height: 100%; background: currentColor; }
.card-meta small { color: #737a70; font: 600 8px/1 Arial, sans-serif; white-space: nowrap; }
.card-meta .card-status { max-width: 42px; overflow: hidden; text-overflow: ellipsis; }
.upcoming { margin-top: 30px; }
.upcoming-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; }
.upcoming-heading h3 { margin: 3px 0 0; font-size: 19px; letter-spacing: -.04em; }
.upcoming-heading > span { color: #8b9188; font-size: 11px; }
.upcoming-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upcoming-item { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); cursor: pointer; }
.upcoming-item:hover { background: white; }
.upcoming-date { color: #80877c; font: 600 10px/1 Arial, sans-serif; }
.upcoming-item h4 { min-height: 39px; margin: 8px 0 12px; font-size: 12px; line-height: 1.55; }
.status-line { display: flex; align-items: center; gap: 6px; color: #747b71; font-size: 9px; }
.status-line .dot { width: 6px; height: 6px; }
.empty-state { grid-column: 1 / -1; padding: 26px; border: 1px dashed var(--line); border-radius: 14px; color: #858b81; text-align: center; font-size: 12px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 10; padding: 22px; background: rgba(18, 21, 16, .62); backdrop-filter: blur(5px); display: grid; place-items: center; }
.modal-backdrop[hidden] { display: none; }
.editor-modal { width: min(590px, 100%); max-height: calc(100vh - 44px); padding: 25px; border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); overflow: auto; animation: modalIn .18s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.editor-header { display: flex; justify-content: space-between; align-items: start; }
.editor-header h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.05em; }
.icon-button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: #6d7469; background: #e9e8e1; font-size: 25px; line-height: 1; cursor: pointer; }
#contentForm { margin-top: 22px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field.full { margin-bottom: 14px; }
.field > span, .field-heading > label, .checklist legend, .content-type-options legend { color: #676e63; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d9d8cf; border-radius: 11px; outline: 0; color: var(--ink); background: #fff; }
.field input, .field select { height: 42px; padding: 0 12px; }
.field textarea { padding: 11px 12px; resize: vertical; line-height: 1.55; }
.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-toggle-button { min-width: 48px; min-height: 28px; padding: 0 10px; border: 1px solid #c9c9bf; border-radius: 8px; color: #535a4f; background: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.field-toggle-button:hover { border-color: #9aaa63; background: #f2f7df; }
.field[hidden], .copy-field-actions button[hidden], .project-actions button[hidden], .field-toggle-button[hidden] { display: none; }
#notesInput { height: 94px; min-height: 94px; resize: none; overflow-y: auto; }
.narration-field.is-expanded #notesInput { min-height: 94px; overflow-y: hidden; }
.video-analysis-field textarea { height: 94px; min-height: 94px; resize: none; overflow-y: auto; }
.video-analysis-field.is-expanded textarea { min-height: 94px; overflow-y: hidden; }
.bgm-prompt-input { height: 70px; min-height: 70px; resize: none !important; overflow-y: auto; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #9aaa63; box-shadow: 0 0 0 3px rgba(216,255,98,.3); }
#statusInput:disabled { color: var(--ink); background: #f0f0e9; cursor: default; opacity: 1; }
.content-type-options { margin: 0 0 14px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.content-type-options legend { grid-column: 1 / -1; margin-bottom: 2px; }
.content-type-options label { cursor: pointer; }
.content-type-options input { position: absolute; opacity: 0; pointer-events: none; }
.content-type-options label > span { min-height: 42px; padding: 0 10px; border: 1px solid #d9d8cf; border-radius: 11px; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; text-align: center; }
.content-type-options input:checked + span { color: #20251c; border-color: #a9c73c; background: var(--accent); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.content-type-options input:focus-visible + span { outline: 3px solid rgba(99,168,255,.35); outline-offset: 2px; }
.checklist { margin: 18px 0; padding: 0; border: 0; }
.checklist legend { margin-bottom: 9px; }
.checklist { display: grid; grid-template-columns: repeat(4, minmax(85px, 1fr)); gap: 5px; overflow-x: auto; }
.checklist[hidden] { display: none; }
.checklist legend { grid-column: 1 / -1; }
.checklist label { min-height: 40px; padding: 0 4px; border: 1px solid #dbdad2; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; white-space: nowrap; font-weight: 600; cursor: pointer; }
.checklist .custom-check { flex-shrink: 0; width: 14px; height: 14px; }
.checklist input:focus-visible + .custom-check { outline: 2px solid #3478b9; outline-offset: 2px; }
#fixedNotes { height: 70px; min-height: 70px; resize: none; font-size: 14px; background: #f8f9f3; overflow-y: auto; }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 17px; height: 17px; border: 1.5px solid #adb2aa; border-radius: 5px; display: grid; place-items: center; }
.checklist input:checked + .custom-check { border-color: var(--accent-deep); background: var(--accent); }
.checklist input:checked + .custom-check::after { content: "✓"; color: #20251c; font-size: 11px; font-weight: 900; }
.live-progress { margin: 6px 0 18px; padding: 13px 14px; border-radius: 12px; background: #ecece4; }
.live-progress > div:first-child { margin-bottom: 8px; display: flex; justify-content: space-between; color: #6c7368; font-size: 10px; }
.live-progress strong { color: var(--ink); font: 700 12px/1 Arial, sans-serif; }
.copy-field-actions { margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.url-field { margin-bottom: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.url-link { min-height: 42px; padding: 0 13px; border: 1px solid #262b22; border-radius: 10px; color: #fff; background: #20251d; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.url-link:hover { background: #343b2e; transform: translateY(-1px); }
.url-link[hidden] { display: none; }
.blog-registration { min-height: 44px; padding: 0 13px; border: 1px solid #dbdad2; border-radius: 11px; background: #fff; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; cursor: pointer; }
.blog-registration[hidden] { display: none; }
.blog-registration input { position: absolute; opacity: 0; pointer-events: none; }
.blog-registration input:checked + .custom-check { border-color: var(--accent-deep); background: var(--accent); }
.blog-registration input:checked + .custom-check::after { content: "✓"; color: #20251c; font-size: 11px; font-weight: 900; }
.blog-registration input:focus-visible + .custom-check { outline: 2px solid #3478b9; outline-offset: 2px; }
.project-launch { margin: 0 0 14px; padding: 14px; border: 1px solid #cfd8ad; border-radius: 14px; background: #f2f7df; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.project-launch-copy { min-width: 0; display: flex; align-items: center; gap: 10px; }
.project-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; font-size: 16px; }
.project-launch strong { display: block; font-size: 11px; }
.project-launch p { margin: 3px 0 0; color: #747d64; font-size: 9px; line-height: 1.45; }
.project-title-row { display: flex; align-items: center; gap: 7px; }
.project-actions { flex: 0 0 auto; display: flex; gap: 7px; }
.project-button { flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 1px solid #262b22; border-radius: 10px; color: white; background: #20251d; font-size: 10px; font-weight: 700; cursor: pointer; }
.project-button:hover { background: #343b2e; transform: translateY(-1px); }
.project-button span { margin-left: 3px; }
.project-handoff { margin: -6px 0 14px; padding: 12px; border: 1px solid #d8dec3; border-radius: 12px; background: #fbfdef; }
.project-handoff[hidden] { display: none; }
.project-handoff-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-handoff strong { color: #343b2e; font-size: 10px; }
.project-handoff p { margin: 6px 0 9px; color: #6d755f; font-size: 9px; line-height: 1.5; }
.project-handoff kbd { padding: 1px 5px; border: 1px solid #c8cdb7; border-bottom-width: 2px; border-radius: 5px; color: #30362b; background: #fff; font: 700 9px/1.5 Arial, sans-serif; }
.project-handoff textarea { width: 100%; padding: 9px 10px; border: 1px solid #d7dacd; border-radius: 9px; outline: 0; color: #3b4037; background: #fff; resize: vertical; font: 400 9px/1.5 Arial, sans-serif; }
.project-handoff textarea:focus { border-color: #9aaa63; box-shadow: 0 0 0 3px rgba(216,255,98,.25); }
.copy-project-button { min-height: 38px; padding: 0 12px; border: 1px solid #9da783; border-radius: 10px; color: #39412f; background: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.copy-project-button:hover { background: #f2f7df; }
.diorama-project-button { min-height: 38px; padding: 0 12px; border: 1px solid #8b6f47; border-radius: 10px; color: #fff; background: #8b6f47; font-size: 10px; font-weight: 800; cursor: pointer; }
.diorama-project-button:hover { background: #725936; transform: translateY(-1px); }
.sandart-project-button { min-height: 38px; padding: 0 12px; border: 1px solid #b57925; border-radius: 10px; color: #fff; background: #c38a3a; font-size: 10px; font-weight: 800; cursor: pointer; }
.sandart-project-button:hover { background: #a86f20; transform: translateY(-1px); }
.editor-footer { margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.editor-footer > div { display: flex; gap: 8px; }

.toast { position: fixed; z-index: 20; right: 25px; bottom: 25px; padding: 12px 16px; border-radius: 11px; color: white; background: #20241d; box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(9px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 220px 1fr; }
  .sidebar { padding: 23px 16px; }
  .topbar { align-items: start; }
  .top-actions { flex-wrap: wrap; justify-content: end; }
  .search-box { width: 150px; }
  .calendar-day { padding: 7px; }
}

@media (max-width: 780px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; padding: 18px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 15px; }
  .brand { margin: 0; }
  .summary-panel { grid-row: span 2; }
  .filters { margin: 0; }
  .filters .filter-chip { padding: 7px 9px; }
  .sidebar-actions, .privacy-note { display: none; }
  .main-content { padding: 25px 14px 45px; }
  .topbar { display: block; }
  .top-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; justify-content: normal; }
  .search-box { width: 100%; }
  .month-nav { justify-self: end; }
  .primary-button#addContentBtn { grid-column: 1 / -1; }
  .calendar-wrap { overflow: hidden; border: 0; background: transparent; box-shadow: none; }
  .calendar-weekdays { display: none; }
  .calendar-grid { min-width: 0; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; background: transparent; }
  .calendar-day { display: none; min-height: 0; padding: 10px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
  .calendar-day.has-items, .calendar-day.today { display: block; }
  .calendar-day.other-month { display: none; }
  .day-top { min-height: 28px; }
  .day-number { display: none; }
  .mobile-day-date { display: block; color: #596055; font-size: 12px; font-weight: 800; }
  .calendar-day.today .mobile-day-date::after { content: " · 오늘"; color: #759315; }
  .add-day { opacity: 1; }
  .day-cards { margin-top: 5px; gap: 6px; }
  .content-card { padding: 9px 10px 8px 12px; }
  .content-card-title { font-size: 12px; }
  .card-meta small { font-size: 9px; }
  .upcoming-list { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
  .sidebar { display: block; }
  .summary-panel { margin-top: 16px; }
  .filters { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; }
  .filters .section-kicker { grid-column: 1 / -1; }
  .field-row, .content-type-options, .url-field { grid-template-columns: 1fr; }
  .content-type-options legend { grid-column: 1; }
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; }
  .project-launch { align-items: stretch; flex-direction: column; }
  .copy-field-actions { grid-template-columns: 1fr; }
  .project-actions { display: grid; }
  .project-button { width: 100%; }
  .editor-footer { gap: 12px; }
  .modal-backdrop { padding: 8px; }
  .editor-modal { max-height: calc(100vh - 16px); padding: 18px 14px; border-radius: 16px; }
}
