/* ─────────────────────────────────────────────
   한국여행 플래너 — Korea Trip Planner
   단청(丹靑) 색채에서 가져온 팔레트: 감청 · 옥색 · 주홍
   ───────────────────────────────────────────── */

:root {
  --ink:        #16202e;
  --ink-2:      #3d4a5c;
  --ink-3:      #6b7889;
  --line:       #e2e6ec;
  --line-soft:  #eef1f5;
  --bg:         #ffffff;
  --bg-2:       #f6f8fa;
  --bg-3:       #eef2f6;

  --navy:       #1d3557;   /* 감청 */
  --jade:       #227d6b;   /* 옥색 */
  --vermilion:  #c8452e;   /* 주홍 */
  --gold:       #b6862c;

  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(22,32,46,.05), 0 6px 20px rgba(22,32,46,.07);
  --shadow-lg:  0 10px 40px rgba(22,32,46,.16);
  --maxw:       1180px;
  --header-h:   62px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:      #e8ecf2;
    --ink-2:    #b3bdcb;
    --ink-3:    #8391a3;
    --line:     #2b3542;
    --line-soft:#232c37;
    --bg:       #131922;
    --bg-2:     #19202b;
    --bg-3:     #202834;
    --navy:     #7fa5d8;
    --jade:     #4fb79f;
    --vermilion:#e8735a;
    --gold:     #d9ab52;
    --shadow:   0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.35);
    --shadow-lg:0 10px 40px rgba(0,0,0,.55);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Segoe UI", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: inherit; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── 헤더 ───────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  height: 100%; display: flex; align-items: center; gap: 18px;
}
.logo { display: flex; align-items: baseline; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo .mark {
  width: 27px; height: 27px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--jade) 55%, var(--vermilion));
  display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800;
  align-self: center;
}
.logo b { font-size: 16.5px; font-weight: 750; letter-spacing: -.02em; }
.logo span { font-size: 11.5px; color: var(--ink-3); font-weight: 500; }

nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main button {
  background: none; border: 0; padding: 8px 13px; border-radius: 8px;
  font-size: 14.5px; font-weight: 550; color: var(--ink-2); cursor: pointer;
}
nav.main button:hover { background: var(--bg-3); color: var(--ink); }
nav.main button[aria-current="page"] { color: var(--navy); background: var(--bg-3); font-weight: 700; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.lang-switch button {
  background: var(--bg); border: 0; padding: 6px 11px; font-size: 12.5px;
  font-weight: 700; color: var(--ink-3); cursor: pointer; letter-spacing: .03em;
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .lang-switch button[aria-pressed="true"] { color: #10151d; } }

.plan-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 19px; height: 19px; padding: 0 5px; margin-left: 6px;
  border-radius: 20px; background: var(--vermilion); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 19px;
}
.plan-badge:empty, .plan-badge[data-n="0"] { display: none; }

/* ── 뷰 전환 ────────────────────────── */
.view { display: none; }
.view.active { display: block; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ── 히어로 ─────────────────────────── */
.hero {
  padding: 68px 0 54px;
  background:
    radial-gradient(900px 420px at 15% -10%, color-mix(in srgb, var(--jade) 16%, transparent), transparent),
    radial-gradient(760px 380px at 88% 0%, color-mix(in srgb, var(--vermilion) 13%, transparent), transparent),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.16; letter-spacing: -.032em; font-weight: 800; max-width: 15ch;
}
.hero p { margin: 0 0 28px; font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 650; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #10151d; } }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }

.stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 42px; }
.stats div strong {
  display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  color: var(--navy); line-height: 1.2;
}
.stats div span { font-size: 13px; color: var(--ink-3); }

/* ── 섹션 헤더 ──────────────────────── */
.section { padding: 52px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 {
  margin: 0 0 6px; font-size: 25px; font-weight: 750; letter-spacing: -.025em;
}
.section-head p { margin: 0; color: var(--ink-3); font-size: 14.5px; }

/* ── 지도 ───────────────────────────── */
.map-layout {
  display: grid; gap: 22px;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  /* 지도가 세로로 긴 모양이라 폭을 넓게 쓰면 좌우 여백만 늘어난다 */
  max-width: 920px; margin: 0 auto;
}
.map-holder {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
}
.map-holder { display: flex; justify-content: center; }
/* 높이를 기준으로 맞춰야 지도 아래위에 빈 띠가 생기지 않는다 */
.kmap { display: block; height: min(78vh, 940px); width: auto; max-width: 100%; }
.kmap .rg { cursor: pointer; outline: none; }
.kmap .rg path {
  fill: var(--bg-3); stroke: var(--bg); stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill .14s ease;
}
.kmap .rg-labels { pointer-events: none; }
.kmap .rg-label {
  font-weight: 650; fill: var(--ink-3);
  text-anchor: middle; dominant-baseline: middle;
  user-select: none;
  paint-order: stroke; stroke: var(--bg-2); stroke-width: 4px;   /* 경계선 위에서도 읽히도록 */
  transition: fill .14s ease;
}
.kmap .rg-label.lg { font-size: 25px; }
.kmap .rg-label.md { font-size: 21px; }
.kmap .rg-label.sm { font-size: 17px; }
.kmap .rg:hover path,
.kmap .rg.active path { fill: var(--jade); }
.kmap .rg.pinned path { fill: var(--navy); }
/* 서울처럼 작은 지역은 글자가 도형 밖으로 삐져나간다.
   테두리를 도형과 같은 색으로 둬야 밖으로 나간 부분도 읽힌다. */
.kmap .rg-label.active { fill: #fff; stroke: var(--jade); }
.kmap .rg-label.pinned { stroke: var(--navy); }
.kmap .rg:focus-visible path { stroke: var(--vermilion); stroke-width: 3.5; }

.map-panel {
  position: sticky; top: calc(var(--header-h) + 14px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); padding: 17px 18px 18px; min-height: 220px;
}
.map-panel h3 { margin: 0 0 4px; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.map-panel .map-sub {
  margin: 0 0 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.map-panel h4 {
  margin: 14px 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--jade);
}
.map-list { list-style: none; margin: 0; padding: 0; }
.map-list li { margin: 0; }
.map-list li button {
  display: block; width: 100%; text-align: left; cursor: pointer;
  border: 0; background: none; padding: 3px 0;
  font: inherit; font-size: 13.5px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.map-list li button:hover { color: var(--vermilion); text-decoration: underline; }
.map-list li.more { font-size: 12px; color: var(--ink-3); padding-top: 3px; }
.map-panel .map-go { width: 100%; margin-top: 16px; }
.map-hint { margin: 0; color: var(--ink-3); font-size: 13.5px; }

@media (max-width: 860px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-panel { position: static; }
  .kmap { max-height: 60vh; }
}

/* ── 지역 그리드 ────────────────────── */
.region-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.region-card {
  position: relative; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); padding: 0; overflow: hidden;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
  display: flex; flex-direction: column;
}
.region-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.region-card .thumb { aspect-ratio: 16/9; }
.region-card .body { padding: 13px 15px 15px; }
.region-card h3 { margin: 0 0 3px; font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.region-card .en { font-size: 12px; color: var(--ink-3); display: block; margin-bottom: 7px; }
.region-card p {
  margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.region-card .hub {
  margin-top: 9px; font-size: 11.5px; color: var(--jade); font-weight: 600;
}

/* ── 썸네일 (사진 지연 로딩) ───────── */
.thumb {
  position: relative; background: var(--bg-3); overflow: hidden;
  display: grid; place-items: center;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .45s ease;
}
/* 맛집 사진은 그 가게가 아니라 그 음식의 사진이다. 사진이 실제로 뜬 뒤에만 밝힌다. */
.photo-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 10px 6px; font-size: 11px; line-height: 1.3; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.thumb.has-photo .photo-note { opacity: 1; }
.thumb img.loaded { opacity: 1; }
.thumb .fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 34px; opacity: .5;
}
.thumb.has-photo .fallback { display: none; }

/* ── 탐색 툴바 ──────────────────────── */
.tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; margin-bottom: 20px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  background: none; border: 0; border-bottom: 2.5px solid transparent;
  padding: 11px 15px; font-size: 15px; font-weight: 600; color: var(--ink-3);
  cursor: pointer; white-space: nowrap; margin-bottom: -1px;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }

.toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 11.5px; font-weight: 650; color: var(--ink-3); letter-spacing: .01em; }
select, input[type="text"], input[type="date"], textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px;
  padding: 8px 11px; font-size: 14px; outline: none; min-width: 0;
}
select:focus, input:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 14%, transparent); }
.field.grow { flex: 1 1 220px; }
.field.grow input { width: 100%; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  border: 1px solid var(--line); background: var(--bg); border-radius: 20px;
  padding: 5px 12px; font-size: 12.5px; font-weight: 550; color: var(--ink-2); cursor: pointer;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 650; }
@media (prefers-color-scheme: dark) { .chip[aria-pressed="true"] { color: #10151d; } }

.result-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px; font-size: 13.5px; color: var(--ink-3);
}

/* ── 카드 그리드 ────────────────────── */
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
}
.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--navy) 45%, var(--line)); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 3/2; cursor: pointer; }
.card .body { padding: 14px 15px 12px; display: flex; flex-direction: column; flex: 1; }
.card .kicker {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--jade); margin-bottom: 6px;
}
.card .kicker .dot { color: var(--line); }
.card h3 {
  margin: 0 0 2px; font-size: 16.5px; font-weight: 700; letter-spacing: -.018em;
  line-height: 1.3; cursor: pointer;
}
.card h3:hover { color: var(--navy); }
.card .sub { font-size: 12px; color: var(--ink-3); margin-bottom: 9px; }
.card p.desc {
  margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.meta-rows { font-size: 12.5px; color: var(--ink-2); margin-bottom: 11px; display: grid; gap: 3px; }
.meta-rows b { color: var(--ink-3); font-weight: 600; margin-right: 5px; }
.card .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 5px;
  background: var(--bg-3); color: var(--ink-2); font-weight: 550;
}
.card .actions { margin-top: auto; display: flex; gap: 7px; flex-wrap: wrap; }

