/* Theme controls retain the Patekeo orange and navy in both appearances. */
:root{color-scheme:light}
.theme-toggle{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:4px;border:0;background:transparent;border-radius:24px;color:#142B40;cursor:pointer}
.theme-toggle-track{position:relative;display:flex;align-items:center;justify-content:space-between;width:60px;height:32px;padding:6px;border:1px solid #bac6ce;border-radius:20px;background:#e9eef2}
.theme-toggle svg{position:relative;z-index:2;width:18px;height:18px}
.theme-toggle-thumb{position:absolute;z-index:1;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #142b4026;transition:transform .18s ease}
.theme-toggle[aria-checked=true] .theme-toggle-track{background:#142B40;border-color:#637789;color:#fff}
.theme-toggle[aria-checked=true] .theme-toggle-thumb{transform:translateX(28px);background:#F47820}
.theme-toggle:focus-visible{outline:3px solid #F47820;outline-offset:3px}
.header-inner{position:relative;gap:22px}.header-inner nav{margin-left:auto}
@media(max-width:1150px) and (min-width:761px){.header-inner{flex-wrap:wrap;gap:12px;padding:18px 0}.header-inner nav{order:3;width:100%;justify-content:flex-start;margin-left:0}.header-inner>.theme-toggle{margin-left:auto}}
@media(max-width:760px){.header-inner{position:relative}.header-inner>.theme-toggle{position:absolute;right:0;top:17px}.patekeo-header .brand{max-width:calc(100% - 78px)}.header-inner nav{margin-left:0}.document-header{flex-wrap:wrap}.document-header>.theme-toggle{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.theme-toggle-thumb{transition:none}}
@media print{.theme-toggle{display:none!important}}
/* Screen-only overrides keep exported/printed plans on their light paper. */
@media screen{
html[data-theme=dark]{color-scheme:dark;--paper:#101e2b;--ink:#edf3f7;--muted:#afbdc9;--line:#3b5062;--blue:#9ec9eb;--lime:#34452d;--surface:#192e40;--raised:#223b50}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.patekeo-header,.document-header){background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.brand,.footer-identity) img[src="/logo-vector.svg"]{content:url('/logo-vector-dark.svg')}
html[data-theme=dark] :is(.card,.venue-card,.searchbox,.discovery-search,.discovery-map,.info-grid>div,.info-card,.organizer-panel,.planner,.plan-invitation,.social-panel,.social-card,.social-empty,.newsrow,.eventdate,dialog,.dialog-toolbar,.document-body){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.newsletter,.future-tile,.coming-hero,.residenthero,.resident-banner,.social-launch,.social-notice,.social-note,.social-avatar,.social-meta span,.plan-pack,.plan-facts>div,.plan-notes article,.shared-route .stop-note,.info-callout,#shared-edit,.acoplate-panel,.venue-contact,.venue-editorial){background:var(--raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.info-page,.legal-page,.shared-organizer,.planner,.plan-invitation,.social-page){color:var(--ink)}
html[data-theme=dark] .social-page{--navy:#edf3f7}
html[data-theme=dark] :is(.info-page,.legal-page) :is(p,li,.page-lead){color:#c2ced8}
html[data-theme=dark] :is(.desc,.cardmeta,.venue-description,.result-count,.intro p,.introaside,.future-tile p,.coming-note,.newsletter-note,.plan-access-note,.plan-notes time,.board-heading>span,.social-intro,.social-excerpt,.social-muted,.social-rules p,.social-form small,.social-message small,.venue-photo figcaption,.social-widget-list small){color:var(--muted)}
html[data-theme=dark] :is(h1,h2,h3,h4,.selection-eyebrow,.venue-card h3,.info-page strong,.legal-page strong,.newsletter label,.newsletter legend,.field,.island-label){color:var(--ink)}
html[data-theme=dark] :is(.eyebrow,.info-kicker,.document-kicker,.social-route time,.social-tabs button[aria-pressed=true]){color:#ffad70}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background-color:var(--paper);color:var(--ink);border-color:#52697b}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a9bac8;opacity:1}
html[data-theme=dark] #searchform.discovery-search :is(select,#island,#zone){background-color:var(--raised);color:var(--ink);border-color:var(--line);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23edf3f7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme=dark] :is(.secondary,.business,.filterbutton,.category,.interest-chip,.social-icon-link,.venue-contact .venue-contact-social .social-icon-link,.close,.add-plan){background:var(--raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.secondary:hover,.category-chips a:hover,.add-plan:hover,.social-icon-link:hover){background:#344d62;color:#fff;border-color:#F47820}
html[data-theme=dark] :is(.category-chips a,.tags .tag,.tag,.venue-tags span,.detailfacts>div){background:var(--raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.primary,.searchbox button,.category-chips a[aria-current=true]){background:#F47820;color:#fff;border-color:#F47820}
html[data-theme=dark] :is(.nav-plan,.darkbutton,.plan-ticket,.social-card-top,.site-footer,.toast){background:#142B40;color:#fff;border-color:var(--line)}
html[data-theme=dark] .header-inner .nav-plan{background:#29475f;color:#fff;box-shadow:inset 0 0 0 1px #F47820,3px 3px 0 #F47820}
html[data-theme=dark] .header-inner .nav-plan:hover{background:#345871;color:#fff}
html[data-theme=dark] .header-inner .nav-plan:focus-visible{outline:2px solid #fff;outline-offset:5px}
html[data-theme=dark] :is(.plan-ticket,.social-card-top,.site-footer) :is(h1,h2,h3,p,a,span){color:inherit}
html[data-theme=dark] .join-team{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .join-team p{color:var(--muted)}
html[data-theme=dark] .empty{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .empty p{color:var(--muted);font-family:Roboto,Arial,sans-serif;font-weight:400}
html[data-theme=dark] .title-dot,html[data-theme=dark] .social-hero h1 span{color:#F47820}
html[data-theme=dark] .social-card:nth-child(n) .social-card-top{background:#29475f;color:#fff}
html[data-theme=dark] :is(.open-badge,.venue-open-state.is-open,.plan-add-feedback,.newsletter-result,.plan-members .rsvp-yes){background:#193e32;color:#a9ebc5;border-color:#3f765c}
html[data-theme=dark] :is(.venue-open-state.is-closed,.newsletter-result[data-error=true]){background:#462b30;color:#ffb8b0;border-color:#84565c}
html[data-theme=dark] :is(.social-error,.social-danger){color:#ffb8b0}
html[data-theme=dark] .plan-members .rsvp-maybe{background:#493b26;color:#ffdaa0}
html[data-theme=dark] :is(.pill,.eventdate,.heart){background:var(--surface);color:var(--ink)}
html[data-theme=dark] :is(.social-card-bottom,.social-tabs,.social-route li,.social-member,.social-message,.social-request,.social-stop-edit,.social-rules,.detailfacts,.cardbottom,.venue-contact,.plan-members li){border-color:var(--line)}
html[data-theme=dark] :is(button,a,input,select,textarea):focus-visible{outline-color:#F47820}
html[data-theme=dark] dialog::backdrop{background:#030c16bd}
html[data-theme=dark] .theme-toggle{background:transparent;color:#fff}
html[data-theme=dark] :is(.venue-hours,.patekeo-note,.venue-acoplate,.plan-stop,.plan-empty,.extra-filters .discovery-controls,.social-page #social-feedback:not(:empty)){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.venue-card .card-note,.venue-card .cardmeta,.editorial-preview,.venue-contact-address p,.hours-day.is-today dt,.hours-period,.patekeo-note p,.venue-acoplate p){color:#d0dce5}
html[data-theme=dark] :is(.hours-zone,.hours-day.is-today,.venue-badges span,.venue-contact .venue-share,.selection-stamp,.soon-badge){background:var(--raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.hours-closed,.hours-variable,.hours-special,.venue-contact-address>span,.venue-contact-social>span,.map-consent,.branch-label,.venue-acoplate .acoplate-detail){color:var(--muted)}
html[data-theme=dark] :is(.social-page .secondary,.venue-contact a.secondary){background:var(--raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .planner{background:transparent}
html[data-theme=dark] .plan-stop{background:var(--surface);border-color:#617b90}
html[data-theme=dark] .plan-stop p{color:var(--muted)}
html[data-theme=dark] .plan-stop-actions button{background:var(--raised);color:#fff;border-color:#617b90}
html[data-theme=dark] .plan-stop-actions button:hover:not(:disabled){background:#345871;border-color:#F47820}
html[data-theme=dark] .plan-stop-actions button:disabled{background:var(--paper);color:#8294a3;border-color:var(--line);opacity:.65;cursor:not-allowed}
html[data-theme=dark] .agenda-filters{background:var(--surface);border-color:#52697b;color:var(--ink)}
html[data-theme=dark] .agenda-filters label{color:var(--muted)}
html[data-theme=dark] .agenda-filters>button{background:#F47820;color:#fff;border-color:#F47820}
html[data-theme=dark] .agenda-filters>a{color:var(--ink);text-underline-offset:3px}
html[data-theme=dark] .agenda-filters>a:hover{color:#ffad70}
html[data-theme=dark] .agenda-chip{border-color:#52697b;color:var(--ink)}
html[data-theme=dark] .agenda-chip.active{background:var(--raised);border-color:#F47820;color:#fff}
html[data-theme=dark] .agenda-chip:hover{border-color:#F47820}
html[data-theme=dark] :is(.agenda-cover,.event-poster){background:var(--surface)}
html[data-theme=dark] .agenda-card .agenda-when{color:var(--ink)}
html[data-theme=dark] .agenda-card .agenda-note{background:#3b302a;color:#ffdabf}
html[data-theme=dark] .agenda-state{color:#ffb8b0}
html[data-theme=dark] .event-facts>div{border-color:var(--line)}
html[data-theme=dark] .event-facts dt{color:var(--muted)}
html[data-theme=dark] .venue-photo{background:var(--paper)}
html[data-theme=dark] .venue-photo figcaption{background:var(--raised);color:var(--muted);padding:10px 14px}
html[data-theme=dark] .venue-photo figcaption a{color:#d0e5f5;text-underline-offset:3px}
html[data-theme=dark] .venue-photo figcaption a:hover{color:#ffad70}
}
