@import url("../colors_and_type.css");
*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: 'Gabarito', system-ui, sans-serif; color: var(--fg-1); background: #EEEEF9; }
body { padding: 20px; }
.card-glow { background:#fff; border-radius:24px; box-shadow: 0 0 30px rgba(154,170,207,.2); padding: 20px; }
.row { display: flex; gap: 12px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.swatch { width: 56px; height: 56px; border-radius: 12px; flex: none; }
.token { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--fg-2); }
/* ── Button system — mirrors treel-vo/colors_and_type.css ── */
.btn-pill {
  border-radius: 1000px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: 'Gabarito', system-ui, sans-serif; font-weight: 500;
  padding: 10px 16px; font-size: 14px; border: none; cursor: pointer;
  /* Foundation: every button gets the same micro-interaction language. */
  transition: background 140ms ease, color 140ms ease, box-shadow 160ms ease,
              filter 140ms ease, transform 120ms ease;
  outline: none;
}
.btn-pill:active { transform: scale(.97); }
.btn-pill:focus-visible { box-shadow: 0 0 0 3px rgba(138,56,245,.40); }
.btn-pill[disabled] { cursor: not-allowed; opacity: .5; transform: none !important; filter: none !important; }

/* Primary — magenta. Hover lifts brightness slightly + small shadow lift. */
.btn-primary { background: var(--treel-magenta); color: #fff; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 6px 18px rgba(217,43,130,.30); }

/* Secondary — white pill with soft shadow, snaps brighter on hover. */
.btn-secondary { background: #fff; color: var(--fg-1); font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.btn-secondary:hover { box-shadow: 0 4px 14px rgba(59,48,64,.10); background: #FBFBFE; }

/* Ghost-white — used over the Lizzie gradient. */
.btn-ghost-white { background: rgba(255,255,255,.45); color: var(--fg-1); font-weight: 600;
  backdrop-filter: blur(4px); }
.btn-ghost-white:hover { background: rgba(255,255,255,.75); }

/* Dark — high-contrast utility (e.g. Export). */
.btn-dark { background: #3B3040; color: #fff; font-weight: 500; }
.btn-dark:hover { background: #2A2030; }

/* Tonal — neutral chip-like. */
.btn-tonal { background: #F5F5FA; color: var(--fg-1); font-weight: 500; }
.btn-tonal:hover { background: #ECEDF4; }

/* Icon — 40×40 round white chrome button. */
.btn-icon { width: 40px; height: 40px; border-radius: 1000px; background: #fff;
  border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: background 140ms ease, box-shadow 160ms ease, transform 120ms ease;
  color: var(--fg-1); outline: none; }
.btn-icon:hover { background: #F5F5FA; box-shadow: 0 4px 14px rgba(59,48,64,.10); }
.btn-icon:active { transform: scale(.94); }
.btn-icon:focus-visible { box-shadow: 0 0 0 3px rgba(138,56,245,.40); }
