:root{
  --bg:#f6f7f4;--card:#fff;--text:#172018;--muted:#687268;--line:#dfe5df;
  --accent:#215c3a;--accent-dark:#18462c;--soft:#eef4ef;--warning:#fff5db
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
.wrap{width:min(1120px,calc(100% - 32px));margin:0 auto}
.topbar{padding:20px 0;border-bottom:1px solid var(--line);background:rgba(246,247,244,.93);position:sticky;top:0;z-index:10;backdrop-filter:blur(10px)}
.brand-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{font-weight:900;letter-spacing:.12em;font-size:1.15rem}
.tagline,.muted,footer{color:var(--muted)}
.tagline{font-size:.9rem;margin-top:3px}
.ghost-link{color:var(--text);text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:10px 14px}
.hero{padding:64px 0 28px}
.eyebrow,.section-number,.product-placement{font-size:.78rem;letter-spacing:.12em;font-weight:800;color:var(--accent);text-transform:uppercase}
h1{font-size:clamp(2.2rem,5vw,4.7rem);line-height:.99;margin:12px 0 20px;letter-spacing:-.05em;max-width:940px}
h2{margin:8px 0;font-size:1.55rem}
h3{margin:6px 0 8px;font-size:1.25rem}
.hero p{font-size:1.1rem;line-height:1.65;max-width:760px;color:var(--muted)}
.grid-main{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr);gap:22px;align-items:start}
.card{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 8px 30px rgba(27,44,31,.04)}
form{display:grid;gap:16px;margin-top:24px}
label{display:grid;gap:8px;font-weight:700}
input,select{width:100%;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);font:inherit}
button{font:inherit;cursor:pointer}
.primary-btn,.secondary-btn{border:0;border-radius:12px;padding:14px 18px;font-weight:800}
.primary-btn{background:var(--accent);color:#fff}
.primary-btn:hover{background:var(--accent-dark)}
.secondary-btn{background:var(--soft);color:var(--accent-dark);margin-top:18px}
.result{margin-top:22px;padding:20px;background:var(--soft);border-radius:18px}
.hidden{display:none}
.result-label{color:var(--muted);font-size:.9rem}
.big-number{font-size:clamp(2rem,5vw,3.4rem);font-weight:900;letter-spacing:-.05em;margin:4px 0 10px}
.help{border:0;background:transparent;color:var(--accent);padding:0;font-weight:700}
.note{margin-top:12px;background:var(--warning);padding:14px;border-radius:12px;line-height:1.5}
.shelf{position:sticky;top:94px}
.service-list{display:grid;gap:14px;margin-top:16px}
.service-card{border:1px solid var(--line);border-radius:16px;padding:14px;display:grid;grid-template-columns:68px 1fr;gap:13px;background:#fbfcfb}
.thumb{overflow:hidden;border-radius:12px;background:var(--soft);display:grid;place-items:center}
.thumb-small{width:68px;height:68px}
.thumb img,.product-image img{width:100%;height:100%;object-fit:cover;display:block}
.thumb-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:1.8rem}
.thumb-placeholder.large{font-size:3rem}
.service-copy p{margin:5px 0 10px;color:var(--muted);font-size:.9rem;line-height:1.4}
.destination{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 10px;font-size:.78rem;color:var(--muted);margin-bottom:10px}
.destination strong{color:var(--text);display:block;margin-top:2px}
.destination span{display:block;margin-top:2px}
.clear-cta,.product-link{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;border-radius:10px;padding:10px 12px;font-weight:800;font-size:.88rem}
.empty{color:var(--muted);padding:14px 0}
.fight-card{margin-top:22px}
.fight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.method-card{border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:row;align-items:flex-start;gap:10px;cursor:pointer}
.method-card input{width:auto;margin-top:4px}
.method-card small{display:block;color:var(--muted);margin-top:4px}
.timeline-item{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--line)}
.recommendations{margin-top:18px;display:grid;gap:14px}
.product-card{display:grid;grid-template-columns:160px 1fr;gap:20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.product-image{height:150px;border-radius:14px;overflow:hidden;background:var(--soft);display:grid;place-items:center}
.product-content p{color:var(--muted);margin:6px 0 12px;line-height:1.45}
.destination-wide{max-width:460px}
.destination-wide span,.destination-wide small{display:block}
.destination-wide strong{font-size:.95rem}
footer{padding:30px 0 50px;font-size:.85rem;line-height:1.5}
@media(max-width:820px){
  .grid-main,.fight-grid{grid-template-columns:1fr}.shelf{position:static}.hero{padding-top:42px}
  .product-card{grid-template-columns:1fr}.product-image{height:220px}
}


/* V4: компактная доверительная полка сервисов */
.shelf{padding:24px}
.shelf h2{margin-bottom:5px}
.shelf-note{font-size:.88rem;line-height:1.4;margin:0 0 14px}
.compact-service-list{gap:9px;margin-top:0}
.compact-service-card{
  color:var(--text);text-decoration:none;padding:10px 11px;border-radius:13px;
  grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center;position:relative;
  background:#fff;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease
}
.compact-service-card:hover{border-color:#bdcabc;box-shadow:0 5px 16px rgba(27,44,31,.06);transform:translateY(-1px)}
.thumb-compact{width:46px;height:46px;border-radius:10px}
.compact-placeholder{font-size:1.25rem}
.compact-service-copy{min-width:0}
.compact-service-title{font-weight:850;font-size:.94rem;line-height:1.2;padding-right:68px}
.compact-service-description{
  margin-top:4px;color:var(--muted);font-size:.78rem;line-height:1.32;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;white-space:normal;
}
.compact-destination{display:flex;align-items:baseline;gap:4px;min-width:0;margin-top:5px;font-size:.70rem;color:var(--muted);white-space:nowrap;overflow:hidden}
.compact-destination strong{color:var(--text);font-size:.72rem;overflow:hidden;text-overflow:ellipsis}
.compact-destination small{font-size:.68rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.service-cta{font-size:.74rem;font-weight:850;color:var(--accent);white-space:nowrap;position:absolute;top:11px;right:11px}
@media(max-width:820px){
  .shelf{padding:20px}
  .compact-service-card{grid-template-columns:44px minmax(0,1fr)}
  .thumb-compact{width:44px;height:44px}
}
@media(max-width:430px){
  .compact-service-card{grid-template-columns:42px minmax(0,1fr)}
  .compact-service-title{padding-right:60px}
  .compact-service-description{-webkit-line-clamp:3}
  .compact-destination{white-space:normal;flex-wrap:wrap;row-gap:1px}
  .compact-destination small{display:none}
}


/* V6: юридический результат */
.legal-context{margin-top:-4px;color:var(--muted);font-size:.84rem}
.regional-result{margin:16px 0 14px;padding:15px 16px;background:#fff;border:1px solid #d9e1d9;border-radius:14px}
.regional-kicker{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:850;margin-bottom:5px}
.regional-amount{font-size:1.15rem;font-weight:900;margin-top:6px}
.regional-result p{color:var(--muted);font-size:.84rem;line-height:1.45;margin:7px 0 8px}
.regional-source{font-size:.78rem;color:var(--accent);font-weight:750;text-decoration:none}
.note p{margin:0 0 10px}
.note p:last-of-type{margin-bottom:0}
.legal-sources{border-top:1px solid rgba(23,32,24,.10);margin-top:13px;padding-top:12px}
.legal-sources strong{display:block;margin-bottom:7px}
#legal-source-list{display:grid;gap:5px}
#legal-source-list a{color:var(--accent);font-size:.78rem;font-weight:700;text-decoration:none;line-height:1.35}
#legal-reviewed{display:block;color:var(--muted);font-size:.72rem;margin-top:9px}
.primary-btn:disabled{opacity:.7;cursor:wait}


/* V6.1: более заметное разделение федеральной и региональной ответственности */
.legal-context{
  color:var(--muted);
  font-size:.9rem;
  margin-bottom:14px;
}
.legal-result-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.legal-result-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  min-width:0;
}
.federal-box{
  border-left:4px solid var(--accent);
}
.regional-result{
  margin:0;
  background:#fffaf0;
  border-left:4px solid #a66b00;
}
.regional-kicker{
  color:#7a5a19;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.regional-amount{
  font-size:clamp(1.35rem,3vw,2rem);
  font-weight:900;
  margin:6px 0;
  letter-spacing:-.03em;
}
.regional-result p{
  color:var(--muted);
  font-size:.87rem;
  line-height:1.4;
  margin:8px 0;
}
.result-caption{
  color:var(--muted);
  font-size:.78rem;
}
.build-version{
  display:block;
  margin-top:8px;
  font-size:.75rem;
  color:var(--muted);
}
@media(max-width:700px){
  .legal-result-grid{grid-template-columns:1fr}
}


/* V7 — agronomic calculator */
.agro-input-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}
.cover-option{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 16px;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
  background:#fbfcfb;
}
.cover-option input{width:auto;margin-top:4px}
.cover-option small{display:block;color:var(--muted);font-weight:400;margin-top:4px;line-height:1.4}
.agro-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:18px;
}
.agro-summary>div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  padding:12px;
}
.agro-summary span,.material-grid span{
  display:block;
  color:var(--muted);
  font-size:.78rem;
  margin-bottom:4px;
}
.agro-summary strong{font-size:.93rem;line-height:1.3}
.agro-stages{display:grid;gap:10px}
.agro-stage{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
}
.stage-number{
  width:30px;height:30px;border-radius:999px;background:var(--accent);
  color:#fff;display:grid;place-items:center;font-weight:900;font-size:.82rem
}
.agro-stage p{margin:5px 0 0;color:var(--muted);line-height:1.5;font-size:.92rem}
.agro-data-box{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
.agro-data-box h3{margin-top:6px}
.material-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:12px 0;
}
.material-grid>div{
  background:var(--soft);
  border-radius:12px;
  padding:12px;
}
.material-grid strong{font-size:1.2rem}
.agro-data-box>p{color:var(--muted);font-size:.88rem;line-height:1.45}
.agro-warning{
  background:#fff5db;
  border-radius:12px;
  padding:12px;
  font-size:.86rem;
  line-height:1.45;
}
.safety-box{
  margin-top:14px;
  border-radius:14px;
  padding:14px;
  background:#fff1f1;
  border:1px solid #f0d1d1;
}
.safety-box p{margin:5px 0 0;color:#664545;line-height:1.45;font-size:.88rem}
.agro-source{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  font-size:.78rem;
  color:var(--muted);
}
.agro-source a{color:var(--accent);font-weight:700;text-decoration:none}
@media(max-width:760px){
  .agro-input-grid,.agro-summary,.material-grid{grid-template-columns:1fr}
  .agro-source{align-items:flex-start;flex-direction:column}
}

/* V8 — layout, attention accents and product solution */
.site-layout{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);
  gap:22px;
  align-items:start;
}
.content-stack{display:grid;gap:22px;min-width:0}
.site-layout .fight-card{margin-top:0}
.site-layout .shelf{position:sticky;top:94px;align-self:start}
.attention-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.attention-line>p{margin:0;line-height:1.45}
.attention-badge{
  flex:0 0 auto;
  width:26px;height:26px;
  border-radius:999px;
  display:grid;place-items:center;
  background:#b66b00;color:#fff;
  font-weight:900;
  line-height:1;
}
.attention-badge.mini{width:18px;height:18px;font-size:.72rem;display:inline-grid;vertical-align:middle}
.inline-attention{
  display:inline-grid;place-items:center;
  width:20px;height:20px;
  margin-right:7px;
  border-radius:999px;
  background:#b66b00;color:#fff;
  font-size:.72rem;font-weight:900;
  vertical-align:1px;
}
.auto-choice-note{
  display:flex;gap:10px;align-items:flex-start;
  margin-top:14px;padding:13px 14px;
  border-radius:14px;
  background:#fff8e8;border:1px solid #ecd7a9;
}
.auto-choice-note strong{display:block;margin-bottom:3px}
.auto-choice-note span{color:#6d6046;font-size:.88rem;line-height:1.45}
.cover-decision{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:13px;
  background:#fff8e8;border:1px solid #ecd7a9;
}
.cover-decision.positive{background:#edf7ef;border-color:#c9e3cf}
.cover-decision.positive .attention-badge{background:var(--accent)}
.agro-stage.needs-attention{border-left:4px solid #b66b00}
.agro-warning.attention-line{display:flex}
.agro-warning.attention-line>div{flex:1}
.safety-box.attention-line{display:flex}
.product-price-meta{
  display:flex;align-items:baseline;gap:8px;
  margin:9px 0 6px;
}
.product-price-meta strong{font-size:1.15rem}
.product-price-meta span{font-size:.82rem;color:var(--muted)}
.product-calc-line{
  display:flex;justify-content:space-between;gap:12px;
  margin:0 0 10px;
  font-size:.86rem;
}
.product-calc-line span{color:var(--muted)}
.solution-box{
  margin-top:16px;
  background:#fff;
  border:2px solid #cfe0d3;
  border-radius:18px;
  padding:18px;
}
.solution-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;
  padding-bottom:12px;border-bottom:1px solid var(--line)
}
.solution-head h3{margin:5px 0 0}
.solution-total-wrap{text-align:right;white-space:nowrap}
.solution-total-wrap span{display:block;color:var(--muted);font-size:.78rem}
.solution-total-wrap strong{display:block;font-size:1.7rem;margin-top:2px}
.solution-items{display:grid}
.solution-item{
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:12px 0;border-bottom:1px solid var(--line)
}
.solution-item>div{min-width:0}
.solution-item span{display:block;color:var(--muted);font-size:.82rem;margin-top:3px}
.solution-note{
  display:flex;align-items:center;gap:7px;
  margin-top:12px;color:var(--muted);font-size:.78rem;line-height:1.4
}
@media(max-width:820px){
  .site-layout{grid-template-columns:1fr}
  .site-layout .shelf{position:static}
  .solution-head,.solution-item{align-items:flex-start;flex-direction:column}
  .solution-total-wrap{text-align:left}
}


/* V10 — readable plan layout */
.plan-tool{
  padding:0;
  overflow:hidden;
  border:1px solid #d5e2d8;
  box-shadow:0 12px 34px rgba(27,44,31,.055);
  scroll-margin-top:106px;
}
.plan-tool-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:25px 28px 22px;
  background:linear-gradient(135deg,#f0f6f1 0%,#fbfdfb 72%);
  border-bottom:1px solid var(--line);
}
.plan-section-mark{
  width:66px;height:66px;border-radius:18px;
  background:var(--accent);color:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  line-height:1;
}
.plan-section-mark span{font-size:1.35rem;font-weight:950;letter-spacing:-.03em}
.plan-section-mark small{font-size:.58rem;margin-top:6px;text-transform:uppercase;letter-spacing:.08em;opacity:.8}
.plan-head-copy h2{font-size:clamp(1.65rem,3vw,2.25rem);margin:0 0 7px;letter-spacing:-.035em}
.plan-head-copy p{margin:0;color:var(--muted);line-height:1.5;max-width:660px}
.plan-area-chip{
  min-width:116px;padding:11px 13px;border:1px solid #d7e5da;background:#fff;border-radius:13px;text-align:right
}
.plan-area-chip span{display:block;color:var(--muted);font-size:.72rem}
.plan-area-chip strong{display:block;margin-top:3px;font-size:1.05rem}
.plan-form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:22px 28px 0
}
.plan-field{
  position:relative;
  display:grid;grid-template-columns:34px 1fr;column-gap:10px;row-gap:10px;
  padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff
}
.field-number{
  grid-row:1;width:30px;height:30px;border-radius:999px;background:#eef4ef;color:var(--accent);
  display:grid;place-items:center;font-size:.78rem;font-weight:950
}
.field-copy{grid-column:2;min-width:0}
.field-copy strong{display:block;font-size:.94rem}
.field-copy small{display:block;margin-top:3px;color:var(--muted);font-weight:400;font-size:.78rem}
.plan-field select{grid-column:1 / -1;margin:0;border-color:#cedbd1;background:#fbfcfb;font-weight:700}
.plan-calc-btn{
  display:block;width:calc(100% - 56px);margin:14px 28px 26px;padding:15px 18px;
  border:0;border-radius:13px;background:var(--accent);color:#fff;font-weight:900;font-size:1rem;cursor:pointer
}
.plan-calc-btn:hover{background:var(--accent-dark)}
.plan-calc-btn:disabled{opacity:.7;cursor:default}

.plan-output{
  margin:0;border-radius:0;border:0;border-top:1px solid #d9e5dc;background:#f7faf8;padding:26px 28px 28px;
  scroll-margin-top:104px
}
.plan-output-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.output-kicker,.result-section-kicker{display:block;color:var(--accent);font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.plan-output-head h3{margin:5px 0 0;font-size:1.55rem;letter-spacing:-.025em}
.output-area{text-align:right;padding:8px 11px;border-radius:11px;background:#fff;border:1px solid var(--line)}
.output-area span{display:block;color:var(--muted);font-size:.7rem}
.output-area strong{display:block;margin-top:2px}
.plan-context-row{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 23px}
.plan-context-row span{padding:6px 9px;border-radius:999px;background:#eaf2ec;color:#395246;font-size:.76rem;font-weight:750}
.result-section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:10px}
.result-section-head h3{margin:3px 0 0;font-size:1.25rem}
.stage-count{color:var(--muted);font-size:.78rem;font-weight:750}
.plan-timeline{position:relative;gap:0;padding-left:0}
.plan-timeline .agro-stage{
  position:relative;display:grid;grid-template-columns:42px 1fr;gap:12px;padding:15px 0;background:transparent;border:0;border-radius:0;border-bottom:1px solid var(--line)
}
.plan-timeline .agro-stage:first-child{border-top:1px solid var(--line)}
.plan-timeline .agro-stage.needs-attention{border-left:0}
.plan-timeline .stage-number{
  width:34px;height:34px;background:#fff;color:var(--accent);border:2px solid #9dbba6;box-shadow:0 0 0 4px #f7faf8;font-size:.84rem
}
.plan-timeline .stage-copy strong{font-size:.97rem;line-height:1.3}
.plan-timeline .stage-copy p{margin:5px 0 0;color:var(--muted);line-height:1.48;font-size:.87rem}
.plan-timeline .inline-attention{width:18px;height:18px;font-size:.68rem;margin-right:6px}
.cover-decision{margin:13px 0 0}

.solution-box{
  margin-top:22px;padding:18px;border:1px solid #bfd4c5;border-radius:16px;background:#fff;box-shadow:none
}
.solution-head{padding-bottom:11px}
.solution-head h3{font-size:1.25rem}
.solution-total-wrap strong{font-size:1.45rem}
.solution-items{gap:0}
.purchase-row{
  display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:13px 0!important
}
.purchase-thumb{width:52px;height:52px;border-radius:11px;overflow:hidden;background:#eef4ef;display:grid;place-items:center;font-size:1.35rem}
.purchase-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.purchase-copy{min-width:0}
.purchase-copy>strong{display:block;font-size:.91rem;line-height:1.25}
.purchase-copy>span{display:block!important;margin-top:3px!important;color:var(--muted);font-size:.78rem!important}
.purchase-copy>small{display:block;margin-top:5px;color:#617168;font-size:.71rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.purchase-action{text-align:right;white-space:nowrap}
.purchase-action>strong{display:block;font-size:.95rem;margin-bottom:6px}
.purchase-action>a{display:inline-block;padding:7px 9px;border-radius:8px;background:#eef4ef;color:var(--accent);text-decoration:none;font-size:.76rem;font-weight:900}
.solution-note{margin-top:10px}
.main-safety{margin-top:14px;padding:13px 14px;border-radius:13px;background:#fff5e8;border:1px solid #edd9b6}
.main-safety p{margin:4px 0 0;color:#6c5940;font-size:.84rem;line-height:1.45}
.method-details{margin-top:13px;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
.method-details summary{cursor:pointer;padding:12px 14px;font-size:.84rem;font-weight:850;color:#405348;list-style:none}
.method-details summary::-webkit-details-marker{display:none}
.method-details summary::after{content:'+';float:right;color:var(--accent);font-size:1rem}
.method-details[open] summary::after{content:'−'}
.method-details-body{padding:0 13px 13px;border-top:1px solid var(--line)}
.method-details .agro-data-box{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:14px 0;background:transparent}
.method-details .agro-source{padding-top:12px}
.product-data-source{display:none!important}

@media(max-width:820px){
  .plan-tool-head{grid-template-columns:auto 1fr;padding:20px 18px 18px}
  .plan-section-mark{width:54px;height:54px;border-radius:15px}
  .plan-area-chip{grid-column:1 / -1;text-align:left;display:flex;align-items:center;justify-content:space-between}
  .plan-form-grid{grid-template-columns:1fr;padding:16px 18px 0}
  .plan-calc-btn{width:calc(100% - 36px);margin:12px 18px 20px}
  .plan-output{padding:21px 18px 22px}
  .purchase-row{grid-template-columns:46px minmax(0,1fr)!important}
  .purchase-thumb{width:46px;height:46px}
  .purchase-action{grid-column:2;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:10px}
  .purchase-action>strong{margin:0}
}


/* V11 — visual polish */
.hero-title{max-width:980px;margin:14px 0 20px;font-size:clamp(2.45rem,5vw,4.8rem);line-height:1.02;letter-spacing:-.045em;font-weight:820;text-wrap:balance}
.hero-title span{display:block}
.hero-title-main{font-weight:850}
.hero-title-sub{margin-top:.06em;color:#31523d;font-weight:700;letter-spacing:-.038em}

.plan-section-mark{width:88px;height:68px;flex:0 0 88px;text-align:center;padding:8px 7px}
.plan-section-mark span{width:100%;display:block;text-align:center;line-height:1}
.plan-section-mark small{width:100%;max-width:72px;display:block;margin:6px auto 0;text-align:center;line-height:1.08;letter-spacing:.045em}

.finance-offer{margin-top:14px;padding:13px 14px;border-top:1px solid var(--line);display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center}
.finance-symbol{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f2f0d7;color:#252518;font-size:1.15rem;font-weight:950}
.finance-copy{min-width:0}
.finance-kicker{display:block;margin-bottom:2px;color:#71715f;font-size:.69rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.finance-copy>strong{display:block;font-size:.9rem;line-height:1.25}
.finance-copy p{margin:3px 0 4px;color:var(--muted);font-size:.77rem;line-height:1.38}
.finance-copy small{display:block;color:#687268;font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.finance-offer>a{display:inline-block;padding:8px 10px;border-radius:9px;background:#f3f4ef;color:#2b4835;text-decoration:none;font-size:.76rem;font-weight:900;white-space:nowrap}
.finance-offer>a:hover{background:#e9efe9}
@media(max-width:820px){
  .hero-title{font-size:clamp(2.25rem,10vw,3.5rem);line-height:1.03}
  .plan-section-mark{width:68px;height:62px;flex-basis:68px}
  .plan-section-mark small{max-width:58px;font-size:.52rem}
  .finance-offer{grid-template-columns:38px minmax(0,1fr)}
  .finance-symbol{width:38px;height:38px}
  .finance-offer>a{grid-column:2;justify-self:start}
}

/* V12 — seasonal agronomic engine */
.area-control{
  display:grid;
  grid-template-columns:minmax(0,1fr) 108px;
  gap:8px;
}
.area-control input,.area-control select{margin:0}
.area-control select{font-weight:800}

.v12-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.water-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 28px 0;
  padding:14px;
  border:1px solid #d9e5dc;
  border-radius:14px;
  background:#f8fbf9;
}
.water-subfield{margin:0}
.water-subfield>span{display:block;margin-bottom:7px;font-size:.8rem;font-weight:850;color:#405348}
.water-subfield select,.water-subfield input{margin:0}
.distance-control{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center}
.distance-control strong{display:grid;place-items:center;height:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:.82rem}

.phase-start-note{
  margin:-10px 0 20px;
  padding:11px 13px;
  border-radius:12px;
  background:#eef5f0;
  color:#3c5847;
  font-size:.82rem;
  line-height:1.45;
  font-weight:650;
}
.water-result{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 20px;
  padding:13px 14px;
  border-radius:13px;
  border:1px solid #d8e3da;
  background:#fff;
}
.water-result strong{display:block;font-size:.9rem}
.water-result p{margin:4px 0 0;color:var(--muted);font-size:.82rem;line-height:1.45}
.water-result.danger{background:#fff0f0;border-color:#eccaca}
.water-result.warning{background:#fff8e9;border-color:#ead8af}
.water-result.ok{background:#f2f8f4;border-color:#d1e3d6}

.plan-timeline .agro-stage.start-here{
  margin:7px -10px;
  padding:15px 10px;
  border-radius:13px;
  border:1px solid #aecbb7;
  background:#f0f7f2;
}
.plan-timeline .agro-stage.start-here + .agro-stage{border-top:0}
.stage-period{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-bottom:5px;
  color:#66796c;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.stage-period span{
  padding:3px 6px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:.6rem;
  letter-spacing:.04em;
}
.agro-source{align-items:flex-start}
.agro-source-list{display:grid;gap:5px;text-align:right}
.agro-source-list a{color:var(--accent);font-weight:750;text-decoration:none;line-height:1.35}

@media(max-width:820px){
  .area-control{grid-template-columns:minmax(0,1fr) 96px}
  .v12-plan-grid{grid-template-columns:1fr}
  .water-details{grid-template-columns:1fr;margin:10px 18px 0}
  .plan-timeline .agro-stage.start-here{margin:6px -7px;padding:14px 7px}
  .agro-source-list{text-align:left}
}

/* V15 — региональный календарь */
.regional-calendar-note{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:10px;
  align-items:start;
  margin:12px 0 4px;
  padding:12px 14px;
  border:1px solid #d9e5dc;
  border-radius:13px;
  background:#f7faf8;
}
.calendar-pin{
  width:30px;height:30px;border-radius:10px;
  display:grid;place-items:center;
  background:#e7f0ea;color:#315c40;font-weight:900;
}
.regional-calendar-note strong{display:block;font-size:.84rem;margin-bottom:3px}
.regional-calendar-note p{margin:0;color:var(--muted);font-size:.79rem;line-height:1.42}

/* V16 — каталог проверенных агротоваров и предложения магазинов */
.solution-unresolved{display:grid;gap:8px;margin-top:10px}
.unresolved-item{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start;padding:11px 12px;border-radius:12px;background:#fff8e8;border:1px solid #ead9ac}
.unresolved-icon{width:24px;height:24px;border-radius:999px;background:#9a6b16;color:#fff;display:grid;place-items:center;font-weight:900;font-size:.78rem}
.unresolved-item strong{font-size:.86rem}
.unresolved-item p{margin:3px 0 0;color:#746447;font-size:.78rem;line-height:1.4}
\n\n/* V18 — brand logo + support QR */\n.header-actions{display:flex;align-items:center;gap:14px}\n.perimeter-logo{width:72px;height:72px;flex:0 0 72px;border-radius:50%;overflow:hidden;border:1px solid rgba(33,92,58,.18);background:#f3f1e8;box-shadow:0 5px 18px rgba(23,32,24,.08)}\n.perimeter-logo img{width:100%;height:100%;display:block;object-fit:cover}\n.shelf{top:108px}
.support-project{margin:26px 0 0;padding:22px 24px;border:1px solid var(--line);border-radius:22px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:24px;align-items:center;box-shadow:0 8px 30px rgba(27,44,31,.035)}\n.support-kicker{display:block;color:var(--accent);font-size:.72rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase;margin-bottom:5px}\n.support-project h2{font-size:1.3rem;margin:0 0 7px}\n.support-project p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5;max-width:620px}\n.support-sbp{display:inline-flex;margin-top:12px;padding:6px 9px;border-radius:999px;background:var(--soft);color:var(--accent-dark);font-size:.72rem;font-weight:800}\n.support-qr{width:150px;height:150px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff}\n.support-qr img{width:100%;height:100%;display:block;object-fit:contain}\n@media(max-width:700px){\n  .topbar{padding:12px 0}\n  .ghost-link{display:none}\n  .perimeter-logo{width:62px;height:62px;flex-basis:62px}\n  .support-project{grid-template-columns:1fr 128px;padding:18px;gap:16px}\n  .support-qr{width:128px;height:128px}\n}\n@media(max-width:480px){\n  .support-project{grid-template-columns:1fr}\n  .support-qr{width:144px;height:144px}\n}\n
/* HOTFIX: компактный логотип в шапке */
.header-actions{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}

.perimeter-logo{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  width:auto !important;
  height:54px !important;
  flex:0 0 auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.perimeter-logo img{
  display:block !important;
  width:auto !important;
  height:54px !important;
  max-width:190px !important;
  max-height:54px !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

@media(max-width:700px){
  .perimeter-logo{
    height:42px !important;
  }

  .perimeter-logo img{
    height:42px !important;
    max-height:42px !important;
    max-width:145px !important;
  }
}

/* HOTFIX 2: спокойная шапка без кнопки "Полезные сервисы" */
.topbar{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:24px !important;
}

.header-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:0 !important;
}

.ghost-link{
  display:none !important;
}

.perimeter-logo{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  flex:0 0 auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.perimeter-logo img{
  display:block !important;
  width:auto !important;
  height:84px !important;
  max-width:84px !important;
  max-height:84px !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

@media(max-width:900px){
  .perimeter-logo img{
    height:68px !important;
    max-width:68px !important;
    max-height:68px !important;
  }
}

@media(max-width:700px){
  .topbar{
    grid-template-columns:1fr auto !important;
    gap:16px !important;
    padding:12px 0 !important;
  }

  .perimeter-logo img{
    height:52px !important;
    max-width:52px !important;
    max-height:52px !important;
  }
}
