/* Generated by scripts/build-dark-css.py — do not edit by hand. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body,html[data-theme="dark"] .ar-body{background:#0b1120;color:#d0d5dd}
/* resources/css/theme.css */
html[data-theme="dark"]{--migi-gold-soft:#1a160f;--ar-bg:#161618;--ar-surface:#151a26;--ar-border:#21283a;--ar-text:#dfdfdf;--ar-muted:#b4b4bb}
html[data-theme="dark"] .migi-section--marketing{background:radial-gradient(circle at 92% 4%, rgba(243, 169, 42, 0.16), transparent 28rem),
        linear-gradient(180deg, #221d14 0%, var(--ar-bg) 68%)}
html[data-theme="dark"] .ar-thumb-frame{background:linear-gradient(145deg, #37321f, #151a26)}
html[data-theme="dark"] .ar-footer__social a{background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .ar-footer__btn:hover{color:#dfdfdf !important}
html[data-theme="dark"] .ar-footer__bottom{border-top:1px solid rgba(17, 24, 39, 0.72);color:#a5a5ab}
html[data-theme="dark"] .ar-hero{background:linear-gradient(180deg, #151a26 0%, #1f1a12 100%)}
html[data-theme="dark"] .migi-hero{background:linear-gradient(135deg, #151a26 0%, #1c1810 55%, #151a26 100%)}
html[data-theme="dark"] .migi-hero__visual{background:linear-gradient(160deg, #131316, #151a26)}
html[data-theme="dark"] .migi-section--muted{background:#121620}
html[data-theme="dark"] .migi-template-card img{background:#2a2a2d}
html[data-theme="dark"] .migi-template-card__empty{background:linear-gradient(135deg, rgba(232, 148, 10, .16), rgba(17, 24, 39, 0.88)),
        repeating-linear-gradient(45deg, rgba(26, 26, 26, .04) 0 8px, transparent 8px 16px);color:#d8c9ae}
html[data-theme="dark"] .migi-stats{background:linear-gradient(90deg, #1c1810, #151a26)}
html[data-theme="dark"] .migi-logos span{color:#999999}
html[data-theme="dark"] .migi-audit__card{background:linear-gradient(160deg, #151a26, #201912)}
html[data-theme="dark"] .ar-btn--primary{color:#dfdfdf}
html[data-theme="dark"] .ar-btn--disabled{color:#9ea9b9;background:#252c36;border-color:#2e3640}
html[data-theme="dark"] .ar-alert--success{background:#0f1b15;color:#c1e1d8}
html[data-theme="dark"] .ar-alert--danger{background:#1e1112;border-color:#3c2226;color:#d4a5b2}
html[data-theme="dark"] .ar-modal__close:hover{background:#10151a}
/* public/css/runtime-overrides.css */
html[data-theme="dark"] .migi-section--marketing{background:radial-gradient(circle at 92% 4%, rgba(243, 169, 42, .16), transparent 28rem), linear-gradient(180deg, #221d14 0%, var(--ar-bg) 68%)}
/* public/css/liquid-glass.css */
html[data-theme="dark"]{--migi-ink:#d2dae9;--migi-muted:#a2a9b7;--migi-line:rgba(17, 24, 39, 0.72);--migi-glass:rgba(17, 24, 39,var(--migi-glass-alpha))}
html[data-theme="dark"] body.ar-body{background:radial-gradient(circle at 5% 18%,#393021 0,transparent 20rem),radial-gradient(circle at 94% 15%,#0e1119 0,transparent 23rem),radial-gradient(circle at 68% 75%,#160e19 0,transparent 24rem),#141823}
html[data-theme="dark"] .migi-site-header{background:linear-gradient(to bottom,rgba(17, 24, 39, 0.90),rgba(17, 24, 39, 0.72))}
html[data-theme="dark"] .migi-main-nav a, html[data-theme="dark"] .migi-login{color:#bbc5d5}
html[data-theme="dark"] .migi-user-menu>div{background:#151a26}
html[data-theme="dark"] .migi-user-menu form{border-top:1px solid #232630}
html[data-theme="dark"] .migi-button--secondary{background:#151a26;border-color:color-mix(in srgb,var(--migi-orange) 45%,#151a26)}
html[data-theme="dark"] .migi-button-style-outline .migi-button{background:rgba(17, 24, 39, 0.84)}
html[data-theme="dark"] .member-menu a>span[aria-hidden="true"]{color:#939eb4}
html[data-theme="dark"] .migi-mobile-nav>div{background:#151a26}
html[data-theme="dark"] .migi-glass-card, html[data-theme="dark"] .ar-card{background:linear-gradient(135deg,rgba(17, 24, 39, 0.84),rgba(17, 24, 39, 0.72))!important}
html[data-theme="dark"] .home-hero{background:linear-gradient(120deg,#151a26 10%,rgba(17, 24, 39, 0.72) 60%,rgba(17, 21, 29, 0.20))}
html[data-theme="dark"] .home-benefits{background:rgba(17, 24, 39, 0.72)!important}
html[data-theme="dark"] .member-menu a.is-active{background:linear-gradient(90deg,#383120,#151a26)!important}
html[data-theme="dark"] .site-row{border:1px solid rgba(37, 43, 55, 0.75)!important;background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .recharge-hero{background:linear-gradient(110deg,rgba(17, 24, 39, 0.90),rgba(56, 49, 32, 0.72),rgba(15, 18, 26, 0.78))!important}
html[data-theme="dark"] .recharge-detail, html[data-theme="dark"] .recharge-channel{background:rgba(17, 24, 39, 0.72)!important}
html[data-theme="dark"] .recharge-content{background:#372f1f!important}
html[data-theme="dark"] .migi-site-footer{background:rgba(17, 24, 39, 0.72);border-top:1px solid rgba(33, 40, 57, 0.80)}
html[data-theme="dark"] .template-library__hero{background:radial-gradient(circle at 72% 0,rgba(255,177,120,.58),transparent 30%),radial-gradient(circle at 18% 25%,rgba(198,209,255,.76),transparent 42%),rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .template-library__hero:before{background:linear-gradient(120deg,transparent 45%,rgba(17, 24, 39, 0.72))}
html[data-theme="dark"] .template-library__eyebrow{background:#151a26;color:#adb6d3}
html[data-theme="dark"] .template-library__promises{color:#acb6cc}
html[data-theme="dark"] .template-library__steps{border:1px solid rgba(17, 24, 39, 0.90);background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .template-library__steps span{color:#a4abbc}
html[data-theme="dark"] .template-library__filters{border:1px solid rgba(17, 24, 39, 0.75);background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .template-library__filters label{background:#151a26;color:#939dae}
html[data-theme="dark"] .template-library__filters select{background:#151a26}
html[data-theme="dark"] .template-library__categories a{color:#a4acbf}
html[data-theme="dark"] .template-library__card{border:1px solid rgba(34, 40, 56, 0.82);background:rgba(17, 24, 39, 0.82)}
html[data-theme="dark"] .template-library__image{background:linear-gradient(135deg,#10131c,#35291e)}
html[data-theme="dark"] .template-library__image div{color:#949eb2}
html[data-theme="dark"] .template-library__tag{background:#19120e}
html[data-theme="dark"] .template-library__card p{color:#959eb1}
html[data-theme="dark"] .template-library__actions>a:first-child{color:#9ea6b8}
html[data-theme="dark"] .template-library__cta{border:1px solid rgba(17, 24, 39, 0.86);background:linear-gradient(110deg,rgba(38, 31, 54, 0.67),rgba(55, 45, 32, 0.82))}
html[data-theme="dark"] .member-welcome{border:1px solid rgba(17, 24, 39, 0.84);background:radial-gradient(circle at 72% 25%,rgba(237,196,255,.75),transparent 27%),linear-gradient(110deg,rgba(17, 24, 39, 0.91),rgba(16, 22, 29, 0.75))}
html[data-theme="dark"] .member-welcome span{color:#909ab0}
html[data-theme="dark"] .member-welcome p{color:#949eb1}
html[data-theme="dark"] .member-welcome__actions small{color:#9f93b7}
html[data-theme="dark"] .member-welcome__actions small b{color:#a8b1c5}
html[data-theme="dark"] .site-kpi{background:linear-gradient(120deg,rgba(17, 24, 39, 0.88),rgba(17, 24, 39, 0.73))!important}
html[data-theme="dark"] .site-kpi__label{color:#949fb3!important}
html[data-theme="dark"] .member-start{border:1px solid rgba(33, 39, 57, 0.90);background:linear-gradient(145deg,#151a26,#161220)}
html[data-theme="dark"] .member-start>p{color:#949eb2}
html[data-theme="dark"] .member-start li>b{background:#382f20}
html[data-theme="dark"] .member-start li:nth-child(2)>b{background:#110e19}
html[data-theme="dark"] .member-start li:nth-child(3)>b{background:#20382d}
html[data-theme="dark"] .member-start li small{color:#949eb0}
html[data-theme="dark"] .member-menu a.is-active{background:linear-gradient(90deg,#393121,#151a26)!important}
html[data-theme="dark"] .recharge-hero:after{border:1px solid rgba(17, 24, 39, 0.85);box-shadow:0 0 0 25px rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .recharge-hero h1{color:#d1d8e9}
html[data-theme="dark"] .recharge-hero p{color:#a5b0c4!important}
html[data-theme="dark"] .recharge-channel{background:rgba(17, 24, 39, 0.82)!important}
html[data-theme="dark"] .recharge-detail{background:linear-gradient(135deg,#151a26,#131721)!important}
html[data-theme="dark"] .recharge-qr{background:#151a26!important}
html[data-theme="dark"] .recharge-layout>aside>.ar-card:first-child{background:linear-gradient(135deg,rgba(17, 24, 39, 0.95),rgba(55, 47, 32, 0.84))!important}
html[data-theme="dark"] .recharge-layout .ar-kpi-line{border-bottom:1px solid #222831!important}
html[data-theme="dark"] .recharge-layout .ar-kpi-line span{color:#a7b0c2}
html[data-theme="dark"] .ar-muted{color:#9ca2b3!important}
html[data-theme="dark"] .ar-panel-card{border:1px solid rgba(34, 41, 58, 0.90);background:rgba(17, 24, 39, 0.84)}
html[data-theme="dark"] .ar-panel-card__head{border-bottom:1px solid #212734;background:linear-gradient(110deg,rgba(17, 24, 39, 0.90),rgba(17, 24, 39, 0.72))}
html[data-theme="dark"] .ar-panel-title{color:#c8d1e5}
html[data-theme="dark"] .ar-field label{color:#bbc6dc}
html[data-theme="dark"] .ar-input{border:1px solid #242b38!important;background:rgba(17, 24, 39, 0.93)!important;color:#c5cee3!important}
html[data-theme="dark"] .ar-table th{border-bottom:1px solid #242a36;background:#121720;color:#a7b0c2}
html[data-theme="dark"] .ar-table td{border-bottom:1px solid #222831;color:#bdc7dd}
html[data-theme="dark"] .ar-table tbody tr:hover td{background:#141823}
html[data-theme="dark"] .ar-table td strong{color:#c9d2e5}
html[data-theme="dark"] .support-pill--normal{background:#10141c;color:#899dc6}
html[data-theme="dark"] .support-pill--high{background:#383020}
html[data-theme="dark"] .support-pill--urgent{background:#190e0f}
html[data-theme="dark"] .support-pill--status-0{background:#383120;color:#d4c2a6}
html[data-theme="dark"] .support-pill--status-1{background:#20372a;color:#add7c3}
html[data-theme="dark"] .support-pill--status-2{background:#222831;color:#a0a9b9}
html[data-theme="dark"] .ar-table-empty{color:#949eb1!important}
html[data-theme="dark"] .migi-auth__grid{border:1px solid rgba(17, 24, 39, 0.88);background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .migi-auth__story{background:radial-gradient(circle at 18% 22%,rgba(255,196,126,.78),transparent 25%),radial-gradient(circle at 84% 76%,rgba(194,184,255,.74),transparent 35%),linear-gradient(145deg,#1a150f,#10141c 62%,#17101c)}
html[data-theme="dark"] .migi-auth__story:before, html[data-theme="dark"] .migi-auth__story:after{border:1px solid rgba(17, 24, 39, 0.90)}
html[data-theme="dark"] .migi-auth__story:after{box-shadow:0 0 0 25px rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .migi-auth__badge{background:rgba(17, 24, 39, 0.72);color:#a5b0c3}
html[data-theme="dark"] .migi-auth__story p{color:#a0aabd}
html[data-theme="dark"] .migi-auth__story ul{color:#aeb8cc}
html[data-theme="dark"] .migi-auth__card{background:rgba(17, 24, 39, 0.82)}
html[data-theme="dark"] .migi-auth__back{color:#9ba4b4}
html[data-theme="dark"] .migi-auth__heading h1{color:#ced6e7}
html[data-theme="dark"] .migi-auth__heading p{color:#94a0b3}
html[data-theme="dark"] .migi-auth .ar-input{background:#141823!important}
html[data-theme="dark"] .migi-auth__links{color:#9ca2b3}
html[data-theme="dark"] .migi-social-login>div:first-child{color:#8b97ac}
html[data-theme="dark"] .migi-social-login>div:first-child:before, html[data-theme="dark"] .migi-social-login>div:first-child:after{background:#252933}
html[data-theme="dark"] .migi-social-login__button{border:1px solid #252c37;background:#151a26;color:#b6c1d5}
html[data-theme="dark"] .migi-social-login__button b{background:#10131c}
html[data-theme="dark"] .migi-social-login__button:nth-child(2) b{background:#0e1219}
html[data-theme="dark"] .migi-social-login__button:hover{background:#1f1a12}
html[data-theme="dark"] .migi-social-login small{color:#8c96a9}
html[data-theme="dark"] .migi-captcha{border:1px solid #222936;background:linear-gradient(135deg,#141823,#121720)}
html[data-theme="dark"] .migi-captcha .ar-label{color:#b5c1d6}
html[data-theme="dark"] .migi-captcha .ar-label small{color:#8c97ab}
html[data-theme="dark"] .migi-captcha__image{border:1px solid #242b38;background:#131721}
html[data-theme="dark"] .migi-captcha__image i{background:#151a26;color:#9ea9b9}
html[data-theme="dark"] .marketing-showcase__hero, html[data-theme="dark"] .contact-page__hero{border:1px solid rgba(17, 24, 39, 0.85);background:radial-gradient(circle at 85% 12%,rgba(235,195,255,.7),transparent 30%),radial-gradient(circle at 8% 78%,rgba(255,215,156,.6),transparent 28%),linear-gradient(125deg,rgba(17, 24, 39, 0.94),rgba(17, 21, 29, 0.70))}
html[data-theme="dark"] .marketing-showcase__hero:after, html[data-theme="dark"] .contact-page__hero:after{border:1px solid rgba(17, 24, 39, 0.85);box-shadow:0 0 0 32px rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .marketing-showcase__hero--case-study:before{border:1px solid rgba(17, 24, 39, 0.85);box-shadow:18px 20px 0 rgba(17, 24, 39, 0.72),0 18px 30px rgba(34,48,81,.22)}
html[data-theme="dark"] .marketing-showcase__hero p, html[data-theme="dark"] .contact-page__hero p{color:#9ea8b9}
html[data-theme="dark"] .marketing-showcase__text-link{color:#b4bfd6}
html[data-theme="dark"] .marketing-showcase__proof, html[data-theme="dark"] .contact-page__trust{color:#a6b0c2}
html[data-theme="dark"] .marketing-price-card, html[data-theme="dark"] .marketing-case-card{border:1px solid rgba(32, 39, 55, 0.90);background:rgba(17, 24, 39, 0.78)}
html[data-theme="dark"] .marketing-price-card.is-featured{background:linear-gradient(155deg,#1e1a11,#151a26 45%,#15111d)}
html[data-theme="dark"] .marketing-price-card p{color:#9ca2b3}
html[data-theme="dark"] .marketing-price-card strong{color:#c8d1e4}
html[data-theme="dark"] .marketing-price-card ul{color:#a4acbd}
html[data-theme="dark"] .marketing-case-card p{color:#959eb1}
html[data-theme="dark"] .marketing-case-card__metric span{color:#8c97ab}
html[data-theme="dark"] .marketing-case-card__art{background:linear-gradient(135deg,#f7bd55,#362a1f 47%,#cbd9ff)}
html[data-theme="dark"] .marketing-case-card__art:before{border:1px solid rgba(17, 24, 39, 0.80)}
html[data-theme="dark"] .marketing-case-card .art-1{background:linear-gradient(135deg,#bce2ff,#16121f 50%,#ffd5af)}
html[data-theme="dark"] .marketing-case-card .art-2{background:linear-gradient(135deg,#223c29,#362d1f 55%,#3c2228)}
html[data-theme="dark"] .contact-page__info{border:1px solid rgba(17, 24, 39, 0.85);background:linear-gradient(145deg,rgba(27, 24, 16, 0.92),rgba(17, 24, 39, 0.80))}
html[data-theme="dark"] .contact-page__info>p, html[data-theme="dark"] .contact-page__form>p{color:#9ba4b4}
html[data-theme="dark"] .contact-page__info i{background:#362f1f}
html[data-theme="dark"] .contact-page__info b{color:#8994a8}
html[data-theme="dark"] .contact-page__info a, html[data-theme="dark"] .contact-page__info span{color:#c8d2e5}
html[data-theme="dark"] .marketing-showcase__details{color:#a6b0c3}
html[data-theme="dark"] .marketing-content-section{border:1px solid rgba(32, 40, 56, 0.92);background:linear-gradient(135deg,rgba(17, 24, 39, 0.90),rgba(17, 24, 39, 0.72))}
html[data-theme="dark"] .marketing-content-section h2{color:#c8d2e5}
html[data-theme="dark"] .marketing-content-section header>p{color:#9da6b6}
html[data-theme="dark"] .marketing-content-section__items article{border:1px solid rgba(32, 39, 54, 0.92);background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .marketing-content-section__items i{background:#383020}
html[data-theme="dark"] .marketing-content-section__items h3{color:#c1cde1}
html[data-theme="dark"] .marketing-content-section__items p{color:#9ba4b4}
html[data-theme="dark"] .marketing-content-section--timeline .marketing-content-section__items article{border-color:#202838;background:linear-gradient(145deg,rgba(17, 24, 39, 0.85),rgba(17, 22, 29, 0.65))}
html[data-theme="dark"] .marketing-content-section--timeline .marketing-content-section__items article:not(:last-child):after{border-top:1px dashed #313a4a}
html[data-theme="dark"] .marketing-content-note{border:1px solid rgba(32, 41, 55, 0.95);background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .marketing-content-note>i{background:#383020}
html[data-theme="dark"] .marketing-content-note p{color:#96a0b2}
html[data-theme="dark"] .marketing-showcase__widget{border:1px solid rgba(32, 40, 56, 0.92);background:rgba(17, 24, 39, 0.75)}
@media(max-width:760px){html[data-theme="dark"] .marketing-content-section--timeline .marketing-content-section__items article:not(:last-child):after{border-left:1px dashed #313a4a}}
html[data-theme="dark"] .migi-blog__hero{border:1px solid rgba(17, 24, 39, 0.88);background:radial-gradient(circle at 88% 16%,rgba(183,221,255,.7),transparent 26%),radial-gradient(circle at 10% 82%,rgba(255,210,148,.56),transparent 28%),linear-gradient(125deg,rgba(17, 24, 39, 0.95),rgba(17, 24, 39, 0.74))}
html[data-theme="dark"] .migi-blog__hero:after{border:1px solid rgba(17, 24, 39, 0.78);box-shadow:0 0 0 28px rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .migi-blog__hero h1{color:#c9d3e5}
html[data-theme="dark"] .migi-blog__hero p{color:#9ea7b8}
html[data-theme="dark"] .migi-blog-search{border:1px solid rgba(34, 42, 57, 0.90);background:rgba(17, 24, 39, 0.76)}
html[data-theme="dark"] .migi-blog-search input{color:#bfcae0}
html[data-theme="dark"] .migi-blog__categories a{border:1px solid #212936;background:rgba(17, 24, 39, 0.72);color:#a7b0c1}
html[data-theme="dark"] .migi-blog__categories a:hover, html[data-theme="dark"] .migi-blog__categories a.is-active{background:#362e1f}
html[data-theme="dark"] .migi-blog__categories small{color:#8893a9}
html[data-theme="dark"] .migi-blog-featured{border:1px solid rgba(32, 40, 56, 0.90);background:rgba(17, 24, 39, 0.76)}
html[data-theme="dark"] .migi-blog-featured h2 a, html[data-theme="dark"] .migi-blog-card h3 a{color:#c8d2e5}
html[data-theme="dark"] .migi-blog-featured p, html[data-theme="dark"] .migi-blog-card p{color:#99a2b3}
html[data-theme="dark"] .migi-blog__meta{color:#8d98ab}
html[data-theme="dark"] .migi-blog__heading>p, html[data-theme="dark"] .migi-blog__heading>a{color:#949eb0}
html[data-theme="dark"] .migi-blog-card{border:1px solid rgba(32, 40, 56, 0.90);background:rgba(17, 24, 39, 0.78)}
html[data-theme="dark"] .migi-blog-card__image{background:#1e2635}
html[data-theme="dark"] .migi-blog__empty{border:1px dashed #242d3c;background:rgba(17, 24, 39, 0.72);color:#9ea7b8}
html[data-theme="dark"] .migi-blog__empty b{color:#bdc8de}
html[data-theme="dark"] .migi-article__crumb{color:#939dae}
html[data-theme="dark"] .migi-article__content{border:1px solid rgba(34, 40, 55, 0.90);background:rgba(17, 24, 39, 0.79)}
html[data-theme="dark"] .migi-article__content h1{color:#c9d3e5}
html[data-theme="dark"] .migi-article__content header>p{color:#9ba4b5}
html[data-theme="dark"] .migi-article__body{color:#b1bccf}
html[data-theme="dark"] .migi-article__body h2, html[data-theme="dark"] .migi-article__body h3{color:#c5d0e3}
html[data-theme="dark"] .migi-article__content footer{border-top:1px solid #232934;color:#a8b1c3}
html[data-theme="dark"] .migi-public-page__hero{border:1px solid rgba(17, 24, 39, 0.88);background:radial-gradient(circle at 86% 16%,rgba(34, 41, 59, 0.75),transparent 28%),radial-gradient(circle at 12% 83%,rgba(255,216,155,.58),transparent 29%),rgba(17, 24, 39, 0.83)}
html[data-theme="dark"] .migi-public-page__hero:after{border:1px solid rgba(17, 24, 39, 0.85);box-shadow:0 0 0 30px rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .migi-public-page__hero h1{color:#c8d3e5}
html[data-theme="dark"] .migi-public-page__hero p{color:#a0a9ba}
html[data-theme="dark"] .migi-public-page__content, html[data-theme="dark"] .migi-public-page__widget{border:1px solid rgba(32, 40, 56, 0.90);background:rgba(17, 24, 39, 0.80);color:#adb8ca}
html[data-theme="dark"] .migi-public-page__content h2, html[data-theme="dark"] .migi-public-page__content h3{color:#c5d0e3}
html[data-theme="dark"] .migi-public-page__cta{background:linear-gradient(110deg,rgba(60, 51, 34, 0.88),rgba(17, 24, 39, 0.83))}
html[data-theme="dark"] .migi-public-page__cta b{color:#c1cce1}
html[data-theme="dark"] .migi-public-page__cta span{color:#9fa7b7}
html[data-theme="dark"] .migi-account__notice{border:2px solid #151a26}
html[data-theme="dark"] .migi-user-menu__verify{background:#372f1f!important}
html[data-theme="dark"] .migi-article__toc{background:linear-gradient(135deg,#1f1a12,#151a26)}
html[data-theme="dark"] .migi-article__toc b{color:#bbc8de}
html[data-theme="dark"] .migi-member-page__head p{color:#95a0b2}
html[data-theme="dark"] .migi-member-plugin-card, html[data-theme="dark"] .marketing-showcase__card, html[data-theme="dark"] .marketing-showcase__empty{border:1px solid rgba(32, 41, 56, 0.95);background:rgba(17, 24, 39, 0.80)}
html[data-theme="dark"] .migi-member-plugin-card p, html[data-theme="dark"] .marketing-showcase__card p{color:#9ba4b4}
html[data-theme="dark"] .migi-member-plugin-card dt{color:#8d98ab}
html[data-theme="dark"] .migi-member-plugin-card dd{color:#b7c1d5}
html[data-theme="dark"] .migi-member-plugin-card__status{background:#1e3427;color:#b3dac6}
html[data-theme="dark"] .migi-member-plugin-card__status.is-pending{background:#373020}
html[data-theme="dark"] .marketing-showcase__hero{border:1px solid rgba(17, 24, 39, 0.90);background:radial-gradient(circle at 88% 20%,rgba(209,177,255,.38),transparent 23%),radial-gradient(circle at 12% 82%,rgba(255,199,126,.44),transparent 25%),rgba(17, 24, 39, 0.73)}
html[data-theme="dark"] .marketing-showcase__hero p{color:#9ea8b9}
html[data-theme="dark"] .migi-user-menu a>i, html[data-theme="dark"] .migi-user-menu button>i{color:#949eb1}
html[data-theme="dark"] .migi-user-menu a:hover, html[data-theme="dark"] .migi-user-menu button:hover{background:#19150e}
html[data-theme="dark"] .migi-account__chevron{color:#8893a9}
html[data-theme="dark"] .member-menu a>i{color:#94a0b3}
html[data-theme="dark"] .marketing-showcase__card-footer small{color:#959eb1}
html[data-theme="dark"] .marketing-showcase__cta{background:#1e1911}
html[data-theme="dark"] .case-detail__crumb{color:#939dae}
html[data-theme="dark"] .case-detail__hero{border:1px solid rgba(17, 24, 39, 0.88);background:radial-gradient(circle at 92% 12%,rgba(194,178,255,.54),transparent 27%),radial-gradient(circle at 6% 90%,rgba(255,200,125,.43),transparent 26%),rgba(17, 24, 39, 0.79)}
html[data-theme="dark"] .case-detail__hero h1{color:#cad3e5}
html[data-theme="dark"] .case-detail__hero p{color:#9ea7b8}
html[data-theme="dark"] .case-detail__link{color:#aebbce}
html[data-theme="dark"] .case-detail__hero figure{background:#222c3b}
html[data-theme="dark"] .case-detail__hero figure div{border:1px solid rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .case-detail__overview article{border:1px solid rgba(32, 41, 56, 0.95);background:rgba(17, 24, 39, 0.76)}
html[data-theme="dark"] .case-detail__overview i{background:#382f20}
html[data-theme="dark"] .case-detail__overview article:nth-child(2) i{background:#10121c}
html[data-theme="dark"] .case-detail__overview article:nth-child(3) i{background:#1f372a;color:#aad6c4}
html[data-theme="dark"] .case-detail__overview span{color:#b8c2d5}
html[data-theme="dark"] .case-detail__overview p{color:#9aa3b3}
html[data-theme="dark"] .case-detail__gallery h2{color:#c8d3e5}
html[data-theme="dark"] .case-detail__gallery p{color:#95a0b2}
html[data-theme="dark"] .case-detail__gallery figure{background:#212936}
html[data-theme="dark"] .case-detail__cta{border:1px solid rgba(17, 24, 39, 0.88);background:linear-gradient(110deg,rgba(60, 51, 34, 0.85),rgba(19, 16, 29, 0.85))}
html[data-theme="dark"] .case-detail__cta h2{color:#c7d1e4}
html[data-theme="dark"] .case-detail__cta p{color:#9da6b7}
html[data-theme="dark"] .template-library__preview{border:1px solid #242d3a;background:rgba(17, 24, 39, 0.72);color:#a6b0c1!important}
html[data-theme="dark"] .template-library__preview:hover{background:#1b170f}
html[data-theme="dark"] .template-library__platform{color:#9ea8b8}
html[data-theme="dark"] .template-library__purchase button, html[data-theme="dark"] .template-library__purchase a{color:#a6b0c1}
html[data-theme="dark"] .migi-widget{border:1px solid rgba(33, 41, 57, 0.90);background:rgba(17, 24, 39, 0.78)}
html[data-theme="dark"] .migi-widget h2{color:#c7d1e4}
html[data-theme="dark"] .migi-widget p{color:#9da6b7}
html[data-theme="dark"] .migi-widget--hero{background:linear-gradient(120deg,#372f20,rgba(16, 19, 29, 0.92))}
html[data-theme="dark"] .migi-widget__grid article{border:1px solid #222a36;background:#151a26}
html[data-theme="dark"] .migi-widget__grid article b{color:#bcc9de}
html[data-theme="dark"] .migi-widget__empty{color:#949eb1}
html[data-theme="dark"] .migi-widget--cta{background:linear-gradient(110deg,#3b3322,rgba(16, 14, 25, 0.82))}
html[data-theme="dark"] .template-library__icon-actions{background:#151a26}
html[data-theme="dark"] .template-library__icon-actions>a+button, html[data-theme="dark"] .template-library__icon-actions>a+a{border-left:1px solid #222b3a}
html[data-theme="dark"] .template-library__icon-actions>a:hover, html[data-theme="dark"] .template-library__icon-actions>button:hover{background:#11161e}
html[data-theme="dark"] .template-library__platform{border:1px solid #222b3a;background:#151a26}
html[data-theme="dark"] .template-purchase-modal__dialog{border:1px solid rgba(17, 24, 39, 0.88);background:linear-gradient(140deg,#151a26,#131521 55%,#1a150f);color:#c9d3e5}
html[data-theme="dark"] .template-purchase-modal__close{background:#0f141b;color:#afbcd1}
html[data-theme="dark"] .template-purchase-modal__details{border-top:1px solid #212937}
html[data-theme="dark"] .template-purchase-modal__details div{border-bottom:1px solid #212937}
html[data-theme="dark"] .template-purchase-modal__details span{color:#949eb1}
html[data-theme="dark"] .template-purchase-modal__details b{color:#c6d1e4}
html[data-theme="dark"] .template-purchase-modal__notice{background:#342e1e;color:#dacdb3}
html[data-theme="dark"] .template-purchase-modal__footer .migi-button--secondary{background:#151a26;border:1px solid #242d3a;color:#b0bccf}
/* public/css/homepage.css */
html[data-theme="dark"]{--home-ink:#e6e6e3;--home-muted:#b8b8b4;--home-border:#35322b}
html[data-theme="dark"] body.ar-body{background:#151a26}
html[data-theme="dark"] .ar-navbar{background:#151a26}
html[data-theme="dark"] .migi-logo__migi{color:#e4e4e4}
html[data-theme="dark"] .migi-logo__digital{color:#e4e4e4}
html[data-theme="dark"] .ar-nav a, html[data-theme="dark"] .ar-nav button, html[data-theme="dark"] .ar-nav__dropdown summary{color:#e2e2df}
html[data-theme="dark"] .ar-nav a:hover, html[data-theme="dark"] .ar-nav button:hover, html[data-theme="dark"] .ar-nav__dropdown summary:hover{background:#1a170f}
html[data-theme="dark"] .ar-nav .ar-nav__cta{color:#ece4d8}
html[data-theme="dark"] .home-hero{background:#171612}
html[data-theme="dark"] .home-hero::after{background:linear-gradient(90deg, rgba(17, 24, 39, 0.98) 0%, rgba(17, 24, 39, 0.96) 34%, rgba(17, 24, 39, 0.72) 49%, rgba(17, 24, 39, 0.72) 67%)}
html[data-theme="dark"] .home-hero__lead{color:#c4c4c1}
html[data-theme="dark"] .home-btn{color:#e9e1d2}
html[data-theme="dark"] .home-btn--outline{background:#151a26}
html[data-theme="dark"] .home-btn--small{background:#151a26}
html[data-theme="dark"] .home-rating{color:#d2d2ce}
html[data-theme="dark"] .home-rating small{color:#c2c2be}
html[data-theme="dark"] .home-avatars span{border:3px solid #151a26}
html[data-theme="dark"] .home-benefits{background:#151a26;border:1px solid #353129}
html[data-theme="dark"] .home-benefit{border-right:1px solid #343027}
html[data-theme="dark"] .home-section::before{background:#151a26}
html[data-theme="dark"] .home-service-card{border:1px solid #353129}
html[data-theme="dark"] .home-kpis{background:#1d1911}
html[data-theme="dark"] .home-kpis > div{border-right:1px solid #3d3931}
html[data-theme="dark"] .home-kpis span{color:#d5d5d0}
html[data-theme="dark"] .home-projects-section::before{background:linear-gradient(110deg, #1f1a12 0%, #131722 50%, #22131a 100%)}
html[data-theme="dark"] .home-project-card{border:1px solid #36332d;background:#151a26}
html[data-theme="dark"] .home-project-card__image span{background:rgba(17, 24, 39, 0.94)}
html[data-theme="dark"] .home-project-card__body p{color:#a8a8a3}
html[data-theme="dark"] .home-project-card__metric{color:#b0d9c4}
html[data-theme="dark"] .home-audit-band{background:linear-gradient(100deg,#19160e 0%,#151a26 48%,#11151e 100%)}
html[data-theme="dark"] .home-audit .home-eyebrow{color:#dccdb6}
html[data-theme="dark"] .home-audit form{border:1px solid rgba(17, 24, 39, 0.72);background:rgba(17, 24, 39, 0.85)}
html[data-theme="dark"] .home-audit form label span{color:#d9cbb0}
html[data-theme="dark"] .home-audit input{border:1px solid #433927;background:#151a26}
html[data-theme="dark"] .home-audit form small{color:#d9cbb0}
html[data-theme="dark"] .home-quote blockquote{color:#d0d0cb}
html[data-theme="dark"] .home-quote__author small{color:#b1b1ab}
html[data-theme="dark"] .home-slider__nav{color:#b2b2ad}
html[data-theme="dark"] .home-slider__nav button{border:1px solid #38352d;background:#151a26;color:#c0c0b3}
html[data-theme="dark"] .home-news::before{background:linear-gradient(120deg, #131722 0%, #1b1422 50%, #1f1a12 100%)}
html[data-theme="dark"] .home-card-slider .home-slider__nav--sides button{border-color:#4a3f2a}
html[data-theme="dark"] .home-news-card{border:1px solid #35322b;background:#151a26}
html[data-theme="dark"] .home-news-card time{color:#b1b1ab}
@media (max-width: 860px){html[data-theme="dark"] .home-mobile-menu summary{border:1px solid #3b3831}}
@media (max-width: 860px){html[data-theme="dark"] .home-mobile-menu > div{border:1px solid #3a352c;background:#151a26}}
@media (max-width: 860px){html[data-theme="dark"] .home-mobile-menu a{color:#e2e2df}}
@media (max-width: 860px){html[data-theme="dark"] .home-hero::after{background:linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.82))}}
@media (max-width: 860px){html[data-theme="dark"] .home-benefit, html[data-theme="dark"] .home-benefit:nth-child(3){border-bottom:1px solid #343027}}
@media (max-width: 560px){html[data-theme="dark"] .home-benefit{border-bottom:1px solid #343027}}
/* resources/views/api/online-chat.blade.php */
html[data-theme="dark"] body{background:#13151e}
html[data-theme="dark"] main{background:#151a26}
html[data-theme="dark"] .msg{background:#10141d}
html[data-theme="dark"] .meta{color:#b5b5b5}
html[data-theme="dark"] input[type=text]{border:1px solid #252d42}
/* resources/views/auth/phone-verify.blade.php */
html[data-theme="dark"] .migi-verify-channels label{border:1px solid #232c3b}
html[data-theme="dark"] .migi-verify-channels label:has(input:checked){background:#362f1f;color:#d5c1a8}
/* resources/views/components/auth/quick-modal.blade.php */
html[data-theme="dark"] .migi-auth-modal__dialog{border:1px solid rgba(17, 24, 39, 0.85);background:linear-gradient(145deg,rgba(17, 24, 39, 0.98),rgba(17, 24, 39, 0.94))}
html[data-theme="dark"] .migi-auth-modal__dialog h2{color:#c9d3e5}
html[data-theme="dark"] .migi-auth-modal__dialog>div>p{color:#99a4b7}
html[data-theme="dark"] .migi-auth-modal__close{background:#10151c;color:#aebacc}
html[data-theme="dark"] .migi-auth-modal__tabs{background:#0f1319}
html[data-theme="dark"] .migi-auth-modal__tabs button{color:#99a4b7}
html[data-theme="dark"] .migi-auth-modal__tabs button.is-active{background:#151a26}
html[data-theme="dark"] .migi-auth-modal__form label{color:#b5c1d6}
html[data-theme="dark"] .migi-auth-modal__form input:not([type=checkbox]){border:1px solid #252e3c;background:#151a26;color:#c3cfe2}
html[data-theme="dark"] .migi-auth-modal__check{color:#99a4b7!important}
html[data-theme="dark"] .migi-auth-modal__dialog .migi-social-login small{color:#8c97ab}
/* resources/views/components/layout/contact-bar.blade.php */
html[data-theme="dark"] .migi-contact-modal__dialog{border:1px solid rgba(17, 24, 39, 0.72);background:rgba(17, 24, 39, 0.95)}
html[data-theme="dark"] .migi-contact-modal__dialog p{color:#9ea8bb}
html[data-theme="dark"] .migi-contact-modal__close{background:#0f1319}
html[data-theme="dark"] .migi-contact-form label{color:#bbc8de}
html[data-theme="dark"] .migi-contact-form input, html[data-theme="dark"] .migi-contact-form textarea{border:1px solid #242d3a;background:#151a26}
/* resources/views/components/layout/marketing-popup.blade.php */
html[data-theme="dark"] .migi-promo__dialog{border:1px solid rgba(17, 24, 39, 0.72);background:rgba(17, 24, 39, 0.96)}
html[data-theme="dark"] .migi-promo__dialog h2{color:#cbd4e6}
html[data-theme="dark"] .migi-promo__dialog p{color:#9ea8bb}
html[data-theme="dark"] .migi-promo__close{background:#0f1319}
/* resources/views/components/ui/image-upload.blade.php */
html[data-theme="dark"] .ar-upload__drop{border:1.5px dashed #2c343f;background:#13191f}
html[data-theme="dark"] .ar-upload__drop:hover, html[data-theme="dark"] .ar-upload.is-dragover .ar-upload__drop{background:#1e1911}
html[data-theme="dark"] .ar-upload__preview{background:#202835 center/cover no-repeat;color:#8d9bb0}
html[data-theme="dark"] .ar-upload__text strong{color:#c6d0e2}
html[data-theme="dark"] .ar-upload__text small{color:#9ba6b5}
html[data-theme="dark"] .ar-upload__button{background:#151a26;border:1px solid #242d3a;color:#bbc8de}
/* resources/views/layouts/legacy-admin.blade.php */
html[data-theme="dark"]{--admin-bg:#11151e;--text:#cbd4e6;--muted:#a2a9b7;--line:#292d33;--card:#151a26}
html[data-theme="dark"] .legacy-brand__mark{color:#d2dae9}
html[data-theme="dark"] .legacy-menu-link:hover{background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .legacy-topbar{background:rgba(17, 24, 39, 0.86);border-bottom:1px solid rgba(41, 45, 51, 0.85)}
html[data-theme="dark"] .stat-card__icon{background:#1a160f}
html[data-theme="dark"] .legacy-btn{color:#d2dae9}
html[data-theme="dark"] .legacy-btn--light{background:#151a26}
html[data-theme="dark"] .legacy-btn--light:hover{background:#16191c}
html[data-theme="dark"] .legacy-btn--danger{background:#1e1211;border-color:#392321}
html[data-theme="dark"] .legacy-table th{background:#13191f;color:#b1bbc9}
html[data-theme="dark"] .legacy-table tr:hover td{background:#1e1a11}
html[data-theme="dark"] .legacy-badge{background:#10151d}
html[data-theme="dark"] .legacy-badge--green{background:#0f1b14;color:#b9ddce}
html[data-theme="dark"] .legacy-badge--red{background:#1e1211}
html[data-theme="dark"] .legacy-badge--amber{background:#1b1810}
html[data-theme="dark"] .legacy-input{border:1px solid #31353c;background:#151a26}
html[data-theme="dark"] .legacy-technical{border:1px dashed rgba(17, 24, 39, 0.72)}
/* resources/views/user/profile.blade.php */
html[data-theme="dark"] .account-menu a, html[data-theme="dark"] .account-menu button{border:1px solid #2a2d32;background:#151a26;color:#d2dae9}
html[data-theme="dark"] .account-menu__arrow{color:#8794a8}
html[data-theme="dark"] .account-menu a.is-active{background:#1b1910}
html[data-theme="dark"] .profile-table td{border-bottom:1px solid #2a2d32}
html[data-theme="dark"] .profile-table td:first-child{color:#9ea9b9}
/* resources/views/website/dashboard.blade.php */
html[data-theme="dark"] .member-menu a{color:#cbd4e6}
html[data-theme="dark"] .member-menu a > i:first-child{color:#94a0b3}
html[data-theme="dark"] .member-menu__meta{color:#a5b0c3}
html[data-theme="dark"] .member-menu__arrow{color:#8794a8 !important}
html[data-theme="dark"] .member-menu a.is-active{background:linear-gradient(100deg,#383120,#231d14)}
html[data-theme="dark"] .site-kpi{border:1px solid rgba(37, 44, 54, 0.90)}
html[data-theme="dark"] .site-kpi--all .site-kpi__icon{background:#11161d}
html[data-theme="dark"] .site-kpi--live .site-kpi__icon{color:#add8cb;background:#0f1b15}
html[data-theme="dark"] .site-kpi--due .site-kpi__icon{background:#1c1710}
html[data-theme="dark"] .site-kpi__label{color:#9ea9b9}
html[data-theme="dark"] .site-kpi__value{color:#cbd4e6}
html[data-theme="dark"] .site-kpi__note{color:#94a0b3}
html[data-theme="dark"] .template-card__media{background:#37321f}
html[data-theme="dark"] .template-tag{background:#37321f}
html[data-theme="dark"] .site-row{border-bottom:1px solid #252c36}
html[data-theme="dark"] .member-verify-notice{background:linear-gradient(110deg,#19160e,#211e13);color:#dfd2bd}
/* resources/views/website/email-detail.blade.php */
html[data-theme="dark"] .email-detail__label{color:#9ea9b9}
html[data-theme="dark"] .email-detail__table th, html[data-theme="dark"] .email-detail__table td{border-bottom:1px solid #252c36}
html[data-theme="dark"] .email-detail__table th{color:#9ea9b9}
html[data-theme="dark"] .email-detail__badge{background:#203828;color:#b9ddc7}
html[data-theme="dark"] .email-detail__badge--muted{background:#10151a;color:#b0baca}
/* resources/views/website/manage.blade.php */
html[data-theme="dark"] .manage-kpi__label{color:#9ea9b9}
html[data-theme="dark"] .manage-kpi__value{color:#d2dae9}
html[data-theme="dark"] .manage-log{border-bottom:1px solid #252c36}
html[data-theme="dark"] .manage-plugin{border-bottom:1px solid #252c36}
/* resources/views/website/member-service-order.blade.php */
html[data-theme="dark"] .form-grid input, html[data-theme="dark"] .form-grid select{border:1px solid #252c3b}
html[data-theme="dark"] .service-choice{border:1px solid #242934}
html[data-theme="dark"] .service-choice em{color:#9ea9b9}
/* resources/views/website/preview.blade.php */
html[data-theme="dark"] body{background:#242930;color:#cbd4e6}
html[data-theme="dark"] .preview-toolbar{background:rgba(17, 24, 39, 0.96)}
html[data-theme="dark"] .preview-toolbar a, html[data-theme="dark"] .preview-toolbar button{color:#aebbce}
html[data-theme="dark"] .preview-toolbar__controls button.is-active{background:#1e2635}
html[data-theme="dark"] .preview-action--buy{background:#151a26!important;color:#cbd4e6!important}
html[data-theme="dark"] .preview-canvas{background:#292d32}
html[data-theme="dark"] .preview-browser, html[data-theme="dark"] .preview-shot{background:#151a26}
html[data-theme="dark"] .preview-notice{background:#1a170f;color:#dbcdb4}
html[data-theme="dark"] .preview-empty{color:#95a0b3}
html[data-theme="dark"] .preview-canvas{background:radial-gradient(circle at 50% 0,#13191f 0,#292d32 58%)}
html[data-theme="dark"] .preview-device::after{background:linear-gradient(180deg,#363b40,#7f8996)}
html[data-theme="dark"] .preview-stage.is-mobile .preview-device::after{background:#131518}
html[data-theme="dark"] .preview-trial-stamp{background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .preview-purchase__box{background:linear-gradient(135deg,#151a26,#121520)}
html[data-theme="dark"] .preview-purchase__grid{border-top:1px solid #232a37}
html[data-theme="dark"] .preview-purchase__grid div{border-bottom:1px solid #232a37}
html[data-theme="dark"] .preview-purchase__grid span{color:#949fb2}
html[data-theme="dark"] .preview-purchase__notice{background:#373020;color:#ddd1b7}
html[data-theme="dark"] .preview-purchase__cancel{background:#212832;color:#abb6c9}
html[data-theme="dark"] .preview-purchase__close{color:#a6b2c5}
/* resources/views/website/recharge.blade.php */
html[data-theme="dark"] .amount-presets button{background:#1c1710;color:#d5b2a7}
html[data-theme="dark"] .recharge-channel{border:2px solid #252c36;background:#151a26}
html[data-theme="dark"] .recharge-channel__label{color:#d2d9e9}
html[data-theme="dark"] .recharge-channel__kind{color:#d7bcac}
html[data-theme="dark"] .recharge-channel__bank{color:#b0baca}
html[data-theme="dark"] .recharge-detail{border:1px solid #252c36;background:#151a26}
html[data-theme="dark"] .recharge-qr{border:1px dashed #2e3640;background:#13191f;color:#9ea9b9}
html[data-theme="dark"] .recharge-instruction dt{color:#9ea9b9}
html[data-theme="dark"] .recharge-instruction dd{color:#d2d9e9}
html[data-theme="dark"] .recharge-content{background:#1c1710;color:#d5b2a7}
/* resources/views/website/trial-create.blade.php */
html[data-theme="dark"]{color:#cad3e5;background:#0f131a}
html[data-theme="dark"] .trial-shot__viewport{border:8px solid rgba(17, 24, 39, 0.96);background:#151a26}
html[data-theme="dark"] .trial-shot__empty{color:#9ea8b8}
html[data-theme="dark"] .trial-pane{background:radial-gradient(circle at 85% 4%,#1f2536,transparent 28%),#0f131a}
html[data-theme="dark"] .trial-close{color:#bbc6db}
html[data-theme="dark"] .trial-card{background:rgba(17, 24, 39, 0.94)}
html[data-theme="dark"] .trial-card>p{color:#94a0b3}
html[data-theme="dark"] .trial-notice{background:#3b3622;color:#e1d8c1}
html[data-theme="dark"] .trial-control{background:#151a26}
html[data-theme="dark"] .trial-control input{color:#bac7de}
html[data-theme="dark"] .trial-control input[readonly]{background:#131722;color:#9ea7b7}
html[data-theme="dark"] .trial-suffix{border-left:1px solid #222b3c;background:#131722;color:#acb8ce}
html[data-theme="dark"] .trial-template{border:1px solid #212a3a;background:#141922}
html[data-theme="dark"] .trial-error{background:#1e1112}
html[data-theme="dark"] .trial-foot{color:#949fb0}
html[data-theme="dark"] body{background:#12151f}
html[data-theme="dark"] .trial-pane{background:radial-gradient(circle at 8% 8%,rgba(202,206,255,.78),transparent 30%),radial-gradient(circle at 96% 80%,rgba(255,211,182,.68),transparent 32%),linear-gradient(135deg,#131721,#14111e 48%,#1d1511)}
html[data-theme="dark"] .trial-close{border:1px solid rgba(17, 24, 39, 0.88);background:rgba(17, 24, 39, 0.72)}
html[data-theme="dark"] .trial-card{border:1px solid rgba(17, 24, 39, 0.92);background:linear-gradient(135deg,rgba(17, 24, 39, 0.96),rgba(17, 24, 39, 0.86))}
html[data-theme="dark"] .trial-card>p{color:#9ba4b5}
html[data-theme="dark"] .trial-notice{background:linear-gradient(90deg,#19160e,#fff2cb)}
html[data-theme="dark"] .trial-control{border-color:#222b3c}
html[data-theme="dark"] .trial-progress__card{border:1px solid rgba(17, 24, 39, 0.90);background:linear-gradient(145deg,#151a26,#131722)}
html[data-theme="dark"] .trial-progress h2{color:#cad3e5}
html[data-theme="dark"] .trial-progress p{color:#939fb4}
html[data-theme="dark"] .trial-progress__bar{background:#202736}
html[data-theme="dark"] .trial-progress__step{color:#8994ab}
html[data-theme="dark"] .trial-progress__step i{background:#0e1218}
html[data-theme="dark"] .trial-progress__step.is-current, html[data-theme="dark"] .trial-progress__step.is-done{color:#c2cce2}
html[data-theme="dark"] .trial-shot__viewport::-webkit-scrollbar-thumb{background:linear-gradient(rgba(17, 24, 39, 0.72),#b8c9ffb8)}
/* Hand-written dark-theme touches appended to public/css/dark.css by scripts/build-dark-css.py. */
html[data-theme="dark"] img:not([src$=".svg"]) { filter: brightness(.92); }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { background-color: #0f172a; color: #e4e7ec; border-color: #334155; }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #7b8798; }
html[data-theme="dark"] a:not([class]) { color: #fdb022; }
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 { color: #f2f4f7; }
html[data-theme="dark"] hr { border-color: #243042; }
html[data-theme="dark"] table th,
html[data-theme="dark"] table td { border-color: #243042; }

/* Theme switcher (header). */
.migi-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(23, 32, 51, .12); border-radius: 999px; background: rgba(255, 255, 255, .7); color: #263550; cursor: pointer; transition: background .16s, color .16s; }
.migi-theme-toggle:hover { color: var(--migi-orange, #f5a000); }
.migi-theme-toggle i { font-size: 15px; }
html[data-theme="dark"] .migi-theme-toggle { border-color: #334155; background: rgba(17, 24, 39, .8); color: #fdb022; }

/* Gold fills keep dark text (the generator cannot see the fill set in another rule). */
html[data-theme="dark"] .home-btn--gold { color: #2c210c; }

