/* Probably Wrong v0.9.1 — final, dark-only consistency layer.
   This file is loaded last and deliberately does not alter light mode. */
html[data-theme="dark"]{
 color-scheme:dark;
 --paper:#121a2a;--ink:#edf3ff;--blue:#a9c2ff;--stone:#344662;--muted:#b5c5de;--white:#22324b;
 --ui-panel:#22334f;--ui-line:#425a7a;--ui-shadow:0 15px 42px #050b1e60;
}
html[data-theme="dark"] body{background:linear-gradient(155deg,#111a2b 0%,#17233a 52%,#101a2b 100%)!important;color:#edf3ff!important}
html[data-theme="dark"] body::before{background:radial-gradient(ellipse at 70% 35%,#6486be16,transparent 66%)!important}
html[data-theme="dark"] header .brand,html[data-theme="dark"] header .brand .dot{color:#f3f7ff!important}
html[data-theme="dark"] header .brand .dot{color:#adc6ff!important}
html[data-theme="dark"] header nav{background:#22324ae6!important;border-color:#425a7b!important;box-shadow:0 6px 23px #050d202f!important}
html[data-theme="dark"] header nav a{color:#cedbf0!important}
html[data-theme="dark"] header nav a:hover,html[data-theme="dark"] header nav a[aria-current="page"]{background:#405a83!important;color:#fff!important}
html[data-theme="dark"] header .theme-toggle{background:#304669!important;border-color:#6687b9!important;color:#e2efff!important}
html[data-theme="dark"] header .theme-toggle:hover{background:#405b80!important;color:white!important}
html[data-theme="dark"] .mobile-dock{background:#22324bf5!important;border:1px solid #4a6589!important;box-shadow:0 10px 35px #03091480!important}
html[data-theme="dark"] .mobile-dock a{color:#c0d0e6!important}
html[data-theme="dark"] .mobile-dock a.active,html[data-theme="dark"] .mobile-dock a:hover{background:#425f91!important;color:#fff!important}
html[data-theme="dark"] .small,html[data-theme="dark"] .math-index,html[data-theme="dark"] .math-heading-marker{color:#b5cbff!important}
html[data-theme="dark"] .note,html[data-theme="dark"] .meta,html[data-theme="dark"] .meterlabel,html[data-theme="dark"] .section-description,html[data-theme="dark"] .math-section-label,html[data-theme="dark"] footer{color:#b5c5dd!important}
html[data-theme="dark"] .section-title,html[data-theme="dark"] .large,html[data-theme="dark"] .two h2{color:#f1f5ff!important}
html[data-theme="dark"] .section-title .serif,html[data-theme="dark"] .large .serif,html[data-theme="dark"] .two h2 .serif{color:#b5b1ff!important}
html[data-theme="dark"] .home-hero .hero{
 background-image:linear-gradient(90deg,#a1b7ec0c 1px,transparent 1px),linear-gradient(#a1b7ec0c 1px,transparent 1px),radial-gradient(ellipse at 85% 20%,#516bae48,transparent 43%),linear-gradient(128deg,#213656,#252a49 60%,#413249)!important;
 border-color:#465c88!important;box-shadow:0 18px 65px #050d2550!important;color:#f5f8ff!important
}
html[data-theme="dark"] .home-hero .hero h1,html[data-theme="dark"] .home-hero .hero .intro,html[data-theme="dark"] .home-hero .hero .intro *{color:#f4f7ff!important}
html[data-theme="dark"] .home-hero .hero h1 .hero-wrong,html[data-theme="dark"] .home-hero .hero h1 .hero-wrong span{color:#b4caff!important}
html[data-theme="dark"] .home-hero .hero .subtitle{color:#d3dff3!important}
html[data-theme="dark"] .home-hero .hero .small{color:#c3d2ff!important}
html[data-theme="dark"] .home-hero .hero .pw-status span{background:#293f67!important;border-color:#4e6ca0!important;color:#dbebff!important}
html[data-theme="dark"] .home-hero .hero .pw-status .code{color:#baccf3!important}
html[data-theme="dark"] .home-hero .hero .pw-hero-tail{color:#c0d0e9!important}
html[data-theme="dark"] .home-hero .hero .hero-actions .link{color:#dce9ff!important;text-decoration-color:#9bbaff!important}
html[data-theme="dark"] .home-hero .hero .hero-actions .action{background:#a5beff!important;color:#122649!important;box-shadow:0 7px 24px #010b266b!important}
html[data-theme="dark"] .home-hero .hero .hero-actions .action:hover{background:#c8d8ff!important}
html[data-theme="dark"] .cover-note{background:#243959eb!important;border-color:#607aa8!important;box-shadow:0 13px 38px #0005!important}
html[data-theme="dark"] .cover-note .note-top,html[data-theme="dark"] .cover-note .note-bottom{color:#b5caf0!important}
html[data-theme="dark"] .cover-note .note-main{color:#f0f4ff!important}
html[data-theme="dark"] .cover-ribbon,html[data-theme="dark"] .cover-ribbon span{color:#b6c5e7!important}
html[data-theme="dark"] .cover-mark .orbit-a{stroke:#9cb7f1!important}
html[data-theme="dark"] .cover-mark .orbit-b{stroke:#b6a2ee!important}
html[data-theme="dark"] .cover-mark .orbit-c,html[data-theme="dark"] .cover-mark .axis{stroke:#8ea7de!important}
html[data-theme="dark"] .cover-mark .axis-label{fill:#c0d1f3!important}
html[data-theme="dark"] .cover-mark .orbit-center{fill:#a4bfff!important}
html[data-theme="dark"] .cover-mark .orbit-particle{fill:#c4b1fc!important;stroke:#28395b!important}
html[data-theme="dark"] .math-formula-strip{background:linear-gradient(110deg,#293e68,#35335d)!important;border-color:#4f668e!important}
html[data-theme="dark"] .math-formula-strip .formula{color:#e0e9ff!important}
html[data-theme="dark"] .math-formula-strip .formula-description{color:#c2d2ee!important}
html[data-theme="dark"] .math-formula-strip .formula-divider{background:#6576a1!important}
html[data-theme="dark"] .math-field-panel{background:linear-gradient(145deg,#1f4350,#283755 75%,#302d53)!important;border-color:#45687d!important}
html[data-theme="dark"] .math-field-panel h3{color:#f0f7ff!important}
html[data-theme="dark"] .math-field-panel h3 em{color:#c1b8ff!important}
html[data-theme="dark"] .math-field-panel p{color:#c9deed!important}
html[data-theme="dark"] .math-field-panel .math-hint{color:#b9d3ed!important}
html[data-theme="dark"] .math-plot{background:#1e304bcf!important;border-color:#486382!important;box-shadow:0 12px 32px #08132340!important}
html[data-theme="dark"] .math-plot .plot-grid{stroke:#3d5674!important}
html[data-theme="dark"] .math-plot .plot-axis{stroke:#91a9c8!important}
html[data-theme="dark"] .math-plot .plot-curve{stroke:#a7bdff!important}
html[data-theme="dark"] .math-plot .plot-comparator{stroke:#c4a8f5!important}
html[data-theme="dark"] .math-plot .plot-dot{fill:#c0a9ff!important;stroke:#263655!important}
html[data-theme="dark"] .math-plot .plot-label{fill:#c4d5ed!important}
html[data-theme="dark"] .math-plot .plot-legend,html[data-theme="dark"] .math-plot .math-caption,html[data-theme="dark"] .math-slider-label{color:#c2d5ed!important}
html[data-theme="dark"] .math-slider-label output,html[data-theme="dark"] .math-plot .plot-legend b{color:#c9d4ff!important}
html[data-theme="dark"] .math-plot input[type="range"]{accent-color:#a2baff!important}
html[data-theme="dark"] .math-section-label:before,html[data-theme="dark"] .math-section-label:after{background:linear-gradient(90deg,#516583,#354866)!important}
html[data-theme="dark"] #questions{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme="dark"] #questions .section-title{color:#f4f7ff!important}
html[data-theme="dark"] #questions .editorial-pill,html[data-theme="dark"] .question-editorial .editorial-pill{background:#343e70!important;border-color:#5669a1!important;color:#dbe4ff!important}
html[data-theme="dark"] .question-editorial .editorial-script{color:#c6b7f5!important}
html[data-theme="dark"] #questions .idea{border:1px solid #4d658a!important;box-shadow:0 9px 25px #030c1f32!important}
html[data-theme="dark"] #questions .idea:nth-child(1){background:linear-gradient(135deg,#304a7b,#31385d)!important}
html[data-theme="dark"] #questions .idea:nth-child(2){background:linear-gradient(135deg,#2d4c46,#294037)!important}
html[data-theme="dark"] #questions .idea:nth-child(3){background:linear-gradient(135deg,#524047,#403447)!important}
html[data-theme="dark"] #questions .idea:nth-child(4){background:linear-gradient(135deg,#3a3765,#323256)!important}
html[data-theme="dark"] #questions .idea:nth-child(5){background:linear-gradient(135deg,#28475a,#294059)!important}
html[data-theme="dark"] #questions .idea h3{color:#f5f7ff!important}
html[data-theme="dark"] #questions .idea p{color:#d4dfed!important}
html[data-theme="dark"] #questions .idea .small{color:#c4d3ff!important}
html[data-theme="dark"] #questions .idea .meterlabel{color:#cbd8e9!important}
html[data-theme="dark"] #questions .idea .segment{background:#62728c!important;border-color:#8290ae47!important}
html[data-theme="dark"] #questions .idea .segment.on{background:linear-gradient(90deg,#a3bcff,#b0a4f0)!important;border-color:#a3bcff!important}
html[data-theme="dark"] #questions .idea:nth-child(1)::after,html[data-theme="dark"] #questions .idea:nth-child(2)::after,html[data-theme="dark"] #questions .idea:nth-child(3)::after,html[data-theme="dark"] #questions .idea:nth-child(4)::after,html[data-theme="dark"] #questions .idea:nth-child(5)::after{color:#c6c7ff!important}
html[data-theme="dark"] .pw-section-annot,html[data-theme="dark"] .pw-section-annot b,html[data-theme="dark"] .section-foot .note{color:#b7c9e7!important}
html[data-theme="dark"] .section-foot .outline{background:#2b426a!important;color:#e0eaff!important;border-color:#6283b5!important}
html[data-theme="dark"] .section-foot .outline:hover{background:#415d8b!important}
html[data-theme="dark"] .lab-strip .pw-lab{background:linear-gradient(145deg,#233e86,#1d305e)!important;border:1px solid #4e6bae!important}
html[data-theme="dark"] .lab-strip .pw-lab h2,html[data-theme="dark"] .lab-strip .pw-lab h2 em{color:#f0f5ff!important}
html[data-theme="dark"] .lab-strip .pw-lab h2 em{color:#c4d8ff!important}
html[data-theme="dark"] .lab-strip .pw-lab p{color:#d3e0fa!important}
html[data-theme="dark"] .lab-strip .pw-lab .lab-eye{color:#d2e3ff!important}
html[data-theme="dark"] .lab-strip .lab-prompt{background:#ffffff14!important;border:1px solid #7997d19b!important}
html[data-theme="dark"] .lab-strip .lab-prompt strong{color:#f6f8ff!important}
html[data-theme="dark"] .lab-strip .lab-prompt small,html[data-theme="dark"] .lab-strip .lab-count{color:#c4d8fb!important}
html[data-theme="dark"] .lab-strip .lab-prompt button{background:#c4d9ff!important;color:#1a3464!important;border:0!important}
html[data-theme="dark"] .lab-strip .lab-prompt button:hover{background:#e3eeff!important}
html[data-theme="dark"] .lab-side{background:linear-gradient(135deg,#453849,#342b42)!important}
html[data-theme="dark"] .lab-side .side-index{color:#e0aecb!important}
html[data-theme="dark"] .lab-side h2{color:#f8edf7!important}
html[data-theme="dark"] .lab-side h2 em{color:#d3bafb!important}
html[data-theme="dark"] .lab-side p{color:#e0d0de!important}
html[data-theme="dark"] .lab-side a{color:#f1e6fb!important;background:#67536e!important}
html[data-theme="dark"] .home-writing #published{background:linear-gradient(140deg,#30365f,#29395d)!important;border:1px solid #485b88!important}
html[data-theme="dark"] .home-writing #published h2{color:#f4f6ff!important}
html[data-theme="dark"] .home-writing #published .section-description{color:#d2dbf1!important}
html[data-theme="dark"] .home-writing #published #publishedList{background:#1c2a46!important;color:#edf3ff!important}
html[data-theme="dark"] .home-writing #published #publishedList .note{color:#c4d3ea!important}
html[data-theme="dark"] .home-writing #published #publishedList a{border-color:#485b78!important;color:#e3eaff!important}
html[data-theme="dark"] .home-writing #published #publishedList a small{color:#bbcce4!important}
html[data-theme="dark"] .home-writing #published .writing-link{color:#c9d5ff!important}
html[data-theme="dark"] .manifesto{background:linear-gradient(140deg,#1b2d4e,#263967)!important}
html[data-theme="dark"] .manifesto blockquote{color:#f4f7ff!important}
html[data-theme="dark"] .manifesto blockquote em{color:#c8d8ff!important}
html[data-theme="dark"] .manifesto p{color:#cfdef4!important}
html[data-theme="dark"] .manifesto .kicker{color:#bcd2ff!important}
html[data-theme="dark"] .elsewhere{background:linear-gradient(135deg,#203458,#1d2d4d)!important}
html[data-theme="dark"] .elsewhere .section-title{color:#f5f8ff!important}
html[data-theme="dark"] .elsewhere .section-title .serif{color:#c5c2ff!important}
html[data-theme="dark"] .elsewhere .venture{border:1px solid #4c658b!important;box-shadow:0 8px 30px #06112435!important}
html[data-theme="dark"] .elsewhere .venture:nth-child(1){background:linear-gradient(140deg,#28426a,#253750)!important}
html[data-theme="dark"] .elsewhere .venture:nth-child(2){background:linear-gradient(140deg,#39385f,#303453)!important}
html[data-theme="dark"] .elsewhere .venture:nth-child(3){background:linear-gradient(140deg,#4a3948,#3a3448)!important}
html[data-theme="dark"] .elsewhere .venture h3{color:#f6f7ff!important}
html[data-theme="dark"] .elsewhere .venture p{color:#d5deed!important}
html[data-theme="dark"] .elsewhere .venture .arrow{color:#c4d5ff!important}
html[data-theme="dark"] .about>div:last-child{background:linear-gradient(145deg,#263854,#24314c)!important;border:1px solid #4c6183!important}
html[data-theme="dark"] .about p{color:#d2deee!important}
html[data-theme="dark"] .about .link{color:#bbcfff!important}
html[data-theme="dark"] .pw-final-note{color:#c6bbf0!important}
html[data-theme="dark"] .writing-hero{background:linear-gradient(125deg,#263d6b,#34305a)!important;color:#f5f7ff!important}
html[data-theme="dark"] .writing-hero h1,html[data-theme="dark"] .writing-hero p{color:#f5f7ff!important}
html[data-theme="dark"] .writing-hero h1 .serif{color:#c6c0ff!important}
html[data-theme="dark"] .writing-feature{background:linear-gradient(135deg,#243d76,#323c6d)!important}
html[data-theme="dark"] .writing-feature h2{color:#f5f7ff!important}
html[data-theme="dark"] .writing-feature h2 .serif{color:#d6d1ff!important}
html[data-theme="dark"] .writing-feature p{color:#d5e0ff!important}
html[data-theme="dark"] .writing-pills span{background:#ffffff19!important;border:1px solid #a5baff61!important;color:#e6edff!important}
html[data-theme="dark"] .writing-card{background:linear-gradient(130deg,#263957,#25314e)!important;border:1px solid #4b6186!important}
html[data-theme="dark"] .writing-card:nth-child(even){background:linear-gradient(130deg,#36365b,#2c3250)!important}
html[data-theme="dark"] .writing-card h3{color:#f5f7ff!important}
html[data-theme="dark"] .writing-card p{color:#d2deef!important}
html[data-theme="dark"] .writing-card .writing-meta{color:#b8caff!important}
html[data-theme="dark"] .writing-status{color:#c5d5eb!important}
html[data-theme="dark"] .intro{background:linear-gradient(128deg,#273e6a,#303253 75%,#473849)!important;border-color:#4d6387!important}
html[data-theme="dark"] .intro h1,html[data-theme="dark"] .intro .lead{color:#f3f7ff!important}
html[data-theme="dark"] .intro h1 .serif{color:#c5c5ff!important}
html[data-theme="dark"] .intro .deck{color:#d3deed!important}
html[data-theme="dark"] .section.two,html[data-theme="dark"] .work{background:linear-gradient(140deg,#23334d,#26314a)!important;border:1px solid #425875!important}
html[data-theme="dark"] .section.two h2,html[data-theme="dark"] .work h2{color:#f3f7ff!important}
html[data-theme="dark"] .prose p,html[data-theme="dark"] .work p{color:#d0dced!important}
html[data-theme="dark"] .prose .pull{background:#2a4168!important;border-left-color:#a6bafd!important;color:#e1eaff!important}
html[data-theme="dark"] .chapter{border:1px solid #4d6284!important;border-top:3px solid #7f9fea!important;background:#2a3b55!important}
html[data-theme="dark"] .chapter:nth-child(2){background:#334b47!important}
html[data-theme="dark"] .chapter:nth-child(3){background:#39385c!important}
html[data-theme="dark"] .chapter h3{color:#f4f7ff!important}
html[data-theme="dark"] .chapter p{color:#cdd9eb!important}
html[data-theme="dark"] .list a{border-color:#465b79!important;color:#edf3ff!important}
html[data-theme="dark"] .list a span:last-child{color:#b7ceff!important}
html[data-theme="dark"] .cta{background:linear-gradient(120deg,#273f72,#30375f)!important}
html[data-theme="dark"] .cta h2{color:#f4f7ff!important}
html[data-theme="dark"] .cta h2 .serif{color:#bec6ff!important}
html[data-theme="dark"] .cta p{color:#d2dff5!important}
html[data-theme="dark"] .cta .button{background:#a8c2ff!important;color:#1a2c50!important}
html[data-theme="dark"] #article{background:linear-gradient(135deg,#23344f,#20304b)!important;color:#f3f7ff!important;border:1px solid #496081!important;box-shadow:0 18px 60px #030b1d60!important}
html[data-theme="dark"] #article h1,html[data-theme="dark"] #article h2,html[data-theme="dark"] #article h3{color:#f4f7ff!important}
html[data-theme="dark"] #article #summary,html[data-theme="dark"] #article .body,html[data-theme="dark"] #article .body p,html[data-theme="dark"] #article .body li{color:#d9e3f0!important}
html[data-theme="dark"] #article .body a{color:#b9ceff!important}
html[data-theme="dark"] .math-post-note{background:#273a59!important;border:1px solid #456187!important;color:#ccddfb!important}
html[data-theme="dark"] .back{color:#c4d4ff!important}
html[data-theme="dark"] .overlay{background:#040915cc!important}
html[data-theme="dark"] .dialog{background:#253752!important;border:1px solid #5b76a1!important;color:#f3f7ff!important;box-shadow:0 25px 80px #000a!important}
html[data-theme="dark"] .dialog h2{color:#f4f7ff!important}
html[data-theme="dark"] .dialog p{color:#d0dfef!important}
html[data-theme="dark"] .dialog .labelbox{color:#c6d4ff!important}
html[data-theme="dark"] .dialog .close{background:#3c5276!important;color:#f2f7ff!important}
html[data-theme="dark"] .dialog .segment{background:#53637a!important}
html[data-theme="dark"] .dialog .segment.on{background:#a2bbff!important}
html[data-theme="dark"] footer{border-top-color:#3e506c!important}
html[data-theme="dark"] footer a{color:#c6d6ff!important}
@media(max-width:820px){html[data-theme="dark"] .cover-note{background:#293e5df0!important}html[data-theme="dark"] .mobile-dock{background:#21334dec!important}}