/* THE CARD'S RIGHT COLUMN, BOTTOM ROW, PATH AND ARCHIVES (Steven
   2026-11-09, deck redesign step 4). templates/cards/_card.html (_col,
   _foot with col, _backfoot, _archives_layer), drawn for the deck's cards
   (tb_card(c, col=true)); wiring static/cards/card-col.js. Everything here
   is placing and framing: the card's own fonts, colours, chips and pill
   stay card.css's.

   Only inside the deck shell (.app-shell--deck-shell, the signed-in /home
   deck): the column hangs under the shell's type icon, and the bottom row
   shares the shell's dock tokens (static/css/components/deck-shell.css:
   --ds-dock-h, --ds-dock-bottom, --ds-dock-side, --ds-dock-in,
   --ds-dock-in-b, --ds-dock-gap), so Market, the card's main button and +
   sit on one line at one height and can never drift. Outside the shell (a
   guest's deck) the discs and the path are not drawn. The path is drawn
   only on a card in a pack (section 4). The three dots are
   the card's own (cards/_card.html _col draws them before the column, on
   the card itself): their corner and the title's room are card.css's,
   THE THREE DOTS, inside the shell or out. */

/* ---- outside the shell: nothing of the column ------------------------- */
.tb-card__col { display: contents; }
.tb-card__col > .tb-card__colbtn,
.tb-card__path { display: none; }

/* ---- 1. the right column ---------------------------------------------- */
/* Top to bottom: Market, Save (the heart), Share path, Flip
   (cards/_card.html _col; Steven 2026-11-10: My agent is the deck's bottom
   left button now, Market took its place here; the three dots are at the
   card's top, THE THREE DOTS AT THE TOP below). THE GROUP STANDS CENTRED
   ON THE CARD'S RIGHT EDGE (Steven 2026-11-10): the column runs the card's
   height and its discs sit in its middle; only the discs take a tap. On
   the card's frame, outside its faces: the same discs on the front and the
   back, gone while the card turns. */
.app-shell--deck-shell .tb-card--col > .tb-card__col {
    position: absolute;
    z-index: var(--z-dropdown);
    top: 0;
    bottom: 0;
    right: var(--ds-col-right);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ds-col-gap);
    width: var(--ds-col);
    pointer-events: none;
}
.app-shell--deck-shell .tb-card--col > .tb-card__col > * { pointer-events: auto; }
.tb-card.is-3d > .tb-card__col { visibility: hidden; }
/* THE COLUMN FLOATS OVER THE CARD (Steven 2026-11-10, his shot of "Your
   friend, in five rhyming lines": "Make the right-hand card be laid out so
   that they are OVERLAY cards. We are changing the orientation for the
   stuff underneath and they are supposed to float over. We need all the
   space we can get."; and of its back, "when you flip the card too, the
   text needs to go full card width"): the discs sit on top, the card's
   words, picture, odds, chart line and the Started / agent / Target row
   run the card's full width under them, front and back, at the card's own
   side inset (--space-5), as if the column were not there. Where a disc
   lands on the chart's target or the row's last words the disc wins and
   the content runs under it; only the discs take a tap (above). Nothing on
   a face pads for the column. --tb-col-w names what the column covers on
   the card's right edge (its inset, a disc and a gap), for a row of
   controls that must stay whole beside it (View agent's tab row and its
   Looking for work choices, css/pages/workspace-cards.css and
   view-agent.css) and the bench card's words (bench-cards.css). */
.app-shell--deck-shell .tb-card--col { --tb-col-w: calc(var(--ds-col-right) + var(--ds-col) + var(--space-2)); }
/* THE FROSTED DISC (Steven 2026-11-10, his reference shot: a pale
   see-through white round over a photo, the share mark dark in it: "I
   want the share, heart and flip to be like this one, and also the
   bottom-left corner for the agent to also be like this"; then, seeing it
   live, "make the lighter buttons more transparent"): Save, Share path and
   Flip are white at 55 percent, the picture showing through it blurred,
   a thin light ring and a soft shadow, the mark in the site's dark ink
   (--text-primary). The shadow keeps the round's edge on a white back, the
   dark mark reads on a picture, a night back or white alike. My agent at
   the deck's bottom left wears the same round (deck-shell.css
   .ds-fab--agent: the same background, ring and ink). Market keeps its own
   white disc with the black line (MARKET, below).
   SEE-THROUGH (Steven 2026-11-11, his phone on a card's long words, the
   column's lower discs circled: "the bottom three buttons here should be
   transparent so that the text is going through where you can see through
   it"): no blur and no drop shadow, so the words, the picture or the
   chart under a disc stay readable through it; a light white veil (40
   percent) keeps the dark mark readable on a white back and on a dark
   cover, and the thin gray ring the My agent disc wears (deck-shell.css
   NO DROP SHADOW, A GRAY RING) draws its edge. Every disc of the column
   alike: Market (its black line kept), Save, Share path, Flip and a pack's
   Approve all (the thumb, heat-stacks.css); the same 42 round, the same
   tap. The three dots were already plain dots, no disc. */
.app-shell--deck-shell .tb-card__col > .tb-card__colbtn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: var(--ds-col);
    height: var(--ds-col);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--color-white) 72%, transparent);   /* stronger veil (Steven 2026-11-12: "make it darker on teh transperant thing"): every disc of the column alike */
    box-shadow: inset 0 0 0 var(--cf-hair, 1px) var(--border-strong);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-tap-highlight-color: transparent;
}
/* the deck's line marks draw white by their own name (components/
   _deck_glyphs.html, .ds-glyph--sharepath): on the frosted round they take
   the round's dark ink */
.app-shell--deck-shell .tb-card__col > .tb-card__colbtn > svg { color: inherit; }
.app-shell--deck-shell .tb-card__col > .tb-card__colbtn:hover { background: color-mix(in srgb, var(--color-white) 88%, transparent); }
/* the Save disc's heart on the glass: the darker purple when saved (the
   corner's purple read faint over a picture; Steven 2026-11-12: "make it
   darker on teh transperant thing"), the column's dark ink when not; the
   one saved rule (components/pack-add.css) reads it */
