/* Compact theme action beside the primary invitation link. */
.nav-theme-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; margin-left:auto; }
.nav-theme-actions [data-nav-cta] { margin-left:0 !important; }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; flex:0 0 36px; width:36px; height:40px; padding:0; border:0; border-radius:50%; background:transparent; color:#a7abb3; cursor:pointer; transition:color .2s ease,background .2s ease; }
.theme-toggle svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.theme-toggle .theme-moon { display:none; }
.theme-toggle [data-theme-label] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.theme-toggle:hover { color:#f4f4f2; background:rgba(255,255,255,.06); }
.theme-toggle:focus-visible { outline:2px solid #6fa6ff; outline-offset:2px; }
html[data-theme="light"] .theme-toggle .theme-sun { display:none; }
html[data-theme="light"] .theme-toggle .theme-moon { display:block; }
html[data-theme="dark"] { color-scheme:dark; }
html[data-theme="light"] { color-scheme:light; background:#f8f9fb; }
html[data-theme="light"] .theme-toggle { background:transparent; color:#657184; }
html[data-theme="light"] .theme-toggle:hover { background:rgba(25,35,49,.06); color:#192331; }
html[data-theme="light"] nav { background:rgba(248,249,251,.94) !important; border-bottom:1px solid #d9e0e9 !important; }
html[data-theme="light"] .mobile-menu { background:rgba(248,249,251,.98) !important; }
/* Keep photographs/video unmodified; only monochrome brand artwork changes ink. */
html[data-theme="light"] nav img[src*="logo-partners-mastermind"],
html[data-theme="light"] .tpm-intake-gate__logo,
html[data-theme="light"] .network-headline-sponsor img,
html[data-theme="light"] .headline-sponsor__logo img,
html[data-theme="light"] .sponsor-logo,
html[data-theme="light"] .featured-team img { filter:invert(1) grayscale(1); }
html[data-theme="light"] .network-logo-card img { filter:none; }
html[data-theme="light"] .sponsor-card,
html[data-theme="light"] .featured-team,
html[data-theme="light"] .headline-sponsor__logo,
html[data-theme="light"] .network-logo-card { background:#fff !important; border:1px solid #dce2eb !important; }
html[data-theme="light"] .headline-sponsor { background:linear-gradient(125deg,#e8f0fd,#f3f7fd) !important; box-shadow:0 16px 50px rgba(24,48,80,.06); }
html[data-theme="light"] .network-headline-sponsor { background:#edf3ff !important; box-shadow:0 0 0 8px #f8f9fb,-18px 0 28px 4px #f8f9fb; }
html[data-theme="light"] a[href*="request-invitation"] { color:#fff !important; background:#175dcc !important; }
html[data-theme="light"] .network-person-photo { box-shadow:0 8px 20px rgba(24,48,80,.12); }
html[data-theme="light"] .speaker-portrait { background:#e6ebf2 !important; }
html[data-theme="light"] .cur-dot { background:#175dcc; }
html[data-theme="light"] .cur-ring { border-color:rgba(23,93,204,.45); }
@media (min-width:1001px) and (max-width:1350px) {
  nav .nav-bar { gap:14px !important; }
  nav [data-navlinks] { gap:15px !important; font-size:11px !important; }
  nav .nav-bar > a:first-child > span { display:none !important; }
}
@media (max-width:600px) {
  .theme-toggle { width:36px; height:38px; padding:0; }
  .theme-toggle [data-theme-label] { display:none; }
  html[data-theme="light"] .network-headline-sponsor { box-shadow:0 0 0 6px #f8f9fb,-12px 0 18px 2px #f8f9fb; }
}
@media (max-width:360px) { nav .nav-event-meta { display:none; } }

html[data-theme="light"] .tpm-intake-gate__step > button:not(.tpm-intake-gate__skip):not(.tpm-intake-gate__back) { color:#fff !important; background:#175dcc !important; }
html[data-theme="light"] .hero-film-jump__icon { background:rgba(255,255,255,.9) !important; border-color:#b8c8de !important; }
html[data-theme="light"] .hero-film-jump__icon::before { border-left-color:#175dcc !important; }
html[data-theme="light"] .speaker-invitation .brand-dark { background:#111721; border-radius:6px; padding:8px 12px; }
html[data-theme="light"] .autohdr-nav-logo,
html[data-theme="light"] .autohdr-hero-brand img { filter:invert(1) grayscale(1); }
