/* Every theme override is scoped. Rustic mode retains the original stylesheet. */
html[data-fox-theme="study"]{--ink:#354334;--paper:#fffcf3;--line:#dbccb1;background:#eee7d7}
html[data-fox-theme="study"] body{background:radial-gradient(ellipse at top right,#d9e4d0,transparent 55%),#eee7d7;color:var(--ink)}
html[data-fox-theme="study"] .side{background:#354c3e;color:#fff2d9;border-right:5px solid #94754e}
html[data-fox-theme="study"] .brand,html[data-fox-theme="study"] .side button{color:#f2ead6}
html[data-fox-theme="study"] .side button.active{background:#f4eddb;color:#354c3e}
html[data-fox-theme="study"] .card{border-color:#dfd1b8;box-shadow:0 5px 18px #654f3510}
html[data-fox-theme="study"] .forest-hero{border:7px solid #b79b71;background:#fff9e9}
html[data-fox-theme="study"] .room-heading h2{font-family:Georgia,'Yu Mincho',serif;color:#354c3e}
html[data-fox-theme="study"] .forest-room .fox-wander{animation:none;transform:translate(0,0)}
html[data-fox-theme="study"] .forest-room:not(.happy):not(.resting) .pose-idle{display:none}
html[data-fox-theme="study"] .forest-room:not(.happy):not(.resting) .pose-study{display:block}
.study-particle{animation:study-fall 16s linear infinite;pointer-events:none}.study-sunbeam{animation:study-rays 12s ease-in-out infinite}.study-steam{animation:study-vapor 5s ease-in-out infinite}
@keyframes study-fall{from{transform:translate(0,-115px)}to{transform:translate(8px,120px)}}
@keyframes study-rays{50%{opacity:.08;transform:translateX(10px)}}
@keyframes study-vapor{50%{opacity:.2;transform:translateY(-5px)}}
html[data-fox-motion="reduce"] *,html[data-fox-motion="reduce"] *:before,html[data-fox-motion="reduce"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.study-particle,.study-sunbeam,.study-steam{animation:none!important}}
@media(max-width:750px){html[data-fox-theme="study"] .side{border-right:0;border-bottom:3px solid #94754e}html[data-fox-theme="study"] .forest-hero{border-width:4px}#appearanceSettings .fields{grid-template-columns:1fr}}
