
    :root { --bg: #0f0f1a; --card: #1a1a2e; --text: #e0e0e0; --accent: #00d2ff; }
    body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', Arial, sans-serif; margin: 0; padding: 10px; }
    .container { max-width: 900px; margin: auto; }
    header { text-align: center; padding: 20px 0; }
    h1 { color: var(--accent); letter-spacing: 2px; text-shadow: 0 0 10px rgba(0,210,255,0.3); }
    .status-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
    .badge { background: #333; padding: 5px 12px; border-radius: 15px; font-size: 0.8em; }
    .modo { background: var(--accent); color: #000; font-weight: bold; }
    .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
    .card { background: var(--card); padding: 20px; border-radius: 15px; border: 1px solid #333; }
    .card-title { font-size: 0.9em; color: var(--accent); text-transform: uppercase; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
    .main-val { font-size: 3em; font-weight: bold; text-align: center; margin: 10px 0; }
    .main-val small { font-size: 0.4em; color: #888; }
    .solar-text { color: #f1c40f; }
    .battery-container { display: flex; justify-content: center; margin: 15px 0; }
    .battery { width: 100px; height: 45px; border: 3px solid #555; border-radius: 6px; position: relative; padding: 2px; }
    .battery::after { content: ''; position: absolute; right: -10px; top: 12px; width: 6px; height: 16px; background: #555; border-radius: 0 2px 2px 0; }
    .battery-level { height: 100%; width: 0%; border-radius: 2px; transition: all 1s ease; }
    .battery-text { position: absolute; width: 100%; text-align: center; top: 10px; font-weight: bold; color: #fff; text-shadow: 1px 1px #000; }
    .progress-container { background: #111; height: 10px; border-radius: 5px; overflow: hidden; margin: 10px 0; }
    .progress-fill { height: 100%; width: 0%; transition: width 1s ease; }
    .load { background: var(--accent); }
    .solar { background: #f1c40f; }
    .stats { display: flex; justify-content: space-between; font-size: 0.85em; margin-top: 10px; color: #aaa; }
    .sub-val { text-align: center; font-size: 0.8em; margin-top: 10px; border-top: 1px solid #333; padding-top: 10px; }
    .control-panel { background: var(--card); margin-top: 15px; padding: 20px; border-radius: 15px; border: 1px solid #333; }
    .btn-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
    .btn { background: #2a2a40; border: none; color: white; padding: 15px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot.on { background: #2ecc71; box-shadow: 0 0 10px #2ecc71; }
    .dot.off { background: #e74c3c; }
  