/* Central Orbit 5.50.73 | Gesundheit: Reflexion + Beziehungsanalyse */
/* Widescreen: keep two rows, but give the conversation/reflection area real reading width. */
@media (min-width: 1280px) {
  .co-health-rel-v3 .co-health-rel-shared-grid { grid-template-columns:repeat(12,minmax(0,1fr)); }
  .co-health-rel-v3 .co-health-rel-shared-grid > :nth-child(1) { grid-column:span 3; }
  .co-health-rel-v3 .co-health-rel-shared-grid > .co-health-rel-reflection { grid-column:span 6; }
  .co-health-rel-v3 .co-health-rel-shared-grid > :nth-child(3) { grid-column:span 3; }
  .co-health-rel-v3 .co-health-rel-shared-grid > :nth-child(n+4) { grid-column:span 4; }
}
/* Intermediate desktop: centered reflection gets two columns; supporting cards wrap naturally. */
@media (min-width: 861px) and (max-width: 1279px) {
  .co-health-rel-v3 .co-health-rel-shared-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .co-health-rel-v3 .co-health-rel-shared-grid > .co-health-rel-reflection {grid-column:span 2;grid-row:1;}
}
.co-health-rel-v3 .co-health-rel-reflection { min-width:0; gap:8px; }
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goals {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal {max-height:none;min-height:98px;padding:10px 11px;overflow:hidden;gap:8px;display:flex;flex-direction:column;}
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal-top {align-items:flex-start;gap:8px;}
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal-top > span {white-space:normal;text-overflow:clip;overflow:visible;line-height:1.35;font-size:11px;}
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal-top button {white-space:nowrap;font-size:10px;padding:5px 7px;line-height:1.3;}
.co-health-rel-v3 .co-health-rel-goal-entries {display:grid;align-content:start;gap:5px;overflow:auto;max-height:120px;scrollbar-width:thin;min-width:0;}
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal-entry {white-space:normal;overflow-wrap:anywhere;text-overflow:clip;width:100%;min-width:0;text-align:left;line-height:1.4;font-size:11px;padding:6px 9px;}
.co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal-entries > small {font-size:10px;line-height:1.5;color:#90b7b7;padding:5px 2px;}
/* One calm opt-in relationship analysis rather than repeated KPI pills at the bottom. */
.co-health-rel-v3 details.co-health-rel-analysis {min-height:0;padding:0!important;display:block;}
.co-health-rel-v3 .co-health-rel-analysis > summary {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;cursor:pointer;list-style:none;}
.co-health-rel-v3 .co-health-rel-analysis > summary::-webkit-details-marker {display:none;}
.co-health-rel-v3 .co-health-rel-analysis > summary:focus-visible {outline:2px solid #40e8d0;outline-offset:2px;border-radius:12px;}
.co-health-rel-v3 .co-health-rel-analysis-label {display:flex;align-items:center;gap:9px;min-width:0;}
.co-health-rel-v3 .co-health-rel-analysis-label > span:first-child {color:#55e3d3;font-size:17px;flex:none;}
.co-health-rel-v3 .co-health-rel-analysis-label > span:last-child {display:flex;flex-direction:column;gap:3px;min-width:0;}
.co-health-rel-v3 .co-health-rel-analysis-label strong {font-size:13px;color:#84e2d8;}
.co-health-rel-v3 .co-health-rel-analysis-label small {font-size:10px;color:#9bbdc0;line-height:1.5;}
.co-health-rel-v3 .co-health-rel-analysis-chevron {font-size:18px;color:#79d5cb;transition:transform .2s;flex:none;}
.co-health-rel-v3 .co-health-rel-analysis[open] .co-health-rel-analysis-chevron {transform:rotate(180deg);}
.co-health-rel-v3 .co-health-rel-analysis-body {border-top:1px solid rgba(78,174,174,.2);padding:12px 15px 14px;display:grid;gap:12px;}
.co-health-rel-v3 .co-health-rel-analysis-body > p {margin:0;font-size:11px;line-height:1.6;color:#a9c9c8;}
.co-health-rel-v3 .co-health-rel-analysis-empty {padding:12px;border:1px dashed rgba(85,166,159,.26);border-radius:10px;color:#9bbabd;font-size:11px;}
.co-health-rel-v3 .co-health-rel-analysis-actions {display:flex;justify-content:flex-end;}
.co-health-rel-v3 .co-health-rel-analysis-actions .co-insight-run {margin-left:0!important;}
.co-health-rel-v3 .co-health-rel-analysis-actions .co-insight-run {appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:8px 14px!important;border-radius:999px!important;border:1px solid rgba(97,220,169,.53)!important;background:linear-gradient(120deg,rgba(52,156,115,.24),rgba(27,93,92,.22))!important;color:#94f5ca!important;font-size:11px!important;font-weight:750!important;line-height:1.3!important;cursor:pointer!important;}
.co-health-rel-v3 .co-health-rel-analysis-actions .co-insight-run:hover {background:rgba(16,96,87,.65)!important;border-color:#80edc0!important;}
.co-health-rel-v3 .co-health-rel-analysis-actions .co-insight-run:disabled {opacity:.6!important;cursor:wait!important;}
@media (max-width:860px) {
  .co-health-rel-v3 .co-health-rel-shared-grid {grid-template-columns:1fr;}
}
@media (max-width:600px) {
  .co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goals {grid-template-columns:1fr;}
  .co-health-rel-v3 .co-health-rel-reflection .co-health-rel-goal {min-height:0;}
  .co-health-rel-v3 .co-health-rel-analysis-actions .co-insight-run {white-space:normal!important;max-width:100%;}
}
@media(prefers-reduced-motion:reduce){.co-health-rel-v3 .co-health-rel-analysis-chevron{transition:none;}}
