/* ════════════════════════════════════════════════════════════════
   오늘의 기분예보 (moodcast) — "마음 기상청" 디자인 시스템
   포근함 · 잔잔함 · 아날로그 · 토닥임. 저채도·눈편함이 1원칙.
   토큰값은 PLAN [5] 5.4 그대로.
   ════════════════════════════════════════════════════════════════ */
:root {
  /* A. 베이스 & 브랜드 */
  --bg: #FBF6EC;
  --bg-grad: #F4EAD9;
  --surface: #FFFCF6;
  --surface-sunk: #F2E9DA;
  --ink: #4A4036;
  --muted: #8C8170;
  --faint: #BCB2A0;
  --line: #E8DDC9;
  --accent: #E5A24C;
  --accent-soft: #F6D9A8;
  --accent-deep: #C77F2E;
  --focus: #3E8FB0;

  /* B. 6날씨 토큰 (weather.js 와 동일 hex — 캘린더/카드 공통) */
  --w-sunny-fill: #FBE3A2;  --w-sunny-ink: #C8862B;  --w-sunny-glow: #FFD46B;
  --w-partly-fill: #CFE6F2; --w-partly-ink: #5B89A6; --w-partly-glow: #A9D4EC;
  --w-cloudy-fill: #D9D3DA; --w-cloudy-ink: #6E6678; --w-cloudy-glow: #C7BFCE;
  --w-rainy-fill: #B9C6D4;  --w-rainy-ink: #4F6378;  --w-rainy-glow: #9DB2C6;
  --w-storm-fill: #9E96C2;  --w-storm-ink: #3D3568;  --w-storm-glow: #B9A7E0;
  --w-snow-fill: #E4ECF4;   --w-snow-ink: #7E93A8;   --w-snow-glow: #F2F7FC;

  /* C. 타이포 스케일 */
  --fs-hero: clamp(1.6rem, 6vw, 2.4rem);
  --fs-title: clamp(1.2rem, 4.5vw, 1.6rem);
  --fs-copy: 1.05rem;
  --fs-body: 0.95rem;
  --fs-cal: 0.8rem;
  --fs-cap: 0.72rem;

  /* D. 스페이싱 · 라운드 · 그림자 */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px;
  --r-chip: 18px; --r-card: 22px; --r-modal: 26px;
  --r-pill: 999px; --r-cell: 12px;
  --sh-card: 0 6px 20px rgba(124, 104, 72, .12);
  --sh-pop: 0 12px 34px rgba(124, 104, 72, .20);
  --sh-chip: 0 2px 8px rgba(124, 104, 72, .10);

  /* E. 모션 이징 */
  --ease-rise: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
  --ease-bounce: cubic-bezier(.34, 1.4, .5, 1);
}
/* ===== 3-way theme (Light/Dark/System) — base :root above = native LIGHT. Opposite (dark) WCAG-aware auto-generated (contrast-solving ink/accent vs worst-case surface). ===== */
:root[data-theme="dark"]{
  --bg: #1e1b15;
  --bg-grad: #090806;
  --surface: #2d2820;
  --surface-sunk: #090806;
  --ink: #c0b4a9;
  --muted: #9b9182;
  --faint: #82745c;
  --line: rgba(255,255,255,0.12);
  --accent: #be771c;
  --accent-soft: #b87b13;
  --accent-deep: #bc782b;
  --focus: #3f90b2;
  --w-sunny-fill: #ad8007;
  --w-sunny-ink: #dfae6a;
  --w-partly-fill: #348fbf;
  --w-partly-ink: #9fbacb;
  --w-cloudy-fill: #938296;
  --w-cloudy-ink: #b9b4bf;
  --w-rainy-fill: #6f8aa7;
  --w-rainy-ink: #aab8c7;
  --w-storm-fill: #8a80b5;
  --w-storm-ink: #b8b2d8;
  --w-snow-fill: #5a8bbc;
  --w-snow-ink: #aab8c6;
}












* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Gowun Dodum", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 50% -8%, var(--bg-grad) 0%, rgba(244, 234, 217, 0) 62%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.gaegu { font-family: "Gaegu", system-ui, sans-serif; }

/* 떠다니는 구름 결 (은은한 배경 모티프) */
#sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#sky::before, #sky::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
  filter: blur(6px);
}
#sky::before { width: 320px; height: 160px; left: -60px; top: 12%; animation: drift 46s linear infinite; }
#sky::after  { width: 240px; height: 130px; right: -40px; top: 58%; animation: drift 60s linear infinite reverse; opacity: .7; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(40px); } }

/* ── layout ── */
header.site {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: calc(var(--s5) + env(safe-area-inset-top, 0px)) var(--s4) var(--s2);
}
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(229, 162, 76, .18);
  animation: pulse-dot 2.6s var(--ease-soft) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(229, 162, 76, .22); }
  50% { box-shadow: 0 0 0 6px rgba(229, 162, 76, .08); }
}
.brand-name { font-family: "Gaegu", sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: .01em; }
.brand-live {
  font-size: .62rem; color: var(--accent-deep); letter-spacing: .12em;
  border: 1px solid var(--accent-soft); border-radius: var(--r-pill);
  padding: 1px 8px; background: rgba(246, 217, 168, .25);
}
main { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; padding: var(--s3) var(--s4) var(--s7); }
.site-foot { position: relative; z-index: 2; text-align: center; padding: var(--s4) var(--s4) calc(var(--s6) + env(safe-area-inset-bottom, 0px)); }
.info-note { font-size: var(--fs-cap); color: var(--faint); letter-spacing: .02em; }

