/* Generated by scripts/dark-css.php from style.css, chat.css. Do not edit; change dark-manual.css or the script. */

/* ── style.css ── */
html[data-theme="dark"] { --bg: #1a1f27; --tint: #1e242d; --surface: #1a1f27; --line: #262c37; --line-strong: #2f3743; --text: #d2dbe7; --text-2: #939fb0; --text-3: #89939f; --primary: #4b83ff; --primary-600: #4b84ff; --primary-soft: #202733; --shadow-sm: 0 1px 3px rgba(200, 216, 255, 0.06); --shadow-md: 0 12px 32px -12px rgba(154, 185, 255, 0.18); }
html[data-theme="dark"] .nav.is-scrolled { background: rgba(26, 31, 39, 0.9); }
html[data-theme="dark"] .nav__inquiry i { background: #cc2e39; }
html[data-theme="dark"] .google-btn { color: #d9d9d9; background: #1a1f27; border: 1px solid #808381; }
html[data-theme="dark"] .google-btn:hover { background: #1e232b; }
html[data-theme="dark"] .auth-body { background: #1a1f27; }
html[data-theme="dark"] .auth__panel { background: #1a1f27; }
html[data-theme="dark"] .onb__chip:hover { background: #1c212a; }
html[data-theme="dark"] .onb__chip:has(input:checked) { background: #1d232c; }
html[data-theme="dark"] .site-notice--warn { color: #e4c6a0; background: linear-gradient(90deg, #6f3500, #5e3100 50%, #6f3500); }
html[data-theme="dark"] .site-notice__close:hover { background: rgba(26, 31, 39, 0.18); }
html[data-theme="dark"] .site-notice--warn .site-notice__close:hover { background: rgba(61, 38, 0, 0.1); }
html[data-theme="dark"] .toast { color: #ffffff; background: rgba(25, 31, 45, 0.92); box-shadow: 0 10px 30px rgba(20, 28, 45, 0.2); }
html[data-theme="dark"] .btn--primary { color: #ffffff; }
html[data-theme="dark"] .btn--light { background: #1a1f27; }
html[data-theme="dark"] .btn--light:hover { background: #1f2530; }
html[data-theme="dark"] .hero__bg { background: radial-gradient(55% 45% at 50% 62%, rgba(59, 91, 192, 0.55) 0%, rgba(54, 75, 143, 0.25) 45%, transparent 75%),
        linear-gradient(180deg, #1e242f 0%, #252b3a 55%, #1a1f27 100%); }
html[data-theme="dark"] .chatbox { background: #1a1f27; box-shadow: 0 24px 60px -24px rgba(40, 70, 180, 0.35), 0 2px 6px rgba(20, 30, 60, 0.04); }
html[data-theme="dark"] .chatbox:focus-within { border-color: #374787; box-shadow: 0 0 0 4px rgba(59, 112, 255, 0.1), 0 24px 60px -24px rgba(40, 70, 180, 0.4); }
html[data-theme="dark"] .chatbox__count.is-full { color: #ff615b; }
html[data-theme="dark"] .tool-btn { background: #1a1f27; }
html[data-theme="dark"] .tool-btn.is-on { border-color: #2d3758; }
html[data-theme="dark"] .model__menu { background: #1a1f27; }
html[data-theme="dark"] .lens-opt:hover .lens-opt__mark { background: #1a1f27; }
html[data-theme="dark"] .lens-opt__switch::after { background: #1a1f27; }
html[data-theme="dark"] .tool-btn[data-lens-btn].is-on { border-color: #2d3758; }
html[data-theme="dark"] .login-modal { background: #1a1f27; }
html[data-theme="dark"] .school { background: #1a1f27; }
html[data-theme="dark"] .school__tab-ind { background: #1a1f27; }
html[data-theme="dark"] .school__card:hover { background: #1c212a; }
html[data-theme="dark"] .school__card:has(input:checked) { background: #1d232c; }
html[data-theme="dark"] .school__card:has(input:checked) .school__mark { color: #ffffff; }
html[data-theme="dark"] .school__check svg { stroke: #1a1f27; }
html[data-theme="dark"] .school.is-locked .school__card:has(input:checked):hover { background: #1d232c; }
html[data-theme="dark"] .school__done { color: #ffffff; }
html[data-theme="dark"] .level__pop { background: #1a1f27; }
html[data-theme="dark"] .level__tick { background: #1a1f27; }
html[data-theme="dark"] .level__range::-webkit-slider-thumb { background: #1a1f27; box-shadow: 0 1px 3px rgba(20, 30, 60, 0.15); }
html[data-theme="dark"] .level__range::-moz-range-thumb { background: #1a1f27; }
html[data-theme="dark"] .level__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(59, 112, 255, 0.2); }
html[data-theme="dark"] .chatbox__send { color: #ffffff; }
html[data-theme="dark"] .chatbox__send:disabled { background: #323946; }
html[data-theme="dark"] .topic:hover { border-color: #2e385b; }
html[data-theme="dark"] .app { background: #1a1f27; box-shadow: 0 40px 80px -40px rgba(30, 50, 120, 0.35), 0 2px 8px rgba(20, 30, 60, 0.04); }
html[data-theme="dark"] .app__side { background: #1d232b; }
html[data-theme="dark"] .app__new { background: #1a1f27; }
html[data-theme="dark"] .app__history li.is-active { background: #232933; }
html[data-theme="dark"] .trace { background: #1c2129; }
html[data-theme="dark"] .trace summary svg { stroke: #007b4d; }
html[data-theme="dark"] .compare__card { background: #1a1f27; }
html[data-theme="dark"] .compare__card:first-child .compare__tag { color: #f67145; background: #2d231b; }
html[data-theme="dark"] .timeline__bar { background: #2d3656; }
html[data-theme="dark"] .timeline__bar--0 { background: #52282f; }
html[data-theme="dark"] .timeline__bar--2 { background: #394e9b; }
html[data-theme="dark"] .sources span { background: #1a1f27; }
html[data-theme="dark"] .app__send { color: #ffffff; background: #323946; }
html[data-theme="dark"] .step__no { color: #ffffff; }
html[data-theme="dark"] .faq__item { background: #1a1f27; }
html[data-theme="dark"] .btn--soft:hover { background: #262c3c; }
html[data-theme="dark"] .price-hero { background: radial-gradient(50% 40% at 50% 70%, rgba(59, 91, 192, 0.28) 0%, transparent 75%),
        linear-gradient(180deg, #1e242f 0%, #242833 50%, #1a1f27 100%); }
html[data-theme="dark"] .welcome-orbs { background: #1a1f27; }
html[data-theme="dark"] .pack { background: #1a1f27; }
html[data-theme="dark"] .pack:hover { border-color: #2e385b; }
html[data-theme="dark"] .pack.is-featured { box-shadow: 0 28px 60px -28px rgba(59, 112, 255, 0.45); }
html[data-theme="dark"] .pack.is-featured .pack__badge { color: #ffffff; }
html[data-theme="dark"] .pack__bonus { color: #9d78ff; }
html[data-theme="dark"] .pack__unit em { color: #3db972; background: #1d282d; }
html[data-theme="dark"] .pack__was b { color: #ffffff; background: #c6001e; }
html[data-theme="dark"] .pack.is-current { border: 2px solid #008f4b; }
html[data-theme="dark"] .pack.is-current .pack__badge { color: #ffffff; background: #008f4b; }
html[data-theme="dark"] .my-plan { background: #1a1f27; }
html[data-theme="dark"] .my-plan__status--good { color: #3db972; }
html[data-theme="dark"] .my-plan__status--bad { color: #fa6868; }
html[data-theme="dark"] .my-plan__cancel:hover { color: #fa6868; background: #25252d; }
html[data-theme="dark"] .checkout-page { background: linear-gradient(180deg, #1e242f 0%, #1a1f27 420px); }
html[data-theme="dark"] .checkout__card, html[data-theme="dark"] .checkout__summary { background: #1a1f27; }
html[data-theme="dark"] .choice--pack.is-on { background: #1d232c; }
html[data-theme="dark"] .choice:has(input:checked) { background: #1d232c; }
html[data-theme="dark"] .checkout__alert--error { color: #fa6868; background: #25252d; }
html[data-theme="dark"] .checkout__remove:hover { color: #fa6868; background: #25252d; }
html[data-theme="dark"] .checkout__test { color: #c7934c; background: #2c2411; }
html[data-theme="dark"] .legal__callout { background: #282215; border: 1px solid #513300; border-left: 4px solid #804600; }
html[data-theme="dark"] .legal__callout strong { color: #c79357; }
html[data-theme="dark"] .inquiry-new { background: #cc2e39; }
html[data-theme="dark"] .inquiry-answer { background: #1d232c; }
html[data-theme="dark"] .ledger__more:hover { background: #262b3b; }
html[data-theme="dark"] .leave summary:hover { color: #fa6868; }
html[data-theme="dark"] .leave[open] summary { color: #fa6868; }
html[data-theme="dark"] .btn--danger { color: #ffffff; background: #da3745; }
html[data-theme="dark"] .btn--danger:hover { background: #ec5b5d; }

/* ── chat.css ── */
html[data-theme="dark"] .chat-page { background: #1a1f27; }
html[data-theme="dark"] .sidebar { background: #1e232c; }
html[data-theme="dark"] .icon-btn:hover { background: rgba(20, 30, 60, 0.06); }
html[data-theme="dark"] .sidebar__new { background: #1a1f27; }
html[data-theme="dark"] .sidebar__new:hover { border-color: #2e385b; }
html[data-theme="dark"] .sidebar__search { background: rgba(20, 30, 60, 0.04); }
html[data-theme="dark"] .sidebar__list a:hover { background: rgba(20, 30, 60, 0.05); }
html[data-theme="dark"] .sidebar__list a.is-active { background: #242a35; }
html[data-theme="dark"] .room:hover a, html[data-theme="dark"] .room.is-menu a { background: rgba(20, 30, 60, 0.05); }
html[data-theme="dark"] .room a.is-active { background: #242a35; }
html[data-theme="dark"] .room__more:hover, html[data-theme="dark"] .room.is-menu .room__more { background: rgba(20, 30, 60, 0.08); }
html[data-theme="dark"] .room__input { background: #1a1f27; }
html[data-theme="dark"] .room-menu { background: #1a1f27; box-shadow: 0 12px 32px rgba(20, 28, 45, 0.14), 0 2px 6px rgba(20, 28, 45, 0.05); }
html[data-theme="dark"] .room-menu .is-danger { color: #ff6263; }
html[data-theme="dark"] .room-menu .is-danger:hover, html[data-theme="dark"] .room-menu .is-danger:focus-visible { background: #25252d; }
html[data-theme="dark"] .confirm { background: #1a1f27; box-shadow: 0 20px 56px rgba(20, 28, 45, 0.18); }
html[data-theme="dark"] .confirm::backdrop { background: rgba(17, 24, 39, 0.32); }
html[data-theme="dark"] .confirm__btn:hover { background: #232a34; }
html[data-theme="dark"] .confirm__btn--danger { color: #ffffff; background: #cc2e39; }
html[data-theme="dark"] .confirm__btn--primary { color: #ffffff; }
html[data-theme="dark"] .share-box__link input { background: #1a1f27; }
html[data-theme="dark"] .share-box__link button:hover { background: #232a34; }
html[data-theme="dark"] .share-box__off { color: #ff6263; }
html[data-theme="dark"] .share-box__off:hover { background: #28262e; }
html[data-theme="dark"] .share-page .share-page__cta { color: #ffffff; }
html[data-theme="dark"] .confirm__btn--danger:hover { background: #d73d42; }
html[data-theme="dark"] .invite__icon { background: #1a1f27; }
html[data-theme="dark"] .invite.is-done .invite__text small { color: #54b48d; }
html[data-theme="dark"] .wallet { background: #1a1f27; }
html[data-theme="dark"] .wallet.is-low { border-color: #572f33; }
html[data-theme="dark"] .sidebar__inquiry i { background: #cc2e39; }
html[data-theme="dark"] .chat__share { background: #1a1f27; }
html[data-theme="dark"] .to-bottom { background: #1a1f27; box-shadow: 0 8px 24px -10px rgba(30, 50, 120, 0.35); }
html[data-theme="dark"] .to-bottom:hover { border-color: #2e385b; }
html[data-theme="dark"] .starter { background: #1a1f27; }
html[data-theme="dark"] .starter--pink { --tone: #ed5185; }
html[data-theme="dark"] .starter--teal { --tone: #31a79a; }
html[data-theme="dark"] .starter--amber { --tone: #ce7c00; }
html[data-theme="dark"] .turn .trace { background: #1a1f27; }
html[data-theme="dark"] .turn .trace--live { border-color: #293149; box-shadow: 0 0 0 3px rgba(59, 112, 255, 0.05); }
html[data-theme="dark"] .trace--live .trace__now { background: linear-gradient(90deg, var(--text) 0%, var(--text) 40%, #444f6a 50%, var(--text) 60%, var(--text) 100%) 0 0 / 250% 100%; }
html[data-theme="dark"] .trace__icon svg { color: #ffffff; background: #007b4d; stroke: #1a1f27 !important; }
html[data-theme="dark"] .trace__chips span { background: #1f252f; }
html[data-theme="dark"] .pillar--empty .pillar__cell { background: #1f252f; }
html[data-theme="dark"] .el-0 { color: #5db28b; background: #1d2c24; }
html[data-theme="dark"] .el-1 { color: #f76d5a; background: #332523; }
html[data-theme="dark"] .el-2 { color: #c5954a; background: #2d2616; }
html[data-theme="dark"] .el-3 { color: #97a2b5; background: #232832; }
html[data-theme="dark"] .el-4 { color: #6095ff; background: #252a38; }
html[data-theme="dark"] .subtasks li.is-done .subtasks__icon { background: #1c2a25; }
html[data-theme="dark"] .trace .subtasks__icon svg { stroke: #007b4d; }
html[data-theme="dark"] .subtasks li.is-skip .subtasks__icon { background: #212630; }
html[data-theme="dark"] .save-people p svg { color: #4cb774; }
html[data-theme="dark"] .save-people.is-error p { color: #fa6868; }
html[data-theme="dark"] .save-people__name { background: #1a1f27; }
html[data-theme="dark"] .save-people__acts button { background: #1a1f27; }
html[data-theme="dark"] .save-people__acts .save-people__yes { color: #ffffff; }
html[data-theme="dark"] .followups__q { background: #1a1f27; }
html[data-theme="dark"] .followups__q:hover { box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.35); }
html[data-theme="dark"] .fold__head svg { stroke: #007b4d; }
html[data-theme="dark"] .need { background: #1c2129; }
html[data-theme="dark"] .need__mark { border: 1.5px dashed #39435f; }
html[data-theme="dark"] .need__fields li.is-known .need__mark { background: #007b4d; }
html[data-theme="dark"] .need__mark svg { stroke: #1a1f27; }
html[data-theme="dark"] .basis__opt { background: #1a1f27; }
html[data-theme="dark"] .basis__opt:hover { border-color: #2e385b; }
html[data-theme="dark"] .basis__p { background: #1f252e; }
html[data-theme="dark"] .basis__p.is-diff { box-shadow: 0 0 0 1px #2e385b inset; }
html[data-theme="dark"] .need__chips .need__action { background: #1a1f27; }
html[data-theme="dark"] .need__chips .need__action:hover { border-color: #2e385b; background: #1a1f27; }
html[data-theme="dark"] .need__chips .need__action.is-picked { color: #ffffff; }
html[data-theme="dark"] .need__chips button:hover { background: #262c3c; }
html[data-theme="dark"] .answer__list { background: #1e232c; }
html[data-theme="dark"] .answer__lead strong, html[data-theme="dark"] .answer__text strong { text-decoration-color: rgba(86, 145, 255, 0.45); }
html[data-theme="dark"] .cite { background: #212630; }
html[data-theme="dark"] .cite--m { color: #d18d52; background: #2f2415; }
html[data-theme="dark"] .cite--a { color: #6193ff; }
html[data-theme="dark"] .cite--v { color: #b27cff; background: #2c2633; }
html[data-theme="dark"] .viz { background: #1a1f27; }
html[data-theme="dark"] .viz__sys--m { color: #d18d52; background: #2f2415; }
html[data-theme="dark"] .viz__sys--a { color: #6193ff; }
html[data-theme="dark"] .viz__sys--v { color: #b27cff; background: #2c2633; }
html[data-theme="dark"] .viz__sys--x { color: #4bb58b; background: #1c2a25; }
html[data-theme="dark"] .viz__legend i { background: #2d3656; }
html[data-theme="dark"] .viz__legend i.timeline__bar--0 { background: #52282f; }
html[data-theme="dark"] .viz__legend i.timeline__bar--2 { background: #394e9b; }
html[data-theme="dark"] .pl-sun { --pl: #ca7f00; --pl-soft: #2e240d; }
html[data-theme="dark"] .pl-moon { --pl: #8493ae; --pl-soft: #232933; }
html[data-theme="dark"] .pl-mercury { --pl: #35a5a0; --pl-soft: #1a2d2c; }
html[data-theme="dark"] .pl-venus { --pl: #dd6197; --pl-soft: #33242b; }
html[data-theme="dark"] .pl-mars { --pl: #ec5d47; --pl-soft: #342522; }
html[data-theme="dark"] .pl-jupiter { --pl: #5487ff; --pl-soft: #252a38; }
html[data-theme="dark"] .pl-saturn { --pl: #9787c3; --pl-soft: #262936; }
html[data-theme="dark"] .pl-uranus { --pl: #339fc9; --pl-soft: #1d2b30; }
html[data-theme="dark"] .pl-neptune { --pl: #6194d6; --pl-soft: #232b37; }
html[data-theme="dark"] .pl-pluto { --pl: #be899e; --pl-soft: #292933; }
html[data-theme="dark"] .pl-node, html[data-theme="dark"] .pl-asc { --pl: #8993a4; --pl-soft: #212730; }
html[data-theme="dark"] .pl-rahu { --pl: #97a2b9; --pl-soft: #262c36; }
html[data-theme="dark"] .pl-ketu { --pl: #aa8c69; --pl-soft: #26292d; }
html[data-theme="dark"] .pillar__ss em { color: #d18d52; background: #2c2414; }
html[data-theme="dark"] .pillar__me { color: #ffffff; }
html[data-theme="dark"] .dw__item.is-now::before { color: #ffffff; }
html[data-theme="dark"] .fd__seg.is-now { color: #ffffff; }
html[data-theme="dark"] .fd__marker b { color: #ffffff; }
html[data-theme="dark"] .pf__cell { background: #1e242d; }
html[data-theme="dark"] .pf__cell.is-now :is(.pf__n, .pf__area, .pf__age, .pf__lord) { color: #ffffff; }
html[data-theme="dark"] .pf__cell.is-next { background: #1a1f27; }
html[data-theme="dark"] .pf__badge { background: #1a1f27; }
html[data-theme="dark"] .pf__cell.is-now .pf__badge { color: #ffffff; border-color: #1a1f27; }
html[data-theme="dark"] .tl__tile { background: #1e232c; }
html[data-theme="dark"] .meter { background: #272d38; }
html[data-theme="dark"] .meter--m span { background: #864400; }
html[data-theme="dark"] .meter--v span { background: #8e53d3; }
html[data-theme="dark"] .meter--x span { background: #007b4d; }
html[data-theme="dark"] .zr--p2 { --pl: #d27920; --pl-soft: #392804; }
html[data-theme="dark"] .zr--p1 { --pl: #5487ff; --pl-soft: #262b3a; }
html[data-theme="dark"] .zr--p0 { --pl: #8993a4; --pl-soft: #232832; }
html[data-theme="dark"] .state--good { color: #4bb58b; background: #1c2a25; }
html[data-theme="dark"] .state--mid { background: #212630; }
html[data-theme="dark"] .state--hard { color: #fa6868; background: #28262f; }
html[data-theme="dark"] .sig__why .is-up { color: #4bb58b; }
html[data-theme="dark"] .sig__why .is-down { color: #dd863d; }
html[data-theme="dark"] .cp--up .cp__tone { color: #4bb58b; background: #1c2a25; }
html[data-theme="dark"] .cp--mid .cp__tone { background: #212630; }
html[data-theme="dark"] .cp--down .cp__tone { color: #dd863d; background: #2c2417; }
html[data-theme="dark"] .sj--0 { --pl: #23ab77; }
html[data-theme="dark"] .sj--1 { --pl: #ec5d4a; }
html[data-theme="dark"] .sj--2 { --pl: #bc880c; }
html[data-theme="dark"] .sj--3 { --pl: #8893a6; }
html[data-theme="dark"] .sj--4 { --pl: #5184ff; }
html[data-theme="dark"] .st__track { background: #212630; }
html[data-theme="dark"] .st__track i { background: #363e4b; }
html[data-theme="dark"] .rel__kind--up { color: #4bb58b; background: #1c2a25; }
html[data-theme="dark"] .rel__kind--down { color: #fa6868; background: #28262f; }
html[data-theme="dark"] .lots__badge { color: #ffffff; }
html[data-theme="dark"] .nt__tag { background: #212630; }
html[data-theme="dark"] .nt__tag--up { color: #4bb58b; background: #1c2a25; }
html[data-theme="dark"] .nt__tag--down { color: #d78a44; background: #2c2414; }
html[data-theme="dark"] path.wh__sign--fire { fill: #25252b; }
html[data-theme="dark"] path.wh__sign--earth { fill: #20272a; }
html[data-theme="dark"] path.wh__sign--air { fill: #272417; }
html[data-theme="dark"] path.wh__sign--water { fill: #202733; }
html[data-theme="dark"] text.wh__sign--fire { fill: #d54832; }
html[data-theme="dark"] text.wh__sign--earth { fill: #628e31; }
html[data-theme="dark"] text.wh__sign--air { fill: #8f6400; }
html[data-theme="dark"] text.wh__sign--water { fill: #4f81ff; }
html[data-theme="dark"] .wh__ring, html[data-theme="dark"] .wh__core { stroke: #2f3643; }
html[data-theme="dark"] .wh__core { fill: #1c212a; }
html[data-theme="dark"] .wh__cusp { stroke: #2f3643; }
html[data-theme="dark"] .wh__aspect--easy { stroke: #4f81ff; }
html[data-theme="dark"] .wh__aspect--tense { stroke: #cf362b; }
html[data-theme="dark"] .wh__pl circle { fill: var(--pl-soft, #212630); }
html[data-theme="dark"] .sc__frame { fill: #1c212a; stroke: #383d49; }
html[data-theme="dark"] .sc__box { stroke: #2f3643; }
html[data-theme="dark"] rect.wh__sign--fire { fill: #212329; }
html[data-theme="dark"] rect.wh__sign--earth { fill: #1e2429; }
html[data-theme="dark"] rect.wh__sign--air { fill: #1f2326; }
html[data-theme="dark"] rect.wh__sign--water { fill: #1e252f; }
html[data-theme="dark"] .is-lagna .sc__box { stroke: #ac76fc; }
html[data-theme="dark"] .sc__lagna { stroke: #ac76fc; }
html[data-theme="dark"] .sc .sc__lagna-label { fill: #ac76fc; }
html[data-theme="dark"] .viz__legend i.wh__key { border-top: 2px solid #4f81ff; }
html[data-theme="dark"] .viz__legend i.wh__key--tense { border-top: 2px dashed #cf362b; }
html[data-theme="dark"] .keydates__item::before { background: #1a1f27; }
html[data-theme="dark"] .keydates__tag--m { color: #d18d52; background: #2f2415; }
html[data-theme="dark"] .keydates__tag--a { color: #6193ff; }
html[data-theme="dark"] .keydates__tag--v { color: #b27cff; background: #2c2633; }
html[data-theme="dark"] .elements__track { background: #212630; }
html[data-theme="dark"] .elements__fill--0 { background: #007c4b; }
html[data-theme="dark"] .elements__fill--1 { background: #ba2c1d; }
html[data-theme="dark"] .elements__fill--2 { background: #7a4a00; }
html[data-theme="dark"] .elements__fill--3 { background: #535d6e; }
html[data-theme="dark"] .elements__fill--4 { background: #3f6dff; }
html[data-theme="dark"] .answer__error { color: #fa6868; }
html[data-theme="dark"] .paywall-ghost { -webkit-mask-image: linear-gradient(#1b2027 90px, transparent 230px); mask-image: linear-gradient(#1b2027 90px, transparent 230px); }
html[data-theme="dark"] .paywall { background: linear-gradient(160deg, var(--primary-soft), #1a1f27 62%); border: 1px solid #282f44; }
html[data-theme="dark"] .paywall__lock { color: #ffffff; box-shadow: 0 6px 16px -6px rgba(59, 112, 255, 0.6); }
html[data-theme="dark"] .paywall__offer.is-featured { box-shadow: 0 10px 26px -14px rgba(59, 112, 255, 0.55); }
html[data-theme="dark"] .paywall__badge { color: #ffffff; }
html[data-theme="dark"] .paywall__was b { color: #ffffff; background: #c6001e; }
html[data-theme="dark"] .paywall__offer.is-featured .paywall__cta, html[data-theme="dark"] .paywall__offer:hover .paywall__cta { color: #ffffff; }
html[data-theme="dark"] .review__stars button { color: #9a9ea9; }
html[data-theme="dark"] .review__stars button.is-on { color: #d78e00; }
html[data-theme="dark"] .review__msg.is-error { color: #ff6263; }
html[data-theme="dark"] .review__done { color: #54b48d; background: #1b262b; }
html[data-theme="dark"] .turn--support .answer__lead { background: #212328; }
html[data-theme="dark"] .act-note { color: #fa6868; }
html[data-theme="dark"] .feedback__chip span { background: #1a1f27; }
html[data-theme="dark"] .feedback__note { background: #1a1f27; }
html[data-theme="dark"] .feedback__error { color: #fa6868; }
html[data-theme="dark"] .feedback__btn:hover { background: #1a1f27; }
html[data-theme="dark"] .feedback__btn--send { color: #ffffff; }
html[data-theme="dark"] .chatbox--dock { box-shadow: 0 10px 30px -14px rgba(30, 50, 120, 0.25); }
html[data-theme="dark"] .chatbox.is-busy .chatbox__send::before { border: 2px solid rgba(26, 31, 39, 0.35); border-top-color: #1a1f27; }
@media (max-width: 900px) {
    html[data-theme="dark"] .layout.is-open .sidebar { box-shadow: 20px 0 60px rgba(0, 0, 0, 0.15); }
    html[data-theme="dark"] .layout.is-open .sidebar-dim { background: rgba(15, 20, 35, 0.35); }
}

/* ── dark-manual.css ── */
/* Hand-tuned dark theme, appended to the generated rules by scripts/dark-css.php. The page background sits below the cards. */
html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #11151c;
    --tint: #161b23;
    --surface: #1a1f28;
    --line: #2a313d;
    --line-strong: #3a4250;
    --text: #e9ecf1;
    --text-2: #b4bdc9;
    --text-3: #828c9a;
    --primary: #5b84ff;
    --primary-600: #7898ff;
    --primary-soft: #1d2742;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] img.avatar { filter: brightness(0.9); }

/* The theme switch: a moon in light mode, a sun in dark mode. */
.theme-toggle .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
