/* app_14_resources: the StarterKit page, EF-Apps, the Resources bento and the magnet pages.
   Ported from the prototype's styles.css: the kit hero L911-949 and L1116, the drawn previews
   L461-476 and L1178, the spotlight L1992-2081, the bento L2343-2377, the magnet
   L2385-2394, the rail rows L2924-2925, L2987-2990 and L3066-3070.
   Every class carries the rs- prefix and every colour is a token: a class another app owns is never
   reused, or this app's look would depend on that app's stylesheet being on the page.
   No rule for a rendered document block: those move into the editor's own doc.css (0116). */

/* ---------- the shared pieces: the page head, the tone colours, one glyph ---------- */
.rs-head{margin-bottom:34px}   /* title and interactive share one .sec, so the h1 is not 200px away */
.rs-ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;color:var(--faint)}
.rs-t-ai{color:var(--c-ai)}
.rs-t-blog{color:var(--c-blog)}
.rs-t-docs{color:var(--c-docs)}
.rs-t-video{color:var(--c-video)}
.rs-mlabel{font:600 10px/1 var(--fm);letter-spacing:.2em;color:var(--faint)}

/* ================================================================
   RESOURCES: covers (Erik 2026-09-28, 0601: rs_index 04 promoted, then 02, the wide 16:9 cover).
   Four cards a row, more on one screen (0964), three, then two as the window narrows; each opens on a 16:9
   cover, Erik's own picture when the row has one, else the glyph big on the dot grid; under it the title,
   centred, its link words on hover. Staff and members read one tile (0604): no type chip, no training's badge;
   NEW on Erik's picks not taken (NEW_TILES). The drafts sit on their own board under the live one, for staff.
   Each board stays a grid: resources.js reads its column count for the arrow walk.
   ================================================================ */
.rs-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.rs-tile{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;text-decoration:none;
  border:1px solid var(--hl1);border-radius:var(--rc);background:var(--s1);color:inherit;
  transition:border-color .14s,background .14s,color .14s}
.rs-tile:hover{border-color:var(--hl3);background:var(--s2)}
.rs-tile:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.rs-tile-top{position:relative;display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;
  aspect-ratio:16/9;padding:12px;overflow:hidden;border-bottom:1px solid var(--hl1);
  background:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.2px) 0 0/14px 14px,var(--s2)}
/* the placeholder: the row's glyph, big, in the middle of the dot grid */
.rs-tile-ic{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px}
/* Erik's picture fills the panel; a chip stays readable on top of it. The hover (rs_index 04 promoted,
   0601): the picture rests a touch dim, lights up and zooms inside its own frame; no zoom when the
   person asks for less motion */
.rs-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.8) saturate(.9)}
.rs-tile:is(:hover,:focus-visible) .rs-cover{filter:none}
/* the fades (0964): the tile under the pointer lights fast; any other cover waits .18s before it goes back to rest,
   so crossing the gap between two tiles never flashes the board. Less motion asked: no fade, no zoom */
@media (prefers-reduced-motion:no-preference){
  .rs-cover,.rs-tile-ic{transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .4s ease .18s}
  .rs-tile:is(:hover,:focus-visible) :is(.rs-cover,.rs-tile-ic){transform:scale(1.07);
    transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .18s ease}
}
.rs-tile-top em{position:relative;z-index:1}
/* locked for this reader (0964): a dashed gray edge, the cover gray, the lock cut out of a light gray tab top right, NEW
   left of it; the title says "Locked" to a screen reader only. After the hover rules, so it holds under the pointer */
.rs-tile[data-pay="locked"]{border:1px dashed var(--faint);background:var(--canvas);
  --rs-lockm:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='black'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}
.rs-tile[data-pay="locked"] :is(.rs-cover,.rs-tile-ic){filter:brightness(.5) grayscale(1)}
.rs-tile[data-pay="locked"] .rs-tile-top::before{content:"";position:absolute;top:0;right:0;z-index:2;width:36px;height:32px;
  border-radius:0 0 0 var(--rb);background:var(--dim2);
  -webkit-mask:var(--rs-lockm) center/46% no-repeat,linear-gradient(black,black);-webkit-mask-composite:xor;
  mask:var(--rs-lockm) center/46% no-repeat,linear-gradient(black,black);mask-composite:exclude}
.rs-tile[data-pay="locked"] .rs-new{margin-right:40px}
/* one tile in focus (0964): a real pointer on a /resources/ tile (#rs-boards, never the Studio) dims the other covers
   short of the locked gray, .12s late; `saturate`, never `grayscale`: only the rest filter's own function list eases */
@media (hover:hover){
  #rs-boards:has(.rs-bento .rs-tile:hover) .rs-tile:not(:hover,:focus-visible,[data-pay="locked"]) :is(.rs-cover,.rs-tile-ic){filter:brightness(.7) saturate(.5)}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  #rs-boards:has(.rs-bento .rs-tile:hover) .rs-tile:not(:hover,:focus-visible,[data-pay="locked"]) :is(.rs-cover,.rs-tile-ic){
    transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .45s ease .12s}
}
/* the training's own name as a code tag (0602): a Studio card's only (app_admin_resources row.html, 0964) */
.rs-acc{flex:none;margin-right:auto;padding:5px 8px;border:1px solid var(--hl3);border-radius:4px;background:var(--s1);
  font:600 9px/1.2 var(--fm);letter-spacing:.06em;font-style:normal;text-transform:uppercase;color:var(--ink)}
.rs-acc::before{content:"<";color:var(--faint)}
.rs-acc::after{content:"/>";color:var(--faint)}
/* the type on a Studio card (Settings > Resources): guide or download (Erik, 0601); the tile has none */
.rs-type{flex:none;font:600 8.5px/1 var(--fm);letter-spacing:.14em;font-style:normal;
  border:1px solid var(--hl2);border-radius:4px;padding:4px 6px;color:var(--faint);background:var(--s1)}
/* the title and its link share one line: the foot is the card's words, nothing more. The Studio's card's
   (app_admin_resources row.html); the boards' tiles override it below */
.rs-tfoot{display:flex;align-items:baseline;gap:12px;padding:10px 12px 11px}
.rs-tile h3{flex:1;min-width:0;font:700 .9rem/1.3 var(--fd);letter-spacing:-.01em;color:var(--ink)}
.rs-go{flex:none;font:600 11px/1 var(--fd);color:var(--acc2)}
.rs-tile:hover .rs-go{color:var(--acc)}
.rs-tile[data-pay="locked"] h3{color:var(--dim)}
/* the boards' foot (0964): the title centred, dark gray under the pointer; the link words only then, a white rounded
   rectangle on the cover's seam, a locked tile's Get Access too, never orange. Under `.rs-bento`: the Studio keeps its foot */
