.agdash{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;max-width:1920px;margin:0 auto;padding:10px;background:#fff;color:#0f172a;font-family:Roboto,Arial,sans-serif}.agdash-side{display:flex;flex-direction:column;gap:8px}.agdash-side__title{font-size:17px;font-weight:900;margin:8px 0 10px}.agdash-side__title span{font-size:11px;color:#f59e0b;background:#fff4cc;border-radius:8px;padding:3px 6px;margin-left:8px}.agdash-side__link{display:block;padding:13px 14px;border-radius:12px;color:#334155;text-decoration:none;font-weight:700}.agdash-side__link.active{background:#eaf8ef;color:#13803d}.agdash-subscribe,.agdash-index{background:#fff;border:1px solid #e6edf3;border-radius:12px;padding:16px;margin-top:18px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.agdash-subscribe b{font-size:16px}.agdash-subscribe p,.agdash-index p{font-size:13px;color:#64748b;line-height:1.45}.agdash-subscribe button,.agdash-actions button{height:38px;border:0;border-radius:9px;background:#16963f;color:#fff;font-weight:800;padding:0 14px}.agdash-subscribe button.light,.agdash-actions button{background:#fff;color:#0f172a;border:1px solid #e2e8f0}.agdash-index strong{font-size:44px;color:#16963f}.agdash-index em{font-style:normal;color:#64748b}.agdash-index i{display:block;height:32px;margin-top:10px;background:linear-gradient(135deg,rgba(34,197,94,.12),rgba(34,197,94,.35));clip-path:polygon(0 75%,20% 65%,38% 70%,55% 45%,76% 55%,100% 12%,100% 100%,0 100%)}.agdash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.agdash-head h1{margin:0 0 6px;font-size:30px;line-height:1.1}.agdash-head p{margin:0;color:#64748b}.agdash-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.agdash-actions span{font-size:13px;color:#475569}.agdash-actions button.green{background:#15923c;color:#fff}.agdash-card{background:#fff;border:1px solid #e3eaf1;border-radius:13px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.045);min-width:0}.agdash-card h2{margin:0 0 14px;font-size:17px}.agdash-market{margin-bottom:18px}

/* analytics_2026: party check */
.party-check-card{
  margin-bottom:18px;
  background:linear-gradient(135deg,#fff,#f5fff8);
}

.party-check-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.party-check-card__head h2{
  margin:0 0 6px;
}

.party-check-card__head p{
  margin:0;
  max-width:720px;
  color:#64748b;
  line-height:1.45;
}

.party-check-card__head span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#dcfce7;
  color:#15803d;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.party-check-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) 160px;
  gap:10px;
}

.party-check-form input{
  height:44px;
  border:1px solid #dbe4ee;
  border-radius:11px;
  padding:0 14px;
  font-size:15px;
  outline:none;
}

.party-check-form input:focus{
  border-color:#15923c;
  box-shadow:0 0 0 3px rgba(21,146,60,.12);
}

.party-check-result{
  margin-top:14px;
  border:1px solid #e2e8f0;
  border-radius:13px;
  padding:14px;
  background:#fff;
}

.party-check-result--ok{
  border-color:#bbf7d0;
  background:#f7fff9;
}

.party-check-result--error{
  border-color:#fecaca;
  background:#fff7f7;
}

.party-check-result__title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.party-check-result__title b{
  font-size:16px;
  color:#0f172a;
}

.party-check-result__title span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#dcfce7;
  color:#15803d;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.party-check-result dl{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0;
}

.party-check-result dl div{
  border:1px solid #eef2f7;
  border-radius:10px;
  padding:10px;
  background:#fff;
  min-width:0;
}

.party-check-result dt{
  margin:0 0 4px;
  color:#94a3b8;
  font-size:12px;
  font-weight:800;
}

.party-check-result dd{
  margin:0;
  color:#0f172a;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
}

.party-check-address{
  margin:12px 0 0;
  color:#475569;
  font-size:13px;
  line-height:1.45;
}

