/* Evo shell — inner pages (overrides site.css when data-evo-shell is set) */

body[data-evo-shell].site-page,
body[data-evo-shell].page-docs,
body[data-evo-shell].page-account,
body[data-evo-shell].page-community,
body[data-evo-shell] {
  background: #0d0d0d !important;
  color: #f4f2ee !important;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  min-height: 100vh;
}

body[data-evo-shell].site-page,
body[data-evo-shell].page-docs,
body[data-evo-shell].page-community,
body[data-evo-shell].page-requirements,
body[data-evo-shell]:not(.page-account) {
  padding-top: 96px !important;
}

body[data-evo-shell] .wrap > nav.nav,
body[data-evo-shell] .docs-app > nav.nav,
body[data-evo-shell] body > nav.nav {
  display: none !important;
}

body[data-evo-shell] .wrap,
body[data-evo-shell] .docs-app {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  padding-bottom: 48px;
}

body[data-evo-shell] .page-header,
body[data-evo-shell] .comm-head {
  text-align: left !important;
  max-width: 44rem;
  margin: 0 0 28px !important;
  padding: 8px 0 4px !important;
}

body[data-evo-shell] .page-header h1,
body[data-evo-shell] .comm-head h1 {
  margin: 0 !important;
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
  color: #f4f2ee !important;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body[data-evo-shell] .page-header .tagline,
body[data-evo-shell] .page-header p,
body[data-evo-shell] .comm-head p {
  margin: 14px 0 0 !important;
  color: rgba(244, 242, 238, 0.72) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body[data-evo-shell] .forum-post {
  background: rgba(21, 21, 21, 0.88) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}
body[data-evo-shell] .forum-bubble {
  color: rgba(244, 242, 238, 0.88) !important;
}
body[data-evo-shell] .forum-post-name {
  color: #f4f2ee !important;
}
body[data-evo-shell] .forum-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body[data-evo-shell] .panel,
body[data-evo-shell] section.panel,
body[data-evo-shell] .comm-article,
body[data-evo-shell] .comm-list > *,
body[data-evo-shell] .card,
body[data-evo-shell] .feature-card,
body[data-evo-shell] .plan-card,
body[data-evo-shell] .gb-card {
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  padding: 28px 28px 30px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body[data-evo-shell] .panel + .panel,
body[data-evo-shell] section.panel + section.panel {
  margin-top: 16px;
}

body[data-evo-shell] .panel h2,
body[data-evo-shell] .panel h3,
body[data-evo-shell] .comm-article h2,
body[data-evo-shell] .comm-list h2,
body[data-evo-shell] .comm-list h3 {
  color: #f4f2ee !important;
  letter-spacing: -0.02em;
}

body[data-evo-shell] .panel p,
body[data-evo-shell] .panel li,
body[data-evo-shell] .note,
body[data-evo-shell] .comm-body,
body[data-evo-shell] .comm-meta,
body[data-evo-shell] .comm-empty,
body[data-evo-shell] .comm-note {
  color: rgba(244, 242, 238, 0.72) !important;
}

body[data-evo-shell] .comm-list {
  display: grid;
  gap: 12px;
}

body[data-evo-shell] .comm-list a {
  color: #f4f2ee !important;
  text-decoration: none;
}

body[data-evo-shell] .comm-list a:hover {
  color: #ebe8e0 !important;
}

body[data-evo-shell] .comm-meta {
  font-size: 13px !important;
}

body[data-evo-shell] .comm-composer,
body[data-evo-shell] .thread-form {
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  padding: 20px !important;
}

body[data-evo-shell] .faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  padding: 14px 0 !important;
}

body[data-evo-shell] .faq-item summary {
  color: #f4f2ee !important;
  font-weight: 600 !important;
  cursor: pointer;
  list-style: none;
}

body[data-evo-shell] .faq-item summary::-webkit-details-marker {
  display: none;
}

body[data-evo-shell] .faq-item p {
  color: rgba(244, 242, 238, 0.72) !important;
  margin: 10px 0 0 !important;
}

body[data-evo-shell] .data-table,
body[data-evo-shell] table {
  color: #f4f2ee !important;
  width: 100%;
  border-collapse: collapse;
}

body[data-evo-shell] .data-table th {
  color: rgba(244, 242, 238, 0.72) !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-evo-shell] .data-table td,
body[data-evo-shell] .data-table th {
  border-color: rgba(255, 255, 255, 0.08) !important;
  padding: 12px 10px;
}

body[data-evo-shell] .btn,
body[data-evo-shell] .btn-primary,
body[data-evo-shell] .btn-violet,
body[data-evo-shell] button.btn,
body[data-evo-shell] a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  border-radius: 999px !important;
  position: relative !important;
  isolation: isolate !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #f4f2ee !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0.85rem 1.35rem !important;
  text-align: center !important;
  backdrop-filter: blur(18px) saturate(1.85) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.85) brightness(1.08) !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease !important;
}
body[data-evo-shell] .btn:hover,
body[data-evo-shell] .btn-primary:hover,
body[data-evo-shell] button.btn:hover,
body[data-evo-shell] a.btn:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.22) !important;
}
body[data-evo-shell] .btn:active,
body[data-evo-shell] button.btn:active,
body[data-evo-shell] a.btn:active {
  transform: translateY(0) scale(0.98) !important;
}

