/* Sitewide breadcrumb row; both switches use the shared theme controller. */
.breadcrumb-container.breadcrumb-controls{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  overflow:visible;
}
.breadcrumb-controls .breadcrumb{
  flex:0 1 auto;
  min-height:36px;
  min-width:0!important;
  max-width:100%!important;
  width:max-content!important;
  justify-content:flex-start;
  overflow-x:auto;
  scrollbar-width:none;
}
.breadcrumb-controls .breadcrumb::-webkit-scrollbar{display:none;}
.breadcrumb-theme-toggle{
  flex:0 0 auto;
  min-height:36px;
  margin-left:0;
  padding:5px 18px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  background:#fff;
  color:#333;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.breadcrumb-theme-toggle:hover{color:var(--orange);}
.breadcrumb-theme-toggle:focus-visible{outline:3px solid var(--orange);outline-offset:3px;}
.breadcrumb-theme-toggle .theme-toggle-icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 24px;
  width:24px;
  height:24px;
  border-radius:6px;
  background:var(--orange);
  color:#fff;
  font-size:11px;
}
.breadcrumb-theme-toggle .theme-toggle-track{
  position:relative;
  flex:0 0 42px;
  width:42px;
  height:24px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:999px;
  background:rgba(0,0,0,.14);
  transition:background .2s ease,border-color .2s ease;
}
.breadcrumb-theme-toggle .theme-toggle-thumb{
  position:absolute;
  top:3px;
  left:3px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.28);
  transition:transform .2s ease;
}
.breadcrumb-theme-toggle[aria-pressed="true"] .theme-toggle-track{
  background:rgba(255,106,0,.36);
  border-color:rgba(255,106,0,.5);
}
.breadcrumb-theme-toggle[aria-pressed="true"] .theme-toggle-thumb{transform:translateX(18px);}
.breadcrumb-theme-toggle .theme-toggle-text{min-width:76px;font-size:13px;text-align:left;white-space:nowrap;}
html[data-theme="dark"] .breadcrumb-theme-toggle{
  color:#f4f7fb;
  background:#121922;
  border-color:rgba(255,255,255,.12);
  box-shadow:0 12px 30px rgba(0,0,0,.32);
}
html[data-theme="dark"] .breadcrumb-theme-toggle:hover{color:var(--orange);}
@media(max-width:600px){
  .breadcrumb-container.breadcrumb-controls{gap:10px;}
  .breadcrumb-theme-toggle{padding:5px 14px;}
  .breadcrumb-theme-toggle .theme-toggle-icon{display:none;}
}
