/* OpenMenti: readable home preview and adaptive interface. */
.hero .hero-preview{transform:none!important;background:#fff!important;color:#172b43;border:1px solid #dbe4e1;box-shadow:0 18px 48px rgba(20,38,63,.12)!important}
.hero .hero-preview h2,.hero .hero-preview .preview-result>span{color:#172b43!important}
.hero .hero-preview .preview-top,.hero .hero-preview .preview-bottom{color:#4e6174!important}
.hero .hero-preview .preview-eyebrow{color:#31536c!important}
.hero .hero-preview .dot-live{color:#087456}

/* Follow the device preference; the content of presentation slides retains its own theme. */
@media (prefers-color-scheme:dark){
 :root{color-scheme:dark;--bg:#101923;--ink:#ecf2f5;--muted:#b5c5ce;--card:#1b2a34;--edge:#3b4b56;--primary:#315ee9;--primary-dark:#afc1ff;--om24-navy:#edf3f6;--shadow:0 14px 45px rgba(0,0,0,.22)}
 html,body:not(.om19-screen){background:#101923!important;color:#edf3f6}
 .site-header{background:#15232e!important;border-color:#3b4b56}
 .site-header .brand,.site-header nav>a:not(.nav-signup),.site-header .nav-user{color:#edf3f6!important}
 .site-header nav>a:not(.nav-signup):hover{color:#b6cbff!important}
 .site-header .linkbtn{color:#c7d6ff!important}
 .site-header .help-header-launcher{background:#293d4a!important;border-color:#536674!important;color:#edf3f6!important}
 .site-header .help-header-launcher:hover{background:#344c5c!important;color:#fff!important}
 .card,.how-section,.help-hero,.help-dialog,.tour-card,.cookie-notice-inner{background:#1b2a34!important;border-color:#3b4b56!important;color:#edf3f6}
 .cookie-notice{background:#15232e!important;border-color:#3b4b56!important}
 .cookie-notice h2,.cookie-notice p{color:#edf3f6!important}
 .card h1,.card h2,.card h3,.how-section h2,.how-section h3{color:#edf3f6}
 .muted,.section-heading>p,.feature-card p,footer{color:#b9cbd2!important}
 a:not(.button){color:#b5c6ff}
 .eyebrow{color:#abc1ff}
 input:not([type=hidden]):not([type=radio]):not([type=checkbox]):not([type=color]),textarea,select{background:#223541;color:#f4f7f9;border-color:#506571}
 input::placeholder,textarea::placeholder{color:#a1b3bd}
 .ghost,.icon-button{background:#293d4a;color:#e5edf1;border-color:#536674}
 .ghost:hover,.icon-button:hover{background:#344c5c;color:#fff}
 .hero{background:#192a34!important;border-color:#40535a!important;color:#edf4f5!important}
 .hero h1,.hero p{color:#edf4f5!important}
 .hero .hero-foot{color:#bbced4!important}
 .hero .hero-preview{background:#253943!important;border-color:#526970!important;color:#f3f8fa}
 .hero .hero-preview h2,.hero .hero-preview .preview-result>span{color:#f3f8fa!important}
 .hero .hero-preview .preview-top,.hero .hero-preview .preview-bottom,.hero .hero-preview .preview-eyebrow{color:#cfdee3!important}
 .hero .hero-preview .dot-live{color:#8ce0bc}
 .feature-icon{background:#2c414c!important;border-color:#465d66!important;color:#e9f4f5!important}
 .om231-presentation-menu summary,.om231-presentation-menu-content{background:#243845;color:#eaf1f5;border-color:#4c606e}
 .om231-presentation-menu-content>a,.om231-presentation-menu-content>button{color:#eaf1f5!important}
 .om231-presentation-menu-content>a:hover,.om231-presentation-menu-content>button:hover:not(:disabled){background:#334d5b!important}
 .om231-delete-dialog{background:#1b2a34;color:#edf3f6;border-color:#526571}
 .om231-delete-dialog .om231-delete-name{background:#2d414d}
 .om231-check-label{color:#dce7ea}
 .om-studio .om-studio-toolbar select,.om-studio .om86-rich-ribbon select{background:#293e4b!important;border-color:#526873!important;color:#f5f8fa!important}
 .om-studio .om23-toolbar-meta .om-studio-save:not(.error){color:#9ce6c2!important}
 .om-studio .om23-toolbar-meta .om-studio-save.error{color:#ffb5b5!important}
}
@media (prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
