/* Wyatt Mail R12.7.7 — visual fidelity, not a redesign. */
.wm-source-quality{flex:1 1 100%;font:500 .78rem/1.35 system-ui;white-space:normal;overflow-wrap:anywhere;color:inherit;opacity:.9;unicode-bidi:isolate}
.wm-zoom-tools,.zoom-tools,.wm-art-actions,.viewer-bar,.tower-rail,.tower-switch,.seated-view-tools,.library-light-choice{flex-wrap:wrap;min-width:0;max-width:100%}
.wm-zoom-tools [data-magnify=inspect],.zoom-tools [data-magnify=inspect]{min-height:44px;min-width:44px;padding-inline:.55rem}
.wm-zoom-tools [aria-pressed=true],.zoom-tools [aria-pressed=true]{outline:2px solid currentColor;outline-offset:-4px}
.wm-image-viewport,.wm-art-scroll,.window,.wm-pan-surface{direction:ltr}
.wm-motion-frame{background-image:url('/athenaeum/ermine-behavior-r1277.webp')}
.desk-companions .desk-companion-touch::before{background:radial-gradient(ellipse,#110d0a85 3%,#251a1445 40%,transparent 75%);height:7%}
html[data-hall-light=night] .desk-companions .desk-companion-touch::before{background:radial-gradient(ellipse,#02060d9c 3%,#09101a50 42%,transparent 76%)}
html[data-gallery-finish=amber] .wm-ermine-stage,html[data-wm-entry-theme=amber] .wm-ermine-stage{background:radial-gradient(ellipse at 50% 100%,#d5a36b27,transparent 66%),#30252a;border-color:#d5b58b65}
html[data-light-paused] .wm-motion-frame{animation-play-state:paused!important}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #bddef9;outline-offset:3px}
html[data-gallery-finish=amber] :where(button,a,input,select,textarea,[tabindex]):focus-visible,html[data-wm-entry-theme=amber] :where(button,a,input,select,textarea,[tabindex]):focus-visible{outline-color:#ffd9a2}
:where(.tower-dim-caption,.wm-source-quality,.tower-visual-note){overflow-wrap:anywhere}
.tower-visual-note{font-size:.88rem;line-height:1.5;max-width:76ch;color:inherit}
html[dir=rtl] :where(.tower-rail,.wm-art-actions,.viewer-bar,.rail,.masthead,.choices,.wm-lang){text-align:start}
html[dir=rtl] :where(.wm-art-scroll,.wm-pan-surface,.window,.tower-view,.wm-ermine-stage,.desk-companions){direction:ltr}
#ermine-search-panel{max-width:calc(100vw - 20px)}
@media(max-width:640px){
 .wm-art-actions,.viewer-bar,.rail,.masthead,.choices,.tower-rail,.tower-switch,.seated-view-tools{flex-wrap:wrap;min-width:0;max-width:100%}
 .wm-art-actions form{margin:0}.wm-art-actions button,.tower-switch button,.choices button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
 .viewer-bar .choices,.viewer-bar .zoom-tools{width:auto;max-width:100%}
 .viewer-bar h2{min-width:0;overflow-wrap:anywhere}
 .wm-source-quality{flex-basis:100%}.tower-visual-note{padding-inline:.25rem}
 #ermine-search-panel[data-ermine-positioned]{inset:auto 10px max(10px,env(safe-area-inset-bottom)) 10px!important;width:auto;max-height:72dvh}
 .ermine-search-heading{flex-wrap:wrap}.ermine-search-heading h2{min-width:7rem}.ermine-search-field{flex-wrap:wrap}.ermine-search-field input{min-width:min(100%,10rem)}
 .wm-lang select{max-width:min(12rem,65vw)}
}
@media(prefers-reduced-motion:reduce){.wm-motion-frame,.desk-ermine-film,.desk-ermine-portrait,.door-reveal,.library-sky-layer{animation:none!important;transition:none!important}.wm-pan-surface{scroll-behavior:auto!important}}
@media(forced-colors:active){.wm-zoom-tools button,.zoom-tools button,.choices button,.tower-switch button{border:1px solid ButtonText}.wm-source-quality{opacity:1}}