@media(max-width:768px){
  .party-check-card__head{
    display:block;
  }

  .party-check-card__head span{
    margin-top:10px;
  }

  .party-check-form{
    grid-template-columns:1fr;
  }

  .party-check-form .ag-btn{
    width:100%;
  }

  .party-check-result__title{
    display:block;
  }

  .party-check-result__title span{
    margin-top:8px;
  }

  .party-check-result dl{
    grid-template-columns:1fr;
  }
}
.agdash-tickers{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.ticker{border:1px solid #e5edf4;border-radius:10px;padding:12px;min-height:112px;position:relative;overflow:hidden}.ticker b{display:block;font-size:12px;color:#64748b}.ticker strong{display:block;margin-top:6px;font-size:16px}.ticker span{font-size:12px;font-weight:800}.ticker.up span{color:#16a34a}.ticker.down span{color:#dc2626}.ticker i{position:absolute;left:10px;right:10px;bottom:8px;height:30px;background:linear-gradient(135deg,rgba(34,197,94,.08),rgba(34,197,94,.24));clip-path:polygon(0 70%,14% 55%,28% 65%,42% 40%,58% 48%,74% 25%,88% 5%,100% 28%,100% 100%,0 100%)}.ticker.down i{background:linear-gradient(135deg,rgba(239,68,68,.08),rgba(239,68,68,.2));clip-path:polygon(0 25%,18% 32%,30% 28%,48% 45%,62% 40%,78% 62%,100% 78%,100% 100%,0 100%)}.agdash-grid{display:grid;grid-template-columns:1.5fr 1.5fr 1fr 1fr;gap:14px;margin-bottom:14px;align-items:start}.wide{grid-column:span 1}.card-head{display:flex;justify-content:space-between}.card-head button{background:#fff;color:#15803d;border:1px solid #e2e8f0}.fake-map{height:260px;border-radius:12px;background:radial-gradient(circle at 35% 45%,#68b58b 0 4%,transparent 4.5%),radial-gradient(circle at 58% 40%,#2f9a65 0 5%,transparent 5.5%),radial-gradient(circle at 70% 60%,#bfe5cd 0 6%,transparent 6.5%),linear-gradient(135deg,#edf8f1,#d7efdf);position:relative;overflow:hidden}.fake-map:before{content:"";position:absolute;inset:35px 42px;background:#b8dfc7;clip-path:polygon(4% 40%,20% 24%,42% 30%,58% 18%,80% 32%,96% 52%,78% 66%,56% 58%,35% 72%,18% 62%);opacity:.9}.map-label{position:absolute;left:18px;bottom:16px;color:#64748b;font-weight:800}.map-foot{display:flex;gap:8px;align-items:center;margin-top:10px}.map-foot span{margin-left:auto;color:#94a3b8;font-size:12px}.tabs{display:flex;justify-content:space-between;color:#64748b;font-size:13px;margin-bottom:8px}.tabs b{color:#16a34a}.region-list{list-style:none;margin:0;padding:0}.region-list li{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:9px 0;border-bottom:1px solid #eef2f7;font-size:13px}.region-list em{font-style:normal;color:#16a34a}.demand-list p,.resource-list p{display:grid;grid-template-columns:1fr auto auto;gap:10px;font-size:13px;border-bottom:1px solid #eef2f7;padding:9px 0;margin:0}.demand-list span,.resource-list b{color:#16a34a}.demand-list em{font-style:normal;color:#16a34a}.demand-list em.mid{color:#f59e0b}.ai-card{background:linear-gradient(135deg,#fff,#eef9ff)}.ai-card p{line-height:1.55}.ai-card a{color:#1571d6;font-weight:800}.ai-card small{display:block;margin-top:42px;color:#475569}.bottom{grid-template-columns:1.5fr 1.5fr 1fr 1fr}.line-chart{height:150px;background:linear-gradient(180deg,#fff,#f8fafc);border-radius:10px;position:relative}.line-chart:before{display:none}.gauge{width:120px;height:120px;margin:0 auto}.gauge b{display:grid}.gauge-card strong{color:#16a34a}.bars{height:120px;border-radius:10px;background:#fff;opacity:1}.tool-card{background:linear-gradient(135deg,#fff,#f5fff7)}.tool-card.blue{background:linear-gradient(135deg,#fff,#eef7ff)}.tool-card p,.weather-card p,.agdash-card p{color:#475569}.agdash-card strong span,.red{color:#dc2626}@media(max-width:1200px){.agdash{grid-template-columns:1fr}.agdash-side{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.agdash-side__title{display:flex;align-items:center;gap:8px;margin:4px 0 6px}.agdash-side__link{display:none}.agdash-tickers{grid-template-columns:repeat(4,1fr)}.agdash-grid,.bottom{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.agdash{padding:10px 10px calc(90px + env(safe-area-inset-bottom));display:block;background:#fff}.agdash-side{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.agdash-subscribe,.agdash-index,.agdash-extra-analytics{margin-top:0}.agdash-head{display:block}.agdash-head h1{font-size:24px}.agdash-actions{margin-top:12px}.agdash-tickers,.agdash-grid,.bottom{grid-template-columns:1fr}.ticker{min-height:96px}.fake-map{height:220px}.agdash-card{border-radius:12px;padding:14px}}


/* 2026-05-11 analytics clean layout fix */
.demand-list p{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:8px;
  align-items:start;
}

.demand-list p b{
  min-width:0;
  overflow-wrap:anywhere;
}

.ai-card p{
  display:-webkit-box;
  -webkit-line-clamp:9;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:12px;
}

.ai-card small{
  margin-top:14px;
}

/* 2026-05-11 analytics modal */
.agmodal{
  position:fixed;
  inset:0;
  z-index:10050;
  display:none;
}

.agmodal.is-open{
  display:block;
}

.agmodal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.38);
  backdrop-filter:blur(4px);
}

.agmodal__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(720px, calc(100% - 24px));
  max-height:min(78vh, 720px);
  overflow:auto;
  background:#fff;
  border:1px solid #e3eaf1;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(15,23,42,.22);
  padding:22px;
}

.agmodal__x{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  background:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.agmodal h2{
  margin:0 44px 16px 0;
  font-size:22px;
}

.agmodal__body{
  color:#334155;
  font-size:15px;
  line-height:1.55;
}

.agmodal-list{
  margin:0;
  padding:0;
  list-style:none;
}

.agmodal-list li{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid #eef2f7;
}

.agmodal-list li:last-child{
  border-bottom:0;
}

.agmodal-list span{
  font-weight:700;
}

.agmodal-list b{
  color:#15923c;
  white-space:nowrap;
}

@media(max-width:768px){
  .agmodal__panel{
    width:calc(100% - 20px);
    max-height:82vh;
    padding:18px;
    border-radius:16px;
  }

  .agmodal h2{
    font-size:19px;
  }

  .agmodal-list li{
    display:block;
  }

  .agmodal-list b{
    display:block;
    margin-top:4px;
  }
}


/* 2026-05-11 analytics top row alignment */
.agdash-grid{
  align-items:stretch;
}

.agdash-grid > .agdash-card{
  height:100%;
}

.region-list li,
.demand-list p{
  padding:8px 0;
}

.ai-card p{
  -webkit-line-clamp:7;
}



.ai-card small{
  margin-top:10px;
}

@media(min-width:1201px){
  .agdash-grid{
    grid-template-columns:1.5fr 1.5fr 1fr 1fr;
  }
}


/* 2026-05-11 demand level colors */
.demand-list em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:68px;
  padding:3px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  font-style:normal;
}

