:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e2e8f0;background:#0f172a;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#0f172a;min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer;color:#f8fafc;background:#334155;border:1px solid #475569;border-radius:6px;padding:.5rem .75rem}button:hover:not(:disabled){background:#475569}button:disabled{cursor:not-allowed;opacity:.45}button.danger{background:#991b1b;border-color:#ef4444}input,select{color:#e2e8f0;background:#0f172a;border:1px solid #475569;border-radius:6px;width:100%;padding:.5rem}h1,h2{margin:0}h1{font-size:1.5rem}h2{margin-bottom:.75rem;font-size:1.1rem}hr{border:0;border-top:1px solid #334155;margin:1.25rem 0}.app-header,main{width:min(1180px,100% - 24px);margin:0 auto}.app-header{justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}main{padding-bottom:2rem}.tabWrap{z-index:10;background:#0f172a;border-bottom:1px solid #475569;align-items:end;gap:.25rem;margin:0 0 .75rem;padding:.75rem .5rem 0;list-style:none;display:flex;position:sticky;top:0;overflow-x:auto}.tabWrap li{background:#172033;border:1px solid #334155;border-bottom:0;border-radius:8px 8px 0 0;flex:1 0 130px;max-width:220px}.tabWrap li.active{background:#1e293b;border-color:#475569}.tabWrap a{color:#94a3b8;text-align:center;padding:.7rem 1rem;text-decoration:none;display:block}.tabWrap li.active a{color:#f8fafc;font-weight:700}.tab-content{min-height:16rem}.panel{background:#1e293b;border:1px solid #273449;border-radius:10px;margin-top:.75rem;padding:1rem}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.75rem;display:grid}.sub-card,.summary-grid article{background:#172033;border:1px solid #334155;border-radius:8px;padding:.9rem}.muted,.summary-grid small{color:#94a3b8}.summary-grid strong{margin-top:.35rem;font-size:1.15rem;display:block}.positive{color:#4ade80;font-weight:700}.error,.negative{color:#f87171;font-weight:700}.message{background:#1e293b;border-radius:6px;min-height:1.5rem;margin:.5rem 0;padding:.65rem .8rem}.loading{text-align:center;color:#94a3b8;padding:2rem}.control-grid,.position-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;display:grid}.position-grid small,.position-grid span{margin-top:.4rem;display:block}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}td,th{text-align:left;white-space:nowrap;border-bottom:1px solid #334155;padding:.65rem}th{color:#cbd5e1;font-size:.85rem}.status{text-align:center;border-radius:999px;min-width:3rem;padding:.15rem .4rem;font-size:.8rem;display:inline-block}.status.on{color:#86efac;background:#14532d}.status.off{color:#cbd5e1;background:#334155}.section-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.section-heading select{width:auto}.clickable{cursor:pointer}.clickable:focus,.clickable:hover{background:#334155;outline:none}.executed{background:#10b9811f;box-shadow:inset 4px 0 #10b981}.detail td{white-space:normal;background:#111827}.detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}.form-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.8rem;display:grid}.form-grid label{color:#cbd5e1;gap:.3rem;display:grid}.form-grid .checkbox{align-items:center;display:flex}.form-grid .checkbox input{width:auto}.form-actions{align-items:end;gap:.75rem;display:flex}.credentials{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.control-grid.panel{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.control-grid button{margin:.25rem .35rem .25rem 0}.chart{color:#60a5fa;background:#111827;width:100%;height:240px}.chart line{stroke:#374151;stroke-dasharray:4}.chart text{fill:#94a3b8;font-size:12px}.chart polyline{fill:none;stroke:currentColor;stroke-width:2px}.live-badge{color:#4ade80;font-size:.8rem;font-weight:700}.login-page{place-items:center;width:100%;min-height:100vh;padding:1rem;display:grid}.login-card{text-align:center;background:#1e293b;border:1px solid #334155;border-radius:12px;width:min(420px,100%);padding:2rem}.google-login{justify-content:center;min-height:44px;margin-top:1.5rem;display:flex}@media (width<=700px){.app-header,main{width:min(100% - 16px,1180px)}.app-header{align-items:flex-start}.section-heading{flex-direction:column;align-items:stretch}.section-heading select{width:100%}.panel{padding:.8rem}}