.rs-bento .rs-tfoot{position:relative;flex-direction:column;align-items:center;gap:11px;padding:14px 14px 15px;text-align:center}
.rs-bento .rs-tile h3{flex:none;max-width:100%}
.rs-bento .rs-tile:is(:hover,:focus-visible) h3{color:var(--faint)}
.rs-bento .rs-go{position:absolute;z-index:3;top:0;left:0;right:0;width:max-content;max-width:calc(100% - 16px);margin:0 auto;
  padding:8px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--ink);border-radius:6px;
  background:var(--ink);font:700 12px/1 var(--fd);color:var(--canvas);transform:translateY(-50%);opacity:0;pointer-events:none}
.rs-bento .rs-tile:is(:hover,:focus-visible) .rs-go{opacity:1;pointer-events:auto;color:var(--canvas)}
.rs-bento .rs-go:hover{border-color:color-mix(in srgb,var(--ink) 86%,var(--canvas));
  background:color-mix(in srgb,var(--ink) 86%,var(--canvas))}
@media (prefers-reduced-motion:no-preference){
  .rs-bento .rs-go{transition:opacity .16s,background-color .12s,border-color .12s,color .12s}
  .rs-bento .rs-tile h3{transition:color .16s}
}
/* a card under about 215px (the narrow end of four and of three a row): the words a step smaller, the rectangle
   tighter, so "Download AI-Brain Template" stays whole on a 186px card */
@container page ((min-width:681px) and (max-width:775px)) or ((min-width:901px) and (max-width:1030px)){
  .rs-bento .rs-go{max-width:calc(100% - 12px);padding:7px 9px;font-size:11px}
}
/* no hover on a touch screen, and two narrow cards a row: no words there, and no line kept for them */
@media (hover:none){
  .rs-bento .rs-go{display:none}
}
/* a free resource this person has not taken yet (0471): a faint mono chip, flat, no accent; an EF-App
   with no page yet (WIP, app_tile.html, 0601) wears the same chip */
.rs-new,.rs-soon{flex:none;font:600 8.5px/1 var(--fm);letter-spacing:.14em;font-style:normal;padding:4px 6px;
  border-radius:4px;background:var(--s3);border:1px solid var(--hl2);color:var(--dim2)}
/* the drafts board, staff only: the same cards under their own head, a staff drag moves one */
.rs-drafts-h{display:flex;align-items:baseline;gap:10px;margin:46px 0 16px;padding-top:22px;border-top:1px solid var(--hl1);
  font:600 10px/1 var(--fm);letter-spacing:.2em;text-transform:uppercase;color:var(--faint)}
.rs-drafts-h em{font-style:normal;color:var(--dim2)}
[data-sort-row].rs-tile{cursor:grab}
/* the section headlines (0964): the pixel face has one weight, so no synthesis; `.rs-sec >` outweighs shell.css's heading
   weight, which loads later; the prompt reads silent; a margin under all but the last section, so the drafts' 46px folds in */
.rs-sec > .rs-sec-h{display:flex;align-items:center;margin:0 0 14px;font:400 2.1rem/1.1 var(--fp);font-synthesis:none;letter-spacing:0;color:var(--ink);white-space:nowrap}
.rs-sec > .rs-sec-h::before{content:">";content:">" / "";margin-right:.3em;color:var(--acc)}
.rs-sec > .rs-sec-h::after{content:"";flex:1 1 0;min-width:0;height:1px;margin:-.08em 0 0 18px;background:var(--hl2)}
.rs-sec:not(:last-child){margin-bottom:56px}
@container page (max-width:480px){
  .rs-sec > .rs-sec-h{font-size:1.75rem}
  .rs-sec > .rs-sec-h::after{margin-left:12px}
}
/* an EF-App not shipped for this reader (WIP, app_tile.html): grayed, no hover, no click; staff (F3) still
   drag it and right click it, so only a tile without a grip ignores the pointer */
.rs-wip{opacity:.45;filter:grayscale(1)}
.rs-wip:not([draggable]){pointer-events:none}
.rs-tile.rs-wip:hover{border-color:var(--hl1);background:var(--s1)}
.rs-wip:hover .rs-tile-ic{transform:none}
/* a BETA app (Erik, 2026-10-15, 0601): colored, its chip the WIP one with the orange word */
.rs-beta{color:var(--acc)}
/* a locked tile's card in the shell's confirm (lock_card.html, Design Lab rslock 13, 0601): the cover on
   top, the eyebrow with the courses' lock glyph and "<training> members only", the title, the published
   Description, What is inside as a ticked list under a rule; the eyebrow says it, so the question goes */
.fbl-confirm:has(.rs-lk){width:min(420px,92vw)}
.fbl-confirm:has(.rs-lk) .fbl-cf-q{display:none}
.rs-lk{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"th" "eb" "tx";gap:12px;align-items:start;margin:0 0 20px}
.rs-lk-eb{grid-area:eb;display:flex;align-items:center;gap:8px;margin:0;
  font:600 10px/1.2 var(--fm);letter-spacing:.16em;text-transform:uppercase;color:var(--dim2)}
.rs-lk-lock{flex:none;width:13px;height:13px;fill:var(--acc)}
.rs-lk-th{grid-area:th;position:relative;display:block;aspect-ratio:16/9;overflow:hidden;
  border:1px solid var(--hl2);border-radius:var(--rb);
  background:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.2px) 0 0/10px 10px,var(--s2)}
.rs-lk-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rs-lk-ic{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px}
.rs-lk-tx{grid-area:tx;min-width:0}
.rs-lk-t{margin:0;font:700 1.05rem/1.3 var(--fd);letter-spacing:-.01em;color:var(--ink)}
.rs-lk-d{margin:6px 0 0;font:500 13px/1.55 var(--fd);color:var(--dim)}
.rs-lk-l{margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--hl1);list-style:none}
.rs-lk-l li{position:relative;padding:0 0 0 18px;margin:0 0 6px;font:500 12.5px/1.5 var(--fd);color:var(--dim)}
.rs-lk-l li::before{content:"\2713";position:absolute;left:0;top:0;font:600 12px/1.5 var(--fd);color:var(--acc2)}
/* a BETA app's card for a reader who owns the training: one orange line above the picture, its
   "[In Beta]" a small mono label (Erik, 2026-10-15, 0601) */
