/* ==========================================================
   components/feedback.css — 안내 · 상태 표시
   .notice(알림 배너) · .disclaimer(필수 고지 문구) · .empty(빈 상태)
   · .sk(스켈레톤) · .toast · .tip(툴팁)
   ========================================================== */

/* ---------- 알림 배너 ---------- */
.notices { display: grid; gap: 8px; }
.notice {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: var(--r-md);
  font-size: 13.5px; line-height: 1.65; font-weight: 500;
}
.notice > .ico { width: 18px; height: 18px; margin-top: 2px; }
.notice b { font-weight: 800; }
.notice-warn { background: var(--warn-soft); color: var(--warn-deep); border: 1px solid var(--warn-line); }
.notice-info { background: var(--info-soft); color: var(--info-deep); border: 1px solid var(--info-line); }
.notice-mute { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.notice-brand { background: var(--brand-soft); color: var(--brand-deep); border: 1px solid var(--brand-line); }

/* ---------- 필수 고지 문구 (기획서 9장) ---------- */
.disclaimer {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
}
.disclaimer > .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--ink-4); }
.disclaimer a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 빈 상태 ---------- */
.empty {
  display: grid; justify-items: center; gap: 6px; padding: 36px 20px; text-align: center;
  border-radius: var(--r-lg); background: var(--surface-2); border: 1px dashed #DCE1EA;
}
.empty-ico {
  width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; display: grid; place-items: center;
  background: #fff; color: var(--ink-4); box-shadow: var(--shadow-1);
}
.empty-ico .ico { width: 28px; height: 28px; }
.empty b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.empty p { max-width: 28em; font-size: 14px; color: var(--ink-3); }
.empty .btn { margin-top: 10px; }

/* ---------- 스켈레톤 ---------- */
.sk {
  background: linear-gradient(90deg, #EEF1F6 25%, #F6F8FB 37%, #EEF1F6 63%);
  background-size: 400px 100%; border-radius: 10px; animation: shimmer 1.4s linear infinite;
}
.sk-list { display: grid; gap: 8px; }
.sk-line { height: 13px; }
.sk-text { display: inline-block; height: 1em; width: 5em; vertical-align: middle; border-radius: 6px; }

/* ---------- 토스트 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: var(--navy); color: #fff; box-shadow: 0 16px 40px -12px rgba(22, 33, 62, .5);
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-ico { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); }
.toast-ico.warn { background: var(--warn); }

/* ---------- 툴팁 (components/charts.js) ---------- */
.tip {
  position: fixed; left: 0; top: 0; z-index: 210; pointer-events: none;
  padding: 7px 11px; border-radius: 10px; background: var(--navy); color: #fff;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(22, 33, 62, .5);
  opacity: 0; transition: opacity .12s;
}
.tip.show { opacity: 1; }
