/* Behaviour Quantifier v1.6 longitudinal trend layer */
.icc-trend-card{overflow:hidden}
.icc-trend-card h2{margin:.2rem 0 .45rem}
.icc-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.icc-trend-grid label{display:flex;flex-direction:column;gap:6px}
.icc-objective-panel{margin:14px 0;padding:12px 14px;border:1px solid var(--icc-border);border-radius:16px;background:#fdf9f3}
.icc-objective-panel summary{cursor:pointer;font-weight:800;color:var(--icc-navy)}
.icc-objective-panel summary+*{margin-top:10px}
.icc-criterion-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.icc-criterion-row span{font-size:.78rem;color:var(--icc-soft);white-space:nowrap}
.icc-preview-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:18px 0 8px}
.icc-preview-head>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.icc-preview-head small{color:var(--icc-soft)}
.icc-current-value{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right;white-space:nowrap}
.icc-current-value strong{color:var(--icc-navy);font-size:1.05rem}
.icc-trend-preview{border:1px solid var(--icc-border);border-radius:16px;background:#fff;padding:8px;overflow:hidden}
.icc-trend-svg{display:block;width:100%;height:auto;min-height:180px}
.icc-grid{stroke:#ece3d8;stroke-width:1}
.icc-axis{stroke:#7e8b90;stroke-width:1.2}
.icc-axis-label,.icc-unit-label,.icc-phase-label,.icc-objective-label{font:11px system-ui,-apple-system,"Segoe UI",sans-serif;fill:#68777d}
.icc-unit-label{font-weight:700;fill:#465a63}
.icc-trend-line{fill:none;stroke:var(--icc-clay);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.icc-trend-dot{fill:var(--icc-clay);stroke:#fff;stroke-width:2}
.icc-phase-line{stroke:#87969c;stroke-width:1.2;stroke-dasharray:5 5}
.icc-phase-label{font-size:10px}
.icc-objective-line{stroke:var(--icc-success);stroke-width:1.8;stroke-dasharray:6 4}
.icc-objective-label{fill:var(--icc-success);font-size:10px;font-weight:700}
.icc-empty-trend{padding:24px;text-align:center;color:var(--icc-soft);font-size:.9rem}
.icc-import-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.icc-import-strip>span{flex:1 1 180px;color:var(--icc-soft);font-size:.82rem}
.icc-import-strip .secondary{padding:9px 12px;min-height:38px;font-size:.8rem}
.icc-export-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.icc-trend-status:empty{display:none}
.icc-trend-status.error{color:#7b433a;background:#f9ece8;border-color:#dfb9ae}
.icc-trend-footnote{margin:11px 0 0;color:var(--icc-soft);font-size:.76rem;line-height:1.45}
@media(max-width:560px){
  .icc-trend-grid,.icc-export-grid{grid-template-columns:1fr}
  .icc-preview-head{align-items:flex-start;flex-direction:column}
  .icc-current-value{align-items:flex-start;text-align:left}
  .icc-import-strip{align-items:stretch;flex-direction:column}
  .icc-import-strip .secondary{width:100%}
}
