:root{--background:#eef1fb;--surface:#fff;--foreground:#1f2b3a;--muted:#7a8698;--border:#e7ebf2;--body-text:#4c5d78;--surface-muted:#f7f9fd;--accent:#2fbfa6;--accent-dark:#22a68c;--brand-blue:#3b82f6;--warning:#f28a3a;--danger:#f5455a;--sidebar-bg:#ffffff8c;--sidebar-fg:#5a6879;--sidebar-active-fg:#2f6fe0;--sidebar-active-bg:linear-gradient(120deg, #5da3ff38, #7896ff24);--sidebar-active-border:#78a0ff47;--sidebar-disabled:#aab4c2;--cat-teal:#2fc8ad;--cat-teal-bg:#d8f5ee;--cat-blue:#6f97f0;--cat-blue-bg:#e2ecfd;--cat-amber:#f5c04e;--cat-amber-bg:#fdeede;--cat-purple:#a78bfa;--cat-purple-bg:#efe9fb;--cat-slate:#c7cfd8;--cat-slate-bg:#eaeef0;--glass-bg:#ffffff9e;--glass-bg-strong:#ffffffd1;--glass-border:#fffc;--glass-highlight:#ffffffe6;--glass-shadow:0 8px 24px #5a78aa14;--glass-sidebar-bg:#ffffff8c;--glass-sidebar-border:#ffffffbf;--glass-sidebar-highlight:#ffffff80;--chart-grid:#2563eb1f;--chart-track:#2563eb0d;--chart-axis:#9aa6b6;--chart-bar:#a9c9fb;--chart-bar-active:#2563eb;--tooltip-bg:#1f2b3a;--tooltip-fg:#fff;--tooltip-accent:#93b4ff;--bucket-app:#2563eb;--bucket-work:#8b5cf6;--bucket-system:#f97316;--bucket-blocked:#94a3b8;--page-gradient:linear-gradient(135deg, #d6f3ee 0%, #e4f0fb 34%, #eef1fb 62%, #f3ecfb 100%)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#111827;--surface:#1b2534;--foreground:#e8edf5;--muted:#94a3b8;--border:#2b3648;--body-text:#b9c4d2;--surface-muted:#16202e;--accent:#34d3b8;--accent-dark:#2fbfa6;--brand-blue:#60a5fa;--warning:#fbbf24;--danger:#f87171;--sidebar-bg:#1b2534b8;--sidebar-fg:#a8b4c4;--sidebar-active-fg:#93c5fd;--sidebar-active-bg:linear-gradient(120deg, #60a5fa33, #818cf81f);--sidebar-active-border:#60a5fa4d;--sidebar-disabled:#5b6878;--cat-teal:#2fd8bb;--cat-teal-bg:#2fc8ad29;--cat-blue:#8ab4ff;--cat-blue-bg:#6f97f02e;--cat-amber:#f7cd6b;--cat-amber-bg:#f5c04e29;--cat-purple:#c4b5fd;--cat-purple-bg:#a78bfa2e;--cat-slate:#94a3b8;--cat-slate-bg:#94a3b829;--glass-bg:#1b25349e;--glass-bg-strong:#1b2534db;--glass-border:#ffffff14;--glass-highlight:#ffffff0f;--glass-shadow:0 8px 24px #00000059;--glass-sidebar-bg:#1b2534b8;--glass-sidebar-border:#ffffff14;--glass-sidebar-highlight:#ffffff0d;--chart-grid:#94a3b82e;--chart-track:#94a3b81a;--chart-axis:#7b8798;--chart-bar:#3b5a86;--chart-bar-active:#60a5fa;--tooltip-bg:#0b1220;--tooltip-fg:#e8edf5;--tooltip-accent:#93c5fd;--bucket-app:#60a5fa;--bucket-work:#a78bfa;--bucket-system:#fb923c;--bucket-blocked:#94a3b8;--page-gradient:linear-gradient(135deg, #10261f 0%, #12203a 34%, #141a2e 62%, #1d1630 100%)}*{box-sizing:border-box;margin:0;padding:0}html,body{max-width:100vw;height:100%;overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}body:before{content:"";z-index:-1;background:var(--page-gradient);position:fixed;inset:0}a{color:inherit;text-decoration:none}button{font-family:inherit}.glass{background:var(--glass-bg);-webkit-backdrop-filter:blur(20px)saturate(160%);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);border-radius:20px}.glass-strong{background:var(--glass-bg-strong);-webkit-backdrop-filter:blur(24px)saturate(160%);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow), inset 0 1px 0 var(--glass-highlight)}.glass-sidebar{background:var(--glass-sidebar-bg);-webkit-backdrop-filter:blur(20px)saturate(140%);border:1px solid var(--glass-sidebar-border);border-radius:24px;box-shadow:0 8px 30px #5a78aa14}.glass-solid-well{background:var(--surface);border:1px solid var(--border);border-radius:14px}.sample-tag{letter-spacing:.02em;text-transform:uppercase;color:#8a5a1c;background:var(--cat-amber-bg);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px;border-radius:8px}:where(a,button,input,select,textarea,summary,[tabindex]):focus:not(:focus-visible){outline:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,Segoe UI,Arial,sans-serif}.menu-item .left{align-items:center;gap:14px;display:flex}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background:#b7cbff;border-radius:20px}.menu-item:before{content:"";background:linear-gradient(#60a5fa,#2563eb);border-radius:20px;width:4px;height:0;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:absolute;top:50%;left:0;transform:translateY(-50%)}.menu-item:after{content:"";background:linear-gradient(90deg,#0000,#ffffffa6,#0000);width:90px;height:100%;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:absolute;top:0;left:-140%;transform:skew(-25deg)}.menu-item:hover:after{left:130%}.menu-item:hover span{letter-spacing:.2px}.logo{z-index:2;align-items:center;gap:14px;margin-bottom:30px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex;position:relative}.logo:hover{transform:translate(4px)}.logo:hover img{transform:rotate(-6deg)scale(1.08)}@keyframes floating{0%{transform:translateY(0)}50%{transform:translateY(-6px)}to{transform:translateY(0)}}@media (max-width:1100px){.sidebar{width:280px}.menu-item{padding:13px}.family-image img{width:120px}}@media (max-width:768px){.sidebar{z-index:1000;position:fixed;top:20px;bottom:20px;left:20px}}@media (max-width:560px){.sidebar{width:88px;padding:18px 12px}.logo h3,.logo span,.menu-item span,.family-card,.profile-info{display:none}.menu-item,.profile{justify-content:center}.profile-menu,.menu-item:before{display:none}}.menu-item+.menu-item{margin-top:4px}@keyframes glowOne{0%{transform:translate(0)}50%{transform:translate(40px,25px)}to{transform:translate(0)}}@keyframes glowTwo{0%{transform:translate(0)}50%{transform:translate(-35px,-30px)}to{transform:translate(0)}}.menu-item:active{transform:scale(.98)}.menu-item:focus-visible,.family-card button:focus-visible,.profile-menu:focus-visible{outline:none;box-shadow:0 0 0 4px #3b82f640}@keyframes orbOne{0%,to{transform:translateY(0)}50%{transform:translateY(-35px)}}@keyframes orbTwo{0%,to{transform:translate(0)}50%{transform:translate(25px)}}.menu-item:hover:before{height:40%;animation:.45s ripple}@keyframes ripple{0%{opacity:.4;transform:translateY(-50%)scaleY(.2)}to{opacity:1;transform:translateY(-50%)scaleY(1)}}.profile>*{z-index:2;position:relative}.logo span{color:#7b8ba7;margin-top:2px;font-size:13px;display:block}.menu-item.active::selection{background:0 0}@keyframes activeGlow{0%,to{box-shadow:0 8px 20px #2563eb1f}50%{box-shadow:0 12px 35px #2563eb40}}@keyframes cardShine{0%{left:-180px}to{left:420px}}.menu-item:not(.active){background:0 0}.menu-item:not(.active):hover{background:#ffffff73}@keyframes iconJump{0%{transform:translateY(0)}40%{transform:translateY(-4px)}70%{transform:translateY(2px)}to{transform:translateY(0)}}.sidebar *,.sidebar :before,.sidebar :after{transition:background .35s,color .35s,box-shadow .35s,transform .35s,border-color .35s}.sidebar::marker{display:none}@keyframes badgePulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.menu:after{content:"";background:#ffffff40;width:100%;height:1px;margin-top:16px;display:block}.sidebar:before{content:"";filter:blur(80px);background:#4d82ff2e;border-radius:50%;width:260px;height:260px;animation:12s ease-in-out infinite glassGlow;position:absolute;top:-120px;left:-120px}@keyframes glassGlow{0%,to{opacity:.45;transform:translate(0)scale(1)}50%{opacity:.8;transform:translate(35px,-20px)scale(1.12)}}.menu-item.active .left{z-index:2;position:relative}@keyframes activeShine{0%{background-position:-220px}to{background-position:220px}}.menu-item:hover iconify-icon{color:#2563eb;animation:.45s iconJump;transform:rotate(-8deg)scale(1.15);box-shadow:0 12px 25px #2563eb33}.menu-item.active iconify-icon{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);animation:none;transform:scale(1.08);box-shadow:0 10px 25px #2563eb59}@keyframes buttonLight{0%{transform:translate(-120%)}to{transform:translate(140%)}}.profile:hover .profile-image{transform:rotate(-5deg)}@keyframes badgeRing{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.9)}}@keyframes profileLight{0%{left:-100px}to{left:420px}}.menu-item.active{color:#2563eb;background:linear-gradient(135deg,#fffffff2,#ffffff8c);border:1px solid #ffffffe6;animation:2.5s infinite activeGlow;position:relative;overflow:hidden;box-shadow:0 14px 30px #2563eb26}.profile,.profile-menu,.family-card button{transition:all .35s}.sidebar:after{content:"";filter:blur(90px);background:#78aaff26;border-radius:50%;width:240px;height:240px;animation:8s linear infinite borderMove;position:absolute;bottom:-120px;right:-100px}@keyframes borderMove{0%{opacity:.4}50%{opacity:.8}to{opacity:.4}}.menu{z-index:2;flex-direction:column;flex:1;gap:10px;padding-bottom:16px;padding-right:6px;display:flex;position:relative;overflow:hidden auto}.sidebar>*{animation:.6s both fadeUp}.page-transition{flex-direction:column;gap:20px;min-width:0;animation:.26s both pageIn;display:flex}@keyframes pageIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes fadeUp{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.profile img{transition:transform .4s}.profile:hover img{transform:scale(1.08)}.profile:before{content:"";filter:blur(45px);background:#60a5fa33;border-radius:50%;width:180px;height:180px;position:absolute;top:-110px;right:-80px}.profile:after{content:"";background:linear-gradient(#0000,#ffffff73,#0000);width:70px;height:250px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:absolute;top:-40px;left:-120px;transform:rotate(25deg)}.profile:hover:after{animation:.8s linear profileLight;left:380px}.profile:hover{border-color:#60a5fa73;transform:translateY(-5px);box-shadow:0 25px 45px #2563eb2e,inset 0 1px 1px #ffffffe6}.profile-image img{object-fit:cover;border:3px solid #ffffffe6;border-radius:50%;width:100%;height:100%;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s}.profile-image:before{content:"";z-index:-1;background:linear-gradient(135deg,#60a5fa,#2563eb);border-radius:50%;position:absolute;inset:-4px}.profile-image:after{content:"";background:#22c55e;border:2px solid #fff;border-radius:50%;width:13px;height:13px;position:absolute;bottom:4px;right:3px}.profile:hover .profile-image img{transform:scale(1.08)}.profile-menu iconify-icon{color:#2563eb;font-size:22px}.profile-menu:hover{color:#fff;background:#2563eb;transform:rotate(90deg)scale(1.08)}.profile-menu:hover iconify-icon{color:#fff}.logo img{filter:drop-shadow(0 10px 20px #2563eb2e);width:42px;height:42px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s}.logo h3{color:#163b83;letter-spacing:.3px;font-size:17px;font-weight:700}.menu-item{color:var(--body-text);cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);isolation:isolate;background:linear-gradient(#ffffff2e,#ffffff0d);border:1px solid #ffffff26;border-radius:18px;justify-content:space-between;align-items:center;min-height:44px;padding:8px 12px;text-decoration:none;transition:background .35s,transform .35s,box-shadow .35s,border-color .35s;display:flex;position:relative;overflow:hidden;transform:translateZ(0);box-shadow:0 2px 6px #00000005}.menu-item iconify-icon{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:2;background:#ffffff73;border:1px solid #ffffff73;border-radius:12px;justify-content:center;align-items:center;width:28px;height:28px;font-size:17px;transition:transform .35s,background .35s,color .35s,box-shadow .35s;display:flex;position:relative;box-shadow:inset 0 1px 2px #fff9,0 6px 15px #2563eb14}.menu-item span{z-index:2;white-space:nowrap;font-size:13px;font-weight:500;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:relative}.profile-image{flex-shrink:0;width:36px;height:36px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:relative}.profile-info{z-index:2;flex:1;min-width:0;margin-left:14px;position:relative}.profile-info h4{color:#204181;white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px;font-size:13px;font-weight:700;overflow:hidden}.profile-info span{color:#7a8ca8;opacity:.75;font-size:11px;font-weight:500;display:block}.profile-menu{cursor:pointer;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff8c;border:1px solid #ffffffb3;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex}.profile{-webkit-backdrop-filter:blur(35px);z-index:2;background:linear-gradient(145deg,#ffffffa6,#ffffff4d);border:1px solid #ffffffa6;border-radius:22px;justify-content:space-between;align-items:center;gap:8px;margin-top:22px;padding:10px;transition:all .4s;display:flex;position:relative;overflow:visible;box-shadow:inset 0 1px 1px #fffc,0 15px 35px #2563eb1f}.profile-image:before,.profile-image:after{content:none}.profile-menu-wrap{position:relative}.profile-dropdown{-webkit-backdrop-filter:blur(24px);opacity:0;visibility:hidden;z-index:20;background:#ffffffeb;border:1px solid #ffffffd9;border-radius:14px;flex-direction:column;gap:2px;min-width:118px;padding:5px;transition:opacity .2s,transform .2s,visibility .2s;display:flex;position:absolute;bottom:calc(100% + 8px);right:0;transform:translateY(6px);box-shadow:0 18px 40px #2563eb2e,inset 0 1px 1px #ffffffe6}.profile-menu-wrap:hover .profile-dropdown,.profile-dropdown:hover{opacity:1;visibility:visible;transform:translateY(0)}.profile-dropdown-item{color:var(--body-text);border-radius:8px;align-items:center;gap:7px;padding:6px 8px;font-size:11px;font-weight:600;text-decoration:none;transition:background .2s,color .2s;display:flex}.profile-dropdown-item iconify-icon{flex-shrink:0;width:14px;height:14px;font-size:14px}.profile-dropdown-item:hover{color:#2563eb;background:#2563eb1a}.profile-dropdown-item.logout{color:#dc2626}.profile-dropdown-item.logout:hover{color:#dc2626;background:#dc26261a}.content{flex-direction:column;flex:1;gap:20px;min-width:0;margin-left:284px;padding:4px 4px 40px;display:flex}.topbar,.content-header{z-index:30;background:var(--glass-bg-strong,#ffffffd1);-webkit-backdrop-filter:blur(20px)saturate(1.4);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 18px;display:flex;position:sticky;top:0;box-shadow:0 6px 20px #5a78aa12}.welcome h1{color:var(--foreground);font-size:24px;font-weight:800}.welcome p{color:var(--muted);align-items:center;gap:8px;margin-top:8px;font-size:14px;display:flex}.safe-badge{color:#16a34a;background:#22c55e1f;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;font-size:12.5px;font-weight:700;display:inline-flex}.safe-badge iconify-icon{font-size:14px}.topbar-actions{align-items:center;gap:14px;display:flex}.icon-btn{-webkit-backdrop-filter:blur(20px);width:46px;height:46px;color:var(--body-text);cursor:pointer;background:#ffffffa6;border:1px solid #fffc;border-radius:15px;justify-content:center;align-items:center;font-size:20px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex;position:relative;box-shadow:0 6px 18px #2563eb14}.icon-btn:hover{color:#fff;background:#2563eb}.notification{color:#fff;background:#ef4444;border:2px solid #eef5ff;border-radius:50%;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 3px;font-size:10px;font-weight:700;display:flex;position:absolute;top:-4px;right:-4px}.child-profile{-webkit-backdrop-filter:blur(20px);cursor:pointer;background:#ffffffa6;border:1px solid #fffc;border-radius:16px;align-items:center;gap:10px;padding:8px 14px 8px 8px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex;box-shadow:0 6px 18px #2563eb14}.child-profile:hover{transform:translateY(-2px);box-shadow:0 10px 24px #2563eb26}.child-profile img{object-fit:cover;background:#dbeafe;border-radius:50%;flex-shrink:0;width:36px;height:36px}.child-profile h4{color:var(--foreground);font-size:13.5px;font-weight:700}.child-profile span{color:var(--muted);font-size:11.5px}.child-profile iconify-icon{color:var(--muted);margin-left:2px;font-size:16px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;display:grid}.stat-card{-webkit-backdrop-filter:blur(24px);background:#ffffff9e;border:1px solid #fffc;border-radius:20px;align-items:center;gap:14px;padding:18px;display:flex;box-shadow:0 8px 24px #2563eb14}.stat-card .icon{color:#fff;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:22px;display:flex}.stat-card .icon.green{background:linear-gradient(145deg,#4ade80,#16a34a);box-shadow:0 6px 14px #16a34a4d}.stat-card .icon.blue{background:linear-gradient(145deg,#60a5fa,#2563eb);box-shadow:0 6px 14px #2563eb4d}.stat-card .icon.orange{background:linear-gradient(145deg,#fbbf24,#f97316);box-shadow:0 6px 14px #f973164d}.stat-card .icon.purple{background:linear-gradient(145deg,#a78bfa,#8b5cf6);box-shadow:0 6px 14px #8b5cf64d}.stat-card .icon.red{background:linear-gradient(145deg,#f87171,#dc2626);box-shadow:0 6px 14px #dc26264d}.stat-card .icon.slate{background:linear-gradient(145deg,#94a3b8,#64748b);box-shadow:0 6px 14px #64748b4d}.stat-card span{color:var(--muted);font-size:12.5px;font-weight:600;display:block}.stat-card h2{color:var(--foreground);margin-top:4px;font-size:19px;font-weight:800}.stat-card small{color:var(--muted);margin-top:4px;font-size:11.5px;display:block}.stat-card .switch{flex-shrink:0;margin-left:auto}.dashboard-grid{grid-template-columns:1.35fr 1fr;gap:16px;display:grid}.card{-webkit-backdrop-filter:blur(24px);background:#ffffff9e;border:1px solid #fffc;border-radius:22px;padding:20px;box-shadow:0 8px 24px #2563eb14}.card-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.card-header h3{color:var(--foreground);font-size:15.5px;font-weight:800}.card-header a{color:#2563eb;font-size:12.5px;font-weight:700;text-decoration:none}.card-header button{background:var(--surface);color:#5a6879;cursor:pointer;border:1px solid #0000000f;border-radius:11px;align-items:center;gap:6px;padding:8px 12px;font-family:inherit;font-size:12.5px;font-weight:600;display:flex}.card-header button iconify-icon{color:var(--muted);font-size:13px}[data-theme=dark] .card-header button{color:#c3cbdb;background:#ffffff0f;border-color:#ffffff14}.activity-layout{align-items:center;gap:20px;display:flex}.activity-layout .chart{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:130px;height:130px;display:flex;position:relative}.activity-layout .chart img{object-fit:contain;width:100%;height:100%}.chart-total{text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:0}.chart-total strong{color:var(--foreground);font-size:14px;font-weight:800;line-height:1.2}.chart-total span{color:var(--muted);font-size:11px}.activity-layout ul{flex-direction:column;flex:1;gap:10px;list-style:none;display:flex}.activity-layout li{color:var(--body-text);align-items:center;font-size:13px;font-weight:600;display:flex}.activity-layout li span{flex:1;align-items:center;display:flex}.activity-layout li em{width:92px;color:var(--muted);text-align:right;font-size:12px;font-style:normal}.activity-layout li strong{width:38px;color:var(--foreground);text-align:right;font-weight:800}.activity-item{border-bottom:1px solid #2563eb14;align-items:center;gap:10px;padding:9px 0;display:flex}.activity-item:last-child{border-bottom:none;padding-bottom:0}.activity-item img{object-fit:cover;background:#2563eb14;border-radius:9px;flex-shrink:0;width:30px;height:30px}.activity-item span{color:var(--foreground);flex:1;font-size:13px;font-weight:700}.activity-item small{color:var(--muted);font-size:11.5px;font-weight:600}.activity-item .cat-tag{border-radius:8px;flex-shrink:0;padding:4px 9px;font-size:11px;font-style:normal;font-weight:600}.graph{border-radius:14px;width:100%;margin-top:4px}.rule{border-bottom:1px solid #2563eb14;align-items:center;gap:12px;padding:11px 0;display:flex}.rule:last-child{border-bottom:none;padding-bottom:0}.rule-icon{color:#6b7688;background:#eef2f7;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:17px;display:flex}.rule-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.rule-info span{color:#22303f;font-size:13px;font-weight:700}.rule-info small{color:var(--muted);font-size:11.5px;font-weight:500}.rule input[type=checkbox]{appearance:none;cursor:pointer;background:#788caa40;border-radius:12px;flex-shrink:0;width:38px;height:22px;transition:background .25s,color .25s,border-color .25s,box-shadow .25s,transform .25s,opacity .25s;position:relative}.rule input[type=checkbox]:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:background .25s,color .25s,border-color .25s,box-shadow .25s,transform .25s,opacity .25s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #00000040}.rule input[type=checkbox]:checked{background:linear-gradient(135deg,#60a5fa,#2563eb)}.rule input[type=checkbox]:checked:before{transform:translate(16px)}.child-avatar{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:20px;display:flex;overflow:hidden}.child-avatar img{object-fit:cover;width:100%;height:100%}.dropdown-wrap{position:relative}.notif-dropdown,.child-dropdown{opacity:0;visibility:hidden;z-index:30;-webkit-backdrop-filter:blur(24px);background:#fffffff2;border:1px solid #ffffffd9;border-radius:18px;transition:opacity .2s,transform .2s,visibility .2s;position:absolute;top:calc(100% + 10px);right:0;transform:translateY(6px);box-shadow:0 20px 45px #2563eb2e,inset 0 1px 1px #ffffffe6}.dropdown-wrap.open .notif-dropdown,.dropdown-wrap.open .child-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.notif-dropdown{width:280px;padding:8px}.notif-dropdown-header{color:var(--muted);padding:8px 10px 10px;font-size:12.5px;font-weight:700}.notif-item{border-radius:12px;align-items:flex-start;gap:11px;padding:9px 10px;text-decoration:none;transition:background .2s;display:flex}.notif-item:hover{background:#2563eb14}.notif-icon{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:15px;display:flex}.notif-icon.orange{background:linear-gradient(145deg,#fbbf24,#f97316)}.notif-icon.blue{background:linear-gradient(145deg,#60a5fa,#2563eb)}.notif-icon.green{background:linear-gradient(145deg,#4ade80,#16a34a)}.notif-item p{color:#22303f;font-size:12.5px;font-weight:600;line-height:1.35}.notif-item small{color:var(--muted);margin-top:2px;font-size:11px;display:block}.child-dropdown{width:200px;padding:8px}.child-dropdown-item{border-radius:12px;align-items:center;gap:10px;padding:8px 9px;text-decoration:none;transition:background .2s;display:flex}.child-dropdown-item:hover{background:#2563eb14}.child-dropdown-item,.profile-dropdown-item{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none}.child-dropdown-item+.child-dropdown-item{margin-top:2px}.child-dropdown-item .child-avatar.small{width:30px;height:30px;font-size:16px}.child-dropdown-item div{flex:1}.child-dropdown-item h4{color:var(--foreground);font-size:13px;font-weight:700}.child-dropdown-item span{color:var(--muted);font-size:11px}.child-dropdown-item .check{color:#2563eb;font-size:17px}.child-dropdown-item.add{border-top:1px solid #2563eb14;margin-top:4px;padding-top:9px}.child-dropdown-item.add span:last-child{color:#2563eb;font-size:12.5px;font-weight:700}.child-avatar.small.add{color:#2563eb;background:#2563eb1a;font-size:16px}[data-theme=dark] .sidebar:before,[data-theme=dark] .sidebar:after{opacity:.5}[data-theme=dark] .sidebar,[data-theme=dark] .card,[data-theme=dark] .stat-card,[data-theme=dark] .icon-btn,[data-theme=dark] .child-profile,[data-theme=dark] .notif-dropdown,[data-theme=dark] .child-dropdown,[data-theme=dark] .profile,[data-theme=dark] .profile-dropdown{background:#1e2332b8;border-color:#ffffff14}[data-theme=dark] .menu-item:not(.active):hover{background:#ffffff0f}[data-theme=dark] .menu-item.active{background:linear-gradient(135deg,#60a5fa38,#2563eb29);border-color:#60a5fa4d}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] .logo h3,[data-theme=dark] .menu-item,[data-theme=dark] .stat-card h2,[data-theme=dark] .card-header h3,[data-theme=dark] .rule-info span,[data-theme=dark] .notif-item p,[data-theme=dark] .child-dropdown-item h4,[data-theme=dark] .activity-item span,[data-theme=dark] .profile-info h4,[data-theme=dark] .profile-dropdown-item,[data-theme=dark] .chart-total strong,[data-theme=dark] .activity-layout li,[data-theme=dark] .activity-layout li strong{color:#e7ebf5}[data-theme=dark] .welcome p,[data-theme=dark] .logo span,[data-theme=dark] .stat-card span,[data-theme=dark] .stat-card small,[data-theme=dark] .rule-info small,[data-theme=dark] .notif-item small,[data-theme=dark] .child-dropdown-item span,[data-theme=dark] .activity-item small,[data-theme=dark] .activity-layout li em,[data-theme=dark] .child-profile span,[data-theme=dark] .profile-info span,[data-theme=dark] .chart-total span{color:#8b95ab}[data-theme=dark] .menu-item{color:#a8b2c7}[data-theme=dark] .rule-icon{background:#ffffff0f;border-color:#ffffff14}[data-theme=dark] .icon-btn{color:#c3cbdb}[data-theme=dark] .notif-dropdown-header,[data-theme=dark] .card-header a{color:#9db3ff}.menu-item.active:before{height:100%;top:0;transform:none}.menu-item.active iconify-icon:after{content:none;filter:blur(12px);z-index:-1;background:#3b82f62e;border-radius:50%;position:absolute;inset:-8px}.menu-item.active:after{content:none;-webkit-mask-composite:xor;background:linear-gradient(135deg,#ffffffe6,#6eaaff80);border-radius:18px;padding:1px;animation:4s linear infinite activeShine;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;-webkit-mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.profile:after,.profile:hover:after{content:none}.menu-item:hover{color:#2563eb;background:linear-gradient(135deg,#ffffffa6,#ffffff40);border-color:#ffffffb3;overflow:hidden;transform:none;box-shadow:0 10px 24px #2563eb14}.sidebar{-webkit-backdrop-filter:blur(45px)saturate(180%);isolation:isolate;outline-offset:-1px;width:230px;transform-style:preserve-3d;perspective:1200px;filter:drop-shadow(0 30px 50px #2563eb1f);background:#ffffff8c radial-gradient(#ffffff2e 1px,#0000 1px) 0 0/18px 18px padding-box padding-box;border:1px solid #fffc;border-radius:32px;outline:1px solid #ffffff40;flex-direction:column;justify-content:space-between;padding:18px;display:flex;position:fixed;top:14px;bottom:14px;left:30px;overflow:hidden;box-shadow:inset 0 1px 1px #fffc,inset 0 -1px #fff6,0 20px 50px #2563eb1f}.content-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.header-right{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.header-title h1{color:var(--foreground);font-size:24px;font-weight:800}.activity-tabs{background:#ffffff80;border:1px solid #fffc;border-radius:16px;gap:8px;width:fit-content;padding:6px;display:flex}.tab{color:#5a6879;cursor:pointer;background:0 0;border:none;border-radius:12px;align-items:center;gap:8px;padding:9px 16px;font-family:inherit;font-size:13.5px;font-weight:600;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex}.tab iconify-icon{font-size:16px}.tab:hover{background:#2563eb0f}.tab.active{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);box-shadow:0 8px 20px #2563eb40}.tab-content{display:none}.tab-content.active{display:block}.screen-layout{grid-template-columns:1.5fr 1fr;align-items:stretch;gap:16px;display:grid}.chart-card{flex-direction:column;display:flex}.chart-card svg.graph{flex:1;min-height:220px;margin-top:8px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;margin-top:4px}thead th{text-align:left;white-space:nowrap;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid #2563eb1a;padding:10px 12px;font-size:11.5px;font-weight:700}tbody td{color:#2b3849;border-bottom:1px solid #2563eb0f;padding:12px;font-size:13.5px;font-weight:600}tbody tr:last-child td{border-bottom:none}tbody td:first-child{color:var(--foreground);font-weight:700}[data-theme=dark] .header-title h1{color:#e7ebf5}[data-theme=dark] .header-title p{color:#8b95ab}[data-theme=dark] .activity-tabs{background:#1e2332b8;border-color:#ffffff14}[data-theme=dark] .tab{color:#a8b2c7}[data-theme=dark] .tab:hover{background:#ffffff0f}[data-theme=dark] thead th{color:#8b95ab;border-bottom-color:#ffffff14}[data-theme=dark] tbody td{color:#c3cbdb;border-bottom-color:#ffffff0f}[data-theme=dark] tbody td:first-child{color:#e7ebf5}.stat-card-limit{align-items:flex-start}.stat-card-limit-body{flex:1;min-width:0}.view-toggle button.active{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb)}.cat-pill.blue{color:#2563eb;background:#dbe9fe}.cat-pill.purple{color:#8b5cf6;background:#ede9fe}.cat-pill.green{color:#16a34a;background:#dcfce7}.cat-pill.orange{color:#ea580c;background:#ffedd5}.usage-cell{flex-direction:column;gap:6px;min-width:160px;display:flex}.usage-cell>span{color:#2b3849;font-size:13.5px;font-weight:700}.usage-bar{background:#2563eb1a;border-radius:4px;width:100%;height:6px;overflow:hidden}.usage-bar div{background:linear-gradient(90deg,#60a5fa,#2563eb);border-radius:4px;height:100%}.trend.down{color:#dc2626}[data-theme=dark] .usage-cell>span{color:#e7ebf5}[data-theme=dark] .usage-bar{background:#ffffff14}.card-header>div:first-child p{color:var(--muted);margin-top:4px;font-size:12.5px}.device-table{table-layout:fixed;width:100%}.device-table td{vertical-align:middle;white-space:nowrap;padding:12px 8px;overflow:hidden}.loading-state,.device-table-loading{color:var(--muted)}.loading-state{flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:160px;display:flex}.skeleton{background:linear-gradient(90deg,#94a3b824,#94a3b847,#94a3b824) 0 0/200% 100%;border-radius:10px;animation:1.4s ease-in-out infinite skeleton-shimmer}.skeleton-title{width:180px;height:20px}.skeleton-block{width:min(100%,520px);height:80px}.skeleton-row{width:100%;height:48px}.device-table-loading{text-align:center;padding:18px 0}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.device-table th{padding:10px 8px}.device-table th:first-child{width:18%}.device-table th:nth-child(2){width:14%}.device-table th:nth-child(3){width:15%}.device-table th:nth-child(4){width:18%}.device-table th:nth-child(5){width:11%}.device-table th:nth-child(6),.device-table th:nth-child(7){width:12%}.device-table td:first-child,.device-table th:first-child{padding-left:0}.device-table td:last-child,.device-table th:last-child{padding-right:0}.device{align-items:center;gap:12px;display:flex}.device-icon{color:#2563eb;background:#2563eb14;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex}.device h4{color:var(--foreground);font-size:13.5px;font-weight:700}.device small{color:var(--muted);margin-top:1px;font-size:11.5px;display:block}.device-badge{border-radius:999px;align-items:center;margin-top:5px;padding:3px 9px;font-size:10.5px;font-weight:700;display:inline-flex}.device-badge.blue{color:#2563eb;background:#dbe9fe}.device-badge.green{color:#16a34a;background:#dcfce7}.device-badge.purple{color:#8b5cf6;background:#ede9fe}.device-badge.orange{color:#ea580c;background:#ffedd5}.device-badge.red{color:#dc2626;background:#fee2e2}.device-badge.yellow{color:#ca8a04;background:#fef9c3}.os{align-items:center;gap:9px;font-size:20px;display:flex}.os strong{color:#2b3849;font-size:13px;font-weight:700;display:block}.os small{color:var(--muted);font-size:11px}.owner{color:#2b3849;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.owner>div{flex-direction:column;gap:2px;display:flex}.owner-status{color:var(--muted);align-items:center;font-size:11px;font-weight:600;display:flex}.owner-status .status{margin-right:5px}.owner img{object-fit:cover;border-radius:50%;width:26px;height:26px}.status{border-radius:50%;width:8px;height:8px;margin-right:7px;display:inline-block}.status.online{background:#16a34a;box-shadow:0 0 0 3px #16a34a26}.status.offline{background:#9aa6b6}.battery{align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.battery iconify-icon{font-size:17px}.battery.high{color:#16a34a}.battery.medium{color:#d97706}.battery.low{color:#dc2626}.progress{background:#788caa29;border-radius:4px;width:88px;height:6px;margin:6px 0 4px;overflow:hidden}.progress div{background:linear-gradient(90deg,#60a5fa,#2563eb);border-radius:4px;height:100%}.btn-view{color:#2563eb;cursor:pointer;background:#dbe9fe;border:none;border-radius:10px;padding:8px 16px;font-family:inherit;font-size:12.5px;font-weight:700;text-decoration:none;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:inline-block}.btn-view:hover{background:#c7ddfd}.pagination button.active{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);border-color:#0000}[data-theme=dark] .card-header>div:first-child p{color:#8b95ab}[data-theme=dark] .device-icon{background:#60a5fa24}[data-theme=dark] .device h4,[data-theme=dark] .os strong,[data-theme=dark] .owner{color:#e7ebf5}[data-theme=dark] .device small,[data-theme=dark] .os small{color:#8b95ab}[data-theme=dark] .progress{background:#ffffff14}.device-stats{grid-template-columns:repeat(4,1fr)}.modal-overlay{z-index:100;-webkit-backdrop-filter:blur(4px);opacity:0;visibility:hidden;background:#0f172a73;justify-content:center;align-items:center;padding:24px;transition:opacity .2s,visibility .2s;display:flex;position:fixed;inset:0}.modal-overlay.open{opacity:1;visibility:visible}.device-modal{background:var(--surface);border-radius:24px;flex-direction:column;width:100%;max-width:640px;max-height:88vh;transition:transform .2s;display:flex;overflow:hidden;transform:translateY(16px)scale(.98);box-shadow:0 30px 70px #0f172a59}.modal-overlay.open .device-modal{transform:translateY(0)scale(1)}.close-btn{color:#5a6879;cursor:pointer;background:#ffffffb3;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:20px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex;position:absolute;top:16px;right:16px}.close-btn:hover{background:var(--surface);color:#dc2626}.device-icon.large{border-radius:16px;width:56px;height:56px;font-size:28px}.device-info .device-badge{margin-top:7px}.modal-tabs button.active{color:#2563eb;border-bottom-color:#2563eb}.info-grid{grid-template-columns:1fr 1fr;gap:14px 20px;display:grid}.info-item span{color:var(--muted);font-size:11.5px;display:block}.info-item strong{color:#2b3849;margin-top:2px;font-size:13.5px;font-weight:700;display:block}.mini-stats-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.mini-stat{background:var(--surface-muted);color:#2563eb;border-radius:14px;padding:14px;font-size:19px}.mini-stat span{color:var(--muted);margin-top:8px;font-size:11px;display:block}.mini-stat h4{color:var(--foreground);margin-top:2px;font-size:13.5px;font-weight:800}.danger-btn,.primary-btn{cursor:pointer;border:none;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px;font-family:inherit;font-size:13px;font-weight:700;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex}.danger-btn{color:#dc2626;background:#fee2e2}.danger-btn:hover{background:#fecaca}.primary-btn{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb)}.primary-btn:hover{box-shadow:0 8px 20px #2563eb4d}[data-theme=dark] .device-modal{background:#1a2030}[data-theme=dark] .close-btn{color:#c3cbdb;background:#ffffff14}[data-theme=dark] .mini-stat{background:#ffffff0d}[data-theme=dark] .status-card h4,[data-theme=dark] .sync-card h4,[data-theme=dark] .mini-stat h4,[data-theme=dark] .modal-section h3,[data-theme=dark] .info-item strong{color:#e7ebf5}.edit-toggle-btn{background:var(--surface);color:#2563eb;cursor:pointer;border:1px solid #0000000f;border-radius:12px;align-items:center;gap:6px;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:700;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex;box-shadow:0 4px 12px #5a78aa1a}.edit-toggle-btn:hover{background:var(--surface)}.device-modal.editing .edit-toggle-btn,.device-detail-card.editing .edit-toggle-btn,.edit-mode{display:none}.device-modal.editing .edit-mode,.device-detail-card.editing .edit-mode{display:block}#modalOwnerInput{background:var(--surface);color:#2b3849;border:1px solid #2563eb4d;border-radius:8px;padding:5px 10px;font-family:inherit;font-size:13.5px;font-weight:700}[data-theme=dark] .edit-toggle-btn{background:#ffffff1a}.settings-section+.settings-section{margin-top:22px}.settings-section h3{color:var(--foreground);margin-bottom:10px;font-size:14.5px;font-weight:800}.setting-item{border-bottom:1px solid #2563eb0f;justify-content:space-between;align-items:center;gap:14px;padding:12px 4px;display:flex}.setting-item:last-child{border-bottom:none}.setting-left{color:#2563eb;align-items:center;gap:12px;min-width:0;font-size:19px;display:flex}.setting-left h4{color:var(--foreground);font-size:13.5px;font-weight:700}.setting-left p{color:var(--muted);margin-top:1px;font-size:11.5px}.setting-item input[type=text]{background:var(--surface-muted);color:#2b3849;border:1px solid #00000014;border-radius:10px;width:170px;padding:8px 12px;font-family:inherit;font-size:13px;font-weight:600}.setting-item select{background:var(--surface-muted);color:#2b3849;border:1px solid #00000014;border-radius:10px;padding:8px 12px;font-family:inherit;font-size:12.5px;font-weight:600}.switch{flex-shrink:0;width:42px;height:24px;display:inline-block;position:relative}.switch input{opacity:0;width:0;height:0;position:absolute}.switch span{cursor:pointer;background:#788caa47;border-radius:999px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:absolute;inset:0}.switch span:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch input:checked+span{background:linear-gradient(135deg,#60a5fa,#2563eb)}.switch input:checked+span:before{transform:translate(18px)}.btn{cursor:pointer;border:none;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:9px 16px;font-family:inherit;font-size:12.5px;font-weight:700;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:inline-flex}.btn-primary{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb)}.auth-page{flex:0 0 calc(100% + 60px);place-items:center;width:calc(100% + 60px);min-width:0;min-height:100dvh;margin:-30px;padding:24px;display:grid}.auth-shell{background:#ffffffb8;border:1px solid #ffffffd9;border-radius:22px;width:100%;max-width:none;height:calc(100dvh - 24px);min-height:640px;max-height:1000px;margin:0 auto;display:grid;overflow:hidden;box-shadow:0 16px 40px #506eaa1f;grid-template-columns:repeat(2,minmax(0,1fr))!important}.auth-visual{background:linear-gradient(145deg,#f7faffeb,#e7f1ffc7);flex-direction:column;padding:42px 58px 30px;display:flex;position:relative;overflow:hidden}.auth-visual:after{content:"";opacity:.45;pointer-events:none;background-image:radial-gradient(#3b82f61a 1px,#0000 1px);background-size:16px 16px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000 30%,#000 75%);mask-image:linear-gradient(90deg,#0000 30%,#000 75%)}.auth-brand,.auth-copy,.auth-illustration,.auth-benefits{z-index:1;position:relative}.auth-brand{color:#14213d;align-items:center;gap:16px;display:flex}.auth-brand img{width:58px;height:58px}.auth-brand strong{font-size:27px;line-height:1.05;display:block}.auth-brand span{color:#1461e8;margin-top:4px;font-size:19px;font-weight:800;display:block}.auth-copy{margin-top:30px}.auth-copy h1{color:#14213d;letter-spacing:-.8px;font-size:34px;line-height:1.3}.auth-copy em{color:#1668ed;font-style:normal}.auth-copy p{color:#627494;margin-top:14px;font-size:17px;line-height:1.45}.auth-illustration{place-items:center;height:330px;margin-top:auto;display:grid;overflow:hidden}.auth-hero-image{object-fit:contain;mix-blend-mode:screen;filter:saturate(1.05)drop-shadow(0 18px 24px #2563eb24);width:min(100%,560px);height:auto;max-height:330px}.auth-benefits{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.auth-benefits>div{color:#53698f;background:#ffffffb8;border-radius:15px;align-items:center;gap:10px;padding:16px 12px;font-size:12px;display:flex}.auth-benefits iconify-icon{color:#357ff1;font-size:26px}.auth-benefits b{color:#192844;margin-bottom:4px;font-size:15px;display:block}.auth-form-heading{text-align:center;margin-bottom:12px}.auth-form-heading h2{color:#14213d;font-size:32px}.auth-form-heading p{color:#71819e;margin-top:14px;font-size:17px}.auth-input-wrap{position:relative}.auth-input-wrap>iconify-icon{z-index:1;color:#8c9ab1;font-size:22px;position:absolute;top:50%;left:18px;transform:translateY(-50%)}.auth-input-wrap input{padding-left:56px!important}.auth-card>.auth-form-heading,.auth-card>.edit-field,.auth-card>.auth-error,.auth-card>.auth-submit{width:min(100%,620px);margin-left:auto;margin-right:auto}.auth-divider{color:#93a0b5;align-items:center;gap:14px;width:min(100%,620px);margin:2px auto 0;font-size:13px;font-weight:600;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e2e8f2;flex:1;height:1px}.social-login-row{gap:12px;width:min(100%,620px);margin:0 auto;display:flex}.social-login-row .google-login-button{flex:1 1 0;width:auto;margin:0}.google-login-button{background:var(--surface);color:#273650;cursor:pointer;border:1px solid #d8e2f0;border-radius:10px;justify-content:center;align-items:center;gap:12px;width:min(100%,620px);min-height:50px;margin:0 auto;font-family:inherit;font-size:15px;font-weight:700;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}.google-login-button:hover{background:#f9fbff;border-color:#b9cbe5;box-shadow:0 5px 14px #325a9614}.google-login-button:focus-visible{outline-offset:2px;outline:3px solid #3b82f633}.google-mark{color:#4285f4;place-items:center;width:22px;height:22px;font-family:Arial,sans-serif;font-size:21px;font-weight:800;display:grid}.auth-card{max-width:460px;box-shadow:none;background:#ffffffe6;border-radius:0;flex-direction:column;justify-content:center;gap:24px;width:100%;padding:48px 40px;display:flex}.auth-card .edit-field label{font-size:14px}.auth-card .edit-field input{min-height:48px;padding:11px 14px;font-size:15px}.auth-card .auth-field-heading label{font-size:14px}.auth-card>div:first-child p{font-size:16px!important}.auth-card>div:first-child h3{font-size:23px!important}.auth-card>div:first-child span{font-size:15px!important}.auth-field-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;display:flex}.auth-field-heading label{margin-bottom:0}.auth-card>p:last-child{font-size:14px!important}.password-toggle{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle:hover,.password-toggle:focus-visible{color:var(--brand-blue);background:#2563eb14;outline:none}.auth-error{color:#b42318;background:#fff1f2;border:1px solid #fecaca;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;line-height:1.4}.auth-submit{letter-spacing:.1px;appearance:none;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;margin-top:8px;padding:13px 18px;font-size:18px;font-weight:700;line-height:1.2;transition:transform .18s,box-shadow .18s,opacity .18s;display:inline-flex;box-shadow:0 6px 14px #2563eb33}.auth-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 20px #2563eb47}.auth-submit:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 10px #2563eb33}.auth-submit:focus-visible{outline-offset:3px;outline:3px solid #3b82f647}.auth-submit:disabled{cursor:wait;opacity:.78;box-shadow:none}.auth-spinner{border:2px solid #ffffff73;border-top-color:#fff;border-radius:50%;width:15px;height:15px;animation:.7s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (max-width:480px){.auth-page{width:calc(100% + 60px);margin:-30px;padding:16px}.auth-shell{min-height:0;display:block}.auth-visual{display:none}.auth-card{border-radius:20px;min-height:calc(100dvh - 32px);padding:36px 20px}.auth-form-heading h2{font-size:27px}.auth-form-heading p{font-size:14px}.auth-mobile-logo{width:76px;height:76px;margin-bottom:24px}.auth-help-text{max-width:145px}}body:has(.auth-page){padding:0;display:block}body:has(.auth-page) .auth-page{width:100vw;min-height:100dvh;margin:0;padding:24px}body:has(.auth-page) .auth-shell{width:min(990px,100vw - 80px);max-width:none;height:auto;min-height:0;max-height:none;display:block;position:fixed;inset:57px auto 57px 50%;transform:translate(-50%)}:is(body:has(.auth-page) .auth-shell>.auth-visual,body:has(.auth-page) .auth-shell>.auth-card){width:50%;min-width:0;position:absolute;top:0;bottom:0}body:has(.auth-page) .auth-shell>.auth-visual{left:0}body:has(.auth-page) .auth-shell>.auth-card{right:0}body:has(.auth-page) .auth-visual{background:linear-gradient(145deg,#f7faff 0%,#eef5ff 55%,#e7f0ff 100%);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:has(.auth-page) .auth-brand{display:block}body:has(.auth-page) .auth-brand-logo{object-fit:contain;object-position:left center;mix-blend-mode:multiply;width:min(100%,330px);height:auto;display:block}body:has(.auth-page) .auth-card{background:var(--surface);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:has(.auth-page) .auth-copy h1{letter-spacing:-1.15px;font-size:clamp(30px,2.35vw,36px);font-weight:800;line-height:1.24}body:has(.auth-page) .auth-brand strong{letter-spacing:-.55px;font-size:28px;font-weight:800}body:has(.auth-page) .auth-logo-mark iconify-icon{stroke-width:1.55px;font-size:68px}body:has(.auth-page) .auth-brand span{color:#fff;letter-spacing:3px;background:#1261ee;border-radius:9px;margin-top:6px;padding:3px 18px 4px;font-size:18px;font-weight:800;line-height:1.1;display:inline-block}body:has(.auth-page) .auth-form-heading h2{letter-spacing:-.85px;font-size:clamp(28px,2.1vw,34px);font-weight:800;line-height:1.15}body:has(.auth-page) .auth-form-heading p{letter-spacing:-.1px;font-size:16px;line-height:1.45}body:has(.auth-page) .auth-card .edit-field input:focus{border-color:#2f73e8;outline:none;box-shadow:0 0 0 3px #2f73e824}:is(body:has(.auth-page) .auth-card .edit-field label,body:has(.auth-page) .auth-card .auth-field-heading label){color:#53627c;letter-spacing:-.1px;font-size:15px;font-weight:700}body:has(.auth-page) .auth-card .edit-field input{color:#17233d;background:var(--surface);letter-spacing:-.1px;border-color:#d8e2f3;font-size:16px;font-weight:600}:is(body:has(.auth-page) .auth-submit,body:has(.auth-page) .google-login-button){letter-spacing:-.1px;font-family:inherit;font-weight:750}body:has(.auth-page) .auth-card .auth-input-wrap>iconify-icon{color:#8493aa}@media (max-width:480px){body:has(.auth-page) .auth-shell{top:16px;bottom:16px}body:has(.auth-page) .auth-shell{display:block}body:has(.auth-page) .auth-shell>.auth-visual{display:none}body:has(.auth-page) .auth-shell>.auth-card{width:100%;min-height:calc(100dvh - 32px);left:0;right:0}}.btn-primary:hover{box-shadow:0 6px 16px #2563eb4d}.btn-outline{background:var(--surface);color:#5a6879;border:1px solid #00000014}.btn-outline:hover{background:var(--surface-muted)}.settings-section.danger h3{color:#dc2626}.settings-section.danger{border-top:1px solid #dc26261f;padding-top:6px}[data-theme=dark] .settings-section h3,[data-theme=dark] .setting-left h4{color:#e7ebf5}[data-theme=dark] .setting-item{border-bottom-color:#ffffff0f}[data-theme=dark] .setting-item input[type=text],[data-theme=dark] .setting-item select{color:#e7ebf5;background:#ffffff0f;border-color:#ffffff1a}[data-theme=dark] .btn-outline{color:#c3cbdb;background:#ffffff0f;border-color:#ffffff1a}[data-theme=dark] .switch span{background:#ffffff26}.back-link{color:#2563eb;align-items:center;gap:6px;margin-bottom:8px;font-size:12.5px;font-weight:700;text-decoration:none;display:inline-flex}.back-link iconify-icon{font-size:14px}.back-link:hover{color:#1d4ed8}.header-title p{color:var(--muted);align-items:center;gap:10px;margin-top:6px;font-size:14px;display:flex}.edit-fields-card{grid-template-columns:repeat(3,1fr);gap:16px}.device-modal.editing .edit-fields-card,.device-detail-card.editing .edit-fields-card{display:grid}.edit-field label{color:var(--muted);margin-bottom:6px;font-size:12px;font-weight:700;display:block}.edit-field input,.edit-field select{background:var(--surface);color:#2b3849;border:1px solid #2563eb4d;border-radius:10px;width:100%;padding:9px 12px;font-family:inherit;font-size:13.5px;font-weight:600}.device-detail-stats{grid-template-columns:repeat(3,1fr)}.activity-tabs button.tab{align-items:center;gap:8px;display:flex}.modal-tab-panel{flex-direction:column;gap:16px;display:none}.modal-tab-panel.active{display:flex}.modal-tab-panel .card h3{color:var(--foreground);margin-bottom:14px;font-size:14.5px;font-weight:800}.modal-tab-panel .card .section-header h3{margin-bottom:0}.device-detail-footer{gap:10px;display:flex}[data-theme=dark] .edit-field input,[data-theme=dark] .edit-field select{color:#e7ebf5;background:#ffffff0f;border-color:#60a5fa4d}[data-theme=dark] .modal-tab-panel .card h3{color:#e7ebf5}.wheel-picker-wrap{flex-direction:column;align-items:stretch;gap:4px;display:flex}.wheel-picker-step{background:var(--surface);color:#5b6b84;cursor:pointer;border:1px solid #2563eb40;border-radius:8px;justify-content:center;align-items:center;height:20px;font-size:15px;transition:background .12s,opacity .12s;display:flex}.wheel-picker-step:hover:not(:disabled){background:#2563eb14}.wheel-picker-step:disabled{opacity:.35;cursor:not-allowed}[data-theme=dark] .wheel-picker-step{color:#c3cbdb;background:#ffffff0f;border-color:#60a5fa4d}[data-theme=dark] .wheel-picker-step:hover:not(:disabled){background:#60a5fa24}.wheel-picker{background:var(--surface);border:1px solid #2563eb4d;border-radius:10px;height:84px;position:relative;overflow:hidden}.wheel-picker-scroll{scroll-snap-type:y mandatory;scrollbar-width:none;-ms-overflow-style:none;height:100%;overflow-y:scroll;-webkit-mask-image:linear-gradient(#0000 0,#000 30% 70%,#0000 100%);mask-image:linear-gradient(#0000 0,#000 30% 70%,#0000 100%)}.wheel-picker-scroll::-webkit-scrollbar{display:none}.wheel-picker-item{scroll-snap-align:center;color:#93a1b4;cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;height:28px;font-family:inherit;font-size:13px;font-weight:600;transition:color .12s,font-size .12s;display:flex}.wheel-picker-item.selected{color:#2b3849;font-size:14.5px;font-weight:800}.wheel-picker-highlight{pointer-events:none;background:#2563eb0f;border-top:1px solid #2563eb40;border-bottom:1px solid #2563eb40;height:28px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}[data-theme=dark] .wheel-picker{background:#ffffff0f;border-color:#60a5fa4d}[data-theme=dark] .wheel-picker-item{color:#7c8aa3}[data-theme=dark] .wheel-picker-item.selected{color:#e7ebf5}[data-theme=dark] .wheel-picker-highlight{background:#60a5fa1a;border-color:#60a5fa4d}.add-device-card{text-align:left;cursor:pointer;background:#2563eb08;border:1.5px dashed #2563eb4d;border-radius:20px;align-items:center;gap:14px;width:100%;padding:18px;font-family:inherit;text-decoration:none;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex}.add-device-card:hover{background:#2563eb0f;border-color:#2563eb8c;transform:translateY(-2px)}.add-device-icon{color:#2563eb;background:#2563eb1a;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex}.add-device-card h4{color:#2563eb;font-size:14px;font-weight:700}.add-device-card p{color:var(--muted);margin-top:2px;font-size:12px}[data-theme=dark] .add-device-card{background:#60a5fa0d;border-color:#60a5fa4d}[data-theme=dark] .add-device-icon{background:#60a5fa24}.add-device-modal{max-width:460px}.add-device-modal-header{justify-content:space-between;align-items:flex-start;gap:12px;padding:24px 24px 0;display:flex}.add-device-modal-header h2{color:var(--foreground);font-size:18px;font-weight:800}.add-device-modal-header p{color:#2563eb;margin-top:4px;font-size:12.5px;font-weight:600}.step-indicator{align-items:center;padding:18px 24px 4px;display:flex}.step-dot{width:26px;height:26px;color:var(--muted);background:#788caa29;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:800;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex}.step-dot.active{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb)}.step-dot.done{color:#fff;background:#16a34a}.step-line{background:#788caa29;flex:1;height:2px;margin:0 6px}.add-device-body{padding:20px 24px}.add-device-step{display:none}.add-device-step.active{display:block}.step-intro{color:#5a6879;margin-bottom:18px;font-size:13.5px;line-height:1.6}.child-pick-list{flex-direction:row;gap:10px;display:flex}.child-pick-item{background:var(--surface);cursor:pointer;border:1.5px solid #0000000f;border-radius:14px;align-items:center;gap:12px;width:100%;padding:12px 14px;font-family:inherit;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s;display:flex;position:relative}.child-pick-item:hover{border-color:#2563eb4d}.child-pick-item.selected{background:#2563eb0d;border-color:#2563eb}.child-pick-item img{object-fit:cover;border-radius:50%;width:40px;height:40px}.child-pick-item span{color:var(--foreground);text-align:left;flex:1;font-size:14px;font-weight:700}.child-pick-item .check{color:#2563eb;opacity:0;font-size:20px;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s}.child-pick-item.selected .check{opacity:1}.qr-placeholder{color:#2563eb;background:#2563eb08;border:1.5px dashed #2563eb4d;border-radius:18px;justify-content:center;align-items:center;width:140px;height:140px;margin:0 auto 20px;font-size:64px;display:flex}.code-input-row{justify-content:center;gap:10px;display:flex}.code-digit{background:var(--surface);width:46px;height:56px;color:var(--foreground);text-align:center;border:1.5px solid #0000001a;border-radius:12px;font-family:inherit;font-size:22px;font-weight:800;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s}.code-digit:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}.code-hint{text-align:center;color:var(--muted);margin-top:14px;font-size:12px}.code-hint.error{color:#dc2626;font-weight:700}.success-panel{text-align:center;padding:10px 0 4px}.success-icon{color:#fff;background:linear-gradient(135deg,#4ade80,#16a34a);border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 16px;font-size:34px;display:flex;box-shadow:0 10px 25px #16a34a4d}.success-panel h3{color:var(--foreground);font-size:17px;font-weight:800}.success-panel p{color:#5a6879;margin-top:8px;padding:0 10px;font-size:13px;line-height:1.6}.detected-device-card{text-align:left;background:#f7f9fdcc;border:1px solid #fffc;border-radius:16px;align-items:center;gap:12px;margin-top:18px;padding:12px 14px;display:flex}.detected-device-card .device-icon{flex-shrink:0;width:40px;height:40px;font-size:19px}.detected-device-card h4{color:var(--foreground);font-size:13.5px;font-weight:700}.detected-device-card>div{flex:1;min-width:0}.detected-device-card>div span{color:var(--muted);margin-top:1px;font-size:11.5px;display:block}.detected-battery{color:#16a34a;flex-shrink:0;align-items:center;gap:5px;font-size:13px;font-weight:700;display:flex}.detected-battery iconify-icon{font-size:16px}.detected-device-card .device-icon.avatar{border-radius:50%;overflow:hidden}.detected-device-card .device-icon.avatar img{object-fit:cover;width:100%;height:100%}[data-theme=dark] .detected-device-card{background:#ffffff0d;border-color:#ffffff1a}[data-theme=dark] .detected-device-card h4{color:#e7ebf5}.add-device-footer{background:#f7f9fd99;border-top:1px solid #fffc;align-items:center;gap:12px;padding:18px 24px;display:flex}.add-device-btn{cursor:pointer;border-radius:14px;flex:1;justify-content:center;align-items:center;gap:8px;padding:13px 20px;font-family:inherit;font-size:14px;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s;display:flex}.add-device-btn.secondary{border:1px solid var(--border);background:var(--surface);color:var(--body-text)}.add-device-btn.secondary:hover:not(:disabled){border-color:var(--danger);background:var(--cat-amber-bg)}.add-device-btn.primary{color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);border:none;box-shadow:0 10px 24px #2563eb47,inset 0 1px #ffffff4d}.add-device-btn.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px #2563eb59,inset 0 1px #ffffff4d}.add-device-btn.primary:active:not(:disabled){transform:translateY(0)}.add-device-btn.primary:disabled{box-shadow:none;cursor:not-allowed;background:linear-gradient(135deg,#b9c6e6,#9fb1dc)}.add-device-btn.outline{-webkit-backdrop-filter:blur(16px);color:var(--body-text);background:#fff9;border:1px solid #fffc;flex:none;box-shadow:0 4px 14px #5a78aa1a}.add-device-btn.outline:hover{color:#2563eb;background:#ffffffd9;transform:translateY(-1px)}.add-device-btn iconify-icon{font-size:16px}[data-theme=dark] .add-device-btn.outline{color:#c3cbdb;background:#ffffff0f;border-color:#ffffff1a}[data-theme=dark] .add-device-btn.primary:disabled{background:linear-gradient(135deg,#3a4256,#2e3547)}[data-theme=dark] .add-device-modal-header h2{color:#e7ebf5}[data-theme=dark] .child-pick-item{background:#ffffff0d;border-color:#ffffff14}[data-theme=dark] .child-pick-item span{color:#e7ebf5}[data-theme=dark] .code-digit{color:#e7ebf5;background:#ffffff0f;border-color:#ffffff1f}[data-theme=dark] .success-panel h3{color:#e7ebf5}.report-form-footer .btn{padding:11px 22px;font-size:13px}@keyframes reportRowIn{0%{background:#2563eb1f}to{background:0 0}}[data-theme=dark] .add-device-footer{background:#ffffff08;border-top-color:#ffffff14}@media (max-width:1100px){body{padding:20px}.sidebar{border-radius:26px;width:82px;padding:16px 10px;top:12px;bottom:12px;left:20px}.logo{justify-content:center;margin-bottom:22px}.logo h3,.logo span,.menu-item span,.family-card,.profile-info,.profile-menu-wrap{display:none}.menu-item{justify-content:center;min-height:46px;padding:10px}.menu-item .left{gap:0}.menu-item iconify-icon{width:24px;height:24px;font-size:19px}.profile{justify-content:center;padding:8px}.content{margin-left:102px;padding:2px 0 32px}.stats-grid,.device-stats,.reports-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-layout,.dashboard-grid{grid-template-columns:1fr}.chart-card svg.graph{min-height:260px}.report-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){body{min-height:100dvh;padding:14px 14px 98px;display:block}.sidebar{z-index:1000;border-radius:22px;width:auto;height:70px;min-height:70px;padding:7px;position:fixed;inset:auto 12px 12px;overflow:visible}.sidebar:before,.sidebar:after,.sidebar .glass-light,.sidebar .shine,.sidebar .orb,.sidebar .logo,.sidebar .family-card,.sidebar .profile{display:none}.menu{scrollbar-width:none;flex-direction:row;flex:1;justify-content:space-around;align-items:stretch;gap:2px;width:100%;height:100%;padding:0;overflow:auto hidden}.menu::-webkit-scrollbar{display:none}.menu-item,.menu-item+.menu-item{border-radius:16px;flex:1 0 54px;min-width:54px;min-height:54px;margin:0;padding:7px 5px}.menu-item iconify-icon{width:25px;height:25px;font-size:20px}.menu-item .badge{top:3px;right:calc(50% - 19px)}.content{gap:16px;margin-left:0;padding:0}.content-header,.topbar{gap:12px}.header-right,.topbar-actions{justify-content:flex-start;gap:10px;width:100%}.header-right>.date-btn,.header-right>.edit-toggle-btn{order:-1}.child-profile{margin-left:auto}.stats-grid,.device-stats,.reports-stats,.activity-stats,.device-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{border-radius:18px;padding:16px}.card-header{flex-wrap:wrap;align-items:flex-start;gap:10px}.card-header-actions,.table-actions{justify-content:space-between;width:100%}.activity-tabs{scrollbar-width:none;width:100%;padding:5px;overflow-x:auto}.activity-tabs::-webkit-scrollbar{display:none}.activity-tabs .tab{flex:1 0 max-content;justify-content:center;padding:9px 13px}.activity-layout{align-items:flex-start}.table-wrap{-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 16px}.apps-table,.device-table{min-width:680px}.heatmap-row{min-width:520px}.heatmap-card{overflow-x:auto}.edit-fields-card,.device-detail-card.editing .edit-fields-card{grid-template-columns:1fr}.setting-item,.setting-link,.setting-action{align-items:flex-start}.slider-item{flex-direction:column}.slider-control{width:100%;min-width:0}.device-detail-footer{flex-wrap:wrap}.device-detail-footer>*{flex:1;justify-content:center}.report-form{grid-template-columns:1fr 1fr;gap:12px}.modal-overlay{align-items:flex-end;padding:0}.device-modal,.add-device-modal{border-radius:24px 24px 0 0;width:100%;max-width:none;max-height:92dvh}}@media (max-width:480px){body{padding:12px 12px 94px}.welcome h1,.header-title h1{font-size:21px;line-height:1.2}.welcome p,.header-title p{font-size:12.5px;line-height:1.45}.date-btn{justify-content:center;width:100%}.topbar-actions{flex-wrap:nowrap}.icon-btn{flex-shrink:0;width:42px;height:42px}.child-profile{min-width:0;padding-right:9px}.child-profile h4,.child-profile span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stats-grid,.device-stats,.reports-stats,.activity-stats,.device-detail-stats{grid-template-columns:1fr}.stat-card{padding:15px}.stat-card h2{font-size:18px}.activity-layout,.ai-card,.apps-summary{flex-direction:column;align-items:stretch;gap:14px}.activity-layout .chart{margin:auto}.activity-layout li em{width:76px}.apps-summary-cta{justify-content:center;width:100%;margin-left:0}.chart-card svg.graph{min-height:200px}.heatmap-card .card-header{align-items:flex-start}.heatmap-legend{flex-wrap:wrap}.table-footer,.report-form-footer{flex-direction:column;align-items:stretch}.pagination,.per-page{justify-content:space-between}.report-form{grid-template-columns:1fr}.report-form-footer .btn,.setting-action .btn,.setting-action>button{justify-content:center;width:100%}.setting-item,.setting-action{flex-direction:column}.setting-item input[type=text],.setting-item select{width:100%}.setting-item .switch,.setting-action .switch{align-self:flex-end}.edit-actions{align-items:flex-start;padding:10px 16px}.device-detail-footer>*{flex-basis:100%}.notif-dropdown{width:auto;max-height:calc(100dvh - 112px);position:fixed;inset:auto 12px 88px;overflow-y:auto}.child-dropdown{width:min(260px,100vw - 24px);position:fixed;top:auto;bottom:88px;right:12px}.add-device-modal-header,.device-modal-header{padding:20px 18px 16px}.add-device-body,.modal-body{padding-left:18px;padding-right:18px}.add-device-footer,.modal-footer{padding:14px 18px}}body{background:#eef5ff;padding:30px;display:flex;overflow-x:hidden}.content-header>*,.topbar>*,.header-right>*,.card-header>*,.stat-card>*{min-width:0}@media (min-width:481px) and (max-width:1100px){.stats-grid,.device-stats,.reports-stats,.activity-stats,.device-detail-stats{align-items:stretch}.stats-grid>.stat-card:last-child:nth-child(odd),.device-stats>.stat-card:last-child:nth-child(odd),.reports-stats>.stat-card:last-child:nth-child(odd),.device-detail-stats>.stat-card:last-child:nth-child(odd){grid-column:1/-1}}@media (max-width:768px){.content-header>.header-title,.topbar>.welcome{flex:100%}.header-right{align-items:stretch}.header-right>.date-btn,.header-right>.edit-toggle-btn,.header-right>.topbar-actions{flex:100%;width:100%}.header-right>.date-btn,.header-right>.edit-toggle-btn{justify-content:center}.topbar-actions{min-height:46px}.stats-grid>*,.dashboard-grid>*,.screen-layout>*,.report-form>*,.edit-fields-card>*,.activity-layout ul,.apps-summary-item{min-width:0}}@media (max-width:480px){.header-right,.topbar-actions{gap:8px}.topbar-actions .dropdown-wrap{flex-shrink:0}.topbar-actions .child-profile{max-width:calc(100% - 104px)}.card-header-actions,.table-actions{align-items:center}.btn-filter{flex:1;justify-content:center}}.device-selector{background:var(--glass-bg);border:1px solid var(--glass-border);-webkit-backdrop-filter:blur(18px);border-radius:16px;flex-wrap:wrap;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:6px;display:flex}.device-chip{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:11px;align-items:center;gap:8px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:700;transition:background .18s,color .18s,box-shadow .18s;display:inline-flex}.device-chip iconify-icon{font-size:16px}.device-chip:hover:not(.active){color:var(--foreground);background:#2563eb0f}.device-chip.active{background:var(--surface);color:var(--brand-blue);box-shadow:0 1px 3px #2563eb2e}.device-pick-prompt{text-align:center;padding:40px 20px}.device-pick-prompt strong{margin-bottom:6px;font-size:15px;display:block}.device-pick-prompt p{color:var(--muted);font-size:13px}.range-switch{background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:12px;gap:4px;padding:4px;display:inline-flex}.range-chip{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:5px 12px;font-family:inherit;font-size:12px;font-weight:700;transition:background .18s,color .18s}.range-chip:hover:not(.active){color:var(--foreground);background:#2563eb0f}.range-chip.active{background:var(--surface);color:var(--brand-blue);box-shadow:0 1px 3px #2563eb2e}.site-badge{width:34px;height:34px;color:var(--brand-blue);background:#2563eb14;border-radius:10px;flex:0 0 34px;justify-content:center;align-items:center;font-size:19px;display:inline-flex}.stack{flex-direction:column;display:flex}.muted{color:var(--muted)}.muted-sm{color:var(--muted);font-size:13px}.error-text{color:var(--danger,#dc2626)}.pager{justify-content:space-between;align-items:center;margin-top:16px;display:flex}.data-row{border-bottom:1px solid #2563eb14;align-items:center;gap:12px;padding:12px 0;display:flex}.data-row-body{flex:1;min-width:0}.data-row-title{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;display:block;overflow:hidden}.data-row-sub{font-size:12px}.data-row-value{color:var(--muted);font-size:13px;font-style:normal;font-weight:600}.data-row-time{width:44px;color:var(--muted);font-size:13px}.activity-context{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.activity-context-right{align-items:center;gap:10px;margin-left:auto;display:flex}.day-nav{align-items:center;gap:4px;display:flex}.day-nav .btn-view{padding:4px 9px}.day-nav-label{text-align:center;min-width:88px;font-size:13px;font-weight:700}.tab-transition{animation:.16s both tabIn}@keyframes tabIn{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;transition-delay:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}}.auth-download-link{color:var(--muted);border-radius:9px;justify-content:center;align-items:center;gap:8px;margin:4px auto 0;padding:8px 12px;font-size:13px;font-weight:700;text-decoration:none;transition:background .16s,color .16s;display:inline-flex}.auth-download-link:hover{color:var(--brand-blue);background:#2563eb0f}.auth-download-link iconify-icon{font-size:16px}