.rs-lk:has(.rs-lk-note){grid-template-areas:"nt" "th" "eb" "tx"}
.rs-lk-note{grid-area:nt;margin:0;font:600 12.5px/1.5 var(--fd);color:var(--acc)}
.rs-lk-tag{display:inline-block;margin-right:6px;padding:3px 6px;border:1px solid var(--hl2);border-radius:4px;
  background:var(--s3);font:600 9.5px/1 var(--fm);letter-spacing:.08em;vertical-align:1px}
/* the same line for a reader without the training: the label alone, centred */
.rs-lk-solo{text-align:center}
.rs-lk-solo .rs-lk-tag{margin-right:0}
/* the same card as a BETA app's page for its AI Lab owner (app_beta.html): centred in the window */
.rs-beta-page{width:min(468px,100%);margin:48px auto;padding:24px}
.rs-beta-acts{display:flex;justify-content:flex-end;margin:20px 0 0}
.rs-beta-acts a{display:inline-flex;align-items:center;height:32px;padding:0 14px;border:1px solid var(--hl2);border-radius:8px;
  background:var(--s1);color:var(--dim);font:600 12px/1 var(--fd);text-decoration:none}
.rs-beta-acts a:hover{color:var(--ink);border-color:var(--hl3);background:var(--s2)}

/* ---------- one magnet: the opt-in and the thanks page are the same shape ---------- */
.rs-mg{max-width:none}
.rs-back{font:500 12px/1 var(--fm);letter-spacing:.06em;color:var(--faint)}
.rs-back:hover{color:var(--acc)}
.rs-mrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px}
.rs-mg h1{margin-top:14px}
.rs-mg .sub{margin-top:12px}
/* the tick list of app_pages under this app's own name: a class another app owns is never reused */
.rs-ticks{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px;margin-top:20px}
.rs-ticks li{font-size:.9rem;line-height:1.5;color:var(--dim);padding-left:22px;position:relative;min-width:0}
.rs-ticks li::before{content:"\2713";position:absolute;left:0;color:var(--green);font-weight:600}
.rs-act{margin-top:26px;border:1px solid var(--hl2);border-radius:var(--rc);background:var(--s1);
  padding:clamp(18px,2.4cqw,26px)}
.rs-dl{display:inline-block}
.rs-act .rs-dl + .cap-note{margin-top:12px}
.rs-inside{margin-top:38px;padding-top:26px;border-top:1px solid var(--hl1)}
.rs-inside-badge{display:inline-flex;align-items:center;gap:8px;font:600 10px/1 var(--fm);
  letter-spacing:.2em;color:var(--faint);margin-bottom:18px}
.rs-inside-badge svg{width:14px;height:14px;fill:none;stroke:var(--acc);stroke-width:1.5}
/* the e-book a holder reads (0646): its section is the canvas, the width and the height, without the shell's
   frame (no card, no ticks), for the book app_ebooks draws in it; the title is for readers and search only */
main:has(> .rs-ebook){height:100%}
main > section.rs-ebook{display:flex;flex-direction:column;width:auto;height:100%;max-width:none;margin:0;border:0;
  border-radius:0;background:none;box-shadow:none}
main > section.rs-ebook::before{content:none}
/* the canvas's top right corner, where the staff switch stands (0651): the e-book's Download PDF beside it,
   btn-acc, smaller */
.rs-corner{position:absolute;top:12px;right:16px;z-index:6;display:flex;align-items:center;gap:8px}
.rs-corner > .gate-sw{position:static}
.rs-corner .rs-dl{padding:7px 12px;font-size:10.5px}
.rs-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ================================================================
   STARTERKIT (0603, sk_gate 26 promoted): the head on the left, the picture beside it at 16:9, the
   capture card under both, the video for a person who has the kit (sk_video 02 baked), what is
   included in three columns; one column under 620px. Every part is a child of the one grid.
   ================================================================ */
/* the frame around every resource opt-in and every guide gate (resource_card 03 promoted, Erik 2026-09-30,
   0369): it hugs the grid, the sides are the grid's own gutter, and it stands twice the shell's 18px below
   the tabs. Keyed on the frame holding the grid, so a guide's gate (section.gd-gate) takes it too. */
main > section:has(.rs-kit){max-width:1010px;margin-top:36px}
.wrap.rs-kit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:900px;margin-inline:auto;
  column-gap:clamp(24px,4cqw,56px);row-gap:0;align-items:start;
  grid-template-areas:"pill pill" "h1 img" "sub img" "card card" "video video" "bar bar" "inc inc" "list list"}
.rs-kit > *{min-width:0}
.rs-kit .pill{grid-area:pill;justify-self:start}
.rs-kit h1{grid-area:h1;margin-top:12px}
.rs-kit .sub{grid-area:sub;max-width:40rem}
.rs-kit-side{grid-area:card;max-width:760px;width:100%;justify-self:center;margin-top:30px}
.rs-kit .rs-video{grid-area:video}
/* a holder's page: no card, so the side is empty; the download bar under the video, no card around it:
   the cover's dot grid, an orange glyph, the size beside the orange Download, the capture forms' beam
   (shell.css .captrace) running round it (starterkit_bar 10 baked, 0636) */
.rs-kit-side:empty{display:none}
.rs-kit-wait{grid-area:bar;margin-top:30px;text-align:center}
.rs-kit .rs-kitbar{grid-area:bar;margin-top:14px;position:relative;display:flex;align-items:center;gap:18px;
  padding:18px 20px;border:1px solid var(--hl1);border-radius:var(--rb);
  background:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.2px) 0 0/14px 14px,var(--s2)}
.rs-kb-ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:var(--rb);
  border:1px solid var(--hl3);background:var(--canvas);color:var(--acc)}
.rs-kb-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rs-kb-size{flex:none;font:400 11.5px/1 var(--fm);color:var(--dim)}
.rs-kitbar .btn{flex:none}
.rs-kit-inc{grid-area:inc;margin:28px 0 0;text-align:center}
.rs-kit-list{grid-area:list;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px;gap:11px}
.rs-kit-list li{font-size:.95rem}
/* a magnet's WHAT IS INSIDE spans the grid under the list (0605) */
.rs-kit > .rs-inside{grid-column:1 / -1}
/* the picture: the row's cover (Settings > Resources) or its glyph on the dot grid; the width is set, as a
   grid item with an aspect ratio does not stretch */