.badge-famous, .badge-hidden {
  font-size: 10.5px; font-weight: 750; padding: 2px 7px; border-radius: 5px; letter-spacing: .02em;
}
.badge-famous { background: color-mix(in srgb, var(--vermilion) 15%, transparent); color: var(--vermilion); }
.badge-hidden { background: color-mix(in srgb, var(--jade) 16%, transparent); color: var(--jade); }

.empty {
  padding: 60px 20px; text-align: center; color: var(--ink-3);
  border: 1px dashed var(--line); border-radius: var(--radius);
}

/* ── 모달 ───────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(12,17,24,.55);
  display: grid; place-items: center; padding: 20px;
  backdrop-filter: blur(3px); animation: fade .18s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--bg); border-radius: 18px; box-shadow: var(--shadow-lg);
  width: min(660px, 100%); max-height: 88vh; overflow-y: auto; position: relative;
}
.modal .thumb { aspect-ratio: 16/9; border-radius: 18px 18px 0 0; }
.modal .modal-body { padding: 22px 26px 26px; }
.modal h2 { margin: 0 0 3px; font-size: 24px; font-weight: 750; letter-spacing: -.025em; }
.modal .modal-sub { color: var(--ink-3); font-size: 14px; margin-bottom: 16px; }
.modal p.long { font-size: 15px; color: var(--ink-2); line-height: 1.72; margin: 0 0 18px; }
.modal .info-grid {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; margin-bottom: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.modal .info-grid > div { background: var(--bg); padding: 11px 14px; }
.modal .info-grid b { display: block; font-size: 11px; color: var(--ink-3); font-weight: 650; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 2px; }
.modal .info-grid span { font-size: 14px; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(15,20,28,.6); color: #fff; font-size: 17px; line-height: 1;
}
.modal-close:hover { background: rgba(15,20,28,.85); }

.day-picker { display: grid; gap: 7px; }
.day-picker button {
  text-align: left; padding: 11px 14px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; font-weight: 600;
}
.day-picker button:hover { border-color: var(--navy); background: var(--bg-2); }
.day-picker button small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }

/* ── 플래너 ─────────────────────────── */
.planner-head {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end;
  padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.planner-head .field.grow { flex: 1 1 280px; }
.planner-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-left: auto; }

