:root{
  --swr-navy:#11203a;
  --swr-blue:#1777bb;
  --swr-blue-dark:#0d5f9e;
  --swr-purple:#33136f;
  --swr-gold:#f3bf22;
  --swr-bg:#f4f8fc;
  --swr-card:#ffffff;
  --swr-border:#d7e1ec;
  --swr-text:#1a2637;
  --swr-muted:#52657a;
}
*{box-sizing:border-box}
html{background:var(--swr-bg);scroll-behavior:smooth}
body.swr-page{margin:0;background:var(--swr-bg);color:var(--swr-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.45}
.swr-shell{min-height:100vh;display:flex;flex-direction:column}
.swr-top{background:#fff;border-bottom:1px solid var(--swr-border)}
.swr-top-inner{max-width:1160px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.swr-brand-mini{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--swr-navy);font-weight:800;font-size:20px}
.swr-brand-mini img{width:48px;height:48px;border-radius:11px;box-shadow:0 2px 8px rgba(17,32,58,.14)}
.swr-nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.swr-nav a{color:var(--swr-navy);text-decoration:none;font-weight:650}
.swr-nav a:hover{text-decoration:underline}
.swr-main{flex:1;width:100%;max-width:1160px;margin:0 auto;padding:38px 24px 46px}
.swr-hero{text-align:center;margin:0 auto 30px;max-width:760px}
.swr-hero-logo{width:min(260px,62vw);height:auto;border-radius:30px;box-shadow:0 8px 28px rgba(17,32,58,.16);margin-bottom:18px}
.swr-hero h1{margin:0;color:var(--swr-navy);font-size:clamp(36px,5.5vw,58px);line-height:1.04;letter-spacing:-1px}
.swr-hero p{margin:13px auto 0;color:var(--swr-muted);font-size:clamp(18px,2.3vw,23px)}
.swr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}
.swr-card{background:var(--swr-card);border:1px solid var(--swr-border);border-radius:20px;box-shadow:0 10px 28px rgba(17,32,58,.07);padding:26px;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:100%}
.swr-card-media{height:210px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;width:100%}
.swr-card-media img{max-width:100%;max-height:205px;object-fit:contain}
.swr-card .swr-cert-logo{border-radius:8px}
.swr-card .swr-security-logo{max-width:350px;width:92%}
.swr-card h2{margin:4px 0 8px;font-size:clamp(27px,3vw,36px);line-height:1.12;color:#0e1726}
.swr-card p{margin:0 auto 20px;color:var(--swr-muted);font-size:18px;max-width:470px}
.swr-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:56px;padding:13px 26px;border-radius:10px;background:var(--swr-blue);color:#fff!important;text-decoration:none!important;font-size:20px;font-weight:800;box-shadow:0 2px 0 rgba(0,0,0,.08);transition:background .15s ease,transform .15s ease;margin-top:auto;min-width:min(330px,100%)}
.swr-button:hover,.swr-button:focus{background:var(--swr-blue-dark);transform:translateY(-1px)}
.swr-button.secondary{background:#fff;color:var(--swr-blue-dark)!important;border:2px solid var(--swr-blue);box-shadow:none}
.swr-help{margin:24px auto 0;background:#eaf3fb;border-radius:14px;padding:14px 20px;text-align:center;color:var(--swr-navy);font-size:17px}
.swr-help a{color:var(--swr-blue-dark);font-weight:700}
.swr-footer{background:var(--swr-purple);color:#fff;margin-top:auto}
.swr-footer-inner{max-width:1160px;margin:0 auto;padding:18px 24px;text-align:center;font-size:15px}
.swr-footer a{color:#fff}
.swr-security-page .swr-main{max-width:900px}
.swr-security-page .swr-hero-logo{width:min(180px,48vw)}
.swr-security-panel{max-width:700px;margin:20px auto 0;background:#fff;border:1px solid var(--swr-border);border-radius:20px;box-shadow:0 10px 28px rgba(17,32,58,.07);padding:30px;text-align:center}
.swr-security-panel .swr-security-logo{width:min(460px,95%);margin:0 auto 18px;display:block}
.swr-security-panel h2{font-size:30px;margin:0 0 10px;color:var(--swr-navy)}
.swr-security-panel p{font-size:18px;color:var(--swr-muted);margin:0 auto 22px;max-width:580px}
.swr-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.swr-coming{display:inline-block;background:#fff4ca;color:#594108;border:1px solid #f4d56f;border-radius:999px;padding:7px 13px;font-weight:800;font-size:14px;margin-bottom:14px}
@media(max-width:760px){
  .swr-top-inner{padding:12px 16px}.swr-brand-mini{font-size:18px}.swr-brand-mini img{width:42px;height:42px}.swr-nav{gap:14px}.swr-nav .swr-hide-mobile{display:none}
  .swr-main{padding:24px 14px 34px}.swr-hero{margin-bottom:20px}.swr-hero-logo{width:min(190px,56vw);border-radius:22px}.swr-grid{grid-template-columns:1fr;gap:16px;margin-top:20px}.swr-card{padding:20px 16px;border-radius:17px}.swr-card-media{height:160px}.swr-card-media img{max-height:155px}.swr-card h2{font-size:28px}.swr-card p{font-size:17px}.swr-button{font-size:18px;min-height:54px;width:100%;min-width:0}.swr-help{font-size:16px}.swr-security-panel{padding:22px 16px}.swr-security-panel h2{font-size:28px}
}
@media(max-width:420px){
  .swr-hero h1{font-size:36px}.swr-hero p{font-size:18px}.swr-card-media{height:145px}.swr-card .swr-security-logo{width:96%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.swr-button{transition:none}}

/* v0.1.1 — CERT and Security now share the same application shell. */
.swr-title-strip{
  width:100%;
  background:#eaf2f9;
  border-bottom:1px solid #e1e9f1;
  padding:28px 20px;
  text-align:center;
}
.swr-title-strip h1{
  margin:0;
  color:var(--swr-navy);
  font-size:clamp(34px,4.5vw,50px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.5px;
}
.swr-app-main{
  flex:1;
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:10px 28px 24px;
}
.swr-app-wrap{
  max-width:760px;
  margin:0 auto;
  padding:0 20px;
  text-align:center;
}
.swr-app-logo{
  display:block;
  width:auto;
  max-width:260px;
  max-height:190px;
  margin:0 auto 4px;
  object-fit:contain;
}
.swr-app-brand{margin:0 0 8px}
.swr-app-brand h1{
  margin:0;
  color:#0e1726;
  font-size:38px;
  line-height:1.12;
  font-weight:800;
}
.swr-app-brand p{
  margin:1px 0 8px;
  color:var(--swr-text);
  font-size:22px;
}
.swr-welcome-card{
  max-width:700px;
  margin:8px auto;
  padding:18px 22px;
  background:#fff;
  border:1px solid var(--swr-border);
  border-radius:14px;
  box-shadow:0 2px 10px rgba(17,32,58,.05);
  text-align:center;
}
.swr-welcome-card h2{
  margin:0 0 8px;
  color:#0e1726;
  font-size:30px;
  line-height:1.16;
}
.swr-welcome-card p{
  margin:0 auto 14px;
  max-width:620px;
  color:var(--swr-text);
  font-size:20px;
  line-height:1.42;
}
.swr-app-primary{margin-top:4px}
.swr-inline-links{margin:10px 0 0!important;font-size:18px!important}
.swr-inline-links a{color:var(--swr-blue-dark)}
.swr-app-footer{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0 auto;
  padding:8px 20px 20px;
  color:#34445a;
  font-size:16px;
  text-align:center;
}
.swr-app-footer a{color:var(--swr-blue-dark)}

/* The CERT plugin supplies the actual reporting UI. The launcher only supplies
   the matching outer shell, so all CERT functionality remains in one place. */
.swr-cert-page .cert-wrap{
  max-width:760px!important;
  margin:0 auto!important;
  padding:0 20px!important;
  text-align:center!important;
}
.swr-cert-page .cert-logo{margin-top:0!important}
.swr-cert-page .cert-global-footer{display:none!important}

/* Security mirrors the same visual rhythm as CERT. */
.swr-security-wrap{padding-top:0}
.swr-security-wrap .swr-security-logo{
  width:min(430px,92%);
  max-width:430px;
  max-height:190px;
  margin:0 auto 4px;
}
.swr-security-wrap .swr-coming{margin:0 0 10px}

/* Launcher keeps the same header, but avoids repeating the large app icon. */
body.swr-page:not(.swr-app-page) .swr-hero{margin-top:8px}
body.swr-page:not(.swr-app-page) .swr-hero h1{font-size:clamp(38px,5vw,56px)}

@media(max-width:760px){
  .swr-title-strip{padding:22px 14px}
  .swr-title-strip h1{font-size:32px}
  .swr-app-main{padding:8px 8px 18px}
  .swr-app-wrap{padding:0 10px}
  .swr-app-logo{max-width:225px;max-height:165px}
  .swr-app-brand h1{font-size:31px}
  .swr-app-brand p{font-size:19px}
  .swr-welcome-card{padding:18px 14px}
  .swr-welcome-card h2{font-size:28px}
  .swr-welcome-card p{font-size:18px}
  .swr-app-footer{padding:6px 14px 18px;font-size:15px}
  .swr-cert-page .cert-wrap{padding:0 10px!important}
}

/* v0.1.2 — tighten shared CERT/Security presentation. */
.swr-brand-mini{cursor:pointer}
.swr-security-wrap .swr-security-logo{
  width:min(285px,78%);
  max-width:285px;
  max-height:160px;
  margin:8px auto 8px;
}
.swr-security-subtitle{margin:0 0 10px}
.swr-security-subtitle p{
  margin:0;
  color:var(--swr-text);
  font-size:22px;
  line-height:1.2;
}
@media(max-width:760px){
  .swr-security-wrap .swr-security-logo{
    width:min(245px,76vw);
    max-width:245px;
    max-height:145px;
    margin:6px auto 8px;
  }
  .swr-security-subtitle p{font-size:19px}
}


/* v0.1.3 — identical header/footer geometry across launcher, CERT, and Security. */
.swr-top-inner{
  width:100%;
  max-width:none;
  margin:0;
  padding:18px 24px;
}
.swr-brand-mini{font-size:20px}
.swr-brand-mini img{width:48px;height:48px}
.swr-nav{gap:22px}
.swr-nav a{font-size:16px;font-weight:700}
.swr-footer{width:100%;background:var(--swr-purple);color:#fff;margin-top:auto}
.swr-footer-inner{
  width:100%;
  max-width:none;
  margin:0;
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  text-align:center;
  font-size:15px;
}
.swr-footer a{color:#fff;font-weight:600}
.swr-footer a:hover{text-decoration:underline}
@media(max-width:760px){
  .swr-top-inner{padding:12px 16px}
  .swr-brand-mini{font-size:18px}
  .swr-brand-mini img{width:42px;height:42px}
  .swr-nav{gap:14px}
  .swr-nav a{font-size:15px}
  .swr-footer-inner{padding:14px 16px;font-size:14px;gap:8px}
}

/* v0.1.4 — one shared header/footer component across every SW Reports page. */
.swr-top{flex:0 0 auto}
.swr-top-inner{
  width:100%;
  max-width:1160px;
  margin-left:auto;
  margin-right:auto;
  padding-left:24px!important;
  padding-right:24px!important;
}
.swr-nav{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  margin-left:auto;
  justify-content:flex-end;
  align-items:center;
  gap:22px;
}
.swr-nav a{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
  white-space:nowrap;
}
.swr-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 auto;
  width:100%;
  background:var(--swr-purple)!important;
  color:#fff!important;
  border-top:1px solid rgba(255,255,255,.12);
}
.swr-footer-inner{
  min-height:52px;
  padding-left:24px!important;
  padding-right:24px!important;
}
body.swr-page .swr-shell{min-height:100vh;min-height:100dvh}
body.admin-bar.swr-page .swr-shell{min-height:calc(100vh - 32px);min-height:calc(100dvh - 32px)}
@media(max-width:782px){
  body.admin-bar.swr-page .swr-shell{min-height:calc(100vh - 46px);min-height:calc(100dvh - 46px)}
}
@media(max-width:760px){
  .swr-top-inner{padding-left:16px!important;padding-right:16px!important}
  .swr-nav{gap:14px}
  .swr-footer-inner{padding-left:16px!important;padding-right:16px!important;min-height:48px}
}

/* v0.1.5 — header-only fix: restore centered shared header container. */


/* v0.1.6 — compact desktop landing pages so the full launcher/CERT/Security
   experience fits comfortably in a normal 100% browser viewport. Mobile
   sizing remains unchanged for readability and touch use. */
@media (min-width:761px){
  .swr-top-inner{
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
  .swr-brand-mini img{width:42px;height:42px}

  /* Main SW Reports launcher */
  .swr-main{padding:22px 24px 14px}
  .swr-hero{margin-bottom:16px}
  body.swr-page:not(.swr-app-page) .swr-hero{margin-top:0}
  body.swr-page:not(.swr-app-page) .swr-hero h1{font-size:46px}
  .swr-hero p{margin-top:8px;font-size:20px}
  .swr-grid{gap:20px;margin-top:16px}
  .swr-card{padding:16px 20px 18px;border-radius:18px}
  .swr-card-media{height:145px;margin-bottom:8px}
  .swr-card-media img{max-height:140px}
  .swr-card .swr-security-logo{max-width:300px;width:80%}
  .swr-card h2{margin:2px 0 6px;font-size:30px}
  .swr-card p{margin-bottom:12px;font-size:16px;line-height:1.35}
  .swr-button{min-height:48px;padding:10px 22px;font-size:18px;min-width:min(300px,100%)}
  .swr-help{margin-top:12px;padding:9px 18px;font-size:15px}

  /* Shared CERT / Security shell */
  .swr-title-strip{padding:17px 20px}
  .swr-title-strip h1{font-size:40px}
  .swr-app-main{padding:8px 28px 12px}
  .swr-app-logo{max-width:180px;max-height:135px}
  .swr-app-brand h1{font-size:32px}
  .swr-app-brand p{margin-bottom:5px;font-size:18px}
  .swr-welcome-card{margin:5px auto;padding:12px 18px}
  .swr-welcome-card h2{margin-bottom:5px;font-size:26px}
  .swr-welcome-card p{margin-bottom:10px;font-size:17px;line-height:1.35}
  .swr-inline-links{margin:7px 0 0!important;font-size:16px!important}
  .swr-security-wrap .swr-security-logo{
    width:min(220px,68%);
    max-width:220px;
    max-height:125px;
    margin:6px auto 4px;
  }
  .swr-security-subtitle p{font-size:18px}
  .swr-coming{margin-bottom:8px;padding:5px 11px;font-size:13px}

  /* The CERT shortcode has its own landing-page CSS. These overrides only
     tighten the desktop public landing page; signed-in reporting controls are
     not resized here. */
  body.swr-cert-page.cert-public-landing-page .cert-home{
    max-width:640px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-home > .cert-logo{
    max-width:145px!important;
    margin-bottom:0!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-brand h1{
    font-size:29px!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-lead{
    font-size:17px!important;
    margin-bottom:4px!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-welcome-card{
    padding:9px 14px!important;
    margin:4px auto!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-welcome-card h2{
    font-size:22px!important;
    margin-bottom:5px!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-welcome-card p{
    margin:4px 0!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-primary-action{
    padding:8px 16px!important;
    font-size:17px!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-help-link{
    margin-top:3px!important;
    font-size:15px!important;
  }
  body.swr-cert-page.cert-public-landing-page .cert-simple-note{
    margin-top:3px!important;
    font-size:14px!important;
  }

  .swr-footer-inner{
    min-height:44px;
    padding-top:10px!important;
    padding-bottom:10px!important;
    font-size:14px;
  }
}

/* v0.1.7 — public Add-to-Phone guide and one-time mobile sign-in nudge. */
.swr-install-short{display:none}
.swr-install-main{flex:1;width:100%;max-width:940px;margin:0 auto;padding:26px 24px 34px}
.swr-install-intro{text-align:center;max-width:760px;margin:0 auto 22px}
.swr-install-logo{width:112px;height:112px;border-radius:24px;box-shadow:0 8px 24px rgba(17,32,58,.16);margin-bottom:12px}
.swr-install-intro p{font-size:19px;color:var(--swr-muted);margin:8px auto;line-height:1.5}
.swr-install-intro .swr-install-reassure{font-size:17px;color:var(--swr-text);background:#fff;border:1px solid var(--swr-border);border-radius:14px;padding:12px 16px;max-width:720px}
.swr-install-status{max-width:720px;margin:0 auto 18px;background:#e9f7ed;border:1px solid #afd7ba;border-radius:14px;padding:14px 16px;text-align:center;color:#215a2f}
.swr-device-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px auto 22px;max-width:760px}
.swr-device-choice{appearance:none;background:#fff;border:2px solid var(--swr-border);border-radius:18px;padding:18px 16px;cursor:pointer;color:var(--swr-text);font:inherit;text-align:center;box-shadow:0 7px 20px rgba(17,32,58,.08);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.swr-device-choice:hover,.swr-device-choice:focus{border-color:var(--swr-blue);box-shadow:0 9px 24px rgba(17,119,187,.15);outline:none}
.swr-device-choice.is-selected{border-color:var(--swr-blue);box-shadow:0 0 0 3px rgba(23,119,187,.12),0 9px 24px rgba(17,32,58,.10)}
.swr-device-choice strong{display:block;font-size:24px;margin-top:8px;color:var(--swr-navy)}
.swr-device-choice span:last-child{display:block;color:var(--swr-muted);margin-top:3px;font-size:16px}
.swr-device-icon{display:inline-flex;align-items:center;justify-content:center;min-width:92px;height:38px;padding:0 12px;border-radius:999px;background:#eef4fa;color:var(--swr-blue-dark);font-weight:800;font-size:15px}
.swr-install-steps{max-width:760px;margin:0 auto 22px;background:#fff;border:1px solid var(--swr-border);border-radius:20px;padding:22px 24px;box-shadow:0 8px 24px rgba(17,32,58,.08)}
.swr-install-steps h2{margin:0 0 12px;color:var(--swr-navy);font-size:30px}
.swr-install-steps ol{margin:0;padding-left:28px}
.swr-install-steps li{font-size:18px;margin:10px 0;padding-left:4px;line-height:1.5}
.swr-install-tip{margin:18px 0 0;background:#eef6ff;border-radius:12px;padding:12px 14px;font-size:17px;color:var(--swr-text)}
.swr-native-install-wrap{text-align:center;background:#f6f9fc;border-radius:14px;padding:15px;margin-bottom:12px}
.swr-native-install{border:0;width:auto;min-width:220px;cursor:pointer}
.swr-native-install:disabled{background:#9cacbb;cursor:not-allowed}
.swr-native-install-wrap p{margin:8px 0 0;color:var(--swr-muted);font-size:15px}
.swr-or{display:flex;align-items:center;gap:12px;color:var(--swr-muted);margin:12px 0}
.swr-or:before,.swr-or:after{content:"";height:1px;background:var(--swr-border);flex:1}
.swr-install-help{text-align:center;margin:10px auto 4px;font-size:17px}
.swr-install-help a{color:var(--swr-blue-dark)}

.swr-install-nudge{position:fixed;left:16px;right:16px;bottom:16px;z-index:99999;max-width:680px;margin:0 auto;background:#fff;border:1px solid var(--swr-border);border-radius:18px;box-shadow:0 16px 44px rgba(17,32,58,.24);padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.swr-install-nudge[hidden]{display:none!important}
.swr-install-nudge-copy{display:flex;flex-direction:column;gap:2px;text-align:left}
.swr-install-nudge-copy strong{font-size:18px;color:var(--swr-navy)}
.swr-install-nudge-copy span{font-size:15px;color:var(--swr-muted);line-height:1.35}
.swr-install-nudge-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.swr-nudge-primary,.swr-nudge-dismiss{border-radius:10px;padding:10px 13px;font:inherit;font-weight:750;font-size:14px;white-space:nowrap}
.swr-nudge-primary{background:var(--swr-blue);color:#fff;text-decoration:none}
.swr-nudge-dismiss{background:#fff;color:var(--swr-navy);border:1px solid var(--swr-border);cursor:pointer}

@media(max-width:900px){
  .swr-install-full{display:none}
  .swr-install-short{display:inline}
}
@media(max-width:760px){
  .swr-install-main{padding:18px 14px 24px}
  .swr-install-title h1{font-size:30px}
  .swr-install-logo{width:96px;height:96px;border-radius:21px}
  .swr-install-intro p{font-size:17px}
  .swr-install-intro .swr-install-reassure{font-size:16px}
  .swr-device-picker{grid-template-columns:1fr;gap:12px;margin-top:16px}
  .swr-device-choice{padding:14px}
  .swr-device-choice strong{font-size:22px}
  .swr-install-steps{padding:18px 16px}
  .swr-install-steps h2{font-size:27px}
  .swr-install-steps li{font-size:17px}
  .swr-install-nudge{align-items:stretch;flex-direction:column;gap:10px;padding:14px}
  .swr-install-nudge-actions{width:100%}
  .swr-nudge-primary,.swr-nudge-dismiss{flex:1;text-align:center}
}


/* v0.1.8 — compact mobile launcher: graphic-first choices that fit on one
   phone screen while preserving the approved desktop presentation. */
.swr-brand-short{display:none}
.swr-mobile-choice-instruction{display:none}
.swr-graphic-link{display:block;width:100%;text-decoration:none;color:inherit;border-radius:16px}
.swr-graphic-link:focus-visible{outline:3px solid var(--swr-blue);outline-offset:4px}

@media(max-width:760px){
  /* Shorter but still familiar header on phones. */
  .swr-top-inner{padding-top:8px!important;padding-bottom:8px!important;gap:10px}
  .swr-brand-mini{gap:8px;font-size:16px;flex:0 1 auto}
  .swr-brand-mini img{width:38px;height:38px;border-radius:9px}
  .swr-brand-full{display:none}
  .swr-brand-short{display:inline}
  .swr-nav{gap:10px;flex-wrap:nowrap}
  .swr-nav a{font-size:14px}
  .swr-nav-home{display:none!important}
  .swr-install-short{white-space:nowrap}

  /* Root launcher: save vertical space first, not text legibility. */
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-main{
    padding:14px 12px 10px;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-hero{
    margin:0 auto 8px;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-hero h1{
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.4px;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-hero p{
    margin-top:5px;
    font-size:16px;
    line-height:1.3;
  }
  .swr-mobile-choice-instruction{
    display:block;
    margin:8px auto 7px;
    text-align:center;
    font-size:16px;
    font-weight:800;
    color:var(--swr-navy);
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-grid{
    gap:9px;
    margin-top:0;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card{
    padding:0;
    border:0;
    box-shadow:none;
    background:transparent;
    border-radius:14px;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media{
    width:min(310px,84vw);
    height:132px;
    margin:0 auto;
    padding:8px 10px;
    background:#fff;
    border:2px solid var(--swr-border);
    border-radius:16px;
    box-shadow:0 5px 15px rgba(17,32,58,.07);
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media img{
    max-height:112px;
    max-width:100%;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card .swr-security-logo{
    width:88%;
    max-width:270px;
  }
  /* The graphics are the mobile links. Remove repeated labels, descriptions,
     and buttons from the root launcher only. */
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card h2,
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card p,
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card > .swr-button{
    display:none;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-help{
    margin-top:9px;
    padding:8px 10px;
    font-size:14px;
    line-height:1.3;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-footer-inner{
    min-height:40px;
    padding-top:8px!important;
    padding-bottom:8px!important;
    font-size:13px;
    gap:6px;
  }
}

@media(max-width:390px){
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-hero h1{font-size:31px}
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media{height:122px;width:min(290px,86vw)}
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media img{max-height:102px}
  .swr-nav{gap:8px}
  .swr-nav a{font-size:13px}
}

/* v0.1.9 — on the mobile launcher, CERT and Security use the exact same
   visible graphic box. The Security art uses a 798x550 mobile-only canvas,
   matching the CERT source image without stretching either logo. */
@media(max-width:760px){
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media{
    aspect-ratio:798 / 550;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media picture{
    display:block;
    width:100%;
    height:100%;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:contain;
  }
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card .swr-security-logo{
    width:100%;
    max-width:none;
  }
}
@media(max-width:390px){
  body.swr-page:not(.swr-app-page):not(.swr-install-page) .swr-card-media{
    height:auto;
  }
}

/* v0.1.10 shared navigation for Help, Privacy, and CERT public utility pages */
.swr-info-main,
.swr-content-main{
  width:min(100% - 32px, 980px);
  margin:0 auto;
  padding:22px 0 28px;
}
.swr-info-card{
  background:#fff;
  border:1px solid #d8e1ea;
  border-radius:16px;
  box-shadow:0 3px 14px rgba(25,50,80,.06);
  padding:24px;
}
.swr-info-card h2:first-child{margin-top:0}
.swr-help-hub{text-align:center}
.swr-help-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:20px;
  text-align:left;
}
.swr-help-choice{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:84px;
  padding:16px 18px;
  border:2px solid #cfdce8;
  border-radius:12px;
  background:#f8fbfe;
  color:#17233a!important;
  text-decoration:none!important;
}
.swr-help-choice:hover,.swr-help-choice:focus{border-color:#1769aa;background:#eef7fd}
.swr-help-choice strong{font-size:19px;color:#12345b}
.swr-help-choice span{font-size:15px;line-height:1.35;color:#53667a}
.swr-privacy-card{text-align:left;line-height:1.6}
.swr-privacy-card h2{margin-top:1.4em}
.swr-privacy-card h2:first-child{margin-top:0}
body.swr-unified-page #cert-global-footer{display:none!important}
body.swr-cert-public-page .site-header,
body.swr-cert-public-page .site-footer{display:none!important}
body.swr-cert-public-page .cert-wrap{margin-top:0!important}

@media(max-width:760px){
  .swr-info-main,.swr-content-main{width:min(100% - 20px, 680px);padding:12px 0 18px}
  .swr-info-card{padding:16px 14px;border-radius:13px}
  .swr-help-grid{grid-template-columns:1fr;gap:10px}
  .swr-help-choice{min-height:0;padding:13px 14px}
  .swr-help-choice strong{font-size:18px}
}

/* v0.1.13 — separate CERT/Security Help testing copies. */
.swr-duplicated-help{display:grid;gap:12px}
.swr-duplicated-help .swr-info-card{margin:0;text-align:left;line-height:1.55}
.swr-duplicated-help .swr-help-topic h2{margin:0 0 8px;color:var(--swr-navy)}
.swr-duplicated-help .swr-help-topic p{margin:8px 0}
.swr-test-copy-note{
  margin:0;
  padding:12px 14px;
  border:1px solid #d7b84b;
  border-radius:12px;
  background:#fff7d8;
  color:#3b3420;
  text-align:center;
  line-height:1.45;
}
.swr-help-return{text-align:center;margin:4px 0 0}

/* Production: contextual installation help return controls */
.swr-install-return{display:flex;justify-content:center;max-width:760px;margin:0 auto 18px}
.swr-install-return a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:9px 20px;border:1px solid #a9c3de;border-radius:12px;background:#fff;color:var(--swr-blue-dark);font-size:17px;font-weight:750;text-decoration:none;text-align:center;box-shadow:0 2px 6px rgba(17,32,58,.06)}
.swr-install-return a:hover{background:#eef6ff;border-color:var(--swr-blue)}
.swr-install-return a:focus-visible{outline:3px solid var(--swr-blue);outline-offset:3px}
.swr-install-return-bottom{margin:10px auto 22px}
@media(max-width:760px){.swr-install-return{margin-bottom:14px}.swr-install-return a{font-size:16px;min-height:48px;max-width:100%}}

/* Production: approved CERT volunteer navigation and mobile header */
.swr-cert-top .swr-top-inner{gap:20px}
.swr-cert-top .swr-nav{gap:22px;flex-wrap:wrap}
.swr-cert-local-nav{
  background:#eff6fc;
  border-top:1px solid var(--swr-border);
  color:var(--swr-navy);
}
.swr-cert-local-inner{
  width:100%;max-width:1160px;margin:0 auto;
  padding:3px 24px;
  display:flex;align-items:center;justify-content:center;gap:4px 25px;
}
.swr-cert-local-nav a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 3px;min-height:44px;
  font-size:16px;font-weight:700;line-height:1.2;
  color:var(--swr-navy)!important;text-decoration:none!important;
  white-space:nowrap;border-bottom:3px solid transparent;
}
.swr-cert-local-nav a:hover{color:var(--swr-blue-dark)!important;border-bottom-color:#80b6dd}
.swr-cert-local-nav a[aria-current="page"]{border-bottom-color:var(--swr-blue)}
.swr-cert-local-nav a:focus-visible{outline:3px solid var(--swr-blue);outline-offset:1px}
@media(max-width:760px){
  .swr-cert-top .swr-top-inner{padding:8px 14px!important;gap:8px}
  .swr-cert-top .swr-nav{display:flex!important;gap:8px;flex-wrap:wrap}
  .swr-cert-top .swr-nav .swr-nav-home{display:inline-flex!important}
  .swr-cert-top .swr-nav a{font-size:13px;min-height:42px;display:inline-flex;align-items:center}
  .swr-cert-local-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px 10px}
  .swr-cert-local-nav a{min-width:0;min-height:44px;padding:9px 2px;font-size:14px;text-align:center}
}
@media(max-width:350px){
  .swr-cert-local-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}
  .swr-cert-top .swr-top-inner{flex-wrap:wrap;justify-content:center}
  .swr-cert-top .swr-nav{justify-content:center}
}


/* Production update — Mobile CERT header: one aligned row of app-wide links.
   Retains the separately approved four-link volunteer navigation below.
   The small-phone fallback intentionally uses two rows to avoid cramped text. */
@media (max-width:760px) {
  .swr-cert-top .swr-top-inner {
    display:grid;
    grid-template-columns:minmax(98px,1fr) max-content;
    align-items:center;
    column-gap:8px;
    min-height:56px;
    padding:8px 12px!important;
  }
  .swr-cert-top .swr-brand-mini {
    display:inline-flex;
    align-items:center;
    min-width:0;
    flex:none;
    gap:7px;
    font-size:16px;
    white-space:nowrap;
  }
  .swr-cert-top .swr-brand-mini img {width:36px;height:36px;flex:none}
  .swr-cert-top .swr-nav {
    display:flex!important;
    justify-self:end;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:nowrap!important;
    gap:12px;
    margin:0;
    min-width:0;
  }
  .swr-cert-top .swr-nav .swr-nav-home {display:inline-flex!important}
  .swr-cert-top .swr-nav a {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center;
    box-sizing:border-box;
    min-height:44px;
    height:44px;
    margin:0;
    padding:0;
    font-size:14px;
    line-height:1.2;
    white-space:nowrap;
    vertical-align:middle;
  }
  .swr-cert-top .swr-nav .swr-install-full {display:none}
  .swr-cert-top .swr-nav .swr-install-short {display:inline;white-space:nowrap}
}
@media (max-width:360px) {
  .swr-cert-top .swr-top-inner {
    grid-template-columns:1fr;
    justify-items:center;
    row-gap:0;
    padding:5px 12px!important;
  }
  .swr-cert-top .swr-nav {
    justify-self:stretch;
    width:100%;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .swr-cert-top .swr-nav a {text-align:center}
}

/* Preserve identical vertical alignment when the iPhone rotates to landscape. */
@media (min-width:761px) {
  .swr-cert-top .swr-nav {align-items:center;flex-wrap:nowrap}
  .swr-cert-top .swr-nav a {
    display:inline-flex!important;
    align-items:center;
    min-height:44px;
    line-height:1.2;
  }
}

/* v0.1.16 — prominent, contextual Help-page return navigation. */
.swr-help-return-top{margin-top:0;margin-bottom:14px}
.swr-help-return-bottom{margin-top:10px}


/* v0.1.17 — Shared sticky public navigation.
   The full header (including the CERT volunteer row when present) stays
   visible during scrolling. The WordPress toolbar is hidden on public pages;
   overlays such as the CERT confirmation dialog remain above the header. */
body.swr-page .swr-shell > .swr-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(17,32,58,.10);
}
/* Admin toolbar offsets are unnecessary because public toolbars are hidden. */
/* Ensure anchor targets such as the CERT Away panel remain below the header. */
body.swr-page .swr-shell :target {scroll-margin-top: 100px;}
body.swr-page .swr-shell > .swr-cert-top ~ * :target,
body.swr-page .swr-shell > .swr-cert-top ~ :target {scroll-margin-top: 155px;}
@media screen and (max-width: 350px) {
  body.swr-page .swr-shell > .swr-cert-top ~ * :target,
  body.swr-page .swr-shell > .swr-cert-top ~ :target {scroll-margin-top: 280px;}
}
@media print {
  body.swr-page .swr-shell > .swr-top {position: static;box-shadow: none;}
}

/* v0.1.19 — Security's public Help page while reporting is in development. */
.swr-security-help{max-width:760px;display:grid;gap:12px}
.swr-security-help .swr-info-card{margin:0;text-align:left;line-height:1.55}
.swr-security-help .swr-help-topic h2{margin:0 0 8px;color:var(--swr-navy)}
.swr-security-help .swr-help-topic p{margin:8px 0}
.swr-development-note{margin:0;padding:14px 18px;border:1px solid #eac765;border-radius:12px;background:#fff8e4;color:#3b3420;line-height:1.5;text-align:center}

/* v0.1.20: Non-ownership credit for the original CERT logo.
   Original website copyright is attributed separately to Ron Doyle. */
.swr-footer .swr-logo-permission{font-size:12px;opacity:.92;flex-basis:100%;text-align:center}

/* v0.1.21 — CERT administrator uses the same reliable second navigation row.
   Three equal columns keep Administration, Help and Sign Out obvious on phones. */
@media(max-width:760px){
  .swr-cert-admin-local .swr-cert-local-inner{grid-template-columns:repeat(3,minmax(0,1fr))}
  .swr-cert-admin-local a{white-space:normal}
}
@media(max-width:350px){
  .swr-cert-admin-local .swr-cert-local-inner{grid-template-columns:1fr}
}