.rs-kit-img{grid-area:img;position:relative;width:100%;margin:18px 0 0;aspect-ratio:16/9;overflow:hidden;
  border:1px solid var(--hl1);border-radius:var(--rc);
  background:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.2px) 0 0/14px 14px,var(--s2)}
.rs-kit-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rs-kit-ic{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px}
/* the click-to-load player: the poster is a button, the frame arrives on the click and nothing from
   a third party is on the page before it */
.rs-video{margin-top:26px;border:1px solid var(--hl2);border-radius:var(--rc);overflow:hidden;background:var(--canvas)}
.rs-vplay,.rs-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.rs-vplay{position:relative;padding:0;background:var(--canvas);cursor:pointer}
.rs-vplay img{width:100%;height:100%;object-fit:cover}
.rs-vglyph{position:absolute;inset:0;margin:auto;width:64px;height:64px;display:grid;place-items:center;
  border-radius:50%;background:var(--acc);color:var(--acc-ink)}
.rs-vglyph svg{width:26px;height:26px;fill:currentColor;stroke:none}
.rs-vplay:hover .rs-vglyph{background:var(--acc2)}
.rs-kitcard{background:var(--s1);border:1px solid var(--hl2);border-radius:var(--rc);padding:26px;
  box-shadow:0 24px 60px rgba(0,0,0,.4)}
.rs-kitcard h3{font-size:1.25rem;margin-bottom:8px}
.rs-kit-lead{font-size:.9rem;line-height:1.55;color:var(--dim);margin-bottom:20px}
.rs-kf-label{display:block;font:500 10px/1 var(--fm);letter-spacing:.16em;color:var(--faint);text-transform:uppercase;margin:0 0 8px}
.rs-kf-label span{text-transform:none;letter-spacing:.04em}
.rs-kf-input{display:block;width:100%;background:var(--canvas);border:1px solid var(--hl2);border-radius:var(--rb);
  color:var(--ink);font:400 14px/1 var(--fd);padding:13px 14px;outline:none;margin-bottom:16px}
.rs-kf-input::placeholder{color:var(--faint)}
.rs-kf-input:focus{border-color:var(--hl3)}
.rs-kitform .cap-fields{margin-bottom:18px}
.rs-kitform .cap-fields input{background:var(--canvas)}
/* auto width, never a full width bar, and the note stands clear of it (Erik, 0255) */
.rs-kf-btn{width:auto}
.rs-kitform .cap-note{margin-top:18px}
.rs-kd-check{width:52px;height:52px;margin:4px auto 16px;display:grid;place-items:center;border-radius:50%;
  background:color-mix(in srgb,var(--green) 12%,transparent);border:1px solid var(--green)}
.rs-kd-check svg{width:24px;height:24px;stroke:var(--green);fill:none;stroke-width:2}
.rs-kitcard h3,.rs-kitcard .rs-kit-lead{text-align:center}
.rs-kd-file{display:flex;align-items:center;gap:18px;background:var(--canvas);border:1px solid var(--hl2);
  border-radius:var(--rb);padding:16px 18px}
.rs-kd-meta{flex:1;min-width:0}
.rs-kd-meta > b{display:block;font:600 13px/1.3 var(--fm)}
.rs-kd-meta > span{display:block;font:400 11.5px/1.4 var(--fm);color:var(--dim);margin-top:3px}
.rs-kd-file .btn{flex:none}
/* the stubs page (0544; lab stubs_page closed on 06 Terminal, 0727): the video, then a mono listing, one zip
   per line named by its version, its size at the right, the All line orange on top */
.rs-stb-vid{margin:26px 0 0}
.rs-stubs{list-style:none;margin-top:12px;padding:14px 16px;background:var(--canvas);border:1px solid var(--hl2);
  border-radius:var(--rc);font:400 12.5px/1.5 var(--fm)}
.rs-stubs::before{content:"~/revit-api-stubs $ ls";display:block;margin-bottom:8px;color:var(--faint)}
.rs-stubs .rs-kd-file{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 12px;padding:0;background:none;
  border:0;border-radius:0}
.rs-stubs .rs-kd-meta{flex:none;order:2}
.rs-stubs .rs-kd-meta > b{display:none}
.rs-stubs .rs-kd-meta > span{margin:0;font-size:11px;color:var(--faint)}
.rs-stubs .btn{display:inline-flex;align-items:center;gap:7px;padding:4px 6px;margin-left:-6px;border:0;border-radius:4px;
  background:none;font:400 12.5px/1.2 var(--fm);letter-spacing:0;text-transform:none;white-space:nowrap;color:var(--dim)}
