/* Страница решения «Агропредприятие в одном окне» (solution-smsk.html).
   Подключается только на ней, общий styles.css не меняет. Все цвета схем —
   переменные темы, поэтому SVG сами переключаются между светлой и тёмной
   схемой вместе с сайтом. Экраны устройств всегда тёмные. Интерактив —
   solution-agro.js. Без скрипта (нет класса .agr-js на <html>) всё
   содержимое видно сразу. */

:root,
[data-theme="light"] {
  --agr-ok: #15803d;
  --agr-danger: #dc2626;
  --agr-land: #e8efe2;
  --agr-road: #c9d3dd;
  --agr-wheat: #e3c565;
  --agr-straw: #efe4bf;
  --agr-sun: #8fb04a;
  --agr-sprayed: #b9d38a;
  --agr-corn: #5f9e45;
  --agr-tok: #e6ebf0;
  --agr-steel: #5b6b7d;
}

[data-theme="dark"] {
  --agr-ok: #4ade80;
  --agr-danger: #f87171;
  --agr-land: #1c2721;
  --agr-road: #3a4a5c;
  --agr-wheat: #a68a33;
  --agr-straw: #5c5233;
  --agr-sun: #4e6b27;
  --agr-sprayed: #6f8f45;
  --agr-corn: #2f5c22;
  --agr-tok: #243244;
  --agr-steel: #7a8899;
}

/* ---------- Первый экран ---------- */
.agr-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.2rem; align-items: center; }
.agr-hero h1 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); line-height: 1.15; margin: 0 0 1rem; }
.agr-hero__lead { color: var(--muted); font-size: 1.08rem; line-height: 1.6; max-width: 60ch; margin: 0 0 1.4rem; }
.agr-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.agr-badges { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.agr-badges li { font-size: 0.82rem; font-weight: 600; color: var(--accent-strong); background: var(--accent-light); border-radius: 999px; padding: 0.35rem 0.8rem; }

.agr-live { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); overflow: hidden; }
.agr-live__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.agr-live__time { margin-left: auto; font-variant-numeric: tabular-nums; }
.agr-live__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #22c55e; animation: agr-live 1.8s ease-out infinite; }
.agr-live figcaption { font-size: 0.78rem; color: var(--muted); padding: 0.5rem 0.9rem; border-top: 1px solid var(--line); }

@keyframes agr-live {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
}

