/* CRR163 – aufgeräumte Kundennavigation, Einrichtungsleitfaden und P&S-Farbwelt */
body.ps-personal{
  --bg:#f5efe7;
  --card:#fffaf5;
  --text:#1a2f63;
  --muted:#71675f;
  --line:#ddcfc2;
  --accent:#b6763e;
  --accent-soft:#eee0d3;
  --green:#42745a;
  --green-soft:#e5f0e8;
  --yellow:#9a6628;
  --yellow-soft:#f7e9d5;
  --red:#a34f58;
  --red-soft:#f5dfe1;
  --blue:#1a376f;
  --blue-soft:#e7eaf2;
  --shadow:0 10px 30px rgba(35,45,72,.08)
}
body.ps-personal .customer-banner{
  background:linear-gradient(145deg,#18336d,#102757);
  border-color:#29447b;
  color:#fffaf3;
  box-shadow:0 16px 34px rgba(24,51,109,.2)
}
body.ps-personal .customer-banner .brand,
body.ps-personal .customer-banner .meta{color:#eadfda}
body.ps-personal .bottom{background:rgba(255,250,245,.97);border-color:#ddcfc2}
body.ps-personal .primary{background:#18336d;color:#fffaf3}
body.ps-personal .soft{background:#eee0d3;color:#302b29}
body.ps-personal .nav.active{color:#18336d}
body.ps-personal .ps-brand-mark{border-color:rgba(255,250,243,.38);background:rgba(255,250,243,.08)}
body.ps-personal .ps-brand-mark b{color:#efc0c4}
body.ps-personal .ps-brand-mark span{color:#b6763e}
body.ps-personal .ps-brand-copy em{color:#efc0c4}
body.ps-personal .ps-brand-copy small{color:#eadfda}
body.ps-personal .notice.infonote{background:#f3e3e4;border-color:#e7c6c9;color:#633d44}
body.ps-personal .plus-header-banner{background:linear-gradient(135deg,#f2dedf,#fff7f2);border-color:#e2bcc0;color:#52343b}
body.ps-personal .plus-header-star{color:#b6763e}
body.ps-personal .plus-header-arrow{color:#18336d}

.ps-home-priority:empty{display:none}
.ps-home-priority{margin-bottom:16px}
.ps-home-focus{
  margin:18px 0;
  padding:17px;
  border:1px solid #c9ad93;
  border-radius:22px;
  background:linear-gradient(145deg,#fffaf5,#eee1d4);
  color:#2f2926;
  box-shadow:0 12px 28px rgba(75,53,38,.10)
}
.ps-home-focus-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ps-home-focus-head small{display:block;font-size:9px;letter-spacing:.13em;color:#8b6a50;font-weight:850}
.ps-home-focus-head h2{display:flex;align-items:center;gap:9px;margin:5px 0 0;font-size:21px;color:#2f2926}
.ps-home-focus-head h2 img{width:38px;height:38px;object-fit:contain}
.ps-focus-edit{padding:7px 9px;border:1px solid #c9ad93;background:#fffaf5;color:#5d4332;font-size:12px}
.ps-focus-horse{display:flex;align-items:baseline;gap:8px;margin:13px 1px 9px}
.ps-focus-horse b{font-size:17px}
.ps-focus-horse span{font-size:11px;color:var(--muted)}
.ps-focus-horse-tabs{display:flex;gap:7px;overflow-x:auto;margin:7px -3px 13px;padding:3px;scrollbar-width:none}
.ps-focus-horse-tabs::-webkit-scrollbar{display:none}
.ps-focus-horse-tabs button{min-width:max-content;padding:7px 10px 7px 7px;display:flex;align-items:center;gap:6px;border:1px solid #d8c5b4;background:#eaded2;color:#4b3a30;font-size:12px}
.ps-focus-horse-tabs button.active{background:#fff;color:#5d4332;border-color:#a98467;box-shadow:0 2px 8px rgba(75,53,38,.08)}
.ps-focus-tab-icon{width:25px;height:25px;object-fit:contain}
.ps-focus-summary{display:grid;gap:5px;margin-top:15px;padding:14px;border:1px solid #e1d3c6;border-radius:16px;background:#fffaf5}
.ps-focus-summary b{font-size:17px;line-height:1.3}
.ps-focus-summary span{font-size:12px;color:var(--muted)}
.ps-focus-today-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px}
.ps-focus-today-grid>div{min-height:73px;padding:10px;border:1px solid #dfd0c2;border-radius:15px;background:#eaded2;display:flex;flex-direction:column;gap:5px}
.ps-focus-today-grid small{font-size:10px;color:var(--muted)}
.ps-focus-today-grid b{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
.ps-focus-today-grid img{width:24px;height:24px;vertical-align:middle;object-fit:contain}
.ps-focus-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}
.ps-focus-actions:has(>button:only-child){grid-template-columns:1fr}
.ps-focus-actions button{min-height:45px;padding:10px 12px;font-weight:850}
.ps-focus-primary,.ps-focus-secondary{border:1px solid #c9ad93;background:#eaded2;color:#4b382e}
.ps-focus-empty{margin-top:14px;color:var(--muted)}
.ps-focus-choice-grid{display:grid;gap:9px;margin:12px 0}
.ps-focus-choice{min-height:72px;padding:11px 12px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;border:2px solid var(--line);border-radius:16px;background:var(--card)}
.ps-focus-choice.selected{border-color:#8b6a50;background:#f2e7dc;box-shadow:0 0 0 2px rgba(107,75,56,.08)}
.ps-focus-choice>img{width:38px;height:38px;object-fit:contain}
.ps-focus-choice span,.ps-focus-choice b,.ps-focus-choice small{display:block}
.ps-focus-choice small{margin-top:3px;color:var(--muted);font-size:11px}
.ps-focus-choice input{width:21px;height:21px;accent-color:#8b6a50}
.ps-app-preference-summary{display:grid;gap:5px;margin-bottom:10px;padding:12px;border-radius:14px;background:#f2e7dc}
.ps-app-preference-summary small{color:var(--muted)}
.ps-app-preference-summary b{display:flex;align-items:center;gap:8px}
.ps-app-preference-summary img{width:29px;height:29px;object-fit:contain}

/* Die eigenständige Pferd-&-Stall-App behält ihre eigene Farbwelt. */
body.ps-personal .ps-home-focus{border-color:#29447b;background:linear-gradient(145deg,#18336d,#274b82);box-shadow:0 16px 32px rgba(24,51,109,.2)}
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:#eadfda}
body.ps-personal .ps-home-focus-head h2{color:#fffaf3}
body.ps-personal .ps-focus-edit{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.1);color:#fffaf3}
body.ps-personal .ps-focus-horse-tabs button{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fffaf3}
body.ps-personal .ps-focus-horse-tabs button.active{background:#fffaf3;color:#18336d;border-color:#fffaf3;box-shadow:none}
body.ps-personal .ps-focus-summary{border:0;background:rgba(255,255,255,.1)}
body.ps-personal .ps-focus-today-grid>div{border:0;background:rgba(255,255,255,.1)}
body.ps-personal .ps-focus-primary,body.ps-personal .ps-focus-secondary{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fffaf3}
body.ps-personal .ps-focus-choice.selected{border-color:#18336d;background:#edf1f8;box-shadow:0 0 0 2px rgba(24,51,109,.08)}
body.ps-personal .ps-focus-choice input{accent-color:#18336d}
body.ps-personal .ps-app-preference-summary{background:var(--blue-soft)}
.ps-push-test-actions{display:flex;align-items:center;gap:10px;margin-top:10px}
.ps-push-test-actions .soft{flex:0 1 auto}
.ps-push-done{padding:7px 5px;background:transparent;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.ps-push-settings-card{margin-top:12px}
.ps-home-quick{margin:18px 0}
.ps-home-quick-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 10px}
.ps-home-quick-head h2{margin:0}
.ps-quick-edit{padding:7px 9px;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.ps-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ps-home-stable-services{margin-top:12px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:var(--shadow);overflow:hidden}
.ps-home-stable-services>summary{min-height:72px;padding:14px 16px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;align-items:center;cursor:pointer;list-style:none}
.ps-home-stable-services>summary::-webkit-details-marker{display:none}
.ps-home-stable-services>summary span,.ps-home-stable-services>summary small,.ps-home-stable-services>summary b{display:block}
.ps-home-stable-services>summary small{font-size:9px;letter-spacing:.1em;color:var(--muted)}
.ps-home-stable-services>summary b{margin-top:2px;font-size:16px}
.ps-home-stable-services>summary>strong{font-size:21px;color:var(--muted);transition:transform .18s ease}
.ps-home-stable-services[open]>summary>strong{transform:rotate(180deg)}
.ps-home-stable-service-list{border-top:1px solid var(--line);padding:5px 14px 9px}
.ps-home-stable-service-list button{width:100%;min-height:50px;padding:9px 2px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);text-align:left}
.ps-home-stable-service-list button:last-child{border-bottom:0}
.ps-home-stable-service-list button span{font-weight:800}
.ps-home-stable-service-list button strong{font-size:20px;color:var(--muted)}
.ps-quick-action{
  min-height:92px;
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
  color:var(--text);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  text-align:left;
  overflow:hidden
}
.ps-quick-action img{width:34px;height:34px;object-fit:contain}
.ps-quick-action b{width:100%;min-width:0;font-size:14px;line-height:1.2;overflow-wrap:anywhere}
.ps-quick-action.ps-plus-feature-locked{background:#f3ece5;border-style:dashed;color:#6f6258}
.ps-quick-action.ps-plus-feature-locked>img{filter:grayscale(.3);opacity:.72}
.ps-quick-action .plus-lock-badge{margin-top:0!important}

.hall-booking-time-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hall-booking-time-grid>div{min-width:0}
.hall-booking-time-grid .input{min-width:0;max-width:100%}
@media(max-width:350px){.hall-booking-time-grid{grid-template-columns:1fr}}

.ps-quick-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.ps-quick-choice{
  min-height:78px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:9px;
  align-items:center;
  padding:11px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--card)
}
.ps-quick-choice img{width:32px;height:32px;object-fit:contain}
.ps-quick-choice input{width:21px;height:21px;accent-color:var(--text)}
.ps-quick-choice b{font-size:13px;line-height:1.2}
.ps-quick-choice>span{min-width:0}.ps-quick-choice>span b{display:block}.ps-quick-choice .plus-lock-badge{margin-top:6px!important}
.ps-quick-choice.ps-plus-feature-locked{background:#f3ece5;border-style:dashed;color:#6f6258}
.ps-focus-choice.ps-plus-feature-locked{background:#f3ece5;border-style:dashed;color:#6f6258}
.ps-focus-choice .plus-lock-badge{margin-top:6px!important}
.ps-home-focus.ps-plus-feature-locked{border-style:dashed}.ps-home-focus-head h2 .plus-lock-badge{display:inline-flex!important;vertical-align:middle;margin:0 0 0 6px!important}

.ps-menu-intro{margin-bottom:13px}
.ps-notification-preferences{margin:12px 0;padding:5px 14px;background:#f5eee5;border:1px solid rgba(107,75,56,.18);border-radius:18px}
.ps-notification-preferences>.name{padding:11px 0 2px}.ps-notification-preferences>.meta{padding-bottom:7px}
.ps-notification-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 0;border-top:1px solid rgba(107,75,56,.13);cursor:pointer}
.ps-notification-row b,.ps-notification-row small{display:block}.ps-notification-row b{font-size:14px}.ps-notification-row small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.35}
.ps-notification-row input{width:24px;height:24px;accent-color:#6b4b38}
.ps-menu-group{background:var(--card);border:1px solid var(--line);border-radius:18px;margin-bottom:10px;box-shadow:var(--shadow);overflow:hidden}
.ps-menu-group>summary{
  min-height:58px;
  padding:13px 15px;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  gap:11px;
  font-weight:850
}
.ps-menu-group>summary::-webkit-details-marker{display:none}
.ps-menu-group>summary:after{content:'›';font-size:24px;line-height:1;margin-left:auto;transform:rotate(90deg);transition:transform .18s ease;color:var(--muted)}
.ps-menu-group[open]>summary:after{transform:rotate(-90deg)}
.ps-menu-group>summary img{width:32px;height:32px;object-fit:contain}
.ps-menu-body{padding:0 13px 13px}
.ps-menu-links{display:grid;gap:7px}
.ps-menu-link{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:var(--accent-soft);
  color:var(--text);
  text-align:left;
  text-decoration:none
}
.ps-menu-link img{width:27px;height:27px;object-fit:contain}
.ps-menu-link span{flex:1;min-width:0}
.ps-menu-link:after{content:'›';font-size:20px;color:var(--muted)}
.ps-menu-link.ps-menu-link-plus{background:#f0e8df;border:1px dashed #cbb8a8;color:#74675d}
.ps-menu-link.ps-menu-link-plus img{filter:grayscale(.3);opacity:.72}
.ps-menu-link-plus .ps-plus-lock{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#e3d7cc;color:#6b594c;font-size:9px;font-weight:900;letter-spacing:.06em;white-space:nowrap}
.ps-menu-body>.card:last-child,.ps-menu-body>.notice:last-child{margin-bottom:0}

.basis-plus-preview{margin:17px 0 5px;padding:15px;border:1px dashed #cbb8a8;border-radius:20px;background:linear-gradient(145deg,#f7f2ed,#eee5dd)}
.basis-plus-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}
.basis-plus-preview-head small{display:block;color:#8a7768;font-size:9px;font-weight:900;letter-spacing:.12em}
.basis-plus-preview-head h2{margin:3px 0 0;font-size:18px;color:#55483f}
.basis-plus-preview-head .mini{min-height:34px;background:#fbf8f4;color:#68584d;border-color:#cdbbad}
.basis-plus-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.basis-plus-preview-card{position:relative;min-width:0;min-height:124px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:12px;border:1px solid #d8cbc0;border-radius:16px;background:rgba(255,255,255,.5);color:#756a62;text-align:left;box-shadow:none}
.basis-plus-preview-card img{width:35px;height:35px;object-fit:contain;filter:grayscale(.35);opacity:.72}
.basis-plus-preview-card span,.basis-plus-preview-card b,.basis-plus-preview-card small{display:block;min-width:0}
.basis-plus-preview-card b{font-size:13px;line-height:1.2;color:#65594f}
.basis-plus-preview-card small{margin-top:3px;font-size:10px;line-height:1.3;color:#897d74}
.basis-plus-preview-card em{margin-top:auto;padding:4px 7px;border-radius:999px;background:#e3d7cc;color:#6b594c;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.06em}
.basis-plus-preview-card:active{background:#e9ded5}

.ps-guide{text-align:left;padding:2px 0}
.ps-guide-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}
.ps-guide-top h2{font-size:25px;margin:4px 0 0}
.ps-guide-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:0 0 18px}
.ps-guide-progress span{height:6px;border-radius:999px;background:var(--line)}
.ps-guide-progress span.done{background:var(--accent)}
body.ps-personal .ps-guide-progress span.done{background:#b6763e}
.ps-guide-card{padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--card);margin-bottom:12px}
.ps-guide-card h3{font-size:18px;margin-bottom:7px}
.ps-guide-card p{margin:0;color:var(--muted);line-height:1.45}
.ps-guide-status{display:flex;align-items:center;gap:10px;margin-top:13px;padding:10px 12px;border-radius:14px;background:var(--green-soft);color:var(--green);font-weight:750}
.ps-guide-status img{width:34px;height:34px;object-fit:contain}
.ps-guide-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ps-guide-actions button{min-height:49px}
.ps-guide-skip{width:100%;margin-top:8px;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px}

body.ps-personal .card,
body.ps-personal .ps-menu-group,
body.ps-personal .ps-quick-action{border-color:#ddcfc2}
body.ps-personal .reminder-card,
body.ps-personal .friend-request-card{border-color:#d9aa7f;background:linear-gradient(135deg,#fff7ee,#f2dfd0)}
body.ps-personal .care-card{border-left-color:#b6763e;background:linear-gradient(145deg,#fffaf5,#f5e9df)}

@media(max-width:370px){
  .ps-quick-grid,.ps-quick-choice-grid{grid-template-columns:1fr}
  .ps-focus-today-grid{grid-template-columns:1fr}
  .ps-focus-today-grid>div{min-height:0}
  .ps-guide-actions{grid-template-columns:1fr}
  .basis-plus-preview-grid{grid-template-columns:1fr}
  .basis-plus-preview-card{min-height:96px}
}
