/* v0.6.21: small UX corrections; same calm graphite language. */
/* Logged-in welcome is no longer a pale/white foreign element. */
html[data-acgs-theme="ruhig"] .landing-account{
 background:#28323a;border:1px solid #53616d;color:#f2f6fa;
 border-radius:15px;padding:15px 16px;gap:6px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-acgs-theme="ruhig"] .landing-account strong{color:#c4d1dc;font-size:13px}
html[data-acgs-theme="ruhig"] .landing-account span{color:#f3f6fa;font-size:16px;line-height:1.4}
html[data-acgs-theme="ruhig"] .landing-account-logout{
 display:block;width:100%;background:#303c45;color:#ecf1f5;
 border:1px solid #61717e;border-radius:12px;min-height:46px;
 margin-top:12px;font-size:15px;font-weight:720;
 transition:background .2s ease,border-color .2s ease;
}
html[data-acgs-theme="ruhig"] .landing-account-logout:hover{background:#3a4a55;border-color:#899dac}
html[data-acgs-theme="ruhig"] .landing-auth-card{background:#27313a;border:1px solid #4f616e;color:#f2f6fa}
html[data-acgs-theme="ruhig"] .landing-auth-card h2{color:#f4f7fa}
html[data-acgs-theme="ruhig"] .landing-auth-switch{background:#1c252c}
html[data-acgs-theme="ruhig"] .landing-auth-switch button{color:#c5d4df}
html[data-acgs-theme="ruhig"] .landing-auth-switch button.is-current{background:#455764;color:#fff;box-shadow:none}
html[data-acgs-theme="ruhig"] .landing-auth-form label,
html[data-acgs-theme="ruhig"] .landing-auth-card .acgs-password-form label{color:#dce5ec}
html[data-acgs-theme="ruhig"] .landing-auth-form input,
html[data-acgs-theme="ruhig"] .landing-auth-card .acgs-password-form input{background:#1f292f;color:#f4f7fa;border-color:#526471;color-scheme:dark}
html[data-acgs-theme="ruhig"] .landing-auth-form input:focus{outline-color:#b5d5ed}
html[data-acgs-theme="ruhig"] .landing-auth-link{color:#d5e7f2}
html[data-acgs-theme="ruhig"] .landing-auth-note{color:#bbcbd5!important}
/* Visible breathing room between account identity and logout. */
.acgs-settings-page .acgs-account-badge + .acgs-settings-actions{margin-top:17px}
.acgs-settings-page .acgs-settings-actions{gap:11px}
.acgs-settings-page .acgs-settings-actions .btn.secondary{
 background:#313f49;color:#f2f6fa;border:1px solid #647684;
 border-radius:12px;min-height:47px;
}
.acgs-settings-page .acgs-settings-actions .btn.secondary:hover{background:#415260}
/* Mental: self-contained collapsible sleep card within the "Wie fühlst du dich?" check-in. */
.mental-checkin .mental-sleep{margin-top:19px;border:1px solid #dae7dd;background:#f7faf8;border-radius:15px;overflow:hidden}
.mental-sleep-summary{display:flex;align-items:center;gap:11px;padding:12px 13px;min-height:68px;cursor:pointer;list-style:none}
.mental-sleep-summary::-webkit-details-marker{display:none}
.mental-sleep-label{display:grid;gap:4px;flex:1;min-width:0}
.mental-sleep-label strong{font-size:16px;line-height:1.28;color:#254a3b}
.mental-sleep-label small{font-size:12px;color:#718c7b;line-height:1.35}
.mental-sleep[open] .mental-chevron{transform:rotate(180deg)}
.mental-sleep-body{border-top:1px solid #dce8e0;padding:15px 13px 16px}
html[data-acgs-theme="ruhig"] .mental-checkin .mental-sleep{background:#2c373e;border-color:#536571;color:#edf3f8}
html[data-acgs-theme="ruhig"] .mental-sleep-label strong{color:#f1f6fa}
html[data-acgs-theme="ruhig"] .mental-sleep-label small{color:#c4d2dc}
html[data-acgs-theme="ruhig"] .mental-sleep-body{border-color:#536571}
@media(max-width:350px){.mental-sleep-grid{grid-template-columns:1fr}.mental-sleep-summary{padding:11px}.mental-sleep-body{padding:12px}}
@media(prefers-reduced-motion:reduce){.landing-account-logout,.mental-sleep .mental-chevron{transition:none!important}}
