:root{--navy:#0b233b;--teal:#087f86;--ink:#14243a;--muted:#566b80;--line:#dce5ef;--surface:#fff;--bg:#edf2f8;--red:#d92436;--green:#16834b;--shadow:0 5px 18px #122f4910}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font:14px/1.45 Segoe UI,Roboto,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:var(--ink);background:#fff;border:1px solid #cbd7e4;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:10px 14px;font-weight:600;display:inline-flex}button:hover{background:#e7f4f5;border-color:#83b6be}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #62b6ce}button:disabled{opacity:.45;cursor:not-allowed}.primary,.active{color:#fff!important;background:linear-gradient(135deg,#0c939a,#076e79)!important;border-color:#0000!important}.danger{color:var(--red);background:#fff;border:1px solid #ed8791}.danger:hover{background:#fff1f3}.solid-danger{color:#fff;background:#df2636;border-color:#df2636}.solid-danger:hover{color:#fff;background:#bf1c2d}.ghost{color:var(--muted);background:0 0;border-color:#0000}.ic{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0;width:19px;height:19px}.logo .ic{stroke-width:1.8px;width:36px;height:36px}.titlebar{z-index:5;background:#eaf0f8;border-bottom:1px solid #d7e2ed;align-items:center;gap:8px;height:34px;padding:0 14px;font-size:12px;font-weight:650;display:flex;position:fixed;top:0;left:0;right:0}.titlebar .ic{color:var(--teal);width:17px}.titlebar .end{color:#5b6f82;margin-left:auto;font-weight:400}.sidebar{color:#fff;background:linear-gradient(155deg,#102d48,#081d32);border-radius:12px 12px 0 0;flex-direction:column;width:235px;padding:22px 12px 16px;display:flex;position:fixed;inset:34px auto 0 0;overflow:auto}.brand{align-items:center;gap:12px;padding:0 8px;display:flex}.logo{color:#fff;background:linear-gradient(145deg,#17b6a7,#057a83);border:2px solid #c4f7f2;border-radius:16px 16px 23px 23px;flex-shrink:0;place-items:center;width:53px;height:58px;display:grid}.brand strong{font-size:19px;line-height:1.2;display:block}.role{color:#e2f7ff;background:#1b4562;border:1px solid #467f98;border-radius:5px;margin-top:5px;padding:3px 8px;font-size:11px;display:inline-block}.nav{gap:4px;margin-top:24px;display:grid}.nav button{color:#dce9f4;text-align:left;white-space:nowrap;background:0 0;border:0;justify-content:flex-start;padding:11px 12px;font-size:13px}.nav button:hover{color:#fff;background:#1b4663}.sidefoot{text-align:center;color:#b9cde0;margin-top:auto;padding:28px 7px 0}.sidefoot>.ic{color:#47c5b5;stroke-width:1.3px;width:60px;height:60px}.sidefoot strong{color:#fff;margin:8px;font-size:15px;display:block}.side-status{text-align:left;background:#173950;border:1px solid #305169;border-radius:9px;align-items:center;gap:8px;margin-top:22px;padding:12px;display:flex}.side-status .ic{color:#5cdb99}.side-status small{color:#bbd0e2}main{max-width:none;min-height:100vh;margin-left:235px;padding:54px 24px 28px}.top{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.heading{align-items:center;gap:12px;min-width:0;display:flex}.heading>.ic{width:37px;height:37px;color:var(--teal);stroke-width:1.8px}h1,h2,h3,p{margin:0}h1{letter-spacing:-.6px;font-size:27px;line-height:1.2}h2{letter-spacing:-.2px;font-size:17px}h3{font-size:15px}p{margin:8px 0}small,.muted{color:var(--muted);font-size:12px}.top small{margin-top:4px;display:block}.health{border:1px solid var(--line);background:#f9fcfe;border-radius:12px;align-items:center;gap:10px;min-width:300px;padding:10px 13px;display:flex}.health>.ic{width:26px;height:26px;color:var(--green)}.health b{color:#13683e}.health.paused b,.health.paused>.ic{color:#b36c08}.health .switch{margin-left:auto}.switch{appearance:none;cursor:pointer;vertical-align:middle;background:#a7b6c6;border:0;border-radius:20px;flex-shrink:0;width:45px;height:25px;margin:0;position:relative}.switch:checked{background:#08939b}.switch:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002}.switch:checked:after{left:23px}.switch:disabled{opacity:.5;cursor:not-allowed}.panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fbfdff;border-radius:13px;min-width:0;margin-bottom:14px;padding:17px}.panelhead,.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.panelhead{justify-content:space-between;margin-bottom:14px}.panelhead h2,.sectiontitle{align-items:center;gap:9px;display:flex}.panelhead h2 .ic,.sectiontitle .ic{color:var(--teal)}.spread{justify-content:space-between}.grow{flex:1;min-width:0}.stack{gap:4px;display:grid}.filters{grid-template-columns:1fr 1.2fr .85fr;gap:18px;display:grid}.field{gap:6px;min-width:0;font-size:12px;font-weight:600;display:grid}.fieldbox{background:#f6f9fc;border:1px solid #cbd7e4;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:0 10px;display:flex}.fieldbox>.ic{color:#4d657c}.fieldbox select,.fieldbox input{outline-offset:0;width:100%;min-width:0;color:var(--ink);background:0 0;border:0;padding:11px 0}input:not([type=checkbox]):not([type=radio]),select{color:var(--ink);background:#f9fbfd;border:1px solid #cbd7e4;border-radius:8px;min-width:0;max-width:100%;padding:10px 11px}.fieldbox input,.fieldbox select{border:0!important;padding:11px 0!important}.tabsbar{background:#e7edf5;border:1px solid #dbe4ee;border-radius:11px;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;width:100%;margin:0 0 14px;padding:5px;display:grid}.tabsbar button{white-space:normal;background:0 0;border:0;width:100%;min-width:0;padding:12px 5px;font-size:13px;font-weight:600;line-height:1.2}.tabsbar .ic{width:18px;height:18px}.summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:0 0 14px;display:grid}.stat{background:var(--tint);border:1px solid #ffffff90;border-radius:12px;align-items:center;gap:12px;min-width:0;padding:15px 12px;display:flex}.stat-icon,.tileicon{background:var(--iconbg,#e5f1f6);width:42px;height:42px;color:var(--accent,#087f86);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.stat-icon{background:#ffffffa0;border-radius:50%}.stat-icon .ic{width:23px;height:23px}.stat b{letter-spacing:-.6px;font-size:24px;line-height:1.1;display:block}.stat small{margin-top:3px;display:block}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.search{flex:1;min-width:180px;max-width:380px}.toolbar select{font-size:12px}.tablegrid{grid-template-columns:minmax(85px,.65fr) minmax(210px,2.5fr) minmax(115px,1.05fr) minmax(95px,.8fr) minmax(110px,.85fr);align-items:center;gap:12px;display:grid}.thead{background:#eaf0f7;border-radius:7px;padding:11px 10px;font-size:12px;font-weight:650}.record{border-bottom:1px solid #e0e7f0;min-height:66px;padding:12px 10px}.record:hover{background:#f2f8fb}.item{align-items:center;gap:10px;min-width:0;display:flex}.item>div{min-width:0}.item b{font-size:13px}.url{color:#455e75;overflow-wrap:anywhere;font-size:12px}.appicon{color:#2376bf;background:#e5effd;border-radius:8px;flex-shrink:0;place-items:center;width:31px;height:31px;display:grid}.appicon .ic{width:20px;height:20px}.appicon.youtube{color:#ef263d;background:#fce6e9}.appicon.game{color:#465973;background:#e8eaf0}.appicon.school{color:#188248;background:#e0f4e9}.pill{color:#13703f;white-space:nowrap;background:#daf4e5;border-radius:30px;align-items:center;gap:4px;padding:4px 9px;font-size:11px;font-weight:600;display:inline-flex}.pill .ic{width:13px;height:13px}.pill.red{color:#bc2334;background:#fce5e8}.pill.blue{color:#185e99;background:#e1effc}.pill.amber{color:#915b08;background:#fff0d4}.actioncell{flex-wrap:wrap;gap:6px;display:flex}.actioncell button{min-height:31px;padding:6px 9px;font-size:12px}.actioncell .ic{width:15px;height:15px}.tablefoot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:15px;display:flex}.tablefoot button{min-height:32px;padding:5px 9px;font-size:12px}.group-grid,.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.groupcard{text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:flex-start;align-items:center;gap:12px;min-width:0;padding:15px;display:flex}.groupcard b{overflow-wrap:anywhere}.groupcard>.ic:last-child{color:var(--muted);margin-left:auto}.listrow{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:13px;padding:14px 0;display:flex}.listrow:last-child{border-bottom:0}.listrow .grow b{overflow-wrap:anywhere}.card{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:16px}.card .row{margin-bottom:10px}.card p{color:var(--muted)}.notice{color:#285779;background:#e5f1fb;border:1px solid #d1e4f6;border-radius:9px;align-items:flex-start;gap:9px;margin:12px 0;padding:12px;font-size:12px;display:flex}.notice .ic{width:18px;height:18px}.bars{gap:14px;display:grid}.bar{background:#e6edf5;border-radius:10px;height:9px;margin-top:6px;overflow:hidden}.bar>i{background:linear-gradient(90deg,#14a8a1,#087f86);border-radius:10px;height:100%;display:block}.empty{text-align:center;color:var(--muted);padding:32px}.empty .ic{color:#8ea7bc;width:32px;height:32px}.bottom,.mobilebrand{display:none}.toast{color:#fff;z-index:20;background:#102b45;border-radius:10px;max-width:90vw;padding:14px 18px;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 20px #0002}dialog{width:min(490px,100vw - 32px);max-height:calc(100dvh - 36px);color:var(--ink);background:#fbfdff;border:1px solid #dce5ed;border-radius:18px;padding:0;overflow:auto;box-shadow:0 24px 90px #081e4055}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#10294188}.dialoghead{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding:20px 20px 14px;display:flex}.dialoghead h2{font-size:19px}.dialoghead .close{min-height:32px;margin-left:auto;padding:7px}.dialogbody{padding:18px 20px}.dialogfoot{border-top:1px solid var(--line);gap:10px;padding:14px 20px 20px;display:flex}.dialogfoot button{flex:1}.target{overflow-wrap:anywhere;background:#edf3f9;border:1px solid #dce5ef;border-radius:10px;align-items:center;gap:12px;margin-bottom:18px;padding:13px;display:flex}.choice{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;align-items:flex-start;gap:10px;margin:8px 0;padding:12px;display:flex}.choice:has(input:checked){background:#e2f2f6;border-color:#74b6be}.choice:has(input:disabled){opacity:.45;cursor:not-allowed}.choice input{accent-color:#087f86;margin-top:4px}.choice small{margin-top:3px;display:block}.dialogbody .field{margin-top:14px}.dialogbody .field select,.dialogbody .field input{width:100%}.dialogbody .notice{margin-bottom:0}.modalgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.modalgrid button{justify-content:flex-start}.statusdot{background:#22aa70;border-radius:50%;width:9px;height:9px;display:inline-block}.statusdot.off{background:#e1a03b}.mobile{background:var(--bg);max-width:620px;min-height:100dvh;margin:0 auto;box-shadow:0 0 80px #18395118}.mobile .titlebar,.mobile .sidebar{display:none}.mobile .mobilebrand{color:#fff;background:linear-gradient(145deg,#112d48,#0a2238);border-bottom:4px solid #0b9a9f;align-items:center;gap:10px;padding:14px 16px 18px;display:flex}.mobilebrand .logo{width:43px;height:47px}.mobilebrand .logo .ic{width:28px;height:28px}.mobilebrand b{font-size:18px;display:block}.mobilebrand small{color:#b8d0e2}.mobilebrand button{color:#fff;background:0 0;border-color:#0000;min-height:40px;padding:8px}.mobile main{min-height:calc(100dvh - 84px);margin:0;padding:16px 14px 98px}.mobile .top{flex-direction:column;align-items:stretch;gap:12px}.mobile h1{font-size:23px}.mobile .heading>.ic{width:28px;height:28px}.mobile .health{min-width:0}.mobile .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile .filters .field:last-child{grid-column:1/-1}.mobile .tabsbar{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile .tabsbar button{gap:5px;min-height:44px;padding:8px 3px;font-size:12px}.mobile .summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mobile .stat:last-child{grid-column:1/-1}.mobile .stat{gap:8px;padding:10px}.mobile .panel{padding:13px}.mobile .thead{display:none}.mobile .record{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:12px 0}.mobile .record .time{color:var(--muted);grid-column:1/-1;font-size:11px}.mobile .record .item{grid-column:1/-1}.mobile .record .result{grid-column:2;justify-self:end}.mobile .record .actioncell{grid-column:1/-1;justify-content:flex-end}.mobile .actioncell button{min-height:40px;padding:8px 14px;font-size:13px}.mobile .group-grid,.mobile .cards{grid-template-columns:1fr}.mobile .toolbar .search{flex-basis:100%;max-width:none}.mobile .bottom{z-index:5;width:min(620px,100%);padding:7px 5px max(7px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#f9fcff;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -4px 15px #122f4912}.bottom button{background:0 0;border:0;border-radius:12px;flex-direction:column;gap:3px;min-height:54px;padding:7px 2px;font-size:11px;display:flex}.bottom .ic{width:22px;height:22px}.mobile dialog{border-radius:23px 23px 0 0;width:min(620px,100%);max-width:100%;max-height:92dvh;margin:0 auto;position:fixed;inset:auto 0 0}.mobile .dialoghead:before{content:"";background:#9eabb9;border-radius:5px;width:36px;height:4px;position:absolute;top:6px;left:calc(50% - 18px)}.mobile .dialoghead{padding-top:25px}.mobile .toast{bottom:83px;right:12px}.mobile .listrow{gap:10px}.mobile .listrow .grow{min-width:105px}.mobile .tablefoot{font-size:12px}.mobile .panelhead{gap:9px}.mobile .panelhead button{font-size:12px}.mobile .dialogfoot button{min-height:48px}@media (width>=1600px){.desktop main{padding-left:28px;padding-right:28px}.desktop .record{min-height:72px}.desktop .tabsbar button{padding:13px 7px;font-size:14px}}@media (width<=1100px){.desktop .sidebar{width:195px}.desktop main{margin-left:195px;padding-left:15px;padding-right:15px}.desktop .summary{grid-template-columns:repeat(3,minmax(0,1fr))}.desktop .top{flex-wrap:wrap}.desktop .tabsbar{grid-template-columns:repeat(3,minmax(0,1fr))}.desktop .tablegrid{grid-template-columns:70px minmax(125px,2fr) minmax(75px,1fr) minmax(75px,.8fr) 85px;gap:7px}.desktop .brand strong{font-size:15px}.desktop .logo{width:40px;height:45px}.desktop .logo .ic{width:28px;height:28px}.desktop .nav button{padding:10px 6px;font-size:12px}}@media (width<=760px){.desktop .titlebar,.desktop .sidebar{display:none}.desktop .mobilebrand{color:#fff;background:#102b45;align-items:center;gap:10px;padding:12px;display:flex}.desktop .mobilebrand .grow small{color:#bed2e4}.desktop main{margin:0;padding:14px 12px 86px}.desktop .bottom{z-index:5;border-top:1px solid var(--line);background:#fff;grid-template-columns:repeat(5,1fr);padding:6px;display:grid;position:fixed;bottom:0;left:0;right:0}.desktop .filters{grid-template-columns:1fr}.desktop .summary{grid-template-columns:repeat(2,1fr)}.desktop .stat:last-child{grid-column:1/-1}.desktop .thead{display:none}.desktop .record{grid-template-columns:1fr auto}.desktop .record .time,.desktop .record .item,.desktop .record .actioncell{grid-column:1/-1}.desktop .health{width:100%;min-width:0}.desktop .group-grid,.desktop .cards{grid-template-columns:1fr}.desktop .heading>.ic{width:28px;height:28px}.desktop h1{font-size:22px}}.source .appicon{width:27px;height:27px}.source .appicon .ic{width:17px;height:17px}.mobile .source .appicon{display:none}.mobile .mobilebrand{position:relative}.desktop .sidebar .nav button .ic{width:19px}.stat-icon{color:var(--accent)}.mobile .modalgrid button{white-space:normal;text-align:left;font-size:12px}.mobile .panelhead{align-items:center}.mobile .health small{font-size:11px}.mobile .toolbar select{flex:1;min-width:0}.mobile .listrow .grow,.dialogbody{overflow-wrap:anywhere}.dialogfoot{background:#fbfdff;position:sticky;bottom:0}.mobile .dialogbody{padding-bottom:12px}.mobile .record .source,.mobile .record .result{min-width:0}.mobile .record .item .url{word-break:break-word}.mobile .toast{bottom:12px}@media (width<=420px){.mobile .tabsbar .ic{width:16px;height:16px}.mobile .tabsbar button{font-size:11px}.mobile .mobilebrand b{font-size:16px}.mobile .mobilebrand{padding-left:12px;padding-right:8px}.mobile .mobilebrand button{padding:6px}.mobile .stat small{font-size:11px}}.mobile .summary{grid-template-columns:repeat(6,minmax(0,1fr))}.mobile .stat{flex-direction:column;grid-column:span 2;align-items:flex-start;gap:5px;padding:9px}.mobile .stat:nth-child(4),.mobile .stat:nth-child(5){flex-direction:row;grid-column:span 3;align-items:center}.mobile .stat-icon{width:28px;height:28px}.mobile .stat-icon .ic{width:17px;height:17px}.mobile .stat b{font-size:20px}.mobile .stat small{font-size:11px;line-height:1.15}.mobile .top{gap:9px;margin-bottom:12px}.mobile .top .heading small{font-size:11px}.mobile .health{padding:9px 11px}.mobile .filters{gap:7px}.mobile .filters .fieldbox select{padding:8px 0!important}.mobile .tabsbar{gap:3px;padding:4px}.mobile .tabsbar button{min-height:40px}.mobile .record .time,.mobile .record .item{grid-column:1/-1}.mobile .record .source{grid-column:1}.mobile .record .result{grid-column:2}.mobile .record .actioncell{grid-column:1/-1}.mobile .panelhead h2{font-size:15px}.mobile .toolbar{gap:7px}.mobile .toolbar select{padding:8px}.mobile .record{padding:10px 0}.mobile .record .actioncell button{min-height:36px;padding:7px 12px}.mobile .summary,.mobile .panel{margin-bottom:11px}@media (width<=360px){.mobile .stat small{font-size:10px}.mobile .tabsbar button{gap:3px;font-size:10px}.mobile .tabsbar .ic{width:14px;height:14px}.mobile .mobilebrand b{font-size:14px}}.login-wrap{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{width:min(430px,100%)}.login-card .field{margin-top:14px}.login-card .field input{width:100%}.error-text{color:var(--red);margin-top:10px;font-size:13px}.hint-text{color:var(--muted);margin-top:10px;font-size:12px}.spin{border:2px solid #cbd7e4;border-top-color:var(--teal);vertical-align:middle;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}
