/* Central Orbit v5.50.71: Gesundheitsbereich – Layout & Informationsarchitektur.
 * Additive styles, deliberately scoped. No data/engine/schema changes. */
.co-health-shell, .co-health-rel-embedded { --coh-border:rgba(95,190,184,.20); --coh-card:#06252b; --coh-muted:#91b7ba; }
.co-health-shell { gap:12px; }
.co-health-hero { min-height:190px; padding:24px 28px; background-position:center 57%; }
.co-health-hero h1 { font-size:clamp(29px,3vw,43px); margin:9px 0 6px; letter-spacing:-.025em; }
.co-health-hero p { font-size:14px; max-width:530px; }
.co-health-hero--inner { min-height:145px; background-position:center 57%; }
.co-health-hero--inner h1 { font-size:clamp(27px,2.6vw,37px); margin:7px 0 5px; }
.co-health-hero--inner .co-health-privacy { margin-top:8px; }
.co-health-tabs { padding:7px; gap:7px; border-radius:13px; }
.co-health-tabs button { padding:10px 15px; border-radius:10px; }
.co-health-tabs button.is-active { background:linear-gradient(115deg,#137f79,#064b51); box-shadow:inset 0 0 0 1px rgba(91,240,220,.46),0 3px 15px rgba(28,198,182,.10); }
.co-health-card { padding:17px 19px; gap:13px; border-radius:15px; }
.co-health-card>header strong { font-size:15px; color:#67e8d7; }
.co-health-card>header small { font-size:11.5px; }
.co-health-card button { transition:border-color .15s ease,background .15s ease,transform .15s ease; }
.co-health-card button:focus-visible,.co-health-tabs button:focus-visible,.co-health-rel-subtabs button:focus-visible { outline:2px solid #43ead3; outline-offset:3px; }
.co-health-primary { align-self:start; }

/* Health overview: leading chat invitation, two adjacent shortcuts, compact insights. */
.co-health-overview-v2 { display:grid; gap:13px; }
.co-health-overview-lead { display:grid; grid-template-columns:minmax(0,1.24fr) minmax(0,.95fr); gap:13px; }
.co-health-overview-shortcuts { display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); gap:13px; }
.co-health-feature { background:linear-gradient(130deg,rgba(8,69,72,.67),rgba(4,28,35,.97)),linear-gradient(130deg,#052830,#041b22); }
.co-health-feature>header strong { font-size:18px; color:#f5ffff; }
.co-health-conversation-teaser { display:flex; align-items:flex-start; gap:15px; padding:17px; min-height:111px; border:1px solid rgba(73,211,190,.17); background:rgba(3,27,33,.54); border-radius:12px; }
.co-health-avatar { width:46px; height:46px; flex:0 0 46px; display:grid; place-items:center; color:#55f4e2; font-size:23px; border-radius:50%; background:radial-gradient(circle at 40% 30%,#106e7a,#092835 78%); box-shadow:0 0 0 3px rgba(19,140,152,.22),0 0 18px rgba(27,183,208,.12); }
.co-health-conversation-teaser strong,.co-health-chat-start strong { display:block; font-size:16px; color:#f0fbfa; margin:1px 0 7px; }
.co-health-conversation-teaser p,.co-health-chat-start p { max-width:520px; line-height:1.6; color:#c3dddc; }
.co-health-overview-actions { display:flex; gap:16px; flex-wrap:wrap; align-items:center; margin-top:auto; }
.co-health-overview-actions span { font-size:12px; color:var(--co-health-muted); }
.co-health-shortcut { justify-content:start; gap:9px; }
.co-health-shortcut p { max-width:470px; }
.co-health-shortcut button { justify-self:start; }
.co-health-overview-details { display:grid; grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr)); gap:13px; }
.co-health-insight { background:linear-gradient(125deg,rgba(46,91,84,.24),rgba(4,28,36,.96)); }
.co-health-insight-copy { font-size:14px !important; line-height:1.65 !important; color:#dcefed !important; overflow-wrap:anywhere; white-space:pre-wrap; }
.co-health-empty-state { padding:16px; border:1px dashed rgba(115,183,176,.21); background:rgba(2,28,33,.44); border-radius:12px; }
.co-health-empty-state strong { color:#e1f6f2; font-size:14px; }
.co-health-empty-state p { margin-top:6px; }

/* Therapist: prompts visible before composing. No blank 400px container on first visit. */
.co-health-therapist { grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr); align-items:start; }
.co-health-therapist .co-health-column { align-content:start; }
.co-health-chat { gap:11px; }
.co-health-chat-stream { height:clamp(300px,42vh,500px); border-radius:13px; padding:13px; gap:12px; }
.co-health-chat-stream.is-empty { height:auto; min-height:178px; display:flex; align-items:center; justify-content:center; }
.co-health-chat-start { width:min(100%,670px); display:flex; align-items:center; gap:16px; padding:20px; border-radius:15px; border:1px solid rgba(69,217,205,.19); background:linear-gradient(120deg,rgba(10,63,70,.56),rgba(5,40,49,.72)); }
.co-health-chat-starters { display:grid; gap:8px; }
.co-health-chat-starters>small { color:#9ebcbe; letter-spacing:.015em; }
.co-health-chat-prompts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.co-health-card .co-health-chat-prompts button { text-align:left; font-size:12px; line-height:1.4; padding:10px 11px; border:1px solid rgba(88,182,177,.2); background:rgba(5,45,52,.7); }
.co-health-chat-compose { gap:9px; }
.co-health-chat-compose textarea { min-height:75px; font-size:14px; }
.co-health-chat-compose>div:last-child { display:grid; grid-template-columns:auto auto minmax(120px,1fr); align-items:center; gap:8px; }
.co-health-chat-compose>div:last-child .co-health-primary { justify-self:end; }
.co-health-therapist-side .co-health-facts { min-height:0; }
.co-health-fact-list>button { display:flex; gap:10px; }
.co-health-therapist-side [data-health-review] { justify-self:start; }

/* Beziehung: one hero only; relationship subviews live inside the health section. */
.co-health-rel-header { margin-bottom:12px; }
.relationship-hub.co-health-rel-embedded { min-width:0; margin-top:0 !important; padding-top:0 !important; display:block; }
.relationship-hub.co-health-rel-embedded .co-health-rel-bar { display:flex; justify-content:space-between; align-items:center; gap:15px; flex-wrap:wrap; padding:10px 14px; border-radius:14px; border:1px solid rgba(93,182,178,.19); background:rgba(3,32,39,.87); }
.co-health-rel-subtabs { display:flex; gap:7px; flex-wrap:wrap; }
.relationship-hub.co-health-rel-embedded .co-health-rel-subtabs button { padding:10px 17px; font-size:13px; font-weight:700; color:#cbebea; border:1px solid rgba(83,182,171,.22); background:#092c32; border-radius:10px; cursor:pointer; }
.relationship-hub.co-health-rel-embedded .co-health-rel-subtabs button.active { background:linear-gradient(95deg,#137f78,#085254); color:#fff; border-color:rgba(92,224,206,.52); }
.co-health-rel-context { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.co-health-rel-context span { padding:8px 10px; font-size:11px; color:#bad4d5; border:1px solid rgba(84,152,152,.15); border-radius:9px; background:rgba(7,45,53,.7); }
.relationship-hub.co-health-rel-embedded .relationship-v2-layout { margin-top:12px; }
.relationship-hub.co-health-rel-embedded .relationship-card { border-radius:15px; }
.relationship-hub.co-health-rel-embedded .relationship-insights { margin-top:13px; }
.relationship-hub.co-health-rel-embedded .relationship-v2-calendar .relationship-calendar-day { min-height:57px; }

/* Nachfragen: independent function cards with clear status + controlled form. */
.co-health-checkins-v2 { display:grid; gap:13px; }
.co-health-followup-intro { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:18px 22px; border:1px solid var(--co-health-line); border-radius:15px; background:linear-gradient(120deg,rgba(19,78,78,.33),rgba(4,32,40,.94)); }
.co-health-eyebrow { font-weight:800; font-size:10px; letter-spacing:.16em; color:#64e0d1; }
.co-health-followup-intro h2 { font-size:21px; letter-spacing:-.02em; margin:6px 0; color:white; }
.co-health-followup-intro p { font-size:12px; color:#aacbc9; max-width:760px; line-height:1.55; }
.co-health-status-pills { display:flex; gap:7px; align-items:center; flex-wrap:wrap; justify-content:end; }
.co-health-status-pills span { display:inline-flex; padding:9px 11px; border-radius:999px; background:rgba(64,97,108,.25); color:#b2c9cf; border:1px solid rgba(107,160,170,.18); font-size:11px; white-space:nowrap; }
.co-health-status-pills span.is-on { color:#6aecd3; border-color:rgba(61,222,169,.38); background:rgba(16,119,89,.22); }
.co-health-status-pills span.is-muted { color:#e5ca9f; border-color:rgba(215,173,100,.25); }
.co-health-followup-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; align-items:stretch; }
.co-health-settings-panel { align-content:start; gap:13px; }
.co-health-settings-panel>header { margin-bottom:3px; }
.co-health-settings-panel>header strong { font-size:17px; }
.co-health-settings-panel h3 { font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:#85d9cf; margin:10px 0 0; }
.co-health-toggle-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.co-health-setting-toggle { min-height:67px; padding:11px 13px; background:rgba(8,52,60,.48); }
.co-health-setting-toggle strong { font-size:13px; }
.co-health-setting-toggle small { font-size:11px; line-height:1.4; }
.co-health-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.co-health-review-delay { display:flex !important; flex-direction:row !important; align-items:center; justify-content:space-between; gap:14px; padding:13px; background:rgba(7,50,58,.55); border-radius:12px; border:1px solid rgba(95,183,176,.17); }
.co-health-review-delay-input { display:flex; align-items:center; gap:7px; flex:0 0 165px; }
.co-health-review-delay-input input { width:80px !important; }
.co-health-review-delay-input span { font-size:11px; color:#c5d8d7; }
.co-health-channel-list { display:flex; flex-wrap:wrap; gap:8px; }
.co-health-channel-list label { border:1px solid rgba(79,165,155,.22); border-radius:11px; padding:11px; background:rgba(6,51,56,.4); }
.co-health-config-actions { margin-top:8px; }
.co-health-followup-bottom { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.co-health-followup-bottom .co-health-card { align-content:start; }
.co-health-history .co-health-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }

@media (max-width:1150px) {
  .co-health-overview-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .co-health-overview-details .co-health-insight { grid-column:1/-1; }
  .co-health-therapist { grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); }
  .co-health-rel-context { width:100%; }
}
@media (max-width:950px) {
  .co-health-overview-lead { grid-template-columns:1fr; }
  .co-health-overview-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:none; }
  .co-health-therapist { grid-template-columns:1fr; }
  .co-health-followup-form { grid-template-columns:1fr; }
  .co-health-followup-intro { flex-wrap:wrap; }
  .co-health-status-pills { justify-content:start; }
}
@media (max-width:700px) {
  .co-health-hero { min-height:160px; padding:18px; }
  .co-health-hero--inner { min-height:145px; }
  .co-health-hero h1 { font-size:30px; }
  .co-health-overview-shortcuts,.co-health-overview-details,.co-health-followup-bottom { grid-template-columns:1fr; }
  .co-health-overview-details .co-health-insight { grid-column:auto; }
  .co-health-chat-prompts { grid-template-columns:1fr 1fr; }
  .co-health-chat-compose>div:last-child { display:flex; flex-wrap:wrap; }
  .co-health-chat-compose>div:last-child .co-health-primary { width:100%; }
  .co-health-chat-start { padding:14px; }
  .co-health-chat-stream.is-empty { min-height:158px; }
  .co-health-toggle-group,.co-health-history .co-health-list { grid-template-columns:1fr; }
  .co-health-rel-context { display:none; }
  .relationship-hub.co-health-rel-embedded .co-health-rel-bar { padding:8px; }
  .relationship-hub.co-health-rel-embedded .co-health-rel-subtabs { width:100%; }
  .relationship-hub.co-health-rel-embedded .co-health-rel-subtabs button { flex:1; padding:10px 9px; }
  .co-health-followup-intro { padding:16px; }
}
@media (max-width:400px) {
  .co-health-chat-prompts { grid-template-columns:1fr; }
  .co-health-fields { grid-template-columns:1fr 1fr; }
  .co-health-review-delay { flex-wrap:wrap; }
}
