
    :root{
      --bg1:#0b1433;
      --bg2:#1a2f6b;
      --bg3:#101938;
      --text:#f7f9ff;
      --muted:rgba(247,249,255,.78);
      --glass:rgba(255,255,255,.12);
      --glass-2:rgba(255,255,255,.10);
      --border:rgba(255,255,255,.18);
      --shadow:0 18px 40px rgba(4,12,33,.28);
    }

    *{ box-sizing:border-box; }
    html,body{ min-height:100%; }
    body{
      margin:0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at 18% 18%, rgba(126,91,239,.22), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(78,188,255,.16), transparent 20%),
        radial-gradient(circle at 55% 82%, rgba(255,133,193,.10), transparent 22%),
        linear-gradient(135deg, var(--bg1), var(--bg2) 55%, var(--bg3) 100%);
      background-attachment: fixed;
      overflow-x:hidden;
    }

    body::before,
    body::after{
      content:"";
      position:fixed;
      border-radius:50%;
      filter:blur(36px);
      z-index:0;
      opacity:.16;
      pointer-events:none;
    }
    body::before{
      width:36vw;
      height:36vw;
      left:-8vw;
      top:8vh;
      background:linear-gradient(135deg,#8b5cf6,#3b82f6);
    }
    body::after{
      width:34vw;
      height:34vw;
      right:-10vw;
      bottom:-6vh;
      background:linear-gradient(135deg,#38bdf8,#fb7185);
    }

    .shell{
      position:relative;
      z-index:1;
      max-width:1380px;
      margin:0 auto;
      padding:
        max(18px, env(safe-area-inset-top))
        max(14px, env(safe-area-inset-right))
        max(28px, env(safe-area-inset-bottom))
        max(14px, env(safe-area-inset-left));
    }

    .glass{
      background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
      backdrop-filter: blur(18px) saturate(135%);
      -webkit-backdrop-filter: blur(18px) saturate(135%);
      border:1px solid var(--border);
      box-shadow: var(--shadow);
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
    }

    .desktop-layout{
      display:grid;
      grid-template-columns: 280px minmax(0,1fr);
      gap:22px;
      align-items:start;
    }

    .sidebar{
      display:flex;
      flex-direction:column;
      gap:18px;
      position:sticky;
      top:18px;
    }

    .widget{
      border-radius:30px;
      padding:18px 20px;
      background:var(--glass-2);
    }

    .time h2{
      margin:0;
      font-size:46px;
      letter-spacing:-.05em;
      line-height:1;
    }
    .time p{
      margin:8px 0 0;
      color:var(--muted);
      font-size:16px;
    }

    .category-list{
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .category-title{
      margin:0 0 8px;
      font-size:14px;
      letter-spacing:.08em;
      color:var(--muted);
      text-transform:uppercase;
    }
    .nav-btn{
      display:flex;
      align-items:center;
      gap:12px;
      border:none;
      cursor:pointer;
      color:var(--text);
      padding:15px 16px;
      border-radius:18px;
      background:transparent;
      border:1px solid transparent;
      font-size:16px;
      text-align:left;
      width:100%;
      transition:.18s ease;
    }
    .nav-btn.active{
      background:linear-gradient(90deg, rgba(79,112,255,.55), rgba(177,82,255,.42));
      border-color:rgba(255,255,255,.16);
    }
    .nav-btn:hover{
      background:rgba(255,255,255,.08);
      border-color:rgba(255,255,255,.10);
    }
    .nav-icon{
      width:22px;
      text-align:center;
      flex:0 0 auto;
      opacity:.95;
    }

    .status{
      display:flex;
      align-items:center;
      gap:10px;
      color:var(--muted);
      font-size:15px;
    }
    .dot{
      width:14px;
      height:14px;
      border-radius:50%;
      background:#56d364;
      box-shadow:0 0 14px rgba(86,211,100,.45);
      flex:0 0 auto;
      transition: background .18s ease, box-shadow .18s ease;
    }
    .status-text strong{
      display:block;
      color:var(--text);
      font-size:15px;
      font-weight:700;
    }
    .status-text small{
      display:block;
      color:var(--muted);
      font-size:12px;
      margin-top:2px;
    }
    .status-ok .dot{
      background:#56d364;
      box-shadow:0 0 14px rgba(86,211,100,.45);
    }
    .status-warn .dot{
      background:#f59e0b;
      box-shadow:0 0 14px rgba(245,158,11,.45);
    }
    .status-offline .dot{
      background:#fb7185;
      box-shadow:0 0 14px rgba(251,113,133,.45);
    }

    .server-indicator{
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 16px;
      border-radius:18px;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
    }

    .main{ min-width:0; }

    .topbar{
      display:grid;
      grid-template-columns: 1fr minmax(280px, 340px);
      gap:18px;
      margin-bottom:18px;
      align-items:start;
    }

    .hero{
      border-radius:34px;
      padding:26px 28px;
      min-height:150px;
      overflow:hidden;
      position:relative;
    }
    .hero::after{
      content:"";
      position:absolute;
      right:-70px;
      bottom:-70px;
      width:220px;
      height:220px;
      border-radius:50%;
      background:radial-gradient(circle, rgba(255,255,255,.10), transparent 64%);
      pointer-events:none;
    }
    .hero h1{
      margin:0;
      font-size:clamp(34px, 4vw, 54px);
      line-height:1;
      letter-spacing:-.04em;
    }
    .hero p{
      margin:12px 0 0;
      color:var(--muted);
      font-size:18px;
    }
    .hero-badge{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:10px 14px;
      margin-bottom:14px;
      border-radius:18px;
      color:var(--muted);
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      font-size:14px;
    }

    .search-card{
      border-radius:34px;
      padding:16px;
      display:flex;
      flex-direction:column;
      gap:14px;
      min-width:0;
    }
    .clock-box{
      font-size:40px;
      font-weight:700;
      letter-spacing:-.04em;
      line-height:1;
    }
    .clock-date{
      margin-top:8px;
      color:var(--muted);
      font-size:15px;
    }

    .search{
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 16px;
      border-radius:18px;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      min-width:0;
    }
    .search input{
      width:100%;
      min-width:0;
      border:none;
      outline:none;
      background:transparent;
      color:var(--text);
      font-size:16px;
    }
    .search input::placeholder{ color:rgba(255,255,255,.65); }

    .apps-panel{
      border-radius:34px;
      padding:20px;
    }

.mobile-controls{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0 0 14px;
}
.mobile-category-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.mobile-category-list .nav-btn{
  justify-content:center;
  padding:11px 8px;
  border-radius:16px;
  font-size:14px;
  gap:6px;
}
.mobile-category-list .nav-icon{
  width:auto;
}

    .panel-head{
      display:flex;
      justify-content:space-between;
      align-items:flex-end;
      gap:14px;
      margin-bottom:18px;
    }
    .panel-head h2, .panel-head h1{
      margin:0;
      font-size:24px;
      letter-spacing:-.03em;
    }
    .panel-head p{
      margin:4px 0 0;
      color:var(--muted);
      font-size:15px;
    }
    .count{
      color:var(--muted);
      font-size:16px;
      white-space:nowrap;
    }

    .reorder-bar{
      display:flex;
      justify-content:flex-end;
      margin-bottom:12px;
    }
    .reorder-btn{
      border:none;
      cursor:pointer;
      color:var(--text);
      padding:10px 14px;
      border-radius:16px;
      background:rgba(255,255,255,.10);
      border:1px solid rgba(255,255,255,.14);
      font-size:14px;
      transition:transform .15s ease, background .18s ease;
      -webkit-tap-highlight-color: transparent;
    }
    .reorder-btn:active{
      transform:scale(.97);
    }
    .reorder-btn.active{
      background:linear-gradient(90deg, rgba(79,112,255,.55), rgba(177,82,255,.42));
    }

    .grid{
      display:grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap:18px;
    }

    .card{
      min-width:0;
      min-height:250px;
      border-radius:30px;
      padding:18px;
      position:relative;
      overflow:hidden;
      text-decoration:none;
      color:inherit;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.07));
      border:1px solid rgba(255,255,255,.18);
      box-shadow: 0 16px 36px rgba(2,8,23,.20);
      transition:transform .16s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
      isolation:isolate;
      -webkit-tap-highlight-color: transparent;
    }
    .card::before{
      content:"";
      position:absolute;
      inset:auto auto -34% -8%;
      width:72%;
      height:72%;
      border-radius:50%;
      filter:blur(16px);
      opacity:.45;
      z-index:-1;
    }
    .card:hover{
      transform:translateY(-3px);
      border-color:rgba(255,255,255,.24);
      box-shadow: 0 22px 48px rgba(2,8,23,.24);
      filter:brightness(1.02);
    }
    .card:active,
    .card.is-pressed{
      transform:scale(.975);
      box-shadow: 0 10px 22px rgba(2,8,23,.18);
      filter:brightness(.98);
    }

    .activation::before{ background:linear-gradient(135deg, rgba(174,127,255,.62), rgba(67,97,238,.22)); }
    .peakflow::before{ background:linear-gradient(135deg, rgba(56,189,248,.70), rgba(59,130,246,.24)); }
    .weight::before{ background:linear-gradient(135deg, rgba(34,197,94,.62), rgba(16,185,129,.22)); }
    .flight::before{ background:linear-gradient(135deg, rgba(251,146,60,.72), rgba(244,114,182,.20)); }

    .card-header{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:12px;
    }
    .icon-wrap{
      width:86px;
      height:86px;
      border-radius:24px;
      overflow:hidden;
      background:rgba(255,255,255,.11);
      border:1px solid rgba(255,255,255,.16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 18px rgba(0,0,0,.14);
      flex:0 0 auto;
    }
    .icon-wrap img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }

    .pill{
      flex:0 0 auto;
      padding:9px 13px;
      border-radius:999px;
      font-size:12px;
      color:var(--muted);
      background:rgba(255,255,255,.09);
      border:1px solid rgba(255,255,255,.13);
      white-space:nowrap;
    }

    .card-body h3{
      margin:0 0 8px;
      font-size:clamp(28px, 3vw, 36px);
      line-height:1.02;
      letter-spacing:-.04em;
      word-break:break-word;
    }
    .card-body p{
      margin:0;
      color:var(--muted);
      font-size:16px;
      line-height:1.35;
      max-width:92%;
    }
    .card-footer{
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:14px;
      margin-top:12px;
    }
    .meta{
      color:rgba(255,255,255,.78);
      font-size:13px;
    }

    .app-status{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-top:10px;
      padding:8px 10px;
      border-radius:999px;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      color:var(--muted);
      font-size:12px;
      line-height:1;
      width:max-content;
      max-width:100%;
    }
    .app-status-dot{
      width:10px;
      height:10px;
      border-radius:50%;
      flex:0 0 auto;
      background:#f59e0b;
      box-shadow:0 0 12px rgba(245,158,11,.38);
    }
    .app-status.ok .app-status-dot{
      background:#56d364;
      box-shadow:0 0 12px rgba(86,211,100,.42);
    }
    .app-status.offline .app-status-dot{
      background:#fb7185;
      box-shadow:0 0 12px rgba(251,113,133,.42);
    }
    .app-status.checking .app-status-dot{
      background:#f59e0b;
      box-shadow:0 0 12px rgba(245,158,11,.38);
    }

    .grid.reorder-mode .card{
      cursor:grab;
      animation: wiggle 0.18s ease-in-out infinite alternate;
      touch-action:none;
      user-select:none;
      -webkit-user-select:none;
      -webkit-touch-callout:none;
    }
    .grid.reorder-mode .card:active{ cursor:grabbing; }
    .grid.reorder-mode .card::after{
      content:"↕";
      position:absolute;
      top:12px;
      right:12px;
      width:30px;
      height:30px;
      border-radius:50%;
      display:grid;
      place-items:center;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.18);
      font-size:14px;
      color:rgba(255,255,255,.88);
      z-index:3;
    }
    .card.hidden{ display:none !important; }

    .card.dragging{ opacity:.72; transform:scale(.985); }
    .card.drop-target{ outline:2px solid rgba(255,255,255,.55); outline-offset:-6px; }

    .mobile-only{ display:none; }
    .desktop-only{ display:block; }

    @keyframes wiggle{
      from{ transform:rotate(-0.7deg); }
      to{ transform:rotate(0.7deg); }
    }

    
    .card-placeholder{
      border-radius:28px;
      border:2px dashed rgba(255,255,255,.35);
      background:rgba(255,255,255,.05);
      min-height:250px;
    }


    @media (max-width: 1080px){
      .desktop-layout{
        grid-template-columns: 1fr;
      }
      .sidebar{
        position:static;
        order:2;
      }
    }

    @media (max-width: 720px){
      .desktop-only{ display:none !important; }
      .mobile-only{ display:block !important; }

      .shell{
        max-width:1080px;
        padding:
          max(16px, env(safe-area-inset-top))
          max(12px, env(safe-area-inset-right))
          max(24px, env(safe-area-inset-bottom))
          max(12px, env(safe-area-inset-left));
      }

      .apps-panel{
        border-radius:28px;
        padding:14px;
      }

      .panel-head{
        align-items:flex-start;
        margin-bottom:14px;
      }
      .panel-head h1{
        font-size:26px;
        line-height:1.02;
        letter-spacing:-.04em;
      }
      .panel-head p{
        font-size:14px;
      }
      .count{
        font-size:14px;
        padding-top:6px;
      }

      .grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap:12px;
      }

      .card{
        min-height:190px;
        padding:12px;
        border-radius:28px;
      }
      .icon-wrap{
        width:62px;
        height:62px;
        border-radius:18px;
      }
      .pill{
        padding:7px 11px;
        font-size:11px;
      }
      .card-body h3{
        font-size:21px;
      }
      .card-body p{
        font-size:13px;
        max-width:100%;
      }
      .meta{
        font-size:11px;
        min-width:0;
      }
      .go{
        width:42px;
        height:42px;
        font-size:22px;
      }
      .reorder-bar{
        margin-bottom:12px;
      }
    }

    @media (max-width: 390px){
      .panel-head{
        flex-direction:column;
      }
      .count{
        padding-top:0;
      }
      .card{
        min-height:178px;
      }
      .card-body h3{
        font-size:20px;
      }
    }

    @media (prefers-reduced-motion: reduce){
      *{ animation:none !important; transition:none !important; }
    }
  

