body.auth-locked .shell,
body.project-locked .shell {
  visibility: hidden;
  pointer-events: none;
}

body:not([data-app-state="workspace"]) .shell,
body:not([data-app-state="workspace"]) .footer-note,
body:not([data-app-state="workspace"]) .panel-visibility-toggle {
  visibility: hidden;
  pointer-events: none;
}

body:not(.auth-locked) .shell {
  height: calc(100dvh - var(--workspace-topbar-height, 60px));
  margin-top: var(--workspace-topbar-height, 60px);
}

body:not(.auth-locked) .panel,
body:not(.auth-locked) .map-stage,
body:not(.auth-locked) #map {
  height: 100%;
}

.panel-visibility-toggle {
  position: absolute;
  top: 50%;
  right: -30px;
  left: auto;
  z-index: 2400;
  display: inline-flex;
  width: 30px;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(14, 16, 32, 0.18);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 8px 5px;
  background: rgba(255, 255, 255, 0.96);
  color: #0e1020;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  transform: translateY(-50%);
  box-shadow: 0 8px 24px rgba(14, 16, 32, 0.14);
}

.panel-visibility-toggle:hover,
.panel-visibility-toggle:focus-visible {
  border-color: #2340f0;
  background: #2340f0;
  color: #ffffff;
  outline: none;
}

.panel-visibility-toggle i {
  line-height: 1;
}

.panel-visibility-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.workspace-state-layer {
  position: fixed;
  inset: 0;
  z-index: 2800;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 16, 32, 0.86);
  color: #ffffff;
}

.workspace-state-layer.is-hidden {
  display: none;
}

.workspace-state-card {
  width: min(100%, 440px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
  background: #172aa8;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.workspace-state-kicker {
  color: #cdf547;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.workspace-state-card h1 {
  margin: 14px 0 10px;
  color: #ffffff;
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.workspace-state-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.workspace-state-retry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  background: #cdf547;
  color: #0e1020;
  font-size: 11px;
  font-weight: 800;
}

.project-layer {
  position: fixed;
  inset: 0;
  z-index: 2900;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 32px;
  background: #0e1020;
  color: #ffffff;
}

.project-layer.is-hidden {
  display: none;
}

body.project-picker-lightbox .shell,
body.project-picker-lightbox .footer-note {
  visibility: visible;
  pointer-events: none;
}

.project-layer.is-lightbox {
  display: grid;
  padding: 24px;
  background: rgba(14, 16, 32, 0.58);
  backdrop-filter: blur(5px);
}

.project-layer.is-lightbox::before {
  display: none;
}

.project-layer.is-lightbox .project-shell {
  width: min(100%, 1120px);
  max-height: calc(100dvh - 48px);
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 24px 28px 22px;
  background: #0e1020;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.project-layer::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

.project-shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1120px);
  min-height: calc(100dvh - 64px);
  flex-direction: column;
}

.auth-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #0e1020;
  border-radius: 4px;
  padding: 9px 11px;
  background: #0e1020;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.auth-logout:hover,
.auth-logout:focus-visible {
  border-color: #c2382c;
  background: #ff5a4e;
  color: #ffffff;
  outline: none;
}

.guide-layer {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 24px;
  background: transparent;
  backdrop-filter: none;
}

.guide-layer.is-hidden {
  display: none;
}

.guide-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
}

.guide-spotlight {
  position: fixed;
  z-index: 1;
  width: 0;
  height: 0;
  border: 2px solid #cdf547;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 0 0 5px rgba(239, 193, 94, 0.2), 0 0 28px rgba(239, 193, 94, 0.34), 0 0 0 9999px rgba(14, 16, 32, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: left 260ms ease, top 260ms ease, width 260ms ease, height 260ms ease, opacity 180ms ease;
}

.guide-spotlight.is-visible {
  opacity: 1;
}

.guide-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 27px 29px 24px;
  background: #f6f5f0;
  color: #0e1020;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.guide-dialog.is-contextual {
  position: fixed;
  margin: 0;
  transition: left 260ms ease, top 260ms ease;
}

.guide-header,
.guide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.guide-kicker,
.guide-step-label {
  color: #c2382c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-skip,
.guide-prev,
.guide-next {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.guide-skip,
.guide-prev {
  padding: 5px 0;
  background: transparent;
  color: #5e6178;
}

.guide-skip:hover,
.guide-skip:focus-visible,
.guide-prev:hover,
.guide-prev:focus-visible {
  color: #c2382c;
  outline: none;
}

.guide-progress {
  height: 3px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(14, 16, 32, 0.1);
}

.guide-progress-bar {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: #ff5a4e;
  transition: width 180ms ease;
}

.guide-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-top: 30px;
  place-items: center;
  border-radius: 15px;
  background: #0e1020;
  color: #cdf547;
  font-size: 20px;
}

.guide-step-label {
  margin: 22px 0 0;
}

.guide-title {
  max-width: 450px;
  margin: 10px 0 0;
  color: #0e1020;
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 0.98;
}

.guide-copy {
  max-width: 460px;
  min-height: 44px;
  margin: 13px 0 0;
  color: #5e6178;
  font-size: 12px;
  line-height: 1.6;
}

.guide-dots {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}

.guide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(14, 16, 32, 0.16);
}