.demand-list em.high{
  background:#dcfce7;
  color:#15803d;
}

.demand-list em.mid{
  background:#fef3c7;
  color:#b45309;
}

.demand-list em.low{
  background:#fee2e2;
  color:#b91c1c;
}

/* 2026-05-11 analytics buttons + modal status colors */
.agdash-grid > .agdash-card{
  display:flex;
  flex-direction:column;
}

.region-list,
.demand-list{
  flex:1 1 auto;
}

.agdash-card .full,


.agmodal-list b.high,
.agmodal-list b.mid,
.agmodal-list b.low{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  padding:4px 10px;
  border-radius:999px;
  font-size:13px;
}

.agmodal-list b.high{
  background:#dcfce7;
  color:#15803d;
}

.agmodal-list b.mid{
  background:#fef3c7;
  color:#b45309;
}

.agmodal-list b.low{
  background:#fee2e2;
  color:#b91c1c;
}

@media(max-width:768px){
  .agdash-card .full,
  
}

/* 2026-05-11 analytics final clean tail */

/* buttons */
.ag-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:9px;
  border:1px solid #dbe7df;
  background:#fff;
  color:#15803d;
  font-size:13px;
  font-weight:800;
  line-height:1.15;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
}

.ag-btn-green{
  background:#15923c;
  color:#fff;
  border-color:#15923c;
}

.ag-btn-outline{
  background:#fff;
  color:#15803d;
  border-color:#dbe7df;
}

.ag-btn-telegram{
  background:#229ED9;
  color:#fff;
  border-color:#229ED9;
}

.ag-btn-email{
  background:#fff;
  color:#0f172a;
  border-color:#dbe4ee;
}

/* demand circle center: desktop + mobile */
.demand-card .ratio{
  display:grid;
  place-items:center;
  line-height:1;
}

.gauge{
  display:grid;
  place-items:center;
}

/* bottom cards */
.calc-card,
.radar-card,
.duty-card,
.fx-cis-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:168px;
  overflow:hidden;
}

