/* Owner-selected daytime palette. NOAA tiles and navigational symbols are untouched. */
html:not([data-theme=dark]){color-scheme:light;--navy:#182640;--blue:#104976;--cream:#f1f0d6;--sand:#e8d8a8;--taupe:#c0b0a4;--tan:var(--taupe);--bg:var(--cream);--surface:#faf9ec;--surface2:var(--sand);--border:#c0b0a4;--text:#182640;--charcoal:#182640;--muted:#5c625f;--accent:var(--blue);--cyan:var(--blue)}
html:not([data-theme=dark]) body{background:var(--cream);color:var(--navy)}
html:not([data-theme=dark]) .app-header{background:var(--navy);color:var(--cream)}
html:not([data-theme=dark]) .brand-words small{color:var(--sand)}
html:not([data-theme=dark]) .brand .mark{color:var(--cream);border-color:var(--taupe)}
html:not([data-theme=dark]) .demo{background:var(--blue);color:var(--cream)}
html:not([data-theme=dark]) :is(.header-profile .avatar,.hl-follow-bell,.hl-chat-button){background:#243956;color:var(--cream);border-color:#89999e}
html:not([data-theme=dark]) .app-header #nav{background:#faf9ec;border-color:var(--taupe);box-shadow:0 -3px 20px #1826400a}
html:not([data-theme=dark]) .app-header #nav a{color:#62696c;background:transparent}
html:not([data-theme=dark]) .app-header #nav a.active{color:var(--blue)}
html:not([data-theme=dark]) .app-header #nav a.active:after{background:var(--blue)}
html:not([data-theme=dark]) .app-header #nav a:hover{background:var(--cream);color:var(--blue)}
html:not([data-theme=dark]) :is(.card,dialog,.options-panel,.report-panel,.phone-alert,.map-filters,.hl-inbox,.hl-conversation,#map-report-overlay){background:var(--surface);color:var(--navy);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.button,.chart-popup .button,.chart-popup .button.outline){background:var(--blue);color:var(--cream);border-color:var(--blue)}
html:not([data-theme=dark]) :is(.button.outline,.profile-top .button.outline,.hl-icon-button,.chart-options>summary){background:var(--surface);color:var(--blue);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.button.outline:hover,.profile-top .button.outline:hover){background:var(--sand);color:var(--navy)}
html:not([data-theme=dark]) .button.secondary{background:var(--sand);color:var(--navy);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(input,textarea,select,.compose-trigger,.hl-message-search){background:var(--cream);color:var(--navy);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(input,textarea)::placeholder{color:#666a66;opacity:1}
html:not([data-theme=dark]) :is(input[type=checkbox],input[type=radio]){accent-color:var(--blue)}
html:not([data-theme=dark]) :is(.page-heading h1,.hl-inbox-heading h1,.detail-empty h3,.report-row,.chart-controls>b){color:var(--navy)}
html:not([data-theme=dark]) :is(.muted,.meta,.role,.intro,.composer-bottom,.profile-card p,.post-actions button,.hl-chat-member span,.hl-thread-copy>span,.hl-thread-meta,.hl-inbox .empty){color:var(--muted)}
html:not([data-theme=dark]) :is(.profile-cover){background:linear-gradient(115deg,var(--navy),var(--blue));color:var(--cream);border-bottom-color:var(--sand)}
html:not([data-theme=dark]) :is(.profile-portrait,.avatar.gold){background:var(--taupe);color:var(--navy);border-color:var(--sand)}
html:not([data-theme=dark]) :is(.avatar,.avatar.teal,.hl-thread-row .hl-chat-avatar){background:var(--blue);color:var(--cream);border-color:var(--blue)}
html:not([data-theme=dark]) :is(.badge,.group-icon,.notice,.settings-demo,.follow-request-status,.comment,.official-alert,.bridge-details){background:var(--cream);color:var(--navy);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.badge.amber,.report-row.selected,.contact.active){background:var(--sand);color:var(--navy);border-color:var(--taupe)}
html:not([data-theme=dark]) .report-panel:not(.expanded),html:not([data-theme=dark]) .report-panel:not(.expanded) .sheet-handle{background:var(--sand);border-color:var(--taupe)}
html:not([data-theme=dark]) .report-panel .grabber{background:#8f8276}
html:not([data-theme=dark]) :is(.map-instruction,.chart-tag){background:var(--navy);color:var(--cream);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.map-quick-actions button,.map-report-close){background:var(--surface);color:var(--blue);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.filter-chip.selected,.alert-filter.selected,#toast){background:var(--blue);color:var(--cream);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.hl-inbox-heading,.hl-inbox-filters button,.hl-notification.unread){background:var(--sand);color:var(--navy);border-color:var(--taupe)}
html:not([data-theme=dark]) :is(.hl-inbox .hl-icon-button,.hl-notification,.hl-thread-row,.hl-thread-row>.hl-thread){background:var(--surface);color:var(--navy);border-color:#d6cbbb}
html:not([data-theme=dark]) :is(.hl-inbox-filters,.hl-message-search){border-color:#d6cbbb}
html:not([data-theme=dark]) :is(.hl-thread-row>.hl-thread.unread,.hl-thread-row>.hl-thread:hover){background:var(--cream)}
html:not([data-theme=dark]) :is(.hl-inbox-filters button.selected,.hl-thread-meta b,.hl-conversation .message.mine){background:var(--blue);color:var(--cream);border-color:var(--blue)}
html:not([data-theme=dark]) .hl-notification.unread{border-left-color:var(--blue)}
html:not([data-theme=dark]) .hl-message-search input{background:transparent;color:var(--navy)}
html:not([data-theme=dark]) :is(button,a,summary):focus-visible{outline-color:var(--blue)}
html:not([data-theme=dark]) .app-header :focus-visible{outline-color:var(--sand)}