.day {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden; background: var(--bg);
}
.day-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.day-head h3 { margin: 0; font-size: 16.5px; font-weight: 750; letter-spacing: -.015em; }
.day-head .date { font-size: 12.5px; color: var(--ink-3); }
.day-head .count { font-size: 12.5px; color: var(--ink-3); }
.day-head .spacer { margin-left: auto; }

.day-items { list-style: none; margin: 0; padding: 0; }
.day-items li {
  display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.day-items li:last-child { border-bottom: 0; }
.day-items .idx {
  width: 23px; height: 23px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 750;
  display: grid; place-items: center;
}
@media (prefers-color-scheme: dark) { .day-items .idx { color: #10151d; } }
.day-items .item-main { flex: 1; min-width: 0; }
.day-items .item-main strong { font-size: 15px; font-weight: 650; display: block; letter-spacing: -.012em; }
.day-items .item-main .m {
  font-size: 12.5px; color: var(--ink-3); display: flex; gap: 7px; flex-wrap: wrap; margin-top: 1px;
}
.day-items textarea {
  width: 100%; margin-top: 8px; resize: vertical; min-height: 34px;
  font-size: 13px; padding: 6px 9px; border-radius: 7px; background: var(--bg-2);
}
.day-items .item-tools { display: flex; gap: 3px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; max-width: 130px; }
.icon-btn {
  width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line);
  background: var(--bg); cursor: pointer; font-size: 12.5px; line-height: 1;
  display: grid; place-items: center; color: var(--ink-2);
}
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn.danger:hover { border-color: var(--vermilion); color: var(--vermilion); }

.day-empty { padding: 22px 16px; color: var(--ink-3); font-size: 13.5px; text-align: center; }

.notice {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 10px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  font-size: 13.5px;
}

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 30px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 푸터 ───────────────────────────── */
footer.site {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 30px 0; margin-top: 50px; font-size: 12.5px; color: var(--ink-3);
}
footer.site p { margin: 0 0 5px; }

/* ── 반응형 ─────────────────────────── */
@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .logo span { display: none; }
  nav.main button { padding: 7px 9px; font-size: 13.5px; }
  .hero { padding: 44px 0 38px; }
  .stats { gap: 24px; }
  .stats div strong { font-size: 25px; }
  .grid { grid-template-columns: 1fr; }
  .modal .modal-body { padding: 18px 18px 22px; }
  .day-items li { flex-wrap: wrap; }
  .day-items .item-tools { max-width: none; width: 100%; justify-content: flex-start; margin-top: 6px; }
}

/* ── 인쇄 ───────────────────────────── */
@media print {
  header.site, footer.site, .planner-actions, .item-tools,
  .tabs, .toolbar, .chips, .notice, .hero-actions { display: none !important; }
  .view { display: none !important; }
  .view#view-planner { display: block !important; }
  body { background: #fff; color: #000; }
  .day { break-inside: avoid; border-color: #ccc; }
  .day-head { background: #f2f2f2; }
  a { text-decoration: none; }
}
