/* Dark theme. html[data-theme] is set in <head> from the saved choice or the system preference. */
[data-theme=dark]{--blue:#4d7cff;--ink:#e6ebf5;--muted:#9aa6bd;--line:#26314a;--bg:#0c1220;--surface:#141c2e;--surface-2:#1b2539;--blue-soft:#1c2a4f;color-scheme:dark}
[data-theme=dark] body{background:var(--bg);color:var(--ink)}
[data-theme=dark] .btn:hover{background:#6b93ff}
[data-theme=dark] .hero .hero-copy:before{color:#121a2b}
[data-theme=dark] .hero-art{background-color:#10182a;background-image:radial-gradient(#22304f 1px,transparent 1px)}
[data-theme=dark] .orb{background:linear-gradient(140deg,#17264a,#122042);border-color:#253a6b}
[data-theme=dark] .phone{background:#0f1726;border-color:#1b2539;box-shadow:0 25px 70px #00000066}
[data-theme=dark] :is(.phone-top,.phone-bottom,.bubble:not(.mine),.confirmation){background:var(--surface)}
[data-theme=dark] .times span{background:var(--surface);border-color:var(--line)}
[data-theme=dark] .times .selected{background:var(--blue)}
[data-theme=dark] .confirmation>span{background:#173326;color:#5fd08f}
[data-theme=dark] .float-tag{border-color:var(--line)}
[data-theme=dark] .float-bottom{background:var(--surface-2);color:var(--ink)}
[data-theme=dark] :is(.icon,.side-label>span){background:var(--blue-soft)}
[data-theme=dark] .solutions article:hover{background:var(--surface)}
[data-theme=dark] .demo-section{background:#0f1729}
[data-theme=dark] .tabs button{border-color:#2c3a5a;color:var(--ink)}
[data-theme=dark] .tabs button.active{color:white;border-color:var(--blue)}
[data-theme=dark] .owner-panel{background:var(--surface);border-color:var(--line);box-shadow:0 20px 50px #0000004d}
[data-theme=dark] .owner-stat{background:var(--surface-2)}
[data-theme=dark] .owner-empty{border-color:#2c3a5a}
[data-theme=dark] .owner-booking{background:#102219;border-color:#24533b}
[data-theme=dark] .booking-badge{color:#5fd08f}
[data-theme=dark] .booking-note{color:#86b896;border-color:#1f3d2c}
[data-theme=dark] .comparison article{background:var(--surface)}
[data-theme=dark] .comparison article:nth-child(2){background:#2a4fd6}
[data-theme=dark] .mini-chat span{background:var(--surface-2)}
[data-theme=dark] .mini-chat span:nth-child(2){background:#0f1626;color:var(--muted)}
[data-theme=dark] .contact{background:linear-gradient(120deg,#111b36,#1a2c5e);border:1px solid var(--line)}
[data-theme=dark] .site-hero{background:#1c2a4f}

/* Telegram night palette */
[data-theme=dark] .telegram{background:#17212b;border-color:#2a3546;box-shadow:0 30px 65px #00000066}
[data-theme=dark] :is(.tg-status,.telegram .demo-title,.tg-compose){background:#17212b;color:#e9eef4}
[data-theme=dark] .telegram .demo-title{border-color:#0f161e}
[data-theme=dark] .telegram #demo-content{background-color:#0e1621;background-image:radial-gradient(ellipse at 20% 30%,#1a283a8c 0,transparent 55%),radial-gradient(ellipse at 80% 80%,#14303066 0,transparent 65%)}
[data-theme=dark] .tg-date{background:#1e2c3a99}
[data-theme=dark] :is(.tg-message,.tg-typing){background:#182533;color:#e9eef4;box-shadow:none}
[data-theme=dark] .tg-message small{color:#6d7f8f}
[data-theme=dark] .tg-message.outgoing{background:#2b5278}
[data-theme=dark] .tg-message.outgoing small{color:#7fa7cc}
[data-theme=dark] .tg-buttons button{background:#ffffff14;color:#6ab3f3}
[data-theme=dark] .tg-buttons button:hover{background:#ffffff22}
[data-theme=dark] .tg-buttons button.chosen,[data-theme=dark] .tg-buttons .tg-webapp{background:#2b5278;color:white}
[data-theme=dark] :is(.telegram .restart,.tg-back){color:#6ab3f3}
[data-theme=dark] .tg-footnote{color:#6d7f8f}

/* Mini App / site sheets */
[data-theme=dark] .tg-sheet{background:#0f1726}
[data-theme=dark] .tg-sheet.tg-site{background:#0f1726}
[data-theme=dark] .tg-sheet:before{background:#33415c}
[data-theme=dark] .ma-head{background:#17212b;border-color:#0f161e}
[data-theme=dark] .site-bar{background:#0f1726}
[data-theme=dark] :is(.ma-card,.ma-chip,.ma-summary){background:var(--surface);color:var(--ink);box-shadow:none}
[data-theme=dark] .ma-chip{border-color:var(--line)}
[data-theme=dark] .ma-chip.selected{background:var(--blue);color:white}
[data-theme=dark] .ma-icon{background:var(--blue-soft)}
[data-theme=dark] .ma-main:disabled{background:#26324d;color:#7684a0}
[data-theme=dark] .ma-check circle{fill:#173326;stroke:#5fd08f}
[data-theme=dark] .ma-check path{stroke:#5fd08f}
[data-theme=dark] .ma-done .tg-cta{background:var(--blue-soft);color:#9db8ff}
[data-theme=dark] .owner-toast{background:#1b2539eb;box-shadow:0 14px 34px #00000066,0 0 0 1px #ffffff12}

/* Pricing */
[data-theme=dark] .price-card{background:var(--surface)}
[data-theme=dark] :is(.price-term,.price-card .price-after){background:var(--surface-2)}
[data-theme=dark] .price-card:hover{border-color:#34488a;box-shadow:0 18px 40px #00000059}
[data-theme=dark] .contact select option,[data-theme=dark] .contact select optgroup{color:var(--ink);background:var(--surface)}
