/* kept: visibility for html:not([data-js="ready"]) #main-tab-content. */
html:not([data-js="ready"]) #main-tab-content { visibility: hidden; }
/* kept: border-radius, padding, background for .shell-stats. */
.shell-stats { border-radius: 999px; padding: .4rem .75rem; background: var(--nexa-bg-secondary, #eee); }
/* kept: template lacks stacking above the sidebar for persistent notices. */
#toast-container { z-index: 1100; }
/* kept: margin-left for .nexa-app-shell. */
.nexa-app-shell { margin-left: 0; }
/* kept: margin-left, padding for .nexa-app-shell > .nexa-main. */
.nexa-app-shell > .nexa-main { margin-left: var(--sidebar-width); padding: 0; }
/* kept: padding for #main-content. */
#main-content { padding: 24px; }
@media (max-width: 992px) {
  /* kept: template lacks responsive margin-left for .nexa-app-shell > .nexa-main. */
  .nexa-app-shell > .nexa-main { margin-left: 0; }
}
/* kept: border-radius, padding, background for .nexa-topbar a[href="/setup#results"]. */
.nexa-topbar a[href="/setup#results"] { border-radius: 999px; padding: .4rem .75rem; background: var(--surface-2); }
/* kept: background, color for .nav-item-nexa[aria-selected="true"]. */
.nav-item-nexa[aria-selected="true"] { background: var(--surface-2); color: var(--primary); }

/* kept: outline, outline-offset for .match-row[data-seen="false"]. */
.match-row[data-seen="false"] { outline: 2px solid var(--primary); outline-offset: -2px; }
/* kept: width, height for .chart-wrap > div. */
.chart-wrap > div { width: 100%; height: 100%; }
/* kept: background, color, border-color for .mcp-code. */
.mcp-code { background: var(--surface-2); color: var(--text); border-color: var(--border); }
/* kept: display, align-items, gap for #tab_api .input-group-nexa. */
#tab_api .input-group-nexa { display: flex; align-items: center; gap: .5rem; }
/* kept: flex, min-width for #tab_api .input-group-nexa .form-control-nexa. */
#tab_api .input-group-nexa .form-control-nexa { flex: 1; min-width: 0; }
/* kept: the shell and sidebar extend to the bottom of long pages. */
.nexa-app-shell { position: relative; min-height: 100vh; }
@media (min-width: 993px) {
  /* kept: desktop sidebar follows the full shell height. */
  .nexa-sidebar { position: absolute; }
}
/* kept: mobile account details are shown in the dropdown. */
.topbar-mobile { display: none; }
@media (max-width: 600px) {
  /* kept: secondary top bar content moves into the account menu on narrow screens. */
  .topbar-secondary, .topbar-email { display: none; }
  /* kept: mobile account details remain reachable. */
  .topbar-mobile { display: block; }
  /* kept: the sidebar button remains visible in light mode. */
  .nexa-topbar .icon-btn { color: var(--text); }
}

/* kept: template links and skip link. */
body:has(.auth-shell) a:not(.btn-nexa),body:has(.nexa-app-shell) a:not(.btn-nexa):not(.ct-primary__btn):not(.nav-item-nexa){color:var(--link);text-decoration:none}
body:has(.auth-shell) a:not(.btn-nexa):hover,body:has(.nexa-app-shell) a:not(.btn-nexa):not(.ct-primary__btn):not(.nav-item-nexa):hover{text-decoration:underline}
.skip-link{position:absolute;left:-9999px;top:0;z-index:2000;background:var(--surface);padding:10px 16px}.skip-link:focus{left:0}
/* kept: nav links. */
.nav-item-nexa{text-decoration:none}
/* kept: selected link accent. */
.nav-item-nexa[aria-selected="true"]{color:var(--primary)}
/* kept: dropdown button reset. */
.dropdown-nexa button.dropdown-item-nexa{width:100%;border:0;background:transparent;text-align:left}
/* kept: account address truncation. */
.dropdown-nexa .dropdown-header-nexa{text-transform:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* kept: statistics pill on one line. */
.topbar-mobile a[href="/setup#results"]{display:block;white-space:nowrap;font-size:.75rem}
/* kept: pricing feature lists. */
.nexa-app-shell .ct-price__list ul{padding:0;list-style:none}
/* kept: pricing ticks. */
.nexa-app-shell .ct-price__list li i{color:var(--primary)}
/* kept: pricing card surface. */
.nexa-app-shell .ct-price__item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}
/* kept: selected plan surface. */
.nexa-app-shell .ct-price__item.active{background:var(--surface-2)}
