/* ═══════════════════════════════════════════════════
   ModernEast Admin — Design Tokens
   (lifted from shared/css/variables.css in the repo)
   ═══════════════════════════════════════════════════ */

:root {
  /* Core */
  --bg: #f7f5f1;
  --ink: #1c1b18;
  --accent: #9a8456;
  --mute: #8a8580;
  --line: #e6e1d8;
  --card: #ffffff;
  --dark: #2a2620;
  --overlay: rgba(28, 27, 24, .5);

  /* Extended */
  --accent-light: #b09a6a;
  --accent-dark: #7a6a42;
  --terra: #a0785a;
  --stone: #c8bfb0;
  --sage: #8a9484;
  --error: #c45c5c;
  --surface-warm: #f2ece3;
  --surface-cool: #eceae6;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 100px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .08);

  /* Transition */
  --ease-out: cubic-bezier(.25, .46, .45, .94);
  --duration-fast: .2s;
  --duration-normal: .4s;

  /* LINE */
  --line-green: #06C755;

  /* Sidebar widths (admin-specific) */
  --sidebar-w: 248px;
  --sidebar-w-collapsed: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.7;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography helpers */
.font-en { font-family: 'Cormorant Garamond', 'Noto Serif TC', serif; }
.font-serif-tc { font-family: 'Noto Serif TC', serif; }
.font-sans-tc { font-family: 'Noto Sans TC', sans-serif; }

.tag-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone); }
