/* B2 v2: memories live once, in the right panel, as expandable rows. */
.mem li.has-d{display:block;padding:0;background:var(--surface);border-radius:12px;scroll-margin-top:96px}
.mem li.has-d.flash,.mem li.has-d:target{box-shadow:inset 4px 0 0 var(--terra),0 10px 22px -14px rgba(41,45,39,.3)}
.mem details.row summary{display:grid;grid-template-columns:28px minmax(0,1fr) 22px;gap:var(--s-3);align-items:start;padding:var(--s-3) var(--s-4);min-height:56px;cursor:pointer;list-style:none;border-radius:12px}
.mem details.row summary::-webkit-details-marker{display:none}
.mem details.row summary{background:transparent;border-radius:12px}
.mem details.row[open] summary{border-radius:12px 12px 0 0}
/* hover: the card lifts a hair and the chevron darkens; the fill never changes (it used to take the panel colour and vanish) */
.mem li.has-d{box-shadow:0 1px 0 rgba(41,45,39,.04)}
.mem li.has-d:hover,.mem li.has-d:focus-within{box-shadow:0 10px 22px -14px rgba(41,45,39,.38),0 1px 0 rgba(41,45,39,.05)}
.mem details.row summary:hover .chev::before,.mem details.row summary:focus-visible .chev::before{border-color:var(--ink)}
.mem details.row summary:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.row-t{display:block;min-width:0}
.chev{width:22px;height:22px;position:relative;margin-top:1px}
.chev::before{content:"";position:absolute;left:6px;top:5px;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.mem details.row[open] .chev::before{transform:rotate(-135deg);top:9px}
.row-more{display:grid;gap:var(--s-2);padding:var(--s-3) var(--s-4) var(--s-4) calc(var(--s-4) + 28px + var(--s-3));background:#f5f6ee;border-top:1px solid rgba(41,45,39,.06);border-radius:0 0 12px 12px}
.rq{margin:0;padding:var(--s-3) var(--s-4);background:var(--surface);border-radius:10px}
.rq p{font:400 var(--fs-sm)/1.5 var(--sans);color:var(--ink)}
.rq footer{margin-top:4px}
.row-use{margin:0}
.row-use a{color:var(--green);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.hint{margin:0 0 var(--s-2)}
.a-list li:target{background:var(--tint-1);border-radius:8px;box-shadow:-8px 0 0 var(--tint-1),8px 0 0 var(--tint-1)}
.style-tag{font:600 11px/1 var(--sans);font-style:normal;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-right:6px}
@media (scripting:enabled) and (prefers-reduced-motion:no-preference){
  .mem li.has-d{transition:box-shadow .25s var(--ease),transform .25s var(--ease)}
  .mem li.has-d:hover{transform:translateY(-1px)}
  .sheet:not(.is-still) .a-list li:nth-child(4){animation-delay:7.6s}
  .mem details.row summary,.chev::before{transition:background .2s,transform .2s var(--ease)}
}
@media (max-width:480px){.row-more{padding-left:var(--s-4)}}

/* the cited memory row / answer line stays highlighted until another one is chosen */
.mem li.has-d.is-cited{box-shadow:inset 4px 0 0 var(--terra),0 10px 22px -14px rgba(41,45,39,.3)}
.a-list li.is-cited{background:var(--tint-1);border-radius:8px;box-shadow:-8px 0 0 var(--tint-1),8px 0 0 var(--tint-1)}

/* compatibility cards: the same real marks as the tools strip, without the disc */
.c-icons{display:flex;align-items:center;gap:10px;min-height:28px;color:var(--ink)}
.c-ic{flex:none;display:grid;place-items:center;width:28px;height:28px;color:var(--ink)}
.c-ic svg{width:24px;height:24px}
.c-ic.c-sm svg{width:20px;height:20px}
.c-ic img{width:26px;height:26px;border-radius:50%;filter:grayscale(1) brightness(1.5) contrast(.7);opacity:.75}

/* type and target fixes from the accessibility audit */
.cap,.cap-block .cap,.sheet-bar span,.row-use{font-size:14px;line-height:1.5}
.style-tag{font-size:12px}
.cite{min-width:24px;min-height:24px}
.small a,a.textlink{display:inline-flex;align-items:center;min-height:24px}

/* FAQ chapter mark: a drawn shield-check in place of a glyph (same terracotta, hairline stroke) */
.rail .num.num-mark{display:block;line-height:0}
.rail .num.num-mark svg{display:block;width:44px;height:52px}
@media (max-width:760px){.rail .num.num-mark svg{width:30px;height:36px}}

/* Trinity teaser mark: trimmed to its content so the elephant and owl fill the disc (was a padded 52 px image in a 72 px disc) */
.tease-card .tn-disc{width:96px;height:96px}
.tease-card .tn-disc img{width:68px;height:68px}
@media (max-width:860px){.tease-card .tn-disc{width:80px;height:80px}.tease-card .tn-disc img{width:56px;height:56px}}

/* waitlist: the owl-and-elephant fan from the approved plan (the one place the owl joins the PersonaKit page) */
.pilot-orbit{position:relative;width:110px;height:90px;margin:0 auto 14px;display:grid;place-items:center;transform:scale(.9) rotate(-8deg)}
.pilot-orbit i{position:absolute;border:1px solid #c9d2bc;background:#e1e6d6;width:78px;height:78px;border-radius:22px;transform:translate(16px,1px) rotate(17deg)}
.pilot-orbit i:nth-child(2){transform:translate(-12px,-5px) rotate(-13deg);background:#f4f5ea}
.pilot-orbit i:first-child{transform:translate(46px,4px) rotate(15deg);display:grid;place-items:center;overflow:hidden}
.pilot-orbit i:first-child img{width:52px;height:52px;position:relative;left:12px;transform:rotate(-7deg)}
.pilot-orbit>img{position:relative;z-index:1}
/* waitlist form: interest choice and contact note */
fieldset.interest{border:0;margin:14px 0 6px;padding:0;display:grid;gap:8px}
fieldset.interest legend{padding:0;margin-bottom:8px;font-size:14px;font-weight:600}
.form-help{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}

/* waitlist confirmation step (preview) */
.wl-result{display:grid;gap:12px}
.wl-result-h{font:400 28px/1.15 var(--serif,Georgia,serif);margin:0}
.wl-mail{border:1px solid var(--line,#d9dccf);border-radius:16px;padding:16px 18px;background:var(--paper,#f6f4ee);display:grid;gap:8px}
.wl-mail p{margin:0}
.wl-mail-h{font:400 22px/1.2 var(--serif,Georgia,serif)}
.wl-mail-meta{font-size:13px;line-height:1.5;color:var(--muted)}
.wl-mail-btn{justify-self:start;background:var(--terra,#b54b32);color:#fff;border-radius:10px;padding:9px 14px;font-weight:600;font-size:14px}
.wl-result .btn{justify-self:start}

/* once the confirmation step shows, the invitation text above the form steps aside */
#wl.is-done>.kicker,#wl.is-done>h2,#wl.is-done>p{display:none}

/* mobile: citation numbers keep the 12 px floor */
.cite{font-size:12px}
