/* climequant.com/plant-health-check. Chart colours: generated #2a78d6, lost #eb6834; calendar ramp is one blue hue, light → dark. */
.hc-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hc-hero-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e3edf7; font-size: 13.5px; font-weight: 600; }
.hc-hero-chips .ic { color: var(--lime); width: 16px; height: 16px; }

.hc-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1000px) { .hc-layout { grid-template-columns: minmax(0, 1fr); } }
.hc-form { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; }
@media (max-width: 1000px) { .hc-form { position: static; max-height: none; } }
.hc-form .h-step { font-size: 16px; margin: 6px 0 12px; }
.hc-form .h-step:not(:first-child) { margin-top: 20px; }
.hc-form span.f { display: block; font-size: 14px; font-weight: 620; color: var(--ink-2); margin-bottom: 6px; }
.hc-form .seg { display: flex; }
.hc-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px; border: 2px dashed #c9d4e1; border-radius: 14px; background: #f8fafc; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.hc-drop:hover, .hc-drop.over { border-color: var(--green); background: var(--green-soft); }
.hc-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hc-drop:focus-within { outline: 3px solid rgba(43, 132, 63, .55); outline-offset: 2px; }
.hc-drop-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--navy-3); box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.hc-file-name { font: 600 13px/1.4 var(--mono); color: var(--green-2); word-break: break-all; }
.hc-file-name:empty { display: none; }
.hc-help { margin: 10px 0 0; }
.hc-map-sum { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.hc-bad { color: var(--red); font-weight: 600; }
.hc-preview { margin: 4px 0 6px; border: 1px solid var(--line); border-radius: 10px; }
.hc-mini { border-collapse: collapse; font-size: 12px; width: 100%; }
.hc-mini th, .hc-mini td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.hc-mini th { background: #f3f6fa; color: var(--muted); font-weight: 600; }
.hc-run { width: 100%; margin-top: 14px; }
.hc-run-note { margin: 8px 0 0; text-align: center; }

.hc-results { display: grid; gap: 18px; min-width: 0; }
.hc-results > .card h3 { margin-bottom: 10px; }
.hc-empty { text-align: center; padding: 48px 26px; }
.hc-empty h2 { font-size: 21px; margin-bottom: 6px; }
.hc-empty-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); color: var(--green-2); margin-bottom: 12px; }
.hc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 14px; }
.hc-head h2 { font-size: clamp(21px, 2.4vw, 27px); margin: 0 0 4px; }
.hc-head p { margin: 0; overflow-wrap: anywhere; }

.hc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .hc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hc-kpi { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 12px; padding: 11px 13px; min-width: 0; }
.hc-kpi span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hc-kpi b { display: block; font: 800 20px/1.25 var(--display); color: var(--navy); margin: 4px 0 2px; overflow-wrap: anywhere; }
.hc-kpi small { display: block; font-size: 12px; color: var(--muted); }

.hc-findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hcf { border: 1px solid var(--line); border-left: 4px solid #a3afbf; border-radius: 12px; padding: 12px 14px; }
.hcf.high { border-left-color: var(--red); }
.hcf.medium { border-left-color: #d39a2c; }
.hcf-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hcf-rs { font-size: 16px; color: var(--ink); text-align: right; white-space: nowrap; }
.hcf-rs small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.hcf h4 { margin: 6px 0 4px; font: 700 15.5px/1.35 var(--display); color: var(--navy); }
.hcf p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.hcf .hcf-act { margin: 0; color: var(--ink); }

.hc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); margin: 0 0 10px; }
.hc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 5px; }
.hc-legend i + i { margin-left: -3px; }
.k-gen { background: #2a78d6; }
.k-lost { background: #eb6834; }
.k-bud { height: 0 !important; border-top: 2.5px solid var(--navy); border-radius: 0 !important; width: 16px !important; vertical-align: middle !important; }
.hc-chart { position: relative; }
.hc-chart svg { display: block; width: 100%; height: auto; }
.hc-chart text { font: 11px var(--font); fill: var(--muted); }
.hc-chart .g { stroke: #e8edf3; }
.hc-chart .gen { fill: #2a78d6; }
.hc-chart .lost { fill: #eb6834; }
.hc-chart .bud { stroke: var(--navy); stroke-width: 2.5; }
.hc-chart .hit { fill: transparent; }
.hc-chart .hit:hover { fill: rgba(13, 27, 46, .05); }
.hc-details { margin-top: 10px; font-size: 13.5px; }
.hc-details summary { cursor: pointer; color: var(--navy-3); font-weight: 600; margin-bottom: 8px; }
.hc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hc-table th, .hc-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.hc-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.hc-table .r { text-align: right; font-variant-numeric: tabular-nums; }

/* Day calendar: 12 rows × 31 days. */
.hc-cal { display: grid; grid-template-columns: 52px repeat(31, minmax(0, 1fr)); gap: 2px; align-items: center; margin-bottom: 12px; }
.hc-cal-m { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.hc-cal-n { font-size: 10px; color: var(--muted); text-align: center; }
.hc-c { display: block; aspect-ratio: 1; border-radius: 2px; position: relative; }
.hc-c.none { background: transparent; }
.b1 { background: #dbe7f6; } .b2 { background: #b3cdee; } .b3 { background: #7fabe0; } .b4 { background: #3f7fcf; } .b5 { background: #1f5296; }
.hc-c.outage, .hc-legend .outage { background: #c53b3b; }
.hc-c.zero, .hc-legend .zero { background: #f2a33a; }
.hc-c.low, .hc-legend .low { background: #eb6834; }
.hc-c.miss, .hc-legend .miss { background: repeating-linear-gradient(45deg, #e3e9f1 0 2px, #fff 2px 4px); outline: 1px solid #d3dce8; outline-offset: -1px; }
.hc-c.outage::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 9px/1 var(--font); }
@media (max-width: 480px) { .hc-cal { grid-template-columns: 40px repeat(31, minmax(0, 1fr)); gap: 1px; } .hc-c.outage::after { content: none; } }
.hc-spread b { color: var(--navy); }
.hc-next { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.hc-attach { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.hc-checks .card h3 { margin-bottom: 6px; }
.hc-checks .card p { margin: 0; font-size: 15px; }
