/* V18: a shared inline project shell. Original assets and media controls stay intact. */
html[data-theme],html[data-qe-palette-scope] {
  color-scheme:dark;--paper:#24272B;--ground:#24272B;--ink:#F0F0EE;--muted:#C2C6CB;
  --soft:#C2C6CB;--faint:#B1B7BF;--accent:#C6D7F5;--blue:#C6D7F5;--on-accent:#24272B;
  --hair:rgba(194,198,203,.30);--surface:#30343A;--folder-fill:rgba(240,240,238,.14);
  --folder-hover:rgba(240,240,238,.24);background:#24272B;
}
html[data-theme] body,html[data-theme] body.qe-home {
  isolation:isolate;background:transparent;--dots:rgba(238,33,154,.14);min-height:100svh;
}
html[data-theme] body::after,html[data-theme] body.qe-home::after {
  content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:url('silhouettes/painting-image-infill.png') center/cover no-repeat;
  filter:grayscale(1);opacity:.12;transform:scale(1.14);
}
html[data-theme] body::before,html[data-theme] body.qe-home::before {
  display:block;content:'';position:fixed;inset:0;pointer-events:none;
  background-image:radial-gradient(rgba(238,33,154,.14) 1.05px,transparent 1.2px);
  background-size:60px 50px;background-position:-1px -1px;
}
html[data-theme]::before,html[data-theme]:has(body.qe-home)::before {display:none}
html[data-theme]::after,html[data-theme]:has(body.qe-home:not(.qe-interior-open))::after {opacity:.05;mix-blend-mode:screen}
html[data-theme] body>.qe-xhair,html[data-theme] body>.qe-cover-drawing {display:none!important}
html[data-theme] body .xs-site-header {
  position:relative;min-height:90px;align-items:flex-start;flex-wrap:nowrap;
  padding:24px clamp(20px,5vw,72px) 10px;gap:16px;
}
html[data-theme] body .xs-site-header .xs-site-folders {
  flex-direction:row;flex-basis:auto;align-items:center;gap:22px;margin-left:auto;
}
html[data-theme] body .xs-site-header .xs-site-folder img,html[data-theme] body.qe-home .xs-site-header .xs-site-folder img {filter:saturate(.85) brightness(1.04)}
.qe-project-row {
  position:relative;z-index:20;display:flex;align-items:flex-start;justify-content:flex-start;
  gap:clamp(20px,4vw,52px);width:min(100% - 40px,1120px);margin:0 auto 30px;
  padding:12px 4px 18px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
  scrollbar-color:var(--hair) transparent;overscroll-behavior-x:contain;
}
.qe-project-folder {
  display:flex;flex:none;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:6px;min-width:80px;max-width:130px;min-height:76px;padding:4px 6px;
  color:var(--ink);text-decoration:none;text-align:center;
}
.qe-project-folder img {width:44px;height:44px;object-fit:contain;filter:saturate(.85) brightness(1.04);transition:transform .18s ease}
.qe-project-folder span {font:700 9px/1.35 'XS Header Courier','Courier New',monospace;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;background:var(--folder-fill);border-radius:9px;padding:3px 7px}
.qe-project-folder:hover img,.qe-project-folder:focus-visible img {transform:scale(1.12)}
.qe-project-folder[aria-current=page] span {text-decoration:underline;text-underline-offset:3px}
.qe-project-folder:focus-visible {outline:2px solid var(--ink);outline-offset:-2px;border-radius:3px}
html[data-theme] body > #qe-folder-preview.qe-folder-preview {
  position:fixed;z-index:480;width:280px;max-width:calc(100vw - 24px);padding:12px;
  background:#24272B;border:1px solid var(--hair);box-shadow:0 12px 30px #0005;
  color:var(--ink);font:400 11px/1.55 var(--body,'Courier Prime',monospace);
}
.qe-folder-preview[hidden] {display:none}
.qe-folder-preview img {display:block;width:100%;height:160px;object-fit:contain;background:#202327;margin-bottom:12px}
.qe-folder-preview strong {display:block;font:400 26px/1.1 'Old London',serif;margin:0 0 5px;letter-spacing:0}
.qe-folder-preview p {margin:0;color:var(--muted)}
body.qe-workspace main.qe-endeavors-main {
  width:100%;max-width:1180px;margin:0 auto;padding:0 clamp(14px,3vw,30px) 56px;
}
.qe-endeavors-tools {display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 6px;font:400 10px/1.5 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.qe-endeavors-tools a {color:inherit;text-decoration:underline;text-underline-offset:3px}
html[data-theme] body.qe-home>p.qe-home-blurb {z-index:1}
@media(max-width:600px) {
  html[data-theme] body .xs-site-header {min-height:76px;padding:18px 20px 6px;gap:12px}
  html[data-theme] body .xs-site-header .xs-site-name {font-size:9px;letter-spacing:.08em}
  html[data-theme] body .xs-site-header .xs-site-folder img {width:34px;height:34px}
  .qe-project-row {width:calc(100% - 28px);gap:12px;margin-bottom:18px;padding:10px 2px 12px}
  .qe-project-folder {min-width:76px;max-width:116px;min-height:70px;padding:4px}
  .qe-project-folder img {width:36px;height:36px}
  .qe-project-folder span {font-size:8px}
}
@media(prefers-reduced-motion:reduce) {.qe-project-folder img {transition:none}}