.auth-wrap{max-width:460px;margin:8vh auto}.auth-card,.admin-panel{border-radius:28px;padding:26px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-group{display:flex;flex-direction:column;gap:7px}.form-group.full{grid-column:1/-1}label{font-weight:650}input,select,textarea{width:100%;border:1px solid rgba(255,255,255,.18);background:rgba(5,12,32,.45);color:#fff;border-radius:14px;padding:12px 14px;font:inherit}option{color:#111}.remember-option{display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:650}.remember-option input{width:auto;accent-color:#6f7dff}.remember-option span{color:#fff}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:11px 16px;font-weight:750;cursor:pointer;text-decoration:none}.btn-primary{background:linear-gradient(90deg,#4f70ff,#a852ff);color:#fff}.btn-secondary{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.16)}.btn-danger{background:#b4233c;color:#fff}.actions{display:flex;gap:10px;flex-wrap:wrap}.alert{padding:12px 14px;border-radius:14px;margin:0 0 16px}.alert-error{background:rgba(220,38,38,.25);border:1px solid rgba(248,113,113,.5)}.alert-ok{background:rgba(22,163,74,.25);border:1px solid rgba(74,222,128,.5)}.userbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-bottom:14px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;padding:12px;border-bottom:1px solid rgba(255,255,255,.12);vertical-align:middle}.admin-tabs{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.checkbox-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.check-item{display:flex;gap:9px;align-items:center;padding:10px;border-radius:12px;background:rgba(255,255,255,.07)}.check-item input{width:auto}.empty-state{text-align:center;padding:45px 20px;color:var(--muted)}.card .drag-handle{display:none}.card.reorder-enabled .drag-handle{display:block;position:absolute;right:16px;bottom:14px;font-size:22px}.card{position:relative}.top-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}@media(max-width:700px){.form-grid{grid-template-columns:1fr}.admin-table{font-size:14px}.admin-table th:nth-child(3),.admin-table td:nth-child(3){display:none}}

/* Launcher compact V2.1 */
.launcher-shell{max-width:1180px}
.launcher-main{width:100%}
.launcher-hero{
  min-height:0;
  padding:20px 22px;
  border-radius:28px;
}
.launcher-title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.launcher-hero .hero-badge{
  margin-bottom:9px;
  padding:7px 11px;
  border-radius:14px;
  font-size:12px;
}
.launcher-hero h1{
  font-size:clamp(30px,3vw,42px);
}
.launcher-hero p{
  margin-top:7px;
  font-size:15px;
}
.launcher-count{
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.launcher-tools{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  margin-top:15px;
}
.launcher-search{padding:11px 14px}
.launcher-order-btn{white-space:nowrap}
.category-chips{
  display:flex;
  gap:8px;
  margin-top:12px;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:thin;
}
.category-chip{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.13);
  color:var(--text);
  background:rgba(255,255,255,.07);
  border-radius:999px;
  padding:8px 13px;
  font:inherit;
  font-size:13px;
  cursor:pointer;
  transition:.18s ease;
}
.category-chip:hover{background:rgba(255,255,255,.12)}
.category-chip.active{
  background:linear-gradient(90deg,rgba(79,112,255,.62),rgba(177,82,255,.48));
  border-color:rgba(255,255,255,.22);
}
.launcher-apps-panel{
  margin-top:14px;
  padding:18px;
  border-radius:28px;
}

@media (max-width:720px){
  .launcher-shell{
    padding-top:max(10px,env(safe-area-inset-top));
  }
  .userbar{
    margin-bottom:9px;
    gap:7px;
    font-size:13px;
  }
  .userbar .btn{
    padding:8px 10px;
    border-radius:12px;
    font-size:12px;
  }
  .launcher-hero{
    padding:13px;
    border-radius:22px;
  }
  .launcher-title-row{gap:10px}
  .launcher-hero .hero-badge{
    display:none;
  }
  .launcher-hero h1{
    font-size:25px;
  }
  .launcher-hero p{
    margin-top:4px;
    font-size:12px;
  }
  .launcher-count{
    padding:6px 9px;
    font-size:12px;
  }
  .launcher-tools{
    margin-top:10px;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
  }
  .launcher-search{
    padding:9px 11px;
    border-radius:14px;
  }
  .launcher-search input{font-size:14px}
  .launcher-order-btn{
    padding:9px 10px;
    font-size:12px;
  }
  .category-chips{
    margin-top:9px;
    gap:6px;
  }
  .category-chip{
    padding:6px 10px;
    font-size:12px;
  }
  .launcher-apps-panel{
    margin-top:10px;
    padding:11px;
    border-radius:22px;
  }
}

@media (max-width:430px){
  .userbar span{margin-right:auto}
  .launcher-title-row{align-items:center}
  .launcher-hero p{display:none}
  .launcher-tools{grid-template-columns:1fr}
  .launcher-order-btn{width:100%}
}

/* =========================================================
   Webapp Launcher V2.4 — grille compacte responsive
   ========================================================= */
.launcher-shell{
  max-width:1240px;
}

.launcher-apps-panel{
  padding:15px;
}

.launcher-apps-panel .grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.launcher-apps-panel .card{
  min-height:176px;
  padding:14px;
  border-radius:22px;
  justify-content:flex-start;
  gap:12px;
}

.launcher-apps-panel .card:hover{
  transform:translateY(-2px) scale(1.008);
}

.launcher-apps-panel .card-header{
  align-items:center;
  gap:9px;
}

.launcher-apps-panel .icon-wrap{
  width:52px;
  height:52px;
  border-radius:15px;
}

.launcher-apps-panel .pill{
  margin-left:auto;
  max-width:58%;
  overflow:hidden;
  text-overflow:ellipsis;
  padding:6px 9px;
  font-size:10px;
}

.launcher-apps-panel .card-body{
  min-width:0;
}

.launcher-apps-panel .card-body h3{
  margin:0 0 6px;
  font-size:21px;
  line-height:1.08;
  letter-spacing:-.025em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.launcher-apps-panel .card-body p{
  max-width:100%;
  font-size:13px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.launcher-apps-panel .card-footer{
  margin-top:auto;
  min-height:15px;
}

.launcher-apps-panel .meta{
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.launcher-apps-panel .drag-handle{
  font-size:18px !important;
  right:11px !important;
  bottom:9px !important;
}

.launcher-apps-panel .card-placeholder{
  min-height:176px;
  border-radius:22px;
}

@media (max-width:900px){
  .launcher-apps-panel .grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:11px;
  }
  .launcher-apps-panel .card{
    min-height:168px;
    padding:12px;
  }
  .launcher-apps-panel .icon-wrap{
    width:46px;
    height:46px;
    border-radius:13px;
  }
  .launcher-apps-panel .card-body h3{
    font-size:18px;
  }
  .launcher-apps-panel .card-body p{
    font-size:12px;
  }
}

@media (max-width:720px){
  .launcher-apps-panel{
    padding:9px;
  }
  .launcher-apps-panel .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .launcher-apps-panel .card{
    min-height:154px;
    padding:10px;
    border-radius:18px;
    gap:9px;
  }
  .launcher-apps-panel .card-header{
    gap:6px;
  }
  .launcher-apps-panel .icon-wrap{
    width:42px;
    height:42px;
    border-radius:12px;
  }
  .launcher-apps-panel .pill{
    max-width:56%;
    padding:5px 7px;
    font-size:9px;
  }
  .launcher-apps-panel .card-body h3{
    margin-bottom:4px;
    font-size:16px;
    line-height:1.1;
  }
  .launcher-apps-panel .card-body p{
    font-size:11px;
    line-height:1.3;
  }
  .launcher-apps-panel .meta{
    font-size:9px;
  }
  .launcher-apps-panel .card-placeholder{
    min-height:154px;
    border-radius:18px;
  }
}

@media (max-width:360px){
  .launcher-apps-panel .grid{
    gap:7px;
  }
  .launcher-apps-panel .card{
    min-height:148px;
    padding:9px;
  }
  .launcher-apps-panel .icon-wrap{
    width:38px;
    height:38px;
  }
  .launcher-apps-panel .card-body h3{
    font-size:15px;
  }
  .launcher-apps-panel .card-body p{
    font-size:10px;
  }
}

/* V2.5 - état dynamique de l'arrosage sur la carte du launcher */
.launcher-apps-panel .app-live-status{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:7px;
  min-width:0;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  color:rgba(247,249,255,.82);
}
.launcher-apps-panel .watering-dot{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#9ca3af;
  box-shadow:0 0 8px rgba(156,163,175,.35);
}
.launcher-apps-panel .watering-label{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.launcher-apps-panel .watering-status.is-on{ color:#c9ffe0; }
.launcher-apps-panel .watering-status.is-on .watering-dot{
  background:#56d364;
  box-shadow:0 0 10px rgba(86,211,100,.65);
}
.launcher-apps-panel .watering-status.is-running{ color:#c8f2ff; }
.launcher-apps-panel .watering-status.is-running .watering-dot{
  background:#38bdf8;
  box-shadow:0 0 11px rgba(56,189,248,.7);
  animation:wateringPulse 1.25s ease-in-out infinite;
}
.launcher-apps-panel .watering-status.is-off{ color:rgba(247,249,255,.62); }
.launcher-apps-panel .watering-status.is-off .watering-dot{
  background:#94a3b8;
  box-shadow:none;
}
.launcher-apps-panel .watering-status.is-error{ color:#ffd2d8; }
.launcher-apps-panel .watering-status.is-error .watering-dot{
  background:#fb7185;
  box-shadow:0 0 9px rgba(251,113,133,.55);
}
@keyframes wateringPulse{
  0%,100%{transform:scale(1);opacity:.75}
  50%{transform:scale(1.28);opacity:1}
}
@media (max-width:720px){
  .launcher-apps-panel .app-live-status{font-size:9px;gap:5px;margin-top:5px}
  .launcher-apps-panel .watering-dot{width:7px;height:7px}
}


/* V2.5.1 - présentation mobile de l'état Arrosage identique au desktop */
@media (max-width:720px){
  .launcher-apps-panel .watering-card .card-footer{
    display:block;
    min-width:0;
  }
  .launcher-apps-panel .watering-card .app-live-status{
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    width:100%;
    min-width:0;
    gap:5px !important;
    margin-top:6px !important;
    font-size:9px !important;
    font-weight:700 !important;
    line-height:1.15 !important;
  }
  .launcher-apps-panel .watering-card .watering-dot{
    width:7px !important;
    height:7px !important;
    flex:0 0 7px !important;
  }
  .launcher-apps-panel .watering-card .watering-label{
    display:-webkit-box !important;
    min-width:0;
    max-width:100%;
    white-space:normal !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    word-break:normal !important;
    font-size:inherit !important;
    line-height:1.2 !important;
  }
}