.app-shell--deck-shell .tb-card__col > [data-tb-card-bookmark] { --tb-saved-heart: var(--color-purple-700, #432982); }
.tb-card__colbtn:focus-visible { outline: 2px solid var(--interactive-focus-ring, var(--color-yellow-400)); outline-offset: 2px; }
.tb-card__colbtn iconify-icon,
.tb-card--col > .tb-card__menu > .tb-card__menubtn iconify-icon { display: block; width: 24px; height: 24px; font-size: 24px; }
/* MARKET (Steven 2026-11-10): the black line, the stack of cards in black
   line work. See-through like the rest of the column (Steven 2026-11-11,
   SEE-THROUGH above: he circled it with the heart, Share path and Flip):
   the same light veil, no solid white and no drop shadow. Its edge is the
   column's thin gray ring, not a black line (Steven 2026-11-11, his shot
   of the entry card: the Market disc stood solid white with a black ring
   beside the see-through Share path; "they are supposed to float"): the
   same round as every disc, its stack of cards in black line work. A
   market card draws none (_col, kind 'offer'); the Want Market's deck
   never shows one. */
.app-shell--deck-shell .tb-card__col > .tb-card__colbtn--market {
    color: var(--color-black);
}
.app-shell--deck-shell .tb-card__col > .tb-card__colbtn--market > svg { color: var(--color-black); filter: none; }
[data-hc-market-deck] .tb-card__col > [data-tb-card-market] { display: none; }
/* SAVE (the heart; the disc keeps its bookmark names in the code): only
   where the pack picker is on the page (signed
   in, not a guest: feed/_pack_add.html pack_add_parts, which marks <html>
   tb-pack-add as it is drawn). A class, not body:not(:has([data-pack-add])):
   a body:has() makes every card put in on the deck restyle the whole page
   (lane P, 2026-11-10). */
html .tb-card__col > [data-tb-card-bookmark]:not(.tb-pack-add *) { display: none; }
/* THE THREE DOTS AT THE TOP (Steven 2026-11-10: "The three dots are still
   supposed to be at the top of the card"): on the card itself, before the
   column (cards/_card.html _col), in its top right corner, the 44px tap
   centred where a sheet inside the card draws its X (card.css
   .tb-card__layerx: --space-4 in, --size-10 round); the menu opens down
   from it. The title keeps clear of it (card.css THE THREE DOTS).
   THE THREE DOTS WEAR THE COLUMN'S ROUND (Steven 2026-11-12, his shot of
   the bare dots over the heart, Share path and Flip: "Make the three dots
   have a circle around it. like the others."; it replaces his 2026-11-10
   "plain dots"): the same frosted round as the discs under it (.tb-card__
   colbtn: the size, the light veil, the thin gray ring, the dark ink), on
   the column's line (--ds-col-right), --space-4 from the top, so on a want
   card the heart stands one column gap under it (want-front.css THE DISCS
   RIDE THE PICTURE). The dots stay the same vertical line mark; the menu
   it opens is unchanged. */
.app-shell--deck-shell .tb-card--col > .tb-card__menu {
    top: var(--space-4);
    right: var(--ds-col-right);
}
/* AN OPEN MENU STANDS OVER THE DISCS (2026-11-14, the three dots' Info: at
   390 the heart sat over "Steven's" in its words, and over "primary want"
   in the menu): the menu and the column both ride the card at
   --z-dropdown and the column comes later, so its discs covered the open
   menu; while the menu is open it stands one layer up. */
.app-shell--deck-shell .tb-card--col > .tb-card__menu:has(> [data-tb-card-menu-pop]:not([hidden])) {
    z-index: var(--z-essence);
}
/* A SMALL POP-UP HIDES THE DISCS (2026-11-14, the checker's shot at 390: the
   Info pop-up is shorter than the open list, so the flip disc peeked out
   half cut off under it): while Cancel, Archive or Info stands open the
   column's discs are clear of the card, none half covered; the list, tall
   enough to cover them, is untouched. */
.app-shell--deck-shell .tb-card--col:has(> .tb-card__menu .tb-card__menuask:not([hidden])) > .tb-card__col {
    visibility: hidden;
}
.app-shell--deck-shell .tb-card--col > .tb-card__menu > .tb-card__menubtn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: var(--ds-col);
    height: var(--ds-col);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--color-white) 72%, transparent);   /* stronger veil (Steven 2026-11-12: "make it darker on teh transperant thing"): every disc of the column alike */
    box-shadow: inset 0 0 0 var(--cf-hair, 1px) var(--border-strong);
    color: var(--text-primary);
    cursor: pointer;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-tap-highlight-color: transparent;
    list-style: none;
}
.app-shell--deck-shell .tb-card--col > .tb-card__menu > .tb-card__menubtn::-webkit-details-marker { display: none; }
.app-shell--deck-shell .tb-card--col > .tb-card__menu > .tb-card__menubtn:is(:hover, [aria-expanded="true"]) { background: color-mix(in srgb, var(--color-white) 60%, transparent); }
.app-shell--deck-shell .tb-card--col > .tb-card__menu > .tb-card__menubtn iconify-icon { filter: none; }
/* Share path's "Link copied", to the disc's left */
.tb-card__colbtn[data-copied]::after {
    content: attr(data-copied);
    position: absolute;
    top: 50%;
    right: calc(100% + var(--space-2));
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    background: var(--surface-primary);
    color: var(--color-gray-950);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    transform: translateY(-50%);
}
/* SHORT ON THE FRONT (Steven 2026-11-09 16:34: "Sometimes the card gets
   squished up ... This needs to be shortened... so it doesnt overlap the
   text and the probability"): the front's title and its words take two
   lines each at most, an ellipsis after, in their own fonts and sizes; the
   whole words stay on the back. The probability keeps its own line. */
.app-shell--deck-shell .tb-card--col .tb-card__front .tb-card__head .tb-card__title,
.app-shell--deck-shell .tb-card--col .tb-card__front .tb-card__head .tb-card__subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.app-shell--deck-shell .tb-card--col .tb-card__front .tb-card__odds { flex: none; }
/* THE HEADLINE SHOWS WHOLE (Steven 2026-11-10, "why do we have
   concatenation here, it's supposed to have a shortener"; the foreman the
   same night: "never an ellipsis on the headline"). A title longer than
   home_cards.WANT_TITLE_LONG_CHARS wears tb-card__title--long (the offer
   card's own step, card.css): on a phone it is one size smaller and may
   take a third line, so a headline of up to 40 characters shows whole
   ("Toast for brother's graduation" was "Toast for brother's..." at 30px).
   The front, the light card and the dark and gathering side all wear it. */
