.rhythm-checkin,.rhythm-calendar-day,.wellness-intro { padding:clamp(22px,3vw,34px);border:1px solid var(--line);border-radius:18px;background:var(--surface);margin-bottom:28px;min-width:0; }
.rhythm-checkin-heading,.rhythm-calendar-heading { display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;gap:20px; }
.rhythm-checkin h3,.rhythm-calendar-heading h3,.wellness-intro h3 { font-size:clamp(26px,3vw,36px);line-height:1.2;margin:10px 0 18px; }
.rhythm-checkin>p,.rhythm-calendar-heading>p,.wellness-intro>p { font-size:15px;line-height:1.75;color:var(--muted);max-width:900px; }
.rhythm-fields { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:20px;margin:26px 0; }
.rhythm-fields label,.wellness-filters label { min-width:0;display:grid;gap:10px;font-size:13px;font-weight:750; }
.rhythm-fields select,.rhythm-fields input,.wellness-filters select,.wellness-filters input { width:100%;min-width:0;padding:13px 12px;font-size:16px;line-height:1.4;min-height:48px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:9px; }
.rhythm-check { display:flex;align-items:start;gap:12px;line-height:1.6;font-size:14px; }
.rhythm-check input { flex:0 0 20px;width:20px;height:20px;margin:2px 0; }
.rhythm-form-actions { display:flex;flex-wrap:wrap;gap:14px;margin-top:24px; }
.rhythm-form-actions button,.rhythm-card-actions button,.wellness-detail-toolbar button,.wellness-detail form>button { padding:12px 17px;min-height:48px;line-height:1.5;white-space:normal; }
.rhythm-status { font-size:14px;line-height:1.6;margin-top:16px;color:#337f76; }
.rhythm-selection-reason,.rhythm-pattern { font-size:13px;line-height:1.8;color:var(--muted);margin-top:22px; }
.rhythm-pattern { border-top:1px solid var(--line);padding-top:20px; }
.rhythm-pattern summary,.rhythm-checkin-details summary,.wellness-detail-context summary { font-weight:750;cursor:pointer;line-height:1.6; }
.rhythm-pattern p { margin-top:14px; }
.rhythm-checkin-details { margin:24px 0 8px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2); }
.wellness-detail-context p { margin-top:18px; }
.rhythm-notice { padding:18px;background:var(--lilac-soft);color:var(--ink);border-radius:10px;font-size:14px;line-height:1.7;margin-top:20px; }
.rhythm-suggestions { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px;align-items:start; }
.rhythm-suggestion { border:1px solid var(--line);border-radius:14px;padding:26px;min-width:0;background:var(--surface); }
.rhythm-suggestion h4 { font-size:23px;line-height:1.3;margin:14px 0 18px; }
.rhythm-suggestion>p:not(.eyebrow) { font-size:15px;line-height:1.8;color:var(--muted); }
.rhythm-card-icon,.wellness-card-icon { width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--lilac-soft);color:#337f76;margin-bottom:22px;flex:0 0 48px; }
.rhythm-card-icon svg,.wellness-card-icon svg { width:26px;height:26px; }
.rhythm-card-actions { display:flex;flex-wrap:wrap;gap:12px;margin-top:22px; }
.rhythm-calendar-heading { display:block; }
.rhythm-calendar-heading h3 { margin-top:12px; }
.rhythm-calendar-note { font-size:14px;line-height:1.8;color:var(--muted);margin:22px 0; }
.rhythm-legend { display:flex;flex-wrap:wrap;gap:10px;margin:22px 0; }
.rhythm-legend>span { padding:8px 12px;border:1px solid var(--line);border-radius:24px;font-size:12px;line-height:1.5; }
.rhythm-phase-Menstruation { background:#f2edff;color:#503d75; }
.rhythm-phase-Follikel { background:#e7f6f3;color:#245f56; }
.rhythm-phase-Ovulation { background:#f9f0db;color:#745912; }
.rhythm-phase-Luteal { background:#ede7f0;color:#5d3e70; }
.rhythm-phase-Perimenopause,.rhythm-phase-Menopause { background:var(--surface-2);color:var(--ink); }
#calendarGrid .day-tile { min-width:0;min-height:116px;height:auto;padding-bottom:10px;display:flex;flex-direction:column;align-items:stretch;gap:8px; }
#calendarGrid .tile-tags { flex-wrap:wrap; }
.rhythm-day-indicator { position:static;display:inline-flex;align-self:flex-start;justify-content:center;min-width:22px;min-height:22px;padding:3px 6px;border-radius:8px;font-size:11px;font-weight:750;line-height:1.4; }
.rhythm-day-check { position:static;align-self:flex-start;color:#337f76;line-height:1.3;font-size:13px; }
.rhythm-calendar-day { margin-top:28px; }
.rhythm-planned { margin-top:30px; }
.rhythm-planned h4 { font-size:22px;line-height:1.4;margin-bottom:18px; }
.rhythm-planned ul { list-style:none;margin:0;padding:0;display:grid;gap:14px; }
.rhythm-planned li { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:18px;border:1px solid var(--line);border-radius:10px;line-height:1.6; }
.rhythm-planned li strong { overflow-wrap:anywhere;min-width:0;flex:1 1 200px; }
.rhythm-planned button { padding:10px 15px;min-height:44px; }
body[data-moon-context="off"] #calendarGrid .moon-symbol,body[data-moon-context="off"] .horoscope-card { display:none; }
body[data-moon-context="off"] #dayAstro { font-size:13px;line-height:1.6; }
body[data-active-view="wellness"] .sidebar { display:none; }
body[data-active-view="wellness"] .app-shell { grid-template-columns:minmax(0,1fr); }
body[data-active-view="wellness"] main { max-width:1400px;width:100%;margin-inline:auto; }
body[data-active-view="wellness"] .topbar h2 { line-height:1.15; }
#wellnessView { min-width:0; }
#wellnessView h3,#wellnessView h4,#wellnessView p,#wellnessView li,#wellnessView strong,.rhythm-suggestion h4 { overflow-wrap:anywhere; }
.wellness-kind-tabs { display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px; }
.wellness-kind-tabs button { border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:13px 18px;min-height:48px;border-radius:24px;font-weight:750;line-height:1.5;cursor:pointer; }
.wellness-kind-tabs button[aria-pressed="true"] { background:var(--mint);color:#102b27;border-color:var(--mint); }
.wellness-filters { display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:20px;margin:24px 0; }
#wellnessCount { display:block;font-size:20px;line-height:1.5;margin:26px 0; }
.wellness-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:24px;align-items:start; }
.wellness-card { display:flex;flex-direction:column;gap:16px;min-width:0;width:100%;padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer; }
.wellness-card:hover { border-color:var(--accent);box-shadow:var(--shadow); }
.wellness-card .wellness-card-icon { margin:0 0 6px; }
.wellness-card strong { font-size:23px;line-height:1.3; }
.wellness-card>span:not(.wellness-card-icon):not(.eyebrow) { line-height:1.75;font-size:15px; }
.wellness-card .wellness-card-meta { font-size:12px!important;color:var(--muted); }
.wellness-open-label { border-top:1px solid var(--line);padding-top:16px;align-self:stretch;font-weight:750; }
.wellness-detail-toolbar { display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px; }
.wellness-detail-toolbar>span { color:var(--muted);font-size:13px;line-height:1.6; }
.wellness-detail { max-width:1000px;margin-inline:auto; }
.wellness-detail>h3 { font-size:clamp(30px,4vw,48px);line-height:1.2;margin:18px 0 24px; }
.wellness-detail-lead { font-size:19px;line-height:1.8;color:var(--muted);margin-bottom:30px; }
.wellness-detail-context,.wellness-detail section,.wellness-detail form { padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin:26px 0; }
.wellness-detail h4 { font-size:25px;line-height:1.4;margin:0 0 20px; }
.wellness-detail p,.wellness-detail li { font-size:16px;line-height:1.85; }
.wellness-detail-context strong { display:block;margin-bottom:15px;font-size:17px;line-height:1.5; }
.wellness-detail ol { margin:0;padding-left:24px; }
.wellness-detail li { padding-left:8px;margin-bottom:20px; }
.wellness-material,.wellness-safety { color:var(--muted);font-size:14px!important;margin-top:24px;line-height:1.8; }
.wellness-detail .wellness-easier { background:#e7f6f3;color:#163d34; }
.wellness-sources a { color:#337f76;text-underline-offset:3px; }
.wellness-sources p+p { margin-top:18px; }
.wellness-back-link { margin:26px 0; }
.wellness-back-link button { padding:13px 18px;line-height:1.5;min-height:48px; }
.guidance-reveal .rhythm-card-actions { margin-bottom:24px; }
.rhythm-recipe-preview { display:block;width:100%;height:auto;max-height:360px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;margin:20px 0; }
#calendarGrid .chip.rhythm-phase-Menstruation { background:#f2edff;color:#503d75; }
#calendarGrid .chip.rhythm-phase-Follikel { background:#e7f6f3;color:#245f56; }
#calendarGrid .chip.rhythm-phase-Ovulation { background:#f9f0db;color:#745912; }
#calendarGrid .chip.rhythm-phase-Luteal { background:#ede7f0;color:#5d3e70; }
.guidance-category-copy { min-width:0; }
.guidance-category-copy strong { font-size:17px;line-height:1.45;overflow-wrap:anywhere; }
.guidance-category-copy small { line-height:1.65; }
@media(max-width:760px){.guidance-reveal{padding:0 18px 22px}.suggestion-strip{flex-wrap:wrap;gap:14px}.suggestion-strip>span{min-width:0;overflow-wrap:anywhere}}
body[data-theme="dark"] .wellness-sources a,body[data-theme="dark"] .rhythm-status { color:#80d6ca; }
body[data-theme="dark"] .rhythm-card-icon,body[data-theme="dark"] .wellness-card-icon { background:#302b3f;color:#b8e9df; }
body[data-theme="dark"] .rhythm-notice { background:#302b3f; }
@media(max-width:980px){.wellness-filters{grid-template-columns:1fr 1fr}.wellness-filters label:first-child{grid-column:1/-1}.rhythm-fields{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.rhythm-checkin,.rhythm-calendar-day{padding:22px}.rhythm-fields,.wellness-filters{grid-template-columns:1fr}.wellness-filters label:first-child{grid-column:auto}.rhythm-suggestions,.wellness-grid{grid-template-columns:1fr}.wellness-detail-context,.wellness-detail section,.wellness-detail form{padding:24px}.wellness-detail>h3{font-size:32px}.wellness-card,.rhythm-suggestion{padding:24px}.rhythm-checkin-heading button{width:100%;white-space:normal}.rhythm-form-actions button{width:100%}.wellness-kind-tabs button{flex:1 1 130px}.wellness-detail-toolbar{align-items:start}#calendarGrid .day-tile{min-height:104px;padding:7px 3px;gap:6px}#calendarGrid .chip{font-size:9px;padding:3px 4px;white-space:normal;line-height:1.4}.rhythm-day-indicator{font-size:10px;min-width:20px;min-height:20px}#calendarGrid .tile-tags{gap:4px}.rhythm-checkin>p{font-size:14px}}