body[data-evo-shell] .btn svg,
body[data-evo-shell] a.btn svg {
  flex-shrink: 0;
  display: block;
}

body[data-evo-shell] .btn-ghost,
body[data-evo-shell] .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f4f2ee !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

/* Discord CTAs — keep brand blue; never cream */
body[data-evo-shell] .btn-discord,
body[data-evo-shell] #btn-discord-oauth-login,
body[data-evo-shell] #btn-discord-oauth-register {
  background: #5865f2 !important;
  color: #fff !important;
  border: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35) !important;
}
body[data-evo-shell] .btn-discord svg,
body[data-evo-shell] #btn-discord-oauth-login svg,
body[data-evo-shell] #btn-discord-oauth-register svg {
  fill: currentColor;
  color: #fff;
}

/* Evo lang control — isolate from legacy site.css .lang-trigger */
body[data-evo-shell] header.nav .lang {
  position: relative;
  z-index: 80;
}
body[data-evo-shell] header.nav .lang-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  color: inherit !important;
}
body[data-evo-shell] header.nav .lang-trigger svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}
body[data-evo-shell] header.nav .lang-panel {
  z-index: 90;
  background: rgba(20, 19, 17, 0.92) !important;
}
body[data-evo-shell] header.nav .lang-panel button {
  background: transparent !important;
  color: rgba(244, 242, 238, 0.72) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  padding: 11px 16px !important;
  line-height: 1 !important;
  justify-content: space-between !important;
}
body[data-evo-shell] header.nav .lang-panel button.active {
  color: #101010 !important;
  background: #f4f2ee !important;
}

body[data-evo-shell] input,
body[data-evo-shell] textarea,
body[data-evo-shell] select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f4f2ee !important;
  border-radius: 14px !important;
}

body[data-evo-shell] a:not(.pill a):not(.nav-item):not(.btn):not(.mnav-cta) {
  color: #ebe8e0;
}

body[data-evo-shell] .docs-app {
  padding-top: 8px;
}

body[data-evo-shell] .docs-side,
body[data-evo-shell] .gb-side,
body[data-evo-shell] aside.toc {
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  padding: 18px !important;
}

body[data-evo-shell] .docs-side a,
body[data-evo-shell] .gb-side a,
body[data-evo-shell] aside.toc a {
  color: rgba(244, 242, 238, 0.72) !important;
}

body[data-evo-shell] .docs-side a:hover,
body[data-evo-shell] .gb-side a:hover,
body[data-evo-shell] aside.toc a:hover,
body[data-evo-shell] .docs-side a[aria-current="page"],
body[data-evo-shell] .gb-side a.is-on {
  color: #f4f2ee !important;
}

body[data-evo-shell].page-account:has(#guest:not([hidden])) header.nav,
body[data-evo-shell].page-account:has(#guest:not([hidden])) footer.evo-foot {
  display: none !important;
}

body[data-evo-shell].page-account:has(#guest:not([hidden])) {
  padding-top: 0 !important;
}

footer.evo-foot {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  padding: 60px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(244, 242, 238, 0.72);
}

footer.evo-foot .foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

footer.evo-foot h3.mono,
footer.evo-foot h5.mono {
  margin: 0 0 18px;
  color: rgba(244, 242, 238, 0.72);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

footer.evo-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

footer.evo-foot[data-foot="map"] .foot-grid {
  align-items: start;
}

footer.evo-foot[data-foot="map"] .foot-grid > div:not(.foot-brand) {
  min-width: 0;
}

footer.evo-foot a {
  color: rgba(244, 242, 238, 0.72) !important;
  text-decoration: none;
  font-size: 14px;
}

footer.evo-foot a:hover {
  color: #f4f2ee !important;
}

footer.evo-foot .foot-brand .brand {
  width: 40px;
  height: 40px;
  color: #f4f2ee;
}

footer.evo-foot .foot-brand p {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(244, 242, 238, 0.72);
  max-width: 28ch;
}

footer.evo-foot .foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  color: rgba(244, 242, 238, 0.72);
}

body[data-evo-shell] .ad-strip {
  border-radius: 16px !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 900px) {
  footer.evo-foot .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  body[data-evo-shell].site-page,
  body[data-evo-shell].page-docs,
  body[data-evo-shell].page-community {
    padding-top: 84px !important;
  }
}

/* Cloud / themes / friends catalog */
body[data-evo-shell] .cloud-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px 18px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}

