/* CRR211 – feste helle, kontrastreiche Calm-River-Designlinie */
:root{
  color-scheme:light;
  --crr-display-font:"Avenir Next",Avenir,"Segoe UI",system-ui,-apple-system,sans-serif;
  --bg:#faf7f2;
  --card:#ffffff;
  --text:#292522;
  --muted:#5f5751;
  --line:#d5c8bd;
  --accent:#9a7258;
  --accent-soft:#f3e8de;
  --selection:#eadbce;
  --selection-text:#302823;
  --crr-cognac:#d7bda9;
  --crr-cognac-dark:#a97e60;
  --crr-cognac-soft:#f7efe8;
  --crr-cognac-line:#cdb39f;
  --shadow:0 7px 22px rgba(57,45,35,.07);
}

html,body{
  color-scheme:light;
  background:#faf7f2;
  color:#292522;
}
input,select,textarea{
  color-scheme:light;
  background:#fff;
  color:#292522;
}
.top{background:linear-gradient(180deg,#faf7f2 86%,rgba(250,247,242,0))}
.card,.customer-head,.request-card,.slot,.horse-option,.stat{
  background-color:#fff;
  border-color:#d5c8bd;
}
.date,.meta,.small,.muted{color:#5f5751}
.sheet{background:#faf7f2;color:#292522}
.bottom{background:rgba(255,255,255,.98);border-color:#d5c8bd}

/* Alle H1/H2 – auch „Mein Pferd heute“ – bleiben gut lesbar und serifenlos. */
h1,h2{
  font-family:var(--crr-display-font);
  font-weight:800;
  letter-spacing:-.022em;
}
h1{font-size:28px;line-height:1.1}
h2{font-size:19px;line-height:1.18}
.sheet h2{font-size:20px}

/* Hauptaktionen bleiben hell; dunkle Schrift sorgt für klare Lesbarkeit. */
.primary,
.quick-big.primary,
.page-actions .primary{
  color:#302823;
  background:#d7bda9;
  border:1px solid #a97e60;
  box-shadow:0 4px 11px rgba(116,80,57,.10);
}
.primary:active{color:#29211d;background:#caa88f;transform:translateY(1px)}
.soft{
  color:#292522;
  background:#f3e8de;
  border:1px solid rgba(154,114,88,.22);
}
.soft:active{background:#eadbce}

/* Auswahlflächen werden durch eine deutliche Kontur statt Dunkelheit markiert. */
.admin-mode-switch a.active{
  color:#302823;
  background:#d7bda9;
  box-shadow:0 3px 8px rgba(116,80,57,.09);
}
.segment button.active,
.ps-focus-horse-tabs button.active,
.cost-horse-filters button.active,
.admin-owner-calendar-filter button.active{
  color:#513929;
  background:#fff;
  border-color:#a97e60;
  box-shadow:0 2px 7px rgba(116,80,57,.07);
}
.ps-focus-choice.selected,
.saddle-icon-choice.active,
.cost-type-choice input:checked+span{
  color:#443229;
  background:#f3e8de;
  border-color:#ad8265;
  box-shadow:0 0 0 2px rgba(154,114,88,.07);
}
.photo-view-tabs button.active{
  color:#302823;
  background:#d7bda9;
  border-color:#a97e60;
}

/* Auch das persönliche Pferd-&-Stall-Konto hat immer eine helle Ansicht. */
body.ps-personal{
  color-scheme:light;
  --bg:#faf7f2;
  --card:#ffffff;
  --text:#292522;
  --muted:#5f5751;
  --line:#d5c8bd;
  --accent:#9a7258;
  --accent-soft:#f3e8de;
  --selection:#eadbce;
  --selection-text:#302823;
  --blue:#476d85;
  --blue-soft:#eaf2f7;
  --shadow:0 7px 22px rgba(57,45,35,.07);
}
body.ps-personal .customer-banner{
  background:linear-gradient(145deg,#fff,#f7eee5);
  border-color:#d5c8bd;
  color:#292522;
  box-shadow:var(--shadow);
}
body.ps-personal .customer-banner .brand,
body.ps-personal .customer-banner .meta{color:#5f5751}
body.ps-personal .customer-banner h1,
body.ps-personal .customer-banner h2{color:#292522}
body.ps-personal .bottom{background:rgba(255,255,255,.98);border-color:#d5c8bd}
body.ps-personal .primary{color:#302823;background:#d7bda9;border-color:#a97e60}
body.ps-personal .soft{color:#292522;background:#f3e8de;border-color:rgba(154,114,88,.22)}
body.ps-personal .nav.active{color:#292522}
body.ps-personal .ps-brand-mark{border-color:#d5c8bd;background:#f3e8de}
body.ps-personal .ps-brand-mark b{color:#72513c}
body.ps-personal .ps-brand-mark span{color:#9a7258}
body.ps-personal .ps-brand-copy em{color:#72513c}
body.ps-personal .ps-brand-copy small{color:#5f5751}

/* Die Fokuskarte ist keine dunkle Sonderfläche mehr. */
body.ps-personal .ps-home-focus{
  background:linear-gradient(145deg,#fff,#f7eee5);
  border-color:#cdb39f;
  color:#292522;
  box-shadow:var(--shadow);
}
body.ps-personal .ps-home-focus-head small,
body.ps-personal .ps-focus-horse span,
body.ps-personal .ps-focus-summary span,
body.ps-personal .ps-focus-today-grid small,
body.ps-personal .ps-focus-empty{color:#5f5751}
body.ps-personal .ps-home-focus-head h2{color:#292522}
body.ps-personal .ps-focus-edit{border-color:#cdb39f;background:#fff;color:#513929}
body.ps-personal .ps-focus-horse-tabs button{border-color:#d5c8bd;background:#f3e8de;color:#443229}
body.ps-personal .ps-focus-horse-tabs button.active{background:#fff;color:#513929;border-color:#a97e60;box-shadow:0 2px 7px rgba(116,80,57,.07)}
body.ps-personal .ps-focus-summary{border:1px solid #d5c8bd;background:#fff}
body.ps-personal .ps-focus-today-grid>div{border:1px solid #d5c8bd;background:#f5ece4}
body.ps-personal .ps-focus-primary,
body.ps-personal .ps-focus-secondary{border-color:#b99074;background:#f3e8de;color:#443229}
body.ps-personal .ps-focus-choice.selected{border-color:#a97e60;background:#f3e8de;box-shadow:0 0 0 2px rgba(154,114,88,.07)}
body.ps-personal .ps-focus-choice input{accent-color:#9a7258}
body.ps-personal .ps-app-preference-summary{background:#f3e8de}

@media(max-width:370px){
  h1{font-size:26px}
  h2{font-size:18px}
}
