/* One museum: mist-white paper, luminous glass, original jewel spectrum. */
:root{--bg:#F1F2F0;--panel:#f7f8f5;--paper:#283343;--ink:#283343;--muted:#626778;--gold:#815b25;--line:#d8d7e0;--spectrum:linear-gradient(112deg,#793dbe,#3269bd 25%,#148b83 51%,#b88820 76%,#e3b646 89%,#9b6b21);--ink-spectrum:linear-gradient(110deg,#7535a9,#225c9e 29%,#08756e 54%,#976914 83%,#7f5014);--glass-surface:linear-gradient(125deg,#ffffffdc,#f7f9fbd9 48%,#faf8f1d9)}
html{background:#F1F2F0}body,body.reader-page,body.design-glass{background:radial-gradient(ellipse at 80% 0%,#fafbf9,transparent 44rem),#F1F2F0;color:#283343;background-attachment:scroll}
body .site-header,body.design-glass .site-header{background:#F1F2F0!important;border-color:var(--line)!important;box-shadow:none}
body :is(.site-wayfinding,.site-home-nav,.museum-wayfinding){background:#f1f2f080;border-color:var(--line)}
body :is(.observations,.ai-essays,.h-works,.section-tint){background:linear-gradient(130deg,#eee9f650,#eaf1f650 35%,#eaf3ee50 65%,#f8efdc50);color:var(--ink)}
body :is(.article-card,.pending-card,.chapter-card,.ai-featured,.gallery-panel,.practice-card,.growth-doors>a,.model-pair article){background:var(--glass-surface);border-color:#d5dce6;box-shadow:0 8px 24px #4a537b08,inset 0 1px 0 #fff;border-radius:4px;color:var(--ink)}
body :is(.article-card,.chapter-card,.growth-doors>a):hover{background:linear-gradient(125deg,#fff,#f1eef9 48%,#f4f8f4);border-color:#ada8c7}
body :is(.ai-process,.thought-path,.process-grid article,.journey-detail){border-image:var(--spectrum) 1}
body .ai-process>a{border-right-color:var(--line)}
body :is(.primary,.button.primary),body :is(.article-filters,.slide-controls,.book-controls) button:not(:disabled){background:linear-gradient(112deg,#7033ac,#255f9c 30%,#137e71 60%,#926716);color:white;border:1px solid #ffffff90;border-radius:3px;box-shadow:0 4px 14px #57668716}
body :is(.outline-button,.search-box){background:#ffffffb8;border-color:#a9acbe}
body :is(input,select,textarea){color:#283343;background:#fff;border-color:#a9acbe}
body :is(.local-toc,.table-scroll th){background:#e9edf3}
body :is(.reader-shell,.prose){color:#283343}
body .book-canvas-wrap{background:#e6e9e7;border:1px solid #d5dce6;border-radius:4px}
body :is(.report-pdf,.pdf-object){background:white;border-color:#d5dce6;border-radius:4px}
body :is(.site-footer,footer),body.design-glass .site-footer{background:#F1F2F0!important;color:var(--ink)}
body .hero-art img{mix-blend-mode:normal;filter:none;opacity:1;object-fit:contain}
body :is(a,button,summary):focus-visible{outline-color:#6956a0}
/* The chapter-04 art and image plates keep their own content colours. */
body.huasheng-chapter{--paper:#F1F2F0}
body.huasheng-chapter :is(dialog,.reflection-form textarea){background:#fafbf9;color:#283343}
body.huasheng-chapter .orbit-label{background:#F1F2F0e6}
/* Embedded practice pages use the same paper and controls. */
body.museum-practice{--deep:#F1F2F0;--water:#e9eeec;--surface:#f8faf9;--cream:#283343;--text:#495368;--dim:#626778;--moon:#8c681c;--juan:#7253a1;--leaf:#35795f;--cyan:#1a7883;--border-dim:#d5dce6;--golden:#b49a6c16}
body.museum-practice :is(.room-card,.room-panel,.chapter-card,.choice-btn,.zhanggui-btn,.zhanggui-tip){background:var(--glass-surface);border-color:#d5dce6;color:#283343;box-shadow:0 8px 24px #4a537b0a}
body.museum-practice .room-panel{background:#F1F2F0f9}
body.museum-practice :is(.reading-left,.text-block,.ending-box .desc){line-height:1.75}
body.museum-practice :is(.t-main,.title){color:#283343;text-shadow:none}
body.museum-practice .text-block{margin-bottom:1rem}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
body :is(.floor-intro h1,.ai-opening h1 span,.hero h1 span,.practice-card h3,.process-emphasis,.footer-quote){background:var(--ink-spectrum);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;width:fit-content}
}
@media(forced-colors:active){body :is(.floor-intro h1,.ai-opening h1 span,.hero h1 span,.practice-card h3,.process-emphasis,.footer-quote){background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}}
@media print{html,body,body.reader-page{background:white}body :is(.floor-intro h1,.ai-opening h1 span,.hero h1 span,.practice-card h3,.process-emphasis,.footer-quote){background:none;color:#283343;-webkit-text-fill-color:#283343}}

body.museum-practice[data-site="tea"]{background:radial-gradient(ellipse at 80% 0%,#fafbf9,transparent 44rem),#F1F2F0;color:#283343}
