@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --brand-orange: #FD8204;
  --brand-orange-dark: #E26F00;
  --brand-orange-soft: #FFE6CC;
  --brand-orange-bg: #FFF6EC;
  --brand-yellow: #FFC600;
  --brand-red: #E4002B;

  --blue: #4C6EF5;
  --blue-dark: #3A59D8;
  --blue-soft: #EEF2FF;
  --blue-line: #DCE3FD;

  --ink: #1B1D24;
  --ink-2: #4A4F5C;
  --ink-3: #8A8F9C;
  --line: #E7E9EF;
  --bg: #F4F5F8;
  --surface: #FFFFFF;

  --good: #0CA30C;
  --warn: #E8A200;
  --danger: #E5383B;
  --memo: #F3E3A8;
  --memo-ink: #6B5418;

  --series-1: #2a78d6;
  --series-2: #eb6834;

  --radius: 10px;
  --shadow: 0 4px 18px rgba(20, 24, 40, .08);
  --font: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14px; -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.5; }
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.orange { background: var(--brand-orange-soft); color: var(--brand-orange-dark); }
.tag.red { background: #FDE5E6; color: var(--danger); }
.tag.green { background: #E2F6E2; color: #087A08; }
.tag.gray { background: #EEF0F4; color: var(--ink-2); }
.tag.yellow { background: #FFF1C2; color: #8A6400; }

.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: rgba(27, 29, 36, .92); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.blink { animation: blink 1s infinite; }

.scroll-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scroll-thin::-webkit-scrollbar-thumb { background: #D3D6DE; border-radius: 3px; }

.demo-badge { position: fixed; right: 12px; bottom: 12px; z-index: 50; font-size: 11px; color: var(--ink-3); background: rgba(255,255,255,.85); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
