/* DHA case page · the page's own room · 2026-12-01 · v1.5. Loaded after kit.css.
   His frame (header, footer) stays ink. Inside, the DHA room: deep teal (#052830, Tony's pick, 27 Nov; also the 3D mark's
   ground) for the opening, the system and the close, and white (the 2008 manual's ground) for the chapters of artwork,
   so the page breathes teal → white → teal → white → teal instead of black, all white, black. */
:root{--dha-room:#fff;--dha-teal:#052830}
.on-paper{background:var(--dha-room);--quiet:var(--ink-quiet)}   /* kit v2.6 does not remap .part-h .q on paper */
.dha-teal,.film.dha-teal{background:var(--dha-teal)}
.opened.dha-teal{padding-bottom:var(--s6)}
.part-h .no{display:block;margin-bottom:var(--s2)}
.part-h .t-section{font-weight:300}
.part-h .t-section b{font-weight:600}
.on-paper + .on-paper,.dha-teal + .dha-teal{padding-top:0}
@media (max-width:760px){.nums>.num{grid-column:span 6}}
/* The colour cards are one row: measured as a gallery (its edges on the grid, the cards inside set the split). */
.dha-colours.gal{display:block}
/* Pantone 321 C back face: ink words on the turquoise (paper words were 4.1:1 at phone size). */
.dha-colours .c2 .dha-colours__back{color:var(--ink)}
/* The colour cards rest straight, front-on; they show their thickness only while they turn (taste: tilt). */
.dha-colours__card{--rest:0deg}
/* v1.5 · 2 Dec 2026 · press clippings, the manual's line, the film */
.ff .t-small{margin-top:var(--s2);color:var(--quiet)}
@media (max-width:760px){.qv{row-gap:var(--s4)}}
.qv{align-items:start}
@media (min-width:761px){.split>.from7{padding-top:29px}}   /* the pyramid starts on the cards' top line */
.qv .quote{margin:0}
/* the colour cards: their row starts and ends on the column lines */
.dha-colours__row{padding-inline:0;justify-content:stretch;grid-template-columns:repeat(3,minmax(0,1fr))}
.lyr-cap{color:var(--quiet)}
/* phone: the kit stacks every row; the three posters (figure.tr) follow it, each whole and full width */
@media (max-width:760px){.gal.dha-launch .tr{flex:none;width:100%}}
/* turning cards and mark pieces may reach past the edge for a moment: never a sideways scroll */
main{overflow-x:clip}

/* ===== the black ground (page.py WHITE_GROUND = 'black'): unused while the chapters are white ===== */
.dha-black{background:var(--ink)}
.dha-black .dha-mb-lock [fill="#1D1D1B"],.dha-black .dha-mb-stack [fill="#1D1D1B"]{fill:var(--paper)}   /* the bilingual name in white, as the manual's reversed logo */
.dha-black .dha-mb-values b{color:var(--paper)}
.dha-black .dha-mb-values span{color:var(--quiet)}

/* ===== v1.6 · 2 Dec 2026 · the name leads: name, idea line, then the film ===== */
.opened.name-first{padding-bottom:var(--s4)}   /* beats .opened.dha-teal */
.name-first .open-t .t-title{max-width:none}
.name-first .idea{margin:var(--s2) 0 0;font-weight:300}
.name-first .idea b{font-weight:600}
.film+.opened .open-t>.t-body:first-child{margin-top:0}

/* ===== v1.7 · 2 Dec 2026 · taste, impeccable and UI UX Pro Max: nothing here changes the approved screens ===== */
.film.dha-teal{box-shadow:0 0 0 100vmax var(--dha-teal);clip-path:inset(0 -100vmax)}
.film.dha-teal.film--off{box-shadow:inset 0 0 0 1px var(--line),0 0 0 100vmax var(--dha-teal)}   /* a failed film keeps the kit's outline */
/* wider than 1440, or a short screen: the sides of the film are the room, not black */
.dha-mark3d .mark3d-poster img{display:block;width:100%;height:auto}                  /* no JavaScript: the finished mark */
@media (max-width:760px){.qv .zoom{padding-block:10px;margin-block:-10px}}             /* the manual's line is 31 px tall (25 at 320): its tap area is 51 (45) */
@media (min-width:761px) and (max-width:1024px){.split>.from7{padding-top:16px}}       /* tablet: the pyramid starts on the cards' top line there too */
/* the 3D mark builds for 10 s: a click on it, or this button (drawn only while a key has reached it), shows the finished mark */
.mark3d-skip{position:absolute;min-height:44px;padding:0 16px;border:1px solid currentColor;background:var(--dha-teal);color:var(--paper);font:500 var(--t-small)/1.2 Inter,sans-serif}
.mark3d-skip:not(:focus-visible){clip-path:inset(50%);width:1px;min-height:1px;height:1px;padding:0;border:0;overflow:hidden;white-space:nowrap}
.nums-note{margin:0;color:var(--quiet)}   /* the limits of the figure, under the row */