.calc-card{
  background:linear-gradient(135deg,#fff,#f5fff7);
}

.radar-card{
  background:linear-gradient(135deg,#fff,#eef7ff);
  padding-right:92px;
}

.duty-card{
  padding-right:96px;
}

.fx-cis-card{
  background:linear-gradient(135deg,#fff,#f1fbf4);
}

.calc-card__copy{
  min-width:0;
}

.calc-card__copy h2{
  margin:0 0 14px;
}

.calc-card__copy p{
  margin:0;
}

.calc-card__actions{
  margin-top:auto;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  width:100%;
}

.calc-card__actions .ag-btn,
.radar-card > .ag-btn,
.duty-card .ag-btn,
.fx-cis-card > .ag-btn{
  width:172px;
  min-width:172px;
  max-width:172px;
  height:34px;
  min-height:34px;
  margin-top:auto;
  margin-bottom:0;
  align-self:flex-start;
}

.calc-card__icon{
  flex:0 0 auto;
  width:50px;
  height:58px;
  border-radius:15px;
  background:linear-gradient(180deg,#1f2937,#0f172a);
  box-shadow:0 14px 30px rgba(15,23,42,.14);
  display:grid;
  grid-template-columns:repeat(3,5px);
  grid-auto-rows:5px;
  gap:7px;
  place-content:center;
  align-self:flex-end;
}

.calc-card__icon span{
  grid-column:1 / -1;
  height:7px;
  border-radius:999px;
  background:#eaf1f8;
  margin-bottom:2px;
}

.calc-card__icon i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#f8fafc;
  opacity:.92;
}

.radar-card:after{
  content:"🌐";
  position:absolute;
  right:18px;
  bottom:62px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  font-size:28px;
  border-radius:14px;
  background:linear-gradient(135deg,#e0f2fe,#bfdbfe);
  box-shadow:0 14px 28px rgba(37,99,235,.13);
}

.duty-card:after{
  content:none;
  display:none;
}

.fx-cis-card p{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  margin:8px 0;
}

.fx-cis-card em{
  display:none;
}

.duty-card a{
  margin-top:auto;
  display:block;
  text-decoration:none;
}

/* weather */
.bars{
  height:120px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:6px;
  padding-top:10px;
  background:#fff;
}

.weather-select{
  width:100%;
  margin:0 0 14px;
  border:1px solid #dbe4ee;
  border-radius:10px;
  background:#fff;
  padding:8px 10px;
  font-size:13px;
}

.weather-day{
  position:relative;
  flex:1;
  height:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
}

.weather-bar{
  width:100%;
  border-radius:10px;
  background:linear-gradient(180deg,#5ab0ff,#2f80ed);
  min-height:18px;
  transition:.2s;
}

.weather-label{
  font-size:10px;
  color:#94a3b8;
  line-height:1;
}

.weather-tip{
  position:absolute;
  bottom:100%;
  left:50%;
  transform:translateX(-50%);
  display:none;
  padding:4px 8px;
  border-radius:8px;
  background:#0f172a;
  color:#fff;
  font-size:11px;
  white-space:nowrap;
}

.weather-day:hover .weather-tip{
  display:block;
}

.weather-day:hover .weather-bar{
  transform:translateY(-2px);
}

/* fx modal */
.fx-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.fx-modal.show{
  display:flex;
}

.fx-modal-content{
  width:min(420px,92vw);
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
}

.fx-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.fx-close-x{
  border:none;
  background:none;
  font-size:26px;
  cursor:pointer;
  line-height:1;
}

.fx-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}

.fx-grid div{
  border:1px solid #eef2f7;
  border-radius:12px;
  padding:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* calc modal */
.calc-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  backdrop-filter:blur(4px);
}

.calc-modal.show{
  display:flex;
}

.calc-modal-box{
  width:min(560px,92vw);
  border-radius:24px;
  background:#fff;
  padding:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}

.calc-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:24px;
}

.calc-head h3{
  margin:0;
  font-size:26px;
}

.calc-head p{
  margin:6px 0 0;
  color:#64748b;
}

.calc-close{
  border:none;
  background:#f1f5f9;
  width:42px;
  height:42px;
  border-radius:12px;
  cursor:pointer;
  font-size:24px;
}

.calc-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.calc-grid label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:#334155;
}

.calc-grid input{
  height:48px;
  border-radius:14px;
  border:1px solid #dbe4ee;
  padding:0 14px;
  font-size:16px;
}

.calc-result-wrap{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.calc-result-card{
  border-radius:18px;
  padding:18px;
  background:#f8fafc;
}

.calc-result-card span{
  display:block;
  color:#64748b;
  font-size:13px;
  margin-bottom:8px;
}

.calc-result-card b{
  font-size:24px;
  color:#0f172a;
}

.calc-result-card.green{
  background:#ecfdf3;
}

.calc-result-card.green b{
  color:#16a34a;
}

/* mobile only */
@media(max-width:768px){
  .calc-card,
  .radar-card,
  .duty-card,
  .fx-cis-card{
    min-height:244px;
    padding-right:14px;
  }

  .calc-card__actions{
    margin-top:34px;
    align-items:flex-end;
  }

  .calc-card__actions .ag-btn{
    width:158px;
    min-width:158px;
    max-width:158px;
  }

  .calc-card__icon{
    width:46px;
    height:54px;
  }

  .radar-card{
    padding-right:14px;
  }

  .radar-card:after{
    display:none;
  }

  .calc-grid,
  .calc-result-wrap{
    grid-template-columns:1fr;
  }

  .calc-modal-box{
    padding:20px;
    border-radius:18px;
  }
}

/* Analytics bottom grid + yield map — single source */

.yield-map-card{
  overflow:hidden;
}

.yield-map-head{
  align-items:center;
  gap:12px;
}

.yield-select{
  width:130px;
  height:38px;
  border:1px solid #dbe4ee;
  border-radius:10px;
  background:#fff;
  padding:0 10px;
  font-size:13px;
}

.yield-map-card .yield-map{
  position:relative;
  width:100%;
  height:315px;
  min-height:315px;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
}

.yield-map-placeholder{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  color:#15803d;
}

.yield-map-placeholder b{
  font-size:18px;
}

.yield-map-placeholder span{
  max-width:360px;
  font-size:13px;
  color:#64748b;
}

.yield-map-card .yield-map:before{
  display:none;
}

.yield-map-card .yield-svg-map{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:315px;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.yield-map-card .yield-svg-map svg{
  overflow:visible;
}

.yield-svg-map__svg{
  width:100%;
  height:100%;
  display:block;
}

.yield-svg-region{
  vector-effect:non-scaling-stroke;
  transition:fill .12s ease, stroke .12s ease, stroke-width .12s ease;
}

.yield-svg-region:hover{
  stroke:#64748b;
  stroke-width:1.05;
}

.yield-svg-region.has-yield-data:hover,
.yield-svg-region.has-yield-data.is-active{
  stroke:#78350f;
  stroke-width:1.1;
}

.yield-map-card .yield-region{
  display:none;
}

.yield-legend{
  position:absolute;
  top:18px;
  right:18px;
  z-index:5;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.88);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}

.yield-legend span{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  color:#475569;
  margin:4px 0;
}

.yield-legend i{
  width:12px;
  height:12px;
  border-radius:3px;
  display:block;
}

.yield-legend .y1{background:#bbf7d0}
.yield-legend .y2{background:#86efac}
.yield-legend .y3{background:#22c55e}
.yield-legend .y4{background:#15803d}

.radar-card{
  position:relative;
  padding-right:104px;
  background:linear-gradient(135deg,#fff,#eef7ff);
}

.radar-card:after{
  content:"🌍";
  position:absolute;
  right:18px;
  bottom:18px;
  width:64px;
  height:68px;
  display:grid;
  place-items:center;
  font-size:42px;
  border-radius:20px;
  background:linear-gradient(180deg,#dff4ff,#b9dcff);
  box-shadow:0 16px 34px rgba(37,99,235,.16);
}

@media(max-width:768px){
  .bottom-metrics,
  .bottom-tools{
    grid-template-columns:1fr;
  }

  .yield-map-card .yield-map{
    height:255px;
    min-height:255px;
  }

  .yield-map-card .yield-svg-map{
    min-height:255px;
  }

  .yield-legend{
    top:12px;
    right:12px;
    padding:8px 10px;
  }

  .radar-card{
    padding-right:14px;
  }

  .radar-card:after{
    display:none;
  }
}


/* Analytics 2026 grid source: desktop rows */
@media(min-width:1201px){
  #regions{
    grid-template-columns:2fr 1fr 1fr;
  }

  #regions > .yield-map-card{
    grid-column:auto;
  }

  .bottom-metrics{
    grid-template-columns:2fr 1fr 1fr;
  }

  .bottom-tools{
    grid-template-columns:1.5fr 1.5fr 1fr;
  }
}

@media(max-width:1200px){
  #regions,
  .bottom-metrics,
  .bottom-tools{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  #regions,
  .bottom-metrics,
  .bottom-tools{
    grid-template-columns:1fr;
  }
}

/* 2026-05-12 analytics sidebar + AI restore */
.agdash-extra-analytics{
  background:#fff;
  border:1px solid #e6edf3;
  border-radius:12px;
  padding:16px;
  margin-top:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.agdash-extra-analytics b{
  display:block;
  font-size:16px;
  color:#0f172a;
  margin-bottom:8px;
}

.agdash-extra-analytics p{
  margin:0 0 14px;
  font-size:13px;
  color:#475569;
  line-height:1.45;
}

.agdash-extra-analytics .ag-btn{
  width:auto;
  min-width:150px;
  height:36px;
  background:#15923c;
  color:#fff;
  border-color:#15923c;
}

.agdash-subscribe > div{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.agdash-subscribe .ag-btn{
  min-width:82px;
}

.ai-card p{
  -webkit-line-clamp:11;
  min-height:185px;
  margin-bottom:14px;
}

.ai-card .ag-btn{
  margin-top:auto;
}

@media(max-width:768px){
  .agdash-extra-analytics{
    margin-top:14px;
    padding:14px;
  }

  .agdash-subscribe > div{
    gap:8px;
  }

  .ai-card p{
    -webkit-line-clamp:9;
    min-height:auto;
  }
}


/* 2026-05-12 final analytics buttons + yield map scale */
.agdash-extra-analytics .ag-btn,
.ai-card .ag-btn,
.ai-card .ag-btn-outline{
  background:#15923c;
  color:#fff;
  border-color:#15923c;
}

.agdash-extra-analytics .ag-btn:hover,
.ai-card .ag-btn:hover,
.ai-card .ag-btn-outline:hover{
  background:#0f7f32;
  color:#fff;
  border-color:#0f7f32;
}

.yield-map-card .yield-map{
  height:365px;
  min-height:365px;
}

.yield-map-card .yield-svg-map{
  min-height:365px;
}

@media(max-width:768px){
  .yield-map-card .yield-map{
    height:285px;
    min-height:285px;
  }

  .yield-map-card .yield-svg-map{
    min-height:285px;
  }
}

/* 2026-05-12 export radar modal spacing */
.export-radar-list li span{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.export-radar-list li span > b{
  color:#15923c;
}

.export-radar-list li small{
  display:inline-block;
  color:#334155;
  font-weight:700;
  line-height:1.35;
}

@media(max-width:768px){
  .export-radar-list li span{
    display:block;
  }

  .export-radar-list li small{
    margin-top:4px;
  }
}

/* 2026-05-12 market chart switch */
.chart-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.chart-head h2{
  margin:0;
}

.chart-switch{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}

.chart-switch button{
  height:28px;
  border:1px solid #dbe7df;
  border-radius:999px;
  background:#fff;
  color:#15803d;
  font-size:12px;
  font-weight:800;
  padding:0 9px;
  cursor:pointer;
}

.chart-switch button.active{
  background:#15923c;
  border-color:#15923c;
  color:#fff;
}

@media(max-width:768px){
  .chart-head{
    display:block;
  }

  .chart-switch{
    justify-content:flex-start;
    margin-top:10px;
  }
}

/* 2026-05-12 export radar modal readability */
.export-radar-list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
}

.export-radar-list span{
  min-width:0;
  display:block;
}

.export-radar-list span > b{
  display:block;
  margin-bottom:4px;
  color:#15923c;
  white-space:normal;
}

.export-radar-list small{
  display:block;
  color:#334155;
  font-size:13px;
  line-height:1.35;
  overflow-wrap:anywhere;
}

.export-radar-list em{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:12px;
  font-style:normal;
  font-weight:800;
}

.export-radar-list > li > b{
  align-self:center;
  min-width:138px;
  text-align:center;
}

.agmodal-source{
  margin:14px 0 0;
  color:#475569;
}

@media(max-width:768px){
  .export-radar-list li{
    grid-template-columns:1fr;
    gap:8px;
  }

  .export-radar-list > li > b{
    min-width:0;
    width:max-content;
  }
}

/* 2026-05-12 real Agroshop resource indexes */
.resource-source{
  display:block;
  margin-top:12px;
  color:#94a3b8;
  font-size:12px;
}

/* 2026-05-12 real Agroshop resource indexes */
.resource-source{
  display:block;
  margin-top:12px;
  color:#94a3b8;
  font-size:12px;
}


/* neutral market ticker */
.ticker.flat span{color:#64748b}
.ticker.flat i{background:linear-gradient(135deg,rgba(100,116,139,.08),rgba(100,116,139,.20));clip-path:polygon(0 55%,18% 50%,35% 54%,52% 48%,70% 52%,100% 45%,100% 100%,0 100%)}

/* analytics_2026: centered demand/supply gauge */
.gauge-card .gauge {
  position: relative;
  display: grid;
  place-items: center;
}

.gauge-card .gauge b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  text-align: center;
  margin: 0;
}

.gauge-card small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

/* analytics_2026: demand/supply gauge HTML value overlay */
.gauge-card .gauge {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.gauge-card .gauge .gauge-chart {
  position: absolute;
  inset: 0;
  width: 120px;
  height: 120px;
}

.gauge-card .gauge b {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  line-height: 1;
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  color: #475569;
  pointer-events: none;
}

.party-check-result--warn{
  border-color:#fde68a;
  background:#fffbeb;
}

.party-check-result--bad{
  border-color:#fecaca;
  background:#fff7f7;
}

.party-check-result--warn .party-check-result__title span{
  background:#fef3c7;
  color:#b45309;
}

.party-check-result--bad .party-check-result__title span{
  background:#fee2e2;
  color:#b91c1c;
}

/* 2026-06-09 Agroshop demand/activity map */
.yield-map-head{
  align-items: flex-start;
}

.yield-map-subtitle{
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.yield-map-badge{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.yield-svg-map{
  position: relative;
}

.yield-svg-region{
  transition: fill .18s ease, filter .18s ease, transform .18s ease;
}

.yield-svg-region.is-active{
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, .18));
}

.yield-map-tooltip{
  position: fixed;
  z-index: 99990;
  width: min(280px, calc(100vw - 32px));
  max-height: min(260px, calc(100vh - 24px));
  overflow: auto;
  padding: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
  pointer-events: none;
}

.yield-map-tooltip b,
.yield-map-tooltip span,
.yield-map-tooltip em{
  display: block;
}

.yield-map-tooltip b{
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 14px;
}

.yield-map-tooltip span{
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
}

.yield-map-tooltip em{
  margin-top: 7px;
  color: #047857;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 720px){
  .yield-map-head{
    gap: 10px;
  }

  .yield-map-badge{
    font-size: 11px;
  }
}

/* 2026-06-13 mobile analytics map safe layout */
@media (max-width: 768px){
  .yield-map-card{
    overflow:hidden;
  }

  .yield-map-card .yield-map{
    height:240px;
    min-height:240px;
    margin:6px 0 12px;
    overflow:hidden;
    touch-action:pan-y;
  }

  .yield-map-card .yield-svg-map{
    min-height:240px;
    overflow:hidden;
    border-radius:12px;
  }

  .yield-map-card .yield-svg-map svg,
  .yield-svg-map__svg{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    overflow:hidden;
  }

  .yield-svg-region{
    transform:none;
  }

  .yield-map-tooltip{
    display:none !important;
  }

  .map-foot.yield-foot{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:12px;
  }

  .yield-foot-title{
    display:block;
    line-height:1.15;
  }

  .map-foot.yield-foot span{
    margin-left:0;
    font-size:12px;
    line-height:1.35;
  }
}

/* 2026-06-13 mobile map bottom sheet */
.yield-mobile-sheet{
  display:none;
}

@media (max-width:768px){
  .yield-mobile-sheet{
    position:fixed;
    inset:0;
    z-index:100020;
    display:block;
    pointer-events:none;
  }

  .yield-mobile-sheet[hidden]{
    display:none !important;
  }

  .yield-mobile-sheet__backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.18);
    opacity:0;
    transition:opacity .18s ease;
    pointer-events:auto;
  }

  .yield-mobile-sheet__panel{
    position:absolute;
    left:10px;
    right:10px;
    bottom:calc(66px + env(safe-area-inset-bottom));
    max-height:min(48vh, 360px);
    overflow:auto;
    padding:16px 16px 14px;
    border:1px solid rgba(187,247,208,.95);
    border-radius:18px;
    background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
    box-shadow:0 22px 60px rgba(15,23,42,.22);
    transform:translateY(calc(100% + 24px));
    transition:transform .2s ease;
    pointer-events:auto;
  }

  .yield-mobile-sheet.is-open .yield-mobile-sheet__backdrop{
    opacity:1;
  }

  .yield-mobile-sheet.is-open .yield-mobile-sheet__panel{
    transform:translateY(0);
  }

  .yield-mobile-sheet__close{
    position:absolute;
    top:10px;
    right:10px;
    width:34px;
    height:34px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:12px;
    background:rgba(255,255,255,.84);
    color:#0f172a;
    font-size:24px;
    line-height:30px;
    cursor:pointer;
  }

  .yield-mobile-sheet__body{
    padding-right:38px;
  }

  .yield-mobile-sheet__body b,
  .yield-mobile-sheet__body span,
  .yield-mobile-sheet__body em{
    display:block;
  }

  .yield-mobile-sheet__body b{
    margin:0 0 8px;
    color:#0f172a;
    font-size:16px;
    line-height:1.25;
  }

  .yield-mobile-sheet__body span{
    color:#334155;
    font-size:13px;
    line-height:1.42;
    margin-top:5px;
  }

  .yield-mobile-sheet__body em{
    margin-top:9px;
    color:#047857;
    font-size:13px;
    font-style:normal;
    font-weight:800;
    line-height:1.4;
  }

  .yield-svg-region{
    cursor:pointer;
  }
}

@media (max-width:768px) and (display-mode:standalone){
  .yield-mobile-sheet__panel{
    bottom:calc(84px + env(safe-area-inset-bottom));
  }
}

/* 2026-06-22: Satellite Signals block */
.satellite-card{
  margin:8px 0 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(34,197,94,.16), transparent 24%),
    radial-gradient(circle at 12% 92%, rgba(59,130,246,.10), transparent 28%),
    linear-gradient(135deg,#ffffff 0%,#f5fff8 52%,#eef7ff 100%);
}

.satellite-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.satellite-card__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#dcfce7;
  color:#15803d;
  font-size:12px;
  font-weight:900;
  margin-bottom:10px;
}

.satellite-card h2{
  margin:0 0 8px;
  font-size:22px;
}

.satellite-card__head p,
.satellite-card__foot p{
  margin:0;
  color:#475569;
  line-height:1.5;
  max-width:860px;
}

.satellite-card__badge{
  flex:0 0 auto;
  width:118px;
  height:118px;
  border-radius:28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#16a34a,#0f766e);
  color:#fff;
  box-shadow:0 18px 40px rgba(15,118,110,.22);
}

.satellite-card__badge b{
  font-size:30px;
  line-height:1;
}

.satellite-card__badge span{
  margin-top:7px;
  font-size:12px;
  font-weight:800;
  opacity:.92;
}

.satellite-card__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}

.satellite-signal{
  border:1px solid rgba(21,128,61,.14);
  border-radius:14px;
  padding:14px;
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.satellite-signal b{
  display:block;
  color:#15803d;
  font-size:13px;
  margin-bottom:7px;
}

.satellite-signal strong{
  display:block;
  color:#0f172a;
  font-size:20px;
  margin-bottom:8px;
}

.satellite-signal span{
  display:block;
  color:#64748b;
  line-height:1.45;
  font-size:13px;
}

.satellite-pipeline{
  display:grid;
  grid-template-columns:1fr 26px 1fr 26px 1fr 26px 1fr;
  align-items:center;
  gap:8px;
  margin:14px 0 16px;
}

.satellite-pipeline div{
  min-height:66px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
}

.satellite-pipeline span{
  width:30px;
  height:30px;
  border-radius:10px;
  background:#eaf8ef;
  color:#15803d;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

.satellite-pipeline p{
  margin:0;
  color:#334155;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}

.satellite-pipeline i{
  display:block;
  height:2px;
  background:linear-gradient(90deg,#bbf7d0,#93c5fd);
  border-radius:999px;
}

.satellite-card__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-top:1px solid rgba(148,163,184,.24);
  padding-top:14px;
}

.satellite-card__foot div{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

@media(max-width:900px){
  .satellite-card__head,
  .satellite-card__foot{
    display:block;
  }

  .satellite-card__badge{
    width:100%;
    height:auto;
    min-height:72px;
    margin-top:14px;
    border-radius:18px;
  }

  .satellite-card__grid{
    grid-template-columns:1fr;
  }

  .satellite-pipeline{
    grid-template-columns:1fr;
  }

  .satellite-pipeline i{
    width:2px;
    height:16px;
    margin:0 auto;
  }

  .satellite-card__foot div{
    margin-top:12px;
  }

  .satellite-card__foot .ag-btn{
    width:100%;
    text-align:center;
  }
}

.satellite-signal--high{
  border-color:rgba(220,38,38,.28);
  background:#fff7f7;
}

.satellite-signal--high b,
.satellite-signal--high strong{
  color:#b91c1c;
}

.satellite-signal--mid{
  border-color:rgba(245,158,11,.28);
  background:#fffaf0;
}

.satellite-signal--mid b,
.satellite-signal--mid strong{
  color:#b45309;
}

.satellite-signal--low{
  border-color:rgba(22,163,74,.24);
  background:#f7fff9;
}

.satellite-signal--none{
  border-color:rgba(148,163,184,.26);
  background:#ffffff;
}

.satellite-meta{
  display:inline-flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(22,163,74,.16);
  color:#475569;
  font-size:12px;
  font-weight:800;
}

.satellite-map{
  margin:16px 0 0;
  border:1px solid rgba(148,163,184,.24);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  overflow:hidden;
}

.satellite-map__head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(148,163,184,.18);
}

.satellite-map__head b{
  color:#0f172a;
}

.satellite-map__head span{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.satellite-map__body{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  padding:12px;
}

.satellite-map__region{
  min-height:86px;
  border-radius:16px;
  padding:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.satellite-map__region span{
  color:#334155;
  font-size:12px;
  font-weight:900;
  line-height:1.25;
}

.satellite-map__region b{
  font-size:26px;
  line-height:1;
  color:#0f172a;
}

.satellite-map__region--high{
  background:#fff1f2;
  border-color:rgba(220,38,38,.24);
}

.satellite-map__region--high span,
.satellite-map__region--high b{
  color:#b91c1c;
}

.satellite-map__region--mid{
  background:#fff7ed;
  border-color:rgba(245,158,11,.28);
}

.satellite-map__region--mid span,
.satellite-map__region--mid b{
  color:#b45309;
}

.satellite-map__region--low{
  background:#f0fdf4;
  border-color:rgba(22,163,74,.22);
}

.satellite-map__region--low span,
.satellite-map__region--low b{
  color:#15803d;
}

.satellite-map__region--none{
  background:#ffffff;
}

.satellite-map__empty{
  grid-column:1/-1;
  padding:18px;
  color:#64748b;
  font-weight:800;
}

@media(max-width:900px){
  .satellite-map__head{
    display:block;
  }

  .satellite-map__head span{
    display:block;
    margin-top:4px;
  }

  .satellite-map__body{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.satellite-leaflet-map{
  width:100%;
  height:520px;
  border-radius:16px;
  overflow:hidden;
  background:#dbeafe;
  position:relative;
}

.satellite-map .leaflet-container{
  font-family:inherit;
}

.satellite-map__legend{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:10px 12px 12px;
  color:#475569;
  font-size:12px;
  font-weight:800;
}

.satellite-map__legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.sat-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}

.sat-dot--high{ background:#dc2626; }
.sat-dot--mid{ background:#f59e0b; }
.sat-dot--low{ background:#16a34a; }

@media(max-width:900px){
  .satellite-leaflet-map{
    height:390px;
  }
}

.satellite-leaflet-map .leaflet-control-attribution{
  max-width:70%;
  padding:2px 6px;
  background:rgba(255,255,255,.72);
  color:#64748b;
  font-size:9px;
  line-height:1.25;
  border-radius:8px 0 0 0;
}

.satellite-leaflet-map .leaflet-control-attribution a{
  color:#475569;
}

@media(max-width:700px){
  .satellite-leaflet-map .leaflet-control-attribution{
    max-width:82%;
    font-size:8px;
  }
}

.satellite-map__filters{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid rgba(148,163,184,.18);
  background:linear-gradient(90deg, rgba(248,250,252,.94), rgba(240,253,244,.78));
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(22,163,74,.32) transparent;
}

.satellite-map__filters::-webkit-scrollbar{
  height:6px;
}

.satellite-map__filters::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(22,163,74,.28);
}

.satellite-map__filters button{
  flex:0 0 auto;
  appearance:none;
  border:1px solid rgba(148,163,184,.28);
  background:#ffffff;
  color:#334155;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(15,23,42,.035);
}

.satellite-map__filters button[data-sat-region="all"]{
  position:sticky;
  left:0;
  z-index:3;
}

.satellite-map__filters button.active{
  border-color:rgba(22,163,74,.35);
  background:#dcfce7;
  color:#047857;
}

.satellite-map__filters span{
  position:sticky;
  right:0;
  z-index:2;
  flex:0 0 auto;
  margin-left:auto;
  padding:7px 10px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#64748b;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(15,23,42,.06);
}

@media(max-width:700px){
  .satellite-map__filters{
    padding:9px 10px;
    gap:7px;
  }

  .satellite-map__filters button{
    padding:7px 10px;
    font-size:11px;
  }

  .satellite-map__filters span{
    font-size:11px;
  }

  #satelliteMapCounter{
    display:none;
  }
}

.satellite-weather-strip{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  background:linear-gradient(90deg, rgba(219,234,254,.88), rgba(220,252,231,.78));
  border-bottom:1px solid rgba(14,165,233,.16);
  color:#334155;
  font-size:12px;
  font-weight:900;
}

.satellite-weather-strip b{
  color:#0f172a;
}

.satellite-weather-strip span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(14,165,233,.16);
  box-shadow:0 4px 12px rgba(15,23,42,.04);
}


.satellite-map .satellite-popup-weather{
  display:flex;
  align-items:center;
  gap:6px;
  margin:9px 0 4px;
  white-space:nowrap;
}

.satellite-map .satellite-popup-weather__metric{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding:5px 8px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#f8fafc;
  color:#0f172a;
}

.satellite-map .satellite-popup-weather__metric strong{
  color:#0f172a;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}

.satellite-map .satellite-popup-weather__icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.satellite-map .satellite-popup-weather__icon--temperature{
  color:#475569;
}

.satellite-map .satellite-popup-weather__icon--humidity{
  color:#0284c7;
}

.satellite-map .satellite-popup-weather__icon--wind{
  color:#64748b;
}

.satellite-map .satellite-popup-weather__gusts{
  display:block;
  margin:0 0 7px;
  color:#64748b;
  font-size:11px;
  line-height:1.3;
}

.satellite-map .satellite-popup-weather__empty{
  display:inline-block;
  margin:7px 0;
  color:#64748b;
  font-size:12px;
}

@media(max-width:700px){
  .satellite-map .satellite-popup-weather{
    gap:4px;
  }

  .satellite-map .satellite-popup-weather__metric{
    gap:4px;
    min-height:28px;
    padding:4px 6px;
  }

  .satellite-map .satellite-popup-weather__icon{
    width:16px;
    height:16px;
    flex-basis:16px;
  }

  .satellite-map .satellite-popup-weather__metric strong{
    font-size:11px;
  }
}



/* analytics_2026: Agroshop Payment card */
.agdash-extra-analytics.agdash-payment-card{
  background:linear-gradient(135deg,#f6f7ff 0%,#ffffff 38%,#eaf8ef 100%);
  border-color:#d8eadf;
  box-shadow:0 12px 30px rgba(70,120,95,.08);
}

.agdash-extra-analytics.agdash-payment-card b{
  color:#25255f;
}

.agdash-extra-analytics.agdash-payment-card p{
  color:#40556a;
}

.agdash-extra-analytics.agdash-payment-card .agdash-payment-btn{
background:#6565eb;
  color:#fff;
  border-color:#6565eb;
}

.agdash-extra-analytics.agdash-payment-card .agdash-payment-btn:hover{
background:#6565eb;
}