@media (max-width: 600px) {
    .app-shell--deck-shell .tb-card--col .tb-card__head .tb-card__title.tb-card__title--long {
        font-size: var(--text-2xl);
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    /* a short screen's title is 24px (THE TITLE'S SIZE IS THE SCREEN'S,
       below): one size under it */
    .app-shell--deck-shell .hc-slide > .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front .tb-card__head .tb-card__title.tb-card__title--long {
        font-size: clamp(var(--text-xl), (100vh - 760px) * 1000, var(--text-2xl));
        font-size: clamp(var(--text-xl), (100dvh - 760px) * 1000, var(--text-2xl));
    }
}
/* the title and its words clear the column (the shell's type icon pads
   them already; the dark side's own head too) */
.app-shell--deck-shell .tb-card--col .tb-card__art > .tb-card__head > .tb-card__badge { display: none; }

/* ---- 2 and 3. the bottom row: one line, one height --------------------- */
/* The front's main button (the green pill, an offer's Get this) is the last
   thing in the white panel, its foot of flip words gone: the panel ends
   --ds-dock-in-b over the card's bottom edge, the button is --ds-dock-h
   tall, and it gives up the room the shell's Market and + take at its ends
   (their discs sit --ds-dock-in from the card's sides, the panel's own
   inset). The door (Agent, or Details) is directly above it, centred. */
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front > .tb-card__panel { padding-bottom: var(--ds-dock-in-b); }
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front > .tb-card__panel > .tb-card__cta {
    box-sizing: border-box;
    min-height: var(--ds-dock-h);
    height: var(--ds-dock-h);
    margin-left: calc(var(--ds-dock-h) + var(--ds-dock-gap));
    margin-right: calc(var(--ds-dock-h) + var(--ds-dock-gap));
}
/* a front with no button: its words stop above the line */
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front > .tb-card__panel:not(:has(> .tb-card__cta)) {
    padding-bottom: calc(var(--ds-dock-in-b) + var(--ds-dock-h) + var(--ds-dock-gap));
}
/* THE PILL HOLDS THE AGENT DOOR (Steven 2026-11-10, the song want's card:
   "remove the 'Agent' above the green button"): the picture's agent pill
   opens the agent now (cards/_card.html _want_art, its up chevron), so no
   Agent stands over the button and the words come down onto it; the button
   keeps one space above it, so the last line of words stops clear of the
   dock's line instead of sitting on it. */
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front > .tb-card__panel--pill > .tb-card__cta { margin-top: var(--space-2); }
.tb-card__foot--door { padding: 0; }
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__foot--door { margin-bottom: calc(-1 * var(--space-1)); }
.tb-card__foot--door .tb-card__details { padding: var(--space-1) var(--space-2); }

/* the dark side as the front: its words stand on the card's floor, the
   control ("See the bids") on the line, the door above it */
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front.tb-card__face--side .tb-side { padding-bottom: var(--ds-dock-in-b); }
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front.tb-card__face--side .tb-side__words { margin-top: auto; }
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front.tb-card__face--side .tb-side__words > .tb-side__control {
    box-sizing: border-box;
    min-height: var(--ds-dock-h);
    height: var(--ds-dock-h);
    margin-left: calc(var(--ds-dock-h) + var(--ds-dock-gap) + var(--ds-dock-in) - var(--space-6));
    margin-right: calc(var(--ds-dock-h) + var(--ds-dock-gap) + var(--ds-dock-in) - var(--space-6));
}
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front.tb-card__face--side:has(> .tb-card__foot--door) .tb-side__words > .tb-side__control { margin-top: calc(var(--space-4) + 34px); }
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front.tb-card__face--side .tb-side:not(:has(.tb-side__words > .tb-side__control)) {
    padding-bottom: calc(var(--ds-dock-in-b) + var(--ds-dock-h) + var(--ds-dock-gap) + 34px);
}
.app-shell--deck-shell .hc-slide .tb-card--col .tb-card__front.tb-card__face--side > .tb-card__foot--door {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: calc(var(--ds-dock-in-b) + var(--ds-dock-h) + var(--space-1));
    margin: 0;
    padding: 0;
    color: rgb(255 255 255 / 0.72);
}

/* a back's bottom row: the same line, Market and + at its ends, Archives
   between them when the want has history */
.tb-card__backdock { display: none; }
.app-shell--deck-shell .tb-card--col .tb-card__backdock {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    height: var(--ds-dock-h);
    padding: var(--space-2) calc(var(--ds-dock-in) + var(--ds-dock-h) + var(--ds-dock-gap)) var(--ds-dock-in-b);
    background: var(--surface-primary);
    color: var(--text-secondary);
    font-size: var(--text-base);
}
.app-shell--deck-shell .tb-card--col .tb-card__face--side > .tb-card__backdock { background: var(--color-dark-900); color: rgb(255 255 255 / 0.72); }
.app-shell--deck-shell .tb-card--col .tb-card__back--want > .tb-card__backdock { background: var(--tb-card-night); color: rgb(255 255 255 / 0.72); }
.tb-card__archives[hidden] { display: none; }
/* the back keeps the front's places: the want's title top left (on the
   person's turn, over the dark strip), clear of the three dots on the right
   as the front's title is (card.css THE THREE DOTS); the strip's words and
   the Proposals rows run the card's full width under the column (THE
   COLUMN FLOATS OVER THE CARD, above) */
.tb-card__planhead { display: none; }
.app-shell--deck-shell .tb-card--col .tb-card__planhead { display: block; position: static; margin: 0 0 var(--space-3); padding: 0; }
.app-shell--deck-shell .tb-card--col:has(> .tb-card__menu) .tb-card__planturn > .tb-card__planhead { padding-right: calc(var(--size-10) + var(--space-1)); }
.app-shell--deck-shell .tb-card--col .tb-card__planhead .tb-card__title { margin: 0; color: var(--text-inverse); }
.app-shell--deck-shell .tb-card--col .tb-card__planturn .tb-side__kicker { padding-right: 0; }
/* the want's history is the Archives row's now, not the plan's tail */
.tb-card--col [data-tb-card-plan] [data-live-region="history"] { display: none; }
/* THE BACK'S SCROLLER KEEPS THE CARD'S CORNERS (the frame lane's find,
   2026-11-10: a small black triangle outside the top right corner of the
   song want's turned card at 390x844). A back's words scroll in their own
   box (.tb-card__backscroll), which the browser draws on a layer of its own
   once the box holds a video (the agent's moving round); on a turned card
   that layer was not cut by the face's round corner and its square corner
   showed black past the card's outline. The scroller takes the face's own
   corners where it meets them, its top two always and its bottom two when
   it runs to the card's bottom, so it cuts itself. */
.tb-card--col > .tb-card__inner > .tb-card__face > .tb-card__backscroll {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}
.tb-card--col > .tb-card__inner > .tb-card__face > .tb-card__backscroll:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}
/* THE BACK'S COVER STANDS WHOLE (Steven 2026-11-11, the same shots: a
   title must not hide under the pocket). On the agent's turn a want's back
   opens on the want's cover, its title right of the pocket, then the plan
   on white (card.css THE PLAN IS THE BACK: .tb-card__planart, flex none,
   340 at least). The art's own flex (card.css .tb-card--full
   .tb-card__art, flex 1 1 auto, min-height 0) outweighed it, so in the
   back's scroll the cover was squeezed to a strip about 30 tall and its
   title was cut at the top, under the pocket. On the deck the cover keeps
   its height. */
