/* Horticulture › Solutions (Çözümler), the system page of Faz 1. Builds on site.css tokens and its shared classes
   (.page-hero, .chain, .app-window, .rows, .steps, .cards, .figs, .status-scale, .cap); new classes carry the sol-
   prefix. The chain's link line takes the site accent (--site-accent-line). Reduced motion: no flowing lines. */

/* ---------- Hero: status, buttons, the chain in a window (always vertical), the jump strip ---------- */
.sol-hero { padding-bottom: 0; }
.sol-hero .ph-grid { align-items: start; }
.page-hero.sol-hero.has-media .ph-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
.sol-hero-copy { padding-top: clamp(4px, 2vw, 28px); }
.sol-hero h1 { max-width: 18ch; }
.sol-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 26px; }
.sol-win .aw-body { padding: 22px 24px 22px; }
.sol-win .chain-nodes, .sol-record-ring .chain-nodes { grid-template-columns: minmax(0, 1fr); gap: 0; }
.sol-win .chain-nodes::before, .sol-record-ring .chain-nodes::before { display: none; }
.sol-win .chain-nodes > li { padding: 0 0 18px 62px; min-height: 62px; }
.sol-win .chain-nodes > li:last-child { padding-bottom: 0; min-height: 44px; }
.sol-win .chain-nodes > li > b, .sol-record-ring .chain-nodes > li > b { margin-top: 2px; }
.sol-win .chain-nodes > li:not(:last-child) > b::before, .sol-record-ring .chain-nodes > li:not(:last-child) > b::before { content: ''; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--site-accent-line) 0 6px, transparent 6px 16px) 0 0 / 2px 16px repeat-y; opacity: 0.9; }
.sol-win .chain-nodes small { max-width: 46ch; }
@media (prefers-reduced-motion: no-preference) { .sol-win .chain-nodes > li > b::before, .sol-record-ring .chain-nodes > li > b::before { animation: chain-flow-v 2.4s linear infinite; } }
.sol-jump { position: relative; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(7, 18, 15, 0.55); }
.sol-jump ul { display: flex; gap: 4px 28px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.sol-jump ul::-webkit-scrollbar { display: none; }
.sol-jump li { scroll-snap-align: start; }
.sol-jump a { display: inline-flex; align-items: center; min-height: 52px; white-space: nowrap; color: #b9cac2; font-size: 0.86rem; font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent; transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.sol-jump a:hover, .sol-jump a:focus-visible { color: #fff; border-bottom-color: var(--accent); }
@media (max-width: 900px) { .page-hero.sol-hero.has-media .ph-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Shared bits ---------- */
.sol-p { color: var(--fg-2); }
.sol-photo { border-radius: var(--r-xl); }
.sol-photo img { width: 100%; height: 100%; object-fit: cover; }
.app-window .aw-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; line-height: 1.5; color: #a9bbb3; }
.ring-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ring-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: var(--fg-2); background: var(--bg-2); border: 1px solid var(--line); white-space: nowrap; }
.ring-chip::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--site-accent); }
.sol-none { color: var(--fg-3); }
.sol-status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 22px 0 0; font-size: 0.9rem; color: var(--fg-2); }
.sol-status-line > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- 01 Inputs: four groups ---------- */
.sol-inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4.5vw, 56px); }
.sol-in { padding: 22px 22px 16px; border-radius: var(--r-lg); background: #eef5f1; border: 1px solid #dfece5; }
.sol-in h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.06rem; }
.sol-in-ic { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ink-2); color: var(--brand-mint); }
.sol-in-ic svg { width: 22px; height: 22px; }
.sol-in ul { list-style: none; margin: 0; padding: 0; }
.sol-in li { padding: 9px 0; border-top: 1px solid #d6e6dd; color: var(--fg-2); font-size: 0.93rem; line-height: 1.4; }
@media (max-width: 980px) { .sol-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sol-inputs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 02 Target values: table, DLI window, night-break thresholds, the limit line ---------- */
.sol-targets { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 3.6vw, 48px); align-items: start; }
.sol-stack th { font-size: 0.72rem; }
.sol-stack tbody th { font-size: 0.92rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--fg); background: transparent; position: static; }
.sol-stack td { font-size: 0.88rem; color: var(--fg-2); }
.sol-stack td.sol-ev { white-space: nowrap; }
.sol-ev .tag { margin: 0 4px 4px 0; }
.sol-chart { display: block; width: 100%; height: auto; overflow: visible; }
.sol-chart text { font-family: var(--font); }
.sol-chart .lbl { font-size: 12.5px; font-weight: 600; fill: #dfe9e4; }
.sol-chart .val { font-size: 12px; font-weight: 700; fill: #eef4f0; font-variant-numeric: tabular-nums; }
.sol-chart .ax { font-size: 11px; fill: #8fa59c; font-variant-numeric: tabular-nums; }
.sol-chart .g { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.sol-chart .base { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.sol-chart .rng { fill: var(--site-accent); fill-opacity: 0.85; }
.sol-dli .aw-body { padding: 20px 20px 16px; }
.sol-table { margin-top: 12px; }
.sol-table caption { caption-side: top; text-align: left; padding: 0 0 10px; font-size: 0.82rem; color: var(--fg-2); }
.sol-table th, .sol-table td { padding: 9px 14px; }
.sol-table .num { text-align: right; }
.sol-nb { margin-top: 16px; }
.sol-nb .fig dd .unit { font-size: 0.6em; font-weight: 600; }
.sol-nb .fig .tag { margin-top: 10px; }
.sol-limit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; margin-top: clamp(28px, 4vw, 40px); padding: 22px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.sol-limit p { margin: 0; color: var(--fg-2); }
.sol-limit .tag { margin-left: 4px; vertical-align: 1px; }
.sol-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (max-width: 980px) { .sol-targets, .sol-limit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .sol-stack thead { display: none; }
  .sol-stack, .sol-stack tbody, .sol-stack tr, .sol-stack th, .sol-stack td { display: block; width: auto; }
  .sol-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .sol-stack tr:last-child { border-bottom: 0; }
  .sol-stack th, .sol-stack td { padding: 0; border: 0; }
  .sol-stack td { margin-top: 4px; }
  .sol-stack td[data-k]::before { content: attr(data-k) ': '; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
  .sol-stack td[data-k]:lang(fr)::before { content: attr(data-k) '\00a0: '; }
  .sol-stack td.sol-ev { margin-top: 8px; white-space: normal; }
  .sol-stack td.sol-ev .sol-none { display: none; }
}

/* ---------- 03 Model: the rack window (engine map, legend, side view, values), levels, tools ---------- */
.sol-rack .aw-body { padding: 24px 24px 18px; }
.sol-fig { margin: 0; min-width: 0; }
.sol-planbox { position: relative; padding: 24px 0 0 26px; }
.sol-plan { display: block; width: 100%; height: auto; overflow: visible; border-radius: 6px; box-shadow: 0 0 0 1px rgba(66, 211, 156, 0.16); }
.sol-floor { fill: #0b1613; }
.sol-dim { fill: rgba(5, 12, 10, 0.5); }
.sol-metre line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.sol-tray { fill: none; stroke: rgba(240, 248, 236, 0.55); stroke-width: 1.1; }
.sol-bar { fill: #fff1e2; fill-opacity: 0.92; stroke: rgba(10, 24, 19, 0.6); stroke-width: 0.8; }
.sol-frame { fill: none; stroke: rgba(66, 211, 156, 0.3); stroke-width: 1; }
.sol-dim-x, .sol-dim-y { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; color: #8fa59c; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sol-dim-x { top: 0; left: 26px; right: 0; height: 18px; }
.sol-dim-y { left: 0; top: 24px; bottom: 0; width: 18px; flex-direction: column; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); }
.sol-dim-x::before, .sol-dim-x::after { content: ''; flex: 1; border-top: 1px solid rgba(143, 165, 156, 0.4); }
.sol-dim-y::before, .sol-dim-y::after { content: ''; flex: 1; border-left: 1px solid rgba(143, 165, 156, 0.4); }
.sol-legend { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 22px; align-items: center; margin-top: 18px; padding-left: 26px; font-size: 0.78rem; color: #b3c3bb; }
.sol-lt { font-weight: 700; color: #dfe9e4; }
.sol-lt .u { display: block; font-weight: 500; color: #8fa59c; }
.sol-scale { position: relative; height: 48px; min-width: 0; }
.sol-ramp { position: absolute; left: 0; right: 0; top: 18px; height: 10px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sol-mk { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.68rem; font-weight: 700; color: #cfdcd5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sol-mk::after { content: ''; position: absolute; left: 50%; top: 15px; height: 14px; border-left: 1.5px solid #fff; }
.sol-mk.is-avg { color: var(--accent); }
.sol-mk.is-avg::after { border-color: var(--accent); }
.sol-ticks span { position: absolute; top: 32px; transform: translateX(-50%); font-size: 0.7rem; color: #8fa59c; font-variant-numeric: tabular-nums; }
.sol-ticks span:first-child { transform: none; }
.sol-ticks span:last-child { transform: translateX(-100%); }
.sol-keys { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sol-keys .k::before { content: ''; display: inline-block; vertical-align: -2px; margin-right: 8px; }
.sol-keys .k-tray::before { width: 20px; height: 10px; border: 1.3px solid rgba(240, 248, 236, 0.7); border-radius: 2px; }
.sol-keys .k-bar::before { width: 5px; height: 14px; vertical-align: -3px; border-radius: 2px; background: #fff1e2; }
.sol-keys .k-off::before { width: 20px; height: 10px; border-radius: 2px; background: rgba(5, 12, 10, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.sol-rack-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px 36px; align-items: center; margin-top: 22px; }
.sol-side .post { stroke: rgba(207, 230, 218, 0.35); stroke-width: 2; }
.sol-side .tier-on { fill: rgba(216, 243, 106, 0.08); }
.sol-side .crop { fill: rgba(79, 191, 115, 0.28); }
.sol-side .crop.on { fill: rgba(79, 191, 115, 0.6); }
.sol-side .tray { stroke: rgba(207, 230, 218, 0.55); stroke-width: 1.5; }
.sol-side .tray.on { stroke: var(--accent); stroke-width: 2; }
.sol-side .bar { fill: #fff1e2; fill-opacity: 0.4; }
.sol-side .bar.on { fill-opacity: 0.95; }
.sol-side .tier-lbl { font-size: 11px; font-weight: 700; fill: var(--accent); }
.sol-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.sol-kpis > div { padding: 0 16px; border-left: 1px solid rgba(255, 255, 255, 0.12); min-width: 0; }
.sol-kpis > div:first-child { padding-left: 0; border-left: 0; }
.sol-kpis dt { font-size: 0.72rem; line-height: 1.3; color: #a9bbb3; min-height: 2.6em; }
.sol-kpis dd { margin: 4px 0 0; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.sol-kpis dd small { margin-left: 5px; font-size: 0.42em; font-weight: 600; letter-spacing: 0; color: #a9bbb3; }
.sol-levels { margin-top: clamp(24px, 3vw, 36px); }
.sol-levels .card { display: flex; flex-direction: column; align-items: flex-start; }
.sol-levels .card p { flex: 1; }
.sol-levels .card .tag { margin-top: 4px; }
.sol-tools { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.sol-tools > .h3 { margin: 0 0 16px; }
.sol-tools-grid { display: grid; grid-template-columns: minmax(0, 520px); }
.sol-tools .cap { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.sol-tools a.cap:hover { border-color: rgba(66, 211, 156, 0.5); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.7); }
.sol-tools .cap .cap-kicker { color: var(--brand-mint); }
.sol-tools .cap h4 { margin: 4px 0 0; }
.sol-tools a.cap:hover .cap-go { color: var(--brand-mint); }
@media (max-width: 760px) {
  .sol-rack .aw-body { padding: 18px 14px 14px; }
  .sol-planbox { padding-left: 22px; }
  .sol-dim-x { left: 22px; }
  .sol-legend { grid-template-columns: minmax(0, 1fr); padding-left: 0; gap: 8px; }
  .sol-lt .u { display: inline; }
  .sol-rack-row { grid-template-columns: minmax(0, 1fr); }
  .sol-rack-row > svg { max-width: 300px; }
  .sol-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
  .sol-kpis > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sol-kpis dd small { display: block; margin: 2px 0 0; font-size: 0.68rem; }
}

/* ---------- 04 Measurement: tall photo beside the four steps; status line, then the Concept flicker line ---------- */
.sol-tall { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
.sol-tall img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 901px) { .sol-olcum > .sol-tall { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 900px) { .sol-tall { aspect-ratio: 16 / 10; } }
.sol-vsteps { list-style: none; counter-reset: vs; margin: 32px 0 0; padding: 0; }
.sol-vsteps li { position: relative; counter-increment: vs; padding: 0 0 22px 56px; }
.sol-vsteps li::before { content: counter(vs, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--brand); font-weight: 800; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.sol-vsteps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 1px; background: var(--line-2); }
.sol-vsteps h3 { margin: 6px 0 0; }
.sol-vsteps p { margin: 6px 0 0; color: var(--fg-2); }
.sol-olcum .sol-status-line { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.sol-flicker { margin: 16px 0 0; padding: 4px 0 4px 16px; border-left: 3px solid #dcd1f6; color: var(--fg-2); font-size: 0.94rem; }
.sol-flicker .tag { margin-left: 4px; vertical-align: 1px; }

/* ---------- 05 Control: four frames of the control film; two status rows ---------- */
.sol-ctrl .aw-body { padding: 14px; }
.sol-tabs { margin-bottom: 12px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sol-tabs::-webkit-scrollbar { display: none; }
.sol-tabs button { flex: none; white-space: nowrap; }
.sol-tabs button[aria-selected='true'] { background: var(--accent); color: var(--accent-ink); }
/* phones: the four scenes as a 2 × 2 grid, so none hides behind the window's edge */
@media (max-width: 560px) {
  .sol-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .sol-tabs button { padding: 0 10px; }
}
.sol-ctrl [role='tabpanel'] img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #0c1714; }
.sol-mini-rows { display: grid; gap: 10px; margin: 22px 0; }
.sol-mini-rows > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sol-mini-rows b { font-size: 0.98rem; }

/* ---------- 06 Records: the six links (names only, Kayıt as the lemon pill) beside the report fields ---------- */
.sol-record { display: grid; grid-template-columns: 236px minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.sol-record-ring { display: grid; align-content: start; padding: 26px 22px; background: radial-gradient(120% 80% at 85% 0, #135a44 0%, #10231c 45%, #07120f 100%); color: #eef4f0; }
.sol-record-ring .chain-nodes > li { padding: 0 0 12px 58px; min-height: 56px; }
.sol-record-ring .chain-nodes > li:last-child { padding-bottom: 0; min-height: 44px; }
.sol-record-ring .chain-nodes > li > b { margin-top: 11px; font-size: 0.86rem; }
.sol-record-ring .chain-nodes > li:last-child > b { margin-top: 9px; }
.sol-record-ring .chain-nodes > li:not(:last-child) > b::before { top: 46px; bottom: 2px; }
.sol-record-body { padding: 24px 28px 22px; }
.sol-record-body h3 { margin: 0 0 14px; }
.sol-report { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sol-report li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); color: var(--fg); font-weight: 600; font-size: 0.93rem; line-height: 1.4; }
.sol-report li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
@media (max-width: 720px) { .sol-record { grid-template-columns: minmax(0, 1fr); } .sol-record-ring { display: none; } .sol-record-body { padding: 20px 18px; } }

/* ---------- How we work ---------- */
.sol-rows .row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) 11rem; }
@media (max-width: 860px) { .sol-rows .row { grid-template-columns: minmax(0, 1fr); } }
.sol-last { margin: clamp(24px, 3vw, 36px) 0 0; padding: 20px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--fg); }

/* ---------- Development: scale, table with the chain links, next stages ---------- */
.sol-devwrap { margin-top: clamp(24px, 3vw, 36px); }
.sol-dev th, .sol-dev td { padding: 16px 20px; vertical-align: top; }
.sol-dev thead th { white-space: nowrap; }
.sol-dev tbody th { font-size: 1rem; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--fg); background: transparent; position: static; width: 28%; }
.sol-dev td { color: var(--fg-2); }
.sol-dev td.rc { width: 18%; }
.sol-dev td.st { width: 1%; white-space: nowrap; }
.sol-dev tbody tr:hover td { background: transparent; }
.sol-dev tr:last-child th, .sol-stack tr:last-child th { border-bottom: 0; }
@media (max-width: 760px) {
  .sol-dev thead { display: none; }
  .sol-dev, .sol-dev tbody, .sol-dev tr, .sol-dev th, .sol-dev td { display: block; width: auto !important; }
  .sol-dev tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .sol-dev tr:last-child { border-bottom: 0; }
  .sol-dev th, .sol-dev td { padding: 0; border: 0; }
  .sol-dev td { margin-top: 8px; }
  .sol-dev td.st { white-space: normal; }
}
.sol-next-h { margin: clamp(36px, 5vw, 52px) 0 18px; }
.sol-road { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: rd; }
.sol-road::before { content: ''; position: absolute; left: 8px; right: 8px; top: 8px; border-top: 1px dashed var(--line-2); }
.sol-road li { position: relative; counter-increment: rd; padding: 30px 12px 0 0; font-size: 0.95rem; font-weight: 650; line-height: 1.35; color: var(--fg); }
.sol-road li::before { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
@media (max-width: 760px) { .sol-road { grid-template-columns: minmax(0, 1fr); gap: 0; } .sol-road::before { left: 7px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 1px dashed var(--line-2); } .sol-road li { padding: 0 0 18px 30px; } }
.sol-avail { margin: 28px 0 0; font-size: 0.9rem; color: var(--fg-2); }