.rs-stubs .btn:hover{background:var(--s2);color:var(--ink)}
.rs-stubs .btn.btn-acc{margin:0 0 4px -6px;font-weight:600;background:var(--acc);color:var(--acc-ink)}
.rs-stubs .btn.btn-acc:hover{background:var(--acc2);color:var(--acc-ink)}
.rs-stubs .btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* a guest's listing (0737): the names without their links, the form above the video */
.rs-stb-form{margin-top:26px}
.rs-stubs .rs-stb-name{padding:4px 0;color:var(--faint)}
.rs-stb-ic{flex:none;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ================================================================
   EF-APPS: the spotlight, one app at full size beside a rail you step through.
   The preview is CSS and SVG: rvtdocs.com sends X-Frame-Options, so a live frame
   is impossible and a screenshot would go stale on its own.
   ================================================================ */
.rs-spot{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:var(--gap);align-items:start}
.rs-spot-rail{display:flex;flex-direction:column;gap:2px;border:1px solid var(--hl1);border-radius:var(--rc);
  background:var(--s1);padding:8px;position:sticky;top:14px}
.rs-spot-rail button{display:flex;align-items:center;gap:10px;text-align:left;background:none;cursor:pointer;
  border:1px solid transparent;border-radius:8px;padding:9px 10px;min-width:0;
  font:500 12.5px/1.3 var(--fd);color:var(--dim);transition:color .14s,background .14s,border-color .14s}
.rs-spot-rail button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rs-spot-rail button:hover{color:var(--ink);border-color:var(--hl2)}
.rs-spot-rail button.rs-act{color:var(--ink);background:var(--s2);border-color:var(--hl2)}
.rs-spot-main{border:1px solid var(--hl1);border-radius:var(--rc);background:var(--s1);overflow:hidden}
.rs-prev{position:relative;height:190px;background:var(--canvas);border-bottom:1px solid var(--hl1);overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;gap:7px;padding:0 22px;border-radius:11px 11px 0 0}
.rs-pl{display:block;height:5px;background:color-mix(in srgb,var(--c-docs) 28%,transparent)}
.rs-prev-off .rs-pl{background:var(--hl2)}
.rs-pc{display:block;height:5px}
.rs-c1{background:color-mix(in srgb,var(--c-docs) 35%,transparent)}
.rs-c2{background:color-mix(in srgb,var(--c-blog) 30%,transparent)}
.rs-c3{background:color-mix(in srgb,var(--acc) 30%,transparent)}
.rs-ind{margin-left:22px}
.rs-ind2{margin-left:44px}
.rs-w4{width:34%}
.rs-w5{width:44%}
.rs-w6{width:54%}
.rs-w7{width:64%}
.rs-w8{width:74%}
.rs-w9{width:86%}
.rs-prev-mcp svg{width:100%;height:60px}
.rs-prev-mcp svg *{fill:none;stroke:color-mix(in srgb,var(--c-forum) 40%,transparent);stroke-width:2}
.rs-prev-mcp circle{fill:color-mix(in srgb,var(--c-forum) 16%,transparent)}
.rs-wf-title{display:block;height:9px;width:40%;background:var(--hl3)}
.rs-wf-row{display:block;height:5px;width:80%;background:var(--hl2)}
.rs-wf-btn{display:block;height:9px;width:26%;background:color-mix(in srgb,var(--acc) 35%,transparent)}
.rs-prev-off .rs-wf-title,.rs-prev-off .rs-wf-btn{background:var(--hl2)}
.rs-sp-tx{padding:26px 28px 30px}
.rs-sp-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.rs-sp-head h2{margin:0;font-size:1.5rem}
.rs-sp-ic{width:24px;height:24px}
.rs-sp-p{font:400 1rem/1.6 var(--fd);color:var(--dim);max-width:52ch}
.rs-sp-need{display:flex;align-items:center;gap:12px;margin:20px 0 24px;padding:14px 16px;
  border:1px solid var(--hl1);border-radius:var(--rb);background:var(--canvas);
  font:400 13.5px/1.4 var(--fd);color:var(--ink)}
.rs-sp-soon{font:400 12px/1 var(--fm);color:var(--faint);letter-spacing:.04em}

/* ================================================================
   The member rail's EF-Apps and Resources groups (rail.html, rail_row.html, 0601): the label is the
   shell's .sb-grp as a <details> summary; a row is a 16px thumbnail (the cover, else the glyph) and
   the title in the row's fixed 27px, the label where the old 9px spacer put it. Locked: faint, the
   lock glyph at the end; WIP: the tile's .rs-wip, grayed, the chip at the end.
   ================================================================ */
.rs-row{position:relative;display:flex;align-items:center;gap:9px;height:27px;padding:0 8px 0 6px;
  margin-left:22px;border-radius:7px;cursor:pointer;color:var(--dim);font:500 12px/1 var(--fd);min-width:0;
  text-decoration:none}
.rs-row:hover{background:var(--s2);color:var(--ink)}
.rs-th{flex:none;position:relative;width:16px;height:16px;overflow:hidden;border-radius:4px;background:var(--s2)}
.rs-th-ic{position:absolute;inset:2px;width:12px;height:12px}
.rs-lab{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rs-row > em{flex:none;font:500 9.5px/1 var(--fm);color:var(--faint);font-style:normal}
.rs-row > em.rs-beta{color:var(--acc)}
.rs-locked{color:var(--faint)}
.rs-locked .rs-lab{opacity:.7}
.rs-row-lock{flex:none;width:11px;height:11px;fill:var(--acc)}

/* ---------- the site window is the container, so every breakpoint is a container query ---------- */
@container page (max-width:820px){
  .rs-kit-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container page (max-width:900px){
  .rs-bento{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rs-spot{grid-template-columns:minmax(0,1fr)}
  .rs-spot-rail{position:static;flex-direction:row;overflow-x:auto}
}
@container page (max-width:680px){
  .rs-kit-list{grid-template-columns:minmax(0,1fr)}
  /* two narrow cards a row: the Studio card's link goes under its title, or the two overlap; the boards' tiles
     draw no link words */
  .rs-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rs-tfoot{flex-direction:column;align-items:flex-start;gap:4px}
  .rs-tile h3{flex:none}
  .rs-bento .rs-go{display:none}
}
@container page (max-width:620px){
  .wrap.rs-kit{grid-template-columns:minmax(0,1fr);
    grid-template-areas:"pill" "h1" "sub" "img" "card" "video" "bar" "inc" "list"}
  .rs-kit-img{margin:24px 0 0;width:min(100%,480px);justify-self:center}
  /* the bar on a phone: the glyph and the words on one line, the size and Download under them, right */
  .rs-kit .rs-kitbar{flex-wrap:wrap;gap:14px 16px}
  .rs-kitbar .rs-kd-meta{flex-basis:calc(100% - 58px)}
  .rs-kitbar .rs-kb-size{margin-left:auto}
}

/* ---------- the RVTDocs MCP page (0618): lab 130 v71 baked (Erik 2026-11-25, "v71 is main now", 1000) ----------
   The hero split: the RVTDocs wordmark title (RVT white, Docs orange, MCP Server smaller and dotted) and the lead
   left, the plug scene (app_courses' icons/ai-lab-plug.html) right; Activate or Get Access under them. Unlocked,
   the token and How to connect are one card: the token on its top ground, the AI tools as folder tabs over the
   steps (a neutral line left, top and right of the open one, never orange), the steps a left column of dotted
   "Step N" over the step's title and the lines and boxes right, a hairline between steps; Copy a small filled
   square, never outlined; the NB line under the card. MCP tools and Questions after it, quieter. No coloured
   outline around a box, chip, tab or card: neutral lines and grounds only (Erik, 1000). */
.rsv-hero{--rsv-gap:56px;--rsv-in:14px;--cp:28px;display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:40px;
  align-items:start;text-align:left;padding-bottom:calc(var(--secpad) * .6);counter-reset:rsv-sec}
/* wider than the shell's narrow wrap (.wrap.narrow, two classes): the scene beside the words */
.wrap.narrow.rsv-hero{max-width:860px}
.rsv-hero > *{grid-column:1 / -1}
.rsv-hero > :is(.rs-back,h1,.rsv-nl){grid-column:1}
.rsv-hero h1{font-size:3rem;line-height:1.05;letter-spacing:0}
/* the title for a reader, the wordmark for the eye (the AI Lab card's RVTDocs mark, one face) */
.rsv-lt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rsv-lw > b{font:400 1em/1 var(--fl);color:var(--ink)}
.rsv-lw > b i{font-style:normal;color:var(--acc2)}
.rsv-lw > span{margin-left:.35em;font:400 .42em/1 var(--fp);letter-spacing:0;color:var(--dim)}
/* the lead a subheading in one gray: Erik's slot carries a colour per run as a style attribute, which only an
   important rule outweighs; his bold marks stay his (he edits them in EDIT, 1000) */
.rsv-nl{max-width:34rem;margin:12px 0 0;font-size:.93rem;font-weight:400;line-height:1.6;color:var(--dim)}
.rsv-nl span[style]{color:var(--dim) !important}
:is(.rsv-nf,.rsv-na,.rsv-nh,.rsv-ng,.rsv-nq){margin-top:var(--rsv-gap)}
.rsv-nf{grid-column:2;grid-row:1 / span 3;align-self:center;width:100%;margin-top:0}
.rsv-hero > .rsv-na{margin-top:44px}
:is(.rsv-na,.rsv-nh,.rsv-ng,.rsv-nq){width:100%}
.rsv-scene{width:100%;height:auto;color:var(--dim2)}
.rsv-nform{display:flex}
.rsv-nb{display:flex;align-items:center;justify-content:center;height:52px;padding:0 28px;font-size:15px}
.rsv-nct{margin-top:14px;font:400 14px/1.6 var(--fd);color:var(--dim)}
.rsv-err{margin-top:12px;font-size:.9rem;color:var(--red)}
/* a section's head: its number in orange, its words in the dotted face */
.rsv-ngk{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font:400 1.55rem/1.2 var(--fp);color:var(--ink);counter-increment:rsv-sec}
.rsv-ngk::before{content:counter(rsv-sec,decimal-leading-zero);font:600 12px/1 var(--fm);letter-spacing:.04em;color:var(--acc)}
/* the tools and Questions heads at the token's and How to connect's size, a quieter gray (Erik, 1000) */
:is(.rsv-ng,.rsv-nq) .rsv-ngk{color:var(--dim2)}
/* two cards: the token a narrow one, How to connect the full width under it (lab 134 v10, 1004) */
.rsv-na:has(.rsv-tok),.rsv-nh{padding:var(--cp);border:1px solid var(--hl2);border-radius:var(--r);background:var(--s1)}
.rsv-na:has(.rsv-tok){max-width:440px}
.rsv-na:has(.rsv-tok) + .rsv-nh{margin-top:16px}
/* the NB line under the card, out of the flow so the card ends at the steps; the room it takes the card's margin */
.rsv-nh{position:relative;margin-bottom:56px}
/* the token: Activated for under the heading; the mask and its Copy one bar */
.rsv-tok{display:grid;gap:12px}
.rsv-tok .rsv-nct{margin-top:0}
.rsv-nid{margin-top:0;font-size:14px;color:var(--dim);overflow-wrap:anywhere}
.rsv-nid b{font-weight:600;color:var(--dim2)}
.rsv-tkr{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 14px;border:1px solid var(--hl3);border-radius:var(--rb);background:var(--canvas)}
.rsv-tkv{flex:1 1 auto;min-width:0;font:500 12.5px/1.4 var(--fm);color:var(--ink);overflow-wrap:anywhere}
.rsv-tkv::before{content:"$ ";color:var(--faint)}
/* Copy: a small filled square, no outline, hover lighter, never the shell's orange (Erik, 1000) */
.btn.rsv-cp{flex-shrink:0;padding:5px 9px;border-color:transparent;border-radius:4px;background:var(--s2);font-size:10px;color:var(--dim2)}
.btn.rsv-cp:hover{border-color:transparent;background:var(--s3);color:var(--ink)}
/* Copy holds still on press: the shell's 1px nudge (.btn:active) moved it off the pointer and the click missed (Erik, 1000) */
.btn.rsv-cp:active{transform:none}
/* how to connect: the AI tools as folder tabs on a hairline, the open one joined to the steps' ground */
.rsv-cl{margin-top:18px}
.rsv-clt{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:2px;margin:0 calc(var(--cp) * -1);padding:0 var(--cp);border-bottom:1px solid var(--hl2)}
.rsv-clt button{margin-bottom:-1px;padding:11px 15px;border:1px solid transparent;border-bottom:none;border-radius:8px 8px 0 0;
  background:none;font:600 13.5px/1 var(--fd);color:var(--faint);cursor:pointer}
.rsv-clt button:hover{color:var(--dim2)}
.rsv-clt button.on{border-color:var(--hl2);background:var(--s2);color:var(--ink)}
.rsv-clp{margin:0 calc(var(--cp) * -1) calc(var(--cp) * -1);padding:24px var(--cp) 8px;border-radius:0 0 var(--r) var(--r);background:var(--s2)}
.rsv-clp > :first-child{margin-top:0}
/* the sub tabs: a small dark card as wide as its words, the open one white on a small ground one step up, no underline */
.rsv-cls{display:flex;flex-wrap:wrap;width:fit-content;gap:2px;padding:3px;border:1px solid var(--hl1);border-radius:8px;background:var(--canvas)}
.rsv-cls button{padding:4px 8px;border:none;border-radius:4px;background:none;font:500 10.5px/1.4 var(--fm);letter-spacing:.04em;color:var(--faint);cursor:pointer}
.rsv-cls button:hover{color:var(--dim2)}
.rsv-cls button.on{background:var(--s2);color:var(--ink)}
:is(.rsv-clt,.rsv-cls) button:focus-visible{outline:2px solid var(--dim2);outline-offset:2px}
/* a note holds a line each `\n`; a [Name] on screen a chip like inline code, `**word**` white bold */
.rsv-clp .rsv-nct{margin-top:10px;white-space:pre-line}
.rsv-ui{padding:0 5px;border:1px solid var(--hl2);border-radius:4px;background:var(--s3);font-size:.88em;font-weight:600;color:var(--ink);white-space:nowrap}
.rsv-nct b:not(.rsv-ui){font-weight:600;color:var(--ink)}
/* a step's head ("Step 1: Add Connector", split at its colon by the view): in the steps a left column, the dotted
   "Step 1" over the title, a hairline over every step after the first across both columns */
.rsv-sh{margin:26px 0 0;font:700 15px/1.35 var(--fd);color:var(--ink)}
.rsv-sh + .rsv-nct{margin-top:6px}
.rsv-shn{display:block;margin-bottom:3px;font:400 12px/1.2 var(--fp);letter-spacing:.02em;color:var(--faint)}
/* the colon kept for a reader ("Step 1: Add Connector"), clipped for the eye */
.rsv-shn i{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rsv-clp:not([hidden]):has(> .rsv-sh){display:grid;grid-template-columns:120px minmax(0,1fr);align-items:start;padding-top:26px}
.rsv-clp:has(> .rsv-sh) > *{grid-column:2}
.rsv-clp > .rsv-sh{grid-column:1;padding-right:24px;font-size:14px;font-weight:600;line-height:1.3;color:var(--dim2)}
.rsv-clp > .rsv-sh:first-child + *{margin-top:0}
.rsv-clp > .rsv-sh:not(:first-child),.rsv-clp > .rsv-sh:not(:first-child) + *{margin-top:20px;padding-top:20px;border-top:1px solid var(--hl1)}
/* the NB line: centred under the card, NB! orange */
.rsv-nh > .rsv-ncp{position:absolute;top:100%;left:0;right:0;margin:16px 0 0;font:400 13px/1.5 var(--fd);color:var(--dim);text-align:center}
.rsv-nct.rsv-ncp .rsv-nbk{font-weight:700;color:var(--acc)}
/* the NB line's COPY in the Copy button's face (.btn.rsv-cp), a word only: no pointer, no hover (Erik, 1000) */
.rsv-cpk{display:inline-block;padding:4px 8px;border-radius:4px;background:var(--s2);font:600 10px/1 var(--fm);letter-spacing:.12em;text-transform:uppercase;color:var(--dim2);vertical-align:1px}
.rsv-clp a{color:var(--ink)}
.rsv-code{margin-top:12px}
/* two steps in one tab (the Connector's, 0991): the second label reads as its own step */
.rsv-code + .rsv-code{margin-top:22px}
/* Cursor's install link inside its sentence (0991), a line each `\n` (0998); the face and place of a code step's label,
   so Click-To-Add reads like Config's "Cursor Settings > ..." line (Erik, 1003) */
.rsv-lk{margin-top:12px;font:500 11px/1.5 var(--fm);letter-spacing:.02em;color:var(--faint);white-space:pre-line}
.rsv-clp .rsv-lk a{font-weight:700;color:var(--acc)}
/* a label holds one action a line (`\n`, 0991): drawn as lines over the code; Copy inside the box, top right */
.rsv-codeh{margin-bottom:6px;font:500 11px/1.5 var(--fm);letter-spacing:.02em;color:var(--faint)}
.rsv-codeh span{white-space:pre-line}
/* a client's foot: a band across the card's bottom, a step darker */
.rsv-clp:has(> .rsv-sh) > .rsv-foot{grid-column:1 / -1}
.rsv-foot{margin:24px calc(var(--cp) * -1) -8px;padding:12px var(--cp);border-top:1px solid var(--hl1);border-radius:0 0 var(--r) var(--r);background:var(--s1)}
.rsv-foot .rsv-nct{font-size:13px;color:var(--faint)}
.rsv-cbox{position:relative}
.rsv-cbox .rsv-cp{position:absolute;top:5px;right:5px}
/* `inline`: "URL = [box]" on one line, the box takes the rest, a pair tight, the labels one width (0998, 1000) */
.rsv-inl{display:flex;align-items:center;gap:10px;margin-top:8px}
.rsv-inl + .rsv-inl{margin-top:4px}
.rsv-inl .rsv-cbox pre{padding-top:3px;padding-bottom:3px}
/* centred without a transform: the shell's .btn:active owns transform, and swapping it made Copy jump half its height on press and miss the click (Erik, 1000) */
.rsv-inl .rsv-cp{top:0;bottom:0;height:max-content;margin:auto 0}
.rsv-inl .rsv-codeh{margin:0;flex-shrink:0;min-width:8ch;font:600 13px/1 var(--fd);color:var(--dim2)}
.rsv-inl .rsv-cbox{flex:1 1 auto;min-width:0}
.rsv-code pre{margin:0;max-height:320px;overflow:auto;padding:8px 60px 8px 12px;border:1px solid var(--hl2);border-radius:var(--rb);background:var(--canvas);
  font:500 12.5px/1.6 var(--fm);color:var(--dim2);white-space:pre-wrap;overflow-wrap:anywhere}
/* the tools (lab 131 v06 with v20's names, 1002): open, one line on what they do, then a card ruled by hairlines in two
   columns (the card's ground shows through the 1px gaps), each name white in the dotted face over its gray line */
.rsv-ngd{margin-top:var(--rsv-in);font-size:13.5px;line-height:1.6;color:var(--dim)}
.rsv-tl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:14px 0 0;padding:0;list-style:none;
  border:1px solid var(--hl2);border-radius:var(--rc);overflow:hidden;background:var(--hl1)}
.rsv-tl > li{padding:14px 16px;background:var(--s1)}
/* an odd count (a tool added in edit mode): the last cell spans the row, no empty ground beside it */
.rsv-tl > li:last-child:nth-child(odd){grid-column:1 / -1}
.rsv-tln{display:block;font:400 15px/1.3 var(--fp);color:var(--ink)}
.rsv-tlt{display:block;margin-top:4px;font:400 13px/1.55 var(--fd);color:var(--dim)}
/* the questions (lab 132 v21, 1003): the How to connect card's frame, a dotted "Question N" left column like the steps'
   "Step N"; a CSS counter numbers them, so a question added in edit mode numbers itself, the removal question last.
   Every rule under `.rsv-nq`: the FAQ base is the site's (shell.css) */
.rsv-nq .faqs{margin-top:var(--rsv-in);padding:6px 28px;border-color:var(--hl2);border-radius:var(--r);background:var(--s1);counter-reset:rvq}
.rsv-nq .faq{counter-increment:rvq}
.rsv-nq .faq > button{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:0;padding:18px 0}
.rsv-nq .faq > button::before{content:"Question " counter(rvq);font:400 12px/1.2 var(--fp);letter-spacing:.02em;color:var(--faint)}
.rsv-nq .faq > button:hover{background:none;color:var(--ink)}
/* a keyboard ring the page's own gray, never the shell's orange (the tabs do the same) */
.rsv-nq .faq > button:focus-visible{outline:2px solid var(--dim2);outline-offset:-2px}
.rsv-nq .fa-x{padding-left:16px}
.rsv-nq .faq .fa-a{padding:0 0 20px 120px}
.rsv-nq .faq.open > button{color:var(--ink)}
.rsv-nq .fa-a a{color:var(--acc)}
/* the removal question's table (`.rsv-rm`): plain on the card, rows on hairlines, client a narrow column left, step right */
.rsv-tools{width:100%;border:none;border-spacing:0}
.rsv-tools td{padding:10px 16px 10px 0;border-top:1px solid var(--hl1);vertical-align:top;font:400 13.5px/1.55 var(--fd);color:var(--dim)}
.rsv-tools tr:first-child td{border-top:none}
.rsv-tools tr:last-child td{padding-bottom:0}
.rsv-tools td:first-child{width:140px;font:500 12.5px/1.7 var(--fm);color:var(--acc)}
.rsv-rm td{font:400 13px/1.6 var(--fd)}
.rsv-rm td:first-child{font:600 12.5px/1.7 var(--fm)}
/* while Activate's request runs, the plug reaches toward the socket on its growing wire (keyframes: ticons.css') */
@media (prefers-reduced-motion:no-preference){
  .rsv:has(.rsv-nform.htmx-request) .tic-pl-end{animation:tic-pl-try .8s ease-in-out infinite alternate}
  .rsv:has(.rsv-nform.htmx-request) .tic-pl-wire{animation:tic-pl-try-w .8s ease-in-out infinite alternate}
}
/* a phone or a narrow window: one column, the scene under the words, a step's head over its lines, a label over its box */
@container page (max-width:760px){
  .rsv-hero{--cp:18px;display:flex;flex-direction:column;align-items:stretch}
  .rsv-hero > .rs-back{align-self:flex-start}
  .rsv-hero h1{max-width:none;font-size:2.3rem}
  .rsv-hero > .rsv-nf{width:100%;margin-top:28px}
  .rsv-clp:not([hidden]):has(> .rsv-sh){display:block}
  .rsv-clp > .rsv-sh{padding-right:0}
  .rsv-clp > .rsv-sh + *,.rsv-clp > .rsv-sh:first-child + *,.rsv-clp > .rsv-sh:not(:first-child) + *{margin-top:6px;padding-top:0;border-top:none}
  .rsv-inl{flex-direction:column;align-items:stretch;gap:4px}
  .rsv-inl + .rsv-inl{margin-top:8px}
}
@container page (max-width:640px){
  .rsv-tl{grid-template-columns:minmax(0,1fr)}
  .rsv-tools td{display:block;width:auto}
  .rsv-tools td:first-child{width:auto;padding-bottom:2px;border-bottom:none}
  .rsv-tools td + td{padding-top:0;border-top:none}
  /* a phone: the card tighter, "Question N" over its question, the answer under it full width */
  .rsv-nq .faqs{padding:4px 18px}
  .rsv-nq .faq > button{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}
  .rsv-nq .faq > button::before{grid-column:1 / -1}
  .rsv-nq .faq .fa-a{padding-left:0}
}

/* ░█ CODE SAMPLES (0673) ░█ the index's cards, a page's cards (the editor's codeCard), the guest's free door */
.rs-cs h1{margin-top:14px}
.rs-cs .sub{margin-top:12px;max-width:640px}
.rs-cs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:28px}
.card.rs-cs-card{position:relative;display:grid;gap:8px;padding:18px 40px 18px 18px;text-decoration:none;color:var(--dim)}
.rs-cs-card b{font:700 1.02rem/1.3 var(--fd);color:var(--ink)}
.rs-cs-card span{font-size:.9rem;line-height:1.45}
.rs-cs-card i{position:absolute;top:18px;right:18px;font-style:normal;color:var(--faint);transition:color .2s ease,transform .2s ease}
.rs-cs-card:hover i,.rs-cs-card:focus-visible i{color:var(--acc);transform:translateX(3px)}
.rs-cs-draft{opacity:.55}
.rs-cs-body{margin-top:24px}
.rs-cs-body .tt-doc > h3{margin-top:34px}
.rs-cs-gate{display:grid;gap:12px;max-width:640px;margin-top:24px;padding:22px}
.rs-cs-free{font:700 1.15rem/1.3 var(--fd);color:var(--acc)}
.rs-cs-gate p{margin:0;color:var(--dim);line-height:1.5}
.rs-cs-gate .cap{margin-top:4px}
.rs-cs-k{display:block;margin-top:28px;font:600 10px/1 var(--fm);letter-spacing:.14em;color:var(--faint)}
.rs-cs-k+.rs-cs-grid{margin-top:12px}
.card.rs-cs-want{border-color:var(--acc)}

/* ░█ THE AI LAB CARD (0996) ░█ the RVTDocs MCP Server in /ai-lab/'s Deep dives list (ail_rvtdocs.html), round 127 closed
   on v02 (Erik, 2026-11-25): the list's own card and dark icon tile (app_courses' rules, on the page that draws it), here
   only what is the card's: the R mark small inside the tile, the wordmark at the title's size, option 05's status line
   and outline button; activated (`data-on`) the line green, no button */
.rs-rvc .rs-rvc-sq{fill:var(--acc)}
.rs-rvc .rs-rvc-r{fill:var(--acc-ink);font:400 28px/1 var(--fl);text-anchor:middle;dominant-baseline:central}
.rs-rvc-wm{font:400 1em/1 var(--fl);letter-spacing:0;white-space:nowrap}
.rs-rvc-wm b{font-weight:400;color:var(--acc2)}
.ail-dd .rs-rvc-st{display:flex;align-items:center;gap:8px;white-space:nowrap}
.rs-rvc-st::before{content:"";flex:none;width:7px;height:7px;border-radius:2px;background:var(--faint)}
.rs-rvc[data-on] .rs-rvc-st{color:var(--green)}
.rs-rvc[data-on] .rs-rvc-st::before{background:var(--green)}
/* the form over the title link's card-wide ::after, so a press posts and never follows the link */
.rs-rvc-f{position:relative;z-index:1;grid-column:2;justify-self:start;margin:10px 0 0}
.rs-rvc-b{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1px solid var(--hl3);
  border-radius:var(--rb);background:none;cursor:pointer;font:600 11px/1 var(--fm);letter-spacing:.14em;color:var(--ink)}
.rs-rvc-b:hover{border-color:var(--dim)}
.rs-rvc-b:focus-visible{outline:1px solid var(--hl3);outline-offset:3px}
@media (prefers-reduced-motion:no-preference){
  .rs-rvc-b{transition:border-color .18s}
}