.app-shell--deck-shell .tb-card--col .tb-card__planscroll > .tb-card__planart { flex: none; min-height: 340px; }
/* THE WORDS STOP BELOW THE POCKET (Steven 2026-11-11, his phone on a pack
   card's back scrolled down: the step's title "Establish Toll Bench's
   offer..." ran under the top left pocket, its first letters cut). At the
   top a back's title stands right of the pocket (card-frame.css, the title
   and its words start right of the type pocket). Scrolled, its words fade
   out in a band at the card's top as tall as they have scrolled, the
   pocket's height at most (card-col.js keeps --tb-back-scrolled), so every
   line is gone before it reaches the pocket's foot: no word is ever cut by
   the pocket or half hidden beside it, and the column's discs and the
   three dots, on the card's frame, stay.
   NO FADE NOW (Steven 2026-11-12, his shots of the plan back stopping short of the column and its title fading under the corner: "your not supposed to indent, its supposed to be to the edge of the card on the right for width ... We dont want that fade, we wan the thext to scroll and be viewable."): the words scroll and stay
   readable to the card's top edge, under the pocket and the discs. */


/* ---- 4. the path ------------------------------------------------------- */
/* A chain of marks on the card's left edge over its picture, between the
   title and the odds (card-col.js places it): the marks light gray, the
   card on top lit white at the same size as the others (Steven
   2026-11-10: "highlighted white and not larger"), the joining line light
   gray.
   ONLY ON A PACK (Steven 2026-11-10, of the five clubs down a single
   want's left: "Remove the line of icons in the top left that has the
   start to finish. I don't think it's helpful on a single card; it will be
   for action packs.", packs as against single cards, so a heat pack keeps
   it too; before that, 2026-11-09 22:05: "This needs to be on action packs
   not single cards, because it shows the actual series"): on a card in a
   pack (its slide's data-hc-pack-kind, action or heat) the path is the
   pack, one mark per card in order (the target for a want, the club for a
   card my agent runs, the stack for a market card, a + for the pack's add
   card), the card on top lit. A single card of any kind (a want, an offer,
   an agent card, the lot) and View agent's offer cards (card-col.js
   packSeries) draw none and keep no room for one: the markup stays in
   _col, empty and hidden. Every path
   ends in the stand, the double line, and none ends in a big target: the
   one yellow on a card is the Toll Bench logo in its circle. No disc
   behind the marks: a dark edge of shadow carries them on a bright cover.
   When the band is short the middle marks go first and a faded stub
   stands where they were: the stand always, then the card on top, then
   the rest. An overlay: it never takes a tap. */
.app-shell--deck-shell .tb-card--col {
    --tb-path-target: 52px;     /* the path's column, its centre under the type circle */
    --tb-path-now: 22px;        /* the step the card is on: lit white, never larger (Steven 2026-11-10) */
    --tb-path-step: 22px;       /* every other step */
    --tb-path-gap: 10px;        /* the joining line between two marks */
    --tb-path-stub: 14px;       /* a faded stub where marks are left out */
    --tb-path-stand: 8px;       /* the end of the path: the double line's ink */
    --tb-path-margin: 8px;      /* clear of the title over it, the odds under it */
    --tb-path-gray: rgb(210 210 218 / 0.75);
}
.app-shell--deck-shell .hc-slide[data-hc-pack-kind] .tb-card--col > .tb-card__path:not([hidden]) {
    position: absolute;
    z-index: 2;
    left: var(--ds-col-right);
    display: block;
    width: var(--tb-path-target);
    pointer-events: none;
}
.tb-card.is-flipped > .tb-card__path,
.tb-card.is-3d > .tb-card__path { visibility: hidden; }
.tb-card__pathlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tb-path-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.tb-card__pathstep {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: var(--tb-path-step);
    height: var(--tb-path-step);
    color: var(--tb-path-gray);
    filter: drop-shadow(0 0 1.5px rgb(0 0 0 / 0.7)) drop-shadow(0 1px 4px rgb(0 0 0 / 0.4));
}
.tb-card__pathstep[hidden] { display: none; }
.tb-card__pathstep + .tb-card__pathstep::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 1px);
    left: calc(50% - 1px);
    width: 2px;
    height: calc(var(--tb-path-gap) - 2px);
    border-radius: 1px;
    background: var(--tb-path-gray);
}
.tb-card__pathstep > svg { display: block; width: 100%; height: 100%; }
.tb-card__pathstep.is-now { width: var(--tb-path-now); height: var(--tb-path-now); color: var(--text-inverse); }
/* marks left out above: the line fades up from the first one shown */
.tb-card__pathstep.is-cut-before { margin-top: var(--tb-path-stub); }
.tb-card__pathstep.is-cut-before::before {
    height: calc(var(--tb-path-stub) - 2px);
    background: linear-gradient(0deg, var(--tb-path-gray), transparent);
}
/* the end: the stand, the double line alone, in the path's light line
   (lit white on the card's last step) */
.tb-card__pathstep--end,
.tb-card__pathstep--end.is-now {
    width: var(--tb-path-step);
    height: var(--tb-path-stand);
    color: var(--tb-path-gray);
}
.tb-card__pathstep--end.is-now { color: var(--text-inverse); }
/* marks left out between the last one shown and the stand: the line
   breaks, fading out and in again */