.view { display: none; }
.view.active { display: block; animation: rise .42s var(--ease-rise) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── hero ── */
.hero { text-align: center; padding: var(--s5) 0 var(--s4); }
.hero-eyebrow {
  font-size: var(--fs-cap); color: var(--accent-deep); letter-spacing: .18em;
  margin: 0 0 var(--s2); text-transform: none;
}
.hero h1 {
  font-family: "Gaegu", sans-serif; font-weight: 700;
  font-size: var(--fs-hero); line-height: 1.32; margin: 0; color: var(--ink);
}
.hero-sub { color: var(--muted); margin: var(--s3) auto 0; max-width: 22rem; font-size: var(--fs-copy); line-height: 1.6; }

/* ── 6날씨 셀렉터 ── */
.selector { margin-top: var(--s4); }
.chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3);
}
.chip {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1.5px solid var(--line); border-radius: var(--r-chip);
  background: var(--surface); color: var(--muted);
  padding: var(--s3) var(--s2) var(--s2);
  box-shadow: var(--sh-chip);
  transition: transform .18s var(--ease-soft), border-color .2s, background .2s, box-shadow .3s, color .2s;
  font-family: "Gowun Dodum", sans-serif;
}
.chip:hover { transform: translateY(-2px); border-color: var(--wc-fill, var(--accent-soft)); }
.chip .chip-icon { width: 38px; height: 38px; display: block; color: var(--wc-ink, var(--muted)); }
.chip .chip-icon svg { width: 100%; height: 100%; display: block; }
.chip .chip-label { font-size: .82rem; letter-spacing: .01em; }
.chip[aria-checked="true"] {
  background: var(--wc-fill); border-color: var(--wc-ink); color: var(--wc-ink);
  box-shadow: var(--sh-chip), 0 0 0 0 var(--wc-glow);
  transform: translateY(-1px);
}
.chip[aria-checked="true"] .chip-icon { color: var(--wc-ink); }
.chip[aria-checked="true"] .chip-label { font-weight: 400; }
/* 선택 시 체크 점화 */
.chip[aria-checked="true"]::after {
  content: "✓"; position: absolute; top: 6px; right: 9px;
  font-size: .7rem; color: var(--wc-ink); opacity: .85;
}
.chip.firing { animation: chip-bounce .24s var(--ease-bounce); }
.chip.firing.glowing { animation: chip-bounce .24s var(--ease-bounce), chip-glow .7s var(--ease-soft); }
@keyframes chip-bounce { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes chip-glow {
  0% { box-shadow: var(--sh-chip), 0 0 0 0 var(--wc-glow); }
  40% { box-shadow: var(--sh-chip), 0 0 24px 2px var(--wc-glow); }
  100% { box-shadow: var(--sh-chip), 0 0 0 0 var(--wc-glow); }
}

/* ── 메모 시트 ── */
.memo-sheet { margin-top: var(--s4); animation: rise .32s var(--ease-rise) both; }
.memo-label { display: block; font-size: var(--fs-body); color: var(--muted); margin: 0 0 var(--s2); }
.memo-opt { color: var(--faint); font-size: var(--fs-cap); }
.memo-row { position: relative; display: flex; align-items: center; }
.memo-input {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink); border-radius: var(--r-chip); padding: var(--s3) 56px var(--s3) var(--s4);
  font-family: "Gowun Dodum", sans-serif; font-size: var(--fs-body); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.memo-input::placeholder { color: var(--faint); }
.memo-input:focus { border-color: var(--accent); }
.memo-count { position: absolute; right: var(--s4); font-size: var(--fs-cap); color: var(--faint); pointer-events: none; }
.memo-count.near { color: var(--accent-deep); }

/* ── 오늘 카드 스테이지 ── */
.today-stage { margin-top: var(--s5); display: flex; justify-content: center; }
.today-card-host { width: 100%; max-width: 320px; }
.today-empty {
  border: 1.5px dashed var(--line); border-radius: var(--r-card);
  background: var(--surface-sunk); color: var(--faint);
  padding: var(--s7) var(--s4); text-align: center; font-size: var(--fs-body);
  min-height: 200px; display: flex; align-items: center; justify-content: center;
}

/* ── 폴라로이드 MoodCard ── */
.moodcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-card);
  padding: 10px 10px 16px; overflow: hidden;
}
.moodcard.developing { animation: develop .62s var(--ease-rise) both; }
@keyframes develop {
  from { opacity: 0; filter: blur(6px); transform: translateY(10px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.mc-illus {
  position: relative; border-radius: 16px; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mc-illus .mc-bigicon { width: 46%; height: 46%; color: var(--wc-ink); }
.mc-illus .mc-bigicon svg { width: 100%; height: 100%; }
.mc-illus .mc-weather-name {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-family: "Gaegu", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--wc-ink);
}
.mc-body { padding: 12px 8px 4px; }
.mc-date { font-family: "Gaegu", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.mc-copy { color: var(--muted); font-size: var(--fs-body); margin-top: 2px; line-height: 1.5; }
.mc-note {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-family: "Gaegu", sans-serif; font-size: 1.05rem; color: var(--ink); line-height: 1.5;
  word-break: break-word;
}
.mc-foot {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-cap); color: var(--faint);
}
.mc-foot .mc-mark { color: var(--accent-deep); letter-spacing: .04em; }

/* ── CTA ── */
.cta-row { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; margin-top: var(--s5); }

/* ── 버튼 ── */
.btn {
  cursor: pointer; font-family: "Gowun Dodum", sans-serif; font-size: var(--fs-body);
  border-radius: var(--r-pill); padding: .7rem 1.3rem;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  transition: transform .15s var(--ease-soft), background .2s, box-shadow .2s, border-color .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  border-color: transparent; color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 6px 18px rgba(229, 162, 76, .32);
}
.btn.primary:hover { box-shadow: 0 8px 24px rgba(229, 162, 76, .42); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); border-color: var(--accent-soft); }
.btn:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; transform: none; }

/* ── 캘린더 ── */
.cal-head { display: flex; align-items: center; gap: var(--s3); margin: var(--s2) 0 var(--s4); }
.cal-title-wrap { font-family: "Gaegu", sans-serif; font-weight: 700; font-size: var(--fs-title); margin: 0; color: var(--ink); }
.back {
  cursor: pointer; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--muted); border-radius: var(--r-pill); padding: .35rem .85rem;
  font-family: "Gowun Dodum", sans-serif; font-size: var(--fs-cap);
  transition: color .2s, border-color .2s;
}
.back:hover { color: var(--ink); border-color: var(--accent-soft); }

