/* Day-only integration of the legacy solar trail. No night/nocturne selectors. */
html[data-site-theme="day"][data-theme-scope="inner"] .solar-subnav,
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini {
  width:min(1320px,calc(100% - 72px));margin-inline:auto;
  --bg:#d4d3c8;--panel:#e0ded1;--line:#a0ab9e;--text:#29434e;--muted:#50656b;--aqua:#175c55;--gold:#855a22;
  background:#d4d3c8;color:#29434e;
}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-subnav{background:#c6cac0;border-color:#a0ab9e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-subnav a{color:#29434e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-subnav .solar-subbrand{color:#855a22}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini::before{display:none}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini main{width:100%;margin:0;overflow:visible}
/* The planet rail is horizontal now: remove the obsolete right-rail gutter. */
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto;min-width:0}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.hero,.subhero,.guide,.intro,.print-intro,.solar-resource-grid)>*{min-width:0}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.rail,.scale-section,.distance,.lux){background:#c6cac0;border-color:#a0ab9e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.hero-art,.scale,.create-card,.aside,.example,.picker button,.qr-tools a){background:#e0ded1;border-color:#a0ab9e;color:#29434e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .steps-grid article{background:linear-gradient(#e0ded1,transparent);border-color:#718579}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.lede,.hero-art-caption,.intro p,.lux p,.steps p,.callout p,.copy p,.scale p,.create-copy p:not(.eyebrow),.example p,.guide-step p,.aside p,.selection,.qr-note,.sources,.sources summary,.rail a){color:#29434e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.eyebrow,.note,.table-note,.scale small,.scale .sun,.picker button small,.qr-tools small,.dist-table th small){color:#50656b}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(h1 em,.scale .sun b){color:#855a22}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.picker button.selected,.rail a:hover,.rail a.active){background:#bbc6b7;border-color:#175c55;color:#173d3d}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .table-wrap{max-width:100%;overflow-x:auto;border-color:#a0ab9e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .dist-table{background:#e0ded1;color:#29434e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .dist-table thead{background:#bbc6b7;color:#29434e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .dist-table :is(th,td){color:#29434e;border-color:#a0ab9e}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .dist-table [data-scale].selected{background:#c6d2bd;color:#173d3d}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .btn.quiet{color:#175c55;border-color:#718579}
html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .qr-tools a>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:800px){
  html[data-site-theme="day"][data-theme-scope="inner"] :is(.solar-mini,.solar-subnav){width:calc(100% - 24px)}
  html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini :is(.subhero,.guide){grid-template-columns:1fr}
}
@media(max-width:620px){
  html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .wrap{width:calc(100% - 32px)}
  html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .rail{width:100%;margin-inline:0;justify-content:flex-start}
  html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .qr-tools a{align-items:flex-start}
  html[data-site-theme="day"][data-theme-scope="inner"] .solar-mini .qr-tools img{flex:0 0 64px;width:64px;height:64px}
}

@media(max-width:540px){html[data-site-theme="day"][data-theme-scope="inner"] :is(.solar-mini,.solar-subnav){width:100%}}