.tb-card__pathstep--end.is-gap { margin-top: var(--tb-path-stub); }
.tb-card__pathstep--end.is-gap::before {
    height: calc(var(--tb-path-gap) + var(--tb-path-stub) - 2px);
    background: linear-gradient(180deg, var(--tb-path-gray) 0, transparent 38%, transparent 62%, var(--tb-path-gray) 100%);
}
/* only the stand shows: nothing joins it; the shortest card's step joined
   straight to the stand: nothing over it */
.tb-card__pathstep--end.is-alone::before,
.tb-card__pathstep.is-first::before { content: none; }
/* the double line (#ds-g-step-end: its two lines' ink is y 90 to 166 of
   its 256 box), a step wide, its ink filling the stand's height */
.tb-card__pathstep > svg.tb-card__pathline {
    position: absolute;
    top: calc(var(--tb-path-stand) / 2 - var(--tb-path-step) / 2);
    left: 0;
    width: var(--tb-path-step);
    height: var(--tb-path-step);
}

/* THE PICTURE KEEPS THE PATH'S ROOM (Steven 2026-11-09 night: on his phone
   the picture was about 270pt and the path one small club over "82.0%").
   On the front of a want in a pack the odds never come up into
   the room the path needs under the title (--tb-path-room: the stand, the
   card on top joined to it, and the margins; card-col.js sets it for each
   card). A single want keeps no room: it has no path. The chart
   gives up its height first (home-cards.css); then the picture takes what
   it still needs from the white panel, never less than its own words: the
   panel's middle (the step's thing to look at, already a scroller) gets
   shorter and scrolls, while the turn, the heading, the door and the main
   button stay whole and the button stays on the dock's line. */
.app-shell--deck-shell .hc-slide[data-hc-pack-kind] .tb-card--col.tb-card--want {
    --tb-path-room: calc(2 * var(--tb-path-stub) + var(--tb-path-now) + var(--tb-path-gap) + var(--tb-path-stand) + 2 * var(--tb-path-margin));
    --tb-path-room-bare: calc(var(--tb-path-now) + var(--tb-path-gap) + var(--tb-path-stand) + 2 * var(--tb-path-margin));
}
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__art { min-height: min-content; }
.app-shell--deck-shell .hc-slide[data-hc-pack-kind] .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__art > .tb-card__over { padding-top: var(--tb-path-room); }
/* THE BAND RUNS THE CARD'S WIDTH UNDER THE COLUMN (THE COLUMN FLOATS OVER
   THE CARD, section 1): the odds, the chart with its target dot and the
   markers with "Target 100%" keep the art's own side inset and nothing
   more, the chart's height cap is card.css's (0.22 of the art's width), so
   its top line stays on the light bar. */
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__panel { flex-shrink: 1; min-height: 0; }
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__panel > * { flex-shrink: 0; }
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__panel > .tb-card__work { flex-shrink: 1; min-height: 0; }
/* the dark side as the front (the agent has the ball) keeps the same room
   under its title: its words give way instead, the box of the agent's
   words getting shorter and scrolling, the turn, the name and the state
   whole */
.app-shell--deck-shell .hc-slide[data-hc-pack-kind] .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__head { margin-bottom: var(--tb-path-room); }
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__words { display: flex; flex-direction: column; flex-shrink: 1; min-height: 0; }
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__words > *,
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__turn > * { flex-shrink: 0; }
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__words > .tb-side__turn { flex-shrink: 1; min-height: 0; }
.app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__turn > .tb-side__box { flex-shrink: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; }
/* the chart keeps a readable line on any phone but the shortest; the
   shortest (a card under 600px) keeps the card on top joined straight to
   the stand, no stubs */
@container tb-front (min-height: 600px) {
    .app-shell--deck-shell .hc-slide .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__art > .tb-card__over > .tb-card__chart { min-height: 40px; }
}
@container tb-front (max-height: 599.98px) {
    .app-shell--deck-shell .hc-slide[data-hc-pack-kind] .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front > .tb-card__art > .tb-card__over { padding-top: var(--tb-path-room-bare); }
    .app-shell--deck-shell .hc-slide[data-hc-pack-kind] .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front.tb-card__face--side:has(.tb-side__box) .tb-side__head { margin-bottom: var(--tb-path-room-bare); }
}

/* THE SHORT CARD IS THE CARD'S HEIGHT, NOT THE SCREEN'S. The short phone's
   rules (home-cards.css and artifact-cards.css, max-height 760px; the
   title's step up at 761px and over) ask the screen, and on an iPhone
   Safari answers with the screen's height with its bars put away (about
   790pt on Steven's 16 Pro) while the deck's card has only the room the
   bars leave (about 620 to 750pt). So on his phone the front kept the
   tall card's 30px title on two lines, the want's words under it, the
   44px number and the agent row under the chart, and the white panel left
   the picture 270pt. The same rules here, asked of the card's own front
   (a size container on the deck, whose card is exactly its slide; the
   screen's 600 x 760 is the card's 592 x 752 inside the slide's 4px). A
   phone's width is still the screen's: a wide screen keeps its own type. */
.app-shell--deck-shell .hc-slide > .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front { container: tb-front / size; }
/* THE TITLE'S SIZE IS THE SCREEN'S, ONE RULE FOR A SINGLE CARD AND A
   PACK'S (Steven 2026-11-11, his phone on a want card in a pack, its
   title circled: "The text should be larger because its the title"). A
   pack's card stands under the pack's edges (heat-stacks.css THE PACK IS
   A STACK OF CARDS), 16 or 32 shorter than a single card on the same
   screen, so the short card's 24px title (below) took a pack's cards on
   screens where a single card kept its full size. The title asks the
   screen the card question instead: a single card's front is the screen
   less the slide's 4px top and bottom (the dynamic height, the bars Safari
   leaves, as the deck itself is), so "the front is 752 or less" is "the
   screen is 760 or less", and both cards read it. The step is one clamp:
   at or under 760 the short size, over it the phone's own (home-cards.css:
   26px, and 390 wide and up THE WANT'S TITLE, ONE STEP UP, --text-3xl; the
   long title's above). The same rule in the browsers with no dvh, by the
   large height. */