.agr-map { display: block; width: 100%; height: auto; padding: 0.4rem 0.4rem 0; }
.agr-land { fill: var(--agr-land); }
.agr-road { fill: none; stroke: var(--agr-road); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.agr-road--minor { stroke-width: 6; }
.agr-f__shape { stroke: var(--card); stroke-width: 2; transition: stroke 0.3s, stroke-width 0.3s, filter 0.3s; }
.agr-f.is-done .agr-f__shape,
.agr-cut { fill: var(--agr-straw); }
.agr-f__tex { fill: url(#agrStubble); pointer-events: none; }
.agr-stubble { stroke: #c9b57a; stroke-width: 1.5; }
[data-theme="dark"] .agr-stubble { stroke: #7a6c43; }
.agr-f.is-wheat .agr-f__shape { fill: var(--agr-wheat); }
.agr-f.is-sun .agr-f__shape { fill: var(--agr-sun); }
.agr-sprayed { fill: var(--agr-sprayed); }
.agr-f.is-corn .agr-f__shape { fill: var(--agr-corn); }
.agr-js .agr-map .agr-f,
.agr-js .agr-map .agr-lbl { cursor: pointer; }
.agr-f.is-sel .agr-f__shape { stroke: var(--accent2); stroke-width: 4; filter: drop-shadow(0 0 6px var(--accent2)); }
.agr-lbl circle { fill: var(--card); stroke: var(--accent); stroke-width: 2.5; transition: fill 0.3s, stroke 0.3s; }
.agr-lbl__n { fill: var(--accent-strong); font-size: 13px; font-weight: 800; }
.agr-lbl__c { fill: var(--text); font-size: 11px; font-weight: 700; paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; }
.agr-lbl.is-sel circle { fill: var(--accent2); stroke: var(--accent2); }
.agr-lbl.is-sel .agr-lbl__n { fill: var(--on-accent2); }
.agr-base { fill: var(--accent-light); stroke: var(--accent); stroke-width: 2; }
.agr-pump rect { fill: var(--accent2); stroke: var(--card); stroke-width: 1.5; }
.agr-tok { fill: var(--agr-tok); stroke: var(--muted); stroke-width: 1.5; }
.agr-dryer { fill: var(--agr-steel); }
.agr-heap { fill: var(--agr-wheat); }
.agr-scale { fill: #334155; stroke: var(--card); stroke-width: 1.5; }
.agr-place { fill: var(--text); font-size: 12px; font-weight: 700; paint-order: stroke; stroke: var(--agr-land); stroke-width: 4px; stroke-linejoin: round; }
.agr-place--sm { font-size: 10px; font-weight: 600; fill: var(--muted); }
.agr-route { fill: none; stroke: none; }

.agr-veh rect { stroke: var(--card); stroke-width: 1.5; }
.agr-veh.is-combine rect { fill: #d6a21e; }
.agr-veh.is-sprayer rect { fill: #4e8a3a; }
.agr-veh.is-truck rect { fill: var(--accent); }
.agr-veh__cab { fill: var(--accent-strong) !important; }
.agr-veh__head { fill: none; stroke: #334155; stroke-width: 3; stroke-linecap: round; }
[data-theme="dark"] .agr-veh__head { stroke: #cbd5e1; }

.agr-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0.8rem 0.2rem; }
.agr-chip { border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 0.82rem; font-weight: 600; border-radius: 999px; padding: 0.3rem 0.75rem; cursor: pointer; transition: border-color var(--transition), background var(--transition), color var(--transition); }
.agr-chip b { color: var(--accent-strong); margin-right: 0.15rem; }
.agr-chip:hover { border-color: var(--accent); }
.agr-chip[aria-pressed="true"] { background: var(--accent2); border-color: var(--accent2); color: var(--on-accent2); }
.agr-chip[aria-pressed="true"] b { color: var(--on-accent2); }
html:not(.agr-js) .agr-chips { display: none; }

.agr-pass { padding: 0.6rem 0.9rem 0.8rem; }
.agr-pass__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-bottom: 0.5rem; }
.agr-pass__head b { font-size: 0.98rem; }
.agr-pass__status { font-size: 0.74rem; font-weight: 700; border-radius: 999px; padding: 0.18rem 0.6rem; background: var(--alt); color: var(--muted); }
.agr-pass__status.is-run { background: var(--accent2-light); color: var(--accent2-strong); }
.agr-pass__status.is-done { background: rgba(21, 128, 61, 0.12); color: var(--agr-ok); }
.agr-ops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.agr-ops li { position: relative; display: grid; grid-template-columns: 1.6rem minmax(0, 0.9fr) 4.2rem minmax(0, 1.4fr) 1.6rem; align-items: center; gap: 0.4rem; padding: 0.38rem 0.5rem; border-radius: 0.6rem; background: var(--alt); font-size: 0.86rem; overflow: hidden; }
.agr-ops li.is-run::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--accent2); }
.agr-ops li.is-plan { opacity: 0.6; }
.agr-op__ico { text-align: center; }
.agr-op__name { font-weight: 700; }
.agr-op__date { color: var(--muted); font-size: 0.78rem; }
.agr-op__val { font-variant-numeric: tabular-nums; }
.agr-op__go { text-decoration: none; font-weight: 700; text-align: center; border-radius: 50%; color: var(--accent); }
.agr-op__go:hover { background: var(--accent); color: var(--on-accent); }
.agr-ops li.is-run .agr-op__date { color: var(--accent2-strong); font-weight: 700; }

@media (max-width: 900px) {
  .agr-hero { grid-template-columns: 1fr; }
  .agr-live { max-width: 640px; width: 100%; margin: 0 auto; }
}

@media (max-width: 560px) {
  .agr-ops li { grid-template-columns: 1.4rem minmax(0, 1fr) 1.4rem; grid-template-areas: "ico name go" "ico val go"; row-gap: 0.05rem; }
  .agr-op__ico { grid-area: ico; }
  .agr-op__name { grid-area: name; }
  .agr-op__date { display: none; }
  .agr-op__val { grid-area: val; font-size: 0.8rem; color: var(--muted); }
  .agr-op__go { grid-area: go; }
  .agr-lbl__c { font-size: 13px; }
  .agr-map .agr-place { font-size: 13px; }
  .agr-map .agr-place--sm { display: none; }
}

/* ---------- Переключатели и вкладки ---------- */
.agr-seg { display: inline-flex; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem; gap: 0.25rem; box-shadow: var(--shadow-sm); }
.agr-seg__btn,
.agr-tab { border: 0; background: transparent; padding: 0.55rem 1.1rem; border-radius: 999px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; transition: background var(--transition), color var(--transition), box-shadow var(--transition); }
.agr-seg__btn:hover,
.agr-tab:hover { color: var(--text); }
.agr-seg__btn[aria-pressed="true"],
.agr-tab[aria-selected="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: var(--on-accent); box-shadow: var(--shadow-md); }
html:not(.agr-js) .agr-seg,
html:not(.agr-js) .agr-tabs { display: none; }
.agr-tabs { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: 1.2rem; padding: 0.25rem; box-shadow: var(--shadow-sm); }

@media (max-width: 560px) {
  .agr-seg,
  .agr-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; border-radius: 1rem; }
  .agr-fleet .agr-tabs { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agr-seg__btn,
  .agr-tab { border-radius: 0.75rem; padding: 0.5rem 0.35rem; font-size: 0.8rem; line-height: 1.2; }
}

.agr-replay { border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600; font-size: 0.9rem; padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; transition: border-color var(--transition), color var(--transition); }
.agr-replay:hover { border-color: var(--accent); color: var(--accent); }
html:not(.agr-js) .agr-replay { display: none; }

/* ---------- Сравнение ---------- */
.agr-cmp-list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.agr-cmp { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.2rem; transition: border-color 0.35s, box-shadow 0.35s; }
.agr-cmp__ico { display: block; font-size: 1.6rem; line-height: 1; }
.agr-cmp h3 { margin: 0.55rem 0 0.6rem; font-size: 1.02rem; padding-right: 1.8rem; }
.agr-cmp p { margin: 0; line-height: 1.5; font-size: 0.94rem; }
.agr-cmp__tag { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.25rem; }
.agr-cmp__before { color: var(--muted); }
.agr-cmp__after .agr-cmp__tag { color: var(--accent); }
.agr-cmp__after b { color: var(--accent-strong); }
html:not(.agr-js) .agr-cmp__after { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px dashed var(--line); }
.agr-cmp::after { content: '?'; position: absolute; top: 0.9rem; right: 0.9rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; color: var(--muted); background: var(--alt); transition: background 0.35s, color 0.35s, transform 0.35s; }
html:not(.agr-js) .agr-cmp::after { display: none; }
.agr-js .agr-cmp { display: grid; grid-template-rows: auto auto 1fr; }
.agr-js .agr-cmp__before,
.agr-js .agr-cmp__after { grid-row: 3; grid-column: 1; transition: opacity 0.35s, transform 0.35s, visibility 0.35s; }
.agr-js .agr-compare[data-state="before"] .agr-cmp__after { opacity: 0; visibility: hidden; transform: translateY(8px); }
.agr-js .agr-compare[data-state="after"] .agr-cmp__before { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.agr-compare[data-state="after"] .agr-cmp { border-color: var(--accent); box-shadow: var(--shadow-md); }
.agr-compare[data-state="after"] .agr-cmp::after { content: '\2713'; color: #fff; background: var(--agr-ok); transform: rotate(360deg); }
.agr-compare[data-hint] .agr-seg__btn[data-compare-set="after"] { animation: agr-hint 2.2s ease-in-out infinite; }

@keyframes agr-hint {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-light); }
  50% { box-shadow: 0 0 0 6px var(--accent-light); }
}

/* ---------- Что подключаем и отчёты: панели вкладок ---------- */
.agr-panel { margin-top: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem 1.3rem; }
.agr-js .agr-panel:not(.is-active) { display: none; }
.agr-panel.is-active { animation: agr-panel 0.35s ease-out; }

@keyframes agr-panel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.agr-panel h3 { margin: 0 0 0.8rem; font-size: 1.12rem; }
.agr-panel h4 { margin: 0 0 0.5rem; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.agr-panel__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.agr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.agr-list li { position: relative; padding-left: 1.5rem; line-height: 1.5; }
.agr-list li::before { content: '+'; position: absolute; left: 0; top: 0; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; color: var(--accent-strong); background: var(--accent-light); }
.agr-list.is-see li::before { content: '\2713'; color: #fff; background: var(--agr-ok); }
.agr-panel__more { margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 720px) {
  .agr-panel__cols { grid-template-columns: 1fr; gap: 1rem; }
}

.agr-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.agr-table caption { caption-side: top; text-align: left; font-size: 0.85rem; color: var(--muted); padding: 0 0 0.5rem; }
.agr-table th,
.agr-table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.agr-table thead th { font-size: 0.78rem; color: var(--muted); font-weight: 600; background: var(--alt); }
.agr-table tr:last-child td { border-bottom: 0; }
.agr-table .agr-num { text-align: right; }
.agr-table .is-warn { color: var(--accent2-strong); font-weight: 700; }
.agr-1c { margin: 1rem 0 0; display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 600; background: var(--accent-light); color: var(--accent-strong); border-radius: 0.8rem; padding: 0.55rem 0.9rem; }
.agr-1c span { font-size: 1.2rem; }

.agr-real { margin: 1.6rem 0 0; display: grid; grid-template-columns: minmax(0, 604px) minmax(0, 1fr); gap: 1.2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem; }
.agr-real img { display: block; width: 100%; height: auto; border-radius: 0.6rem; }
.agr-real figcaption { color: var(--muted); line-height: 1.6; padding: 0 0.4rem; }
.agr-real figcaption b { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 0.3rem; }

@media (max-width: 720px) {
  .agr-real { grid-template-columns: 1fr; }
}

/* ---------- Урожай от поля до тока ---------- */
.agr-play { margin-top: 1.3rem; }
.agr-play__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; }
.agr-play__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 1.3rem; margin-top: 1rem; align-items: start; }
.agr-play__vis { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem; }
.agr-trip { display: block; width: 100%; height: auto; border-radius: 0.6rem; }
.agr-village path { fill: var(--agr-tok); stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
.agr-auger { fill: none; stroke: #8a6d12; stroke-width: 4; stroke-linecap: round; }
.agr-veh.is-big rect { stroke-width: 2; }
.agr-veh__load { fill: var(--agr-wheat) !important; stroke: none !important; transform-box: fill-box; transform-origin: bottom; }
.agr-tripline { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; opacity: 0.8; }
.agr-tripline.is-bad { stroke: var(--agr-danger); }
.agr-wdisp rect { fill: #0b1220; stroke: #334155; stroke-width: 2; }
.agr-wdisp__lbl { fill: #94a3b8; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.agr-wdisp__num { fill: #fbbf24; font: 700 15px ui-monospace, Consolas, 'Courier New', monospace; }
.agr-cam rect { fill: #1e293b; }
.agr-cam__flash { fill: #fff; opacity: 0; }
.agr-cam__flash.is-on { animation: agr-flash 0.7s ease-out; }

@keyframes agr-flash {
  0% { opacity: 0.95; }
  100% { opacity: 0; }
}

.agr-pill { transition: opacity 0.35s; }
.agr-pill rect { fill: var(--card); stroke-width: 1.5; stroke: var(--accent); }
.agr-pill text { fill: var(--text); font-size: 11px; font-weight: 700; }
.agr-pill.is-bad rect { stroke: var(--agr-danger); }
.agr-pill.is-bad text { fill: var(--agr-danger); }
.agr-js .agr-trip .agr-pill:not(.is-on) { opacity: 0; }
html:not(.agr-js) [data-trip="stoppill"] { display: none; }

.agr-gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 0.7rem; background: #1e293b; border-radius: 0.8rem; overflow: hidden; }
.agr-gauges > div { background: #0b1220; padding: 0.55rem 0.7rem; display: grid; gap: 0.1rem; min-width: 0; }
.agr-gauges span { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agr-gauges b { font: 700 1.1rem ui-monospace, Consolas, 'Courier New', monospace; color: #fbbf24; font-variant-numeric: tabular-nums; white-space: nowrap; }
.agr-gauges b.is-bad { color: #f87171; }

@media (max-width: 560px) {
  .agr-gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agr-trip .agr-place { font-size: 20px; }
  .agr-wdisp__num { font-size: 18px; }
}

.agr-play__case h3 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.agr-js .agr-play__case:not(.is-active) { display: none; }
html:not(.agr-js) .agr-play__case + .agr-play__case { margin-top: 1.5rem; }

.agr-log { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--line); display: grid; gap: 0.55rem; }
.agr-log li { position: relative; font-size: 0.92rem; line-height: 1.45; transition: opacity 0.35s, transform 0.35s, visibility 0.35s; }
.agr-log li::before { content: ''; position: absolute; left: calc(-1.1rem - 6px); top: 0.3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px var(--alt); }
.agr-log li.is-cmd::before { background: var(--accent); }
.agr-log li.is-ok::before { background: var(--agr-ok); }
.agr-log li.is-bad::before { background: var(--agr-danger); }
.agr-log li.is-bad { color: var(--agr-danger); font-weight: 600; }
.agr-log time { display: block; font: 600 0.76rem ui-monospace, Consolas, 'Courier New', monospace; color: var(--muted); }
.agr-js .agr-log li:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateX(-6px); }

.agr-result { margin: 1rem 0 0; display: grid; gap: 0.3rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--agr-ok); border-radius: var(--radius); padding: 0.9rem 1rem; transition: opacity 0.4s, transform 0.4s, visibility 0.4s; }
.agr-result.is-bad { border-left-color: var(--agr-danger); }
.agr-result b { font-size: 1rem; }
.agr-result span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.agr-js .agr-result:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(6px); }

@media (max-width: 900px) {
  .agr-play__grid { grid-template-columns: 1fr; }
}

/* ---------- Решения для хозяйства ---------- */
.agr-sols { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.9rem; }
.agr-sols a { height: 100%; display: grid; grid-template-rows: auto auto 1fr; gap: 0.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 0.6rem 0.9rem; text-decoration: none; color: var(--text); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.agr-sols a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.agr-sols img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.6rem; margin-bottom: 0.35rem; }
.agr-sols b { font-size: 1rem; padding: 0 0.3rem; }
.agr-sols span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; padding: 0 0.3rem; }

/* ---------- Оборудование ---------- */
.agr-equip { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 1.2rem; }
.agr-photo { display: block; width: 100%; height: auto; aspect-ratio: 500 / 340; object-fit: contain; background: #fff; }
.agr-card-link { display: inline-block; margin-top: 0.7rem; font-weight: 600; text-decoration: none; }

/* ---------- Вопросы ---------- */
.agr-faq { display: grid; gap: 0.6rem; margin-top: 1.2rem; max-width: 860px; }
.agr-faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.1rem; transition: border-color var(--transition); }
.agr-faq details[open] { border-color: var(--accent); }
.agr-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.agr-faq summary::-webkit-details-marker { display: none; }
.agr-faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.agr-faq details[open] summary::after { content: '\2212'; }
.agr-faq details p { color: var(--muted); line-height: 1.6; margin: 0.6rem 0 0; }

/* ---------- Заявка ---------- */
.agr-final { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; align-items: center; }
.agr-final p { color: rgba(255, 255, 255, 0.86); line-height: 1.6; max-width: 60ch; }
.agr-final__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }
.section--cta .agr-btn-max { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.section--cta .agr-btn-max:hover { background: rgba(255, 255, 255, 0.16); color: #fff; transform: translateY(-1px); }
.agr-final__mail { font-size: 0.9rem; }
.agr-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.agr-contacts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "role role" "phone name"; gap: 0.15rem 0.8rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0.9rem; padding: 0.75rem 1rem; }
.agr-contacts span { grid-area: role; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.section--cta .agr-contacts a { grid-area: phone; font-size: 1.15rem; font-weight: 700; text-decoration: none; color: #fff; white-space: nowrap; }
.section--cta .agr-contacts a:hover { color: var(--accent2); }
.agr-contacts small { grid-area: name; align-self: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }

@media (max-width: 820px) {
  .agr-final { grid-template-columns: 1fr; }
}

/* ---------- Без анимаций по просьбе системы ---------- */
@media (prefers-reduced-motion: reduce) {
  .agr-live__dot,
  .agr-panel.is-active,
  .agr-cam__flash.is-on,
  .agr-compare[data-hint] .agr-seg__btn[data-compare-set="after"] {
    animation: none !important;
  }
}