.monthnav { display: flex; align-items: center; justify-content: center; gap: var(--s4); margin-bottom: var(--s2); }
.icon-btn {
  cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: .85rem; display: flex; align-items: center; justify-content: center;
  transition: transform .15s, border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--accent-soft); transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); }
.month-title { font-family: "Gaegu", sans-serif; font-weight: 700; font-size: var(--fs-title); min-width: 7.5rem; text-align: center; color: var(--ink); }

.briefing {
  text-align: center; color: var(--ink); font-size: var(--fs-copy);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-chip);
  padding: var(--s3) var(--s4); margin: var(--s3) 0 var(--s4); line-height: 1.5;
}
.briefing.empty { color: var(--muted); }
.briefing .bf-accent { color: var(--accent-deep); font-weight: 400; }

.dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s2); margin-bottom: var(--s2); }
.dow span { text-align: center; font-size: var(--fs-cap); color: var(--muted); }
.dow span:first-child { color: #C98B7A; }

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s2); }
.grid.sliding-next { animation: slide-next .36s var(--ease-soft) both; }
.grid.sliding-prev { animation: slide-prev .36s var(--ease-soft) both; }
@keyframes slide-next { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes slide-prev { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.cell {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-cell);
  background: var(--surface-sunk); border: 1px solid transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  cursor: default; overflow: hidden;
  transition: transform .15s var(--ease-soft), box-shadow .2s;
}
.cell.outside { opacity: .32; }
.cell.empty .cell-num { color: var(--faint); }
.cell.filled { cursor: pointer; border-color: var(--wc-ink); }
.cell.filled .cell-icon { color: var(--wc-ink); }
.cell.filled .cell-num { color: var(--wc-ink); }
.cell.filled:hover { transform: translateY(-2px); box-shadow: var(--sh-chip); }
/* 눈/흐림 변별: 눈 칸은 조금 더 진한 보더 */
.cell.filled.is-snow { border-color: #BFD0DF; }
.cell .cell-icon { width: 56%; height: 56%; }
.cell .cell-icon svg { width: 100%; height: 100%; }
.cell .cell-num { font-size: var(--fs-cal); color: var(--muted); line-height: 1; }
.cell.today { box-shadow: 0 0 0 2px var(--accent); }
.cell.today::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
}
.cell.selected { transform: scale(.96); }
.cell:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(62, 143, 176, .4); }

/* ── 범례 ── */
.legend { margin-top: var(--s5); border: 1px solid var(--line); border-radius: var(--r-chip); background: var(--surface); }
.legend summary { cursor: pointer; padding: var(--s3) var(--s4); font-size: var(--fs-body); color: var(--muted); list-style: none; }
.legend summary::-webkit-details-marker { display: none; }
.legend summary::before { content: "▸ "; color: var(--faint); }
.legend[open] summary::before { content: "▾ "; }
.legend-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2) var(--s4); padding: 0 var(--s4) var(--s4); }
.legend-item { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-cap); color: var(--muted); }
.legend-swatch { width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.legend-swatch svg { width: 64%; height: 64%; }

/* ── 모달 ── */
.modal { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: var(--s4); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(74, 64, 54, .42); backdrop-filter: blur(2px); animation: fade-in .2s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  position: relative; width: 100%; max-width: 360px;
  animation: modal-pop .3s var(--ease-rise) both;
}
.modal.closing .modal-panel { animation: modal-pop-out .18s var(--ease-soft) both; }
.modal.closing .modal-backdrop { animation: fade-in .18s ease reverse both; }
@keyframes modal-pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes modal-pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.97); } }
.modal-card-host { width: 100%; max-width: 300px; margin: 0 auto; }
.modal-actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; margin-top: var(--s4); }
.modal-actions .btn { padding: .6rem 1.05rem; font-size: var(--fs-body); }

