/* Light palette: scoped overrides preserve the shared responsive layout. */
html[data-theme="light"] body{background:#ffffff;color:#25263a}
html[data-theme="light"] button:focus-visible,html[data-theme="light"] a:focus-visible,html[data-theme="light"] input:focus-visible,html[data-theme="light"] select:focus-visible,html[data-theme="light"] textarea:focus-visible,html[data-theme="light"] summary:focus-visible{outline:3px solid #7664b4}
html[data-theme="light"] p{color:#5c5e73}
html[data-theme="light"] .header{border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .logo-sub{color:#5c5e73}
html[data-theme="light"] .nav a{color:#5c5e73}
html[data-theme="light"] .nav a.active,html[data-theme="light"] .nav a:hover{color:#311d87}
html[data-theme="light"] .lang{background:#ffffff;border:1px solid #d8d6e4}
html[data-theme="light"] .lang button{color:#5c5e73}
html[data-theme="light"] .lang button.active{background:#eeecf5;color:#312183}
html[data-theme="light"] .btn.secondary{border-color:#d8d6e4;background:#ffffff;color:#25263a}
html[data-theme="light"] .btn.secondary:hover{background:#eeecf5}
html[data-theme="light"] .btn.ghost{border-color:#d8d6e4;color:#5c5e73}
html[data-theme="light"] .icon-btn{background:#eeecf5;border:1px solid #d8d6e4}
html[data-theme="light"] .eyebrow{color:#321d87}
html[data-theme="light"] .hero h1 .accent{color:#2f1d87}
html[data-theme="light"] .micro{color:#5c5e73}
html[data-theme="light"] .hero-foot{color:#5c5e73}
html[data-theme="light"] .bridge-arrow{border:5px solid #d8d6e4}
html[data-theme="light"] .art-tag{border:1px solid #d8d6e4;background:#eeecf5;color:#5c5e73}
html[data-theme="light"] .art-caption{color:#5c5e73}
html[data-theme="light"] .format-card{background:#ffffff;border:1px solid #d8d6e4}
html[data-theme="light"] .format-card.enabled{background:linear-gradient(110deg,#eeecf5,#eeecf5);border-color:#d8d6e4}
html[data-theme="light"] .format-card.enabled:hover{border-color:#7664b4}
html[data-theme="light"] .format-icon{border:1px solid #d8d6e4;color:#351d87}
html[data-theme="light"] .format-card.disabled .format-icon{color:#5c5e73;border-color:#d8d6e4}
html[data-theme="light"] .badge{border:1px solid #d8d6e4;background:#eeecf5;color:#5c5e73}
html[data-theme="light"] .badge.good{color:#341d87;border-color:#d8d6e4}
html[data-theme="light"] .badge.cyan{color:#1d7586;border-color:#d8d6e4}
html[data-theme="light"] .badge.open{color:#301d87;border-color:#d8d6e4}
html[data-theme="light"] .badge.waiting{color:#826122;border-color:#d8d6e4}
html[data-theme="light"] .badge.resolved{color:#2b785b;border-color:#d8d6e4}
html[data-theme="light"] .format-name span{color:#5c5e73}
html[data-theme="light"] .format-desc{color:#5c5e73}
html[data-theme="light"] .format-card.enabled .format-desc{color:#5c5e73}
html[data-theme="light"] .format-card .corner{color:#341d87}
html[data-theme="light"] .section-line{border-top:1px solid #d8d6e4}
html[data-theme="light"] .step-number{color:#2f1d87}
html[data-theme="light"] .step-number:after{background:#eeecf5}
html[data-theme="light"] .benefits{background:#ffffff;border-top:1px solid #d8d6e4;border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .benefit>svg{color:#302281}
html[data-theme="light"] .faq-item{border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .faq-item:first-child{border-top:1px solid #d8d6e4}
html[data-theme="light"] .faq-item summary:after{color:#321d87}
html[data-theme="light"] .help{background:linear-gradient(100deg,#eeecf5,#eeecf5);border:1px solid #d8d6e4}
html[data-theme="light"] .footer{border-top:1px solid #d8d6e4}
html[data-theme="light"] .footer-links{color:#5c5e73}
html[data-theme="light"] .footer-links button{color:#5c5e73}
html[data-theme="light"] .footer-small{color:#5c5e73}
html[data-theme="light"] .stepper-item{color:#5c5e73}
html[data-theme="light"] .stepper-item:after{background:#eeecf5}
html[data-theme="light"] .stepper-item b{border:1px solid #d8d6e4}
html[data-theme="light"] .stepper-item.active{color:#311d87}
html[data-theme="light"] .stepper-item.active b{border-color:#7664b4}
html[data-theme="light"] .stepper-item.complete b{background:#eeecf5;color:#341d87;border-color:#d8d6e4}
html[data-theme="light"] .panel{background:#ffffff;border:1px solid #d8d6e4}
html[data-theme="light"] .drop-zone{border:1px dashed #d8d6e4}
html[data-theme="light"] .drop-zone.dragover{background:#eeecf5;border-color:#7664b4}
html[data-theme="light"] .upload-glyph{background:#eeecf5;color:#351d87}
html[data-theme="light"] .text-btn{color:#351d87}
html[data-theme="light"] .text-btn:hover{color:#351d87}
html[data-theme="light"] .upload-info hr{border-top:1px solid #d8d6e4}
html[data-theme="light"] .info-line{color:#5c5e73}
html[data-theme="light"] .info-line svg{color:#321d87}
html[data-theme="light"] .notice{background:#eeecf5;border:1px solid #d8d6e4;color:#48366d}
html[data-theme="light"] .notice.error{border-color:#d8d6e4;background:#eeecf5;color:#871d25}
html[data-theme="light"] .notice.success{border-color:#d8d6e4;background:#eeecf5;color:#347055}
html[data-theme="light"] .notice.neutral{border-color:#d8d6e4;background:#eeecf5;color:#5c5e73}
html[data-theme="light"] .file-row{border:1px solid #d8d6e4;background:#eeecf5}
html[data-theme="light"] .file-row>svg{color:#351d87}
html[data-theme="light"] .file-size{color:#5c5e73}
html[data-theme="light"] .field label,html[data-theme="light"] .field-label{color:#25263a}
html[data-theme="light"] .field input,html[data-theme="light"] .field select,html[data-theme="light"] .field textarea,html[data-theme="light"] .search-input{border:1px solid #d8d6e4;background:#ffffff;color:#25263a}
html[data-theme="light"] .field input::placeholder,html[data-theme="light"] .field textarea::placeholder,html[data-theme="light"] .search-input::placeholder{color:#5c5e73}
html[data-theme="light"] .field small{color:#5c5e73}
html[data-theme="light"] .direction{border-top:1px solid #d8d6e4;border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .direction strong span{color:#39247f}
html[data-theme="light"] .summary-panel{background:#eeecf5;border-color:#d8d6e4}
html[data-theme="light"] .summary-panel .sub{color:#5c5e73}
html[data-theme="light"] .summary-line>span:first-child{color:#5c5e73}
html[data-theme="light"] .summary-line>span:last-child{color:#25263a}
html[data-theme="light"] .summary-total{border-top:1px solid #d8d6e4}
html[data-theme="light"] .consent{color:#5c5e73}
html[data-theme="light"] .consent button{color:#391d87}
html[data-theme="light"] .quote-note{color:#5c5e73}
html[data-theme="light"] .summary-empty{color:#5c5e73}
html[data-theme="light"] .status-icon{border:1px solid #d8d6e4;color:#361d87}
html[data-theme="light"] .timeline{border-top:1px solid #d8d6e4}
html[data-theme="light"] .timeline-item{color:#5c5e73}
html[data-theme="light"] .timeline-item b{background:#eeecf5}
html[data-theme="light"] .timeline-item.current{color:#391d87}
html[data-theme="light"] .timeline-item.done{color:#5c5e73}
html[data-theme="light"] .status-note{color:#5c5e73}
html[data-theme="light"] .price-panel{background:linear-gradient(120deg,#eeecf5,#ffffff);border:1px solid #d8d6e4}
html[data-theme="light"] .price-value span{color:#432c77}
html[data-theme="light"] .price-caption{color:#5c5e73}
html[data-theme="light"] .price-secondary{border-top:1px solid #d8d6e4;color:#5c5e73}
html[data-theme="light"] .ticket-list-title{border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .ticket-item{border-bottom:1px solid #d8d6e4;color:#25263a}
html[data-theme="light"] .ticket-item:hover{background:#eeecf5}
html[data-theme="light"] .ticket-item.selected{background:#eeecf5;border-left-color:#7664b4}
html[data-theme="light"] .ticket-top{color:#5c5e73}
html[data-theme="light"] .chat-header{border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .message-label{color:#5c5e73}
html[data-theme="light"] .avatar{background:#eeecf5;color:#431d87}
html[data-theme="light"] .message-bubble{background:#eeecf5;border:1px solid #d8d6e4}
html[data-theme="light"] .message.user .message-bubble{background:#eeecf5;border-color:#d8d6e4}
html[data-theme="light"] .message-time{color:#5c5e73}
html[data-theme="light"] .attachment{border:1px solid #d8d6e4;background:#ffffff}
html[data-theme="light"] .attachment>svg{color:#4b366d}
html[data-theme="light"] .chat-composer{border-top:1px solid #d8d6e4}
html[data-theme="light"] .chat-composer textarea{background:#ffffff;border:1px solid #d8d6e4;color:#4b396a}
html[data-theme="light"] .attachment-chip{background:#eeecf5;border:1px solid #d8d6e4}
html[data-theme="light"] .attachment-chip button{color:#5c5e73}
html[data-theme="light"] .ticket-link{border-top:1px solid #d8d6e4}
html[data-theme="light"] .ticket-link p{color:#5c5e73}
html[data-theme="light"] .admin-filters{border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .admin-filters select{background:#eeecf5;color:#5c5e73;border:1px solid #d8d6e4}
html[data-theme="light"] .empty{color:#5c5e73}
html[data-theme="light"] .preview-trigger{border:1px solid #d8d6e4;color:#49366d}
html[data-theme="light"] .preview-trigger span:first-of-type{color:#3d1d87}
html[data-theme="light"] .preview-panel{border:1px solid #d8d6e4;background:#eeecf5}
html[data-theme="light"] .preview-checkbox{color:#5c5e73}
html[data-theme="light"] .preview-panel hr{border-top:1px solid #d8d6e4}
html[data-theme="light"] .preview-panel .text-btn{color:#5c5e73}
html[data-theme="light"] .modal{background:#ffffff;color:#49356e;border:1px solid #d8d6e4}
html[data-theme="light"] .modal input{background:#ffffff;border:1px solid #d8d6e4;color:#5c5e73}
html[data-theme="light"] .spinner{border-top-color:#7664b4}
html[data-theme="light"] .check-state{color:#483172}
html[data-theme="light"] #toast{color:#43257f;background:#eeecf5;border:1px solid #d8d6e4}
html[data-theme="light"] .muted{color:#5c5e73}
html[data-theme="light"] .small-print{color:#5c5e73}
@media(max-width:650px){html[data-theme="light"] .nav{background:#ffffff;border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .support-grid .ticket-item{border-right:1px solid #d8d6e4}
}
@media(prefers-reduced-motion:reduce){html[data-theme="light"] .spinner{border-top-color:#7664b4}
}
html[data-theme="light"] .pricing-rule{color:#452d76}
html[data-theme="light"] .tariff-card{border:1px solid #d8d6e4;background:#ffffff}
html[data-theme="light"] .tariff-card.featured{background:linear-gradient(145deg,#eeecf5,#ffffff);border-color:#7664b4}
html[data-theme="light"] .tariff-per-word{color:#3e257e}
html[data-theme="light"] .tariff-per-word small{color:#5c5e73}
html[data-theme="light"] .price-calculator{background:linear-gradient(110deg,#eeecf5,#ffffff)}
html[data-theme="light"] .calculator-result{border-left:1px solid #d8d6e4}
html[data-theme="light"] .calculator-result>span:last-child{color:#5c5e73}
html[data-theme="light"] .hero-foot a{color:#40287b}
html[data-theme="light"] .admin-demo-notice{border:1px solid #d8d6e4;background:#eeecf5;color:#5c5e73}
html[data-theme="light"] .admin-tabs{border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .admin-tabs a{color:#5c5e73}
html[data-theme="light"] .admin-tabs a span{color:#5c5e73}
html[data-theme="light"] .admin-tabs a:hover{background:#eeecf5}
html[data-theme="light"] .admin-tabs a.active{background:#eeecf5;color:#3b1d87}
html[data-theme="light"] .admin-tabs a.active span{color:#3f1d87}
html[data-theme="light"] .admin-period-label{color:#5c5e73}
html[data-theme="light"] .admin-toolbar>span:not(.admin-period-label){color:#5c5e73}
html[data-theme="light"] .metric{border:1px solid #d8d6e4;background:#ffffff}
html[data-theme="light"] .metric>span{color:#5c5e73}
html[data-theme="light"] .metric>small{color:#5c5e73}
html[data-theme="light"] .compact .metric{background:#ffffff}
html[data-theme="light"] .panel-heading p{color:#5c5e73}
html[data-theme="light"] .data-table th{color:#5c5e73;border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .data-table td{border-bottom:1px solid #d8d6e4;color:#25263a}
html[data-theme="light"] .data-table .text-btn{color:#391d87}
html[data-theme="light"] .data-table .cell-note{color:#5c5e73}
html[data-theme="light"] .admin-status.ready{color:#2d7658;background:#eeecf5}
html[data-theme="light"] .admin-status.error{color:#871d2e;background:#eeecf5}
html[data-theme="light"] .admin-status.unpaid{color:#25263a;background:#eeecf5}
html[data-theme="light"] .admin-status.refunded{color:#236a80;background:#eeecf5}
html[data-theme="light"] .chart-legend{color:#5c5e73}
html[data-theme="light"] .trend-chart text{fill:#5c5e73}
html[data-theme="light"] .chart-data{color:#5c5e73}
html[data-theme="light"] .donut>div{background:#ffffff}
html[data-theme="light"] .donut span{color:#5c5e73}
html[data-theme="light"] .chart-key li span{color:#5c5e73}
html[data-theme="light"] .chart-key small{color:#5c5e73}
html[data-theme="light"] .bar-item>div:first-child{color:#5c5e73}
html[data-theme="light"] .bar-item strong{color:#53366d}
html[data-theme="light"] .bar-track{background:#eeecf5}
html[data-theme="light"] .basis-strip{color:#4a366d;border-bottom:1px solid #d8d6e4}
html[data-theme="light"] .admin-note{color:#5c5e73}
html[data-theme="light"] .positive{color:#297a53}
html[data-theme="light"] .negative{color:#871d34}
html[data-theme="light"] .generated-summary{background:#ffffff;border:1px solid #d8d6e4}
@media(max-width:760px){html[data-theme="light"] .calculator-result{border-top:1px solid #d8d6e4}
}
html[data-theme="light"] .trend-chart polyline:first-of-type,html[data-theme="light"] .trend-chart circle{stroke:#301d87}
html[data-theme="light"] .trend-chart polyline:nth-of-type(2){stroke:#1d7287}

html[data-theme="light"]{color-scheme:light}
html[data-theme="light"] body{background:#f7f7fb;color:#242538}
html[data-theme="light"] .header{background:#f7f7fbf5;border-color:#dedce8}
html[data-theme="light"] .nav a.active,html[data-theme="light"] .nav a:hover{color:#584098}
html[data-theme="light"] .btn.primary{background:#6850b8;color:#fff}
html[data-theme="light"] .btn.primary:hover{background:#573fa4}
html[data-theme="light"] .btn.secondary{background:#fff;color:#38304c;border-color:#cdc8df}
html[data-theme="light"] .btn.secondary:hover{background:#efebf8}
html[data-theme="light"] .logo-mark{background:#ded6fa;color:#493475}
html[data-theme="light"] .lang button.active{background:#ded6fa;color:#45316e}
html[data-theme="light"] .format-card.disabled{opacity:.75}
html[data-theme="light"] .benefits{background:#efedf7}
html[data-theme="light"] .art-grid{opacity:.7}
html[data-theme="light"] .modal::backdrop{background:#20203866}
html[data-theme="light"] .modal{background:#fff;color:#25263a;border-color:#d8d2e6}
html[data-theme="light"] .preview-panel{background:#fff}
html[data-theme="light"] .preview-trigger{background:#eae4fa;color:#493274}
html[data-theme="light"] .trend-chart line{stroke:#dedce8}
html[data-theme="light"] .trend-chart polyline:first-of-type{stroke:#7256b8}
html[data-theme="light"] .trend-chart circle{fill:#7256b8;stroke:#7256b8}
html[data-theme="light"] .trend-chart polyline:nth-of-type(2){stroke:#16839a}
html[data-theme="light"] .trend-chart text{fill:#5c5e73}
html[data-theme="light"] .positive{color:#236946}
html[data-theme="light"] .negative{color:#a52d4b}
html[data-theme="light"] .notice.success{background:#e6f3eb;border-color:#b8dac8;color:#245c42}
html[data-theme="light"] .notice.error{background:#fff0f2;border-color:#ecc3ce;color:#91334b}
html[data-theme="light"] :focus-visible{outline-color:#6850b8}

@media(max-width:1000px){html[data-theme="light"] .header .nav{background:#f7f7fb;border-color:#dedce8}html[data-theme="light"] .header .nav.open .nav-translate{color:#fff}}

html[data-theme="light"] .maintenance-banner{background:#eee6ff;color:#493476;border-color:#d8c9f1}

:root[data-theme="light"] .maintenance-banner.scheduled{background:#edf3fb;color:#253b59;border-color:#c7d6e9}
html[data-theme="light"] .translation-progress{background:#f7f4fc;border-color:#ded5ec}html[data-theme="light"] .progress-heading>span,html[data-theme="light"] .result-expiry strong{color:#694b9c}html[data-theme="light"] .progress-details,html[data-theme="light"] .progress-updated,html[data-theme="light"] .progress-explanation{color:#655a73}html[data-theme="light"] .waiting-phrase,html[data-theme="light"] .result-access{border-color:#ded5ec}html[data-theme="light"] .waiting-phrase small{color:#70518f}
