:root { --site-gutter: 48px; --site-content-width: min(1600px, calc(100% - 2 * var(--site-gutter))); }
@media (max-width: 760px) { :root { --site-gutter: 20px; } }
@media (max-width: 360px) { :root { --site-gutter: 16px; } }

/* Shared navigation for the charging-industry products. */
.site-shell,.site-shell *{box-sizing:border-box}
.site-shell{background:#fff;color:#182c2c;border-bottom:1px solid #e6ece9;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.site-shell .site-shell__inner{width:var(--site-content-width);min-height:76px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:32px}
.site-shell .site-shell__brand{display:inline-flex;align-items:center;gap:8px;min-width:0;flex:none;text-decoration:none;color:#1a3430;white-space:nowrap;letter-spacing:0}
.site-shell .site-shell__brand img{display:block;width:44px;height:44px;object-fit:contain;flex:none}
.site-shell .site-shell__name{font-size:16px;line-height:1.3;font-weight:650;letter-spacing:.04em}
.site-shell .site-shell__section{font-size:13px;font-weight:500;color:#628078;margin-left:8px;padding-left:16px;line-height:22px;border-left:1px solid #dbe5e0}
.site-shell .site-shell__nav{display:flex;align-items:center;gap:clamp(20px,2.8vw,40px);height:auto;margin:0;padding:0}
.site-shell .site-shell__nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0;border:0;color:#435a53;font-size:15px;line-height:1.4;font-weight:500;letter-spacing:0;text-decoration:none;white-space:nowrap}
.site-shell .site-shell__nav a:hover,.site-shell .site-shell__nav a[aria-current=page]{color:#147a60}
.site-shell .site-shell__nav a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#20866d}
.site-shell .site-shell__nav:has(+ .site-shell__account){margin-inline-start:auto}
.site-shell .site-shell__account{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border:1px solid #cdded7;border-radius:6px;color:#176b57;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.site-shell .site-shell__account:hover{background:#eef6f2}
.site-profile-prompt{width:var(--site-content-width);margin:12px auto 0;display:flex;align-items:center;gap:4px 14px;padding:2px 14px;min-height:46px;background:#f1f6f2;border:1px solid #dbe8df;border-radius:6px;color:#254c3d;font:14px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.site-profile-prompt strong{margin-inline-end:auto;font-weight:650}
.site-profile-prompt a,.site-profile-prompt button{min-height:40px;display:inline-flex;align-items:center;border:0;padding:0;color:#176b57;background:none;text-decoration:underline;text-underline-offset:3px;font:inherit;white-space:nowrap;cursor:pointer}
.site-profile-prompt button{color:#526d60}
.site-profile-prompt :is(a,button):focus-visible{outline:2px solid #20866d;outline-offset:3px}
@media(min-width:761px) and (max-width:960px){.site-shell .site-shell__inner:has(.site-shell__account){gap:12px}.site-shell .site-shell__nav:has(+ .site-shell__account){gap:14px}.site-shell .site-shell__nav:has(+ .site-shell__account) a{font-size:14px}.site-shell .site-shell__account{padding-inline:9px;font-size:13px}}
@media(max-width:760px){.site-shell .site-shell__account{order:1;margin-inline-start:auto;padding:0 8px;border:0;font-size:13px}.site-shell .site-shell__nav:has(+ .site-shell__account){order:2;margin-inline-start:0}}
.site-shell a:focus-visible,.site-subnav > a:focus-visible{outline:2px solid #20866d;outline-offset:4px}
@media(max-width:760px){.site-shell .site-shell__inner{min-height:110px;gap:0;flex-wrap:wrap;align-content:center}.site-shell .site-shell__brand{min-height:54px}.site-shell .site-shell__brand img{width:40px;height:40px}.site-shell .site-shell__name{font-size:14px}.site-shell .site-shell__section{font-size:12px;margin-left:5px;padding-left:10px}.site-shell .site-shell__nav{width:100%;justify-content:space-between;gap:3px}.site-shell .site-shell__nav a{font-size:13px;min-height:44px}}
/* Common section heading and footer across the five publications. */
.site-section-header {
  width:var(--site-content-width);
  margin-inline:auto;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
.site-section-header .site-section-title { padding-block:32px 18px; }
.site-section-header .site-section-title h1 { margin:0;color:#173b32;font-size:40px;font-weight:650;line-height:1.2;letter-spacing:-.04em; }
.site-subnav { display:flex;align-items:stretch;gap:32px;margin:0;padding:0;border-bottom:1px solid #d8e2dc; }
.site-subnav > a {
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:0;
  color:#435a53;
  font-family:inherit;
  font-size:15px;
  font-weight:500;
  line-height:22px;
  letter-spacing:0;
  text-decoration:none;
  white-space:nowrap;
}
.site-subnav > a:hover { color:#176b57; }
.site-subnav > a[aria-current] { color:#173b32;font-weight:650; }
.site-subnav > a[aria-current]::after { content:"";position:absolute;inset:auto 0 -1px;height:2px;background:#20866d; }
.unified-site-source{width:var(--site-content-width);margin:48px auto 32px;color:#607970;font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.unified-site-source a{color:inherit;text-decoration:none}
@media (max-width: 760px) {
  .site-section-header .site-section-title { padding-block:24px 14px; }
  .site-section-header .site-section-title h1 { font-size:32px; }
  .site-subnav { gap:28px; }
  .site-subnav > a { font-size:14px; }
  .site-shell .site-shell__nav a { font-size:12px; }
}
@media (max-width: 360px) { .site-shell .site-shell__nav a { font-size:11px; } }

.home-footer, .home-footer * { box-sizing:border-box; }
.home-footer {
  flex:none;
  border-top:1px solid #e4e9e5;
  background:#f7f9f6;
  color:#66746b;
  font:12px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
.home-footer__inner {
  width:var(--site-content-width);
  min-height:100px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.home-footer__right, .home-footer .registration-links, .home-footer .contact-icons {
  display:flex;
  align-items:center;
  gap:20px;
}
.home-footer .home-copyright { white-space:nowrap; }
.home-footer .registration-links { gap:16px; }
.home-footer :is(.registration-links, .qr-popover) a { color:inherit; text-decoration:none; }
.home-footer :is(.registration-links, .qr-popover) a:hover { color:#175a42; }
.home-footer .contact-icons { gap:4px; }
.home-footer .contact-item { position:relative; }
.home-footer .contact-trigger {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#55746b;
  cursor:pointer;
}
.home-footer :is(a, button):focus-visible { outline:2px solid #20866d; outline-offset:3px; }
.home-footer .contact-trigger svg { width:21px; height:21px; fill:currentColor; }
.home-footer .contact-trigger svg path { fill:none; }
.home-footer .qr-popover {
  position:absolute;
  z-index:3;
  right:0;
  bottom:calc(100% + 4px);
  width:192px;
  padding:14px;
  border:1px solid #dce9e3;
  background:#fff;
  box-shadow:0 10px 35px #153e2f18;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#284a3f;
  font-size:13px;
  visibility:hidden;
  opacity:0;
  transition:opacity .15s;
}
.home-footer .qr-popover img { width:148px; height:148px; object-fit:contain; align-self:center; }
.home-footer .qr-popover a { overflow-wrap:anywhere; text-align:center; }
.home-footer .contact-trigger[aria-expanded=true] + .qr-popover { visibility:visible; opacity:1; }
@media (hover: hover) {
  .home-footer .contact-item:not([data-contact-dismissed]):hover .qr-popover { visibility:visible; opacity:1; }
}
@media (prefers-reduced-motion: reduce) { .home-footer .qr-popover { transition:none; } }
@media (max-width: 1100px) {
  .home-footer__right { gap:12px; flex-wrap:wrap; justify-content:flex-end; }
  .home-footer .registration-links { gap:10px; }
}
@media (max-width: 760px) {
  .home-footer__inner { padding-block:24px; }
  .home-footer__right { width:100%; justify-content:space-between; gap:10px; }
  .home-footer .registration-links { flex-direction:column; align-items:flex-start; gap:5px; }
  .home-footer .home-copyright { font-size:11px; }
  .home-footer .contact-icons { margin-left:auto; }
  .home-footer .qr-popover { bottom:100%; }
}
/* Consistent compact header across home and section pages. */
.site-shell .site-shell__inner{min-height:68px}
@media(max-width:760px){.site-shell .site-shell__inner{min-height:98px}.site-shell .site-shell__brand{min-height:48px}.site-shell .site-shell__nav a{min-height:42px}}

.site-shell :is(.site-shell__account,.site-shell__account-menu)[hidden] { display:none; }
.site-shell__account-menu { position:relative; min-width:0; }
.site-shell__account-menu > summary {
  display:flex; align-items:center; gap:8px; min-height:44px; padding:0 7px;
  border-radius:7px; list-style:none; white-space:nowrap; cursor:pointer; color:#176b57; font-size:14px; font-weight:600;
}
.site-shell__account-menu > summary::marker { content:""; }
.site-shell__account-menu > summary::-webkit-details-marker { display:none; }
.site-shell__account-menu > summary img { flex:none; width:26px; height:26px; object-fit:cover; border-radius:50%; background:#eef6f2; }
.site-shell__account-name { min-width:0; max-inline-size:12em; overflow:hidden; text-overflow:ellipsis; }
.site-shell__account-menu > summary:hover, .site-shell__account-menu[open] > summary { background:#f1f6f3; }
.site-shell__account-menu > summary:focus-visible { outline:2px solid #20866d; outline-offset:2px; }
.site-shell__account-links {
  position:absolute; inset-inline-end:0; top:calc(100% + 5px); z-index:25; display:grid;
  inline-size:max-content; min-inline-size:104px; padding:4px; border:1px solid #e0e9e3; border-radius:8px; background:#fff; box-shadow:0 5px 18px #173b3216;
}
.site-shell__account-links :is(a,button) {
  display:flex; align-items:center; justify-content:center; min-height:44px; padding-inline:9px; border-radius:4px;
  color:#23483e; font-size:14px; text-decoration:none; white-space:nowrap;
}
.site-shell__account-links :is(a,button):is(:hover,[aria-current]) { background:#edf6f1; color:#14684f; }
.site-shell__account-links :is(a,button):focus-visible { outline:2px solid #20866d; outline-offset:-2px; }
.site-shell__account-logout {
  margin-top:3px; border:0; border-top:1px solid #e0e9e3; background:none; cursor:pointer; font-family:inherit;
}
.site-shell__account-logout:disabled { cursor:wait; }
.site-shell__account-error { margin:0; padding:4px 9px 7px; color:#8d3c32; font-size:12px; }
.tool-project-login {
  width:min(100% - 40px, 390px); max-width:none; margin:auto; padding:22px;
  border:1px solid #d8e2dc; border-radius:10px; background:#fff; color:#173b32;
}
.tool-project-login::backdrop { background:#112c2466; }
.tool-project-login p { margin:0 0 22px; font-size:16px; line-height:1.6; }
.tool-project-login form { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.tool-project-login button {
  min-height:44px; padding:0 13px; border:1px solid #cdded7; border-radius:5px;
  background:#fff; color:#176b57; font:inherit; font-size:14px; cursor:pointer;
}
.tool-project-login button[value="login"] { background:#176b57; color:#fff; border-color:#176b57; }
@media(max-width:840px) {
  .site-shell .site-shell__inner:has(.site-shell__account-menu:not([hidden])) {
    display:grid; grid-template-columns:max-content minmax(0,1fr); align-content:center; min-height:98px; gap:0;
  }
  .site-shell .site-shell__inner:has(.site-shell__account-menu:not([hidden])) .site-shell__nav {
    grid-column:1/-1; grid-row:2; width:100%; justify-content:space-between; margin-inline-start:0;
  }
  .site-shell__account-menu { grid-column:2; grid-row:1; justify-self:end; max-inline-size:100%; }
}
@media(max-width:760px) {
  .site-shell__account-menu > summary { gap:5px; padding-inline:4px; font-size:13px; }
  .site-shell__account-menu > summary img { width:23px; height:23px; }
}