.guide-dot.is-active {
  width: 22px;
  border-radius: 99px;
  background: #ff5a4e;
}

.guide-actions {
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(14, 16, 32, 0.12);
}

.guide-next {
  border-radius: 999px;
  padding: 10px 14px;
  background: #0e1020;
  color: #ffffff;
}

.guide-next:hover,
.guide-next:focus-visible {
  background: #ff5a4e;
  outline: none;
}

.guide-next i {
  margin-left: 4px;
}

.auth-logout {
  border: 1px solid #0e1020;
  border-radius: 4px;
  padding: 11px 13px;
  background: #0e1020;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.auth-logout:hover,
.auth-logout:focus-visible {
  border-color: #c2382c;
  background: #ff5a4e;
  outline: none;
}

.auth-logout i,
.auth-project-link i {
  margin-right: 5px;
}
.auth-userbar {
  position: fixed;
  top: 12px;
  right: 14px;
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(14, 16, 32, 0.16);
  padding: 7px 8px 7px 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(14, 16, 32, 0.15);
}

.auth-left-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.auth-language-button,
.auth-logout-circle {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 16, 32, 0.16);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #0e1020;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.auth-language-button {
  width: 30px;
  min-width: 30px;
  border-radius: 50%;
  padding: 0;
}

.auth-language-button i {
  color: #2340f0;
  font-size: 12px;
}

.auth-language-flag {
  display: inline-block;
  width: 16px;
  height: 12px;
  border: 1px solid rgba(14, 16, 32, 0.2);
  border-radius: 2px;
  background-size: cover;
}

.auth-language-button:hover,
.auth-language-button:focus-visible,
.auth-logout-circle:hover,
.auth-logout-circle:focus-visible {
  border-color: #c2382c;
  background: rgba(255, 90, 78, 0.1);
  color: #c2382c;
  outline: none;
}

.auth-logout-circle i {
  font-size: 14px;
}

.auth-user-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.auth-action-cluster {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.auth-mobile-menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #0e1020;
  border-radius: 9px;
  padding: 0;
  background: #0e1020;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
}

