/* Keep the transparent logo and let the header share the page background.
   Header controls inherit the active theme instead of forcing light colors. */
.header {background:transparent;border-radius:0;box-shadow:none;color:var(--text);gap:20px;padding-top:12px;padding-bottom:12px}
.header .brand {gap:17px;min-width:0}
.header .brand-logo {display:block;width:220px;height:87px;object-fit:contain;background:transparent;border:0;border-radius:0}
.product-label {font-size:9px;line-height:1.7;letter-spacing:2px;color:var(--accent);border-left:1px solid var(--line);padding-left:16px;font-weight:650}
.header .icon-button {background:transparent;color:var(--accent)}
.header .theme-control {color:var(--text)}
.tool-tabs {row-gap:14px}
.tool-tab {padding:17px 19px}
.tool-top {margin-bottom:12px}
.tool-use {margin-top:12px}
.controls input[type=text] {display:block;width:100%;padding:10px;margin-top:8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font-size:12px}
.has-image .tool-tabs .tool-use,.has-image .tool-tabs .tool-bottom {display:none}
.has-image .tool-tab {padding:13px 16px}
.has-image .tool-top {margin-bottom:9px}
.has-image .tool-icon {width:31px;height:31px;border-radius:8px}
.has-image .tool-icon .icon {width:18px;height:18px}
.has-image .tool-description {min-height:0;font-size:10px}
.has-image .tool-tab strong {font-size:13px}
footer {background:#f4f9fc;color:#4e657b;border-radius:14px 14px 0 0;padding:16px 22px}
.footer-brand img {width:160px;height:63px;object-fit:contain;background:transparent;border-radius:0}
.footer-brand small {color:#006f65;border-left:1px solid #00295720;padding-left:12px;font-size:8px}
@media(max-width:900px) {.header .brand-logo{width:180px;height:71px}.product-label{font-size:8px;padding-left:12px;letter-spacing:1.3px}.header .brand{gap:12px}.header-actions{gap:12px}.tool-tab{padding:16px}}
@media(max-width:650px) {
  .header{padding:12px 16px;gap:8px;border-radius:0}.header .brand-logo{width:174px;height:69px}.product-label{display:none}.header-actions{gap:10px}
  .tool-tab{padding:15px 38px 14px 14px}.tool-top{margin-bottom:0}.tool-tabs{gap:9px}
  .has-image .tool-tab{padding:13px 38px 12px 13px}.has-image .tool-top{margin-bottom:0}.has-image .tool-icon{width:36px;height:39px}
  .has-image .tool-description{font-size:9px}.has-image .tool-tab strong{font-size:12px}
  footer{padding:13px 14px;gap:12px;justify-content:center;text-align:center}.footer-brand{justify-content:center}.footer-brand img{width:150px;height:59px}
}

/* Final brand treatment: the supplied wordmark contains navy lettering, so it
   needs a quiet light surface to remain legible against the navy dark theme. */
.header .brand-logo {
  width:220px;
  height:87px;
  display:block;
  object-fit:contain;
}
.header .logo-surface {
  display:grid;
  place-items:center;
  width:220px;
  height:87px;
  padding:9px 13px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #ffffffb8;
  border-radius:13px;
  box-shadow:0 8px 24px #0000001f;
}
.header .brand {
  padding:6px 12px 6px 8px;
  border-radius:16px;
  background:#fff;
  border:1px solid #ffffffb8;
  box-shadow:0 8px 24px #0000001f;
}
[data-theme=light] .header .brand {border-color:#00295718;box-shadow:0 8px 24px #00295710}
.utility-nav {
  position:absolute;
  left:50%;
  bottom:-21px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:4px;
  padding:4px;
  background:#0e2436e8;
  border:1px solid #ffffff18;
  border-radius:999px;
  box-shadow:0 12px 28px #00000020;
  z-index:4;
}
.utility-nav-item {
  padding:9px 16px;
  border-radius:999px;
  color:#a7bacb;
  font-size:11px;
  font-weight:650;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s,color .2s,box-shadow .2s;
}
.utility-nav-item:hover,.utility-nav-item:focus-visible {color:#f4fbff;background:#17354a}
.utility-nav-item.active {color:#fff;background:linear-gradient(135deg,#006d72,#019d8f);box-shadow:inset 0 1px #ffffff45,0 5px 16px #019d8f2b}
[data-theme=light] .utility-nav {background:#ffffffed;border-color:#00295718;box-shadow:0 12px 28px #00295714}
[data-theme=light] .utility-nav-item {color:#587087}
[data-theme=light] .utility-nav-item:hover,[data-theme=light] .utility-nav-item:focus-visible {color:#002957;background:#eef6f7}
[data-theme=light] .utility-nav-item.active {color:#fff}
[data-theme=light] .header .logo-surface {border-color:#00295718;box-shadow:0 8px 24px #00295710}
footer {
  background:var(--surface);
  color:var(--muted);
  border:1px solid var(--line);
  border-bottom:0;
  box-shadow:0 -10px 30px #00295708;
}
.footer-contact {color:var(--accent)!important;font-weight:650}
.footer-brand img {
  width:160px;
  height:63px;
  padding:7px 10px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #00295718;
  border-radius:10px;
}
[data-theme=dark] footer {background:#0c2132;color:#b8cddd;border-color:#ffffff18}
[data-theme=dark] footer .footer-brand>span {color:#eef6fc}
[data-theme=dark] footer a {color:#b8cddd}
[data-theme=dark] footer a:hover {color:#86e3d7}
[data-theme=light] footer {background:#fff;color:#4e657b}
@media(max-width:900px) {
  .utility-nav {bottom:-19px}
  .utility-nav-item {padding:8px 12px;font-size:10px}
  .header .logo-surface {width:190px;height:75px;padding:8px 11px}
  .header .brand-logo {width:190px;height:75px}
}
@media(max-width:650px) {
  .header {flex-wrap:wrap}
  .utility-nav {position:static;order:3;transform:none;width:100%;justify-content:center;margin-top:10px;overflow:auto}
  .utility-nav-item {padding:8px 11px;font-size:9px}
  .header .brand {min-width:0;flex:1;padding:4px 7px 4px 5px;border-radius:12px}
  .header .logo-surface {width:145px;height:57px;padding:6px 8px;border-radius:10px}
  .header .brand-logo {width:145px;height:57px}
  .header-actions {flex-shrink:0}
  .footer-brand img {width:150px;height:59px;padding:7px 9px}
}