@media (max-width: 600px) {
    .app-shell--deck-shell .hc-slide > .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front .tb-card__title:not(.tb-card__title--long) {
        font-size: clamp(24px, (100vh - 760px) * 1000, 26px);
        font-size: clamp(24px, (100dvh - 760px) * 1000, 26px);
    }
}
@media (min-width: 390px) and (max-width: 600px) {
    .app-shell--deck-shell .hc-slide > .tb-card--col.tb-card--want > .tb-card__inner > .tb-card__front .tb-card__title:not(.tb-card__title--long) {
        font-size: clamp(24px, (100vh - 760px) * 1000, var(--text-3xl));
        font-size: clamp(24px, (100dvh - 760px) * 1000, var(--text-3xl));
    }
}
@media (max-width: 600px) {
    @container tb-front (max-width: 592px) and (max-height: 752px) {
        .hc-slide .tb-card__number { font-size: 38px; }
        .hc-slide .tb-card__art { padding: var(--space-3) var(--space-5); }
        .hc-slide .tb-card__over { gap: 4px; }
        .hc-slide .tb-card__caption { font-size: 14px; }
        .hc-slide .tb-card__markers { font-size: 12px; }
        .hc-slide .tb-card__panel { gap: 8px; padding-top: var(--space-3); }
        .hc-slide .tb-card__cta { min-height: 48px; }
        .hc-slide .tb-card__subtitle,
        .hc-slide .tb-card__body { -webkit-line-clamp: 1; line-clamp: 1; }
        .hc-slide .tb-card__heading--step { -webkit-line-clamp: 2; line-clamp: 2; }
        .tb-card__work :is(.sc-art-front__img, .sc-art-front__page, .art-video--front, .art-site__view) { aspect-ratio: auto; height: var(--size-24); }
        .tb-card__work .sc-art-front__para { -webkit-line-clamp: 1; line-clamp: 1; }
        .hc-slide .tb-card--want:has(.tb-card__work) .tb-card__front .tb-card__art :is(.tb-card__markers, .tb-card__subtitle) { display: none; }
        .hc-slide .tb-card--want:has(.tb-card__work) .tb-card__front .tb-card__title { -webkit-line-clamp: 2; line-clamp: 2; }
        /* agent-side.css's short screen, the dark side as the front (that sheet
           is linked again after this one: one step more specific) */
        .tb-card__front .tb-side .tb-side__name { font-size: var(--size-10); }
        .tb-card__front .tb-side .tb-side__state { margin-top: var(--space-2); font-size: var(--text-base); }
        .tb-card__front .tb-side .tb-side__box { margin-top: var(--space-3); padding: var(--space-3) var(--space-4); }
        .tb-card__front .tb-side .tb-side__lead { font-size: var(--text-base); }
    }
}

/* ---- 5. Archives, inside the card -------------------------------------- */
.tb-card__sheet--archives { background: var(--surface-primary); color: var(--text-primary); }
.tb-card__archscroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: var(--space-5) var(--space-5) var(--space-8, 32px);
    -webkit-overflow-scrolling: touch;
}
.tb-card__archscroll > .tb-card__backtitle { margin: 0 0 var(--space-4); padding-right: calc(var(--size-10) + var(--space-2)); }
.tb-card__archbody .want-prior-attempts__title { display: none; }

@media (prefers-reduced-motion: reduce) {
    .tb-card__pathlist { transition: none; }
}

/* NOTHING ON A BACK UNDER THE RIGHT COLUMN (2026-11-12, the plan back of
   "A song from you to your boyfriend": its want line ran under the Share
   path disc): the plan back's title and its want line stop short of the
   column, as the front's title does (want-front.css) */
.app-shell--deck-shell .tb-card--col .tb-card__planturn > :is(.tb-card__planhead, .tb-card__planwant) {
    padding-right: calc(var(--ds-col-right) + var(--ds-col) + var(--space-2) - var(--space-5));
}
/* the want's picture on a back (the plan back's cover on the agent's turn,
   the want as a dark card's back): its title, line and numbers stop short
   of the column too, the target's "100%" never under a disc */
.app-shell--deck-shell .tb-card--col .tb-card__back .tb-card__art > .tb-card__over.tb-wf {
    padding-right: calc(var(--ds-col-right) + var(--ds-col) + var(--space-2) - var(--space-5));
}

/* NO DOUBLE TEXT ON THE PLAN BACK (Steven 2026-11-12, "Make the night
   official.": "we have doubling here. Just remove the double text. and the
   image. Put the 63% prob of success there"): the want line the plan brings
   up under the back's title (home-cards.js seatWantLine) keeps only its
   number, "63.0% · Probability of success"; its picture and its repeat of
   the want's words go */
.tb-card__planwant .sl-want__thumb,
.tb-card__planwant .sl-want__title { display: none; }
.tb-card__planwant .sl-want { display: block; }
.tb-card__planwant .rps-want__line { list-style: none; }
.tb-card__planwant .rps-want__line::-webkit-details-marker { display: none; }

/* THE PLAN'S AGENT OPENS THE AGENT (Steven 2026-11-12: "make the Brie Sol
   clickable, and put an up chevron so you can see that you can view them"):
   on a card's plan back the plan's agent row (feed/_proposal_cards.html
   plan_head) and the Refined plan's strip (targets/_checkout.html
   checkout_strip) take the tap and wear the Details/Agent openers' up
   chevron */
[data-tb-card-plan] .psheet__agent[data-tb-card-layer-open] { cursor: pointer; }
[data-tb-card-plan] .psheet__chev { display: inline-block; flex: none; margin-left: var(--space-1); font-size: var(--text-xl); color: var(--text-secondary); }
[data-tb-card-plan] .psheet__agent[data-tb-card-layer-open]:focus-visible { outline: 2px solid var(--interactive-focus-ring, var(--color-yellow-400)); outline-offset: 2px; border-radius: var(--radius-md); }
/* the number line stands under the back's title and want line, on their
   left edge (card-frame.css: the head clears the corner pocket) */
.app-shell--deck-shell .has-cf.tb-card--col .tb-card__planturn > .tb-card__planwant { margin-left: calc(2 * var(--cf-a) + var(--space-2) - var(--space-5)); }

