/* Navigation appearance controls shared by public, auth, error and customer pages. */
.trv-theme-toggle {
  appearance:none; display:inline-flex; align-items:center; justify-content:center; gap:9px;
  flex:none; min-height:42px; padding:0 13px; border:1px solid rgba(183,247,119,.22);
  border-radius:10px; background:rgba(183,247,119,.065); color:#d2e7d6;
  font:700 11px/1 "Space Grotesk","DM Sans",sans-serif; letter-spacing:.01em;
  cursor:pointer; white-space:nowrap; transition:background .2s,border-color .2s,color .2s,transform .2s;
}
.trv-theme-toggle:hover { border-color:rgba(183,247,119,.58); background:rgba(183,247,119,.12); color:#f5fff5; transform:translateY(-1px); }
.trv-theme-toggle:focus-visible { outline:2px solid #68bb86; outline-offset:3px; }
.trv-theme-toggle svg { display:block; flex:none; width:17px; height:17px; }
.trv-theme-toggle .trv-theme-moon { display:none; }
html[data-trv-theme="light"] .trv-theme-toggle .trv-theme-sun { display:none; }
html[data-trv-theme="light"] .trv-theme-toggle .trv-theme-moon { display:block; }
html[data-trv-theme="light"] .trv-theme-toggle {
  background:#eff7f0; border-color:#bad8c2; color:#225436;
}
html[data-trv-theme="light"] .trv-theme-toggle:hover {
  background:#deefe1; border-color:#6da57e; color:#0c6732;
}
.mobile-theme-action { display:flex; margin-top:16px; }
.mobile-theme-action .trv-theme-toggle { width:100%; justify-content:flex-start; padding:0 15px; min-height:47px; }
.trv-theme-toggle--workspace { min-height:39px; height:39px; padding:0 12px; border-radius:9px; }
.trv-theme-toggle--standalone { margin-left:auto; }
@media(max-width:800px) {
  .as-header { flex-wrap:wrap; column-gap:12px; }
  .as-header .as-header-meta { order:3; flex:1 1 100%; padding-bottom:12px; }
}
@media(max-width:610px) {
  .er-topbar .er-top-right { order:3; flex:1 1 100%; padding-bottom:12px; }
}
@media(max-width:1450px) and (min-width:1280px) {
  .trv-theme-toggle--nav { width:42px; padding:0; }
  .trv-theme-toggle--nav .trv-theme-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media(max-width:1160px) {
  .trv-theme-toggle--workspace { width:39px; padding:0; }
  .trv-theme-toggle--workspace .trv-theme-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media(max-width:610px) {
  .trv-theme-toggle--standalone { min-height:38px; width:39px; padding:0; }
  .trv-theme-toggle--standalone .trv-theme-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media(prefers-reduced-motion:reduce) {
  .trv-theme-toggle { transition:none; }
  .trv-theme-toggle:hover { transform:none; }
}