/* PetaniRapi v2.26 - weather polish & stronger secondary actions */
:root{
  --sky-blue:#2d90da;
  --sky-blue-deep:#206fae;
  --mint-soft:#eef8f2;
  --mint-line:#dce9e2;
  --amber-soft:#fff4de;
  --amber-deep:#b5760f;
  --violet-soft:#f1ecff;
  --violet-deep:#6750d8;
}

/* secondary action buttons on home */
.home-secondary-actions-v226{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.home-secondary-card-v226{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px 14px;min-height:82px;border-radius:22px;border:1px solid var(--mint-line);background:linear-gradient(180deg,#ffffff 0%,#f9fcfa 100%);box-shadow:0 10px 24px rgba(17,38,28,.05);text-decoration:none;color:#1c372b;position:relative;overflow:hidden}
.home-secondary-card-v226:before{content:"";position:absolute;right:-20px;top:-26px;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle,rgba(18,64,44,.05) 0%,rgba(18,64,44,0) 72%)}
.home-secondary-card-v226:hover{transform:translateY(-1px);border-color:#cfe0d6;background:#fff}
.secondary-card-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;color:#fff;box-shadow:0 10px 18px rgba(17,40,29,.14);position:relative;z-index:1}
.secondary-card-icon .app-icon,.secondary-card-icon .app-icon svg{width:22px;height:22px;color:#fff!important;stroke:currentColor}
.secondary-finance{background:linear-gradient(180deg,#2da97b 0%,#187a52 100%)}
.secondary-history{background:linear-gradient(180deg,#3b9ee0 0%,#266db8 100%)}
.secondary-card-copy{display:grid;gap:3px;min-width:0;position:relative;z-index:1}
.secondary-card-copy strong{display:block;font-size:15px;line-height:1.22;color:#193427}
.secondary-card-copy small{display:block;font-size:12px;line-height:1.4;color:#5d7469}
.secondary-card-arrow{font-size:20px;color:#90a29a;position:relative;z-index:1}

/* dashboard mini weather card */
.dashboard-weather-card-v226{background:linear-gradient(180deg,#f6fbff 0%,#f9fcfb 100%);border-color:#dce8e3;box-shadow:0 14px 28px rgba(17,42,31,.05)}
.dashboard-weather-card-v226 .dashboard-weather-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.dashboard-weather-card-v226 .dashboard-weather-head small.muted{color:#6b7e76;font-weight:800}
.dashboard-weather-card-v226 .dashboard-weather-head h3{font-size:20px;line-height:1.2;color:#163628;margin:5px 0 4px}
.dashboard-weather-card-v226 .dashboard-weather-head h3 span[aria-hidden="true"]{width:34px;height:34px;border-radius:12px;background:linear-gradient(180deg,#55b7ee 0%,#2d86cf 100%)!important;color:#fff!important;box-shadow:0 10px 18px rgba(39,103,171,.22)!important;border:none!important}
.dashboard-weather-card-v226 [data-weather-mini-summary]{color:#5d736b;font-size:12.5px;line-height:1.45}
.weather-detail-pill-v226{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;background:#ffffff!important;border:1px solid #d4e3db;color:#176b43!important;font-weight:900;white-space:nowrap;box-shadow:0 8px 18px rgba(16,43,30,.06)}
.dashboard-weather-card-v226 .dashboard-weather-actions{display:grid;gap:10px;margin-top:4px}
.weather-mini-action{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:flex-start;padding:12px;border-radius:18px;background:#fff;border:1px solid #ddeae3;box-shadow:0 8px 18px rgba(17,42,31,.05)}
.weather-mini-action-icon{width:36px;height:36px;border-radius:14px;display:grid;place-items:center;font-size:19px;background:linear-gradient(180deg,#eef6ff 0%,#e6f2ff 100%);border:1px solid #dbe8f7}
.weather-mini-action-copy{display:grid;gap:2px;min-width:0}
.weather-mini-action-copy strong{display:block;font-size:13px;line-height:1.2;color:#18372a}
.weather-mini-action-copy small{display:block;font-size:12px;line-height:1.45;color:#5d7469}
.dashboard-weather-card-v226 .weather-mini-action:nth-child(2) .weather-mini-action-icon{background:linear-gradient(180deg,#f2ecff 0%,#ece5ff 100%);border-color:#e3dafc}

/* weather page hero */
.weather-current-card-v226{position:relative;padding:18px 16px 16px;border-radius:30px!important;border:1px solid rgba(20,86,55,.08);background:linear-gradient(145deg,#1d8b57 0%,#166e45 58%,#145438 100%)!important;color:#fff!important;overflow:hidden;box-shadow:0 22px 42px rgba(18,63,41,.22)}
.weather-current-card-v226>*{position:relative;z-index:1}
.weather-current-decor{position:absolute;border-radius:50%;background:rgba(255,255,255,.08);z-index:0}
.weather-current-decor-a{width:180px;height:180px;top:-86px;right:-62px}
.weather-current-decor-b{width:120px;height:120px;bottom:-44px;left:-30px;background:rgba(255,255,255,.06)}
.weather-current-card-v226 .weather-current-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}
.weather-current-copy small{display:block;font-size:12px;font-weight:900;color:rgba(255,255,255,.86);letter-spacing:.01em}
.weather-current-card-v226 h2{margin:5px 0 6px;color:#fff!important;font-size:24px;line-height:1.1;letter-spacing:-.03em}
.weather-current-card-v226 .weather-location-line{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.9);max-width:none}
.weather-current-card-v226 .weather-location-line span:last-child{white-space:normal;overflow:visible;text-overflow:clip}
.weather-current-card-v226 .weather-hero-icon{width:66px;height:66px;flex:0 0 66px;border-radius:22px;font-size:34px;background:linear-gradient(180deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,.12) 100%);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
.weather-current-meta-v226{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.weather-meta-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.12);font-size:12.5px;font-weight:800;color:#fff}
.weather-meta-chip.temp-chip{background:rgba(255,255,255,.18);font-size:13px}
.weather-status-note-v226{margin-top:12px;padding:12px 13px;border-radius:18px;background:rgba(9,44,28,.2);color:rgba(255,255,255,.92)!important;line-height:1.5;border:1px solid rgba(255,255,255,.08)}
.weather-current-actions-v226{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.weather-current-actions-v226 .btn.ghost{min-height:42px;padding:0 14px;border-radius:15px;background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(6px)}
.weather-current-actions-v226 .btn .app-icon,.weather-current-actions-v226 .btn .app-icon svg{color:#fff!important;stroke:currentColor}

/* forecast visual polish */
.weather-forecast-strip-v226{display:grid;gap:12px}
.weather-day-card-v226{padding:14px;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%);border:1px solid #dde9e2;box-shadow:0 12px 24px rgba(17,41,30,.05)}
.weather-day-card-v226 .weather-day-top{margin-bottom:8px}
.weather-day-card-v226 .weather-day-name{font-size:13px;color:#234336}
.weather-day-card-v226 .weather-day-date{font-size:11.5px}
.weather-day-card-v226 .weather-day-icon{width:44px;height:44px;border-radius:16px;background:linear-gradient(180deg,#eff6ff 0%,#edf4ff 100%);border:1px solid #dce8f7;box-shadow:0 10px 18px rgba(39,103,171,.10)}
.weather-day-card-v226 .weather-day-temp{font-size:20px;color:#17372a;margin:4px 0 2px}
.weather-day-card-v226 .weather-day-label{font-size:13px;color:#224438;min-height:0}
.weather-day-card-v226 .weather-day-rain{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:5px 9px;border-radius:999px;background:#f4f8f6;color:#597067;font-size:11.5px}
.weather-day-card-v226 .weather-day-note{margin-top:8px;padding:10px 11px;border-radius:16px;background:#f6fbf8;color:#2f5142;font-size:12px;line-height:1.45}
.weather-day-card-v226 .weather-day-note.secondary{background:#f8f5ff;color:#4f4b75}
.weather-day-card-v226:nth-child(2) .weather-day-icon{background:linear-gradient(180deg,#fff5e6 0%,#fff0d9 100%);border-color:#f5dfbc}
.weather-day-card-v226:nth-child(3) .weather-day-icon{background:linear-gradient(180deg,#f1ecff 0%,#ece5ff 100%);border-color:#e3dafb}

/* recommendation cards richer */
.weather-reco-grid-v226{display:grid;gap:12px}
.weather-reco-card-v226{position:relative;overflow:hidden;padding:14px 14px 13px;border-radius:22px;border:1px solid #dde9e2;background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%);box-shadow:0 12px 24px rgba(17,41,30,.05)}
.weather-reco-card-v226:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#2da97b 0%,#1a7d55 100%)}
.weather-reco-card-v226 .weather-reco-head{align-items:flex-start}
.weather-reco-card-v226 .weather-reco-icon{width:40px;height:40px;border-radius:14px;background:linear-gradient(180deg,#eef8f2 0%,#e7f6ec 100%);border:1px solid #dceadf;font-size:20px}
.weather-reco-card-v226 .weather-reco-head strong{font-size:15px;line-height:1.25;color:#163628}
.weather-reco-card-v226 .weather-reco-pill{margin-top:5px}
.weather-reco-card-v226 p{font-size:13px;line-height:1.55;color:#537065}
.weather-reco-card-v226 .weather-reco-points{font-size:12.5px;color:#51695f}

.weather-education-disclosure{border-radius:20px;border:1px solid #dee9e3;background:#fff;box-shadow:0 10px 22px rgba(17,40,29,.04)}
.weather-education-disclosure summary{padding:14px 15px}
.weather-education-disclosure .disclosure-body{padding:0 15px 14px}

@media (max-width:420px){
  .home-secondary-actions-v226{grid-template-columns:1fr}
  .dashboard-weather-card-v226 .dashboard-weather-head{grid-template-columns:1fr}
  .weather-detail-pill-v226{justify-self:start}
  .weather-current-card-v226 h2{font-size:22px}
  .weather-current-card-v226 .weather-hero-icon{width:58px;height:58px;border-radius:20px;font-size:30px}
}
html[data-font-size="large"] .home-secondary-actions-v226,
html[data-font-size="xlarge"] .home-secondary-actions-v226{grid-template-columns:1fr}
html[data-font-size="xlarge"] .weather-current-card-v226 .weather-current-top{grid-template-columns:1fr}
html[data-font-size="xlarge"] .weather-current-card-v226 .weather-hero-icon{justify-self:start}
html[data-font-size="xlarge"] .dashboard-weather-card-v226 .dashboard-weather-head{grid-template-columns:1fr}
