.site-legacy { margin: 0; display: block; color: var(--site-ink); font-family: var(--site-font); }
.site-legacy main { width: 100%; }
.site-legacy .tech-layout { width: var(--site-wrap); margin: 35px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: clamp(18px, 3vw, 44px); align-items: start; }
.site-legacy .solution-detail-container { width: 100%; min-width: 0; margin: 0; padding: 0; }
.site-legacy .tech-layout .table-of-contents { position: sticky; grid-column: 2; grid-row: 1; top: 96px; right: auto; margin: 0; width: 100%; z-index: 1; max-height: calc(100dvh - 120px); overflow: auto; box-shadow: none; border-color: var(--site-line); transform: none; padding: 14px; }
.site-legacy .tech-layout .solution-detail-container { grid-column: 1; grid-row: 1; }
.site-legacy .table-of-contents summary { padding: 5px; font-weight: 700; cursor: pointer; color: var(--site-green); }
.site-legacy .table-of-contents a { color: #435950; }
.site-legacy .table-of-contents a:hover, .site-legacy .table-of-contents a.active { background: #e7f1e9; color: #15583e; transform: none; }
.site-legacy .page-header, .site-legacy .hero-section { background: linear-gradient(120deg, #102e23, #236148); }
.site-legacy .page-header { margin-top: 0; }
.site-legacy .tech-example-note { color: #e0efe6; margin: 12px auto 0; max-width: 34rem; padding-inline: 8px; font-size: .9rem; }
.site-legacy .hero-section .tech-example-note { font-size: .9rem; }
.site-legacy .main-content { width: var(--site-wrap); padding-inline: 0; }
.site-legacy img:not(.site-brand img) { max-width: 100%; }
.site-legacy .chart-summary { border-left: 3px solid #65a684; padding: 12px 15px; background: #edf4ee; color: #244638; }
.site-legacy .scroll-table { max-width: 100%; overflow-x: auto; }
.site-legacy .scroll-table table { min-width: 460px; }
.site-legacy :is(pre, .formula-box, .code-block, .chart-container, .content-section, .case-card, .result-item) { min-width: 0; max-width: 100%; }
.site-legacy pre { overflow: auto; }
.site-legacy .code-example > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: #e1f4e7; }
.site-legacy .code-example .copy-code-btn { margin: 3px 14px 8px; padding: 5px 12px; border: 1px solid var(--site-line); border-radius: 5px; background: white; color: var(--site-green); font: inherit; cursor: pointer; }
@media (max-width: 960px) {
  .site-legacy .tech-layout { grid-template-columns: 1fr; }
  .site-legacy .tech-layout .table-of-contents, .site-legacy .tech-layout .solution-detail-container { grid-column: 1; grid-row: auto; }
  .site-legacy .tech-layout .table-of-contents { position: static; max-height: none; }
}
@media (max-width: 620px) {
  .site-legacy .tech-layout { margin-top: 18px; }
  .site-legacy :is(.service-grid, .results-grid, .features-grid, .charts-grid, .metrics-grid, .benefits-grid, .example-grid) { grid-template-columns: minmax(0, 1fr); }
  .site-legacy .hero-section { padding: 30px 13px; }
  .site-legacy .hero-section h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}