/* A DELIVERED PDF FILLS THE CARD'S BOTTOM HALF (lane LOOK, Steven
   2026-11-15, his phone on "Wife's style: 10 photos + shop links", step 3,
   style-profile.pdf small in an inset grey box: "the PDF needs to be full
   width to maxmamize what we are looking at. I want all of the info in the
   red box and I want the PDF to fill the bottom half so we can see as much
   of it as possible."). Only a front whose panel holds a PDF's reader
   (cards/_card.html _work, .tb-card__work--pdf); every other card is as it
   was. The front becomes one grid: the picture stands behind the top rows,
   which hold everything the card says (the head, the title, Budget, the
   chart, the odds, then the step's number and turn, its line and its ask, in
   white over the picture); the PDF row runs the card's width edge to edge
   under them, the page fit to width (targets/artifacts/pdf.html), and takes
   about half the card, more when the words need less; the dock stays. The
   round buttons float over the top rows as before. The panel's rows line up
   with the front's (subgrid). */
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(min-content, 1fr) auto auto auto minmax(0, 42%) auto;
  position: relative; isolation: isolate; background: var(--tb-card-night);
}
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf)::after {
  content: ""; grid-row: 6 / 8; grid-column: 1; position: relative; z-index: -1; background: var(--surface-primary);
}
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art { display: contents; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > :is(.tb-card__img, .tb-card__bg) { z-index: -3; object-fit: cover; object-position: top; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__shade { z-index: -2; background: linear-gradient(to bottom, transparent, var(--tb-card-night) 45%); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__head { grid-row: 1; grid-column: 1; padding: var(--space-5) var(--space-5) 0; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__over { grid-row: 2; grid-column: 1; padding: var(--space-2) var(--space-5) 0; color: var(--text-inverse); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel {
  grid-row: 3 / 8; grid-column: 1; display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr);
  min-height: 0; padding-inline: var(--space-5); background: none;
}
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__heading { color: var(--text-inverse) !important; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__bodyscroll { padding-bottom: var(--space-2); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__bodyscroll * { color: var(--text-inverse) !important; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf {
  display: flex; flex-direction: column; gap: 0; min-height: 0; max-height: none;
  margin: 0 calc(-1 * var(--space-5)); padding: 0; border-radius: 0; background: var(--surface-primary); overflow: hidden;
  -webkit-mask-image: none; mask-image: none;
}
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf > .sc-art-front { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0; min-height: 0; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .art-file { padding: var(--space-2) var(--space-5); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .sc-art-front__page {
  flex: 1 1 auto; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0;
}

.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__over { justify-content: flex-end; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .art-file__tile { width: var(--size-8); height: var(--size-8); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .art-file__words { flex-direction: row; align-items: baseline; gap: var(--space-2); min-width: 0; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .art-file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .art-file__meta { flex: none; }

.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) .tb-card__title { font-size: var(--text-2xl) !important; }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) .tb-card__number { font-size: var(--text-3xl); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__over > .tb-card__chart { max-height: var(--size-12); }
.hc-slide .tb-card--want > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__bodyscroll > * { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; }
/* A DELIVERED PDF FILLS THE CARD UNDER THE PILLS (lane DELIVEREDLOOK, Steven
   2026-11-17, his delivered "Toll Bench outreach campaign" card, Bree's
   final-campaign-kit.pdf in a short frame with half the card white under it:
   "Is it the PDF that threw it off? And then everything's the wrong size.
   It's not good."; then: "I know that the PDF looked perfect before ...
   because it was like at the bottom half of the page. I could just read the
   PDF and scroll."). The grid above places the panel's children by order:
   a step's panel (the turn's row, the heading, the words, the PDF, the
   button) puts the PDF in the tall row. A delivered want's panel has no
   words and has the record line instead (Save card's row, the heading, the
   PDF, "Bree delivered · free · Nov 17", the door), so the PDF fell into a
   short row, the record line took the tall one and stood over an empty
   white half, and the pill row sat over the picture. A delivered front now
   places each part by name: the picture with the title, Budget, the chart
   and DELIVERED on top (clear of the round buttons on the right, which
   stand over a picture this short); then, on white, the pill row, the record line
   ("Bree delivered · free · Nov 17", which says whose it is, so the
   "What Bree delivered" heading gives its room to the page), the PDF read
   in place across the card's whole width filling
   all the room left (it scrolls inside itself; the deck's swipe never
   starts in it, the work's data-no-flip and the browser's own reader take
   that touch), and the door (room for the corner buttons: below). */
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) {
  grid-template-rows: auto minmax(min-content, 1fr) auto auto auto minmax(0, 1.6fr) auto;
}
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf)::after { grid-row: 3 / 8; }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > :is(.tb-card__img, .tb-card__bg, .tb-card__shade) { grid-row: 1 / 3; grid-column: 1; }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__over { padding-top: calc(2 * var(--cf-a, 37.5px) + var(--space-2)); padding-right: var(--space-5); padding-bottom: var(--space-4); }
/* THE DELIVERED CHART RUNS THE CARD'S WIDTH (lane CHARTSIZE, Steven
   2026-11-17, his delivered "Toll Bench outreach campaign" card at desktop
   width: "WHY THE TINY CHART THOUGH?"). A step card's PDF front caps its
   chart at --size-12 tall (above) and the chart keeps its shape, so on a
   delivered PDF front the line shrank to a short squeezed strip between the
   title and DELIVERED, and the block stopped short of the round buttons
   too. Here the chart has no cap and runs the card's whole width under the
   title, as on every other want card, its 100% ring at the right end and
   DELIVERED under it on the band. Only the title stops short of the round
   buttons, and the title block reaches down past the last of them (the
   three dots, the heart, Share and Flip: four discs, three gaps, from
   --space-4) so the chart's right end is never under a disc; the picture
   takes that room from the PDF below it. */
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__over > .tb-wf__titleblock {
  justify-content: flex-end;
  padding-right: calc(var(--ds-col-right, var(--space-2)) + var(--ds-col, var(--size-12)) + var(--space-2) - var(--space-5));
  min-height: calc(var(--space-4) + 4 * var(--ds-col, var(--size-12)) + 3 * var(--ds-col-gap, var(--space-3)) - 2 * var(--cf-a, 37.5px));
}
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__art > .tb-card__over > .tb-card__chart { max-height: none; width: 100%; }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__kickrow { grid-row: 1; margin: 0; padding-top: var(--space-1); }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__heading { grid-row: 2; display: none; }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf { grid-row: 4; overscroll-behavior: contain; }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__work--pdf .art-file { padding: 0 var(--space-5) var(--space-2); }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__delivered { grid-row: 3; margin: var(--space-3) 0 var(--space-2); }
.hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front:has(> .tb-card__panel > .tb-card__work--pdf) > .tb-card__panel > .tb-card__foot { grid-row: 5; }
/* ROOM FOR THE CORNER BUTTONS ON EVERY DELIVERED FRONT (lane DELIVEREDLOOK,
   Steven 2026-11-17): a super admin's deck keeps two round buttons over the
   card's bottom corners (My agents, the club, left; the black plus, right;
   components/_deck_shell.html, .ds[data-ds-admin]), level with the card's
   door. On a delivered want the record line stands right above the door,
   so the club covered its start ("...reWalker delivered"). With those
   buttons on the page, a delivered front's door keeps their height above
   it: the record line and the piece (a PDF reader, a song, a summary) end
   above the buttons, and the picture gives up that room. A person without
   them sees the card as before. */
body:has(.ds[data-ds-admin]) .hc-slide .tb-card--want.tb-card--delivered > .tb-card__inner > .tb-card__front > .tb-card__panel > .tb-card__foot { padding-top: var(--space-8); }

/* THE BACK'S DELIVERED PDF READS IN PLACE TOO (lane DELIVEREDLOOK): the back
   of a delivered card (cards/_agent_side.html, the "Delivered" box,
   .tb-side__piece) drew the PDF as the front's compact 16:9 frame. Now it
   is the page itself across the box, tall enough to read, scrolling inside
   itself within the back's own scroll (the box is data-no-flip, so a touch
   in it never turns the card). */
.hc-slide .tb-side--delivered .tb-side__piece > .tb-card__work--pdf {
  max-height: none; overflow: visible; padding: 0; background: none;
  -webkit-mask-image: none; mask-image: none;
}
.hc-slide .tb-side--delivered .tb-side__piece > .tb-card__work--pdf .sc-art-front__page {
  aspect-ratio: auto; width: 100%; height: clamp(320px, 62vh, 640px);
  border: 0; border-radius: var(--radius-md); background: var(--surface-tertiary);
  overscroll-behavior: contain;
}
/* the file's name and size read white on the box's dark glass, as its
   record line does */
.hc-slide .tb-side--delivered .tb-side__piece > .tb-card__work--pdf :is(.art-file__name, .art-file__meta) { color: var(--text-inverse); }

/* A CUT ENDS HONESTLY (Steven, D-10, 15 November 2026: "it can't shwo the
   whole reply. -- yes do it how you said."): a card that shows only the start
   of its words (a reply card, reply_news.card) ends them with the whole
   length and a tap to read all, its own line under the clamped words, so the
   clamp never hides it; the tap is the card's Open (cards/_card.html). */
.tb-card__bodyscroll > .tb-card__more {
    display: block;
    margin-top: var(--space-1);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    text-decoration: underline;
}

/* THE PLAN BACK LINES UP (lane PLANBACKLOOK, Steven 2026-11-17, the back of
   "Three buyers for your art": "Why is the top three buyers for art like off
   center and not quite correct in the layout? Also, on the left there, Milo
   and a warm thing is not left oriented"). Two causes, two fixes:
     the title    sat with its capitals on the mark's top line however short
                  it was (card-frame.css THE TITLE ON THE MARK'S LINE), so a
                  one-line title floated high beside the pocket. Now the
                  head is a grid: the title starts on the one title line of
                  every card (--cf-title-in) and stands centred on the
                  pocket's mark (capitals to baseline, text-box-trim); a
                  title of two or three lines is taller than the mark, so
                  its capitals start on the mark's top line as before. The
                  want's words start under the pocket where they did;
     the agent    the plan's head (the agent's row and the plan's title,
                  feed/_proposal_cards.html plan_head) sits in .pcards__plan,
                  which agents-now.css holds to 520px and centres for the
                  want page; on a wide card's back that pushed the agent and
                  the plan's title in from the left while the steps under
                  them started on the edge. In a card's plan it takes the
                  plan's whole width. */
[data-tb-card-plan] .pcards__plan { max-width: none; margin: 0; }
html body .app-shell--deck-shell .has-cf.tb-card--col .tb-card__back .tb-card__planturn > .tb-card__planhead {
    display: grid;
    grid-template-columns: calc(var(--cf-title-in) - var(--space-5)) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
}
/* the mark's height beside the title, so a short title has the mark's whole
   line to stand centred in */
html body .app-shell--deck-shell .has-cf.tb-card--col .tb-card__back .tb-card__planturn > .tb-card__planhead::after {
    content: "";
    grid-column: 2;
    grid-row: 1;
    height: var(--cf-mark);
}
html body .app-shell--deck-shell .has-cf.tb-card--col .tb-card__back .tb-card__planturn > .tb-card__planhead::before {
    float: none;
    shape-outside: none;
    shape-margin: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
    /* the pocket's foot and a --space-4 under it, less the head's top (the
       mark's line) and the want's words' own --space-3 */
    height: calc(2 * var(--cf-a) + var(--space-4) - var(--cf-mark-top) - var(--space-3));
}
html body .app-shell--deck-shell .has-cf.tb-card--col .tb-card__back .tb-card__planturn > .tb-card__planhead > .tb-card__title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
}
html body .app-shell--deck-shell .has-cf.tb-card--col .tb-card__back .tb-card__planturn > .tb-card__planhead > .tb-card__subtitle {
    grid-column: 1 / -1;
    grid-row: 3;
    clear: none;
    margin-top: var(--space-3);
}
@supports (text-box-trim: trim-both) {
    /* capitals to baseline, so the centre is the words' own; the descenders
       keep their room inside the clamp (padding) without moving the centre
       (the same taken back as margin) */
    html body .app-shell--deck-shell .hc-slide:not([data-hc-pack-kind]) > .has-cf.tb-card--col .tb-card__back .tb-card__planturn > .tb-card__planhead > .tb-card__title {
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
        padding-bottom: 0.25em;
        margin-bottom: -0.25em;
    }
}

/* THE PDF ON THE CARD IS A WAY IN (lane DOCOPEN, Steven 2026-11-19: "I see
   it here. I can't click on it or anything."): the file's row and the page
   under it open the whole document (targets/artifacts/pdf.html front,
   data-art-full; static/js/pages/artifact-expand.js), so they wear the
   hand. */
.tb-card__work [data-art-door] :is(.art-file, .sc-art-front__page) { cursor: pointer; }
.tb-card__work [data-art-door] .art-file:focus-visible { outline: 2px solid var(--interactive-focus-ring); outline-offset: -2px; }
