html:not([data-palette]) { --sel: #1f6fe5; }
/* Records: the pieces drawn in /admin/sketches/records-2 (its .rv-* styles, lifted as they were), on top of onedisk's app.css
   for the buttons, inputs, theme, and sky. The app's own additions are at the bottom. */

/* The mark: a box. */
/* The box and the word Records, centered on one line. */
.rv-lockup { display: inline-flex; align-items: center; gap: 0.4em; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.rv-lockup svg { display: block; flex: none; }

/* A browser window around each screen, its address showing the route. */
.rv-screen { position: relative; flex: 1; padding: 28px 24px 64px; }

/* Every route's header: the box at the top left, whose page and which page, then language and who's looking. */
.rv-ph { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 16px; }
.rv-ph button:not(.me-tiles__opt):not(.btn) { appearance: none; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.rv-ph__logo { display: flex; align-items: center; flex: none; color: var(--ink); line-height: 0; }
.rv-ph .rv-ph__home { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.rv-ph__home :is(svg, img.records-logo) { display: block; }
.rv-ph__home:hover span { color: var(--pe-accent, #1f6fe5); }
.rv-ph__path { display: flex; align-items: center; min-width: 0; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.rv-ph__owner { flex: none; font-weight: 500; }
button.rv-ph__owner:hover { color: var(--pe-accent, #1f6fe5); }
.rv-ph__slash { flex: none; margin: 0 7px; color: var(--muted); }
.rv-ph__label { overflow: hidden; text-overflow: ellipsis; }
.rv-ph__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.rv-ph .rv-ph__lang { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12.5px; }
.rv-ph .rv-ph__lang:hover { color: var(--ink); }
.rv-ph .rv-ph__who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; text-align: left; }
.rv-ph__who b { display: block; font-weight: 500; }
.rv-ph__who small { display: block; color: var(--muted); font-size: 12px; }
.rv-ph__who:hover b { color: var(--pe-accent, #1f6fe5); }
.rv-ph .btn { height: 32px; padding: 0 14px; font-size: 13px; }
@media (max-width: 520px) { .rv-ph__who > span:last-child, .rv-ph__lang span { display: none; } }
.rv-ph__path .rv-ph__label { font-weight: 500; }
.rv-avatar { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; }

/* The landings. */
.rv-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 340px; text-align: center; }
.rv-hero h2 { margin: 0; color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.rv-hero p { margin: 0; max-width: 400px; font-size: 14.5px; line-height: 1.5; }
.rv-claim { display: flex; gap: 8px; width: 100%; max-width: 400px; }
.rv-affix { display: flex; align-items: center; flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); overflow: hidden; }
.rv-affix span { padding: 0 1px 0 12px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.rv-affix input { flex: 1; min-width: 0; padding: 10px 12px 10px 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.rv-claim .btn { height: 40px; border-radius: 10px; }
.rv-small { font-size: 12.5px; color: var(--muted); }
.rv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; text-align: left; }
@media (max-width: 560px) { .rv-steps { grid-template-columns: 1fr; } }
.rv-step { padding: 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
.rv-step b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13.5px; font-weight: 500; }
.rv-step i { display: block; margin-bottom: 10px; color: var(--muted); font-style: normal; font-size: 12px; }
.rv-langs { display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 15px; }
.rv-langs span:not(:first-child) { color: var(--muted); }
/* What will you keep? The Arweave line, the answer box and its variations. */
.rv-arweave { margin: 0 !important; color: var(--muted); font-size: 12.5px !important; }
.rv-arweave a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.rv-ask--big { max-width: 460px; }
.rv-ask--big .rv-affix, .rv-ask--big .btn { height: 52px; font-size: 16px; }
.rv-ask--big .rv-affix input { font-size: 16px; }
.rv-ask__lead { padding-right: 6px !important; color: var(--ink) !important; }
.rv-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 420px; }
.rv-drop--ask { width: 100%; max-width: 420px; padding: 18px; }
.rv-drop--ask .rv-claim { max-width: none; }
.rv-ask2 { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 420px; }
.rv-ask2 .rv-affix { width: 100%; flex: none; }
.rv-who-opens button { padding: 6px 10px; font-size: 12px; }
/* A price tag at the right end of a card's access line. */
.rv-price { display: inline-grid; place-items: center; flex: none; min-width: 26px; height: 26px; margin-left: auto; padding: 0 8px; border: 1.5px solid #1f8a3c; border-radius: 999px;
  color: #2fae5a; font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.rv-access em + .rv-price { margin-left: 8px; }
html[data-theme="light"] .rv-price { color: #176b2f; }
/* Get started: username, then display name, stacked and labelled. */
.rv-signup { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 400px; text-align: left; }
.rv-signup label { display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 13px; }
.rv-signup .rv-affix { flex: none; }
.rv-signup .input { width: 100%; height: 40px; }
.rv-signup small { margin-top: -6px; }
.rv-signup .btn { margin-top: 4px; }
.rv-hero h2.rv-titled { display: inline-flex; align-items: center; gap: 10px; }
.rv-titled svg { display: block; flex: none; }
.rv-inlink { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.rv-inlink:hover { color: var(--pe-accent, #1f6fe5); }
/* Side by side, one record at a time: each card fills the column, and the column shows one. */
/* Everything centered: the question, then one record at a time, then the answer box, then the pitch. */
.rv-one { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.rv-one h1.rv-ask, .rv-one h2 { margin: 0; color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.rv-one h1.rv-ask { font-size: 38px; }
.rv-one .rv-carwrap.rv-carwrap--y { width: 100%; max-width: 640px; height: auto; overflow: hidden; }
.rv-one .rv-claim { max-width: 400px; }
.rv-one__pitch { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; text-align: center; }
.rv-car.rv-car--single { display: grid; justify-items: center; height: auto; padding: 8px 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.rv-car.rv-car--single > li { grid-area: 1 / 1; width: min(300px, 70%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease, visibility 0.6s; }
.rv-car.rv-car--single > li.is-on { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; }
/* One card at a time: the one before waits above, the one after below, and a scroll moves them up and down. */
.rv-car.rv-car--single > li.is-prev { transform: translateY(-28px); }
.rv-car.rv-car--single > li.is-next { transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .rv-car.rv-car--single > li { transition: none; } }
.rv-car--single .rv-info b { font-size: 15px; }
.rv-faint { width: 100%; margin-top: 10px; opacity: 0.45; }
.rv-faint:hover { opacity: 1; transition: opacity 0.3s; }
.rv-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rv-ctas .btn svg { width: 18px; height: 18px; }
.rv-ctas--stack { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
.rv-link { appearance: none; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.rv-hero--left { align-items: flex-start; text-align: left; min-height: 0; }
.rv-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: center; min-height: 340px; }
@media (max-width: 560px) { .rv-split { grid-template-columns: 1fr; } }
.rv-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; text-align: left; font-size: 12px; line-height: 1.4; }
.rv-promises div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.rv-promises b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 12.5px; font-weight: 500; }
@media (max-width: 560px) { .rv-promises { grid-template-columns: 1fr; } }

/* The carousel of records: a row that scrolls a card at a time, fading at its edges, with arrows over the ends. */
.rv-carwrap { position: relative; width: 100%; }
.rv-car { display: flex; gap: 12px; margin: 0; padding: 4px 2px 6px; overflow-x: auto; list-style: none; text-align: left; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rv-car::-webkit-scrollbar { display: none; }
.rv-car > li { flex: 0 0 156px; scroll-snap-align: start; }
.rv-car--one > li { flex-basis: 74%; scroll-snap-align: center; }
.rv-car--one { padding-inline: 13%; }
.rv-car--tiles > li { flex-basis: 92px; }
.rv-car--tiles .rv-prev { border-bottom: 0; }
.rv-car--tiles .rv-prev__lock .od-lock { width: 30px; height: 30px; }
.rv-carwrap--y { height: 340px; }
.rv-car--y { flex-direction: column; height: 100%; padding: 2px 4px; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); }
.rv-car--y > li { flex: 0 0 auto; }

/* Records are cards: a preview of the file itself, then its name, then who can open it. */
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 680px) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rv-card > a, .rv-card > button, .rv-card__box { appearance: none; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.03); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.15s; }
.rv-card > a:hover { border-color: var(--line-strong); }
.rv-card__box { cursor: default; }
.rv-prev { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--field); }
.rv-prev svg { display: block; width: 100%; height: 100%; }
.rv-fmt { position: absolute; left: 8px; bottom: 8px; padding: 2px 6px; border-radius: 5px; background: rgba(20, 20, 20, 0.72); color: #fff; font: 600 10.5px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; }
.rv-prev--locked > svg { filter: blur(7px) saturate(0.4); opacity: 0.75; transform: scale(1.08); }
.rv-prev__lock { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); }
.rv-prev__lock .od-lock { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); }
.rv-prev--hidden { display: grid; place-items: center; }
.rv-info { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 6px; min-width: 0; }
.rv-info b { overflow: hidden; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rv-info span { overflow: hidden; color: var(--muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.rv-access { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 4px 13px 12px; color: var(--muted); font-size: 12px; }
.rv-access .od-lock { display: inline-flex; color: var(--ink); }
.rv-access .od-lock svg { width: 14px; height: 14px; }
.rv-access em { margin-left: auto; color: var(--ink); font-style: normal; }
.rv-card--dim > a { opacity: 0.6; }

/* The cards section: each state a record's card can be in, side by side. */

/* The prototype. */
.rv-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.rv-seg button { appearance: none; padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.rv-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* The bar under the header, filling white as the page scrolls, like onedisk's. */
.rv-ph { position: relative; z-index: 4; }

/* Who's signed in: their photo at the far right, opening a menu. */
.rv-me { position: relative; display: flex; }
.rv-ph .rv-me__btn { display: block; border-radius: 0; line-height: 0; }
.rv-me__btn:hover .rv-avatar:not(.rv-avatar--photo), .rv-me__btn[aria-expanded="true"] .rv-avatar:not(.rv-avatar--photo) { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--line-strong); }
.rv-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 6; display: flex; flex-direction: column; min-width: 220px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--bg); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.rv-menu[hidden] { display: none; }
.rv-menu__who { display: flex; align-items: center; gap: 10px; padding: 8px 8px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.rv-menu__who b { display: block; color: var(--ink); font-size: 14px; font-weight: 500; }
.rv-menu__who small { color: var(--muted); font-size: 12px; }
.rv-ph .rv-menu [role=menuitem] { width: 100%; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 13.5px; text-align: left; }
.rv-ph .rv-menu [role=menuitem]:hover { background: var(--field); }
.rv-menu .me-tiles { margin: 2px 0; }
/* Appearance: a half-filled circle beside the photo (or Sign in), for everyone, opening the four theme tiles. */
.rv-ph button.rv-theme__btn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.rv-ph button.rv-theme__btn:hover, .rv-ph button.rv-theme__btn[aria-expanded="true"] { border-color: var(--line-strong); color: var(--ink); }
.rv-theme__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1; }
.rv-menu--theme { min-width: 260px; }
.rv-menu__title { padding: 6px 8px 6px; color: var(--muted); font-size: 12px; }
/* The + in the window's bottom-right corner, round and green, its menu opening above it toward the left. */
.rv-menu__rule { height: 1px; margin: 4px 0; background: var(--line); }
.rv-avatar--photo { display: block; object-fit: contain; border-radius: 0; background: none; box-shadow: none; }

/* The profile's head, centered as on onedisk: photo, name, address, when they joined. */
.rv-face { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 20px; text-align: center; }
.rv-face .rv-avatar { margin-bottom: 8px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 0 24px rgba(255, 255, 255, 0.06); }
.rv-face .rv-avatar--photo { box-shadow: none; }
.rv-face h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.rv-face__link { appearance: none; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.rv-face__link:hover { color: var(--pe-accent, #1f6fe5); text-decoration: underline; text-underline-offset: 2px; }
.rv-face__joined { margin: 0; color: var(--muted); font-size: 13px; }
.rv-face__tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; }
.rv-face__tabs .rv-tabs { margin: 0; }

/* Screens. */
.rv-head { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.rv-head .rv-avatar { width: 52px; height: 52px; font-size: 20px; }
.rv-head h2 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rv-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.rv-head .btn { margin-left: auto; }
.rv-tabs { margin: 0 0 18px; }
.rv-tabs button { min-width: 108px; }
.rv-back { appearance: none; margin: 0 0 16px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.rv-back:hover { color: var(--ink); }
.rv-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 620px) { .rv-doc { grid-template-columns: 1fr; } }
.rv-doc .rv-prev { border: 1px solid var(--line); border-radius: 12px; }
.rv-doc h2 { margin: 0 0 4px; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.rv-doc > div > p { margin: 0 0 16px; font-size: 13px; }
.rv-box { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; line-height: 1.45; }
.rv-box .od-lock { flex: none; color: var(--ink); }
.rv-box b { color: var(--ink); font-weight: 500; }
.rv-meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13px; }
.rv-meta dt { color: var(--muted); }
.rv-meta dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.rv-meta code { font-size: 12px; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rv-center { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 20px; text-align: center; }
.rv-center h3, .rv-center h1.rv-center__title { margin: 0; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.rv-center p { margin: 0; max-width: 380px; font-size: 13.5px; }
.rv-center .od-lock { color: var(--ink); }
.rv-form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.rv-form h2 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rv-form label { display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 13px; }
.rv-form .input, .rv-form select { width: 100%; }
.rv-form select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--ink); font: inherit; }
.rv-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px; border: 1.5px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 13px; }
.rv-opts { display: flex; flex-direction: column; gap: 8px; }
.rv-opt { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px !important; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.rv-opt:has(input:checked) { border-color: var(--ink); background: var(--field); }
.rv-opt input { margin-top: 3px; accent-color: currentColor; }
.rv-opt span { color: var(--muted); font-size: 12px; }
.rv-opt b { display: block; color: var(--ink); font-weight: 500; }
.rv-table { width: 100%; margin-bottom: 18px; border-collapse: collapse; }
.rv-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.rv-table td:last-child { color: var(--muted); }
.rv-toast { position: absolute; left: 50%; bottom: 16px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 13px; transform: translateX(-50%); width: max-content; max-width: 90%; text-align: center; }
html[data-theme="light"] .rv-card > button, html[data-theme="light"] .rv-card__box { background: rgba(255, 255, 255, 0.6); }

/* ---------- The app ---------- */
.rv-app { min-height: 100vh; color: var(--muted); }
.rv-main { position: relative; max-width: 1040px; margin: 0 auto; padding: 32px 20px 120px; }
.rv-ph a { color: inherit; text-decoration: none; }
.rv-ph .rv-ph__home:hover span, .rv-ph a.rv-ph__owner:hover { color: var(--pe-accent, #1f6fe5); }
.rv-ph .rv-me__btn { appearance: none; padding: 0; border: 0; background: none; cursor: pointer; }
.rv-ph .rv-menu [role=menuitem] { display: block; appearance: none; border: 0; background: none; font: inherit; cursor: pointer; text-decoration: none; }
.rv-menu form { margin: 0; }

.rv-seg a { padding: 6px 14px; border-radius: 999px; color: var(--muted); font-size: 13px; text-decoration: none; text-align: center; }
.rv-seg a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.rv-tabs a { min-width: 108px; }

.rv-card > a { text-decoration: none; }
.rv-prev img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rv-prev--real { border: 1px solid var(--line); border-radius: 12px; aspect-ratio: auto; max-height: 520px; }
.rv-prev--real img { height: auto; max-height: 520px; object-fit: contain; }
.rv-doc audio, .rv-video { display: block; width: 100%; margin-top: 10px; border-radius: 12px; }
.rv-lock { display: inline-flex; }

.rv-face h1 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.rv-doc h1, .rv-form h1 { margin: 0 0 4px; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.rv-form h2 { margin: 12px 0 0; font-size: 16px; }
.rv-one { padding-top: 24px; }
.rv-one .rv-lockup { margin: 0; font-size: 38px; gap: 0.35em; }
.rv-one .rv-carwrap { max-width: 640px; overflow: hidden; }
.rv-hero h1 { margin: 0; color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.rv-note { margin: 10px 0 0; }
.rv-wide { max-width: none; }
.rv-error { margin: 0; padding: 10px 12px; border: 1px solid rgba(220, 70, 70, 0.5); border-radius: 10px; color: #e66; font-size: 13px; }
html[data-theme="light"] .rv-error { color: #b42318; }
.rv-error[hidden] { display: none; }

.rv-opts { margin: 0; padding: 0; border: 0; }
.rv-opts legend { margin-bottom: 8px; color: var(--ink); font-size: 13px; }
.rv-opt input { position: static; }
.rv-drop { position: relative; cursor: pointer; text-align: center; }
.rv-drop.is-over { border-color: var(--ink); background: var(--field); }
.rv-drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rv-table td { vertical-align: middle; }
.rv-table a { color: var(--ink); }
.rv-table small { color: var(--muted); }
.rv-table__end { text-align: right; white-space: nowrap; }
.rv-table__end form { display: inline-block; margin-left: 6px; }
.rv-actions form { display: contents; }
.rv-copyable { display: block; margin: 8px 0; overflow-wrap: anywhere; }
.rv-meta a { color: var(--ink); }

.rv-edit { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.rv-edit summary { color: var(--ink); font-size: 14px; cursor: pointer; }
.rv-edit .rv-form { margin: 16px 0; }

.rv-fab { position: fixed; right: 24px; bottom: 24px; z-index: 6; width: 52px; height: 52px; border-radius: 50%; }
.rv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 10; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 13px; transform: translateX(-50%); max-width: 90%; text-align: center; transition: opacity 0.3s; }
.rv-toast.is-gone { opacity: 0; pointer-events: none; }
.rv-fab { display: grid; place-items: center; padding: 0; }
.rv-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; }

/* The word in "Give your ___ a forever home." is onedisk's blue (--accent), and slides up each time it changes. */
.rv-word { display: inline-block; color: var(--accent); }
.rv-word.is-new { animation: rv-word 0.4s ease; }
@keyframes rv-word { from { opacity: 0; transform: translateY(0.3em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv-word.is-new { animation: none; } }
/* The header's Menu: onedisk's transparent glass button, as its Sign in is drawn. */
.rv-ph .rv-menubtn { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 14px; }
/* The Menu as onedisk draws it (app.css .me, .me-menu): set in the header, opening downward from its right edge. */
.rv-me2 { position: relative; left: auto; bottom: auto; z-index: 60; }
.rv-me2 .me-menu { top: calc(100% + 10px); bottom: auto; left: auto; right: 0; transform: translateY(-8px); }
.rv-me2.is-open .me-menu { transform: none; }
/* The menu opens below the header's button, not over it, so the button stays. */
.rv-me2.is-open > .btn { opacity: 1; pointer-events: auto; }
.rv-me2 .me-menu { bottom: auto; }
.rv-menu__chest, html[data-theme="light"] .rv-menu__chest { background: none; box-shadow: none; }
.rv-menu__chest :is(svg, img.records-logo) { width: 80px; height: auto; }
.me-menu__foot form { margin: 0; }

/* /claim: popup modals, one per step, the Records chest centered at the top (onedisk's sign-in dialog). */
.rv-claim__box { position: relative; align-items: stretch; gap: 0; }
.rv-claim__logo { display: flex; justify-content: center; margin: 4px 0 18px; }
.rv-claim__step { display: flex; flex-direction: column; gap: 12px; }
.rv-claim__step[hidden] { display: none; }
.rv-claim__field { display: block; }
.rv-claim__field .rv-affix { flex: none; width: 100%; text-align: left; }
.rv-claim__field .input { width: 100%; height: 40px; }
.rv-claim__step .rv-small { margin: 0; }
.rv-claim__step .od-dialog__actions { margin-top: 4px; }
.rv-claim__close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 16px; color: var(--muted); font-size: 22px; line-height: 1; text-decoration: none; }
.rv-claim__close:hover { background: var(--field); color: var(--ink); }

/* onedisk's Save sits at the bottom right; here the Add a record button has that corner, so Save sits beside it. */
body:has(.rv-fab) .pe-actions { right: 92px; }

/* onedisk's rule: the pill lines up with the page's content, which here is 1000px wide (rv-main's 1040 less its padding). */
.rv-app > .me { left: calc(max(16px, calc(50% - 500px)) + env(safe-area-inset-left, 0px)); }
@media (max-width: 640px) { .rv-app > .me { left: calc(16px + env(safe-area-inset-left, 0px)); } }

/* A record's picture is a 4:3 preview rather than onedisk's round disk, so it fills the card's width. */
html .prof__card:not(.is-open) .coll__link > .coll__disk { width: 100%; aspect-ratio: 4 / 3; margin: 8px 0 !important; border-radius: 8px; }

/* The record on the home page: one fixed spot, no border and no fill, with the picture (solid, slightly curved, chips on it) and its label
   sitting on it. The records swap in place, one at a time. Light text on dark themes, dark on light. */
.rv-one .rv-car.rv-car--single { --btn-line: rgba(255, 255, 255, 0.2); width: min(400px, 100%); margin: 0 auto; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-theme="light"] .rv-one .rv-car.rv-car--single { --btn-line: rgba(0, 0, 0, 0.125); }
.rv-one .rv-car.rv-car--single > li { width: 100%; }
.rv-one .rv-pol { --ink-c: #f4f4f1; --mut-c: rgba(244, 244, 241, 0.66); display: block; height: auto; padding: 0; border: 0; border-radius: 0; overflow: visible; background: none; color: var(--ink-c); }
html[data-theme="light"] .rv-one .rv-pol { --ink-c: #111; --mut-c: rgba(0, 0, 0, 0.6); background: none; border: 0; }
.rv-pol .rv-prev { aspect-ratio: 4 / 3; border: 0; border-radius: 8px; background: #e7e5df; }
html:not([data-theme="light"]) .rv-pol .rv-prev { background: #2a2a28; }
.rv-chips { position: absolute; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.rv-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rv-chip .od-lock { display: inline-flex; color: #fff; }
.rv-chip .od-lock svg { width: 12px; height: 12px; }
.rv-cap { display: flex; flex-direction: column; gap: 7px; padding: 12px 4px 4px; text-align: left; }
.rv-cap__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-cap__row b { min-width: 0; overflow: hidden; color: var(--ink-c); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.rv-cap__price { color: var(--ink-c); font-size: 13px; font-weight: 600; }
.rv-cap__who { color: var(--mut-c); font-size: 12.5px; }
.rv-cap__owner { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-c); font-weight: 500; }
.rv-cap__owner img { flex: none; width: 28px; height: 28px; border-radius: 0; object-fit: contain; }

/* The home page's lockup: the chest and the word Records side by side, centered. */
.rv-one .rv-lockup--home { display: flex; justify-content: center; align-items: center; width: 100%; margin: 0 0 24px; font-size: 44px; gap: 14px; }

/* The home page's lockup sits close under the header. */
.rv-one { padding-top: 0; }
.rv-one .rv-lockup--home { margin-top: -28px; }
/* Signed out: Menu at the bottom right, the same glass pill as Sign in at the bottom left (onedisk's green Menu is not used). */
.rv-dock { position: fixed; right: calc(max(16px, calc(50% - 500px)) + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; }
.rv-dock > .me { position: static; }
.rv-dock .me-menu { left: auto; right: 0; }
@media (max-width: 640px) { .rv-dock { right: calc(16px + env(safe-area-inset-right, 0px)); } }

/* Flows are centered on the page: the form's column, its heading, and the notes under it. */
.rv-form { width: 100%; margin-left: auto; margin-right: auto; }
.rv-form h1, .rv-form h2, .rv-form > .rv-small, .rv-form > .rv-error { text-align: center; }
.rv-form .btn { align-self: center; }
.rv-form .rv-drop { align-self: stretch; }

/* The Created list: the landing page's cards (the .rv-pol polaroid), three across. */
.rv-polgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (min-width: 920px) { .rv-polgrid { grid-template-columns: repeat(3, 1fr); } }
.rv-polgrid .rv-pol { --ink-c: #f4f4f1; --mut-c: rgba(244, 244, 241, 0.66); display: block; padding: 0; color: var(--ink-c); text-decoration: none; }
html[data-theme="light"] .rv-polgrid .rv-pol { --ink-c: #111; --mut-c: rgba(0, 0, 0, 0.6); }
.rv-polgrid .rv-prev { aspect-ratio: 4 / 3; border: 0; border-radius: 8px; background: #e7e5df; transition: filter 0.15s; }
html:not([data-theme="light"]) .rv-polgrid .rv-prev { background: #2a2a28; }
.rv-polgrid .rv-pol:hover .rv-prev { filter: brightness(1.06); }
.rv-polgrid .rv-prev img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rv-polgrid .rv-prev--hidden { display: grid; place-items: center; }

/* The + button opens onedisk's Add menu above it. */
.rv-fabwrap { position: fixed; right: 24px; bottom: 24px; z-index: 61; }
.rv-fabwrap .rv-fab { position: static; }
.rv-fabwrap .me-menu { left: auto; right: 0; }
.pe-add__label { margin: 6px 12px 2px; color: var(--muted); font-size: 12px; }

/* Add pages: onedisk's note page and sketch box, and the thumbnail that can be moved around in its frame. */

.rv-notepad { margin: 0; min-height: 280px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); text-align: left; --pe-copy: var(--ink); }
.rv-notepad .pe-copy__content { min-height: 260px; }
.rv-notebody { margin: 10px 0 0; text-align: left; color: var(--ink); }
.rv-sketchbox { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rv-sketchbox__view { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.rv-sketchbox__view[hidden] { display: none; }
.rv-sketchbox__view img { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
.rv-thumbbox { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rv-thumbbox__frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--field); cursor: grab; touch-action: none; }
.rv-thumbbox__frame[hidden] { display: none; }
.rv-thumbbox__frame.is-dragging { cursor: grabbing; }
.rv-thumbbox__frame img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.rv-thumbbox__frame .rv-small { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; }
.rv-thumbbox__row { display: flex; gap: 8px; }
.rv-thumbbox__row [hidden] { display: none; }
.rv-prev .rv-thumb, .rv-prev img.rv-thumb { display: block; width: 100%; height: 100%; object-fit: cover; }

/* onedisk's formatting toolbar sits in the note form, pinned under the top of the window as you scroll, centered. */
.rv-form .pe-float, html .rv-form .pe-float, html .rv-form .pe-float.btn--user-dark, html .rv-form .pe-float.btn--user-dark.is-placed {
  position: sticky; top: 12px; left: auto; right: auto; transform: none; width: max-content; max-width: 100%;
  margin: 0 auto; justify-content: center; z-index: 30;
}
.rv-form .pe-float { align-self: center; }
.rv-sketchbox { --pe-side: min(300px, 80vw); --pe-line: rgba(255, 255, 255, 0.28); --pe-muted: var(--muted); }
html[data-theme="light"] .rv-sketchbox { --pe-line: rgba(0, 0, 0, 0.25); }

/* Landing page: the chest and Records are back in the header, with the one Menu at the top right opening downward. */
.rv-one { padding-top: 24px; }
.rv-hb .rv-dock { top: calc(16px + env(safe-area-inset-top, 0px)); bottom: auto; }
.rv-hb .rv-dock .me-menu { bottom: auto; top: calc(100% + 10px); }

/* Landing page: the page scrolls like any other; the records change on a timer. */
.rv-claim--cta { justify-content: center; }
.rv-claim--cta .btn { display: inline-flex; align-items: center; padding: 0 22px; text-decoration: none; }
/* Opening the Menu keeps its button in place. */
.rv-dock .me.is-open > .btn { opacity: 1; pointer-events: auto; }
.rv-claim--cta .rv-claim__pill { height: 44px; padding: 0 28px; border-radius: 22px; font-size: 14px; }

/* Popup and dropdown menus are solid: no transparency, no blur. (!important: app.css's glass rules are more specific.) */
html body .me-menu, html body .me--signed-out > .me-menu, html body .pe-add__menu, html body .me__sub {
  background: #1c1c1c !important; border-color: #3a3a3a !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html[data-theme="light"] body .me-menu, html[data-theme="light"] body .me--signed-out > .me-menu, html[data-theme="light"] body .pe-add__menu, html[data-theme="light"] body .me__sub {
  background: #f6f6f4 !important; border-color: #cfcfcb !important;
}
html body .me-menu::before, html body .pe-add__menu::before { display: none !important; }
.rv-legal { margin-top: 6px !important; font-size: 11.5px; line-height: 1.45; }

/* Landing page: the blue Sign in pill sits to the left of Menu in the header. */
.rv-hb .rv-dock { display: flex; align-items: center; gap: 10px; }
.rv-hb .rv-dock__signin { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 22px; font-size: 14px; text-decoration: none; }

/* Landing page: Menu is a blue pill; Sign in is plain text beside it. */
.rv-hb .rv-dock .rv-dock__menu { height: 44px; padding: 0 22px; border-radius: 22px; font-size: 14px; }
.rv-hb .rv-dock a.rv-dock__signin { display: inline-flex; align-items: center; height: 44px; padding: 0 6px; border: 0; background: none; box-shadow: none; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.rv-hb .rv-dock a.rv-dock__signin:hover { color: var(--pe-accent, #1f6fe5); }
.rv-hb .rv-dock .rv-dock__menu { display: inline-grid; place-items: center; width: 44px; padding: 0; }

/* Landing page: Menu is just the icon; Sign in is centered text under the Arweave line. */
.rv-hb .rv-dock button.rv-dock__menu { appearance: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: var(--ink); cursor: pointer; }
.rv-hb .rv-dock button.rv-dock__menu:hover { color: var(--pe-accent, #1f6fe5); }
.rv-hb .rv-dock button.rv-dock__menu::before, .rv-hb .rv-dock button.rv-dock__menu::after { display: none; }
.rv-homesign { display: block; margin: 14px auto 0; text-align: center; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.rv-homesign:hover { color: var(--pe-accent, #1f6fe5); }

/* The Menu icon lines up with the Records icon: same 16px side padding, centered in the 64px header, same 34px box. */
.rv-hb .rv-dock { top: env(safe-area-inset-top, 0px); right: calc(16px + env(safe-area-inset-right, 0px)); height: 64px; }
.rv-hb .rv-dock button.rv-dock__menu { width: 34px; height: 34px; border-radius: 8px; }
.rv-hb .rv-dock button.rv-dock__menu svg { width: 26px; height: 26px; }
.rv-hb .rv-dock .me-menu { top: calc(100% - 8px); }

/* Landing page: the icon sits nearer the right edge, and the open menu starts where it is, replacing it. */
.rv-hb .rv-dock { right: calc(8px + env(safe-area-inset-right, 0px)); }
.rv-hb .rv-dock .me-menu { top: 15px; bottom: auto; left: auto; right: 0; }
.rv-hb .rv-dock .me.is-open > button.rv-dock__menu { opacity: 0; pointer-events: none; }

/* Landing page: the Sign in pill is blue again; the Arweave line is the footer. */
.rv-homesign.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 28px; margin: 18px auto 0; border-radius: 22px; color: #fff; font-size: 14px; }
.rv-one { display: flex; flex-direction: column; align-items: center; }
.rv-footer { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.rv-one .rv-ask { margin: 0 0 20px; text-align: center; }

/* Landing page: the blue Sign in pill is in the header, left of the Menu icon. */
.rv-hb .rv-dock a.rv-dock__signin { height: 34px; padding: 0 16px; border-radius: 17px; color: #fff; font-size: 13.5px; }
.rv-hb .rv-dock a.rv-dock__signin { padding: 0 30px; min-width: 104px; justify-content: center; }
.rv-hb .rv-dock { gap: 4px; right: calc(12px + env(safe-area-inset-right, 0px)); }
.rv-hb .rv-dock button.rv-dock__menu { width: 26px; }
/* app.css gives the word-only Menu pill min-width 97px and 20px side padding; the icon wants neither. */
.rv-hb .rv-dock .me button.rv-dock__menu.me__home { min-width: 0; width: 26px; padding: 0; }
.rv-hb .rv-dock .me button.rv-dock__menu.me__home { width: 32px; }
.rv-hb .rv-dock { right: calc(10px + env(safe-area-inset-right, 0px)); }
.rv-hb .rv-dock .me button.rv-dock__menu.me__home { width: 42px; }
.rv-hb .rv-dock { right: calc(12px + env(safe-area-inset-right, 0px)); }

/* Landing page: the Menu icon is two bars that turn into an X while the menu is open (the X closes it); the menu drops down beneath it. */
.rv-hb .rv-dock .me.is-open > button.rv-dock__menu { opacity: 1; pointer-events: auto; }
.rv-hb .rv-dock .rv-bar { transform-origin: 12px 12px; transition: transform 220ms ease; }
.rv-hb .rv-dock .me.is-open .rv-bar--a { transform: rotate(45deg) translateY(5px); }
.rv-hb .rv-dock .me.is-open .rv-bar--b { transform: rotate(-45deg) translateY(-5px); }
.rv-hb .rv-dock .me-menu { top: calc(50% + 24px); bottom: auto; left: auto; right: 0; }

/* Landing layouts 1-10 (?v=N, previewed on /admin/wireframes). 1 is the one in use. */
.rv-v2 .rv-dock a.rv-dock__signin { height: 34px; padding: 0 6px; min-width: 0; border: 0; background: none; box-shadow: none; color: var(--ink); font-weight: 500; }
.rv-v2 .rv-dock a.rv-dock__signin::before, .rv-v2 .rv-dock a.rv-dock__signin::after { display: none; }
.rv-bodycta { display: flex; justify-content: center; gap: 10px; margin: 18px auto 0; }
.rv-bodycta__pill { min-width: 132px; text-decoration: none; }
.rv-v4 .rv-bl .btn, .rv-v5 .rv-bl .btn { height: 44px; padding: 0 28px; border-radius: 22px; }
.rv-v5 .rv-dock { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); height: auto; }
.rv-v5 .rv-dock .me-menu { top: auto; bottom: calc(100% + 6px); }
.rv-v6 .rv-ph { justify-content: center; }
.rv-v6 .rv-ph .rv-ph__home { position: absolute; left: 50%; transform: translateX(-50%); }
.rv-v6 .rv-dock > .me { position: fixed; left: 12px; top: 15px; }
.rv-v6 .rv-dock .me-menu { left: 0; right: auto; }
.rv-v7 .rv-menu__signin { background: #1f6fe5; color: #fff; font-weight: 500; }
.rv-v9 .rv-one { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 48px; max-width: 900px; margin: 0 auto; min-height: calc(100vh - 140px); }
.rv-v9 .rv-ask { grid-column: 1; grid-row: 1; align-self: end; text-align: left; margin: 0 0 14px; }
.rv-v9 .rv-bodycta { grid-column: 1; grid-row: 2; align-self: start; justify-content: flex-start; margin: 0; }
.rv-v9 .rv-carwrap { grid-column: 2; grid-row: 1 / span 2; }
.rv-v10 .rv-ask { order: 2; margin: 18px 0 0; }
.rv-v10 .rv-carwrap { order: 1; }
.rv-v10 .rv-bodycta { order: 3; }
.rv-cap__init { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--block-strong, #3a3a3a); color: #fff; font-size: 12px; font-style: normal; font-weight: 600; }

/* The first slide: the Records box, large, in the space the cards take. */
.rv-car.rv-car--single > li.rv-card--chest { display: grid; place-items: center; align-self: stretch; width: 100%; }
.rv-card--chest :is(svg, img.records-logo) { display: block; width: min(260px, 80%); height: auto; filter: none; }
.rv-card--chest :is(svg, img.records-logo) { overflow: visible; }
.rv-card--chest { padding: 24px 0; }

/* Landing page footer: the Arweave line, centered at the bottom. */
.rv-footer { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 1; text-align: center; pointer-events: none; }
.rv-footer a { pointer-events: auto; }

/* Icon slides: the Add menu's icon for each kind, drawn large in line. */
.rv-card--icon svg { width: 180px; height: 180px; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: none; }
.rv-car.rv-car--single > li.rv-card--chest { background: none; border: 0; box-shadow: none; }
.rv-card--chest :is(svg, img.records-logo) { background: none; filter: none; }

/* The folders card lists what the folder holds, as onedisk draws a folder: icon, name, type, size. */
.rv-folder { --pe-ink: #1d1d1b; --pe-muted: #6b6b66; --pe-line: #d6d6d1; --pe-accent: #1f6fe5; position: absolute; inset: 0; padding: 38px 10px 6px; background: #f4f4f2; color: #1d1d1b; overflow: hidden; }
.rv-folder .pe-folder__path { margin-bottom: 2px; font-size: 11.5px; }
.rv-folder .pe-folder__row { grid-template-columns: 18px minmax(0, 1fr) 70px 54px; gap: 8px; padding: 6px 4px; font-size: 11px; }
.rv-folder .pe-folder__row:last-child { border-bottom: 0; }
.rv-folder .pe-folder__name { font-size: 12px; }
.rv-folder .pe-folder__icon svg { width: 16px; height: 16px; }
.rv-folder .pe-folder__date { display: none; }

/* /user/record/public: the record as it will look at records.ar.io, once engraved. The staging ribbon is the only thing that says otherwise. */
.rv-stage { padding: 8px 16px; background: #fff3b8; color: #3a3000; font-size: 12.5px; text-align: center; }
.rv-stage a { color: inherit; text-decoration: underline; }
.rv-ph--public { justify-content: space-between; }
.rv-url { flex: 0 1 auto; min-width: 0; overflow: hidden; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.rv-url span { color: var(--muted); }
.rv-hash { word-break: break-all; }
.rv-footer--static { position: static; padding: 8px 0 28px; }
.rv-public .rv-main { padding-bottom: 24px; }

/* The Records site: its six pages, and the front door at /records. */
.rv-site { max-width: 720px; margin: 0 auto; padding-bottom: 40px; }
.rv-site__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 6px 0 36px; }
.rv-site__tab { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; text-decoration: none; }
.rv-site__tab:hover { color: var(--ink); }
.rv-site__tab.is-here { background: var(--field); color: var(--ink); font-weight: 500; }
.rv-site__head h1, .rv-site__hero h1 { margin: 0 0 10px; color: var(--ink); font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.rv-site__lede { margin: 0 0 8px; max-width: 56ch; color: var(--muted); font-size: 17px; line-height: 1.55; }
.rv-site__sec { margin-top: 34px; }
.rv-site__sec h2 { margin: 0 0 10px; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rv-site__sec p, .rv-site__sec li { max-width: 62ch; color: var(--ink); font-size: 15.5px; line-height: 1.65; opacity: 0.88; }
.rv-site__sec ul, .rv-site__sec ol { margin: 0; padding-left: 22px; }
.rv-site__sec li + li { margin-top: 8px; }
.rv-site__sec pre { margin: 0; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--field); font-size: 13px; line-height: 1.6; }
.rv-site__qa { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rv-site__qa details { border-bottom: 1px solid var(--line); }
.rv-site__qa summary { padding: 14px 0; color: var(--ink); font-size: 15.5px; font-weight: 500; cursor: pointer; }
.rv-site__qa details p { margin: 0 0 14px; }
.rv-site__hero { display: flex; flex-direction: column; align-items: center; margin: 8px 0 36px; text-align: center; }
.rv-site__hero .rv-site__lede { text-align: center; }
.rv-site__logo { margin-bottom: 14px; line-height: 0; }
.rv-site__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.rv-site__card { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); color: var(--ink); text-decoration: none; }
.rv-site__card:hover { border-color: var(--line-strong); }
.rv-site__card b { font-size: 16px; font-weight: 600; }
.rv-site__card span { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* The header on the Records site: Records / Page, the page name in the logo's own type. */
.rv-ph .rv-ph__path--logo { color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.rv-ph .rv-ph__path--logo .rv-ph__label { font-weight: 600; }
.rv-ph .rv-ph__path--logo .rv-ph__slash { margin: 0 8px 0 2px; font-weight: 500; }
/* The profile's photo is the box. */
.prof__avatar--box { display: grid; place-items: center; background: none; box-shadow: none; aspect-ratio: auto; border-radius: 0; width: auto; }
.prof__link { margin: 2px 0 0; font-size: 13px; }
.prof__link a { color: var(--pe-accent, #1f6fe5); text-decoration: none; }
.prof__link a:hover { text-decoration: underline; }
.rv-cap__box { display: inline-grid; place-items: center; width: 28px; height: 28px; line-height: 0; }
.rv-site { padding-top: 8px; }

/* The bottom-left pill starts where the Records icon starts in the header: 16px in, at every width. */
.rv-app > .me { left: calc(16px + env(safe-area-inset-left, 0px)); }

/* Profiles: the header (the box and the menu) is pinned, the tabs scroll with the page, and the list scrolls in its own
   area that begins at the header's bottom edge, so the records stop there instead of passing behind it. */
html:has(body.rv-pin), body.rv-pin { height: 100%; overflow: hidden; }
body.rv-pin .rv-ph { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }
body.rv-pin .rv-main { position: fixed; top: 64px; right: 0; bottom: 0; left: 0; max-width: none; margin: 0; padding: 0 max(20px, calc(50% - 520px)) 120px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
body.rv-pin .prof__panel > .prof__tabs { position: relative; top: auto; }

/* A record, drawn like a onedisk piece: one centered column, the picture or media on top, the name large under it with its date, then the writing. */
.rv-piece { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 640px; margin: 8px auto 0; }
.rv-piece__media { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.rv-piece__thumb { width: min(360px, 100%); }
.rv-piece__thumb .rv-prev, .rv-piece__thumb > img { border: 0; border-radius: 12px; }
.rv-piece__thumb > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rv-piece__photo { display: block; max-width: 100%; max-height: 560px; border-radius: 12px; object-fit: contain; }
.rv-piece__video { display: block; width: 100%; border-radius: 12px; background: #000; }
.rv-piece__audio { width: min(420px, 100%); }
.rv-piece__pdf { display: block; width: 100%; max-height: min(80vh, 960px); height: auto; object-fit: contain; border: 0; border-radius: 0; background: #fff; }
.rv-piece__byline { align-items: center; gap: 6px; text-align: center; }
.rv-piece__title { margin: 0; color: var(--ink); font-size: 32px; font-weight: 500; letter-spacing: -0.028em; line-height: 1.15; text-wrap: balance; }
.rv-piece:not(.rv-piece--note) .rv-piece__title { font-size: 26px; }
.rv-piece__date { margin: 0; color: var(--muted); font-size: 18px; letter-spacing: -0.028em; line-height: 1.15; }
.rv-piece:not(.rv-piece--note) .rv-piece__date { font-size: 15px; }
.rv-piece__copy { width: 100%; margin: 0; cursor: auto; }
.rv-piecemeta { max-width: 520px; margin: 32px auto 0; }
.rv-piecemeta .rv-actions { justify-content: flex-start; }

/* The record's name over its date in the header opens onedisk's pieces menu: a sheet from the header to the bottom of the screen. */
.rv-pieces { position: static; }
.rv-ph .rv-pieces__btn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; font-weight: 500; text-align: left; line-height: 1.1; }
.rv-pieces__name { font-size: 16px; letter-spacing: -0.02em; }
.rv-pieces__sub { color: var(--muted); font-size: 12px; font-weight: 400; }
.rv-pieces.is-open .rv-pieces__btn { color: var(--pe-accent, #1f6fe5); }
html.rv-sheet-open { overflow: hidden; }
.rv-sheet { position: fixed; top: 64px; right: 0; bottom: 0; left: 0; z-index: 55; display: none; overflow-y: auto; overscroll-behavior: contain; padding: 18px 0 calc(110px + env(safe-area-inset-bottom, 0px)); background: #070707; color: #fff; white-space: normal; }
html[data-theme="light"] .rv-sheet { background: #ffffff; color: #111; }
.rv-pieces.is-open .rv-sheet { display: block; }
.rv-sheet > * { width: min(640px, calc(100vw - 32px)); margin-left: auto; margin-right: auto; }
.rv-ph .rv-sheet a.rv-sheet__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 8px 4px; color: inherit; text-decoration: none; }
.rv-sheet__head .rv-avatar:not(.rv-avatar--photo) { border-radius: 50%; }
.rv-sheet__text { display: grid; gap: 2px; }
.rv-sheet__text b { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.rv-sheet__text small { color: var(--muted); font-size: 13px; }
.rv-sheet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, calc(50% - 4px)), 1fr)); gap: 8px; margin-top: 0; margin-bottom: 0; padding: 0; list-style: none; }
.rv-sheet .prof__card { position: relative; min-width: 0; }
.rv-ph .rv-sheet a.coll__link { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; border: 1px solid rgba(127,127,127,.28); border-radius: 12px; color: inherit; text-decoration: none; }
.rv-sheet .prof__card.is-current .coll__link, .rv-sheet .coll__link:hover { border-color: var(--pe-accent, #1f6fe5); }
.rv-sheet .coll__name { max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 18px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.rv-sheet .coll__disk { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #dfe1e0; }
.rv-sheet .coll__disk img, .rv-sheet .coll__disk svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.coll__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; color: var(--muted); font-size: 11px; line-height: 15px; }
.rv-sheet .coll__size { display: none; }

/* Created list: a grid / list toggle and a sort menu at the bottom right (left of the + when the owner has it). */
.rv-viewbar { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 8px; }
body:has(.rv-fab) .rv-viewbar { right: calc(76px + env(safe-area-inset-right, 0px)); }
.rv-seg { display: inline-flex; align-items: center; height: 44px; border: 1.5px solid #3a3a3a; border-radius: 22px; background: #1c1c1c; color: #fff; }
html[data-theme="light"] .rv-seg { border-color: #cfcfcb; background: #f6f6f4; color: #111; }
.rv-seg { padding: 3px; gap: 2px; }
.rv-seg button { appearance: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 18px; background: none; color: inherit; opacity: .55; cursor: pointer; }
.rv-seg button svg { width: 20px; height: 20px; }
.rv-seg button[aria-pressed="true"] { background: rgba(127,127,127,.28); opacity: 1; }

/* The piece's date line: a round Download button beside the size. */
.rv-piece__dl { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 10px; border: 1.5px solid var(--line-strong, #555); border-radius: 50%; color: var(--ink); vertical-align: middle; text-decoration: none; transition: border-color .15s, color .15s; }
.rv-piece__dl:hover { border-color: var(--pe-accent, #1f6fe5); color: var(--pe-accent, #1f6fe5); }
.rv-piece__dl svg { width: 15px; height: 15px; }
/* Details: the address, who keeps it, where it is stored and its hash show in a tooltip over the word. */
.rv-details { position: relative; display: inline-block; margin: 14px 0 4px; outline: none; }
.rv-details__label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; cursor: default; }
.rv-details:hover .rv-details__label, .rv-details:focus .rv-details__label { color: var(--ink); }
.rv-details__tip { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; display: none; width: min(420px, calc(100vw - 32px)); padding: 14px 16px; border: 1.5px solid #3a3a3a; border-radius: 14px; background: #1c1c1c; color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
html[data-theme="light"] .rv-details__tip { border-color: #cfcfcb; background: #f6f6f4; color: #111; box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.rv-details:hover .rv-details__tip, .rv-details:focus .rv-details__tip, .rv-details:focus-within .rv-details__tip { display: block; }
.rv-details__tip .rv-meta { margin: 0; }
.rv-details__tip::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

/* List view, as a file manager draws it: a pinned header (the column names, each one sorts), then one compact line per record. */
.rv-table { margin: 16px 0 0; text-align: left; }
.rv-table[hidden], .rv-polgrid[hidden] { display: none; }
.rv-table__head { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: minmax(240px, 1fr) 170px 88px 150px 84px 110px; min-width: 920px; align-items: center; gap: 12px; padding: 0 12px 0 0; border-bottom: 1px solid var(--line); background: #111; color: var(--muted); }
html[data-theme="light"] .rv-table__head { background: #efefed; }
.rv-table__head button { appearance: none; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.rv-table__head button[data-col="size"], .rv-table__head button[data-col="price"] { justify-content: flex-end; }
.rv-table__head button:hover, .rv-table__head button.is-sorted { color: var(--ink); }
.rv-table__head button.is-sorted { font-weight: 600; }
.rv-table__head button.is-sorted::after { content: ""; width: 7px; height: 7px; margin-top: 3px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(-135deg); }
.rv-table__head button.is-sorted.is-desc::after { margin-top: -3px; transform: rotate(45deg); }
.rv-table__body { padding: 6px 0 0; }
.rv-row { display: grid; grid-template-columns: minmax(240px, 1fr) 170px 88px 150px 84px 110px; min-width: 920px; align-items: center; gap: 12px; height: 32px; padding: 0 12px 0 0; border-radius: 8px; color: var(--ink); font-size: 14px; text-decoration: none; }
.rv-row:nth-child(odd) { background: rgba(127, 127, 127, 0.1); }
.rv-row:hover { background: rgba(127, 127, 127, 0.2); }
.rv-row__pic { display: grid; place-items: center; width: 22px; height: 22px; overflow: hidden; border-radius: 4px; background: var(--line); }
.rv-row__pic img, .rv-row__pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.rv-row__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-row__date, .rv-row__size, .rv-row__type, .rv-row__price, .rv-row__access { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.rv-row__size, .rv-row__price { text-align: right; }
/* The list's column names are just text: no fill behind them. */
.rv-table__head, html[data-theme="light"] .rv-table__head { background: none; }

/* List view: the page scrolls first, carrying the photo and tabs away until the table fills the screen under the header; after that only the
   rows scroll, inside the table (the script hands the wheel and touch from one to the other). */
body.rv-pin.rv-listview .rv-main { padding-bottom: 0; }
body.rv-listview .rv-table:not([hidden]) { display: flex; flex-direction: column; height: calc(100vh - 64px); height: calc(100dvh - 64px); margin-top: 4px; overflow: hidden; }
.rv-pol--dim { opacity: .55; }

/* The column names sit above the scrolling rows, not over them, so rows stop at them. Sideways scrolling is carried across by the script. */
.rv-table__headwrap { overflow: hidden; scrollbar-gutter: stable; border-bottom: 1px solid var(--line); }
.rv-table__headwrap .rv-table__head { position: static; z-index: auto; border-bottom: 0; }
body.rv-listview .rv-table__headwrap { flex: none; }
body.rv-listview .rv-table__body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 6px 0 84px; }
body.rv-listview .rv-table__head { position: static; }

/* Picture and title are one cell. It carries its own left padding and fill, so on a phone, when the table scrolls sideways, the other
   columns slide under it and are cut off at its right edge: nothing shows through the padding or the gap. */
.rv-row__name, .rv-table__name { display: flex; align-items: center; gap: 12px; min-width: 0; padding-left: 12px; }
.rv-row__name .rv-row__title, .rv-table__name [data-col="title"] { min-width: 0; }
.rv-table__pic { flex: none; width: 22px; }
/* Wide screens: the columns after the title are just part of the row's grid. */
.rv-row__rest, .rv-table__rest { display: contents; }
/* A phone: the title is pinned at the left and the other columns slide past it. Nothing is painted behind the title (so the rows look the
   same as on a wide screen, bands and all); instead the other columns are cut off at the title's right edge by --sx, the table's sideways
   scroll, which the script keeps up to date. */
@media (max-width: 700px) {
  .rv-table.rv-table .rv-table__head, .rv-table.rv-table .rv-row { grid-template-columns: 240px auto; gap: 0; min-width: 0; width: max-content; min-width: 100%; }
  .rv-row__name, .rv-table__name { position: sticky; left: 0; z-index: 3; width: 240px; padding-right: 12px; background: none; }
  .rv-row__rest, .rv-table__rest { display: grid; grid-template-columns: 170px 88px 150px 84px 110px; align-items: center; gap: 12px; padding-left: 12px; clip-path: inset(0 0 0 var(--sx, 0px)); }
  .rv-table--author .rv-row__rest, .rv-table--author .rv-table__rest { grid-template-columns: 150px 150px 170px 88px 150px 84px 110px; }
}
.rv-row__name .rv-row__pic { flex: none; }

/* Header and rows share one column template and width, so cells sit under their names at any scroll position. */
.rv-table__head, .rv-row { box-sizing: border-box; width: 100%; min-width: 920px; }
.rv-table__headwrap, .rv-table__body { scrollbar-width: thin; }

/* Resizing the window (static/js/sky.js sets html.is-resizing): the clouds are drawn through an SVG filter and the glass surfaces are blurs of
   what's behind them; Safari redoes every one of them on each size change. They are left out until the dragging stops. */
html.is-resizing *:not(.btn):not(.rv-seg):not(.btn *), html.is-resizing *:not(.btn):not(.rv-seg)::before, html.is-resizing *:not(.btn):not(.rv-seg)::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.is-resizing * { transition: none !important; }
/* The buttons are small: they keep their glass while resizing so they don't turn transparent. */

/* Profile header layouts (/{user}?p=1..8, shown on /admin/wireframes): the Records icon sits where the hamburger was, and the person's photo and
   name go in the header in different ways. */
.rv-hb.rv-p1 .rv-dock__menu, .rv-hb:is(.rv-p1, .rv-p2, .rv-p3, .rv-p4, .rv-p5, .rv-p6, .rv-p7, .rv-p8) .rv-dock__menu { padding: 0; }
.rv-hb:is(.rv-p1, .rv-p2, .rv-p3, .rv-p4, .rv-p5, .rv-p6, .rv-p7, .rv-p8) .rv-dock__menu svg { width: 26px; height: 26px; }
.rv-ph__name { font-size: 15px; font-weight: 500; }
.rv-ph__two { display: grid; gap: 1px; line-height: 1.2; }
.rv-ph__two b { font-size: 14px; font-weight: 600; }
.rv-ph__two small { color: var(--muted); font-size: 12px; }
.rv-p3 .prof__face .prof__avatar, .rv-p3 .prof__face .prof__name, .rv-p6 .prof__face .prof__avatar, .rv-p6 .prof__face .prof__name { display: none; }
.rv-p3 .prof__face, .rv-p6 .prof__face { justify-content: center; text-align: center; }
.rv-p4 .prof__face, .rv-p5 .prof__face, .rv-p7 .prof__face { display: none; }
.rv-p6 .rv-ph { justify-content: center; }
.rv-p6 .rv-ph .rv-ph__logo { margin-right: -2px; }
.rv-p7 .rv-ph { padding-right: 76px; }
.rv-p7 .rv-ph .rv-ph__logo { margin-right: auto; }
.rv-p8 .prof__face { flex-direction: column; align-items: center; text-align: center; }
.rv-p8 .prof__face img.prof__avatar { width: 128px; }
.rv-p8 .prof__who { align-items: center; text-align: center; }

/* Photos show whole, with no circle or glow around them. */
img.prof__avatar { aspect-ratio: 1; width: min(168px, 40vw); height: auto; border-radius: 50%; object-fit: cover; box-shadow: none; }

/* Profile layouts: the photo is a true circle, and Created / Collected stay under the face. */
.rv-ph__logo .rv-avatar, .rv-ph__logo img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
@media (max-width: 700px) { body:is(.rv-p1, .rv-p2, .rv-p3, .rv-p4, .rv-p5, .rv-p6, .rv-p7, .rv-p8) .rv-ph__name, body:is(.rv-p1, .rv-p2, .rv-p3, .rv-p4, .rv-p5, .rv-p6, .rv-p7, .rv-p8) .rv-ph__two, body:is(.rv-p1, .rv-p2, .rv-p3, .rv-p4, .rv-p5, .rv-p6, .rv-p7, .rv-p8) .rv-ph__path { display: none; } }

/* Records is the one profile whose picture is not a circle: it is the chest, drawn whole. */
img.prof__avatar.prof__avatar--chest { aspect-ratio: auto; width: auto; height: auto; max-height: min(168px, 40vw); border-radius: 0; object-fit: contain; }
.rv-cap__row--mid { justify-content: center; text-align: center; }

/* A profile with no photo: a gray circle with the plain person shape. */
.prof__avatar--empty { background: var(--avatar-empty-bg, #8e9399); box-shadow: none; color: var(--avatar-empty-ink, #d9dce0); aspect-ratio: 1; width: min(168px, 40vw); border-radius: 50%; overflow: hidden; }
.prof__avatar--empty svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.wf { max-width: 1100px; margin: 0 auto; padding: 8px 16px 56px; }
.wf__h { margin: 0 0 6px; color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.wf__lede { margin: 0; max-width: 64ch; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.wf__label { margin: 10px 4px 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* Every user's picture, wherever it appears (cards, headers, menus, the big one), is a circle; Records' chest is the one exception. */
img[src^="/api/users/"] { border-radius: 50%; object-fit: cover; }
img[src^="/api/users/records/"] { border-radius: 0; object-fit: contain; }

/* A row's title is the link to its record; the rest of the row is plain. Collected adds an Author column after the title. */
.rv-row .rv-row__title { color: inherit; text-decoration: none; }
.rv-row a.rv-row__title:hover, .rv-row__author a:hover { color: var(--pe-accent, #1f6fe5); text-decoration: underline; }
.rv-row__author { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.rv-row__author a { color: inherit; text-decoration: none; }
.rv-table--author .rv-table__head, .rv-table--author .rv-row { grid-template-columns: minmax(240px, 1fr) 150px 150px 170px 88px 150px 84px 110px; min-width: 1240px; }
.rv-row__author a { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rv-row__author a img { flex: none; width: 20px; height: 20px; }
.rv-row__author a span { overflow: hidden; text-overflow: ellipsis; }
.rv-chips--bottom { inset: auto 10px 10px 10px; justify-content: flex-start; }
.rv-chip--author img, .wc-chip--author img { display: block; flex: none; width: 16px; height: 16px; object-fit: cover; border-radius: 50%; }
.wf__sub { margin: 40px 0 0; color: var(--ink); font-size: 17px; font-weight: 600; }
.wf__sub small { margin-left: 8px; color: var(--muted); font-size: 13px; font-weight: 400; }

@media (min-width: 900px) { .wc-grid { grid-template-columns: repeat(3, 1fr); } }

.rv-kind { display: inline-flex; align-items: center; gap: 5px; }
.rv-kind svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
/* The access icon in a pill takes the pill's own color, as the type icon does, in either theme and for the gold one too. */
html .rv-chip .od-lock, html .wc-chip .od-lock, html .rv-chip .od-lock--gold, html .wc-chip .od-lock--gold { color: inherit; }
html .rv-chip .od-lock__badge, html .wc-chip .od-lock__badge { border-color: currentColor; }
.rv-chips--bottom { justify-content: space-between; }
.rv-chip--edit, .rv-chip--author[data-href] { cursor: pointer; pointer-events: auto; }
.rv-chip--edit svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.rv-chip--price { font-weight: 600; }
/* The author pill's picture is a small circle; the grid's rule that stretches a card's picture must not reach it. */
.rv-polgrid .rv-prev .rv-chip--author img { width: 16px; height: 16px; max-width: none; border-radius: 50%; object-fit: cover; }
.rv-chip { white-space: nowrap; }
/* The title and date under a Created or Collected card are centered. */
.rv-polgrid .rv-cap { text-align: center; }
.rv-polgrid .rv-cap__row { justify-content: center; }

/* Grid / list toggle: the chosen view is a solid light pill with a dark icon (dark on light themes), the other a plain icon, so the
   switch reads at a glance. */
.rv-viewbar .rv-seg { background: #1c1c1c; border-color: #4a4a4a; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.rv-viewbar .rv-seg button { color: #bdbdbd; opacity: 1; transition: background .15s, color .15s; }
.rv-viewbar .rv-seg button:hover { color: #fff; }
.rv-viewbar .rv-seg button[aria-pressed="true"] { background: #f2f2f2; color: #111; box-shadow: none; }
html[data-theme="light"] .rv-viewbar .rv-seg { background: #fff; border-color: #c9c9c4; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
html[data-theme="light"] .rv-viewbar .rv-seg button { color: #6b6b66; }
html[data-theme="light"] .rv-viewbar .rv-seg button:hover { color: #111; }
html[data-theme="light"] .rv-viewbar .rv-seg button[aria-pressed="true"] { background: #111; color: #fff; }

/* A little more room from the screen's edge: Sign in at the left, the grid / list toggle at the right. */
.rv-app > .me, .rv-app > .me.rv-bl { left: calc(28px + env(safe-area-inset-left, 0px)); }
.rv-viewbar { right: calc(28px + env(safe-area-inset-right, 0px)); }
body:has(.rv-fab) .rv-viewbar { right: calc(88px + env(safe-area-inset-right, 0px)); }

/* "Records / About": the same space on each side of the slash (the header's own gap is cancelled). */
.rv-ph .rv-ph__home + .rv-ph__path--logo { margin-left: -10px; }
.rv-ph .rv-ph__path--logo .rv-ph__slash { margin: 0 8px; }
/* The pills on a picture are dark glass in every theme, so everything in them is white, whatever the theme colors the icons. */
html .rv-prev .rv-chip, html .rv-prev .rv-chip .od-lock, html .rv-prev .rv-chip .rv-kind, html .rv-prev .rv-chip .rv-kind svg, html .rv-prev .rv-chip svg { color: #fff !important; }
html .rv-prev .rv-chip .rv-kind svg, html .rv-prev .rv-chip--edit svg { stroke: #fff !important; fill: none !important; }
/* Collected: a section for each author, their picture and name over their pieces. */
.rv-byline { margin: 28px 0 0; }
.rv-byline:first-child { margin-top: 16px; }
.rv-byline__head { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.rv-byline__head img { display: block; flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.rv-byline__head b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.rv-byline__head:hover b { color: var(--pe-accent, #1f6fe5); }
.rv-byline .rv-polgrid { margin-top: 12px; }
.rv-bylines[hidden] { display: none; }

/* /admin/wireframes: the Collected page's pieces by author, ten ways. */
.wb { margin: 44px 0 0; }
.wb__label { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.wb__label b { margin-right: 8px; color: var(--ink); font-size: 15px; font-weight: 600; }
.wb__page { padding: 18px 20px 28px; border: 1px solid var(--line); border-radius: 14px; }
.wb__chips { display: none; }
.wb__sec { margin: 0; }
.wb__sec + .wb__sec { margin-top: 28px; }
.wb__head { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wb__head img { display: block; flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.wb__head b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.wb__head:hover b { color: var(--pe-accent, #1f6fe5); }
.wb__count, .wb__go { display: none; color: var(--muted); font-size: 13px; }
.wb .rv-polgrid { margin-top: 12px; }
/* 2 Author at the side */
.wbv2 .wb__sec { display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.wbv2 .wb__head { flex-direction: column; align-items: flex-start; align-self: start; position: sticky; top: 12px; gap: 8px; }
.wbv2 .wb__head img { width: 72px; height: 72px; } .wbv2 .wb__count { display: block; }
.wbv2 .rv-polgrid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
/* 3 Ruled header with count */
.wbv3 .wb__head { display: flex; width: 100%; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong, var(--line)); }
.wbv3 .wb__count { display: block; margin-left: 4px; } .wbv3 .wb__go { display: block; margin-left: auto; }
/* 4 One row each */
.wbv4 .rv-polgrid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.wbv4 .rv-polgrid > li { flex: 0 0 240px; }
/* 5 Big banner */
.wbv5 .wb__head { gap: 16px; } .wbv5 .wb__head img { width: 64px; height: 64px; } .wbv5 .wb__head b { font-size: 22px; letter-spacing: -0.02em; }
.wbv5 .wb__count { display: block; }
@media (min-width: 900px) { .wbv5 .rv-polgrid, .wbv7 .rv-polgrid { grid-template-columns: repeat(4, 1fr); } }
.wbv5 .rv-polgrid { gap: 20px 14px; }
/* 6 Centered */
.wbv6 .wb__sec { text-align: center; } .wbv6 .wb__head { flex-direction: column; gap: 8px; } .wbv6 .wb__head img { width: 56px; height: 56px; }
.wbv6 .rv-polgrid { text-align: left; }
/* 7 Pill header */
.wbv7 .wb__head { padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--field, rgba(128, 128, 128, 0.18)); }
.wbv7 .wb__head img { width: 26px; height: 26px; } .wbv7 .wb__head b { font-size: 14px; }
.wbv7 .rv-polgrid { gap: 20px 14px; }
/* 8 Two authors across */
.wbv8 .wb__secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; align-items: start; }
.wbv8 .wb__sec + .wb__sec { margin-top: 0; }
.wbv8 .rv-polgrid { grid-template-columns: repeat(2, 1fr); }
/* 9 Author chips on top */
.wbv9 .wb__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.wbv9 .wb__chips a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--field, rgba(128, 128, 128, 0.18)); color: var(--ink); font-size: 13.5px; text-decoration: none; }
.wbv9 .wb__chips img { display: block; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
/* 10 Rows */
.wbv10 .rv-polgrid { grid-template-columns: 1fr; gap: 6px; }
.wbv10 .rv-polgrid .rv-pol { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 14px; }
.wbv10 .rv-polgrid .rv-cap { padding: 0; text-align: left; } .wbv10 .rv-polgrid .rv-cap__row { justify-content: flex-start; }
.wbv10 .rv-polgrid .rv-chips { display: none; }
/* Collected: each author's pieces in one row that scrolls sideways. */
.rv-bylines .rv-polgrid { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; }
.rv-bylines .rv-polgrid > li { flex: 0 0 min(100%, 260px); }
/* As wide as a Created card: three across the page, with the same gap. */
@media (min-width: 900px) { .rv-bylines .rv-polgrid > li { flex-basis: calc((100% - 40px) / 3); } }

/* The list's filters under the column names and its total under the rows. */
.rv-row[hidden] { display: none; }
.rv-table__filters .rv-table__head, .rv-table__foot .rv-table__head { min-height: 34px; }
.rv-filter { box-sizing: border-box; width: 100%; min-width: 0; height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--field, transparent); color: var(--ink); font: inherit; font-size: 12.5px; }
.rv-filter:focus { outline: none; border-color: var(--pe-accent, #1f6fe5); }
.rv-table__filters { border-bottom: 1px solid var(--line); padding: 6px 0; }
.rv-table__foot { border-top: 1px solid var(--line); border-bottom: 0; }
.rv-foot__cell { overflow: hidden; color: var(--ink); font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rv-foot__cell[data-col="size"], .rv-foot__cell[data-col="price"] { text-align: right; }
body.rv-listview .rv-table__filters, body.rv-listview .rv-table__foot { flex: none; }
.rv-byline__who { display: grid; gap: 1px; } .rv-byline__who small { color: var(--muted); font-size: 12.5px; font-weight: 400; }

/* The headline's parts: the lead-in changes with some slides ("Build a", "License your"), and so do the words. */
.rv-ask__part { display: inline-block; white-space: pre; }
.rv-ask__part.is-new { animation: rv-word 0.4s ease; }
@media (prefers-reduced-motion: reduce) { .rv-ask__part.is-new { animation: none; } }

/* "Build a collection.": six pieces arrive one after another into a set. */
.rv-set { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; padding: 10px; }
.rv-set__tile { overflow: hidden; border-radius: 6px; background: rgba(127, 127, 127, 0.18); opacity: 0; transform: translateY(14px) scale(0.92); }
.rv-set__tile svg { display: block; width: 100%; height: 100%; }
.is-on .rv-set__tile { animation: rv-tile 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.15s + var(--n) * 0.12s) forwards; }
@keyframes rv-tile { to { opacity: 1; transform: none; } }

/* "License your collection.": the four ways to license a piece slide in, and the chosen one lights up. */
.rv-lic { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 18px; }
.rv-lic__opt { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px solid rgba(127, 127, 127, 0.35); border-radius: 10px; background: rgba(255, 255, 255, 0.55); color: #111; font-size: 13px; opacity: 0; transform: translateX(-18px); }
html:not([data-theme="light"]) .rv-lic__opt { background: rgba(255, 255, 255, 0.07); color: #f4f4f1; }
.rv-lic__opt b { font-weight: 600; } .rv-lic__opt small { color: inherit; opacity: 0.7; font-size: 12px; }
.rv-lic__opt .od-lock { color: currentColor; }
.is-on .rv-lic__opt { animation: rv-opt 0.45s ease calc(0.15s + var(--n) * 0.12s) forwards; }
@keyframes rv-opt { to { opacity: 1; transform: none; } }
.is-on .rv-lic__opt.is-pick { animation: rv-opt 0.45s ease calc(0.15s + var(--n) * 0.12s) forwards, rv-pick 0.5s ease 1.2s forwards; }
@keyframes rv-pick { to { border-color: var(--accent, #34c759); box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.25); } }
@media (prefers-reduced-motion: reduce) { .is-on .rv-set__tile, .is-on .rv-lic__opt { animation: none; opacity: 1; transform: none; } }
.rv-lic .od-lock, .rv-lic .od-lock svg { width: 18px; height: 18px; }

/* Sketches of licensing and collections on /admin/wireframes: low-fi frames in the app's own colours. */
.sk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 32px 24px; margin-top: 16px; }
.sk { margin: 0; min-width: 0; }
.sk figcaption { margin: 10px 4px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.sk figcaption b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.sk__frame { position: relative; display: grid; align-content: start; gap: 10px; min-height: 380px; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(127, 127, 127, 0.08); color: var(--ink); font-size: 13px; }
.sk__frame--dim { align-content: center; background: rgba(0, 0, 0, 0.35); }
.sk__bar { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sk__crumb { color: var(--muted); font-size: 12.5px; }
.sk__media { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #8b5fbf, #f0658f 55%, #f7b27a); }
.sk__media--short { height: 90px; }
.sk__t { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sk__big { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sk__s { color: var(--muted); font-size: 12px; }
.sk small { color: var(--muted); font-size: 12px; }
.sk__panel, .sk__modal, .sk__cert, .sk__pop { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line-strong, var(--line)); border-radius: 12px; background: var(--bg); }
.sk__modal { width: min(340px, 100%); margin: 0 auto; padding: 16px; gap: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.sk__cert { gap: 10px; padding: 18px; border-style: double; border-width: 4px; text-align: center; }
.sk__opt { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.sk__opt span { display: grid; gap: 1px; }
.sk__opt em { font-style: normal; font-weight: 600; }
.sk__opt i, .sk__check i, .sk__toggle i { display: block; width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 50%; }
.sk__opt.is-on { border-color: var(--pe-accent, #1f6fe5); }
.sk__opt.is-on i { border-color: var(--pe-accent, #1f6fe5); background: radial-gradient(circle, var(--pe-accent, #1f6fe5) 45%, transparent 50%); }
.sk__btn { appearance: none; height: 34px; padding: 0 16px; border: 0; border-radius: 17px; background: var(--ink); color: var(--bg); font: inherit; font-size: 13px; font-weight: 600; }
.sk__btn--ghost { border: 1.5px solid var(--line-strong, var(--muted)); background: none; color: var(--ink); }
.sk__btn--sm { height: 28px; padding: 0 12px; font-size: 12px; }
.sk__row { display: flex; align-items: center; gap: 12px; }
.sk__row--end { justify-content: flex-end; }
.sk__row > span { display: grid; gap: 1px; }
.sk__thumb { flex: none; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, #8b5fbf, #f0658f 55%, #f7b27a); }
.sk__line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sk__line span { color: var(--muted); }
.sk__list { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: var(--muted); }
.sk__check { display: flex; align-items: center; gap: 8px; }
.sk__check i { border-radius: 4px; }
.sk__check.is-on i { border-color: var(--pe-accent, #1f6fe5); background: var(--pe-accent, #1f6fe5); }
.sk__tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sk__tier { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; opacity: .6; }
.sk__tier.is-on { border-color: var(--pe-accent, #1f6fe5); opacity: 1; }
.sk__field { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.sk__toggle { display: flex; align-items: center; gap: 10px; }
.sk__toggle i { width: 30px; height: 18px; border-radius: 9px; background: var(--pe-accent, #1f6fe5); border-color: transparent; }
.sk__toggle span { display: grid; gap: 1px; }
.sk__credit { display: grid; gap: 6px; justify-items: center; padding: 10px; border-radius: 8px; background: rgba(127, 127, 127, 0.12); }
.sk code { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--muted); word-break: break-word; }
.sk__pop { position: absolute; right: 16px; bottom: 16px; width: 200px; box-shadow: 0 12px 40px rgba(0, 0, 0, .3); }
.sk__link { color: var(--pe-accent, #1f6fe5); font-size: 12.5px; }
.sk__tabs { display: flex; gap: 6px; }
.sk__tabs span { padding: 5px 14px; border-radius: 16px; color: var(--muted); }
.sk__tabs span.is-on { background: var(--ink); color: var(--bg); font-weight: 600; }
.sk__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.sk__coll { display: grid; gap: 3px; align-content: start; }
.sk__covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.sk__covers i, .sk__stack i { background: linear-gradient(135deg, #8b5fbf, #f0658f 55%, #f7b27a); }
.sk__covers i:nth-child(2) { background: linear-gradient(135deg, #2f7f8f, #3fbf9f); }
.sk__covers i:nth-child(3) { background: #d9d6cf; }
.sk__covers i:nth-child(4) { background: linear-gradient(135deg, #64748b, #cbd5e1); }
.sk__coll--new { place-items: center; aspect-ratio: 1; border: 1.5px dashed var(--line-strong, var(--muted)); border-radius: 10px; color: var(--muted); }
.sk__stack { display: flex; flex: none; }
.sk__stack i { width: 30px; height: 40px; margin-right: -14px; border: 2px solid var(--bg); border-radius: 6px; }
.sk__stack i:nth-child(2) { background: linear-gradient(135deg, #2f7f8f, #3fbf9f); }
.sk__stack i:nth-child(3) { background: #d9d6cf; }
.sk__row .sk__stack + span { margin-left: 18px; }
.sk__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk__card { display: grid; gap: 2px; align-content: start; }
.sk__card .sk__thumb { width: 100%; height: 64px; margin-bottom: 4px; }
.sk__card b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sk__card em { width: max-content; padding: 1px 7px; border-radius: 999px; background: rgba(127, 127, 127, 0.22); font-size: 10.5px; font-style: normal; }
.sk__table { display: grid; }
.sk__tr { display: grid; grid-template-columns: 1.3fr 1fr 1fr .6fr .7fr; gap: 8px; align-items: center; padding: 8px 4px; }
.sk__tr:nth-child(even) { background: rgba(127, 127, 127, 0.1); }
.sk__tr--h { color: var(--muted); font-size: 12px; background: none !important; border-bottom: 1px solid var(--line); }
.sk__tr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wf__nav { display: none; }
html body.rv-app .wf-pick.me { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); left: auto; bottom: auto; z-index: 80; }
html body.rv-app .wf-pick .wf-pick__btn { appearance: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--bg, #fff) 86%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink, #111) 12%, transparent); color: var(--ink); cursor: pointer; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html body.rv-app .wf-pick .wf-pick__btn:hover { color: var(--pe-accent, #1f6fe5); }
html body.rv-app .wf-pick .wf-pick__btn svg { display: block; }
html body.rv-app .wf-pick .rv-bar { transform-origin: 12px 12px; transition: transform 220ms ease; }
html body.rv-app .wf-pick.is-open .rv-bar--a { transform: rotate(45deg) translateY(5px); }
html body.rv-app .wf-pick.is-open .rv-bar--b { transform: rotate(-45deg) translateY(-5px); }
html body.rv-app .wf-pick .me-menu { top: calc(100% + 6px); bottom: auto; left: auto; right: 0; width: 280px; max-height: calc(100dvh - 72px); overflow-x: hidden; overflow-y: auto; }
html body.rv-app .wf-pick .me-drawer-x { display: none !important; }
.wf-pick__group { margin: 8px 12px 2px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.wf-pick .me-menu__item[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
html[data-theme="light"] .wf-pick .me-menu__item[aria-current="page"] { background: rgba(0, 0, 0, 0.08); }
body:has(.wf-pick) .rv-main { position: fixed; inset: 0; max-width: none; margin: 0; padding: 0; overflow: auto; }
body:has(.wf-pick) .wf { max-width: none; margin: 0; padding: 28px 32px 64px; min-height: 100dvh; box-sizing: border-box; }
body:has(.wf-pick) .wf > .wf__h, body:has(.wf-pick) .wf > .wf__lede { display: none; }
body:has(.wf-pick) .wb { margin: 0; min-height: 100dvh; }
body:has(.wf-pick) .wb__label { display: none; }
body:has(.wf-pick) .wb__page { box-sizing: border-box; min-height: 100dvh; padding: 28px 32px 56px; border: 0; border-radius: 0; }
body:has(.wf-pick) .wp .wb__page { display: flex; flex-direction: column; }
body:has(.wf-pick) .wp .wb__page > * { flex: 1 1 auto; }
body:has(.wf-pick) .wp-stage .wv-art, body:has(.wf-pick) .wp-stage .rv-prev, body:has(.wf-pick) .wp-stage .rv-piece__media { min-height: min(48dvh, 560px); }
body:has(.wf-pick) .lp { max-width: none; min-height: 100dvh; padding: 0 32px 64px; }
.ds { box-sizing: border-box; min-height: 100dvh; padding: 72px 32px 56px; }
.ds--stack { display: grid; gap: 28px; align-content: start; }
.ds--record { max-width: 720px; }
.ds-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ds-kinds { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.ds-kinds .rv-kind { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; }
.ds-kinds .rv-kind svg { width: 22px; height: 22px; }
.ds-locks { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; max-width: 440px; }
.ds-locks li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); }
.ds-locks b { display: block; font-size: 16px; font-weight: 600; }
.ds-locks small { color: var(--muted); font-size: 13.5px; }
.ds-table { display: grid; }
.ds-table .rv-row { min-width: 0; }
.ds-prev { position: relative; max-width: 480px; }
.ds-prev .rv-prev { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.ds-row--chips { padding: 14px; border-radius: 12px; background: #1a1a1a; }
.ds-row--chips .rv-chip { position: static; }

/* Profile sheet from the toolbar: versions on /components?view=account, using the real bar. */
.fm.ds-acct { position: static; inset: auto; z-index: auto; display: block; min-height: 100dvh; background: transparent; pointer-events: none; --fm-bar-w: 392px; }
.fm.ds-acct .fm-dock-stack { position: fixed !important; left: 50% !important; right: auto !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; transform: translateX(-50%) !important; width: min(var(--fm-bar-w), calc(100vw - 32px)) !important; max-width: calc(100vw - 32px) !important; z-index: 30; pointer-events: auto; }
.fm.ds-acct .fm-dock, .fm.ds-acct .fm-userbar, .fm.ds-acct .fm-filterpop, .fm.ds-acct .fm-themepop, .fm.ds-acct .fm-viewpop { pointer-events: auto; }
.ds-acct__in { display: grid; gap: 12px; padding: 12px 10px 6px; }
.ds-acct__who { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ds-acct__pic { display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #b9c3d4; }
.ds-acct__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ds-acct__pic--lg { width: 112px; height: 112px; }
.ds-acct__name { margin: 0; color: var(--ink); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.ds-acct__link { margin: 0; }
.ds-acct__link a { color: var(--pe-accent, #1f6fe5); font-size: 15px; text-decoration: none; }
.ds-acct__link a:hover { text-decoration: underline; }
.ds-acct__tiles { margin: 6px 0 2px; }
.ds-acct__tiles button { appearance: none; cursor: default; }
.ds-acct__tiles .is-on { border-color: var(--pe-accent, #1f6fe5); color: var(--ink); }
.ds-acct__rows { display: grid; gap: 2px; }
.ds-acct__item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-size: 16px; text-align: left; text-decoration: none; cursor: pointer; }
.ds-acct__item b { margin-right: 6px; }
.ds-acct__item:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ds-acct__item--out { color: #e5484d; }
.ds-acct__item--out:hover { background: rgba(229, 72, 77, 0.12); }
.ds-acct.is-open .ds-acct__item, .ds-acct.is-open .addm__item { animation: ds-acct-in .34s cubic-bezier(.2, .8, .2, 1) both; }
.ds-acct.is-open .ds-acct__who, .ds-acct.is-open .fm-who { animation: ds-acct-in .34s cubic-bezier(.2, .8, .2, 1) both; }
.ds-acct.is-open .ds-acct__tiles, .ds-acct.is-open .fm-statrow { animation: ds-acct-in .34s cubic-bezier(.2, .8, .2, 1) .06s both; }
.ds-acct.is-open .ds-acct__item:nth-child(1), .ds-acct.is-open .addm__item:nth-child(1) { animation-delay: .1s; }
.ds-acct.is-open .ds-acct__item:nth-child(2), .ds-acct.is-open .addm__item:nth-child(2) { animation-delay: .14s; }
.ds-acct.is-open .ds-acct__item:nth-child(3), .ds-acct.is-open .addm__item:nth-child(3) { animation-delay: .18s; }
.ds-acct.is-open .ds-acct__item:nth-child(4), .ds-acct.is-open .addm__item:nth-child(4) { animation-delay: .22s; }
.ds-acct.is-open .ds-acct__item:nth-child(5), .ds-acct.is-open .addm__item:nth-child(5) { animation-delay: .26s; }
@keyframes ds-acct-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ds-acct--2 .ds-acct__who { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 14px; }
.ds-acct--2 .ds-acct__pic--lg { width: 64px; height: 64px; }
.ds-acct--2 .ds-acct__name { font-size: 22px; }
.ds-acct--3 .ds-acct__in { grid-template-columns: auto 1fr; align-items: start; gap: 14px; }
.ds-acct--3 .ds-acct__col { display: grid; gap: 10px; min-width: 0; }
.ds-acct--3 .ds-acct__who { justify-items: start; text-align: left; gap: 4px; }
.ds-acct--3 .ds-acct__pic--lg { width: 88px; height: 88px; }
.ds-acct--3 .ds-acct__name { font-size: 22px; }
.ds-acct--3 .ds-acct__link a { font-size: 13px; word-break: break-all; }
.ds-acct--5 .ds-acct__rows { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-acct--5 .ds-acct__item { min-height: 36px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ds-acct--6 .ds-acct__in { padding-top: 0; }
.ds-acct--6 .ds-acct__cover { margin: 0 -10px 2px; }
.ds-acct--6 .ds-acct__pic--cover { width: 100%; height: 168px; border-radius: 0; }
.ds-acct--6 .ds-acct__who { gap: 4px; }
.ds-acct--8.is-open .ds-acct__item:nth-child(1), .ds-acct--8.is-open .addm__item:nth-child(1) { animation-delay: .16s; }
.ds-acct--8.is-open .ds-acct__item:nth-child(2), .ds-acct--8.is-open .addm__item:nth-child(2) { animation-delay: .28s; }
.ds-acct--8.is-open .ds-acct__item:nth-child(3), .ds-acct--8.is-open .addm__item:nth-child(3) { animation-delay: .4s; }
.ds-acct--8.is-open .ds-acct__item:nth-child(4), .ds-acct--8.is-open .addm__item:nth-child(4) { animation-delay: .52s; }
.ds-acct--8.is-open .ds-acct__item:nth-child(5), .ds-acct--8.is-open .addm__item:nth-child(5) { animation-delay: .64s; }
@media (prefers-reduced-motion: reduce) {
  .fm.ds-acct .fm-userbar, .ds-acct.is-open .ds-acct__item, .ds-acct.is-open .addm__item, .ds-acct.is-open .ds-acct__who, .ds-acct.is-open .fm-who, .ds-acct.is-open .ds-acct__tiles, .ds-acct.is-open .fm-statrow { animation: none; transition: none; transform: none; }
}

/* /admin/wireframes: ten new layouts of Grid, Details and Preview. */
.wv-art { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--field, rgba(128, 128, 128, 0.18)); }
.wv-art svg { display: block; width: 100%; height: 100%; }
.wv-facts { display: grid; gap: 4px; }
.wv-facts__row { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.wv-facts__row b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.wv-facts__kind { display: inline-flex; color: var(--muted); }
.wv-facts__kind svg { width: 18px; height: 18px; }
.wv-facts__sub { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 13px; }
.wv-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.wv-thumb { flex: 0 0 72px; }
.wv-thumb .wv-art, .wv-thumb .rv-prev { aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.wv-thumb.is-on { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 10px; }
.wv-strip--col { flex-direction: column; overflow: visible; }
.wv-strip--col .wv-thumb { flex-basis: auto; }

.wg-grid--4 { grid-template-columns: repeat(4, 1fr) !important; gap: 16px 12px; }
.wg-grid--3 { grid-template-columns: repeat(3, 1fr) !important; }
.wg-grid--2 { grid-template-columns: repeat(2, 1fr) !important; }
.wg-hero { max-width: 560px; margin: 0 auto 20px; grid-template-columns: 1fr !important; }
.wg-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wg-wall .wv-art, .wg-wall .rv-prev { border-radius: 6px; overflow: hidden; }
.wg-over { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wg-over__card { position: relative; }
.wg-over .rv-prev { border-radius: 8px; overflow: hidden; }
.wg-over__card span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(16, 16, 16, 0.55); color: #fff; font-size: 13.5px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wg-dense { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 8px; margin: 0; padding: 0; list-style: none; }
.wg-dense .wv-art, .wg-dense .rv-prev { aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.wg-dense b { display: block; margin-top: 6px; color: var(--ink); font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-split { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: start; }
.wg-filters { display: grid; gap: 6px; }
.wg-filters span { padding: 5px 10px; border-radius: 999px; color: var(--muted); font-size: 13px; }
.wg-filters .is-on { background: var(--ink); color: var(--bg); }
.wg-shelf { margin: 0 0 22px; }
.wg-shelf header { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.wg-shelf h3 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.wg-shelf small { color: var(--muted); }
.wg-shelf .rv-polgrid { margin-top: 0; }
.wg-mag { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.wg-mag__rest { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wg-mag__rest li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.wg-mag__pic .wv-art, .wg-mag__pic .rv-prev { aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.wg-mag__rest b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.wg-mag__rest small { color: var(--muted); font-size: 12.5px; }

.wd-table { display: grid; }
.wd-row { display: grid; grid-template-columns: 44px 120px minmax(0, 1.6fr) 120px 80px 90px 130px; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13.5px; }
.wd-row--head { color: var(--muted); font-size: 12px; font-weight: 500; border-bottom-color: var(--line-strong, var(--line)); }
.wd-row--head b { font-weight: 500; }
.wd-pic .wv-art { aspect-ratio: 1; border-radius: 6px; }
.wd-title { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wd-date, .wd-size, .wd-price, .wd-lic, .wd-type, .wd-author { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.wd-lic { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.wd-author { display: inline-flex; align-items: center; gap: 6px; }
.wd-author img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.wd-row--compact { grid-template-columns: 36px minmax(0, 1fr) 120px; }
.wd-row--compact .wd-type { display: none; }
.wd-row--plain { grid-template-columns: 120px minmax(0, 1.6fr) 120px 80px 90px 130px; }
.wd-row--phone { grid-template-columns: 44px 1fr; gap: 10px 12px; }
.wd-row--phone .wd-type { display: none; }
.wd-row--phone .wd-title { grid-column: 2; }
.wd-row--phone .wd-date, .wd-row--phone .wd-lic { grid-row: 2; }
.wd-row--phone .wd-date { grid-column: 2; }
.wd-row--phone .wd-lic { justify-self: end; }
.wd-row--phone .wd-size, .wd-row--phone .wd-price { display: none; }
.wdv2 .rv-row__type, .wdv2 .rv-row__size, .wdv2 .rv-row__price, .wdv2 .rv-row__access { display: none; }
.wdv3 .rv-row__pic { display: none; }
.wdv4 .rv-row { height: auto; min-height: 32px; padding: 8px 12px 8px 0; }
.wdv7 .rv-row__pic { width: 72px; height: 54px; }
.wdv10 .rv-row__date, .wdv10 .rv-row__size, .wdv10 .rv-row__type { display: none; }
.wdv6 .wd-row--head { position: sticky; top: 0; background: var(--bg); }
.wdv6 .wd-row:nth-child(even) { background: rgba(127, 127, 127, 0.08); }
.wd-row--wide { grid-template-columns: 96px 110px minmax(0, 1.6fr) 120px 80px 90px 130px; }
.wd-row--wide .wd-pic .wv-art { aspect-ratio: 4 / 3; }
.wd-row--author { grid-template-columns: 44px 110px minmax(0, 1.4fr) 140px 110px 70px 80px 120px; }
.wd-row--scan { grid-template-columns: minmax(0, 1.6fr) 160px 120px; }
.wd-group { margin: 0 0 20px; }
.wd-group h3 { margin: 0 0 6px; color: var(--ink); font-size: 14px; font-weight: 600; }
.wd-split { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; align-items: start; }
.wd-pane { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.wd-pane p { margin: 0; color: var(--muted); font-size: 13px; }
.wd-open { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; }

.wp-gal { display: grid; grid-template-columns: minmax(0, 1fr) 240px; grid-template-rows: auto auto; gap: 14px 20px; }
.wp-gal .wp-stage { grid-column: 1; }
.wp-gal .wp-info { grid-column: 2; grid-row: 1; }
.wp-gal .wv-strip { grid-column: 1 / -1; }
.wp-gal--flip { grid-template-columns: 240px minmax(0, 1fr); }
.wp-gal--flip .wp-info { grid-column: 1; }
.wp-gal--flip .wp-stage { grid-column: 2; }
.wp-stage .wv-art { aspect-ratio: 4 / 3; }
.wp-info p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.wp-stack, .wp-top, .wp-over, .wp-theater, .wp-one, .wp-two { display: grid; gap: 14px; }
.wp-side { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start; }
.wp-over .wp-stage { position: relative; }
.wp-over__facts { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(16, 16, 16, 0.55); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wp-over__facts .wv-facts__row, .wp-over__facts .wv-facts__sub { color: #fff; }
.wp-theater { padding: 16px; border-radius: 14px; background: #111; color: #f4f4f1; }
.wp-theater .wv-facts__row, .wp-theater .wv-facts__sub { color: inherit; }
.wp-theater .wv-facts__sub { color: rgba(244, 244, 241, 0.7); }
.wp-dots { display: flex; justify-content: center; gap: 6px; }
.wp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong, var(--line)); }
.wp-dots .is-on { background: var(--ink); }
.wp-pick { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.wp-pick__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wp-pick__list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; color: var(--ink); font-size: 13.5px; }
.wp-pick__list .is-on { background: var(--field, rgba(128, 128, 128, 0.18)); }
.wp-pick__pic .wv-art { aspect-ratio: 1; }
.wp-two__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wp-stage--next { opacity: 0.55; }

@media (max-width: 820px) {
  .wg-grid--4, .wg-dense { grid-template-columns: repeat(3, 1fr) !important; }
  .wg-wall, .wg-over, .wg-grid--2, .wg-mag, .wg-split, .wd-split, .wp-gal, .wp-gal--flip, .wp-side, .wp-pick, .wp-two__pair { grid-template-columns: 1fr; }
  .wd-row, .wd-row--plain, .wd-row--wide, .wd-row--author { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .wd-row .wd-type, .wd-row .wd-size, .wd-row .wd-price, .wd-row .wd-author { display: none; }
}
.sk__row > .sk__stack { display: flex; }

/* Collections on Created and Collected: chips that filter the list, and the Collect button that files a record into them. */
.is-filtered { display: none !important; }
.rv-colbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.rv-colchip { appearance: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: 16px; background: rgba(127, 127, 127, 0.1); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.rv-colchip b { max-width: 18ch; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rv-colchip span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.rv-colchip:hover { color: var(--ink); }
.rv-colchip.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.rv-colchip.is-on span { color: inherit; opacity: .7; }
.rv-colchip--new { border-style: dashed; background: none; }
.rv-colbar__edit { display: inline-flex; gap: 4px; margin-left: 4px; }
.rv-colbar__edit button { appearance: none; padding: 4px 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; }
.rv-colbar__edit button:hover { color: var(--ink); text-decoration: underline; }
.rv-colbar__edit button[data-col-delete]:hover { color: #e5484d; }
.rv-colinput { height: 32px; width: 190px; max-width: 100%; padding: 0 12px; border: 1.5px solid var(--pe-accent, #1f6fe5); border-radius: 16px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; outline: none; }
.rv-chips__l { display: flex; gap: 6px; pointer-events: none; }
.rv-chip--coll { cursor: pointer; pointer-events: auto; }
.rv-row__name { position: relative; }
.rv-row__coll { display: grid; flex: none; place-items: center; width: 26px; height: 26px; margin-left: auto; margin-right: 6px; border-radius: 50%; color: var(--muted); opacity: 0; cursor: pointer; transition: opacity .15s, background .15s; }
.rv-row__coll svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.rv-row:hover .rv-row__coll, .rv-row__coll:focus-visible { opacity: 1; }
.rv-row__coll:hover { background: rgba(127, 127, 127, 0.25); color: var(--ink); }
@media (hover: none) { .rv-row__coll { opacity: .8; } }
.rv-colpop { position: fixed; z-index: 90; display: grid; gap: 2px; width: 230px; max-height: min(60vh, 360px); padding: 8px; overflow: auto; border: 1.5px solid #3a3a3a; border-radius: 14px; background: #1c1c1c; color: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); font-size: 13.5px; }
html[data-theme="light"] .rv-colpop { border-color: #cfcfcb; background: #f6f6f4; color: #111; }
.rv-colpop small { padding: 4px 8px 6px; color: #9a9a9a; font-size: 12px; }
.rv-colpop label { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.rv-colpop label:hover { background: rgba(127, 127, 127, 0.2); }
.rv-colpop label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-colpop input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--pe-accent, #1f6fe5); }
.rv-colpop .rv-colinput { width: 100%; margin-top: 6px; border-color: rgba(127, 127, 127, .5); background: transparent; color: inherit; }
.rv-colpop .rv-colinput:focus { border-color: var(--pe-accent, #1f6fe5); }

/* A group's settings: its access level and price, as a small form under the chips. */
.rv-colnote { margin: -6px 0 12px; color: var(--muted); }
.rv-colset { display: grid; gap: 8px; width: min(440px, 100%); margin: 0 0 16px; padding: 14px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: 14px; background: rgba(127, 127, 127, 0.1); color: var(--ink); font-size: 13.5px; }
.rv-colset > b { font-size: 15px; font-weight: 600; }
.rv-colset small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.rv-colset__opt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.rv-colset__opt:has(input:checked) { border-color: var(--pe-accent, #1f6fe5); }
.rv-colset__opt input { margin-top: 3px; accent-color: var(--pe-accent, #1f6fe5); }
.rv-colset__opt span { display: grid; gap: 1px; }
.rv-colset__opt b { font-weight: 500; }
.rv-colset__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-colset__price input { width: 120px; height: 34px; padding: 0 12px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: 17px; background: var(--bg); color: var(--ink); font: inherit; }
.rv-colset__go { display: flex; justify-content: flex-end; gap: 8px; }

/* /admin/prd.html: the product requirements, a long page to read. */
.prd { max-width: 760px; margin: 0 auto; padding: 8px 16px 96px; color: var(--ink); font-size: 15.5px; line-height: 1.65; }
.prd h1 { margin: 6px 0 12px; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.prd h2 { margin: 48px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; scroll-margin-top: 16px; }
.prd h3 { margin: 24px 0 6px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.prd p, .prd li { margin: 0 0 8px; }
.prd ul, .prd ol { margin: 0 0 8px; padding-left: 22px; }
.prd code { padding: 1px 6px; border-radius: 6px; background: var(--field, rgba(128, 128, 128, 0.18)); font-size: 0.9em; }
.prd__eyebrow { margin: 0; color: var(--muted); font-size: 13px; }
.prd__lede { color: var(--muted); font-size: 17px; }
.prd__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.prd__toc a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; text-decoration: none; }
.prd__toc a:hover { border-color: var(--line-strong); }
.prd__features { padding-left: 24px; }
.prd__features li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.prd__features li:last-child { border-bottom: 0; }
.prd__features li:target, .prd__features li[id="feature-8"] { margin: 6px -12px; padding: 12px; border: 1px solid var(--pe-accent, #1f6fe5); border-radius: 12px; }
.prd__tag { display: inline-block; margin-left: 6px; padding: 1px 9px; border: 1px solid var(--line-strong, var(--line)); border-radius: 999px; color: var(--muted); font-size: 11.5px; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
.prd__tag--live { border-color: #3aa76d; color: #3aa76d; }
.prd__tag--focus { border-color: var(--pe-accent, #1f6fe5); background: var(--pe-accent, #1f6fe5); color: #fff; }
.prd__table { width: 100%; margin: 10px 0; border-collapse: collapse; font-size: 14px; }
.prd__table th, .prd__table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prd__table th { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.prd__tag--site { border-style: dashed; }

/* The bottom-left pill sits on the same line as the bottom-right toggle at every width (app.css lifts it to 12px on phones). */
.rv-app > .me { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }

/* On a short window (zoomed in) the whole card shrinks, so the chest leaves room for the footer line and the corner buttons. */
.rv-one .rv-car.rv-car--single { width: min(400px, 100%, max(260px, calc(100vh - 240px))); }
.rv-one .rv-card--chest :is(svg, img.records-logo) { width: 60%; }
.rv-one .rv-car.rv-car--single { grid-template-columns: minmax(0, 1fr); }
.rv-one .rv-car.rv-car--single > li { min-width: 0; }

/* License, Protect, Share: three cards under the rotating line. */
.rv-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 900px; margin: 56px 0 24px; padding: 0; list-style: none; text-align: left; }
@media (max-width: 720px) { .rv-three { grid-template-columns: 1fr; max-width: 420px; margin-top: 40px; } }
.rv-feat { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); color: var(--ink); }
html[data-theme="light"] .rv-feat { background: rgba(255, 255, 255, 0.6); }
.rv-feat svg { display: block; width: 100%; height: 100px; margin-bottom: 16px; fill: none; stroke: var(--pe-accent, #1f6fe5); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rv-feat h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.rv-feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Landing page wireframe (/admin/wireframes?view=landing) */
.lp { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; color: var(--ink); }
.lp-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.lp-hero { padding: 56px 0 72px; text-align: center; }
.lp-hero h1 { margin: 0; font-size: clamp(36px, 6vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.lp-hero__sub { color: var(--muted); }
.lp-tasks { position: relative; height: 40px; margin: 26px 0 30px; padding: 0; list-style: none; }
.lp-tasks li { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; }
.lp-tasks li.is-on { opacity: 1; transform: none; }
.lp-tasks i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12px; font-style: normal; }
.lp-start { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 340px; margin: 0 auto; }
.lp-start label { display: flex; flex-direction: column; gap: 6px; width: 100%; color: var(--muted); font-size: 13px; text-align: left; }
.lp-start input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font-size: 16px; }
.lp-start .btn { width: 100%; }
.lp-start p { margin: 0; color: var(--muted); font-size: 13px; }
.lp-sec { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 72px 0; border-top: 1px solid var(--line); }
.lp-sec--flip .lp-sec__text { order: 2; }
.lp-sec--lead { display: block; text-align: center; }
.lp-sec--lead p { max-width: 520px; margin: 0 auto; }
.lp-sec small { color: var(--muted); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-sec h2 { margin: 6px 0 12px; font-size: clamp(26px, 4vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.lp-sec p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.lp-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 36px; }
.lp-strip span { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: rgba(127, 127, 127, 0.18); }
.lp-strip svg, .lp-set svg, .lp-blur svg { display: block; width: 100%; height: 100%; }
.lp-vis { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 280px; }
.lp-panel { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card, rgba(127, 127, 127, 0.08)); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.lp-panel small { color: var(--muted); font-size: 13px; }
.lp-p2 { align-self: flex-end; width: 70%; }
.lp-bar2 { height: 6px; margin: 8px 0 4px; border-radius: 3px; background: rgba(127, 127, 127, 0.25); overflow: hidden; }
.lp-bar2 span { display: block; width: 0; height: 100%; background: var(--ink); }
.lp-dot { width: 10px; height: 10px; border-radius: 50%; background: #3aa76d; }
.lp-opt { flex-direction: row; align-items: center; gap: 12px; }
.lp-opt b { flex: 1; font-weight: 600; }
.lp-opt.is-pick { border-color: var(--ink); }
.lp-lockbox { position: relative; align-items: center; justify-content: center; height: 190px; padding: 0; overflow: hidden; }
.lp-blur { position: absolute; inset: 0; filter: blur(14px) brightness(0.8); }
.lp-lockbox .rv-lock { position: relative; color: var(--ink); }
.lp-key { align-self: flex-end; width: 75%; }
.lp-link { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.lp-link code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.lp-link button { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; }
.lp-who { flex-direction: row; gap: 8px; }
.lp-who span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.lp-who span:first-child { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lp-set { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-set span { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: rgba(127, 127, 127, 0.18); }
.lp-badge { align-self: flex-start; }
.lp-author { flex-direction: row; align-items: center; gap: 12px; }
.lp-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.lp-author b { flex: 1; }
.lp-author--b { margin-left: 36px; }
.lp-cta { padding: 88px 0 56px; border-top: 1px solid var(--line); text-align: center; }
.lp-cta h2 { margin: 0 0 20px; font-size: clamp(28px, 4.5vw, 42px); font-weight: 600; letter-spacing: -0.03em; }
.lp-foot { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.lp-foot a { color: inherit; }
/* Scroll reveal: each section's panels rise in when it comes into view. */
.lp [data-reveal] .lp-sec__text, .lp [data-reveal] .lp-panel, .lp [data-reveal] .lp-strip span { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp [data-reveal].is-in .lp-sec__text, .lp [data-reveal].is-in .lp-panel, .lp [data-reveal].is-in .lp-strip span { opacity: 1; transform: none; }
.lp [data-reveal].is-in .lp-panel:nth-child(2) { transition-delay: 0.2s; }
.lp [data-reveal].is-in .lp-opt, .lp [data-reveal].is-in .lp-strip span { transition-delay: calc(var(--n, 0) * 0.1s); }
.lp [data-reveal].is-in .lp-bar2 span { width: 100%; transition: width 1.6s ease 0.4s; }
.lp [data-reveal] .lp-set span { opacity: 0; transform: scale(0.9); transition: opacity 0.4s, transform 0.4s; transition-delay: calc(0.3s + var(--n) * 0.1s); }
.lp [data-reveal].is-in .lp-set span { opacity: 1; transform: none; }
@media (max-width: 760px) { .lp-sec { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } .lp-sec--flip .lp-sec__text { order: 0; } .lp-strip { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .lp * { transition: none !important; } }

/* Landing page: the header stays put and a thin bar along its bottom edge fills as the page scrolls (onedisk's progress line). */
body.rv-home .rv-ph { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }
html:has(body.rv-home), body.rv-home { height: 100%; overflow: hidden; }
body.rv-home .rv-main { position: fixed; top: 64px; right: 0; bottom: 0; left: 0; max-width: none; margin: 0; padding: 32px 20px 120px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
body.rv-home .rv-ph::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent); pointer-events: none; }
body.rv-home .rv-ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: translate3d(0, 0, 0) scaleX(var(--read, 0)); transform-origin: left center; will-change: transform; pointer-events: none; }
/* Content fades out above the corner buttons and the footer line, so it never runs through them. */
body.rv-home .rv-main { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 96px), transparent calc(100% - 56px)); mask-image: linear-gradient(180deg, #000 calc(100% - 96px), transparent calc(100% - 56px)); }
.lp-claim { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lp-claim:focus-within { border-color: var(--ink); }
.lp-claim input { flex: 1; min-width: 0; padding: 12px 14px 12px 0; border: 0; border-radius: 0; outline: 0; }
.lp-claim em { padding: 0 2px 0 14px; color: var(--muted); font-size: 16px; font-style: normal; }
.lp-start button.btn { cursor: pointer; }

/* A slimmer landing header: 52px instead of 64px, and a 2px progress line. */
body.rv-home .rv-ph { min-height: 52px; }
body.rv-home .rv-dock { height: 52px; }
body.rv-home .rv-main { top: 52px; }
body.rv-home .rv-ph::before, body.rv-home .rv-ph::after { height: 2px; }
.lp-hero h1 { margin-bottom: 32px; }
.lp-login { display: flex; flex-direction: column; gap: 12px; width: min(340px, 100%); margin: 28px auto 0; text-align: left; }
.lp-login h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; text-align: center; }
.lp-login .btn { width: 100%; cursor: pointer; }
.lp-login p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; text-align: center; }
body.rv-home .lp { max-width: 1040px; margin: 0 auto; }
.lp-claim:focus-within { border-color: var(--line); }
.lp-claim em { color: var(--ink); }
.lp-claim input { color: var(--ink); background: none; }
.lp-claim input::placeholder { color: var(--ink); opacity: 1; }
/* /landing1: each section is a full page of the scroller. */
body.rv-home .lp-first { min-height: calc(100vh - 64px - 152px); justify-content: center; }
body.rv-home .lp .lp-sec { min-height: calc(100vh - 64px - 152px); padding-top: 24px; padding-bottom: 24px; }
body.rv-home .lp .lp-cta { min-height: calc(100vh - 64px - 152px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.lp-sec--card .rv-car.rv-car--single { width: min(340px, 100%); margin: 0 auto; }
.lp-sec, .lp-cta, .lp-foot { border-top: 0; }
.rv-set__tile { position: relative; }
.rv-set__by { position: absolute; right: 4px; bottom: 4px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 10px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.lp-blue { color: var(--accent); }
.lp-more { position: fixed; left: 50%; bottom: 28px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 16%, var(--bg)); color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; transform: translateX(-50%); transition: opacity 0.3s, transform 0.3s; }
.lp-more:hover { background: color-mix(in srgb, var(--ink) 22%, var(--bg)); }
.lp-more svg { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.lp-more.is-gone { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); }
/* /landing1: the Learn more pill sits inside the scroller, so the bottom fade would blur it. */
body.rv-home:has(.lp-first) .rv-main { -webkit-mask-image: none; mask-image: none; }
.rv-polgrid.rv-polgrid--one { grid-template-columns: 1fr; margin: 0; gap: 0; }
.rv-card--prof { list-style: none; }
.lp-cta__chest { display: flex; justify-content: center; margin: 0 0 18px; line-height: 0; }
.lp-cta__chest :is(svg, img.records-logo) { display: block; }
.lp-cta .btn { min-width: 220px; justify-content: center; }

/* The "Built for permanence on Arweave" line sits bottom left, to the right of the Sign in pill and level with it. */
.rv-footer { left: calc(160px + env(safe-area-inset-left, 0px)); right: 16px; bottom: calc(34px + env(safe-area-inset-bottom, 0px)); text-align: left; }
body:has(.me .btn__who) .rv-footer { left: calc(270px + env(safe-area-inset-left, 0px)); }

/* Landing slides, redone with the real profile cards. */
.lp-vis.lp-eng { align-items: center; gap: 18px; }
.lp-one { width: min(300px, 100%); }
.lp-two { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; margin: 0 !important; }
.lp-stamp { position: relative; display: grid; width: min(300px, 100%); height: 44px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.lp-stamp > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; }
.lp-stamp__bar { position: absolute; inset: 0; justify-content: flex-start !important; padding: 0 !important; }
.lp-stamp__bar i { display: block; width: 0; height: 100%; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.lp-stamp__a { color: var(--muted); }
.lp-stamp__b { opacity: 0; }
.lp-stamp__b b { width: 9px; height: 9px; border-radius: 50%; background: #3aa76d; }
.lp-stamp__b code { padding: 0; background: none; color: var(--muted); font-size: 12px; }
.is-in .lp-stamp__bar i { width: 100%; transition: width 1.6s ease 0.5s; }
.is-in .lp-stamp__a { opacity: 0; transition: opacity 0.3s ease 2.1s; }
.is-in .lp-stamp__b { opacity: 1; transition: opacity 0.4s ease 2.2s; }
.lp-coll { gap: 26px; }
.lp-coll__head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.lp-coll__head img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.lp-coll__head small { color: var(--muted); font-size: 13px; }
.lp-group { padding: 16px; border: 1.5px dashed var(--line-strong, var(--line)); border-radius: 20px; }
.lp-group__head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.lp-group__head small { color: var(--muted); font-size: 13px; }
.lp-gi { display: contents; }
.lp-add { display: grid; place-items: center; align-content: center; gap: 6px; min-height: 120px; border: 1.5px dashed var(--line-strong, var(--line)); border-radius: 12px; color: var(--muted); font-size: 13px; list-style: none; }
.lp-add span { font-size: 26px; line-height: 1; }
.lp [data-reveal] .lp-coll__sec, .lp [data-reveal] .lp-gi > li, .lp [data-reveal] .lp-add, .lp [data-reveal] .lp-one, .lp [data-reveal] .lp-stamp { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--n, 0) * 0.18s); }
.lp [data-reveal].is-in .lp-coll__sec, .lp [data-reveal].is-in .lp-gi > li, .lp [data-reveal].is-in .lp-add, .lp [data-reveal].is-in .lp-one, .lp [data-reveal].is-in .lp-stamp { opacity: 1; transform: none; }
.lp-login.lp-login--buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; gap: 12px; margin-top: 8px; }
.lp-login--buttons .btn { width: 140px; min-width: 140px; height: 44px; padding: 0 20px; border-radius: 22px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
/* /landing1: each slide fills the scroller and the scroll snaps to it, so one whole slide shows at a time. */
body.rv-home:has(.lp-first) .rv-main { padding-top: 0; padding-bottom: 0; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
body.rv-home:has(.lp-first) .rv-main .lp-first, body.rv-home:has(.lp-first) .rv-main .lp .lp-sec, body.rv-home:has(.lp-first) .rv-main .lp .lp-cta { box-sizing: border-box; min-height: calc(100dvh - 52px); margin: 0; padding-top: 32px; padding-bottom: 72px; scroll-snap-align: start; scroll-snap-stop: always; }
body.rv-home:has(.lp-first) .rv-main .lp-first { justify-content: center; }
@media (prefers-reduced-motion: reduce) { body.rv-home:has(.lp-first) .rv-main { scroll-behavior: auto; } }
.rv-affix.is-free { border-color: #3aa76d; }
.rv-affix.is-taken { border-color: #e5484d; }
/* Learn More wears the Sign in pill's glass (.btn--user-dark): 44px high, 14px type, the same pill. */
.lp-login--buttons .rv-learn { --btn-alpha: 100%; width: 140px; min-width: 140px; }
/* /landing1's first slide: wider cards, and "a forever home." always on a second line. */
.lp-first .rv-car.rv-car--single { width: min(560px, 100%); }
.lp-first .rv-ask__part[data-ask-after] { display: block; }
.lp-addmenu { gap: 10px; padding: 20px; }
.lp-addmenu__label { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-addmenu__row { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-addmenu__item .rv-kind { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.lp-addmenu__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.lp-addmenu small { margin-bottom: 8px; }
.lp [data-reveal] .lp-addmenu__item { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.2s + var(--n, 0) * 0.1s); }
.lp [data-reveal].is-in .lp-addmenu__item { opacity: 1; transform: none; }
.lp-addmenu__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.lp-addmenu__item .rv-kind { display: flex; width: 100%; box-sizing: border-box; }
.lp-rules { gap: 0; padding: 8px 20px; }
.lp-rule { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lp-rule:last-child { border-bottom: 0; }
.lp-rule b { display: block; font-weight: 600; }
.lp-rule small { display: block; margin-top: 2px; line-height: 1.4; }
.lp-rule .rv-lock, .lp-rule .rv-lock svg { width: 20px; height: 20px; }
.lp [data-reveal] .lp-rule { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.15s + var(--n, 0) * 0.12s); }
.lp [data-reveal].is-in .lp-rule { opacity: 1; transform: none; }
/* The one slide that holds every feature: a 3 by 2 grid, a plain list on a phone. */
.lp-all { display: flex; flex-direction: column; justify-content: center; }
.lp-all h2 { margin: 0 0 32px; font-size: clamp(26px, 4vw, 38px); font-weight: 600; letter-spacing: -0.03em; text-align: center; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-grid__item { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card, rgba(127, 127, 127, 0.06)); }
.lp-grid__item svg { width: 28px; height: 28px; margin-bottom: 14px; fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.lp-grid__item h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.lp-grid__item p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.lp [data-reveal] .lp-grid__item { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--n, 0) * 0.1s); }
.lp [data-reveal].is-in .lp-grid__item { opacity: 1; transform: none; }
@media (max-width: 760px) { .lp-grid { grid-template-columns: 1fr; gap: 0; } .lp-grid__item { padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; } .lp-grid__item svg { margin: 2px 0 0; grid-row: 1 / 3; } }
body.rv-home:has(.lp-first) .rv-main .lp .lp-all { box-sizing: border-box; min-height: calc(100dvh - 52px); padding: 32px 0 72px; scroll-snap-align: start; scroll-snap-stop: always; }

.lp-login--buttons .rv-learn { width: auto; min-width: 140px; white-space: nowrap; }
.lp-mini { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; height: 96px; margin-bottom: 16px; padding: 10px; overflow: hidden; border-radius: 12px; background: rgba(127, 127, 127, 0.1); }
.lp-mini--add .rv-kind { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; }
.lp-mini--add svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.lp-mini--collect { flex-wrap: nowrap; gap: 0; }
.lp-mini--collect img { width: 40px; height: 40px; margin-left: -10px; border: 2px solid var(--bg); border-radius: 50%; object-fit: cover; }
.lp-mini--collect span { margin-left: 12px; font-size: 13px; color: var(--muted); }
.lp-mini--group { flex-wrap: nowrap; gap: 8px; border: 1.5px dashed var(--line-strong, var(--line)); background: none; }
.lp-mini--group span { width: 50px; height: 62px; overflow: hidden; border-radius: 6px; background: rgba(127, 127, 127, 0.2); }
.lp-mini--group svg { display: block; width: 100%; height: 100%; }
.lp-mini--license span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 12px; }
.lp-mini--license span.is-pick { border-color: var(--accent); color: var(--accent); }
.lp-mini--license .rv-lock, .lp-mini--license .rv-lock svg { width: 14px; height: 14px; }
.lp-mini--encrypt { position: relative; }
.lp-mini__blur { position: absolute; inset: 0; filter: blur(10px) brightness(0.8); }
.lp-mini__blur svg { display: block; width: 100%; height: 100%; }
.lp-mini--encrypt .rv-lock { position: relative; color: var(--ink); }
.lp-mini--engrave { flex-direction: column; gap: 10px; }
.lp-mini__bar { width: 70%; height: 6px; overflow: hidden; border-radius: 3px; background: rgba(127, 127, 127, 0.25); }
.lp-mini__bar i { display: block; width: 0; height: 100%; background: var(--accent); }
.lp-mini--engrave code { padding: 0; background: none; color: var(--muted); font-size: 12px; }
.lp [data-reveal] .lp-mini > * { opacity: 0; transform: translateY(8px) scale(0.94); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.35s + var(--n, 0) * 0.1s + var(--m, 0) * 0.1s); }
.lp [data-reveal].is-in .lp-mini > * { opacity: 1; transform: none; }
.lp [data-reveal] .lp-mini--engrave .lp-mini__bar, .lp [data-reveal] .lp-mini--encrypt .lp-mini__blur { opacity: 1; transform: none; }
.lp [data-reveal].is-in .lp-mini__bar i { width: 100%; transition: width 1.4s ease calc(0.5s + var(--n, 0) * 0.1s); }
@media (max-width: 760px) { .lp-mini { grid-column: 1 / -1; height: 70px; } }
@media (max-width: 760px) { .lp-grid__item { display: block; } .lp-mini { margin-bottom: 10px; } }

/* The features slide, one step at a time: a 1 to 6 counter on top and a large card below. */
.lp-steps { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.lp-count { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-count button { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.lp-count b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(127, 127, 127, 0.2); font-size: 13px; font-weight: 600; }
.lp-count button.is-done b { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--ink); }
.lp-count button.is-on { border-color: var(--accent); color: var(--ink); }
.lp-count button.is-on b { background: var(--accent); color: #fff; }
.lp-stage { display: grid; width: min(960px, 100%); margin: 0; padding: 0; list-style: none; }
.lp-step { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; min-height: 420px; padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: var(--card, rgba(127, 127, 127, 0.06)); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s; }
.lp-step.is-on { opacity: 1; visibility: visible; transform: none; }
.lp-step h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.lp-step p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.lp-step .lp-mini { height: 300px; margin: 0; padding: 20px; gap: 12px; border-radius: 20px; }
.lp-step .lp-mini > * { opacity: 0; }
.lp-step.is-on .lp-mini > * { animation: lp-pop 0.5s ease both; animation-delay: calc(0.2s + var(--m, 0) * 0.12s); }
.lp-step.is-on .lp-mini .lp-mini__blur, .lp-step.is-on .lp-mini .lp-mini__bar { animation: none; opacity: 1; }
.lp-step.is-on .lp-mini__bar i { animation: lp-fill 1.8s ease 0.5s both; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes lp-fill { from { width: 0; } to { width: 100%; } }
.lp-step .lp-mini--add .rv-kind { gap: 8px; padding: 10px 18px; border-radius: 14px; font-size: 18px; }
.lp-step .lp-mini--add svg { width: 24px; height: 24px; }
.lp-step .lp-mini--collect img { width: 84px; height: 84px; margin-left: -22px; border-width: 3px; }
.lp-step .lp-mini--collect span { margin-left: 20px; font-size: 22px; }
.lp-step .lp-mini--group { gap: 14px; }
.lp-step .lp-mini--group span { width: 110px; height: 140px; border-radius: 10px; }
.lp-step .lp-mini--license { flex-direction: column; }
.lp-step .lp-mini--license span { width: 70%; justify-content: flex-start; gap: 12px; padding: 12px 20px; font-size: 18px; }
.lp-step .lp-mini--license .rv-lock, .lp-step .lp-mini--license .rv-lock svg { width: 22px; height: 22px; }
.lp-step .lp-mini--encrypt .rv-lock, .lp-step .lp-mini--encrypt .rv-lock svg { width: 56px; height: 56px; }
.lp-step .lp-mini--engrave { gap: 22px; }
.lp-step .lp-mini__bar { height: 10px; border-radius: 5px; }
.lp-step .lp-mini--engrave code { font-size: 20px; }
@media (max-width: 760px) {
  .lp-count button span { display: none; }
  .lp-count button { padding: 6px; }
  .lp-step { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 24px; }
  .lp-step .lp-mini { height: 200px; grid-column: auto; }
  .lp-step .lp-mini--add .rv-kind { font-size: 14px; padding: 7px 12px; }
  .lp-step .lp-mini--collect img { width: 56px; height: 56px; }
  .lp-step .lp-mini--group span { width: 76px; height: 96px; }
}
/* "Created by Vanilla Software": bottom right of the closing "What will you store?" section only, on the footer line. */
.lp-credit { position: fixed; z-index: 2; right: calc(28px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 4px; margin: 0; color: var(--muted); font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lp-credit.is-on { opacity: 1; }
.lp-credit a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.lp-credit a:hover { color: var(--ink); }
.lp-credit.is-on a { pointer-events: auto; }
.lp-credit img { display: block; width: 20px; height: 20px; margin: 0 -2.75px 0 -3.25px; }
.lp-mini--add { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; height: auto; }
.lp-mini--add > p { margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-mini--add > div { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-step .lp-mini--add { height: 300px; padding: 24px; }
.lp-step .lp-mini--add .rv-kind { gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: 16px; }
.lp-step .lp-mini--add svg { width: 20px; height: 20px; }
.lp-step.is-on .lp-mini--add > p { animation: lp-pop 0.5s ease both; }
/* With no Sign in pill at the bottom left (/landing1), the line sits at the left edge, aligned with the page's 28px margin. */
body:not(:has(> .me)) .rv-footer { left: calc(28px + env(safe-area-inset-left, 0px)); }
.lp-mini--add { flex-wrap: nowrap; }
/* Fixes from looking at each step. */
.lp-stage { width: min(1080px, 100%); }
.lp-step { grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.lp-step .lp-mini--add { height: auto; min-height: 300px; overflow: visible; }
.lp-step .lp-mini--add > div { gap: 8px; }
.lp-step .lp-mini--collect { padding-left: 34px; gap: 0; flex-wrap: nowrap; justify-content: center; }
.lp-step .lp-mini--collect img { width: 76px; height: 76px; margin-left: -20px; }
.lp-step .lp-mini--collect span { margin-left: 18px; font-size: 18px; white-space: nowrap; }
.lp-step .lp-mini--license span { display: flex; align-items: center; }
.lp-step .lp-mini--license .rv-lock { flex: none; display: inline-flex; width: 22px; height: 22px; }
.lp-step .lp-mini--license .od-lock { display: inline-flex; flex: none; width: 22px; height: 22px; padding: 0; margin: 0; border: 0; background: none; }
.lp-step .lp-mini--license .od-lock svg { width: 22px; height: 22px; }
.lp-step .lp-mini--license span.is-pick .od-lock { color: inherit; }

/* The counter's numbers sit bare in the pills, no circle. */
.lp-count button { padding: 8px 16px; gap: 7px; }
.lp-count b, .lp-count button.is-done b, .lp-count button.is-on b { display: inline; width: auto; height: auto; border-radius: 0; background: none; font-size: 14px; }
.lp-count button.is-on b { color: var(--accent); }
.lp-count button.is-done b { color: var(--ink); }
@media (max-width: 760px) { .lp-count button { padding: 8px 14px; } }

/* Organize: loose records fly into a group one by one, and the count goes up. */
.lp-step .lp-mini--build { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; padding: 22px; border: 1.5px dashed var(--line-strong, var(--line)); background: none; }
.lp-step .lp-mini--build > * { opacity: 1; animation: none; }
.lp-build__head { position: relative; display: flex; align-items: baseline; justify-content: space-between; margin: 0; font-size: 18px; }
.lp-build__head small { position: relative; display: block; min-width: 90px; height: 1.3em; color: var(--muted); font-size: 14px; text-align: right; }
.lp-build__head small span { position: absolute; right: 0; top: 0; opacity: 0; white-space: nowrap; }
.lp-build__row { display: flex; flex: 1; align-items: center; justify-content: center; gap: 14px; }
.lp-build__tile { width: 104px; height: 132px; overflow: hidden; border-radius: 10px; background: rgba(127, 127, 127, 0.2); opacity: 0; }
.lp-build__tile svg { display: block; width: 100%; height: 100%; }
.lp-build__add { display: grid; place-items: center; width: 104px; height: 132px; border: 1.5px dashed var(--line-strong, var(--line)); border-radius: 10px; color: var(--muted); font-size: 30px; opacity: 0; }
.lp-step.is-on .lp-build__tile { animation: lp-fly 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.3s + var(--m, 0) * 0.7s); }
.lp-step.is-on .lp-build__add { animation: lp-pop 0.5s ease 2.5s both; }
.lp-step.is-on .lp-build__head small span { animation: lp-win 0.7s linear; }
.lp-step.is-on .lp-build__head small span:nth-child(1) { animation-duration: 0.85s; }
.lp-step.is-on .lp-build__head small span:nth-child(2) { animation-delay: 0.85s; }
.lp-step.is-on .lp-build__head small span:nth-child(3) { animation-delay: 1.55s; }
.lp-step.is-on .lp-build__head small span:nth-child(4) { animation-delay: 2.25s; animation-fill-mode: forwards; animation-duration: 0.01s; }
@keyframes lp-fly { 0% { opacity: 0; transform: translate(calc((1 - var(--m, 0)) * -70px), 120px) rotate(-12deg) scale(1.2); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes lp-win { 0%, 100% { opacity: 1; } }
@media (max-width: 760px) { .lp-build__tile, .lp-build__add { width: 64px; height: 84px; } }
/* The step cards sit on the page without a big frame around them. */
body.rv-home .lp-step { border: 0; background: none; border-radius: 0; box-shadow: none; }
/* The step headings stay on one line ("Collect others’ records."): a wider text column and a size that follows the window. */
@media (min-width: 761px) {
  .lp-step { grid-template-columns: 1.35fr 1fr; gap: 32px; }
  .lp-step h2 { font-size: clamp(24px, 3.1vw, 40px); white-space: nowrap; }
}
/* The step list runs down the left; the step beside it. */
@media (min-width: 761px) {
  body.rv-home .lp-steps { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 32px; max-width: 1240px; margin: 0 auto; border-top: 0; }
  body.rv-home .lp-steps .lp-count { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: center; gap: 2px; }
  body.rv-home .lp-count button { width: 100%; padding: 12px 14px; border: 0; border-left: 2px solid var(--line); border-radius: 0; font-size: 17px; text-align: left; }
  body.rv-home .lp-count button.is-on { border-left-color: var(--accent); }
  body.rv-home .lp-count b { min-width: 1.2em; }
}
@media (min-width: 761px) {
  body.rv-home .lp-steps .lp-step { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 0; justify-items: start; }
  body.rv-home .lp-steps .lp-step__text { text-align: left; }
  body.rv-home .lp-steps .lp-step .lp-mini { width: 100%; max-width: 620px; height: 280px; }
  body.rv-home .lp-steps .lp-step .lp-mini--add { height: auto; min-height: 280px; }
}
/* On a phone each step stacks: the heading and description first, then the illustration under it. */
@media (max-width: 760px) {
  .lp-step { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 28px 20px; }
  .lp-step h2 { white-space: normal; font-size: clamp(26px, 8vw, 34px); }
  .lp-step__text { text-align: center; }
  .lp-step .lp-mini { height: auto; min-height: 220px; }
}

/* The six features are six pages: each fills the screen, text on one side and its visual on the other, stacked on a phone. */
.lp-slides .lp-step { grid-area: auto; opacity: 1; visibility: visible; transform: none; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; width: 100%; max-width: 1100px; min-height: calc(100dvh - 52px); margin: 0 auto; padding: 32px 28px; scroll-snap-align: start; scroll-snap-stop: always; }
.lp-slides .lp-step.lp-slide--flip .lp-step__text { order: 2; }
.lp-slides .lp-step__text { text-align: left; }
.lp-slides .lp-step h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; white-space: normal; }
.lp-slides .lp-step p { max-width: 440px; font-size: 19px; }
.lp-slides .lp-step .lp-mini { width: 100%; max-width: none; height: 340px; }
.lp-slides .lp-step .lp-mini--add { height: auto; min-height: 340px; }
@media (max-width: 760px) {
  body.rv-home:has(.lp-first) .rv-main { scroll-snap-type: y proximity; }
  .lp-slides .lp-step { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 56px 20px; }
  .lp-slides .lp-step.lp-slide--flip .lp-step__text { order: 0; }
  .lp-slides .lp-step h2 { font-size: 34px; }
  .lp-slides .lp-step .lp-mini, .lp-slides .lp-step .lp-mini--add { height: auto; min-height: 220px; }
}

/* Each page is one centered column: the heading, then the card, then what it does under the card. */
.lp-slides .lp-step { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; max-width: 760px; text-align: center; }
.lp-slides .lp-step__text { display: contents; }
.lp-slides .lp-step__text > h2 { order: 1; margin: 0 0 24px; text-align: center; }
.lp-slides .lp-step .lp-mini { order: 2; width: 100%; max-width: 620px; min-width: 0; }
.lp-slides .lp-step__text > p { order: 3; margin: 24px auto 0; max-width: 520px; text-align: center; }
.lp-slides .lp-step.lp-slide--flip .lp-step__text { order: 0; }
@media (max-width: 760px) { .lp-slides .lp-step { padding: 56px 20px; } .lp-slides .lp-step h2 { font-size: 32px; margin-bottom: 20px; } .lp-slides .lp-step p { margin-top: 20px; font-size: 17px; } }
.lp-slides .lp-step .lp-mini { height: 300px; }
.lp-slides .lp-step .lp-mini--add { min-height: 300px; }
@media (max-width: 760px) { .lp-slides .lp-step__text > p { margin-top: 20px; font-size: 17px; } .lp-slides .lp-step__text > h2 { margin-bottom: 20px; } }
.lp-slides .lp-step .lp-mini p { max-width: none; margin: 4px 0 0; font-size: 12px; text-align: left; }
.lp-slides .lp-step .lp-mini .lp-build__head { margin: 0; font-size: 18px; }
/* No spare space under the last section: the page ends exactly where the last snap point is, so it doesn't snap back (the "bounce") and the progress bar can reach the end. */
body.rv-home:has(.lp-first) .lp { padding-bottom: 0; }
/* Every feature card shares one background, size and shape. */
.lp-slides .lp-step .lp-mini, .lp-slides .lp-step .lp-mini--add, .lp-slides .lp-step .lp-mini--build, .lp-slides .lp-step .lp-mini--encrypt { box-sizing: border-box; height: 300px; min-height: 300px; border: 0; border-radius: 20px; background: rgba(127, 127, 127, 0.12); overflow: hidden; }
.lp-slides .lp-step .lp-mini__blur { inset: 28px; overflow: hidden; border-radius: 12px; }
.lp-slides .lp-step .lp-mini--build .lp-build__add { border-color: var(--line-strong, var(--line)); }

/* The closing chest is the Records logo: an empty box, papers drop in front to back, the lid is set on, then a key comes in from the right and twists the lock. Plays when the slide comes into view. */
.lk .lk-lid { opacity: 0; transform: translate(0, -80px); }
.lk .lk-sheet { opacity: 0; transform: translateY(-70px); }
.lk .lk-key { opacity: 0; transform: translateX(70px); transform-origin: 0 0; }
.lk .lk-ring { opacity: 0; transform-origin: 45.7px -50px; }
.lk .lk-hole { transform-origin: 0 0; transform: rotate(90deg); }
.lp-cta.is-in .lk-sheet { animation: lk-sheet 0.6s cubic-bezier(0.3, 0.7, 0.3, 1) calc(0.3s + var(--i, 0) * 0.34s) forwards; }
.lp-cta.is-in .lk-lid { animation: lk-close 0.8s cubic-bezier(0.5, 0, 0.3, 1) 2.5s forwards; }
.lp-cta.is-in .lk-key { animation: lk-key 2.4s ease 3.5s forwards; }
.lp-cta.is-in .lk-hole { animation: lk-hole 2.4s ease 3.5s forwards; }
.lp-cta.is-in .lk-ring { animation: lk-ring 0.7s ease-out 5.2s forwards; }
.lp-cta.is-in .lk-lock { animation: lk-flash 0.7s ease 5.2s; }
@keyframes lk-sheet { 0% { opacity: 0; transform: translateY(-70px); } 40% { opacity: 1; } 100% { opacity: 1; transform: translateY(0); } }
@keyframes lk-close { 0% { opacity: 0; transform: translate(0, -80px); } 35% { opacity: 1; } 80% { opacity: 1; transform: translate(0, 3px); } 100% { opacity: 1; transform: none; } }
@keyframes lk-key { 0% { opacity: 0; transform: translateX(70px) scaleY(1); } 22% { opacity: 1; transform: translateX(0) scaleY(1); } 38% { opacity: 1; transform: translateX(0) scaleY(1); } 70% { opacity: 1; transform: translateX(0) scaleY(0.12); } 88% { opacity: 1; transform: translateX(0) scaleY(0.12); } 100% { opacity: 0; transform: translateX(0) scaleY(0.12); } }
@keyframes lk-hole { 0%, 38% { transform: rotate(90deg); } 70%, 100% { transform: rotate(0); } }
@keyframes lk-ring { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(5); } }
@keyframes lk-flash { 0%, 100% { filter: none; } 40% { filter: brightness(1.5); } }
@media (prefers-reduced-motion: reduce) { .lk .lk-lid { opacity: 1; transform: none; } .lk .lk-sheet, .lk .lk-key, .lk .lk-ring { display: none; } .lk .lk-hole { transform: none; } .lp-cta.is-in * { animation: none !important; } }
/* The Encrypt step's lock takes the page's text colour (white at night, black by day), not the lock set's green. */
.lp-mini--encrypt .od-lock, html[data-theme="light"] .lp-mini--encrypt .od-lock, .lp-lockbox .od-lock, html[data-theme="light"] .lp-lockbox .od-lock { color: var(--ink); }
/* On a phone each page is a full screen and the scroll stops on one page at a time (mandatory, no skipping), as on a wider screen. */
@media (max-width: 760px) {
  body.rv-home:has(.lp-first) .rv-main { scroll-snap-type: y mandatory; overscroll-behavior-y: contain; }
  body.rv-home:has(.lp-first) .rv-main .lp-first,
  body.rv-home:has(.lp-first) .rv-main .lp .lp-cta,
  .lp-slides .lp-step { box-sizing: border-box; min-height: calc(100dvh - 52px); scroll-snap-align: start; scroll-snap-stop: always; }
  .lp-slides .lp-step { justify-content: center; }
}

/* Inside a record-kind icon, the detail (the heart, the lines of text, the play mark, the zipper) is drawn lighter than the outline. */
.rv-kind svg .d { stroke-width: 0.75; }
/* The Create / Upload pills are all the same width, the icon and name centred in each. */
body .lp-mini--add .rv-kind { box-sizing: border-box; width: 102px; justify-content: center; gap: 6px; padding-left: 8px; padding-right: 8px; }
.lk { overflow: visible; }

/* Language select, bottom right (landing pages): a glass pill with a globe and the language, opening a menu upward. */
.rv-lang { position: fixed; z-index: 61; right: calc(28px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) { .rv-lang { right: calc(16px + env(safe-area-inset-right, 0px)); } }
.rv-lang .rv-lang__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 22px; font-size: 14px; }
.rv-lang__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.rv-lang .me-menu { left: auto; right: 0; width: 170px; }
.rv-lang.is-open .me-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 180ms ease, transform 240ms var(--ease), visibility 0s; }
.rv-lang .me-menu__item { justify-content: space-between; }
.rv-lang .me-menu__item[aria-checked="true"]::after { content: ""; width: 7px; height: 12px; margin-right: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); }
/* The Vanilla Software credit moves left to make room for the language button. */
/* On the last page "Created by Vanilla Software" takes the place of "Built on Arweave", at the bottom left. */
.lp-credit { left: calc(28px + env(safe-area-inset-left, 0px)); right: auto; }
.rv-footer { transition: opacity .3s; }
body.is-last .rv-footer { opacity: 0; pointer-events: none; }
/* The Create and Upload rows are centred in the card, with their labels over them. */
.lp-mini--add { align-items: center; }
.lp-mini--add > div { justify-content: center; }
.lp-mini--add > p { text-align: center; align-self: center; }
/* The Create and Upload items are uniform tiles: a large icon with its name centred underneath, five to a row. */
.lp-mini--add > div { display: grid; grid-template-columns: repeat(5, 100px); gap: 10px; justify-content: center; }
body .lp-mini--add .rv-kind { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100px; height: 94px; padding: 8px 4px; border-radius: 16px; font-size: 14px; text-align: center; }
body .lp-mini--add .rv-kind svg { width: 34px; height: 34px; }
@media (max-width: 640px) {
  .lp-mini--add > div { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  body .lp-mini--add .rv-kind { width: 100%; }
}
@media (max-width: 640px) { .lp-slides .lp-step .lp-mini.lp-mini--add { height: auto; min-height: 0; overflow: visible; padding: 20px 16px; } .lp-mini--add > div { gap: 8px; } }

/* The thinnest detail in a record-kind icon (the capsule's hourglass and sand). */
.rv-kind svg .t { stroke-width: 0.55; }

/* Six tiles to a row now (Create and Upload each have six), so the tiles are a little smaller. */
.lp-mini--add > div { grid-template-columns: repeat(6, 86px); gap: 8px; }
body .lp-mini--add .rv-kind { width: 86px; height: 90px; font-size: 13px; padding: 8px 2px; }
body .lp-mini--add .rv-kind svg { width: 30px; height: 30px; }
@media (max-width: 640px) { .lp-mini--add > div { grid-template-columns: repeat(3, minmax(0, 1fr)); } body .lp-mini--add .rv-kind { width: 100%; font-size: 14px; } body .lp-mini--add .rv-kind svg { width: 34px; height: 34px; } }
/* The CREATE and UPLOAD labels and their tiles line up at the left of the card. */
.lp-mini--add > p { text-align: left; align-self: flex-start; }
.lp-mini--add > div { justify-content: start; }
/* Three tiles to a row (Create one row, Upload two), spread evenly across the full width of the card. */
.lp-mini--add { align-items: stretch; }
.lp-mini--add > div { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
body .lp-mini--add .rv-kind { width: 100%; }
/* Big tiles, the name under each icon. The Add card grows to hold them (the other cards stay 300px). */
html body .lp-slides .lp-step .lp-mini.lp-mini--add { height: auto; min-height: 300px; overflow: visible; }
@media (min-width: 761px) { html body.rv-home .lp-slides .lp-step .lp-mini.lp-mini--add { flex-shrink: 0; padding: 24px 24px 28px; gap: 12px; } }
html body .lp-mini--add > div { gap: 12px; }
html body .lp-mini--add .rv-kind { flex-direction: column; height: 120px; gap: 10px; font-size: 17px; border-radius: 18px; }
html body .lp-mini--add .rv-kind svg { width: 40px; height: 40px; }
@media (max-width: 640px) {
  html body .lp-mini--add > div { gap: 8px; }
  html body .lp-mini--add .rv-kind { height: 96px; gap: 8px; font-size: 15px; }
  html body .lp-mini--add .rv-kind svg { width: 34px; height: 34px; }
}
.lp-mini--license span { transition: border-color .35s ease, color .35s ease, background-color .35s ease; }
.lp-mini--license span.is-pick { background: color-mix(in srgb, var(--accent) 12%, transparent); }
/* The header menu opens a little below the bar under the header (the bar is at 52px), not against it. */
body.rv-home.rv-hb .rv-dock .me-menu { top: 62px; bottom: auto; }
/* Bottom corners swapped: the language select sits at the bottom left, and "Built on Arweave" / "Created by Vanilla Software" at the bottom right.
   (When the signed-in pill is at the bottom left, the original arrangement stays.) */
body:not(:has(> .me)) .rv-lang { right: auto; left: calc(28px + env(safe-area-inset-left, 0px)); }
body:not(:has(> .me)) .rv-lang .me-menu { left: 0; right: auto; }
body:not(:has(> .me)) .rv-footer { left: auto; right: calc(28px + env(safe-area-inset-right, 0px)); text-align: right; }
body:not(:has(> .me)) .lp-credit { left: auto; right: calc(28px + env(safe-area-inset-right, 0px)); justify-content: flex-end; }
@media (max-width: 640px) { body:not(:has(> .me)) .rv-lang { left: calc(16px + env(safe-area-inset-left, 0px)); } body:not(:has(> .me)) .rv-footer, body:not(:has(> .me)) .lp-credit { right: calc(16px + env(safe-area-inset-right, 0px)); } }

/* Every page has the thin progress line along the bottom of the header, filling as the page scrolls (set by app.js readBar). */
body.rv-pin .rv-ph::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: color-mix(in srgb, var(--ink) 14%, transparent); pointer-events: none; }
body.rv-pin .rv-ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: translate3d(0, 0, 0) scaleX(var(--read, 0)); transform-origin: left center; will-change: transform; pointer-events: none; }
.lp-mini--license span em { margin-left: auto; font-style: normal; font-weight: 600; }
/* The access choices need no radio bullets: the chosen one is the one with the bright border. The input stays for the keyboard and screen readers. */
.rv-opt input[type="radio"] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.rv-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rv-opt:has(input:checked) { border-width: 1.5px; }
/* The header's path reads as one line with the Records name: the same size and weight, and a tighter gap before the slash. */
.rv-ph .rv-ph__home + .rv-ph__path { margin-left: -4px; }
.rv-ph .rv-ph__path { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.rv-ph .rv-ph__path .rv-ph__label, .rv-ph .rv-ph__path .rv-ph__owner { font-weight: 600; }
.rv-ph .rv-ph__path .rv-ph__slash { margin: 0 6px; font-weight: 400; }
.rv-ph .rv-ph__home + .rv-ph__path { margin-left: -6px; }
.rv-ph .rv-ph__path .rv-ph__slash { margin: 0 6px 0 0; }
/* The menu opens below the header, so the whole header stays visible. */
.rv-hb .rv-dock .me-menu { top: calc(100% + 8px); max-height: calc(100dvh - 64px - 24px); overflow-y: auto; }
/* Exactly under the header, whichever height it has. */
body { --hh: 64px; }
body.rv-home { --hh: 52px; }
.rv-hb .rv-dock .me-menu { position: fixed; top: calc(var(--hh) + 6px); right: calc(12px + env(safe-area-inset-right, 0px)); left: auto; bottom: auto; max-height: calc(100dvh - var(--hh) - 18px); }
.rv-hb .rv-dock .me-menu { position: absolute; top: calc(var(--hh) + 6px); right: 0; left: auto; }
.rv-hb .rv-dock .me-menu { top: calc(var(--hh) / 2 + 24px); }
.rv-hb .rv-dock, .rv-hb .rv-dock .me { position: fixed; }
.rv-hb .rv-dock .me { position: static; }
.rv-hb .rv-dock .me-menu { top: calc(var(--hh) + 6px); }
/* The button's box is centered in the header and is what the menu hangs from, so: half its height, plus half the header, plus a small gap. */
.rv-hb .rv-dock .me-menu { position: absolute; top: calc(50% + var(--hh) / 2 + 6px); right: 0; left: auto; bottom: auto; }
body.rv-home.rv-hb .rv-dock .me-menu { top: calc(50% + var(--hh) / 2 + 6px); }
/* A little more room between the header and the top of a profile. */
.prof__panel .prof__face { margin-top: 28px; }
/* The @username under the name is not shown: the address line under it already says it. */
.prof__handle { display: none !important; }

/* Column controls: each heading opens a popup with that column's sort and filter. */
.rv-table__head button .rv-hico { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.rv-table__head button[aria-expanded="true"] { color: var(--ink); }
.rv-table__head button.is-filtered { color: var(--pe-accent, #1f6fe5); }
.rv-pop { position: fixed; z-index: 80; display: flex; flex-direction: column; gap: 2px; width: 220px; max-height: min(70vh, 420px); overflow-y: auto; padding: 8px; border: 1px solid var(--line-strong, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--bg) 90%, var(--ink) 10%); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.rv-pop__h { margin: 6px 8px 2px; color: var(--muted); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.rv-pop__h:first-child { margin-top: 2px; }
.rv-pop__opt { appearance: none; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.rv-pop__opt:hover { background: rgba(127, 127, 127, 0.16); }
.rv-pop__opt[aria-pressed="true"] { font-weight: 600; }
.rv-pop__opt[aria-pressed="true"]::after { content: ""; width: 5px; height: 9px; margin-right: 2px; border: solid var(--pe-accent, #1f6fe5); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rv-pop__clear { margin-top: 4px; font-size: 13px; }
.rv-pop__opt.rv-pop__clear.rv-optpop__item--danger { color: #e5484d; }
.rv-pop__opt.rv-pop__clear.rv-optpop__item--danger:hover, .rv-pop__opt.rv-pop__clear.rv-optpop__item--danger:focus-visible { background: rgba(229, 72, 77, 0.15); color: #e5484d; }
.rv-pop__input { box-sizing: border-box; width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--field, transparent); color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.rv-pop__input:focus { border-color: var(--pe-accent, #1f6fe5); }
.rv-table__filters { display: none; }
.rv-table__body > .rv-table__foot { position: static; flex: none; overflow: visible; border-top: 1px solid var(--line); }
/* "Built on Arweave" and "Created by Vanilla Software" share one line height and bottom edge, so they sit on the same baseline. */
.rv-footer { display: flex; align-items: center; min-height: 20px; }
.rv-footer .rv-arweave { line-height: 20px; }
body:not(:has(> .me)) .rv-footer { justify-content: flex-end; }

/* The signed-in pill stays put when its menu opens, and the menu is a popup above it, like the hamburger's. */
body > .me .me-menu { bottom: calc(100% + 10px); }
body > .me.is-open > .btn { opacity: 1; pointer-events: auto; }
/* Log out is plain red text at the bottom of the menu. */
html body .me-menu .me-menu__out { display: block; width: 100%; height: auto; padding: 10px 12px; border: 0; border-radius: 10px; background: none; box-shadow: none; color: #e5484d; font-size: 14px; font-weight: 500; text-align: left; filter: none; }
html body .me-menu .me-menu__out:hover { background: rgba(229, 72, 77, 0.12); filter: none; }
.me-menu__foot { padding: 0; }
/* The footer line shares a centerline with the 44px language button (20px up), so the two read as one row. */
.rv-footer, .lp-credit { bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
/* The Add (+) button is the same 44px height as the view toggle beside it, on the same centerline. */
.rv-fabwrap, .rv-fab { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.rv-fabwrap .rv-fab, .rv-fab { width: 44px; height: 44px; }
.rv-fab svg { width: 20px; height: 20px; }
body:has(.rv-fab) .rv-viewbar { right: calc(24px + 44px + 8px + env(safe-area-inset-right, 0px)); }

/* Cards: the kind's icon beside a left-aligned title, the price at the right of it; the date and the license on the line under. */
.rv-polgrid .rv-cap { text-align: left; padding-left: 2px; padding-right: 2px; }
.rv-polgrid .rv-cap__row { justify-content: flex-start; }
.rv-polgrid .rv-cap__top { justify-content: space-between; gap: 10px; }
.rv-polgrid .rv-cap__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rv-polgrid .rv-cap__title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-polgrid .rv-cap__icon { display: inline-flex; flex: none; color: var(--mut-c, var(--muted)); }
.rv-polgrid .rv-cap__icon .rv-kind { display: inline-flex; }
.rv-polgrid .rv-cap__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.rv-polgrid .rv-cap__price { flex: none; margin-left: auto; }
.rv-polgrid .rv-cap__who { padding-left: 24px; }

/* A bigger kind icon, and the license's own icon beside its name on the date line. */
.rv-polgrid .rv-cap__icon svg { width: 22px; height: 22px; stroke-width: 1; }
.rv-polgrid .rv-cap__title { gap: 9px; }
.rv-polgrid .rv-cap__who { gap: 10px; padding-left: 31px; }
.rv-polgrid .rv-cap__lic { display: inline-flex; align-items: center; gap: 5px; }
.rv-polgrid .rv-cap__lic .rv-lock, .rv-polgrid .rv-cap__lic .rv-lock svg { width: 14px; height: 14px; }

/* The license at the left under the title; the whole date, MM/DD/YYYY, at the right. */
.rv-polgrid .rv-cap__who { justify-content: space-between; }
.rv-polgrid .rv-cap__date { margin-left: auto; font-variant-numeric: tabular-nums; }

/* The kind's icon is two lines tall, beside both the title line and the license-and-date line. */
.rv-polgrid .rv-cap { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.rv-polgrid .rv-cap > .rv-cap__icon { grid-row: 1 / span 2; grid-column: 1; align-self: center; justify-self: start; }
.rv-polgrid .rv-cap > .rv-cap__row { grid-column: 2; padding-left: 0; }
.rv-polgrid .rv-cap__icon svg { width: 44px; height: 44px; stroke-width: 1; }
.rv-polgrid .rv-cap__icon .rv-lock, .rv-polgrid .rv-cap__icon .rv-lock svg { width: 30px; height: 30px; }

/* The price follows the license on its line, after a dot. */
.rv-polgrid .rv-cap__lic { white-space: nowrap; }
.rv-polgrid .rv-cap__dot { white-space: pre; }

/* Edit sits at the top left of a card's picture and Group at the top right. */
.rv-polgrid .rv-chips { inset: 10px 10px auto 10px; justify-content: space-between; }
.rv-polgrid .rv-chips .rv-chip--edit { pointer-events: auto; }

/* Pill buttons: solid borders, no transparency. */
html .btn, html .btn::before, html .btn::after { --btn-line: #4b4f58; --btn-edge-top: #4b4f58; --btn-edge-bottom: #4b4f58; --glass-line: #4b4f58; border-color: #4b4f58 !important; }
html[data-theme="light"] .btn, html[data-theme="light"] .btn::before, html[data-theme="light"] .btn::after { --btn-line: #c4c8cf; --btn-edge-top: #c4c8cf; --btn-edge-bottom: #c4c8cf; --glass-line: #c4c8cf; border-color: #c4c8cf !important; }
html .btn.btn--blue { --btn-line: #1f6fe5; border-color: transparent !important; }
html .btn.btn--green { --btn-line: #2a9a4f; border-color: #2a9a4f !important; }

/* Collected: a grid of one row per author, opened with a down arrow instead of scrolling sideways. */
.rv-bylines .rv-polgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; overflow: visible; padding-bottom: 0; }
@media (min-width: 900px) { .rv-bylines .rv-polgrid { grid-template-columns: repeat(3, 1fr); } }
.rv-bylines .rv-polgrid > li { flex: none; }
.rv-polgrid > li.is-more { display: none; }
.rv-more { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 10px auto 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.rv-more:hover { color: var(--ink); }
.rv-more[hidden] { display: none; }
.rv-more svg { width: 22px; height: 22px; transition: transform 0.2s; }
.rv-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.rv-byline > .rv-more { display: inline-flex; vertical-align: middle; margin: 0 0 0 2px; }
.rv-byline > .rv-more[hidden] { display: none; }

/* Drag a record onto a group chip to add it. */
.rv-polgrid > li[draggable="true"], .rv-row[draggable="true"] { cursor: grab; }
.is-dragging-rec .rv-colchip[data-col-id]:not([data-col-id=""]) { border-style: dashed; color: var(--ink); }
.rv-colchip.is-drop { border-color: var(--accent); background: rgba(10, 110, 220, 0.2); color: var(--ink); }
.rv-colchip.is-added { border-color: #2a9a4f; }
.rv-polgrid .rv-cap__who { justify-content: flex-start; }
.rv-polgrid .rv-cap__date { margin-left: 0; }

/* The kind's icon (half size) sits in the title row only; the date is under, at the left, with the cost at the right. */
.rv-polgrid .rv-cap { grid-template-columns: 22px minmax(0, 1fr); column-gap: 9px; align-items: center; row-gap: 4px; }
.rv-polgrid .rv-cap > .rv-cap__icon { grid-row: 1; }
.rv-polgrid .rv-cap__icon svg { width: 22px; height: 22px; stroke-width: 1; }
.rv-polgrid .rv-cap__icon .rv-lock, .rv-polgrid .rv-cap__icon .rv-lock svg { width: 18px; height: 18px; }
.rv-polgrid .rv-cap > .rv-cap__who { grid-column: 1 / -1; grid-row: 2; padding-left: 0; justify-content: space-between; }
.rv-polgrid .rv-cap__date { margin-left: 0; }
.rv-polgrid .rv-cap__cost { margin-left: auto; font-variant-numeric: tabular-nums; }

/* Title (with its icon) and date centered under the picture. */
.rv-polgrid .rv-cap { grid-template-columns: 1fr auto minmax(0, auto) 1fr; column-gap: 9px; }
.rv-polgrid .rv-cap > .rv-cap__icon { grid-column: 2; justify-self: center; }
.rv-polgrid .rv-cap > .rv-cap__top { grid-column: 3; grid-row: 1; justify-content: center; min-width: 0; }
.rv-polgrid .rv-cap > .rv-cap__who { justify-content: center; text-align: center; }
/* While dragging, the group bar stays in reach at the top. */
.rv-dragghost { position: fixed; left: -400px; top: 0; width: 120px; padding: 6px; border-radius: 10px; background: #1b1b1d; color: #fff; font: 600 11px/1.3 Inter, system-ui, sans-serif; text-align: center; overflow: hidden; }
.rv-dragghost .rv-prev { width: 108px; height: 72px; aspect-ratio: auto; border-radius: 6px; overflow: hidden; }
.rv-dragghost .rv-prev svg, .rv-dragghost .rv-prev img { width: 100%; height: 100%; object-fit: cover; }
.rv-dragghost .rv-chips { display: none; }
.rv-dragghost span { display: block; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Title and date left-aligned beside the kind's icon, which is two rows tall again. */
.rv-polgrid .rv-cap { grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; row-gap: 0; align-items: center; }
.rv-polgrid .rv-cap > .rv-cap__icon { grid-row: 1 / span 2; grid-column: 1; justify-self: start; align-self: center; }
.rv-polgrid .rv-cap__icon svg { width: 44px; height: 44px; stroke-width: 1; }
.rv-polgrid .rv-cap__icon .rv-lock, .rv-polgrid .rv-cap__icon .rv-lock svg { width: 30px; height: 30px; }
.rv-polgrid .rv-cap > .rv-cap__top { grid-column: 2; grid-row: 1; justify-content: flex-start; }
.rv-polgrid .rv-cap > .rv-cap__who { grid-column: 2; grid-row: 2; justify-content: flex-start; text-align: left; }
.rv-polgrid .rv-cap__title { justify-content: flex-start; }

/* Type (icon and word) at the top right of the picture; Edit on the title line; title and date left aligned. */
.rv-polgrid .rv-cap { display: flex; flex-direction: column; align-items: stretch; gap: 3px; text-align: left; }
.rv-polgrid .rv-cap > .rv-cap__top { position: relative; justify-content: flex-start; }
.rv-polgrid .rv-cap > .rv-cap__who { justify-content: space-between; text-align: left; }
.rv-polgrid .rv-cap__top .rv-chip--edit { position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: auto; }
.rv-polgrid .rv-cap__title { max-width: calc(100% - 140px); }
.rv-chip--type .rv-kind { display: inline-flex; align-items: center; gap: 5px; }
.rv-chip--type .rv-kind svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }

/* As many cards per row as fit; no cap at three. */
.rv-polgrid, .rv-bylines .rv-polgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (min-width: 900px) { .rv-polgrid, .rv-bylines .rv-polgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
@media (min-width: 920px) { .rv-polgrid, .rv-bylines .rv-polgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.rv-main:has([data-prof]) { max-width: none; }
body.rv-pin .rv-main:has([data-prof]) { padding-left: 24px; padding-right: 24px; }

/* Space around the slash in the header path: Records / Sign in. */
.rv-ph .rv-ph__home + .rv-ph__path { margin-left: 0; }
.rv-ph .rv-ph__path .rv-ph__slash { margin: 0 10px 0 8px; }
/* The signed-out pill's profile icon. */
.me .me__signin .me__icon { flex: none; width: 18px; height: 18px; margin-right: 8px; }
.me a.me__signin { display: inline-flex; align-items: center; }
.rv-ph .rv-ph__path .rv-ph__slash { margin: 0 10px 0 0; }
.rv-ph .rv-ph__path .rv-ph__owner + .rv-ph__slash, .rv-ph .rv-ph__path .rv-ph__label + .rv-ph__slash { margin-left: 10px; }

/* Created and Groups: the first card is a + with the same outline as a card's picture. */
.rv-addcard { list-style: none; }
.rv-addcard__btn { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.rv-addcard__box { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1.5px solid var(--btn-line, var(--line-strong)); border-radius: 8px; color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.rv-addcard__btn:hover .rv-addcard__box { color: var(--ink); border-color: var(--ink); }
.rv-addcard__box svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; }
/* The date at the left, the three dots at the right. */
.rv-polgrid .rv-cap > .rv-cap__who { justify-content: space-between; }
.rv-more3 { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: -6px; border-radius: 8px; color: var(--mut-c, var(--muted)); cursor: pointer; }
.rv-more3:hover, .rv-more3:focus-visible { color: var(--ink-c, var(--ink)); background: rgba(127, 127, 127, 0.18); }
.rv-more3 svg { width: 20px; height: 20px; fill: currentColor; }
.rv-optpop { position: fixed; z-index: 80; display: grid; gap: 2px; min-width: 180px; padding: 6px; }
.rv-optpop__item { display: block; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.rv-optpop__item:hover { background: rgba(127, 127, 127, 0.18); }
.rv-optpop__item--danger { color: #e5484d; }
.rv-optpop__item--danger:hover { background: rgba(229, 72, 77, 0.15); }
/* Three-dot menu → License: same access step as Add a record. */
.rv-colpop.rv-licpop { z-index: 95; display: flex; flex-direction: column; gap: 6px; width: min(440px, calc(100vw - 16px)); max-height: min(85vh, 520px); padding: 14px 14px 16px; overflow: auto; }
.rv-licpop .addm__back { align-self: flex-start; margin: 0 0 4px; padding: 6px 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.rv-licpop .addm__back:hover { color: var(--ink); }
.rv-licpop .rv-opts { margin: 0 0 6px; padding: 0; border: 0; }
.rv-licpop .rv-opts legend { padding: 0 0 8px; font-size: 15px; }
.rv-licpop .addm__price { display: flex; flex-direction: column; gap: 6px; margin: 4px 0; font-size: 14px; }
.rv-licpop .addm__note { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.rv-licpop .addm__go { margin-top: 10px; width: 100%; }
.rv-licpop .rv-error { margin: 6px 0 0; font-size: 13px; }
html[data-theme="light"] .rv-colpop.rv-licpop { color: var(--ink); }

/* The pieces sheet: the owner centered at the top, then the cards as on Created. Both the owner and the record name open it, and both turn blue. */
.rv-ph .rv-pieces { position: static; display: flex; align-items: center; min-width: 0; }
.rv-ph .rv-pieces__who { font-weight: 600; }
.rv-ph .rv-pieces__btn:hover, .rv-pieces.is-open .rv-pieces__btn { color: var(--pe-accent, #1f6fe5); }
.rv-sheet > * { width: min(1040px, calc(100vw - 48px)); }
.rv-ph .rv-sheet a.rv-sheet__head { flex-direction: column; justify-content: center; gap: 8px; margin-bottom: 22px; text-align: center; }
.rv-sheet__text { justify-items: center; text-align: center; }
.rv-sheet .rv-polgrid { margin-top: 0; }
.rv-ph .rv-pieces.is-open .rv-pieces__btn, .rv-ph .rv-pieces.is-open .rv-pieces__btn * { color: var(--pe-accent, #1f6fe5) !important; }
body:has(.prof__body[data-shown="created"]) .rv-viewbar { right: calc(24px + env(safe-area-inset-right, 0px)); }

/* Hover and focus keep the same solid border: no white edge on the profile pill or any other button. */
html .btn:hover, html .btn:focus-visible, html .btn:active, html .btn:hover::before, html .btn:focus-visible::before, html .btn:active::before { --btn-line: #4b4f58; --btn-edge-top: #4b4f58; --btn-edge-bottom: #4b4f58; --glass-line: #4b4f58; border-color: #4b4f58 !important; box-shadow: none; }
html[data-theme="light"] .btn:hover, html[data-theme="light"] .btn:focus-visible, html[data-theme="light"] .btn:active, html[data-theme="light"] .btn:hover::before, html[data-theme="light"] .btn:focus-visible::before { --btn-line: #c4c8cf; --btn-edge-top: #c4c8cf; --btn-edge-bottom: #c4c8cf; --glass-line: #c4c8cf; border-color: #c4c8cf !important; }
html .btn.btn--blue:hover, html .btn.btn--blue:focus-visible { --btn-line: #1f6fe5; border-color: #1f6fe5 !important; }
html .btn.btn--green:hover, html .btn.btn--green:focus-visible { --btn-line: #2a9a4f; border-color: #2a9a4f !important; }
/* The profile pill doesn't brighten on hover: that lightened its border to white. */
html body .me > .me__home:hover, html body .me > .me__home:focus-visible, html body .me.is-open > .me__home { filter: none; }
.rv-themelabel { margin: 4px 4px 8px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .01em; }
/* The Theme label is the same type as the menu options under it. */
.rv-themelabel { margin: 10px 10px 10px; color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: normal; }
.fm .rv-themelabel { margin-left: 14px; }
/* The Day card has no edge of its own, like Night and Dark: the sky runs to the rim, top and bottom alike. */
html .me-tiles__opt[data-sky="on"][data-mode="light"]:not([aria-checked="true"]) { border-color: transparent; background-clip: border-box; background-origin: border-box; }
/* No edge line on any theme card (Day, Night, Light, Dark), in any menu; the chosen one is still outlined in blue. */
html html .me-tiles__opt:not([aria-checked="true"]), html .me-tiles .me-tiles__opt:not([aria-checked="true"]), html[data-theme="light"] .me-tiles__opt:not([aria-checked="true"]), html .fm .fm-menupanel .me-tiles__opt:not([aria-checked="true"]) { border-color: transparent; }

/* Signed out: a blue Sign in at the top right of every header, beside the menu button. */
.rv-ph__signbox { position: absolute; z-index: 6; top: 0; bottom: 0; right: 64px; display: flex; align-items: center; }
.rv-ph__signbox--edge { right: 16px; }
/* Plain headers (the landing page, sign in, create, the about pages...): the menu is the arrow right after the title, and opens beneath it. */
.rv-ph:has(> .rv-dock--head) { display: flex; align-items: center; }
.rv-ph .rv-dock.rv-dock--head { position: static; inset: auto; display: flex; align-items: center; height: auto; margin-left: -6px; }
.rv-ph .rv-dock--head .me { position: static; inset: auto; display: flex; align-items: center; }
.rv-ph .rv-dock--head .me button.rv-dock__menu.me__home { width: 28px; min-width: 0; height: 28px; border-radius: 50%; }
.rv-ph .rv-dock--head .me-menu { position: absolute; top: calc(100% + 8px); bottom: auto; left: 16px; right: auto; transform-origin: top left; }
.rv-ph .rv-dock--head .rv-chev { transition: transform .26s cubic-bezier(.2, .7, .2, 1); }
.rv-ph .rv-dock--head .me.is-open .rv-chev { transform: rotate(180deg); }

/* Header text on every page is regular weight, like the sidebar menus. */
html .rv-ph .rv-ph__home, html .rv-ph .rv-ph__path, html .rv-ph .rv-ph__path--logo, html .rv-ph .rv-ph__path .rv-ph__label, html .rv-ph .rv-ph__path .rv-ph__owner, html .rv-ph .rv-ph__path--logo .rv-ph__label,
html .rv-ph .rv-ph__path--logo .rv-ph__slash, html .rv-ph .rv-pieces__btn, html .rv-ph .rv-ph__name, html .rv-ph .rv-ph__who b, html .rv-ph .rv-ph__owner { font-weight: 400; }
/* The header's Sign In is the landing page's Sign In: the header's own small-button rule (.rv-ph .btn) must not shrink it. */
.rv-ph .rv-ph__signbox .btn.btn--lg { width: auto; min-width: 0; max-width: none; height: 34px; padding: 0 16px; border-radius: 17px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
/* The four theme tiles line up with the rules above and below them, centred in the menu. */
.me-menu .me-tiles { margin: 0 6px; padding: 2px 0; }
/* On the landing page the logo, the word and the arrow read as one button. */
body.rv-home .rv-ph .rv-ph__home { cursor: pointer; }

/* The blue Sign in buttons have no border. */
html .btn.btn--blue[href^="/signin"], html .btn.btn--blue.fm-signin, html .btn.btn--blue.rv-dock__signin { border: 0 !important; box-shadow: none; }

/* Blue buttons are one flat blue with no border, everywhere. */
html .btn.btn--blue, html .btn.btn--blue:hover, html .btn.btn--blue:focus-visible, html .btn.btn--blue:active, html .btn.btn--blue::before, html .btn.btn--blue::after { border: 0 !important; border-color: transparent !important; box-shadow: none !important; --btn-line: transparent; --glass-line: transparent; }
html .btn.btn--blue { background: #1f6fe5; color: #fff; }
html .btn.btn--blue:hover { background: #1f6fe5; filter: brightness(1.12); }
html .btn.btn--blue { --btn-bw: 0px; --btn-edge: linear-gradient(#1f6fe5, #1f6fe5); }
/* Other pages keep the arrow hidden: the logo and the title open the menu. The landing page shows it beside Records (header.css). */
.rv-ph .rv-dock--head .me button.rv-dock__menu.me__home { display: none !important; }
.rv-ph .rv-dock--head { margin-left: 0; }
/* Hovering the logo, "Records" or the page title turns the words blue together: they are one button. */
.rv-ph:has(> .rv-dock--head) .rv-ph__home, .rv-ph:has(> .rv-dock--head) .rv-ph__path { cursor: pointer; }
.rv-ph:has(> .rv-dock--head):has(.rv-ph__home:hover, .rv-ph__path:hover) .rv-ph__home span, .rv-ph:has(> .rv-dock--head):has(.rv-ph__home:hover, .rv-ph__path:hover) .rv-ph__path, .rv-ph:has(> .rv-dock--head):has(.rv-ph__home:hover, .rv-ph__path:hover) .rv-ph__path > * { color: var(--pe-accent, #4c8dff); }
.rv-ph:has(> .rv-dock--head) .rv-ph__home span, .rv-ph:has(> .rv-dock--head) .rv-ph__path, .rv-ph:has(> .rv-dock--head) .rv-ph__path > * { transition: color .15s ease; }
/* The language button is 34px tall, like the header's Sign In. */
html body.rv-home .rv-lang .rv-lang__btn { height: 34px !important; min-height: 34px !important; gap: 6px; padding: 0 16px 0 8px !important; border-radius: 17px; font-size: 14px; }
html body.rv-home .rv-lang .rv-lang__btn svg { width: 20px !important; height: 20px !important; }
/* Learn more and Get Started are 34px tall, like the header's Sign In and the language button. */
html body .lp-login--buttons .btn, html body .lp-cta .btn { height: 34px; min-height: 34px; padding: 0 18px; border-radius: 17px; font-size: 14px; }

/* The Get Started button at the end of the landing page is a small pill. */
html body .lp-cta .btn { min-width: 0; width: auto; height: 30px; min-height: 30px; padding: 0 14px; border-radius: 15px; font-size: 13px; }

/* The landing page's card is never cropped: it is as wide as the screen's height allows (a 4:3 picture and its caption), and nothing clips it. */
html body.rv-home .lp-first .rv-carwrap, html body.rv-home .lp-first .rv-car.rv-car--single { overflow: visible; max-height: none; height: auto; }
html body.rv-home .lp-first .rv-car.rv-car--single { width: min(100%, 560px, max(200px, calc((100dvh - 400px) * 1.333))); }
html body.rv-home .lp-first .rv-car--single .rv-prev { aspect-ratio: 4 / 3; height: auto; max-height: none; }
/* Landing page buttons share one height with the English and Sign in buttons. */
html body .lp-cta .btn, html body .lp-login--buttons .btn { height: 34px; min-height: 34px; border-radius: 17px; }

/* The dropdown menu always sits over the English button, and its words keep their size whatever the window does. */
.rv-dock { z-index: 70; }
.rv-dock .me-menu { z-index: 71; }
html body .me-menu, html body .me-menu * { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html body .me-menu .me-menu__item { font-size: 14px; }
html body .me-menu .me-menu__display, html body .me-menu .me-menu__name { font-size: inherit; }

/* The menu's rows keep their height when the window is short (it scrolls instead), and the header with its menu sits over the English button. */
.me-menu > * { flex-shrink: 0; }
.me-menu .me-menu__item { min-height: 40px; }
body.rv-home .rv-ph, body.rv-pin .rv-ph { z-index: 80; }
/* The Dark tile gets its own gray fill at night, so it stands out from the dark page behind it. */
html:not([data-theme="light"]) .me-tiles__opt[data-sky="off"][data-mode="dark"] { background: #070707 !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }
/* Night has a blue tint: a deep blue-black behind the stars (Dark stays plain black). */
html:not([data-theme="light"]):not([data-sky="off"]) { --bg: #050a1c; background-color: #050a1c; }
html:not([data-theme="light"]):not([data-sky="off"]) body { background-color: #050a1c; }
html .me-tiles .me-tiles__opt[data-mode="light"][data-sky="off"]:not([aria-checked="true"]) { border: 1px solid #c4c8cf !important; box-shadow: inset 0 0 0 1px #c4c8cf !important; }

/* Theme pill: the English pill's twin, on the opposite corner. */
html body.rv-home .rv-lang.rv-lang--theme { left: auto; right: calc(28px + env(safe-area-inset-right, 0px)); }
html body.rv-home:has(> .me) .rv-lang.rv-lang--theme { right: auto; left: calc(28px + env(safe-area-inset-left, 0px)); }
@media (max-width: 640px) { html body.rv-home .rv-lang.rv-lang--theme { right: calc(16px + env(safe-area-inset-right, 0px)); } html body.rv-home:has(> .me) .rv-lang.rv-lang--theme { left: calc(16px + env(safe-area-inset-left, 0px)); } }

/* Landing and home: "Built on Arweave" sits in the middle of the footer, between English and Theme (static/js/themepill.js lines it up with the pills). It fades out on the last page as before. */
html body.rv-home .rv-footer { left: 0; right: 0; justify-content: center; text-align: center; }
html body.rv-home .lp-credit { left: 0 !important; right: 0 !important; justify-content: center; text-align: center; pointer-events: none; }

/* "Created by Vanilla Software" is set like "Built on Arweave": small, muted, with the name as an underlined accent link. */
html body.rv-home .lp-credit { color: var(--muted); font-size: 12.5px; line-height: 20px; }
html body.rv-home .lp-credit a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; pointer-events: auto; }
html body.rv-home .lp-credit a:hover { color: var(--accent); }
/* English and Theme are the same width. */
html body.rv-home .rv-lang .rv-lang__btn { width: auto !important; min-width: 0; justify-content: flex-start; }

/* The Records menu and your own menu are the same left drawer as the profile pages' menu: it slides in from the left, the page is pushed over, and tapping the page closes it. */
@media all {
  html body { --me-dw: min(300px, 85vw); }
  html body [data-me] .me-menu { position: fixed !important; z-index: 40; top: var(--me-top, 66px) !important; left: 0 !important; right: auto !important; bottom: 0 !important; width: var(--me-dw) !important; max-width: none; height: auto !important; max-height: none; margin: 0; overflow-y: auto; border-radius: 0 !important; border: 0 !important; border-right: 1px solid var(--line) !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1; visibility: hidden; pointer-events: none; transform: translateX(-100%) !important; transition: transform .26s cubic-bezier(.2, .8, .2, 1), visibility 0s .26s; }
  html body [data-me].is-open .me-menu { visibility: visible; pointer-events: auto; transform: none !important; transition: transform .26s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  html body > main, html body > .rv-hb ~ main { transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
  html body:has([data-me].is-open) > main { transform: translateX(var(--me-dw)); }
  html body:has([data-me].is-open) { overflow-x: hidden; }
}
@media (prefers-reduced-motion: reduce) { html body [data-me] .me-menu, html body > main { transition: none !important; } }
html body .wf-pick[data-me] .me-menu, html body .wf-pick[data-me].is-open .me-menu {
  position: absolute !important; z-index: 80; top: calc(100% + 6px) !important; right: 0 !important; left: auto !important; bottom: auto !important;
  width: 280px !important; max-width: calc(100vw - 24px); height: auto !important; max-height: calc(100dvh - 72px); overflow-y: auto;
  border: 1.5px solid var(--ctl-line, var(--line)) !important; border-radius: 18px !important; background: var(--ctl-fill, var(--bg)) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important; -webkit-backdrop-filter: blur(28px) saturate(160%) !important; backdrop-filter: blur(28px) saturate(160%) !important;
  transform: none !important;
}
html body .wf-pick[data-me] .me-menu { opacity: 0; visibility: hidden; pointer-events: none; }
html body .wf-pick[data-me].is-open .me-menu { opacity: 1; visibility: visible; pointer-events: auto; }
html body:has(.wf-pick[data-me].is-open) > main { transform: none; }
html body .wf-pick[data-me] .me-drawer-x { display: none !important; }

/* The X at the top right of the Records and user menu drawers. */
.me-drawer-x { display: none; position: absolute; top: 10px; right: 10px; z-index: 5; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
.me-drawer-x:hover { background: color-mix(in srgb, var(--ink, #fff) 14%, transparent); }
.me-drawer-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
html body [data-me] .me-menu .me-drawer-x { display: grid; }

/* The signed-in user's menu is a drawer from the right side; the Records menu stays on the left. */
html body [data-me].me--user .me-menu { left: auto !important; right: 0 !important; border-right: 0 !important; border-left: 1px solid var(--line) !important; transform: translateX(100%) !important; }
html body [data-me].me--user.is-open .me-menu { transform: none !important; }
html body:has([data-me].me--user.is-open) > main { transform: translateX(calc(-1 * var(--me-dw))); }
html body [data-me].me--user .me-menu .me-drawer-x { left: 10px; right: auto; }
html body { --me-dw: min(290px, 85vw); }  /* as wide as the menu column beside the rail on the profile pages */
/* On a phone profile page the Records menu in the header comes in from the left, like the folder column. */
html body .fm .fm-mbar__me[data-me] .me-menu { left: 0 !important; right: auto !important; border-right: 1px solid var(--line) !important; border-left: 0 !important; transform: translateX(-100%) !important; }
html body .fm .fm-mbar__me[data-me].is-open .me-menu { transform: none !important; }
html body .fm .fm-mbar__me[data-me] .me-drawer-x { left: auto; right: 10px; }

/* The Theme and English pills on the landing page have the same thin 1px edge as the header's pill controls. */
html body.rv-home .rv-lang .rv-lang__btn, html body.rv-home .rv-lang .rv-lang__btn.btn { border-width: 1px !important; --btn-bw: 1px; }

/* The header's Sign in, the Learn more button and the Theme and English pills are one button: dark glass, 34px tall, fully rounded, 14px text and the same thin 1px edge. */
html body .rv-ph .rv-signpill, html body.rv-home .rv-learn, html body.rv-home .lp-login--buttons .rv-learn {
  height: 34px !important; min-height: 34px !important; padding: 0 16px !important; border-radius: 17px !important; font-size: 14px !important; font-weight: 400; width: auto !important; min-width: 0 !important; border-width: 1px !important; --btn-bw: 1px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }

/* Learn more is the accent button: filled with the theme's accent (teal on Ocean, pink on Spring, blue by default) with white text. */
html body.rv-home .rv-learn, html body.rv-home .lp-login--buttons .rv-learn, html body.rv-home .rv-learn.btn--user-dark { background: var(--sel, #1f6fe5) !important; color: #fff !important; border-color: transparent !important; --btn-fill: var(--sel, #1f6fe5); --btn-line: var(--sel, #1f6fe5); box-shadow: none !important; }
html body.rv-home .rv-learn:hover { filter: brightness(1.12); }

/* Learn more has no border at all. */
html body.rv-home .rv-learn, html body.rv-home .lp-login--buttons .rv-learn, html body.rv-home .rv-learn.btn--user-dark { border: 0 !important; border-width: 0 !important; --btn-bw: 0px; --btn-edge: none; --btn-edge-top: transparent; --btn-edge-bottom: transparent; outline: 0; }
html body.rv-home .rv-learn::before, html body.rv-home .rv-learn::after { display: none !important; }

/* One text colour for Sign in, Theme and English (the theme's own text colour), so they match. */
html body .rv-ph .rv-signpill, html body .rv-ph a.rv-signpill:hover, html body.rv-home .rv-lang .rv-lang__btn { color: var(--ink) !important; }

/* The landing page has one Settings button (Theme and Language in a single menu) at the bottom left; the credits sit at the bottom right, right-aligned, one above the other; and the header is slimmer. */
html body.rv-home .rv-lang--off { display: none !important; }
html body.rv-home .rv-lang--settings { left: calc(28px + env(safe-area-inset-left, 0px)) !important; right: auto !important; }
@media (max-width: 640px) { html body.rv-home .rv-lang--settings { left: calc(16px + env(safe-area-inset-left, 0px)) !important; } }
html body.rv-home .rv-footer, html body.rv-home .lp-credit { left: auto !important; right: calc(28px + env(safe-area-inset-right, 0px)) !important; text-align: right; justify-content: flex-end; width: auto; }
@media (max-width: 640px) { html body.rv-home .rv-footer, html body.rv-home .lp-credit { right: calc(16px + env(safe-area-inset-right, 0px)) !important; } }
html body.rv-home .rv-ph, html body .rv-ph { box-sizing: border-box; min-height: 65px !important; border-bottom: 1px solid var(--line); }
.fm-themepop__langs { display: flex; gap: 6px; padding: 2px 0 6px; }
.fm-themepop__lang { flex: 1; padding: 10px 8px; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 12px; background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.fm-themepop__lang[aria-checked="true"] { background: var(--sel, #1f6fe5); border-color: transparent; color: #fff; }


/* On the landing page the theme menu is a whole box with its bottom edge, floating above the footer (the app's version drops its bottom edge because it joins the bar). */
html:not(#j) body.rv-home .fm-themepop { border-bottom: 1px solid color-mix(in srgb, var(--ink) 28%, transparent) !important; border-bottom-width: 1px !important; border-radius: 18px !important; }

/* The landing header's line is one thin 1px line like the profile's: the reading-progress track along its foot (2-3px) is 1px, and the border is not drawn on top of it. */
html body.rv-home header.rv-ph { border-bottom: 0 !important; }
html body.rv-home header.rv-ph::before, html body.rv-home header.rv-ph::after { height: 1px !important; }
html body.rv-home header.rv-ph::after { height: 2px !important; }

/* The landing theme menu keeps the same room under its last row (Motion) as above its title, so its bottom edge is clearly a whole edge. */
html:not(#j) body.rv-home .fm-themepop { padding-bottom: 14px !important; margin-bottom: 4px; }

/* Landing page: Learn more and Sign in (the two main buttons) are bigger. */
html body.rv-home .rv-learn, html body.rv-home .lp-login--buttons .rv-learn { height: 48px !important; min-height: 48px !important; padding: 0 28px !important; border-radius: 24px !important; font-size: 17px !important; }
html body.rv-home .rv-ph .rv-signpill { height: 40px !important; min-height: 40px !important; padding: 0 20px !important; border-radius: 20px !important; font-size: 15px !important; }

/* The Theme button is the same size as Sign in (40px tall, 15px text). */
html body.rv-home .rv-lang .rv-lang__btn, html body.rv-home:has(.lp-first) .rv-lang .rv-lang__btn { height: 40px !important; min-height: 40px !important; padding: 0 20px 0 12px !important; border-radius: 20px !important; font-size: 15px !important; gap: 8px; }
html body.rv-home .rv-lang .rv-lang__btn svg, html body.rv-home:has(.lp-first) .rv-lang__btn svg { width: 22px !important; height: 22px !important; }

/* Get Started / View Your Records (the landing page's closing buttons) are the same size as Learn more: 48px tall, 17px text, 28px side padding. */
html body.rv-home .lp-cta .btn, html body.rv-home .lp-cta .btn.btn--lg, html body.rv-home .lp-cta .btn.btn--blue { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 48px !important; min-height: 48px !important; padding: 0 28px !important; border-radius: 24px !important; font-size: 17px !important; width: auto !important; min-width: 0 !important; }

/* The menu wrapper must not make itself a containing block: with will-change: transform on it (app.css), its fixed drawer was positioned inside the wrapper's empty box and slid off-screen instead of covering the window. */
html body [data-me], html body .me[data-me] { will-change: auto !important; transform: none !important; filter: none !important; }

/* Landing: Sign in sits beside Learn more, on its right, keeping its dark-glass style; the Theme button moves to the header's right end. */
html body.rv-home .lp-login--buttons { align-items: center; }
html body.rv-home .lp-login--buttons .rv-signpill { height: 40px !important; min-height: 40px !important; padding: 0 20px !important; border-radius: 20px !important; font-size: 15px !important; width: auto !important; min-width: 0 !important; color: var(--ink) !important; border-width: 1px !important; --btn-bw: 1px; display: inline-flex; align-items: center; justify-content: center; }
html body.rv-home .rv-lang--settings, html body.rv-home .rv-lang.rv-lang--theme.rv-lang--settings { position: fixed !important; top: 12px !important; bottom: auto !important; left: auto !important; right: calc(28px + env(safe-area-inset-right, 0px)) !important; z-index: 60; }
@media (max-width: 640px) { html body.rv-home .rv-lang--settings, html body.rv-home .rv-lang.rv-lang--theme.rv-lang--settings { right: calc(16px + env(safe-area-inset-right, 0px)) !important; } }

/* Landing: Theme is back at the bottom right; the credits sit at the bottom left; Sign in is the same size as Learn more. */
html:not(#j):not(#k):not(#l) body.rv-home .rv-lang--settings, html:not(#j):not(#k):not(#l) body.rv-home .rv-lang.rv-lang--theme.rv-lang--settings { position: fixed !important; top: auto !important; bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important; left: auto !important; right: calc(28px + env(safe-area-inset-right, 0px)) !important; }
@media (max-width: 640px) { html:not(#j):not(#k):not(#l) body.rv-home .rv-lang--settings, html:not(#j):not(#k):not(#l) body.rv-home .rv-lang.rv-lang--theme.rv-lang--settings { right: calc(16px + env(safe-area-inset-right, 0px)) !important; } }
html:not(#j):not(#k):not(#l) body.rv-home .rv-footer, html:not(#j):not(#k):not(#l) body.rv-home .lp-credit { right: auto !important; left: calc(28px + env(safe-area-inset-left, 0px)) !important; text-align: left; justify-content: flex-start; }
@media (max-width: 640px) { html:not(#j):not(#k):not(#l) body.rv-home .rv-footer, html:not(#j):not(#k):not(#l) body.rv-home .lp-credit { left: calc(16px + env(safe-area-inset-left, 0px)) !important; } }
html:not(#j):not(#k):not(#l) body.rv-home .lp-login--buttons .rv-learn, html:not(#j):not(#k):not(#l) body.rv-home .lp-login--buttons .rv-signpill { height: 48px !important; min-height: 48px !important; min-width: 140px !important; padding: 0 28px !important; border-radius: 24px !important; font-size: 17px !important; width: auto !important; }
html:not(#j):not(#k):not(#l):not(#m) body.rv-home .lp-login--buttons .rv-learn, html:not(#j):not(#k):not(#l):not(#m) body.rv-home .lp-login--buttons .rv-signpill { width: 170px !important; min-width: 170px !important; padding: 0 !important; justify-content: center; }
html:not(#j):not(#k):not(#l):not(#m):not(#n) body.rv-home .lp-login--buttons .rv-learn, html:not(#j):not(#k):not(#l):not(#m):not(#n) body.rv-home .lp-login--buttons .rv-signpill { box-sizing: border-box !important; width: 170px !important; min-width: 170px !important; max-width: 170px !important; }

/* Landing: the credits and the Theme button share one centre line (both 40px tall, 28px up from the window's bottom edge), set here so it holds even before the script lines them up. */
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o) body.rv-home .rv-footer, html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o) body.rv-home .lp-credit { position: fixed !important; bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important; height: 40px !important; display: flex !important; align-items: center !important; line-height: 1 !important; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o) body.rv-home .rv-footer *, html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o) body.rv-home .lp-credit * { line-height: 1 !important; }

/* Landing: Theme lives in the Records menu; the credits sit at the bottom right, right-aligned. */
html:not(#j):not(#k):not(#l):not(#m):not(#n) body.rv-home .rv-footer, html:not(#j):not(#k):not(#l):not(#m):not(#n) body.rv-home .lp-credit { left: auto !important; right: calc(28px + env(safe-area-inset-right, 0px)) !important; text-align: right; justify-content: flex-end; }
@media (max-width: 640px) { html:not(#j):not(#k):not(#l):not(#m):not(#n) body.rv-home .rv-footer, html:not(#j):not(#k):not(#l):not(#m):not(#n) body.rv-home .lp-credit { right: calc(16px + env(safe-area-inset-right, 0px)) !important; } }
html:not(#j):not(#k):not(#l):not(#m):not(#n) body .me-menu .me-menu__theme { position: static !important; display: block; }
html:not(#j):not(#k):not(#l):not(#m):not(#n) body .me-menu .me-menu__theme .rv-lang__btn { display: flex !important; align-items: center; gap: 10px; width: 100% !important; height: auto !important; min-height: 0 !important; padding: inherit; border: 0 !important; border-radius: inherit; background: none !important; box-shadow: none !important; color: inherit !important; font: inherit; text-align: left; justify-content: flex-start !important; cursor: pointer; }
html:not(#j):not(#k):not(#l):not(#m):not(#n) body .me-menu .me-menu__theme .rv-lang__btn svg { width: 20px; height: 20px; }

/* The theme tiles inside the Records menu: always shown, four to a row, no box of their own. */
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o) body .me-menu .fm-themepop--inline { position: static !important; inset: auto !important; transform: none !important; width: auto !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 4px 10px 12px !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o) body .me-menu .fm-themepop--inline .me-tiles { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o):not(#p) body .me-menu .me-menu__theme .rv-lang__btn[hidden], html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o):not(#p) body .me-menu .fm-themepop--inline .fm-pop-title { display: none !important; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o):not(#p) body .me-menu .fm-themepop--inline .me-tiles__opt span { font-size: 10.5px !important; padding: 0 3px 4px !important; letter-spacing: -.01em; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o):not(#p) body .me-menu .fm-themepop--inline .fm-themepop__title { font-size: 12px; margin: 10px 2px 6px; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o):not(#p):not(#q) body.rv-home .me-menu { overflow-y: auto !important; max-height: calc(100dvh - 65px) !important; }
html:not(#j):not(#k):not(#l):not(#m):not(#n):not(#o):not(#p):not(#q):not(#r) body .me-menu .fm-themepop--inline .me-tiles__opt span { font-size: 9px !important; padding: 0 3px 3px !important; }

/* A 3D model (STL): the viewer sits where an image or video would, on the page itself. */
.rv-piece__model { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 70vh; background: none; overflow: hidden; --stl-colour: rgb(150, 165, 195); }
.rv-piece__model canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.rv-piece__model canvas:active { cursor: grabbing; }
.rv-piece__modelmsg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 16px; text-align: center; color: var(--muted); font-size: 14px; pointer-events: none; }
.rv-piece__modelmsg[hidden] { display: none; }
.rv-piece__modelhint { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; color: var(--muted); font-size: 12px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.rv-piece__model.is-ready .rv-piece__modelhint { opacity: .85; }

/* A record's page: the caption is set out like a card (the kind's icon and the title, then the date, license, price and size), with the options in a three-dot menu. */
.rv-piece__cap { width: 100%; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.rv-piece__row { display: flex; align-items: center; gap: 10px; }
.rv-piece__kind { flex: none; display: inline-flex; }
.rv-piece__kind .rv-kind svg { width: 22px; height: 22px; }
.rv-piece .rv-piece__title, .rv-piece:not(.rv-piece--note) .rv-piece__title { flex: 1; min-width: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-align: left; text-wrap: pretty; }
.rv-piece__sub { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-left: 0; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.rv-piece__lic { display: inline-flex; align-items: center; gap: 6px; }
.rv-piece__lic .rv-lock, .rv-piece__lic .rv-lock svg { width: 14px; height: 14px; }
.rv-recmenu { position: relative; flex: none; margin-left: auto; margin-block: -6px; }
.rv-recmenu__btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.rv-recmenu__btn:hover, .rv-recmenu__btn[aria-expanded="true"] { background: color-mix(in srgb, var(--ink, #111) 10%, transparent); color: var(--ink); }
.rv-recmenu__btn svg { width: 22px; height: 22px; fill: currentColor; }
.rv-recmenu__list { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; min-width: 210px; padding: 6px; border: 1px solid var(--line, rgba(127, 127, 127, .3)); border-radius: 14px; background: var(--bg, #fff); box-shadow: 0 12px 40px rgba(0, 0, 0, .14); }
.rv-recmenu__list[hidden] { display: none; }
.rv-recmenu__list a, .rv-recmenu__list button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.rv-recmenu__list a:hover, .rv-recmenu__list button:hover, .rv-recmenu__list a:focus-visible, .rv-recmenu__list button:focus-visible { background: color-mix(in srgb, var(--ink, #111) 9%, transparent); outline: 0; }
.rv-recmenu__list form { margin: 0; }

/* A locked record: the button that gets its key sits on the preview, under the lock icon. */
.rv-piece__media { position: relative; }
.rv-piece__cta { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; }
/* The button takes the license icon's place at the middle of the preview. */
.rv-piece__media:has(.rv-piece__cta) .rv-prev__lock { display: none; }
.rv-piece__cta form { margin: 0; }
.rv-piece__cta p { margin: 0; }
html body .rv-piece__cta .btn { color: #fff !important; background: var(--sel, #1f6fe5) !important; border: 0 !important; }

/* The default tile is a square, for every record's picture: on its page, in cards, in the thumbnail frame and the 3D viewer. */
html body .rv-prev:not(.rv-prev--real), html body .rv-pol .rv-prev:not(.rv-prev--real), html body .rv-polgrid .rv-prev:not(.rv-prev--real), html body .fm .fm-gallery__art.rv-prev,
html body .rv-piece__thumb > img, html body .rv-thumbbox__frame, html body .rv-piece__model, html body.rv-home .lp-first .rv-car--single .rv-prev { aspect-ratio: 1 / 1; }

/* Landing slides near the screen get their own layer early, so they are drawn before they scroll in (mobile). */
.lp-slide { contain: layout paint; }
.lp-slide.is-near .lp-mini { will-change: transform, opacity; }

/* Landing corner credit: plain links (no underline), and the cone, the name and "Created by" on one centre line. */
html body.rv-home .lp-credit, html body.rv-home .rv-footer .rv-arweave { display: flex; align-items: center; gap: 4px; line-height: 20px !important; }
html body.rv-home .lp-credit a, html body.rv-home .rv-footer a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none !important; line-height: 20px !important; }
html body.rv-home .lp-credit img { display: block; width: 20px; height: 20px; }

/* The Signed out toast in the accent colour. */
html body .rv-toast.rv-toast--accent { border-color: var(--pe-accent, var(--accent, #1f6fe5)) !important; background: var(--pe-accent, var(--accent, #1f6fe5)) !important; color: #fff !important; }
/* Frame-a-picture dialog (static/js/cropdlg.js). */
html.rv-crop-open, html.rv-crop-open body { overflow: hidden; }
.rv-crop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rv-crop__box { display: flex; flex-direction: column; gap: 14px; width: min(420px, 100%); padding: 18px; border: 1.5px solid #3a3a3a; border-radius: 18px; background: #1c1c1c; color: #fff; box-sizing: border-box; }
.rv-crop__title { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .7); text-align: center; }
.rv-crop__stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #000; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.rv-crop__stage:active { cursor: grabbing; }
.rv-crop__img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.rv-crop__win { position: absolute; inset: 0; pointer-events: none; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); }
.rv-crop--circle .rv-crop__win { border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .9); }
.rv-crop__zoom { width: 100%; accent-color: var(--pe-accent, #1f6fe5); }
.rv-crop__bar { display: flex; gap: 10px; justify-content: flex-end; }
/* A record with no thumbnail shows its kind's icon right on the theme background. */
.rv-kindmark { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: inherit; background: transparent; color: var(--ink, currentColor); }
.rv-kindmark .rv-kind, .rv-kindmark svg { width: 34%; height: auto; max-width: 64px; }
.rv-kindmark svg { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.rv-row__pic .rv-kindmark svg { width: 70%; }
/* Create page: the thumbnail row is shown (a legacy rule hid it and left an empty pill); the framing dialog replaces drag-to-move. */
html body .cr .pe-cover { display: flex !important; margin-top: 0; }
html body .cr .cr-frame { display: none !important; }
html body .rv-main:focus:not(:focus-visible) { outline: none; }

/* One accent Sign in, top right of every public header (accent = --sel). Replaces the dark glass pills. */
html:not(#j):not(#k):not(#l):not(#m):not(#n) body .rv-signpill {
  background: var(--sel, #1f6fe5) !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  height: 34px !important; min-height: 34px !important; width: auto !important; min-width: 0 !important;
  padding: 0 16px !important; border-radius: 17px !important; font-size: 14px !important; font-weight: 500 !important;
  display: inline-flex !important; align-items: center !important; text-decoration: none !important;
}
html:not(#j):not(#k):not(#l):not(#m):not(#n) body .rv-signpill::before { display: none !important; }
html:not(#j):not(#k):not(#l):not(#m):not(#n) body .rv-signpill:hover { filter: brightness(1.08); }
.rv-learn__chev { width: 16px; height: 16px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Landing "Collect others' records": a soft stack of profile pictures (initials on theme-tinted gradients, no rings) and a pill like the other samples. */
html body .lp-mini--collect { flex-wrap: nowrap; gap: 18px; }
html body .lp-mini--collect .lp-collect__stack { display: flex; align-items: center; opacity: 1; transform: none; animation: none; }
html body .lp-mini--collect .lp-collect__av { display: grid; place-items: center; flex: none; box-sizing: border-box; width: 76px; height: 76px; margin: 0 0 0 -18px; border: 0; border-radius: 50%; color: #fff; font-size: 30px; font-weight: 600; letter-spacing: -0.01em; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); }
html body .lp-mini--collect .lp-collect__av:first-child { margin-left: 0; }
html body .lp-collect__av--1 { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); }
html body .lp-collect__av--2 { background: linear-gradient(135deg, #f0a37a, #d9674a); }
html body .lp-collect__av--3 { background: linear-gradient(135deg, #8fd0b0, #3f9a78); }
html body .lp-mini--collect .lp-collect__more { margin: 0 0 0 16px; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap; }
html body .lp-step.is-on .lp-mini--collect .lp-collect__av { animation: lp-pop 0.5s ease both; animation-delay: calc(0.2s + var(--m, 0) * 0.12s); }
@media (max-width: 640px) {
  html body .lp-mini--collect { gap: 14px; }
  html body .lp-mini--collect .lp-collect__av { width: 60px; height: 60px; margin-left: -14px; font-size: 24px; }
  html body .lp-mini--collect .lp-collect__more { margin-left: 12px; padding: 7px 13px; font-size: 14px; }
}
/* 404 pages: the Records chest over the message. */
.rv-404__chest { display: grid; place-items: center; margin-bottom: 8px; }
.rv-404 .btn--blue { margin-top: 8px; }
/* A record's Shared with list, under it on its own page (owner only). */
.rv-share { box-sizing: border-box; width: min(640px, 100% - 32px); margin: 28px auto 40px; }
.rv-share h2 { margin: 0 0 12px; font-size: 17px; }
.rv-share__list { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.rv-share__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.rv-share__list li > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rv-share__list img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.rv-share__list small { color: var(--muted); }
.rv-share__list form { margin: 0; }
.rv-share__add { display: flex; flex-direction: column; gap: 8px; }
.rv-share__add label { font-size: 13px; color: var(--muted); }
.rv-share__add textarea { width: 100%; box-sizing: border-box; resize: vertical; font: inherit; }
.rv-share__add .btn { align-self: flex-start; }
.rv-share__list b { color: var(--ink); font-weight: 600; }
html body .rv-share__add textarea { min-height: 64px; height: 64px; }

/* A thumbnail's window: a rounded square like the cards (10px on a ~260px card), inset so the picture around it shows dimmed. */
.rv-crop--rect .rv-crop__win { inset: 9%; border-radius: 4.5%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .9); }

/* Sign out and every other red text (remove, clear, delete, error messages) takes the accent colour instead; a hover tints with the accent, not red. */
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-kid--logout,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .addm__item.fm-kid--logout,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm-kid.fm-kid--logout,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .addm__item.fm-kid--logout,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-acct__menu button,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-signout__btn:hover,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-photo__rm,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-photo__rm.fm-kid,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-chipico[data-fm-photo-remove],
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm-filterpop__clear,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-optpop__item--danger,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-optpop .rv-optpop__item--danger,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-pop__opt.rv-pop__clear.rv-optpop__item--danger,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .me-menu .me-menu__out,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-colbar__edit button[data-col-delete]:hover,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-field__msg,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-error { color: var(--pe-accent, var(--accent)) !important; }
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm-kid.fm-kid--logout:hover,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm-kid.fm-kid--logout:focus-visible,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .addm__item.fm-kid--logout:hover,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .addm__item.fm-kid--logout:focus-visible,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm-filterpop__clear:hover,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm-filterpop__clear:focus-visible,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-pop__opt.rv-pop__clear.rv-optpop__item--danger:hover,
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-pop__opt.rv-pop__clear.rv-optpop__item--danger:focus-visible { background: color-mix(in srgb, var(--pe-accent, var(--accent)) 15%, transparent) !important; color: var(--pe-accent, var(--accent)) !important; }
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .fm .fm-signout__btn:hover { border-color: var(--pe-accent, var(--accent)) !important; background: color-mix(in srgb, var(--pe-accent, var(--accent)) 8%, transparent) !important; }
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13):not(#r14):not(#r15):not(#r16):not(#r17):not(#r18):not(#r19):not(#r20):not(#r21):not(#r22):not(#r23):not(#r24):not(#r25):not(#r26):not(#r27):not(#r28):not(#r29):not(#r30):not(#r31):not(#r32):not(#r33):not(#r34):not(#r35):not(#r36):not(#r37):not(#r38):not(#r39) body .rv-error { border-color: color-mix(in srgb, var(--pe-accent, var(--accent)) 50%, transparent) !important; }

/* The landing carousel: no license or type pills over the rotating cards. */
html body .rv-carwrap .rv-car .rv-chips { display: none !important; }

/* The landing carousel: the type icon beside a title is as big as on a profile card (18px). */
html body .rv-carwrap .rv-cap__kind { display: inline-flex; flex: none; }
html body .rv-carwrap .rv-cap__kind .rv-kind { font-size: 0; gap: 0; }
html body .rv-carwrap .rv-cap__kind svg { width: 18px !important; height: 18px !important; }

/* "Signed out.": a bar the full width of the page along the bottom, not a small pill. */
html body .rv-toast.rv-toast--signedout { left: 0; right: 0; bottom: 0; width: auto; max-width: none; margin: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border: 0 !important; border-radius: 0; transform: none; text-align: center; font-size: 14px; box-sizing: border-box; }

/* Every card (the landing carousel, a profile's records and groups, the file manager's grid): the type icon 36px, beside both caption lines (the title and the date). */
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is(.rv-carwrap, .rv-polgrid, .fm-grid, .fm-gtile) .rv-cap { position: relative !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: center !important; gap: 3px !important; min-height: 36px; padding: 10px 2px 2px 48px !important; text-align: left !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is(.rv-carwrap, .rv-polgrid, .fm-grid, .fm-gtile) .rv-cap > .rv-cap__row { justify-content: flex-start !important; padding-left: 0 !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is(.rv-carwrap, .rv-polgrid, .fm-grid, .fm-gtile) .rv-cap > .rv-cap__top { position: static !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is(.rv-carwrap, .rv-polgrid, .fm-grid, .fm-gtile) .rv-cap__kind { position: absolute !important; left: 2px; top: calc(50% + 4px); transform: translateY(-50%); display: grid !important; place-items: center; width: 36px; height: 36px; margin: 0 !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is(.rv-carwrap, .rv-polgrid, .fm-grid, .fm-gtile) .rv-cap__kind svg { width: 36px !important; height: 36px !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body .fm .fm-gtile .rv-cap__kind .fm-gico, html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body .fm .fm-gtile .rv-cap__kind .rv-kind { width: 36px !important; height: 36px !important; border-radius: 0; background: none !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body .fm .fm-gtile .rv-cap__kind .fm-gico svg, html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body .fm .fm-gtile .rv-cap__kind img { width: 36px !important; height: 36px !important; }
/* Add to group: the same rows as the record's menu, with a title and back arrow on top, a check on the groups it's in, New group last. */
.rv-grppop { display: flex; flex-direction: column; }
.rv-grppop__head { display: flex; align-items: center; gap: 4px; padding: 4px 8px 6px 2px; }
.rv-grppop__head b { font-size: 15px; font-weight: 600; color: var(--ink); }
.rv-grppop__back { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 14px; background: none; color: var(--muted); cursor: pointer; }
.rv-grppop__back:hover { background: rgba(127, 127, 127, 0.18); color: var(--ink); }
.rv-grppop__back svg, .rv-grppop__check, .rv-grppop__new svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html body .rv-grppop .rv-grppop__row, html body .rv-grppop .rv-grppop__new { display: flex; align-items: center; gap: 10px; width: 100%; }
.rv-grppop__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-grppop__check { color: var(--accent, #1f6fe5); visibility: hidden; }
.rv-grppop__row.is-on .rv-grppop__check { visibility: visible; }
html body .rv-grppop .rv-grppop__new { color: var(--muted); }
html body .rv-grppop .rv-grppop__new:hover { color: var(--ink); }
.rv-grppop__input { box-sizing: border-box; width: 100%; height: 38px; margin: 2px 0; padding: 0 12px; border: 1px solid var(--accent, #1f6fe5); border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; outline: none; }

/* A user's page (groups and records): no fill behind any thumbnail, in the left column or the main area, light or dark. */
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body .fm :is(.fm-kid .fm-gico, .fm-gtile .fm-gico, .fm-gtile__art, .rv-prev, .rv-prev--real, .rv-prev--hidden, .rv-prev--locked, .rv-row__pic, .fm-secico) { background: none !important; box-shadow: none !important; }
/* Share with (static/js/sharepills.js): the people as pills (photo, display name, @username, x) in a list, then a box to add one more. */
.rv-pills { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.rv-pills__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rv-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 36px; padding: 0 4px 0 0; border: 0; border-radius: 999px; background: rgba(127, 127, 127, 0.14); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
/* The photo fills the pill's round left end, edge to edge. */
.rv-pill img { width: 36px; height: 36px; flex: none; margin: 0; border-radius: 50%; object-fit: cover; }
.rv-pill > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.rv-pill b { overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.rv-pill small { overflow: hidden; font-size: 11px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.rv-pill__x { display: grid; place-items: center; width: 24px; height: 24px; flex: none; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.rv-pill__x:hover { background: rgba(127, 127, 127, 0.2); color: var(--ink); }
html body .rv-pills__input { box-sizing: border-box; width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; outline: none; }
html body .rv-pills__input:focus { border-color: var(--accent, #1f6fe5); }
.rv-pills__msg { margin: 0; font-size: 12px; color: #e5484d; }
/* ...and no outline tile either: a preview with no picture (the All card, a note or locked image) has no border box around its mark. */
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body .fm :is(.fm-gtile__art, .rv-prev, .rv-piece__thumb .rv-prev) { border: 0 !important; }

/* A record shown in the file manager's drawer: just the record on the page's own background, no title, details or panels. */
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39):has(body.rv-insheet), html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet { background: transparent !important; background-image: none !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet::before, html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet::after, html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39):has(body.rv-insheet)::before, html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39):has(body.rv-insheet)::after { display: none !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet :is(.rv-piece__cap, .rv-piecemeta, .rv-actions, .rv-share, .rv-arweave, .rv-ph, .rv-crumbs, .od-nav, .rv-sky, .rv-weather, canvas.rv-fx) { display: none !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet .rv-piece { margin: 0; padding: 0; width: 100%; height: 100vh; max-width: none; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet .rv-piece__media { width: 100%; height: 100%; align-items: stretch; gap: 0; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet :is(.rv-piece__pdf, .rv-piece__video, .rv-piece__thumb, .rv-piece__thumb img) { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0 !important; object-fit: contain; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body.rv-insheet .rv-piece__photo { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
/* ...and it sits at the top of the drawer with 26px of room under the header and at the sides (the same as the content box), not in the middle of the
   space; its title and date are centred just under it (a note's picture, a photo, a PDF's page, a video). The page starts at the top of the drawer:
   it no longer leaves room for the site header it does not show there. */
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet main.rv-main { top: 0 !important; margin-top: 0 !important; padding: 0 !important; overflow-y: auto !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece { display: flex !important; flex-direction: column !important; align-items: center !important; height: auto !important; min-height: 100vh; padding: 26px 26px 24px !important; box-sizing: border-box; gap: 0 !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__media { width: 100% !important; height: auto !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet :is(.rv-piece__pdf, .rv-piece__video, .rv-piece__thumb, .rv-piece__thumb img, .rv-piece__photo) { width: 100% !important; height: auto !important; max-height: calc(100vh - 106px) !important; object-fit: contain !important; object-position: 50% 0 !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__thumb > .rv-prev { aspect-ratio: 4 / 3; height: auto !important; max-height: calc(100vh - 106px) !important; margin-left: auto !important; margin-right: auto !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__cap { display: flex !important; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 14px 0 0 !important; margin: 0 !important; text-align: center; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__row { justify-content: center; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__kind { display: none !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__title { margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.3 !important; text-align: center; overflow-wrap: anywhere; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__sub { display: flex !important; justify-content: center; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__sub > :not(.rv-piece__date) { display: none !important; }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__date { font-size: 13px !important; line-height: 1.3; color: var(--muted); }
html:not(#v0):not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6):not(#v7):not(#v8):not(#v9):not(#v10):not(#v11):not(#v12):not(#v13):not(#v14):not(#v15):not(#v16):not(#v17):not(#v18):not(#v19):not(#v20):not(#v21):not(#v22):not(#v23):not(#v24):not(#v25):not(#v26):not(#v27):not(#v28):not(#v29):not(#v30):not(#v31):not(#v32):not(#v33):not(#v34):not(#v35):not(#v36):not(#v37):not(#v38):not(#v39):not(#v40) body.rv-insheet .rv-piece__date::before { content: none !important; display: none !important; }
/* Buttons in the Add dialog, Group settings and other dialogs, and the record's Share box: the same rounded rectangle as the
   entry boxes beside them (12px corners), not a pill, and no border. */
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) body [data-addm] .btn,
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) body .od-dialog .btn,
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) body .rv-share .btn { border: 0 !important; border-radius: 12px !important; box-shadow: none !important; --btn-bw: 0px; }

/* Every breadcrumb on every page (the page header's path, a profile's path on a wide screen or a phone, an open record's title):
   one slash with the same 8px on each side, and nothing else between the parts. */
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is(.rv-ph__slash, .fm-crumb__sep, [data-crumb-sep]) { display: inline-block; flex: none; margin: 0 8px !important; padding: 0 !important; white-space: normal !important; font-weight: 400 !important; color: var(--muted); }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body [data-crumb-sep][hidden] { display: none !important; }
html:not(#c0):not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6):not(#c7):not(#c8):not(#c9):not(#c10):not(#c11):not(#c12):not(#c13):not(#c14):not(#c15):not(#c16):not(#c17):not(#c18):not(#c19):not(#c20):not(#c21):not(#c22):not(#c23):not(#c24):not(#c25):not(#c26):not(#c27):not(#c28):not(#c29):not(#c30):not(#c31):not(#c32):not(#c33):not(#c34):not(#c35):not(#c36):not(#c37):not(#c38):not(#c39) body :is([data-crumb], [data-crumb-bar], .fm-crumb__rec) { white-space: nowrap; }

/* Every toast (a page's message, a notice, the editor's saved or error message, "it's permanent") is the same full-width bar along the bottom as Signed out. */
html:not(#k0):not(#k1):not(#k2):not(#k3):not(#k4):not(#k5):not(#k6):not(#k7):not(#k8):not(#k9):not(#k10):not(#k11):not(#k12):not(#k13):not(#k14):not(#k15):not(#k16):not(#k17):not(#k18):not(#k19):not(#k20):not(#k21):not(#k22):not(#k23):not(#k24):not(#k25):not(#k26):not(#k27):not(#k28):not(#k29):not(#k30):not(#k31):not(#k32):not(#k33):not(#k34):not(#k35):not(#k36):not(#k37):not(#k38):not(#k39) body .rv-toast { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; z-index: 2147483001; width: auto !important; max-width: none !important; margin: 0 !important; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) !important; border: 0 !important; border-top: 1px solid var(--line-strong, var(--line)) !important; border-radius: 0 !important; transform: none !important; box-sizing: border-box; text-align: center; font-size: 14px; text-decoration: none; box-shadow: none !important; }
html:not(#k0):not(#k1):not(#k2):not(#k3):not(#k4):not(#k5):not(#k6):not(#k7):not(#k8):not(#k9):not(#k10):not(#k11):not(#k12):not(#k13):not(#k14):not(#k15):not(#k16):not(#k17):not(#k18):not(#k19):not(#k20):not(#k21):not(#k22):not(#k23):not(#k24):not(#k25):not(#k26):not(#k27):not(#k28):not(#k29):not(#k30):not(#k31):not(#k32):not(#k33):not(#k34):not(#k35):not(#k36):not(#k37):not(#k38):not(#k39) body .rv-toast.rv-toast--accent { border-top-color: transparent !important; }
html:not(#k0):not(#k1):not(#k2):not(#k3):not(#k4):not(#k5):not(#k6):not(#k7):not(#k8):not(#k9):not(#k10):not(#k11):not(#k12):not(#k13):not(#k14):not(#k15):not(#k16):not(#k17):not(#k18):not(#k19):not(#k20):not(#k21):not(#k22):not(#k23):not(#k24):not(#k25):not(#k26):not(#k27):not(#k28):not(#k29):not(#k30):not(#k31):not(#k32):not(#k33):not(#k34):not(#k35):not(#k36):not(#k37):not(#k38):not(#k39) body .rv-toast.cr-toast.is-bad { border-top: 2px solid #b42318 !important; }
/* ...and a taller bar, with slightly larger words. */
html:not(#n0):not(#n1):not(#n2):not(#n3):not(#n4):not(#n5):not(#n6):not(#n7):not(#n8):not(#n9):not(#n10):not(#n11):not(#n12):not(#n13):not(#n14):not(#n15):not(#n16):not(#n17):not(#n18):not(#n19):not(#n20):not(#n21):not(#n22):not(#n23):not(#n24):not(#n25):not(#n26):not(#n27):not(#n28):not(#n29):not(#n30):not(#n31):not(#n32):not(#n33):not(#n34):not(#n35):not(#n36):not(#n37):not(#n38):not(#n39) body .rv-toast { min-height: 64px; display: flex !important; align-items: center; justify-content: center; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)) !important; font-size: 16px !important; line-height: 1.35; }
html:not(#n0):not(#n1):not(#n2):not(#n3):not(#n4):not(#n5):not(#n6):not(#n7):not(#n8):not(#n9):not(#n10):not(#n11):not(#n12):not(#n13):not(#n14):not(#n15):not(#n16):not(#n17):not(#n18):not(#n19):not(#n20):not(#n21):not(#n22):not(#n23):not(#n24):not(#n25):not(#n26):not(#n27):not(#n28):not(#n29):not(#n30):not(#n31):not(#n32):not(#n33):not(#n34):not(#n35):not(#n36):not(#n37):not(#n38):not(#n39) body .rv-toast.is-gone { opacity: 0; pointer-events: none; }
/* ...on a solid fill with the opposite text: a plain toast is the text colour with the page colour for its words (light on dark, dark on light);
   accent ones stay accent with white words; a problem is solid red. */
html:not(#q0):not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10):not(#q11):not(#q12):not(#q13):not(#q14):not(#q15):not(#q16):not(#q17):not(#q18):not(#q19):not(#q20):not(#q21):not(#q22):not(#q23):not(#q24):not(#q25):not(#q26):not(#q27):not(#q28):not(#q29):not(#q30):not(#q31):not(#q32):not(#q33):not(#q34):not(#q35):not(#q36):not(#q37):not(#q38):not(#q39) body .rv-toast { background: var(--ink, #f4f4f1) !important; color: var(--bg, #050a1c) !important; border-top: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1; }
html:not(#q0):not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10):not(#q11):not(#q12):not(#q13):not(#q14):not(#q15):not(#q16):not(#q17):not(#q18):not(#q19):not(#q20):not(#q21):not(#q22):not(#q23):not(#q24):not(#q25):not(#q26):not(#q27):not(#q28):not(#q29):not(#q30):not(#q31):not(#q32):not(#q33):not(#q34):not(#q35):not(#q36):not(#q37):not(#q38):not(#q39) body .rv-toast.rv-toast--accent { background: var(--pe-accent, var(--accent, #1f6fe5)) !important; color: #fff !important; }
html:not(#q0):not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10):not(#q11):not(#q12):not(#q13):not(#q14):not(#q15):not(#q16):not(#q17):not(#q18):not(#q19):not(#q20):not(#q21):not(#q22):not(#q23):not(#q24):not(#q25):not(#q26):not(#q27):not(#q28):not(#q29):not(#q30):not(#q31):not(#q32):not(#q33):not(#q34):not(#q35):not(#q36):not(#q37):not(#q38):not(#q39) body .rv-toast.cr-toast.is-bad { background: #c3342b !important; color: #fff !important; border-top: 0 !important; }
html:not(#q0):not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10):not(#q11):not(#q12):not(#q13):not(#q14):not(#q15):not(#q16):not(#q17):not(#q18):not(#q19):not(#q20):not(#q21):not(#q22):not(#q23):not(#q24):not(#q25):not(#q26):not(#q27):not(#q28):not(#q29):not(#q30):not(#q31):not(#q32):not(#q33):not(#q34):not(#q35):not(#q36):not(#q37):not(#q38):not(#q39) body .rv-toast.is-gone { opacity: 0 !important; }
/* The create page's messages (Saved, and problems like Add a title) are in the accent colour, white words, like Signed out. */
html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39) body .rv-toast.cr-toast, html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39) body .rv-toast.cr-toast.is-bad { background: var(--pe-accent, var(--accent, #1f6fe5)) !important; color: #fff !important; border-top: 0 !important; }

/* Trash and Following: one list of rows on the page's own background, a hairline between rows. */
.tr { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; color: var(--ink); }
.tr__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.tr__head h2 { margin: 0; font-size: 22px; font-weight: 600; }
.tr__list { margin: 0; padding: 0; list-style: none; }
.tr__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tr__kind { flex: none; display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); }
.tr__kind svg { width: 30px; height: 30px; }
.tr__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.tr__text b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr__text small { color: var(--muted); font-size: 13px; }
.tr__text a { color: inherit; text-decoration: none; }
.tr__text a:hover { color: var(--pe-accent, var(--accent)); }
.tr__item form { margin: 0; }
.tr__act { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.tr__btn { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.tr__btn:hover { border-color: var(--pe-accent, var(--accent)); color: var(--pe-accent, var(--accent)); }
.fw__people { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.fw__person { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; text-decoration: none; }
.fw__person img, .fw__who img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.fw__who { flex: none; display: grid; place-items: center; width: 36px; }
.fw__who img { width: 34px; height: 34px; }
@media (max-width: 560px) { .tr__item { flex-wrap: wrap; } .tr__item form { order: 3; } }

/* The rail's counts (Followers, Following, Engraved; Users, Records, Engraved): three equal boxes across the rail, each with the number over its label, both centred. */
.prof__follows { box-sizing: border-box; display: flex; justify-content: center; gap: 6px; width: 100%; margin: 4px 0 0; font-size: 12px; }
.prof__follows span, .prof__follows a, .prof__follows button { position: relative; z-index: 1; box-sizing: border-box; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--pe-muted, var(--muted)); text-align: center; text-decoration: none; }
.prof__follows span b, .prof__follows a b, .prof__follows button b { max-width: 100%; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.prof__follows a:hover, .prof__follows button:hover { border-color: var(--line-strong, var(--ink)); }

/* /{username}/followers and /{username}/following: a title, a search box, and one card of people with how many records each has created. */
.pl { box-sizing: border-box; max-width: 720px; margin: 0 auto; padding: 24px 20px 60px; color: var(--ink); }
.pl h1 { margin: 0; font-size: 28px; font-weight: 600; }
.pl h1 { margin-bottom: 20px; }
.pl__n { color: var(--muted); font-weight: 400; }
.pl__search { box-sizing: border-box; width: 100%; height: 44px; margin: 0 0 16px; padding: 0 15px 0 40px; border: 1px solid var(--edge, var(--line)); border-radius: 12px; color: var(--ink); font: inherit; font-size: 15px;
              background: var(--toolbar-bg, color-mix(in srgb, var(--ink) 8%, transparent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L20 20'/%3E%3C/svg%3E") 14px 50% / 16px no-repeat; }
/* No clear (x) in the search boxes. */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
/* Friends search: the focus outline is the accent colour, not the browser blue (Rainey, Oct 30). */
.pl__search:focus, .pl__search:focus-visible { outline: none; border-color: var(--pe-accent, var(--accent, #1f6fe5)); box-shadow: 0 0 0 1px var(--pe-accent, var(--accent, #1f6fe5)); }
.pl__list { margin: 0; padding: 4px 15px; list-style: none; border: 1px solid var(--edge, var(--line)); border-radius: 16px; background: var(--toolbar-bg, color-mix(in srgb, var(--ink) 8%, transparent)); }
.pl__list li + li { border-top: 1px solid var(--line); }
/* Friends list: hovering anywhere on a row tints the whole row edge to edge (Rainey, Oct 30). */
.pl__list:has(.pl__row) { padding-top: 0; padding-bottom: 0; overflow: hidden; }
.pl__row { position: relative; }
.pl__row::before { content: ""; position: absolute; inset: 0 -15px; z-index: 0; background: color-mix(in srgb, var(--ink, #fff) 9%, transparent); opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.pl__row:hover::before { opacity: 1; }
.pl__row > * { position: relative; z-index: 1; }
.pl__row { cursor: pointer; }
/* Friends list: Created | Collected | Friends as three small tiles left of the bell, drawn like the profile's stat tiles. */
.pl__tiles { flex: none; display: grid; grid-template-columns: repeat(3, auto); gap: 2px; padding: 4px; border: 1px solid var(--tb-edge, var(--line)); border-radius: 14px; background-color: var(--tb-bg, transparent); background-image: var(--tb-wash, none); }
.pl__tiles > a { cursor: pointer; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 6px 6px; border-radius: 10px; color: var(--muted); font-size: 11px; line-height: 1.2; }
.pl__tiles > a:hover { background: color-mix(in srgb, var(--ink, #fff) 12%, transparent); color: var(--ink); }
.pl__tiles > a b { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.2; }
@media (max-width: 560px) { .pl__tiles > a { min-width: 40px; padding: 5px 3px; font-size: 10px; } }
.pl__list a { display: flex; align-items: center; gap: 12px; padding: 15px 0; color: var(--ink); text-decoration: none; }
.pl__pic { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; color: #fff; font-size: 18px; font-weight: 600;
           background: linear-gradient(135deg, hsl(var(--h) 70% 58%), hsl(calc(var(--h) + 40) 70% 42%)); }
.pl__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl__rec { flex: none; width: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.pl__rec .rv-prev { border-bottom: 0; }
.pl__rec .rv-fmt { display: none; }
.pl__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl__who b { overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pl__who small { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pl__empty { padding: 18px 0; color: var(--muted); font-size: 14px; }

/* The user card on a rail: only the name is a link to their page. */
.fm-who, .on__who { position: relative; }
.prof__cardlink { color: inherit; text-decoration: none; }
.prof__cardlink:hover { text-decoration: underline; }
.prof__follows button { position: relative; z-index: 1; }

/* The three-dot menus (a record's or a group's) draw above everything. Their paint (the bottom toolbar's) is in filemanager.css. */
html body .rv-optpop { z-index: 2147483000; }

/* The archived line under the address in a rail's user card. */
.prof__archived { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.prof__archived a { color: var(--muted); text-decoration: none; }
.prof__archived a:hover { color: var(--ink); text-decoration: underline; }

/* Created and Collected are buttons that look exactly like the Friends link tile. */
.prof__follows button { margin: 0; background: none; font: inherit; font-size: 12px; cursor: pointer; }

/* The Records menu drawer's head on the home page: the archived line is centred and the Users / Records tiles sit inside the drawer's padding, as in the file manager's middle rail. */
.me-menu__head .prof__archived { margin: 6px 0 8px; text-align: center; color: var(--muted); }
.me-menu__head .prof__follows { box-sizing: border-box; width: 100%; max-width: 100%; margin: 0 0 10px; }

/* The Records head in the home page's menu drawer is the same size as the middle rail's: a 168px chest (110px on a phone), the name at 24px and the address at 13px. */
html body.rv-home .me-menu__head .rv-menu__chest { width: auto; height: auto; }
html body.rv-home .me-menu__head .rv-menu__chest :is(svg, img.records-logo) { width: 168px !important; height: auto !important; max-width: 100%; }
html body.rv-home .me-menu__head .me-menu__display { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
html body.rv-home .me-menu__head .me-menu__name { font-size: 13px; }
@media (max-width: 820px) { html body.rv-home .me-menu__head .rv-menu__chest :is(svg, img.records-logo) { width: 110px !important; } }

/* Frame a photo: Cancel has no fill (an outline only), like the other secondary buttons; Save keeps the accent fill. */
html body .rv-crop__bar .btn.btn--black { background: none !important; background-color: transparent !important; background-image: none !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28) !important; color: inherit !important; }
html body .rv-crop__bar .btn.btn--black::before, html body .rv-crop__bar .btn.btn--black::after { display: none !important; }
html body .rv-crop__bar .btn.btn--black:hover { background-color: rgba(127, 127, 127, .14) !important; }
html[data-theme="light"] body .rv-crop__bar .btn.btn--black { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25) !important; }

/* A record's own view (one record, or Preview): its title shows in full and wraps; the icon sits by the first line (Rainey). Grid cards keep the one-line title. */
html body .fm.is-solo .rv-cap__title, html body .fm[data-view="gallery"] .rv-cap__title { align-items: flex-start; }
html body .fm.is-solo .rv-cap__title b, html body .fm[data-view="gallery"] .rv-cap__title b, html body .fm.is-solo .rv-cap__row b, html body .fm[data-view="gallery"] .rv-cap__row b { overflow: visible !important; text-overflow: clip !important; white-space: normal !important; -webkit-line-clamp: unset !important; display: block; overflow-wrap: anywhere; }
html body .fm.is-solo .rv-cap__icon, html body .fm[data-view="gallery"] .rv-cap__icon { margin-top: 2px; }
html body .fm.is-solo .rv-cap__top, html body .fm[data-view="gallery"] .rv-cap__top { align-items: flex-start; }

/* Thumbnail framing (Rainey, Oct 29): the picture is the stage (its own shape, square corners, nothing black around it); a free box with
   eight handles sits on it and moves / resizes to any rectangle; the zoom slider stays under it. The profile-photo circle is unchanged. */
html body .rv-crop--free .rv-crop__stage { align-self: center; width: auto; aspect-ratio: auto; border-radius: 0 !important; background: none !important; cursor: default; }
html body .rv-crop--free .rv-crop__win { inset: auto; border-radius: 0 !important; pointer-events: auto; cursor: move; touch-action: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .95) !important; }
html body .rv-crop--free .rv-crop__h { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; touch-action: none; }
html body .rv-crop--free .rv-crop__h::after { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
html body .rv-crop--free .rv-crop__h--nw { left: 0; top: 0; cursor: nwse-resize; } html body .rv-crop--free .rv-crop__h--n { left: 50%; top: 0; cursor: ns-resize; }
html body .rv-crop--free .rv-crop__h--ne { left: 100%; top: 0; cursor: nesw-resize; } html body .rv-crop--free .rv-crop__h--e { left: 100%; top: 50%; cursor: ew-resize; }
html body .rv-crop--free .rv-crop__h--se { left: 100%; top: 100%; cursor: nwse-resize; } html body .rv-crop--free .rv-crop__h--s { left: 50%; top: 100%; cursor: ns-resize; }
html body .rv-crop--free .rv-crop__h--sw { left: 0; top: 100%; cursor: nesw-resize; } html body .rv-crop--free .rv-crop__h--w { left: 0; top: 50%; cursor: ew-resize; }


/* Crop dialog buttons (Rainey, Oct 29): Save is the New group button (accent fill), Cancel the selected-row look (9% fill, faint 1px ring);
   both 40px, 12px corners, the rail's type. The slider uses the accent. */
html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39):not(#s40):not(#s41):not(#s42):not(#s43):not(#s44):not(#s45):not(#s46):not(#s47):not(#s48):not(#s49):not(#s50):not(#s51):not(#s52):not(#s53):not(#s54):not(#s55):not(#s56):not(#s57):not(#s58):not(#s59):not(#s60):not(#s61):not(#s62):not(#s63):not(#s64):not(#s65):not(#s66):not(#s67):not(#s68):not(#s69):not(#s70):not(#s71):not(#s72):not(#s73):not(#s74):not(#s75):not(#s76):not(#s77):not(#s78):not(#s79):not(#s80):not(#s81):not(#s82):not(#s83):not(#s84):not(#s85):not(#s86):not(#s87):not(#s88):not(#s89):not(#s90):not(#s91):not(#s92):not(#s93):not(#s94):not(#s95):not(#s96):not(#s97):not(#s98):not(#s99):not(#s100):not(#s101):not(#s102):not(#s103):not(#s104):not(#s105):not(#s106):not(#s107):not(#s108):not(#s109):not(#s110):not(#s111):not(#s112):not(#s113):not(#s114):not(#s115):not(#s116):not(#s117):not(#s118):not(#s119):not(#s120):not(#s121):not(#s122):not(#s123):not(#s124):not(#s125):not(#s126):not(#s127):not(#s128):not(#s129):not(#s130):not(#s131):not(#s132):not(#s133):not(#s134):not(#s135):not(#s136):not(#s137):not(#s138):not(#s139) body .rv-crop__bar .btn { height: 40px !important; min-height: 40px !important; padding: 0 16px !important; border: 0 !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 400 !important; background-image: none !important; }
html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39):not(#s40):not(#s41):not(#s42):not(#s43):not(#s44):not(#s45):not(#s46):not(#s47):not(#s48):not(#s49):not(#s50):not(#s51):not(#s52):not(#s53):not(#s54):not(#s55):not(#s56):not(#s57):not(#s58):not(#s59):not(#s60):not(#s61):not(#s62):not(#s63):not(#s64):not(#s65):not(#s66):not(#s67):not(#s68):not(#s69):not(#s70):not(#s71):not(#s72):not(#s73):not(#s74):not(#s75):not(#s76):not(#s77):not(#s78):not(#s79):not(#s80):not(#s81):not(#s82):not(#s83):not(#s84):not(#s85):not(#s86):not(#s87):not(#s88):not(#s89):not(#s90):not(#s91):not(#s92):not(#s93):not(#s94):not(#s95):not(#s96):not(#s97):not(#s98):not(#s99):not(#s100):not(#s101):not(#s102):not(#s103):not(#s104):not(#s105):not(#s106):not(#s107):not(#s108):not(#s109):not(#s110):not(#s111):not(#s112):not(#s113):not(#s114):not(#s115):not(#s116):not(#s117):not(#s118):not(#s119):not(#s120):not(#s121):not(#s122):not(#s123):not(#s124):not(#s125):not(#s126):not(#s127):not(#s128):not(#s129):not(#s130):not(#s131):not(#s132):not(#s133):not(#s134):not(#s135):not(#s136):not(#s137):not(#s138):not(#s139) body .rv-crop__bar .btn.btn--blue { background-color: var(--sel, var(--pe-accent, var(--accent, #1f6fe5))) !important; color: var(--sel-ink, #fff) !important; box-shadow: none !important; }
html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39):not(#s40):not(#s41):not(#s42):not(#s43):not(#s44):not(#s45):not(#s46):not(#s47):not(#s48):not(#s49):not(#s50):not(#s51):not(#s52):not(#s53):not(#s54):not(#s55):not(#s56):not(#s57):not(#s58):not(#s59):not(#s60):not(#s61):not(#s62):not(#s63):not(#s64):not(#s65):not(#s66):not(#s67):not(#s68):not(#s69):not(#s70):not(#s71):not(#s72):not(#s73):not(#s74):not(#s75):not(#s76):not(#s77):not(#s78):not(#s79):not(#s80):not(#s81):not(#s82):not(#s83):not(#s84):not(#s85):not(#s86):not(#s87):not(#s88):not(#s89):not(#s90):not(#s91):not(#s92):not(#s93):not(#s94):not(#s95):not(#s96):not(#s97):not(#s98):not(#s99):not(#s100):not(#s101):not(#s102):not(#s103):not(#s104):not(#s105):not(#s106):not(#s107):not(#s108):not(#s109):not(#s110):not(#s111):not(#s112):not(#s113):not(#s114):not(#s115):not(#s116):not(#s117):not(#s118):not(#s119):not(#s120):not(#s121):not(#s122):not(#s123):not(#s124):not(#s125):not(#s126):not(#s127):not(#s128):not(#s129):not(#s130):not(#s131):not(#s132):not(#s133):not(#s134):not(#s135):not(#s136):not(#s137):not(#s138):not(#s139) body .rv-crop__bar .btn.btn--black { background-color: color-mix(in srgb, var(--ink, #fff) 9%, transparent) !important; color: var(--ink, #fff) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink, #fff) 14%, transparent) !important; }
html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39):not(#s40):not(#s41):not(#s42):not(#s43):not(#s44):not(#s45):not(#s46):not(#s47):not(#s48):not(#s49):not(#s50):not(#s51):not(#s52):not(#s53):not(#s54):not(#s55):not(#s56):not(#s57):not(#s58):not(#s59):not(#s60):not(#s61):not(#s62):not(#s63):not(#s64):not(#s65):not(#s66):not(#s67):not(#s68):not(#s69):not(#s70):not(#s71):not(#s72):not(#s73):not(#s74):not(#s75):not(#s76):not(#s77):not(#s78):not(#s79):not(#s80):not(#s81):not(#s82):not(#s83):not(#s84):not(#s85):not(#s86):not(#s87):not(#s88):not(#s89):not(#s90):not(#s91):not(#s92):not(#s93):not(#s94):not(#s95):not(#s96):not(#s97):not(#s98):not(#s99):not(#s100):not(#s101):not(#s102):not(#s103):not(#s104):not(#s105):not(#s106):not(#s107):not(#s108):not(#s109):not(#s110):not(#s111):not(#s112):not(#s113):not(#s114):not(#s115):not(#s116):not(#s117):not(#s118):not(#s119):not(#s120):not(#s121):not(#s122):not(#s123):not(#s124):not(#s125):not(#s126):not(#s127):not(#s128):not(#s129):not(#s130):not(#s131):not(#s132):not(#s133):not(#s134):not(#s135):not(#s136):not(#s137):not(#s138):not(#s139) body .rv-crop__bar .btn::before, html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39):not(#s40):not(#s41):not(#s42):not(#s43):not(#s44):not(#s45):not(#s46):not(#s47):not(#s48):not(#s49):not(#s50):not(#s51):not(#s52):not(#s53):not(#s54):not(#s55):not(#s56):not(#s57):not(#s58):not(#s59):not(#s60):not(#s61):not(#s62):not(#s63):not(#s64):not(#s65):not(#s66):not(#s67):not(#s68):not(#s69):not(#s70):not(#s71):not(#s72):not(#s73):not(#s74):not(#s75):not(#s76):not(#s77):not(#s78):not(#s79):not(#s80):not(#s81):not(#s82):not(#s83):not(#s84):not(#s85):not(#s86):not(#s87):not(#s88):not(#s89):not(#s90):not(#s91):not(#s92):not(#s93):not(#s94):not(#s95):not(#s96):not(#s97):not(#s98):not(#s99):not(#s100):not(#s101):not(#s102):not(#s103):not(#s104):not(#s105):not(#s106):not(#s107):not(#s108):not(#s109):not(#s110):not(#s111):not(#s112):not(#s113):not(#s114):not(#s115):not(#s116):not(#s117):not(#s118):not(#s119):not(#s120):not(#s121):not(#s122):not(#s123):not(#s124):not(#s125):not(#s126):not(#s127):not(#s128):not(#s129):not(#s130):not(#s131):not(#s132):not(#s133):not(#s134):not(#s135):not(#s136):not(#s137):not(#s138):not(#s139) body .rv-crop__bar .btn::after { display: none !important; }
html:not(#s0):not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12):not(#s13):not(#s14):not(#s15):not(#s16):not(#s17):not(#s18):not(#s19):not(#s20):not(#s21):not(#s22):not(#s23):not(#s24):not(#s25):not(#s26):not(#s27):not(#s28):not(#s29):not(#s30):not(#s31):not(#s32):not(#s33):not(#s34):not(#s35):not(#s36):not(#s37):not(#s38):not(#s39):not(#s40):not(#s41):not(#s42):not(#s43):not(#s44):not(#s45):not(#s46):not(#s47):not(#s48):not(#s49):not(#s50):not(#s51):not(#s52):not(#s53):not(#s54):not(#s55):not(#s56):not(#s57):not(#s58):not(#s59):not(#s60):not(#s61):not(#s62):not(#s63):not(#s64):not(#s65):not(#s66):not(#s67):not(#s68):not(#s69):not(#s70):not(#s71):not(#s72):not(#s73):not(#s74):not(#s75):not(#s76):not(#s77):not(#s78):not(#s79):not(#s80):not(#s81):not(#s82):not(#s83):not(#s84):not(#s85):not(#s86):not(#s87):not(#s88):not(#s89):not(#s90):not(#s91):not(#s92):not(#s93):not(#s94):not(#s95):not(#s96):not(#s97):not(#s98):not(#s99):not(#s100):not(#s101):not(#s102):not(#s103):not(#s104):not(#s105):not(#s106):not(#s107):not(#s108):not(#s109):not(#s110):not(#s111):not(#s112):not(#s113):not(#s114):not(#s115):not(#s116):not(#s117):not(#s118):not(#s119):not(#s120):not(#s121):not(#s122):not(#s123):not(#s124):not(#s125):not(#s126):not(#s127):not(#s128):not(#s129):not(#s130):not(#s131):not(#s132):not(#s133):not(#s134):not(#s135):not(#s136):not(#s137):not(#s138):not(#s139) body .rv-crop__zoom { accent-color: var(--sel, var(--pe-accent, var(--accent, #1f6fe5))) !important; }

/* Landing page (t420u): Sign in, Learn more and Get started are all rounded rectangles, the same 12px radius as the other
   rounded-rect buttons; one rule for all three at every width (the chain + !important outrank the older pill overrides above).
   Colours, sizes and hover are unchanged. */
html { --rv-rr: 999px; }
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .rv-signpill, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .lp-login--buttons .btn, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .lp-cta .btn { border-radius: var(--rv-rr) !important; }
html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .rv-signpill::before, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .rv-signpill::after, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .lp-login--buttons .btn::before, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .lp-login--buttons .btn::after, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .lp-cta .btn::before, html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4):not(#r5) body.rv-home .lp-cta .btn::after { border-radius: inherit !important; }
