/* Structura comună: pagină, antet, conținut și containere. */
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 25px 17px 14px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
  font:
    800 18px Manrope,
    sans-serif;
  letter-spacing: -0.8px;
}
.sidebar-caption {
  margin: 42px 10px 13px;
  color: #9ba197;
  font-size: calc((9px) * var(--mobile-type-scale, 1));
  font-weight: 700;
  letter-spacing: 1.3px;
}
.side-nav {
  display: grid;
  gap: 5px;
}
.nav-link {
  height: 43px;
  width: 100%;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #70786f;
  text-align: left;
  font-size: calc((12px) * var(--mobile-type-scale, 1));
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-link:hover {
  background: #f5f7f3;
  color: var(--ink);
}
.nav-link.is-active {
  background: #edf3e9;
  color: var(--green-dark);
  font-weight: 700;
}
.nav-icon {
  width: 20px;
  text-align: center;
  font-size: calc((17px) * var(--mobile-type-scale, 1));
}
.sidebar-help {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 15px;
  padding: 17px 14px 14px;
  border: 1px solid #e9eee4;
  border-radius: 10px;
  background: #f8faf6;
}
.help-orbit {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e7eedf;
  color: #688451;
  font-size: calc((14px) * var(--mobile-type-scale, 1));
}
.sidebar-help strong {
  font:
    700 11px Manrope,
    sans-serif;
}
.sidebar-help p {
  max-width: 165px;
  margin: 6px 0 12px;
  color: #858c82;
  font-size: calc((9px) * var(--mobile-type-scale, 1));
  line-height: 1.6;
}
.sidebar-help a {
  color: var(--green);
  font-size: calc((9px) * var(--mobile-type-scale, 1));
  font-weight: 700;
  text-decoration: none;
}
.sidebar-help a span {
  margin-left: 5px;
}
.profile-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 12px 2px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.profile-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e9d7bf;
  color: #755d44;
  font-size: calc((9px) * var(--mobile-type-scale, 1));
  font-weight: 700;
}
.profile-copy {
  display: grid;
  gap: 3px;
}
.profile-copy strong {
  font-size: calc((10px) * var(--mobile-type-scale, 1));
}
.profile-copy small {
  color: #92988e;
  font-size: calc((8px) * var(--mobile-type-scale, 1));
}
.profile-more {
  margin-left: auto;
  color: #9da39a;
  font-weight: 700;
}
.main-content {
  min-height: 100vh;
  margin-left: 244px;
  padding: 0 42px;
  max-width: 1640px;
}
.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9aa197;
  font-size: calc((10px) * var(--mobile-type-scale, 1));
}
.breadcrumb b {
  color: #d3d8d0;
  font-weight: 400;
}
.breadcrumb strong {
  color: #59645a;
  font-weight: 600;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.secure-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #687667;
  font-size: calc((9px) * var(--mobile-type-scale, 1));
}
.secure-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #75a168;
  box-shadow: 0 0 0 3px #eaf2e8;
}
.icon-button {
  position: relative;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #677168;
  font-size: calc((17px) * var(--mobile-type-scale, 1));
  cursor: pointer;
}
.icon-button:hover {
  background: #eef2ec;
}
.notification-button i {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 5px;
  height: 5px;
  border: 1px solid white;
  border-radius: 50%;
  background: #d37964;
}
.view {
  display: none;
}
.view.is-visible {
  display: block;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #71806d;
  font-size: calc((8px) * var(--mobile-type-scale, 1));
  font-weight: 700;
  letter-spacing: 1.3px;
}
.eyebrow span {
  width: 18px;
  height: 1px;
  background: #8ea57c;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 39px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  font-size: calc((10px) * var(--mobile-type-scale, 1));
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 5px 12px #426d4c1c;
}
.button-primary:hover {
  background: var(--green-dark);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 29px;
  padding: 0 10px;
  border: 1px solid #e9ece6;
  border-radius: 20px;
  background: #fff;
  color: #737c72;
  font-size: calc((9px) * var(--mobile-type-scale, 1));
  cursor: pointer;
  transition: all 0.16s;
}
.chip span {
  font-size: calc((12px) * var(--mobile-type-scale, 1));
}
.chip:hover {
  border-color: #bfd1b6;
  color: #557249;
}
.chip.is-selected {
  border-color: #dce8d5;
  background: #edf3e9;
  color: #496b43;
  font-weight: 700;
}
.page-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0 20px;
  color: #a0a69e;
  font-size: calc((8px) * var(--mobile-type-scale, 1));
}
.page-foot span:first-child {
  margin-right: auto;
}
.page-foot a {
  text-decoration: none;
}
.role-view {
  padding: 35px 0;
}
.role-view.is-visible {
  display: block;
}

/* Shared shell visibility also applies when public-page assets are not loaded. */
.session-loading .start-header,
.session-loading .app-shell {
  visibility: hidden;
}
html:not([data-public-route="info"]) .session-loading[data-server-public] .start-header,
html:not([data-public-route="info"]) .session-loading[data-server-public] .app-shell {
  visibility: visible;
}
html[data-public-route="info"] [data-server-hero] {
  display: none;
}
.start-header,
.start-footer-link {
  display: none;
}

.brand-custom-logo img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 190px;
  object-fit: contain;
}