.auth-panel-toggle {
  display: none;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(14, 16, 32, 0.16);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #0e1020;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.auth-panel-toggle:hover,
.auth-panel-toggle:focus-visible,
.auth-panel-toggle[aria-pressed="true"] {
  border-color: #2340f0;
  background: rgba(35, 64, 240, 0.1);
  color: #2340f0;
  outline: none;
}

.auth-mobile-menu-toggle:hover,
.auth-mobile-menu-toggle:focus-visible,
.auth-userbar.is-menu-open .auth-mobile-menu-toggle {
  border-color: #c2382c;
  background: #ff5a4e;
  outline: none;
}

.auth-project-link {
  display: inline-flex;
  align-items: center;
  max-width: 170px;
  overflow: hidden;
  border: 0;
  padding: 5px 4px;
  background: transparent;
  color: #0e1020;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-project-link:hover,
.auth-project-link:focus-visible {
  color: #c2382c;
  outline: none;
}

.auth-guide-link {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(14, 16, 32, 0.16);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #0e1020;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
}

.auth-guide-link:hover,
.auth-guide-link:focus-visible {
  border-color: #c2382c;
  background: rgba(255, 90, 78, 0.1);
  color: #c2382c;
  outline: none;
}

.auth-guide-link i {
  line-height: 1;
}

.auth-logout {
  padding: 7px 9px;
  font-size: 10px;
  white-space: nowrap;
}

.auth-logout-circle {
  padding: 0;
}

.auth-logout {
  display: inline-flex;
  width: 32px;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 50%;
  padding: 0;
  font-size: 0;
}

.auth-logout i {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 600px) {
  .auth-userbar {
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 2600;
    width: auto;
    max-width: calc(100vw - 24px);
    border-radius: 14px;
    padding: 6px;
  }

  .auth-user-actions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(230px, calc(100vw - 24px));
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(14, 16, 32, 0.16);
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 30px rgba(14, 16, 32, 0.2);
  }

  .auth-userbar.is-menu-open .auth-user-actions {
    display: flex;
  }

  .auth-mobile-menu-toggle {
    display: grid;
  }

  .auth-project-link,
  .auth-logout {
    width: 100%;
    justify-content: flex-start;
    border-radius: 9px;
    padding: 9px 10px;
  }

  .auth-guide-link {
    display: flex;
    width: 100%;
    height: 36px;
    justify-content: flex-start;
    gap: 8px;
    border-radius: 9px;
    padding: 0 10px;
  }

  .auth-guide-link::after {
    content: "Pomoc i przewodnik";
    font-size: 10px;
    font-weight: 800;
  }

  .auth-guide-link i {
    margin: 0;
  }

  .auth-project-link {
    max-width: 130px;
  }

  .project-layer {
    place-items: start center;
    padding: 28px 18px;
  }
}

@media (max-width: 900px) {
  .project-layer {
    padding: 24px;
  }

  .project-shell {
    min-height: calc(100dvh - 48px);
  }
}

@media (max-width: 600px) {
  .auth-userbar {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 7px 12px;
  }

  .auth-user-actions {
    position: static;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 7px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .auth-action-cluster {
    flex: 0 0 auto;
    gap: 7px;
  }

  .auth-mobile-menu-toggle,
  .auth-userbar.is-menu-open .auth-mobile-menu-toggle {
    display: none;
  }

  .auth-project-link {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
    padding: 7px 5px;
  }

  .auth-guide-link {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
    padding: 0;
  }

  .auth-panel-toggle {
    display: grid;
  }

  .auth-guide-link::after {
    display: none;
  }

  .auth-logout {
    width: auto;
    flex: 0 0 auto;
    padding: 8px 10px;
  }
}

@media (max-width: 600px) {
  .project-layer {
    place-items: start center;
    padding: 20px 16px;
  }

  .auth-logout {
    padding: 8px 10px;
  }

  .guide-layer {
    padding: 16px;
  }

  .guide-dialog {
    padding: 22px 20px 20px;
  }

  .guide-dialog.is-contextual {
    position: fixed;
    left: 12px !important;
    right: 12px !important;
    width: auto;
    max-height: min(280px, calc(100dvh - 24px));
    overflow: hidden;
    padding: 14px 16px 13px;
  }

  .guide-title {
    margin-top: 6px;
    font-size: 25px;
  }

  .guide-icon {
    width: 38px;
    height: 38px;
    margin-top: 14px;
    border-radius: 11px;
    font-size: 15px;
  }

  .guide-step-label {
    margin-top: 10px;
  }

  .guide-copy {
    min-height: 0;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .guide-actions {
    margin-top: 12px;
    padding-top: 10px;
  }

  .guide-dots {
    margin-top: 12px;
  }

  .guide-next {
    padding: 8px 11px;
  }
}

  /* Shared navigation bar: one fixed portal header on every viewport. Ink like the home page's
     footer, without a light border (P68); its controls on dark: theme-v3.css. */
  .auth-userbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 3100;
    display: flex;
    min-height: 60px;
    width: 100%;
    max-width: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-radius: 0;
    padding: 8px 18px;
    background: var(--ink, #0e1020);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(14, 16, 32, 0.14);
  }

  .auth-nav-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    color: #ffffff;
  }

  .auth-nav-brand img {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(14, 16, 32, 0.14);
  }

  .auth-nav-brand-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .auth-nav-brand-copy strong {
    font-family: var(--f-display);
      font-weight: 800;
    font-size: 25px;
    line-height: 1;
  }

  .auth-nav-brand-copy small {
    overflow: hidden;
    color: var(--muted, #5e6178);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .auth-action-cluster {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
  }

  .auth-profile-badge {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(14, 16, 32, 0.16);
    border-radius: 12px;
    padding: 4px 6px 4px 5px;
    background: #f1f5f2;
    color: #0e1020;
  }

  .auth-profile-avatar {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    background: #0e1020;
    color: #ffffff;
    font-size: 13px;
  }

  .auth-profile-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .auth-profile-name {
    display: block;
    max-width: 96px;
    overflow: hidden;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .auth-profile-tools {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
  }

  .auth-language-control {
    position: relative;
    display: inline-flex;
  }

  .auth-language-code {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .auth-language-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 142px;
    gap: 2px;
    padding: 5px;
    border: 1px solid rgba(14, 16, 32, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 9px 20px rgba(14, 16, 32, 0.16);
  }

  .auth-language-menu[hidden] {
    display: none;
  }

  .auth-language-menu button {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 5px;
    padding: 7px 8px;
    background: transparent;
    color: #0e1020;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    text-align: left;
  }

  .auth-language-menu button:hover,
  .auth-language-menu button:focus-visible,
  .auth-language-menu button[data-selected] {
    background: rgba(35, 64, 240, 0.1);
    color: #2340f0;
    outline: none;
  }

  .auth-profile-tools .auth-language-button {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
  }

  .auth-profile-tools .auth-language-flag {
    border-color: rgba(14, 16, 32, 0.2);
  }

  .auth-profile-tools .auth-currency-button {
    display: inline-flex;
    width: auto;
    min-width: 42px;
    height: 22px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 0 6px;
    background: transparent;
    color: #5e6178;
    cursor: pointer;
    font: inherit;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .auth-profile-currency {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #5e6178;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
  }

  .auth-profile-currency i {
    color: #2340f0;
    font-size: 10px;
    line-height: 1;
  }

  .auth-profile-tools .auth-language-button:hover,
  .auth-profile-tools .auth-language-button:focus-visible,
  .auth-profile-tools .auth-currency-button:hover,
  .auth-profile-tools .auth-currency-button:focus-visible {
    border-color: #2340f0;
    background: rgba(35, 64, 240, 0.1);
    color: #2340f0;
    outline: none;
  }

  .auth-profile-tools .auth-language-button:hover .auth-language-flag,
  .auth-profile-tools .auth-language-button:focus-visible .auth-language-flag {
    border-color: rgba(14, 16, 32, 0.2);
  }

  .auth-panel-toggle {
    display: grid;
  }

  .auth-mobile-menu-toggle {
    display: none !important;
  }

  .panel-project-control {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 7px 9px;
    background: var(--surface, #ffffff);
    color: var(--ink, #0e1020);
    transition: transform 160ms ease, box-shadow 160ms ease;
  }

  .panel-project-control:hover,
  .panel-project-control:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 16, 32, 0.13);
  }

  .panel-project-link {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 7px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
  }

  .panel-project-link:focus-visible {
    outline: 2px solid var(--cobalt, #2340f0);
    outline-offset: 2px;
    border-radius: 5px;
  }

  .panel-project-link > i {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 7px;
    background: rgba(35, 64, 240, 0.12);
    color: var(--cobalt, #2340f0);
    font-size: 12px;
  }

  .panel-project-link > strong {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .panel-project-private {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(14, 16, 32, 0.16);
    border-radius: 50%;
    padding: 0;
    background: rgba(14, 16, 32, 0.045);
    color: var(--ink, #0e1020);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
  }

  .panel-project-private:hover,
  .panel-project-private:focus-visible {
    border-color: var(--coral, #ff5a4e);
    background: rgba(255, 90, 78, 0.1);
    color: var(--coral, #ff5a4e);
    outline: none;
  }

  body:not(.auth-locked) .shell {
    height: calc(100dvh - 60px);
    margin-top: 60px;
  }

  body:not(.auth-locked) .panel,
  body:not(.auth-locked) .details-shell,
  body:not(.auth-locked) .map-stage,
  body:not(.auth-locked) #map {
    height: 100%;
  }

  @media (max-width: 820px) {
    .panel-visibility-toggle {
      top: auto;
      right: auto;
      bottom: 12px;
      left: 50%;
      width: 72px;
      min-height: 28px;
      border-top: 0;
      border-radius: 0 0 10px 10px;
      padding: 6px 12px;
      transform: translateX(-50%);
    }

    body:not(.auth-locked) {
      height: auto;
      min-height: 0;
    }

    body:not(.auth-locked) .shell {
      height: auto;
      min-height: calc(100svh - 60px);
      margin-top: 60px;
      padding-top: 0 !important;
    }

    body:not(.auth-locked) .map-stage {
      flex: 1 1 auto;
      height: auto;
      min-height: 460px;
    }

    body:not(.auth-locked) #map {
      position: absolute;
      inset: 0;
      width: 100%;
      height: auto;
      min-height: 0;
    }

    .auth-userbar {
      min-height: 60px;
      padding: 7px 12px;
    }

    .auth-nav-brand-copy strong {
      font-size: 23px;
    }

    .auth-nav-brand-copy small {
      font-size: 6px;
    }

    .auth-nav-brand img {
      width: 32px;
      height: 32px;
    }

    .auth-action-cluster {
      gap: 7px;
    }

    .auth-profile-badge {
      gap: 6px;
      padding: 3px 5px 3px 4px;
    }

    .auth-profile-avatar {
      width: 26px;
      height: 26px;
      border-radius: 8px;
      font-size: 12px;
    }

    .auth-profile-name {
      max-width: 72px;
      font-size: 9px;
    }

    .auth-profile-tools {
      gap: 4px;
    }

    .auth-profile-tools .auth-language-button {
      width: 20px;
      height: 20px;
      min-width: 20px;
    }

    .auth-profile-tools .auth-currency-button {
      min-width: 40px;
      height: 20px;
      padding: 0 5px;
    }

    .auth-logout {
      padding: 8px 10px;
    }
  }
