@media (max-width: 1023px) {
  #managerHome#managerHome .j164-shell .j164-action.j164-refresh,
  #managerHome#managerHome .jagro-home-top #j1526-dashboard-refresh {
    color: #fff !important;
    background: linear-gradient(145deg, #147f5c, #075239) !important;
    border-color: #137251 !important;
    box-shadow: 0 3px 10px #084b342c !important;
    touch-action: manipulation;
  }
  #managerHome .jg-mobile-refresh-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: -2px 0 10px;
    padding: 10px 12px;
    border: 1px solid #cfe3d7;
    border-radius: 12px;
    background: #edf7f0;
    color: #17583e;
    font: 650 13px/1.4 system-ui, sans-serif;
  }
  #managerHome .jg-mobile-refresh-note[data-state="error"] {
    color: #684418;
    background: #fff5e1;
    border-color: #edcc90;
  }
  #managerHome .jg-mobile-refresh-note[data-state="loading"] > span::before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    width: 11px;
    height: 11px;
    vertical-align: -1px;
    border: 2px solid #aed0be;
    border-top-color: #11734d;
    border-radius: 50%;
    animation: jg-mobile-spin .8s linear infinite;
  }
  #managerHome .jg-mobile-refresh-note button {
    min-height: 40px;
    padding: 4px 12px;
    border: 1px solid #bc965a;
    border-radius: 9px;
    background: #fff;
    color: inherit;
    font: inherit;
  }
  #managerHome .jg-mobile-refresh-note button[hidden] { display: none !important; }

  html body #managerHome #j17322MobileWeather .jagro-days-toggle {
    min-height: 44px !important;
    padding: 7px 11px !important;
    border: 1px solid #9cc8b3 !important;
    border-radius: 10px !important;
    background: linear-gradient(150deg, #fafffc, #e6f4ec) !important;
    color: #174e38 !important;
    font-size: 12px !important;
    touch-action: manipulation;
  }
  html body #managerHome #j17322MobileWeather .jagro-days-toggle[aria-expanded="true"] {
    background: #176449 !important;
    border-color: #176449 !important;
    color: #fff !important;
  }

  html body #managerHome #j17322MobileWeather .jagro-inmet-r2 {
    min-height: 44px !important;
    padding: 7px 11px !important;
    border: 1px solid #dbb775 !important;
    border-radius: 10px !important;
    background: linear-gradient(150deg, #fffaf0, #ffedc9) !important;
    color: #624109 !important;
    font-size: 12px !important;
    touch-action: manipulation;
  }
  html body #managerHome #j17322MobileWeather .jagro-inmet-r2[aria-expanded="true"] {
    background: #ffebc3 !important;
    border-color: #b7842f !important;
  }
  #managerHome :is(.jagro-days-toggle, .jagro-inmet-r2, .j164-refresh, .jg-mobile-refresh-note button):focus-visible {
    outline: 2px solid #126146 !important;
    outline-offset: 3px;
  }
}
@keyframes jg-mobile-spin { to { transform: rotate(360deg); } }

@media (max-width: 730px) {
  #jg-startup-restore {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
    background: radial-gradient(ellipse at 80% 0, #def3e5, transparent 60%), #f2f8f4;
  }
  #jg-startup-restore .jg-startup-brand,
  #jg-startup-restore .jg-startup-content { width: min(100%, 420px); }
  #jg-startup-restore .jg-startup-brand {
    min-height: 104px;
    padding: 16px 20px;
    flex: none;
    border-radius: 21px 21px 0 0;
    place-items: center start;
  }
  #jg-startup-restore .jg-startup-wordmark { gap: 8px; }
  #jg-startup-restore .jg-startup-wordmark svg { width: 42px; }
  #jg-startup-restore .jg-startup-wordmark strong { font-size: 26px; }
  #jg-startup-restore .jg-startup-wordmark small { font-size: 9px; }
  #jg-startup-restore .jg-startup-orbit { width: 190px; bottom: -55px; right: -8px; }
  #jg-startup-restore .jg-startup-content {
    flex: none;
    padding: 22px clamp(14px, 5.5vw, 25px) 24px;
    border: 1px solid #cfe4d7;
    border-top: 0;
    border-radius: 0 0 21px 21px;
    background: #fff;
    box-shadow: 0 14px 36px #174b3320;
  }
  #jg-startup-restore h1 { font-size: clamp(23px, 5.8vw, 30px); }
  #jg-startup-restore [data-jg-session-label] { margin: 8px 0 16px; min-height: 2.7em; font-size: 13px; }
  #jg-startup-restore .jg-startup-progress-header label { font-size: 11px; }
  #jg-startup-restore [data-jg-percent] { font-size: 30px; }
  #jg-startup-restore progress { height: 8px; }
  #jg-startup-restore .jg-startup-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 12px;
  }
  #jg-startup-restore .jg-startup-steps li {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 4px;
    padding: 6px 2px;
    border-radius: 7px;
    background: #f4f8f5;
    font-size: 10px;
    line-height: 1.3;
  }
  #jg-startup-restore .jg-startup-steps [aria-current] { background: #e5f4eb; }
}
@media (prefers-reduced-motion: reduce) {
  #managerHome .jg-mobile-refresh-note[data-state="loading"] > span::before { animation: none; }
}
