/* PLANTING DESIGN: the DESIGN row, areas of interest, design layers. Loaded on every site page; nothing here draws until
 * js/design/ mounts, which only happens where the server's switch says so (sitepage.py DESIGN_LIVE). */
#hud-right #bases #design-src { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 6px; }
/* ONE SCROLLER: the right plate, held to the screen. A deck is as tall as what it holds. simulation.css clips every deck on y (its controls reach left), and cockpit.css held them to 340px and outranked anything here, so
 * a long deck was cut with nothing able to scroll it, and a deck that scrolled inside the plate would trap the wheel. Wheel, trackpad and touch here never reach the globe: its canvas is in the renderer's frame. */
#hud-right { --plate-top: 16px; max-height: calc(100vh - var(--plate-top) - 4.4rem); max-height: calc(100dvh - var(--plate-top) - 4.4rem); box-sizing: border-box; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; touch-action: pan-y; }
#hud-right > * { flex: none; }
body.ck:has(.ac-site) #hud-right { --plate-top: 74px; }
@media (max-width: 900px) { #hud-right { --plate-top: 8px; } }
@media (max-width: 760px) { body.ck:has(.ac-site) #hud-right { --plate-top: 64px; } }
/* a phone's open plate takes the width of the screen, since it clips and a deck may no longer reach left past it, and stops above the chat */
@media (max-width: 760px) {
  #hud-right:has(.src.open) { left: 8px; right: 8px; box-sizing: border-box; align-items: stretch; max-height: calc(100vh - var(--plate-top) - 9.6rem); max-height: calc(100dvh - var(--plate-top) - 9.6rem); }
  #hud-right:has(.src.open) #logo { align-self: flex-end; }
  #hud-right #bases:has(.src.open) { width: 100%; }
  #hud-right #bases .src.open .deck { margin-right: 0; padding-right: 0; }
  #hud-right #bases #design-src.open .design-deck > * { width: 100%; margin-left: 0; box-sizing: border-box; }
}
body.ck #hud-right #bases .src.open .deck { max-height: 300rem; }
#bases .design-deck [hidden] { display: none !important; }
.ds-list { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; margin: .2rem 0; }
.ds-list:empty { display: none; }
.ds-row { display: flex; align-items: center; gap: .3rem; padding: .22rem 0; border-bottom: 1px solid var(--line); }
.ds-name { flex: 1; min-width: 0; text-align: left; font-size: .64rem; letter-spacing: .02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-name i { display: block; font-style: normal; font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 1px; }
.ds-flag { font-weight: 400; color: #c95a22; }
.ds-row.on { background: rgba(0, 0, 0, .06); box-shadow: inset 2px 0 0 var(--ink); }
.ds-row.on .ds-name { font-weight: 700; padding-left: .4rem; }
.ds-go { margin-top: .3rem; justify-content: flex-start !important; }
.ds-btn { color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); padding: .3rem .6rem !important; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; transition: background .15s, color .15s; }
.ds-btn:hover { background: var(--ink); color: #fff !important; }
.ds-note:empty { display: none; }
#hud-right #bases #design-src.open .design-deck { width: 100%; box-sizing: border-box; margin-left: 0; }

/* PLANT's two sub-buttons: the cockpit's own rows, side by side, in the frame's top corners */
.ds-tabs { display: flex; margin: 0 -12px; border-bottom: 1px solid var(--line); }
#plant .ds-tabs .ck-row { flex: 1; width: 50%; min-height: 1.9rem; justify-content: center; }
#plant .ds-tabs .ck-row:first-child { border-radius: 18px 0 0 0; }
#plant .ds-tabs .ck-row:last-child { border-radius: 0 18px 0 0; }
#plant.ds-open .pf-head, #plant.ds-open .pf-body, #plant.ds-open .pf-tool, #plant.ds-open .pf-search { display: none !important; }
.ds-pane { display: flex; flex-direction: column; gap: .5rem; min-height: 0; overflow-y: auto; padding: .6rem 0 .2rem; font-family: var(--sans); color: var(--ink); }
.ds-pane[hidden] { display: none; }
.ds-tools { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
#plant .ds-tool { padding: .3rem .6rem; border: 1px solid rgba(0, 0, 0, .2); border-radius: 4px; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: #fff; transition: color .12s, border-color .12s, background .12s; }
#plant .ds-tool:hover { color: var(--ink); border-color: var(--ink); }
#plant .ds-tool.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ds-size { flex: 1; display: flex; align-items: center; gap: .4rem; min-width: 7rem; font-size: .54rem; color: var(--faint); }
.ds-size input { flex: 1; min-width: 0; accent-color: #111; }
.ds-size output { white-space: nowrap; min-width: 3.4rem; text-align: right; }
.ds-hint { margin: 0; font-family: var(--serif); font-style: italic; font-size: .92rem; line-height: 1.25; color: var(--dim); }
.ds-hint:empty { display: none; }
.ds-hand { position: relative; display: flex; align-items: center; gap: .45rem; border-bottom: 1px solid var(--line-strong); padding-bottom: .2rem; }
.ds-sw { flex: none; width: .72rem; height: .72rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28); }
#ds-plant { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: italic 400 1.05rem var(--serif); color: var(--ink); padding: .1rem 0; }
.ds-hits { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; max-height: 15rem; overflow-y: auto; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .14); border-radius: 0 0 6px 6px; }
#plant .ds-hit { display: flex; align-items: baseline; gap: .5rem; width: 100%; text-align: left; padding: .2rem .5rem; }
.ds-hit:hover { background: rgba(0, 0, 0, .04); }
.ds-hit i { font: italic 400 .98rem var(--serif); white-space: nowrap; }
.ds-hit span { font-size: .56rem; color: var(--faint); }
.ds-sel { padding: .1rem 0 .3rem; border-bottom: 1px solid var(--line); }
.ds-sel[hidden] { display: none; }
.ds-num { margin: 0 0 .15rem; font-size: .6rem; color: var(--dim); }
.ds-who { margin: 0 0 .12rem; font-size: .68rem; color: var(--ink); }
.ds-who b { font-weight: 400; font-family: var(--serif); font-size: 1rem; letter-spacing: 0; }
.ds-num b { font-weight: 400; color: var(--ink); }
.ds-why { margin: 0 0 .1rem; font-family: var(--serif); font-style: italic; font-size: .86rem; line-height: 1.2; color: var(--dim); }
.ds-why.warm { color: #a8491c; }
#plant .ds-more { display: block; padding: 0 0 .1rem; font-size: .54rem; letter-spacing: .06em; color: var(--dim); text-decoration: underline dotted; text-underline-offset: 2px; }
#plant .ds-more:hover { color: var(--ink); }
.ds-hits-h { margin: 0; padding: .3rem .5rem .1rem; font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.ds-hit em { margin-left: auto; font-style: normal; font-size: .58rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.ds-acts { display: flex; flex-wrap: wrap; gap: .1rem .7rem; margin-top: .25rem; }
#plant .ds-acts button { font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: .14rem 0; }
.ds-acts button:hover { color: var(--ink); }
.ds-layers { display: flex; flex-direction: column; }
#plant .ds-lr { display: flex; align-items: center; gap: .5rem; width: 100%; text-align: left; padding: .3rem .25rem; border-bottom: 1px solid rgba(0, 0, 0, .08); border-radius: 3px; }
.ds-lr:hover { background: rgba(0, 0, 0, .03); }
.ds-lr.on { background: rgba(0, 0, 0, .06); }
.ds-lt { flex: 1; min-width: 0; line-height: 1.12; }
.ds-lt i { font: italic 400 1rem var(--serif); }
.ds-lt em { display: block; font-style: normal; font-size: .54rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-la { flex: none; text-align: right; font-size: .56rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.ds-la u { display: block; text-decoration: none; font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; color: #a8491c; }
.ds-empty { margin: .3rem 0; font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--faint); }
.ds-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .9rem; padding: .25rem 0 .1rem; }
.ds-out span { font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.ds-undo, #plant .ds-undo { padding: 0 .15rem; font: inherit; font-style: normal; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ds-out a { font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); text-decoration: none; }
.ds-out a:hover { color: var(--ink); }
.ds-a { position: fixed; left: -6px; top: -6px; z-index: 30; width: 12px; height: 12px; padding: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #111; cursor: grab; touch-action: none; }
.ds-a.corner { border-radius: 2px; }
.ds-a.move { left: -9px; top: -9px; width: 18px; height: 18px; background: #111; box-shadow: 0 0 0 2px #fff; cursor: move; }
.ds-a.move::before, .ds-a.move::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%); }
.ds-a.move::before { width: 10px; height: 1.5px; }
.ds-a.move::after { width: 1.5px; height: 10px; }
.ds-a:active { cursor: grabbing; background: #111; }
.ds-a.mid { left: -4px; top: -4px; width: 8px; height: 8px; background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(0, 0, 0, .55); transition: background .12s; }
.ds-a.mid:hover { background: #fff; box-shadow: 0 0 0 1.5px #111; }

#rd-eng > span { display: block; }
.rd-note:empty { display: none; }
.rd-t { display: block; padding: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; background: #eee; }
.rd-t img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.rd-t:hover img { transform: scale(1.04); }
#rd-frame { position: fixed; z-index: 29; pointer-events: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 100vmax rgba(255, 255, 255, .28); }
/* the areas of interest, folded by kind */
.ds-fold { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: .3rem 0 .24rem; font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); }
.ds-fold em { font-style: normal; letter-spacing: .04em; }
.ds-fold:hover, .ds-fold.on { color: var(--ink); }
.ds-go { flex-wrap: wrap; gap: .3rem !important; }
#ds-aoi-name { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--ink); background: none; padding: .2rem 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: .82rem; color: var(--ink); outline: none; }
/* the design at a glance, and hundreds of layers as groups */
.ds-sum { padding: .35rem 0 .1rem; font-size: .64rem; color: var(--ink); }
.ds-sum p { margin: 0 0 .2rem; }
.ds-sum b { font-weight: 400; color: var(--ink); }
.ds-st { display: flex; flex-wrap: wrap; gap: .2rem .7rem; }
.ds-st button { font-size: .56rem; letter-spacing: .06em; color: var(--dim); transition: opacity .2s ease; }
.ds-st button:hover { color: var(--ink); }
.ds-st button.off { opacity: .4; text-decoration: line-through; }
.ds-by { justify-content: flex-start !important; padding: .1rem 0 .15rem !important; }
.ds-g { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.ds-gr { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; text-align: left; padding: .3rem .25rem; }
.ds-gr:hover { background: rgba(0, 0, 0, .03); }
.ds-g.on .ds-gr { background: rgba(0, 0, 0, .025); }
.ds-gn { font-size: .68rem; color: var(--ink); }
.ds-ga, .ds-gp { align-self: center; flex: none; padding: .1rem .3rem; font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); text-decoration: none; opacity: 0; transition: opacity .15s ease; }
.ds-g:hover .ds-ga, .ds-g:hover .ds-gp, .ds-ga:focus, .ds-gp:focus { opacity: 1; }
.ds-ga:hover, .ds-gp:hover { color: var(--ink); }
.ds-lr.off { opacity: .4; }
.ds-by button { padding: .15rem .5rem .15rem 0 !important; margin-right: .3rem; }
.ds-gr .ds-la u { color: var(--faint); text-decoration: none; }
#ds-view button, #ds-reach button { white-space: nowrap; }
#ds-view { flex-wrap: nowrap; }

#ds-reach button, #ds-view button { white-space: nowrap; }
#hud-right #bases #design-src.open .design-deck > * { width: 15rem; margin-left: calc(100% - 15rem); }
/* AFTER RESTORATION, on the area in hand: never a measurement, and it says so */
.rs { display: flex; flex-direction: column; gap: .2rem; margin: .2rem 0 .3rem; }
.rs[hidden] { display: none; }
.rs-go { align-self: flex-start; }
.rs-note { max-width: none !important; text-align: left !important; pointer-events: auto; margin: .1rem 0 !important; }
#hud-right #bases .rs-depth select { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 2px 0; }
.rs-row { display: flex; align-items: baseline; gap: .4rem; padding: .12rem 0; border-bottom: 1px solid var(--line); font-size: .6rem; }
.rs-row i { flex: 1; min-width: 0; font-family: var(--serif); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-row b { font-weight: 700; min-width: 2.2rem; text-align: right; }
.rs-head i, .rs-head b, .rs-head em { font: 400 .52rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.rs-row em { flex: none; width: 3.4rem; text-align: right; font-style: normal; font-size: .54rem; color: var(--faint); }
/* the panel takes the width of the deck that is open; closed, it stays tight to its names */
@media (min-width: 761px) {
  #hud-right #bases:has(.src.open) { min-width: 13.875rem; }
  #hud-right #bases:has(#design-src.open) { min-width: 15rem; }
}
#hud-right #bases .reach .seg button { white-space: nowrap; letter-spacing: .03em; padding-left: 3px; padding-right: 3px; }
/* six reaches with View (walk NASA_DECK, Nov 19: the row ran past the deck's left edge and cut its label): the row wraps, the label stays */
#hud-right #bases .reach .seg { flex-wrap: wrap; row-gap: 2px; }
/* a proposed structure named on the Google Maps view, as on the sheet */
.ds-maplabel { pointer-events: none; }   /* Leaflet writes this element's transform; the centering sits on the child */
.ds-maplabel div { position: absolute; width: max-content; transform: translate(-50%, -50%); text-align: center; color: #111; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.05rem; line-height: 1.1; }
.ds-maplabel i { display: block; font-family: Oxygen, sans-serif; font-style: normal; font-size: .62rem; letter-spacing: .04em; color: #555; }
/* on a phone the panel and the bar share the same ground: while layers are open the bar steps aside; our line gives way to the site's name */
@media (max-width: 1000px) { body:has(#plant.ds-open:not([hidden])) #view-copy { display: none; } }
@media (max-width: 760px) { body:has(#design-src) #foot > span:first-child { display: none; } }
@media (max-width: 760px) {   /* a thumb's targets */
  #plant .ds-acts button { padding: .72rem 0; }
  #plant .ds-acts { gap: 0 1rem; }
  .ds-out { gap: 0 1.1rem; }
  .ds-out a { padding: .78rem 0; font-size: .6rem; }
  #plant .ds-st button { padding: .3rem 0; }
  #plant .ds-hit { padding: .5rem .5rem; }
  #plant .ds-hit i { white-space: normal; }
}
/* a thumb's + on the right: its box grows and the mark and the row's height do not */
@media (hover: none) { #hud-right #bases .more { width: 2.75rem; height: 1.6rem; margin: -.24rem -.81rem; } }
/* a layer chosen far down the list keeps its words in sight; All is reachable where there is no hover */
.ds-sel { position: sticky; top: 0; z-index: 4; background: rgba(255, 255, 255, .96); }
@media (hover: none) { .ds-ga { opacity: 1 !important; } }
/* the small word beside a row's numbers, whatever a panel's buttons are set to */
#plant .ds-g .ds-ga { font-size: .62rem; line-height: 1.2; margin-left: .35rem; color: var(--faint); }
#plant .ds-g .ds-ga:hover { color: var(--ink); }
.ds-out a.busy { color: var(--ink); pointer-events: none; }
.ds-crs { display: flex; gap: .3rem; margin-top: .3rem; }
.ds-crs input { flex: 1; min-width: 0; font: .68rem var(--sans); border: 0; border-bottom: 1px solid var(--line, #ddd); background: none; padding: .15rem 0; }
.ds-crs input:focus { outline: 0; border-bottom-color: var(--ink); }
.ds-plan { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .4rem; }
.ds-plan-r { display: flex; align-items: center; gap: .4rem; font: .68rem var(--sans); letter-spacing: .04em; cursor: pointer; }
.ds-plan .ds-hint { margin: .2rem 0 0; }
/* A removal says so at the foot of the screen, whatever the deck has scrolled to, and a big one asks there. */
#ds-toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 7000; display: none; align-items: center; gap: 1rem; max-width: min(92vw, 40rem); padding: .6rem .95rem; background: #fff; border: 1px solid var(--line, #ddd); font: .78rem/1.35 var(--sans); color: var(--ink, #111); transform: translateX(-50%); }
#ds-toast.in { display: flex; align-items: center; animation: ds-toast-in .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ds-toast-in { from { opacity: 0; transform: translate(-50%, .5rem); } to { opacity: 1; transform: translate(-50%, 0); } }
#ds-toast span { flex: 1; min-width: 0; }
#ds-toast button { flex: none; min-height: 1.6rem; padding: 0 .2rem; background: none; border: 0; font: inherit; letter-spacing: .02em; color: var(--ink, #111); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
#ds-toast .ds-t-no { color: #666; }
#ds-toast button:hover { color: #000; font-weight: 700; }
#ds-toast button:focus-visible { outline: 1px solid var(--ink, #111); outline-offset: 2px; }
/* no env() in `bottom`: with it the toast laid out and answered clicks but did not paint in a screenshot (Nov 2) */
@media (max-width: 640px) { #ds-toast { bottom: 7.4rem; width: 92vw; gap: .7rem; font-size: .85rem; } #ds-toast button { min-height: 2.75rem; padding: 0 .4rem; } }
.ds-gone .ds-name { cursor: default; }
.ds-gone .ds-undo { flex: none; font-size: .68rem; }
/* Their plan and a view's designs: words that light, in the deck's own type */
.ds-plan-more { display: flex; flex-direction: column; gap: .3rem; margin-top: .35rem; }
.ds-plan-more[hidden] { display: none; }
#hud-right #bases .seg.ds-plan-ch { flex-wrap: wrap; justify-content: flex-start; align-content: flex-start; height: auto; gap: 0 .1rem; }
#hud-right #bases .seg.ds-plan-ch button { flex: none; width: auto; padding: 3px 5px; letter-spacing: .1em; white-space: nowrap; }
.ds-plan-ch button b { font-weight: 400; letter-spacing: .02em; }
@media (hover: none) and (max-width: 900px) { #hud-right #bases .seg.ds-plan-ch button { min-height: 2.75rem; } }
/* their rendering over the view it was solved for: the height of the frame, centred, under the panels */
#plan-over { position: fixed; top: 0; left: 50%; height: 100vh; width: auto; max-width: none; transform: translateX(-50%); z-index: 20; pointer-events: none; opacity: 0; transition: opacity .22s ease; }
#plan-over.on { opacity: 1; }
/* a tool in hand on a phone: the map is the hand's. Hidden, not moved, so the panel comes back where it was (tools.js clearMap) */
@media (max-width: 760px) { body.ds-drawing #plant, body.ds-drawing #hud-right, body.ds-drawing #hud-left { visibility: hidden; pointer-events: none; } }
/* SIMULATE: below VIEW, past a line, in its style */
#bases .src[data-src="simulate"] { order: 11; }

/* DESIGNS (owner, 2026-11-03): a site's named designs as titles. The open one heads the deck; a press on it lists them all, and a press on another opens it. */
.ds-designs { display: flex; flex-direction: column; margin: 0 0 .45rem; border-bottom: 1px solid var(--line); }
.ds-designs[hidden] { display: none; }
.ds-dsg { display: block; position: relative; width: 100%; padding: .42rem 1.4rem .42rem .1rem; text-align: left; border-top: 1px solid var(--line); color: var(--ink); transition: background .25s ease, box-shadow .25s ease, padding .25s ease; }
.ds-dsg:first-child { border-top: 0; }
.ds-dsg .t { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.06rem; line-height: 1.12; letter-spacing: .005em; }
.ds-dsg .s { display: block; font-size: .58rem; letter-spacing: .02em; color: #6b6b6b; margin-top: .14rem; line-height: 1.35; }
.ds-dsg .n { display: block; font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: .18rem; }
.ds-dsg:hover { background: rgba(0, 0, 0, .035); }
.ds-dsg.on { box-shadow: inset 2px 0 0 var(--ink); padding-left: .55rem; }
.ds-dsg.on .t { font-weight: 600; }
.ds-dsg.head::after { content: ''; position: absolute; right: .35rem; top: .72rem; width: .42rem; height: .42rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ds-dsg.head[aria-expanded="true"]::after { transform: translateY(.2rem) rotate(-135deg); }
.ds-designs.all .ds-dsg { animation: ds-dsg-in .32s cubic-bezier(.2, .8, .2, 1) both; }
.ds-designs.all .ds-dsg:nth-child(2) { animation-delay: .04s; }
.ds-designs.all .ds-dsg:nth-child(3) { animation-delay: .08s; }
@keyframes ds-dsg-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (hover: none) and (max-width: 900px) { .ds-dsg { min-height: 2.75rem; } }

/* the legend's plant photograph, in place of its swatch, ringed in the plant's drawing color */
.ds-ph { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background-size: cover; background-position: center; margin: 0 .15rem; }

/* a highlighted thing's name tag on the site (js/design/object.js) */
.hl-tags { position: fixed; inset: 0; pointer-events: none; z-index: 30; }
.hl-tag { position: absolute; left: 0; top: 0; margin: -1.55rem 0 0 -0.1rem; white-space: nowrap; font: .62rem/1.2 var(--sans); letter-spacing: .02em; color: #2b2b2b; background: rgba(255,255,255,.86); padding: .08rem .3rem; border-radius: 2px; border-left: 2px solid rgb(217,107,46); }

/* T02 DESIGN'S SELECTION (select.js): what a click picked, named in the deck in the panel's own type; the outline and the one quiet tag are on the scene */
.ds-picked { margin: .3rem 0 .2rem; padding: .45rem 0 .4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); color: var(--ink); }
.ds-picked p { margin: 0; }
.ds-pk-k { font-size: .52rem; letter-spacing: .3em; text-indent: 0; text-transform: uppercase; color: var(--faint); }
.ds-pk-n { margin-top: .1rem !important; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; line-height: 1.15; overflow-wrap: anywhere; }
.ds-pk-s { font-size: .6rem; color: var(--dim); margin-top: .05rem !important; }
.ds-pk-how { font-family: var(--serif); font-style: italic; font-size: .82rem; line-height: 1.2; color: var(--dim); margin-top: .25rem !important; }
.ds-pk-how:empty { display: none; }
.ds-pk-acts { display: flex; flex-wrap: wrap; gap: .2rem .7rem; margin-top: .35rem; }
.ds-pk-acts button { padding: .1rem 0; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid transparent; transition: color .12s, border-color .12s; }
.ds-pk-acts button:hover { color: var(--ink); border-bottom-color: var(--ink); }
.ds-pk-acts [data-pk="delete"] { color: #9c3d1a; }

.sw-pavers { background-color: #d9d3c5; background-image: linear-gradient(90deg, rgba(0,0,0,.14) 1px, transparent 1px), linear-gradient(0deg, rgba(0,0,0,.14) 1px, transparent 1px); background-size: .9rem .45rem, .9rem .45rem; }
.sw-dg { background-color: #bba684; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px), radial-gradient(rgba(60,40,20,.25) 1px, transparent 1.4px); background-size: .3rem .3rem, .41rem .41rem; background-position: 0 0, .15rem .2rem; }
.sw-gravel { background-color: #9c9e9c; background-image: radial-gradient(rgba(255,255,255,.4) 1.2px, transparent 1.8px), radial-gradient(rgba(0,0,0,.22) 1.2px, transparent 1.8px); background-size: .42rem .42rem, .55rem .55rem; background-position: 0 0, .2rem .25rem; }
.sw-asphalt { background-color: #5b5a58; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.5px); background-size: .35rem .35rem; }
.sw-lawn { background-color: #6c8b4b; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 .6rem, transparent .6rem 1.2rem); }
.sw-turf { background-color: #6c8b4b; background-image: linear-gradient(90deg, rgba(235,235,225,.55) 2px, transparent 2px), linear-gradient(0deg, rgba(235,235,225,.55) 2px, transparent 2px); background-size: .6rem .6rem; }
.sw-path { background: linear-gradient(0deg, transparent calc(50% - var(--w, 30%) / 2), #e2ddd1 calc(50% - var(--w, 30%) / 2), #e2ddd1 calc(50% + var(--w, 30%) / 2), transparent calc(50% + var(--w, 30%) / 2)), #f4f3ef; }
.sw-structure { background: linear-gradient(#111, #111) center 72% / 46% 1px no-repeat, linear-gradient(#fdfdfb, #fdfdfb) center 70% / 46% 58% no-repeat, #e8e6e0; }
.sw-bench { background: linear-gradient(#9b7350, #9b7350) center / 70% .32rem no-repeat, #f4f3ef; }
.sw-light { background: radial-gradient(circle, #f6d48f 0 .2rem, rgba(246,212,143,.25) .45rem, transparent .9rem), #34343a; }
.sw-nest { background: radial-gradient(circle at 50% 40%, #2b2b2e 0 .12rem, transparent .14rem), linear-gradient(#9b7350, #9b7350) center 45% / 34% 50% no-repeat, linear-gradient(#34343a, #34343a) center bottom / 6% 40% no-repeat, #f4f3ef; }
.sw-bed { background: radial-gradient(ellipse at 25% 40%, #8a9a62 0 30%, transparent 31%), radial-gradient(ellipse at 70% 60%, #a08aa8 0 28%, transparent 29%), radial-gradient(ellipse at 55% 25%, #5f7a4a 0 22%, transparent 23%), #c9c3a8; }
.ds-pal-dot { width: .55rem; height: .55rem; border-radius: 50%; align-self: center; }

/* THE DESIGN'S COLOURS, ONE TRUE FULL-SPECTRUM HSLuv PALETTE (Lance, Nov 25: "The DESIGN colors are very bad, not from a true full spectrum HUSL palette"):
   the four plant types at hues a quarter turn apart round the whole HSLuv circle (86, 176, 266, 356), at one lightness (50) and one saturation (90), so
   none outweighs another; the circle's turn is the one that keeps every pair the farthest apart for normal, protan, deutan and tritan eyes (CIELUV 24
   at the closest, where the earlier start at pure green left trees and grasses 8 apart for a deutan); 4.48:1 on white. Made by
   js/models/planting-color.js hsluvToRgb, held to it by tests/design_colors.test.mjs */
.role-shrub { background: #7b7b22; } .role-tree { background: #258578; } .role-matrix { background: #6665f0; } .role-structure { background: #e02572; }


body.ck #order.complete:not(.ck-expanded) { background: rgba(255, 255, 255, .9); }

/* the selection's size by hand (select.js regrow): minus, its margin in words, plus; quiet like the card's other actions */
.ds-pk-grow { display: inline-flex; align-items: center; gap: .35rem; }
.ds-pk-acts .ds-pk-grow button { width: 1.15rem; height: 1.15rem; padding: 0; border: 1px solid var(--line, rgba(0, 0, 0, .2)); border-radius: 50%; font: 400 .8rem/1 var(--sans); letter-spacing: 0; color: var(--ink); }
.ds-pk-acts .ds-pk-grow button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ds-pk-grow i { min-width: 2.4rem; text-align: center; font: 400 .56rem var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* the person's name, everywhere on the simulator, in Cormorant Garamond italic light */
body .ac-name { font-family: 'Cormorant Garamond', var(--serif), serif; font-style: italic; font-weight: 300; font-size: 1rem; letter-spacing: 0; }

.pl-up, .pl-dn, .cl-top, .cl-bot { stroke-dasharray: 1 1; }

/* WHAT THE DESIGN HOLDS (js/design/contents.js; Lance, Nov 25): the panel's own rows at the foot of DESIGN's deck. The square shows or hides, the name
 * selects, the + opens; a species' plants one by one beneath it, laid only as far as the plate's scroll shows them */
.ds-ct { margin: .4rem 0 .2rem; font-family: var(--sans); color: var(--ink); }
.ds-ct-h, .ds-ct-r, .ds-ct-o { display: grid; grid-template-columns: 9px minmax(0, 1fr) 18px; column-gap: 10px; align-items: center; }
.ds-ct-h { padding: 5px 0; border-top: 1px solid var(--line); }
.ds-ct-r { padding: 3px 0; }
.ds-ct-sq { width: 9px; height: 9px; padding: 0; border: 1px solid var(--line-strong); box-sizing: border-box; background: none; cursor: pointer; transition: background .15s; }
.ds-ct-sq.on { background: var(--ink); border-color: var(--ink); }
.ds-ct-sq.part { border-color: var(--ink); background: linear-gradient(135deg, var(--ink) 50%, transparent 50%); }
.ds-ct-n { display: flex; align-items: center; gap: .45rem; min-width: 0; padding: 0; text-align: left; font-size: .64rem; letter-spacing: .02em; color: var(--ink); cursor: pointer; }
.ds-ct-n .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-ct-n em { flex: none; font-style: normal; font-variant-numeric: tabular-nums; font-size: .56rem; letter-spacing: .04em; color: var(--faint); }
.ds-ct-n i { flex: none; font-style: normal; font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ds-ct-n .ds-pal-dot { flex: none; width: .45rem; height: .45rem; }
.ds-ct-n .role-none { background: var(--line-strong); }
.ds-ct-h .ds-ct-n { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; }
.ds-ct-h .ds-ct-n em { font-size: .6rem; letter-spacing: .12em; }
.ds-ct-x .ds-ct-n .t { font-size: .64rem; }
.ds-ct .hid > .ds-ct-n, .ds-ct .hid > .ds-ct-n em { color: var(--faint); }
.ds-ct-r:hover, .ds-ct-o:hover { background: rgba(0, 0, 0, .035); }
.ds-ct-h, .ds-ct-r { position: relative; }
.ds-ct-r.on, .ds-ct-o.on { background: rgba(0, 0, 0, .06); }
.ds-ct-r.on::before, .ds-ct-o.on::before, .ds-ct-r.some::before { content: ''; position: absolute; left: -6px; top: 2px; bottom: 2px; width: 2px; background: var(--ink); }
.ds-ct-r.some::before { background: var(--line-strong); }
.ds-ct-r.on .ds-ct-n em, .ds-ct-r.some .ds-ct-n em { color: var(--ink); }
.ds-ct-more { position: relative; width: 18px; height: 18px; padding: 0; opacity: .45; transition: opacity .15s; cursor: pointer; }
.ds-ct-more::before, .ds-ct-more::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.ds-ct-more::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.ds-ct-more.open::after { opacity: 0; }
.ds-ct-more:hover, .ds-ct-more.open { opacity: 1; }
.ds-ct-kids { position: relative; }
.ds-ct-o { position: absolute; left: 0; right: 0; height: 22px; box-sizing: border-box; padding-left: 19px; }
.ds-ct-o .ds-ct-sq { width: 7px; height: 7px; justify-self: center; }
.ds-ct-o .ds-ct-n .t { flex: none; min-width: 1.6rem; font-variant-numeric: tabular-nums; }
