/* SwearGuard DNS: the portal in DNS format (dns_brand.py adds class sg-dns to <body> for DNS accounts only).
   Same layout and controls as SwearGuard Family, in the blue design from the Design canvas (14 Nov 2026):
   deep blue #0c2f57, buttons #1f5fae, sky accent #8cc4ff, pale ground #e4edf8 / #d6e6f8, Nunito,
   rounded white 24px cards and pill buttons. Family accounts never load this file. */
body.sg-dns,body.sg-dns.workspace-page:not(.office-page),body.sg-dns.workspace-page:not(.office-page) .shell{
  --accent:#1f5fae;--accent-deep:#0c2f57;--accent-ring:#1f5fae33;--accent-soft:#d6e6f8;--app-accent:#1f5fae;--app-ink:#0c2f57;
  --app-line:#cfd8e3;--app-muted:#5a6f8a;--app-soft:#e4edf8;--bg:#e4edf8;--emerald:#1f5fae;--emerald-hover:#174c8f;
  --field-line:#5a6f8a;--focus:#1f5fae;--forest:#0c2f57;--hero-a:#0c2f57;--hero-b:#1f5fae;--ink:#0c2f57;--line:#cfd8e3;
  --mint:#d6e6f8;--muted:#5a6f8a;--nav-idle:#b9d3ef;--neutral:#e4edf8;--neutral-ink:#3d5675;--ok:#1f5fae;--ok-pale:#d6e6f8;
  --pale:#f3f7fc;--pill-ink:#0c2f57;--radius:24px;--radius-sm:14px;--cyan:#d6e6f8;
  --shadow-sm:0 1px 2px rgba(12,47,87,.08);--shadow-md:0 1px 2px rgba(12,47,87,.08),0 14px 34px -18px rgba(12,47,87,.25);
  --side-bg:#0c2f57;--side-border:#0c2f57;--side-brand:#fff;--side-text:#d6e6f8;--side-icon:#8cc4ff;--side-muted:#8cc4ff;
  --side-hover:#173f6e;--side-active-bg:#d6e6f8;--side-active-text:#0c2f57;--side-active-icon:#1f5fae;
  --mark-bg:#1f5fae;--mark-fg:#fff;
  background:#e4edf8!important;background-image:none!important;color:#0c2f57}
.sg-dns:not(.v6-shell) h1,.sg-dns:not(.v6-shell) h2,.sg-dns:not(.v6-shell) h3,.sg-dns:not(.v6-shell) .panel-heading h1{color:#0c2f57}/* family-only panels: family avatars and pitch, the kids setup wizard, parental-app promotions (age presets stay) */


/* family-only panels: family avatars and pitch, the kids setup wizard, parental-app promotions (age presets stay) */
.sg-dns .auth-friends,.sg-dns .auth-hero-foot,.sg-dns .avatar-character,.sg-dns .family-avatars,
.sg-dns [data-test=family-wizard],.sg-dns .wizard-family,.sg-dns .kid-assistant,.sg-dns .android-no-app ~ .app-promo,
.sg-dns .app-download,.sg-dns .windows-family-card,.sg-dns [href*="/android"],.sg-dns [href*="windows-family"]{display:none!important}/* sidebar: deep blue, white brand, pale-blue selected item */


/* sidebar: deep blue, white brand, pale-blue selected item */
.sg-dns:not(.v6-shell) .sidebar{background:#0c2f57!important;border-right:0!important;box-shadow:none!important}
.sg-dns:not(.v6-shell) .sidebar .brand,.sg-dns:not(.v6-shell) .sidebar .brand:hover{color:#fff}
.sg-dns:not(.v6-shell) .sidebar .brand-product{color:#8cc4ff}
.sg-dns:not(.v6-shell) .workspace-nav a{color:#d6e6f8;border-radius:16px!important}
.sg-dns:not(.v6-shell) .workspace-nav a .nav-icon{color:#8cc4ff}
.sg-dns:not(.v6-shell) .workspace-nav a:hover{background:#173f6e;color:#fff}
.sg-dns:not(.v6-shell) .workspace-nav a.selected{background:#d6e6f8!important;color:#0c2f57!important;box-shadow:none!important}
.sg-dns:not(.v6-shell) .workspace-nav a.selected .nav-icon{color:#1f5fae!important}
.sg-dns:not(.v6-shell) .sidebar-bottom a{color:#b9d3ef}.sg-dns:not(.v6-shell) .sidebar-bottom a:hover{color:#fff}
.sg-dns:not(.v6-shell) .topbar{background:#e4edf8!important;border-color:#cfd8e3!important}/* cards: white, 24px corners, a deep-blue rule on top of the main settings cards */


/* cards: white, 24px corners, a deep-blue rule on top of the main settings cards */
.sg-dns:not(.v6-shell) .settings-card,.sg-dns:not(.v6-shell) .ads-panel,.sg-dns:not(.v6-shell) .guide-card,.sg-dns:not(.v6-shell) .account-card,.sg-dns:not(.v6-shell) .device-card,.sg-dns:not(.v6-shell) .schedule-card,
.sg-dns:not(.v6-shell) .filter-group,.sg-dns:not(.v6-shell) .summary-grid,.sg-dns:not(.v6-shell) .table-wrap,.sg-dns:not(.v6-shell) .empty-state,.sg-dns:not(.v6-shell) .notice,.sg-dns:not(.v6-shell) .home-allowance,
.sg-dns:not(.v6-shell) .wizard-card,.sg-dns:not(.v6-shell) .status-hero{background:#fff!important;border:0!important;border-radius:24px!important;
  box-shadow:0 1px 2px rgba(12,47,87,.08)!important}
.sg-dns:not(.v6-shell) .settings-card,.sg-dns:not(.v6-shell) .ads-panel{border-top:5px solid #0c2f57!important}
.sg-dns:not(.v6-shell) details.simple-row,.sg-dns:not(.v6-shell) .simple-age{background:#d6e6f8!important;border:0!important;border-radius:18px!important}
.sg-dns:not(.v6-shell) .chip,.sg-dns:not(.v6-shell) .copy-chip,.sg-dns:not(.v6-shell) .eyebrow{border-radius:12px!important}
.sg-dns:not(.v6-shell) .copy-chip{background:#d6e6f8!important;border-color:#d6e6f8!important}
.sg-dns:not(.v6-shell) .copy-chip .dns-address{color:#0c2f57}/* buttons: pills */


/* buttons: pills */
.sg-dns:not(.v6-shell) button:not(.switch):not([role=switch]),.sg-dns:not(.v6-shell) .button-link{background:#1f5fae!important;border:1.5px solid #1f5fae!important;color:#fff!important;
  border-radius:22px!important;min-height:44px;font-weight:800}
.sg-dns:not(.v6-shell) button:not(.switch):not([role=switch]):hover,.sg-dns:not(.v6-shell) .button-link:hover{background:#174c8f!important;border-color:#174c8f!important}
.sg-dns:not(.v6-shell) .button-secondary,.sg-dns:not(.v6-shell) button.button-secondary,.sg-dns:not(.v6-shell) .copy-button{background:#fff!important;color:#1f5fae!important;border:1.5px solid #1f5fae!important}
.sg-dns:not(.v6-shell) .button-secondary:hover,.sg-dns:not(.v6-shell) .copy-button:hover{background:#e4edf8!important}
.sg-dns:not(.v6-shell) .topbar-logout{background:#fff!important;color:#0c2f57!important;border:1.5px solid #cfd8e3!important}
.sg-dns:not(.v6-shell) .switch-row input{background:#b9c9dc}.sg-dns:not(.v6-shell) .switch-row input:checked{background:#1f5fae}/* inputs */


/* inputs */
.sg-dns:not(.v6-shell) input[type=text],.sg-dns:not(.v6-shell) input[type=email],.sg-dns:not(.v6-shell) input[type=password],.sg-dns:not(.v6-shell) input[type=search],.sg-dns:not(.v6-shell) input[type=url],
.sg-dns:not(.v6-shell) input[type=number],.sg-dns:not(.v6-shell) input[type=time],.sg-dns:not(.v6-shell) select,.sg-dns:not(.v6-shell) textarea{border:1.5px solid #5a6f8a!important;border-radius:14px!important}/* footer */


/* footer */
.sg-dns:not(.v6-shell) .site-footer{background:#f3f7fc!important;border-top:1px solid #cfd8e3!important}/* technical values in monospace */


/* technical values in monospace */
.sg-dns code,.sg-dns .copy-value,.sg-dns .dns-address,.sg-dns input[readonly]{font-family:ui-monospace,"IBM Plex Mono",Consolas,monospace!important}/* sign-in: deep-blue panel, the house picture above the headline, white check tiles; form on a white card */


/* sign-in: deep-blue panel, the house picture above the headline, white check tiles; form on a white card */
.sg-dns:not(.v6-shell) .auth-hero{background:#0c2f57!important;color:#d6e6f8}
.sg-dns:not(.v6-shell) .auth-hero::after{display:none}
.sg-dns:not(.v6-shell) .auth-hero .brand-mark path:first-child{fill:#1f5fae}
.sg-dns:not(.v6-shell) .auth-pitch{max-width:460px}
.sg-dns:not(.v6-shell) .auth-pitch::before{content:"";display:block;width:100%;max-width:380px;aspect-ratio:680/420;margin:0 0 28px;
  background:url(/dns-art/house-blue.svg) left center/contain no-repeat}
.sg-dns:not(.v6-shell) .auth-pitch h2{color:#fff}
.sg-dns:not(.v6-shell) .auth-pitch h2 .sky{color:#8cc4ff}
.sg-dns:not(.v6-shell) .auth-pitch p{color:#b9d3ef}
.sg-dns:not(.v6-shell) .auth-pitch li{color:#fff}
.sg-dns:not(.v6-shell) .auth-pitch li svg{background:#fff;color:#1f5fae;border-radius:8px}
.sg-dns.auth-page:not(.v6-shell) .panel{border:0;border-radius:24px;box-shadow:0 1px 2px rgba(12,47,87,.08),0 24px 50px -28px rgba(12,47,87,.35)}
.sg-dns:not(.v6-shell) .auth-form input{border-radius:14px!important}
.sg-dns:not(.v6-shell) .auth-form button{border-radius:22px!important}/* SwearGuard's own blue illustrations on Home, so the DNS pages are not bare (served from /dns-art/) */


/* SwearGuard's own blue illustrations on Home, so the DNS pages are not bare (served from /dns-art/) */
.sg-dns:not(.v6-shell) .home-allowance,.sg-dns:not(.v6-shell) .wizard-card{position:relative;padding-right:150px!important;min-height:132px}
.sg-dns:not(.v6-shell) .home-allowance::after,.sg-dns:not(.v6-shell) .wizard-card::after{content:"";position:absolute;right:28px;top:50%;transform:translateY(-50%);
  width:92px;height:92px;background:center/contain no-repeat}
.sg-dns:not(.v6-shell) .home-allowance::after{background-image:url(/dns-art/shield-blue.svg)}
.sg-dns:not(.v6-shell) .wizard-card::after{background-image:url(/dns-art/router-blue.svg)}
.sg-dns:not(.v6-shell) .today-unavailable{position:relative;padding-left:72px!important}
.sg-dns:not(.v6-shell) .today-unavailable::before{content:"";position:absolute;left:18px;top:50%;transform:translateY(-50%);width:40px;height:40px;
  background:url(/dns-art/shield-blue.svg) center/contain no-repeat}
@media (max-width:900px){.sg-dns:not(.v6-shell) .workspace-nav a{color:#d6e6f8}}
@media (max-width:700px){.sg-dns:not(.v6-shell) .home-allowance,.sg-dns:not(.v6-shell) .wizard-card{padding-right:20px!important}
  .sg-dns:not(.v6-shell) .home-allowance::after,.sg-dns:not(.v6-shell) .wizard-card::after{display:none}.sg-dns:not(.v6-shell) .auth-pitch::before{max-width:260px}}/* Home: device cards and the fold-out sections, in the blue set */


/* Home: device cards and the fold-out sections, in the blue set */
.sg-dns:not(.v6-shell) .kid-card,.sg-dns:not(.v6-shell) .glance-card{border-top:5px solid #8cc4ff!important;border-radius:24px!important;box-shadow:0 1px 2px rgba(12,47,87,.08)!important}
.sg-dns:not(.v6-shell) .guided-section{background:#d6e6f8!important;border:0!important;border-radius:18px!important}
.sg-dns:not(.v6-shell) .guided-section>summary{color:#0c2f57}
.sg-dns:not(.v6-shell) .guided-section[open]>summary{background:#d6e6f8}
.sg-dns:not(.v6-shell) .guided-section>*:not(summary){background:#fff}
.sg-dns:not(.v6-shell) .sidebar .brand-mark path:first-child{fill:#1f5fae}
.sg-dns:not(.v6-shell) .topbar>*,.sg-dns:not(.v6-shell) .topbar-actions{background:transparent}
.sg-dns.workspace-page:not(.v6-shell) .shell,.sg-dns.workspace-page:not(.v6-shell) .panel{background:transparent!important}
.sg-dns:not(.v6-shell) .guided-section>summary{background:#d6e6f8!important;color:#0c2f57!important;border-radius:18px}
.sg-dns:not(.v6-shell) .service-context,.sg-dns:not(.v6-shell) .service-context.is-internet{background:#fff!important;color:#0c2f57!important;border:0!important;border-radius:18px!important}
.sg-dns:not(.v6-shell) .mode-switch{background:#fff!important;border:0!important;border-radius:24px!important}
.sg-dns:not(.v6-shell) .mode-switch a.active{background:#d6e6f8!important;color:#0c2f57!important;box-shadow:inset 0 0 0 2px #1f5fae!important;border-radius:18px!important}
.sg-dns:not(.v6-shell) .panel-heading h1,.sg-dns:not(.v6-shell) .section-heading,.sg-dns:not(.v6-shell) .settings-card h2,.sg-dns:not(.v6-shell) .home-shortcuts-heading{color:#0c2f57!important}.sg-dns:not(.v6-shell) .setup-hero h1,.sg-dns:not(.v6-shell) .setup-hero h2{color:#fff!important}/* SwearGuard's own icons, recoloured blue (make_blue_art.py): menu, tab bar and in-page icons */


/* SwearGuard's own icons, recoloured blue (make_blue_art.py): menu, tab bar and in-page icons */
.sg-dns img[src*="ui-account.svg"]{content:url(/dns-art/ui-account-blue.svg)}
.sg-dns img[src*="ui-ads.svg"]{content:url(/dns-art/ui-ads-blue.svg)}
.sg-dns img[src*="ui-book.svg"]{content:url(/dns-art/ui-book-blue.svg)}
.sg-dns img[src*="ui-device.svg"]{content:url(/dns-art/ui-device-blue.svg)}
.sg-dns img[src*="ui-home.svg"]{content:url(/dns-art/ui-home-blue.svg)}
.sg-dns img[src*="ui-moon.svg"]{content:url(/dns-art/ui-moon-blue.svg)}
.sg-dns img[src*="ui-school.svg"]{content:url(/dns-art/ui-school-blue.svg)}
.sg-dns img[src*="ui-settings.svg"]{content:url(/dns-art/ui-settings-blue.svg)}
.sg-dns img[src*="ui-shield.svg"]{content:url(/dns-art/ui-shield-blue.svg)}/* Setup: deep blue banner with the server map (Natural Earth land, the 10 cities where DNS answers) */

/* Setup: deep blue banner with the server map (Natural Earth land, the 10 cities where DNS answers) */
.sg-dns:not(.v6-shell) .setup-hero{position:relative;overflow:hidden;background:#0c2f57!important;padding-right:42%!important;min-height:170px}
.sg-dns:not(.v6-shell) .setup-hero::before,.sg-dns:not(.v6-shell) .setup-hero::after{content:none!important}
.sg-dns:not(.v6-shell) .setup-hero{background-image:url(/dns-art/world-blue.svg)!important;background-repeat:no-repeat!important;background-position:right -20px center!important;background-size:auto 115%!important}
.sg-dns:not(.v6-shell) .setup-hero p{color:#d6e6f8!important}/* Devices: the add tile shows the blue phone instead of a plain plus */

/* Devices: the add tile shows the blue phone instead of a plain plus */
.sg-dns:not(.v6-shell) .add-kid-tile .add-kid-plus{font-size:0!important;width:56px!important;height:56px!important;background:#d6e6f8 url(/dns-art/ui-device-blue.svg) center/34px no-repeat!important;border:0!important}
@media (max-width:700px){.sg-dns:not(.v6-shell) .setup-hero{padding-right:30px!important;background-image:none!important}}
.sg-dns:not(.v6-shell) .device-control-tabs{background:#fff!important;border:0!important;border-radius:24px!important}
.sg-dns:not(.v6-shell) .device-control-tabs a.active{background:#d6e6f8!important;color:#0c2f57!important;box-shadow:inset 0 0 0 2px #1f5fae!important;border-radius:18px!important}
.sg-dns:not(.v6-shell) .device-control-tabs .control-tab-picture{background:#fff!important}
.sg-dns:not(.v6-shell) .device-control-tabs .control-tab-picture svg [fill="#00805d"]{fill:#1f5fae}
.sg-dns:not(.v6-shell) .device-control-tabs .control-tab-picture svg [stroke="#73bcb4"]{stroke:#8cc4ff}
.sg-dns:not(.v6-shell) .setup-hero{background-position:right -70px center!important;background-size:auto 100%!important;padding-right:45%!important}
.sg-dns:not(.v6-shell) .setup-hero{background-position:right 18px center!important;background-size:auto 92%!important}
.sg-dns:not(.v6-shell) .add-kid-tile .add-kid-plus{flex:0 0 56px;margin-right:6px}/* A picture beside each page heading (dns_brand gives <body> data-page; scenes from make_scenes.py, house from the canvas) */


/* A picture beside each page heading (dns_brand gives <body> data-page; scenes from make_scenes.py, house from the canvas) */
.sg-dns[data-page]:not(.v6-shell) .panel-heading{background-repeat:no-repeat;background-position:right 0 bottom 0;background-size:auto 150px}
.sg-dns[data-page=connect]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/house-blue.svg)}
.sg-dns[data-page=devices]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/house-blue.svg)}
.sg-dns[data-page=queries]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-activity.svg)}
.sg-dns[data-page=analytics]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-activity.svg)}
.sg-dns[data-page=reports]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-activity.svg)}
.sg-dns[data-page=alerts]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-alerts.svg)}
.sg-dns[data-page=schedules]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-times.svg)}
.sg-dns[data-page=internet-off]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-times.svg)}
.sg-dns[data-page=overview]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-times.svg)}
.sg-dns[data-page=help]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-help.svg)}
.sg-dns[data-page=account]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-account.svg)}
.sg-dns[data-page=filters]:not(.v6-shell) .panel-heading{min-height:190px;padding-right:280px;background-image:url(/dns-art/scene-filters.svg)}
@media (max-width:900px){.sg-dns[data-page]:not(.v6-shell) .panel-heading{min-height:0!important;padding-right:0!important;background-image:none!important}}/* the heading picture sits in a white banner card under the top buttons, title bottom-left */

/* the heading picture sits in a white banner card under the top buttons, title bottom-left */
.sg-dns[data-page]:not(.v6-shell) .panel-heading[style],.sg-dns[data-page=connect]:not(.v6-shell) .panel-heading,.sg-dns[data-page=devices]:not(.v6-shell) .panel-heading,.sg-dns[data-page=queries]:not(.v6-shell) .panel-heading,
.sg-dns[data-page=analytics]:not(.v6-shell) .panel-heading,.sg-dns[data-page=reports]:not(.v6-shell) .panel-heading,.sg-dns[data-page=alerts]:not(.v6-shell) .panel-heading,.sg-dns[data-page=schedules]:not(.v6-shell) .panel-heading,
.sg-dns[data-page=internet-off]:not(.v6-shell) .panel-heading,.sg-dns[data-page=overview]:not(.v6-shell) .panel-heading,.sg-dns[data-page=help]:not(.v6-shell) .panel-heading,.sg-dns[data-page=account]:not(.v6-shell) .panel-heading,
.sg-dns[data-page=filters]:not(.v6-shell) .panel-heading{display:flex;align-items:flex-end;min-height:150px!important;margin:48px 0 22px;padding:26px 300px 26px 30px!important;
  background-color:#fff;border-radius:24px;border-top:5px solid #0c2f57;box-shadow:0 1px 2px rgba(12,47,87,.08);
  background-position:right 26px center!important;background-size:auto 140px!important;box-sizing:border-box}
.sg-dns[data-page]:not(.v6-shell) .panel-heading h1{margin:0}
@media (max-width:900px){.sg-dns[data-page]:not(.v6-shell) .panel-heading{margin:0 0 18px!important;padding:0!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important}}/* Free plan Home (v6_free.home content; DNS accounts keep the standard layout): no family photo, the blue house instead,
   and the allowance, device cards and fold styled in the blue set */


/* Free plan Home (v6_free.home content; DNS accounts keep the standard layout): no family photo, the blue house instead,
   and the allowance, device cards and fold styled in the blue set */
.sg-dns:not(.v6-shell) .v6f-hero-art{display:none!important}
.sg-dns:not(.v6-shell) .v6f-hero{display:flex;align-items:flex-end;min-height:150px;margin:0 0 18px;padding:26px 300px 26px 30px;box-sizing:border-box;background:#fff url(/dns-art/house-blue.svg) right 26px center/auto 140px no-repeat;
  border-radius:24px;border-top:5px solid #0c2f57;box-shadow:0 1px 2px rgba(12,47,87,.08)}
.sg-dns:not(.v6-shell) .v6f-hero h1{margin:4px 0 6px;font-size:30px;color:#0c2f57}
.sg-dns:not(.v6-shell) .v6f-hello{margin:0;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1f5fae}
.sg-dns:not(.v6-shell) .v6-page-sub{margin:0;color:#3d5675}
.sg-dns:not(.v6-shell) .v6-card{display:block;background:#fff;border-radius:24px;padding:20px 24px;margin:0 0 14px;box-shadow:0 1px 2px rgba(12,47,87,.08);color:#0c2f57;text-decoration:none}
.sg-dns:not(.v6-shell) .v6f-allowance-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 12px}
.sg-dns:not(.v6-shell) .v6-tag{display:inline-flex;align-items:center;min-height:26px;padding:0 12px;border-radius:13px;background:#d6e6f8;color:#0c2f57;font-size:13px;font-weight:800}
.sg-dns:not(.v6-shell) .v6-progress{display:block;width:100%;height:12px;border:0;border-radius:6px;background:#e4edf8;overflow:hidden;-webkit-appearance:none;appearance:none}
.sg-dns:not(.v6-shell) .v6-progress::-webkit-progress-bar{background:#e4edf8;border-radius:6px}
.sg-dns:not(.v6-shell) .v6-progress::-webkit-progress-value{background:#1f5fae;border-radius:6px}
.sg-dns:not(.v6-shell) .v6-progress::-moz-progress-bar{background:#1f5fae;border-radius:6px}
.sg-dns:not(.v6-shell) .v6-group-title{margin:26px 0 12px;font-size:22px;color:#0c2f57}
.sg-dns:not(.v6-shell) .v6f-devices{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin:0 0 14px}
.sg-dns:not(.v6-shell) .v6f-devices>.v6-card{margin:0;border-top:5px solid #8cc4ff}
.sg-dns:not(.v6-shell) .v6f-device-head{display:flex;gap:14px;align-items:flex-start;margin:0 0 14px}
.sg-dns:not(.v6-shell) .v6f-device-art,.sg-dns:not(.v6-shell) .v6-tile{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:#d6e6f8;color:#1f5fae}
.sg-dns:not(.v6-shell) .v6f-device-art svg,.sg-dns:not(.v6-shell) .v6-tile svg{width:24px;height:24px}
.sg-dns:not(.v6-shell) .v6-row-text h3,.sg-dns:not(.v6-shell) .v6-row-title{display:block;margin:0 0 4px;font-size:17px;font-weight:800;color:#0c2f57}
.sg-dns:not(.v6-shell) .v6f-state,.sg-dns:not(.v6-shell) .v6-row-sub{display:block;margin:0;font-size:14px;color:#3d5675}
.sg-dns:not(.v6-shell) .v6f-state svg{width:16px;height:16px;vertical-align:-3px;margin-right:4px}
.sg-dns:not(.v6-shell) .v6-btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:0 20px;border-radius:22px;font-weight:800;text-decoration:none;
  background:#fff;color:#1f5fae;border:1.5px solid #1f5fae}
.sg-dns:not(.v6-shell) .v6-btn--block{display:flex;width:100%;box-sizing:border-box}
.sg-dns:not(.v6-shell) .v6f-add{display:flex!important;gap:14px;align-items:center;border:2px dashed #8cc4ff!important;border-top:2px dashed #8cc4ff!important;background:#f3f7fc!important;box-shadow:none!important}
.sg-dns:not(.v6-shell) .v6f-fold{margin:14px 0}
.sg-dns:not(.v6-shell) .v6f-fold>summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 20px;border-radius:18px;background:#d6e6f8;color:#0c2f57;font-size:17px;font-weight:800;cursor:pointer;list-style:none}
.sg-dns:not(.v6-shell) .v6f-fold>summary::-webkit-details-marker{display:none}
.sg-dns:not(.v6-shell) .v6f-fold>summary svg{width:20px;height:20px}
.sg-dns:not(.v6-shell) .v6f-fold[open]>summary svg{transform:rotate(180deg)}
.sg-dns:not(.v6-shell) .v6-legacy{margin-top:12px}
@media (max-width:900px){.sg-dns:not(.v6-shell) .v6f-hero{padding:22px!important;min-height:0;background-image:none}}
.sg-dns:not(.v6-shell) .v6f-device-art{background:#d6e6f8 url(/dns-art/router-blue.svg) center/44px no-repeat}.sg-dns:not(.v6-shell) .v6f-device-art svg{display:none}
.sg-dns:not(.v6-shell) img.brand-mark{width:36px;height:36px;object-fit:contain;background:none!important;box-shadow:none!important;padding:0!important}/* footer in the DNS website's style: compact navy band (dns_brand.FOOTER) */

/* footer in the DNS website's style: compact navy band (dns_brand.FOOTER) */
.sg-dns .site-footer.sg-foot{display:block;max-width:none;margin:24px 0 0;padding:16px 36px 12px!important;background:#0c2f57!important;border:0!important;color:#cfdcec;font-size:13px}
.sg-dns .sg-foot-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px}
.sg-dns .sg-foot-brand{display:inline-flex;align-items:center;gap:8px;color:#fff!important;font-weight:800;font-size:15px;text-decoration:none}
.sg-dns .sg-foot-brand span{color:#8cc4ff}
.sg-dns .sg-foot a{color:#fff;text-decoration:none}.sg-dns .sg-foot a:hover{color:#8cc4ff;text-decoration:underline}
.sg-dns .sg-foot .footer-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin-left:auto}
.sg-dns .sg-foot .footer-links a{color:#fff;font-weight:600}
.sg-dns .sg-foot-base{margin:10px 0 0;padding-top:8px;border-top:1px solid #1d4472;font-size:11px;color:#b9d3ef}
.sg-dns.auth-page .site-footer.sg-foot{border-radius:18px;margin-top:16px;padding:14px 18px 10px!important}
@media(max-width:900px){.sg-dns .site-footer.sg-foot{padding:14px 18px 10px!important}.sg-dns .sg-foot .footer-links{margin-left:0}}
.sg-dns .tabbar{background:#fff!important;border-top:1px solid #cfd8e3!important;box-shadow:0 -4px 16px -8px rgba(12,47,87,.25)!important}/* Server status page in blue (public page) */


/* Server status page in blue (public page) */
.sg-dns:not(.v6-shell) .public-header img.brand-mark{content:url(/dns-art/logo.svg)}
.sg-dns:not(.v6-shell) .brand-product{display:none!important}
.sg-dns:not(.v6-shell) .server-map{background:#fff!important;border:0!important;border-radius:24px!important;overflow:hidden;box-shadow:0 1px 2px rgba(12,47,87,.08)}
.sg-dns:not(.v6-shell) .server-map svg rect{fill:#eef4fb}
.sg-dns:not(.v6-shell) .server-map svg g[fill]{fill:#c6daf1;stroke:#eef4fb}
.sg-dns:not(.v6-shell) .server-map svg [fill="#175f56"]{fill:#1f5fae}
.sg-dns:not(.v6-shell) .server-map svg [stroke="#175f56"]{stroke:#1f5fae}
.sg-dns:not(.v6-shell) .server-map svg .server-map-more{stroke:#1f5fae;fill:#fff}
.sg-dns:not(.v6-shell) .server-map-number{background:#1f5fae!important;color:#fff!important}
.sg-dns:not(.v6-shell) .server-map-key strong,.sg-dns:not(.v6-shell) .server-map-list strong{color:#0c2f57}
.sg-dns:not(.v6-shell) .server-map-more-list ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:8px 0;padding:0}
.sg-dns:not(.v6-shell) .server-map-more-list li{padding:4px 12px;border-radius:14px;background:#e4edf8;color:#0c2f57;font-size:13px;font-weight:700}
.sg-dns:not(.v6-shell) .status-server{background:#fff!important;border:0!important;border-radius:24px!important;box-shadow:0 1px 2px rgba(12,47,87,.08)!important}
.sg-dns:not(.v6-shell) .status-server .badge{border-radius:12px!important}
.sg-dns:not(.v6-shell) .status-hero{background:#fff!important;border:0!important;border-top:5px solid #0c2f57!important;border-radius:24px!important}
.sg-dns:not(.v6-shell) .public-header{background:#fff!important;border-bottom:1px solid #cfd8e3!important}/* every DNS page in the DNS look (14 Nov 2026): no app-only choices; Add a device choices as cards; more page banners */


/* every DNS page in the DNS look (14 Nov 2026): no app-only choices; Add a device choices as cards; more page banners */
.sg-dns:not(.v6-shell) .v6f-kind--soon{display:none!important}
.sg-dns:not(.v6-shell) .v6-choice{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:18px;padding:14px 16px;margin:0 0 10px;text-decoration:none;color:#0c2f57;box-shadow:0 1px 2px rgba(12,47,87,.08);border:1.5px solid transparent}
.sg-dns:not(.v6-shell) a.v6-choice:hover{border-color:#1f5fae}
.sg-dns:not(.v6-shell) .v6-choice-top{display:flex;align-items:center;gap:10px}
.sg-dns:not(.v6-shell) .v6-choice-title{font-weight:800;font-size:16px}.sg-dns:not(.v6-shell) .v6-choice-sub{font-size:14px;color:#3d5675}
.sg-dns:not(.v6-shell) .v6-tile--sm{flex:0 0 36px;width:36px;height:36px;border-radius:12px}
.sg-dns[data-page=contact]:not(.v6-shell) .panel-heading,.sg-dns[data-page=support]:not(.v6-shell) .panel-heading,.sg-dns[data-page=privacy]:not(.v6-shell) .panel-heading,.sg-dns[data-page=start]:not(.v6-shell) .panel-heading{
  display:flex;align-items:flex-end;min-height:150px!important;margin:48px 0 22px;padding:26px 300px 26px 30px!important;background-color:#fff;border-radius:24px;
  border-top:5px solid #0c2f57;box-shadow:0 1px 2px rgba(12,47,87,.08);background-repeat:no-repeat;background-position:right 26px center!important;background-size:auto 140px!important;box-sizing:border-box}
.sg-dns[data-page=contact]:not(.v6-shell) .panel-heading,.sg-dns[data-page=support]:not(.v6-shell) .panel-heading{background-image:url(/dns-art/scene-help.svg)}
.sg-dns[data-page=privacy]:not(.v6-shell) .panel-heading{background-image:url(/dns-art/scene-account.svg)}
.sg-dns[data-page=start]:not(.v6-shell) .panel-heading{background-image:url(/dns-art/house-blue.svg)}
@media (max-width:900px){.sg-dns[data-page=contact]:not(.v6-shell) .panel-heading,.sg-dns[data-page=support]:not(.v6-shell) .panel-heading,.sg-dns[data-page=privacy]:not(.v6-shell) .panel-heading,.sg-dns[data-page=start]:not(.v6-shell) .panel-heading{margin:0 0 18px!important;padding:0!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important}}
.sg-dns:not(.v6-shell) .sg-foot-base strong{color:#fff;font-size:12px;margin-right:6px}.sg-dns:not(.v6-shell) .sg-foot-base small{font-size:10px;color:#9fbde0}/* footer at the bottom of short pages; menu hover in blue (the Family rules use green with higher priority) */

/* footer at the bottom of short pages; menu hover in blue (the Family rules use green with higher priority) */
.sg-dns.workspace-page:not(.v6-shell) .shell,.sg-dns.public-page:not(.v6-shell) .shell{display:flex;flex-direction:column;min-height:100vh}
.sg-dns:not(.v6-shell) .shell>.site-footer{margin-top:auto}
.sg-dns:not(.v6-shell) .workspace-nav>a:hover,.sg-dns:not(.v6-shell) .family-extra-nav a:hover{background:#173f6e!important;color:#fff!important}
.sg-dns:not(.v6-shell) .workspace-nav>a.selected,.sg-dns:not(.v6-shell) .workspace-nav>a.selected:hover{background:#d6e6f8!important;color:#0c2f57!important;box-shadow:none!important}
.sg-dns:not(.v6-shell) .workspace-nav>a:focus-visible{outline:3px solid #8cc4ff;outline-offset:2px}/* Add a device: the router card first and larger */

/* Add a device: the router card first and larger */
.sg-dns:not(.v6-shell) .v6f-kind--router{border:2px solid #1f5fae!important;background:#fff url(/dns-art/router-blue.svg) right 18px center/64px no-repeat!important;padding:18px 96px 18px 20px!important}
.sg-dns:not(.v6-shell) .v6f-kind--router .v6-choice-title{font-size:19px}/* Add a device step progress as a bar; DNS has two steps (the kid/adult step is skipped) */

/* Add a device step progress as a bar; DNS has two steps (the kid/adult step is skipped) */
.sg-dns:not(.v6-shell) .v6-steps{display:flex;gap:6px;list-style:none;padding:0;margin:4px 0 18px}
.sg-dns:not(.v6-shell) .v6-steps li{width:36px;height:6px;border-radius:3px;background:#d6e6f8}
.sg-dns:not(.v6-shell) .v6-steps li[aria-current],.sg-dns:not(.v6-shell) .v6-steps li.done{background:#1f5fae}
.sg-dns[data-page=connect]:not(.v6-shell) .v6-steps li:nth-child(2){display:none}/* side menu: never cut off on shorter screens (scrolls, and tightens below 900px height) */

/* side menu: never cut off on shorter screens (scrolls, and tightens below 900px height) */
.sg-dns:not(.v6-shell) .sidebar{overflow-y:auto;overscroll-behavior:contain}
@media (min-width:901px) and (max-height:900px){
  .sg-dns:not(.v6-shell) .sidebar{padding-top:18px!important;padding-bottom:12px!important}
  .sg-dns:not(.v6-shell) .sidebar .brand{margin-bottom:16px!important}
  .sg-dns:not(.v6-shell) .workspace-nav a{padding:8px 12px!important;min-height:0}
  .sg-dns:not(.v6-shell) .sidebar-bottom{gap:6px!important;padding-top:10px!important}
  .sg-dns:not(.v6-shell) .sidebar-bottom a{padding:4px 0!important}}/* Add a device menu: a tidy grid (router across the top, the six device types in three columns), no "Free" tags */

/* Add a device menu: a tidy grid (router across the top, the six device types in three columns), no "Free" tags */
.sg-dns:not(.v6-shell) .v6-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice{margin:0;display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto 1fr;column-gap:14px;row-gap:4px;align-items:start;padding:18px!important;min-height:112px}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice .v6-choice-top{grid-row:1/3;grid-column:1}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice .v6-choice-title{grid-column:2;font-size:17px}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice .v6-choice-sub{grid-column:2}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice .v6-tag{display:none}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice .v6-tile--sm{width:52px;height:52px;flex:0 0 52px;border-radius:16px;background:#d6e6f8;color:#1f5fae}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6-choice .v6-tile--sm svg{width:26px;height:26px}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6f-kind--router{grid-column:1/-1;display:block;padding:22px 110px 22px 22px!important;min-height:0;background-size:72px!important}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6f-kind--router .v6-tag{display:inline-flex;margin-bottom:6px}
.sg-dns:not(.v6-shell) .v6-choice-grid>.v6f-kind--router .v6-choice-title{display:block;font-size:20px}
@media (max-width:1100px){.sg-dns:not(.v6-shell) .v6-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.sg-dns:not(.v6-shell) .v6-choice-grid{grid-template-columns:1fr}}

/* == v6 blue (make_dns_v6_css.py) == */
/* Hand-written blue details for the current portal design on DNS accounts (make_dns_v6_css.py appends this). */
/* the accent palette in blues: Home banner, step labels and tiles (Family uses mint, yellow, peach, lavender, sky) */
.sg-dns.v6-classic{--c-mint:#c4dcf5;--c-yellow:#8cc4ff;--c-peach:#b9d3ef;--c-lav:#d6e6f8;--c-sky:#a9d1f5;
  --c-mint-bg:#e6f0fb;--c-yellow-bg:#e6f0fb;--c-peach-bg:#e6f0fb;--c-lav-bg:#eef3fa;--c-sky-bg:#e6f0fb}
.sg-dns.v6-shell{--v6-yellow:#d6e6f8;--v6-yellow-tx:#174c8f;--v6-peach:#e3edf9;--v6-peach-tx:#174c8f;--v6-lav:#e6f0fb;
  --v6-lav-tx:#1f5fae;--v6-sky:#dcebfb;--v6-sky-tx:#1f5fae;--v6-ring:conic-gradient(#8cc4ff,#1f5fae,#b9d3ef,#8cc4ff)}
.sg-dns.v6-classic .v6f-hero,.sg-dns.v6-classic .v6f-hero--attention,.sg-dns.v6-classic .v6f-hero--saved{border-color:#bdd6ef}
.sg-dns .v6f-hero-art{background:#e4edf8}
/* the name in the menu: "SwearGuard DNS" in white and sky blue, as on swearguard.com/dns (no yellow badge) */
.sg-dns.v6-shell .v6-brand .v6f-dns{background:none!important;color:#8cc4ff!important;padding:0!important;border:0!important;
  font-size:inherit!important;font-weight:inherit!important;letter-spacing:0!important}
/* the DNS footer under the page, inside the frame beside the fixed menu */
.sg-dns.v6-shell .v6-frame{display:flex;flex-direction:column;min-height:100vh}
.sg-dns.v6-shell .v6-help-card img{background:#fff;border-radius:50%;padding:4px;box-sizing:border-box}
/* a device picture instead of the kids' animal characters; no picture chooser (dns_brand.DEVICE_ART) */
.sg-dns .dns-device-art{width:30px!important;height:30px!important;color:#1f5fae;display:block;margin:auto}
.sg-dns .v6f-device-art:has(.dns-device-art),.sg-dns .kid-avatar:has(.dns-device-art){display:grid!important;place-items:center;background:#e6f0fb!important}
.sg-dns .avatar-picker>.avatar-panel{display:none!important}
.sg-dns .avatar-picker>summary{pointer-events:none;cursor:default;list-style:none}
.sg-dns .avatar-picker>summary::-webkit-details-marker{display:none}
/* Add a device (14 Nov update 6, for the current design): router across the top, three columns, no "Free" tags, two steps */
.sg-dns[data-page=connect] .v6-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sg-dns[data-page=connect] .v6-choice-grid>.v6-choice:first-child{grid-column:1/-1}
.sg-dns[data-page=connect] .v6-choice-grid>.v6-choice:not(:first-child) .v6-tag{display:none}
.sg-dns[data-page=connect] .v6-steps>li:nth-child(3){display:none}
@media (max-width:760px){.sg-dns[data-page=connect] .v6-choice-grid{grid-template-columns:1fr}}
/* the menu column stays navy all the way down beside the footer (the menu itself is fixed to the screen) */
html:has(>body.sg-dns.v6-shell),body.sg-dns.v6-shell.workspace-page:not(.office-page){background:linear-gradient(90deg,#0c2f57 0 240px,#e4edf8 240px)!important}
@media (min-width:701px) and (max-width:900px){html:has(>body.sg-dns.v6-shell),body.sg-dns.v6-shell.workspace-page:not(.office-page){background:linear-gradient(90deg,#0c2f57 0 200px,#e4edf8 200px)!important}}
@media (max-width:700px){html:has(>body.sg-dns.v6-shell),body.sg-dns.v6-shell.workspace-page:not(.office-page){background:#e4edf8!important}}
/* the footer: one slim band, two short lines */
.sg-dns.v6-shell .v6-frame>.sg-foot{margin-top:auto!important}
.sg-dns .site-footer.sg-foot{margin-top:28px;padding:10px 28px 9px!important;font-size:12px;line-height:1.4}
.sg-dns .sg-foot-top{gap:4px 18px}
.sg-dns .sg-foot-brand{font-size:13px!important;gap:6px!important}
.sg-dns .sg-foot-brand img{width:18px;height:18px}
.sg-dns .sg-foot-mail{font-size:12px;color:#b9d3ef!important}
.sg-dns .sg-foot .footer-links{gap:2px 14px}
.sg-dns .sg-foot .footer-links a{font-size:12px}
.sg-dns .sg-foot-base{margin:6px 0 0!important;padding-top:6px!important;font-size:10px!important}
.sg-dns .sg-foot-base strong{font-size:10.5px!important;margin-right:4px!important;color:#fff}
.sg-dns .sg-foot-base small{font-size:10px!important;color:#9fbde0}
@media (max-width:700px){.sg-dns.v6-shell .v6-frame>.sg-foot{padding:10px 16px 12px!important}
  .sg-dns .sg-foot-mail{display:none}.sg-dns .sg-foot .footer-links{margin-left:0;gap:2px 12px}}
.sg-dns .sg-foot-base strong,.sg-dns .sg-foot-base small{display:inline!important}
@media (max-width:700px){.sg-dns .sg-foot .footer-links a{display:inline-block;min-height:0!important;padding:4px 0!important;line-height:1.3}.sg-dns .sg-foot-base{margin-top:4px!important}}
/* the log-in, sign-up and password pages: SwearGuard's simple footer row under the form, links in blue (no band) */
.sg-dns.auth-page .site-footer:not(.sg-foot){background:transparent!important;border:0!important;box-shadow:none!important}
.sg-dns.auth-page .site-footer:not(.sg-foot) a{color:#1f5fae!important}
/* Add a device: every icon tile in one blue (Family gives each its own accent colour) */
.sg-dns.v6-classic .v6-choice-grid>.v6f-kind{--tile:#d6e6f8}
.sg-dns.v6-shell.v6-classic .v6f-kind .v6-choice-tile{color:#1f5fae}
/* the one-screen Rules page (rules_ui.py): Block what, when */
.sg-dns .rl-page .rl-now{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.sg-dns .rl-now-text{display:flex;flex-direction:column;flex:1;min-width:200px}.sg-dns .rl-now-text span{color:#5a6f8a;font-size:14px}
.sg-dns .rl-label{margin:0 0 8px;color:#5a6f8a;font-size:13px;font-weight:700}
.sg-dns .rl-check-form{display:flex;gap:8px}.sg-dns .rl-text{flex:1;min-width:0;width:100%;box-sizing:border-box;min-height:44px;padding:0 14px;border:1.5px solid #9db4cf;border-radius:14px;font:inherit;background:#fff}
.sg-dns .rl-row{display:flex;align-items:center;gap:12px}
.sg-dns .rl-row .v6-row-actions{display:flex;align-items:center;gap:6px;margin-left:auto}
.sg-dns .rl-ic{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:transparent!important;color:#5a6f8a!important;cursor:pointer;padding:0;min-height:0}
.sg-dns .rl-ic:hover{background:#e6f0fb!important;color:#0c2f57!important}
.sg-dns .rl-badge{white-space:nowrap}
.sg-dns .rl-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.sg-dns .rl-chip{display:inline-block;cursor:pointer;position:relative}.sg-dns .rl-chip input{position:absolute;left:0;top:0;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;margin:0;padding:0;opacity:0;pointer-events:none}
.sg-dns .rl-chip span{display:inline-block;padding:8px 14px;border:1.5px solid #9db4cf;border-radius:999px;background:#fff;color:#0c2f57;font-weight:700;font-size:14px}
.sg-dns .rl-chip input:checked+span{background:#1f5fae;border-color:#1f5fae;color:#fff}
.sg-dns .rl-chip input:focus-visible+span{outline:3px solid #8cc4ff;outline-offset:2px}
.sg-dns .rl-form .rl-text{margin:0 0 16px}
.sg-dns .rl-times{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:0 0 14px}.sg-dns .rl-times .rl-chips{flex-basis:100%;margin:0}
.sg-dns .rl-time{display:inline-flex;align-items:center;gap:8px;color:#5a6f8a;font-size:14px}.sg-dns .rl-time input{min-height:40px;border:1.5px solid #9db4cf;border-radius:12px;padding:0 10px;font:inherit}
.sg-dns .rl-form:has(input[name=when][value=always]:checked) .rl-times{display:none}
.sg-dns .rl-actions{display:flex;gap:10px;align-items:center}
.sg-dns .rl-error{background:#fdecea;color:#7a1f16;border-radius:14px;padding:12px 16px}.sg-dns .rl-saved{background:#e6f0fb;color:#0c2f57;border-radius:14px;padding:10px 16px}
.sg-dns .rl-page .rl-list{margin:0 0 16px}
@media (max-width:700px){.sg-dns .rl-row{flex-wrap:wrap}.sg-dns .rl-row .v6-row-actions{margin-left:0}}
@media (max-width:700px){
  .sg-dns .rl-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:start}
  .sg-dns .rl-row .v6-tile{grid-row:1 / span 2}
  .sg-dns .rl-row .v6-row-text,.sg-dns .rl-row .rl-badge,.sg-dns .rl-row .v6-row-actions{grid-column:2}
  .sg-dns .rl-row .rl-badge{justify-self:start}
  .sg-dns .rl-row .v6-row-actions{justify-self:end;margin-left:0}
}
/* Rules form: one plain line under the chosen When */
.sg-dns .rl-help{display:none;margin:0 0 10px;color:#5a6f8a;font-size:14px}
.sg-dns .rl-form:has(input[name=when][value=always]:checked) .rl-help-always,.sg-dns .rl-form:has(input[name=when][value=sched]:checked) .rl-help-sched,
.sg-dns .rl-form:has(input[name=when][value=allow]:checked) .rl-help-allow,.sg-dns .rl-form:has(input[name=when][value=off]:checked) .rl-help-off{display:block}
/* Rules page: the portal's own checker answer and the Always allowed card */
.sg-dns .rl-check .decision{border:1.5px solid #cfd8e3;border-radius:16px;padding:14px 16px;margin:12px 0;background:#fff}
.sg-dns .rl-check .decision.check-blocked{border-color:#e0a39b;background:#fdf3f1}.sg-dns .rl-check .decision h2{margin:6px 0;font-size:20px}
.sg-dns .rl-check .check-form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.sg-dns .rl-check .check-form .field-label{flex:1;min-width:200px}
.sg-dns .rl-check .check-buttons,.sg-dns .rl-check .always-form{margin:8px 0}.sg-dns .rl-check .page-intro-line{margin:0 0 8px;color:#5a6f8a;font-size:14px}
.sg-dns .rl-add-allow{padding:12px 20px 4px}.sg-dns .rl-empty{padding:12px 20px}
/* Rules page: protection levels, and the holiday / extra time block */
.sg-dns .rl-levels{margin:0 0 16px}.sg-dns .rl-level-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;padding:6px 0 10px}
.sg-dns .rl-level-grid .v6f-inline{display:block}
.sg-dns .rl-level{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;height:100%;box-sizing:border-box;text-align:left;border:1.5px solid #9db4cf!important;border-radius:16px!important;background:#fff!important;color:#0c2f57!important;padding:12px 14px!important;min-height:0;cursor:pointer}
.sg-dns .rl-level strong{font-size:16px}.sg-dns .rl-level span{font-size:13px;color:#5a6f8a;font-weight:400}.sg-dns .rl-level em{font-style:normal;font-size:12px;font-weight:700;color:#174c8f;background:#d6e6f8;border-radius:999px;padding:2px 10px}
.sg-dns .rl-level.is-current{border-color:#1f5fae!important;background:#e6f0fb!important}.sg-dns .rl-level:hover{border-color:#1f5fae!important}
.sg-dns .rl-one-off .dns-calendar{background:#fff;border-radius:24px;padding:20px 24px;margin:0 0 16px}
.sg-dns .rl-one-off .dns-calendar h2{margin:0 0 8px}.sg-dns .rl-one-off details{border-top:1px solid #e1e9f3;padding:10px 0}
.sg-dns .rl-one-off summary{font-weight:700;cursor:pointer}.sg-dns .rl-one-off .calendar-fields{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0}
.sg-dns .rl-one-off .calendar-fields label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#5a6f8a}.sg-dns .rl-one-off fieldset{border:0;padding:0;margin:0}
.sg-dns .rl-one-off legend{font-weight:700;margin:6px 0}.sg-dns .rl-one-off .calendar-weekday{display:flex;gap:14px;flex-wrap:wrap;margin:8px 0}
.sg-dns .rl-one-off .calendar-boundary{font-size:13px;color:#5a6f8a;margin:10px 0 0}.sg-dns .rl-one-off .calendar-current{background:#e6f0fb;border-radius:14px;padding:10px 14px;margin:8px 0}
/* Rules page: own times for one app, the intro line, and the Always allowed card lined up with the rows */
.sg-dns .rl-own{margin-right:4px;vertical-align:baseline;background:#e6f0fb;color:#174c8f;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700}
.sg-dns .rl-list>.v6-card-sub{padding:2px 24px 12px;margin:0}.sg-dns .rl-list>.rl-empty{padding:12px 24px}.sg-dns .rl-add-allow{padding:12px 24px 4px}
.sg-dns .rl-own-help{margin:6px 0 14px}
/* == end v6 blue == */

/* DNS workspace. The frame, settings and check results use the same surfaces. */
body.sg-dns.v6-shell {
  --dns-paper: #f5f8fc;
  --dns-surface: #fff;
  --dns-tint: #eaf3ff;
  --dns-ink: #152f4d;
  --dns-muted: #4b627b;
  --dns-link: #185d9e;
  --dns-stroke: #cbd8e6;
  --dns-field: #718aa4;
  --dns-nav: #0c2f57;
  --dns-focus: #1664ad;
  --v6-canvas: var(--dns-paper);
  --v6-card: var(--dns-surface);
  --v6-ink: var(--dns-ink);
  --v6-muted: var(--dns-muted);
  --v6-line: var(--dns-stroke);
}
.sg-dns.v6-shell .v6-frame {
  min-width: 0;
  background: var(--dns-paper);
}
.sg-dns.v6-shell .v6-header.v6f-header {
  align-items: center;
  gap: 10px;
  padding-block: 14px;
  background: var(--dns-surface);
  border-bottom: 1px solid var(--dns-stroke);
}
.sg-dns.v6-shell .v6f-header .v6f-top-title {
  margin: 0 auto 0 0;
  color: var(--dns-ink);
  font-size: clamp(21px, 2vw, 27px);
}
.sg-dns.v6-shell .v6f-header :is(.v6-add, .nav-logout) {
  min-height: 44px;
  border-radius: 12px;
}
.sg-dns.v6-shell .v6f-header .nav-logout {
  border: 1px solid var(--dns-stroke);
  background: var(--dns-surface);
  color: var(--dns-link);
}
.sg-dns.v6-shell .v6f-header .nav-logout:hover { background: var(--dns-tint); }
.sg-dns.v6-shell .v6f-page { gap: 16px; }
.sg-dns.v6-shell .v6f-page :is(.v6-card, .v6-list, .v6f-fold),
.sg-dns.v6-shell .v6f-fold {
  border: 1px solid var(--dns-stroke);
  border-radius: 16px;
  background: var(--dns-surface);
  color: var(--dns-ink);
}
.sg-dns.v6-shell .v6f-fold > summary { min-height: 50px; border-radius: 16px; }
.sg-dns.v6-shell .v6f-page :is(.v6-card-title, .v6-row-title, .v6-group-title) {
  color: var(--dns-ink);
  letter-spacing: -.015em;
}
.sg-dns.v6-shell .v6f-page :is(.v6-card-sub, .v6-page-sub, .v6-row-sub) {
  color: var(--dns-muted);
}
.sg-dns.v6-shell :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--dns-focus);
  outline-offset: 2px;
}
.sg-dns.v6-shell .v6-sidebar :focus-visible,
.sg-dns.v6-shell .sg-foot :focus-visible { outline-color: #a6d4ff; }
@media (min-width: 701px) {
  .sg-dns.v6-shell.v6-classic .v6-sidebar { background: var(--dns-nav); }
  .sg-dns.v6-shell.v6-classic .v6-nav { gap: 3px; }
  .sg-dns.v6-shell.v6-classic .v6-nav-item { min-height: 46px; border-radius: 11px; }
  .sg-dns.v6-shell.v6-classic .v6-nav-item[aria-current] {
    background: #dcecff;
    color: #103659;
    box-shadow: inset 3px 0 #71adf0;
  }
  .sg-dns.v6-shell.v6-classic .v6-nav-item .v6f-nav-art {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
}

/* Home uses one short status banner followed by the devices and their actions. */
.sg-dns.v6-shell .v6f-home .v6f-hero {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid #bcd2e9;
  border-radius: 18px;
  background: var(--dns-tint);
  color: var(--dns-ink);
}
.sg-dns.v6-shell .v6f-home .v6f-hero--attention { border-inline-start: 4px solid #b06a16; }
.sg-dns.v6-shell .v6f-home .v6f-hero-art {
  order: 1;
  width: clamp(92px, 16vw, 174px);
  height: 100px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
.sg-dns.v6-shell .v6f-home .v6f-hero h1 {
  color: var(--dns-ink);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.16;
  text-wrap: balance;
}
.sg-dns.v6-shell .v6f-home .v6f-hero .v6-page-sub { color: var(--dns-muted); }
.sg-dns.v6-shell .v6f-home .v6f-hello {
  margin: 0 0 5px;
  padding: 0;
  color: var(--dns-link);
  background: transparent;
}
.sg-dns.v6-shell .v6f-home .v6f-devices { gap: 12px; }
.sg-dns.v6-shell .v6f-home .v6f-device { gap: 12px; padding: 16px; }
.sg-dns.v6-shell .v6f-home .v6f-device-head { gap: 12px; min-height: 44px; align-items: center; }
.sg-dns.v6-shell .v6f-home .v6f-device-art { width: 44px; height: 44px; border-radius: 12px; }
.sg-dns.v6-shell .v6f-home .v6f-device .v6-btn { min-height: 44px; }
.sg-dns.v6-shell .v6f-home .v6-progress.v6f-bar { height: 8px; margin: 12px 0 4px; }
.sg-dns.v6-shell .dns-overview-action { margin-top: 12px; }
.sg-dns.v6-shell .dns-other-devices > summary {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 6px;
  box-sizing: border-box;
  cursor: pointer;
  color: var(--dns-link);
  font-weight: 800;
}
.sg-dns.v6-shell .dns-other-devices[open] > summary { margin-bottom: 6px; }
.sg-dns.v6-shell .v6-sidebar .dns-nav-help { margin-top: 12px; }

/* Current actions and saved groups share the same spacing and keyboard affordances. */
.sg-dns.v6-shell .rl-page .rl-now {
  padding: 15px 18px;
  border-inline-start: 4px solid var(--dns-link);
  background: var(--dns-tint);
}
.sg-dns.v6-shell .rl-now-text { min-width: min(12rem, 100%); }
.sg-dns.v6-shell .rl-page :is(.rl-now-text span, .rl-label, .rl-help, .rl-time, .rl-level span) {
  color: var(--dns-muted);
}
.sg-dns.v6-shell .rl-page .rl-row { padding: 12px 18px; gap: 10px; }
.sg-dns.v6-shell .rl-page .rl-ic { width: 44px; height: 44px; color: var(--dns-muted)!important; }
.sg-dns.v6-shell .rl-page .rl-ic:hover { background: var(--dns-tint)!important; color: var(--dns-link)!important; }
.sg-dns.v6-shell .rl-chip span { display: inline-flex; min-height: 44px; align-items: center; box-sizing: border-box; }
.sg-dns.v6-shell .rl-page :is(.rl-text, .rl-time input, .rl-chip span) {
  border-color: var(--dns-field);
  background: var(--dns-surface);
  color: var(--dns-ink);
}
.sg-dns.v6-shell .rl-page .rl-chip input:checked + span {
  background: #175995; border-color: #175995; color: #fff;
}
.sg-dns.v6-shell .rl-page .rl-level {
  background: var(--dns-surface)!important;
  border-color: var(--dns-field)!important;
  color: var(--dns-ink)!important;
}
.sg-dns.v6-shell .rl-page .rl-level.is-current {
  border-color: var(--dns-link)!important;
  background: var(--dns-tint)!important;
}
.sg-dns.v6-shell .rl-page .rl-one-off .dns-calendar {
  border: 1px solid var(--dns-stroke);
  border-radius: 16px;
  background: var(--dns-surface);
}
.sg-dns.v6-shell .rl-page .rl-one-off .dns-calendar :is(h2, summary, legend) { color: var(--dns-ink); }
.sg-dns.v6-shell .rl-page .rl-one-off :is(.calendar-boundary, .calendar-fields label) { color: var(--dns-muted); }
.sg-dns.v6-shell .rl-page .rl-one-off .calendar-current {
  background: var(--dns-tint);
  color: var(--dns-ink);
}
.sg-dns.v6-shell .rl-page .rl-check .decision { background: var(--dns-surface); color: var(--dns-ink); }
.sg-dns.v6-shell .rl-page .rl-check .check-blocked { border-inline-start: 4px solid #b34632; }
.sg-dns.v6-shell .rl-page .rl-check :is(.field-label, .page-intro-line) { color: var(--dns-muted); }
.sg-dns.v6-shell .rl-page .rl-check .field-label { min-width: min(200px, 100%); }
.sg-dns.v6-shell .rl-page :is(.v6-row-text, .v6-card-sub) { overflow-wrap: anywhere; }
.sg-dns.v6-shell .rl-page .rl-list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 18px;
}
.sg-dns.v6-shell .rl-page .rl-list-tools .v6-card-title { margin: 0; }
.sg-dns.v6-shell .rl-page > details.v6-fold {
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--dns-stroke);
  border-radius: 16px;
  background: var(--dns-surface);
  color: var(--dns-ink);
}
.sg-dns.v6-shell .rl-page > details.v6-fold > summary {
  padding: 14px 0;
  min-height: 48px;
  box-sizing: border-box;
  font-weight: 800;
  cursor: pointer;
}
.sg-dns.v6-shell .rl-page > details.v6-fold[open] { padding-bottom: 16px; }
.sg-dns.v6-shell .rl-page .rl-editor-fold > .v6-card,
.sg-dns.v6-shell .rl-page .rl-tools-fold > .rl-list {
  border: 0; padding: 0; border-radius: 0; box-shadow: none;
}
.sg-dns.v6-shell .rl-tool-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 8px;
}
.sg-dns.v6-shell .rl-tool-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--dns-tint);
  color: var(--dns-link);
  font-weight: 700;
}
.sg-dns.v6-shell .rl-form fieldset.rl-group {
  min-width: 0; padding: 0; margin: 0 0 16px; border: 0;
}
.sg-dns.v6-shell .rl-form .rl-group > legend {
  padding: 0; margin: 0 0 6px; font-weight: 800; color: var(--dns-ink);
}

/* Keep long setup choices and domains usable on a narrow screen. */
.sg-dns.v6-shell .dns-mobile-brand { display: none; }
.sg-dns.v6-shell[data-page=connect] .v6-choice { min-width: 0; }
.sg-dns.v6-shell[data-page=connect] :is(.v6-choice-title, .v6-choice-sub) { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .sg-dns.v6-shell .v6-header.v6f-header { padding-block: 9px; gap: 6px; }
  .sg-dns.v6-shell .v6f-header .dns-mobile-brand {
    display: inline-flex; align-items: center; order: -1; gap: 6px; margin-right: auto;
    min-height: 44px; color: var(--dns-ink); font-size: 15px; font-weight: 800;
    letter-spacing: -.025em; line-height: 1.15; text-decoration: none; white-space: nowrap;
  }
  .sg-dns.v6-shell .dns-mobile-brand img { flex-shrink: 0; }
  .sg-dns.v6-shell .v6f-page { gap: 12px; }
  .sg-dns.v6-shell .v6f-home .v6f-hero { flex-direction: row; padding: 16px; gap: 10px; }
  .sg-dns.v6-shell .v6f-home .v6f-hero-art { width: 78px; height: 68px; }
  .sg-dns.v6-shell .rl-page .rl-row { padding: 12px 14px; gap: 3px 10px; }
  .sg-dns.v6-shell .rl-level-grid { grid-template-columns: repeat(auto-fit,minmax(min(185px,100%),1fr)); }
  .sg-dns.v6-shell .rl-page .rl-now { padding: 12px; }
  .sg-dns.v6-shell .rl-page .rl-actions { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .sg-dns.v6-shell .v6f-header a.nav-logout {
    position: relative; justify-content: center; width: 44px; min-width: 44px; padding: 0;
  }
  .sg-dns.v6-shell .v6f-header .dns-logout-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .sg-dns.v6-shell .v6f-home .v6f-hero-art { display: none; }
  .sg-dns.v6-shell .rl-page .rl-time { flex: 1 0 100%; }
}
@media (max-width: 360px) {
  .sg-dns.v6-shell .v6f-header .dns-mobile-brand { font-size: 13px; gap: 3px; white-space: normal; }
  .sg-dns.v6-shell .v6f-header a.v6-add { padding-inline: 8px; font-size: 13px; white-space: nowrap; }
}

/* Classic DNS intentionally uses the light theme. Embedded and theme-aware pages
   use the browser's selected colour scheme, including system preference. */
@supports (color: light-dark(black, white)) {
  body.sg-dns.v6-shell {
    --dns-paper: light-dark(#f5f8fc, #111d2b);
    --dns-surface: light-dark(#fff, #1a2a3c);
    --dns-tint: light-dark(#eaf3ff, #223c59);
    --dns-ink: light-dark(#152f4d, #eff5ff);
    --dns-muted: light-dark(#4b627b, #c1d1e4);
    --dns-link: light-dark(#185d9e, #a5d0ff);
    --dns-stroke: light-dark(#cbd8e6, #475f78);
    --dns-field: light-dark(#718aa4, #90abc5);
    --dns-focus: light-dark(#1664ad, #a6d4ff);
  }
}
.sg-dns .dns-rules-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 20px; }
.sg-dns .dns-rules-heading .v6-page-head { margin:0; }
.sg-dns .dns-rules-for-switch { display:inline-flex; align-items:center; min-height:44px; font-weight:700; }

/* Reuse the setup illustrations on cards and in the DNS profile picker. */
.sg-dns .dns-platform-picture {
  box-sizing: border-box;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dns-stroke, #cbd8e6);
  border-radius: 12px;
  background: var(--dns-tint, #eaf3ff);
  color: var(--dns-link, #185d9e);
}
.sg-dns .dns-platform-picture .control-tab-picture {
  display: contents;
}
.sg-dns .dns-platform-picture svg {
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
}
.sg-dns .dns-profile-picker .who-card > .dns-platform-picture { grid-row: span 2; }
.sg-dns.v6-shell .v6-nav-item > svg,
.sg-dns.v6-shell .v6-bottom-pill > svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8px;
}
.sg-dns.v6-shell.v6-classic .v6-bottom-item[aria-current] .v6-bottom-pill {
  color: #103659;
  background: #dcecff;
}

/* Rules page: choose app by app (20 Nov 2026) */
.sg-dns .rl-apps>.v6-card-sub,.sg-dns .rl-apps>.rl-group-now{margin:8px 0 12px}
.sg-dns .rl-chip-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.sg-dns .rl-chip-link{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #9db4cf;border-radius:999px;padding:8px 14px;color:#0c2f57;text-decoration:none;font-weight:700;font-size:14px;background:#fff;min-height:40px;box-sizing:border-box}
.sg-dns .rl-chip-link:hover{border-color:#1f5fae}.sg-dns .rl-chip-link.is-current{background:#1f5fae;border-color:#1f5fae;color:#fff}
.sg-dns .rl-chip-link em{font-style:normal;font-size:12px;background:#d6e6f8;color:#174c8f;border-radius:999px;padding:1px 8px}
.sg-dns .rl-group-now{background:#e6f0fb;border-radius:14px;padding:10px 14px;color:#0c2f57}
.sg-dns .rl-app-row{border-top:1px solid #e1e9f3;padding:10px 0}
.sg-dns .rl-app-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.sg-dns .rl-app-btn{min-height:36px!important;padding:6px 12px!important;font-size:13px!important;border-radius:999px!important}
.sg-dns .rl-app-row .app-logo{width:24px;height:24px}
@media (max-width:700px){.sg-dns .rl-app-row{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center}
.sg-dns .rl-app-row .rl-app-actions{grid-column:1/-1;justify-content:flex-start}}

/* Help me set up (dns_guide.py), 20 Nov 2026 */
.sg-dns .dg{max-width:880px;margin:0 auto;color:#152f4d}
.sg-dns .dg-kicker{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#1f5fae}
.sg-dns .dg-steps{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:0 0 20px;padding:0;counter-reset:none}
.sg-dns .dg-step{position:relative;text-align:center}
.sg-dns .dg-step:not(:first-child)::before{content:"";position:absolute;top:19px;right:50%;width:100%;height:3px;background:#d3deea;z-index:0}
.sg-dns .dg-step.dg-done:not(:first-child)::before,.sg-dns .dg-step.dg-current:not(:first-child)::before{background:#1f5fae}
.sg-dns .dg-step a{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#5a6f8a;font-size:13px;font-weight:700}
.sg-dns .dg-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;border:3px solid #d3deea;color:#5a6f8a;font-size:16px;font-weight:800;box-sizing:border-box}
.sg-dns .dg-done .dg-mark{background:#1f5fae;border-color:#1f5fae;color:#fff}
.sg-dns .dg-current .dg-mark{border-color:#1f5fae;color:#1f5fae;box-shadow:0 0 0 5px #d6e6f8}
.sg-dns .dg-current a{color:#0c2f57}.sg-dns .dg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sg-dns .dg-card{background:#fff;border:1px solid #d3deea;border-radius:28px;padding:28px 32px;box-shadow:0 10px 30px rgba(12,47,87,.07)}
.sg-dns .dg-card h1{margin:2px 0 10px;font-size:30px;line-height:1.15;color:#0c2f57}
.sg-dns .dg-count{margin:0;font-size:13px;font-weight:800;color:#1f5fae;letter-spacing:.04em;text-transform:uppercase}
.sg-dns .dg-for{float:right;margin:0;font-size:13px;color:#5a6f8a;background:#eef3fa;border-radius:999px;padding:6px 12px}
.sg-dns .dg-lead{font-size:17px;line-height:1.5;margin:0 0 18px;color:#2b4664}
.sg-dns .dg-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 20px;align-items:start}
.sg-dns .dg-next-choices{grid-template-columns:repeat(3,1fr)}
.sg-dns .dg-choice{display:flex;flex-direction:column;gap:8px;border:2px solid #cbd8e6;border-radius:22px;padding:20px;background:#fff;color:#152f4d;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.sg-dns a.dg-choice:hover,.sg-dns .dg-choice>summary:hover{border-color:#1f5fae}
.sg-dns a.dg-choice:hover{box-shadow:0 10px 24px rgba(31,95,174,.16);transform:translateY(-2px)}
.sg-dns .dg-choice strong{font-size:19px;color:#0c2f57}.sg-dns .dg-choice span{font-size:15px;line-height:1.45;color:#4b627b}
.sg-dns .dg-choice em{font-style:normal;font-size:13px;color:#5a6f8a}
.sg-dns .dg-choice-art{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#e6f0fb}
.sg-dns .dg-choice-art svg,.sg-dns .dg-choice-art img{width:36px;height:36px}
.sg-dns .dg-go{align-self:flex-start;margin-top:6px;background:#1f5fae;color:#fff!important;font-weight:800;font-size:14px!important;border-radius:999px;padding:9px 18px}
.sg-dns details.dg-choice>summary{list-style:none;display:flex;flex-direction:column;gap:8px;cursor:pointer}
.sg-dns details.dg-choice>summary::-webkit-details-marker{display:none}
.sg-dns details.dg-choice[open]{border-color:#1f5fae;grid-column:1/-1}.sg-dns details.dg-choice[open]>summary .dg-go{display:none}
.sg-dns .dg-label{display:block;margin:16px 0 8px;font-weight:800;font-size:15px;color:#0c2f57;padding:0}
.sg-dns .dg-input{width:100%;max-width:420px;box-sizing:border-box;border:1.5px solid #718aa4;border-radius:14px;padding:12px 14px;font-size:16px}
.sg-dns .dg-kinds{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.sg-dns .dg-choices:has(details.dg-choice[open]){grid-template-columns:1fr}
.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice{display:grid;grid-template-columns:64px 1fr auto;column-gap:18px;align-items:center}
.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice .dg-choice-art{grid-row:1/4}
.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice .dg-go{grid-column:3;grid-row:1/4;align-self:center;margin:0}
.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice>strong,.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice>span:not(.dg-choice-art):not(.dg-go),.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice>em{grid-column:2}
.sg-dns .dg-kind{position:relative;display:block;cursor:pointer}
.sg-dns .dg-kind input{position:absolute;opacity:0;width:1px;height:1px}
.sg-dns .dg-kind-face{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border:2px solid #cbd8e6;border-radius:18px;padding:14px 10px;height:100%;box-sizing:border-box;background:#fff}
.sg-dns .dg-kind-face svg,.sg-dns .dg-kind-face img{width:34px;height:34px}
.sg-dns .dg-kind-face strong{font-size:14px;color:#0c2f57}.sg-dns .dg-kind-face small{font-size:12px;color:#5a6f8a}
.sg-dns .dg-kind input:checked+.dg-kind-face{border-color:#1f5fae;background:#e6f0fb;box-shadow:0 0 0 3px #d6e6f8}
.sg-dns .dg-kind input:focus-visible+.dg-kind-face{outline:3px solid #8cc4ff;outline-offset:2px}
.sg-dns .dg-add .dg-next{margin-top:18px}
.sg-dns .dg-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 6px}
.sg-dns .dg-chip{display:inline-flex;align-items:center;gap:8px;border:1.5px solid #9db4cf;border-radius:999px;padding:8px 16px 8px 10px;background:#fff;color:#0c2f57;text-decoration:none;font-weight:700}
.sg-dns .dg-chip svg,.sg-dns .dg-chip img{width:24px;height:24px}.sg-dns .dg-chip:hover{border-color:#1f5fae}
.sg-dns .dg-panel{border:1px solid #d3deea;border-radius:20px;padding:18px 20px;margin:0 0 20px;background:#f8fbfe}
.sg-dns .dg-panel h3{margin:14px 0 8px;font-size:17px;color:#0c2f57}.sg-dns .dg-panel h3:first-child{margin-top:0}
.sg-dns .dg-device{display:flex;gap:18px;align-items:flex-start}.sg-dns .dg-list{margin:0 0 14px;padding-left:22px;line-height:1.6}
.sg-dns .dg-small,.sg-dns .dg-note{font-size:14px;color:#5a6f8a}
.sg-dns .dg-status{display:flex;gap:14px;align-items:center;border-radius:18px;padding:14px 18px;margin:0 0 16px}
.sg-dns .dg-status strong{display:block;font-size:17px}.sg-dns .dg-status span{font-size:14px}
.sg-dns .dg-status-mark{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;font-weight:800;font-size:20px!important;color:#fff!important}
.sg-dns .dg-ok{background:#e7f6ee;color:#0f4a2f}.sg-dns .dg-ok .dg-status-mark{background:#1a8a55}
.sg-dns .dg-wait{background:#fff5e0;color:#5b4208}.sg-dns .dg-wait .dg-status-mark{background:#b97a06}
.sg-dns .dg-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 20px}
.sg-dns .dg-level-form{display:block;margin:0}
.sg-dns .dg-level{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;height:100%;text-align:left;border:2px solid #cbd8e6!important;border-radius:20px!important;background:#fff!important;color:#152f4d!important;padding:16px!important;cursor:pointer;box-sizing:border-box;min-height:0}
.sg-dns .dg-level strong{font-size:18px;color:#0c2f57}.sg-dns .dg-level span{font-size:14px;line-height:1.45;color:#4b627b;font-weight:400}
.sg-dns .dg-level em{font-style:normal;font-size:13px;font-weight:800;border-radius:999px;padding:4px 12px;background:#1a8a55;color:#fff;margin-top:auto}
.sg-dns .dg-level em.dg-pick{background:#e6f0fb;color:#174c8f}
.sg-dns .dg-level:hover{border-color:#1f5fae!important}.sg-dns .dg-level.is-current{border-color:#1a8a55!important;background:#f3fbf6!important}
.sg-dns .dg-help{border-radius:20px;background:#eef5fd;padding:16px 20px;margin:4px 0 0}
.sg-dns .dg-help h3{margin:0 0 6px;font-size:15px;color:#0c2f57}
.sg-dns .dg-help details{border-top:1px solid #d3deea;padding:10px 0}.sg-dns .dg-help details:first-of-type{border-top:0}
.sg-dns .dg-help summary{cursor:pointer;font-weight:700;color:#174c8f}.sg-dns .dg-help details p{margin:8px 0 0;line-height:1.55;color:#2b4664}
.sg-dns .dg-help-links{margin:10px 0 0;font-size:14px}
.sg-dns .dg-summary{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px}
.sg-dns .dg-summary li{display:flex;gap:10px;align-items:center;border-radius:14px;padding:10px 14px;background:#f3f8fd}
.sg-dns .dg-summary li span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;font-weight:800;flex:none}
.sg-dns .dg-yes span{background:#1a8a55}.sg-dns .dg-no{background:#fff5e0!important}.sg-dns .dg-no span{background:#b97a06}
.sg-dns .dg-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 8px}
.sg-dns .dg-next{font-size:16px!important;padding:13px 24px!important}
.sg-dns .dg-foot{text-align:center;font-size:13px;color:#5a6f8a;margin:6px 0 0}
.sg-dns .dg-saved{background:#e7f6ee;color:#0f4a2f;border-radius:12px;padding:8px 14px;display:inline-block;margin:0 0 12px;font-weight:700}
.sg-dns .dg-hide{margin:4px 0 0}.sg-dns .dg-link{background:none!important;border:0!important;color:#185d9e!important;text-decoration:underline;padding:0!important;min-height:0!important;font-size:14px;cursor:pointer}
.sg-dns .dg-home{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(120deg,#0c2f57,#1f5fae);color:#fff;border-radius:24px;padding:20px 24px;margin:0 0 16px}
.sg-dns .dg-home h2{margin:0 0 4px;font-size:22px;color:#fff}.sg-dns .dg-home p{margin:0;color:#dbe9fa}.sg-dns .dg-home .dg-kicker{color:#8cc4ff;margin-bottom:4px}
.sg-dns .dg-home .v6-btn{background:#fff!important;color:#0c2f57!important;border-color:#fff!important;white-space:nowrap}
.sg-dns .dg-back{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;background:#e6f0fb;border:1.5px solid #a9c9ec;border-radius:18px;padding:14px 18px;margin:20px 0 0;font-weight:700;color:#0c2f57}
@media (max-width:700px){.sg-dns .dg-card{padding:20px 16px;border-radius:22px}.sg-dns .dg-card h1{font-size:24px}
.sg-dns .dg-choices,.sg-dns .dg-next-choices{grid-template-columns:1fr}.sg-dns .dg-step-name{font-size:11px}
.sg-dns .dg-step:not(.dg-current) .dg-step-name{display:none}.sg-dns .dg-for{float:none;display:inline-block;margin:0 0 10px}
.sg-dns .dg-choices:has(details.dg-choice[open])>a.dg-choice{display:flex}.sg-dns .dg-device{flex-direction:column}.sg-dns .dg-kinds{grid-template-columns:repeat(2,1fr)}.sg-dns .dg-home{flex-direction:column;align-items:flex-start}
.sg-dns .dg-nav{position:sticky;bottom:70px;background:rgba(245,248,252,.96);padding:10px 0;z-index:5}.sg-dns .dg-next{flex:1;text-align:center;justify-content:center}}

/* Step-by-step setup fixes (20 Nov 2026 walkthrough): one status per step, quiet Skip, short step 2, recommended level, one way on */
.sg-dns .dg-nav-right{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.sg-dns .dg-skip{color:#185d9e;font-size:15px;font-weight:600;text-decoration:underline;padding:10px 4px}
.sg-dns .dg-route h3{font-size:18px}.sg-dns .dg-route p{margin:0 0 10px;line-height:1.5}
.sg-dns .dg-link-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 18px}.sg-dns .dg-link-form{margin:0}
.sg-dns .dg-link-failed{margin:0 0 12px}
.sg-dns .dg-linked{margin:0 0 16px;font-weight:700}
.sg-dns .dg-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:0 0 12px}
.sg-dns .dg-numbers .dns-number span:first-child{font-weight:800;color:#0c2f57}
.sg-dns .dg-v6{margin:0 0 16px}.sg-dns .dg-v6>summary{cursor:pointer;color:#174c8f;font-weight:700;font-size:15px}
.sg-dns .dg-v6[open]>summary{margin-bottom:8px}
.sg-dns .dg-picker{display:none}
.sg-dns .dg-test{border:1px solid #d3deea;border-radius:18px;background:#f8fbfe;padding:12px 16px;margin:0 0 18px}
.sg-dns .dg-test>summary{cursor:pointer;font-weight:700;color:#174c8f;font-size:15px}
.sg-dns .dg-test[open]>summary{margin-bottom:12px}
.sg-dns .dg-test .status-hero{margin:0}
.sg-dns .dg-test .dg-refresh{display:none;margin:12px 0 0}
.sg-dns .dg-test:has(#live-check.status-ok) .dg-refresh{display:block}
.sg-dns .dg-level{position:relative}
.sg-dns .dg-level.dg-recommended{border-color:#1f5fae!important;box-shadow:0 0 0 3px #d6e6f8}
.sg-dns .dg-level.dg-recommended.is-current{border-color:#1a8a55!important;box-shadow:none}
.sg-dns .dg-badge{display:inline-block;align-self:flex-start;white-space:nowrap;font-size:12px;font-weight:800;letter-spacing:.02em;border-radius:999px;padding:4px 10px;background:#1f5fae;color:#fff}
.sg-dns .dg-level-note{margin:-6px 0 20px;font-size:15px;line-height:1.5;color:#2b4664;background:#eef5fd;border-radius:14px;padding:12px 16px}
.sg-dns .dg-rules-card{display:grid;grid-template-columns:64px 1fr auto;column-gap:18px;align-items:center;margin:0 0 14px}
.sg-dns .dg-rules-card .dg-go{margin:0;align-self:center}
.sg-dns .dg-rules-text{display:flex;flex-direction:column;gap:4px}
.sg-dns .dg-rules-card.is-main{border-color:#1f5fae;background:#f3f8fe;box-shadow:0 10px 24px rgba(31,95,174,.12)}
.sg-dns .dg-rules-card:not(.is-main) .dg-go{background:#e6f0fb;color:#174c8f!important}
.sg-dns .dg-more{margin:0 0 6px;font-size:15px;line-height:1.8}
.sg-dns .dg-home-rules{background:linear-gradient(120deg,#0f4a2f,#1a8a55)}
.sg-dns .dg-home-rules .dg-kicker{color:#bfeed5}
@media (max-width:700px){.sg-dns .dg-nav{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"back next" "skip skip";gap:4px 10px}
.sg-dns .dg-nav>:first-child{grid-area:back}.sg-dns .dg-nav-right{display:contents}.sg-dns .dg-nav-right .dg-next{grid-area:next}
.sg-dns .dg-skip{grid-area:skip;justify-self:center;font-size:14px;padding:4px 8px}.sg-dns .dg-nav .dg-next{padding:12px 14px!important;font-size:15px!important;line-height:1.25}
.sg-dns .dg-rules-card{display:flex}.sg-dns .dg-rules-card .dg-go{align-self:stretch;text-align:center}}

/* pictures inside the group chips and the app-by-app group links (20 Nov 2026) */
.sg-dns .rl-chip span .v6-icon{vertical-align:-3px;margin-right:2px}
.sg-dns .rl-chip-link .v6-icon{flex:none}

/* Help me set up rules (rules_guide.py), 20 Nov 2026: builds on the .dg-* guide styles */
.sg-dns .rl-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.sg-dns .rg-entry-btn{display:inline-flex;align-items:center;gap:6px}
.sg-dns .rg-entry{margin:0 0 16px}
.sg-dns .rg-goals{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.sg-dns .rg-times{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.sg-dns .rg-choice .dg-choice-art{width:56px;height:56px;border-radius:16px;color:#1f5fae}
.sg-dns .rg-choice .dg-choice-art svg{width:30px;height:30px}
.sg-dns .rg-slim{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px}
.sg-dns .rg-slim .dg-go{margin:0 0 0 auto}.sg-dns .rg-slim>span:not(.dg-choice-art):not(.dg-go){flex-basis:60%}
.sg-dns .rg-or{margin:18px 0 12px}
.sg-dns .rg-groups .rl-chips{gap:10px;margin-bottom:16px}
.sg-dns .rg-group span{display:inline-flex!important;align-items:center;gap:8px;padding:12px 18px!important;font-size:15px!important}
.sg-dns .rg-more{border:1.5px solid #cbd8e6;border-radius:18px;padding:14px 18px;margin:0 0 16px;background:#fff}
.sg-dns .rg-more>summary{cursor:pointer;font-weight:800;color:#0c2f57;display:flex;align-items:center;gap:8px;list-style:none}
.sg-dns .rg-more>summary::-webkit-details-marker{display:none}.sg-dns .rg-more>summary::after{content:"+";margin-left:auto;font-size:20px;color:#1f5fae}
.sg-dns .rg-more[open]>summary::after{content:"–"}.sg-dns .rg-more[open]{border-color:#1f5fae}
.sg-dns .rg-inline{margin:6px 0 0}.sg-dns .rg-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:8px 0}
.sg-dns .rg-row .dg-input{flex:1;min-width:200px}
.sg-dns .rg-apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:0 0 18px}
.sg-dns .rg-app{display:flex;align-items:center;gap:10px;border:1.5px solid #cbd8e6;border-radius:14px;padding:10px 12px;background:#fff;color:#0c2f57;text-decoration:none;font-weight:700;font-size:14px;min-height:48px;box-sizing:border-box}
.sg-dns .rg-app:hover{border-color:#1f5fae;box-shadow:0 6px 16px rgba(31,95,174,.14)}
.sg-dns .rg-app .app-logo,.sg-dns .rg-app svg,.sg-dns .rg-app img{width:26px;height:26px;flex:none}
.sg-dns .rg-sentence{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(120deg,#0c2f57,#1f5fae);color:#fff;border-radius:22px;padding:20px 22px;margin:0 0 16px}
.sg-dns .rg-sentence p{margin:0;font-size:20px;line-height:1.4;font-weight:700;color:#fff}.sg-dns .rg-sentence svg{flex:none;color:#8cc4ff;margin-top:2px}
.sg-dns .rg-notes{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}
.sg-dns .rg-notes li{display:flex;gap:10px;align-items:flex-start;background:#fff5e0;color:#5b4208;border-radius:14px;padding:10px 14px;line-height:1.45}
.sg-dns .rg-notes svg{flex:none;margin-top:2px;color:#b97a06}
.sg-dns .rg-save{margin:14px 0}.sg-dns .rg-blocker a{color:inherit;font-weight:800}
.sg-dns .rg-h2{margin:6px 0 10px;font-size:18px;color:#0c2f57}
.sg-dns .rg-rules{list-style:none;margin:0 0 20px;padding:0;border:1px solid #d3deea;border-radius:18px;overflow:hidden}
.sg-dns .rg-rules li{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:space-between;padding:12px 16px;border-top:1px solid #e1e9f3;background:#fff}
.sg-dns .rg-rules li:first-child{border-top:0}.sg-dns .rg-rules span{color:#4b627b}
.sg-dns .dg-link-quiet{font-size:14px;color:#5a6f8a}
.sg-dns .rg-steps{grid-template-columns:repeat(4,1fr)}
@media (max-width:700px){.sg-dns .rg-sentence p{font-size:17px}.sg-dns .rg-apps{grid-template-columns:1fr 1fr}
.sg-dns .rg-slim .dg-go{margin:6px 0 0}.sg-dns .rl-tools{justify-content:flex-start}}

/* Help me set up rules, merged design (20 Nov 2026) */
.sg-dns .rg-done-choices{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.sg-dns .rg-sofar{margin:0 0 14px;padding:8px 14px;border-radius:12px;background:#eef3fa;color:#2b4664;font-size:15px;display:inline-block}
.sg-dns .rg-why{margin:-10px 0 14px;text-align:center;font-size:13px;color:#5a6f8a}
.sg-dns .rg-tiles{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.sg-dns .rg-tile{padding:14px 16px;gap:4px;border-radius:18px}
.sg-dns .rg-tile .dg-choice-art{width:46px;height:46px;border-radius:14px}
.sg-dns .rg-tile strong{font-size:16px}.sg-dns .rg-tile span{font-size:13px}
.sg-dns .rg-tile em{align-self:flex-start;background:#fff5e0;color:#5b4208;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700}
.sg-dns .rg-h3{margin:14px 0 8px;font-size:15px;color:#0c2f57}
.sg-dns .rg-app-state span{display:flex;flex-direction:column;gap:1px;min-width:0}.sg-dns .rg-app-state small{font-weight:400;color:#5a6f8a;font-size:12px}
.sg-dns .rg-days{display:inline-flex;gap:4px;margin:2px 0}
.sg-dns .rg-days i{font-style:normal;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:11px;font-weight:800;background:#eef3fa;color:#7389a3}
.sg-dns .rg-days i.on{background:#1f5fae;color:#fff}
.sg-dns .rg-reads{margin:0 0 10px;color:#2b4664;font-size:15px}
.sg-dns .rg-warn{display:flex;gap:10px;align-items:flex-start;background:#fff5e0;color:#5b4208;border-radius:14px;padding:12px 14px;margin:0 0 10px;line-height:1.5}
.sg-dns .rg-warn p{margin:0}.sg-dns .rg-warn svg{flex:none;margin-top:2px;color:#b97a06}.sg-dns .rg-warn a{color:#5b4208;font-weight:800}
.sg-dns .rg-stop>div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.sg-dns .rg-notes li{background:#f3f8fd;color:#2b4664;display:block}
.sg-dns .rg-clean{color:#0f4a2f;font-weight:700}
.sg-dns .rg-now{margin:0 0 12px;font-size:16px;color:#0c2f57;font-weight:700}
.sg-dns .rg-quiet{margin:14px 0 0;line-height:1.8}
.sg-dns .rg-unavailable{opacity:.6}
.sg-dns .rl-guide-line{margin:10px 0 0}
@media (max-width:700px){.sg-dns .rg-tiles{grid-template-columns:1fr 1fr}.sg-dns .rg-tile{padding:12px}}

/* Choose app by app: tick several apps (20 Nov 2026) */
.sg-dns .rl-pick{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:-6px 0 -6px -8px;cursor:pointer;position:relative}
.sg-dns .rl-pick input{position:absolute;opacity:0;width:44px;height:44px;margin:0;cursor:pointer}
.sg-dns .rl-pick span{width:24px;height:24px;border:2px solid #718aa4;border-radius:7px;background:#fff;box-sizing:border-box;display:grid;place-items:center}
.sg-dns .rl-pick input:checked+span{background:#1f5fae;border-color:#1f5fae}
.sg-dns .rl-pick input:checked+span::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg) translateY(-1px)}
.sg-dns .rl-pick input:focus-visible+span{outline:3px solid #8cc4ff;outline-offset:2px}
.sg-dns .rl-app-row:has(.rl-pick input:checked){background:#eef5fd}
.sg-dns .rl-bulk{position:sticky;bottom:12px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:14px 0 4px;padding:12px 16px;border-radius:18px;background:#0c2f57;color:#fff;box-shadow:0 10px 24px rgba(12,47,87,.25);z-index:4}
.sg-dns .rl-bulk strong{color:#fff}.sg-dns .rl-bulk>span{color:#dbe9fa;font-size:14px}
.sg-dns .rl-bulk-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.sg-dns .rl-bulk .v6-btn--primary{background:#fff!important;color:#0c2f57!important;border-color:#fff!important}
.sg-dns .rl-bulk .v6-btn--secondary{background:transparent!important;color:#fff!important;border-color:#8cc4ff!important}
@media (max-width:700px){.sg-dns .rl-bulk{bottom:78px}.sg-dns .rl-bulk-actions{margin-left:0}}

/* Feedback of 20 Nov: even cards with the button at the bottom, goals as tidy rows, bulk select in the guide's app list */
.sg-dns .dg-choices{align-items:stretch}
.sg-dns .rg-choice{height:100%;box-sizing:border-box}.sg-dns .rg-choice .dg-go{margin-top:auto}
.sg-dns .rg-goals{grid-template-columns:1fr!important;gap:10px}
.sg-dns .rg-goals .rg-choice{display:grid;grid-template-columns:56px minmax(0,1fr) auto;column-gap:16px;row-gap:2px;align-items:center;padding:14px 18px}
.sg-dns .rg-goals .rg-choice .dg-choice-art{grid-row:1/3;grid-column:1;width:52px;height:52px}
.sg-dns .rg-goals .rg-choice>strong{grid-column:2;grid-row:1;align-self:end}
.sg-dns .rg-goals .rg-choice>span:not(.dg-choice-art):not(.dg-go){grid-column:2;grid-row:2;align-self:start}
.sg-dns .rg-goals .rg-choice .dg-go{grid-column:3;grid-row:1/3;margin:0;align-self:center}
.sg-dns .rg-times .rg-choice{gap:6px}.sg-dns .rg-times .rg-days{margin-top:4px}
.sg-dns .rg-tiles .rg-tile{height:100%}
.sg-dns .rg-pickrow{display:flex;align-items:center;gap:6px;min-width:0}.sg-dns .rg-pickrow .rl-pick{margin:0}
.sg-dns .rg-pickrow .rg-app{flex:1;min-width:0}
.sg-dns .rg-bulk{margin-top:12px}
.sg-dns summary .v6-icon{vertical-align:-3px;margin-right:4px}
.sg-dns .rl-tools .v6-btn{display:inline-flex;align-items:center;gap:6px}
@media (max-width:700px){.sg-dns .rg-goals .rg-choice{grid-template-columns:44px minmax(0,1fr);padding:12px 14px}
.sg-dns .rg-goals .rg-choice .dg-choice-art{width:44px;height:44px}.sg-dns .rg-goals .rg-choice .dg-go{display:none}
.sg-dns .rg-apps:has(.rg-pickrow){grid-template-columns:1fr}}
.sg-dns .rg-tiles,.sg-dns .rg-times,.sg-dns .rg-apps:has(.rg-pickrow){grid-auto-rows:1fr}
.sg-dns .rg-times{grid-template-columns:1fr 1fr}
.sg-dns .rg-apps:has(.rg-pickrow){grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-items:stretch}
.sg-dns .rg-pickrow{align-items:stretch}.sg-dns .rg-pickrow .rl-pick{align-self:center}.sg-dns .rg-pickrow .rg-app{min-height:62px}
@media (max-width:700px){.sg-dns .rg-times{grid-template-columns:1fr;grid-auto-rows:auto}.sg-dns .rg-apps:has(.rg-pickrow){grid-template-columns:1fr;grid-auto-rows:auto}}
/* The Rules page leads with one list: what do you want to block (20 Nov) */
.sg-dns .rl-apps{padding:20px 20px 8px}.sg-dns .rl-apps>h2{font-size:22px;margin:0 0 12px}
.sg-dns .rl-safety{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#e7f6ee;border:1.5px solid #b7e0c8;border-radius:14px;padding:10px 14px;margin:0 0 12px;color:#0c3a26}
.sg-dns .rl-safety.is-warn{background:#fff4dc;border-color:#f0d08a;color:#4a3200}
.sg-dns .rl-safety>span{flex:1;min-width:200px}.sg-dns .rl-safety>a{font-weight:700;white-space:nowrap}
.sg-dns .rl-group-row{background:#e6f0fb;border-radius:14px;border:0;margin:12px 0 10px;padding:12px 14px}
.sg-dns .rl-group-row .v6-row-title{font-size:17px}
/* The several-at-once bar shows only once a box is ticked (it covered a phone screen) */
@supports selector(:has(*)){.sg-dns .rl-apps:not(:has(input[name=pick]:checked)) .rl-bulk,.sg-dns .rg-pickform:not(:has(input[name=pick]:checked)) .rl-bulk{display:none}}
/* Search for an app and tick all, in the block list */
.sg-dns .rl-find{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 4px}
.sg-dns .rl-find .rl-text{flex:1;min-width:180px;max-width:420px}
.sg-dns .rl-find-clear{font-weight:700}
.sg-dns .rl-ticks{margin:8px 0}.sg-dns .rl-ticks a{font-weight:700}
/* Phone: the tick box sits left of the logo, and the several-at-once bar is two slim buttons */
@media (max-width:700px){.sg-dns .rl-app-row:has(.rl-pick){grid-template-columns:auto auto minmax(0,1fr);align-items:center}
.sg-dns .rl-app-row:has(.rl-pick) .rl-pick{grid-column:1;grid-row:1;margin:0 -6px 0 -8px}
.sg-dns .rl-app-row:has(.rl-pick) .v6-tile{grid-column:2;grid-row:1}
.sg-dns .rl-app-row:has(.rl-pick) .v6-row-text{grid-column:3;grid-row:1}
.sg-dns .rl-app-row:has(.rl-pick) .rl-app-actions{grid-column:1/-1;grid-row:2;justify-self:start}
.sg-dns .rl-bulk{padding:10px;gap:8px;border-radius:16px}.sg-dns .rl-bulk>strong,.sg-dns .rl-bulk>span:not(.rl-bulk-actions){display:none}
.sg-dns .rl-bulk-actions{width:100%;flex-wrap:nowrap}.sg-dns .rl-bulk-actions .v6-btn{flex:1;min-width:0;padding:8px 10px;font-size:14px;line-height:1.2;white-space:normal;min-height:44px}
.sg-dns .rl-find .rl-text{min-width:0}}

/* First review fixes (20 Nov 2026) */
.sg-dns .dg{width:100%;box-sizing:border-box}
.sg-dns .dg-home h2,.sg-dns .dg-home h2 strong{color:#fff!important}.sg-dns .dg-home p{color:#dbe9fa!important}.sg-dns .dg-home .dg-kicker{color:#8cc4ff!important}
.sg-dns .dg-step.dg-current.dg-done .dg-mark{background:#1f5fae;color:#fff;box-shadow:0 0 0 5px #d6e6f8}
.sg-dns .dg-level-art{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e6f0fb;color:#1f5fae}
.sg-dns a.dg-level{text-decoration:none}
.sg-dns .dg-refresh{margin:12px 0 0}
.sg-dns .dg-back-quiet{background:none;border:0;padding:0;justify-content:flex-start}
.sg-dns .dg-help summary{min-height:44px;display:flex;align-items:center;gap:8px;list-style:none}
.sg-dns .dg-help summary::-webkit-details-marker{display:none}
.sg-dns .dg-help summary::before{content:"+";display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#d6e6f8;color:#174c8f;font-weight:800}
.sg-dns .dg-help details[open]>summary::before{content:"–"}
.sg-dns .dg-help details{padding:2px 0}.sg-dns .dg-help details p{margin:2px 0 12px 32px}
.sg-dns .rg-rules li::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:#1f5fae;align-self:center;margin-right:-4px}
.sg-dns .rg-rules li{justify-content:flex-start}.sg-dns .rg-rules li span{margin-left:auto}
@media (max-width:700px){.sg-dns .dg-nav{position:static;background:none;padding:0}
.sg-dns .dg-nav:has(.dg-next){position:sticky;bottom:70px;background:rgba(245,248,252,.96);padding:10px 0}}
/* All your rules: one clear state per row (coloured edge + chip), a real Edit button, long rules folded (20 Nov) */
.sg-dns .rl-row.is-blocking{box-shadow:inset 4px 0 0 #d1432b}
.sg-dns .rl-row.is-open{box-shadow:inset 4px 0 0 #2e9b62}
.sg-dns .rl-row.is-off{box-shadow:inset 4px 0 0 #b9c6d6}
.sg-dns .rl-row.is-off .v6-row-title,.sg-dns .rl-row.is-off .v6-row-sub,.sg-dns .rl-row.is-off .v6-tile{opacity:.6}
.sg-dns .rl-badge-off{background:#eef2f7;color:#4b6280}
.sg-dns .rl-edit{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;font-weight:700;white-space:nowrap}
.sg-dns .rl-names{margin-top:6px;font-size:14px;color:#4b6280}
.sg-dns .rl-names>summary{cursor:pointer;color:#1f5fae;font-weight:700;list-style:none;display:inline-flex;align-items:center;gap:6px}
.sg-dns .rl-names>summary::-webkit-details-marker{display:none}
.sg-dns .rl-names>summary::after{content:"";width:7px;height:7px;border:solid #1f5fae;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.sg-dns .rl-names[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.sg-dns .rl-names>span{display:block;margin-top:6px;line-height:1.5}
@media (max-width:700px){.sg-dns .rl-edit{min-height:44px}}

/* Coming back to a rule after Save / Delete / switch: land below the top bar, and show which row it was (20 Nov) */
.sg-dns :is(.rl-row,#all-rules,#levels,#always-allowed,#check,#apps){scroll-margin-top:96px}
.sg-dns .rl-row:target{background:#eef5fd;transition:background 1.2s ease}
@media (prefers-reduced-motion:reduce){.sg-dns .rl-row:target{transition:none}}

/* Big Block ads button under the safety line on the Rules page (20 Nov) */
.sg-dns .rl-ads{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff7e6;border:1.5px solid #f0d08a;border-radius:14px;padding:12px 14px;margin:0 0 12px;color:#4a3200}
.sg-dns .rl-ads.is-on{background:#e7f6ee;border-color:#b7e0c8;color:#0c3a26}
.sg-dns .rl-ads>svg,.sg-dns .rl-ads>.v6-icon{flex:none;width:22px;height:22px}
.sg-dns .rl-ads>span{flex:1;min-width:200px}
.sg-dns .rl-ads-btn{min-height:48px;padding:10px 22px;font-size:16px;font-weight:800;white-space:nowrap}
.sg-dns .rl-ads:not(.is-on) .rl-ads-btn{min-width:160px}
.sg-dns #ads{scroll-margin-top:96px}
@media (max-width:700px){.sg-dns .rl-ads form,.sg-dns .rl-ads-btn{width:100%}}

/* Polish pass (20 Nov 2026) */
/* One system for the DNS portal: content 920px wide, cards 16px round with one soft shadow, 24px inner edge (16px on a phone),
   main buttons 48px, touch targets 44px on a phone. Status: red = blocking right now, green = open right now,
   amber = needs attention, blue = information. Gradients only (no images), so the CSP stays as it is. */

/* 1. Frame: one content width, headings on the card edge */
.sg-dns.v6-shell main.v6-panel>:is(.v6-page-head,.v6-legacy){max-width:920px;box-sizing:border-box}
.sg-dns.v6-shell .v6-page-head{padding-left:0!important}
.sg-dns.v6-shell main h1{font-weight:800;letter-spacing:-.02em}
@media (min-width:701px){.sg-dns.v6-shell .v6-side-foot{display:none}.sg-dns.v6-shell .v6-help-card{margin-bottom:20px}}

/* 2. Cards: one radius, one outline, one shadow */
.sg-dns.v6-shell :is(.v6-card,.account-card,.device-card,.who-card){border:1px solid var(--dns-stroke)!important;border-radius:16px!important;background:var(--dns-surface)!important;box-shadow:0 1px 2px rgba(12,47,87,.05),0 8px 24px -16px rgba(12,47,87,.22)!important}
.sg-dns.v6-shell .v6f-page .v6-list,.sg-dns.v6-shell .rl-page>details.v6-fold,.sg-dns.v6-shell :is(.schedule-card,.dns-calendar,.timezone-panel,.extra-happens,.simple-row){box-shadow:0 1px 2px rgba(12,47,87,.05),0 8px 24px -16px rgba(12,47,87,.22)}
.sg-dns.v6-shell :is(.dns-calendar,.timezone-panel,.extra-happens,.schedule-card){border-radius:16px;border-color:var(--dns-stroke)}
.sg-dns.v6-shell .account-card{padding:24px!important;margin:0 0 16px!important}
.sg-dns.v6-shell .v6f-account-rest,.sg-dns.v6-shell .v6f-account-rest>.panel-content{margin:0!important;padding:0!important}
@media (max-width:700px){.sg-dns.v6-shell :is(.v6-card,.account-card){padding:18px!important}}

/* 3. Page tops: a soft blue band behind the title */
.sg-dns.v6-shell :is(.dns-rules-heading,.v6f-page>.v6-page-head,main>.v6-page-head){box-sizing:border-box;max-width:920px;padding:20px 24px!important;border-radius:16px;background:linear-gradient(135deg,#e6f0fb 0%,#f3f8fd 55%,#fff 100%);border:1px solid #dbe7f4}
.sg-dns.v6-shell .dns-rules-heading .v6-page-head{padding:0!important;margin:0!important;background:none;border:0;border-radius:0}
.sg-dns.v6-shell :is(.dns-rules-heading,.v6f-page>.v6-page-head,main>.v6-page-head) h1{color:#0c2f57}
@media (max-width:700px){.sg-dns.v6-shell :is(.dns-rules-heading,.v6f-page>.v6-page-head,main>.v6-page-head){padding:16px!important}}
.sg-dns .dns-rules-heading{align-items:flex-start}
.sg-dns .dns-rules-for-switch{display:inline-flex;align-items:center;flex:none;min-height:44px;padding:0 16px;border:1.5px solid #cbd8e6;border-radius:999px;background:#fff;color:#174c8f;font-size:14px;font-weight:700;text-decoration:none;margin-top:2px;box-sizing:border-box}
.sg-dns .dns-rules-for-switch:hover{border-color:#1f5fae;background:#f3f8fd}
@media (max-width:700px){.sg-dns .dns-rules-heading{gap:10px}.sg-dns .dns-rules-for-switch{margin-top:0}}
.sg-dns.v6-shell .v6f-hero{background:radial-gradient(120% 140% at 100% 0%,#d6e6f8 0%,rgba(214,230,248,0) 55%),linear-gradient(135deg,#f6faff 0%,#e6f0fb 100%)!important;border-color:#c9dcf1!important;box-shadow:0 14px 34px -24px rgba(12,47,87,.4)}
.sg-dns.v6-shell .v6f-hero h1{letter-spacing:-.02em}
.sg-dns .dg-head{background:linear-gradient(135deg,#e6f0fb 0%,#f3f8fe 55%,#fff 100%);border:1px solid #d6e6f8;border-radius:20px;padding:18px 24px 12px;margin:0 0 18px}
.sg-dns .dg-head .dg-steps{margin-bottom:4px}
.sg-dns .dg-head .rg-why{display:none}
@media (max-width:700px){.sg-dns .dg-head{padding:14px 12px 8px;border-radius:16px}}

/* 4. Fold-outs: one chevron, everywhere */
.sg-dns.v6-shell :is(.rl-page>details.v6-fold,.simple-fold,.rl-check .check-when,.dns-calendar>details,.schedule-help)>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;border-radius:12px}
.sg-dns.v6-shell :is(.rl-page>details.v6-fold,.simple-fold,.rl-check .check-when,.dns-calendar>details,.schedule-help)>summary::-webkit-details-marker{display:none}
.sg-dns.v6-shell :is(.rl-page>details.v6-fold,.simple-fold,.rl-check .check-when,.dns-calendar>details,.schedule-help)>summary::after{content:"";flex:none;width:8px;height:8px;margin-left:auto;margin-right:6px;border:solid #1f5fae;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.sg-dns.v6-shell :is(.rl-page>details.v6-fold,.simple-fold,.rl-check .check-when,.dns-calendar>details,.schedule-help)[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.sg-dns.v6-shell :is(.rl-page>details.v6-fold,.simple-fold,.rl-check .check-when)>summary:hover{color:#1f5fae}
.sg-dns.v6-shell .rl-check .check-when>summary::after{margin-left:4px}
.sg-dns.v6-shell .schedule-help>summary{font-size:15px;font-weight:700;color:#174c8f;min-height:44px}
.sg-dns.v6-shell .guided-section{border:1px solid var(--dns-stroke)!important;border-radius:16px!important;background:#fff!important}
.sg-dns.v6-shell .guided-section>summary{background:#fff!important;min-height:52px;font-size:17px;font-weight:800;color:var(--dns-ink)!important}
.sg-dns .faq summary{position:relative;display:flex;align-items:center;min-height:48px;padding-right:32px;font-size:16px;font-weight:700;color:var(--dns-ink);cursor:pointer;list-style:none}
.sg-dns .faq summary::-webkit-details-marker{display:none}
.sg-dns .faq summary::after{content:"";position:absolute;right:8px;top:50%;width:8px;height:8px;border-right:2px solid #1f5fae;border-bottom:2px solid #1f5fae;transform:translateY(-70%) rotate(45deg);transition:transform .2s ease}
.sg-dns .faq details[open]>summary::after{transform:translateY(-30%) rotate(225deg)}
.sg-dns .dns-other-devices>summary{display:flex;align-items:center;min-height:44px}

/* 5. Hover and pressed feedback */
.sg-dns.v6-shell :is(.simple-row,.what-card,button.v6f-age,.rl-chip-link,.rl-page>details.v6-fold,a.who-card,a.v6-choice,a.add-kid-tile){transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background-color .15s ease}
.sg-dns.v6-shell :is(a.who-card,a.v6-choice,a.add-kid-tile):hover{transform:translateY(-2px);border-color:#1f5fae!important;box-shadow:0 12px 26px -12px rgba(31,95,174,.38)!important}
.sg-dns.v6-shell :is(a.who-card,a.v6-choice,a.add-kid-tile):active{transform:translateY(0);box-shadow:0 2px 6px rgba(31,95,174,.2)!important}
.sg-dns.v6-shell :is(.what-card,button.v6f-age):hover{transform:translateY(-1px);box-shadow:0 8px 22px -8px rgba(12,47,87,.18);border-color:#a9c9ec}
.sg-dns.v6-shell .rl-page>details.v6-fold>summary:hover{background:#f7fafe}
.sg-dns.v6-shell :is(.v6-btn,.rl-chip-link,.rl-chip span,.button-secondary,.button-link):active{transform:translateY(1px)}
.sg-dns .dns-profile-picker .who-card{position:relative;padding-right:48px!important}
.sg-dns .dns-profile-picker .who-card::after{content:"";position:absolute;right:22px;top:50%;width:9px;height:9px;border-top:2px solid #1f5fae;border-right:2px solid #1f5fae;transform:translateY(-50%) rotate(45deg)}
.sg-dns :is(.dg-choice,.rg-app,.dg-level,.dg-kind-face,.router-make){box-shadow:0 1px 2px rgba(12,47,87,.06);transition:border-color .15s,box-shadow .15s,transform .15s}
.sg-dns :is(a.dg-choice,a.rg-app,a.dg-level,.dg-kind:hover .dg-kind-face):hover,.sg-dns .dg-kind:hover .dg-kind-face{box-shadow:0 10px 24px -8px rgba(31,95,174,.24);transform:translateY(-2px)}
.sg-dns :is(a.dg-choice,a.rg-app,a.dg-level):active{transform:translateY(0) scale(.99);box-shadow:0 2px 6px rgba(31,95,174,.12)}
.sg-dns :is(.dg-choice,.rg-app,.dg-level):focus-visible{outline:3px solid #8cc4ff;outline-offset:2px}
.sg-dns .rg-pickrow .rg-app:hover{transform:none;box-shadow:none}

/* 6. Status colours */
.sg-dns.v6-shell .rl-page .rl-badge{display:inline-flex;align-items:center;gap:6px}
.sg-dns.v6-shell .rl-page .rl-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.sg-dns.v6-shell .rl-page .v6-tag--warn.rl-badge{background:#fff0e9;color:#a8321f;box-shadow:inset 0 0 0 1px #f0c4b8}
.sg-dns.v6-shell .rl-page .v6-tag--allowed.rl-badge{background:#e8f5ee;color:#1d6b45;box-shadow:inset 0 0 0 1px #bfe0cc}
.sg-dns .connection-badge.protected{background:#e3f5ec!important;color:#145c3b!important}
.sg-dns .connection-badge.waiting{background:#fff4e0!important;color:#7a4d00!important}
.sg-dns.v6-shell .v6f-state--ok svg{color:#1a8a55}
.sg-dns.v6-shell .v6f-state--ok{color:#145c3b}
.sg-dns .rg-tile em{display:inline-flex;align-items:center;gap:6px;border-radius:8px;line-height:1.3;padding:3px 8px;background:#e6f0fb;color:#174c8f}
.sg-dns .rg-tile em::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
.sg-dns .rg-tile em+em{background:#fff5e0;color:#5b4208}

/* 7. Rules page (/home-wifi/rules): one inner edge, one title size */
.sg-dns.v6-shell .rl-page .v6-card-title{font-size:20px;line-height:1.25}
.sg-dns.v6-shell .rl-page .rl-apps{padding:20px 24px 8px}
.sg-dns.v6-shell .rl-page .rl-apps>h2{font-size:20px}
.sg-dns.v6-shell .rl-page .rl-list-tools{padding:18px 24px}
.sg-dns.v6-shell .rl-page .rl-list>.rl-row{padding-left:24px;padding-right:24px}
.sg-dns.v6-shell .rl-page .rl-list-intro{margin:0;padding:0 24px 12px}
.sg-dns.v6-shell .rl-page>details.v6-fold{padding:0 24px}
@media (max-width:700px){.sg-dns.v6-shell .rl-page .rl-apps{padding:16px 16px 8px}.sg-dns.v6-shell .rl-page .rl-list-tools{padding:16px}.sg-dns.v6-shell .rl-page .rl-list>.rl-row{padding-left:16px;padding-right:16px}.sg-dns.v6-shell .rl-page .rl-list-intro{padding:0 16px 12px}.sg-dns.v6-shell .rl-page>details.v6-fold{padding:0 16px}}
/* the app list: calmer buttons, hover and ticked rows, the own-rule row in line with the others */
.sg-dns.v6-shell .rl-page .rl-app-row .rl-app-btn{border-width:1.5px;border-color:#b9cde4}
.sg-dns.v6-shell .rl-page .rl-app-row:hover .rl-app-btn,.sg-dns.v6-shell .rl-page .rl-app-row .rl-app-btn:focus-visible{border-color:#1f5fae}
.sg-dns.v6-shell .rl-page .rl-app-row:not(:has(input:checked)):hover{background:#f7fafe}
.sg-dns.v6-shell .rl-page .rl-app-row .v6-row-sub{color:#5a6f8a}
.sg-dns.v6-shell .rl-page .rl-app-row:not(:has(.rl-pick)){padding-left:64px;box-shadow:inset 3px 0 #1f5fae}
@media (max-width:700px){.sg-dns.v6-shell .rl-page .rl-app-row:not(:has(.rl-pick)){padding-left:54px}}
.sg-dns.v6-shell .rl-page .rl-app-row:has(.rl-pick input:checked){background:#e6f0fb;box-shadow:inset 3px 0 #1f5fae}
.sg-dns.v6-shell .rl-page .rl-app-row:has(.rl-pick input:checked) .v6-tile{background:#fff;box-shadow:inset 0 0 0 1px #cfe0f3}
.sg-dns.v6-shell .rl-page .rl-apps-more>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin:0;border-top:1px solid #e1e9f3;color:#1f5fae;font-weight:800;cursor:pointer;list-style:none;border-radius:0 0 12px 12px}
.sg-dns.v6-shell .rl-page .rl-apps-more>summary::-webkit-details-marker{display:none}
.sg-dns.v6-shell .rl-page .rl-apps-more>summary::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.sg-dns.v6-shell .rl-page .rl-apps-more>summary:hover{background:#f3f8fd}
.sg-dns.v6-shell .rl-page .rl-apps-more[open]>summary{display:none}
@media (max-width:700px){
.sg-dns.v6-shell .rl-page .rl-app-row:has(.rl-pick) .rl-app-actions,.sg-dns.v6-shell .rl-page .rl-group-row .rl-app-actions,.sg-dns.v6-shell .rl-page .rl-app-row .rl-app-actions{grid-column:1/-1;justify-self:stretch;display:flex;flex-wrap:nowrap;gap:8px;width:100%}
.sg-dns.v6-shell .rl-page .rl-app-actions>form.v6f-inline{display:flex;flex:1 1 auto;min-width:0}
.sg-dns.v6-shell .rl-page .rl-app-actions .rl-app-btn{flex:1 1 auto;min-width:0;min-height:44px!important;justify-content:center;padding-inline:10px!important;white-space:nowrap;line-height:1.2;text-align:center}
}
/* the rule editor after a jump: a soft ring on the card, not a square outline */
.sg-dns.v6-shell .rl-page #rule-form:focus{outline:none}
.sg-dns.v6-shell .rl-page .rl-editor-fold:has(#rule-form:focus){border-color:#1f5fae;box-shadow:0 0 0 3px #cfe2f7}
.sg-dns.v6-shell .rl-page :is(#rule-form,#apps,#check,#all-rules){scroll-margin-top:16px}
.sg-dns.v6-shell .rl-page #rule-form .v6-card-title{margin:2px 0 14px}
/* chips: one blue, one height, one gap */
.sg-dns.v6-shell .rl-page .rl-chip input:checked+span{background:#1f5fae;border-color:#1f5fae;color:#fff}
.sg-dns.v6-shell .rl-chip span{gap:6px}
.sg-dns.v6-shell .rl-chip span .v6-icon{margin-right:0}
.sg-dns .rl-chip-link{min-height:44px}
/* Check a site: a real card title, the button beside the box */
.sg-dns.v6-shell .rl-page .rl-check>.rl-label{margin:0 0 6px;font-size:20px;font-weight:800;letter-spacing:-.015em;color:var(--dns-ink)}
.sg-dns.v6-shell .rl-page .rl-check-form{align-items:center}
.sg-dns.v6-shell .rl-page .rl-check-form .v6-btn{height:48px;min-height:48px}
.sg-dns.v6-shell .rl-page .rl-check .check-form{display:grid;grid-template-columns:minmax(0,520px) auto;justify-content:start;gap:8px 10px;align-items:end}
.sg-dns.v6-shell .rl-page .rl-check .check-form>.field-label{grid-column:1;grid-row:1;min-width:0}
.sg-dns.v6-shell .rl-page .rl-check .check-form>.field-label,.sg-dns.v6-shell .rl-page .rl-check .check-form>.field-label input{width:100%;max-width:none;box-sizing:border-box}
.sg-dns.v6-shell .rl-page .rl-check .check-form>button{grid-column:2;grid-row:1;min-height:48px}
.sg-dns.v6-shell .rl-page .rl-check .check-form>.check-when{grid-column:1/-1}
.sg-dns.v6-shell .rl-page .rl-check :is(.check-buttons,.always-form){display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sg-dns.v6-shell .rl-page .rl-check .section-heading h2{font-size:16px;font-weight:800}
.sg-dns.v6-shell .rl-page .rl-check .filter-schedules :is(a,span){font-size:14px;line-height:1.5}
@media (max-width:700px){.sg-dns.v6-shell .rl-page .rl-check :is(.check-buttons,.always-form) :is(button,a){width:100%;justify-content:center}
.sg-dns.v6-shell .rl-page .rl-check .check-form{grid-template-columns:minmax(0,1fr) auto}}

/* 8. Sites & online services, Times, Extra time */
.sg-dns.v6-shell .now-panel>summary.button-link:not(.button-secondary){color:#fff;background:#1f5fae;border-color:#1f5fae}
.sg-dns.v6-shell .now-panel>summary.button-link:not(.button-secondary):hover{background:#174c8f;border-color:#174c8f}
.sg-dns.v6-shell .now-panel[open]>summary.button-link:not(.button-secondary){background:#0c2f57;border-color:#0c2f57}
.sg-dns.v6-shell .v6f-age.is-current{background:#1f5fae;border-color:#1f5fae;color:#fff}
.sg-dns.v6-shell .v6f-custom{display:inline-flex;align-self:flex-start;padding:4px 12px;border-radius:999px;background:#e6f0fb;color:#174c8f;font-weight:700}
.sg-dns.v6-shell .rules-for-bar{box-shadow:none;border:1px solid #cbd8e6;background:#eaf3ff}
@media (max-width:700px){.sg-dns.v6-shell .rules-for-bar{margin-left:0;margin-right:0;width:auto;box-sizing:border-box;border-radius:14px}
.sg-dns.v6-shell .device-rule-tabs a small{display:none}
.sg-dns.v6-shell .device-rule-tabs a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 6px;text-align:center}
.sg-dns.v6-shell .device-rule-tabs a strong{font-size:14px;line-height:1.2}}
.sg-dns.v6-shell .schedule-list{gap:14px}
.sg-dns.v6-shell .schedule-title h2{font-size:17px;font-weight:800;color:#152f4d;letter-spacing:-.01em}
.sg-dns.v6-shell .schedule-sentence{font-size:15px;background:#f3f8fd;border-color:#dfe9f4}
.sg-dns.v6-shell .schedule-actions button[value=delete]{color:#a8321f;border-color:#e5b4aa}
.sg-dns.v6-shell .schedule-actions button[value=delete]:hover{background:#fdf1ee;border-color:#a8321f}
.sg-dns.v6-shell section[aria-labelledby=schedule-templates] .quick-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr));gap:10px}
.sg-dns.v6-shell section[aria-labelledby=schedule-templates] .quick-actions .button-link{justify-content:flex-start;text-align:left;min-height:48px}
.sg-dns.v6-shell .what-card{background:#fff;border:1.5px solid #cbd8e6;border-radius:16px;cursor:pointer}
.sg-dns.v6-shell .what-card:has(input:checked){background:#e6f0fb;border-color:#1f5fae;box-shadow:inset 0 0 0 1px #1f5fae}
.sg-dns.v6-shell :is(.what-card,.app-chip) input{accent-color:#1f5fae}
.sg-dns.v6-shell .extra-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sg-dns.v6-shell .extra-times>.extra-time-button{width:auto;min-width:0;max-width:none;margin:0}
@media (max-width:520px){.sg-dns.v6-shell .extra-times{grid-template-columns:1fr}}
.sg-dns.v6-shell .extra-now{margin:4px 0 8px;padding:14px 18px;border:1px solid #cbd8e6;border-left:4px solid #1f5fae;border-radius:16px;background:#eaf3ff;color:#152f4d;font-weight:700}

/* 9. Devices, Account, Dashboard, Activity, Connect */
.sg-dns .device-card{border-top:1px solid var(--dns-stroke)!important}
.sg-dns .device-card.add-kid-tile{border:2px dashed #8cc4ff!important;background:#f3f7fc!important;box-shadow:none!important}
.sg-dns .device-card.add-kid-tile:hover{border-color:#1f5fae!important;background:#e6f0fb!important}
.sg-dns .device-grid>.add-kid-tile{align-self:stretch!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px;min-height:180px}
.sg-dns[data-page=devices] .manage-toolbar>.button-link:first-child[href="/connect"]{display:none}
.sg-dns .device-card .kid-avatar{flex:0 0 48px;width:48px;height:48px;padding:0!important;margin-right:12px;background:none!important;border-radius:14px;display:grid!important;place-items:center}
.sg-dns .device-card .kid-avatar .dns-platform-picture{width:48px;height:48px;border-radius:14px;margin:0}
.sg-dns .manage-home .quick-actions>a:not(.button-link){grid-column:1/-1;justify-self:start;margin-top:2px}
.sg-dns .manage-home .manage-house{flex:0 0 48px;width:48px!important;height:48px!important;border-radius:14px;background:#e6f0fb url(/dns-art/router-blue.svg) center/34px no-repeat!important}
.sg-dns .account-support>p:not(.support-actions):not(.helper){color:var(--dns-ink)!important}
.sg-dns .account-support form .helper{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 0;padding-top:16px;border-top:1px solid var(--dns-stroke);color:var(--dns-ink);font-size:15px}
.sg-dns.v6-shell .v6f-home .v6-group-title{padding:0!important;margin:4px 0 10px!important;font-size:13px;letter-spacing:.06em;color:var(--dns-muted)}
.sg-dns.v6-shell .v6f-home .v6f-first,.sg-dns.v6-shell .v6f-home .v6f-first>.panel-content,.sg-dns.v6-shell .v6f-home .v6f-first .dg-home{margin-bottom:0!important}
.sg-dns.v6-shell .v6f-state a,.sg-dns.v6-shell .v6f-allowance .v6-card-sub a{padding-block:12px;margin-block:-12px}
.sg-dns[data-page=queries] .table-wrap{max-height:min(72vh,760px);overflow:auto;overscroll-behavior:contain;border-radius:16px}
.sg-dns[data-page=queries] .query-table thead th{position:sticky;top:0;z-index:1;background:#f3f7fc}
.sg-dns[data-page=queries] .query-actions button[value=block]{color:var(--dns-link)!important;border-color:var(--dns-stroke)!important;background:#fff!important}
.sg-dns[data-page=queries] .query-actions button[value=block]:hover{color:#9b473d!important;border-color:#e7c3bd!important;background:#fdf3f1!important}
.sg-dns.v6-shell .mode-switch:not(.device-rule-tabs){display:inline-flex!important;width:auto!important;max-width:100%;gap:4px;padding:4px;border:1px solid var(--dns-stroke);border-radius:999px;background:#fff;box-sizing:border-box}
.sg-dns.v6-shell .mode-switch:not(.device-rule-tabs) a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:700;color:var(--dns-link);box-shadow:none!important;background:none;border:0}
.sg-dns.v6-shell .mode-switch:not(.device-rule-tabs) a.active{background:#1f5fae!important;color:#fff!important}
.sg-dns.v6-shell[data-page=connect] .v6-choice-grid>.v6-choice:is(.v6f-kind--router,:only-child){display:grid!important;grid-template-columns:48px 1fr;column-gap:14px;row-gap:2px;align-items:start;padding:16px!important;min-height:0}
.sg-dns.v6-shell[data-page=connect] .v6-choice-grid>.v6-choice:is(.v6f-kind--router,:only-child) .v6-choice-top{grid-row:1/3;grid-column:1}
.sg-dns.v6-shell[data-page=connect] .v6-choice-grid>.v6-choice:is(.v6f-kind--router,:only-child) :is(.v6-choice-title,.v6-choice-sub){grid-column:2}
@media (max-width:760px){.sg-dns.v6-shell[data-page=connect] .v6-choice-grid>.v6-choice{display:grid!important;grid-template-columns:48px 1fr;column-gap:14px;row-gap:2px;align-items:start;padding:16px!important;min-height:0}
.sg-dns.v6-shell[data-page=connect] .v6-choice-grid>.v6-choice .v6-choice-top{grid-row:1/3;grid-column:1}
.sg-dns.v6-shell[data-page=connect] .v6-choice-grid>.v6-choice :is(.v6-choice-title,.v6-choice-sub){grid-column:2}}
.sg-dns .v6f-add-box .v6-modal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.sg-dns .v6f-add-steps .add-name-form input{max-width:420px}

/* 10. Status page and sign-in pages */
.sg-dns.public-page .public-header{max-width:none!important;margin:0!important;padding-inline:max(20px,calc((100% - 1008px)/2))!important}
.sg-dns.public-page .sg-foot{padding-inline:max(20px,calc((100% - 1008px)/2))}
.sg-dns .status-uptime{grid-template-columns:1fr 1fr 1.5fr!important}
.sg-dns .status-uptime dd{font-size:18px!important;white-space:nowrap}
@media (min-width:760px){.sg-dns .status-servers{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.sg-dns.public-page .status-hero{border:1px solid #cbd8e6!important}
.sg-dns.auth-page .auth-form .notice{background:#fff7e6!important;border:1px solid #f1d39a!important;border-radius:12px!important;box-shadow:none!important;color:#6b4a00;padding:12px 14px!important}
.sg-dns .auth-pitch li{align-items:flex-start!important}
.sg-dns .auth-pitch li svg{margin-top:2px}
.sg-dns[data-page=forgot] .panel-heading h1{font-size:30px}
@media (max-width:700px){.sg-dns.auth-page .auth-pitch{display:none!important}.sg-dns.auth-page .auth-hero{padding:14px 20px!important}
.sg-dns .sg-foot .footer-links a,.sg-dns.auth-page .site-footer .footer-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px!important}}

/* 11. Guides (/start and the rules guide) */
.sg-dns .rg-tiles{grid-auto-rows:auto;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
@media (max-width:700px){.sg-dns .rg-tiles{grid-template-columns:1fr 1fr;grid-auto-rows:auto}}
.sg-dns .rg-apps:has(.rg-pickrow){grid-auto-rows:auto}
.sg-dns .rg-pickrow{gap:0;border:1.5px solid #cbd8e6;border-radius:14px;background:#fff;padding-left:4px;transition:border-color .15s,box-shadow .15s}
.sg-dns .rg-pickrow .rg-app{border:0;min-height:56px;box-shadow:none;background:transparent}
.sg-dns .rg-pickrow:hover{border-color:#1f5fae;box-shadow:0 6px 16px rgba(31,95,174,.14)}
.sg-dns .rg-pickrow:has(input:checked){border-color:#1f5fae;background:#eef5fd}
.sg-dns .rg-apps:not(:has(.rg-pickrow)){grid-auto-rows:1fr}
.sg-dns .rg-app span{line-height:1.25}
.sg-dns .dg-nav .v6-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;font-size:16px!important;padding:12px 24px!important}
.sg-dns .dg-link-quiet{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:700;color:#4b627b}
@media (max-width:700px){.sg-dns .dg-nav:has(.dg-next.v6-btn--secondary){position:static;background:none;padding:0;box-shadow:none}
.sg-dns .dg-nav:has(.dg-next.v6-btn--primary){box-shadow:0 -10px 18px -12px rgba(12,47,87,.28);border-radius:16px 16px 0 0;padding:10px 12px;margin:0 -12px}}
.sg-dns .rg-done-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.sg-dns .rg-done-choices .dg-choice .dg-go{margin-top:auto}
@media (max-width:700px){.sg-dns .rg-done-choices{grid-template-columns:1fr}}
.sg-dns .dg-choices:has(details.dg-choice[open]) details.dg-choice>summary{display:grid;grid-template-columns:64px 1fr;column-gap:18px;row-gap:4px;align-items:center}
.sg-dns .dg-choices:has(details.dg-choice[open]) details.dg-choice>summary .dg-choice-art{grid-row:1/4}
.sg-dns .dg-choices:has(details.dg-choice[open]) details.dg-choice>summary>:not(.dg-choice-art){grid-column:2}
.sg-dns .dg-choices>a.dg-choice{align-items:flex-start;text-align:left}
.sg-dns .dg-chip strong{font-size:16px}
.sg-dns .dg-chip{min-height:52px;padding:6px 18px 6px 8px}
.sg-dns .dg-kind-face strong{display:flex;align-items:center;justify-content:center;min-height:2.6em;line-height:1.3}
@media (max-width:700px){.sg-dns .dg-kind:last-child:nth-child(odd){grid-column:1/-1}}
.sg-dns .dg-panel .dns-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}
.sg-dns .dg-panel .dns-number{display:flex;flex-direction:column;align-items:stretch;gap:6px;background:#fff;border:1px solid #d3deea;border-radius:16px;padding:12px 14px}
.sg-dns .dg-panel .dns-number>span:first-child{font-size:13px;font-weight:800;color:#0c2f57}
.sg-dns .dg-panel .dns-number .copy-chip{display:flex;justify-content:space-between;align-items:center}
@media (max-width:700px){.sg-dns .dg-panel .dns-numbers{grid-template-columns:1fr}}
.sg-dns .dg-panel .free-truth{background:#f3f8fd!important;border:1px solid #d3deea;color:#2b4664;font-size:14px;line-height:1.5;padding:12px 14px;border-radius:14px}
.sg-dns .router-makes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sg-dns .router-makes>:not(.router-make),.sg-dns .router-make[open]{grid-column:1/-1}
.sg-dns .router-make{margin:0;border-radius:14px}
.sg-dns .router-make summary{list-style:none;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:48px;padding-right:28px;cursor:pointer}
.sg-dns .router-make summary::-webkit-details-marker{display:none}
.sg-dns .router-make summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:800;color:#1f5fae}
.sg-dns .router-make[open] summary::after{content:"–"}
.sg-dns .router-make:hover{border-color:#1f5fae}
@media (max-width:700px){.sg-dns .router-makes{grid-template-columns:1fr}}
.sg-dns .rg-reads+.rg-days{display:flex;margin:-2px 0 16px}
.sg-dns .rg-save{margin:0 0 16px}
@media (max-width:700px){.sg-dns .rg-save .dg-next{width:100%;justify-content:center}}
.sg-dns .rg-row{align-items:stretch}
.sg-dns .rg-row .dg-input{max-width:none}
.sg-dns .rg-row .v6-btn{min-height:48px;margin:0;display:inline-flex;align-items:center;padding-block:0!important;box-sizing:border-box}
.sg-dns .rg-inline+.rg-more{margin-top:18px}
@media (max-width:700px){.sg-dns .rg-h3+.rl-chip-links{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;margin:0 -16px 14px;padding:2px 16px 8px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
.sg-dns .rg-h3+.rl-chip-links::-webkit-scrollbar{display:none}
.sg-dns .rg-h3+.rl-chip-links .rl-chip-link{flex:none;scroll-snap-align:start}}
.sg-dns .dg-panel .status-hero{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;border-radius:0!important}
.sg-dns .dg-panel .status-hero h2{font-size:18px}
.sg-dns .dg-refresh .v6-btn{white-space:normal;text-align:center}
@media (max-width:700px){.sg-dns .dg-panel .status-hero{flex-wrap:wrap}.sg-dns .dg-panel .status-actions{width:100%}}
.sg-dns .dg-summary li{flex-wrap:wrap}
.sg-dns .dg-summary li span.dg-sum-text{display:block;flex:1;min-width:0;width:auto;height:auto;border-radius:0;background:none;color:inherit;font-weight:inherit}
.sg-dns .dg-summary li a{white-space:nowrap;font-weight:800;margin-left:auto}
@media (max-width:700px){.sg-dns .rg-times .rg-choice{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;row-gap:4px;padding:14px 16px}
.sg-dns .rg-times .rg-choice .dg-choice-art{grid-row:1/3;grid-column:1;width:44px;height:44px;border-radius:12px}
.sg-dns .rg-times .rg-choice>:not(.dg-choice-art){grid-column:2}
.sg-dns .rg-times .rg-choice .dg-go{justify-self:start;margin-top:6px}}
@media (min-width:701px){.sg-dns .rg-times:has(>.rg-choice:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
.sg-dns .rg-blank{display:inline-block;width:56px;height:1em;border-bottom:2px dashed #8cc4ff;margin:0 4px;vertical-align:-3px}
.sg-dns .rg-sofar{background:#e6f0fb;color:#0c2f57;font-weight:600}
.sg-dns .rg-stop{align-items:flex-start}
.sg-dns .rg-stop .dg-status-mark{margin-top:2px}
.sg-dns .rg-stop>div>span{font-weight:700;font-size:15px}
.sg-dns .dg-card>.dg-small{color:#4b627b;max-width:68ch;margin:6px 0}
.sg-dns .dg-card>.dg-small+.dg-small{margin-top:2px}
.sg-dns .rg-days i{width:26px;height:26px;font-size:12px;color:#5a6f8a;background:#f6f9fc;box-shadow:inset 0 0 0 1.5px #d3deea}
.sg-dns .rg-days i.on{box-shadow:none}
.sg-dns .dg-for a,.sg-dns .dg-help-links a,.sg-dns .dg-label small a{display:inline-block;padding:12px 4px;margin:-12px 0;font-weight:700}
.sg-dns .dg-label small{display:block;margin-top:4px;font-weight:400}

/* 12. Less motion for those who ask for it */
@media (prefers-reduced-motion:reduce){.sg-dns *,.sg-dns *::before,.sg-dns *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
.sg-dns :is(a.dg-choice,a.rg-app,a.dg-level,.dg-kind-face,a.who-card,a.v6-choice,a.add-kid-tile,.what-card,button.v6f-age,.v6-btn,.rl-chip-link,.rl-chip span,.button-secondary,.button-link){transform:none!important}}

/* 13. Phone touch targets that were still under 44px */
.sg-dns.v6-shell :is(.rl-page>details.v6-fold,.simple-fold,.dns-calendar>details,.schedule-help)>summary{min-height:48px;box-sizing:border-box}
.sg-dns .rg-more>summary{min-height:48px;display:flex;align-items:center;gap:8px;box-sizing:border-box}
@media (max-width:700px){
.sg-dns .dg-hide .dg-link{display:inline-flex;align-items:center;min-height:44px}
.sg-dns[data-page=queries] .segmented-nav a{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
.sg-dns .v6f-add-box .v6-modal-head .v6-btn{min-height:44px}
.sg-dns .manage-home .quick-actions>a:not(.button-link){display:inline-flex;align-items:center;min-height:44px}}

/* Polish pass: fixes after the check (20 Nov 2026) */
/* Rule editor: the form inside the fold is not a second card */
.sg-dns.v6-shell .rl-editor-fold>.rl-form{border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:0!important}
/* Help: one marker per question (the chevron), not the old triangle as well */
.sg-dns .faq summary::before{content:none!important;display:none!important}
/* One chevron on the fold-outs the pass missed */
.sg-dns.v6-shell :is(.dns-other-devices,.device-details,.delete-account,.guided-section)>summary,.sg-dns :is(.dg-help details,.rg-more)>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer}
.sg-dns.v6-shell :is(.dns-other-devices,.device-details,.delete-account,.guided-section)>summary::-webkit-details-marker,.sg-dns :is(.dg-help details,.rg-more,.router-make)>summary::-webkit-details-marker{display:none}
.sg-dns.v6-shell :is(.dns-other-devices,.device-details,.delete-account,.guided-section)>summary::after,.sg-dns :is(.dg-help details,.rg-more)>summary::after{content:"";flex:none;width:8px;height:8px;margin-left:auto;margin-right:6px;border:solid #1f5fae;border-width:0 2px 2px 0;border-radius:0;background:none;font-size:0;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.sg-dns.v6-shell :is(.dns-other-devices,.device-details,.delete-account,.guided-section)[open]>summary::after,.sg-dns :is(.dg-help details,.rg-more)[open]>summary::after{content:"";transform:translateY(2px) rotate(-135deg)}
.sg-dns.v6-shell .dns-other-devices>summary::after{margin-left:2px}
.sg-dns.v6-shell :is(.device-details,.delete-account)>summary{display:flex!important;list-style:none!important}
.sg-dns.v6-shell .device-details>summary{min-height:44px;box-sizing:border-box}
.sg-dns .dg-help summary::before{content:none;display:none}
.sg-dns .dg-help details p{margin:2px 0 12px}
.sg-dns .router-make summary::after,.sg-dns .router-make[open] summary::after{content:"";right:10px;width:8px;height:8px;border:solid #1f5fae;border-width:0 2px 2px 0;font-size:0;transform:translateY(-70%) rotate(45deg);transition:transform .2s ease}
.sg-dns .router-make[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
/* Search for an app and Check a site: box and button on one line, same height */
.sg-dns.v6-shell .rl-find{align-items:center}
.sg-dns.v6-shell :is(.rl-find,.rl-check-form) .rl-text{margin:0;height:48px;min-height:48px;box-sizing:border-box}
.sg-dns.v6-shell :is(.rl-find,.rl-check-form) button{height:48px;min-height:48px;margin:0;box-sizing:border-box}
.sg-dns.v6-shell .rl-page .rl-check-form{align-items:center}
/* Devices: a TV covered by the network is a healthy state, shown in the information blue */
.sg-dns .device-card .connection-badge.waiting[data-keep]{background:#e6f0fb!important;color:#174c8f!important}
/* Guide small print: never break inside a link */
.sg-dns .dg-card>.dg-small a{white-space:nowrap}
/* Contrast at least 4.5:1 on the light blue */
.sg-dns .dg-step:not(.dg-current) a{color:#4b6280}
.sg-dns.v6-shell .rl-page .rl-app-row:has(.rl-pick input:checked) .v6-row-sub{color:#4b6280}
@media (max-width:700px){
/* the guide's sideways chip row opens at its start */
.sg-dns .rg-h3+.rl-chip-links{scroll-padding-inline:16px}
/* the own-rule row: its buttons line up with the other rows */
.sg-dns.v6-shell .rl-page .rl-app-row:not(:has(.rl-pick)) .rl-app-actions{margin-left:-40px;width:calc(100% + 40px)}
/* signed-in footer links: 44px touch targets */
.sg-dns.v6-shell .sg-foot .footer-links a,.sg-dns .v6-side-foot .v6-legal a{display:inline-flex!important;align-items:center;min-height:44px!important;padding:0 6px!important;box-sizing:border-box}
/* a focused control never stops behind the bottom tab bar */
.sg-dns.v6-shell :is(a,button,input,select,textarea,summary,[tabindex]){scroll-margin-bottom:96px}
}
/* Step-by-step rules, walkthrough fixes 6, 8, 11 (20 Nov 2026): the fixed entry beside "What do you want to block?", the
   members warning with its keep-one-app button, the keep-one-app card and box on the Saved step, the Finish button */
.sg-dns .rl-apps-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;margin:0 0 6px}
.sg-dns .rl-apps-head .v6-card-title{margin:0}
.sg-dns .rg-entry-top{display:inline-flex;align-items:center;gap:8px;min-height:48px}
.sg-dns .rg-members>div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.sg-dns .rg-members strong{color:inherit}
.sg-dns .rg-keep,.sg-dns .rg-keep-now{margin:0}
.sg-dns .rg-keep .v6-btn,.sg-dns .rg-keep-now .v6-btn{min-height:48px}
.sg-dns .rg-stop-actions{display:flex;flex-wrap:wrap;gap:10px}
.sg-dns .rg-keep-box{align-items:flex-start;border:2px solid #e3b65a}
.sg-dns .rg-keep-box h2{margin:2px 0 6px;font-size:20px;color:#5b4208}
.sg-dns .rg-keep-box p{margin:0 0 10px}.sg-dns .rg-keep-box p.dg-small{margin:8px 0 0}.sg-dns .rg-keep-box a{color:#5b4208;font-weight:800}
.sg-dns .rg-keep-card{border-color:#1f5fae}
.sg-dns .rg-keep-card .dg-go{margin-top:0;background:none;color:#1f5fae!important;padding:4px 0;text-decoration:underline}
.sg-dns .rg-finish-nav .rg-finish{min-height:48px}
@media (max-width:700px){.sg-dns .rl-apps-head{flex-direction:column;align-items:stretch}.sg-dns .rg-entry-top{justify-content:center}
.sg-dns .rg-finish-nav{display:flex}.sg-dns .rg-finish-nav>span{display:none}.sg-dns .rg-finish-nav .rg-finish{flex:1;justify-content:center;text-align:center}
.sg-dns .rg-keep .v6-btn,.sg-dns .rg-keep-now .v6-btn,.sg-dns .rg-stop-actions .v6-btn{width:100%;justify-content:center;text-align:center}
.sg-dns .rg-keep,.sg-dns .rg-keep-now,.sg-dns .rg-stop-actions{width:100%}}
.sg-dns .rg-keep-box :is(h2,p) span{font-size:inherit}
@media (max-width:700px){.sg-dns.v6-shell .rl-page .rl-check .check-buttons form{width:100%}}

/* Final guide checks (20 Nov 2026): Home's guide button fits its card on a phone; setup step 2's bar is one row on a phone
   (Back, Skip for now, a short "Done: check it works"), so the two numbers are not hidden under it */
.sg-dns .dg-short{display:none}
@media (max-width:700px){.sg-dns .dg-home .v6-btn{white-space:normal;width:100%;max-width:100%;box-sizing:border-box;text-align:center;justify-content:center}
.sg-dns .dg-nav.dg-nav-one{grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:"back skip next";align-items:center;gap:8px}
.sg-dns .dg-nav.dg-nav-one .dg-long{display:none}.sg-dns .dg-nav.dg-nav-one .dg-short{display:inline}
.sg-dns .dg-nav.dg-nav-one .dg-skip{justify-self:start;display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:14px}}

/* Look B (21 Nov 2026) */
/* The portal as the same brand as the website's Look B (swearguard.com/dns): bold Nunito headings, a navy page top with the
   faint shield and a curved edge, amber (navy text) for the one main action on a screen, white cards with soft layered
   shadows, pill badges, a navy menu and header like the website's, and the deep navy footer. Colours and shadows are the
   website's (look/site-b/dns/style.css). The shield is /dns-art/shield-faint.svg (dns_brand.ART), so the CSP is unchanged. */
body.sg-dns{--lb-navy:#0c2f57;--lb-deep:#071d38;--lb-blue:#1f5fae;--lb-sky:#8cc4ff;--lb-ice:#f1f6fc;--lb-line:#dbe5f1;--lb-body:#3a5170;
  --lb-muted:#53698a;--lb-on-dark:#d3e2f4;--lb-amber:#ffb93b;--lb-amber-2:#ffcb66;--lb-amber-edge:#d9922a;
  --lb-sh-1:0 1px 2px rgba(7,29,56,.06),0 3px 10px rgba(7,29,56,.06);
  --lb-sh-2:0 2px 6px rgba(7,29,56,.06),0 18px 40px -14px rgba(7,29,56,.28);
  --lb-band:radial-gradient(700px 380px at 50% 135%,rgba(140,196,255,.34),rgba(140,196,255,0) 70%),radial-gradient(600px 400px at 92% 0%,rgba(31,95,174,.7),rgba(31,95,174,0) 70%),linear-gradient(180deg,#0c2f57 0%,#123f73 100%);
  --lb-top:18px;--lb-dome-h:56px;--lb-dome-w:calc((100vw - 240px)*1.25);
  --lb-wm:url(/dns-art/shield-faint.svg) no-repeat calc(50% - 560px) -60px/440px,url(/dns-art/shield-faint.svg) no-repeat calc(50% + 540px) 40px/360px}
@media (max-width:700px){body.sg-dns{--lb-top:14px;--lb-dome-h:26px;--lb-dome-w:150vw;
  --lb-wm:url(/dns-art/shield-faint.svg) no-repeat calc(50% + 150px) -10px/230px}}

/* 1. Ground, type and the one content column (centred, as the website's sections are) */
.sg-dns.v6-shell .v6-frame{background:var(--lb-ice)}
.sg-dns.v6-shell main.v6-panel{overflow:clip}
.sg-dns.v6-shell main.v6-panel>:is(.v6-page-head,.v6-legacy),.sg-dns.v6-shell main.v6-panel>.panel-content>.v6f-page{margin-left:auto!important;margin-right:auto!important}
.sg-dns.v6-shell main :is(h1,h2,h3){letter-spacing:-.02em}
.sg-dns.v6-shell main h1{font-weight:900}
.sg-dns.v6-shell .v6f-page :is(.v6-card-title,.rl-apps>h2),.sg-dns.v6-shell .rl-page .rl-check>.rl-label,.sg-dns.v6-shell .rl-page .v6-card-title{font-size:22px;font-weight:900;color:var(--lb-navy);letter-spacing:-.02em}
.sg-dns.v6-shell .v6f-page :is(.v6-row-title){font-weight:800;color:var(--lb-navy)}
.sg-dns .dg-card h1{font-size:32px;font-weight:900;letter-spacing:-.03em;line-height:1.1;color:var(--lb-navy)}
.sg-dns .dg-lead{color:var(--lb-body)}
/* the website's kicker: blue capitals after a short amber dash */
.sg-dns.v6-shell .v6f-home .v6-group-title,.sg-dns .dg-count,.sg-dns .dg-kicker,.sg-dns.v6-shell .v6f-hello,.sg-dns.v6-shell .account-card>.eyebrow{position:relative;display:inline-block;padding-left:26px!important;font-size:13px!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase;color:var(--lb-blue)!important}
.sg-dns.v6-shell .v6f-home .v6-group-title::before,.sg-dns .dg-count::before,.sg-dns .dg-kicker::before,.sg-dns.v6-shell .v6f-hello::before,.sg-dns.v6-shell .account-card>.eyebrow::before{content:"";position:absolute;left:0;top:50%;width:16px;height:3px;border-radius:2px;background:var(--lb-amber);transform:translateY(-50%)}
@media (max-width:700px){.sg-dns .dg-card h1{font-size:26px}}

/* 2. Header and menu in the website header's navy */
.sg-dns.v6-shell .v6-header.v6f-header{background:var(--lb-navy);border-bottom:0;box-shadow:none}
.sg-dns.v6-shell .v6f-header a.v6-add{background:rgba(255,255,255,.08)!important;color:#fff!important;border:2px solid rgba(255,255,255,.5)!important;box-shadow:none!important;font-weight:800}
.sg-dns.v6-shell .v6f-header a.v6-add:hover{background:rgba(255,255,255,.16)!important;border-color:#fff!important}
.sg-dns.v6-shell .v6f-header a.nav-logout{background:transparent!important;color:#fff!important;border:2px solid rgba(255,255,255,.28)!important;box-shadow:none!important}
.sg-dns.v6-shell .v6f-header a.nav-logout:hover{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.6)!important}
.sg-dns.v6-shell .v6f-header .dns-mobile-brand{color:#fff!important;font-weight:900!important}
.sg-dns.v6-shell .v6f-header .dns-mobile-brand img{content:url(/dns-art/logo-on-dark.svg)}
.sg-dns.v6-shell :is(.v6-header,.v6-sidebar,.v6-bottom) :focus-visible{outline:3px solid var(--lb-amber)!important;outline-offset:3px}
.sg-dns.v6-shell .v6-sidebar{background:var(--lb-navy)!important}
.sg-dns.v6-shell .v6-brand{font-weight:900;letter-spacing:-.02em}
@media (min-width:701px){
  .sg-dns.v6-shell.v6-classic .v6-nav-item{color:#fff;font-weight:700}
  .sg-dns.v6-shell.v6-classic .v6-nav-item>svg{color:var(--lb-sky)}
  .sg-dns.v6-shell.v6-classic .v6-nav-item:hover{background:rgba(255,255,255,.08)}
  .sg-dns.v6-shell.v6-classic .v6-nav-item[aria-current]{background:rgba(255,255,255,.13)!important;color:#fff!important;box-shadow:inset 4px 0 var(--lb-amber)!important}
  .sg-dns.v6-shell.v6-classic .v6-nav-item[aria-current]>svg{color:var(--lb-amber)}
  .sg-dns.v6-shell .v6-help-card{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;color:var(--lb-on-dark)!important}
  .sg-dns.v6-shell .v6-help-card strong{color:#fff}
  .sg-dns.v6-shell .v6-help-card a{color:var(--lb-amber)!important}
}
/* phone: the bottom tab bar as the website's phone bar (deep navy), the open tab in a light pill with an amber icon */
@media (max-width:700px){
  .sg-dns.v6-shell.v6-classic .v6-bottom{background:rgba(7,29,56,.97)!important;border-top:0!important;box-shadow:0 -8px 24px -10px rgba(0,0,0,.5)!important}
  .sg-dns.v6-shell.v6-classic a.v6-bottom-item{color:#c7d8ee!important;font-weight:700}
  .sg-dns.v6-shell.v6-classic a.v6-bottom-item[aria-current]{color:#fff!important;font-weight:800}
  .sg-dns.v6-shell.v6-classic a.v6-bottom-item[aria-current] .v6-bottom-pill{background:rgba(255,255,255,.16)!important;color:var(--lb-amber)!important}
}

/* 3. Page tops: the website's navy band with the faint shield and the curved white edge, behind the page title.
   The band and the curve are drawn behind the title block and cut to the page (main clips them), so no markup changes. */
.sg-dns.v6-shell main.v6-panel>.v6-page-head:first-child,.sg-dns.v6-shell .v6f-page>.v6-page-head:first-child,
.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child,.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child,.sg-dns.v6-shell .dg>.dg-head:first-child{
  position:relative;isolation:isolate;box-sizing:border-box;margin-top:0!important;margin-bottom:0!important;padding:20px 0 calc(var(--lb-dome-h) + 24px)!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff;min-height:0;overflow:visible!important}
.sg-dns.v6-shell main.v6-panel>.v6-page-head:first-child::before,.sg-dns.v6-shell .v6f-page>.v6-page-head:first-child::before,
.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child::before,.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child::before,.sg-dns.v6-shell .dg>.dg-head:first-child::before{
  content:"";position:absolute;z-index:-2;top:calc(-1 * var(--lb-top));bottom:0;left:-100vw;right:-100vw;background:var(--lb-wm),var(--lb-band);pointer-events:none}
.sg-dns.v6-shell main.v6-panel>.v6-page-head:first-child::after,.sg-dns.v6-shell .v6f-page>.v6-page-head:first-child::after,
.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child::after,.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child::after,.sg-dns.v6-shell .dg>.dg-head:first-child::after{
  content:"";position:absolute;z-index:-1;left:50%;bottom:-1px;width:var(--lb-dome-w);height:var(--lb-dome-h);transform:translateX(-50%);background:var(--lb-ice);border-radius:50% 50% 0 0/100% 100% 0 0;pointer-events:none}
.sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child) h1{
  color:#fff!important;font-size:clamp(32px,3.4vw,44px);font-weight:900;letter-spacing:-.03em;line-height:1.04;margin:0 0 8px}
.sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child) :is(p,.v6-page-sub){color:var(--lb-on-dark)!important;font-size:18px;line-height:1.5}
.sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child,.dg>.dg-head:first-child) a:not(.v6-btn){color:#fff}
.sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child,.dg>.dg-head:first-child) :focus-visible{outline-color:var(--lb-amber)}
.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child .v6-page-head{padding:0!important}
/* the title's kicker on the band in sky blue, as the website's light kicker */
.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child .v6f-hello,.sg-dns.v6-shell .dg>.dg-head:first-child .dg-kicker{color:#dcecff!important}
/* Switch (another device's rules) as the website's outline button on navy */
.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child .dns-rules-for-switch{background:rgba(255,255,255,.08);border:2px solid rgba(255,255,255,.5);color:#fff;font-weight:800}
.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child .dns-rules-for-switch:hover{background:rgba(255,255,255,.16);border-color:#fff}
@media (max-width:700px){
  .sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child,.dg>.dg-head:first-child){padding:12px 0 calc(var(--lb-dome-h) + 18px)!important}
  .sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child) h1{font-size:30px}
  .sg-dns.v6-shell :is(main.v6-panel>.v6-page-head:first-child,.v6f-page>.v6-page-head:first-child,.rl-page>.dns-rules-heading:first-child,.v6f-home>.v6f-hero:first-child) :is(p,.v6-page-sub){font-size:16px}
}

/* Home: the overview sits on the band; Step-by-step setup is a white card over the curve with the amber main action */
.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child{display:flex;align-items:center;gap:28px}
.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child .v6f-hero-art{order:2;margin-left:auto;background:none!important;width:240px;height:auto;filter:drop-shadow(0 18px 30px rgba(0,0,0,.25))}
body.sg-dns.v6-shell .v6f-home:has(#start-guide)>.v6f-hero:first-child .v6-btn.dns-overview-action{background:rgba(255,255,255,.08)!important;color:#fff!important;border:2px solid rgba(255,255,255,.5)!important;box-shadow:none!important}
body.sg-dns.v6-shell .v6f-home:has(#start-guide)>.v6f-hero:first-child .v6-btn.dns-overview-action:hover{background:rgba(255,255,255,.16)!important;border-color:#fff!important}
.sg-dns.v6-shell .v6f-home>.v6f-hero:first-child+.v6f-first:has(.dg-home){position:relative;z-index:1;margin-top:calc(-1 * var(--lb-dome-h) - 4px)!important}
.sg-dns.v6-shell .dg-home{background:#fff!important;color:var(--lb-navy)!important;border:1px solid var(--lb-line);border-radius:24px!important;box-shadow:var(--lb-sh-2);padding:26px 28px!important}
.sg-dns.v6-shell .dg-home h2,.sg-dns.v6-shell .dg-home h2 strong{color:var(--lb-navy)!important;font-size:26px!important;font-weight:900;letter-spacing:-.02em}
.sg-dns.v6-shell .dg-home p:not(.dg-kicker){color:var(--lb-body)!important;font-size:17px}
.sg-dns.v6-shell .dg-home .dg-kicker{color:var(--lb-blue)!important}
@media (max-width:700px){
  .sg-dns.v6-shell .v6f-home>.v6f-hero:first-child{gap:12px}
  .sg-dns.v6-shell .v6f-home>.v6f-hero:first-child .v6f-hero-art{width:96px;align-self:flex-start}
  .sg-dns.v6-shell .dg-home{padding:20px 18px!important}
  .sg-dns.v6-shell .dg-home h2,.sg-dns.v6-shell .dg-home h2 strong{font-size:22px!important}
}

/* Step-by-step setup and rules: the stepper on the band, the step card over the curve */
.sg-dns.v6-shell .dg>.dg-head:first-child{padding-left:8px!important;padding-right:8px!important}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-step a{color:#c7d8ee!important}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-step.dg-current a{color:#fff!important;font-weight:800}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-step:not(:first-child)::before{background:rgba(255,255,255,.22)}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-step:is(.dg-done,.dg-current):not(:first-child)::before{background:var(--lb-sky)}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-mark{background:var(--lb-navy);border:2.5px solid rgba(255,255,255,.45);color:#fff;box-shadow:none}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-done .dg-mark{background:#fff;border-color:#fff;color:var(--lb-navy)}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-current .dg-mark,.sg-dns.v6-shell .dg>.dg-head:first-child .dg-step.dg-current.dg-done .dg-mark{background:var(--lb-amber);border-color:var(--lb-amber);color:var(--lb-deep);box-shadow:0 0 0 6px rgba(255,185,59,.22)}
.sg-dns.v6-shell .dg>.dg-head:first-child+.dg-card,.sg-dns.v6-shell .rl-page>.dns-rules-heading:first-child+.v6-card,.sg-dns.v6-shell .v6f-page>.v6-page-head:first-child+.v6-card{position:relative;z-index:1;margin-top:calc(-1 * var(--lb-dome-h) - 4px)!important}
.sg-dns .dg-card{border:1px solid var(--lb-line)!important;border-radius:28px;box-shadow:var(--lb-sh-2)}
.sg-dns .dg-choice,.sg-dns .dg-kind-face,.sg-dns .dg-level{border-color:var(--lb-line)}
.sg-dns .dg-go{background:#eaf3ff;color:#174c8f!important;font-weight:900}
.sg-dns :is(a.dg-choice:hover,summary:hover) .dg-go,.sg-dns .dg-rules-card.is-main .dg-go{background:var(--lb-blue);color:#fff!important}
@media (max-width:700px){.sg-dns .dg-card{border-radius:22px}}

/* 4. Buttons: the one main action in the website's amber with navy text; others stay outlined blue; Delete stays red */
body.sg-dns .v6-btn.v6-btn--primary,body.sg-dns .rl-bulk .v6-btn.v6-btn--primary,body.sg-dns .dg-home .v6-btn.v6-btn--primary,
body.sg-dns.auth-page .auth-form button:not(.switch):not([role=switch]):not(.button-secondary){
  background:var(--lb-amber)!important;border:0!important;color:var(--lb-deep)!important;font-weight:900!important;border-radius:14px!important;
  box-shadow:0 2px 0 var(--lb-amber-edge),0 12px 24px -12px rgba(255,185,59,.8)!important;text-shadow:none;transition:background-color .15s,transform .15s,box-shadow .15s}
body.sg-dns .v6-btn.v6-btn--primary:hover,body.sg-dns .rl-bulk .v6-btn.v6-btn--primary:hover,body.sg-dns .dg-home .v6-btn.v6-btn--primary:hover,
body.sg-dns.auth-page .auth-form button:not(.switch):not([role=switch]):not(.button-secondary):hover{background:var(--lb-amber-2)!important;transform:translateY(-1px)}
.sg-dns .v6-btn--primary:active{transform:translateY(1px);box-shadow:0 1px 0 var(--lb-amber-edge)!important}
.sg-dns .v6-btn--primary:is(:disabled,[aria-disabled=true]){background:#e3e9f1!important;color:#53698a!important;box-shadow:none!important;transform:none}
.sg-dns .v6-btn--primary svg{color:currentColor;stroke:currentColor}
.sg-dns .v6-btn--primary:focus-visible{outline:3px solid var(--lb-navy)!important;outline-offset:3px}
.sg-dns.v6-shell .v6-btn--secondary{border-radius:14px;font-weight:800}
.sg-dns.v6-shell .v6-btn--danger{background:#c8372d!important;border-color:#c8372d!important;color:#fff!important}

/* 5. Cards, folds and pills: the website's 18px corners, thin line and soft layered shadow */
.sg-dns.v6-shell :is(.v6-card,.account-card,.device-card,.who-card),.sg-dns.v6-shell .v6f-page :is(.v6-list,.v6f-fold),.sg-dns.v6-shell .v6f-fold,.sg-dns.v6-shell .rl-page>details.v6-fold{
  border:1px solid var(--lb-line)!important;border-radius:18px!important;box-shadow:var(--lb-sh-1)!important}
.sg-dns.v6-shell .rl-page>.rl-apps,.sg-dns.v6-shell .v6f-home .v6f-device:hover,.sg-dns.v6-shell .v6f-account .v6f-plan{box-shadow:var(--lb-sh-2)!important}
.sg-dns.v6-shell .v6f-home .v6f-device{transition:transform .2s,box-shadow .2s}
.sg-dns.v6-shell .v6f-home .v6f-device:hover{transform:translateY(-3px)}
.sg-dns.v6-shell .guided-section{border:1px solid var(--lb-line)!important;border-radius:18px!important;box-shadow:var(--lb-sh-1)}
.sg-dns.v6-shell :is(.v6-tag,.rl-badge,.connection-badge,.v6f-plan-pill,.v6f-custom){border-radius:999px!important;font-weight:800}
.sg-dns.v6-shell .v6f-plan-pill{background:var(--lb-navy)!important;color:#fff!important;padding:4px 14px!important}
.sg-dns.v6-shell .rl-chip-link{border-width:2px;font-weight:800}
.sg-dns.v6-shell .rl-chip-link.is-current{background:var(--lb-navy)!important;border-color:var(--lb-navy)!important;color:#fff!important}
.sg-dns.v6-shell .rl-chip-link.is-current em{background:var(--lb-amber)!important;color:var(--lb-deep)!important}
.sg-dns.v6-shell .v6f-bar::-webkit-progress-value{background:var(--lb-blue)}

/* 6. Footer: the website's deep navy footer (brand, the address in amber, white links, a fine base line) */
.sg-dns.v6-shell .site-footer.sg-foot,.sg-dns.public-page .site-footer.sg-foot{background:var(--lb-deep)!important;color:#b9cce4;padding:28px max(36px,calc((100% - 920px)/2)) 18px!important;margin-top:40px!important;font-size:15px}
.sg-dns .sg-foot .sg-foot-top{gap:6px 24px}
.sg-dns .sg-foot .sg-foot-brand{font-size:18px!important;font-weight:900;gap:10px!important}
.sg-dns .sg-foot .sg-foot-brand img{width:28px;height:28px}
.sg-dns .sg-foot .sg-foot-brand span{color:var(--lb-sky)}
.sg-dns .sg-foot a.sg-foot-mail{display:inline-flex;align-items:center;min-height:44px;color:var(--lb-amber)!important;font-size:15px!important;font-weight:800;text-decoration:underline;text-decoration-color:rgba(255,185,59,.45);text-decoration-thickness:2px;text-underline-offset:5px;box-sizing:border-box}
.sg-dns .sg-foot a.sg-foot-mail:hover{text-decoration-color:var(--lb-amber)}
.sg-dns .sg-foot .footer-links{gap:2px 16px}
.sg-dns .sg-foot .footer-links a{display:inline-flex;align-items:center;min-height:44px;color:#fff!important;font-size:15px!important;font-weight:700}
.sg-dns .sg-foot .footer-links a:hover{color:var(--lb-amber)!important;text-decoration:none}
.sg-dns .sg-foot .sg-foot-base{margin-top:14px!important;padding-top:14px!important;border-top:1px solid #1b3a60;color:#9fb6d3;font-size:13px!important}
.sg-dns .sg-foot .sg-foot-base strong{font-size:13px!important;color:#fff}
.sg-dns .sg-foot .sg-foot-base small{font-size:13px!important;color:#9fb6d3}
@media (max-width:700px){
  .sg-dns.v6-shell .v6-frame>.site-footer.sg-foot{padding:24px 16px calc(96px + env(safe-area-inset-bottom))!important}
  .sg-dns .sg-foot a.sg-foot-mail{display:inline-flex}
  .sg-dns .sg-foot .footer-links{margin-left:0;gap:0 18px}
  .sg-dns .sg-foot .footer-links a{min-height:44px!important;padding:0!important}
}

/* 7. Log in, sign up and password pages: the navy band with the shield, the form on a white card, amber Log in */
.sg-dns.auth-page{background:var(--lb-ice)!important}
.sg-dns.auth-page .auth-hero{background:url(/dns-art/shield-faint.svg) no-repeat -140px 70%/520px,var(--lb-band)!important}
.sg-dns.auth-page .auth-pitch h2{font-weight:900;letter-spacing:-.03em;line-height:1.05;font-size:clamp(34px,3.4vw,46px)}
.sg-dns.auth-page .auth-pitch h2 .sky{color:var(--lb-amber)!important}
.sg-dns.auth-page .auth-pitch p{color:var(--lb-on-dark)!important;font-size:18px}
.sg-dns.auth-page .auth-pitch li svg{background:#5fe0a0!important;color:var(--lb-deep)!important;border-radius:50%!important}
.sg-dns.auth-page .panel{border:1px solid var(--lb-line)!important;border-radius:28px!important;box-shadow:var(--lb-sh-2)!important}
.sg-dns.auth-page .panel-heading h1,.sg-dns.auth-page .panel h1{font-weight:900;letter-spacing:-.03em;color:var(--lb-navy)}
body.sg-dns.auth-page .auth-form button:not(.switch):not([role=switch]):not(.button-secondary){min-height:52px;font-size:17px}
.sg-dns.auth-page .auth-form input{border:2px solid #b8c9de!important;border-radius:12px!important;min-height:52px}
.sg-dns.auth-page .auth-form input:focus{outline:3px solid var(--lb-amber);outline-offset:2px;border-color:var(--lb-blue)!important}
@media (max-width:700px){.sg-dns.auth-page .auth-hero{background:url(/dns-art/shield-faint.svg) no-repeat calc(100% + 60px) -30px/200px,var(--lb-band)!important}}

/* 8. Less motion for those who ask for it */
@media (prefers-reduced-motion:reduce){.sg-dns .v6-btn--primary,.sg-dns.v6-shell .v6f-home .v6f-device{transform:none!important;transition:none!important}}

/* Look B fixes (21 Nov 2026, after the check): one amber main button per screen; every other button is the outlined secondary.
   Amber stays on .v6-btn--primary only (Add a rule / Add rule, Save, the guide's Next, Start step-by-step setup). The guide
   entry on Rules, Check, Always allow, Devices' rule buttons, Search, Show and Save new password are outlined. */
body.sg-dns.v6-shell :is(.device-actions a.button-link,form.query-search button,form.analytics-filter button,form.account-password button,
  .rl-page .rl-check-form .v6-btn,.rl-page .rl-check .check-form>button,.rl-page a.v6-btn.rg-entry-top){
  background:#fff!important;color:#174c8f!important;border:2px solid var(--lb-blue)!important;border-radius:14px!important;font-weight:800!important;box-shadow:none!important;text-shadow:none}
body.sg-dns.v6-shell :is(.device-actions a.button-link,form.query-search button,form.analytics-filter button,form.account-password button,
  .rl-page .rl-check-form .v6-btn,.rl-page .rl-check .check-form>button,.rl-page a.v6-btn.rg-entry-top):hover{background:#eaf3ff!important;border-color:#174c8f!important;transform:none}
body.sg-dns.v6-shell :is(.device-actions a.button-link,form.query-search button,form.analytics-filter button,form.account-password button,
  .rl-page .rl-check-form .v6-btn,.rl-page .rl-check .check-form>button,.rl-page a.v6-btn.rg-entry-top):focus-visible{outline:3px solid var(--lb-navy)!important;outline-offset:3px}
body.sg-dns.v6-shell .rl-page a.v6-btn.rg-entry-top svg{color:currentColor;stroke:currentColor}
/* Tap targets in the guide: step links, the Change link and Skip for now are at least 44px tall */
.sg-dns .dg-step a{min-height:44px;box-sizing:border-box;justify-content:flex-start}
.sg-dns .dg-for a{display:inline-block;line-height:20px;padding:12px 8px;margin:-12px -4px}
.sg-dns .dg-skip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box}
/* While the rule form is open its own "Add rule" is the one amber button: the "Add a rule" link above it is outlined. */
body.sg-dns.v6-shell .rl-page:has(details[open] #rule-form) a.v6-btn--primary[href*="edit=new"]{background:#fff!important;color:#174c8f!important;border:2px solid var(--lb-blue)!important;box-shadow:none!important}
body.sg-dns.v6-shell .rl-page:has(details[open] #rule-form) a.v6-btn--primary[href*="edit=new"]:hover{background:#eaf3ff!important;border-color:#174c8f!important;transform:none}
/* Help: "Add a device" is the page's one main action, so it is amber like the other screens' main buttons */
body.sg-dns[data-page=help] main a.button-link:not(.button-secondary){background:var(--lb-amber)!important;border:0!important;color:var(--lb-deep)!important;font-weight:900!important;border-radius:14px!important;box-shadow:0 2px 0 var(--lb-amber-edge),0 12px 24px -12px rgba(255,185,59,.8)!important}
body.sg-dns[data-page=help] main a.button-link:not(.button-secondary):hover{background:var(--lb-amber-2)!important}
body.sg-dns[data-page=help] main a.button-link:not(.button-secondary):focus-visible{outline:3px solid var(--lb-navy)!important;outline-offset:3px}

/* Ticked-apps bar: short labels on phones, with one "For the ticked apps:" line (21 Nov 2026) */
.sg-dns .rl-bulk-for{display:none}
@media (max-width:700px){
  .sg-dns .rl-bulk-long{display:none}
  .sg-dns .rl-bulk .rl-bulk-for{display:block;width:100%;font-style:normal;font-weight:800;font-size:14px;color:#dcecff;margin:0 2px 2px}
  .sg-dns .rl-bulk-actions .v6-btn{white-space:nowrap;padding:8px 6px;font-size:15px}
}
/* ---- Step-by-step setup, fully assisted (21 Nov 2026): ten steps, radio cards, the review list, Save all (dns_guide.py) ---- */
.sg-dns .dg-steps.dg-steps-10{grid-template-columns:repeat(10,1fr)}.sg-dns .dg-steps.dg-steps-9{grid-template-columns:repeat(9,1fr)}
.sg-dns :is(.dg-steps-9,.dg-steps-10) .dg-step a{font-size:12px;line-height:1.25;padding:0 2px}
.sg-dns :is(.dg-steps-9,.dg-steps-10) .dg-mark{width:34px;height:34px;font-size:14px}
.sg-dns :is(.dg-steps-9,.dg-steps-10) .dg-step:not(:first-child)::before{top:16px}
.sg-dns.v6-shell .dg>.dg-head:first-child .dg-step-rules:not(:first-child)::before{background:repeating-linear-gradient(90deg,rgba(255,255,255,.45) 0 6px,transparent 6px 11px)}
.sg-dns .dg-bar{display:none}
.sg-dns .dg-bar-words{margin:0 0 8px;font-size:14px;font-weight:800;color:#fff}
.sg-dns .dg-bar-track{display:block;height:8px;border-radius:999px;background:rgba(255,255,255,.22);overflow:hidden}
.sg-dns .dg-bar-fill{display:block;height:100%;border-radius:999px;background:var(--lb-amber)}
.sg-dns .dg-fill-0{width:0%}.sg-dns .dg-fill-5{width:5%}.sg-dns .dg-fill-10{width:10%}.sg-dns .dg-fill-15{width:15%}.sg-dns .dg-fill-20{width:20%}.sg-dns .dg-fill-25{width:25%}.sg-dns .dg-fill-30{width:30%}.sg-dns .dg-fill-35{width:35%}.sg-dns .dg-fill-40{width:40%}.sg-dns .dg-fill-45{width:45%}.sg-dns .dg-fill-50{width:50%}.sg-dns .dg-fill-55{width:55%}.sg-dns .dg-fill-60{width:60%}.sg-dns .dg-fill-65{width:65%}.sg-dns .dg-fill-70{width:70%}.sg-dns .dg-fill-75{width:75%}.sg-dns .dg-fill-80{width:80%}.sg-dns .dg-fill-85{width:85%}.sg-dns .dg-fill-90{width:90%}.sg-dns .dg-fill-95{width:95%}.sg-dns .dg-fill-100{width:100%}
@media (max-width:700px){.sg-dns :is(.dg-steps-9,.dg-steps-10){display:none}.sg-dns .dg-bar{display:block;padding:2px 4px 6px}}
.sg-dns .dg-fieldset{border:0;margin:0;padding:0;min-width:0}
.sg-dns .dg-opts{display:grid;gap:12px;margin:14px 0 6px}
.sg-dns .dg-opts-times,.sg-dns .dg-opts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sg-dns .dg-levels.dg-opts-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0 18px}
.sg-dns .dg-opts-head{margin:22px 0 0;font-size:15px;font-weight:900;color:var(--lb-navy)}
.sg-dns .dg-opt{position:relative;display:block;cursor:pointer;margin:0}
.sg-dns .dg-opt>input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.sg-dns .dg-opt-face{position:relative;display:flex;align-items:flex-start;gap:14px;min-height:64px;height:100%;box-sizing:border-box;padding:16px 18px 16px 54px;border:2px solid var(--lb-line);border-radius:18px;background:#fff;color:var(--lb-body);box-shadow:var(--lb-sh-1);transition:border-color .15s,background .15s,box-shadow .15s}
.sg-dns .dg-opt-face::before{content:"";position:absolute;left:18px;top:19px;width:22px;height:22px;border-radius:50%;border:2px solid #9fb3cb;background:#fff;box-sizing:border-box}
.sg-dns .dg-opt:hover .dg-opt-face{border-color:#9fc3ec}
.sg-dns .dg-opt>input:checked+.dg-opt-face{border-color:var(--lb-blue);background:#f1f7ff;box-shadow:0 0 0 3px #d6e6f8}
.sg-dns .dg-opt>input:checked+.dg-opt-face::before{border:7px solid var(--lb-blue)}
.sg-dns .dg-opt>input:focus-visible+.dg-opt-face{outline:3px solid var(--lb-sky);outline-offset:2px}
.sg-dns .dg-opt.is-disabled{cursor:not-allowed}.sg-dns .dg-opt.is-disabled .dg-opt-face{opacity:.5;box-shadow:none}
.sg-dns .dg-opt-art{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:12px;background:#e6f0fb;color:var(--lb-blue)}
.sg-dns .dg-opt-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.sg-dns .dg-opt-text strong{font-size:17px;line-height:1.25;color:var(--lb-navy)}
.sg-dns .dg-opt-text>span{font-size:15px;line-height:1.45;color:var(--lb-body)}
.sg-dns .dg-opt-text .rg-days{margin-top:4px}
.sg-dns .dg-opt-tag{flex:0 0 auto;align-self:flex-start;font-style:normal;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:4px 10px;background:#e3f4ea;color:#17683f}
.sg-dns .dg-level-opt .dg-opt-face{flex-direction:column;gap:6px;padding:18px 16px 16px 16px}
.sg-dns .dg-level-opt .dg-opt-face::before{left:auto;right:16px;top:18px}
.sg-dns .dg-level-opt .dg-opt-face>strong{font-size:19px;color:var(--lb-navy)}
.sg-dns .dg-level-opt .dg-opt-face>span:not(.dg-level-art){font-size:14px;line-height:1.45;color:var(--lb-body)}
.sg-dns .dg-level-opt .dg-opt-face>em{font-style:normal;font-size:12px;font-weight:900;border-radius:999px;padding:4px 10px;background:#e3f4ea;color:#17683f;margin-top:auto}
.sg-dns .dg-level-opt.dg-recommended .dg-opt-face{border-color:#9fc3ec}
.sg-dns .dg-level-opt.dg-recommended>input:checked+.dg-opt-face{border-color:var(--lb-blue)}
.sg-dns .dg-level-keep{margin:-6px 0 16px;font-size:15px;color:var(--lb-body)}
.sg-dns .dg-level-keep a{display:inline-flex;align-items:center;min-height:44px;font-weight:800}
.sg-dns .dg-now{display:flex;align-items:flex-start;gap:12px;margin:12px 0 4px;padding:12px 16px;border-radius:14px;background:#eef5fd;border:1px solid #d6e6f8;color:#21405f;font-size:15px;line-height:1.5}
.sg-dns .dg-now p{margin:0}.sg-dns .dg-now a{font-weight:800}
.sg-dns .dg-now-mark{display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:var(--lb-blue);color:#fff;font-size:14px;font-weight:900;font-style:normal}
.sg-dns .dg-now-warn{background:#fff6e5;border-color:#f4d7a2;color:#5a3d07}.sg-dns .dg-now-warn .dg-now-mark{background:var(--lb-amber-edge)}
.sg-dns .dg-now-ok{background:#ecf8f1;border-color:#bfe5cf;color:#17502f}.sg-dns .dg-now-ok .dg-now-mark{background:#1a8a55}
.sg-dns .dg-kept{margin:10px 0 0;font-size:14px}
.sg-dns .dg-check{display:flex;align-items:flex-start;gap:12px;margin:12px 0 0;padding:12px 14px;min-height:44px;box-sizing:border-box;border-radius:14px;background:#fff;border:1px solid var(--lb-line);cursor:pointer}
.sg-dns .dg-check input[type=checkbox]{flex:0 0 auto;width:24px;height:24px;margin:2px 0 0;accent-color:var(--lb-blue)}
.sg-dns .dg-check-text{display:flex;flex-direction:column;gap:2px}.sg-dns .dg-check strong{font-size:16px;color:var(--lb-navy)}.sg-dns .dg-check small{font-size:14px;color:var(--lb-body)}
.sg-dns .dg-nothing-yet{margin-top:16px!important;color:var(--lb-muted)!important}
.sg-dns .dg-review{list-style:none;margin:16px 0 14px;padding:0;border:1px solid var(--lb-line);border-radius:18px;overflow:hidden;background:#fff}
.sg-dns .dg-rev{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 16px;border-top:1px solid var(--lb-line)}
.sg-dns .dg-rev:first-child{border-top:0}
.sg-dns .dg-rev.is-change{background:#f6faff}
.sg-dns .dg-rev-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e8eef6;color:var(--lb-muted);font-weight:900;font-size:16px}
.sg-dns .dg-rev.is-change .dg-rev-mark{background:var(--lb-blue);color:#fff}
.sg-dns .dg-rev.is-same:first-child .dg-rev-mark{background:#1a8a55;color:#fff}
.sg-dns .dg-rev.is-problem .dg-rev-mark,.sg-dns .dg-rev.is-open .dg-rev-mark{background:var(--lb-amber-edge);color:#fff}
.sg-dns .dg-rev-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.sg-dns .dg-rev-text strong{font-size:13px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--lb-muted)}
.sg-dns .dg-rev-after{font-size:17px;font-weight:800;line-height:1.35;color:var(--lb-navy)}
.sg-dns .dg-rev-tag{align-self:flex-start;font-style:normal;font-size:12px;font-weight:900;border-radius:999px;padding:3px 10px;background:var(--lb-blue);color:#fff;margin-top:2px}
.sg-dns .dg-rev-tag-same{background:#e8eef6;color:var(--lb-muted)}.sg-dns .dg-rev-tag-warn{background:#fff0d6;color:#7a4d00}
.sg-dns .dg-rev-notes{margin:6px 0 0;padding-left:18px;font-size:14px;line-height:1.45;color:var(--lb-body)}
.sg-dns .dg-rev-change{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 12px;border-radius:12px;font-weight:800;color:var(--lb-blue);text-decoration:underline}
.sg-dns .dg-rev-change:hover{background:#eef5fd}
.sg-dns .dg-h2{margin:6px 0 8px;font-size:20px;color:var(--lb-navy)}
.sg-dns .dg-result{margin-bottom:12px}
.sg-dns .dg-note-plain{margin:4px 0 14px;padding:12px 16px;border-radius:14px;background:#eef5fd;color:#21405f;font-size:16px}
.sg-dns .dg-main-row{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.sg-dns .dg-main-row .v6-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;font-size:16px}
.sg-dns .dg-more a{display:inline-flex;align-items:center;min-height:44px}
.sg-dns .dg-hide .dg-link{display:inline-flex;align-items:center;min-height:44px}
.sg-dns .dg-check-sub{margin:0 0 6px 54px}.sg-dns .dg-check-sub .dg-check{margin-top:0}
.sg-dns .dg-nav button.v6-btn{cursor:pointer;font-family:inherit}
@media (max-width:700px){
.sg-dns .dg-opts-times,.sg-dns .dg-opts-grid,.sg-dns .dg-levels.dg-opts-grid{grid-template-columns:1fr}
.sg-dns .dg-opt-face{padding:14px 14px 14px 48px;gap:12px}.sg-dns .dg-opt-face::before{left:14px;top:17px}
.sg-dns .dg-opt-art{width:34px;height:34px}
.sg-dns .dg-opt-tag{position:absolute;right:10px;top:10px;font-size:11px;padding:3px 8px}
.sg-dns .dg-opt:has(.dg-opt-tag) .dg-opt-text strong{padding-right:52px}
.sg-dns .dg-rev{grid-template-columns:28px minmax(0,1fr);gap:10px;padding:12px}
.sg-dns .dg-rev-mark{width:28px;height:28px;font-size:14px}
.sg-dns .dg-rev-change{grid-column:2;justify-self:start;padding:0 8px;margin:-6px 0 -6px -8px}
.sg-dns .dg-main-row .v6-btn{flex:1 1 100%}.sg-dns .dg-check-sub{margin-left:0}}
/* Assisted setup fixes: Done's links look like the secondary buttons (44px tall); the phone action bar is solid, not see-through */
.sg-dns .dg-summary li a.dg-sum-btn,.sg-dns .dg-hide .dg-hide-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:0 16px;font-size:15px;font-weight:800;text-decoration:none;white-space:nowrap;cursor:pointer;font-family:inherit}
.sg-dns .dg-hide{margin:4px 0 0}
@media (max-width:700px){
.sg-dns .dg-nav:has(.dg-next),.sg-dns .dg-nav:has(.dg-next.v6-btn--primary),.sg-dns .dg-nav:has(.dg-next.v6-btn--secondary){background:#f5f8fc;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:1}
.sg-dns .dg-nav:has(.dg-next){position:sticky;bottom:70px}}
@media (max-width:700px){body.sg-dns[data-page=start].v6-shell.v6-classic .v6-bottom{background:#071d38!important}}
/* Step-by-step setup: several times, own times, apps one by one (steps 6 and 7) */
.sg-dns .dg-opt-check .dg-opt-face::before{border-radius:6px}
.sg-dns .dg-opt-check>input:checked+.dg-opt-face::before{border:2px solid var(--lb-blue);background:var(--lb-blue)}
.sg-dns .dg-opt-check>input:checked+.dg-opt-face::after{content:"";position:absolute;left:26px;top:23px;width:6px;height:11px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.sg-dns .dg-opt .rg-days{gap:2px;margin:6px 0 0;pointer-events:none;cursor:default}
.sg-dns .dg-opt .rg-days i{width:14px;height:14px;border-radius:0;font-size:10px;font-weight:700;background:none;box-shadow:none;color:#9aabbf}
.sg-dns .dg-opt .rg-days i.on{background:none;color:var(--lb-navy);font-weight:900;box-shadow:inset 0 -2px 0 #6b8fbf}
.sg-dns .dg-default-submit{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.sg-dns .dg-own{grid-column:1/-1;margin:12px 0 0}
.sg-dns .dg-own-panel{margin:8px 0 0;padding:14px 16px;border:2px dashed #c3d3e6;border-radius:14px;background:#fafcff}
.sg-dns .dg-own-label{margin:0 0 6px;font-weight:900;font-size:15px;color:var(--lb-navy)}
.sg-dns .dg-days{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.sg-dns .dg-day{position:relative;cursor:pointer;margin:0}
.sg-dns .dg-day>input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.sg-dns .dg-day>span:first-of-type{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:2px solid #9fb3cb;background:#fff;color:var(--lb-navy);font-size:13px;font-weight:900;box-sizing:border-box;box-shadow:0 1px 3px rgba(20,50,90,.15);transition:background .15s,color .15s,border-color .15s}
.sg-dns .dg-day:hover>span:first-of-type{border-color:var(--lb-blue)}
.sg-dns .dg-day>input:checked+span{background:var(--lb-blue);border-color:var(--lb-blue);color:#fff}
.sg-dns .dg-day>input:focus-visible+span{outline:3px solid var(--lb-sky);outline-offset:2px}
.sg-dns .dg-quick-row{margin:4px 0 12px;font-size:14px;color:#4b627b}
.sg-dns .dg-quick{font:inherit;font-weight:800;font-size:14px;margin:0 6px 4px 0;padding:6px 12px;min-height:36px;border-radius:999px;border:1.5px solid #9fb3cb;background:#fff;color:var(--lb-blue);cursor:pointer}
.sg-dns .dg-quick:hover{border-color:var(--lb-blue);background:#f1f7ff}
.sg-dns .dg-own-times{display:flex;flex-wrap:wrap;gap:12px 18px;margin:6px 0}
.sg-dns .dg-time{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--lb-navy)}
.sg-dns .dg-time input[type=time]{font:inherit;padding:8px 10px;min-height:44px;border:2px solid #9fb3cb;border-radius:10px;box-sizing:border-box}
.sg-dns .dg-field-error{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#fdecea;color:#8a1c12;font-weight:700;font-size:15px}
.sg-dns .dg-fold{margin:16px 0 0;border:2px solid var(--lb-line);border-radius:14px;background:#fff;padding:0 14px}
.sg-dns .dg-fold>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:900;color:var(--lb-navy);font-size:16px}
.sg-dns .dg-fold[open]>summary{border-bottom:1px solid var(--lb-line);margin-bottom:10px}
.sg-dns .dg-apps{display:grid;gap:6px;margin:8px 0 14px;max-height:460px;overflow:auto}
.sg-dns .dg-app-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:6px 4px;border-bottom:1px solid #eef3fa}
.sg-dns .dg-app{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;flex:1 1 200px}
.sg-dns .dg-app>input{width:22px;height:22px;accent-color:var(--lb-blue);flex:0 0 auto}
.sg-dns .dg-app-logo{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto}
.sg-dns .dg-app-logo svg{width:26px;height:26px}
.sg-dns .dg-app-name{font-weight:800;color:var(--lb-navy)}
.sg-dns .dg-xsel select{font:inherit;min-height:44px;padding:6px 10px;border:2px solid #9fb3cb;border-radius:10px;max-width:100%}
.sg-dns .dg-xown{flex:1 1 100%;font-size:14px}.sg-dns .dg-xown>summary{cursor:pointer;color:var(--lb-blue);font-weight:800;min-height:36px;display:flex;align-items:center}
.sg-dns .dg-radio-line{display:inline-flex;align-items:center;gap:8px;margin:0 18px 8px 0;min-height:44px;font-weight:800;color:var(--lb-navy)}
.sg-dns .dg-radio-line input{width:22px;height:22px;accent-color:var(--lb-blue)}
@media (max-width:700px){.sg-dns .dg-opt-check>input:checked+.dg-opt-face::after{left:22px;top:20px}.sg-dns .dg-day>span:first-of-type{width:42px;height:42px}}
/* Step-by-step setup, 12 steps (setupall, 21 Nov 2026): one group step for Social media, Games, Chat apps and AI chatbots,
   More filters, the choice of way and everything on one page (dns_guide.py) */
.sg-dns .dg-steps.dg-steps-11{grid-template-columns:repeat(11,1fr)}.sg-dns .dg-steps.dg-steps-12{grid-template-columns:repeat(12,1fr)}
.sg-dns :is(.dg-steps-11,.dg-steps-12) .dg-step a{font-size:11.5px;line-height:1.2;padding:0 1px;overflow-wrap:anywhere}
.sg-dns :is(.dg-steps-11,.dg-steps-12) .dg-mark{width:32px;height:32px;font-size:14px}
.sg-dns :is(.dg-steps-11,.dg-steps-12) .dg-step:not(:first-child)::before{top:15px}
@media (max-width:700px){.sg-dns :is(.dg-steps-11,.dg-steps-12){display:none}}
.sg-dns .dg-group-opts{grid-template-columns:1fr}
.sg-dns .dg-group-opts>.dg-tfold{margin:-4px 0 4px 22px}
.sg-dns .dg-tfold>summary{color:var(--lb-blue)}
.sg-dns .dg-tfold>summary::after{content:"Tap to choose";margin-left:auto;font-size:13px;font-weight:800;color:#7a4d00;background:#fff0d6;border-radius:999px;padding:3px 10px}
.sg-dns .dg-tfold[open]>summary::after{content:none}
@supports selector(:has(*)){
.sg-dns .dg-group-opts>.dg-tfold{display:none}
.sg-dns .dg-group-opts>.dg-opt:has(>input:checked)+.dg-tfold{display:block;border-color:var(--lb-blue);box-shadow:0 0 0 3px #d6e6f8}
}
.sg-dns .dg-fold-sum{font-weight:700;color:var(--lb-body)}
.sg-dns .dg-part-head{margin:22px 0 4px;font-size:18px;font-weight:900;color:var(--lb-navy)}
.sg-dns .dg-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sg-dns .dg-filter .dg-opt-face{min-height:56px;padding:12px 14px 12px 50px}
.sg-dns .dg-filter .dg-opt-face::before{left:16px;top:15px}
.sg-dns .dg-filter.dg-opt-check>input:checked+.dg-opt-face::after{left:24px;top:19px}
.sg-dns .dg-filter .dg-opt-text strong{font-size:16px}.sg-dns .dg-filter .dg-opt-text>span{font-size:14px}
.sg-dns .dg-filter.is-locked{cursor:default}.sg-dns .dg-filter.is-locked .dg-opt-face{opacity:1;background:#f3f8f5;border-color:#bfe5cf;box-shadow:none}
.sg-dns .dg-filter.is-locked>input:checked+.dg-opt-face::before{background:#1a8a55;border-color:#1a8a55}
.sg-dns .dg-autos{display:grid;gap:8px;margin:10px 0 4px}
.sg-dns .dg-auto{display:flex;align-items:flex-start;gap:12px;padding:10px 14px;border-radius:14px;border:1px dashed #c3d3e6;background:#fafcff}
.sg-dns .dg-auto.is-on{border-style:solid;border-color:#bfe5cf;background:#f3f8f5}
.sg-dns .dg-auto-mark{display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:6px;background:#c7d3e1;color:#fff;font-weight:900}
.sg-dns .dg-auto.is-on .dg-auto-mark{background:#1a8a55}
.sg-dns .dg-auto-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sg-dns .dg-auto-text strong{font-size:15px;color:var(--lb-navy)}.sg-dns .dg-auto-text span{font-size:14px;line-height:1.45;color:var(--lb-body)}
.sg-dns .dg-auto:not(.is-on) .dg-opt-tag{background:#e8eef6;color:var(--lb-muted)}
.sg-dns .dg-yt{margin:12px 0 4px;padding:14px 16px;border:2px solid var(--lb-line);border-radius:18px;background:#fff}
.sg-dns .dg-yt-head{margin:0 0 10px;display:flex;flex-direction:column;gap:2px}.sg-dns .dg-yt-head strong{font-size:16px;color:var(--lb-navy)}
.sg-dns .dg-yt-head span{font-size:14px;color:var(--lb-body)}
.sg-dns .dg-seg{display:flex;flex-wrap:wrap;gap:8px}
.sg-dns .dg-seg-opt{position:relative;cursor:pointer}
.sg-dns .dg-seg-opt>input{position:absolute;opacity:0;width:1px;height:1px}
.sg-dns .dg-seg-opt>span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:2px solid #9fb3cb;font-weight:800;color:var(--lb-navy);background:#fff}
.sg-dns .dg-seg-opt>input:checked+span{background:var(--lb-blue);border-color:var(--lb-blue);color:#fff}
.sg-dns .dg-seg-opt>input:focus-visible+span{outline:3px solid var(--lb-sky);outline-offset:2px}
.sg-dns .dg-ends{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.sg-dns .dg-end{position:relative;cursor:pointer}.sg-dns .dg-end>input{position:absolute;opacity:0;width:1px;height:1px}
.sg-dns .dg-end>span{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;border:2px solid #9fb3cb;font-weight:800;color:var(--lb-navy);background:#fff}
.sg-dns .dg-end>input:checked+span{background:var(--lb-blue);border-color:var(--lb-blue);color:#fff}
.sg-dns .dg-end>input:focus-visible+span{outline:3px solid var(--lb-sky);outline-offset:2px}
.sg-dns .dg-ways .dg-way{position:relative}
.sg-dns .dg-ways .dg-way:not(.dg-way-main) .dg-go{background:#e6f0fb;color:#174c8f!important}
.sg-dns .dg-ways .dg-way-main{border-color:#9fc3ec}
.sg-dns .dg-ways .dg-way-main .dg-go{background:var(--lb-amber);color:var(--lb-navy)!important;box-shadow:0 2px 0 var(--lb-amber-edge)}
.sg-dns .dg.dg-is-page{max-width:1180px}
.sg-dns .dg-page-wrap{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start;margin-top:12px}
.sg-dns .dg-page-main,.sg-dns .dg-jump{min-width:0}.sg-dns .dg-xsel select{min-width:0;width:100%}
.sg-dns .dg-jump{position:sticky;top:16px;padding:14px;border:1px solid var(--lb-line);border-radius:18px;background:#f6faff}
.sg-dns .dg-jump-head{margin:0 0 6px;font-size:13px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--lb-muted)}
.sg-dns .dg-jump ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.sg-dns .dg-jump a{display:flex;align-items:center;min-height:44px;padding:0 10px;border-radius:10px;font-weight:800;color:var(--lb-navy);text-decoration:none}
.sg-dns .dg-jump a:hover,.sg-dns .dg-jump a:focus-visible{background:#e6f0fb;color:var(--lb-blue)}
.sg-dns .dg-sec{scroll-margin-top:16px;margin:0 0 18px;padding:20px 22px;border:1px solid var(--lb-line);border-radius:22px;background:#fff;box-shadow:var(--lb-sh-1)}
.sg-dns .dg-sec-title{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:22px;font-weight:900;color:var(--lb-navy)}
.sg-dns .dg-sec-num{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--lb-navy);color:#fff;font-size:15px}
.sg-dns .dg-nav.dg-nav-page{position:sticky;bottom:12px;z-index:6;background:#f5f8fc;border:1px solid var(--lb-line);border-radius:18px;padding:10px 14px;box-shadow:0 -10px 24px -14px rgba(12,47,87,.35)}
@media (max-width:900px){.sg-dns .dg-page-wrap{grid-template-columns:minmax(0,1fr);gap:12px}
.sg-dns .dg-jump{position:static;padding:10px 12px}
.sg-dns .dg-jump ol{display:flex;flex-wrap:wrap;gap:6px}
.sg-dns .dg-jump a{min-height:40px;padding:0 12px;border:1px solid var(--lb-line);background:#fff;border-radius:999px;font-size:14px}}
@media (max-width:700px){.sg-dns .dg-filter-grid{grid-template-columns:1fr}
.sg-dns .dg-group-opts>.dg-tfold{margin-left:0}
.sg-dns .dg-sec{padding:16px 12px;border-radius:18px}.sg-dns .dg-sec-title{font-size:19px}
.sg-dns .dg-tfold>summary::after{font-size:12px;padding:2px 8px}
.sg-dns .dg-nav.dg-nav-page{bottom:70px;margin:0 -12px;border-radius:16px 16px 0 0}
.sg-dns .dg-auto .dg-opt-tag{position:static}}
.sg-dns .dg-filter.is-locked>input:checked+.dg-opt-face{background:#f3f8f5;border-color:#bfe5cf;box-shadow:none}
.sg-dns .dg-filter.is-locked>input:checked+.dg-opt-face::before{background:#1a8a55;border-color:#1a8a55}
@media (max-width:700px){.sg-dns .dg-filter:has(.dg-opt-tag) .dg-opt-text strong{padding-right:92px}}
/* router walk (Connect it, network): which router cards, then one screen per step */
.sg-dns .dg-rcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:0 0 14px}
.sg-dns .dg-rcard{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:64px;box-sizing:border-box;border:2px solid #cbd8e6;border-radius:16px;padding:12px 40px 12px 16px;background:#fff;color:#152f4d;text-decoration:none;position:relative}
.sg-dns .dg-rcard strong{font-size:18px;color:#0c2f57}.sg-dns .dg-rcard span{font-size:14px;line-height:1.35;color:#4b627b}
.sg-dns .dg-rcard::after{content:"\203A";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:28px;line-height:1;color:#1f5fae}
.sg-dns .dg-rcard:hover,.sg-dns .dg-rcard:focus-visible{border-color:#1f5fae;box-shadow:0 8px 20px rgba(31,95,174,.14)}
.sg-dns .dg-rcount{margin:0 0 8px;font-size:15px;font-weight:800;color:#174c8f}
.sg-dns .dg-rdots{list-style:none;display:flex;gap:6px;padding:0;margin:0 0 16px}
.sg-dns .dg-rdots li{flex:1;height:8px;border-radius:999px;background:#d3deea}.sg-dns .dg-rdots li.is-done{background:#7fa6d6}.sg-dns .dg-rdots li.is-now{background:#1f5fae}
.sg-dns .dg-rstep{padding:22px 22px}.sg-dns .dg-rtext{font-size:20px!important;line-height:1.5!important;margin:0 0 12px!important}
.sg-dns .dg-rstep .copy-chip{font-size:18px}
.sg-dns .dg-wont{margin:0 0 16px;border:1.5px solid #cbd8e6;border-radius:16px;padding:0 16px;background:#fff}
.sg-dns .dg-wont>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:800;color:#174c8f}
.sg-dns .dg-wont p{margin:0 0 10px;line-height:1.5}.sg-dns .dg-wont p:last-child{margin-bottom:14px}
.sg-dns .dg-help .router-visual{margin:8px 0 0;max-width:360px}.sg-dns .dg-help .router-visual svg{max-width:100%;height:auto}
.sg-dns .dg-nav-choose .dg-skip{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:700px){.sg-dns .dg-rcards{grid-template-columns:1fr}.sg-dns .dg-rtext{font-size:18px!important}
.sg-dns .dg-nav.dg-nav-choose{grid-template-columns:auto 1fr;grid-template-areas:"back skip"}.sg-dns .dg-nav.dg-nav-choose .dg-skip{grid-area:skip;justify-self:end;text-align:right;font-size:14px}}
/* Pause or give extra time (dns_now.py, /extra): Who? / What for? / What to do as equal cards, two action boxes side by side,
   one amber Next (then one amber save on the check screen). Works without JavaScript; :has only swaps the box titles live. */
.sg-dns .nc{max-width:980px}
.sg-dns .nc-lead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;font-size:17px;line-height:1.45;color:var(--lb-body)}
.sg-dns .nc-help{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;font-size:15px;font-weight:800;color:#174c8f;white-space:nowrap}
.sg-dns .nc-sec,.sg-dns .nc-running,.sg-dns .nc-review{margin:0 0 16px;padding:20px 22px}
.sg-dns .nc-h{display:flex;align-items:center;gap:10px;margin:0 0 4px;font-size:20px;line-height:1.25;color:var(--lb-navy)}
.sg-dns .nc-num{display:inline-grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#e6f0fb;color:var(--lb-blue);font-size:15px;font-weight:900}
.sg-dns .nc-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin:12px 0 4px}
.sg-dns .nc-opt .dg-opt-face{min-height:76px;align-items:center;gap:10px;padding:12px 12px 12px 46px}
.sg-dns .nc-opt .dg-opt-face::before{top:50%;transform:translateY(-50%);left:14px}
.sg-dns .nc-opt .dg-opt-art{width:36px;height:36px}
.sg-dns .nc-opt .dg-opt-text>span{font-size:14px}
.sg-dns .nc-for{margin:0 0 16px;font-size:17px}
.sg-dns .nc-fold{margin:12px 0 0;border:1.5px solid #cbd8e6;border-radius:16px;background:#fff}
.sg-dns .nc-fold>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;padding:0 16px;font-weight:800;color:#174c8f}
.sg-dns .nc-fold-body{padding:0 16px 16px}
.sg-dns .nc-find{display:flex;gap:8px;margin:0 0 10px}.sg-dns .nc-find .rl-text{flex:1;min-width:0;min-height:44px}
.sg-dns .nc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.sg-dns .nc-chip{min-height:44px;padding:0 14px;border:1.5px solid #cbd8e6;border-radius:999px;background:#fff;color:#174c8f;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.sg-dns .nc-chip.is-current{background:#174c8f;border-color:#174c8f;color:#fff}
.sg-dns .nc-sub{margin:12px 0 6px;font-size:14px;font-weight:800;color:#4b627b}
.sg-dns .nc-apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.sg-dns .nc-app{position:relative;display:block;cursor:pointer}
.sg-dns .nc-app>input{position:absolute;opacity:0;width:1px;height:1px}
.sg-dns .nc-app-face{display:flex;align-items:center;gap:10px;min-height:52px;box-sizing:border-box;padding:6px 36px 6px 8px;border:2px solid var(--lb-line);border-radius:14px;background:#fff;position:relative}
.sg-dns .nc-app-face::after{content:"";position:absolute;right:10px;top:50%;width:20px;height:20px;margin-top:-10px;border:2px solid #9fb3cb;border-radius:6px;box-sizing:border-box;background:#fff}
.sg-dns .nc-app>input:checked+.nc-app-face{border-color:var(--lb-blue);background:#f1f7ff}
.sg-dns .nc-app>input:checked+.nc-app-face::after{background:var(--lb-blue);border-color:var(--lb-blue);box-shadow:inset 0 0 0 3px #fff}
.sg-dns .nc-app>input:focus-visible+.nc-app-face{outline:3px solid var(--lb-sky);outline-offset:2px}
.sg-dns .nc-app-logo{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:#eef4fb}
.sg-dns .nc-app-logo svg,.sg-dns .nc-app-logo img{width:22px;height:22px}
.sg-dns .nc-app-name{font-size:15px;font-weight:800;color:var(--lb-navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-dns .nc-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 0;align-items:stretch}
.sg-dns .nc-box{display:flex;flex-direction:column;margin:0;min-width:0;border:2px solid var(--lb-line);border-radius:18px;padding:16px 16px 14px;background:#fbfdff}
.sg-dns .nc-box-title{display:flex;align-items:center;gap:8px;padding:0;font-size:18px;font-weight:900;color:var(--lb-navy)}
.sg-dns .nc-box-title svg{color:var(--lb-blue)}
.sg-dns .nc-box-text{margin:6px 0 12px;font-size:15px;line-height:1.45;color:var(--lb-body);min-height:44px}
.sg-dns .nc-t{display:none}.sg-dns .nc-t.is-on{display:inline}
@supports selector(:has(*)){
.sg-dns .nc-form .nc-t.is-on{display:none}
.sg-dns .nc-form:has([name=for][value=everything]:checked) .nc-t-everything,.sg-dns .nc-form:has([name=for][value=games]:checked) .nc-t-games,
.sg-dns .nc-form:has([name=for][value=apps]:checked) .nc-t-apps{display:inline}
.sg-dns .nc-form:has([name=for]:not([value=apps]):checked) .nc-fold{display:none}}
.sg-dns .nc-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}
.sg-dns .nc-pill{position:relative;display:block;cursor:pointer}
.sg-dns .nc-pill>input{position:absolute;opacity:0;width:1px;height:1px}
.sg-dns .nc-pill>span{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:56px;box-sizing:border-box;padding:6px 8px;border:2px solid #cbd8e6;border-radius:14px;background:#fff;font-size:16px;font-weight:900;color:#174c8f;line-height:1.2}
.sg-dns .nc-pill small{font-size:13px;font-weight:700;color:#4b627b;margin-top:2px}
.sg-dns .nc-pill:hover>span{border-color:#9fc3ec}
.sg-dns .nc-pill>input:checked+span{border-color:var(--lb-blue);background:#174c8f;color:#fff}
.sg-dns .nc-pill>input:checked+span small{color:#d3e2f4}
.sg-dns .nc-pill>input:focus-visible+span{outline:3px solid var(--lb-sky);outline-offset:2px}
.sg-dns .nc-box-extra .nc-pills{grid-template-columns:repeat(3,minmax(0,1fr))}
.sg-dns .nc-go{display:flex;justify-content:flex-end;margin:0 0 8px;padding:4px 0 12px}
.sg-dns .nc-next,.sg-dns .nc-save{min-height:52px;padding:0 28px;font-size:17px}
.sg-dns .nc-warn ul{margin:4px 0 0;padding-left:18px}.sg-dns .nc-warn a{font-weight:800}
.sg-dns .nc-runs{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.sg-dns .nc-run{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 14px;border-radius:14px;background:#f1f7ff;border-left:4px solid var(--lb-blue)}
.sg-dns .nc-run-pause,.sg-dns .nc-run-block,.sg-dns .nc-run-off{background:#fff6e6;border-left-color:var(--lb-amber)}
.sg-dns .nc-run-text{display:flex;flex-direction:column;gap:2px;min-width:0}.sg-dns .nc-run-text strong{color:var(--lb-navy)}
.sg-dns .nc-run-text span{font-size:14px;color:#4b627b}
.sg-dns .nc-end-form{margin:0}.sg-dns .nc-end{min-height:44px;white-space:nowrap}
.sg-dns .nc-kicker{margin:0 0 4px;font-size:13px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#174c8f}
.sg-dns .nc-review-title{margin:0 0 14px;font-size:26px;line-height:1.2;color:var(--lb-navy)}
.sg-dns .nc-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.sg-dns .nc-facts>div{padding:12px 14px;border-radius:14px;background:#f1f7ff}
.sg-dns .nc-facts dt{font-size:13px;font-weight:800;color:#4b627b}.sg-dns .nc-facts dd{margin:2px 0 0;font-size:17px;font-weight:900;color:var(--lb-navy)}
.sg-dns .nc-notes{margin:0 0 18px;padding-left:20px;line-height:1.55;color:var(--lb-body)}.sg-dns .nc-notes li{margin:0 0 4px}
.sg-dns .nc-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0}
.sg-dns .nc-quick{margin:4px 0 14px;padding:12px 14px;border-radius:16px;background:#f1f7ff;border:1.5px solid #d6e6f8}
.sg-dns .nc-quick-lead{margin:0 0 6px;font-size:14px;font-weight:800;color:#4b627b}
.sg-dns .nc-quick-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:4px 0}
.sg-dns .nc-quick-title{min-width:190px;color:var(--lb-navy)}
.sg-dns .nc-quick-btns{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sg-dns .nc-quick-btn{min-height:44px;padding:0 14px}
.sg-dns .nc-quick-state{font-weight:800;color:#8a5a00}
.sg-dns .nc-devices{display:flex;align-items:center;gap:14px;margin:16px 0 0;padding:16px 18px}
.sg-dns .nc-devices-text{flex:1;min-width:0}.sg-dns .nc-devices-text p{margin:2px 0 0;color:var(--lb-body)}
@media (max-width:700px){.sg-dns .nc-devices{flex-wrap:wrap}.sg-dns .nc-devices .v6-btn{width:100%;justify-content:center}}
@media (max-width:700px){.sg-dns .nc-sec,.sg-dns .nc-running,.sg-dns .nc-review{padding:16px 12px}
.sg-dns .nc-cards{grid-template-columns:1fr}.sg-dns .nc-pair{grid-template-columns:1fr}
.sg-dns .nc-facts{grid-template-columns:1fr}.sg-dns .nc-review-title{font-size:22px}
.sg-dns .nc-next{width:100%}
.sg-dns .nc-confirm .v6-btn{width:100%;justify-content:center}
.sg-dns .nc-apps{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-dns .nc-app-face{padding-right:32px}
.sg-dns .nc-lead{align-items:flex-start;font-size:16px}.sg-dns .nc-quick-title{min-width:0;width:100%}}

/* Tidy (21 Nov 2026) */
/* Readable small text: nothing under 13px on the older screens, notes in the body colour. */
.sg-dns :is(.helper,.rf-note,.stat-help,.query-intro,.device-usage,.v6-card-sub,.advanced-footer span){font-size:15px;line-height:1.55;color:var(--lb-body,#2b4664)}
.sg-dns .helper.list-credits{font-size:13px}
.sg-dns :is(.live-status,.tech-toggle,.segmented-nav a){font-size:14px}
.sg-dns .segmented-nav a{min-height:44px;display:inline-flex;align-items:center}
.sg-dns .live-status{color:#5a6f8a}
.sg-dns .tech-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.sg-dns .query-table{font-size:14px}
.sg-dns .query-table th{font-size:12px;letter-spacing:.04em}
@media (min-width:701px){.sg-dns .query-table td{padding-top:12px;padding-bottom:12px}}
.sg-dns .mode-switch small,.sg-dns .device-rule-tabs small{font-size:13px;line-height:1.35}
.sg-dns .stat-tile span{font-size:14px}
.sg-dns .stat-help{margin-bottom:12px}
/* Cards that sit side by side are the same height, and a lone card does not stretch oddly. */
.sg-dns .stat-grid{align-items:stretch;gap:16px}
.sg-dns .stat-grid>.stat-card{height:100%;box-sizing:border-box}
.sg-dns .device-grid{gap:16px}
.sg-dns .device-grid>.device-card{box-sizing:border-box}
.sg-dns .device-grid>.device-card.manage-home{grid-column:auto!important}
.sg-dns .device-card .button-row,.sg-dns .device-card .device-actions{display:flex;flex-wrap:wrap;gap:8px}
.sg-dns .who-grid{gap:16px}
.sg-dns .who-card{box-sizing:border-box;height:100%}
/* One amber main button per screen: the small chip buttons stay quiet, the main add button is amber, never shouting capitals. */
.sg-dns .add-button{text-transform:none;letter-spacing:0;font-size:16px;font-weight:800;min-height:44px;padding:0 20px;background:var(--lb-amber,#ffb93b);color:#0c2f57;border:0;border-radius:12px}
.sg-dns .tld-suggest{min-height:44px;min-width:44px;padding:0 14px;font-size:14px}
.sg-dns .rf-help{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.sg-dns .manage-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.sg-dns .manage-toolbar .button-secondary,.sg-dns .status-actions .button-secondary{min-height:44px}
.sg-dns .account-card{box-sizing:border-box;padding:24px}
.sg-dns .account-card :is(input[type=password],input[type=text],input[type=email]){width:100%;max-width:480px;box-sizing:border-box;min-height:44px}
.sg-dns .account-card .helper,.sg-dns .account-card p{font-size:15px}
.sg-dns .account-support{font-size:16px}
.sg-dns .account-card :is(button,.button-link){min-height:44px}
.sg-dns .rule-card>footer,.sg-dns .rule-card header p{font-size:15px}
.sg-dns .rule-card .switch-label,.sg-dns .rule-card footer label{font-size:15px}
.sg-dns .advanced-tabs a{padding:10px 14px}
.sg-dns[data-page=help] .panel-content>section:first-of-type h2,.sg-dns[data-page=help] .panel-content>section:first-of-type h3{margin-top:28px}
.sg-dns[data-page=help] .panel-content>section:first-of-type p{margin:8px 0 14px;font-size:16px}
@media (max-width:700px){
.sg-dns .stat-grid{grid-template-columns:1fr}
.sg-dns .device-grid{grid-template-columns:1fr}
.sg-dns .who-grid{grid-template-columns:1fr}
.sg-dns .account-card{padding:18px 16px}
.sg-dns .account-card :is(input[type=password],input[type=text],input[type=email]){max-width:none}
.sg-dns .manage-toolbar>*{flex:1 1 100%;justify-content:center}
.sg-dns .query-intro,.sg-dns .helper{font-size:15px}
.sg-dns .advanced-tabs a{flex:1 1 44%}
}
.sg-dns .device-grid:has(>.manage-home){grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:700px){.sg-dns .device-grid:has(>.manage-home){grid-template-columns:1fr}}

/* Final fixes (21 Nov 2026) */
/* App names wrap to two lines instead of being cut off with dots. */
.sg-dns .nc-app-name{min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
.sg-dns .nc-app-face{min-width:0;min-height:56px}
@media (max-width:480px){.sg-dns .nc-apps{grid-template-columns:1fr}}
/* On a phone the per-app list grows with the page: no scroll box inside the page. */
@media (max-width:700px){.sg-dns .dg-apps{max-height:none;overflow:visible}}
.sg-dns .dg-skip-quiet{margin:18px 0 0;font-size:15px}
.sg-dns .dg-skip-quiet a{color:#4b627b;text-decoration:underline;text-underline-offset:3px;display:inline-block;min-height:44px;line-height:44px}

/* Search box over the app lists in Step-by-step setup (22 Nov 2026) */
.sg-dns .dg-find{margin:8px 0 4px}
.sg-dns .dg-find[hidden],.sg-dns .dg-find-none[hidden],.sg-dns .dg-app-row[hidden]{display:none}
.sg-dns .dg-find-label{position:relative;display:block}
.sg-dns .dg-find-icon{position:absolute;z-index:1;left:14px;top:50%;transform:translateY(-50%);color:#5b6b82;display:flex;pointer-events:none}
.sg-dns .dg-find .dg-find-input,.sg-dns .dg-find input[type=search].dg-find-input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 14px 10px 40px;border:1.5px solid #c9d6e8;border-radius:12px;
  font:inherit;font-size:16px;background:#fff;color:#0d2a4f;padding-left:42px}
.sg-dns .dg-find-input:focus{outline:3px solid #9cc3ff;outline-offset:1px;border-color:#1f5fbf}
.sg-dns .dg-find-none{margin:8px 2px 0}

/* "Keep some open" is for "All apps" only: hidden while "Only the ones I tick" is chosen (22 Nov 2026) */
.sg-dns .dg-fieldset:has(input[name$="_which"][value=some]:checked) .dg-keep-fold{display:none}

/* Track B: rule editor (22 Nov 2026) - choose apps one by one, rules you already have, clashing rules */
.sg-dns .rl-form .rl-pick-apps,.sg-dns .rl-form .rl-already{margin:4px 0 16px;border:1.5px solid var(--lb-line,#dbe5f1);border-radius:14px;background:var(--lb-ice,#f1f6fc);padding:0 14px}
.sg-dns .rl-form .rl-pick-apps>summary,.sg-dns .rl-form .rl-already>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:800;color:var(--lb-navy,#0c2f57);font-size:16px;margin:0}
.sg-dns .rl-form .rl-pick-apps[open],.sg-dns .rl-form .rl-already[open]{padding-bottom:12px}
.sg-dns .rl-pa-count{font-weight:700;color:var(--lb-blue,#1f5fae);margin-left:4px}
.sg-dns .rl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sg-dns .rl-pa-find[hidden],.sg-dns .rl-pa-none[hidden],.sg-dns .rl-pa-row[hidden],.sg-dns .rl-pa-group[hidden]{display:none}
.sg-dns .rl-pa-find-label{display:block}
.sg-dns.v6-shell .rl-form .rl-pa-find input[type=search].rl-pa-input{margin:0 0 6px;width:100%;min-height:44px;font-size:16px}
.sg-dns .rl-pa-list{max-height:420px;overflow:auto;padding-right:2px}
.sg-dns .rl-pa-group{border:0;margin:10px 0 0;padding:0;min-width:0}
.sg-dns .rl-pa-group>legend{padding:0;margin:0 0 6px;font-size:13px;font-weight:800;color:var(--lb-muted,#53698a);text-transform:none}
.sg-dns .rl-pa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px}
.sg-dns .rl-pa-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 10px;border:1.5px solid var(--lb-line,#dbe5f1);border-radius:12px;background:#fff;cursor:pointer;box-sizing:border-box;min-width:0}
.sg-dns .rl-pa-row:has(input:checked){border-color:var(--lb-blue,#1f5fae);box-shadow:inset 0 0 0 1px var(--lb-blue,#1f5fae)}
.sg-dns.v6-shell .rl-form .rl-pa-row input[type=checkbox]{width:22px;height:22px;min-width:22px;min-height:22px;margin:0;accent-color:var(--lb-blue,#1f5fae);flex:none}
.sg-dns .rl-pa-logo{display:inline-flex;width:24px;height:24px;flex:none}
.sg-dns .rl-pa-logo .app-logo{width:24px;height:24px}
.sg-dns .rl-pa-name{font-weight:700;color:var(--lb-navy,#0c2f57);font-size:15px;overflow-wrap:anywhere;line-height:1.25}
.sg-dns .rl-al-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.sg-dns .rl-al-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1.5px solid var(--lb-line,#dbe5f1);border-radius:12px;background:#fff}
.sg-dns .rl-al-item.is-match{border-color:var(--lb-blue,#1f5fae);box-shadow:inset 4px 0 var(--lb-blue,#1f5fae)}
.sg-dns .rl-al-item.is-this{opacity:.75}
.sg-dns .rl-al-text{flex:1;min-width:0;color:var(--lb-body,#3a5170);font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.sg-dns .rl-al-text strong{color:var(--lb-navy,#0c2f57)}
.sg-dns .rl-al-tag{display:block;font-style:normal;font-weight:800;font-size:13px;color:var(--lb-blue,#1f5fae)}
.sg-dns .rl-al-tag:empty{display:none}
.sg-dns .rl-al-edit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 12px;border:1.5px solid #9db4cf;border-radius:12px;color:var(--lb-navy,#0c2f57);font-weight:800;text-decoration:none;flex:none}
.sg-dns .rl-al-edit:hover{border-color:var(--lb-blue,#1f5fae)}
.sg-dns .rl-form .rl-clash{display:block;margin:0 0 16px;padding:14px 16px;border-radius:14px;border:2px solid #c0392b;background:#fff4f2;color:#5c1a12;font-size:15px;line-height:1.4}
.sg-dns .rl-form .rl-clash>strong{display:block;font-size:16px}
.sg-dns .rl-clash ul{margin:8px 0;padding-left:20px}.sg-dns .rl-clash li{margin:4px 0}
.sg-dns .rl-clash a,.sg-dns .rl-error a{color:inherit;font-weight:800;text-decoration:underline;display:inline-block;min-height:44px;line-height:44px}
.sg-dns .rl-clash p{margin:6px 0 0}
.sg-dns .rl-info{margin:0 0 12px}
@media (max-width:700px){.sg-dns .rl-pa-grid{grid-template-columns:1fr}.sg-dns .rl-pa-list{max-height:none;overflow:visible}}
/* Track A: More apps in Step-by-step setup (22 Nov 2026) */
.sg-dns .dg-steps.dg-steps-13{grid-template-columns:repeat(13,1fr)}
.sg-dns .dg-steps-13 .dg-step a{font-size:11px;line-height:1.2;padding:0 1px;overflow-wrap:anywhere}
.sg-dns .dg-steps-13 .dg-mark{width:30px;height:30px;font-size:13px}
.sg-dns .dg-steps-13 .dg-step:not(:first-child)::before{top:14px}
@media (max-width:700px){.sg-dns .dg-steps.dg-steps-13{display:none}}
.sg-dns .dg-more-list{display:grid;gap:12px;margin:14px 0 0}
.sg-dns .dg-fold.dg-more-fold{margin:0;min-width:0;max-width:100%}
.sg-dns .dg-more-list{grid-template-columns:minmax(0,1fr)}
.sg-dns .dg-more-inner,.sg-dns .dg-more-inner .dg-fieldset{min-width:0;max-width:100%}
.sg-dns .dg-more-inner select{max-width:100%}
.sg-dns .dg-fold.dg-more-fold>summary{gap:10px;padding:10px 0;min-height:60px;list-style:none}
.sg-dns .dg-more-fold>summary::-webkit-details-marker{display:none}
.sg-dns .dg-more-fold>summary::after{content:"";flex:none;width:8px;height:8px;margin:0 6px 0 2px;border:solid #1f5fae;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.sg-dns .dg-more-fold[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.sg-dns .dg-more-head{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.sg-dns .dg-more-head strong{font-size:17px;color:var(--lb-navy)}
.sg-dns .dg-more-eg{font-weight:600;font-size:14px;color:var(--lb-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-dns .dg-more-now{flex:none;max-width:45%;font-style:normal;font-weight:800;font-size:13px;line-height:1.25;text-align:right;color:var(--lb-navy);background:var(--lb-ice);border-radius:999px;padding:5px 10px}
.sg-dns .dg-more-now.is-error{background:#fdecec;color:#a11d1d}
.sg-dns .dg-fold.dg-more-fold.is-error{border-color:#d64545}
.sg-dns .dg-more-inner{padding:0 0 14px}
.sg-dns .dg-more-inner .dg-fold{background:var(--lb-ice)}
@media (max-width:700px){.sg-dns .dg-fold.dg-more-fold{padding:0 10px}.sg-dns .dg-more-now{font-size:12px;padding:4px 8px}}
/* Track A: setup-groups fix (22 Nov 2026) */
.sg-dns a.dg-level-link{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:800}
.sg-dns .dg-quick-row .dg-quick{min-height:44px;padding:8px 14px}
@media (max-width:700px){.sg-dns .dg-days .dg-day>span:first-of-type{width:44px;height:44px}.sg-dns .dg-days{gap:6px}}
/* Track B: rule-editor fix (22 Nov 2026) - app logos are small image files; on a phone the open app list scrolls in its own box */
.sg-dns .rl-pa-row img.rl-pa-logo{display:block;width:24px;height:24px;object-fit:contain;flex:none}
@media (max-width:700px){.sg-dns .rl-form .rl-pa-list{max-height:min(62vh,520px);overflow:auto;border-top:1px solid var(--lb-line,#dbe5f1);border-bottom:1px solid var(--lb-line,#dbe5f1)}}
.sg-dns .dg-app-logo img{width:26px;height:26px;display:block}