body[data-evo-shell] .cloud-toolbar label {
  color: rgba(244, 242, 238, 0.72) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-evo-shell] .cloud-toolbar input,
body[data-evo-shell] .cloud-toolbar select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f4f2ee !important;
  border-radius: 12px !important;
  min-width: 12rem;
}

body[data-evo-shell] .cloud-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

body[data-evo-shell] .cloud-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px !important;
  margin: 0 !important;
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 20px !important;
}

body[data-evo-shell] .cloud-item-name,
body[data-evo-shell] .cloud-item-name a {
  color: #f4f2ee !important;
  font-weight: 600 !important;
  text-decoration: none;
}

body[data-evo-shell] .cloud-item-desc {
  color: rgba(244, 242, 238, 0.72) !important;
  margin-top: 6px;
  font-size: 14px;
}

body[data-evo-shell] .cloud-item-meta {
  color: rgba(244, 242, 238, 0.72) !important;
}

body[data-evo-shell] .cloud-badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ebe8e0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
}

body[data-evo-shell] .cloud-stars .is-off {
  color: rgba(244, 242, 238, 0.72) !important;
}

body[data-evo-shell] .cloud-review {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body[data-evo-shell] .cloud-review-name,
body[data-evo-shell] .cloud-review-text {
  color: rgba(244, 242, 238, 0.7) !important;
}

body[data-evo-shell] .cloud-item-preview img,
body[data-evo-shell] .cloud-detail-preview img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-evo-shell] #cloud-view,
body[data-evo-shell] #themes-view,
body[data-evo-shell] #fr-view {
  min-height: 120px;
}

body[data-evo-shell] .comm-sky-link a {
  color: rgba(244, 242, 238, 0.72) !important;
  font-size: 13px;
}

@media (max-width: 640px) {
  footer.evo-foot .foot-grid {
    grid-template-columns: 1fr;
  }
  body[data-evo-shell] .wrap,
  body[data-evo-shell] .docs-app {
    width: min(1240px, 100% - 28px);
  }
  body[data-evo-shell] .cloud-item {
    flex-direction: column;
  }
}

/* —— Account dashboard (flat Operate surface) —— */
body[data-evo-shell].page-account:has(#user:not([hidden])) {
  padding-top: 96px !important;
}

body[data-evo-shell].page-account:has(#user:not([hidden])) .wrap.wrap-wide {
  width: min(1040px, 100% - 48px);
  margin-inline: auto;
}

body[data-evo-shell] #user.dashboard.dash-flat {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 4px 0 28px !important;
  grid-template-columns: none !important;
}

/* [hidden] loses to display:!important — force hide */
body[data-evo-shell] #user[hidden],
body[data-evo-shell] #user.dashboard.dash-flat[hidden],
body[data-evo-shell] #guest[hidden] {
  display: none !important;
}

body[data-evo-shell] #user.dash-flat .dash-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}

body[data-evo-shell] #user.dash-flat .dash-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

body[data-evo-shell] #user.dash-flat .dash-profile-copy {
  flex: 1;
  min-width: 0;
}

body[data-evo-shell] #user.dash-flat .dash-title {
  margin: 0 !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  color: #f4f2ee !important;
  grid-column: auto !important;
  text-align: left !important;
}

body[data-evo-shell] #user.dash-flat .dash-profile-mail {
  margin: 0.15rem 0 0;
  color: rgba(244, 242, 238, 0.72) !important;
  font-size: 0.82rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-evo-shell] #user.dash-flat .dash-profile-mail + .dash-profile-mail,
body[data-evo-shell] #user.dash-flat #header-discord-name,
body[data-evo-shell] #user.dash-flat #header-discord-sub {
  display: none !important;
}

body[data-evo-shell] #user.dash-flat .dash-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

body[data-evo-shell] #user.dash-flat .btn-discord {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5865f2 !important;
  color: #fff !important;
  border: 0 !important;
  padding: 0.55rem 1rem !important;
  width: auto !important;
}