/* ── 토스트 ── */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px); z-index: 60;
  background: var(--ink); color: var(--bg); padding: .65rem 1.15rem;
  border-radius: var(--r-pill); font-size: var(--fs-body);
  opacity: 0; transition: opacity .22s, transform .22s; pointer-events: none; max-width: 88vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.warn { background: var(--accent-deep); }

/* ── 포커스 ── */
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(62, 143, 176, .4); border-radius: 8px; }
.chip:focus-visible, .btn:focus-visible, .icon-btn:focus-visible, .back:focus-visible { box-shadow: 0 0 0 3px rgba(62, 143, 176, .4); }
.icon-btn:focus-visible { border-radius: 50%; }
.chip:focus-visible { border-radius: var(--r-chip); }
.btn:focus-visible, .back:focus-visible { border-radius: var(--r-pill); }

/* off-screen canvas for export */
#exportCanvas { position: fixed; left: -9999px; top: 0; }

/* ── 반응형 ── */
@media (max-width: 360px) {
  .chip .chip-icon { width: 32px; height: 32px; }
  .chip .chip-label { font-size: .76rem; }
  main { padding-left: var(--s3); padding-right: var(--s3); }
}
@media (min-width: 521px) {
  .today-card-host { max-width: 300px; }
}

/* ── reduced motion (필수) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .view.active, .memo-sheet, .moodcard.developing, .modal-panel { animation: none; opacity: 1; transform: none; filter: none; }
  #sky::before, #sky::after { animation: none; }
}

/* ── (선택) 다크 친화 훅 — MVP는 라이트 단일, 토큰만 매핑 ── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1A24; --bg-grad: #262232; --surface: #262230; --surface-sunk: #211E2A;
    --ink: #ECE6DA; --muted: #A89E92; --faint: #6E6757; --line: #3A3445;
    --accent: #E5A24C; --accent-soft: #5A4A33; --accent-deep: #F0B968; --focus: #6FB6D6;
  }
  .moodcard, .chip, .memo-input, .briefing, .legend, .icon-btn, .back, .btn { color: var(--ink); }
  .modal-backdrop { background: rgba(0, 0, 0, .55); }
  .toast { background: var(--accent-deep); color: #1C1A24; }
}

/* i18n language switcher — 라이트/다크 톤에 맞춰 런타임 기본값을 덮어쓴다(포근한 페이퍼 톤). */
.site .i18n-switch {
  --i18n-switch-bg: rgba(74, 64, 54, 0.06);
  --i18n-switch-border: var(--line);
  --i18n-switch-fg: var(--muted);
  --i18n-switch-active-bg: rgba(229, 162, 76, 0.18);
  --i18n-switch-active-fg: var(--accent-deep);
  --i18n-switch-menu-bg: var(--surface);
  --i18n-switch-menu-border: var(--line);
  --i18n-switch-shadow: var(--sh-pop);
}
@media (prefers-color-scheme: dark) {
  .site .i18n-switch {
    --i18n-switch-bg: rgba(255, 255, 255, 0.07);
    --i18n-switch-border: var(--line);
    --i18n-switch-fg: rgba(236, 230, 218, 0.92);
    --i18n-switch-active-bg: rgba(229, 162, 76, 0.22);
    --i18n-switch-active-fg: var(--accent-deep);
    --i18n-switch-menu-bg: var(--surface);
    --i18n-switch-menu-border: var(--line);
    --i18n-switch-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  }
}
/* 데이터 백업 컨트롤 */
.data-ctl .data-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: var(--s3) var(--s4); }
.data-ctl .btn.sm { padding: 7px 12px; font-size: 13px; }
.data-hint { width: 100%; margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
