/* Silicon Galaxy 1.2.0 — frontend chrome, Account dropdown & page, Wordfence integration, network map tabs, and compact SST home link. */
html, body.sg-body{height:100%;background:#f2f4f9;}
body.sg-body{font-family:Poppins,system-ui,sans-serif;margin:0;background:#f2f4f9;color:#1c2636;}
.sg-app{min-height:100%;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:#f2f4f9;}
.sg-app > main, .sg-app .sg-main{flex:1 0 auto;padding-top:36px;padding-bottom:28px;}
.sg-app > footer, .sg-home-foot, .sg-foot{margin-top:auto;flex:none;}
.sg-app .gx-head{margin-top:0;}

.sg-hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;}
.sg-err{background:#f7e6d4;color:#7a3d08;border-radius:10px;padding:10px 12px;margin:0 0 14px;font-size:14px;}
.sg-ok{background:#eef1f6;color:#263a5a;border-radius:10px;padding:10px 12px;margin:0 0 14px;font-size:14px;}
.sg-wide{max-width:540px!important;}
.sg-consent{display:flex!important;align-items:flex-start;gap:8px;font-size:13.5px;margin:12px 0;}
.sg-connect .howto{margin:0 0 16px;padding-left:20px;}
.sg-connect .howto li{margin:0 0 8px;}
.sg-connect .howto-sub{margin:6px 0 4px;padding-left:18px;}
.sg-connect .howto-sub li{margin:4px 0;}
.sg-connect .note{background:#f2f5fa;border-radius:12px;padding:12px 14px;margin:0 0 16px;font-size:14px;}
.picker{margin-top:22px;}
.pick{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line,#d7dfeb);}
.pick small{display:block;color:var(--muted,#5f6b7d);font-weight:400;}
label.check{display:flex;align-items:center;gap:8px;font-weight:500;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#38527c;color:#fff;border:1.5px solid transparent;border-radius:10px;padding:10px 16px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;line-height:1.25;}
.btn:hover{background:#263a5a;color:#fff;}
.btn:disabled{opacity:.5;cursor:not-allowed;}
.btn-block{width:100%;}
.btn-sm{padding:7px 12px;font-size:13px;}
.btn-inv{background:#fff;color:#38527c;}
.btn-inv:hover{background:#f2f5fa;color:#263a5a;}
.btn-secondary-outline{background:#fff;color:#38527c;border:1.5px solid #38527c;}
.btn-secondary-outline:hover,.btn-secondary-outline:focus-visible{background:#eef3fa;color:#263a5a;border-color:#263a5a;}
.btn-outline-soft{background:#fff;color:#38527c;border:1.5px solid #cfd9e8;}
.btn-outline-soft:hover,.btn-outline-soft:focus-visible{background:#f4f6fb;color:#1c2636;border-color:#9db2d4;}
.btn-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}

form label, .auth-card label{display:block;font-size:13px;font-weight:600;margin:0 0 12px;}
form input[type=text],form input[type=email],form input[type=password],form input[type=url],form input[type=number],form textarea,form select{
  display:block;width:100%;margin-top:4px;font:inherit;padding:9px 11px;border:1px solid #d7dfeb;border-radius:10px;background:#fff;color:#1c2636;
}
.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;}
.steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 18px;font-size:12.5px;color:#5f6b7d;}
.steps li{padding:5px 11px;border-radius:999px;background:#eef1f6;border:1px solid #dce4ef;}
.steps li.on,.steps li.done{background:#38527c;color:#fff;border-color:#38527c;}
.steps li::before{content:none;}

/* Auth card: starry top hero banner keeps high contrast everywhere on the white form & secondary button. */
.auth{min-height:auto;display:grid;place-items:center;padding:4px 16px 8px;background:transparent;}
.auth-card{width:100%;max-width:440px;padding:0;position:relative;overflow:hidden;background:#fff;border:1px solid #d7dfeb;border-radius:16px;box-shadow:0 4px 18px rgb(26 42 68 / .07);}
.auth-hero{position:relative;overflow:hidden;padding:26px 24px 22px;color:#fff;background:radial-gradient(ellipse 65% 120% at 90% 10%,rgb(98 84 180 / .42),transparent 70%),linear-gradient(130deg,#16223a,#22345a 62%,#38527c);}
.auth-hero .auth-head{position:relative;z-index:1;text-align:center;margin:0;}
.auth-hero .gx-orb{display:block;margin:0 auto 10px;width:36px;height:36px;}
.auth-hero h2{color:#fff;margin:0 0 4px;font-size:22px;}
.auth-hero p{color:rgba(232,240,252,.92);margin:0;font-size:14px;}
.auth-body{padding:22px 24px 24px;background:#fff;position:relative;z-index:1;}
.auth-forgot{font-size:13px;font-weight:500;color:#38527c;text-decoration:underline;text-underline-offset:2px;}
.auth-passkey-wrap{margin-top:10px;}
.auth-switch{margin-top:18px;padding-top:4px;}
.auth-divider{display:flex;align-items:center;gap:12px;margin:14px 0 12px;color:#5f6b7d;font-size:12.5px;font-weight:500;}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:#dce4ef;}
.auth-switch .auth-divider{margin-top:0;}

/* Wordfence Login Security integration inside .auth-card */
#loginform{position:relative;}
.auth-handoff{margin:12px 0 0;text-align:center;font-size:13px;}
.auth-handoff a{color:#38527c;font-weight:500;text-decoration:underline;text-underline-offset:2px;}
.auth-body .wfls-login-message{margin:0 0 14px;padding:10px 12px;border-radius:10px;font-size:13.5px;background:#f7e6d4;color:#7a3d08;}
.auth-body .wfls-passkey-container{margin-top:10px;text-align:center;}
.auth-body .wfls-passkey-divider{display:flex;align-items:center;gap:12px;margin:12px 0;color:#5f6b7d;font-size:12.5px;}
.auth-body .wfls-passkey-divider::before,.auth-body .wfls-passkey-divider::after{content:"";flex:1;height:1px;background:#dce4ef;}
.auth-body .wfls-passkey-submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px 16px;border-radius:10px;border:1.5px solid #cfd9e8;background:#fff;color:#38527c;font:inherit;font-weight:600;cursor:pointer;}
.auth-body .wfls-passkey-submit:hover{background:#f4f6fb;color:#1c2636;border-color:#9db2d4;}
.auth-body .wfls-passkey-icon{width:18px;height:18px;display:inline-block;background-color:#38527c;-webkit-mask:var(--wfls-passkey-icon-url) 50%/contain no-repeat;mask:var(--wfls-passkey-icon-url) 50%/contain no-repeat;}
.auth-body #wfls-prompt-overlay{padding:18px 0;border-radius:10px;}
.auth-body #wfls-prompt-wrapper input[type=submit]{width:100%;padding:10px 16px;border-radius:10px;background:#38527c;color:#fff;border:0;font:inherit;font-weight:600;cursor:pointer;}

/* Tooltips (customer screens) */
.info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1.5px solid #38527c;color:#38527c;font-size:11px;font-weight:700;font-style:normal;cursor:pointer;vertical-align:middle;background:#fff;line-height:1;position:relative;flex:none;}
.info:hover,.info:focus,.info[aria-expanded="true"]{background:#38527c;color:#fff;}
.tip{position:absolute;z-index:40;left:50%;transform:translateX(-50%);top:calc(100% + 8px);width:260px;background:#1a2a44;color:#fff;font-size:12.5px;font-weight:400;line-height:1.45;padding:10px 12px;border-radius:10px;box-shadow:0 8px 24px rgb(26 42 68 / .28);text-transform:none;letter-spacing:0;text-align:left;}
.tip::before{content:"";position:absolute;left:50%;top:-6px;margin-left:-6px;border:6px solid transparent;border-bottom-color:#1a2a44;border-top:0;}
.tip.flip{top:auto;bottom:calc(100% + 8px);}
.tip.flip::before{top:auto;bottom:-6px;border-bottom-color:transparent;border-top:6px solid #1a2a44;}

.screen{display:none;}
.screen.active{display:block;}
.isp dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:0;}
.isp .isp-row{display:flex;flex-direction:column;gap:2px;min-width:0;}
.isp dt{display:block;font-size:12px;color:#5f6b7d;margin:0;line-height:1.3;}
.isp dd{display:block;margin:0;font-weight:600;line-height:1.3;word-break:normal;}

/* Map console tabs & collision-safe topology container */
.map-tabs{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 2px 10px;margin:0 0 8px;scrollbar-width:thin;}
.map-tabs[hidden]{display:none;}
.map-tabs [role="tab"]{flex:0 0 auto;white-space:nowrap;border:1.5px solid #d7dfeb;background:#f7f9fc;color:#263a5a;border-radius:999px;padding:7px 14px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:background .15s,color .15s,border-color .15s;}
.map-tabs [role="tab"]:hover{background:#eef3fa;border-color:#9db2d4;}
.map-tabs [role="tab"][aria-selected="true"]{background:#38527c;color:#fff;border-color:#38527c;}
.map-tabs [role="tab"]:focus-visible{outline:2px solid #38527c;outline-offset:2px;}
.map-tabs [role="tab"].is-empty{font-weight:500;color:#5f6b7d;}
.map-tabs [role="tab"].is-empty[aria-selected="true"]{background:#4a5e7c;color:#fff;border-color:#4a5e7c;font-weight:600;}
.topo-stage{overflow:hidden;}
.topo-scroll{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;position:relative;z-index:1;}
.topo2{max-width:none;display:block;}

@media (prefers-reduced-motion:reduce){
  .stars-bg i.tw,.topo2 .ant,.topo2 .slug,.topo2 g.glow,.topo2 .led,.topo2 .ring,.topo2 .bar,.stars .shoot{animation:none!important;}
  .stars .shoot{display:none;}
}
@media (max-width:640px){
  .sg-app > main, .sg-app .sg-main{padding-top:24px;padding-bottom:32px;}
  .gx-top-in{flex-wrap:wrap;gap:10px;}
  .gx-tabs{order:3;width:100%;}
  .gx-user{white-space:normal;margin-left:0;}
  .auth{padding:2px 12px 6px;}
  .auth-hero{padding:22px 18px 18px;}
  .auth-body{padding:18px 16px 20px;}
  .totp-setup{grid-template-columns:1fr;}
  .totp-qr{margin:0 auto;}
  .sg-backup-grid{grid-template-columns:1fr;}
  .topo-stage{overflow:visible;}
  .topo2{width:100%;height:auto;display:block;}
  .ap-pick{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow:visible;padding:0 0 8px;}
  .ap-pick button{width:100%;min-width:0;align-items:flex-start;padding:8px 10px 8px 8px;}
  .ap-pick button span{min-width:0;}
  .ap-pick small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
}

.cal button.on, .cal button.sel{border-color:#1a2a44;box-shadow:0 0 0 2px #fff inset;}
.cal .cell.empty, .cal .pad{visibility:hidden;pointer-events:none;}
.strip button.on, .strip button.sel{border-color:#1a2a44;}
.cal button.s3, .strip .s3{background:#6b7385!important;color:#fff!important;background-image:none!important;}
.issues2 .off .dot{background:#6b7385;}
.gx-user{margin-left:12px;white-space:nowrap;}
.gx-user-right{margin-left:auto;}
.gx-user a{color:#fff;text-decoration:underline;text-underline-offset:2px;}
.ap-detail{min-height:200px;}
.cal button.on{box-shadow:0 0 0 2px #1a2a44;border-color:#1a2a44;}
.cal button.s3.on,.cal button.s2.on{box-shadow:0 0 0 2px #1a2a44, 0 0 0 4px #fff inset;}
.sg-ad-foot-wrap{margin-top:26px;}
.sg-ad-foot-wrap .ad-strip{margin-top:0;}

/* Compact SST home link — high-specificity so a theme or Web Vault img {max-width:100%;height:auto} rule cannot crop it to a black blob. */
body.sg-body footer.sg-home-foot{margin-top:auto;flex:none;background:#f2f4f9;padding:16px 20px 28px;text-align:center;}
body.sg-body footer.sg-home-foot a.sg-home-link{display:inline-flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;color:#38527c;font-family:Poppins,system-ui,sans-serif;font-size:13px;font-weight:500;line-height:1.3;letter-spacing:-.01em;}
body.sg-body footer.sg-home-foot a.sg-home-link:hover,
body.sg-body footer.sg-home-foot a.sg-home-link:focus-visible{color:#263a5a;}
body.sg-body footer.sg-home-foot a.sg-home-link:focus-visible{outline:2px solid #38527c;outline-offset:4px;border-radius:10px;}
body.sg-body footer.sg-home-foot img.sg-home-logo{
  display:block !important;
  box-sizing:content-box !important;
  width:132px !important;
  height:45px !important;
  max-width:132px !important;
  max-height:45px !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:0 auto !important;
  position:static !important;
  inset:auto !important;
  transform:none !important;
  float:none !important;
  clip:auto !important;
  overflow:visible !important;
}
body.sg-body footer.sg-home-foot .sg-home-label{display:block;}
@media (max-width:720px){
  body.sg-body footer.sg-home-foot{padding:14px 16px 24px;}
  body.sg-body footer.sg-home-foot img.sg-home-logo{width:120px !important;height:41px !important;max-width:120px !important;max-height:41px !important;}
  body.sg-body footer.sg-home-foot a.sg-home-link{font-size:12.5px;gap:7px;}
}

/* 1.2.0 Account dropdown, company header badge/logo, and Account page */
body.sg-body .gx-top{overflow:visible;}
body.sg-body .gx-user{display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap;opacity:1;color:#fff;}
body.sg-body .gx-user a{color:#fff;text-decoration:underline;text-underline-offset:2px;}
.gx-sep{color:rgba(255,255,255,.55);}
.gx-co{display:inline-flex;align-items:center;gap:7px;min-width:0;}
.gx-co-mark{width:24px;height:24px;border-radius:6px;background:#fff;padding:2px;display:inline-flex;align-items:center;justify-content:center;flex:none;overflow:hidden;box-shadow:0 1px 3px rgb(16 24 40 / .2);}
.gx-co-logo{display:block;width:100%;height:100%;object-fit:contain;}
.gx-co-initial{background:rgb(255 255 255 / .18);border:1px solid rgb(255 255 255 / .32);color:#fff;font-weight:700;font-size:12px;padding:0;box-shadow:none;}
.gx-co-name{font-weight:500;color:#fff;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.gx-dd{position:relative;display:inline-flex;align-items:center;}
.gx-dd-btn{display:inline-flex;align-items:center;gap:4px;background:rgb(255 255 255 / .11);border:1px solid rgb(255 255 255 / .26);color:#fff;border-radius:8px;padding:4px 10px;font:inherit;font-size:13px;font-weight:500;cursor:pointer;line-height:1.3;}
.gx-dd-btn:hover,.gx-dd-btn[aria-expanded="true"]{background:rgb(255 255 255 / .2);border-color:rgb(255 255 255 / .48);}
.gx-dd-btn:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.gx-caret{font-size:11px;line-height:1;opacity:.9;}
.gx-dd-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:172px;background:#fff;border:1px solid #d7dfeb;border-radius:12px;padding:6px;box-shadow:0 12px 28px rgb(22 34 58 / .24);z-index:90;text-align:left;}
.gx-dd-menu[hidden]{display:none;}
body.sg-body .gx-dd-menu a[role="menuitem"]{display:block;padding:8px 12px;border-radius:8px;color:#1c2636;text-decoration:none;font-size:13.5px;font-weight:500;white-space:nowrap;}
body.sg-body .gx-dd-menu a[role="menuitem"]:hover,
body.sg-body .gx-dd-menu a[role="menuitem"]:focus-visible{background:#eef3fa;color:#263a5a;outline:none;}

/* Account page */
.sg-acc-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start;}
.sg-acc-card h3,.sg-sec-card h3{margin:0 0 4px;}
.sg-acc-sub{margin:0 0 16px;}
body.sg-body .sg-acc-form label{display:block;font-size:13px;font-weight:600;margin:0 0 12px;color:#1c2636;}
.sg-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.sg-logo-box{display:flex;align-items:flex-start;gap:14px;padding:14px;margin:0 0 16px;border-radius:12px;background:#f2f5fa;border:1px solid #d7dfeb;}
.sg-logo-preview{width:60px;height:60px;border-radius:12px;background:#fff;border:1px solid #d7dfeb;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none;}
.sg-logo-preview img{display:block;width:100%;height:100%;object-fit:contain;padding:4px;}
.sg-logo-initial{font-weight:700;font-size:22px;color:#38527c;}
.sg-logo-controls{min-width:0;flex:1;}
body.sg-body .sg-logo-controls .sg-file-label{margin:0 0 6px;}
.sg-file-label input[type="file"]{display:block;width:100%;margin-top:6px;font:inherit;font-size:13px;font-weight:400;color:#1c2636;}
.sg-logo-hint{margin:0 0 8px;}
.sg-acc-actions{margin-top:6px;}

.sg-sec-status{margin:0 0 16px;border:1px solid #d7dfeb;border-radius:12px;background:#f8faff;}
.sg-sec-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #e4ebf5;}
.sg-sec-row:last-child{border-bottom:0;}
.sg-sec-row dt{font-size:13.5px;font-weight:500;color:#1c2636;margin:0;}
.sg-sec-row dd{margin:0;}
.sg-badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.3;}
.sg-badge-on{background:#dfe7f3;color:#263a5a;}
.sg-badge-warn{background:#fbe6cc;color:#7a3d08;}
.sg-badge-muted{background:#eef1f6;color:#5f6b7d;}
.sg-sec-cta{margin-bottom:14px;}
.sg-sec-note{background:#f2f5fa;border:1px solid #d7dfeb;border-radius:12px;padding:12px 14px;font-size:13.5px;color:#1c2636;margin:0 0 14px;}
.sg-sec-links{margin-top:16px;padding-top:14px;border-top:1px solid #e4ebf5;font-size:13.5px;}
.sg-sec-links a{color:#38527c;font-weight:500;text-decoration:underline;text-underline-offset:2px;}

/* Wordfence embedded setup inside SST Account card */
.sg-wf-wrap{margin-top:14px;padding-top:14px;border-top:1px solid #e4ebf5;}
.sg-wf-wrap[hidden]{display:none;}
.sg-wf-block{margin-bottom:18px;}
.sg-wf-block:last-child{margin-bottom:0;}
.sg-wf-block h4{margin:0 0 8px;font-size:14.5px;color:#263a5a;}
body.sg-body .sg-wf-wrap p{font-size:13.5px;line-height:1.5;color:#1c2636;}
body.sg-body .sg-wf-wrap a{color:#38527c;}
body.sg-body .sg-wf-wrap .wfls-block{border:1px solid #d7dfeb;border-radius:12px;overflow:hidden;box-shadow:none;}
body.sg-body .sg-wf-wrap .wfls-block-header{background:#f2f5fa;border-bottom:1px solid #d7dfeb;}
body.sg-body .sg-wf-wrap .wfls-btn{border-radius:9px;font-family:Poppins,system-ui,sans-serif;font-weight:600;}
body.sg-body .sg-wf-wrap .wfls-btn-primary{background:#38527c;border-color:#38527c;color:#fff;}
body.sg-body .sg-wf-wrap .wfls-btn-primary:hover{background:#263a5a;border-color:#263a5a;color:#fff;}
body.sg-body .sg-wf-wrap .wfls-btn-default{background:#fff;border-color:#38527c;color:#38527c;}
body.sg-body .sg-wf-wrap .wfls-btn-default:hover{background:#eef3fa;border-color:#263a5a;color:#263a5a;}
body.sg-body .sg-wf-wrap input[type="text"]{width:100%;max-width:100%;}
body.sg-body .sg-wf-wrap .wfls-two-factor-card-title-icon,
body.sg-body .sg-wf-wrap .wfls-block-title svg,
body.sg-body .sg-wf-wrap .wfls-passkey-info-heading,
body.sg-body .sg-wf-wrap .wfls-passkey-info-list li::before{color:#38527c;}
body.sg-body .sg-wf-wrap .wfls-passkey-info,
body.sg-body .sg-wf-wrap .wfls-passkey-info-card{background:#f2f5fa;border-color:#d7dfeb;}

@media (max-width:900px){
  .sg-acc-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  body.sg-body .gx-user{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;width:100%;margin-left:0;}
  body.sg-body .gx-sep{display:none;}
  .gx-co-name{max-width:185px;}
  .gx-dd-menu{left:0;right:auto;}
  .sg-field-row{grid-template-columns:1fr;gap:0;}
  .sg-logo-box{flex-direction:column;}
}
