/* Generated by skills/codex-radar/scripts/intelligence_palette.py (write-css). Do not edit by hand.
   Fixed score scale for Degradation Radar heat cells; stops at 0%, 40%, 60%, 70%, 80%, 90%, 100% of the maximum
   (total /150, components /100). Dark: #1b2531 #1f3b56 #1a5d74 #147f78 #22a466 #9fcf3f #ffd34d. Light: #e2e8ee #c8dae7 #9fd0d3 #6ec0a6 #36a06a #237a3f #0d4a2b. */
.ih-cell{background:var(--ih-d);color:var(--ih-di)}
:root[data-theme="light"] .ih-cell{background:var(--ih-l);color:var(--ih-li)}
.ih-cell .cir-money,.ih-cell .cir-time{background:transparent}
.ih-cell[data-heat-state="unknown"],.ih-swatch[data-heat-state="unknown"]{background:repeating-linear-gradient(135deg,var(--surface-3,#112019) 0 5px,var(--surface,#09110c) 5px 10px);color:var(--text-2,#a2b8aa)}
.ih-swatch[data-heat-state="unsupported"]{background:transparent;border:1px dashed var(--line-2,#2a5a40)}
.ih-unsupported{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:40px;border:1px dashed var(--line-2,#2a5a40);border-radius:4px;color:var(--text-3,#6f8a79)}
.ih-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 14px;color:var(--text-2,#a2b8aa);font:var(--fs-2xs,11px)/1.4 var(--font-mono,monospace)}
.ih-legend-title{color:var(--text-2,#a2b8aa)}
.ih-legend-scale{position:relative;display:inline-block;width:min(320px,100%);height:30px}
.ih-legend-ramp{position:absolute;inset:0 0 auto;height:10px;border-radius:2px;background:linear-gradient(90deg, #1b2531 0%, #1c2835 5%, #1c2a3a 10%, #1d2d3f 15%, #1d3043 20%, #1e3348 25%, #1e354c 30%, #1f3851 35%, #1f3b56 40%, #1f435d 45%, #1e4c65 50%, #1d546c 55%, #1a5d74 60%, #186e76 65%, #147f78 70%, #1a9270 75%, #22a466 80%, #6bba58 85%, #9fcf3f 90%, #d1d246 95%, #ffd34d 100%)}
:root[data-theme="light"] .ih-legend-ramp{background:linear-gradient(90deg, #e2e8ee 0%, #dfe6ed 5%, #dbe4ec 10%, #d8e3eb 15%, #d5e1eb 20%, #d2dfea 25%, #cedde9 30%, #cbdce8 35%, #c8dae7 40%, #bed8e2 45%, #b4d5dd 50%, #aad3d8 55%, #9fd0d3 60%, #87c8bc 65%, #6ec0a6 70%, #54b088 75%, #36a06a 80%, #2c8d54 85%, #237a3f 90%, #186135 95%, #0d4a2b 100%)}
.ih-legend-ticks span{position:absolute;top:14px;transform:translateX(-50%);color:var(--text-2,#a2b8aa);font-variant-numeric:tabular-nums;white-space:nowrap}
.ih-legend-ticks span::before{content:"";position:absolute;top:-6px;left:50%;width:1px;height:5px;background:var(--text-3,#6f8a79)}
.ih-legend-ticks span:first-child{transform:none}.ih-legend-ticks span:first-child::before{left:0}
.ih-legend-ticks span:last-child{transform:translateX(-100%)}.ih-legend-ticks span:last-child::before{left:auto;right:0}
.ih-state{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.ih-swatch{display:inline-block;width:18px;height:12px;border-radius:2px;background:var(--ih-d)}
:root[data-theme="light"] .ih-swatch[data-heat-state="score"]{background:var(--ih-l)}
@media (forced-colors:active){.ih-cell{forced-color-adjust:auto;border:1px solid CanvasText}.ih-legend-ramp{forced-color-adjust:none}}
