/* Use the inherited UI tokens for GWR's shared language control. */
.gwr-language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #d4dae3;
  border-radius: 10px;
  background: #f8fafb;
}
.gwr-language-switch button {
  appearance: none;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #182849;
  cursor: pointer;
  font: inherit;
  font-size: var(--ui-compact-control-size, 13px);
  font-weight: 600;
  padding: 7px 9px;
  min-height: 34px;
}
.gwr-language-switch button[aria-pressed="true"] {background: #182849; color: white;}
.gwr-language-switch button:focus-visible {outline: 2px solid #315d9c; outline-offset: 2px;}
.gwr-login-language {display: flex; justify-content: flex-end; margin-bottom: 14px;}
span.gwr-translated {display: contents !important;}
.gwr-project-page {margin: 0; background: #eef2f4; color: #182849; font-family: Inter, Arial, sans-serif; font-size: var(--ui-body-size, 14px); line-height: 1.6;}
.gwr-project-card {box-sizing: border-box; max-width: 720px; margin: 8vh auto; padding: 28px; background: white; border-radius: 18px;}
.gwr-project-head {display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px;}
.gwr-project-logo {font-size: var(--ui-page-title-size, 24px); font-weight: 700; letter-spacing: 1px;}
.gwr-project-card h1 {font-size: var(--ui-page-title-size, 24px); line-height: 1.3;}
.gwr-project-card h2 {font-size: var(--ui-panel-title-size, 14px);}
.gwr-project-status {padding: 14px 16px; background: #f4f6f9; border-radius: 10px; overflow-wrap: anywhere;}
.gwr-project-card footer {border-top: 1px solid #e2e8f0; margin-top: 24px; padding-top: 12px; font-size: var(--ui-compact-control-size, 13px);}
@media (max-width: 760px) {
  .gwr-project-card {margin: 20px 14px; padding: 22px;}
  .gwr-project-head {gap: 8px;}
  .gwr-project-logo {font-size: 20px;}
  .gwr-language-switch button {padding-inline: 8px;}
}


/* No reserved space above the application header. */
body.gwr-local-mode {--app-support-height:0px;}
@media(max-width:700px){.gwr-local-mode .topbar-actions>.gwr-language-switch{gap:1px;padding:2px;grid-column:1/-1;justify-self:end;width:max-content;}.gwr-local-mode .topbar-actions>.gwr-language-switch button{font-size:11px;padding:4px 5px;min-height:28px;}}

.gwr-local-mode .pr-client-logo img {height:auto;width:44px;max-height:44px;object-fit:contain;}



/* Place the sticky filters below the measured header, with no local banner. */
body.gwr-local-mode.new-design-ui.nd-authenticated #view-home .nd-home-controls {
  position:sticky!important;
  top:calc(var(--app-support-height,0px) + var(--ui-safe-top,env(safe-area-inset-top,0px)) + var(--app-topbar-height,86px) + var(--ui-floating-bar-gap,8px) + var(--ui-floating-bar-gap,8px))!important;
  margin-top:var(--ui-floating-bar-gap,8px);
}
