/* The same layout in two palettes. The default is dark. */
.theme-toggle{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--muted);transition:background .15s,color .15s}
.theme-toggle:hover{color:var(--blue);border-color:var(--blue)}
.theme-toggle .theme-sun{display:none}
[data-theme=dark] .theme-toggle .theme-sun{display:block}
[data-theme=dark] .theme-toggle .theme-moon{display:none}
[data-theme=dark]{color-scheme:dark;--bg:#10141b;--paper:#181e28;--ink:#edf1f7;--muted:#a4afbd;--line:#303a49;--blue:#86b6ff;--blue-soft:#21334b;--surface:#1d2532;--surface-deep:#151c26;--field:#121923;--green:#70c8a4}
[data-theme=dark] .header{background:#10141bf5;border-color:var(--line)}
[data-theme=dark] .button-blue{background:#397cdb;color:#fff}
[data-theme=dark] .button-blue:hover{background:#2e6ac1}
[data-theme=dark] .button-outline{background:var(--paper);border-color:#43516a;color:var(--ink)}
[data-theme=dark] .button-outline:hover{background:#263447;border-color:#7193bb}
[data-theme=dark] .hero-badge{color:#a6caff}
[data-theme=dark] .hero-notes .icon,[data-theme=dark] .hero-check,[data-theme=dark] .mini-file>span:last-child,[data-theme=dark] .url-demo>div .icon:last-child,[data-theme=dark] .price-card li .icon{color:var(--green)}
[data-theme=dark] .hero-art{background:var(--surface);border-color:#354154}
[data-theme=dark] .hero-art-top,[data-theme=dark] .hero-art-foot{color:var(--muted)}
[data-theme=dark] .hero-chat,[data-theme=dark] .telegram-window{background:var(--surface-deep);border-color:#364458;box-shadow:0 8px 20px #0003}
[data-theme=dark] .hero-chat-head,[data-theme=dark] .tg-header{background:#202b38;border-color:#344256}
[data-theme=dark] .hero-chat-body,[data-theme=dark] .tg-conversation{background-color:#151f2b;background-image:radial-gradient(#344455 0.6px,transparent 0.6px)}
[data-theme=dark] .hero-message,[data-theme=dark] .tg-intro,[data-theme=dark] .file-message{background:#273444;color:var(--ink);box-shadow:0 1px 2px #0002}
[data-theme=dark] .hero-message.sent-file{background:#25443f}
[data-theme=dark] .hero-message small,[data-theme=dark] .chat-label,[data-theme=dark] .tg-day,[data-theme=dark] .file-data>span,[data-theme=dark] .message-time{color:#aab9c9}
[data-theme=dark] .plain-file{background:#344e62;color:#a3d4fc}
[data-theme=dark] .download-text,[data-theme=dark] .file-data .file-download,[data-theme=dark] .tg-back,[data-theme=dark] .tg-input .icon{color:#92c7ff}
[data-theme=dark] .mock-buttons{color:#cae0f7}
[data-theme=dark] .mock-buttons span{background:#30455b}
[data-theme=dark] .mock-buttons span:last-child{background:#355780;color:#dbedff}
[data-theme=dark] .file-message p{color:#e1e9f1}
[data-theme=dark] .tg-input{background:#202b38;color:#afbccb}
[data-theme=dark] .formats-band,[data-theme=dark] .demo-grid,[data-theme=dark] .feature-card,[data-theme=dark] .price-card{background:var(--paper);border-color:var(--line)}
[data-theme=dark] .featured-plan{border-color:#659efa}
[data-theme=dark] .plan-tag{background:#3267b9;color:#fff}
[data-theme=dark] .live-tag{background:#26354a;color:#b9cde9}
[data-theme=dark] .upload-cover{background:var(--field);color:var(--muted);border-color:#53647b}
[data-theme=dark] .input-wrap,[data-theme=dark] #file-caption{background:var(--field);border-color:#435168;color:var(--ink)}
[data-theme=dark] .input-wrap:focus-within{border-color:var(--blue)}
[data-theme=dark] .demo-preview{background:var(--surface)}
[data-theme=dark] .mini-file,[data-theme=dark] .url-demo>span:first-child,[data-theme=dark] .url-demo>div{background:var(--field);border-color:var(--line);color:var(--ink)}
[data-theme=dark] .coming-chip{background:var(--field)}
[data-theme=dark] .import-chips>span{border-color:var(--line)}
[data-theme=dark] .step-number{border-color:#405a7b}
[data-theme=dark] .pricing-section{background:#141b25}
[data-theme=dark] .period-label,[data-theme=dark] .price-card li{color:var(--muted)}
[data-theme=dark] .faq-plus:before,[data-theme=dark] .faq-plus:after{background:#b4c2d2}
[data-theme=dark] .closing{background:#213149;border-color:#3b526f}
[data-theme=dark] .closing p:not(.eyebrow){color:#b5c8e0}
[data-theme=dark] .footer a:not(.brand){color:var(--blue)}
[data-theme=dark] .mobile-toggle span{background:var(--ink)}
@media(max-width:760px){.nav-shell{gap:9px}.theme-toggle{width:36px;height:38px}}
@media(max-width:430px){.nav-cta{display:none}.theme-toggle{margin-left:auto}}
