/* JD Niseko website identity. Keep these primitives shared by all three roles.
   Reference: JD-Niseko-Website, src/styles/tokens.css (e99fc42). */
:root {
  --brand-navy: #0d1b2e;
  --brand-navy-2: #14263d;
  --brand-navy-3: #1e3550;
  --brand-paper: #f5f8fc;
  --brand-paper-dim: #e6ecf4;
  --brand-white: #fff;
  --brand-gold: #c59d5f;
  --brand-gold-deep: #8a6a2f;
  --brand-gold-hover: #745927;
  --brand-gold-soft: #e2c46a;
  --brand-gold-tint: #faf5eb;
  --brand-ink: #0d1b2e;
  --brand-muted: #4b5568;
  --brand-on-dark: #c8d3e1;
  --brand-line: #d6dee9;
  --brand-control-line: #8795a8;
  --brand-focus: #8a6a2f;
  --brand-selected: #e6ecf4;
  --brand-font-sans: 'Rubik', 'Noto Sans TC', system-ui, -apple-system, 'Microsoft JhengHei', sans-serif;
  --brand-font-serif: 'DM Serif Display', 'Noto Serif TC', serif;
  --brand-radius-pill: 999px;
  --brand-shadow: 0 2px 7px #0d1b2e03;
}

/* Presentation only: the established booking and operations layouts stay intact. */
.sidebar .brand-icon,
.sidebar .nav-item.active svg {
  color: var(--brand-gold-soft);
}
.sidebar .nav-item.active::before {
  background: var(--brand-gold);
}
#app .sidebar :is(button, a):focus-visible {
  outline-color: var(--brand-gold-soft);
}
.brand-title {
  font-family: var(--brand-font-sans);
}
.sidebar .brand-title {
  font-size: 18px;
  letter-spacing: .2px;
  white-space: nowrap;
}
@media (min-width: 761px) and (max-width: 1250px) {
  .sidebar .brand-title {
    font-size: 17px;
    letter-spacing: 0;
  }
}
.customer-hero-copy h1,
.customer-login-card h2,
.customer-wizard-intro h1,
.customer-history-heading h1,
.registration-onboarding h1,
.step-catalog-heading h1,
.policy-document h1,
.policy-document h2,
.development-login h1 {
  font-family: var(--brand-font-serif);
}

/* Recolor the existing chart without touching its data, geometry or markup. */
.chart-svg [stroke="#668d70"] {
  stroke: var(--brand-navy-3);
}
.chart-svg [stroke="#eef2ee"] {
  stroke: var(--brand-line);
}
.chart-svg #chart-fill stop {
  stop-color: var(--brand-navy-3);
}
.chart-svg circle[fill="#e5b46b"] {
  fill: var(--brand-gold);
  stroke: var(--brand-gold);
}

/* Loading, disabled, focus and semantic feedback retain their existing behavior. */
.btn,
.customer-button {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .customer-button {
    transition: none;
  }
}
