/* CSS riêng của /cong-cu/mot-ngay-dien-mat-troi, nạp sau cong-cu.css. */
.st-tool .page .st-subheading { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.3; margin: 0 0 24px; }
.st-tool .page h2 { font-family: var(--font-head); font-weight: 500; font-size: 20px; margin: 0; }
.st-tool .hint { font-size: 13px; color: #6c757d; margin: 4px 0 0; }
.st-tool .layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.st-tool .seg button { border: 0; background: #fff; padding: 9px; cursor: pointer; font: inherit; font-size: 15px; color: var(--ink); }
.st-tool .stage { display: grid; gap: 16px; min-width: 0; }
.st-tool .cmp3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; background: #fff; }
.st-tool .cmp3 > div { padding: 12px 14px; border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; min-width: 0; }
.st-tool .cmp3 .hd { font-size: 13px; color: #6c757d; background: #fafafa; }
.st-tool .cmp3 .nm { font-weight: 500; }
.st-tool .cmp3 .v { font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; }
.st-tool .cmp3 .cur { background: #effaf2; }
.st-tool .cmp3 .nm.cur::after { content: "đang xem"; font-size: 12px; font-weight: 400; margin-left: 8px; color: #1c8a3c; border: 1px solid var(--green); border-radius: 3px; padding: 0 5px; background: #fff; }
.st-tool #chart { margin-top: 10px; width: 100%; }
.st-tool .c-grid { stroke: #e8e8e8; stroke-width: 1; }
.st-tool .c-axis { stroke: #888; stroke-width: 1.2; }
.st-tool .c-t { font-family: var(--font-body); font-size: 11px; fill: #6c757d; }
.st-tool .c-sel { fill: rgba(63,85,181,.10); }
.st-tool .c-sel-line { stroke: var(--blue); stroke-width: 1.5; }
.st-tool .c-line { fill: none; stroke: #1c8a3c; stroke-width: 2; stroke-dasharray: 5 4; }
.st-tool .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #555; margin-top: 10px; }
.st-tool .legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-tool .legend i { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.st-tool .k-direct { background: #29B852; }
.st-tool .k-disch { background: #F39C33; }
.st-tool .k-imp { background: #9aa3ab; }
.st-tool .k-chg { background: #FAD3A3; }
.st-tool .k-exp { background: #BFD7F2; }
.st-tool .timebar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 12px; }
.st-tool .timebar input[type=range] { width: 100%; accent-color: var(--green); }
.st-tool .timebar .clock { font-family: var(--font-head); font-weight: 700; font-size: 22px; min-width: 64px; font-variant-numeric: tabular-nums; }
.st-tool .btn-play { border: 1px solid var(--green); background: #fff; color: #1c8a3c; border-radius: 6px; padding: 6px 12px; font: inherit; font-weight: 500; cursor: pointer; }
.st-tool .btn-play:hover { background: #effaf2; }
.st-tool .flow-card h2 { font-size: 17px; }
.st-tool .phase { font-size: 14px; color: #555; margin: 2px 0 0; }
.st-tool #flow { margin-top: 6px; }
.st-tool #flow svg { display: block; width: 100%; height: auto; }
.st-tool .fl-box { fill: #fff; stroke: #9aa3ab; stroke-width: 1.5; }
.st-tool .fl-solar { fill: #effaf2; stroke: var(--green); }
.st-tool .fl-hub { fill: var(--green); stroke: var(--green); }
.st-tool .fl-batt { fill: var(--warn-bg); stroke: var(--orange); }
.st-tool .fl-grid { fill: #f2f4f6; }
.st-tool .fl-off { fill: none; stroke: #c4c9ce; stroke-dasharray: 4 4; stroke-width: 1.5; }
.st-tool .fl-t { font-family: var(--font-body); font-size: 15px; fill: var(--ink); text-anchor: middle; }
.st-tool .fl-t.w { fill: #fff; font-weight: 500; }
.st-tool .fl-t.m { fill: #6c757d; font-size: 13px; }
.st-tool .fl-v { font-family: var(--font-body); font-size: 13px; font-weight: 500; fill: var(--ink); text-anchor: middle; }
.st-tool .fl-v.off { fill: #aab0b6; font-weight: 400; }
.st-tool .fl-ln { stroke-width: 2.5; fill: none; }
.st-tool .fl-ln.off { stroke: #cfd4d8; stroke-dasharray: 4 4; stroke-width: 1.5; }
.st-tool .sentence { margin: 10px 0 0; font-size: 15px; }
.st-tool .btn-secondary { background: var(--orange); color: #fff; border-radius: 8px; font-size: 17px; padding: 9px 18px; }
.st-tool .cta { margin-top: 28px; background: #fff; border: 2px solid var(--orange); border-radius: 4px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.st-tool .cta h2 { margin: 0 0 4px; }
.st-tool .cta p { margin: 0; color: #555; max-width: 60ch; }
.st-tool .cta .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-tool .cta .contact { font-size: 14px; color: #555; }
.st-tool .cta .contact a { color: var(--green); font-weight: 500; }
.st-tool .next { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.st-tool .next a { display: block; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; padding: 14px 16px; text-decoration: none; font-weight: 500; }
.st-tool .next a small { display: block; font-weight: 400; color: #6c757d; margin-top: 2px; }
.st-tool .next a:hover { border-color: var(--green); }
@media (max-width: 991px) {
  .st-tool .layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .st-tool .cmp3 { grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); }
  .st-tool .cmp3 > div { padding: 10px 8px; }
  .st-tool .cmp3 .v { font-size: 15px; }
  .st-tool .cmp3 .nm.cur::after { display: none; }
  .st-tool .timebar { grid-template-columns: auto minmax(0, 1fr); }
  .st-tool .timebar .btn-play { grid-column: 1 / -1; }
}
