:root{color-scheme:light;--ink:#171e25;--muted:#646a71;--line:#e0e3e7;--pale:#f4f7f4;--accent:#1f5fae;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--pale);color:var(--ink)}a{color:var(--accent);text-underline-offset:3px}a:hover{color:#173e9e}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button,input,textarea,select{font:inherit}[hidden],input[type=hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:#fff;border-right:1px solid var(--line);padding:30px 18px 20px;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:10px;color:#161719;text-decoration:none;letter-spacing:-.6px;font-size:20px;font-weight:700;line-height:1}.brand:hover{color:#161719}.brand-mark{width:29px;height:29px;flex:none}.brand-product{display:block;color:var(--muted);font-weight:500;font-size:10px;letter-spacing:1.8px;margin-top:7px}.sidebar .brand{margin:0 8px 42px}.nav-label{font-size:11px;font-weight:600;color:#85888d;padding:0 12px;margin-bottom:10px}.workspace-nav{display:grid;gap:4px}.workspace-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;color:#585c62;text-decoration:none;font-size:13px;border-radius:5px}.workspace-nav a:hover{background:#f5f5f5;color:#222}.workspace-nav a.selected{background:#ededed;color:#161719;font-weight:600}.nav-symbol{width:18px;font-size:19px;line-height:1;text-align:center;color:#787c82}.sidebar-bottom{margin-top:auto;display:grid;gap:12px;padding:20px 12px 0}.sidebar-bottom a{font-size:12px;color:#65696e;text-decoration:none}.sidebar-bottom span{font-size:10px;color:#999da3;margin-top:10px}
.shell{margin-left:220px;min-width:0}.topbar{height:63px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:12px;color:var(--muted)}.topbar a{color:var(--muted);text-decoration:none}.separator{margin:0 12px;color:#b3b5b9}.panel{max-width:1140px;margin:0 auto;padding:32px 36px 20px}.panel-heading{margin-bottom:24px}.panel-heading h1{margin:0;font-size:26px;line-height:1.25;letter-spacing:-.7px;font-weight:650}.panel-content>p:first-child{margin-top:0}.panel-content p{color:var(--muted)}.site-footer{max-width:1140px;margin:4px auto 0;padding:20px 36px 28px;display:flex;justify-content:space-between;font-size:11px;color:#85888d}.site-footer a{color:#85888d}
.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:6px;margin-bottom:18px}.stat{min-width:0;padding:18px 20px}.stat+.stat{border-left:1px solid var(--line)}.stat-label{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.stat strong{display:block;font-size:17px;font-weight:550;overflow-wrap:anywhere;letter-spacing:-.5px}.stat-note{display:block;color:#7b7f85;font-size:11px;margin-top:6px}.mono{font-family:"SFMono-Regular",Consolas,monospace;font-variant-numeric:tabular-nums}.quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}.button-link,button{display:inline-flex;justify-content:center;align-items:center;min-height:36px;padding:7px 13px;border:1px solid #26282c;border-radius:5px;background:#26282c;color:#fff;text-decoration:none;cursor:pointer;font-size:12px;font-weight:550}.button-link:hover,button:hover{background:#101113;color:#fff;border-color:#101113}.button-secondary{background:#fff;border-color:#d9dce0;color:#3b3f45}.button-secondary:hover{background:#f1f2f3;border-color:#bfc3c9;color:#202124}
fieldset{min-width:0;border:0;padding:0;margin:24px 0 0}legend{padding:0;margin-bottom:12px;font-size:14px;font-weight:650;letter-spacing:-.2px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.choice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);cursor:pointer;min-width:0}.choice:nth-child(odd){border-right:1px solid var(--line)}.choice:last-child,.choice:nth-last-child(2):nth-child(odd){border-bottom:0}.choice:hover{background:#fafafa}.choice input{flex:none;width:15px;height:15px;margin:3px 0 0;accent-color:var(--accent)}.choice strong{display:block;font-size:12px;line-height:1.4;font-weight:600}.choice small{margin-top:4px;line-height:1.5;font-size:11px}.section-heading{margin:30px 0 14px;padding-top:24px;border-top:1px solid var(--line)}.section-heading h2{font-size:15px;letter-spacing:-.3px;margin:0;font-weight:650}.section-heading p{font-size:12px;margin:5px 0 0}.field-label{display:block;font-size:12px;font-weight:550;margin:14px 0;color:#41444a}input:not([type=checkbox]):not([type=hidden]),textarea,select{display:block;width:100%;margin-top:6px;border:1px solid #d3d6db;border-radius:5px;padding:9px 11px;min-height:38px;background:#fff;color:var(--ink);font-size:13px}input:focus,textarea:focus,select:focus{outline:2px solid #2457d622;border-color:var(--accent)}textarea{min-height:88px;resize:vertical;font-family:Consolas,monospace;font-size:12px}small,.helper{display:block;color:var(--muted);font-size:11px}.helper{margin:10px 0 20px;max-width:850px}.checkbox-row{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin:12px 0}.checkbox-row input{flex:none;margin:3px 0 0;accent-color:var(--accent)}.form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}.account-actions{margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}.error{padding:12px 14px;border:1px solid #f0cece;background:#fff4f4;color:#a22c2c!important;border-radius:5px}
.auth-page{background:#f8f8f7}.auth-page .shell{margin:0 auto;width:min(100% - 40px,420px)}.auth-brand{display:flex;justify-content:center;padding:72px 0 36px}.auth-page .panel{padding:30px;background:#fff;border:1px solid var(--line);border-radius:7px}.auth-page .panel-heading{margin-bottom:9px}.auth-page .panel-heading h1{font-size:23px}.auth-intro{font-size:13px;margin:0 0 24px}.auth-form button{width:100%;margin-top:8px}.auth-form .field-label{margin:18px 0}.auth-links{font-size:12px;margin:22px 0 0}.auth-page .site-footer{padding:22px 0}.auth-form{max-width:none}
.query-intro{font-size:12px;max-width:800px;margin:0 0 20px}.query-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.segmented-nav{display:inline-flex;flex-wrap:wrap;gap:18px;border-bottom:1px solid var(--line);margin-bottom:12px}.segmented-nav a{font-size:12px;color:var(--muted);text-decoration:none;padding:8px 0;border-bottom:2px solid transparent;margin-bottom:-1px}.segmented-nav a.active{color:var(--ink);border-color:var(--ink);font-weight:600}.query-tools .segmented-nav{margin:0}.live-status{display:flex;align-items:center;gap:7px;color:#4c5967!important;font-size:11px;margin:0!important}.live-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#4f6783}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:5px;background:#fff}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:12px 15px;border-bottom:1px solid #eeeff0;white-space:nowrap}th{background:#fafafa;font-weight:550;color:#6b6f75;font-size:11px}tbody tr:last-child td{border:0}tbody tr:hover{background:#fafafa}.domain-cell{min-width:170px;max-width:320px;overflow-wrap:anywhere;white-space:normal;font-weight:500}.badge{display:inline-flex;padding:2px 6px;border-radius:3px;font-size:10px;font-weight:550}.badge-answered{background:#eef1f4;color:#3d526a}.badge-blocked{background:#fbefec;color:#a04533}.badge-not_found,.badge-error{background:#f0f1f3;color:#6b6f75}.empty-state{padding:28px 20px;background:#fff;border:1px solid var(--line);border-radius:5px;text-align:center;font-size:12px}.clear-form{margin-top:18px}
.notice{padding:12px 14px;border:1px solid var(--line);background:#fff;border-radius:5px;font-size:12px}.timezone-panel{padding:18px;background:#fff;border:1px solid var(--line);border-radius:5px;margin:20px 0}.timezone-panel>p{font-size:12px;margin:0}.timezone-panel form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.timezone-panel .field-label{flex:1;min-width:160px;margin:12px 0 0}.schedule-list{display:grid;gap:10px}.schedule-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:5px}.schedule-title,.schedule-actions,.schedule-actions form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.schedule-title{justify-content:space-between}.schedule-title h2{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.schedule-time{font-size:12px;margin:7px 0}.schedule-card .helper{overflow-wrap:anywhere}.schedule-actions button,.schedule-actions .button-link{min-height:32px;font-size:11px;padding:5px 10px}.muted-count{margin-left:7px;color:#85888d;font-size:12px;font-weight:400}.day-grid{display:flex;flex-wrap:wrap;gap:6px}.day-choice{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #dadddf;border-radius:4px;padding:9px 11px;font-size:12px;cursor:pointer}.day-choice:has(input:checked){border-color:#9baacb;background:#f5f7fc}.day-choice input{accent-color:var(--accent);margin:0}.time-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#schedule-editor{scroll-margin-top:20px}
@media(min-width:1500px){.panel{padding-top:42px}}
@media(max-width:900px){.sidebar{width:190px;padding:24px 12px}.sidebar .brand{margin-left:4px;font-size:18px}.shell{margin-left:190px}.panel{padding:26px 24px}.topbar{padding:0 24px}.site-footer{padding-left:24px;padding-right:24px}.choice-grid{grid-template-columns:1fr}.choice:nth-child(odd){border-right:0}.choice:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--line)}}
@media(max-width:900px){.sidebar{position:static;width:auto;padding:18px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 18px;font-size:19px}.brand-product{display:inline;margin-left:8px;font-size:10px;letter-spacing:.7px}.brand-mark{width:26px;height:26px}.nav-label,.sidebar-bottom{display:none}.workspace-nav{display:flex;gap:5px;padding-bottom:10px}.workspace-nav a{padding:9px 10px;font-size:12px;gap:6px}.nav-symbol{font-size:16px;width:16px}.shell{margin:0}.topbar{display:none}.panel{padding:24px 18px 12px}.panel-heading{margin-bottom:20px}.panel-heading h1{font-size:24px}.summary-grid{grid-template-columns:1fr}.stat{padding:14px 16px}.stat+.stat{border-left:0;border-top:1px solid var(--line)}.stat strong{font-size:16px}.stat-note{margin-top:3px}.choice{padding:14px 15px}.query-tools{align-items:flex-start;flex-direction:column}.site-footer{padding:20px 18px}.auth-brand{padding-top:45px}.auth-page .panel{padding:26px}.auth-page .shell{width:min(100% - 36px,420px)}}
.filter-group{margin:18px 0;background:#fff;border:1px solid var(--line);border-radius:5px;overflow:hidden}.filter-group>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--line)}.filter-group h2{margin:0;font-size:14px;font-weight:600}.filter-group header>span{font-size:11px;color:var(--muted)}.filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,34%);gap:20px;padding:15px 18px;border-bottom:1px solid var(--line);align-items:start}.filter-row:last-child{border-bottom:0}.filter-row label{display:flex;align-items:center;gap:10px;font-size:12px;cursor:pointer}.filter-row input{accent-color:var(--accent)}.filter-row details{margin:8px 0 0 26px;font-size:11px;color:var(--muted)}.filter-row summary{cursor:pointer}.filter-row .helper{margin:7px 0 0}.filter-row .domain-list{font:11px/1.8 Consolas,monospace;overflow-wrap:anywhere;max-height:180px;overflow:auto}.filter-schedules{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.filter-schedules span{color:var(--muted)}.filter-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:16px 0}.filter-search .field-label{flex:1;min-width:160px;margin:0}.decision{margin:24px 0;padding:20px;border:1px solid var(--line);background:#fff;border-radius:5px}.decision h2{font-size:18px;overflow-wrap:anywhere;margin:10px 0}.decision p{font-size:13px;overflow-wrap:anywhere}.domain-browser{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);background:#fff;border-radius:5px;max-height:500px;overflow:auto}.domain-browser a{padding:8px 12px;border-bottom:1px solid var(--line);font:11px/1.5 Consolas,monospace;overflow-wrap:anywhere}.sticky-save{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0;background:var(--pale);border-top:1px solid var(--line);z-index:2}.sticky-save span{font-size:11px;color:var(--muted)}.target-section{margin:12px 0}.target-section>summary{font-size:12px;font-weight:600;cursor:pointer;padding:10px 0}.reason-cell{min-width:190px;max-width:320px;white-space:normal;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:900px){.workspace-nav{flex-wrap:wrap}.workspace-nav a{font-size:11px;padding:8px}.filter-row{grid-template-columns:1fr;gap:10px}.filter-schedules{margin-left:26px}.domain-browser{grid-template-columns:1fr}}

.sidebar{box-shadow:1px 0 0 #16281d06}.brand-mark{color:#114b8e}.workspace-nav a{border-radius:8px}.workspace-nav a.selected{background:#eaeef3;color:#133255}.workspace-nav a.selected .nav-symbol{color:#1f5fae}.shell{min-height:100vh}.topbar{background:#fffefa}.panel{padding-top:36px}.panel-heading h1{color:#172536}.section-heading{border-color:#e3e6e9}.summary-grid,.choice-grid,.table-wrap,.empty-state,.notice,.device-card,.schedule-card,.filter-group{box-shadow:0 2px 10px #17251f05}.button-link,button{background:#153e6d;border-color:#153e6d;border-radius:7px}.button-link:hover,button:hover{background:#0e3056;border-color:#0e3056}.button-secondary{background:#fff;border-color:#d6dadf;color:#283543}.button-secondary:hover{background:#f1f6f2;border-color:#acb8c6;color:#162639}.choice:hover,.workspace-nav a:hover{background:#f2f7f3}.live-status{color:#314c6b!important}.live-status::before{box-shadow:0 0 0 3px #50826420}

/* Home activity: one quiet panel, with request counts and an hourly chart. */
.activity-card{margin:0 0 22px;padding:24px;background:#fff;border:1px solid #dce0e4;border-radius:8px}
.activity-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px}
.activity-heading h2,.activity-disabled h2{margin:0;color:#25303c;font-size:18px;line-height:1.4;font-weight:700;letter-spacing:-.2px}
.activity-actions{display:flex;align-items:center;gap:18px;font-size:13px}
.activity-actions a{display:inline-flex;align-items:center;min-height:32px;color:#334e6c;text-decoration:none;font-weight:600}
.activity-actions .activity-refresh{color:#62686e;font-weight:400}
.activity-actions a:hover{text-decoration:underline;color:#22374e}
.activity-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0 0;padding:0 0 22px;border-bottom:1px solid #e6ebe7}
.activity-stats>div{min-width:0;padding:0 20px}
.activity-stats>div:first-child{padding-left:0}
.activity-stats>div+div{border-left:1px solid #e6ebe7}
.activity-stats strong{display:block;color:#25303c;font-size:28px;font-weight:700;line-height:1.2;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.activity-stats>div:nth-child(2) strong{color:#9a503d}
.activity-stats span{display:block;margin-top:6px;color:#62686e;font-size:13px}
.hourly-activity{margin:20px 0 0}
.activity-chart-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:14px;color:#62686e;font-size:12px}
.activity-legend{display:flex;gap:16px}
.activity-legend span{display:inline-flex;align-items:center;gap:6px}
.activity-legend i{width:8px;height:8px;background:#455f7d}
.activity-legend .legend-blocked{background:#b86b56}
.activity-bars{height:88px;display:flex;align-items:flex-end;gap:4px;border-bottom:1px solid #d9dde2}
.activity-bar{position:relative;flex:1;min-width:0;height:0;background:#455f7d;overflow:hidden}
.activity-bar:hover{outline:1px solid #6f7781;outline-offset:2px}
.activity-level-0{height:0}.activity-level-1{height:10%}.activity-level-2{height:20%}.activity-level-3{height:30%}.activity-level-4{height:40%}.activity-level-5{height:50%}.activity-level-6{height:60%}.activity-level-7{height:70%}.activity-level-8{height:80%}.activity-level-9{height:90%}.activity-level-10{height:100%}
.activity-blocked{position:absolute;inset:0 0 auto;height:0;background:#b86b56}
.activity-blocked-0{height:0}.activity-blocked-1{height:10%}.activity-blocked-2{height:20%}.activity-blocked-3{height:30%}.activity-blocked-4{height:40%}.activity-blocked-5{height:50%}.activity-blocked-6{height:60%}.activity-blocked-7{height:70%}.activity-blocked-8{height:80%}.activity-blocked-9{height:90%}.activity-blocked-10{height:100%}
.activity-axis{display:flex;justify-content:space-between;margin-top:7px;color:#62686e;font-size:11px;font-variant-numeric:tabular-nums}
.hourly-activity figcaption{margin-top:14px;color:#62686e;font-size:12px}
.activity-disabled{display:flex;align-items:center;justify-content:space-between;gap:24px}
.activity-disabled p{max-width:600px;margin:8px 0 0;font-size:13px}
.activity-disabled .button-link{white-space:nowrap}
@media(max-width:760px){
  .activity-card{padding:20px 18px}
  .activity-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px;margin-top:18px;padding-bottom:18px}
  .activity-stats>div{padding:0 14px}.activity-stats>div:nth-child(odd){padding-left:0;border-left:0}
  .activity-stats strong{font-size:25px}.activity-stats span{font-size:12px}
  .activity-bars{height:80px;gap:3px}
  .activity-disabled{align-items:flex-start;flex-direction:column;gap:14px}.activity-disabled .button-link{white-space:normal}
}
.eyebrow{color:#647281;font-size:9px;font-weight:700;letter-spacing:1.3px}.query-actions button{border-radius:6px}.query-actions button[name=action][value=block]{color:#9b473d;border-color:#ead7d3}.query-actions button[name=action][value=block]:hover{background:#fff3f0;color:#86372e}.query-actions button[name=action][value=allow]{color:#214267;border-color:#d4dce6}.query-actions button[name=action][value=allow]:hover{background:#eff3f8;color:#153150}



.device-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}.device-card{border:1px solid #dededb;border-radius:8px;padding:24px;margin:20px 0;background:#fff}.device-card form{margin-top:20px}.device-card .quick-actions{gap:16px}.profile-context{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:14px 18px;margin-bottom:24px;background:#eeefec;border-radius:6px}.profile-context span{font-size:12px;color:#555}.profile-context a{margin-left:auto}

.query-actions{display:flex;gap:6px;margin:0}.query-actions button{padding:5px 9px;font-size:12px;min-height:32px}

.setup-intro,.setup-shortcut{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px;margin-bottom:24px}.setup-intro h2{font-size:28px;letter-spacing:-.8px;margin:6px 0 10px}.setup-intro p{max-width:620px;margin:0}.guide-kicker{text-transform:uppercase;font-size:10px;letter-spacing:1.1px;font-weight:650;color:var(--muted)}.setup-progress{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0 30px;font-size:12px}.setup-progress b{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e8ebe8;margin-right:8px}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.guide-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:24px;margin:0 0 18px;scroll-margin-top:20px}.guide-card h2{font-size:19px;margin:6px 0 18px;letter-spacing:-.4px}.guide-body>details{border-top:1px solid var(--line);padding:14px 0;font-size:12px}.guide-card summary{font-weight:600;cursor:pointer}.setup-steps{padding-left:20px;color:#555b63;font-size:13px;line-height:1.65}.setup-steps li{padding-left:5px;margin-bottom:14px}.setup-shortcut{padding:18px 20px}.setup-shortcut p{margin:4px 0 0;font-size:12px}.query-search{display:flex;align-items:flex-end;gap:12px;margin:12px 0 20px}.query-search .field-label{flex:1;margin:0}.query-search>a{font-size:12px;padding:10px 0}.device-card h2{overflow-wrap:anywhere}.guide-card code{overflow-wrap:anywhere}@media(max-width:760px){.guide-grid{grid-template-columns:1fr}.setup-intro,.setup-shortcut{align-items:flex-start;flex-direction:column;gap:16px}.setup-intro h2{font-size:24px}.query-search{flex-wrap:wrap}.query-search .field-label{flex-basis:100%}}

.filter-group>summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:17px 18px;list-style:none}.filter-group>summary::-webkit-details-marker{display:none}.filter-group>summary::before{content:"▸";color:var(--muted)}.filter-group[open]>summary::before{content:"▾"}.filter-group[open]>summary{border-bottom:1px solid var(--line)}.filter-group>summary>span{margin-left:auto;font-size:11px;color:var(--muted)}

.help-hero{padding:34px;overflow:hidden;min-height:250px}.help-hero h2{font-size:34px;line-height:1.12;letter-spacing:-1.2px}.help-hero .button-link{margin-top:22px}.help-hero p{max-width:430px}.platform-icon{width:34px;height:34px;flex-shrink:0}.help-illustration{width:260px;min-width:220px;position:relative;height:190px;color:#39414b}.illustration-monitor,.illustration-phone{position:absolute;display:grid;justify-items:center;gap:14px;padding:20px;background:#edf2ee;border:1px solid #d2d8df;border-radius:14px}.illustration-monitor{left:0;top:0;width:180px;height:136px}.illustration-monitor .platform-icon{width:90px;height:70px}.illustration-phone{right:0;top:40px;width:92px;height:134px;background:#fff}.illustration-phone .platform-icon{width:36px;height:64px}.help-illustration span{font-size:8px;letter-spacing:.7px}.illustration-check{position:absolute;bottom:0;left:10px;display:flex;gap:9px;align-items:center;background:#25303d;color:white;border-radius:20px;padding:10px 14px;box-shadow:0 6px 16px #263c3214}.illustration-check span{font-size:11px;letter-spacing:0}.platform-guide{padding:0;margin:0;align-self:start;overflow:hidden}.platform-guide>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:23px;cursor:pointer}.platform-guide>summary::-webkit-details-marker{display:none}.platform-icon-wrap{display:flex;padding:10px;background:#f1f3f0;border-radius:10px;color:#303b48}.platform-title{display:grid;gap:5px;flex:1}.platform-title strong{font-size:16px}.platform-title small{font-size:10px;color:var(--muted)}.setup-mode{display:inline-block;background:#eef3ef;border:1px solid #dfe3e7;color:#384553;border-radius:20px;padding:4px 8px;font-size:10px;white-space:nowrap}.platform-guide>summary .setup-mode{display:none}.guide-chevron{color:#777;transition:transform .15s}.platform-guide[open] .guide-chevron{transform:rotate(180deg)}.guide-body{padding:0 24px 20px;border-top:1px solid var(--line)}.guide-body h3{font-size:13px;margin-top:22px}.guide-callout{background:#f2f5f2;border-radius:8px;padding:18px;margin-top:20px;font-size:12px}.guide-callout p{line-height:1.6}.guide-grid{margin-bottom:24px}.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.download-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;display:flex;align-items:flex-start;flex-direction:column;gap:12px}.download-card h3{margin:0;font-size:19px;letter-spacing:-.4px}.download-card p{font-size:13px;line-height:1.65;margin:0}.download-card form{margin-top:auto}.download-card>a{font-size:12px}.enrollment{padding:26px;background:#f1f4f1;border:1px solid #dce0e4;border-radius:12px;margin-bottom:30px}.enrollment h2{font-size:26px;letter-spacing:-.7px}.manual-address{background:#fff;border:1px solid var(--line);padding:18px;border-radius:8px;margin:22px 0}.manual-address>summary{font-size:13px;font-weight:600;cursor:pointer}.manual-address .field-label{margin-top:18px}@media(max-width:760px){.help-hero{padding:25px}.help-hero h2{font-size:29px}.help-illustration{align-self:center;margin-top:8px}.download-grid{grid-template-columns:1fr}.enrollment{padding:18px}.platform-guide>summary{padding:18px}.platform-title strong{font-size:15px}}@media(prefers-reduced-motion:reduce){.guide-chevron{transition:none}}
.server-picker{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px 20px;margin:0 0 24px}.server-picker legend{float:left;width:100%;margin-bottom:4px}.server-picker .helper{margin:6px 0 12px}.server-picker .helper:last-child{margin:12px 0 0}.server-options{display:grid;gap:8px;clear:both}.server-option{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;cursor:pointer;min-width:0}.server-option:has(input:checked){border-color:#9bafc5;background:#f1f4f8}.server-picker .server-option input[type=radio]{flex:none;display:inline-block;width:15px;height:15px;min-height:0;margin:0;padding:0;border:0;accent-color:var(--accent)}.server-name{display:grid;gap:3px;min-width:0;flex:1}.server-name strong{font-size:13px}.server-name .mono{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.server-latency{font:11px/1.4 "SFMono-Regular",Consolas,monospace;color:var(--muted);white-space:nowrap}.server-fastest .server-latency::after{content:" · fastest";color:#3d526a;font-weight:600}.dns-address{font-weight:600}.stat .dns-address{font-weight:inherit}.server-unavailable{opacity:.6;cursor:not-allowed;background:#f6f6f5}

.query-reason{display:grid;gap:3px;min-width:210px}.query-reason strong{font-size:11px;font-weight:650;color:#25303c}.query-reason small{margin:0;font-size:10px;color:#70767d}.query-reason code{font:10px/1.4 Consolas,monospace;color:#444d57;overflow-wrap:anywhere;white-space:normal}.reason-label{justify-self:start;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:700;letter-spacing:.2px;background:#edf2ee;color:#565d65}.reason-blocklist .reason-label{background:#eef1f4;color:#264972}.reason-service .reason-label{background:#f1effb;color:#5f50a0}.reason-protection .reason-label{background:#e8f1fb;color:#2b5d8f}.reason-schedule .reason-label{background:#fff5e8;color:#8c5a16}.reason-custom .reason-label{background:#fff0ed;color:#994b3c}.reason-allow .reason-label,.reason-pass .reason-label{background:#eaeff5;color:#26476d}.reason-missing .reason-label{background:#f0f1f2;color:#686f73}

/* Keep the live query table inside its panel and make its controls compact. */
.table-wrap:has(.query-table){width:100%;max-width:100%;overflow-x:auto}
.query-table{width:100%;min-width:0;table-layout:fixed;font-size:11px}
.query-table th,.query-table td{padding:9px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.query-table th:nth-child(1){width:14%}.query-table th:nth-child(2){width:9%}.query-table th:nth-child(3){width:14%}.query-table th:nth-child(4){width:5%}.query-table th:nth-child(5){width:8%}.query-table th:nth-child(6){width:19%}.query-table th:nth-child(7){width:9%}.query-table th:nth-child(8){width:11%}.query-table th:nth-child(9){width:11%}
.query-table td.mono{font-size:10px}.query-table .domain-cell{min-width:0;max-width:none;font-size:11px}.query-table .reason-cell{min-width:0;max-width:none}.query-table .query-reason{min-width:0}.query-actions{gap:4px}.query-actions button{min-height:27px;padding:3px 7px;font-size:10px;line-height:1.2}
@media(max-width:900px){.table-wrap:has(.query-table){overflow-x:auto}.query-table{min-width:900px}}

.network-link{margin-top:9px}.network-link button{min-height:28px;padding:4px 9px;font-size:10px}

.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.account-card{min-width:0;padding:22px;background:#fff;border:1px solid var(--line);border-radius:8px}.account-card h2{margin:7px 0 16px;font-size:17px;letter-spacing:-.3px;color:#25303c}.account-card p{font-size:12px;line-height:1.65}.account-details{margin:0}.account-details>div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.account-details>div:last-child{border-bottom:0}.account-details dt{font-size:11px;color:var(--muted)}.account-details dd{margin:0;min-width:0;font-size:12px;font-weight:600;overflow-wrap:anywhere}.plan-status{padding:12px 14px;border-radius:6px;background:#f3f6f3;color:#30455c}.account-support{font-size:12px;font-weight:600;color:var(--accent)}.account-security{margin-top:16px;max-width:720px}.account-password{max-width:540px}.account-password .field-label{margin:12px 0}.account-logout{margin-top:16px;max-width:720px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.account-logout .eyebrow{width:100%}.account-logout h2,.account-logout p{margin:0}.account-logout h2{margin-right:auto}.account-logout form{margin-left:auto}.account-logout button{min-height:34px}
@media(max-width:900px){.account-grid{grid-template-columns:1fr}.account-card{padding:17px}.account-logout{align-items:flex-start}.account-logout .eyebrow{width:100%}.account-logout h2{width:100%;margin:0}.account-logout p{flex:1}.account-logout form{margin:0}}

.query-search .device-filter{flex:0 0 230px;min-width:160px}.query-search select{cursor:pointer}
@media(max-width:900px){.query-search .device-filter{flex-basis:100%}}

/* ---- Easy interface (2026-10): plain-language layout on top of the styles above ---- */
:root{font-size:15px;--ok:#1f5fae;--ok-pale:#e6f0fb;--warn:#9a5b0b;--warn-pale:#fff6e6;--todo:#2457a6;--todo-pale:#eef4fd;--radius:14px}
body{line-height:1.55}
.panel{max-width:1080px}.panel-heading h1{font-size:30px;letter-spacing:-.8px}
.topbar{font-size:13px}.topbar a{font-weight:600;color:var(--accent)}
.workspace-nav{gap:3px;margin-top:6px}.workspace-nav a{font-size:14px;padding:11px 12px;gap:12px}.nav-icon{width:20px;height:20px;flex:none;color:#6f767d}
.workspace-nav a.selected .nav-icon{color:var(--accent)}.sidebar .brand{margin-bottom:30px}
.sidebar-bottom a{font-size:13px}
.button-link,button{border-radius:10px;min-height:42px;padding:9px 16px;font-size:14px;font-weight:600}
.button-secondary.button-danger{background:#fff;color:#a3342b;border-color:#efc9c4}.button-secondary.button-danger:hover{background:#fff1ef;color:#a3342b;border-color:#e3b1aa}
.eyebrow{font-size:11px;letter-spacing:1.4px}
a:hover{color:#0b325e}

/* status at the top of Home */
.status-hero{display:flex;align-items:center;gap:20px;padding:24px 26px;margin:0 0 20px;border-radius:var(--radius);border:1px solid var(--line);background:#fff}
.status-hero h2{margin:0;font-size:22px;letter-spacing:-.5px}.status-hero p{margin:6px 0 0;font-size:15px;color:#3f454c!important;max-width:620px}
.status-icon{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;font-size:24px;font-weight:700}
.status-hero{flex-wrap:wrap}.status-text{flex:1 1 250px;min-width:0}.status-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-left:auto}.status-actions form{margin:0}
.status-ok{background:var(--ok-pale);border-color:#ccdae9}.status-ok .status-icon{background:var(--ok);color:#fff}
.status-todo{background:var(--todo-pale);border-color:#d3e2f7}.status-todo .status-icon{background:var(--todo);color:#fff}
.status-warn,.status-info{background:var(--warn-pale);border-color:#f2dfb8}.status-warn .status-icon,.status-info .status-icon{background:var(--warn);color:#fff}
.status-device{background:#fff}.status-device .status-icon{background:var(--accent);color:#fff}

/* DNS numbers with copy buttons */
.dns-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 28px;align-items:center;padding:24px 26px;margin:0 0 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.dns-card h2{margin:4px 0 0;font-size:19px;letter-spacing:-.4px}.dns-card p{margin:6px 0 0;font-size:14px}
.dns-numbers{display:grid;gap:10px}.dns-number{display:flex;align-items:center;justify-content:space-between;gap:16px}.dns-number>span{font-size:13px;color:var(--muted);min-width:96px}
.copy-chip{display:inline-flex;align-items:center;gap:10px;padding:6px 6px 6px 14px;background:#f2f7f4;border:1px solid #d7dee5;border-radius:10px;vertical-align:middle;white-space:nowrap}
.copy-chip .dns-address{font-size:17px;font-weight:700;color:#132336;letter-spacing:.2px}
.pair-chip{white-space:normal;flex-wrap:wrap;max-width:100%;box-sizing:border-box}.pair-chip code{min-width:0;overflow-wrap:anywhere;font-size:13px}
.copy-button{min-height:30px;padding:4px 12px;font-size:12px;border-radius:8px;background:#fff;color:#19385c;border:1px solid #cdd4dc}.copy-button:hover{background:#e8edf2;color:#0e2a4b;border-color:#b6c2d0}
.big-steps .copy-chip{margin:2px 0}.big-steps .copy-chip .dns-address{font-size:15px}
.server-details{grid-column:1/-1;margin-top:8px;font-size:13px;color:var(--muted)}.server-details>summary{cursor:pointer;width:max-content;max-width:100%}.server-details>summary span{color:var(--accent);font-weight:600}
.server-details .server-picker{margin:12px 0 0;box-shadow:none}

/* task tiles */
.task-tiles{margin:6px 0 28px}.task-tiles h2{font-size:18px;margin:0 0 12px;letter-spacing:-.3px}
.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.tile{display:grid;gap:4px;align-content:start;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s,transform .15s}
.tile:hover{border-color:#a8b9cc;box-shadow:0 6px 18px #17251f12;transform:translateY(-1px);color:var(--ink)}
.tile strong{font-size:15px}.tile span{font-size:13px;color:var(--muted)}.tile-icon{width:28px;height:28px;color:var(--accent);margin-bottom:6px}

/* settings */
.settings-form .section-heading{border:0;padding-top:4px}
.settings-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;margin:0 0 14px}
.settings-card h2{font-size:16px;margin:0 0 4px}.settings-card>p{font-size:14px;margin:0 0 4px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two-col textarea{min-height:110px}
.switch-row{display:flex;align-items:flex-start;gap:14px;cursor:pointer;margin-top:8px}.switch-row span{display:grid;gap:3px}.switch-row strong{font-size:14px}.switch-row small{font-size:13px}
.switch-row input{appearance:none;flex:none;width:46px;height:26px;margin:0;border-radius:20px;background:#cfd3d8;position:relative;cursor:pointer;transition:background .15s}
.switch-row input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:left .15s}
.switch-row input:checked{background:var(--accent)}.switch-row input:checked::after{left:23px}
.switch-row input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.advanced>summary{display:grid;gap:2px;cursor:pointer;list-style:none}.advanced>summary::-webkit-details-marker{display:none}.advanced>summary strong{font-size:15px}.advanced>summary span{font-size:13px;color:var(--muted)}
.advanced>summary strong::after{content:" ▸";color:var(--muted)}.advanced[open]>summary strong::after{content:" ▾"}
.settings-form .form-actions button{min-width:180px}

/* setup guide */
.setup-hero{padding:30px;margin:0 0 22px;border-radius:18px;background:linear-gradient(120deg,#0d3a6d,#184f8d);color:#fff}
.setup-hero h2{margin:6px 0 8px;font-size:32px;line-height:1.15;letter-spacing:-1px;color:#fff}.setup-hero p{color:#e5ecf4!important;font-size:16px;margin:0;max-width:560px}.setup-hero .eyebrow{color:#bed1e7}
.step-strip{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;padding:0;margin:20px 0 0;font-size:14px;font-weight:600}
.step-strip li{display:flex;align-items:center;gap:9px}.step-strip b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffff26;border:1px solid #ffffff59}
.setup-step{margin:0 0 30px}.step-heading{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}.step-heading h2{margin:2px 0 4px;font-size:21px;letter-spacing:-.4px}.step-heading p{margin:0;font-size:14px}
.step-number{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:16px}
.platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.choice-tile{position:relative;display:grid;gap:4px;align-content:start;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s,transform .15s}
.choice-tile:hover{border-color:#9eb1c7;box-shadow:0 6px 18px #17251f12;transform:translateY(-1px);color:var(--ink)}
.choice-tile .platform-icon{width:34px;height:34px;color:var(--accent);margin-bottom:6px}.choice-tile strong{font-size:16px}.choice-tile span{font-size:13px;color:#4a5158}.choice-tile small{font-size:12px;color:var(--muted);margin-top:4px}
.choice-tile:first-child{border:2px solid var(--accent)}
.choice-tile .recommended{position:absolute;top:12px;right:12px;padding:3px 9px;border-radius:20px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}
.setup-step>.server-details{margin:0 0 12px}
.guide-list{display:grid;gap:10px}.guide-list .platform-guide{margin:0}
.setup-choices>h2{margin:0 0 4px;font-size:23px}.setup-choices>p{margin:0 0 18px}
.setup-choice-list{display:grid;gap:12px;max-width:960px}
.setup-choice-list>.platform-guide,.setup-choice-list>.setup-app-choice{margin:0}
.setup-app-choice{display:flex;align-items:center;gap:14px;padding:23px;text-decoration:none;color:var(--ink)}
.setup-app-choice>span:nth-child(2){display:grid;gap:5px;flex:1}.setup-app-choice strong{font-size:16px}
.setup-app-choice small{font-size:14px;color:var(--muted)}.setup-app-choice:hover{border-color:var(--accent);color:var(--ink)}
.setup-choice-list>.platform-guide:not([open]) .platform-title>small,.setup-choice-list>.platform-guide .recommended{display:none}
.setup-choice-list>.platform-guide>summary .platform-short{font-size:14px}
.setup-choice-list .platform-title{min-width:0}.setup-internet-choice .guide-list{margin-top:14px}
.setup-check>summary{font-size:16px}.setup-check:not([open]){padding-block:18px}
.setup-section-summary{display:flex;align-items:center;gap:12px;list-style:none;min-width:0}
.setup-section-summary::-webkit-details-marker{display:none}.setup-section-summary::marker{content:""}
.setup-section-picture{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px}
.setup-section-picture img{display:block;width:34px;height:34px}.setup-section-picture .pic{flex:none}
.setup-section-name{flex:1;min-width:0}.setup-section-chevron{flex:0 0 16px;transition:transform .15s;color:var(--muted)}
details[open]>.setup-section-summary .setup-section-chevron{transform:rotate(180deg)}
.setup-more>.setup-section-summary{padding:12px 20px}.setup-more>.setup-section-summary::after,.setup-more[open]>.setup-section-summary::after{content:none}
.setup-check:has(>.setup-section-summary){padding:12px 20px}
@media(prefers-reduced-motion:reduce){.setup-section-chevron{transition:none}}
@media(max-width:600px){.setup-app-choice{padding:18px}.setup-choice-list>.platform-guide>summary{padding:18px}}
.platform-guide[open]{border-color:#a8b9cc;box-shadow:0 6px 22px #17251f10}
.needs{font-size:14px;margin:16px 0 4px}
.big-steps{counter-reset:step;list-style:none;padding:0;margin:14px 0}
.big-steps>li{counter-increment:step;position:relative;padding:4px 0 14px 46px;font-size:15px;line-height:1.65;color:#252c33}
.big-steps>li::before{content:counter(step);position:absolute;left:0;top:2px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e3edf9;color:#12355c;font-weight:700;font-size:14px}
.guide-tip{padding:14px 16px;background:#f6f9f7;border-left:3px solid var(--accent);border-radius:8px;font-size:14px}
.guide-done{display:flex;align-items:center;gap:12px;margin:18px 0 10px}.guide-done span{font-weight:600}
.undo>summary,.faq summary{cursor:pointer;font-weight:600;font-size:14px;padding:10px 0}
.faq{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:6px 20px;margin-bottom:14px}.faq details+details{border-top:1px solid var(--line)}.faq p{font-size:14px;margin:0 0 12px}
#check .big-steps{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 20px 8px}

/* devices */
.page-intro{margin-bottom:18px}.page-intro p{font-size:15px;margin:0 0 6px}
.page-intro-line{font-size:15px;color:#3f454c!important;margin:16px 0}
.add-device{border:2px solid #ced8e3}.inline-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.inline-form .field-label{flex:1;min-width:220px;margin:0}
.device-head{display:flex;align-items:center;gap:12px}.device-head h2{margin:0;font-size:19px}
.device-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e3edf9;color:#12355c;font-weight:700;font-size:17px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.chip{padding:3px 10px;border-radius:20px;background:#f0f3f1;color:#4d535a;font-size:12px}.chip-on{background:var(--ok-pale);color:var(--ok)}
.device-card .quick-actions{gap:8px;margin-bottom:6px}.device-card .button-link{min-height:38px;padding:7px 13px;font-size:13px}
.manage{margin-top:10px;border-top:1px solid var(--line);padding-top:6px}.manage>summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--muted);padding:6px 0}.manage form{margin:12px 0}
.profile-context{background:#e9eef4;border:1px solid #ccd8e5;border-radius:12px;gap:12px}.profile-context .nav-icon{color:var(--accent)}.profile-context span{font-size:14px;color:#242d38}

/* activity: technical columns stay out of the way until asked for */
.tech-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:0 0 10px;cursor:pointer}
.query-table .tech{display:none}body:has(#show-tech:checked) .query-table .tech{display:table-cell}
.query-table th:nth-child(1){width:15%}.query-table th:nth-child(2){width:12%}.query-table th:nth-child(3){width:21%}.query-table th:nth-child(5){width:9%}.query-table th:nth-child(6){width:27%}.query-table th:nth-child(9){width:16%}
.query-table th:nth-child(4){width:5%}.query-table th:nth-child(7){width:9%}.query-table th:nth-child(8){width:11%}
/* Activity's Result pill (Blocked, Allowed) stays one word on one line (DSN-6): its column is as wide as the pill
   and Why takes what is left. Long website names in the other cells still wrap anywhere. */
.query-table .badge{white-space:nowrap;overflow-wrap:normal;flex:none}
.query-table th:nth-child(5){width:104px}.query-table th:nth-child(6){width:auto}

@media(max-width:900px){.platform-grid{grid-template-columns:1fr 1fr}.dns-card{grid-template-columns:1fr}}
@media(max-width:900px){
  .panel-heading h1{font-size:26px}
  .status-hero{flex-direction:column;align-items:flex-start;padding:20px}.status-actions{justify-content:flex-start}
  .dns-number{flex-direction:column;align-items:flex-start;gap:4px}
  .two-col{grid-template-columns:1fr}
  .setup-hero{padding:22px}.setup-hero h2{font-size:26px}
  .platform-grid{grid-template-columns:1fr}
  .big-steps>li{padding-left:40px;font-size:14px}
  .copy-chip{white-space:normal}
  .nav-icon{width:17px;height:17px}.workspace-nav a{font-size:12px;padding:8px 10px;gap:7px}
}
@media(prefers-reduced-motion:reduce){.tile,.choice-tile{transition:none}.tile:hover,.choice-tile:hover{transform:none}}
.clear-form button{min-height:34px;padding:6px 12px;font-size:13px;font-weight:500;color:#8a3b33;border-color:#ead7d3}
#query-history:target{outline:3px solid var(--accent);outline-offset:3px}

/* ---- Pretty layer (2026-10): typeface, colour tokens, softer cards. Themes only change the tokens. ---- */
@font-face{font-family:"Nunito";font-style:normal;font-weight:400 800;font-display:swap;src:url(/font.woff2) format("woff2")}
:root{--font:"Nunito",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--bg:#f3f7f4;--card:#fff;--line:#e1e5e9;--ink:#171e26;--muted:#656b71;
  --accent:#1f5fae;--accent-deep:#174c8f;--accent-soft:#e6edf4;--accent-ring:#12867233;--hero-a:#0d3a6d;--hero-b:#205da3;
  --mark-bg:linear-gradient(135deg,var(--hero-b),var(--hero-a));--mark-fg:#fff;
  --side-bg:#fff;--side-border:var(--line);--side-brand:#171e26;--side-text:#555b62;--side-muted:#7d848b;--side-icon:#7d848b;--side-hover:#f1f6f2;--side-active-bg:#e3eaf1;--side-active-text:#112d4e;--side-active-icon:var(--accent);
  --rose:#c9473b;--rose-soft:#fdecea;--amber:#b4700e;--amber-soft:#fff3dc;--sky:#2b6cb0;--sky-soft:#e7f0fb;--violet:#6b4fbb;--violet-soft:#efeafb;
  --radius:16px;--radius-sm:10px;--shadow-sm:0 1px 2px #17251f0a,0 6px 20px -12px #17251f1f;--shadow-md:0 2px 4px #17251f0a,0 14px 34px -14px #17251f2e;
  font-family:var(--font)}
body{background:var(--bg);background-image:radial-gradient(900px 420px at 12% -8%,var(--accent-soft),transparent 62%);background-attachment:fixed}
h1,h2,h3,legend,.brand{font-weight:800}
a{color:var(--accent-deep)}a:hover{color:var(--accent)}
.panel-heading h1{font-weight:800;letter-spacing:-.6px;color:var(--ink)}
.eyebrow,.guide-kicker{color:var(--accent);font-weight:800}

/* sidebar and top bar */
.sidebar{background:var(--side-bg);border-right:1px solid var(--side-border);box-shadow:none}
.brand{color:var(--side-brand)}.brand:hover{color:var(--side-brand)}.brand-product{color:var(--side-muted)}
.brand-mark{width:34px;height:34px;padding:6px;border-radius:10px;background:var(--mark-bg);color:var(--mark-fg);box-shadow:0 6px 14px -6px var(--accent)}
.workspace-nav a{color:var(--side-text);border-radius:12px;font-weight:600}.nav-icon{color:var(--side-icon)}
.workspace-nav a:hover{background:var(--side-hover);color:var(--side-active-text)}.workspace-nav a:hover .nav-icon{color:var(--side-active-icon)}
.workspace-nav a.selected{background:var(--side-active-bg);color:var(--side-active-text);font-weight:800}.workspace-nav a.selected .nav-icon{color:var(--side-active-icon)}
.sidebar-bottom a{color:var(--side-muted)}.sidebar-bottom a:hover{color:var(--side-active-text)}
.topbar{height:60px;background:transparent;border-bottom:0;justify-content:flex-end;padding-top:8px}.topbar>span{display:none}
.topbar a{padding:8px 15px;border-radius:999px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-sm);color:var(--accent-deep)}.topbar a:hover{border-color:#b8c5d4;color:var(--accent)}
.panel{padding-top:18px}.site-footer{color:#8c9197}.site-footer a{color:#8c9197}

/* every white box */
.status-hero,.dns-card,.tile,.settings-card,.choice-tile,.platform-guide,.guide-card,.device-card,.faq,#check .big-steps,.account-card,.schedule-card,.filter-group,.table-wrap,.empty-state,.notice,.timezone-panel,.decision,.server-picker,.download-card,.summary-grid,.choice-grid,.setup-intro,.setup-shortcut,.enrollment,.manual-address{border-radius:var(--radius);border-color:var(--line);box-shadow:var(--shadow-sm);background:var(--card)}
.enrollment{background:linear-gradient(135deg,var(--card),var(--accent-soft))}
.button-link,button{background:var(--accent);border-color:var(--accent);border-radius:12px;box-shadow:0 6px 14px -8px var(--accent)}
.button-link:hover,button:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
.button-secondary,.copy-button,.clear-form button,.query-actions button{box-shadow:none}
.button-secondary{background:var(--card);border-color:#cfd7e0;color:var(--accent-deep)}.button-secondary:hover{background:var(--accent-soft);border-color:#b1bfd0;color:var(--accent-deep)}
input:not([type=checkbox]):not([type=hidden]),textarea,select{border-radius:var(--radius-sm);border-color:#d2d8df}
input:focus,textarea:focus,select:focus{outline:3px solid var(--accent-ring);border-color:var(--accent)}
.segmented-nav{gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--card);box-shadow:var(--shadow-sm)}
.segmented-nav a{padding:7px 14px;border-radius:999px;border:0;margin:0;font-weight:600}.segmented-nav a.active{background:var(--accent-soft);color:var(--accent-deep);border:0;font-weight:800}
th{background:#f6faf7;text-transform:uppercase;letter-spacing:.5px;font-size:10.5px;font-weight:800;color:#6f767d}tbody tr:hover{background:#f7fbf8}
.badge{border-radius:999px;padding:3px 9px;font-weight:800}.chip{border-radius:999px;font-weight:600}

/* home */
.status-hero{padding:26px 28px;gap:22px}.status-hero h2{font-size:23px}
.status-ok{background:linear-gradient(135deg,#e7eef6,#f7fcf8);border-color:#ccd9e8}.status-todo{background:linear-gradient(135deg,#e9f1fc,#f7faff)}.status-warn,.status-info{background:linear-gradient(135deg,#fff2df,#e4edf8)}
.status-icon{width:58px;height:58px;box-shadow:0 0 0 7px #ffffffa6}
.dns-card{padding:26px 28px}.dns-number>span{font-weight:800;font-size:11.5px;letter-spacing:.7px;text-transform:uppercase}
.copy-chip{background:var(--card);border:1px solid #cfd8e2;border-radius:12px;padding:6px 6px 6px 14px;box-shadow:var(--shadow-sm)}
.copy-chip .dns-address{font-family:"SFMono-Regular",Consolas,monospace;font-size:17px;color:var(--accent-deep);letter-spacing:0}
.copy-button{background:var(--accent);color:#fff;border-color:var(--accent);border-radius:9px;font-weight:800}.copy-button:hover{background:var(--accent-deep);border-color:var(--accent-deep);color:#fff}
.task-tiles h2{font-size:19px}.tile{padding:20px;gap:5px}.tile strong{font-size:16px;font-weight:800}
.tile-icon{width:44px;height:44px;padding:10px;border-radius:12px;background:var(--accent-soft);color:var(--accent);margin-bottom:8px}
.tile-grid .tile:nth-child(1) .tile-icon{background:var(--rose-soft);color:var(--rose)}.tile-grid .tile:nth-child(2) .tile-icon{background:var(--amber-soft);color:var(--amber)}
.tile-grid .tile:nth-child(3) .tile-icon{background:var(--sky-soft);color:var(--sky)}.tile-grid .tile:nth-child(4) .tile-icon{background:var(--violet-soft);color:var(--violet)}
.tile:hover,.choice-tile:hover{box-shadow:var(--shadow-md);border-color:#b8c6d7;transform:translateY(-2px)}
.settings-card{padding:22px 24px}.switch-row input{background:#c9cfd5}.switch-row input:checked{background:var(--accent)}

/* setup guide */
.setup-hero{position:relative;overflow:hidden;border-radius:22px;background:linear-gradient(120deg,var(--hero-a),var(--hero-b));box-shadow:var(--shadow-md)}
.setup-hero::before,.setup-hero::after{content:"";position:absolute;border-radius:50%;background:#ffffff14;pointer-events:none}
.setup-hero::before{right:-90px;top:-150px;width:360px;height:360px}.setup-hero::after{right:150px;bottom:-190px;width:280px;height:280px;background:#ffffff0d}
.setup-hero>*{position:relative;z-index:1}
.step-number{background:linear-gradient(135deg,var(--hero-b),var(--hero-a));box-shadow:0 6px 14px -6px var(--accent)}
.choice-tile{padding:20px}.choice-tile .platform-icon{width:46px;height:46px;padding:10px;border-radius:12px;background:var(--accent-soft)}
.choice-tile:first-child{border:1px solid var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.platform-icon-wrap{background:var(--accent-soft);color:var(--accent);border-radius:12px}.platform-guide[open]{border-color:#b8c6d7;box-shadow:var(--shadow-md)}
.big-steps>li::before{background:var(--accent-soft);color:var(--accent-deep)}.guide-tip{background:var(--accent-soft);border-left-color:var(--accent)}
.faq summary{color:var(--ink)}

/* devices */
.add-device{border:1px dashed #a8b9cc;background:linear-gradient(135deg,var(--card),#f3f6fa);box-shadow:none}
.device-avatar{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,var(--hero-b),var(--hero-a));color:#fff}
.device-grid .device-card:nth-child(3n+2) .device-avatar{background:linear-gradient(135deg,#8a6ee6,#5a44b8)}.device-grid .device-card:nth-child(3n) .device-avatar{background:linear-gradient(135deg,#f0a44a,#c9731c)}
.chip-on{background:var(--ok-pale);color:var(--ok)}.profile-context{background:var(--accent-soft);border-color:#ccd8e5}

/* sign-in pages */
.auth-page{background:var(--bg);background-image:radial-gradient(700px 380px at 50% -10%,var(--accent-soft),transparent 65%)}
.auth-page .panel{border-radius:20px;box-shadow:var(--shadow-md);border-color:var(--line)}
@media(max-width:900px){.sidebar{border-bottom:1px solid var(--side-border)}.brand-mark{width:30px;height:30px;padding:5px}.status-icon{width:50px;height:50px}body{background-attachment:scroll}}
@media(prefers-reduced-motion:reduce){.tile:hover,.choice-tile:hover{transform:none}}

/* polish from the design review */
:root{--side-muted:#666d75}
small,.helper{font-size:12px}.platform-title small{font-size:12px}.tile span,.choice-tile span{font-size:13.5px}
.section-heading h2{font-size:19px;letter-spacing:-.4px}.settings-form .section-heading p{font-size:13.5px}
.segmented-nav a.active{background:var(--accent);color:#fff}
.tile strong{display:block;min-height:2.6em;line-height:1.3}
.step-strip{font-size:15px;gap:12px 26px}.step-strip b{width:30px;height:30px;background:#fff;color:var(--accent-deep);border:0;font-size:14px}
.add-device{border:1px solid #bbc9da}
.device-card .quick-actions .button-link{background:var(--card);border-color:#cfd7e0;color:var(--accent-deep);box-shadow:none}.device-card .quick-actions .button-link:hover{background:var(--accent-soft);border-color:#b1bfd0}
@media(max-width:900px){.tile strong{min-height:0}}
.when-cell{font-size:12px;color:#3f454c;white-space:nowrap}.when-cell time{font-variant-numeric:tabular-nums}

/* second review round */
.shell{position:relative}.topbar{position:absolute;top:24px;right:36px;height:auto;padding:0;z-index:1}.panel{padding-top:28px}
.panel-heading{padding-right:150px}
.live-status::before{background:var(--ok);box-shadow:0 0 0 3px #1d7a4f26;animation:live-pulse 2s ease-in-out infinite}
@keyframes live-pulse{0%,100%{box-shadow:0 0 0 3px #1d7a4f26}50%{box-shadow:0 0 0 6px #1d7a4f14}}
.status-icon{box-shadow:0 0 0 4px #ffffffb3}
.tech-toggle input{accent-color:var(--accent);width:17px;height:17px;margin:0}
.query-actions button{font-size:12px;min-height:30px;padding:4px 10px}
.dns-number>span{text-transform:none;letter-spacing:0;font-size:13.5px;font-weight:700;color:#3f454c}
.setup-hero .eyebrow{display:none}.setup-hero h2{margin-top:0}
.setup-step>.server-details{margin-left:50px}
/* one disclosure style everywhere: a small accent chevron in front */
.manage>summary,.faq summary,.server-details>summary,.undo>summary,.target-section>summary,.manual-address>summary{list-style:none;display:flex;align-items:center;gap:8px}
.manage>summary::-webkit-details-marker,.faq summary::-webkit-details-marker,.server-details>summary::-webkit-details-marker,.undo>summary::-webkit-details-marker,.target-section>summary::-webkit-details-marker,.manual-address>summary::-webkit-details-marker{display:none}
.manage>summary::before,.faq summary::before,.server-details>summary::before,.undo>summary::before,.target-section>summary::before,.manual-address>summary::before,.advanced>summary strong::before{content:"▸";color:var(--accent);font-size:13px;flex:none}
.manage[open]>summary::before,.faq details[open]>summary::before,.server-details[open]>summary::before,.undo[open]>summary::before,.target-section[open]>summary::before,.manual-address[open]>summary::before,.advanced[open]>summary strong::before{content:"▾"}
.advanced>summary strong::after,.advanced[open]>summary strong::after{content:none}.advanced>summary strong::before{margin-right:8px}
.server-details>summary{width:auto}
@media(max-width:900px){.panel-heading{padding-right:0}}
@media(prefers-reduced-motion:reduce){.live-status::before{animation:none}}

/* theme: deep-green sidebar (chosen by the design review), light content */
:root{--side-bg:linear-gradient(180deg,#0d223b,#123154);--side-border:transparent;--side-brand:#fff;--side-text:#d6dee8;--side-muted:#bfccda;--side-icon:#9bafc5;--side-hover:#ffffff17;--side-active-bg:#ffffff2b;--side-active-text:#fff;--side-active-icon:#8cb8ea;--mark-bg:#fff;--mark-fg:#1f5fae;--bg:#f4f7f5}
.sidebar{background:var(--side-bg)}.brand-mark{box-shadow:0 6px 16px -6px #0008}
.workspace-nav a.selected{box-shadow:inset 0 0 0 1px #ffffff2e}.workspace-nav a.selected .nav-icon{color:var(--side-active-icon)}
.sidebar-bottom a{font-size:13px}
.brand-product{color:#9bafc5}
@media(max-width:900px){.sidebar{background:var(--side-bg);border-bottom:0}.workspace-nav a{color:var(--side-text)}}

/* contrast fixes from the accessibility review */
:root{--muted:#5f656c}
.site-footer,.site-footer a{color:#6b746f}
th{font-size:11px;color:#636d69}.query-reason small{font-size:11px;color:#636d69}.query-reason code{font-size:10.5px}
.setup-hero p{color:#f1f5fa!important}
.server-details>summary span{text-decoration:underline;text-underline-offset:3px}
.button-link,button,.copy-button{background:#0d417d;border-color:#0d417d}
.button-secondary,.device-card .quick-actions .button-link,.clear-form button,.query-actions button{background:var(--card)}
.server-details>summary{display:block}.server-details>summary::before{margin-right:6px}

/* Router makes inside the home Wi-Fi guide */
.router-makes{margin:18px 0 8px;padding:18px 18px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--accent-soft)}
.router-makes h3{margin:0 0 6px;font-size:18px}.router-makes>p{margin:0 0 12px;color:var(--muted)}
.router-make{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 16px;margin:0 0 10px}
.router-make summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
.router-make summary small{color:var(--muted)}.router-make[open]{border-color:var(--accent)}
/* Back office */
.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-stats .stat:nth-child(4n+1){border-left:0}.admin-stats .stat:nth-child(n+5){border-top:1px solid var(--line)}
.admin-h2{font-size:15px;margin:26px 0 10px}.admin-split{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:flex-start;margin:6px 0 18px}
.admin-search{display:flex;gap:8px;align-items:flex-end}.admin-search .field-label{margin:0;min-width:240px}
.admin-create{background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 14px;min-width:280px}.admin-create summary{cursor:pointer;font-weight:600;font-size:13px}
.admin-user{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}.admin-action{padding:12px 0;border-bottom:1px solid #eef1ee}.admin-action:last-child{border:0}.admin-action .field-label{margin:0 0 8px}
.button-danger{background:#a3392d;border-color:#a3392d;color:#fff}.button-danger:hover{background:#86291f;border-color:#86291f;color:#fff}
.admin-more{font-size:12px;font-weight:600;margin-left:12px}.admin-h3{font-size:13px;margin:18px 0 8px}.admin-billing{margin-top:18px}.admin-refresh{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.admin-refresh .helper{margin:0}.badge-trial{background:#eef2fb;color:#2f4f8f}.wrap-cell{white-space:normal;min-width:260px}.plan-trial{margin:0 0 10px;font-size:12px;font-weight:700;color:var(--accent-deep,#0b2c51)}.request-message{white-space:pre-wrap;font-size:13px;margin:10px 0}.contact-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:900px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user{grid-template-columns:1fr}}
/* Log in and sign up: brand panel on the left, the form on the right. */
body.auth-page{display:grid;grid-template-columns:minmax(360px,44%) 1fr;min-height:100vh;margin:0;background:var(--bg);background-image:none}
.auth-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:40px;padding:44px 52px;color:#e8eef5;
  background:radial-gradient(520px 420px at 110% 110%,#2bb08e55,transparent 70%),radial-gradient(420px 320px at -10% -10%,#ffffff14,transparent 70%),linear-gradient(160deg,#0b2c51,#09203b 70%)}
.auth-hero::after{content:"";position:absolute;right:-90px;top:38%;width:300px;height:300px;border-radius:50%;border:44px solid #ffffff0a}
.auth-hero .brand,.auth-hero .brand:hover{color:#fff}.auth-hero .brand-product{color:#9ebad9}
.auth-hero .brand-mark{color:#0d3a6d}
.auth-pitch{margin:auto 0;max-width:430px;position:relative;z-index:1}
.auth-pitch h2{font-size:34px;line-height:1.15;letter-spacing:-.8px;margin:0 0 16px;color:#fff}
.auth-pitch p{color:#bed0e4;font-size:16px;margin:0 0 26px}
.auth-pitch ul{list-style:none;padding:0;margin:0;display:grid;gap:13px}
.auth-pitch li{display:flex;align-items:center;gap:12px;font-weight:700;color:#f1f6fb}
.auth-pitch li svg{width:24px;height:24px;flex:none;padding:4px;border-radius:50%;background:#2869b3;color:#fff;box-sizing:border-box}
.auth-hero-foot{margin:0;font-size:13px;color:#8ea9c8;position:relative;z-index:1}
/* The kids' characters along the bottom of the panel, above the footer line. */
.auth-friends{display:flex;align-items:flex-end;position:relative;z-index:1;margin:0 0 -18px;padding-top:10px}
.auth-friends .avatar-character{width:min(62px,13.5%);height:auto;aspect-ratio:44/49.53;margin-right:-8px}.auth-friends .avatar-character:nth-child(even){transform:translateY(-10px)}
.auth-page .shell{display:flex;flex-direction:column;justify-content:center;width:min(100% - 48px,440px);margin:0 auto;padding:48px 0 24px}
.auth-page .panel{padding:38px 36px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 4px #17251f08,0 24px 50px -24px #17251f40}
.auth-page .panel-heading h1{font-size:30px;letter-spacing:-.7px}
.auth-intro{font-size:15px;color:var(--muted);margin:0 0 6px}
.auth-form .field-label{margin:18px 0 0;font-weight:700}
.auth-form input{height:48px;font-size:16px;border-radius:12px}
.auth-form button{height:52px;font-size:16px;font-weight:800;border-radius:12px;margin-top:24px}
.auth-form .invite-code{margin-top:16px;font-size:14px;color:var(--muted)}.auth-form .invite-code summary{cursor:pointer}
.auth-links{font-size:14px;text-align:center;margin:22px 0 0}.auth-page .error+.auth-links{margin:12px 0 20px}
.auth-page .site-footer{display:flex;justify-content:space-between;gap:16px;padding:22px 4px 0;font-size:12px}
@media(max-width:860px){body.auth-page{grid-template-columns:1fr;align-content:start;min-height:0}.auth-page .shell{justify-content:flex-start}.auth-hero{padding:26px 22px 30px;gap:18px}.auth-pitch h2{font-size:24px}
  .auth-pitch p{font-size:14px;margin-bottom:16px}.auth-pitch li:nth-child(n+3),.auth-hero-foot,.auth-hero::after,.auth-friends,.auth-login .auth-pitch{display:none}
  .auth-login .auth-hero{padding:14px 18px;gap:0}
  .auth-page .shell{padding:28px 0 20px;width:min(100% - 32px,440px)}.auth-page .panel{padding:28px 22px}}
/* Dynamic DNS card on Home. */
.ddns-facts,.ddns-settings{display:grid;gap:0;margin:14px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.ddns-facts div,.ddns-settings div{display:grid;grid-template-columns:minmax(150px,34%) 1fr;gap:12px;align-items:center;padding:10px 14px;background:#fff}
.ddns-facts div+div,.ddns-settings div+div{border-top:1px solid var(--line)}
.ddns-facts dt,.ddns-settings dt{color:var(--muted);font-size:13px}.ddns-facts dd,.ddns-settings dd{margin:0;overflow-wrap:anywhere}
.ddns-facts{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.ddns-facts div{grid-template-columns:1fr;gap:2px;border-top:0!important}
.ddns-facts dd{font-weight:800;font-size:16px}
.ddns-card .section-heading h2{display:flex;align-items:center;gap:12px}
.ddns-card .section-heading h2 .nav-icon{width:38px;height:38px;flex:none}
.ddns-card .ddns-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line)}
.ddns-card .ddns-facts>div{min-width:0;padding:16px;background:var(--pale,#f6f9f7)}
.ddns-card .ddns-setup>summary .nav-icon{vertical-align:middle;margin-right:8px}
.home-link-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;font-size:13px;font-weight:800;line-height:1.4;vertical-align:middle;background:#edf1ef;color:#525a64}
.home-link-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.home-link-badge.is-linked{background:#e7eef6;color:#053b78}
.home-link-status{padding:16px;border:1px solid var(--line);border-radius:14px;margin:14px 0;background:#fff}
.home-link-status p{margin:9px 0 0;font-size:14px;line-height:1.6}
.ddns-advanced>summary .home-link-badge{margin:6px 0 6px 10px}
.ddns-facts dd small{display:block;margin-top:5px;font-size:13px;line-height:1.5;font-weight:400}
.ddns-card .ddns-facts>div:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:600px){.ddns-card .ddns-facts{grid-template-columns:1fr}}
.ddns-options{display:grid;grid-template-columns:3fr 2fr;gap:18px;margin-top:6px}
.ddns-option{border:1px solid var(--line);border-radius:14px;padding:18px;background:var(--pale,#f6f9f7)}.ddns-option h3{margin:0 0 6px;font-size:16px}
.ddns-option .settings .copy-chip,.ddns-settings .copy-chip{display:inline-flex;max-width:100%}
.ddns-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.inline-form{display:inline-block;margin:0}
.ddns-option form{margin-top:10px}
@media(max-width:760px){.ddns-options{grid-template-columns:1fr}.ddns-settings div{grid-template-columns:1fr;gap:4px}}
.ddns-card .section-heading{border:0;padding-top:0;margin-top:0}.ddns-options{align-items:start}
/* Plans on the Account page. */
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}
.plan-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:4px}
.plan-card h3{margin:0;font-size:16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.plan-card ul{margin:8px 0 10px;padding-left:18px;font-size:14px}
.billing-period{display:inline-flex;gap:2px;padding:3px;margin:14px 0 0;border:1px solid var(--line);border-radius:999px;background:var(--pale,#f4f7f4);position:relative}.billing-period legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.billing-period label{display:flex;gap:6px;align-items:center;padding:7px 16px;border-radius:999px;cursor:pointer;font-weight:700;font-size:13px;white-space:nowrap;color:var(--muted)}.billing-period input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0}.billing-period label:has(input:checked){background:var(--accent);color:#fff}.billing-period label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.billing-period small{font-weight:600;font-size:11px;color:inherit;opacity:.85}.plan-picker{grid-column:1/-1}.plan-picker .plan-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.plan-card p{margin:0}.plan-price strong{font-size:24px;letter-spacing:-.5px}.plan-card button{margin-top:auto}
.plan-current{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-ring,#12867233)}
.device-usage{font-weight:800;color:var(--accent-deep,#174c8f);margin:0 0 8px}
.protection-card .switch-row{margin:12px 0}.protection-card .field-label{margin-top:14px}.protection-card small{display:block}
.protection-card .section-heading{border:0;padding-top:0;margin-top:0}
.ddns-steps{margin:10px 0 6px;padding-left:20px;display:grid;gap:6px}.ddns-main{margin:12px 0}
.ddns-main .field-label input{font-size:17px;height:48px}.ddns-main form{display:block}.ddns-main form+form{margin-top:8px}
.ddns-more{margin-top:14px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:#fff}.ddns-more summary{cursor:pointer;font-weight:700}
.brand-mark,.auth-hero .brand-mark{background:#fff;padding:3px}
.sidebar-bottom a{display:flex;align-items:center;gap:9px}.foot-icon{width:16px;height:16px;flex:none;opacity:.8}
.doh-link .field-label{margin-top:0;font-weight:800;font-size:15px}.doh-link #private-dns-address{font-family:var(--mono,ui-monospace,monospace);font-size:15px;height:48px;background:var(--accent-soft,#eef2f6)}
.doh-values{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:16px 0 0;font-size:13px}.doh-values dt{font-weight:700;color:var(--muted)}.doh-values dd{margin:0}
@media(max-width:760px){.doh-values{grid-template-columns:1fr}.doh-values dd{margin-bottom:6px}}
.analytics-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:18px}.analytics-filter .field-label{margin:0;min-width:200px}
.stat-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}
.stat-tile{background:var(--card,#fff);border:1px solid var(--line);border-radius:var(--radius,14px);padding:18px;text-align:center;box-shadow:var(--shadow-sm,none)}
.stat-tile strong{display:block;font-size:30px;letter-spacing:-.5px}.stat-tile span{color:var(--muted);font-size:13px}.stat-blocked strong{color:#dc2626}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.stat-card{background:var(--card,#fff);border:1px solid var(--line);border-radius:var(--radius,14px);padding:20px;box-shadow:var(--shadow-sm,none);min-width:0}
.stat-card h2{font-size:17px;margin:0 0 2px}.stat-help{color:var(--muted);font-size:12.5px;margin:0 0 12px}
.stat-list{list-style:none;margin:0;padding:0}.stat-list li{padding:8px 0;border-top:1px solid var(--line)}
.stat-row{display:flex;justify-content:space-between;gap:12px;font-size:14px}.stat-row>a,.stat-row>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.stat-count{font-variant-numeric:tabular-nums;color:var(--muted);flex:none}.stat-bar{display:block;width:100%;height:4px;margin-top:5px}
.stat-bar .bar,.share-bar .bar{fill:var(--accent)}.stat-bar .bar-red{fill:#ef4444}.share-bar .bar-track{fill:var(--line)}
.stat-empty{color:var(--muted);text-align:center;padding:18px 0;margin:0}
.chart{display:block;width:100%;height:auto}.chart-grid{stroke:var(--line);stroke-width:1}.chart-label{fill:var(--muted);font-size:11px}
.chart-all-fill{fill:var(--accent);fill-opacity:.16}.chart-all-line{stroke:var(--accent);stroke-width:2}
.chart-blocked-fill{fill:#ef4444;fill-opacity:.22}.chart-blocked-line{stroke:#ef4444;stroke-width:2}
.ring-wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ring{width:140px;height:140px;flex:none}.ring-track{stroke:var(--line)}
.ring-legend{list-style:none;margin:0;padding:0;font-size:13px;display:grid;gap:5px}.ring-legend small{color:var(--muted)}.legend-dot{width:10px;height:10px;margin-right:6px;vertical-align:middle}
.share-bar{display:block;width:100%;height:8px;margin-top:8px}.share-value{font-weight:800;color:var(--accent);margin:6px 0 0}
@media(max-width:760px){.stat-tiles{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr}.stat-tile strong{font-size:24px}}
.site-icon{width:18px;height:18px;border-radius:4px;vertical-align:-4px;margin-right:8px;background:var(--pale,#f4f7f4);object-fit:contain}
.map-wrap{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:18px;align-items:start}
.world-map{display:block;width:100%;height:auto}.world-map path{stroke:var(--card,#fff);stroke-width:.6}
.world-map path:hover{stroke:var(--ink);stroke-width:1.2}
.map-0{fill:#e5e8eb}.map-1{fill:#b8cbe1}.map-2{fill:#84a5cb}.map-3{fill:#4d7bb0}.map-4{fill:#1c5392}.map-5{fill:#174c8f}
@media(max-width:760px){.map-wrap{grid-template-columns:1fr}}
.world-map .map-dot{stroke:var(--card,#fff);stroke-width:1}.world-map .map-dot.map-0{fill:#cfd3d8}
.world-map a{cursor:pointer}.world-map a.map-chosen path,.world-map a.map-chosen circle{stroke:var(--ink);stroke-width:1.6}
.map-hint{color:var(--muted);font-size:12.5px;margin:10px 0 0}
.country-panel{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.country-panel h3{font-size:16px;margin:0 0 10px}.country-panel h3 small{color:var(--muted);font-weight:400}
.country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.country-grid h4{font-size:13px;margin:0 0 4px;color:var(--muted)}
@media(max-width:900px){.country-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.country-grid{grid-template-columns:1fr}}
.unlink-choice{display:inline-block}.unlink-choice>summary{display:inline-flex;align-items:center;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:9px 14px;font-weight:700;background:var(--card,#fff)}
.unlink-choice[open]{display:block;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:12px}.unlink-choice form{margin:8px 0}
/* Mobile audit fixes */
.copy-chip{max-width:100%}.copy-chip>.mono{min-width:0;overflow-wrap:anywhere;white-space:normal}
.dns-number>span:first-child{flex:0 1 auto}
@media(max-width:900px){.dns-card{grid-template-columns:minmax(0,1fr)}.dns-number{flex-direction:column;align-items:flex-start;gap:4px}.account-grid{grid-template-columns:1fr}}
.account-grid{align-items:start}
.account-grid>.account-card:has(.plan-status),.account-grid>.account-card:has(.plan-grid){grid-column:1/-1}
.footer-links{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-end}
@media(max-width:900px){.footer-links a{display:inline-flex;align-items:center;min-height:36px}}
@media(max-width:760px){
  .setup-step>.server-details{margin-left:0}
  .server-picker{padding:14px 12px}
  .server-option{flex-wrap:wrap;padding:12px;gap:4px 10px}
  .server-name{flex:1 1 calc(100% - 30px)}.server-name .mono{overflow-wrap:break-word}
  .server-latency{margin-left:30px}
  .add-device .inline-form{display:flex;flex-direction:column;align-items:stretch;gap:10px}.add-device .inline-form .field-label{min-width:0;margin:0}.add-device .inline-form button{width:100%}
  .filter-row label{min-height:40px}.filter-row input[type=checkbox]{width:20px;height:20px}
  .filter-row summary{padding-top:8px;padding-bottom:8px}
  .filter-schedules a{display:inline-block;padding:8px 0;font-size:12px}
  .chart .chart-label{font-size:26px}.chart .chart-grid{stroke-width:2}.chart-all-line,.chart-blocked-line{stroke-width:3}
  .doh-link #private-dns-address{font-size:12px}
}
@media(max-width:900px){
  .segmented-nav[aria-label='Filter views']{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;border-radius:16px}
  .segmented-nav[aria-label='Filter views'] a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:40px;padding:6px;line-height:1.25;border-radius:12px}

  .schedule-actions{gap:10px}.schedule-actions button,.schedule-actions .button-link{min-height:42px;padding:8px 16px;font-size:13px}
  .query-table th:nth-child(3),.query-table td.domain-cell{position:sticky;left:0;z-index:1;background:var(--card,#fff);min-width:120px;max-width:150px;box-shadow:1px 0 0 var(--line)}
}
.auth-page .panel{width:100%;margin-left:0;margin-right:0}
.enrollment>.section-heading:first-child{margin-top:0;padding-top:0;border-top:0}
@media(max-width:900px){.sidebar-bottom{display:flex;flex-wrap:wrap;gap:0 18px;margin:0;padding:0 0 10px}.sidebar-bottom a{padding:8px 0;font-size:12px}.sidebar-bottom .foot-icon{display:none}}
.uptime-strip{width:120px;height:14px;display:block}.uptime-strip-wide{width:100%;height:auto;margin-top:14px}.status-servers{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin:18px 0}.status-server{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px}.status-server-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}.status-server h2{margin:0 0 2px;font-size:18px}.status-server .helper{margin:8px 0 0}.status-uptime{display:flex;gap:28px;margin:14px 0 0}.status-uptime dt{font-size:11px;color:var(--muted)}.status-uptime dd{margin:0;font-size:22px;font-weight:800}.status-axis{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:4px}.server-table td{vertical-align:top}.server-table small{color:var(--muted)}

/* Keep status badges beside titles; reserve two description lines across cards. */
.status-server-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:start}
.status-server-head>div:first-child{display:contents}
.status-server-head h2{grid-column:1;grid-row:1;min-width:0}
.status-server-head small{grid-column:1/-1;grid-row:2;min-height:2.8em;line-height:1.4;overflow-wrap:anywhere}
.status-server-head>div:last-child:not(:first-child),.status-server-head>.badge{grid-column:2;grid-row:1}
.status-server-head .badge{white-space:nowrap}
.status-uptime{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:360px){.status-servers{grid-template-columns:minmax(0,1fr)}.status-server{padding:16px}.status-server-head{gap:6px 8px}.status-server-head .badge{font-size:11px}}

/* Schedules: allowed or blocked times, several times per schedule */
.schedule-kind-allow{background:var(--ok-pale,#e7edf4);color:var(--ok,#244872)}.schedule-kind-block{background:#fff3e2;color:#8c5a16}.schedule-time .chip{margin-right:6px;font-size:11px}.schedule-kinds{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}#schedule-editor .time-grid{margin-bottom:4px}#schedule-editor fieldset{margin:18px 0}
.rules-for{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;padding:14px 18px;margin:0 0 20px;background:var(--accent-soft,#e9eef4);border:1px solid #ccd8e5;border-radius:12px}.rules-for .field-label{flex:1;min-width:220px;margin:0;font-weight:650}.rules-for select{width:100%;margin-top:6px}.rules-for .helper{flex-basis:100%;margin:0;font-size:12px}.rules-for p{margin:0;font-size:13px}
.schedule-kinds input[type=radio],#schedule-editor .schedule-kinds input[type=radio]{appearance:auto;flex:none;width:17px;height:17px;min-width:0;min-height:0;padding:0;margin:3px 0 0;border:0;border-radius:50%;box-shadow:none;background:none;accent-color:var(--accent)}.schedule-kinds .choice:has(input:checked){background:#f2f7f3}
/* Support tickets */
.ticket-thread{display:grid;gap:10px;margin:14px 0}.ticket-message{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff}.ticket-from-staff{background:#f2f7f3;border-color:#ccd8e5}.ticket-meta{margin:0 0 6px;font-size:11px;color:var(--muted)}.ticket-text{margin:0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.ticket-reply textarea{width:100%}.ticket-reply .form-actions{display:flex;flex-wrap:wrap;gap:8px}.ticket-list{display:grid;gap:8px}.ticket-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit}.ticket-row span{font-size:12px;color:var(--muted)}.ticket-mini{margin:8px 0;padding-left:18px;font-size:13px}
.ticket-chip,.ticket-tag{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700;vertical-align:middle;text-decoration:none}.ticket-urgent{background:#fde4e1;color:#a3261a}.ticket-high{background:#fff1dc;color:#8c5a16}.ticket-low{background:#eef0f2;color:#5b6570}.ticket-tag{background:#eef1f4;color:#2c4460;font-weight:600}.ticket-urgent-card{border-left:4px solid #d64232}.ticket-high-card{border-left:4px solid #e2a23b}.ticket-meta-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin:6px 0 10px}.ticket-meta-form .field-label{margin:0;min-width:140px}.ticket-meta-form input{min-width:200px}.ticket-filters{flex-wrap:wrap}.ticket-filters .field-label{min-width:130px}
.ticket-filters{margin:0 0 18px}
.ticket-table td{vertical-align:top;font-size:12px}.ticket-table td small{display:block;color:var(--muted);font-size:11px}.ticket-table .ticket-open{font-weight:700}.ticket-row-urgent td:first-child{box-shadow:inset 4px 0 0 #d64232}.ticket-row-high td:first-child{box-shadow:inset 4px 0 0 #e2a23b}.ticket-pager{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;font-size:13px}.ticket-pager strong{color:var(--accent)}
/* Admin kept apart: an "Admin only" group at the foot of the parents' menu (admins only), and a back office in its own
   dark slate and amber, with a strip on every page saying where you are */
.nav-group-label{display:block;margin:2px 12px 4px;font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--side-muted)}
.nav-admin,.nav-own{display:grid;gap:4px;margin-top:16px;padding-top:14px;border-top:1px solid #ffffff26}
.nav-admin .nav-group-label,.office-page .nav-group-label{color:#f5c56b}
.workspace-nav a.nav-office{border:1px dashed #f5c56b99;color:#ffe2a8}.workspace-nav a.nav-office .nav-icon{color:#f5c56b}
.workspace-nav a.nav-office:hover{background:#f5c56b1f;color:#fff}
.admin-pill{display:none;margin-left:auto;padding:2px 7px;border-radius:999px;background:#f5c56b;color:#3a2700;font-size:9.5px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.office-page{--side-bg:linear-gradient(180deg,#1b1f2e,#2c3149);--side-text:#d8dbe8;--side-muted:#aab0c8;--side-icon:#9aa2c2;--side-hover:#ffffff14;--side-active-bg:#f5c56b2e;--side-active-text:#fff;--side-active-icon:#f5c56b}
.office-page .brand-product{display:block;width:max-content;margin-top:6px;padding:3px 8px;border-radius:999px;background:#f5c56b;color:#3a2700;font-size:9.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.office-page .nav-own .nav-group-label{color:var(--side-muted)}
.office-page .workspace-nav a.selected{box-shadow:inset 3px 0 0 #f5c56b}
.office-strip{display:flex;align-items:center;gap:10px;padding:11px 36px;background:#2c3149;color:#ffe2a8;font-size:13px}
.office-strip .nav-icon{color:#f5c56b}.office-strip strong{color:#fff}
.office-strip a{margin-left:auto;color:#fff;font-weight:700;text-decoration:none;padding:6px 12px;border-radius:999px;border:1px solid #ffffff40}
.office-strip a:hover{background:#ffffff1a}
@media(max-width:900px){.nav-group-label{flex-basis:100%;margin:2px 2px 2px}.nav-admin,.nav-own{flex-basis:100%;display:flex;flex-wrap:wrap;margin-top:6px;padding-top:10px}
  .office-page .brand-product{display:inline-block;margin:0 0 0 8px}.office-strip{padding:9px 18px;font-size:12px}.office-strip a{display:none}.admin-pill{display:inline-block}}
/* Phones: the parents' menu becomes a slim top bar (the logo) and a tab bar at the bottom: Home, Block, Schedules,
   Activity and More, a sheet with the rest. The back office keeps its own menu. */
.tabbar{display:none}
@media(max-width:900px){
  .workspace-page:not(.office-page) .sidebar{position:sticky;top:0;z-index:20;padding:10px 16px;box-shadow:0 4px 16px #0b2a2222}
  .workspace-page:not(.office-page) .sidebar .brand{margin:0;font-size:18px}
  .workspace-page:not(.office-page) .workspace-nav{display:block;padding:0;margin:0}
  .workspace-page:not(.office-page) .workspace-nav>a,.workspace-page:not(.office-page) .workspace-nav>.nav-admin,
  .workspace-page:not(.office-page) .sidebar-bottom{display:none}
  .workspace-page:not(.office-page){padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;gap:2px;background:#fff;border-top:1px solid #dfe3e7;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px #0f2a2014}
  .tabbar>a,.tab-more>summary{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 2px 6px;border-radius:14px;
    font-size:11px;font-weight:700;color:#5d646b;text-decoration:none;list-style:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .tabbar>a{flex:1}.tab-more{flex:1}.tab-more>summary::-webkit-details-marker{display:none}
  .tabbar>a.selected,.tab-more:has(.selected)>summary,.tab-more[open]>summary{color:#112d4e;background:#e3eaf1}
  .tab-icon{width:23px;height:23px;flex:none}
  .more-sheet{position:fixed;left:10px;right:10px;bottom:calc(80px + env(safe-area-inset-bottom));display:grid;gap:2px;padding:8px;
    background:#fff;border-radius:20px;box-shadow:0 18px 48px #0f2a2040,0 0 0 1px #0f2a2010}
  .more-sheet a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;font-size:15px;font-weight:600;color:#1f242a;text-decoration:none}
  .more-sheet a.selected{background:#e3eaf1;color:#112d4e}.more-sheet .nav-icon{color:#5c728b}
  .more-sheet hr{border:0;border-top:1px solid #e3e6e9;margin:4px 6px}
  .more-sheet .nav-admin{display:grid;margin:4px 0 0;padding:8px 0 0;border-top:1px solid #e3e6e9}
  .more-sheet .nav-admin .nav-group-label{color:#a8700f;margin:2px 14px}
  .more-sheet a.nav-office{border:1px dashed #d8a54a;color:#7a4f00}.more-sheet a.nav-office .nav-icon{color:#c48a1c}
  .more-sheet .admin-pill{display:inline-block}
}
/* Folded away until wanted: the time zone (one line), the new-schedule form once there are schedules, extra time
   rows, and the Dynamic DNS set-up steps */
details.timezone-panel>summary{display:flex;align-items:center;gap:6px;flex-wrap:wrap;list-style:none;cursor:pointer;font-size:13px}
details.timezone-panel>summary::-webkit-details-marker{display:none}
.timezone-change{margin-left:auto;color:var(--accent);font-weight:700;text-decoration:underline}
details.timezone-panel[open] .timezone-change{display:none}details.timezone-panel form{margin-top:12px}
.editor-fold>summary{display:inline-flex;list-style:none;cursor:pointer;margin:4px 0 8px}
.editor-fold>summary::-webkit-details-marker{display:none}.editor-fold[open]>summary{display:none}
.more-times>summary,.ddns-setup>summary{cursor:pointer;color:var(--accent);font-weight:700;font-size:13px;margin:4px 0 14px}
.ddns-setup[open]>summary{margin-bottom:10px}
@media(max-width:900px){
  .workspace-page:not(.office-page) .sticky-save{bottom:calc(68px + env(safe-area-inset-bottom))}
  .status-hero{display:grid;grid-template-columns:42px 1fr;align-items:start;gap:4px 14px;padding:18px}
  .status-hero .status-icon{width:42px;height:42px;font-size:19px;box-shadow:none}
  .status-hero h2{font-size:19px;line-height:1.25}.status-hero p{font-size:14px}
  .status-actions{grid-column:1/-1;margin-top:10px}
}
@media(max-width:900px){
  .tile-grid{gap:8px}
  .tile{grid-template-columns:44px 1fr;align-items:center;gap:0 14px;padding:12px 14px}
  .tile .tile-icon{grid-row:span 2;margin:0}.tile strong{font-size:15px}.tile span{font-size:12.5px}
}
/* Quick controls (Home) and the age presets (Block apps & sites) */
.quick-card{scroll-margin-top:80px}
.quick-scope{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;padding:14px 16px;margin:0 0 20px;background:var(--accent-soft,#e9eef4);border:1px solid #ccd8e5;border-radius:12px}
.quick-scope .field-label{flex:1;min-width:0;max-width:440px;margin:0;font-weight:650}.quick-scope select{width:100%;margin-top:6px}
.quick-scope .helper{flex-basis:100%;margin:0;font-size:13px}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.quick-grid h3{margin:0 0 4px;font-size:15px}
.quick-buttons{display:flex;flex-wrap:wrap;gap:8px}.quick-buttons form,.quick-card .inline-form{margin:0}
.quick-buttons button{padding:9px 14px}
.quick-state{margin:6px 0 12px;padding:12px 14px;border-radius:12px;font-size:14px}
.quick-paused{background:#fde4e1;color:#7d1f15}.quick-extra{background:#fff1dc;color:#6d4510}
.quick-card .quick-state+form{display:inline-block;margin:0 8px 8px 0}
.quick-more{margin-top:10px}.quick-more>summary{cursor:pointer;color:var(--accent);font-weight:700;font-size:13px;margin-bottom:8px}

@media(max-width:900px){.quick-grid{grid-template-columns:1fr;gap:16px}}
.quick-title{margin:0 0 14px;font-size:19px}
/* Email customers: templates to start from, and how to format */
.template-picker{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;font-size:13px;color:var(--muted)}
.chip-link{padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:700;text-decoration:none}
.chip-link:hover{border-color:#a8b9cc;color:var(--accent)}.chip-link.active{background:var(--accent);border-color:var(--accent);color:#fff}
.format-help{margin:-4px 0 12px;font-size:13px}.format-help>summary{cursor:pointer;color:var(--accent);font-weight:700}
.format-help ul{margin:8px 0;padding-left:20px;color:var(--muted)}.format-help code{font-size:12px;background:#eef3f0;padding:1px 5px;border-radius:5px}
.account-data .delete-account{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.account-data .delete-account>summary{cursor:pointer;color:#a3392d;font-weight:700}
.account-data .delete-account form{display:grid;gap:10px;max-width:420px}
/* Setup guide: one list, choosing a way opens its steps */
.platform-guide .recommended{position:static;display:inline-block;margin-left:8px;vertical-align:middle}
.platform-short{display:block;font-size:13px;color:var(--muted);font-weight:500;margin:2px 0}
.platform-guide .recommended{padding:2px 8px;border-radius:999px;background:var(--accent,#153e6d);color:#fff;font-size:10px;font-weight:800;letter-spacing:.3px}
.time-grid:has(.time-clear){grid-template-columns:1fr 1fr auto;align-items:end}.time-clear{min-height:38px;margin:0 0 14px}
.cancel-subscription{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.cancel-subscription>summary{cursor:pointer;color:#a3392d;font-weight:700;font-size:13px}.cancel-subscription p{font-size:12px}
.paypal-checkout{margin:18px 0 8px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--card,#fff);max-width:460px}.paypal-checkout h3{margin:0 0 4px;font-size:15px}#paypal-buttons{margin-top:12px;min-height:44px}
/* Block apps & sites: Easy and Advanced menus, the age buttons and the whole-group ticks (filters_ui.py, controls.age_picker) */
.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-width:560px;margin:4px 0 22px;padding:5px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.mode-switch a{display:grid;gap:1px;padding:10px 14px;border-radius:calc(var(--radius) - 5px);color:var(--ink);text-decoration:none}
.mode-switch a strong{font-size:15px}.mode-switch a small{font-size:12px;color:var(--muted)}
.mode-switch a:hover{background:var(--accent-soft);color:var(--ink)}
.mode-switch a.active{background:var(--accent);color:#fff}.mode-switch a.active small{color:#e2eaf3}
.easy-step{margin:0 0 22px}.easy-step>h2{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:19px}
.step-number{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font-size:14px;font-weight:800}
.age-step .helper{margin:4px 0 14px}
.age-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.age-tile{position:relative;display:grid;align-content:start;justify-items:start;gap:4px;width:100%;min-height:132px;margin:0;padding:16px;text-align:left;
  background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-sm);font-weight:400;box-shadow:none}
.age-tile:hover{background:var(--accent-soft);border-color:#9eb1c7;color:var(--ink)}
.age-tile .age-years{font-size:21px;font-weight:800;color:var(--accent-deep);line-height:1.1}
.age-tile strong{font-size:14px}.age-tile small{font-size:12.5px;line-height:1.45;color:var(--muted)}
.age-tile.age-current{border:2px solid var(--accent);background:var(--accent-soft);padding:15px}
.age-badge{position:absolute;top:10px;right:10px;padding:2px 9px;border-radius:20px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}
.group-legend{display:block;margin:6px 0 18px;padding:12px 14px;background:var(--accent-soft);border-radius:var(--radius-sm);font-size:14px;line-height:1.5}
.legend-tick{flex:none;position:relative;width:26px;height:26px;border-radius:6px;background:var(--accent)}
.legend-tick::after{content:"";position:absolute;left:9px;top:4px;width:6px;height:13px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.group-heading{margin:18px 0 10px;font-size:14px;letter-spacing:.2px;color:var(--muted);text-transform:uppercase}
.group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.group-tile{display:flex;align-items:center;gap:13px;min-height:74px;padding:13px 15px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer}
.group-tile:hover{border-color:#9eb1c7}
.group-tile input{flex:none;width:26px;height:26px;margin:0;accent-color:var(--accent);cursor:pointer}
.group-icon{flex:none;width:30px;height:30px;padding:6px;box-sizing:content-box;border-radius:10px;background:var(--pale);color:var(--accent-deep)}
.group-text{display:grid;gap:2px;min-width:0}.group-text strong{font-size:15px}.group-text small{font-size:12.5px;line-height:1.4;color:var(--muted)}
.group-state{font-style:normal;font-size:12.5px;font-weight:700;color:var(--muted)}
.group-tile:has(input:checked){border:2px solid var(--accent);background:var(--accent-soft);padding:12px 14px}
.group-tile:has(input:checked) .group-icon{background:var(--card)}
.group-tile:has(input:checked) .group-state{color:#a3361f}
.easy-form .sticky-save{margin-top:14px}

.filter-row input:disabled+strong{color:var(--muted)}
@media(max-width:900px){.age-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.group-grid{grid-template-columns:1fr}.mode-switch a{padding:9px 10px}.mode-switch a small{font-size:11px}
  .age-tile{min-height:0;padding:13px}.age-tile.age-current{padding:12px}.age-tile .age-years{font-size:18px}.easy-step>h2{font-size:17px}}

.group-card{display:grid;align-content:start;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm)}
.group-card>.group-tile{border:0;border-radius:var(--radius-sm)}
.group-card:has(.group-tile input:checked){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.group-card>.group-tile:has(input:checked){border:0;padding:13px 15px}
.group-times{border-top:1px solid var(--line);padding:0 15px}
.group-times>summary{padding:9px 0;font-size:13px;font-weight:700;color:var(--accent-deep);cursor:pointer;list-style:none}
.group-times>summary::-webkit-details-marker{display:none}.group-times>summary::before{content:"\23F1  ";font-weight:400}
.group-times .helper{margin:0 0 8px;font-size:12px}
.times-row{display:grid;grid-template-columns:96px 1fr 1fr;align-items:end;gap:8px;margin:0 0 10px}
.times-row>span{padding-bottom:9px;font-size:13px;font-weight:700}.times-row label{font-size:12px;color:var(--muted)}
.times-row input{margin-top:3px}.times-row input:disabled{opacity:.5}
@media(max-width:900px){.times-row{grid-template-columns:1fr 1fr}.times-row>span{grid-column:1/-1;padding:0}}
.group-grid{align-items:start}
/* The Save bar of Block apps & sites: an ordinary button at the end of the list, and a floating bar only once
   something has changed (filters.js marks the form dirty), so it never sits across the tiles for nothing. */
.sticky-save{position:static;margin:18px 0 6px;padding:0;background:none;border:0;box-shadow:none}
form.dirty .sticky-save{position:sticky;bottom:14px;z-index:30;padding:12px 16px;background:var(--card);
  border:2px solid var(--accent);border-radius:var(--radius);box-shadow:0 12px 32px #17251f33}
form.dirty .sticky-save span{color:var(--ink);font-size:13px;font-weight:700}
@media(max-width:900px){form.dirty .sticky-save{bottom:calc(84px + env(safe-area-inset-bottom))}}
/* Advanced menu: the tabs with icons, and the letter tiles used for sites */
.advanced-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:5px;margin:0 0 20px;width:fit-content;max-width:100%;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.advanced-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:calc(var(--radius) - 5px);font-size:14px;font-weight:700;color:#3d444c;text-decoration:none}
.advanced-tabs a:hover{background:var(--accent-soft);color:var(--ink)}
.advanced-tabs a.active{background:var(--accent);color:#fff}
.tab-glyph{width:18px;height:18px;flex:none}

.site-letter{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;background:var(--pale);color:var(--accent-deep);font-size:13px;font-weight:800}

@media(max-width:900px){.advanced-tabs{width:auto}.advanced-tabs a{flex:1 1 40%;justify-content:center;padding:9px 8px;font-size:13px}}
/* Your own sites (Easy step 3 and Advanced): an add box, then red and green chips */
.own-add{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 18px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.own-step .own-add{padding:0;border:0;background:none}
.own-add .field-label{flex:1 1 260px;margin:0;font-size:13px}.own-add input{min-height:44px;font-size:15px}
.own-add-buttons{display:flex;gap:8px}.own-add-buttons button{min-height:44px;padding:9px 16px;font-size:14px}
.own-block-button{background:#b5452c;border-color:#b5452c}.own-block-button:hover{background:#963721;border-color:#963721}
.own-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.own-list{padding:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);border-top:4px solid}
.own-blocked{border-top-color:#c4553b}.own-allowed{border-top-color:var(--accent)}
.own-list h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}
.own-dot{width:10px;height:10px;border-radius:50%}.own-blocked .own-dot{background:#c4553b}.own-allowed .own-dot{background:var(--accent)}
.own-count{margin-left:auto;padding:1px 9px;border-radius:20px;background:var(--pale);font-size:12px}
.own-list .helper{margin:4px 0 12px;font-size:12.5px}
.own-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
.own-chip{display:inline-flex;align-items:center;gap:7px;padding:4px 4px 4px 5px;border-radius:20px;font-size:13.5px;font-weight:600}
.own-blocked .own-chip{background:#fbe9e5;color:#7d2a17}.own-allowed .own-chip{background:var(--accent-soft);color:#123053}
.own-chip .site-letter{width:22px;height:22px;border-radius:50%;background:#fff;font-size:11px}
.own-domain{overflow-wrap:anywhere}.own-chip form{display:inline}
.chip-remove{display:inline-grid;place-items:center;width:24px;height:24px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;font-size:17px;line-height:1}
.chip-remove:hover{background:#0000001a;color:inherit}
.own-empty{margin:0;color:var(--muted);font-size:13px}
.own-bulk{margin-top:14px}.own-bulk>summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--accent-deep);padding:6px 0}
@media(max-width:900px){.own-columns{grid-template-columns:1fr}.own-add-buttons{width:100%}.own-add-buttons button{flex:1}}

.own-wild-help{margin:-8px 0 16px;font-size:12.5px;color:var(--muted)}.own-wild-help .mono{color:var(--ink);font-weight:700}
.own-chip.own-wild{outline:1.5px dashed currentColor;outline-offset:-1.5px}.own-wild .site-letter{font-size:13px}
/* Advanced, laid out like NextDNS (advanced_ui.py): a card per kind of rule, rows with a clock, an on/off switch and
   remove, and an Add button that opens the rest as a list */
.rule-cards{display:grid;gap:16px;max-width:1040px}
.rule-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.rule-card>header{padding:16px 18px}.rule-card>header h2{margin:0 0 4px;font-size:18px}
.rule-card>header p{margin:0;max-width:880px;font-size:13.5px;line-height:1.55;color:var(--muted)}
.rule-card>header p strong{color:var(--ink)}
.rule-card>footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid var(--line);background:#f7faf8;border-radius:0 0 var(--radius) var(--radius)}
.rule-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.rule-row{display:flex;align-items:center;gap:12px;padding:10px 16px 10px 12px;border-bottom:1px solid var(--line);border-left:4px solid #c4553b}
.rule-row:last-child{border-bottom:0}.rule-row.rule-off{border-left-color:#d3d6da}.rule-row.rule-off .rule-name,.rule-row.rule-off>img,.rule-row.rule-off>svg{opacity:.5}
.row-logo{flex:none;width:20px;height:20px;border-radius:5px;object-fit:contain}
.row-icon{flex:none;width:22px;height:22px;color:var(--accent-deep)}
.rule-name{display:grid;flex:1;min-width:0}.rule-name strong{font-size:14.5px;overflow-wrap:anywhere}.rule-name small{font-size:12px;color:var(--muted)}
.rule-tools{display:flex;align-items:center;gap:12px;flex:none}
.row-form{display:inline;margin:0}
.row-clock{display:inline-grid;place-items:center;color:#bfc3c8}.row-clock svg{width:21px;height:21px}
.row-clock:hover{color:var(--accent-deep)}.row-clock-set{color:#8aa800}
.rule-cards button.switch{position:relative;flex:none;width:42px;height:24px;min-height:0;margin:0;padding:0;border:0;border-radius:12px;background:#cfd2d6;box-shadow:none;cursor:pointer}
.rule-cards button.switch span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.rule-cards button.switch[aria-checked=true]{background:var(--accent)}.rule-cards button.switch[aria-checked=true] span{transform:translateX(18px)}
.rule-cards button.row-remove{width:28px;height:28px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#9a9fa5;font-size:20px;line-height:1;box-shadow:none}
.rule-cards button.row-remove:hover{background:#fbe9e5;color:#a3361f}
.add-button{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:0;margin:0;padding:8px 14px;border:0;border-radius:8px;background:var(--accent);color:#fff;
  font-size:12.5px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;text-decoration:none;cursor:pointer;list-style:none}
.add-button::-webkit-details-marker{display:none}.add-button:hover{background:var(--accent-deep);color:#fff}
.add-button.add-times{background:#86a300}.add-button.add-times:hover{background:#6d8500}.add-button.add-deny{background:#b5452c}
.picker>summary::before{content:"+";font-size:15px}
.picker[open]>summary::after{content:"";position:fixed;inset:0;z-index:55;background:#0f2a2059;cursor:default}
.picker-panel{position:fixed;top:6vh;left:50%;z-index:60;width:min(640px,94vw);max-height:84vh;overflow:auto;transform:translateX(-50%);
  background:var(--card);border-radius:14px;box-shadow:0 24px 60px #0f2a2055}
.picker-head{position:sticky;top:0;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;background:var(--card);border-bottom:1px solid var(--line)}
.picker-head strong{font-size:17px;margin-right:auto}.picker-head .pick-search{flex:1 1 200px;margin:0;min-height:38px}
.pick-list{list-style:none;margin:0;padding:0}.pick-row{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line)}
.pick-row[hidden]{display:none}
.rule-cards button.pick-add{width:auto;min-height:0;margin:0;padding:6px 14px;border-radius:7px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}
.switch-line{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:600}
.switch-stack{display:grid;gap:12px;padding:4px 16px 14px}
/* Switches in a card's footer, each with what it does under it (Advanced › Ads & trackers › Facebook ads) */
.rule-card>footer>.switch-stack{width:100%;padding:2px 0;gap:14px}
.switch-stack .switch-line+.card-foot-note{margin:4px 0 0;line-height:1.5}
@media(min-width:901px){.switch-stack .switch-line+.card-foot-note{margin-left:52px}}
.switch-stack .card-foot-note{font-size:13.5px}.switch-stack .card-foot-note strong{color:var(--ink)}
.levels{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--card)}
.level-form{display:contents}
.rule-cards button.level{width:auto;min-height:0;margin:0;padding:7px 16px;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:13px;font-weight:700;box-shadow:none}
.rule-cards button.level+button,.level-form+.level-form button.level{border-left:1px solid var(--line)}
.rule-cards button.level-on{background:var(--accent);color:#fff}
.tld-chips{padding:0 16px 12px}.tld-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.rule-cards button.tld-suggest{width:auto;min-height:0;margin:0;padding:4px 11px;border:1px solid var(--line);border-radius:20px;background:var(--pale);color:var(--ink);font-size:12.5px;font-weight:700;box-shadow:none}
.own-add-inline{display:flex;flex-wrap:wrap;gap:10px;padding:12px 16px;border-top:1px solid var(--line)}
.own-add-inline input{flex:1 1 240px;margin:0;min-height:42px;font-size:15px}
.card-foot-note{margin:0;font-size:12.5px;color:var(--muted)}.card-foot-note .mono{color:var(--ink);font-weight:700}
.times-summary{margin:0;padding:0 18px 12px 36px;font-size:13.5px}
.rule-error{margin:0}
@media(max-width:900px){.rule-row{padding:10px 10px 10px 8px;gap:9px}.rule-tools{gap:8px}.picker-panel{top:3vh;max-height:90vh}}
.rule-meta{margin-top:2px}.rule-meta a{font-weight:700}
/* Home: what protection is on (changed on Block apps & sites › Advanced) */
.protection-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin:0 0 16px;padding:0;list-style:none}
.protection-summary li{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);font-size:13.5px}
.protection-summary strong{text-align:right}.protection-summary .on{color:var(--accent-deep)}.protection-summary .off{color:var(--muted)}
.tld-add{display:flex;flex-wrap:wrap;gap:8px;width:100%}.tld-add input{flex:1 1 180px;margin:0;min-height:38px}
.rule-card .own-bulk{width:100%;margin-top:4px}.rule-card .own-bulk textarea{min-height:120px}
.pick-heading{margin:0;padding:12px 16px 6px;font-size:12.5px;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);background:#f7faf8;border-bottom:1px solid var(--line)}.pick-heading[hidden]{display:none}
/* Advanced: each row says what it does now; the clock turns green when the row uses the Allowed times */
.rule-state{font-weight:700}.state-all{color:#a3361f}.state-timed{color:#8a6100}.state-waiting{color:#a3361f}.state-off{color:var(--muted)}
.rule-row.rule-timed{border-left-color:#d9a400}
.rule-row.rule-timed.rule-off .rule-name{opacity:1}
@media(max-width:900px){.rule-row{display:grid;grid-template-columns:32px minmax(0,1fr)}.rule-row>.rule-tools{grid-column:2;justify-self:start}.rule-row .rule-meta{font-size:13px}}
.rule-cards button.row-clock{display:inline-grid;place-items:center;width:30px;height:30px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;
  background:transparent;color:#bfc3c8;box-shadow:none;cursor:pointer}
.rule-cards button.row-clock:hover{background:var(--accent-soft);color:var(--accent-deep)}
.rule-cards button.row-clock-set{color:#fff;background:#86a300}.rule-cards button.row-clock-set:hover{background:#6d8500;color:#fff}
.rule-cards button.row-clock svg{width:21px;height:21px}
.times-form{padding:4px 18px 16px}.times-grid{display:grid;grid-template-columns:1fr;gap:2px;max-width:560px}.times-grid .times-row{grid-template-columns:110px 1fr 1fr;margin:0 0 6px}
.router-visual{margin:20px 0;max-width:420px;width:100%}
.router-visual>svg{display:block;width:100%;height:auto}
.router-visual figcaption{margin-top:10px;color:#4f5d6d;font-size:14px;line-height:1.5}
.times-form .form-actions{margin-top:10px}
.card-note-strong{margin:0 18px 6px;padding:8px 12px;border-radius:var(--radius-sm);background:#f3f7e3;color:#4d5c00;font-size:13.5px;font-weight:700}
.pick-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.pick-group{font-size:12px;padding:5px 12px;border-radius:999px;text-transform:none;letter-spacing:0;background:var(--accent,#1f5fae);color:#fff;border:0;cursor:pointer}.pick-whole{font-size:12px;text-transform:none;letter-spacing:0;color:var(--muted)}.times-fold>summary{cursor:pointer;font-weight:700;color:var(--accent,#1f5fae);margin:4px 0 10px}

/* Private server overview: one ruled list, with operational details folded below each server. */
.admin-server-overview{font-variant-numeric:tabular-nums}
.admin-server-overview .admin-fleet-summary{display:grid;grid-template-columns:1.1fr 1.1fr 1fr;gap:24px;padding:8px 0 22px;border-bottom:1px solid var(--line)}
.admin-server-overview .admin-fleet-summary>div{min-width:0}
.admin-server-overview .admin-fleet-summary strong{display:block;margin:5px 0;color:var(--ink);font-size:30px;font-weight:750;line-height:1.25;letter-spacing:-.6px}
.admin-server-overview .admin-fleet-summary span{display:block;color:var(--muted);font-size:12px;line-height:1.5}
.admin-server-overview .admin-fleet-summary .admin-fleet-label{color:var(--ink);font-size:13px;font-weight:700}
.admin-server-overview .admin-fleet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0 20px}
.admin-server-overview .admin-fleet-toolbar p{margin:0;font-size:12px}
.admin-server-overview .admin-fleet-toolbar button{flex:none;min-height:38px;padding:7px 13px;font-size:12px}
.admin-server-overview .admin-server-list{border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}
.admin-server-overview .admin-server{padding:22px 24px 0}
.admin-server-overview .admin-server+.admin-server{border-top:1px solid var(--line)}
.admin-server-overview .admin-server-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 20px}
.admin-server-overview .admin-server-heading h2{margin:0 0 3px;font-size:18px;font-weight:750;line-height:1.35;letter-spacing:-.2px;color:var(--ink)}
.admin-server-overview .admin-server-host{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.admin-server-overview .admin-server-state{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;text-align:right}
.admin-server-overview .admin-server-state>span:last-child:not(.badge){font-size:11px;max-width:220px;color:var(--muted)}
.admin-server-overview .admin-server-state .badge{font-size:11px;line-height:1.3;padding:4px 8px;white-space:nowrap}
.admin-server-overview .admin-server-readings{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 18px;margin:22px 0 18px}
.admin-server-overview .admin-server-readings>div{min-width:0}
.admin-server-overview .admin-server-readings dt{font-size:11px;line-height:1.4;color:var(--muted);margin-bottom:5px}
.admin-server-overview .admin-server-readings dd{margin:0;font-size:17px;line-height:1.35;font-weight:700;overflow-wrap:anywhere;color:var(--ink)}
.admin-server-overview .admin-server-readings dd>small{font-size:11px;font-weight:500;white-space:nowrap}
.admin-server-overview .admin-metric-featured dd{color:#153e6d;font-size:24px;line-height:1}
.admin-server-overview .admin-server-readings .admin-metric-note{display:block;margin-top:6px;color:var(--muted);font-size:10px;line-height:1.5;font-weight:400}
.admin-server-overview .admin-metric-unavailable{font-size:13px;font-weight:500;letter-spacing:0;color:#737a76}
.admin-server-overview .admin-server-details{border-top:1px solid #edf0ed;margin-top:4px}
.admin-server-overview .admin-server-details>summary{padding:12px 0;cursor:pointer;font-size:12px;font-weight:650;color:#344a63;list-style-position:inside}
.admin-server-overview .admin-server-details[open]>summary{padding-bottom:8px}
.admin-server-overview .admin-server-detail-scroll{overflow-x:auto;margin:0 -8px}
.admin-server-overview .admin-server-details table{width:100%;table-layout:fixed;font-size:12px;border:0;margin:0}
.admin-server-overview .admin-server-details th,.admin-server-overview .admin-server-details td{text-align:left;vertical-align:top;padding:10px 8px;white-space:normal;overflow-wrap:anywhere;background:transparent}
.admin-server-overview .admin-server-details th{font-size:11px;font-weight:650;color:var(--muted);border-bottom:1px solid var(--line)}
.admin-server-overview .admin-server-details td{border:0;line-height:1.7}
.admin-server-overview .admin-server-details small{font-size:10px;color:var(--muted)}
.admin-server-overview .admin-server-details .uptime-strip{margin-top:10px;max-width:100%}
.admin-server-overview .admin-server-details p{font-size:11px;margin:8px 0 16px}
.admin-server-overview>p.helper{font-size:12px;margin:16px 0}
@media(max-width:1100px){.admin-server-overview .admin-server-readings{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}.admin-server-overview .admin-server-readings>div:nth-child(n+4){border-top:1px solid #edf0ed;padding-top:14px}.admin-server-overview .admin-fleet-summary{gap:18px}.admin-server-overview .admin-fleet-summary strong{font-size:25px}}
@media(max-width:620px){.admin-server-overview .admin-fleet-summary{grid-template-columns:1fr 1fr;gap:18px}.admin-server-overview .admin-fleet-summary>div:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 14px}.admin-server-overview .admin-fleet-summary>div:last-child strong{margin:0;font-size:21px}.admin-server-overview .admin-fleet-summary>div:last-child span:last-child{margin-left:auto}.admin-server-overview .admin-fleet-summary strong{font-size:26px}.admin-server-overview .admin-fleet-toolbar{align-items:flex-start;gap:12px}.admin-server-overview .admin-server{padding:19px 16px 0}.admin-server-overview .admin-server-heading{flex-direction:column;gap:8px}.admin-server-overview .admin-server-state{justify-content:flex-start;text-align:left}.admin-server-overview .admin-server-state>span:last-child:not(.badge){max-width:none}.admin-server-overview .admin-server-readings{gap:18px 14px;margin-top:19px}.admin-server-overview .admin-server-readings dd{font-size:16px}.admin-server-overview .admin-metric-featured dd{font-size:23px}.admin-server-overview .admin-server-details table{min-width:470px}}
@media(max-width:380px){.admin-server-overview .admin-server-readings{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-server-overview .admin-server-readings>div:nth-child(3){border-top:1px solid #edf0ed;padding-top:14px}.admin-server-overview .admin-fleet-summary{grid-template-columns:1fr}.admin-server-overview .admin-fleet-summary>div:last-child span:last-child{margin-left:0}.admin-server-overview .admin-fleet-toolbar{flex-direction:column}}
.free-usage progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:10px;accent-color:#153e6d;background:#e3e7ec;border:0;border-radius:5px;overflow:hidden;margin:16px 0}
.free-usage progress::-webkit-progress-bar{background:#e3e7ec;border-radius:5px}.free-usage progress::-webkit-progress-value{background:#153e6d;border-radius:5px}.free-usage progress::-moz-progress-bar{background:#153e6d;border-radius:5px}
.free-usage .notice{margin:16px 0}.cf-turnstile{min-height:65px;max-width:100%}
/* Sign up: the compact check (150 x 140, chosen by signup.js where the normal 300px one does not fit) keeps its room. */
.cf-turnstile[data-size=compact]{min-height:140px}

/* DNS setup: helper text must not size the address column or squeeze the heading. */
.dns-card{grid-template-columns:minmax(240px,1fr) minmax(0,1.65fr);align-items:start;gap:18px 28px}
.dns-card-text,.dns-numbers{min-width:0}
.dns-card>.helper,.dns-card>.server-picker,.dns-card>.server-details{grid-column:1/-1;min-width:0;margin:0}
.dns-card>.helper{max-width:80ch;line-height:1.55}
.dns-card .copy-chip{min-width:0}.dns-card .copy-button{flex:none}
/* IPv6 disclosure must span the card, not inherit its narrow text column.
   Keep the complete address readable and the Copy control out of its space. */
.dns-card>details{grid-column:1/-1;min-width:0;width:100%}
.dns-card>details>.dns-numbers{margin-top:12px;max-width:760px;gap:16px}
.dns-card>details .dns-number{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:start}
.dns-card>details .copy-chip{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:12px}
.dns-card>details .copy-chip>.mono{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow-x:auto;max-width:100%;padding:4px 0}
@media(max-width:600px){
  .dns-card>details .copy-chip{grid-template-columns:minmax(0,1fr);padding:12px}
  .dns-card>details .copy-button{justify-self:start}
}
@media(max-width:1100px){.dns-card{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.dns-card{padding:20px 18px;gap:16px}.dns-card .dns-number{gap:6px}.dns-card>.helper{font-size:13px}}

/* Readable controls and clear choices across the customer workspace. */
:root{font-size:16px;--muted:#4e555e}
.panel-content p{color:#373e47}.panel-content .helper,.panel-content small{font-size:14px;line-height:1.55}
.field-label,.checkbox-row,.choice strong,.query-intro,.account-card p,.account-details dd,.notice,.empty-state{font-size:15px}
.section-heading p,.account-details dt,.choice small,.auth-intro,.auth-links,.site-footer{font-size:14px}
.panel-content button,.panel-content .button-link,.copy-button,.schedule-actions button,.schedule-actions .button-link{min-height:44px;font-size:14px}
.panel-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.panel-content select,.panel-content textarea{min-height:44px;font-size:15px}
.quick-scope{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px 16px}
.quick-scope .field-label{width:100%;min-width:0;max-width:none}.quick-scope .helper{grid-column:1/-1}
.quick-scope select{min-width:0;min-height:46px;font-size:16px}
.quick-buttons button{min-height:44px}.quick-grid h3{font-size:17px}.quick-title{font-size:20px}
.plan-grid,.plan-picker .plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.plan-card{min-width:0;padding:20px}.plan-card h3{font-size:20px}.plan-card button{width:100%;white-space:nowrap}
.plan-current{border:2px solid var(--accent);background:#f0f4f8}.plan-card.plan-free{margin:18px 0}
.plan-card .badge{font-size:12px}.billing-period label{min-height:44px;font-size:14px}
.age-step>h2{flex-wrap:wrap}.custom-chip{display:inline-flex;padding:3px 10px;background:#edf0ed;color:#3c4652;border:1px solid #cbd0d6;border-radius:999px;font-size:13px;font-weight:700}
.age-tile.age-current{box-shadow:0 0 0 3px #d8e3ef}.age-tile .age-badge{position:static;order:-1;font-size:12px;margin-bottom:5px}
.age-tile strong{font-size:16px}.group-state{white-space:nowrap}.tile span{font-size:14px}
.workspace-nav a{min-height:44px;font-size:15px}.row-logo.app-logo{width:24px;height:24px;flex:none;border-radius:0;background:none}
.setup-checklist{margin:0 0 22px;padding:20px 24px;border:1px solid #cfd6df;border-radius:14px;background:#fff}
.setup-checklist>summary{font-size:18px;font-weight:700;cursor:pointer;min-height:32px}.setup-checklist ol{margin:14px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.setup-checklist li{font-size:15px;line-height:1.55;padding:10px 0;border-top:1px solid var(--line)}.setup-checklist small{margin:4px 0 0 20px}
.setup-checklist .setup-done{border-color:#a5b8ce}.setup-checklist .setup-done>a{color:#203e61;font-weight:700}
.setup-checklist .setup-step-state{display:inline-flex;margin:0 0 8px;padding:2px 8px;border-radius:999px;background:#eef2ef;color:#4e555e;font-size:12px;font-weight:700}
.setup-checklist .setup-done .setup-step-state{background:#e3eaf1;color:#203e61}
.analytics-empty h2{margin-top:0}.analytics-empty .button-link{margin-top:6px}
.account-context{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:0 0 20px;padding-bottom:14px;border-bottom:1px solid var(--line);font-size:14px;color:#424b56}
.account-context>span:first-child{min-width:0;overflow-wrap:anywhere}.account-context>a{margin-left:auto;white-space:nowrap}.account-context .chip{font-size:13px}
.today-stats{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 26px;margin:0 0 20px;padding:17px 20px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#32404f}
.today-stats>div{display:flex;align-items:baseline;gap:7px}.today-stats strong{font-size:24px;line-height:1.2;letter-spacing:-.6px;color:#1f344c}.today-stats span{font-size:14px}
.today-stats>small{flex-basis:100%;font-size:13px;color:#525b65;line-height:1.5}.today-stats p{margin:0}.today-stats.today-unavailable{background:#f8faf8;font-size:14px;line-height:1.5}
.today-unavailable>strong{flex-basis:100%;font-size:15px;line-height:1.4;letter-spacing:0}.today-unavailable>span{color:#525b65}
.protection-summary{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.protection-summary li{align-items:center;font-size:15px;gap:12px}.protection-summary li>span{min-width:0}.protection-summary form{margin:0;flex:none}
.protection-card button.protection-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:36px;padding:6px 10px;border:1px solid #bdc5cf;border-radius:10px;box-shadow:none}
.protection-toggle strong{white-space:nowrap;font-size:14px;text-align:center}.protection-card .protection-toggle small{font-size:12px;line-height:1.25;color:inherit}
.protection-card .protection-toggle.on{background:#e3eaf3;color:#203d5e}.protection-card .protection-toggle.off{background:#f0f3f1;color:#444d57}
.protection-card .protection-toggle:hover{border-color:#37597f;background:#d5dfeb;color:#182a3e}.protection-summary .chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:150px;overflow-wrap:anywhere;white-space:normal;text-align:center;text-decoration:none;font-size:13px}
.protection-summary .chip.on{background:#e3eaf3;color:#203d5e}.protection-summary .chip.off{background:#f0f3f1;color:#444d57}
.ddns-advanced{margin:22px 0}.ddns-advanced>summary{min-height:32px;cursor:pointer;font-size:16px;font-weight:700;color:#32404f}
.ddns-advanced>.ddns-card{margin:16px 0 0;padding:0;border:0;box-shadow:none;background:transparent}

/* Approved Parent workspace: compact forest/mint icons, equal cards and native accessible controls. */
.workspace-page:not(.office-page){--accent:#173b65;--accent-deep:#112d4c;--accent-soft:#edf2f7;--pale:#edf2f7;background:#fafcfb;background-image:none}
.workspace-page:not(.office-page) .sidebar{background:#fff;border-color:#dbe0e5}
.workspace-page:not(.office-page) .sidebar .brand{color:#16293f}
.workspace-page:not(.office-page) .workspace-nav>a{color:#4b535c;border-radius:8px}
.workspace-page:not(.office-page) .workspace-nav>a.selected{background:#edf2f7;color:#13355c;box-shadow:inset 3px 0 #235185}
.workspace-page:not(.office-page) .nav-icon,.workspace-page:not(.office-page) .tab-icon{width:20px;height:20px;color:#365272}
.workspace-page:not(.office-page) .panel{max-width:1240px}
.workspace-page:not(.office-page) .brand-product{color:#516174}
.workspace-page:not(.office-page) .sidebar-bottom a{color:#414f5e;opacity:1;font-size:13px}.workspace-page:not(.office-page) .sidebar-bottom .foot-icon{color:#41566e;opacity:1;width:18px;height:18px}.workspace-page:not(.office-page) .sidebar-bottom a:hover{color:#16304e}
.group-grid{align-items:start;grid-auto-rows:auto;gap:14px}
.group-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #d5dae0;border-radius:12px;box-shadow:none;background:#fff}
.group-card:not(:has(.group-times)){min-height:146px}.group-card:has(.group-times):not(:has(.group-times[open])){min-height:190px}
.group-card>.group-tile,.group-card>.group-tile:has(input:checked){position:relative;flex:1;align-items:flex-start;gap:14px;padding:18px;border:0;background:transparent}
.group-tile input,.parent-pack-choices input{position:absolute!important;opacity:0;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%)}
.group-card:has(.group-tile input:checked){border-color:#b66c64;background:#fff5f3;box-shadow:inset 0 0 0 1px #b66c64}
.group-card:has(.group-tile input:focus-visible){outline:3px solid #214671;outline-offset:3px}
.group-card:hover{border-color:#768fab}
.group-icon{width:24px;height:24px;padding:4px;border-radius:8px;box-sizing:content-box;background:#edf2f7;color:#2a4e77}
.group-tile:has(input:checked) .group-icon{background:#f7e5e1;color:#88483f}
.group-text{gap:5px;flex:1}.group-text strong{font-size:17px;line-height:1.3;color:#1f2d3e}
.panel-content .group-text small{font-size:13px;line-height:1.45;color:#515962}
.group-state,.group-tile:has(input:checked) .group-state{font-size:13px;line-height:1.45;white-space:normal;color:#314965;font-weight:700}
.group-state::before{content:"";display:inline-block;width:7px;height:7px;border:1px solid currentColor;border-radius:50%;margin-right:7px}
.group-tile:has(input:checked) .group-state::before{background:currentColor}
.group-times{margin-top:auto;padding:0 18px;border-color:#dce1e7}.group-times>summary{min-height:44px;padding:11px 0;font-size:14px}
.group-times>summary::before{content:""}.group-times>summary::after{content:" +"}.group-times[open]>summary::after{content:" −"}
.group-times .times-sentence{font-size:13px;line-height:1.5;margin:0 0 12px}
.parent-rules-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.parent-rules-heading{display:flex;align-items:center;gap:14px;min-width:0}.parent-rules-heading h2{margin:0;font-size:23px;overflow-wrap:anywhere}.parent-rules-heading p{margin:3px 0 0}
.parent-rules-top .mode-switch{margin:0;flex:1;max-width:430px}.mode-switch a.active{background:#edf2f7;color:#143357;box-shadow:inset 0 0 0 1px #90a6bf}.mode-switch a.active small{color:#465362}
.parent-age{border:1px solid #d5dae0;border-radius:12px;background:#fff;margin:0 0 22px;padding:0 18px}.parent-age>summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:58px;font-weight:800;cursor:pointer;list-style:none}.parent-age>summary::-webkit-details-marker{display:none}.parent-age>summary>span:last-child{margin-left:auto;font-size:13px;font-weight:600;color:#3e5671}.parent-age>summary::after{content:"+"}.parent-age[open]>summary::after{content:"−"}.parent-age .age-step{border:0;box-shadow:none;margin:0;padding:8px 0 20px}
.group-legend{align-items:flex-start;background:#f0f3f7;border:1px solid #d7dee7;font-size:14px}.legend-tick{width:20px;height:20px; margin-top:2px;border-radius:5px}.legend-tick::after{left:7px;top:3px;width:5px;height:10px;border-width:0 2px 2px 0}
.group-heading{font-size:13px;color:#495767;margin:26px 0 12px;letter-spacing:.8px}
.easy-form .sticky-save{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.easy-form .sticky-save span{font-size:14px;color:#485461}
.family-section{margin:26px 0 32px}.family-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px}.family-heading h2{font-size:21px;margin:0}.family-heading a{font-size:14px}.family-section>.helper{margin:8px 0 18px}
.kid-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;grid-auto-rows:1fr;align-items:stretch}
.kid-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:330px;border:1px solid #d2d9e0;border-radius:15px;background:#f5faf6;padding:22px;box-shadow:0 3px 10px #163e2510}
.kid-head{display:flex;align-items:center;gap:13px;min-width:0}.kid-head>div{min-width:0}.kid-head h3{font-size:21px;margin:0;line-height:1.25;overflow-wrap:anywhere}.kid-type{display:block;font-size:13px;color:#566371;margin-top:5px}
.kid-card .kid-rule-label{font-size:12px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#495a6d;margin:24px 0 12px}
.kid-blocks{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:12px}.kid-blocks li{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.35}.kid-blocks .group-icon{width:20px;height:20px;padding:0;background:transparent;border-radius:0}.kid-blocks .kid-more{font-size:13px;color:#55616f}
.kid-actions{margin:auto -22px -22px;padding-top:8px}.kid-actions>a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 22px;border-top:1px solid #dbe1e7;text-decoration:none;font-size:14px;font-weight:700;color:#203854}.kid-actions>a:last-child{border-radius:0 0 15px 15px}.kid-actions>a:hover{background:#e8edf3}
.kid-add{align-items:center;justify-content:center;text-align:center;text-decoration:none;border-style:dashed;border-color:#90a2b6;background:#f8fbf9;color:#223a56;gap:12px;box-shadow:none}.kid-add h3{font-size:22px;margin:0}.kid-add p{font-size:15px;line-height:1.5;margin:0;max-width:210px}.kid-add>span:last-child{font-size:14px;font-weight:700;margin-top:10px}.kid-add-icon{display:grid;place-items:center;font-size:50px;font-weight:400;width:76px;height:76px;border:2px dashed #8095ac;border-radius:50%;line-height:1;margin-bottom:12px}
.avatar-picker{flex:none}.avatar-picker>summary{list-style:none;cursor:pointer}.avatar-picker>summary::-webkit-details-marker{display:none}.kid-avatar{display:grid;place-items:center;width:62px;height:62px;border:1px solid #c6d2e0;border-radius:50%;background:#dee5ee;color:#214064;padding:13px}.kid-avatar svg{width:100%;height:100%}.kid-avatar:has(img){padding:0;overflow:hidden}.kid-avatar img{width:100%;height:100%;object-fit:cover}.kid-avatar:hover{background:#cbd8e7}.kid-avatar:focus-visible{outline:3px solid #214671;outline-offset:3px}
.avatar-panel{position:fixed;z-index:80;top:50%;left:50%;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 32px));max-height:80vh;overflow:auto;padding:22px;background:#f8fcf9;border:1px solid #a9bace;border-radius:18px;box-shadow:0 22px 75px #153a2545}.avatar-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.avatar-heading h3{font-size:19px;line-height:1.4;margin:0;flex:1;overflow-wrap:anywhere}
.panel-content .avatar-close{min-width:44px;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;color:#1f3957;font-size:28px}.avatar-panel form{margin:0}.avatar-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.panel-content .avatar-options button{display:flex;flex-direction:column;min-width:0;gap:6px;padding:10px 4px;background:#eef2f7;border:1px solid #c5d2e0;box-shadow:none;color:#2d496a;border-radius:10px}.avatar-options svg{width:32px;height:32px}.avatar-options span{font-size:11px;line-height:1.3}.panel-content .avatar-options button[aria-pressed=true]{border:2px solid #254c78;background:#dce5ef;padding:9px 3px}.avatar-panel .helper{font-size:12px;margin:15px 0 0}.avatar-panel .avatar-upload{margin-top:14px}.photo-label{position:relative;width:100%;gap:6px;cursor:pointer}.photo-label:focus-within{outline:3px solid #214671;outline-offset:2px}.photo-label input[type=file]{position:absolute!important;inset:0;opacity:0;cursor:pointer;max-width:100%}.photo-preview{display:flex;align-items:center;gap:12px;margin-top:12px}.photo-preview canvas{width:96px;height:96px;border-radius:12px;border:1px solid #c5d2e0}.avatar-panel .photo-status{font-size:12px;line-height:1.5;margin:10px 0 0}
.avatar-upload[hidden],.photo-preview[hidden],.avatar-close[hidden]{display:none!important}
.avatar-options img.avatar-art{width:44px;height:44px;object-fit:contain}
.kid-avatar:has(.avatar-art){padding:0;border:0;background:transparent;overflow:visible}
.kid-avatar img.avatar-art{object-fit:contain}
.avatar-character{display:block;flex:none;width:44px;height:49.53px;background:url('/kid-icons-characters-v1.png?v=3') no-repeat;background-size:400% 200%}
.kid-avatar .avatar-character{width:55px;height:61.91px}
.avatar-character-unicorn{background-position:0 0}.avatar-character-lion{background-position:33.3333% 0}.avatar-character-penguin{background-position:66.6667% 0}.avatar-character-bunny{background-position:100% 0}
.avatar-character-turtle{background-position:0 100%}.avatar-character-spacecat{background-position:33.3333% 100%}.avatar-character-bee{background-position:66.6667% 100%}.avatar-character-redpanda{background-position:100% 100%}
/* Owner-supplied 4-by-2 sheets: show each original cell without editing the art. */
.ui-art{display:inline-block;flex:none;width:32px;height:36px;background-image:url('/ui-icons-tools-v1.png?v=3');background-repeat:no-repeat;background-size:400% 200%;vertical-align:middle}
.workspace-page:not(.office-page) .ui-art.nav-icon,.workspace-page:not(.office-page) .sidebar-bottom .ui-art.foot-icon,.workspace-page:not(.office-page) .ui-art.tab-icon{width:22px;height:24.76px}
.ui-art-setup{background-position:66.6667% 0}.ui-art-help{background-position:100% 0}.ui-art-account{background-position:0 100%}.ui-art-filter{background-position:100% 100%}
.support-art{width:40px;height:45px}.account-support h2{display:flex;align-items:center;gap:10px}.support-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.support-head .auth-intro{margin:0}
/* Account › Help from a real person: Write to us and Your requests with room between them (UX-8). */
.support-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.ui-art-protected{background-image:url('/ui-icons-status-v1.png?v=3');background-position:0 0}
.quick-grid h3,.protection-card h2{display:flex;align-items:center;gap:6px}
.quick-grid h3::before,.protection-card h2::before{content:"";flex:none;width:32px;height:36px;background-repeat:no-repeat;background-size:400% 200%}
.quick-grid>div:first-child>h3::before{background-image:url('/ui-icons-status-v1.png?v=3');background-position:33.3333% 0}
.quick-grid>div:last-child>h3::before{background-image:url('/ui-icons-tools-v1.png?v=3');background-position:33.3333% 100%}
.protection-card h2::before{background-image:url('/ui-icons-tools-v1.png?v=3');background-position:100% 100%}
.status-ok .status-icon{font-size:0;color:transparent;background:transparent;box-shadow:none;border-radius:0}
.status-ok .status-icon::before{content:"";width:48px;height:54px;background:url('/ui-icons-status-v1.png?v=3') 0 0/400% 200% no-repeat}
.device-grid{align-items:stretch;grid-auto-rows:1fr}.device-grid>.device-card{margin:0;display:flex;flex-direction:column}.device-grid .manage{margin-top:auto}.device-avatar,.device-grid .device-card:nth-child(3n+2) .device-avatar,.device-grid .device-card:nth-child(3n) .device-avatar{background:#dee5ee;color:#214064}
.schedule-sentence{padding:16px 18px;background:#edf2f7;border:1px solid #ccd7e3;border-radius:10px;font-size:17px;line-height:1.55;color:#1f3855!important}
.parent-pack-choices{display:flex;flex-wrap:wrap;gap:8px;border:0;background:transparent;box-shadow:none;overflow:visible}.parent-pack-choices .choice{position:relative;flex:0 1 auto;border:1px solid #c8d0d9!important;border-radius:24px;padding:10px 15px;min-height:44px;background:white}.parent-pack-choices .choice:has(input:checked){background:#e4ebf2;border-color:#3e6188!important;color:#15304e}.parent-pack-choices .choice:has(input:focus-visible){outline:3px solid #214671;outline-offset:2px}.parent-pack-choices .choice strong{font-size:14px}
@media(max-width:1100px){.kid-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.kid-grid{grid-template-columns:1fr;gap:15px}.kid-card{min-height:310px}.kid-add{min-height:260px}.group-grid{grid-template-columns:1fr}.group-card>.group-tile,.group-card>.group-tile:has(input:checked){padding:16px}.group-text strong{font-size:16px}.parent-rules-top{align-items:stretch;flex-direction:column;gap:16px}.parent-rules-top .mode-switch{max-width:none;width:100%}.kid-avatar{width:58px;height:58px}.family-heading{align-items:flex-start}.avatar-panel{max-height:calc(100dvh - 110px);top:calc(50% - 25px)}.group-grid{grid-auto-rows:auto}.group-card{min-height:132px}.group-times{padding:0 16px}.schedule-sentence{font-size:15px}.group-legend{font-size:13px}.kid-head h3{font-size:22px}}
@media(max-width:900px){
  .panel:has(.parent-rules-heading)>.panel-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0}
  .panel:has(.parent-rules-top){padding-top:16px}.panel:has(.parent-rules-top) .rules-for{margin-bottom:14px;padding:12px;gap:8px}
  .panel:has(.parent-rules-top) .rules-for .field-label{margin:0}.panel:has(.parent-rules-top) .rules-for .helper{margin:0;font-size:12px;line-height:1.4}
  .parent-rules-top{gap:10px;margin-bottom:12px}.parent-rules-top .mode-switch a{padding:9px 12px;min-height:40px}.parent-rules-top .mode-switch small{display:none}
  .parent-rules-heading h2{font-size:21px}.parent-rules-heading p{font-size:14px;margin-top:0}.parent-age{margin-bottom:12px;padding:0 12px}.parent-age>summary{min-height:46px;gap:7px;font-size:14px}.parent-age>summary>span:last-child{font-size:11px}
  .easy-form .easy-step>h2{margin:10px 0}.group-legend{margin:8px 0 12px;padding:10px;font-size:13px;line-height:1.45;gap:8px}.group-heading{margin:16px 0 9px}
  .group-card:not(:has(.group-times)){height:146px}.group-card:has(.group-times):not(:has(.group-times[open])){height:190px}
}
.dns-card>.server-picker{padding:14px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.dns-card>.server-picker legend{font-size:14px;color:var(--muted)}.dns-card>.server-picker .helper{font-size:14px;margin:4px 0}
/* Parent rules share one schedule editor; cards grow with text rather than clipping it. */
.easy-form .group-grid{gap:10px;align-items:stretch;grid-auto-rows:1fr}
.easy-form .group-card:not(:has(.group-times[open])){height:auto;min-height:172px}
.easy-form .group-card>.group-tile,.easy-form .group-card>.group-tile:has(input:checked){padding:12px 14px;gap:12px;min-height:0}
.easy-form .group-text{gap:4px}.easy-form .group-text strong{font-size:18px;line-height:1.25;color:#171e25}
.easy-form .group-text small{order:2;font-size:12px;line-height:1.35}.easy-form .group-state{order:1;font-size:14px;font-weight:500;color:#252d37}
.easy-form .group-tile:has(input:checked) .group-state{color:#86483f}
.easy-form .group-state::before{width:8px;height:8px;border:1.5px solid #666d76;background:transparent}
.easy-form .group-tile .group-state[data-state=blocked]::before{background:#a85046;border-color:#a85046}
.easy-form .group-tile .group-state[data-state=partial]::before{background:#ac7a26;border-color:#ac7a26}
.easy-form .group-tile .group-state[data-state=scheduled]::before{content:"◷";width:14px;height:auto;border:0;border-radius:0;background:transparent;font-size:17px;line-height:1;color:#79601f}
.easy-form .group-action{order:3;font-size:13px;font-weight:700;line-height:1.5;color:#34414f;margin-top:4px}
.group-action-on,.group-tile:has(input:checked) .group-action-off{display:none}.group-tile:has(input:checked) .group-action-on{display:inline}
.group-schedule{display:flex;align-items:center;gap:7px;min-height:44px;padding:10px 14px;margin-top:auto;border-top:1px solid #e3e8e4;font-size:13px;line-height:1.4;color:#445262;text-decoration:none}
.group-schedule svg{flex:none;width:17px;height:17px}.group-schedule.has-schedule{color:#795b22;font-weight:700}.group-schedule:hover{text-decoration:underline}
.parent-protection-summary{margin:0 0 16px;padding:12px 15px;border:1px solid #d9dee4;border-radius:8px;background:#f6f9f7;color:#2f3e50;font-size:14px;line-height:1.55}
.age-tile .age-protection{display:block;margin-top:7px;font-size:12px;line-height:1.5;font-weight:700;color:#33465b}.age-tile.age-current .age-protection{color:inherit}
.parent-more{margin:24px 0 0;padding-top:18px;border-top:1px solid #d5dae0}.parent-more h2{font-size:16px;margin:0 0 8px}.parent-more p{font-size:14px;line-height:1.65;margin:0;max-width:850px}
.easy-form .group-times{padding:0 14px;border-top:0}.easy-form .group-times>summary{padding:8px 0;min-height:44px;font-size:14px}
.parent-rules-top .mode-switch small{display:none}.parent-rules-top .mode-switch a{min-height:44px;align-content:center;text-align:center}
.easy-form .sticky-save{padding:14px 0;border-top:1px solid #d5dae0;gap:12px}
.easy-form .rules-help{margin:0;flex:1;font-size:13px;color:#4d545c}
.easy-form #selection-state{font-size:14px;color:#264b76;font-weight:600}
.easy-form #selection-state::before{content:"✓";margin-right:7px}
.easy-form #selection-state.rules-unsaved{color:#805512}.easy-form #selection-state.rules-unsaved::before{content:"!"}
@media(max-width:900px){.easy-form .group-card:not(:has(.group-times[open])){height:auto;min-height:172px}.easy-form .group-text strong{font-size:17px}.easy-form .sticky-save{align-items:flex-start}.easy-form .rules-help{flex-basis:100%}.parent-protection-summary{font-size:13px;padding:11px 12px}}
.rule-cards button.row-clock,.rule-cards button.row-remove{width:44px;height:44px;min-height:44px}.rule-cards button.pick-add{min-height:44px;font-size:14px}
.rule-cards button.switch,.rule-cards button.switch[aria-checked=true]{width:46px;height:44px;min-height:44px;background:transparent}
.rule-cards button.switch::before{content:"";position:absolute;top:10px;left:2px;width:42px;height:24px;border-radius:12px;background:#cfd2d6}
.rule-cards button.switch[aria-checked=true]::before{background:var(--accent)}.rule-cards button.switch span{top:13px;left:5px}
@media(max-width:1100px){.age-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1200px){.setup-checklist ol{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
@media(max-width:760px){.plan-grid,.plan-picker .plan-grid{grid-template-columns:minmax(0,1fr)}.quick-scope{grid-template-columns:minmax(0,1fr)}.quick-scope>button{justify-self:start}}
@media(max-width:900px){.setup-checklist{padding:18px}.setup-checklist ol{grid-template-columns:minmax(0,1fr);gap:4px}.rule-tools{gap:4px}}

/* Shared informational server map; no location selection or external map service. */
.server-map{margin:28px 0;max-width:100%;border:1px solid #d9dee4;border-radius:8px;overflow:hidden;background:#fff}
.server-map>svg{display:block;width:100%;height:auto}
.server-map figcaption{padding:18px 22px;color:#3f4a57}
.server-map .server-map-key{margin:0 0 18px;font-size:13px;line-height:1.6}
.server-map .server-map-key strong{color:#182636}
.server-map .server-map-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.server-map .server-map-list>li{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:12px;line-height:1.5}
.server-map .server-map-list strong{display:block;color:#182636;font-size:14px}
.server-map .server-map-list li>span:last-child>span{display:block}
.server-map .server-map-number{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:1px solid #153861;border-radius:50%;background:#153861;color:#fff;font-weight:700;line-height:1}
.server-map .server-map-pending .server-map-number{border:1px dashed #153861;background:#fff;color:#3f4a57}
.server-map .server-map-note{margin:18px 0 0;font-size:12px;line-height:1.6}
@media(max-width:480px){.server-map figcaption{padding:16px}.server-map .server-map-list{gap:16px 10px}.server-map .server-map-list>li{gap:7px;font-size:11px}.server-map .server-map-list strong{font-size:13px}.server-map .server-map-number{flex-basis:21px;width:21px;height:21px}}

/* Compact states, with full-size touch targets on phones. */
.protection-card button.protection-toggle{line-height:1.25}
.protection-summary .chip{flex:none;line-height:1.25;min-height:36px;padding:6px 10px;border-radius:8px}
.traffic-day{display:grid;grid-template-columns:50px minmax(0,1fr) 70px;align-items:center;gap:10px;margin:8px 0;font-size:14px}
.traffic-day meter{width:100%;height:18px}
.traffic-day strong{text-align:right}
@media(max-width:600px){.protection-card button.protection-toggle,.protection-summary .chip{min-height:44px;min-width:44px}.protection-summary{grid-template-columns:1fr}.protection-summary li{padding:10px 12px}}

.traffic-stats .stat strong{font-size:28px;font-weight:750;margin:4px 0}.traffic-stats .stat>span:last-child{display:block;font-size:13px;line-height:1.4;color:var(--muted)}

/* Parent game choices stay collapsed until needed, including on small screens. */
.parent-games{border-top:1px solid #e3e8e4}.parent-games summary{padding:12px 14px;min-height:44px;cursor:pointer;color:#153b67;font-weight:600}
.parent-games-body{padding:0 14px 14px}.parent-games-body p{font-size:14px;line-height:1.5}.parent-game-list{max-height:240px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:10px 0}
.parent-game{display:flex;align-items:center;gap:9px;padding:8px;min-height:44px;font-size:15px;overflow-wrap:anywhere}.parent-game input{flex:none;width:20px;height:20px;accent-color:#153b67}.parent-game[hidden]{display:none}
.parent-game-search{width:100%;min-height:44px}.parent-games:has(input:focus-visible){outline:2px solid #153b67;outline-offset:2px}
@media(max-width:380px){.parent-game-list{grid-template-columns:1fr}}

.group-grid:has(.parent-games[open]){align-items:start}

.group-card[hidden]{display:none!important}.parent-rule-help{margin:12px 0 20px}.parent-rule-help summary,.device-manual summary,.device-setup-help summary{cursor:pointer;min-height:44px;padding:12px 0}
.device-platforms{display:grid;gap:10px;margin:16px 0}.device-platform{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.device-platform>summary{display:flex;gap:12px;align-items:center;cursor:pointer;padding:15px 18px;min-height:56px;font-weight:700}.device-platform>summary:after{content:'+';margin-left:auto}.device-platform[open]>summary:after{content:'−'}.device-platform>summary svg{width:24px;height:24px;flex:none}.device-platform-body{padding:0 18px 18px}.device-platform-body .android-card{border:0;box-shadow:none;padding:0;min-height:0}.device-platform-body .android-card>svg,.device-platform-body .android-card>h3{display:none}.device-manual,.device-setup-help{border-top:1px solid var(--line);margin-top:12px}.device-manual .manual-address{margin-bottom:16px}

.easy-step .group-grid[hidden],.easy-step .group-heading[hidden],.parent-age-hint[hidden]{display:none!important}

.schedule-help{margin:12px 0}.schedule-help>summary{cursor:pointer;padding:10px 0;min-height:44px;font-size:14px;color:#445262}.schedule-help p{font-size:14px;line-height:1.5}
.parent-game-list{grid-template-columns:1fr;max-height:440px}
.parent-game-row{border-bottom:1px solid #e3e8e4}.parent-game-row[hidden]{display:none}
.game-hours,.game-hour-fields,.game-hours-zone{display:none}
.parent-games:has([name=parent_games_mode] option[value=allow]:checked) .parent-game-row:has([name=parent_games]:checked) .game-hours{display:block;padding:0 8px 12px}
.parent-games:has([name=parent_games_mode] option[value=allow]:checked) .game-hours-zone{display:block;font-size:13px;color:#445262}
.game-hours:has(.game-hour-kind option[value=times]:checked) .game-hour-fields{display:block}
.game-hours select{width:100%;min-height:44px;margin:6px 0}.game-hours label{font-size:14px}
.game-hour-days{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}
.game-hour-days label{display:flex;align-items:center;gap:4px;min-height:44px;padding:4px}
.game-hour-days input{width:18px;height:18px;margin:0}
.game-hour-window{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.game-hour-window input{display:block;width:100%;min-width:0;min-height:44px;box-sizing:border-box}
.guided-section{border:1px solid var(--line);border-radius:12px;background:#fff;margin:14px 0;overflow:hidden}
.guided-section>summary{display:flex;align-items:center;gap:12px;min-height:52px;padding:14px 18px;cursor:pointer;font-size:17px;font-weight:700;list-style:none}
.guided-section>summary::after{content:'+';margin-left:auto;font-weight:400}.guided-section[open]>summary::after{content:'−'}
.guided-section>summary svg,.quick-actions .group-icon{width:24px;height:24px;flex:none}
.guided-body{padding:0 18px 18px}.guided-body>section{box-shadow:none;margin:12px 0}
.guided-section[hidden]{display:none!important}.guided-section .guided-section{margin:10px 0}
.parent-section .group-grid{grid-auto-rows:auto;align-items:start}
.website-category-list .group-grid{grid-template-columns:1fr;gap:8px}
.easy-form .website-category-list .group-card:not(:has(.group-times[open])){min-height:0;height:auto;display:block}
.website-category-list .group-text{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 16px;flex:1}
.website-category-list .group-text strong{grid-column:1}.website-category-list .group-state{grid-column:2;grid-row:1}
.website-category-list .group-text>small{grid-column:1}.website-category-list .group-action{grid-column:2;grid-row:2}
.website-category-list .group-schedule{min-height:32px;padding:6px 14px;font-size:13px}
.schedule-step .choice small{font-size:13px;line-height:1.45}.schedule-step .target-section .choice-grid{grid-template-columns:1fr}
.setup-next{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.setup-next h3{font-size:18px}
.quick-actions .button-link{display:inline-flex;align-items:center;gap:8px}
@media(max-width:600px){.guided-body{padding:0 12px 14px}.guided-section>summary{padding:13px 12px;font-size:16px}.website-category-list .group-text{display:flex;flex-direction:column;gap:4px}.website-category-list .group-action{align-self:flex-start}.guided-section .choice-grid{grid-template-columns:1fr}}
/* Every Parent app category uses the same small, guided picker. */
.parent-section:has(.parent-category) .group-grid{grid-template-columns:1fr;gap:10px}
.easy-form .group-card.parent-category-card:not(:has(.group-times[open])){display:block;min-height:0;height:auto;padding:0;overflow:hidden;border:1px solid var(--line)}
.parent-category{border:0}.parent-category>summary{display:flex;align-items:center;gap:12px;padding:15px 16px;list-style:none}
.parent-category>summary::after{content:'+';margin-left:auto;font-size:22px;font-weight:400}.parent-category[open]>summary::after{content:'−'}
.parent-category>summary>span{min-width:0}.parent-category>summary strong{display:block;color:var(--ink);font-size:16px}
.parent-category>summary small{display:block;margin-top:4px;color:var(--muted);font-size:13px;font-weight:400}
.parent-category>summary .group-icon{width:26px;height:26px;flex:none}
.parent-category .parent-games-body{padding:0 16px 16px}.parent-category h3{margin:6px 0 14px;font-size:17px}
.parent-category .parent-selected-list:empty{display:none}.parent-category .parent-selected-list{border:1px solid #c4cdd8;border-radius:8px;background:#f5faf7}
.parent-category .parent-selected-list .game-hours{display:block;padding:0 10px 12px}
.parent-category .game-hours-zone{display:block;font-size:13px;color:#445262}
.parent-category .parent-game-list{max-height:220px;grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0}
.parent-category .parent-game-row{min-width:0}.parent-category .parent-game-row[hidden],.app-hour-controls[hidden]{display:none!important}
.parent-category .parent-game .row-logo{width:24px;height:24px;flex:0 0 24px;object-fit:contain;margin:0}
.pair-qr{display:block;width:240px;max-width:100%;height:auto;margin:16px 0;shape-rendering:crispEdges}.pairing-panel code,#pair-code{overflow-wrap:anywhere;word-break:break-all}
.app-time-block+.app-time-block{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.app-time-block .remove-app-time{margin:8px 0}.add-app-time{margin:10px 0}.app-time-block [hidden]{display:none!important}
.copy-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:16px 0}.copy-targets label{display:flex;gap:10px;align-items:center;min-height:44px;overflow-wrap:anywhere}
.parent-category .parent-selected-title,.parent-category .parent-available-title{font-weight:600;margin:16px 0 7px}
.parent-selected-count{display:inline-block;min-width:24px;text-align:center;padding:2px 5px;border-radius:6px;background:#e2e8ef;margin-left:4px}
.parent-selected-empty{color:var(--muted)}
@media(max-width:600px){.parent-category .parent-game-list{grid-template-columns:1fr}.parent-category .parent-games-body{padding:0 12px 14px}.parent-category>summary{padding:14px 12px}.parent-category .parent-game{font-size:14px}.parent-category .game-hour-window{gap:6px}}
/* Installed Android apps: compact rows, readable on narrow phones. */
.connect-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.connect-grid .account-card{margin:0;min-width:0}.connect-grid form{margin:1rem 0}.connect-grid input,.connect-grid select{width:100%}.device-qr-action{margin:.8rem 0}.connect-grid+p{margin-top:1rem}
@media(max-width:700px){.connect-grid{grid-template-columns:1fr}}
.android-app-rule { display:grid; grid-template-columns:minmax(9rem,1fr) auto minmax(7rem,10rem); gap:1rem; align-items:center; padding:.75rem 0; border-bottom:1px solid #dce0e5; }
.android-app-rule input[type=number] { width:100%; }
.android-app-rule strong { display:flex; align-items:center; gap:.6rem; overflow-wrap:anywhere; }
.android-app-rule .app-initial { display:inline-grid; place-items:center; min-width:24px; height:24px; border-radius:6px; background:#e4e9ee; color:#153b67; }
.android-app-rule[hidden] { display:none; }
@media(max-width:600px) { .android-app-rule { grid-template-columns:1fr 1fr; gap:.5rem; } .android-app-rule strong { grid-column:1/-1; } }

/* One consistent phone navigation row, including the More control. */
@media(max-width:900px){
  .workspace-page:not(.office-page){--phone-nav-height:72px;padding-bottom:calc(var(--phone-nav-height) + env(safe-area-inset-bottom))}
  .workspace-page:not(.office-page) .sidebar{z-index:40;box-shadow:0 1px 0 #173e2b0d}
  .workspace-page:not(.office-page) .tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;box-sizing:border-box;
    height:calc(var(--phone-nav-height) + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px #18352a0a}
  .workspace-page:not(.office-page) .tabbar>a,.workspace-page:not(.office-page) .tab-more>summary{
    display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:44px;height:100%;
    margin:0;padding:6px 2px;border:0;border-radius:10px;font-size:12px;line-height:1.25;font-weight:700;text-align:center;white-space:nowrap}
  .workspace-page:not(.office-page) .tab-more{min-width:0;margin:0;padding:0;border:0;background:transparent}
  .workspace-page:not(.office-page) .tabbar .tab-icon{width:22px;height:22px;flex:none;color:inherit}
  .workspace-page:not(.office-page) .tabbar>a.selected,.workspace-page:not(.office-page) .tab-more:has(.selected)>summary,
  .workspace-page:not(.office-page) .tab-more[open]>summary{color:#13355c;background:#edf2f7;box-shadow:none}
  .workspace-page:not(.office-page) .more-sheet{bottom:calc(var(--phone-nav-height) + env(safe-area-inset-bottom) + 8px);
    max-height:calc(100vh - var(--phone-nav-height) - env(safe-area-inset-bottom) - 76px);
    max-height:calc(100dvh - var(--phone-nav-height) - env(safe-area-inset-bottom) - 76px);
    overflow-y:auto;overscroll-behavior:contain;border-radius:16px}
  .workspace-page:not(.office-page) .more-sheet a{min-height:44px;padding:10px 12px;font-size:15px;line-height:1.4}
  .workspace-page:not(.office-page) .sticky-save,.workspace-page:not(.office-page) form.dirty .sticky-save{
    bottom:calc(var(--phone-nav-height) + env(safe-area-inset-bottom) + 8px)}
  .workspace-page:not(.office-page) .easy-form .sticky-save{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}
  .workspace-page:not(.office-page) .easy-form .sticky-save .rules-help{display:none}
  .workspace-page:not(.office-page) .easy-form .sticky-save #selection-state{font-size:12px;line-height:1.4}
  .workspace-page:not(.office-page) .panel{padding:20px 16px 12px}
  .workspace-page:not(.office-page) .panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
  .workspace-page:not(.office-page) .panel-heading>.button-link{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 10px;font-size:13px}
  .parent-app.workspace-page:not(.office-page) .sidebar{padding:0;border:0;box-shadow:none}
  .parent-app.workspace-page:not(.office-page) .sidebar>.brand{display:none}
  .parent-app.auth-page .auth-hero{display:none}
  .parent-app.auth-page .shell{padding:20px 0;min-height:0}
  .parent-app.auth-page .panel-heading{padding-right:0}
}

/* Google sign-in: official icon artwork and Google Sans; no external page resources. */
@font-face{font-family:GoogleSans;src:url('/google-sans.ttf') format('truetype');font-weight:500;font-display:swap}
.google-button{display:flex;width:100%;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:2px 16px 2px 2px;background:#fff;border:1px solid #747775;border-radius:4px;color:#1f1f1f;text-decoration:none;font:500 14px/20px GoogleSans,sans-serif;max-width:100%;box-sizing:border-box}
.google-button img{width:40px;height:40px;flex-shrink:0}.google-button:focus-visible{outline:3px solid #083d79;outline-offset:3px}.auth-divider{color:#454c53;text-align:center}

/* Friendly touches: faces on the cards, a calm start, a greeting once set up (sheets are small now). */
.kid-avatar{position:relative}.kid-avatar::after{content:"";position:absolute;right:-3px;bottom:-3px;width:20px;height:22.5px;background:url('/ui-icons-status-v1.png?v=3') 100% 100%/400% 200% no-repeat;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 1px #fff);pointer-events:none}
.parent-rules-heading .kid-avatar::after,.avatar-panel .kid-avatar::after{display:none}
.kid-faces{display:inline-flex;align-items:flex-end;justify-content:center;padding-left:8px}.kid-faces .avatar-character{width:40px;height:45.03px;margin-left:-10px;filter:drop-shadow(0 1px 2px #163e2522)}
.kid-add .kid-faces{margin-bottom:12px}.kid-add .kid-faces .avatar-character{width:52px;height:58.54px;margin-left:-12px}
.empty-state .kid-faces{display:flex;margin:4px 0 10px}.empty-state p{margin:0}
.device-head .kid-type{display:block;font-size:12px;color:#566371;margin-top:3px}.device-head h2{margin:0}
.device-setup{margin-top:12px;border:1px solid #d7dee5;border-radius:12px;background:#f8fbf9}.device-setup>summary{display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:14px;font-weight:700;color:#203854;cursor:pointer;list-style:none}.device-setup>summary::-webkit-details-marker{display:none}.device-setup>summary .platform-icon{width:26px;height:26px;flex:none}.device-setup .device-platform-body{padding:0 14px 14px}.device-setup .device-platform-body p{margin:8px 0}
.status-todo .status-icon{font-size:0;color:transparent;background:transparent;box-shadow:none;border-radius:0}
.status-todo .status-icon::before{content:"";width:48px;height:54px;background:url('/ui-icons-tools-v1.png?v=3') 66.6667% 100%/400% 200% no-repeat}
#live-check.status-info .status-icon{font-size:0;color:transparent;background:transparent;box-shadow:none;border-radius:0}
#live-check.status-info .status-icon::before{content:"";width:48px;height:54px;background:url('/ui-icons-status-v1.png?v=3') 100% 0/400% 200% no-repeat}
.setup-checklist.setup-start{border:1px solid #a8b9cc;background:linear-gradient(135deg,#fff,#f3f6fa);box-shadow:var(--shadow-md)}.setup-checklist.setup-start>summary{font-size:20px;letter-spacing:-.4px}.setup-checklist.setup-start li{font-size:16px}
.home-greeting{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;margin:0 0 6px}.home-greeting>p{margin:0;font-size:22px;font-weight:800;letter-spacing:-.5px;color:var(--ink)}
.family-faces{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:14px;font-weight:700;color:#203854}.family-faces .avatar-art,.family-faces .avatar-character,.family-faces svg{width:28px;height:31.52px;margin-right:-9px;flex:none}.family-faces svg{height:28px;color:#214064}.family-faces img.avatar-art{height:28px;border-radius:50%;object-fit:cover}.family-faces>span{margin-left:9px}
.home-ok{display:flex;align-items:center;gap:10px;padding:10px 14px;margin:0 0 16px;border-radius:12px;background:var(--ok-pale);border:1px solid #ccdae9;font-size:15px;font-weight:700;color:#1e3a5b}.home-ok::before{content:"";flex:none;width:28px;height:31.5px;background:url('/ui-icons-status-v1.png?v=3') 0 0/400% 200% no-repeat}
.parent-age>summary .parent-age-action{margin-left:auto;font-size:13px;font-weight:600;color:#3e5671}.parent-age>summary::after{margin-left:6px}
.setup-more{margin-top:8px}
@media(max-width:900px){.home-greeting>p{font-size:20px}.kid-add .kid-faces .avatar-character{width:44px;height:49.53px}}
.panel-content>.account-card{margin-top:16px}
#family-rules,#family-rules details{scroll-margin-top:100px}
#live-check.status-device .status-icon{font-size:22px}
/* Activity on a phone: one card per lookup, with the result beside the website (no sideways scrolling). */
@media(max-width:900px){
  .query-table thead{display:none}.query-table,.query-table tbody{display:block}
  .query-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
  .query-table td{display:block;border:0;padding:0;font-size:14px;min-width:0}
  .query-table td.domain-cell{grid-column:1;grid-row:1;font-weight:700;overflow-wrap:anywhere}
  .query-table td:has(.badge){grid-column:2;grid-row:1;justify-self:end}
  .query-table td.when-cell{grid-column:1;grid-row:2;font-size:12px;color:var(--muted)}
  .query-table td:nth-child(2){grid-column:2;grid-row:2;font-size:12px;color:var(--muted);justify-self:end;text-align:right}
  .query-table td.reason-cell{grid-column:1/-1;grid-row:3;font-size:13px}
  .query-table td:last-child{grid-column:1/-1;grid-row:4}
  .query-table td.tech{grid-column:1/-1;font-size:12px;color:var(--muted)}
  .table-wrap{overflow:visible}
}
/* Activity's sizes at every width (P-3): in the Why cell the answer ("Roblox", "Adult sites") is the largest line, its
   chip 12px and the detail under it 13px; the website and the device are 14px and 13px. Before, the chip was 9px and
   the answer 11px under a 14px detail. */
.query-table .query-reason{gap:4px}
.query-table .query-reason strong{font-size:15px;font-weight:650;line-height:1.3}
.query-table .query-reason small{font-size:13px;font-weight:400;line-height:1.4}
.query-table .query-reason code{font-size:13px}
.query-table .reason-label{font-size:12px;padding:2px 8px}
.query-table .domain-cell{font-size:14px}
.query-table td:nth-child(2){font-size:13px}
/* Allow on a row blocked while the internet was off: 30 min more and Skip stand apart from Always allow below them. */
.allow-confirm .quick-buttons:not(:last-child){margin-bottom:14px}
/* Inside the parent app the parent is already signed in on this phone: no parent sign-in QR offers. */
.parent-app .panel-heading>a[href="/connect"],.parent-app a[href="/connect#parent-qr"],.parent-app #parent-qr{display:none}

/* Add a kid's phone: the three steps on one card, and the kids' Set rules action. */
.connect-steps{margin:4px 0 18px;padding-left:22px}.connect-steps li{margin:8px 0;line-height:1.55}.connect-steps li::marker{font-weight:800;color:#223a56}
.connect-add .guide-kicker,.pairing-panel .guide-kicker{display:block;margin-bottom:6px}.connect-again{margin-top:16px}.connect-again summary{cursor:pointer;font-weight:700}
.kid-actions .kid-rules{font-weight:800}.pairing-panel .setup-next{margin-top:18px}

/* Colour pass: each plan and each task tile gets its own warm colour, so the pages are not all white. */
.plan-grid>.plan-card{position:relative;overflow:hidden;border-width:0;padding-top:26px;box-shadow:0 6px 18px #1a3a2a14}
.plan-grid>.plan-card::before{content:"";position:absolute;inset:0 0 auto 0;height:8px}
.plan-grid>.plan-card:nth-child(1){background:linear-gradient(180deg,#e6edf6 0,#fff 70%)}.plan-grid>.plan-card:nth-child(1)::before{background:#2c65a6}
.plan-grid>.plan-card:nth-child(2){background:linear-gradient(180deg,#e7f0ff 0,#fff 70%)}.plan-grid>.plan-card:nth-child(2)::before{background:#3b7fe0}
.plan-grid>.plan-card:nth-child(3){background:linear-gradient(180deg,#f1ebff 0,#fff 70%)}.plan-grid>.plan-card:nth-child(3)::before{background:#8659d6}
.plan-grid>.plan-card:nth-child(1) h3,.plan-grid>.plan-card:nth-child(1) .plan-price strong{color:#14447a}
.plan-grid>.plan-card:nth-child(2) h3,.plan-grid>.plan-card:nth-child(2) .plan-price strong{color:#2459a8}
.plan-grid>.plan-card:nth-child(3) h3,.plan-grid>.plan-card:nth-child(3) .plan-price strong{color:#6438ad}
.plan-grid>.plan-card .plan-tag{position:absolute;top:18px;right:16px;font-size:12px;font-weight:800;color:#fff;background:#2459a8;border-radius:999px;padding:3px 10px}
.plan-grid>.plan-card li::marker{color:currentColor}.plan-grid>.plan-card:nth-child(1) li::marker{color:#2c65a6}.plan-grid>.plan-card:nth-child(2) li::marker{color:#3b7fe0}.plan-grid>.plan-card:nth-child(3) li::marker{color:#8659d6}
.plan-grid>.plan-card.plan-current{box-shadow:0 0 0 3px var(--accent),0 6px 18px #1a3a2a14}
/* Account: the plan picked on the website's pricing is marked; buying it still takes the parent's own tap. */
.plan-grid>.plan-card.plan-chosen{box-shadow:0 0 0 3px var(--accent),0 6px 18px #1a3a2a14}.badge.badge-chosen{background:var(--accent);color:#fff}
.plan-card.plan-free{background:linear-gradient(180deg,#fff4d9 0,#fffdf6 80%);border-color:#f3dfa6}
.tile-grid .tile{border-width:0;box-shadow:0 4px 14px #1a3a2a12}
.tile-grid .tile:nth-child(1){background:linear-gradient(160deg,#ffe9e6,#fff 75%)}.tile-grid .tile:nth-child(2){background:linear-gradient(160deg,#fff1d6,#fff 75%)}
.tile-grid .tile:nth-child(3){background:linear-gradient(160deg,#e3efff,#fff 75%)}.tile-grid .tile:nth-child(4){background:linear-gradient(160deg,#efe8ff,#fff 75%)}
.tile-grid .tile:nth-child(5){background:linear-gradient(160deg,#dee9f6,#fff 75%)}.tile-grid .tile:nth-child(6){background:linear-gradient(160deg,#ffe8f2,#fff 75%)}
.tile-grid .tile:nth-child(5) .tile-icon{background:#c8daef;color:#14447a}.tile-grid .tile:nth-child(6) .tile-icon{background:#ffd6e7;color:#b0306b}
.tile-grid .tile:hover{box-shadow:0 8px 22px #1a3a2a22;transform:translateY(-1px)}
@media(min-width:1100px){.task-tiles .tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Colour pass: every app group gets its own colour, icon and row tint. */
.parent-category[data-category=games]>summary{background:#fff6f4}.parent-category[data-category=games]>summary .group-icon{background:#ffe1dc;color:#c8432f}
.parent-category[data-category=video]>summary{background:#fff6fa}.parent-category[data-category=video]>summary .group-icon{background:#ffe4ef;color:#c2306f}
.parent-category[data-category=chat]>summary{background:#f5f9ff}.parent-category[data-category=chat]>summary .group-icon{background:#dcecff;color:#2b6cc4}
.parent-category[data-category=social]>summary{background:#faf7ff}.parent-category[data-category=social]>summary .group-icon{background:#ece3ff;color:#7445c9}
.parent-category[data-category=ai]>summary{background:#f4fbfe}.parent-category[data-category=ai]>summary .group-icon{background:#dff3fb;color:#1f7fa3}
.parent-category[data-category=stories]>summary{background:#fffbf1}.parent-category[data-category=stories]>summary .group-icon{background:#fff0cc;color:#a36a00}
.parent-category[data-category=music]>summary{background:#f6f9fc}.parent-category[data-category=music]>summary .group-icon{background:#e3ecf6;color:#2c598c}
.parent-category[data-category=shopping]>summary{background:#fff8f2}.parent-category[data-category=shopping]>summary .group-icon{background:#ffe9d6;color:#c0621a}
.parent-category[data-category=videochat]>summary{background:#f7f8ff}.parent-category[data-category=videochat]>summary .group-icon{background:#e6e9ff;color:#4652c4}
.parent-category[data-category=dating]>summary{background:#fff6f8}.parent-category[data-category=dating]>summary .group-icon{background:#ffe0e6;color:#c42e4f}
.parent-category[data-category=anonymous]>summary{background:#f8f9fa}.parent-category[data-category=anonymous]>summary .group-icon{background:#ebedf0;color:#4f5967}
.parent-category[data-category=social_apps]>summary{background:#faf7ff}.parent-category[data-category=social_apps]>summary .group-icon{background:#ece3ff;color:#7445c9}
.parent-category[data-category=ai_companions]>summary{background:#fff6fc}.parent-category[data-category=ai_companions]>summary .group-icon{background:#ffe3f6;color:#b02f8c}
.parent-category>summary .group-icon{width:26px;height:26px;padding:8px;border-radius:12px}
.parent-category-card{border-color:#e6e9ec}

/* Drawn picture icons: one sprite (ui-icons-pictures-v1.png, fourteen 128 px pictures in a row) for the Home tiles and the parents' menu. */
.pic{display:inline-block;flex:none;background:url('/ui-icons-pictures-v1.png?v=1') var(--pic-x,0) 0/1400% 100% no-repeat}
.pic-block{--pic-x:0.0%}.pic-shield{--pic-x:7.6923%}.pic-clock{--pic-x:15.3846%}.pic-activity{--pic-x:23.0769%}.pic-qr{--pic-x:30.7692%}.pic-home{--pic-x:38.4615%}.pic-devices{--pic-x:46.1538%}.pic-analytics{--pic-x:53.8462%}.pic-setup{--pic-x:61.5385%}.pic-account{--pic-x:69.2308%}.pic-help{--pic-x:76.9231%}.pic-contact{--pic-x:84.6154%}.pic-privacy{--pic-x:92.3077%}.pic-logout{--pic-x:100.0%}
.tile-grid .tile .tile-icon.pic{display:block;width:64px;height:64px;padding:0;border-radius:0;margin-bottom:6px;background:url('/ui-icons-pictures-v1.png?v=1') var(--pic-x,0) 0/1400% 100% no-repeat;filter:drop-shadow(0 3px 4px #1a3a2a1f)}
.tile-grid .tile:hover .tile-icon.pic{transform:scale(1.06) rotate(-3deg);transition:transform .15s}
@media(max-width:900px){.tile-grid .tile{grid-template-columns:52px 1fr}.tile-grid .tile .tile-icon.pic{width:52px;height:52px;margin:0}}
.workspace-page:not(.office-page) .pic.nav-icon,.workspace-page:not(.office-page) .tabbar .pic.tab-icon{width:28px;height:28px}
.workspace-page:not(.office-page) .sidebar-bottom .pic.foot-icon{width:22px;height:22px}
.workspace-nav a .pic{transition:transform .15s}.workspace-nav a:hover .pic,.workspace-nav a.selected .pic{transform:scale(1.08) rotate(-4deg)}
.button-link .pic.button-pic{width:24px;height:24px;margin:-4px 2px -4px -4px}
.button-wide{display:flex;justify-content:center;width:100%;box-sizing:border-box;text-align:center}.verified-next{margin:0 0 18px}.verified-next p{margin:0 0 10px}.verified-next p:last-child{margin:0}
.group-state.risky-allowed,.group-tile:has(input:not(:checked)) .group-state.risky-allowed{color:#a22c2c}.risky-allow{display:block;color:#a22c2c!important;font-weight:700}
.category-choice{margin:6px 0 4px}.category-choice legend{font-weight:650;margin-bottom:6px}.choice-line{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:14px;cursor:pointer}.category-choice .choice-line input[type=radio]{flex:none;display:inline-block;width:18px;height:18px;min-height:0;margin:0;padding:0;border:0;accent-color:var(--accent)}.category-pick-mode{margin:4px 0 8px 26px}
.row-error{margin:6px 0 0}

/* Who is this for? (family_scope.py): the chooser, the Rules for bar that stays in view, and the saved message. */
.workspace-page{--sticky-top:10px}
.who-chooser h2{margin:0 0 6px;font-size:24px;letter-spacing:-.4px}
.who-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px;margin:16px 0}
.who-card{display:grid;grid-template-columns:60px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:2px;align-items:center;
  min-height:88px;padding:14px 16px;border:2px solid #d2d9e0;border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;
  box-shadow:0 3px 10px #163e2510}
a.who-card:hover,a.who-card:focus-visible{border-color:var(--accent);background:#f6fbf8}
.who-card>:first-child{grid-row:1/span 3;justify-self:center}
.who-card strong{font-size:19px;line-height:1.25;overflow-wrap:anywhere}.who-card span:not(.who-faces):not(.pic):not(.avatar-art){font-size:14px;color:var(--muted);line-height:1.4}
.who-card .avatar-art,.who-card>svg{width:52px;height:58px}.who-card img.avatar-art{height:52px;border-radius:50%;object-fit:cover}
.who-all{border-color:var(--accent);background:linear-gradient(135deg,#eaf0f7,#fff 70%)}
.who-tip{grid-column:2;font-style:normal;font-size:13px;font-weight:800;color:var(--accent-deep)}
.who-off{opacity:.62;box-shadow:none;border-style:dashed}
.who-faces{display:inline-flex;align-items:flex-end;padding-left:12px}
.who-faces>*{width:34px!important;height:38px!important;margin-left:-12px;filter:drop-shadow(0 1px 2px #163e2533)}
.who-faces img.avatar-art{height:34px!important;border-radius:50%}
.who-pic{width:52px;height:52px}
.rules-for.rules-for-bar{position:sticky;top:var(--sticky-top);z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
  gap:6px 8px;padding:8px 8px 8px 12px;margin:0 0 18px;background:#fff;border:2px solid var(--accent);border-radius:14px;box-shadow:0 6px 18px #17251f1a}
.rf-who{display:flex;align-items:center;gap:10px;min-width:0}
.rf-who>span:last-child{min-width:0}
.rf-who small{display:block;font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#495a6d}
.rf-who strong{display:block;font-size:18px;line-height:1.2;color:var(--ink);overflow-wrap:anywhere}
.rf-who .avatar-art,.rf-who>svg{width:38px;height:43px;flex:none}.rf-who img.avatar-art{height:38px;border-radius:50%;object-fit:cover}
.rf-who .who-pic{width:40px;height:40px}.rf-who .who-faces>*{width:28px!important;height:31px!important;margin-left:-10px}
.rf-change{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 14px;border-radius:999px;background:var(--accent-soft);
  color:var(--accent-deep);font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap}
.rf-help{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;border:1px solid #cfd7e0;background:#fff;
  color:var(--accent-deep);font-weight:800;font-size:18px;text-decoration:none}
.rf-help:hover,.rf-change:hover{background:#e3eaf1}
.rules-for-bar+.rf-note{margin:-10px 4px 18px;font-size:13.5px;line-height:1.4;color:var(--muted)}
/* A link into the page (#hours-games, #own-hours-roblox, #app-roblox, #cr-apps, #schedule-editor…) lands below the
   sticky bar, not under it (CARD-2): on a page with the bar every target keeps clear of where the bar sticks
   (--sticky-top), the bar's height (--rules-bar-height, measured by workspace.js; the fallbacks are its usual height
   on a computer and on a phone) and 12px more. #schedule-editor and Times' #dns-calendar (after a one-off change is
   saved) name their ids here, since their own clearances outrank [id] (CARD-R3). */
.workspace-page:has(.rules-for-bar){--rules-bar-clear:calc(var(--sticky-top) + var(--rules-bar-height,64px) + 12px)}
.workspace-page:has(.rules-for-bar) [id],.workspace-page:has(.rules-for-bar) #schedule-editor,.workspace-page:has(.rules-for-bar) #dns-calendar{scroll-margin-top:var(--rules-bar-clear)}
.save-toast{position:fixed;left:50%;bottom:24px;z-index:70;display:flex;align-items:center;gap:12px;width:max-content;max-width:min(92vw,480px);
  box-sizing:border-box;padding:12px 12px 12px 14px;border-radius:16px;background:#112740;color:#fff;box-shadow:0 14px 34px #0b2a1e55;
  transform:translateX(-50%);animation:toast-in .25s ease-out,toast-out .5s ease-in 8s forwards}
.save-toast>span:not(.toast-tick){flex:1;min-width:0;overflow-wrap:anywhere}
.save-toast strong{display:block;font-size:16px;color:#fff}.save-toast small{display:block;font-size:13px;color:#cedbea}
.toast-tick{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#2c65a6;color:#fff;font-weight:900}
.toast-close{flex:none;min-width:40px;min-height:40px;margin-left:4px;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font-size:20px}
@keyframes toast-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes toast-out{to{opacity:0;visibility:hidden;transform:translate(-50%,12px)}}
@media(prefers-reduced-motion:reduce){.save-toast{animation:toast-out 0s linear 10s forwards}}
@media(max-width:900px){
  .workspace-page:not(.office-page){--sticky-top:58px}
  .parent-app.workspace-page:not(.office-page){--sticky-top:0px}
  .workspace-page:not(.office-page) .save-toast{bottom:calc(var(--phone-nav-height,72px) + env(safe-area-inset-bottom) + 12px)}
  .who-chooser h2{font-size:22px}.who-grid{grid-template-columns:1fr}
  .rules-for.rules-for-bar{margin-bottom:14px}.rf-who strong{font-size:17px}.rf-change{padding:0 12px}
  .workspace-page:has(.rules-for-bar){--rules-bar-clear:calc(var(--sticky-top) + var(--rules-bar-height,58px) + 12px)}
}

/* Quick controls: Who? in plain words, then Switch off the internet now and Extra time. */
.quick-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-heading .quick-title{margin:0}
.quick-card .quick-state{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
.quick-card .quick-state p{margin:0;flex:1 1 220px;color:inherit;font-size:15px}
.quick-card .quick-state form{margin:0}
.quick-paused{background:#fdecea;border:1px solid #f1c1bb;color:#7c231b}.quick-extra{background:#e7f0fb;border:1px solid #c5d8f1;color:#1f467d}
.quick-who{margin:14px 0 6px;padding:0;border:0}.quick-who legend{font-weight:800;font-size:16px;margin-bottom:8px}
.who-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:8px}
.who-option{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border:2px solid #d8dee4;border-radius:12px;background:#fff;cursor:pointer}
.who-option input[type=radio]{flex:0 0 22px;display:inline-block;width:22px;height:22px;min-width:0;min-height:0;margin:0;padding:0;border:0;box-shadow:none;accent-color:var(--accent)}
.who-option>span{flex:1;min-width:0}
.who-option strong{display:block;font-size:15px;color:var(--ink)}.who-option small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.who-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.who-option:has(input:focus-visible){outline:3px solid #214671;outline-offset:2px}
.quick-for{margin:10px 0 4px;font-size:15px}
.quick-form .quick-grid{margin-top:14px}
.quick-box .quick-buttons button{min-height:48px;font-size:15px}
.extra-warning{margin:8px 0 10px;font-size:14px;line-height:1.45;background:#fff6e6;border:1px solid #f1dbb0;color:#5e3c05}
.extra-warning[hidden]{display:none}

/* Kids' cards on Home: what is happening now, each with the button that undoes it. */
.kid-live{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:6px}
.kid-live li{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:6px 8px 6px 12px;border-radius:10px;font-weight:700;font-size:15px}
.kid-live .live-on{background:#e6f0fb;color:#1b416d}.kid-live .live-off{background:#fdecea;color:#9b2a20}
.kid-live .live-extra{background:#e7f0fb;color:#24508f}.kid-live .live-bed{background:#efeafb;color:#563b9e}
.kid-undo{margin:0}.kid-undo button{min-height:40px;padding:6px 12px;font-size:14px;white-space:nowrap}
.kid-card .kid-blocks .kid-apps span{font-weight:600}
.kid-actions .kid-phone{color:#24508f}

/* Choosing apps on a phone: popular ones first, the whole list in the page, rows big enough to tap. */
.parent-category .parent-game-list{max-height:70vh}
.parent-list-divider{grid-column:1/-1;margin:12px 0 4px;font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:#495a6d}
.parent-list-divider[hidden]{display:none}
.parent-category .parent-game{min-height:48px}
.parent-game-row.search-hit,.ak-row.search-hit{outline:3px solid #f2b84b;outline-offset:1px;border-radius:10px;background:#fff8e6}
@media(max-width:900px){.parent-category .parent-game-list{max-height:none;overflow:visible}}

/* Block apps & sites for all kids */
.ak-category .ak-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}
.ak-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:6px 8px;border:1px solid #e3e7eb;border-radius:10px;background:#fff}
.ak-row[hidden],.ak-divider[hidden]{display:none}
.ak-row .row-logo,.ak-row .row-icon,.ak-row>svg{width:26px;height:26px}
.ak-name{min-width:0}.ak-name strong{display:block;font-size:15px;color:var(--ink);overflow-wrap:anywhere}
.ak-name small{display:block;font-size:12.5px;line-height:1.35;color:var(--muted)}
.ak-blocked .ak-name small,.ak-state.ak-blocked{color:#9b2a20;font-weight:700}.ak-mixed .ak-name small,.ak-state.ak-mixed{color:#7a4f00;font-weight:700}
.ak-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.ak-btn{min-height:44px;padding:6px 14px;font-size:14px}
.ak-divider{list-style:none;margin:10px 0 2px;font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:#495a6d}
.ak-group-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 6px}.ak-group-actions button{min-height:48px;flex:1 1 220px;font-size:15px}
.ak-site{display:grid!important;grid-template-columns:36px minmax(0,1fr);gap:8px 12px;align-items:start;padding:14px;min-height:0!important;height:auto!important}
.ak-site>svg{width:30px;height:30px}.ak-site .ak-site-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin:0}
.ak-site .ak-site-actions button{min-height:44px;flex:1 1 160px}
.ak-card{display:block!important;min-height:0!important;height:auto!important;padding:0;overflow:hidden}
.ak-kids,.ak-kid-links{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:8px}
.ak-kids a{display:flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid #d5dae0;border-radius:12px;background:#fff;font-weight:700;text-decoration:none}
.ak-kid-links a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;min-height:56px;padding:10px 14px;border:1px solid #d5dae0;
  border-radius:12px;background:#fff;color:var(--ink);text-decoration:none}
.ak-kid-links a span:first-of-type{grid-column:1;font-size:13px;color:var(--muted)}.ak-kid-links a span:last-child{grid-row:1/span 2;grid-column:2}
@media(max-width:900px){.ak-row{gap:8px;padding:6px}.ak-actions{flex-direction:column;align-items:stretch}.ak-btn{padding:6px 12px;min-width:92px}}

/* How do I…? (help_ui.py) */
.howto-list{display:grid;gap:10px;margin:14px 0 24px}
.howto{border:1px solid #d2d9e0;border-radius:16px;background:#fff;box-shadow:0 3px 10px #163e250d;scroll-margin-top:90px}
.howto>summary{display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 16px;list-style:none;cursor:pointer;font-size:17px}
.howto>summary::-webkit-details-marker{display:none}
.howto>summary strong{flex:1;color:var(--ink);line-height:1.3}
.howto-chevron{font-size:26px;color:#5c728b;transition:transform .15s}.howto[open] .howto-chevron{transform:rotate(90deg)}
.howto-icon{flex:none;width:44px;height:44px;padding:0;color:var(--accent-deep)}
svg.howto-icon{box-sizing:border-box;padding:9px;border-radius:12px;background:var(--accent-soft)}
.howto-body{padding:0 16px 16px}
.howto-steps{margin:0 0 12px;padding-left:22px}.howto-steps li{margin:8px 0;font-size:16px;line-height:1.5}
.howto-go{min-height:48px;align-items:center;font-size:16px}
.help-more ul{padding-left:20px}.help-more li{margin:10px 0}
.setup-howto{margin-top:10px;font-weight:700}
@media(prefers-reduced-motion:reduce){.howto-chevron{transition:none}}

/* Phone controls on a phone that is not in Full control yet */
.phone-not-active{border:2px solid #e2a23b;background:#fff6e6}.phone-not-active p{color:#5e3c05;margin:6px 0}
.switch-word{font-size:12px;font-weight:800;color:var(--muted);min-width:24px}
.row-form{display:inline-flex;align-items:center;gap:6px}

/* Batch 2: Internet off times, Extra time for…, What's on (offtime_ui.py, extra_ui.py, overview.py) */
.offtime-page,.extra-page,.overview-page{display:grid;gap:14px;max-width:760px}
.offtime-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.offtime-head h3{margin:0}
.offtime-on{background:var(--rose-soft);color:#8a2a21}.offtime-next{background:var(--sky-soft);color:#1f4e86}.offtime-off{background:var(--pale)}
.offtime-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.offtime-tile{display:grid;gap:2px;min-height:44px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);color:var(--ink);text-decoration:none}
.offtime-tile span{color:var(--muted);font-size:13px}.offtime-own{grid-column:1/-1}
.offtime-who,.what-card{display:flex;gap:10px;align-items:center;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:var(--radius-sm);margin:6px 0}
.offtime-who span,.what-card span{display:grid}.offtime-who small,.what-card small{color:var(--muted)}
.offtime-times{display:flex;gap:12px;flex-wrap:wrap}.offtime-times input{min-height:44px}
.day-chips{display:flex;flex-wrap:wrap;gap:6px}.day-chip{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:999px}
.offtime-summary{font-weight:700}.offtime-save{position:sticky;bottom:0;background:var(--card);padding:10px 0;display:flex;gap:12px;align-items:center}
.offtime-footer,.kid-now,.quick-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.kid-now{margin-top:10px}.kid-now .button-link,.offtime-footer .button-link{min-height:44px}
.what-cards{display:grid;gap:8px}.what-card{flex-wrap:wrap}.extra-apps{flex-basis:100%}
.app-chips{display:flex;flex-wrap:wrap;gap:6px}.app-chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:999px}
.extra-times{display:grid;gap:8px}.extra-time-button{min-height:48px}
.overview-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.overview-list li{border-top:1px solid var(--line);padding-top:10px}
.overview-list small{display:block;color:var(--muted)}
.overview-off{color:#8a2a21}.overview-on{color:var(--ok,#1f5fae)}.overview-risk,.overview-warn{color:var(--amber)}
.overview-alert{background:var(--rose-soft);padding:10px;border-radius:var(--radius-sm)}
.badge-warn{background:var(--amber-soft);color:#7a4a06}
.turn-on{margin-top:8px}.turn-on summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.day-on-today{display:grid;min-height:56px;width:100%;text-align:left}.day-on-today small{font-weight:400}
/* Extra time for…: compact choice cards (radio on the left), app chips and time buttons in a row. */
.extra-page{max-width:760px}
.extra-form fieldset{border:0;padding:0;margin:22px 0 0}.extra-form legend{font-weight:750;margin-bottom:10px}
.what-cards{display:grid;gap:10px}
.what-card{display:grid;grid-template-columns:22px minmax(0,1fr);gap:6px 12px;align-items:start;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.what-card:has(>input:checked){border-color:#9bafc5;background:#f1f4f8}
.what-card>input[type=radio],.app-chip>input[type=radio]{appearance:auto;flex:none;display:inline-block;width:20px;height:20px;min-width:0;min-height:0;margin:2px 0 0;padding:0;border:0;box-shadow:none;background:none;accent-color:var(--accent)}
.what-card>span{display:grid;gap:3px;min-width:0}.what-card>span small{color:var(--muted);font-size:13px;line-height:1.5}
.what-card>.chip,.what-card>.extra-apps{grid-column:2}.what-card>.chip{justify-self:start}
.extra-apps>p{margin:10px 0 6px}.extra-apps label:not(.app-chip){display:grid;gap:6px;margin-top:10px;font-size:13px;font-weight:650}
.app-chips{display:flex;flex-wrap:wrap;gap:8px}
.app-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 8px;border:1px solid var(--line);border-radius:999px;background:#fff;cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}
.app-chip>input[type=radio]{width:16px;height:16px;margin:0}.app-chip svg{width:18px;height:18px;flex:none}
.app-chip:has(input:checked){border-color:#9bafc5;background:#f1f4f8}
.extra-times{display:flex;flex-wrap:wrap;gap:10px}
.extra-times .extra-time-button{flex:1 1 180px;width:auto;max-width:260px;min-height:48px}
@media(max-width:560px){.extra-times .extra-time-button{max-width:none;flex-basis:100%}}
/* Internet off times: who first, then when. */
.offtime-page h3{margin:18px 0 10px;font-size:15px}.offtime-page #add h3:first-of-type{margin-top:6px}
.offtime-whos{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.offtime-who{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none}
.offtime-who span{color:var(--muted);font-size:13px;line-height:1.45}
.offtime-who-on{border:2px solid var(--accent);background:#f1f4f8;padding:11px 13px}
.offtime-who-on strong::before{content:"✓ ";color:var(--accent)}
/* Log out must always be reachable on a short laptop screen: the sidebar scrolls. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.topbar{gap:10px}

/* Simple and Advanced modes (simple_ui.py, advanced_ui.py, redirects_ui.py, verdict.py). */
.rules-for-bar~.mode-switch{margin:0 0 18px}
.mode-switch{max-width:640px}
.simple-screen{display:grid;gap:14px;max-width:880px}
.simple-screen>*{margin:0}
.simple-now{display:grid;gap:10px}
.simple-now-title{margin:0;font-size:16px}
.simple-now-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.simple-now-list li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:15px;font-weight:700}
.simple-now-list li small{display:block;font-weight:500;font-size:13px}
/* A long status ("Internet off for bedtime until 07:00 tomorrow") stays beside its dot on a phone; its buttons wrap below. */
.simple-now-list li>span:not(.now-dot){max-width:calc(100% - 24px)}
.now-dot{flex:none;width:12px;height:12px;border-radius:50%;background:#2c65a6;box-shadow:0 0 0 4px #2fa36522}
.now-off .now-dot,.now-offtime .now-dot{background:#c4553b;box-shadow:0 0 0 4px #c4553b22}
.now-bed .now-dot,.now-offtime-soon .now-dot{background:#6d4fc2;box-shadow:0 0 0 4px #6d4fc222}
.now-extra .now-dot,.now-extra-for .now-dot,.now-daypass .now-dot{background:#2457a6;box-shadow:0 0 0 4px #2457a622}
.simple-now-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start}
.now-panel{flex:0 1 auto}.now-panel[open]{flex:1 1 100%}
.now-panel>summary{list-style:none;cursor:pointer}.now-panel>summary::-webkit-details-marker{display:none}
.now-panel[open]>summary{margin-bottom:10px}
.now-panel-body{padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--pale)}
.now-panel-title{margin:0 0 10px;font-weight:700}
.now-panel-body .helper{margin:10px 0 0}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip-check{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #cfd7e0;border-radius:999px;background:#fff;font-weight:700;cursor:pointer}
.chip-check:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.chip-check input{accent-color:var(--accent);width:18px;height:18px;margin:0}
.extra-for{margin:6px 0 0}.extra-for legend{font-size:13px;margin-bottom:6px}
.simple-check .field-label{margin:0;font-size:15px;font-weight:700;color:var(--ink)}
.check-row{display:flex;gap:10px;margin-top:8px;max-width:640px}
.check-row input{flex:1;min-width:0;margin:0!important}
.check-row button{flex:none}
.check-answer{margin-top:14px;padding:14px 16px;border-radius:12px;border:1px solid var(--line);background:var(--pale)}
.check-answer.check-blocked{border-color:#ecc9bf;background:#fff6f3}
.check-answer.check-open{border-color:#ccd8e5;background:#f2f6fa}
.check-sentence{margin:0 0 10px;font-size:15px;font-weight:600;line-height:1.45}
.check-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.always-form{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:4px 0 10px}
.always-form small{flex-basis:100%;font-size:12.5px;color:#7a4b10}
.button-quiet{min-height:40px;font-weight:600}
.check-more summary{cursor:pointer;font-weight:600;font-size:13px}.check-more ul{margin:6px 0;padding-left:18px;font-size:13px}
.simple-age>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:15px}
.simple-age>summary::-webkit-details-marker{display:none}
.simple-age[open]>summary{margin-bottom:12px}
.simple-change{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:var(--accent-soft);color:var(--accent-deep);font-weight:800}
.simple-age .age-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
.simple-age a.age-tile{text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:#fff}
.simple-ages{font-size:14px}
.simple-title{margin:8px 0 0!important;font-size:19px;letter-spacing:-.3px}
.simple-rows{display:grid;gap:10px}
.simple-row{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 10px #17251f08;scroll-margin-top:calc(var(--sticky-top) + 80px)}
.simple-row>summary{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 16px;cursor:pointer;list-style:none}
.simple-row>summary::-webkit-details-marker{display:none}
.simple-row>summary::after{content:"";flex:none;width:10px;height:10px;margin-left:auto;border-right:2px solid #6f767d;border-bottom:2px solid #6f767d;transform:rotate(45deg);transition:transform .15s}
.simple-row[open]>summary::after{transform:rotate(225deg)}
.simple-row>summary .group-icon{flex:none;width:30px;height:30px;color:var(--accent-deep)}
.row-text{display:grid;gap:2px;min-width:0}
.row-text strong{font-size:16px}.row-text small{font-size:13.5px;color:var(--muted);overflow-wrap:anywhere}
.row-warn{border-color:#e9c58a}.row-warn .row-text small{color:var(--warn,#9a5b0b);font-weight:700}
.live-tag{justify-self:start;margin-top:4px;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:800}
.live-open{background:#e7eef6;color:#153b66}.live-blocked{background:#fbece8;color:#a3361f}
.live-bed{background:#efeafb;color:#53399e}.live-extra{background:#eaf1fc;color:#24508f}
.simple-row-body{padding:2px 16px 16px;border-top:1px solid var(--line)}
.simple-row-body h4{margin:18px 0 8px;font-size:14px}
.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:560px;margin-top:14px}
.mode-grid-4{grid-template-columns:repeat(4,minmax(0,1fr));max-width:680px}
.mode-btn,a.mode-btn{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;border:1px solid #cfd7e0;border-radius:12px;
  background:#fff;color:var(--ink);font-weight:800;font-size:15px;text-align:center;text-decoration:none;line-height:1.2}
.mode-btn:hover{background:var(--accent-soft);color:var(--ink);border-color:#9eb1c7}
.mode-btn.mode-on{background:var(--accent);border-color:var(--accent);color:#fff}
.mode-explain{margin:10px 0 0;font-size:14px;max-width:640px}
.simple-hours{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--pale);border:1px solid var(--line);max-width:640px}
.simple-hours h4{margin:4px 0 8px}
.hours-row{margin:12px 0 0}.hours-row legend{font-size:14px;margin-bottom:0}
.hours-kinds{display:flex;flex-wrap:wrap;gap:6px 16px}
.hours-kinds .choice-line,.simple-bedtime .choice-line{display:flex;align-items:center;gap:8px;min-height:40px}
/* A row's choices sit right under its title, and its time boxes right under its choices, in the card's rhythm
   (GH-5): no legend margin, no choice margins (the 40px choice height already spaces the radios), 4px to the boxes. */
.hours-row>.hours-kinds .choice-line{margin:0}
.hours-row>.hours-kinds+.hours-times,.hours-row>.hours-kinds+.own-time-fields>.hours-times:first-child{margin-top:4px}
.panel-content .hours-kinds input[type=radio],.panel-content .simple-bedtime input[type=radio]{appearance:auto;flex:none;display:inline-block;accent-color:var(--accent);width:18px;height:18px;min-width:0;min-height:0;padding:0;margin:0;border:0;box-shadow:none;background:none}.hours-kinds .choice-line span{white-space:nowrap}
.hours-times{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px}
.hours-times label{display:flex;align-items:center;gap:8px;font-size:14px}
.hours-times select,.check-when select{width:auto!important;min-width:104px;max-width:220px;margin:0!important}
/* A time box keeps fixed sizes inside its "From"/"Until" label (GH-1): the panel-wide select rule's min-width:min(160px,100%)
   resolves against the label, which was sized for the narrower box, so the box overflowed it by the label's own word and
   covered "Until". Fixed lengths size the label around its box, and the two labels wrap as wholes on a phone. */
.workspace-page .panel-content .hours-times select{min-width:104px;max-width:220px}
/* Group hours (GH-2): a row's From/until boxes only with From–until. workspace.js sets hidden and disabled; without
   JavaScript, :has() hides them by the same choice and the server ignores times unless From–until. */
.hours-times[hidden],.simple-hours-form .hours-row:not(:has(input[type=radio][value=times]:checked)) .hours-times{display:none}
.simple-hours-form>button,.simple-bedtime>button{margin-top:14px}
.app-find{max-width:420px}
.simple-apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:6px;margin:8px 0;padding:0;list-style:none}
.simple-app{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 8px 6px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}
.simple-app{display:block;min-width:0}
.simple-app-head{display:flex;align-items:center;gap:10px;min-width:0}
.simple-app-action{flex:none;margin:0}
.simple-app-hours-link,.simple-app-hours>summary{display:inline-flex;align-items:center;min-height:36px;margin-left:36px;font-size:13px;font-weight:700;cursor:pointer}
.simple-app:has(.simple-app-hours[open]){grid-column:1/-1}
.simple-app-hours-form{padding:10px 4px 4px;border-top:1px solid var(--line)}
.simple-app-hours-form .hours-times input[type=time]{width:auto!important;min-width:110px;max-width:150px;margin:0!important}
.simple-app-hours-form input[type=checkbox]{appearance:auto;accent-color:var(--accent);width:18px;height:18px;min-height:0;margin:0;padding:0;box-shadow:none}
.simple-app-hours-form .helper{font-size:13px}
.simple-app-hours-form>button{margin-top:8px}
/* A single app's card (CARD-1; Jacques: "blocked is right under allow and toggles block or blocked"). Left: icon and
   name, a line only when it says more than the switch, then Set times with clear space above it. Right: a two-button
   switch, Allow on top and Block right under it; the saved choice is the filled one ("Allowed" green, "Blocked" red),
   the other is outlined and switches. A long name or line wraps in the left column; the switch keeps its place and at
   most 42% of the card (its labels wrap, "Allowed for / all 3"), so Set times keeps one line beside it (under the icon
   on a card too narrow for both; a longer label wraps there rather than spill out). */
.app-card{container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;grid-template-areas:"head switch" "times switch";
  align-items:start;column-gap:12px;padding:10px 10px 10px 12px}
.app-card:not(:has(>.simple-app-action)){grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "times"}
.app-card>.simple-app-head{grid-area:head;align-items:flex-start}
.app-card>.simple-app-head>:is(svg,img,.row-logo){margin-top:1px}
.app-card>.simple-app-action{grid-area:switch;justify-self:end;min-width:0}
.app-card>:is(.simple-app-hours-link,.simple-app-hours){grid-area:times;justify-self:start}
.app-card>.simple-app-hours-link{max-width:calc(100% - 36px)}
.app-card>.simple-app-hours[open]{grid-area:auto;grid-row:3;grid-column:1/-1;justify-self:stretch}
.app-card .app-name>small[hidden]{display:none}
.app-card .app-name>small{overflow-wrap:anywhere}
.app-switch{display:grid;gap:6px;min-width:96px;max-width:min(150px,42cqi)}
.app-switch>.app-btn{width:100%;white-space:normal;text-wrap:balance;line-height:1.2}
.app-btn-on{cursor:default}
.app-btn-allow.app-btn-on,.app-btn-allow.app-btn-on:hover{background:var(--accent);border-color:var(--accent);color:#fff}
/* An app on hours (the row's Set hours or its own) is not "Allowed": its saved half says "On hours", in the blue of a
   time (CARD-R1). */
.app-btn-allow.app-btn-hours.app-btn-on,.app-btn-allow.app-btn-hours.app-btn-on:hover{background:#1f4e86;border-color:#1f4e86;color:#fff}
.app-btn-block.app-btn-on,.app-btn-block.app-btn-on:hover{background:#b53528;border-color:#b53528;color:#fff}
/* While a press saves (CARD-3, workspace.js): the switch already shows the new state, and the line under the name
   (which may say the old one) waits for the page that comes back. */
.app-card[aria-busy=true] .app-name>small{visibility:hidden}
.app-card[aria-busy=true] .app-switch>button{cursor:progress}
.app-time-choice{display:flex;align-items:center;gap:12px;min-height:52px;text-decoration:none;color:inherit}
.app-time-choice>span{display:grid;gap:4px}.app-time-choice small{color:var(--accent);font-weight:600}
.selected-app-times{max-width:740px;padding:14px}.selected-app-times h3{margin:0}
.app-times-screen .simple-row-body{padding:0}.app-times-screen .simple-app-head svg,.app-times-screen .simple-app-head img{flex:none}
.simple-app .row-logo,.simple-app svg,.simple-app img{flex:none;width:26px;height:26px}
.app-name{display:grid;min-width:0;flex:1}.app-name strong{font-size:14px;overflow-wrap:anywhere}.app-name small{font-size:12.5px}
.app-blocked{border-left:4px solid #c4553b}.app-blocked .app-name small{color:#a3361f;font-weight:700}
.app-btn{flex:none;min-height:40px;padding:6px 12px;font-size:13px}
.show-all>summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;font-weight:700;color:var(--accent-deep)}
.simple-also{margin-top:14px;padding:10px 14px;border-radius:10px;background:var(--warn-pale,#fff6e6);border:1px solid #eedcb6;font-size:13.5px}
.simple-also ul{display:grid;gap:8px;margin:6px 0 0;padding:0;list-style:none}
.simple-also li{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.simple-also li>span{flex:1 1 220px}
.simple-also .button-link,.simple-also button{min-height:36px;padding:4px 12px;font-size:13px}
.simple-youtube h4{margin-bottom:0}
.simple-fold{margin-top:10px}.simple-fold>summary{cursor:pointer;font-weight:700;color:var(--accent-deep);min-height:40px;display:flex;align-items:center}
.simple-bedtime fieldset{margin:12px 0 0}
.simple-bedtime .choice-line span{display:grid}.simple-bedtime .choice-line small{font-size:12.5px}
.unsafe-list{columns:2 220px;margin:6px 0 12px;padding-left:20px;font-size:14px}
.simple-warn{border-color:#e9c58a;background:#fff8ea}.simple-warn p{margin:0 0 8px;font-size:14px}
.simple-more{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 0;border-bottom:1px solid var(--line)}
.simple-more .mode-grid{grid-template-columns:repeat(2,minmax(110px,1fr));margin:0;max-width:300px;flex:1 1 240px}
.more-name{flex:0 0 220px;font-weight:700}
.simple-footer{padding:12px 4px;font-size:14px;color:var(--muted)}.simple-footer p{margin:4px 0}
.inline-form{display:inline-flex}
/* Advanced */
.rule-row.rule-allow{border-left-color:#2c619d}
.state-allow{color:#1f5fae}
.row-icon-allow{color:#2c619d}
.add-button.add-allow{background:#1f5fae;border-color:#1f5fae;color:#fff}
.category-row .rule-name small.rule-meta{margin-top:2px}
.category-lists{margin-top:6px}.category-lists>summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--accent-deep)}
.category-lists .switch-stack{margin-top:6px}
.switch-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;text-decoration:none;color:var(--muted)}
.switch-link .switch{position:relative;display:inline-block;width:42px;height:24px;border-radius:12px;background:var(--accent)}
.switch-link .switch span{position:absolute;top:3px;left:21px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}
.risky-confirm{display:grid;gap:8px;max-width:420px}.risky-confirm p{margin:0}
.advanced-footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:22px 0 0;color:var(--muted);font-size:14px}
.check-form{align-items:flex-end}.check-form .field-label{max-width:520px}
.check-when{flex-basis:100%}.check-when>summary{cursor:pointer;font-weight:700;color:var(--accent-deep);min-height:40px;display:inline-flex;align-items:center}
.check-when-fields{display:flex;flex-wrap:wrap;gap:12px}.check-when-fields .field-label{flex:0 0 auto;margin:6px 0}
.decision .check-sentence{font-size:16px}
.check-lists{margin:18px 0}.check-lists>summary{cursor:pointer;font-weight:700}
.redirect-note p{margin:0}.redirect-step{max-width:640px}.redirect-verdict{margin:12px 0;max-width:640px}
.rule-redirect .rule-meta{color:var(--muted)}
.sr-only:empty{display:none}
/* Who is this for? All kids is a small form: the tick adds the home Wi-Fi. */
form.who-card{grid-template-rows:auto auto auto auto;cursor:default}
form.who-card .who-also{grid-column:2;display:flex;align-items:flex-start;gap:8px;margin-top:6px;font-size:14px;cursor:pointer}
form.who-card .who-also input{accent-color:var(--accent);width:18px;height:18px;margin:2px 0 0;flex:none}
form.who-card .who-also small{display:inline;font-size:13px}
form.who-card .who-go{grid-column:2;justify-self:start;margin-top:8px}
.who-chooser .mode-switch{margin:0 0 18px}
/* Schedules: day buttons, help for each kind of rule */
.day-presets{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.day-preset{min-height:40px;padding:6px 12px;font-size:13px}
form:has(input[name=mode][value=allow]:checked) [data-kind-help=block],
form:has(input[name=mode][value=block]:checked) [data-kind-help=allow],
form:not(:has(input[name=mode]:checked)) [data-kind-help=allow]{display:none}
@media(max-width:900px){
  .simple-row>summary{padding:10px 12px;gap:10px}
  .simple-row-body{padding:2px 12px 14px}
  .mode-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mode-btn,a.mode-btn{font-size:14px;padding:6px}
  .more-name{flex-basis:100%}
  .check-row{flex-direction:column}.check-row button{width:100%}
  .mode-switch a small{font-size:11.5px;line-height:1.3}
  .rules-for-bar~.mode-switch{margin-bottom:12px}
}

/* Layout on a computer: one shared reading width for cards, and controls sized to what they hold (none wider than
   about 640px at 1440x900). Grids of cards (kids, tiles, help) fill the width instead. */
.workspace-page{--content:960px}
.workspace-page .panel-content :is(.settings-card,.rule-card,.notice,.rules-for.rules-for-bar,.rf-note,.simple-screen,.rule-cards,
  .overview-page,.offtime-page,.extra-page,.wizard,.enrollment,.who-chooser,.help-more,.setup-checklist,.get-started,.device-card.add-device,
  .account-security,.account-logout,.query-intro,.page-intro,.dns-card,.status-hero,.advanced-tabs,.advanced-footer,.removed-device,.remove-confirm,
  .copy-review){max-width:var(--content)}
.workspace-page .panel-content :is(.kid-grid,.tile-grid,.device-grid,.who-grid,.account-grid,.overview-columns) .settings-card{max-width:none}
.workspace-page .panel-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),
.workspace-page .panel-content textarea{max-width:640px}
.workspace-page .panel-content select{width:auto;min-width:160px;max-width:360px}
.workspace-page .panel-content input[type=time],.workspace-page .panel-content input[type=number]{width:auto;min-width:120px;max-width:200px}
.workspace-page .panel-content .button-wide{width:auto;max-width:420px}
.tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
@media(min-width:900px){
  .howto-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;max-width:var(--content)}
  .howto-go{width:auto}
  .account-grid{max-width:var(--content)}
}
.account-security,.account-logout{width:100%}
.android-app-rule{grid-template-columns:minmax(10rem,1fr) auto auto;max-width:640px;gap:.75rem 1.25rem}
.android-block{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:600}
.android-block input{width:20px;height:20px;accent-color:var(--accent);margin:0}
.android-minutes{display:flex;align-items:center;gap:8px;font-size:13px}.android-minutes input{width:90px!important;min-width:0!important;margin:0!important}
.phone-downtime .day-grid{margin:10px 0}
/* What's on › All kids: a column each */
.overview-columns{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.overview-column{margin:0}.overview-column-head{display:flex;align-items:center;gap:10px}.overview-column-head h2{margin:0;font-size:18px}
.overview-column-head .avatar-art,.overview-column-head .who-pic{width:40px;height:44px}
.overview-now{display:grid;gap:4px;margin:10px 0;padding:0;list-style:none;font-weight:700}
.overview-check .check-row{max-width:520px}
/* Internet off editor: who goes offline, as cards */
.offtime-picks{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:8px}
.offtime-pick{display:flex;align-items:center;gap:10px;min-height:60px;padding:10px 12px;border:2px solid #d2d9e0;border-radius:12px;background:#fff;cursor:pointer}
.offtime-pick:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.offtime-pick input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--accent)}
.offtime-pick .avatar-art,.offtime-pick .who-pic{flex:none;width:36px;height:40px}
.offtime-pick span{display:grid;min-width:0}.offtime-pick strong{font-size:15px}.offtime-pick small{font-size:12.5px}
/* Home: the Home Wi-Fi card, Get started, the wizard and Add a device */
.home-card{border-color:#9eb1c7;background:linear-gradient(160deg,#eef3f8,#fff 55%)}
.home-card .who-pic{width:52px;height:52px;flex:none}
.home-status{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.home-chip{display:inline-flex;align-items:center;min-height:28px;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:800}
.home-chip.chip-ok{background:#e7eef6;color:#153b66}.home-chip.chip-todo{background:#fff4e2;color:#8a5600}
.home-blocked{margin:0 0 10px;font-size:14px;line-height:1.5}
.kid-now{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.kid-off>summary{list-style:none;cursor:pointer}.kid-off>summary::-webkit-details-marker{display:none}
.kid-off[open]{flex-basis:100%}
.kid-off-form{margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--pale)}
.kid-off-form p{margin:0 0 6px;font-size:13px}
.kid-head{position:relative}
.kid-menu{margin-left:auto;align-self:flex-start;position:relative}
.kid-menu>summary{list-style:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:20px;color:#5c636b}
.kid-menu>summary::-webkit-details-marker{display:none}.kid-menu>summary:hover{background:#eef1f4}
.kid-menu-list{position:absolute;right:0;top:42px;z-index:20;display:grid;min-width:220px;padding:6px;background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:0 10px 26px #17251f22}
.kid-menu-list a{padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink);font-size:14px}.kid-menu-list a:hover{background:#eef1f4}
.device-head{position:relative;display:flex;gap:12px;align-items:flex-start}
.get-started{display:grid;gap:12px;margin:0 0 18px}
.linked-panel h2{font-size:18px}.linked-panel .dns-numbers{margin:10px 0}
.numbers-changed{margin-bottom:16px}.numbers-changed .dns-numbers{margin:8px 0}
.free-truth{border-color:#eedcb6;background:#fff8ea}
.wizard-card{border:2px solid var(--accent);background:linear-gradient(135deg,#eaf0f7,#fff 70%)}
.wizard-link{margin:0 0 12px;font-weight:700}
.wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 14px;padding:0;list-style:none;max-width:var(--content)}
.wizard-step a{display:grid;justify-items:center;gap:4px;padding:10px 6px;border-radius:12px;border:1px solid var(--line);background:#fff;
  text-align:center;text-decoration:none;color:var(--ink);font-size:13px;font-weight:700;min-height:88px}
.wizard-step small{font-size:11.5px;color:var(--muted)}
.wizard-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef1f4;font-weight:900}
.wizard-done .wizard-mark{background:#2c65a6;color:#fff}.wizard-skipped .wizard-mark{background:#f3e7d0}
.wizard-current a{border:2px solid var(--accent);background:var(--accent-soft)}
.wizard-tick{font-size:14px;color:#153b66}
.wizard-kids{display:grid;gap:10px;margin:10px 0;padding:0;list-style:none}
.wizard-kid{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.wizard-kid>span:not(.avatar-art){display:grid;min-width:150px;flex:1}.wizard-kid .avatar-art{flex:none;width:40px;height:44px}
.wizard-kid .mode-grid{margin:0;max-width:420px;flex:1 1 300px}
.wizard-kinds{flex-basis:100%}.wizard-kinds p{margin:0 0 6px;font-weight:700}
.wizard-rules{display:flex;gap:14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.wizard-rules .avatar-art{width:44px;height:48px;flex:none}.wizard-rules h3{margin:0}.wizard-rules p{margin:10px 0 6px}
.wizard-rules .mode-btn{min-height:44px;padding:6px 12px}
.wizard-done{display:grid;gap:8px;padding:0;list-style:none}.wizard-summary{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.wizard-nav{margin:14px 0}
.wizard-add{margin-top:12px}
.add-step{margin:0 0 18px}.add-step h2{display:flex;align-items:center;gap:10px;font-size:20px}
.add-choice .platform-icon{width:44px;height:44px}
.add-on{border-color:var(--accent);background:var(--accent-soft)}
.add-name-form{max-width:640px}
.app-optional{background:var(--pale)}
.undo-steps{display:grid;gap:8px;padding-left:20px}
@media(max-width:900px){
  /* The Rules-for bar sits right under the header, with no gap, and takes less height */
  .workspace-page:not(.office-page){--sticky-top:var(--header-height,50px)}
  .rules-for.rules-for-bar{margin:0 -16px 10px;padding:6px 12px 6px 14px;border-width:0 0 2px;border-radius:0;box-shadow:0 6px 12px -8px #17251f40}
  .rules-for.rules-for-bar .rf-who small{font-size:10px}.rules-for.rules-for-bar .rf-who strong{font-size:16px}
  .rules-for.rules-for-bar .avatar-art,.rules-for.rules-for-bar .who-pic{width:30px;height:34px}
  .rf-change{min-height:40px;font-size:14px}.rf-help{width:40px;height:40px}
  .rules-for-bar+.rf-note{margin:0 2px 10px}
  /* The schedule times wrap onto two lines: Clear never runs off the screen */
  .time-grid:has(.time-clear){grid-template-columns:1fr 1fr}
  .time-clear{grid-column:1/-1;justify-self:start;margin:0 0 10px}
  .wizard-steps{grid-template-columns:repeat(5,minmax(56px,1fr));overflow-x:auto}
  .wizard-step a{min-height:72px;font-size:11.5px;padding:8px 4px}.wizard-step small{display:none}
  .wizard-rules{flex-direction:column}
  .android-app-rule{grid-template-columns:1fr 1fr}
  .kid-menu-list{right:-6px}
}
.kid-grid>.kid-add{align-self:start;min-height:0!important;padding-top:28px;padding-bottom:28px}
.kid-grid{grid-auto-rows:auto}
.wizard-body h2{font-size:22px;margin:4px 0 10px}
.who-card{align-content:center}.who-card>:first-child{grid-row:1/span 4}
.category-row.rule-off .rule-name,.category-row.rule-off>svg{opacity:1}.category-row.rule-off{border-left-color:#d3d6da}
.rule-card>:is(.redirect-step,.redirect-verdict,h3,p.helper,p.error){margin-left:20px;margin-right:20px}
.rule-card>.redirect-step{margin-bottom:18px}.rule-card>p.card-foot-note{padding:0 20px}
.rule-row.rule-safe{border-left-color:#2457a6}.rule-row.rule-redirect{border-left-color:#2457a6}
.redirect-verdict .quick-buttons{margin:8px 0}
/* Home: every block shares the one card width, so the kids' cards, Quick controls and the tiles line up. */
.workspace-page .panel-content:has(>.family-section)>:not(.save-toast){max-width:var(--content)}
/* A computer screen 900px high shows the whole menu, Log out included. */
@media(min-width:901px) and (max-height:1000px){
  .workspace-page:not(.office-page) .workspace-nav a{min-height:36px;padding:6px 12px}
  .workspace-page:not(.office-page) .sidebar .brand{margin-bottom:22px}
  .workspace-page:not(.office-page) .sidebar-bottom{gap:4px;padding-top:12px}
}
/* Rules pages (a Rules-for bar on top): every block shares the bar's width too. */
.workspace-page .panel-content:has(>.rules-for-bar)>:not(.save-toast){max-width:var(--content)}
/* Account: one column of cards, all the same width. */
.workspace-page .account-grid{grid-template-columns:minmax(0,1fr)}
.workspace-page .panel-content .account-card,.workspace-page .panel-content .account-context{max-width:var(--content)}
.workspace-page .panel-content .account-security,.workspace-page .panel-content .account-logout{max-width:var(--content)}
/* Cards in a row share its height; a tall Home Wi-Fi card no longer stretches every row (one column on a phone). */
.device-grid{grid-auto-rows:auto}
/* Free: "Second v6 box: Leave empty" reads as one line in the router steps. */
.guide-body .helper[data-dns-alternate6],.router-make .helper[data-dns-alternate6]{display:inline;margin:0;font-weight:700;color:inherit}
.guide-body li .inline-form{display:inline-flex;vertical-align:middle;margin:2px 0}
/* Three cards in the shared width: names fit on one line. */
@media(min-width:901px){.kid-grid .kid-head h3{font-size:18px}.kid-grid .kid-head{gap:10px}.kid-grid .kid-head .avatar-art,.kid-grid .kid-head .who-pic{flex:none}}

/* Home keeps family controls visible; secondary setup and diagnostics open on request. */
.kid-compact .kid-head{margin-bottom:8px}.kid-compact .kid-type{font-size:13px}
.kid-compact .kid-live{margin:8px 0}.kid-compact .kid-primary-rules{margin:6px 0;align-self:flex-start}
.kid-compact .kid-now{margin-top:8px;gap:8px}.kid-details{margin-top:12px;border-top:1px solid var(--line);padding-top:8px}
.kid-details>summary{cursor:pointer;font-weight:700;font-size:14px;min-height:32px;display:flex;align-items:center;gap:8px}
.kid-details>summary::before{content:"+"}.kid-details[open]>summary::before{content:"−"}
.home-compact .kid-now{margin-top:8px}.home-compact .kid-head{margin-bottom:6px}
@media(max-width:900px){.kid-compact,.home-compact{padding:16px}.kid-compact .kid-now>.button-link,.kid-compact .kid-off>summary{font-size:14px;padding:8px 10px;min-height:40px}}

.child-age{min-width:0;margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:12px}
.child-age legend{font-weight:800;padding:0 6px}.child-age .choice-line{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px;margin:4px 0;white-space:normal}
.child-age input{flex:none;margin-top:5px}.child-age .choice-line small{display:block;font-size:14px;line-height:1.5;white-space:normal;font-weight:400;color:var(--muted)}

/* Separate child profiles, adult profiles and home-router rules. */
.who-group{border-top:1px solid #cbd3dc;padding-top:18px;margin-top:22px}
.who-group h3{font-size:18px;margin:0 0 5px;color:var(--ink)}
.who-group .who-grid{align-items:start;margin-top:12px}
.who-kind{display:block;font-size:12px;font-weight:800;color:var(--accent-deep);margin-bottom:4px}

.who-select-all{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0}
.who-select-all label{display:flex;align-items:center;gap:10px;cursor:pointer}
.who-select-all input{width:20px;height:20px;accent-color:var(--accent)}
.who-select-all strong{font-size:16px}
.who-select-all button{min-height:40px;padding:8px 16px}

/* Help uses demo screenshots, sized for phone and desktop reading. */
.howto-screenshot{margin:1.25rem 0;max-width:660px}.howto-screenshot img{background:#e6f0fb;object-fit:contain;display:block;width:100%;height:auto;border:1px solid #c8d2dd;border-radius:12px}.howto-screenshot figcaption{font-size:.875rem;line-height:1.5;color:#4f5b68;margin-top:.5rem}

/* Foldable cover screens and unfolded tablets share the compact navigation.
   Cards size themselves to their content area, including beside the desktop sidebar. */
.kid-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.tile-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.overview-columns{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}
.workspace-page .panel-content select{max-width:min(100%,360px);min-width:min(160px,100%)}
.workspace-page .panel-content :is(input,textarea,select){box-sizing:border-box}
.time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.time-grid>*,.game-hour-window>*{min-width:0}
.workspace-page .panel-content input[type=time]{min-width:0;max-width:100%;width:100%}
@media(max-width:380px){
  .time-grid,.time-grid:has(.time-clear),.game-hour-window{grid-template-columns:minmax(0,1fr)}
  .inline-form .field-label{min-width:0;flex-basis:100%}
}

/* Focused parent-app tasks use the native Home/Back controls, never the portal menus. */
.app-task .sidebar,.app-task .topbar,.app-task .tabbar,.app-task .site-footer,.app-task .mode-switch,.app-task .device-control-tabs{display:none!important}
.app-task.workspace-page{padding-bottom:16px;--sticky-top:0px}
.app-task .shell{margin:0;min-height:0}
.app-task .panel{padding:16px;max-width:800px}
.app-task .panel-heading{padding-right:0}
.app-task .connect-grid{grid-template-columns:minmax(0,1fr)}
.app-task.workspace-page:not(.office-page) .sticky-save,.app-task.workspace-page:not(.office-page) form.dirty .sticky-save{bottom:8px}
.app-task .connect-steps{font-size:14px}

/* Public information pages never imply that the visitor is signed in. */
.public-page .shell{margin:0}
.public-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;max-width:1140px;margin:auto;padding:20px 36px;border-bottom:1px solid var(--line)}
.public-header .brand,.public-header .brand:hover{margin:0;padding:0;flex:none;color:#16293f}
.public-header .brand-product{color:#516174}
.public-header nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.public-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px}
.public-page .panel-heading{padding-right:0}
.app-task .public-header{display:none}
@media(max-width:600px){.public-header{padding:16px 20px;gap:8px}.public-header nav{width:100%;justify-content:space-between;gap:0}.public-header nav a{padding:8px}.public-page .panel{padding:24px 20px}}

/* ==== Bold Family (approved look, 17 October 2026): the parents' pages, sign-in and public pages.
   Colours, shape and type come from the design handover (design-tokens.json, COMPONENT-SPEC.txt). The back office
   (.office-page) keeps its own look: every rule below is scoped to the three body classes. Green means a verified good
   state, neutral means unknown or waiting, and the warning colour is kept for an active, unresolved warning. ==== */
:is(.workspace-page:not(.office-page),.auth-page,.public-page){
  --forest:#0c2f57;--emerald:#1f5fae;--emerald-hover:#174c8f;--cream:#f3f7fc;--white:#fff;--mint:#e6f0fb;--cyan:#e4f6f8;
  --yellow:#fff1b3;--peach:#ffe5da;--text:#0c2f57;--warning:#b53528;--warning-bg:#fff0e9;--warning-line:#edc3ba;
  --neutral:#eef3fa;--neutral-ink:#4d5660;--pill-ink:#12355e;--nav-idle:#646c75;--focus:#1267a5;--field-line:#798695;
  --bg:var(--cream);--pale:var(--cream);--card:#fff;--ink:var(--text);--muted:#5a6f8a;--line:#d3deea;
  --accent:var(--emerald);--accent-deep:var(--emerald-hover);--accent-soft:var(--mint);--accent-ring:#1267a533;
  --ok:var(--emerald);--ok-pale:var(--mint);--warn:var(--warning);--warn-pale:var(--warning-bg);--rose:var(--warning);--rose-soft:var(--warning-bg);
  --todo:var(--forest);--todo-pale:var(--cyan);--side-bg:#fff;--side-border:var(--line);--side-brand:var(--forest);--side-text:var(--text);
  --side-muted:var(--muted);--side-icon:var(--nav-idle);--side-hover:var(--mint);--side-active-bg:var(--mint);--side-active-text:var(--forest);
  --side-active-icon:var(--emerald);--mark-bg:transparent;--hero-a:var(--forest);--hero-b:var(--forest);
  --radius:22px;--radius-sm:12px;--shadow-sm:0 8px 28px #103e350b;--shadow-md:0 12px 32px #103e3514;
  --font:"Nunito",ui-rounded,"Trebuchet MS",Arial,sans-serif;
  font-family:var(--font);font-size:16px;line-height:1.5;color:var(--text);background:var(--cream);background-image:none}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(h1,h2,h3,legend){color:var(--forest)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) h1{letter-spacing:-.035em;line-height:1.15;font-weight:800}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) a{color:var(--emerald-hover);text-underline-offset:3px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) a:hover{color:var(--forest)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .panel-content p,:where(.workspace-page:not(.office-page),.auth-page,.public-page) small,
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .helper{color:var(--muted)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :focus-visible{outline:3px solid var(--focus);outline-offset:3px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(input,textarea,select):focus{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--forest)}

/* The SwearGuard shield and wordmark: no tile behind the shield, forest letters. */
:is(.workspace-page:not(.office-page),.auth-page,.public-page) .brand-mark{width:30px;height:34.5px;padding:0;border-radius:0;background:none;box-shadow:none}
:is(.workspace-page:not(.office-page),.public-page) .brand,:is(.workspace-page:not(.office-page),.public-page) .brand:hover{color:var(--forest);font-weight:800;letter-spacing:-.02em}
:is(.workspace-page:not(.office-page),.public-page) .brand-product{color:var(--muted);font-weight:700;letter-spacing:.06em}

/* Buttons: emerald primary, white secondary with an emerald edge, a clear danger outline. 48px, compact 44px.
   Choice buttons (.mode-btn: Allowed / Off / Blocked, the age bands) are not primary buttons: they keep white until chosen. */
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.button-link,button):where(:not(.mode-btn)){min-height:48px;padding:10px 20px;border:1px solid var(--emerald);
  border-radius:14px;background:var(--emerald);color:#fff;font-size:16px;font-weight:800;line-height:1.25;box-shadow:none;gap:8px;text-align:center}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.button-link,button):where(:not(.mode-btn)):hover{background:var(--emerald-hover);border-color:var(--emerald-hover);color:#fff}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.button-secondary,.copy-button.button-secondary){min-height:44px;background:#fff;border-color:var(--emerald);color:var(--emerald-hover)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .button-secondary:hover{background:var(--mint);border-color:var(--emerald-hover);color:var(--forest)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.button-danger,.button-secondary.button-danger){background:#fff;border:2px solid var(--warning);color:var(--warning)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.button-danger,.button-secondary.button-danger):hover{background:var(--warning-bg);border-color:var(--warning);color:var(--warning)}
.workspace-page:not(.office-page) button.button-danger,.workspace-page:not(.office-page) .button-link.button-danger{background:#fff;border:2px solid var(--warning);color:var(--warning)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .button-icon{width:20px;height:20px;flex:none}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .button-link .line-icon{width:20px;height:20px;flex:none;margin:0}
/* The choice buttons: white with a visible edge; the chosen one emerald with a drawn tick, so the choice never rests on colour alone. */
.workspace-page:not(.office-page) .mode-btn{border-color:var(--field-line);background:#fff;color:var(--text);box-shadow:none}
.workspace-page:not(.office-page) .mode-btn:hover{border-color:var(--emerald);background:var(--mint);color:var(--forest)}
.workspace-page:not(.office-page) .mode-btn.mode-on{border-color:var(--emerald);background:var(--emerald);color:#fff}
.workspace-page:not(.office-page) .mode-btn.mode-on:hover{border-color:var(--emerald-hover);background:var(--emerald-hover);color:#fff}
.workspace-page:not(.office-page) .mode-btn.mode-on::before{content:"";flex:none;box-sizing:border-box;width:11px;height:6px;margin:0 6px 3px 0;
  border:solid currentColor;border-width:0 0 2.5px 2.5px;transform:rotate(-45deg)}

/* Fields: 12px corners, a border that reads on white and cream, 16px text. */
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select){min-height:48px;border:1px solid var(--field-line);border-radius:12px;font-size:16px;background:#fff;color:var(--text)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) textarea{border:1px solid var(--field-line);border-radius:12px;background:#fff;color:var(--text)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(input[type=checkbox],input[type=radio]){accent-color:var(--emerald)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .field-label{color:var(--forest);font-weight:700}

/* Cards: white on cream, a light border and shadow, 22px corners. */
:where(.workspace-page:not(.office-page),.public-page) :is(.status-hero,.dns-card,.tile,.settings-card,.choice-tile,.platform-guide,.guide-card,.device-card,.faq,
  .account-card,.schedule-card,.filter-group,.empty-state,.timezone-panel,.decision,.server-picker,.download-card,.summary-grid,.setup-intro,.setup-shortcut,
  .enrollment,.guided-section,.kid-card,.group-card,.parent-category,.rule-card,.status-server,.howto,.activity-card,.today-stats,.wizard-card,
  .who-card,.parent-age,.mode-switch,.page-intro.settings-card,.free-card,.plan-card,.quick-card,.protection-card,.offtime-card,.overview-card){
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
:where(.workspace-page:not(.office-page),.public-page) .table-wrap{border-color:var(--line);border-radius:16px;box-shadow:none}
:where(.workspace-page:not(.office-page),.public-page) .enrollment{background:#fff}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .notice{background:var(--cyan);border:1px solid #c5e4e8;border-radius:16px;color:var(--forest);box-shadow:none;font-size:15px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .error{background:var(--warning-bg);border:1px solid var(--warning-line);border-radius:12px;color:var(--warning)!important}

/* Status chips: always a dot and words. Green only for a verified good state, neutral while unknown or waiting. */
:where(.workspace-page:not(.office-page),.public-page) :is(.chip,.badge){display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:3px 11px;border-radius:99px;
  background:var(--neutral);color:var(--neutral-ink);font-size:13px;font-weight:800;line-height:1.3}
:where(.workspace-page:not(.office-page),.public-page) :is(.chip,.badge,.home-chip)::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:currentColor}
:where(.workspace-page:not(.office-page),.public-page) :is(.chip-on,.badge-answered,.home-chip.chip-ok){background:var(--mint);color:var(--pill-ink)}
:where(.workspace-page:not(.office-page),.public-page) .home-chip.chip-todo{background:var(--neutral);color:var(--neutral-ink)}
:where(.workspace-page:not(.office-page),.public-page) :is(.badge-blocked){background:var(--warning-bg);color:var(--warning);box-shadow:inset 0 0 0 1px var(--warning-line)}
.workspace-page:not(.office-page) .query-table .badge-blocked{background:var(--warning);color:#fff;box-shadow:none}
.workspace-page:not(.office-page) :is(.badge-chosen,.badge.badge-chosen){background:var(--emerald);color:#fff}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .home-chip{gap:6px}

/* Desktop menu: white, 44px rows, the selected page on mint with an emerald bar. */
@media(min-width:901px){.workspace-page:not(.office-page) .sidebar{width:240px;padding:28px 16px 20px}.workspace-page:not(.office-page) .shell{margin-left:240px}}
.workspace-page:not(.office-page) .sidebar{background:#fff;border-right:1px solid var(--line);box-shadow:none}
.workspace-page:not(.office-page) .sidebar .brand{font-size:21px}
.workspace-page:not(.office-page) .workspace-nav>a{min-height:44px;padding:10px 12px;border-radius:12px;color:var(--text);font-size:15px;font-weight:700}
.workspace-page:not(.office-page) .workspace-nav>a:hover{background:var(--mint);color:var(--forest)}
.workspace-page:not(.office-page) .workspace-nav>a.selected{background:var(--mint);color:var(--forest);font-weight:800;box-shadow:inset 3px 0 0 var(--emerald)}
.workspace-page:not(.office-page) :is(.nav-icon,.foot-icon,.tab-icon).line-icon{width:22px;height:22px;flex:none;color:var(--nav-idle);transform:none}
.workspace-page:not(.office-page) .workspace-nav>a.selected .nav-icon,.workspace-page:not(.office-page) .workspace-nav>a:hover .nav-icon{color:var(--emerald)}
.workspace-page:not(.office-page) .sidebar-bottom a{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--text);font-size:14px;font-weight:700;text-decoration:none}
.workspace-page:not(.office-page) .sidebar-bottom a:hover{color:var(--forest);text-decoration:underline}
.workspace-page:not(.office-page) .sidebar-bottom .foot-icon.line-icon{width:20px;height:20px}
.workspace-page:not(.office-page) .nav-admin{border-top-color:var(--line)}
.workspace-page:not(.office-page) .topbar a{min-height:44px;display:inline-flex;align-items:center;padding:8px 16px;border-radius:14px;background:#fff;border:1px solid var(--line);
  box-shadow:none;color:var(--emerald-hover);font-weight:800}
.workspace-page:not(.office-page) .topbar a:hover{border-color:var(--emerald);color:var(--forest)}
.workspace-page:not(.office-page) .panel-heading h1{color:var(--forest);font-size:clamp(28px,3vw,36px);font-weight:800;letter-spacing:-.035em}
.workspace-page:not(.office-page) .panel-heading>.button-link{min-height:44px;padding:8px 16px;font-size:15px}
.workspace-page:not(.office-page) .panel-heading>.button-link .line-icon{width:20px;height:20px}

/* Phone menu: a white bar with line icons and labels; the selected tab in emerald. More opens a sheet. */
@media(max-width:900px){
  .workspace-page:not(.office-page) .sidebar{background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
  .workspace-page:not(.office-page) .sidebar .brand{font-size:19px}
  .workspace-page:not(.office-page) .tabbar{background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px #103e350d}
  .workspace-page:not(.office-page) .tabbar>a,.workspace-page:not(.office-page) .tab-more>summary{min-height:48px;color:var(--nav-idle);font-size:12px;font-weight:700;border-radius:12px;background:transparent}
  .workspace-page:not(.office-page) .tabbar .tab-icon.line-icon{width:22px;height:22px;color:currentColor}
  .workspace-page:not(.office-page) .tabbar>a.selected,.workspace-page:not(.office-page) .tab-more:has(.selected)>summary,
  .workspace-page:not(.office-page) .tab-more[open]>summary{color:var(--emerald);background:transparent;font-weight:800;box-shadow:none}
  .workspace-page:not(.office-page) .tabbar>a.selected span,.workspace-page:not(.office-page) .tab-more:has(.selected)>summary span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
  .workspace-page:not(.office-page) .more-sheet{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 48px #103e352e;padding:8px}
  .workspace-page:not(.office-page) .more-sheet a{min-height:48px;gap:12px;padding:10px 14px;border-radius:12px;color:var(--text);font-size:16px;font-weight:700}
  .workspace-page:not(.office-page) .more-sheet a:hover{background:var(--mint)}
  .workspace-page:not(.office-page) .more-sheet a.selected{background:var(--mint);color:var(--forest);box-shadow:inset 3px 0 0 var(--emerald)}
  .workspace-page:not(.office-page) .more-sheet .nav-icon.line-icon{width:22px;height:22px;color:var(--emerald)}
  .workspace-page:not(.office-page) .more-sheet hr{border-top-color:var(--line)}
}

/* Home tiles, setup choices and help: the line icon on a mint circle. */
.workspace-page:not(.office-page) .tile-grid .tile{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.workspace-page:not(.office-page) .tile-grid .tile:hover{border-color:var(--emerald);box-shadow:var(--shadow-md);transform:none}
.workspace-page:not(.office-page) .tile-grid .tile .tile-icon.line-icon{display:block;width:48px;height:48px;padding:12px;border-radius:50%;background:var(--mint);color:var(--emerald);margin:0 0 8px}
.workspace-page:not(.office-page) .tile-grid .tile:nth-child(n) .tile-icon.line-icon{background:var(--mint);color:var(--emerald)}
.workspace-page:not(.office-page) .tile strong{color:var(--forest)}
@media(max-width:900px){.workspace-page:not(.office-page) .tile-grid .tile .tile-icon.line-icon{width:44px;height:44px;padding:11px;margin:0}}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) svg.who-pic{box-sizing:border-box;width:52px;height:52px;padding:13px;border-radius:50%;background:var(--mint,#e6f0fb);color:var(--emerald,#1f5fae);flex:none}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.rules-for-bar,.offtime-pick) svg.who-pic{width:40px;height:40px;padding:9px}
.workspace-page:not(.office-page) .rules-for.rules-for-bar svg.who-pic{width:36px;height:36px;padding:7px}
.workspace-page:not(.office-page) .add-choice .platform-icon.line-icon,.workspace-page:not(.office-page) .who-card>svg.line-icon{box-sizing:border-box;width:52px;height:52px;padding:13px;border-radius:50%;background:var(--mint);color:var(--emerald)}
.workspace-page:not(.office-page) .add-choice.add-on{border:2px solid var(--emerald);background:var(--mint)}
:where(.workspace-page:not(.office-page),.public-page) .howto-icon.line-icon{box-sizing:border-box;width:44px;height:44px;padding:11px;border-radius:50%;background:var(--mint);color:var(--emerald);flex:none}
:where(.workspace-page:not(.office-page),.public-page) .howto-icon:not(.line-icon){box-sizing:border-box;width:44px;height:44px;padding:11px;border-radius:50%;background:var(--mint);color:var(--emerald);flex:none}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .support-art.line-icon{flex:none;width:28px;height:28px;color:var(--emerald)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .ddns-card .line-icon{width:22px;height:22px;color:var(--emerald)}

/* The clay pictures some headings and status boxes drew in CSS give way to plain text and coloured status marks. */
.workspace-page:not(.office-page) :is(.quick-grid h3,.protection-card h2)::before{content:none}
.workspace-page:not(.office-page) .kid-avatar::after{content:none}
.workspace-page:not(.office-page) .home-ok::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--emerald);background-image:none}
:where(.workspace-page:not(.office-page),.public-page) .status-hero .status-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;
  font-size:22px;font-weight:800;color:var(--neutral-ink);background:var(--neutral);box-shadow:none}
:where(.workspace-page:not(.office-page),.public-page) .status-hero .status-icon::before{content:none}
:where(.workspace-page:not(.office-page),.public-page) .status-ok .status-icon{color:#fff;background:var(--emerald)}
:where(.workspace-page:not(.office-page),.public-page) .status-warn .status-icon{color:#fff;background:var(--warning)}
/* Where a drawn picture stood (connected, next step, checking), the glyph stays hidden as before and a plain mark replaces the
   picture: a tick on emerald, an open ring, three waiting dots. The other banners keep their visible glyph (!, i, ?). */
:is(.workspace-page:not(.office-page),.public-page) :is(.status-ok,.status-todo) .status-icon,
:is(.workspace-page:not(.office-page),.public-page) #live-check.status-info .status-icon{font-size:0;color:transparent;border-radius:50%;box-shadow:none}
:is(.workspace-page:not(.office-page),.public-page) :is(.status-ok,.status-todo) .status-icon::before,
:is(.workspace-page:not(.office-page),.public-page) #live-check.status-info .status-icon::before{content:"";box-sizing:border-box;background:none;box-shadow:none}
:is(.workspace-page:not(.office-page),.public-page) .status-ok .status-icon{background:var(--emerald)}
:is(.workspace-page:not(.office-page),.public-page) .status-ok .status-icon::before{width:20px;height:11px;margin-bottom:4px;border:solid #fff;
  border-width:0 0 3.5px 3.5px;transform:rotate(-45deg)}
:is(.workspace-page:not(.office-page),.public-page) .status-todo .status-icon{background:#fff;box-shadow:inset 0 0 0 1px #c5e4e8}
:is(.workspace-page:not(.office-page),.public-page) .status-todo .status-icon::before{width:20px;height:20px;border:3px solid var(--forest);border-radius:50%}
:is(.workspace-page:not(.office-page),.public-page) #live-check.status-info .status-icon{background:var(--neutral)}
:is(.workspace-page:not(.office-page),.public-page) #live-check.status-info .status-icon::before{width:6px;height:6px;border-radius:50%;background:var(--neutral-ink);
  box-shadow:-11px 0 0 var(--neutral-ink),11px 0 0 var(--neutral-ink)}
:where(.workspace-page:not(.office-page),.public-page) .status-hero{background:#fff;border-color:var(--line)}
:where(.workspace-page:not(.office-page),.public-page) .status-ok{background:var(--mint);border-color:#c5d4e6}
:where(.workspace-page:not(.office-page),.public-page) :is(.status-todo,.status-info){background:var(--cyan);border-color:#c5e4e8}
:where(.workspace-page:not(.office-page),.public-page) .status-warn{background:var(--warning-bg);border-color:var(--warning-line)}
:where(.workspace-page:not(.office-page),.public-page) .status-warn h2{color:var(--warning)}
:where(.workspace-page:not(.office-page),.public-page) .status-hero p{color:var(--text)!important}
/* A status banner without an icon uses the whole width (it was squeezed into the icon column on phones). */
@media(max-width:900px){
  :where(.workspace-page:not(.office-page),.auth-page,.public-page) .status-hero:not(:has(>.status-icon)){grid-template-columns:minmax(0,1fr)}
  :where(.workspace-page:not(.office-page),.auth-page,.public-page) .status-hero>.status-text:first-child{grid-column:1/-1}
}

/* Home: Kids & devices. The parent's own phone is its own dark panel above the kids' cards. */
.workspace-page:not(.office-page) .family-heading h2{font-size:24px;letter-spacing:-.02em}
.workspace-page:not(.office-page) .kid-grid{gap:16px}
.workspace-page:not(.office-page) .kid-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm);padding:20px}
.workspace-page:not(.office-page) .kid-head h3{color:var(--forest);font-size:20px}
.workspace-page:not(.office-page) .kid-type{color:var(--muted);font-size:14px}
.workspace-page:not(.office-page) .kid-avatar{width:62px;height:62px;border:2px solid var(--line);background:var(--mint)}
.workspace-page:not(.office-page) .kid-card .kid-rule-label{margin:16px 0 8px;font-size:13px;letter-spacing:.04em;color:var(--muted)}
.workspace-page:not(.office-page) .kid-live{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:8px 0 12px;padding:0}
.workspace-page:not(.office-page) .kid-live>li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:6px 12px;min-height:32px;border-radius:99px;
  background:var(--neutral);color:var(--neutral-ink);font-size:14px;font-weight:800;border:0}
.workspace-page:not(.office-page) .kid-live>li>span::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:currentColor;vertical-align:1px}
.workspace-page:not(.office-page) .kid-live>li:has(form){border-radius:16px;padding:8px 12px}
.workspace-page:not(.office-page) .kid-live .kid-undo{margin:0}
.workspace-page:not(.office-page) .kid-main{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(150px,7em)),1fr));gap:8px;margin:12px 0 4px}
.workspace-page:not(.office-page) .kid-main>.button-link{width:100%;min-width:0;min-height:48px;margin:0;padding:8px;gap:6px;align-self:stretch;font-size:15px;white-space:normal;text-wrap:balance;overflow-wrap:break-word}
.workspace-page:not(.office-page) .kid-main .button-icon{width:18px;height:18px}
.workspace-page:not(.office-page) .kid-now{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.workspace-page:not(.office-page) .kid-now>.button-link,.workspace-page:not(.office-page) .kid-now .kid-off>summary{min-height:44px;padding:8px 14px;font-size:15px}
.workspace-page:not(.office-page) .kid-details{border-top:1px solid var(--line);margin-top:14px;padding-top:6px}
.workspace-page:not(.office-page) .kid-details>summary{min-height:44px;color:var(--forest);font-size:15px}
.workspace-page:not(.office-page) .kid-actions>a{min-height:44px;color:var(--emerald-hover);border-top-color:var(--line)}
.workspace-page:not(.office-page) .kid-actions>a:hover{background:var(--mint)}
.workspace-page:not(.office-page) .kid-menu>summary{width:44px;height:44px;color:var(--muted)}
.workspace-page:not(.office-page) .kid-menu>summary:hover{background:var(--mint)}
.workspace-page:not(.office-page) .kid-grid>.kid-add{background:#fff;border:2px dashed #9bb1ca;box-shadow:none;color:var(--forest)}
.workspace-page:not(.office-page) .kid-grid>.kid-add:hover{border-color:var(--emerald);background:var(--mint)}
.workspace-page:not(.office-page) .kid-add>span:last-child{color:var(--emerald-hover)}
.workspace-page:not(.office-page) .home-card{background:#fff;border-color:var(--line)}
.workspace-page:not(.office-page) :is(.kid-grid,.device-grid)>.own-card{grid-column:1/-1}
@media(max-width:360px){.workspace-page:not(.office-page) .kid-card{padding:16px}.workspace-page:not(.office-page) .kid-avatar{width:52px;height:52px}
  .workspace-page:not(.office-page) .kid-avatar .avatar-character{width:46px;height:51.8px}}

/* The parent's phone stays distinct without a large dark panel. */
.workspace-page:not(.office-page) .kid-card.own-card{background:#fff;border-color:var(--line);border-left:4px solid #b3c6dc;box-shadow:0 3px 14px #103e3508}
.workspace-page:not(.office-page) .own-card .kid-avatar{background:var(--mint);border-color:var(--line)}
.workspace-page:not(.office-page) .own-card .kid-type{color:var(--muted)}
.workspace-page:not(.office-page) .own-card>.kid-main>.button-link:not(.button-secondary){background:var(--mint);border-color:var(--line);color:var(--forest)}
.workspace-page:not(.office-page) .kid-blocks .group-icon{background:transparent;color:var(--emerald)}
.workspace-page:not(.office-page) .kid-actions>a .button-icon{display:none}
/* On Home the parent's own phone is a short strip, so the kids' cards still start on the first screen of a phone:
   a smaller picture, the rules label beside its status, its actions in compact wrapping rows. Every word stays in view. */
.workspace-page:not(.office-page) .own-card.kid-compact{min-height:0;padding:14px 16px 4px;flex-flow:row wrap;align-items:center;column-gap:10px}
.workspace-page:not(.office-page) .own-card.kid-compact>*{flex:1 1 100%;min-width:0}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-head{margin-bottom:4px}
.workspace-page:not(.office-page) .own-card.kid-compact .kid-avatar{width:48px;height:48px}
.workspace-page:not(.office-page) .own-card.kid-compact .kid-avatar .avatar-character{width:42px;height:47.3px}
.workspace-page:not(.office-page) .own-card.kid-compact .kid-head h3{font-size:18px}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-rule-label{flex:0 0 auto;margin:4px 0}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-live{flex:1 1 60%;min-width:min(100%,140px);margin:4px 0}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-main{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-main>.button-link{flex:1 1 auto;width:auto;min-height:44px;padding:8px 14px}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-details{margin-top:8px;padding-top:0}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-now{gap:8px;margin:8px 0 0}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>:is(.button-link,.kid-off){flex:1 1 auto}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>.button-link,.workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>.kid-off>summary{min-height:44px;padding:8px 10px;font-size:14px}
.workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>.kid-off>summary{width:100%;box-sizing:border-box}
@media(min-width:760px){
  .workspace-page:not(.office-page) .own-card.kid-compact>:is(.kid-main,.kid-now){display:inline-flex;flex:0 1 auto;flex-wrap:wrap}
  .workspace-page:not(.office-page) .own-card.kid-compact>.kid-main>.button-link{flex:0 1 auto;padding:8px 18px}
  .workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>:is(.button-link,.kid-off){flex:0 1 auto}
  .workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>.button-link,.workspace-page:not(.office-page) .own-card.kid-compact>.kid-now>.kid-off>summary{padding:8px 14px}
}

/* Manage kids: cards with avatar, name and chips; the actions share one height. */
.workspace-page:not(.office-page) .device-card{padding:20px}
.workspace-page:not(.office-page) .device-head h2{color:var(--forest);font-size:20px}

.workspace-page:not(.office-page) .device-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(150px,7em)),1fr));gap:8px;margin:14px 0 6px}
.workspace-page:not(.office-page) .device-card .device-actions>.button-link{width:100%;min-width:0;min-height:48px;margin:0;padding:8px 8px;gap:6px;font-size:15px;white-space:normal;text-wrap:balance;overflow-wrap:break-word}
.workspace-page:not(.office-page) .device-card .device-actions>.button-link:not(.button-secondary){background:var(--emerald);border-color:var(--emerald);color:#fff}
.workspace-page:not(.office-page) .device-card .device-actions>.button-link:not(.button-secondary):hover{background:var(--emerald-hover);border-color:var(--emerald-hover)}
.workspace-page:not(.office-page) .device-card .device-actions>.button-secondary{background:#fff;border-color:var(--emerald);color:var(--emerald-hover)}
.workspace-page:not(.office-page) .device-card .device-actions .button-icon{width:18px;height:18px}
.workspace-page:not(.office-page) .device-setup{background:var(--cream);border-color:var(--line);border-radius:16px}
.workspace-page:not(.office-page) .device-setup>summary{min-height:44px;color:var(--forest)}
.workspace-page:not(.office-page) .add-device{background:#fff;border:2px dashed #9bb1ca;box-shadow:none}

/* Disclosure rows people tap get a full-size target. */
:where(.workspace-page:not(.office-page),.auth-page,.public-page) :is(.invite-code,.connect-again,.setup-explanation,.delete-account)>summary,
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .pairing-panel details>summary{box-sizing:border-box;min-height:44px;padding-top:10px;padding-bottom:10px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .manage>summary{min-height:44px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .check-when>summary{min-height:44px}
.workspace-page:not(.office-page) .who-select-all button{min-height:44px}
.workspace-page:not(.office-page) .protection-toggle{min-height:44px;min-width:44px}
.workspace-page:not(.office-page) :is(.target-section,.more-times)>summary{min-height:44px;display:flex;align-items:center}
.workspace-page:not(.office-page) .muted-count{color:var(--muted)}
/* A game's or app's own Block / Allow button in a list row stays compact (44px), so the name beside it keeps its width. */
.workspace-page:not(.office-page) .app-btn{min-height:44px;padding:6px 10px;font-size:14px}
/* What is on now: the dot is neutral (saved rules, not a check of the device), solid forest while the internet is off. */
.workspace-page:not(.office-page) .now-dot,.workspace-page:not(.office-page) :is(.now-off,.now-offtime,.now-bed,.now-offtime-soon,.now-extra,.now-extra-for,.now-daypass) .now-dot{background:var(--neutral-ink);box-shadow:0 0 0 4px var(--neutral)}
.workspace-page:not(.office-page) :is(.now-off,.now-offtime) .now-dot{background:var(--forest);box-shadow:0 0 0 4px #103e351f}

/* Folded sections (More family controls, Activity, settings) as white cards with a quiet plus. */
.workspace-page:not(.office-page) .guided-section{border-radius:22px;margin:14px 0}
.workspace-page:not(.office-page) .guided-section>summary{min-height:56px;padding:14px 20px;color:var(--forest);font-size:18px;font-weight:800}
.workspace-page:not(.office-page) .guided-section>summary::after{color:var(--emerald);font-size:22px}
.workspace-page:not(.office-page) .guided-section .guided-section{box-shadow:none}

/* The Rules for bar, the Simple/Advanced switch and the age picker. */
.workspace-page:not(.office-page) .rules-for{background:var(--mint);border-color:#c5d4e6}
.workspace-page:not(.office-page) .rf-who small{color:var(--pill-ink);letter-spacing:.04em}
.workspace-page:not(.office-page) .rf-who strong{color:var(--forest)}
.workspace-page:not(.office-page) .rules-for-bar .rf-change{min-height:44px}
.workspace-page:not(.office-page) .rules-for-bar .rf-help{min-width:44px;min-height:44px}
.workspace-page:not(.office-page) .mode-switch{padding:5px;border-radius:18px;box-shadow:none}
.workspace-page:not(.office-page) .mode-switch a{border-radius:14px;min-height:44px}
.workspace-page:not(.office-page) .mode-switch a.active{background:var(--mint);color:var(--forest);box-shadow:inset 0 0 0 2px var(--emerald)}
.workspace-page:not(.office-page) .mode-switch a.active small{color:var(--pill-ink)}
.workspace-page:not(.office-page) .segmented-nav a.active{background:var(--emerald);color:#fff}
/* The setup guide's forest banner: its links in white (emerald on forest is only 1.7:1). */
:is(.workspace-page:not(.office-page),.public-page) .setup-hero a:not(.button-link){color:#fff;text-decoration-color:#dfe6ef}
:is(.workspace-page:not(.office-page),.public-page) .setup-hero a:not(.button-link):hover{color:#dfe6ef}
:is(.workspace-page:not(.office-page),.public-page) .setup-hero :focus-visible{outline-color:#fff}
.workspace-page:not(.office-page) .parent-age{border-color:var(--line);border-radius:22px}

/* Block apps & sites: group cards and app tiles. */
.workspace-page:not(.office-page) .group-card{border-color:var(--line);border-radius:18px}
.workspace-page:not(.office-page) .group-card:hover{border-color:var(--emerald)}
.workspace-page:not(.office-page) .group-icon{background:var(--mint);color:var(--emerald)}
.workspace-page:not(.office-page) .group-text strong{color:var(--forest)}
.workspace-page:not(.office-page) .parent-category{border-color:var(--line);border-radius:18px}
.workspace-page:not(.office-page) .parent-category>summary{background:#fff}
.workspace-page:not(.office-page) .parent-category>summary .group-icon,.workspace-page:not(.office-page) .parent-category[data-category]>summary .group-icon{background:var(--mint);color:var(--emerald)}
.workspace-page:not(.office-page) .parent-category[data-category]>summary{background:#fff}
.workspace-page:not(.office-page) .schedule-sentence{background:var(--mint);border-color:#c5d4e6;color:var(--forest)!important;border-radius:16px}
.workspace-page:not(.office-page) .sticky-save{background:var(--cream);border-top-color:var(--line)}

/* Schedules: day chips and 48px time fields. */
.workspace-page:not(.office-page) .day-choice{min-height:44px;border-color:var(--field-line);border-radius:12px;background:#fff;font-size:15px}
.workspace-page:not(.office-page) .day-choice:has(input:checked){border-color:var(--emerald);background:var(--mint);color:var(--forest);font-weight:800}

/* Add a device and the setup QR: steps, choice cards and a framed code. */
.workspace-page:not(.office-page) .step-number{background:var(--emerald);color:#fff;box-shadow:none}
.workspace-page:not(.office-page) .who-card{border-radius:22px}
.workspace-page:not(.office-page) .who-card:hover{border-color:var(--emerald)}
.workspace-page:not(.office-page) .who-card strong{color:var(--forest)}
.workspace-page:not(.office-page) :is(.guide-kicker,.eyebrow){color:var(--pill-ink);letter-spacing:.04em}
.workspace-page:not(.office-page) :is(.pairing-panel,.connect-add) svg[role=img]{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px}
.workspace-page:not(.office-page) .device-platform{border-color:var(--line);border-radius:16px;background:#fff}

/* Account: plan cards on white with one emerald edge for the current or chosen plan. */
.workspace-page:not(.office-page) .plan-grid>.plan-card,.workspace-page:not(.office-page) .plan-grid>.plan-card:nth-child(n){background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:24px}
.workspace-page:not(.office-page) .plan-grid>.plan-card::before{content:none}
.workspace-page:not(.office-page) .plan-grid>.plan-card{padding-top:52px}
.workspace-page:not(.office-page) .plan-grid>.plan-card:nth-child(2)::after{top:16px;right:16px}
.workspace-page:not(.office-page) .plan-grid>.plan-card:nth-child(n) :is(h3,.plan-price strong){color:var(--forest)}
.workspace-page:not(.office-page) .plan-grid>.plan-card:nth-child(n) li::marker{color:var(--emerald)}
.workspace-page:not(.office-page) .plan-grid>.plan-card:nth-child(2)::after{background:var(--forest);color:#fff}
.workspace-page:not(.office-page) .plan-grid>.plan-card:is(.plan-current,.plan-chosen){box-shadow:0 0 0 3px var(--emerald),var(--shadow-sm)}
.workspace-page:not(.office-page) .plan-card.plan-free{background:#fff}
.workspace-page:not(.office-page) :is(.account-card,.account-context) .eyebrow{color:var(--pill-ink)}

/* Footer */
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .site-footer,:where(.workspace-page:not(.office-page),.auth-page,.public-page) .site-footer a{color:var(--muted)}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .site-footer{font-size:13px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .site-footer{flex-wrap:wrap;gap:8px 24px}
:where(.workspace-page:not(.office-page),.auth-page,.public-page) .site-footer a{display:inline-flex;align-items:center;min-height:32px}
@media(max-width:600px){:where(.workspace-page:not(.office-page),.auth-page,.public-page) .site-footer>span:first-child{flex-basis:100%}
  :where(.workspace-page:not(.office-page),.auth-page,.public-page) .footer-links{justify-content:flex-start}}

/* Log in and sign up: a flat forest panel beside a white form card on cream. */
body.auth-page{background:var(--cream)}
.auth-page .auth-hero{background:var(--forest);color:#dfe6ef}
.auth-page .auth-hero::after{content:none}
.auth-page .auth-hero .brand,.auth-page .auth-hero .brand:hover{color:#fff}
.auth-page .auth-hero .brand-product{color:#dfe6ef;letter-spacing:.06em}
/* Emerald on forest is too faint (2.4:1): on the dark panel the shield sits on a small white tile. */
.auth-page .auth-hero .brand-mark{box-sizing:content-box;width:26px;height:30px;padding:5px 7px;border-radius:12px;background:#fff}
.auth-page .auth-pitch h2{color:#fff;letter-spacing:-.03em}
.auth-page .auth-pitch p{color:#dfe6ef}
.auth-page .auth-pitch li{color:#fff}
.auth-page .auth-pitch li svg{background:#fff;color:var(--forest)}
.auth-page .auth-hero-foot{color:#dfe6ef}
.auth-page .panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 40px #103e3514}
.auth-page .panel-heading h1{color:var(--forest);font-size:32px}
.auth-page .auth-intro{color:var(--muted)}
.auth-page .auth-form input{height:auto;min-height:48px}
.auth-page .auth-form button{height:auto;min-height:52px;border-radius:14px}
.auth-page .auth-divider{color:var(--muted)}

/* Public pages (help, status, contact, privacy, setup guides): the same header as the website. */
.public-page .public-header{max-width:1184px;padding:16px 32px;border-bottom:1px solid var(--line)}
.public-page .public-header nav a:not(.button-link){color:var(--forest);font-weight:800;text-decoration:none;border-radius:12px}
.public-page .public-header nav a:not(.button-link):hover{background:var(--mint)}
.public-page .public-header nav .button-link{min-height:44px;margin-left:6px;padding:8px 18px}
.public-page .panel-heading h1{color:var(--forest);font-size:clamp(30px,4vw,44px)}
@media(max-width:600px){.public-page .public-header{padding:12px 16px}.public-page .public-header nav .button-link{margin-left:0}}

/* Motion stays still when the device asks for less. */
@media(prefers-reduced-motion:reduce){
  :is(.workspace-page:not(.office-page),.auth-page,.public-page) *{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* Child-only controls, shown only behind KID_LOCK_ENABLED. */.workspace-page:not(.office-page) .kid-controls{max-width:960px;margin:16px auto}.workspace-page:not(.office-page) .kid-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #d3deea;padding:12px 0;margin-bottom:24px}.workspace-page:not(.office-page) .kid-tabs a{padding:12px 16px;border-radius:12px;text-decoration:none}.workspace-page:not(.office-page) .kid-tabs [aria-current=page]{background:#1f5fae;color:white}.workspace-page:not(.office-page) .kid-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.workspace-page:not(.office-page) .kid-actions form{margin:0}.workspace-page:not(.office-page) .kid-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.workspace-page:not(.office-page) .kid-fields label,.workspace-page:not(.office-page) .kid-rule label{display:grid;gap:6px}.workspace-page:not(.office-page) .kid-rule{border:1px solid #d3deea;border-radius:18px;padding:20px;margin:16px 0;background:#f3f7fc}.workspace-page:not(.office-page) .kid-rule input,.workspace-page:not(.office-page) .kid-rule select{width:100%;min-width:0}.workspace-page:not(.office-page) .kid-rule input[type=checkbox]{width:auto}.workspace-page:not(.office-page) .kid-days{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.workspace-page:not(.office-page) .kid-total{font-size:2rem;font-weight:bold}.workspace-page:not(.office-page) .kid-usage{list-style:none;padding:0}.workspace-page:not(.office-page) .kid-usage li{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px 0;border-bottom:1px solid #d3deea}.workspace-page:not(.office-page) .kid-usage a{grid-column:1/-1}.workspace-page:not(.office-page) .kid-controls button{margin-top:12px}.workspace-page:not(.office-page) .kid-controls form>label{display:block;margin:12px 0}@media(max-width:480px){.workspace-page:not(.office-page) .kid-fields{grid-template-columns:1fr}.workspace-page:not(.office-page) .kid-tabs{gap:4px}.workspace-page:not(.office-page) .kid-tabs a{padding:10px 12px}.workspace-page:not(.office-page) .kid-rule{padding:16px}.workspace-page:not(.office-page) .kid-controls{margin:10px 0}}.workspace-page:not(.office-page) .kid-controls .kid-total{font-size:48px;line-height:1.1;color:var(--forest);font-weight:900;margin:12px 0}.workspace-page:not(.office-page) .kid-controls .kid-title{font-size:32px}.workspace-page:not(.office-page) .kid-controls .kid-actions form{padding:0;border:0;box-shadow:none;margin:0;background:none}.workspace-page:not(.office-page) .kid-controls .kid-actions button{margin:0}.workspace-page:not(.office-page) .kid-warning{border-color:#b54234;background:#fff5f2}.workspace-page:not(.office-page) .kid-warning h2:before{content:'!';display:inline-grid;place-items:center;width:28px;height:28px;margin-right:10px;border-radius:50%;background:#b54234;color:white;font-size:20px}.workspace-page:not(.office-page) .kid-controls .kid-tabs a{min-height:44px;display:flex;align-items:center}@media(max-width:480px){.workspace-page:not(.office-page) .kid-controls{padding:18px}.workspace-page:not(.office-page) .kid-controls .kid-title{font-size:27px}.workspace-page:not(.office-page) .kid-tabs a{padding:8px}.workspace-page:not(.office-page) .kid-actions{gap:8px}.workspace-page:not(.office-page) .kid-actions button{padding:12px}.workspace-page:not(.office-page) .kid-controls .kid-days label{display:flex;align-items:center;gap:6px}}

.workspace-page:not(.office-page) .kid-usage strong{display:flex;align-items:center;gap:10px}
.workspace-page:not(.office-page) .kid-rule h3{display:flex;align-items:center;gap:10px}
.workspace-page:not(.office-page) .kid-controls .kid-actions,.workspace-page:not(.office-page) .kid-card .kid-actions{margin:16px 0;padding:0}
.workspace-page:not(.office-page) .kid-avatar{display:inline-flex;width:48px;height:48px;margin-right:12px;vertical-align:middle}.workspace-page:not(.office-page) .kid-avatar :is(svg,img){width:48px;height:48px;object-fit:cover;border-radius:50%}

.workspace-page:not(.office-page) .kid-control-card .kid-actions>a.button-link{border:1px solid var(--emerald);border-radius:12px;background:white;color:var(--emerald-hover);justify-content:center}
/* Manage kids: one readable card per device, with secondary actions in its menu. */
.workspace-page:not(.office-page) .manage-kids{max-width:1200px}
.workspace-page:not(.office-page) .manage-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.workspace-page:not(.office-page) .manage-kids>.device-usage{font-size:14px;color:var(--muted);margin:10px 0 24px}
.workspace-page:not(.office-page) .manage-kids>section{margin-top:30px}
.workspace-page:not(.office-page) .manage-kids .section-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:8px 14px;margin:0 0 14px}
.workspace-page:not(.office-page) .manage-kids .section-heading h2{font-size:23px;margin:0}
.workspace-page:not(.office-page) .manage-kids .section-heading :is(span,p){font-size:14px;font-weight:500;color:var(--muted);margin:0}
.workspace-page:not(.office-page) .manage-kids .device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.workspace-page:not(.office-page) .manage-kids .device-card{padding:20px;margin:0;border-radius:22px;min-width:0;background:#fff;box-shadow:0 4px 16px #103e3506;position:relative}
.workspace-page:not(.office-page) .manage-kids .device-card[hidden]{display:none}
.workspace-page:not(.office-page) .manage-kids .device-card:has(.kid-menu[open],.avatar-picker[open]){z-index:25}
.workspace-page:not(.office-page) .manage-kids .device-head{gap:10px;align-items:center;min-height:64px}
.workspace-page:not(.office-page) .manage-kids .device-head>div{min-width:0;flex:1}
.workspace-page:not(.office-page) .manage-kids .device-head h3{font-size:18px;line-height:1.3;margin:0;color:var(--forest);overflow-wrap:anywhere}
.workspace-page:not(.office-page) .manage-kids .device-head .kid-type{font-size:13px}
.workspace-page:not(.office-page) .manage-kids .kid-menu{flex:none;margin-left:0}
.workspace-page:not(.office-page) .manage-kids .kid-menu>summary{width:32px;height:40px}
.workspace-page:not(.office-page) .manage-kids .kid-menu-list{right:0;min-width:210px;max-width:calc(100vw - 64px);box-shadow:0 8px 24px #103e3526}
.workspace-page:not(.office-page) .manage-kids .kid-menu-list a{min-height:44px;display:flex;align-items:center}
.workspace-page:not(.office-page) .manage-kids .kid-menu-list .remove-device{color:var(--warning);border-top:1px solid var(--line);margin-top:4px}
/* The menu's title (the device's name) is shown only where the menu is a sheet over the card: on a phone (UX-4). */
.workspace-page:not(.office-page) .kid-menu-title{display:none}
.workspace-page:not(.office-page) .manage-kids .connection-badge{display:inline-flex;align-items:center;align-self:flex-start;gap:7px;border-radius:999px;padding:5px 10px;font-size:13px;font-weight:800;margin:18px 0 8px;background:var(--neutral);color:#4d5660;max-width:100%}
.workspace-page:not(.office-page) .manage-kids .connection-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.workspace-page:not(.office-page) .manage-kids .connection-badge.protected{background:var(--mint);color:#12355e}
.workspace-page:not(.office-page) .manage-kids .connection-badge.attention{background:#fff0df;color:#865000}
.workspace-page:not(.office-page) .manage-kids .device-rule-summary{font-size:14px;line-height:1.5;color:var(--muted);margin:4px 0 20px}
.workspace-page:not(.office-page) .manage-kids .device-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin: auto 0 0;gap:8px}
.workspace-page:not(.office-page) .manage-kids .device-actions .button-icon{display:none}
.workspace-page:not(.office-page) .manage-kids .device-actions>.button-link{font-size:14px;min-height:46px;padding:9px 6px}
.workspace-page:not(.office-page) .manage-enhanced [data-card-panel]:not([open]){display:none}
.workspace-page:not(.office-page) .manage-kids [data-card-panel]{scroll-margin-top:110px}
.workspace-page:not(.office-page) .manage-kids .device-card [data-card-panel][open]{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.workspace-page:not(.office-page) .manage-kids .add-kid-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;text-decoration:none;border:2px dashed #b3c6dc;background:transparent;color:var(--emerald-hover);min-height:228px}
.workspace-page:not(.office-page) .manage-kids .add-kid-tile>span:last-child{font-size:14px;color:var(--muted)}
.workspace-page:not(.office-page) .manage-kids .add-kid-plus{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--mint);font-size:30px;font-weight:400}
.workspace-page:not(.office-page) .manage-kids .manage-home{grid-column:span 2}
.workspace-page:not(.office-page) .manage-kids .manage-home .device-actions{max-width:380px}
.workspace-page:not(.office-page) .manage-kids .manage-house{width:56px;height:56px}
.workspace-page:not(.office-page) .manage-kids .manage-home dd{margin:4px 0 12px;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .manage-kids .device-search{max-width:420px}
@media(max-width:1100px){.workspace-page:not(.office-page) .manage-kids .device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .workspace-page:not(.office-page) .manage-kids .device-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .workspace-page:not(.office-page) .manage-kids .manage-home{grid-column:auto}
 .workspace-page:not(.office-page) .manage-kids .device-card{padding:18px}
 .workspace-page:not(.office-page) .manage-toolbar{display:grid;grid-template-columns:1fr;gap:8px}
 .workspace-page:not(.office-page) .manage-kids .add-kid-tile{min-height:150px}
 .workspace-page:not(.office-page) .manage-kids .kid-menu-list{position:fixed;left:16px;right:16px;bottom:80px;top:auto;min-width:0;max-width:none;max-height:calc(100dvh - 170px);overflow-y:auto;border-radius:18px}
 .workspace-page:not(.office-page) .manage-kids .kid-menu-title{display:block;margin:0 0 4px;padding:12px 12px 14px;border-bottom:1px solid var(--line);font-size:16px;font-weight:800;color:var(--forest);overflow-wrap:anywhere}
}

/* Daily choices and keyboard-accessible time presets work without JavaScript. */
.workspace-page:not(.office-page) .kid-limit-help,.workspace-page:not(.office-page) .kid-block-note{color:var(--muted);font-size:14px;line-height:1.6}
.workspace-page:not(.office-page) .kid-duration{padding:0;margin:14px 0;border:0;min-width:0}
.workspace-page:not(.office-page) .kid-duration legend{font-size:14px;color:var(--muted);margin-bottom:8px}
.workspace-page:not(.office-page) .kid-duration legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace-page:not(.office-page) .kid-quick{display:flex;gap:6px;flex-wrap:wrap}
.workspace-page:not(.office-page) .kid-quick label{position:relative;display:block;cursor:pointer}
.workspace-page:not(.office-page) .kid-quick input{position:absolute;opacity:0;width:1px;height:1px}
.workspace-page:not(.office-page) .kid-quick span{display:flex;align-items:center;justify-content:center;border:1px solid #b9c6d5;border-radius:24px;min-height:44px;padding:8px 12px;background:white;font-size:14px}
.workspace-page:not(.office-page) .kid-quick input:checked+span{background:#1f5fae;border-color:#1f5fae;color:white;font-weight:700}
.workspace-page:not(.office-page) .kid-quick input:focus-visible+span{outline:3px solid #16293f;outline-offset:3px}
.workspace-page:not(.office-page) .kid-custom{margin-top:12px}
@supports selector(:has(*)){
 .workspace-page:not(.office-page) .kid-rule form:has(select[name=state] option:checked:not([value=limit])) .kid-fields{display:none}
 .workspace-page:not(.office-page) .kid-day-limit:has(select option:checked:not([value=minutes])) .kid-duration{display:none}
 .workspace-page:not(.office-page) .kid-day-limit:has(select option:checked:not([value=blocked])) .kid-block-note{display:none}
 .workspace-page:not(.office-page) .kid-duration:has(input[type=radio]:checked:not([value=other])) .kid-custom{display:none}
}

/* Phone time: one decision per row, shared by the portal and parent app. */
.workspace-page:not(.office-page) .phone-time{max-width:760px;padding:0 12px}
.workspace-page:not(.office-page) .phone-heading{display:flex;align-items:center;gap:14px;margin:24px 0}
.workspace-page:not(.office-page) .phone-heading .kid-avatar{width:58px;height:58px;flex:none}
.workspace-page:not(.office-page) .phone-heading h2{font-size:26px;line-height:1.2;margin:0 0 6px}
.workspace-page:not(.office-page) .phone-heading p{margin:0;color:var(--muted);font-size:14px}
.workspace-page:not(.office-page) .phone-time>form{padding:0;margin:0;background:none;border:0;box-shadow:none;max-width:none}
.workspace-page:not(.office-page) .phone-panel{background:#fff;border:1px solid #d3dae3;border-radius:24px;padding:22px;margin:18px 0;box-shadow:0 6px 18px #173e3507}
.workspace-page:not(.office-page) .phone-panel h2{font-size:23px;margin:0 0 8px}
.workspace-page:not(.office-page) .phone-panel p{margin:8px 0 18px;color:var(--muted);line-height:1.5}
.workspace-page:not(.office-page) .phone-time .phone-hint{font-size:13px;line-height:1.5;color:var(--muted)}
.workspace-page:not(.office-page) .phone-progress-label{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:22px 0 12px;font-size:16px}
.workspace-page:not(.office-page) .phone-time progress{width:100%;height:12px;appearance:none;border:0;border-radius:99px;background:#e7eef5;color:#003d83}
.workspace-page:not(.office-page) .phone-time progress::-webkit-progress-bar{background:#e7eef5;border-radius:99px}
.workspace-page:not(.office-page) .phone-time progress::-webkit-progress-value{background:#003d83;border-radius:99px}
.workspace-page:not(.office-page) .phone-time progress::-moz-progress-bar{background:#003d83;border-radius:99px}
.workspace-page:not(.office-page) .phone-day{margin:22px 0}
.workspace-page:not(.office-page) .phone-day h3{font-size:17px;margin:0 0 12px}
.workspace-page:not(.office-page) .phone-chips{display:flex;gap:6px;flex-wrap:wrap;min-width:0;border:0;margin:0;padding:0}
.workspace-page:not(.office-page) .phone-chips label{position:relative;display:block;cursor:pointer;margin:0;flex:1 0 auto}
.workspace-page:not(.office-page) .phone-chips input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.workspace-page:not(.office-page) .phone-chips span{display:flex;align-items:center;justify-content:center;border:2px solid #d3dae3;border-radius:99px;min-height:44px;padding:8px 10px;background:white;font-size:14px;font-weight:800;white-space:nowrap;box-sizing:border-box}
.workspace-page:not(.office-page) .phone-chips input:checked+span{background:#003d83;border-color:#003d83;color:#fff}
.workspace-page:not(.office-page) .phone-chips input[value=blocked]:checked+span,.workspace-page:not(.office-page) .phone-chips input[value="0"]:checked+span{background:#b73026;border-color:#b73026}
.workspace-page:not(.office-page) .phone-chips input:focus-visible+span{outline:3px solid #16293f;outline-offset:3px}
.workspace-page:not(.office-page) .phone-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace-page:not(.office-page) .phone-picker{display:flex;gap:16px;background:#f1f4f8;padding:14px;margin-top:14px;border-radius:14px}
.workspace-page:not(.office-page) .phone-picker label{display:grid;gap:8px;flex:1}
.workspace-page:not(.office-page) .phone-picker select{width:100%;min-width:0;margin:0}
.workspace-page:not(.office-page) .phone-explainer{background:#f0f5fa;padding:16px;border-radius:18px;margin:20px 0 0}
.workspace-page:not(.office-page) .phone-explainer h3{font-size:16px;margin:0 0 12px}
.workspace-page:not(.office-page) .phone-explainer ul{padding-left:20px;margin:0;line-height:1.6}
.workspace-page:not(.office-page) .phone-explainer p{font-size:13px;margin-bottom:0}
.workspace-page:not(.office-page) .phone-app{padding:20px 0;border-bottom:1px solid #dfe5eb}
.workspace-page:not(.office-page) .phone-app:last-child{border:0;padding-bottom:0}
.workspace-page:not(.office-page) .phone-app-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.workspace-page:not(.office-page) .phone-app-heading>div{flex:1;min-width:100px}
.workspace-page:not(.office-page) .phone-app-heading h3{font-size:17px;margin:0 0 4px;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .phone-app-heading p{font-size:13px;margin:0}
.workspace-page:not(.office-page) .phone-app-heading>.app-logo{width:44px;height:44px;object-fit:contain;padding:3px;box-sizing:border-box;border-radius:12px;background:#f2f6f4}
.workspace-page:not(.office-page) .kid-usage .app-logo{vertical-align:middle;margin-right:8px}
.workspace-page:not(.office-page) .phone-status{font-size:12px;font-weight:800;border-radius:99px;background:#e8eff6;color:#103967;padding:6px 10px;max-width:100%}
.workspace-page:not(.office-page) .phone-status.is-blocked{background:var(--warning);color:#fff;border:1px solid var(--warning);font-weight:900}
.workspace-page:not(.office-page) .phone-app.is-blocked{border-left:4px solid var(--warning);padding-left:14px;background:linear-gradient(90deg,var(--warning-bg),#fff 85%)}
.workspace-page:not(.office-page) .kid-usage .is-blocked{background:var(--warning-bg);border-left:4px solid var(--warning);padding-left:12px}
.workspace-page:not(.office-page) .kid-usage .blocked-label{display:inline-flex;align-items:center;gap:6px;border-radius:99px;background:var(--warning);color:white;font-size:13px;font-weight:900;padding:5px 10px;white-space:normal}
.workspace-page:not(.office-page) .kid-usage .blocked-label:before{content:'\00d7';font-size:18px;line-height:1}
.workspace-page:not(.office-page) .query-table tr:has(.badge-blocked){background:var(--warning-bg);box-shadow:inset 4px 0 var(--warning)}
.workspace-page:not(.office-page) .query-table tr:has(.badge-blocked) .reason-cell{color:var(--warning);font-weight:700}
.workspace-page:not(.office-page) .stat-blocked{background:var(--warning-bg);border-color:var(--warning-line);box-shadow:inset 4px 0 var(--warning)}
.workspace-page:not(.office-page) .stat-blocked strong,.workspace-page:not(.office-page) .stat-blocked>span{color:var(--warning);font-weight:900}
.workspace-page:not(.office-page) .app-blocked{background:var(--warning-bg);border-left-color:var(--warning)}
.workspace-page:not(.office-page) .app-blocked .app-name small{color:var(--warning);font-weight:700}
.workspace-page:not(.office-page) .mode-btn.mode-on[value=off]{background:var(--warning);border-color:var(--warning);color:#fff}
.workspace-page:not(.office-page) .mode-btn.mode-on[value=off]:hover{background:#93291f;border-color:#93291f}
.workspace-page:not(.office-page) .stat-card:has(.bar-red){border-color:var(--warning-line);box-shadow:inset 4px 0 var(--warning)}
.workspace-page:not(.office-page) .stat-card:has(.bar-red)>h2{color:var(--warning)}
.workspace-page:not(.office-page) .phone-chips input[value=blocked]:not(:checked)+span{color:var(--warning);border-color:var(--warning-line)}
/* Block is outlined red, also the card's Block half that workspace.js outlines while an Allow saves (it has no value;
   CARD-R2). */
.workspace-page:not(.office-page) .button-secondary.app-btn:is([value^="block:"],.app-btn-block){color:var(--warning);border-color:var(--warning);background:#fff}
.workspace-page:not(.office-page) .button-secondary.app-btn:is([value^="block:"],.app-btn-block):hover{background:var(--warning-bg);color:var(--warning)}
/* The card's switch and Set times (CARD-1): the filled half is the saved state (a tick, no hover change); Set times is a
   lighter outlined button, 40px tall to tap, 10px under the name or its line. */
.workspace-page:not(.office-page) .app-switch>.app-btn{min-height:44px;padding:6px 12px;font-size:14px}
.workspace-page:not(.office-page) .app-btn-allow.app-btn-on,.workspace-page:not(.office-page) .app-btn-allow.app-btn-on:hover{background:var(--emerald);border-color:var(--emerald);color:#fff}
.workspace-page:not(.office-page) .app-btn-allow.app-btn-hours.app-btn-on,.workspace-page:not(.office-page) .app-btn-allow.app-btn-hours.app-btn-on:hover{background:#1f4e86;border-color:#1f4e86;color:#fff}
.workspace-page:not(.office-page) .app-btn-block.app-btn-on,.workspace-page:not(.office-page) .app-btn-block.app-btn-on:hover{background:var(--warning);border-color:var(--warning);color:#fff}
.workspace-page:not(.office-page) .app-btn-on::before{content:"";flex:none;box-sizing:border-box;width:11px;height:6px;margin:0 6px 3px 0;
  border:solid currentColor;border-width:0 0 2.5px 2.5px;transform:rotate(-45deg)}
.workspace-page:not(.office-page) .app-card>.simple-app-hours-link,.workspace-page:not(.office-page) .app-card>.simple-app-hours>summary{
  min-height:40px;margin:10px 0 0 36px;padding:6px 14px;border:1px solid #b8c6d7;border-radius:10px;background:#fff;color:var(--emerald-hover);
  font-size:14px;font-weight:700;line-height:1.25;text-decoration:none;box-shadow:none}
.workspace-page:not(.office-page) .app-card>.simple-app-hours-link:hover,.workspace-page:not(.office-page) .app-card>.simple-app-hours>summary:hover{
  background:var(--mint);border-color:var(--emerald);color:var(--forest)}
.workspace-page:not(.office-page) .app-card>.simple-app-hours>summary{max-width:calc(100% - 36px)}
.workspace-page:not(.office-page) .app-card>:is(.simple-app-hours-link,.simple-app-hours>summary){text-wrap:balance}
@container (max-width:240px){
  .workspace-page:not(.office-page) .app-card>.simple-app-hours-link,.workspace-page:not(.office-page) .app-card>.simple-app-hours>summary{margin-left:0;padding-inline:10px}
}
@media(max-width:900px){
 .workspace-page:not(.office-page) .query-table{min-width:0;width:100%}
 .workspace-page:not(.office-page) .query-table tbody,.workspace-page:not(.office-page) .query-table tr{width:100%;box-sizing:border-box}
 .workspace-page:not(.office-page) .query-table tr{padding:12px}
 .workspace-page:not(.office-page) .query-table td.domain-cell{position:static;min-width:0;max-width:none;background:none;box-shadow:none}
}
.workspace-page:not(.office-page) .phone-time .phone-save{width:100%;font-size:20px;min-height:56px;border-radius:99px;margin:0 0 16px}
.workspace-page:not(.office-page) .phone-groups>summary{font-size:19px;font-weight:800;cursor:pointer}
@supports selector(:has(*)){.workspace-page:not(.office-page) .phone-day:not(:has(input[value=other]:checked)) .phone-picker{display:none}}
.workspace-page:not(.office-page) .phone-app>.phone-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-page:not(.office-page) .phone-extra{max-width:520px;padding:16px 0}
.workspace-page:not(.office-page) .phone-extra>button{margin-top:16px}
.workspace-page:not(.office-page) #requests>form{margin-bottom:16px}
@supports selector(:has(*)){.workspace-page:not(.office-page) .phone-app:not(:has(>.phone-chips input[value=other]:checked))>.phone-picker,.workspace-page:not(.office-page) .phone-extra:not(:has(input[value=other]:checked))>.phone-picker{display:none}}
.workspace-page:not(.office-page) .phone-app-hours{margin-top:18px;padding:16px;background:#f1f4f8;border-radius:16px}
.workspace-page:not(.office-page) .phone-app-hours h4{margin:0 0 10px;font-size:1rem}
.workspace-page:not(.office-page) .phone-app-hours .phone-chips{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-page:not(.office-page) .phone-hours-picker{display:flex;gap:12px;margin-top:14px}
.workspace-page:not(.office-page) .phone-hours-picker label{display:grid;gap:6px;flex:1;min-width:0}
.workspace-page:not(.office-page) .phone-hours-picker input{width:100%;min-width:0;box-sizing:border-box;margin:0}
@supports selector(:has(*)){.workspace-page:not(.office-page) .phone-app-hours:not(:has(input[value=between]:checked)) .phone-hours-picker{display:none}}
@media(max-width:480px){
 .workspace-page:not(.office-page) .phone-time{padding:0 16px;margin:8px 0}
 .workspace-page:not(.office-page) .phone-panel{padding:18px 14px}
 .workspace-page:not(.office-page) .phone-heading h2{font-size:23px}
 .workspace-page:not(.office-page) .phone-chips{gap:4px}
 .workspace-page:not(.office-page) .phone-chips span{padding:8px 6px;font-size:14px}
 .workspace-page:not(.office-page) .phone-time .kid-tabs{gap:0}
 .workspace-page:not(.office-page) .phone-time .kid-tabs a{padding:8px 7px;font-size:13px}
}

/* Downtime exceptions: real app artwork, selected first, compact on phones. */
.workspace-page:not(.office-page) .downtime-picker{max-width:900px;padding:20px 0}
.workspace-page:not(.office-page) .downtime-picker h3{font-size:23px;margin:0 0 10px}
.workspace-page:not(.office-page) .downtime-picker>p{max-width:650px;line-height:1.6}
.workspace-page:not(.office-page) .downtime-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:20px 0 14px}
.workspace-page:not(.office-page) .downtime-search{flex:1;min-width:160px;max-width:440px;font-size:13px;font-weight:700}
.workspace-page:not(.office-page) .downtime-search input{display:block;width:100%;box-sizing:border-box;min-width:0;margin:6px 0 0}
.workspace-page:not(.office-page) .downtime-toolbar output{font-size:13px;font-weight:700;color:#143b67;background:#e9eff6;padding:7px 12px;border-radius:99px}
.workspace-page:not(.office-page) .downtime-app-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;padding:3px;margin:0;max-height:450px;overflow-y:auto;scrollbar-gutter:stable;min-width:0}
.workspace-page:not(.office-page) .downtime-app{position:relative;display:flex;gap:12px;align-items:center;padding:12px;border:2px solid #d7dee6;background:white;border-radius:16px;cursor:pointer;min-width:0;margin:0;min-height:72px;box-sizing:border-box}
.workspace-page:not(.office-page) .downtime-app input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.workspace-page:not(.office-page) .downtime-app>.app-logo{width:38px;height:38px;flex:none;object-fit:contain;border-radius:10px;background:#f3f7f4;padding:3px;box-sizing:border-box}
.workspace-page:not(.office-page) .downtime-app-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:700}
.workspace-page:not(.office-page) .downtime-choice{border:1px solid #b8c6d6;border-radius:99px;padding:6px 9px;font-size:12px;font-weight:800;white-space:nowrap;color:#003a7c;background:white}
.workspace-page:not(.office-page) .downtime-app:has(input:checked){border-color:#003d83;background:#f0f5fa}
.workspace-page:not(.office-page) .downtime-app:has(input:checked) .downtime-choice{border-color:#003d83;background:#003d83;color:white}
.workspace-page:not(.office-page) .downtime-yes{display:none}
.workspace-page:not(.office-page) .downtime-app input:checked~.downtime-choice .downtime-yes{display:inline}
.workspace-page:not(.office-page) .downtime-app input:checked~.downtime-choice .downtime-no{display:none}
.workspace-page:not(.office-page) .downtime-app:has(input:focus-visible){outline:3px solid #16293f;outline-offset:1px}
.workspace-page:not(.office-page) .downtime-picker [hidden]{display:none!important}
.workspace-page:not(.office-page) .downtime-save{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0 12px}
.workspace-page:not(.office-page) .downtime-save span,.workspace-page:not(.office-page) .downtime-help{font-size:13px;color:var(--muted)}
.workspace-page:not(.office-page) .downtime-help summary{cursor:pointer}
@media(max-width:600px){.workspace-page:not(.office-page) .downtime-app-list{grid-template-columns:1fr;max-height:410px}.workspace-page:not(.office-page) .downtime-save button{width:100%}.workspace-page:not(.office-page) .downtime-picker{padding-top:12px}}

/* Parent requests: visible in the browser on phones and desktop. */
.workspace-page:not(.office-page) .request-bell{gap:8px;white-space:nowrap}.workspace-page:not(.office-page) .request-count{background:#bb3428;color:white;min-width:24px;height:24px;padding:2px 6px;border-radius:999px;text-align:center;font-weight:800}.workspace-page:not(.office-page) .request-count[hidden],.workspace-page:not(.office-page) .request-bell[hidden]{display:none!important}.workspace-page:not(.office-page) .request-inbox{max-width:720px}.workspace-page:not(.office-page) .request-item{padding:18px 0;border-bottom:1px solid var(--line)}.workspace-page:not(.office-page) .request-item h3{margin:0}.workspace-page:not(.office-page) .request-inbox form{margin-top:24px}.workspace-page:not(.office-page) .request-inbox form>label{display:flex;gap:10px;align-items:center;padding:10px 0}.workspace-page:not(.office-page) .request-inbox input[type=checkbox]{width:22px;height:22px}.workspace-page:not(.office-page) #requests{scroll-margin-top:100px}.workspace-page:not(.office-page) #requests [id^=request-]{scroll-margin-top:120px}.workspace-page:not(.office-page).parent-app .open-parent-app{display:none}
@media(max-width:900px){.workspace-page:not(.office-page):not(.parent-app):has(.request-bell) .topbar{display:flex;position:static;padding:12px 18px 0;justify-content:flex-end}.workspace-page:not(.office-page):not(.parent-app):has(.request-bell) .topbar>a:not(.request-bell){display:none}}
.workspace-page:not(.office-page) .kid-assistant{margin:16px;padding:24px;border:1px solid #d3dbe4;border-radius:24px;background:white}.workspace-page:not(.office-page) .kid-assistant form{display:grid;gap:16px}.workspace-page:not(.office-page) .kid-assistant label{display:flex;align-items:center;gap:10px}.workspace-page:not(.office-page) .kid-assistant label:has(input[name=assistant_name]),.workspace-page:not(.office-page) .kid-assistant label:has(textarea){display:grid}.workspace-page:not(.office-page) .kid-assistant fieldset{display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0}.workspace-page:not(.office-page) .kid-assistant fieldset label{padding:12px 16px;border:1px solid #d3dbe4;border-radius:24px}.workspace-page:not(.office-page) .kid-assistant fieldset label:has(:checked){background:#e9f0f7;border-color:#003e84}.workspace-page:not(.office-page) .kid-assistant input[type=checkbox],.workspace-page:not(.office-page) .kid-assistant input[type=radio]{width:22px;height:22px;accent-color:#003e84}.workspace-page:not(.office-page) .kid-assistant textarea{width:100%;box-sizing:border-box}.workspace-page:not(.office-page) .kid-assistant h3{margin-top:28px}.workspace-page:not(.office-page) .kid-assistant blockquote{margin:12px 0;padding:16px;background:#f1f4f8;border-radius:16px;white-space:pre-wrap} .workspace-page:not(.office-page) .kid-assistant label input[type=radio]{margin:0;display:inline-block;flex:0 0 22px;min-width:22px}.workspace-page:not(.office-page) .kid-assistant fieldset label{flex:1 1 100px;justify-content:center}.workspace-page:not(.office-page) .kid-assistant input[type=checkbox]{margin:0;flex:0 0 22px}.workspace-page:not(.office-page) .kid-assistant{margin-left:0;margin-right:0}

.workspace-page:not(.office-page) .phone-checkin, .workspace-page:not(.office-page) .dns-seen { overflow-wrap: anywhere; margin-block: .5rem; }


/* Dashboard child cards open controls; explicit actions stay separate. */
.workspace-page:not(.office-page) .kid-control-card{position:relative;isolation:isolate}
.workspace-page:not(.office-page) .kid-card-open{position:static;color:inherit;text-decoration:none}
.workspace-page:not(.office-page) .kid-card-open::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1;cursor:pointer}
.workspace-page:not(.office-page) .kid-card-open:focus-visible::after{outline:3px solid var(--emerald);outline-offset:3px}
.workspace-page:not(.office-page) .kid-card-open:hover h2{text-decoration:underline;text-underline-offset:4px}
.workspace-page:not(.office-page) .kid-control-card .kid-actions{position:relative;z-index:2}
.workspace-page:not(.office-page) .kid-card-remove{position:relative;align-self:flex-end;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px;margin:-8px -8px 0 0;color:var(--muted);font-size:14px;text-underline-offset:3px}
.workspace-page:not(.office-page) .kid-card-remove:hover{color:var(--forest)}
.workspace-page:not(.office-page) .kid-card-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:58px;height:58px;border-radius:50%;background:#e8eef5}
.workspace-page:not(.office-page) .kid-card-avatar img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.workspace-page:not(.office-page) .kid-card-avatar svg{width:44px;height:44px}

/* Approved animated Dot previews, scoped to the assistant picker. */
.workspace-page:not(.office-page) .simple-apps .phone-app>.phone-chips,.workspace-page:not(.office-page) .phone-groups .phone-app>.phone-chips{display:grid;grid-template-columns:.85fr 1.3fr 1.2fr;gap:6px}
.workspace-page:not(.office-page) .simple-apps .phone-chips label,.workspace-page:not(.office-page) .phone-groups .phone-chips label{min-width:0}
.workspace-page:not(.office-page) .simple-apps .phone-app>.phone-chips span,.workspace-page:not(.office-page) .phone-groups .phone-app>.phone-chips span{padding:10px 5px;font-size:14px;white-space:normal;text-align:center;height:100%;min-height:60px;line-height:1.3}
.workspace-page:not(.office-page) .app-category{border:1px solid var(--line);border-radius:16px;margin-top:16px;overflow:hidden}
.workspace-page:not(.office-page) .app-category>summary{display:flex;align-items:center;gap:10px;padding:16px;font-weight:800;cursor:pointer;background:#f5faf7;list-style:none}
.workspace-page:not(.office-page) .app-category>summary::after{content:'+';font-size:22px;margin-left:auto}
.workspace-page:not(.office-page) .app-category[open]>summary::after{content:'−'}
.workspace-page:not(.office-page) .app-category>summary::-webkit-details-marker{display:none}
.workspace-page:not(.office-page) .app-category-count{font-size:13px;font-weight:600;border-radius:99px;padding:2px 8px;background:#e5e9ee}
.workspace-page:not(.office-page) .app-category .phone-app{margin:0 14px;padding:18px 0}
.workspace-page:not(.office-page) .app-category .phone-app:last-child{border-bottom:0}
.workspace-page:not(.office-page) .app-time-options{margin-top:14px;padding:14px;background:#f1f4f8;border-radius:14px}
.workspace-page:not(.office-page) .app-time-options h4{margin:0 0 12px}
.workspace-page:not(.office-page) .app-time-toggle{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:15px}
.workspace-page:not(.office-page) .app-time-toggle input{flex:none;width:20px;height:20px;margin:0}
.workspace-page:not(.office-page) .app-time-options .phone-picker{padding:0;background:transparent}
.workspace-page:not(.office-page) .app-age-info{margin-top:12px;font-size:13px;color:var(--muted)}
.workspace-page:not(.office-page) .app-age-info>summary{cursor:pointer}
.workspace-page:not(.office-page) .parent-message-history{margin-top:26px;padding-top:16px;border-top:1px solid var(--line)}
.workspace-page:not(.office-page) .parent-message{margin:14px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f5faf7}
.workspace-page:not(.office-page) .parent-message-meta{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;font-size:13px;color:var(--muted)}
.workspace-page:not(.office-page) .parent-message blockquote{margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--forest)}
.workspace-page:not(.office-page) .parent-message-delete{font-size:13px}
.workspace-page:not(.office-page) .parent-message-delete>summary{cursor:pointer;text-decoration:underline;width:fit-content}
.workspace-page:not(.office-page) .parent-message-delete button{background:#b73026;border-color:#b73026;color:white}
.workspace-page:not(.office-page) .app-time-options>summary{cursor:pointer;font-weight:700}
.workspace-page:not(.office-page) .app-always-note{background:#fff5dc;border:1px solid #e6d29c;border-radius:14px;padding:14px;font-size:14px;line-height:1.6}
.workspace-page:not(.office-page) .app-rule-summary{border-left:3px solid #003e84;padding:8px 12px;font-size:14px}
.workspace-page:not(.office-page) .app-hours-fields>.phone-chips{margin:12px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-page:not(.office-page) .app-hours-fields>.phone-chips span{font-size:13px;padding:8px 6px;white-space:normal}
@supports selector(:has(*)){
 .workspace-page:not(.office-page) .app-downtime-exception:not(:has(input:checked))>p{display:none}
 .workspace-page:not(.office-page) .phone-app:not(:has(>.phone-chips input[value=timed]:checked))>.app-follow-options{display:none}
 .workspace-page:not(.office-page) .phone-app:not(:has(>.phone-chips input[value=always]:checked))>.app-always-note{display:none}
 .workspace-page:not(.office-page) .app-window-options:not(:has(>.app-time-toggle input:checked))>.app-hours-fields{display:none}
 .workspace-page:not(.office-page) .phone-app:not(:has(>.phone-chips input[value=timed]:checked))>.app-time-options{display:none}
 .workspace-page:not(.office-page) .app-daily-options:not(:has(>.app-time-toggle input:checked))>.phone-picker{display:none}
 .workspace-page:not(.office-page) .app-window-options:not(:has(>.app-time-toggle input:checked))>.phone-hours-picker{display:none}
 .workspace-page:not(.office-page) .app-time-options:not(:has(>.app-time-toggle input:checked))>.app-mixed-days{display:none}
}
.workspace-page:not(.office-page) .kid-assistant fieldset label{display:grid;grid-template-columns:22px 1fr;justify-items:center;gap:8px;padding:12px;min-width:100px}
.workspace-page:not(.office-page) .kid-assistant fieldset .dot-rig{grid-column:1 / -1;grid-row:1;width:100%;height:110px;overflow:visible}
.workspace-page:not(.office-page) .kid-assistant .rig-body{transform-origin:100px 180px;animation:assistantBreathe 4s ease-in-out infinite}
.workspace-page:not(.office-page) .kid-assistant .rig-right-arm{transform-origin:148px 111px;animation:assistantWave 4.8s ease-in-out infinite}
.workspace-page:not(.office-page) .kid-assistant .rig-hand{transform-origin:174px 85px;animation:assistantWave 4.8s ease-in-out infinite}
.workspace-page:not(.office-page) .kid-assistant .rig-eyes{transform-origin:100px 100px;animation:assistantBlink 5.3s infinite}
.workspace-page:not(.office-page) .kid-assistant .rig-talk,.workspace-page:not(.office-page) .kid-assistant .rig-concern,.workspace-page:not(.office-page) .kid-assistant .rig-sleep-eyes,.workspace-page:not(.office-page) .kid-assistant .rig-zzz{display:none}
.workspace-page:not(.office-page) .kid-assistant form:has(input[name=motion]:not(:checked)) .dot-rig *{animation:none!important}
@keyframes assistantBreathe{50%{transform:translateY(-1px) scale(1.012,1.018)}}
@keyframes assistantWave{0%,12%,45%,100%{transform:rotate(0)}18%,30%{transform:rotate(-18deg)}24%,36%{transform:rotate(12deg)}}
@keyframes assistantBlink{0%,38%,42%,71%,75%,100%{transform:scaleY(1)}40%,73%{transform:scaleY(.08)}}
@media(prefers-reduced-motion:reduce){.workspace-page:not(.office-page) .kid-assistant .dot-rig *{animation:none!important}}

/* Temporary DNS schedule changes: compact until the parent opens a form. */
.workspace-page:not(.office-page) .dns-calendar{scroll-margin-top:110px;border:1px solid #cfd8e2;border-radius:24px;padding:24px;margin:20px 0;background:#fff}
.workspace-page:not(.office-page) .dns-calendar>h2{margin-top:0}.workspace-page:not(.office-page) .dns-calendar>details{margin:16px 0;border-top:1px solid #d7dee6;padding-top:16px}
.workspace-page:not(.office-page) .dns-calendar summary{font-weight:750;cursor:pointer;padding:8px 0;color:#00234b}
.workspace-page:not(.office-page) .dns-calendar fieldset{border:0;padding:12px 0 0;min-width:0}.workspace-page:not(.office-page) .dns-calendar legend{font-weight:700;padding:0}
.workspace-page:not(.office-page) .dns-calendar fieldset[disabled]{opacity:.65}.workspace-page:not(.office-page) .calendar-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.workspace-page:not(.office-page) .calendar-fields label{display:flex;flex-direction:column;gap:8px}.workspace-page:not(.office-page) .calendar-fields input,.workspace-page:not(.office-page) .calendar-fields select{width:100%;box-sizing:border-box;min-width:0}
.workspace-page:not(.office-page) .calendar-weekday{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.workspace-page:not(.office-page) .calendar-weekday label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #cfd8e2;border-radius:14px}
.workspace-page:not(.office-page) .calendar-weekday input{width:auto;margin:0}.workspace-page:not(.office-page) .calendar-boundary{background:#f1f4f8;border-radius:14px;padding:16px;margin-bottom:0}
.workspace-page:not(.office-page) .calendar-current{padding:16px;background:#e9eff5;border-radius:16px;margin:12px 0}.workspace-page:not(.office-page) .calendar-current p{margin-top:0}
@media(max-width:540px){.workspace-page:not(.office-page) .dns-calendar{padding:18px}.workspace-page:not(.office-page) .calendar-fields{grid-template-columns:1fr}.workspace-page:not(.office-page) .calendar-weekday{display:grid;grid-template-columns:1fr}}

/* Category browsing for DNS service schedules and the app-times chooser. */
.workspace-page:not(.office-page) .service-category{border:1px solid var(--line);border-radius:18px;background:#fff;margin:12px 0;overflow:hidden}
.workspace-page:not(.office-page) .service-category>summary{display:flex;align-items:center;gap:14px;min-height:80px;padding:16px;cursor:pointer;list-style:none}
.workspace-page:not(.office-page) .service-category>summary::-webkit-details-marker{display:none}
.workspace-page:not(.office-page) .service-category>summary::after{content:'+';font-size:24px;color:var(--emerald);margin-left:0;flex-shrink:0}
.workspace-page:not(.office-page) .service-category[open]>summary::after{content:'−'}
.workspace-page:not(.office-page) .service-category>summary:focus-visible{outline:3px solid var(--focus);outline-offset:-4px}
.workspace-page:not(.office-page) .service-category>summary .group-icon{width:32px;height:32px;flex-shrink:0;color:var(--emerald)}
.workspace-page:not(.office-page) .service-category-title{display:flex;flex-direction:column;gap:3px;min-width:0}
.workspace-page:not(.office-page) .service-category-title strong{font-size:18px}
.workspace-page:not(.office-page) .service-category-title small{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .service-category-count{font-size:13px;color:var(--muted);white-space:nowrap;margin-left:auto}
.workspace-page:not(.office-page) .service-category[open]>summary{background:var(--mint);border-bottom:1px solid var(--line)}
.workspace-page:not(.office-page) .service-category-body{padding:16px}
.workspace-page:not(.office-page) .service-category .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-page:not(.office-page) .service-category .simple-apps{padding:0 16px}
@media(max-width:600px){
.workspace-page:not(.office-page) .service-category>summary{gap:10px;padding:14px 12px}
.workspace-page:not(.office-page) .service-category .choice-grid{grid-template-columns:1fr}
.workspace-page:not(.office-page) .service-category-count{font-size:12px}
}

/* Privacy choices: visible text actions, saved state, and unavailable feeds. */
.workspace-page:not(.office-page) .privacy-choice{display:flex;align-items:center;gap:24px;padding:22px;list-style:none;border-bottom:1px solid var(--line)}.workspace-page:not(.office-page) .privacy-choice:last-child{border-bottom:0}.workspace-page:not(.office-page) .privacy-choice-copy{flex:1;min-width:0}.workspace-page:not(.office-page) .privacy-choice h3{font-size:17px;margin:0 0 6px}.workspace-page:not(.office-page) .privacy-choice p{margin:6px 0;font-size:14px;line-height:1.55;color:var(--muted)}.workspace-page:not(.office-page) .privacy-state{display:inline-flex;align-items:center;gap:7px;margin-top:10px;border-radius:999px;padding:5px 11px;font-size:13px;font-weight:750;background:#edf1ef;color:#4a5561}.workspace-page:not(.office-page) .privacy-state::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.workspace-page:not(.office-page) .privacy-state-on{background:#e1eaf4;color:#1f5fae}.workspace-page:not(.office-page) .privacy-state-unavailable{background:#fff3db;color:#8a5800}.workspace-page:not(.office-page) .privacy-action-form{margin:0;flex:none}.workspace-page:not(.office-page) .rule-cards button.privacy-action{min-width:154px;min-height:44px;margin:0;padding:10px 16px;font-size:14px;white-space:normal}.workspace-page:not(.office-page) .rule-cards button.privacy-action:disabled{background:#edf1ef;border-color:#d5dadf;color:#6c737a;cursor:not-allowed;opacity:1}.workspace-page:not(.office-page) .privacy-list-details{margin-top:10px;font-size:13px}.workspace-page:not(.office-page) .privacy-list-details summary{color:var(--accent);cursor:pointer}.workspace-page:not(.office-page) .privacy-list-details p{font-size:12px}.workspace-page:not(.office-page) .privacy-choice .privacy-unavailable{color:#815500;font-size:13px}
@media(max-width:600px){.workspace-page:not(.office-page) .privacy-choice{display:block;padding:18px}.workspace-page:not(.office-page) .privacy-action-form{margin-top:16px}.workspace-page:not(.office-page) .rule-cards .privacy-action-form button.privacy-action{width:100%}.workspace-page:not(.office-page) #experimental-blocking .switch-line{align-items:flex-start;flex-direction:column}}

/* Approved illustrated family redesign. Scope excludes the operational back office. */
body.workspace-page:not(.office-page){--pale:#fffaf1;--ink:#142940;--line:#d6dde4;--accent:#00397b;background:#fffaf1;color:#142940}
.workspace-page:not(.office-page) .sidebar{background:#0f2640;color:#fff;border:0}
/* Continue the fixed desktop menu's colour through the full page and footer. */
@media(min-width:901px){
  .workspace-page:not(.office-page):not(.app-task){background-image:linear-gradient(to right,#0f2640 240px,transparent 240px);background-repeat:repeat-y}
}
.workspace-page:not(.office-page) .sidebar .brand{color:#fff}
.workspace-page:not(.office-page) .sidebar .brand-mark{background:#e8f0f9;border-radius:12px;padding:5px;width:42px;height:46px}
.workspace-page:not(.office-page) .sidebar .brand-product{color:#b7c6d8;letter-spacing:1.2px}
.workspace-page:not(.office-page) .workspace-nav>a,.workspace-page:not(.office-page) .family-extra-nav a{color:#e1e7ee;border-radius:13px;font-weight:800;min-height:52px;gap:13px;margin:4px 0}
.workspace-page:not(.office-page) .workspace-nav>a:hover,.workspace-page:not(.office-page) .family-extra-nav a:hover{background:#304660;color:#fff}
.workspace-page:not(.office-page) .workspace-nav>a.selected,.workspace-page:not(.office-page) .family-extra-nav a.selected{background:#d8e5f3;color:#12273f;border-color:transparent}
.workspace-page:not(.office-page) .sidebar-bottom{border-color:#405062}
.workspace-page:not(.office-page) .sidebar-bottom a{color:#d6e0ec}
.workspace-page:not(.office-page) .nav-group-label{color:#bccde0}
.family-extra-nav{margin:15px 0;padding:12px 0;border-top:1px solid #405062}
.family-extra-nav>summary{color:#d6e0ec;cursor:pointer;font-size:14px;font-weight:800;min-height:38px}
.family-nav-art{object-fit:contain;flex-shrink:0;width:32px;height:32px;background:none!important}
.workspace-page:not(.office-page) .sidebar .family-nav-art{width:32px;height:32px}
.workspace-page:not(.office-page) .shell,.workspace-page:not(.office-page) .panel{background:#fffaf1}
.workspace-page:not(.office-page) .topbar{background:#fffdf8;border-color:#e4e6d9}
.workspace-page:not(.office-page) .panel-heading h1{color:#142940;letter-spacing:-.8px}
.workspace-page:not(.office-page) :is(.device-card,.kid-card,.home-card,.activity-card,.filter-group,.schedule-card,.guided-section,.privacy-panel,.summary-grid,.simple-section){border-radius:22px;border-color:#d6dde4;box-shadow:0 5px 18px #173e3410;background:#fff}
.workspace-page:not(.office-page) :is(.device-card,.kid-card){border-top:5px solid #acc3de}
.workspace-page:not(.office-page) :is(.device-card,.kid-card):nth-child(3n+2){border-top-color:#d7c9f1}
.workspace-page:not(.office-page) :is(.device-card,.kid-card):nth-child(3n){border-top-color:#ffd2a0}
.workspace-page:not(.office-page) .guided-section>summary{background:#e5ecf3;border-radius:18px;color:#162a40}
.workspace-page:not(.office-page) .filter-group>header{background:#e5ecf3}
.workspace-page:not(.office-page) .scope-banner{background:#d5e2f0;border-color:#b4c9e0;border-radius:18px}
.workspace-page:not(.office-page) :is(button,.button-link){border-radius:12px}
.workspace-page:not(.office-page) :is(input,select,textarea){border-radius:12px}
.workspace-page:not(.office-page) :is(a,button,input,select,summary):focus-visible{outline:3px solid #c78c31;outline-offset:3px}
.workspace-page:not(.office-page) .family-nav-art.tab-icon{width:26px;height:26px}
.workspace-page:not(.office-page) .more-sheet{background:#fffdf8}
.workspace-page:not(.office-page) .more-sheet a{color:#142940}
.workspace-page:not(.office-page) .tabbar{background:#fffdf8;border-color:#d6dde4}
.workspace-page:not(.office-page) .tabbar>a{color:#405266}
.workspace-page:not(.office-page) .tabbar>a.selected{color:#0f2640;background:#d8e5f3}
.auth-page .auth-hero{background:#0f2640}
.auth-page .panel{border-radius:24px}
@media(max-width:900px){.workspace-page:not(.office-page) .sidebar{padding-bottom:12px}.family-extra-nav{display:none}.workspace-page:not(.office-page) .panel{padding-left:18px;padding-right:18px}.workspace-page:not(.office-page) .sidebar .brand-mark{width:32px;height:36px}.workspace-page:not(.office-page) .tabbar .family-nav-art{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.workspace-page:not(.office-page) *{scroll-behavior:auto}}

/* Clear Simple ad protection and compact multi-app actions. */
.ads-panel{display:flex;gap:18px;padding:24px;margin:18px 0 24px;background:#e7eef5;border:1px solid #b4c4d7;border-radius:22px}
.ads-panel h2{margin:0 0 8px}.ads-panel p{margin:8px 0}.ads-panel>img{flex-shrink:0}
.ads-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:16px}.ads-main-button{font-size:1.15rem;padding:17px 28px}.ads-saved{color:#00326b}
.bulk-app-tools{background:#ebeff4;border:1px solid #b4c4d7;border-radius:18px;padding:18px;margin:12px 0 22px}
.bulk-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.bulk-toolbar>strong{margin-right:auto}
.bulk-toolbar button{padding:7px 12px;font-size:.9rem}.bulk-app-tools>label{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bulk-app-tools select{max-width:100%}
.bulk-time-fields{margin:14px 0;padding:14px;border:1px solid #b4c4d7;display:flex;gap:12px;flex-wrap:wrap}.bulk-time-fields[hidden]{display:none}.bulk-time-fields label{display:flex;flex-direction:column}.bulk-time-fields p{flex-basis:100%}
.bulk-app-row{display:flex;align-items:center;gap:12px}.bulk-app-row .app-time-choice{flex:1;min-width:0}
/* Apps & rules (BULK-1): three steps where the page starts, and a row's tick box is a "Select" target of its own,
   48px or more, apart from the app's name that opens its times. Under a Rules for bar, #app-times lands 12px below it
   like every other target (CARD-2, --rules-bar-clear); this is for a page without the bar. */
.workspace-page:not(.office-page):not(:has(.rules-for-bar)) #app-times{scroll-margin-top:calc(var(--sticky-top) + 80px)}
.bulk-how{margin:4px 0 18px}.bulk-how-title{margin:0 0 8px}.bulk-how .helper{margin:8px 0 0}
.bulk-steps{list-style:none;counter-reset:bulk-step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0}
.bulk-steps>li{counter-increment:bulk-step;display:flex;gap:10px;align-items:flex-start;margin:0;padding:12px 14px;background:#fff;border:1px solid #d6dde4;border-radius:14px}
.bulk-steps>li::before{content:counter(bulk-step);flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#003e85;color:#fff;font-weight:800;line-height:1}
.bulk-steps>li>span{display:grid;gap:2px;min-width:0;padding-top:3px}.bulk-steps small{color:var(--muted);font-size:14px}
.bulk-pick{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;min-width:58px;min-height:52px;padding:6px;border:1px solid #b4c4d7;border-radius:12px;background:#f6faf7;color:#0d2d51;font-size:12px;font-weight:750;line-height:1;cursor:pointer}
.bulk-pick input{width:22px;height:22px;min-width:22px;min-height:0;margin:0;accent-color:#003e85;cursor:pointer}
.workspace-page:not(.office-page) .bulk-pick input:focus-visible{outline-offset:1px}.bulk-pick:has(:checked){background:#dfe7f1;border-color:#003e85}.bulk-app-row:has([data-bulk-pick]:checked){border-color:#8ea7c4;background:#f3f6fa}
@media(max-width:600px){.bulk-steps{grid-template-columns:1fr;gap:6px}.bulk-steps>li{padding:9px 12px}}
/* BULK-2: "Select all 37" at the top of an open group; "2 selected" on its row (on a phone, in place of "37 apps"). */
.bulk-group-tools{display:flex;padding:14px 16px 4px}.bulk-group-tools[hidden]{display:none}.bulk-group-tools button{min-height:44px}
.bulk-group-picked{flex:none;padding:4px 10px;border-radius:999px;background:#dfe7f1;color:#0d2d51;font-size:13px;font-weight:800;white-space:nowrap}
@media(max-width:600px){.workspace-page:not(.office-page) .service-category:has(.bulk-group-picked) .service-category-count{display:none}.bulk-group-picked{margin-left:auto}.bulk-group-tools{padding:12px 16px 2px}}
/* BULK-3: the action comes after the groups. While an app is ticked it is highlighted (is-active) and, when
   workspace.js finds room for it, docks at the bottom of the screen (is-docked, BULK-6: above the phone's tab bar and
   the safe area, below the search, never taller than the screen allows, so nothing in it is cut off); being in the
   page's flow, it settles after the last group: it never covers the last rows. With nothing ticked, or without the
   script, it is the form at the end of the list. bottom is read by workspace.js for where the bar docks. */
.bulk-find-tools{margin:10px 0 0}
.bulk-app-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 0 10px}.bulk-app-tools>.bulk-toolbar,.bulk-app-tools>.bulk-time-fields{flex-basis:100%;margin:0}
.bulk-app-tools.is-active{bottom:calc(14px + env(safe-area-inset-bottom));background:#fff;border-color:#8ea7c4;box-shadow:0 -6px 24px #103f3724}
.bulk-app-tools.is-docked{position:sticky;z-index:30}
.bulk-app-tools.is-active>.bulk-toolbar>strong{font-size:1.05rem}.bulk-help{margin-top:0}
@media(min-width:901px){.bulk-app-tools>.bulk-toolbar{flex:1 1 auto;flex-basis:auto;margin:0}.bulk-app-tools>.bulk-toolbar>strong{margin-right:0}.bulk-app-tools>.bulk-time-fields:not([hidden])~[data-bulk-apply]{margin-left:auto}}
@media(max-width:900px){.workspace-page:not(.office-page) .bulk-app-tools.is-active{bottom:calc(var(--phone-nav-height,72px) + env(safe-area-inset-bottom) + 8px)}}
.app-task.workspace-page:not(.office-page) .bulk-app-tools.is-active{bottom:calc(8px + env(safe-area-inset-bottom))}
/* BULK-7: too many apps for Set allowed times: said beside Apply, which waits. */
.bulk-limit{flex-basis:100%;margin:0;padding:8px 12px;border-radius:10px;background:#fff4e5;color:#7a3a00;font-size:14px;line-height:1.35}.bulk-limit[hidden]{display:none}
.bulk-app-tools [data-bulk-apply]:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){.bulk-app-tools{gap:10px}.bulk-app-tools>label,.bulk-app-tools>[data-bulk-apply]{flex-basis:100%}.bulk-app-tools.is-active{padding:10px 14px}.bulk-app-tools.is-active .bulk-mode-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.bulk-app-tools.is-active>.bulk-time-fields:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px 0 0;border:0;border-top:1px solid #d6dde4}.bulk-app-tools.is-active>.bulk-time-fields>label:first-of-type,.bulk-app-tools.is-active>.bulk-time-fields>p{grid-column:1/-1}.bulk-app-tools.is-active>.bulk-time-fields>p{margin:0;font-size:13px}.bulk-app-tools.is-active>.bulk-time-fields input{min-width:0;width:100%}}
@media(max-width:600px){.ads-panel{padding:16px;gap:10px}.ads-panel>img{width:34px;height:34px}.ads-actions button{width:100%}.bulk-app-tools{padding:14px}.bulk-app-tools select{width:100%}}

.bulk-app-row[hidden]{display:none}

.device-rule-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.device-rule-tabs a{min-width:0}.device-time-links{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:600px){.device-rule-tabs a{padding:10px 7px}.device-rule-tabs small{font-size:.72rem}.tabbar>a{min-width:0}}

/* Home overview: short saved-setting summaries, equally sized cards and aligned actions. */
.workspace-page:not(.office-page) .family-glance{margin-bottom:32px}
.workspace-page:not(.office-page) .glance-grid{gap:24px;grid-auto-rows:auto;margin-top:22px}
.workspace-page:not(.office-page) .glance-card{display:flex;flex-direction:column;gap:22px;padding:24px;min-height:310px;box-sizing:border-box}
.workspace-page:not(.office-page) .glance-card .kid-head{margin:0;min-height:52px;gap:14px}
.workspace-page:not(.office-page) .glance-card .kid-head h3{margin:0;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .glance-summary{display:flex;flex-direction:column;gap:12px}
.workspace-page:not(.office-page) .glance-card .glance-label{margin:0;font-size:13px;font-weight:700;color:var(--muted)}
.workspace-page:not(.office-page) .glance-card dl{display:grid;gap:12px;margin:0}
.workspace-page:not(.office-page) .glance-card dl>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.workspace-page:not(.office-page) .glance-card dt{font-size:15px;color:var(--text)}
.workspace-page:not(.office-page) .glance-card dd{margin:0;font-size:14px;font-weight:700;color:var(--forest);text-align:right}
.workspace-page:not(.office-page) .glance-card .glance-count{font-size:14px;color:var(--muted);margin:0}
.workspace-page:not(.office-page) .glance-card .glance-connection{margin:0;font-size:16px;color:var(--forest);font-weight:700}
.workspace-page:not(.office-page) .glance-card>.button-link{margin-top:auto;width:100%;box-sizing:border-box;min-height:46px}
@media(max-width:600px){.workspace-page:not(.office-page) .glance-grid{gap:20px}.workspace-page:not(.office-page) .glance-card{padding:22px;min-height:310px}}

/* Account allowance stays visible above the device overview. */
.workspace-page:not(.office-page) .home-allowance{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;margin:24px 0 32px;background:#edf2f7;border:1px solid #c9d4e0;border-radius:22px}
.workspace-page:not(.office-page) .home-allowance>div{flex:1;min-width:0}
.workspace-page:not(.office-page) .home-allowance h2{font-size:36px;margin:8px 0}
.workspace-page:not(.office-page) .home-allowance p{margin:8px 0}
.workspace-page:not(.office-page) .home-allowance progress{width:100%;max-width:520px;height:10px;accent-color:var(--emerald)}
.workspace-page:not(.office-page) .glance-card{min-height:390px}
.workspace-page:not(.office-page) .glance-actions{margin-top:auto;display:flex;flex-direction:column;gap:12px}
.workspace-page:not(.office-page) .glance-actions>.button-link{width:100%;box-sizing:border-box;min-height:46px}
.workspace-page:not(.office-page) .glance-activity{font-size:14px;min-height:32px;display:flex;align-items:center}
@media(max-width:600px){.workspace-page:not(.office-page) .home-allowance{align-items:stretch;flex-direction:column;padding:22px}.workspace-page:not(.office-page) .glance-card{min-height:390px}}

/* The DNS child rules screen (dns_child_ui) under Devices → Set rules: the same column as the rules bar, tabs and
   Block ads & trackers, with the ads panel spaced as on Simple. */
.workspace-page:not(.office-page) .child-ads{display:flow-root;max-width:960px}
.workspace-page:not(.office-page) .panel-content>.child-rules-screen{margin-left:0;margin-right:0}

/* Home: the account line, the allowance, the devices at a glance and the guided sections share one width, so their
   right edges line up. On a computer, Add a device sits beside the Home heading, as it does on a phone. */
.workspace-page:not(.office-page) .panel-content:has(>.family-glance)>:not(.save-toast){max-width:var(--content)}
@media(min-width:901px){.workspace-page:not(.office-page) .panel-heading:has(>.button-link){display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}}

/* Activity (SHOT6-10): a matched domain reads in the page's own font; the code font comes with Show technical details. */
.workspace-page:not(.office-page) .query-table .query-reason code{font-family:inherit}
.workspace-page:not(.office-page):has(#show-tech:checked) .query-table .query-reason code{font-family:Consolas,monospace}

/* Account (SHOT6-8): a paid plan's card says "Opening soon" where its button would be while checkout is closed. */
.workspace-page:not(.office-page) .plan-card .plan-soon{margin-top:auto;padding:10px 14px;border:1px dashed var(--line);border-radius:999px;text-align:center;font-weight:750;color:var(--muted)}

/* Devices: "This device" (the live check, compact) is one short strip above the device groups, not Home's big panel; the
   card of the device whose own rules answered gets a small "This device" pill (check.js). The strip keeps one height
   from "Checking…" to its answer (min-height, Test again in place from the start, reasons folded in .live-more), so
   Add a device and the cards below never move under a finger; only opening "Why might this be?" makes it taller. */
.workspace-page:not(.office-page) #live-check.live-strip{gap:4px 14px;padding:12px 16px;margin:4px 0 18px;align-items:center;min-height:116px}
.workspace-page:not(.office-page) #live-check.live-strip .status-icon{width:34px;height:34px}
.workspace-page:not(.office-page) #live-check.live-strip.status-warn .status-icon{font-size:17px}
/* Away from home or in the parent app: an "i", not the three waiting dots of "Checking…". */
.workspace-page:not(.office-page) #live-check.live-strip.live-note .status-icon{font-size:17px;color:var(--neutral-ink)}
.workspace-page:not(.office-page) #live-check.live-strip.live-note .status-icon::before{content:none}
.workspace-page:not(.office-page) #live-check.live-strip h2{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.workspace-page:not(.office-page) #live-check.live-strip p{margin-top:2px;font-size:14px;max-width:none}
.workspace-page:not(.office-page) #live-check.live-strip .live-more{font-size:14px;margin-top:2px}
.workspace-page:not(.office-page) #live-check.live-strip .live-more summary{cursor:pointer;font-weight:750;color:var(--forest);text-decoration:underline;text-underline-offset:3px;width:max-content;max-width:100%}
.workspace-page:not(.office-page) #live-check.live-strip .live-more ul{margin:6px 0 4px;padding-left:20px}
.workspace-page:not(.office-page) #live-check.live-strip .live-more li{margin:2px 0}
.workspace-page:not(.office-page) #live-check.live-strip [data-check-again][aria-disabled=true]{opacity:.6;cursor:progress}
@media(max-width:900px){
  .workspace-page:not(.office-page) #live-check.live-strip{grid-template-columns:34px minmax(0,1fr);gap:2px 12px;padding:12px 14px;min-height:196px;align-content:space-between}
  .workspace-page:not(.office-page) #live-check.live-strip .status-actions{margin-top:6px}
}
@media(min-width:560px) and (max-width:900px){.workspace-page:not(.office-page) #live-check.live-strip{min-height:168px}}
@media(max-width:380px){.workspace-page:not(.office-page) #live-check.live-strip{min-height:232px}}
@media(max-width:340px){.workspace-page:not(.office-page) #live-check.live-strip{min-height:254px}}
.workspace-page:not(.office-page) .manage-kids .this-device-pill{display:inline-block;margin-top:6px;padding:3px 10px;border-radius:999px;
  font-size:12.5px;font-weight:800;background:var(--emerald);color:#fff}

/* Keep the overview easy to scan across neighbouring cards. */
.workspace-page:not(.office-page) .glance-card .kid-head{min-height:72px;align-items:center}
.workspace-page:not(.office-page) .glance-card dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:44px;align-items:start}
.workspace-page:not(.office-page) .glance-card dt,.workspace-page:not(.office-page) .glance-card dd{line-height:1.5;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .glance-card ul.glance-count{padding-left:20px;line-height:1.6}
.workspace-page:not(.office-page) .glance-card ul.glance-count li+li{margin-top:4px}

/* Keep delivery alarms readable within server metric cards. */
.history-delivery-late{display:block;color:#a22c2c;font-weight:700;border-left:3px solid #c6382c;padding-left:10px;overflow-wrap:anywhere}

.history-delivery-metric{grid-column:1 / -1}.history-delivery-metric dd{font-size:15px!important;line-height:1.5}

/* Companion controls: names above fields, calm switches with a full-size tap row. */
.workspace-page:not(.office-page) .kid-assistant .assistant-name{display:grid;gap:8px;align-items:start}
.workspace-page:not(.office-page) .kid-assistant .assistant-name input{width:100%;min-width:0;box-sizing:border-box;font-size:18px}
.workspace-page:not(.office-page) .kid-assistant label.assistant-toggle{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0;padding:14px 0;border-bottom:1px solid #d4dae1}
.workspace-page:not(.office-page) .assistant-toggle>span{display:grid;gap:4px;min-width:0}
.workspace-page:not(.office-page) .assistant-toggle strong{font-size:16px;line-height:1.4}
.workspace-page:not(.office-page) .assistant-toggle small{font-size:14px;line-height:1.5;color:#525e6c}
.workspace-page:not(.office-page) .assistant-toggle input[type=checkbox]{appearance:none;flex:0 0 44px;width:44px;height:26px;min-height:26px;border:0;border-radius:20px;background:#c1c7cd;position:relative;cursor:pointer;padding:0;margin:0}
.workspace-page:not(.office-page) .assistant-toggle input:before{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.workspace-page:not(.office-page) .assistant-toggle input:checked{background:#06356a}
.workspace-page:not(.office-page) .assistant-toggle input:checked:before{transform:translateX(18px)}
.workspace-page:not(.office-page) .assistant-toggle input:focus-visible{outline:3px solid #3659a7;outline-offset:4px}
.workspace-page:not(.office-page) .kid-assistant fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-page:not(.office-page) .kid-assistant fieldset label{min-width:0;border-radius:18px}
.workspace-page:not(.office-page) .kid-assistant fieldset .dot-rig{height:84px}
/* Embedded Android tasks retain all existing form names and rule behaviour. */
.app-task.workspace-page:not(.office-page) .kid-controls{margin:0;max-width:100%;padding:0;background:transparent;border:0;box-shadow:none}
.app-task.workspace-page:not(.office-page) .phone-heading{gap:12px;align-items:center}
.app-task.workspace-page:not(.office-page) .phone-heading h2{font-size:24px;line-height:1.25;margin:0 0 6px}
.app-task.workspace-page:not(.office-page) .phone-heading p{font-size:13px;margin:0;line-height:1.4}
.app-task.workspace-page:not(.office-page) .kid-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 0 16px;margin:8px 0 16px}
.app-task.workspace-page:not(.office-page) .kid-tabs a{padding:12px 8px;text-align:center;font-size:14px;border-radius:12px}
.app-task.workspace-page:not(.office-page) .phone-panel{padding:16px;margin:12px 0;border-radius:20px}
.app-task.workspace-page:not(.office-page) .phone-panel h2{font-size:21px;margin:0 0 10px}
.app-task.workspace-page:not(.office-page) .phone-hint{font-size:13px;line-height:1.5}
.app-task.workspace-page:not(.office-page) .phone-app{padding:16px 0;margin:0;border-radius:0;border:0;border-bottom:1px solid #d4dae1}
.app-task.workspace-page:not(.office-page) .phone-app-heading{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center}
.app-task.workspace-page:not(.office-page) .phone-app-heading>img,.app-task.workspace-page:not(.office-page) .phone-app-heading>svg{width:40px;height:40px}
.app-task.workspace-page:not(.office-page) .phone-app-heading h3{font-size:17px;line-height:1.3;margin:0}
.app-task.workspace-page:not(.office-page) .phone-app-heading p{font-size:13px;margin:4px 0 0}
.app-task.workspace-page:not(.office-page) .phone-app-heading>.phone-status{grid-column:2;justify-self:start;font-size:12px;margin:0}
.app-task.workspace-page:not(.office-page) .phone-app>.phone-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:12px 0}
.app-task.workspace-page:not(.office-page) .phone-app>.phone-chips label{min-width:0;min-height:48px;padding:8px 4px;font-size:13px;line-height:1.3;border-radius:12px;box-sizing:border-box}
.app-task.workspace-page:not(.office-page) .app-category>summary{padding:14px 0;font-size:16px}
.app-task.workspace-page:not(.office-page) .app-time-options{padding:10px 12px;border-radius:12px}
.app-task.workspace-page:not(.office-page) .app-age-info{font-size:13px;margin:10px 0 0}
@media(prefers-reduced-motion:reduce){.workspace-page:not(.office-page) .assistant-toggle input:before{transition:none}}

/* Match the native app theme and keep segmented controls readable on narrow screens. */
.app-task.workspace-page:not(.office-page){background:#f6f8f3;--app-surface:#fff;--app-line:#d4dae1;--app-ink:#15273c;--app-muted:#525e6c;--app-soft:#edf0f3;--app-accent:#06356a}
.app-task.workspace-page:not(.office-page) .panel{width:100%;min-width:0;box-sizing:border-box;margin:0 auto;background:transparent}
.app-task.workspace-page:not(.office-page) .phone-heading>div{min-width:0}
.app-task.workspace-page:not(.office-page) .phone-heading h2{overflow-wrap:anywhere}
.app-task.workspace-page:not(.office-page) .phone-chips label{min-width:0;flex:1 1 80px}
.app-task.workspace-page:not(.office-page) .phone-app>.phone-chips label{padding:0}
.app-task.workspace-page:not(.office-page) .phone-chips span{white-space:normal;min-height:48px;height:100%;padding:8px 6px;font-size:14px;line-height:1.35;border-radius:12px;text-align:center}
.app-task.workspace-page:not(.office-page) .phone-picker,.app-task.workspace-page:not(.office-page) .phone-hours-picker{gap:10px;padding:10px;min-width:0}
.app-task.workspace-page:not(.office-page) .phone-picker label,.app-task.workspace-page:not(.office-page) .phone-hours-picker label{min-width:0}
.app-task.workspace-page:not(.office-page) input:not([type=checkbox]):not([type=radio]),.app-task.workspace-page:not(.office-page) select,.app-task.workspace-page:not(.office-page) textarea{max-width:100%;box-sizing:border-box}
.app-task.workspace-page:not(.office-page) .phone-app-heading>.phone-status{white-space:normal;max-width:100%;box-sizing:border-box}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page){color-scheme:dark;background:#171a1c;color:#f1f4f1;--app-surface:#24282b;--app-line:#454a4f;--app-ink:#f1f4f1;--app-muted:#babfc5;--app-soft:#303337;--app-accent:#a4c0df;--forest:#f1f4f1;--muted:#babfc5;--text:#f1f4f1;--ink:#f1f4f1;--border:#454a4f;--cream:#171a1c;--white:var(--app-surface);--card:var(--app-surface);--line:var(--app-line);--mint:#29323e;--accent-soft:var(--app-soft);--accent-deep:var(--app-accent);--neutral:var(--app-soft);--neutral-ink:var(--app-muted);--pill-ink:var(--app-accent);--focus:#9ccfff;--field-line:#86909c;--warning:#ffaaa2;--warning-bg:#412521;--warning-line:#ba625a}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.shell,.panel){background:#171a1c}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.phone-panel,.kid-assistant,.kid-rule,.phone-app,.account-card,.settings-card,fieldset label,.phone-chips span,input,select,textarea){background:var(--app-surface);color:var(--app-ink);border-color:var(--app-line);box-shadow:none}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.setup-choices .guide-card,.setup-choices .guide-body,.setup-choices .guide-tip,.setup-check,.setup-check .faq,.setup-more,.setup-more>summary,.setup-more>.guided-body){background:var(--app-surface);color:var(--app-ink);border-color:var(--app-line);box-shadow:none}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .setup-choices .platform-icon-wrap{background:var(--app-soft);color:var(--app-accent)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.setup-choices,.setup-check,.setup-more) li{color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .setup-choices :is(.platform-short,.guide-chevron){color:var(--app-muted)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(h1,h2,h3,strong,legend,summary,label){color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(p,small,.phone-hint,.assistant-toggle small){color:var(--app-muted)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) a{color:var(--app-accent)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.phone-picker,.phone-hours-picker,.phone-explainer,.app-time-options,.app-always-note,.app-downtime-exception,blockquote){background:var(--app-soft);color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .kid-assistant fieldset label:has(:checked){background:#29323e;border-color:#a4c0df}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.phone-chips input:checked+span,.kid-tabs [aria-current=page],button){background:#06356a;border-color:#446e9f;color:#fff}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.phone-chips input[value=blocked]:checked+span,.phone-chips input[value='0']:checked+span){background:#c43228;border-color:#c43228;color:white}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .assistant-toggle input[type=checkbox]{background:#666d74}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .assistant-toggle input:checked{background:#06356a}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.phone-app,.assistant-toggle,.kid-tabs){border-color:var(--app-line)}
.app-task.workspace-page:not(.office-page) .simple-apps{display:block}
.app-task.workspace-page:not(.office-page) .simple-apps>p{margin:8px 0 12px;line-height:1.45}
.app-task.workspace-page:not(.office-page) .simple-apps .phone-app>.phone-chips{grid-template-columns:.85fr 1.3fr 1.2fr}
.app-task.workspace-page:not(.office-page) .simple-apps .phone-app>.phone-chips span{padding:8px 4px;font-size:13px;min-height:52px}
.app-task.workspace-page:not(.office-page) .app-category>summary{padding:12px 10px}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-category{border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-category>summary{background:var(--app-soft);color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-category-count{background:var(--app-surface);color:var(--app-ink)}
/* DNS task pages share the app theme too, including their older fixed-colour panels. */
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.ads-panel,.rules-for.rules-for-bar,.bulk-app-tools){background:var(--app-soft);color:var(--app-ink);border-color:var(--app-line);box-shadow:none}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .button-link:not(.button-secondary){color:#fff}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.button-secondary,.rf-help,.rf-change){background:var(--app-surface);color:var(--app-accent);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.button-secondary,.rf-help,.rf-change):hover{background:var(--app-soft);color:var(--app-accent);border-color:var(--app-accent)}

/* Platform and configured services; these badges do not claim a live connection. */
.device-control-tabs{display:flex;gap:6px;max-width:720px;margin:4px 0 22px;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.device-control-tabs a{flex:1 1 0;display:flex;gap:10px;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:8px 12px;border-radius:11px;text-align:center;text-decoration:none;color:var(--ink);font-weight:700;line-height:1.3}
.device-control-tabs .control-tab-picture{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#ecf0f5}
.device-control-tabs a[aria-label="Windows controls"] .control-tab-picture{background:#edf3fb}
.device-control-tabs a[aria-label="Internet filtering"] .control-tab-picture{background:#e8eef5}
.device-control-tabs .control-tab-picture svg{display:block;width:30px;height:30px}
.device-control-tabs .control-tab-label{min-width:0}
.device-control-tabs a:hover{background:var(--accent-soft);color:var(--ink)}
.device-control-tabs a.active{background:#dfe8f2;color:#052e5d;box-shadow:inset 0 0 0 2px #003c80}
.device-control-tabs a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:480px){.device-control-tabs{gap:4px;padding:4px}.device-control-tabs a{flex-direction:column;gap:4px;padding:7px 3px;font-size:12px}.device-control-tabs .control-tab-picture{flex-basis:30px;width:30px;height:30px;border-radius:8px}.device-control-tabs .control-tab-picture svg{width:26px;height:26px}}
.device-service-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 18px;min-height:30px;align-content:flex-start}.device-service-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;line-height:1.4;font-weight:700;background:#edf1ef;color:#283a4f}.device-service-badge.is-platform{background:#ece8fa;color:#4b3c72}.device-service-badge.is-dns{background:#e6ecf3;color:#14365c}.device-service-badge.is-pc,.device-service-badge.is-app{background:#e7effb;color:#274f7c}.glance-card .device-service-badges{min-height:40px;margin-bottom:8px}
/* A device's role, protection evidence, and one primary action. */
.workspace-page:not(.office-page) .manage-kids .device-capability{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 18px;min-height:3em}
.workspace-page:not(.office-page) .manage-kids .device-protection{padding:12px 0;border-top:1px solid var(--line);margin:0 0 16px}
.workspace-page:not(.office-page) .manage-kids .device-protection>span{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:6px}
.workspace-page:not(.office-page) .manage-kids .device-protection .connection-badge{display:inline-flex;margin:0;max-width:100%;white-space:normal}
.workspace-page:not(.office-page) .manage-kids .device-attention{color:#a22b20;font-size:14px;margin:0 0 14px}
.workspace-page:not(.office-page) .manage-kids .device-actions{margin-top:auto}
.workspace-page:not(.office-page) .manage-kids .device-other-actions{display:flex;gap:8px 20px;flex-wrap:wrap;margin:4px 0 8px;font-size:14px}
.workspace-page:not(.office-page) .manage-kids .device-other-actions a{padding:8px 0;min-height:36px}
.workspace-page:not(.office-page) .manage-kids .device-details{border-top:1px solid var(--line);padding-top:10px;font-size:13px}
.workspace-page:not(.office-page) .manage-kids .device-details>summary{cursor:pointer;padding:6px 0;color:var(--muted);font-weight:600}
.workspace-page:not(.office-page) .manage-kids .device-details .helper{font-size:13px;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .manage-kids .device-details .device-rule-summary{margin:12px 0 0}
/* Compact parent overviews: readable summaries, generous controls, no spacer rows. */
.workspace-page:not(.office-page) .glance-grid{gap:16px}
.workspace-page:not(.office-page) .glance-card{gap:12px;padding:18px;min-height:0}
.workspace-page:not(.office-page) .glance-card .kid-head{min-height:48px;gap:10px}
.workspace-page:not(.office-page) .glance-card .device-service-badges{min-height:0;margin:0}
.workspace-page:not(.office-page) .glance-summary{gap:8px}
.workspace-page:not(.office-page) .glance-card dl{gap:6px}
.workspace-page:not(.office-page) .glance-card dl>div{min-height:0;gap:8px}
.workspace-page:not(.office-page) .glance-card ul.glance-count{font-size:13px;line-height:1.45;padding-left:18px}
.workspace-page:not(.office-page) .glance-actions{gap:8px}
.workspace-page:not(.office-page) .glance-activity{min-height:44px;line-height:1.4}
@media(min-width:901px){
 .workspace-page:not(.office-page) .glance-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
 .workspace-page:not(.office-page) .glance-actions>.glance-activity{grid-column:1;grid-row:1}
 .workspace-page:not(.office-page) .glance-actions:not(:has(.button-secondary))>.glance-activity{grid-column:1 / -1}
 .workspace-page:not(.office-page) .glance-actions:has(.button-secondary)>.glance-activity{max-width:18ch}
 .workspace-page:not(.office-page) .glance-actions>.button-link:not(.button-secondary){grid-row:2;grid-column:1 / -1}
 .workspace-page:not(.office-page) .glance-actions>.button-secondary{grid-row:1;grid-column:2;background:transparent;border:0;border-radius:0;padding:0;min-height:44px;font-size:13px;text-decoration:underline;color:var(--emerald-hover)}
}
.workspace-page:not(.office-page) .manage-kids .device-card{padding:16px}
.workspace-page:not(.office-page) .manage-kids .device-head{min-height:48px}
.workspace-page:not(.office-page) .manage-kids .device-service-badges{margin:6px 0 8px;min-height:0}
.workspace-page:not(.office-page) .manage-kids .device-capability{min-height:0;margin-bottom:10px}
.workspace-page:not(.office-page) .manage-kids .device-protection{padding:8px 0;margin-bottom:10px}
.workspace-page:not(.office-page) .manage-kids .device-attention{margin-bottom:10px}
.workspace-page:not(.office-page) .manage-kids .device-other-actions{margin:0;gap:4px 16px}
.workspace-page:not(.office-page) .manage-kids .device-other-actions a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:6px 0}
.workspace-page:not(.office-page) .manage-kids .device-details{padding-top:0}
.workspace-page:not(.office-page) .manage-kids .device-details>summary{display:list-item;min-height:44px;box-sizing:border-box;padding:11px 0}
.workspace-page:not(.office-page) .manage-kids .kid-menu>summary{width:44px;height:44px}
.workspace-page:not(.office-page) .manage-kids .add-kid-tile{align-self:start;min-height:0;padding:18px;display:grid;grid-template-columns:44px minmax(0,1fr);text-align:left;gap:2px 12px}
.workspace-page:not(.office-page) .manage-kids .add-kid-tile>.add-kid-plus{grid-row:1 / 3;width:44px;height:44px}
.workspace-page:not(.office-page) .manage-kids .add-kid-tile>strong,.workspace-page:not(.office-page) .manage-kids .add-kid-tile>span:last-child{grid-column:2}

/* A setting's service stays clear in the website and the embedded parent app. */
.workspace-page:not(.office-page) .service-context{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:12px 14px;border:1px solid #cbd9e6;border-radius:12px;background:#eef4fb;color:#214660;line-height:1.45;box-shadow:none}
.workspace-page:not(.office-page) .service-context.is-windows{background:#f3eef9;color:#513d71;border-color:#ded2eb}
.workspace-page:not(.office-page) .service-context.is-internet{background:#eaeff4;color:#203c5c;border-color:#c6d2e0}
.workspace-page:not(.office-page) .service-context>svg{width:24px;height:24px;flex:0 0 24px;margin-top:1px}
.workspace-page:not(.office-page) .service-context>div{min-width:0}
.workspace-page:not(.office-page) .service-context strong{font-size:14px;color:inherit}
.workspace-page:not(.office-page) .service-context>div>p{font-size:14px;line-height:1.45;margin:3px 0 0;color:inherit}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .service-context{background:#1e2c39;color:#deebf8;border-color:#40566a}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .service-context.is-windows{background:#2c2538;color:#eee2ff;border-color:#5c4d73}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .service-context.is-internet{background:#202832;color:#e0e8f2;border-color:#415061}

/* Today's phone report stays ahead of actions and optional companion settings. */
.workspace-page:not(.office-page) .kid-today-summary p{margin:8px 0}
.workspace-page:not(.office-page) .kid-today-summary .kid-total{font-size:2.2rem;line-height:1.2;font-weight:800}
.workspace-page:not(.office-page) .kid-today-apps{margin:24px 0}
.workspace-page:not(.office-page) .kid-usage strong{min-width:0;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .kid-usage .kid-app-used{font-weight:700;white-space:nowrap;align-self:center}
.workspace-page:not(.office-page) .kid-usage .kid-app-state{grid-column:1/-1;justify-self:start}
.workspace-page:not(.office-page) .kid-week{margin:24px 0}

.workspace-page:not(.office-page) .kid-today .phone-heading h2{margin:0;font-size:24px}
.workspace-page:not(.office-page) .kid-today .phone-heading p{margin:4px 0;font-size:14px}
@media(max-width:600px){.workspace-page:not(.office-page) .kid-controls.kid-today .kid-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:12px 0;padding:8px 0}.workspace-page:not(.office-page) .kid-controls.kid-today .kid-tabs a{font-size:13px;padding:10px 4px;text-align:center;align-content:center}}

html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .kid-usage .blocked-label{background:#a92b22;color:#fff}

/* Installed-app editors: full-width rows; details are opened only when needed. */
.workspace-page:not(.office-page) .phone-time .simple-apps{display:block;min-width:0}
.workspace-page:not(.office-page) .phone-time .app-category{width:100%;box-sizing:border-box}
.workspace-page:not(.office-page) .phone-time .app-rule-row{border-radius:0;box-shadow:none;margin:0 16px;padding:0;border:0;border-bottom:1px solid var(--line);background:transparent}
.workspace-page:not(.office-page) .phone-time .app-rule-row:last-child{padding-bottom:0}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading{display:grid;grid-template-columns:40px minmax(0,1fr) auto 62px;gap:12px;align-items:center;min-height:82px;box-sizing:border-box;margin:0;padding:14px 0;list-style:none;cursor:pointer;background:transparent;border-radius:0;color:inherit;font-weight:400}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading::-webkit-details-marker{display:none}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading:after{content:none}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading:focus-visible{outline:3px solid #134987;outline-offset:2px;border-radius:8px}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.app-logo{width:40px;height:40px;object-fit:contain;flex-shrink:0;margin:0}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>div{min-width:0}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading h3{font-size:16px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading p{font-size:13px;line-height:1.4;margin:3px 0 0}
.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.phone-status{grid-column:auto;justify-self:end;font-size:12px;line-height:1.4;margin:0;padding:5px 9px;max-width:220px;white-space:normal;text-align:center}
.workspace-page:not(.office-page) .phone-app-edit{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:13px;font-weight:700;color:#003a7d}
.workspace-page:not(.office-page) .phone-app-edit svg{width:16px;height:16px}
.workspace-page:not(.office-page) .app-close-label{display:none}
.workspace-page:not(.office-page) .app-rule-row[open]>.phone-app-heading .app-edit-label{display:none}
.workspace-page:not(.office-page) .app-rule-row[open]>.phone-app-heading .app-close-label{display:inline}
.workspace-page:not(.office-page) .app-rule-row[open]>.phone-app-heading .phone-app-edit svg{transform:rotate(90deg)}
.workspace-page:not(.office-page) .phone-time .app-rule-row[open]{padding-bottom:16px}
.workspace-page:not(.office-page) .phone-time .app-rule-row>.phone-chips{max-width:510px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:4px 0 12px}
.workspace-page:not(.office-page) .phone-time .app-rule-row>.phone-chips label{padding:0;min-height:0}
.workspace-page:not(.office-page) .phone-time .app-rule-row>.phone-chips span{border-radius:9px;min-height:44px;padding:8px;font-size:13px;line-height:1.35}
.workspace-page:not(.office-page) .phone-app-save{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}
.workspace-page:not(.office-page) .phone-app-save button{margin:0;min-height:44px;padding:10px 16px;border-radius:10px}
.workspace-page:not(.office-page) .phone-app-save>span{font-size:13px;color:var(--muted)}
@media(max-width:600px){
 .workspace-page:not(.office-page) .phone-time .app-rule-row{margin:0 12px}
 .workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading{grid-template-columns:36px minmax(0,1fr) 45px;gap:3px 10px;padding:12px 0;min-height:92px}
 .workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.app-logo{grid-row:1/3;width:36px;height:36px;align-self:start;margin-top:3px}
 .workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.phone-status{grid-column:2;grid-row:2;justify-self:start;text-align:left;font-size:11px;padding:3px 7px}
 .workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.phone-app-edit{grid-column:3;grid-row:1/3;align-self:center}
 .workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading h3{font-size:15px}
 .workspace-page:not(.office-page) .phone-time .app-category>summary{padding:12px;font-size:15px}
}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .phone-time .app-category>summary{background:var(--app-surface);color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .phone-time .app-category-count{background:#303944;color:#e9eef3}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .phone-app-edit{color:#8fb5e1}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .phone-app-save>span{color:var(--app-muted)}

html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.app-logo{background:#313943;color:#bcd1e8}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.phone-status{background:#223449;color:#bad0ea}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-rule-row>summary.phone-app-heading>.phone-status.is-blocked{background:#9c2d25;color:#fff}

.workspace-page:not(.office-page) .phone-time{max-width:1040px}

/* Parent design review: consistent child tabs and readable settings surfaces. */
.workspace-page:not(.office-page) .kid-controls{max-width:1040px}
.workspace-page:not(.office-page) .kid-controls>.phone-heading{margin:0 0 16px;gap:12px}
.workspace-page:not(.office-page) .kid-controls>.phone-heading h2{font-size:24px;margin:0;line-height:1.3}
.workspace-page:not(.office-page) .kid-controls>.phone-heading p{margin:4px 0 0;font-size:13px;line-height:1.4}
.workspace-page:not(.office-page) .kid-controls .kid-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 20px;padding:0 0 12px}
.workspace-page:not(.office-page) .kid-controls .kid-tabs a{box-sizing:border-box;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.3;border-radius:9px;justify-content:center;text-align:center}
.workspace-page:not(.office-page) .companion-settings{margin:24px 0 0;border-top:1px solid var(--line);padding-top:12px}
.workspace-page:not(.office-page) .companion-settings>summary{cursor:pointer;padding:12px 0;min-height:44px;box-sizing:border-box;font-weight:700}
.workspace-page:not(.office-page) .companion-settings .phone-panel{margin:12px 0 0;box-shadow:none}
.workspace-page:not(.office-page) .kid-service-card{padding:20px;align-self:start}
.workspace-page:not(.office-page) .kid-service-card .kid-head{margin:0 0 10px}
.workspace-page:not(.office-page) .kid-service-card .kid-head h2{margin:0;font-size:20px}
.workspace-page:not(.office-page) .kid-service-card .device-actions{margin:12px 0 0}
.workspace-page:not(.office-page) .kid-service-card .device-other-actions{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px}
.workspace-page:not(.office-page) .kid-service-card .device-other-actions a{display:inline-flex;align-items:center;min-height:44px}
.workspace-page:not(.office-page) #windows-family[data-device-id]:not([data-device-id=""]){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:12px 18px;margin-bottom:12px}
.workspace-page:not(.office-page) #windows-family[data-device-id]:not([data-device-id=""]) .windows-setup{border:0;padding:0;flex:1 1 200px}
.workspace-page:not(.office-page) #windows-family .windows-setup>summary{min-height:44px;box-sizing:border-box;padding:12px 0}
.workspace-page:not(.office-page) #windows-family[data-device-id]:not([data-device-id=""]) .windows-setup[open]{flex-basis:100%}
.workspace-page:not(.office-page) #windows-status{font-size:14px;margin:8px 0 16px}
@media(max-width:600px){
 .workspace-page:not(.office-page) .kid-controls .kid-tabs,.workspace-page:not(.office-page) .kid-controls.kid-today .kid-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 16px;padding:0 0 10px}
 .workspace-page:not(.office-page) .kid-controls .kid-tabs a{font-size:12px;padding:8px 4px;min-height:48px;border-radius:8px}
 .workspace-page:not(.office-page) #live-check.live-strip{min-height:0;align-content:start}
 .workspace-page:not(.office-page) #live-check.live-strip .status-actions{grid-column:2;margin-top:8px}
}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.timezone-panel,.empty-state,.schedule-card,.schedule-editor,.schedule-template,.schedule-help){background:var(--app-surface);color:var(--app-ink);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.offtime-hint,.timezone-offer){background:#202933;color:#e0e8f2;border-color:#415061}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.timezone-panel,.empty-state,.schedule-card,.schedule-editor,.schedule-template,.schedule-help,.offtime-hint) :is(p,span,strong,small,summary,label,h2,h3){color:inherit}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.schedule-intro,.schedule-help-text){color:var(--app-muted)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .companion-settings{border-color:var(--app-line)}
/* Use the same content frame on each Android tab. */
.workspace-page:not(.office-page) .kid-controls{box-sizing:border-box;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff}
@media(max-width:600px){.workspace-page:not(.office-page) .kid-controls{padding:18px}}
.app-task.workspace-page:not(.office-page) .kid-controls{padding:0;border:0;background:transparent;box-shadow:none}
/* Compact Home cards share a readable heading and action rhythm. */
.workspace-page:not(.office-page) .kid-control-card{position:relative;padding:20px;align-self:start}
.workspace-page:not(.office-page) .kid-control-card .kid-card-remove{position:absolute;top:10px;right:12px;font-size:12px;min-height:30px;display:flex;align-items:center}
.workspace-page:not(.office-page) .kid-control-card .kid-card-open{margin:10px 0 8px;padding:0;min-height:48px}
.workspace-page:not(.office-page) .kid-control-card .kid-head h2{font-size:20px;margin:0}
.workspace-page:not(.office-page) .kid-control-card p{margin:10px 0;line-height:1.45;font-size:14px}
.workspace-page:not(.office-page) .kid-control-card .device-service-badges{margin:6px 0 12px;min-height:0}
.workspace-page:not(.office-page) .kid-control-card .kid-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 0}
.workspace-page:not(.office-page) .kid-control-card .kid-actions :is(form,button,.button-link){min-width:0;width:100%;box-sizing:border-box;margin:0;font-size:13px}
.workspace-page:not(.office-page) .kid-control-card .kid-actions :is(button,.button-link){min-height:44px;padding:10px 6px;line-height:1.3}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .page-intro-line{color:var(--app-muted)!important}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .parent-message{background:var(--app-surface);color:var(--app-ink);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .parent-message-meta{color:var(--app-muted)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .parent-message-delete>summary{color:var(--app-ink)}

/* Home is a daily overview with short device shortcuts; saved rules live on Devices. */
.workspace-page:not(.office-page) .home-shortcuts{margin:24px 0}
.workspace-page:not(.office-page) .home-shortcuts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.workspace-page:not(.office-page) .home-shortcuts-heading h2{margin:0;font-size:24px}
.workspace-page:not(.office-page) .home-shortcuts-heading>a{flex:none;font-size:14px;font-weight:700;min-height:44px;display:flex;align-items:center}
.workspace-page:not(.office-page) .home-shortcuts .glance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;align-items:start}
.workspace-page:not(.office-page) .home-shortcuts .glance-card{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px;gap:8px 12px;min-height:0;box-shadow:none;align-self:start}
.workspace-page:not(.office-page) .home-shortcuts .kid-head{min-height:40px;gap:10px}
.workspace-page:not(.office-page) .home-shortcuts .kid-head h3{font-size:18px}
.workspace-page:not(.office-page) .home-shortcuts .kid-head .avatar-art{width:40px;height:40px}
.workspace-page:not(.office-page) .home-shortcuts .device-service-badges{grid-column:1;margin:0;min-height:0}
.workspace-page:not(.office-page) .home-shortcuts .glance-summary{grid-column:1;margin:0;padding:0;min-height:0}
.workspace-page:not(.office-page) .home-shortcuts :is(.glance-connection,.home-shortcut-note){font-size:13px;line-height:1.5;margin:0;color:var(--muted);font-weight:400}
.workspace-page:not(.office-page) .home-shortcuts .glance-actions{grid-column:2;grid-row:1/4;display:flex;align-self:center;align-items:center;gap:0;margin:0;min-height:0}
.workspace-page:not(.office-page) .home-shortcuts .glance-actions>.button-link{width:auto;font-size:13px;min-height:44px;padding:10px 14px;margin:0}
.workspace-page:not(.office-page) .home-shortcuts .glance-activity{display:none}
@media(max-width:420px){.workspace-page:not(.office-page) .home-shortcuts .glance-card{grid-template-columns:minmax(0,1fr)}.workspace-page:not(.office-page) .home-shortcuts .glance-actions{grid-column:1;grid-row:auto;justify-content:flex-start}}
@media(max-width:600px){.workspace-page:not(.office-page) .home-shortcuts .glance-grid{grid-template-columns:minmax(0,1fr)}}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .home-shortcuts .glance-card{background:var(--app-surface);border-color:var(--app-line);color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .home-shortcuts :is(.glance-connection,.home-shortcut-note){color:var(--app-muted)}

/* Matching usage overview and real device pictures in temporary-control choices. */
.workspace-page:not(.office-page) .kid-usage-overview{display:grid;grid-template-columns:minmax(170px,.85fr) minmax(0,1.5fr);gap:18px;margin:20px 0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-today-summary{border-radius:20px;padding:22px;background:var(--app-soft,#e7edf4);display:flex;flex-direction:column;justify-content:center;min-width:0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-today-summary h2{font-size:16px;margin:4px 0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-today-summary .kid-total{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.3;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:8px 0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-today-summary>p:not(.kid-total){font-size:13px;line-height:1.5}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-eyebrow{font-weight:800;color:var(--app-muted,var(--muted))}
.workspace-page:not(.office-page) .kid-usage-overview .kid-today-apps{margin:0;min-width:0;padding:6px 0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-today-apps h2{font-size:16px;margin:0 0 4px}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-caption{font-size:12px;margin:0 0 8px;color:var(--app-muted,var(--muted))}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage{margin:0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage li{display:block;border:0;padding:0;margin:0 0 6px;min-width:0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-open{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 2px;text-decoration:none;border-radius:10px;min-height:44px;color:var(--app-ink,var(--ink))}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-open:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-open:hover{background:var(--app-soft,#e7edf4)}
.workspace-page:not(.office-page) .kid-usage-overview .app-logo{width:40px;height:40px;max-width:40px;object-fit:contain;margin:0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-name{min-width:0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-name strong{font-size:14px;display:block;overflow-wrap:anywhere}
.workspace-page:not(.office-page) .kid-usage-overview progress{display:block;width:100%;height:5px;margin-top:8px;border:0;border-radius:99px;accent-color:var(--app-accent,#1f5fae);background:#dce2e8}
.workspace-page:not(.office-page) .kid-usage-overview progress::-webkit-progress-bar{background:#dce2e8;border-radius:99px}
.workspace-page:not(.office-page) .kid-usage-overview progress::-webkit-progress-value{background:var(--app-accent,#1f5fae);border-radius:99px}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-values{display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-size:13px}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-edit{font-size:12px;color:var(--app-accent,#1f5fae);text-decoration:underline}
.workspace-page:not(.office-page) .kid-usage-overview .kid-app-state{font-size:12px;margin:0 0 4px 52px}
.workspace-page:not(.office-page) .kid-usage-overview .is-blocked{border:0;background:transparent;padding:0}
.workspace-page:not(.office-page) .kid-usage-overview .kid-usage-freshness{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--app-muted,var(--muted));margin:0}
.workspace-page:not(.office-page) .kid-more-usage>summary{min-height:44px;padding:10px 0;font-size:13px;cursor:pointer}
.workspace-page:not(.office-page) .app-time-options:target{outline:2px solid var(--accent);outline-offset:4px;scroll-margin-top:120px}
.quick-who .who-option>.quick-who-picture{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center}
.quick-who-picture :is(.avatar-art,.avatar-character,svg,img){width:36px;height:36px;max-width:36px;object-fit:contain;margin:0}
.quick-who-picture .quick-who-symbol{color:var(--accent);width:30px;height:30px}
@media(max-width:700px){.workspace-page:not(.office-page) .kid-usage-overview{grid-template-columns:minmax(0,1fr);gap:14px}.workspace-page:not(.office-page) .kid-usage-overview .kid-today-summary{padding:18px}}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .kid-usage-overview .kid-today-summary{color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .kid-usage-overview .kid-total{color:var(--app-ink)}

/* A usage shortcut can reveal the saved editor without changing its blocked/allowed mode. */
.workspace-page:not(.office-page) .phone-app:has(>.app-follow-options>details.app-time-options:target)>.app-follow-options{display:block}

/* Internet Simple cards keep their surfaces and text in the same theme, including expanded controls. */
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.simple-row,.simple-app,.simple-age a.age-tile){background:var(--app-surface);color:var(--app-ink);border-color:var(--app-line);box-shadow:none}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.simple-hours,.simple-also,.simple-warn){background:var(--app-soft);color:var(--app-ink);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row>summary .group-icon{background:var(--app-soft);color:var(--app-accent)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row>summary::after{border-color:var(--app-muted)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.simple-row-body h4,.simple-more .more-name,.unsafe-list li){color:var(--app-ink)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row .mode-btn:not(.mode-on){background:var(--app-surface);color:var(--app-accent);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row .mode-btn.mode-on{background:#06356a;color:#fff;border-color:#446e9f}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row .mode-btn.mode-on[value=off]{background:#a92b22;color:#fff;border-color:#e57971}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row .app-btn:not(.app-btn-on){background:var(--app-surface);color:var(--app-accent);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row .app-btn-block:not(.app-btn-on){color:var(--warning);border-color:var(--warning-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .simple-row .app-btn-block.app-btn-on{background:#a92b22;color:#fff;border-color:#e57971}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-card>.simple-app-hours>summary,html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) .app-card>.simple-app-hours-link{background:var(--app-surface);color:var(--app-accent);border-color:var(--app-line)}
html[data-app-theme=dark] .app-task.workspace-page:not(.office-page) :is(.simple-row.row-warn .row-text small,.app-blocked .app-name small){color:var(--warning)}


/* Sign-in pages: the brand label above the footer links is not shown (11 Nov 2026). */
.auth-page .site-footer>span:first-child{display:none}
