/* GRACIANB P10 / 2026 · Abyss petrol refinement.
   The first world is professional silver; Yoga and Lab retain their own art.
   No Professional Deck files or PDF assets are touched. */
@media screen {
html[data-theme="dark"] {
 --hub-surface:#050f15;
 --hub-inset:#07151c;
 --hub-edge:rgba(199,205,208,.36);
 --hub-edge-hot:rgba(199,205,208,.64);
}
html[data-theme="dark"] body {
 background:radial-gradient(ellipse at 19% 1%,rgba(88,117,130,.035),transparent 40rem),
 linear-gradient(180deg,#02070b 0%,#010508 52%,#010407 100%),#02070b;
}
/* P12: retired duplicated world-carousel artwork and professional orbit. */
/* True dark panels throughout, not just the hero/header. */
html[data-theme="dark"] :is(.method-section,.documents-section){
 background:linear-gradient(180deg,#040b11,#02080d);
}
html[data-theme="dark"] :is(.facts-strip,.arc-grid,.document-group,.contact-panel,.command-panel) {
 background-color:#07151c;border-color:var(--hub-edge);
}
html[data-theme="dark"] .evidence-card {
 background:linear-gradient(155deg,color-mix(in srgb,var(--accent) 4%,#06141b),#040c12 89%);
 border-color:rgba(199,205,208,.3);
 box-shadow:0 14px 35px rgba(0,0,0,.26);
}
html[data-theme="dark"] .document-group-professional .document-visual {
 background:linear-gradient(135deg,#0d2028,#040d12 87%);
}
html[data-theme="dark"] .contact-panel {
 background:radial-gradient(circle at 83% 5%,rgba(136,164,176,.06),transparent 23rem),#06141b;
}
html[data-theme="dark"] .hero-wow .hero-lead-wow{color:#bbc9ce}
html[data-theme="dark"] .world-carousel-controls .world-overview-toggle {
 min-height:44px;font-size:.84rem;letter-spacing:.015em;
}
html[data-theme="dark"] .facts-strip>div,
html[data-theme="dark"] .arc-grid>article{
 border-color:var(--hub-edge);
}

/* Underlying surfaces are darker; the world-specific art stays intact. */
html[data-theme="dark"] :is(.door,.arc-grid,.document-group,.command-panel){
  background-color:#07151c;
}
html[data-theme="dark"] .arc-future{
  background:radial-gradient(circle at 90% 10%,rgba(136,164,176,.055),transparent 10rem),#091820;
}
html[data-theme="dark"] :is(.world-selector-head,.world-card-copy,.document-group-head){
  border-color:rgba(199,205,208,.29);
}
html[data-theme="dark"] .world-selector.is-overview .world-card{
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}

/* Focus and hover work in all major components, without repainting the world's artwork. */
@media(hover:hover) and (pointer:fine){
 html[data-theme="dark"] :is(.evidence-card,.document-group,.door,.contact-panel){
 transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
 }
 html[data-theme="dark"] :is(.evidence-card,.document-group,.door,.contact-panel):hover {
 border-color:var(--hub-edge-hot);box-shadow:0 23px 49px rgba(0,0,0,.4);
 transform:translateY(-2px);
 }
 html[data-theme="dark"] :is(.card-actions a,.document-group>a,.door,.world-card-link,.hero-actions a):hover{
 filter:brightness(1.1);
 }
 html[data-theme="dark"] .world-professional .world-card-link:hover .world-enter{
 background:rgba(199,205,208,.17);border-color:#c7cdd0;
 }
 html[data-theme="dark"] .world-selector.is-overview .world-professional:hover{
 border-color:#c7cdd0;box-shadow:0 16px 32px rgba(0,0,0,.39);
 }
 html[data-theme="dark"] .world-overview-toggle:hover{
 border-color:#c7cdd0;
 }
}
html[data-theme="dark"] :is(.evidence-card a,.door,.document-group>a,.world-card-link):focus-visible{
 outline:3px solid #c7cdd0;outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
 html[data-theme="dark"] :is(.evidence-card,.document-group,.door,.contact-panel){
 transition:none;
 }
 html[data-theme="dark"] :is(.evidence-card,.document-group,.door,.contact-panel):hover{
 transform:none;
 }
}
}
