/* The same palette serves static pages and the small standalone notes service. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border:1px solid var(--line,#aaa);border-radius:50%;background:transparent;color:inherit;cursor:pointer;vertical-align:middle;padding:0;font:22px/1 system-ui}
.theme-toggle::before{content:'☾'}
.theme-toggle:hover{background:var(--ink,#222);color:var(--paper,#fff)}
.theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:4px}
html[data-theme=dark]{--paper:#151614;--ink:#ededdf;--muted:#aeafa3;--line:#3b3d36;--accent:#daee43;color-scheme:dark;background:#151614;color:#ededdf}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] .theme-toggle::before{content:'☼'}
html[data-theme=dark] .hero-poster{background:#20221c}
html[data-theme=dark] .hero-context p,html[data-theme=dark] .hero-description,html[data-theme=dark] .prose,html[data-theme=dark] .intro-project p{color:#bec0b4}
html[data-theme=dark] .site-footer{background:#20221d}
html[data-theme=dark] .footer-bottom{border-color:var(--line)}
html[data-theme=dark] .perspective{background:#24271f;color:var(--ink)}
html[data-theme=dark] .perspective .text-link{color:var(--ink)}
html[data-theme=dark] .source-status,html[data-theme=dark] .feedback-count{color:var(--muted)}
html[data-theme=dark] .source-status.source-open{color:#c2df91}
html[data-theme=dark] .source-open i{background:#b3d27a}
html[data-theme=dark] .feedback-actions button{border-color:#55594b}
html[data-theme=dark] .feedback-actions button:hover{background:#30352a;border-color:#8a937c}
html[data-theme=dark] .feedback-actions button[aria-pressed=true]{background:#344320;border-color:#859b54;color:#e4f0c0}
html[data-theme=dark] .feedback-actions button[aria-pressed=true] .feedback-count{color:#d0dfae}
html[data-theme=dark] .feedback-error{color:#f1ac98}
html[data-theme=dark] .exhibit-link:hover{color:#daee43}
html[data-theme=dark] .art-memory{color:#29252f}
html[data-theme=dark] .memory-path span:before{background:#29252f}
html[data-theme=dark] .paper-shape{background:#f0f0ed;color:#181818}
html[data-theme=dark] .skip{color:#151614}
html[data-theme=dark] ::selection{background:#daee43;color:#151614}
html[data-theme=dark] .standalone a{color:inherit}
html[data-theme=dark] .standalone small{color:var(--muted)}
@media(max-width:700px){.site-header nav{gap:16px;align-items:center}.theme-toggle{flex-basis:32px;width:32px;height:32px;font-size:21px}}
@media(max-width:360px){.site-header nav{gap:10px}.site-header .identity{gap:7px}.site-header .identity-en{margin-left:5px}}
@media print{html[data-theme=dark]{--paper:#fff;--ink:#181818;--muted:#555;--line:#ccc;color-scheme:light;background:#fff;color:#181818}html[data-theme=dark] body{background:#fff;color:#181818}.theme-toggle{display:none!important}}