body[data-evo-shell] #user.dash-flat .btn-discord:hover {
  filter: brightness(1.06);
}

body[data-evo-shell] #user.dash-flat .account-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-evo-shell] #user.dash-flat .account-badge {
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 242, 238, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-evo-shell] #user.dash-flat .account-badge.ok {
  background: rgba(126, 200, 179, 0.14);
  color: #7ec8b3;
  border-color: rgba(126, 200, 179, 0.28);
}

body[data-evo-shell] #user.dash-flat .account-badge.warn {
  background: rgba(252, 211, 77, 0.12);
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.28);
}

body[data-evo-shell] #user.dash-flat .dash-tabs {
  grid-column: auto !important;
  grid-row: auto !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  align-self: flex-start;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  padding: 4px !important;
  border-radius: 999px !important;
  background: rgba(58, 54, 45, 0.42) !important;
  border: 0 !important;
  height: auto !important;
  position: relative;
  overflow-x: auto;
}

body[data-evo-shell] #user.dash-flat .dash-tabs .tab {
  flex: 0 0 auto;
  text-align: center !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  color: rgba(244, 242, 238, 0.72) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

body[data-evo-shell] #user.dash-flat .dash-tabs .tab.active {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

body[data-evo-shell] #user.dash-flat .dash-tabs .tab.active::after {
  display: none !important;
}

body[data-evo-shell] #user.dash-flat .user-tab-panel {
  grid-column: auto !important;
}

body[data-evo-shell] #user.dash-flat .dash-grid-flat {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body[data-evo-shell] #user.dash-flat #panel-user-overview .dash-grid-flat > #card-cloud-configs {
  grid-column: 1 / -1;
}

body[data-evo-shell] #user.dash-flat .dash-card {
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 18px !important;
  padding: 18px 18px 16px !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body[data-evo-shell] #user.dash-flat .dash-card h2 {
  margin: 0 0 0.35rem !important;
  font-size: 0.98rem !important;
  letter-spacing: -0.02em;
  color: #f4f2ee !important;
  text-align: left !important;
}

body[data-evo-shell] #user.dash-flat .dash-card .note,
body[data-evo-shell] #user.dash-flat .dash-card p,
body[data-evo-shell] #user.dash-flat .account-meta {
  text-align: left !important;
  color: rgba(244, 242, 238, 0.72) !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  margin: 0;
}

body[data-evo-shell] #user.dash-flat .dash-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 0.55rem;
}

body[data-evo-shell] #user.dash-flat #btn-go-download {
  display: none !important;
}

body[data-evo-shell] #user.dash-flat .dash-avatar,
body[data-evo-shell] #user.dash-flat .dash-avatar-ph {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
}

body[data-evo-shell] #user.dash-flat .dash-avatar-ph {
  background: rgba(255, 255, 255, 0.08);
}

body[data-evo-shell] #user.dash-flat .account-steps {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body[data-evo-shell] #user.dash-flat .account-steps li {
  color: rgba(244, 242, 238, 0.72);
  font-size: 0.88rem;
}

body[data-evo-shell] #user.dash-flat .account-steps li.done {
  color: #7ec8b3;
}

body[data-evo-shell] #user.dash-flat .rgui-shell {
  padding: 18px !important;
}

/* Lang control on inner pages — keep globe icon visible */
body[data-evo-shell] header.nav .lang-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

body[data-evo-shell] header.nav .lang-trigger svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  opacity: 0.9;
  stroke: currentColor;
}

body[data-evo-shell] header.nav .lang-trigger .label {
  display: inline !important;
}

@media (max-width: 720px) {
  body[data-evo-shell] #user.dash-flat .dash-grid-flat {
    grid-template-columns: 1fr;
  }
  body[data-evo-shell] #user.dash-flat .dash-profile {
    flex-wrap: wrap;
  }
  body[data-evo-shell] #user.dash-flat .dash-top-actions {
    margin-left: 0;
    width: 100%;
  }
  body[data-evo-shell] #user.dash-flat .dash-tabs {
    width: 100%;
  }
}

/* site-wide 15% shrink */
html { zoom: 0.85; }

/* Logged-in nav: circular avatar chip in place of the Sign in pill */
.nav-avatar {
  width: 24px; height: 24px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, #8da57f, #5f7a58); color: #0b0b0a;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-avatar--initials { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }
.nav-avatar-btn { gap: 8px; display: inline-flex; align-items: center; }
.nav-avatar-btn .label { max-width: 8.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
@media (max-width: 860px) { .nav-avatar-btn .label { display: none; } }
