/* --------------------------------------------------------------------------
   Day theme. Night is the default; body.hh-theme-day switches the palette.
   Kept separate so the kiosk console styles stay readable.
   -------------------------------------------------------------------------- */

body.hh-theme-day {
  --k-bg: #f2ede2;
  --k-bg-deep: #e8e0d1;
  --k-panel: #fffaf0;
  --k-panel-2: #f8f0e3;
  --k-text: #20312c;
  --k-text-soft: #40564e;
  --k-muted: #687b73;
  --k-line: rgba(32, 49, 44, 0.15);
  --k-line-strong: rgba(32, 49, 44, 0.27);
  --k-brass: #9b6a2f;
  --k-brass-bright: #7d5120;
  --k-coral: #b74c2f;
  --k-coral-soft: #963d26;
  --k-green: #3d6f50;

  --ink: #20312c;
  --ink-soft: #40564e;
  --paper: #f2ede2;
  --card: #fffaf0;
  --line: rgba(32, 49, 44, 0.15);
  --line-strong: rgba(32, 49, 44, 0.27);
  --muted: #687b73;
  --clay: #b74c2f;
  --fern: #3d6f50;
  --denim: #426d80;
  --plum: #76527a;
  --ochre: #9b6a2f;
  --shadow-card: 0 12px 28px rgba(78, 62, 38, 0.08);

  background: #f2ede2;
  background-image:
    radial-gradient(80% 65% at 8% 0%, rgba(218, 198, 158, 0.35), rgba(242, 237, 226, 0) 65%),
    radial-gradient(70% 55% at 100% 0%, rgba(176, 199, 188, 0.26), rgba(242, 237, 226, 0) 62%);
  color: #20312c;
}

body.hh-theme-day .hh-top {
  background: rgba(255, 250, 240, 0.96);
  border-bottom-color: rgba(32, 49, 44, 0.16);
  color: #20312c;
}

body.hh-theme-day .hh-nav {
  background: #fffaf0;
  border-right-color: rgba(32, 49, 44, 0.15);
  border-top-color: rgba(32, 49, 44, 0.15);
}

body.hh-theme-day .hh-card {
  background: -webkit-linear-gradient(top, #fffaf0, #f8f0e3);
  background: linear-gradient(160deg, #fffaf0, #f8f0e3);
  border-color: rgba(32, 49, 44, 0.15);
  box-shadow: 0 12px 28px rgba(78, 62, 38, 0.08);
}

body.hh-theme-day .hh-input,
body.hh-theme-day .hh-select,
body.hh-theme-day .hh-textarea,
body.hh-theme-day .hh-combo__panel {
  background: #fffaf0;
  color: #20312c;
  border-color: rgba(32, 49, 44, 0.22);
  box-shadow: 0 18px 34px -24px rgba(54, 43, 25, 0.42);
}

body.hh-theme-day .hh-switch__track {
  background: #e4dac8;
  border-color: rgba(32, 49, 44, 0.28);
}

body.hh-theme-day .hh-hero__idle {
  background: rgba(155, 106, 47, 0.08);
}

body.hh-theme-day .hh-hero__idle:active,
body.hh-theme-day .hh-tile:active,
body.hh-theme-day .hh-nav__item:active {
  background: rgba(155, 106, 47, 0.16);
}

body.hh-theme-day .hh-chip--theme {
  border-color: rgba(155, 106, 47, 0.4);
  color: #7d5120;
}

body.hh-theme-day .hh-toast,
body.hh-theme-day .hh-user,
body.hh-theme-day .hh-tab.is-active,
body.hh-theme-day .hh-nav__item.is-active {
  color: #14201d;
}

body.hh-theme-day .hh-brand__house,
body.hh-theme-day .hh-hero__greeting em,
body.hh-theme-day .hh-hero__summary span,
body.hh-theme-day .hh-eyebrow {
  color: #8a5a22;
}

body.hh-theme-day .hh-status__dot {
  background: #3d6f50;
}

body.hh-theme-day .hh-expense-hero {
  background: -webkit-linear-gradient(145deg, #fffaf0, #f3eadb);
  background: linear-gradient(145deg, #fffaf0, #f3eadb);
}

body.hh-theme-day .hh-expense-hero h2 {
  color: #8a5a22;
}

body.hh-theme-day .hh-expense-hero__pills span {
  background: rgba(155, 106, 47, 0.06);
}

body.hh-theme-day .hh-expense-bar__track {
  background: rgba(32, 49, 44, 0.12);
}

body.hh-theme-day .hh-emailbar {
  background: rgba(155, 106, 47, 0.06);
}

body.hh-theme-day .hh-tile {
  background: -webkit-linear-gradient(top, #fffaf0, #f5ecdd);
  background: linear-gradient(160deg, #fffaf0, #f5ecdd);
  box-shadow: 0 12px 28px rgba(78, 62, 38, 0.07);
}

body.hh-theme-day .hh-tile:active {
  background: #eee2cf;
}

body.hh-theme-day .hh-check {
  background: #fffaf0;
  border-color: rgba(32, 49, 44, 0.3);
}

body.hh-theme-day .hh-quick__btn {
  background: #fffaf0;
  color: #40564e;
}

body.hh-theme-day .hh-quick__btn:active {
  background: rgba(155, 106, 47, 0.12);
  border-color: var(--k-brass);
  color: #7d5120;
}

body.hh-theme-day .hh-seg {
  background: #fffaf0;
  border-color: rgba(32, 49, 44, 0.18);
}

body.hh-theme-day .hh-cal__day {
  background: #fffaf0;
  color: #20312c;
}

body.hh-theme-day .hh-cal__day.is-outside {
  background: transparent;
  color: #a49b8b;
}

body.hh-theme-day .hh-cal__day.is-selected {
  background: var(--k-brass);
  color: #14201d;
}

body.hh-theme-day .hh-cal__day.is-today {
  border-color: var(--k-brass);
  box-shadow: inset 0 0 0 1px rgba(155, 106, 47, 0.35);
}

body.hh-theme-day .hh-switch input:checked + .hh-switch__track::after {
  background: #fffaf0;
}

/* PIN gate in daylight */
body.hh-theme-day .hh-login {
  background: #f2ede2;
  background-image:
    radial-gradient(80% 70% at 50% 0%, rgba(218, 198, 158, 0.35), rgba(242, 237, 226, 0) 62%),
    radial-gradient(60% 50% at 100% 100%, rgba(176, 199, 188, 0.25), rgba(242, 237, 226, 0) 60%);
  color: #20312c;
}

body.hh-theme-day .hh-login__panel {
  background: linear-gradient(160deg, #fffaf0, #f6eddf);
  border-color: rgba(32, 49, 44, 0.18);
  box-shadow: 0 24px 60px -34px rgba(78, 62, 38, 0.45);
}

body.hh-theme-day .hh-login__brand span:last-child,
body.hh-theme-day .hh-login__title {
  color: #20312c;
}

body.hh-theme-day .hh-login__hint,
body.hh-theme-day .hh-login__status {
  color: #687b73;
}

body.hh-theme-day .hh-login__key {
  background: #fffaf0;
  color: #20312c;
  border-color: rgba(32, 49, 44, 0.2);
}

body.hh-theme-day .hh-login__key--soft {
  color: #8a5a22;
}

body.hh-theme-day .hh-login__error {
  color: #963d26;
}
