/* ==========================================================================
   HNGIA Admin — Design Tokens
   The admin panel shares the storefront's quiet-luxury language: warm
   paper, charcoal ink, a single muted taupe accent, serif display headings.
   ========================================================================== */

:root {
  /* ---- Color ------------------------------------------------------- */
  --c-page: #f7f3ef;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f3ef;
  --c-bg-sunken: #efe8e1;
  --c-media-bg: #f1ece7;

  --c-text: #211f1c;
  --c-text-muted: #756f69;
  --c-text-subtle: #a89e93;
  --c-text-inverse: #ffffff;

  --c-accent: #8b7667;
  --c-accent-hover: #6f5c4f;
  --c-accent-active: #5d4c41;
  --c-accent-soft: #efe8e1;
  --c-accent-border: #ddd0c4;

  --c-border: #e7dfd8;
  --c-border-strong: #d8cdc2;
  --c-hairline: #efe8e1;

  --c-success: #4f6f52;
  --c-success-soft: #f0f4ef;
  --c-success-border: #cfdccf;

  --c-danger: #9c3d33;
  --c-danger-soft: #fbf1ef;
  --c-danger-border: #edcdc8;

  --c-warning: #8a6a3b;
  --c-warning-soft: #fbf5ea;

  --c-sidebar: #211f1c;
  --c-sidebar-muted: rgba(255, 255, 255, 0.62);

  /* ---- Typography --------------------------------------------------- */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: 1.75rem;
  --fs-title: 1.375rem;
  --fs-section: 1.125rem;
  --fs-body: 0.9375rem;
  --fs-body-sm: 0.875rem;
  --fs-caption: 0.8125rem;
  --fs-micro: 0.6875rem;

  --lh-tight: 1.15;
  --lh-snug: 1.4;
  --lh-normal: 1.6;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  --tracking-wide: 0.16em;
  --tracking-serif: -0.015em;

  /* ---- Spacing ------------------------------------------------------ */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;

  /* ---- Radius ------------------------------------------------------- */
  --r-card: 12px;
  --r-input: 10px;
  --r-btn: 10px;
  --r-chip: 999px;
  --r-xs: 6px;
  --r-sm: 8px;

  /* ---- Elevation ---------------------------------------------------- */
  --sh-xs: 0 1px 2px rgba(33, 31, 28, 0.04);
  --sh-sm: 0 1px 2px rgba(33, 31, 28, 0.04);
  --sh-md: 0 4px 16px rgba(33, 31, 28, 0.07);
  --sh-lg: 0 18px 48px rgba(33, 31, 28, 0.18);

  /* ---- Motion ------------------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 260ms;

  /* ---- Layout ------------------------------------------------------- */
  --sidebar-w: 248px;
  --touch-min: 44px;
}
