/* Archteca · the platform layer (acervo only; built by plataforma.js): accounts, collections, people, discovery,
   creating, and the states around them. Same tokens, radii and motion as the rest (tokens.css, acervo.css). */

/* ---------- Dialogs: a card in the middle on a computer, a sheet from the bottom on a phone ---------- */
.pl-veil { position: fixed; inset: 0; z-index: var(--z-sheet-veil); background: var(--veil); opacity: 0; transition: opacity var(--dur-quick) var(--ease-in); } /* leaving: quick */
.pl-veil.on { opacity: 1; transition: opacity var(--dur-base) var(--ease); }
.pl-dlg { position: fixed; left: 50%; top: 50%; z-index: var(--z-sheet); display: flex; flex-direction: column; width: min(440px, calc(100% - 32px)); max-height: min(720px, 88vh);
  border-radius: var(--r-panel); background: var(--bg); box-shadow: var(--shadow-overlay); opacity: 0; transform: translate(-50%, calc(-50% + 12px)); transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in); } /* leaving: quick, easing in */
.pl-dlg.on { opacity: 1; transform: translate(-50%, -50%); transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); }
.pl-dlg.wide { width: min(820px, calc(100% - 32px)); height: min(640px, 88vh); }
.pl-dlg.mid { width: min(560px, calc(100% - 32px)); }
/* Atividade keeps one size whichever tab is on (2026-11-14, Pedro: "um tamanho fixo… o meio termo" between Tudo, 466px, and Seguindo, 346px): 440px tall, as wide; a long list scrolls inside, a short one leaves room below */
.pl-dlg.act { height: min(440px, 88vh); }
.pl-dlg + .pl-veil, .pl-veil.top { z-index: var(--z-top); } .pl-dlg.top { z-index: var(--z-top); }
.pl-h { flex: none; display: flex; align-items: center; gap: var(--s-12); min-height: 64px; padding: 0 var(--s-14) 0 var(--sp-surface); }
.pl-h h2 { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; }
.pl-x, .pl-back { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); transition: background var(--dur-quick), color var(--dur-quick), transform var(--dur-quick) var(--spring); }
.pl-x:hover, .pl-back:hover { background: var(--surface); color: var(--ink); } .pl-x:active, .pl-back:active { transform: scale(.92); }
.pl-x svg { width: 14px; height: 14px; } .pl-back svg { width: 18px; height: 18px; } .pl-back { margin-left: calc(var(--s-12) * -1); }
.pl-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--sp-surface) var(--sp-surface); }
.pl-f { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-buttons); padding: var(--s-16) var(--sp-surface) calc(var(--s-16) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid transparent; transition: border-color var(--dur-quick); }
.pl-dlg.scrolls .pl-f { border-top-color: var(--line); } /* a hairline only while the body scrolls under the footer */
.pl-f .sp { margin-right: auto; }
.pl-lede { margin: 0 0 var(--s-20); color: var(--muted); line-height: 1.5; }
.pl-fine { margin: var(--s-16) 0 0; color: var(--faint); font-size: var(--fs-sm); line-height: 1.5; }
.pl-in { animation: tile-in var(--dur-base) var(--ease) backwards; } /* backwards, not both: once in, no transform is left on the page (it would hold anything fixed inside it) */
@media (max-width: 700px) {
  .pl-dlg, .pl-dlg.wide, .pl-dlg.mid { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: auto; max-height: 92vh; max-height: 92svh; border-radius: var(--r-sheet) var(--r-sheet) 0 0; transform: translateY(100%); transition: transform var(--dur-base) var(--ease-in), opacity var(--dur-base) var(--ease-in); }
  .pl-dlg.on { transform: none; transition: transform var(--dur-slow) var(--ease), opacity var(--dur-quick); }
  .pl-dlg.wide { height: 92vh; height: 92svh; }
  /* Atividade on a phone is a page, not a sheet: the whole screen, no veil, the pill at its foot (plataforma.js, actOn) */
  .pl-dlg.act { inset: 0; height: auto; max-height: none; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); transform: none; opacity: 0; box-shadow: none; transition: opacity var(--dur-base) var(--ease); }
  .pl-dlg.act.on { opacity: 1; transform: none; }
  .pl-dlg.act .pl-x { display: none; }
  .pl-dlg.act .pl-b { padding-bottom: calc(var(--s-96) + env(safe-area-inset-bottom, 0px)); }
  body:has(.pl-dlg.act.on) .pl-veil { opacity: 0; pointer-events: none; }
  .pl-h { padding-left: var(--s-20); } .pl-b { padding-inline: var(--s-20); } .pl-f { padding-inline: var(--s-20); }
}

/* ---------- Buttons, fields, switches ---------- */
/* buttons and fields are the design system's (.ds-btn, .ds-fld, ds.css) */
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); } .pl-link:hover { text-decoration-color: currentColor; }
.ds-fld > span small { color: var(--faint); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.pl-err { min-height: 0; color: var(--danger); font-size: var(--fs-sm); animation: tile-in var(--dur-base) var(--ease); }
.pl-hint { color: var(--faint); font-size: var(--fs-sm); }
.pl-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-20); padding: var(--s-16) 0; }
.pl-row > span { display: grid; gap: 3px; min-width: 0; } .pl-row b { font-size: var(--fs-base); font-weight: 500; } .pl-row small { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
/* a setting's few answers: the design system's segmented control (.ds-seg, ds.css) */
.pl-saved { color: var(--muted); font-size: var(--fs-sm); opacity: 0; transition: opacity var(--dur-base); } .pl-saved.on { opacity: 1; }
.pl-empty { display: grid; justify-items: center; gap: var(--s-14); padding: var(--s-56) var(--s-20); text-align: center; color: var(--muted); }
.pl-empty b { color: var(--ink); font-size: var(--fs-base); font-weight: 600; } .pl-empty p { margin: 0; max-width: 40ch; line-height: 1.5; }

/* ---------- Menus: the design system's menu (.ds-menu, .ds-mi). Here, only where it sits: fixed under its button on a
   computer, a sheet from the bottom on a phone. ---------- */
.pl-menu { position: fixed; max-width: calc(100vw - 24px); transform-origin: var(--ox, 100%) 0; }
@media (max-width: 700px) {
  .pl-menu { left: 0 !important; right: 0 !important; top: auto !important; bottom: 0; min-width: 0; max-width: none; padding: var(--sp-menu) var(--sp-menu) calc(var(--sp-menu) + env(safe-area-inset-bottom, 0px)); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
    transform: translateY(100%); transition: transform var(--dur-base) var(--ease-in), opacity var(--dur-base) var(--ease-in); }
  .pl-menu.on { transform: none; transition: transform var(--dur-slow) var(--ease), opacity var(--dur-quick); }
  .pl-menu .ds-mi, .pl-menu .ds-mrow { font-size: var(--fs-base); }
}

/* ---------- The header: Entrar when signed out; Criar and Atividade beside the portrait ---------- */
html.pl-out .head .me { display: none; }
.pl-enter { display: none; } html.pl-out .pl-enter { display: inline-flex; }
.pl-hb { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); transition: background var(--dur-quick), transform var(--dur-quick) var(--spring); }
.pl-hb:hover { background: var(--surface); } .pl-hb:active { transform: scale(.92); } .pl-hb svg { width: 20px; height: 20px; }
.pl-hb .dot { position: absolute; right: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--like); box-shadow: 0 0 0 2px var(--bg); }
html.pl-out .pl-hb { display: none; }
html.perfil-novo .head .me-t { display: none; } html.perfil-novo .head .me { width: 40px; height: 40px; padding: 0; justify-content: center; background: none; cursor: pointer; }
html.perfil-novo .head .me-av { width: 34px; height: 34px; }
@media (max-width: 700px) { .pl-hb { display: none; } }

/* ---------- Entrar / Criar conta ---------- */
.pl-auth { display: grid; gap: var(--s-20); padding-top: var(--s-8); }
.pl-auth h3 { margin: 0; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.pl-auth > p { margin: calc(var(--s-12) * -1) 0 0; color: var(--muted); line-height: 1.5; }
.pl-auth .alt { display: flex; justify-content: space-between; gap: var(--s-12); font-size: var(--fs-sm); color: var(--muted); }
.pl-done { display: grid; justify-items: start; gap: var(--s-14); padding: var(--s-8) 0 var(--s-4); }
.pl-done .ok { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); animation: pl-pop var(--dur-slow) var(--spring) both; } .pl-done .ok svg { width: 22px; height: 22px; }
@keyframes pl-pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- Configurações ---------- */
.pl-set { display: grid; grid-template-columns: 220px minmax(0, 1fr); flex: 1; min-height: 0; }
.pl-set nav { display: flex; flex-direction: column; gap: 2px; padding: 0 var(--s-12) var(--s-16); overflow-y: auto; }
.pl-set nav button { display: flex; align-items: center; gap: var(--s-12); min-height: var(--h-row); padding: 0 var(--s-12); border-radius: var(--r-tile); color: var(--muted); font-size: var(--fs-base); text-align: left; transition: background var(--dur-instant), color var(--dur-quick); }
.pl-set nav button:hover { background: var(--surface); color: var(--ink); } .pl-set nav button[aria-current="true"] { background: var(--surface); color: var(--ink); font-weight: 500; }
.pl-set nav svg { width: 20px; height: 20px; }
.pl-set .pane { min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--s-28) var(--s-28); }
.pl-set .pane h3 { margin: 0 0 var(--s-20); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; }
.pl-set .who { display: flex; align-items: center; gap: var(--s-14); margin-bottom: var(--s-20); } .pl-set .who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pl-zone { margin-top: var(--s-32); padding-top: var(--s-20); border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .pl-set { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .pl-set nav { flex-direction: row; gap: var(--s-6); padding: 0 var(--s-20) var(--s-12); overflow-x: auto; scrollbar-width: none; }
  .pl-set nav::-webkit-scrollbar { display: none; }
  .pl-set nav button { flex: none; min-height: 36px; padding: 0 var(--s-14); border-radius: var(--r-pill); } .pl-set nav svg { display: none; }
  .pl-set .pane { padding: var(--s-20); }
}

/* ---------- Collections ---------- */
.pl-colls { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-28) var(--s-16); padding-bottom: var(--s-64); }
.pl-coll { display: grid; gap: var(--s-4); min-width: 0; text-align: left; transition: transform var(--dur-base) var(--ease); }
.pl-coll:active { transform: scale(var(--press-card)); transition-duration: var(--dur-instant); }
.pl-coll b { display: flex; align-items: center; gap: var(--s-6); margin-top: var(--s-8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-base); font-weight: 500; }
.pl-coll b svg { flex: none; width: 14px; height: 14px; color: var(--muted); }
.pl-coll small { color: var(--muted); font-size: var(--fs-sm); }
.pl-cv { display: grid; aspect-ratio: 4 / 3; gap: 2px; overflow: hidden; border-radius: var(--r-img); background: var(--surface); color: var(--faint); transition: filter var(--dur-quick); }
.pl-cv img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pl-cv.n2 { grid-template-columns: 1fr 1fr; } .pl-cv.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; } .pl-cv.n3 img:first-child { grid-row: 1 / 3; }
.pl-cv.n0, .pl-cv.none { place-items: center; } .pl-cv > svg { width: 28px; height: 28px; }
.pl-coll.new .pl-cv { background: none; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .14); color: var(--ink); transition: box-shadow var(--dur-quick); } .pl-coll.new:hover .pl-cv { box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .4); }
/* a photo never darkens under the pointer */
.pl-cpage { padding-bottom: var(--s-96); }
/* A collection's photos as a mosaic (equal columns, each photo at its own height), and the ideas under it */
.pl-mos { display: flex; align-items: flex-start; gap: var(--s-12); }
.pl-mcol { display: flex; flex: 1; flex-direction: column; gap: var(--s-12); min-width: 0; }
.pl-ideas { padding-top: var(--s-40); }
.pl-ideas-t { display: flex; align-items: center; gap: var(--s-16); margin: 0 0 var(--s-24); color: var(--muted); font-size: var(--fs-base); font-weight: 500; }
.pl-ideas-t::before, .pl-ideas-t::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pl-add { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-on-photo); transition: background var(--dur-quick), transform var(--dur-base) var(--spring); }
.pl-add:hover { background: #fff; } .pl-add:active { transform: scale(.92); transition-duration: var(--dur-instant); } .pl-add svg { width: 16px; height: 16px; }
.pl-ideas-more { display: flex; justify-content: center; padding-top: var(--s-32); }
.pl-ideas-more .ds-btn svg { transform: rotate(-90deg); }
@media (max-width: 559px) { .pl-mos, .pl-mcol { gap: var(--s-6); } .pl-add { top: 8px; right: 8px; } }
.pl-ch { display: grid; justify-items: start; gap: var(--s-10); padding: var(--s-32) 0 var(--s-28); }
.pl-crumb { display: inline-flex; align-items: center; gap: var(--s-6); height: 36px; margin-left: calc(var(--s-4) * -1); padding-right: var(--s-10); color: var(--muted); font-size: var(--fs-base); transition: color var(--dur-quick); }
.pl-crumb:hover { color: var(--ink); } .pl-crumb svg { width: 18px; height: 18px; transition: transform var(--dur-quick) var(--ease); } .pl-crumb:hover svg { transform: translateX(-2px); }
.pl-ch h2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12); margin: var(--s-8) 0 0; font-size: var(--fs-title); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
/* Privada, Em análise: the design system's tag (.ds-tag) */
.pl-ch .desc { margin: 0; max-width: 60ch; color: var(--muted); font-size: var(--fs-base); line-height: 1.5; } .pl-ch .meta { margin: 0; color: var(--muted); }
.pl-acts { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-12); }
/* a collection: centred, the back arrow alone in a round button in the corner, the owner's face before the @ */
.pl-ch.coll { justify-items: center; text-align: center; }
.pl-ch.coll > .pl-crumb.ic { justify-self: start; }
.pl-ch.coll h2 { justify-content: center; }
.pl-ch.coll .desc { margin-inline: auto; }
.pl-ch.coll .pl-acts { justify-content: center; }
/* a collection's opening, with air (2026-11-12, Pedro: "muito apertado"): the back button; the title and its byline as
   one; the actions apart from them; and more room before the photos, which keep their 12px between them */
.pl-ch.coll { gap: 0; padding: var(--sp-top) 0 var(--s-48); }
.pl-ch.coll h2 { margin-top: var(--sp-group); }
.pl-ch.coll .meta { margin-top: var(--s-16); }
.pl-ch.coll .desc { margin-top: var(--s-12); }
.pl-ch.coll .pl-acts { margin-top: var(--s-32); }
/* the name and the description edit where they stand: a light ground and a pencil on hover, the caret in the text on a
   click, white with a soft ring while typing (the field's own look in use); no edit mode */
.pl-edw { position: relative; display: inline-block; max-width: 100%; }
.pl-ed { display: inline-block; margin: -2px -10px; padding: 2px 10px; border-radius: var(--r-option); outline: none; cursor: text; white-space: pre-wrap; overflow-wrap: break-word; transition: background var(--dur-quick) var(--ease), box-shadow var(--dur-quick) var(--ease); }
.pl-ed:hover, .pl-ed:focus-visible { background: var(--surface); }
.pl-ed.editing { background: var(--bg); box-shadow: var(--shadow-field-focus); }
.pl-ed-ic { position: absolute; left: 100%; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; margin-left: var(--s-12); translate: 0 -50%; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity var(--dur-quick) var(--ease); }
.pl-ed-ic svg { width: 16px; height: 16px; }
.pl-edw:hover .pl-ed-ic, .pl-ed:focus-visible + .pl-ed-ic { opacity: 1; }
.pl-ed.editing + .pl-ed-ic { opacity: 0; }
.pl-ed.empty:not(.editing)::before { content: attr(data-ph); color: var(--faint); }
@media (hover: none) { .pl-ed-ic { opacity: .6; } } /* no hover on a phone: the pencil stays, faint */
@media (max-width: 700px) { .pl-ch.coll { padding: var(--s-16) 0 var(--s-32); } .pl-ch.coll h2 { margin-top: var(--s-16); } .pl-ch.coll .meta { margin-top: var(--s-12); } .pl-ch.coll .pl-acts { margin-top: var(--s-24); } }
.pl-crumb.ic { justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background var(--dur-quick), transform var(--dur-base) var(--spring); }
.pl-crumb.ic:active { transform: scale(var(--press-icon)); transition-duration: var(--dur-instant); }
.pl-crumb.ic:hover { background: var(--surface-2); }
.pl-ch .meta .who { display: inline-flex; align-items: center; gap: var(--s-6); vertical-align: middle; color: var(--ink); }
.pl-ch .meta .who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.pl-act { display: inline-flex; align-items: center; gap: var(--s-8); height: 40px; padding: 0 var(--s-16) 0 var(--s-12); border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-base); font-weight: 500; transition: background var(--dur-quick), transform var(--dur-base) var(--spring), opacity var(--dur-quick); }
.pl-act:hover { background: var(--surface-2); } .pl-act:active { transform: scale(.96); transition-duration: var(--dur-instant); } .pl-act:disabled { opacity: .38; pointer-events: none; } .pl-act svg { width: 18px; height: 18px; }
.pl-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: var(--s-8); }
.pl-pick.org { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--s-12); padding-bottom: 120px; }
.pl-pk { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-thumb); background: var(--surface); transition: transform var(--dur-base) var(--spring), box-shadow var(--dur-quick); }
.pl-pick.org .pl-pk { border-radius: var(--r-img); }
.pl-pk img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-quick); }
.pl-pk .ck { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: transparent; box-shadow: var(--shadow-mark); transition: background var(--dur-quick), color var(--dur-quick), transform var(--dur-base) var(--spring); } .pl-pk .ck svg { width: 14px; height: 14px; }
.pl-pk[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); transform: scale(.94); } .pl-pk[aria-pressed="true"] .ck { background: var(--ink); color: var(--bg); transform: scale(1.08); }
.pl-pk:active { transform: scale(.96); }
.pl-org-t { margin: 0 0 var(--s-16); color: var(--muted); }
.pl-obar { position: fixed; z-index: var(--z-bar); left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--s-4); max-width: calc(100% - 24px); padding: var(--s-6); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-overlay); transform: translateX(-50%); animation: pl-rise var(--dur-base) var(--ease) backwards; }
/* a selection bar, not page buttons: white over the page (2026-11-12, Pedro, after Cosmos), the count first, actions with
   icons, Pronto the one dark button */
.pl-obar.still { animation: none; }
.pl-ob-n { padding: 0 var(--s-6) 0 var(--s-14); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-obar:not(.has) .pl-ob-n { color: var(--muted); font-weight: 400; }
.pl-ob-x { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); transition: background var(--dur-quick), color var(--dur-quick); } .pl-ob-x:hover { background: var(--surface); color: var(--ink); } .pl-ob-x svg { width: 12px; height: 12px; }
.pl-ob-acts { display: flex; align-items: center; gap: var(--s-2); margin-left: var(--s-8); padding-left: var(--s-8); box-shadow: inset 1px 0 0 var(--line); }
.pl-ob-act { display: inline-flex; align-items: center; gap: var(--s-8); height: var(--h-btn); padding: 0 var(--s-14) 0 var(--s-12); border-radius: var(--r-pill); color: var(--ink); font-weight: 500; white-space: nowrap; transition: background var(--dur-quick), color var(--dur-quick), opacity var(--dur-quick), transform var(--dur-base) var(--spring); }
.pl-ob-act svg { width: 16px; height: 16px; flex: none; }
.pl-ob-act:hover, .pl-ob-act[aria-expanded="true"] { background: var(--surface); } .pl-ob-act.danger:hover { background: var(--danger); color: #fff; }
.pl-ob-act:active, .pl-ob-done:active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
.pl-ob-act:disabled { opacity: .38; pointer-events: none; }
.pl-ob-done { flex: none; height: var(--h-btn); margin-left: var(--s-6); padding: 0 var(--s-20); border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-weight: 500; transition: background var(--dur-quick), transform var(--dur-base) var(--spring); } .pl-ob-done:hover { background: var(--ink-hover); }
/* Mover para…: the collections as a grid of covers, two by two, in a panel over the bar */
.pl-mvp { position: fixed; z-index: var(--z-bar); left: 50%; display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(460px, calc(100% - 24px)); max-height: min(560px, calc(100vh - 160px)); overflow: hidden; border-radius: var(--r-sheet); background: var(--bg); box-shadow: var(--shadow-raised); transform: translateX(-50%); animation: pl-rise var(--dur-base) var(--ease) backwards; }
.pl-mvp-s { display: flex; align-items: center; gap: var(--s-10); height: 56px; padding: 0 var(--s-20); box-shadow: inset 0 -1px 0 var(--line); color: var(--muted); }
.pl-mvp-s svg { flex: none; width: 18px; height: 18px; }
.pl-mvp-s input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-input); }
.pl-mvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-20) var(--s-12); padding: var(--s-16) var(--s-16) var(--s-20); overflow-y: auto; overscroll-behavior: contain; }
.pl-mvp-grid .pl-coll { border-radius: var(--r-option); }
.pl-mvp-grid .pl-coll:hover .pl-cv { filter: brightness(.94); }
@keyframes pl-rise { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (max-width: 700px) {
  .pl-colls { grid-template-columns: 1fr 1fr; gap: var(--s-20) var(--s-10); } .pl-ch { padding-top: var(--s-16); }
  .pl-pick.org { grid-template-columns: 1fr 1fr; } .pl-ob-n { padding-left: var(--s-10); font-size: var(--fs-sm); } .pl-ob-act span { display: none; } .pl-ob-act { width: var(--h-btn); padding: 0; justify-content: center; } /* on a phone the actions are their icons */
  html.acervo-new body:has(.pl-obar) .head-c { opacity: 0; pointer-events: none; }
}

/* ---------- People ---------- */
.pl-ph { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--s-24); padding: var(--s-20) 0 var(--s-32); }
.pl-ph .av { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.pl-ph h2 { margin: 0; font-size: var(--fs-title); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.pl-ph .meta { margin: var(--s-6) 0 0; color: var(--muted); } .pl-ph .bio { margin: var(--s-12) 0 0; max-width: 52ch; font-size: var(--fs-base); line-height: 1.5; }
.pl-ph .stats { display: flex; gap: var(--s-20); margin-top: var(--s-14); }
.pl-stat { color: var(--muted); } .pl-stat b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; } .pl-stat:hover { color: var(--ink); }
.pl-ph .pl-acts { margin-top: var(--s-4); } .pl-act.ic { width: 40px; padding: 0; justify-content: center; }
.pl-sub { margin: var(--s-8) 0 var(--s-20); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; } .pl-sub small { color: var(--muted); font-size: var(--fs-base); font-weight: 400; letter-spacing: 0; }
.pl-pd { display: grid; gap: var(--s-14); padding-top: var(--s-4); } .pl-pd .pl-seg { justify-self: start; max-width: 100%; overflow-x: auto; } .pl-pd .ds-tabs { justify-self: start; }
.pl-pd input[type="search"] { width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: var(--r-pill); background: var(--surface); font: inherit; font-size: var(--fs-input); -webkit-appearance: none; appearance: none; } .pl-pd input[type="search"]:focus { outline: none; background: var(--bg); box-shadow: var(--shadow-field-focus, 0 0 0 1.5px var(--ink)); }
.pl-plist { display: grid; gap: 0; margin-inline: calc(var(--s-12) * -1); min-height: 200px; align-content: start; }
.pl-prow { display: flex; align-items: center; gap: var(--s-12); min-width: 0; padding: var(--sp-row) var(--s-12); border-radius: var(--r-tile); cursor: pointer; transition: background var(--dur-instant); }
.pl-prow:hover, .pl-prow:focus-visible { background: var(--surface); } .pl-prow:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pl-prow > img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; } .pl-prow > img.th { border-radius: var(--r-thumb); }
.pl-prow > span { display: grid; flex: 1; min-width: 0; } .pl-prow b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .pl-prow .line { white-space: normal; line-height: 1.4; } .pl-prow .line b { white-space: normal; }
.pl-prow small { color: var(--muted); font-size: var(--fs-sm); } .pl-prow small.t { flex: none; }
/* Explore's strands */
/* The bar is only the place; the tabs inside it are the design system's (.ds-tabs, ds.css). */
.pl-strands { margin-bottom: 0; }
.pl-following { display: grid; grid-template-columns: minmax(0, 640px) 300px; justify-content: center; gap: var(--s-56); padding-bottom: var(--s-96); }
.pl-following[hidden] { display: none; }
.pl-evs { display: grid; gap: var(--s-40); align-content: start; }
.pl-ev { display: grid; gap: var(--s-10); animation: tile-in var(--dur-slow) var(--ease) both; } .pl-ev .pl-prow { margin-inline: calc(var(--s-12) * -1); } .pl-ev p { margin: 0; color: var(--muted); } .pl-ev p b { color: var(--ink); font-weight: 500; }
.pl-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.pl-strip button { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-thumb); background: var(--surface); transition: transform var(--dur-base) var(--ease); } .pl-strip button:active { transform: scale(var(--press-card)); }
.pl-strip img { width: 100%; height: 100%; object-fit: cover; }
.pl-sug { position: sticky; top: calc(var(--head) + var(--s-24)); align-self: start; display: grid; gap: 2px; } .pl-sug h3 { margin: 0 0 var(--s-10); font-size: var(--fs-base); font-weight: 500; color: var(--muted); } .pl-sug .pl-prow { margin-inline: calc(var(--s-12) * -1); }
@media (max-width: 900px) {
  .pl-following { grid-template-columns: minmax(0, 1fr); gap: var(--s-32); } .pl-sug { position: static; order: -1; }
  .pl-ph { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-16); padding: var(--s-24) 0; } .pl-ph .av { width: 64px; height: 64px; } .pl-ph .pl-acts { grid-column: 1 / -1; }
}

/* ---------- Discovery ---------- */
.pl-disc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-40); margin-bottom: 0; } .pl-disc section { min-width: 0; } .pl-disc[hidden], .pl-selpage[hidden] { display: none; }
.pl-disc h2, .pl-h2 { margin: 0 0 var(--s-16); font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; } .pl-h2 { margin: 0; }
.pl-rail { display: flex; gap: var(--s-12); margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) var(--s-4); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.pl-rail::-webkit-scrollbar { display: none; } .pl-rail > * { flex: none; scroll-snap-align: start; } .pl-rail .pl-coll { width: min(300px, 72vw); }
.pl-trend { display: inline-flex; align-items: center; gap: var(--s-10); height: 48px; padding: 0 var(--s-20) 0 var(--s-6); border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-base); transition: background var(--dur-quick), transform var(--dur-base) var(--spring); }
.pl-trend:hover { background: var(--surface-2); } .pl-trend:active { transform: scale(.97); transition-duration: var(--dur-instant); } .pl-trend img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.pl-selpage { padding-bottom: var(--s-96); }
/* Explore's themes open the page, right under the header; the trending searches and the references follow them */
.pl-mf { display: flex; align-items: center; gap: var(--s-8); margin: 0; }
/* the small labels of Explorar: over the trending searches (Buscas em alta) and over the references (Resultados · the theme) */
.pl-label { display: block; margin: 0 0 var(--s-12); color: var(--muted); font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; } .pl-label-sep { color: var(--faint); }
.pl-restitle { margin: 0 0 var(--s-16); } .pl-restitle[hidden] { display: none; }
/* the themes and the colour are the design system's chip (.ds-chip, ds.css) */
.pl-mf[hidden] { display: none; }
/* the row of themes is its own scroller at every width (so its edges can fade); on a phone it runs to the screen's edges */
.pl-mf > .ds-chips.run { flex: 1 1 auto; min-width: 0; }
@media (max-width: 700px) { .pl-mf > .ds-chips.run { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); max-width: none; } }
.pl-colorb { margin-left: auto; }
/* the edge the themes run past fades out (72px), so the row reads as having more */
.pl-mf .ds-chips.run.more-r { -webkit-mask-image: linear-gradient(to right, black calc(100% - 72px), transparent); mask-image: linear-gradient(to right, black calc(100% - 72px), transparent); }
.pl-mf .ds-chips.run.more-l { -webkit-mask-image: linear-gradient(to right, transparent, black 72px); mask-image: linear-gradient(to right, transparent, black 72px); }
.pl-mf .ds-chips.run.more-l.more-r { -webkit-mask-image: linear-gradient(to right, transparent, black 72px, black calc(100% - 72px), transparent); mask-image: linear-gradient(to right, transparent, black 72px, black calc(100% - 72px), transparent); }
/* Mobiliário's one row fades at the edge like Explorar's themes when it runs past the screen (2026-11-14) */
html.acervo-new #fspaces .trow.more-r { -webkit-mask-image: linear-gradient(to right, black calc(100% - 72px), transparent); mask-image: linear-gradient(to right, black calc(100% - 72px), transparent); }
html.acervo-new #fspaces .trow.more-l { -webkit-mask-image: linear-gradient(to right, transparent, black 72px); mask-image: linear-gradient(to right, transparent, black 72px); }
html.acervo-new #fspaces .trow.more-l.more-r { -webkit-mask-image: linear-gradient(to right, transparent, black 72px, black calc(100% - 72px), transparent); mask-image: linear-gradient(to right, transparent, black 72px, black calc(100% - 72px), transparent); }
/* the profile's tones (ds-tones), as tall as the theme chips beside them */
.pl-mf .ds-tones { flex: none; height: var(--h-btn); } @media (max-width: 700px) { .pl-mf .ds-tones { height: var(--h-chip); } }
.pl-tonebox { display: grid; gap: var(--s-12); padding: var(--s-10); } .pl-tonebox b { font-weight: 500; }
.pl-tones { display: grid; grid-template-columns: repeat(6, 32px); gap: var(--s-8); }
.pl-tones button { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .1); transition: transform var(--dur-base) var(--spring); } .pl-tones button:hover { transform: scale(1.12); } .pl-tones button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.pl-custom { display: flex; align-items: center; gap: var(--s-10); color: var(--muted); font-size: var(--fs-sm); cursor: pointer; } .pl-custom input { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
@media (max-width: 700px) { .pl-tones { grid-template-columns: repeat(6, 1fr); justify-items: center; } .pl-tones button { width: 40px; height: 40px; } }
/* a search's results by kind */
.pl-res { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--s-8); padding: var(--s-20) 0 var(--s-16); } .pl-res[hidden], .pl-resbox[hidden] { display: none; }
/* the themes never touch the references under them (in a search the small "Resultados" label is not there to part them) */
main.pl-res-on > .pl-mf { margin-bottom: var(--s-16); }
/* A search in the row of filters: the search as a chosen pill (the dark ring of anything that is on, its × lets it go),
   then the kind of result as a dropdown, a divider, and the page's own filters or themes (2026-11-14) */
html.acervo-new .pl-q { display: inline-flex; align-items: center; flex: none; height: var(--h-btn); padding-right: var(--s-10); border-radius: var(--r-pill); background: var(--bg); box-shadow: var(--ring-chip-on); }
html.acervo-new .pl-q-v { display: block; max-width: min(280px, 46vw); height: 100%; padding: 0 var(--s-4) 0 var(--s-16); overflow: hidden; color: var(--ink); font-size: var(--fs-base); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
html.acervo-new .pl-q-x { position: relative; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-left: var(--s-2); border-radius: 50%; background: var(--ink); color: var(--bg); transition: background var(--dur-quick); }
html.acervo-new .pl-q-x:hover { background: var(--ink-hover); } html.acervo-new .pl-q-x svg { width: 10px; height: 10px; }
html.acervo-new .pl-q-x::after { content: ''; position: absolute; inset: calc(-1 * var(--s-12)) calc(-1 * var(--s-12)) calc(-1 * var(--s-12)) calc(-1 * var(--s-6)); }
html.acervo-new .pl-kind.ds-chip.refine { flex: none; background: var(--bg); color: var(--ink); box-shadow: var(--ring-chip); } html.acervo-new .pl-kind.ds-chip.refine:is(:hover, [aria-expanded="true"]) { background: var(--bg); box-shadow: inset 0 0 0 1px var(--faint); }
html.acervo-new .pl-kind sup { margin-left: var(--s-2); color: var(--faint); font-size: var(--fs-sm); font-weight: 400; line-height: 1; }
html.acervo-new .pl-q-v { line-height: var(--h-btn); } /* the name sits on the pill's middle line, button or not */
@media (max-width: 700px) { html.acervo-new .pl-q { height: var(--h-chip); } html.acervo-new .pl-q-v { line-height: var(--h-chip); } }
main.pl-res-on > :is(.filters, .pchips) > :is(.count, .fchip.typed), #pg-projects.pl-res-on > .pchips > .fchip.scope { display: none; } /* said by the pills now */
main.pl-res-on > .filters:not(.by-lens):not(:has(.fchip:not(.typed))), #pg-projects.pl-res-on > .pchips:not(:has(.fchip:not(.typed, .scope))) { display: none; }
#pg-projects.pl-res-on:has(> .pchips:not(:has(.fchip:not(.typed, .scope)))) > .ptools, #pg-furniture.pl-res-on:has(> .pchips:not(:has(.fchip:not(.typed)))) > .ptools { margin-bottom: var(--s-16); } /* the row of filters keeps its distance from the grid once the chip's line is gone */
.pl-qx[hidden] { display: none; } .has-qx .kbd { display: none; } .pl-qx svg { width: 14px; height: 14px; color: var(--muted); }
main.pl-res-alt > :not(.pl-res):not(.pl-resbox):not(.vh) { display: none !important; }
.pl-resbox { padding-bottom: var(--s-96); } .pl-plist.wide { max-width: 560px; margin-inline: 0; }
html.acervo-new main.pl-res-on > .hero { display: none; }
@media (max-width: 700px) { html.acervo-new main.pl-res-on > .qrow { top: calc(env(safe-area-inset-top, 0px) + var(--head)); } .pl-res .ds-tabs { max-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } }

/* ---------- Creating ---------- */
.pl-drop { display: grid; justify-items: center; gap: var(--s-6); width: 100%; padding: var(--s-40) var(--s-20); border-radius: var(--r-card); background: var(--surface); color: var(--ink); transition: background var(--dur-quick), box-shadow var(--dur-quick), transform var(--dur-base) var(--spring); }
.pl-drop:hover, .pl-drop.over { background: var(--surface-2); } .pl-drop.over { box-shadow: inset 0 0 0 2px var(--ink); } .pl-drop:active { transform: scale(var(--press-card)); }
.pl-drop svg { width: 24px; height: 24px; } .pl-drop b { font-weight: 500; } .pl-drop small { color: var(--muted); font-size: var(--fs-sm); }
.pl-drop.busy { pointer-events: none; } .pl-drop.busy:not(:has(.ds-fill)) { opacity: .6; } .pl-drop.sm .ds-fill { height: 28px; } .pl-drop.sm { aspect-ratio: 1; padding: 0; align-content: center; border-radius: var(--r-thumb); }
.pl-newref { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s-20); padding-top: var(--s-8); align-items: start; } .pl-newref > img { width: 100%; border-radius: var(--r-card); background: var(--surface); }
.ds-fields.two { grid-template-columns: 1fr 1fr; }
.pl-steps { display: flex; gap: var(--s-20); margin: 0 0 var(--s-20); padding: 0; list-style: none; color: var(--faint); font-size: var(--fs-sm); }
.pl-steps li { display: flex; align-items: center; gap: var(--s-8); transition: color var(--dur-base); } .pl-steps li.now { color: var(--ink); font-weight: 500; } .pl-steps li.done { color: var(--muted); }
.pl-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; transition: background var(--dur-base), color var(--dur-base); } .pl-steps .now span, .pl-steps .done span { background: var(--ink); color: var(--bg); } .pl-steps svg { width: 12px; height: 12px; }
.pl-upl { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--s-8); margin-bottom: var(--s-12); }
.pl-upl figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-thumb); background: var(--surface); animation: tile-in var(--dur-base) var(--ease) both; } .pl-upl img { width: 100%; height: 100%; object-fit: cover; }
.pl-upl figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); font-size: var(--fs-sm); font-weight: 500; }
.pl-upl figure button { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); } .pl-upl figure button svg { width: 10px; height: 10px; }
.pl-check { display: flex; align-items: flex-start; gap: var(--s-12); padding: var(--s-4) 0; text-align: left; line-height: 1.45; }
.pl-check > span { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 17, .3); color: transparent; transition: background var(--dur-quick), box-shadow var(--dur-quick), transform var(--dur-base) var(--spring); } .pl-check > span svg { width: 14px; height: 14px; }
.pl-check[aria-checked="true"] > span { background: var(--ink); box-shadow: none; color: var(--bg); transform: scale(1.06); }
.pl-review { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-24); align-items: start; } .pl-review > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.pl-review dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); margin: 0; } .pl-review dt, .pl-review dd { margin: 0; padding: var(--s-10) 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; } .pl-review dt { color: var(--muted); } .pl-review dt:first-of-type, .pl-review dd:first-of-type { border-top: 0; padding-top: 0; }
.pl-sent { display: grid; padding-bottom: var(--s-64); } .pl-srow { display: flex; align-items: center; gap: var(--s-16); padding: var(--s-14) 0; border-top: 1px solid var(--line); } .pl-srow:first-child { border-top: 0; }
.pl-srow > img { flex: none; width: 88px; height: 66px; border-radius: var(--r-thumb); object-fit: cover; } .pl-srow > span:not(.ds-tag) { display: grid; flex: 1; min-width: 0; gap: 2px; } .pl-srow b { font-weight: 500; } .pl-srow small { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 700px) { .pl-newref, .pl-review { grid-template-columns: 1fr; } .pl-newref > img { max-height: 200px; object-fit: cover; } .ds-fields.two { grid-template-columns: 1fr; } .pl-steps { gap: var(--s-12); } .pl-steps li:not(.now) { font-size: 0; gap: 0; } .pl-srow { flex-wrap: wrap; } .pl-srow > img { width: 64px; height: 48px; } }

/* ---------- States ---------- */
.pl-radios { display: grid; gap: 2px; margin-inline: calc(var(--s-10) * -1); }
.pl-radios button { display: flex; align-items: center; gap: var(--s-12); min-height: 44px; padding: 0 var(--s-10); border-radius: var(--r-option); text-align: left; transition: background var(--dur-instant); } .pl-radios button:hover { background: var(--surface); }
.pl-radios button > span { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 17, .3); transition: box-shadow var(--dur-base) var(--spring); } .pl-radios button[aria-checked="true"] > span { box-shadow: inset 0 0 0 6px var(--ink); }
.pl-snack { position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--s-16); max-width: calc(100% - 24px); padding: var(--s-12) var(--s-12) var(--s-12) var(--s-20); border-radius: var(--r-pill); background: var(--glass-toast); -webkit-backdrop-filter: var(--glass-panel-frost); backdrop-filter: var(--glass-panel-frost); color: var(--ink); font-size: var(--fs-base); box-shadow: var(--shadow-raised);
  opacity: 0; transform: translate(-50%, 12px); transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); } .pl-snack.on { opacity: 1; transform: translate(-50%, 0); }
.pl-snack button { height: 32px; padding: 0 var(--s-14); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-weight: 500; white-space: nowrap; } .pl-snack button:hover { background: var(--surface-2); }
.pl-lost[hidden] { display: none; } .pl-lost .pl-empty { min-height: 60vh; align-content: center; } .pl-lost .mk { display: block; color: var(--ink); animation: pl-pop var(--dur-slow) var(--spring) both; } .pl-lost .mk svg { display: block; height: 40px; width: auto; aspect-ratio: 330 / 200; fill: currentColor; }
html.pl-is-lost main.page:not(.pl-lost) { display: none !important; }

/* Mobiliário is a page of the header again, beside Projetos and Explorar (2026-11-12) */

/* ---------- The profile on a computer: one centred column, nearer together (between Cosmos and Savee) ---------- */
@media (min-width: 761px) {
  html.perfil-novo .p-clean { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding-block: var(--s-56) var(--s-48); text-align: center; }
  html.perfil-novo .p-clean .p-name { display: contents; }
  html.perfil-novo .p-clean > :first-child { order: 1; margin-bottom: var(--s-20); }
  html.perfil-novo .p-clean .p-name h2 { order: 2; font-size: var(--fs-title); }
  html.perfil-novo .p-clean .p-meta { order: 3; justify-content: center; margin-top: var(--s-6); font-size: var(--fs-base); }
  html.perfil-novo .p-clean .pc-right { order: 4; justify-content: center; min-height: 0; margin-top: var(--s-16); }
  html.perfil-novo .p-clean .p-stats { gap: var(--s-14); font-size: var(--fs-base); }
  html.perfil-novo .p-clean .p-acts { order: 5; justify-content: center; margin-top: var(--s-20); }
  html.perfil-novo .p-clean .prof-av { width: 88px; height: 88px; }
  /* the tabs in the middle, the order on the right, on one line */
  html.perfil-novo #prof-body > .p-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: var(--s-24); }
  html.perfil-novo #prof-body > .p-bar > .ds-tabs { grid-column: 2; }
  html.perfil-novo #prof-body > .p-bar > :not(.ds-tabs) { grid-column: 3; justify-self: end; }
  /* the one-bar header: who on the left, the tabs on the bar's line, the tones and Editar perfil on the right */
  .p-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: var(--s-24); margin: 0 calc(-1 * var(--gutter)) var(--sp-block); padding: var(--sp-open) var(--gutter) 0; border-bottom: 1px solid var(--line); }
  .pt-id { display: flex; align-items: center; gap: var(--s-20); min-width: 0; padding-bottom: 28px; }
  .pt-id .prof-av { width: 80px; height: 80px; flex: none; } /* larger, about the height of the three lines beside it (2026-11-12, Pedro: "deixar a foto de perfil maior") */
  .pt-id .av-pair .studio { width: 40%; height: 40%; right: -4px; }
  .pt-txt { display: grid; gap: 0; min-width: 0; } /* the name sits on its @ and studio; the counts stand apart (2026-11-12, Pedro: "o Pedro Dias… mais próximo do @ e do studio… e o follow com mais espaço") */
  .pt-txt h2 { margin: 0 0 var(--s-2); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.025em; line-height: 26px; }
  .pt-txt .p-meta { margin: 0; font-size: var(--fs-base); }
  .pt-stats { display: flex; gap: var(--s-6); margin: var(--s-16) 0 0; color: var(--muted); font-size: var(--fs-base); } /* one step up the scale, 12 → 15px (2026-11-15, Pedro: "essa fonte do followers e following tá muito pequena, vamos subir um") */
  .pt-stats b { color: var(--ink); font-weight: 500; }
  .pt-stats span + span::before { content: "·"; margin-right: var(--s-6); color: var(--faint); }
  /* the tabs here are .ds-tabs.rule: they sit on the header's line */
  .pt-right { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-12); padding-bottom: 28px; }
  .pt-right .p-acts { margin: 0; }
  .pt-right .pill.line { height: 48px; padding-inline: var(--s-16); }
}
.pill.ic { width: 34px; padding: 0; } .pill.ic svg { width: 16px; height: 16px; }
.p-acts .pill.ic { height: auto; align-self: stretch; aspect-ratio: 1; }
/* Filtrar, beside Editar perfil: its menu hangs from the button, right-aligned; a dark dot says something is on */
.p-filt { position: relative; display: flex; align-self: stretch; }
.p-filt .pill.ic { position: relative; height: auto; aspect-ratio: 1; }
.p-filt .pill.ic[aria-expanded="true"] { background: var(--surface-2); }
.p-filt .pill.ic.on::after { content: ''; position: absolute; top: var(--s-8); right: var(--s-8); width: var(--s-8); height: var(--s-8); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.p-filtpop { position: absolute; top: calc(100% + var(--s-8)); right: 0; left: auto; --ox: calc(100% - 24px); }
@media (max-width: 760px) { .p-filtpop { left: 0; right: auto; --ox: 24px; } } /* on a phone the buttons start at the left edge: the menu opens rightwards */
.p-filt-l { margin: 0; padding: var(--s-8) var(--s-12) var(--s-4); color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
/* an open post's column, on acervo, ends where the screen does */
html.acervo-new .lb.has-left .lb-f6 { padding-bottom: var(--s-24); }

/* ---------- Explore: the collection's index (instead of cards) ---------- */
.pl-index { display: grid; padding: var(--sp-block) 0 var(--sp-open); } /* no label, no trends, no rule: only the words */
/* in Explorar, the same air to the eye above and below the trending searches: the big words' line-height already adds
   about 8px under them, so the space under is set 8px less (2026-11-13, Pedro: "aumentar um pouco proporcional e alinhar
   mais óptico… o de cima está menor do que o de baixo") */
:is(#pg-feed, #pg-furniture) .pl-index { padding: var(--s-64) 0 var(--s-56); }
@media (max-width: 700px) { :is(#pg-feed, #pg-furniture) .pl-index { padding: var(--s-40) 0 var(--s-32); } } /* the same balance, at the phone's scale (22px words) */
.pl-ilb { margin: 0; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.pl-iwords { margin: 0; max-width: none; /* the whole width (2026-11-12) */ font-size: var(--fs-index); font-weight: 500; letter-spacing: -.035em; line-height: 1.32; text-wrap: pretty; }
.pl-iw { display: inline; margin-right: .62em; padding: 0; color: var(--ink); text-align: left; font: inherit; letter-spacing: inherit; animation: pl-iw-in var(--dur-slow) var(--ease) both; animation-delay: calc(var(--i) * var(--stagger)); transition: color var(--dur-quick); }
.pl-iw sup { margin-left: .08em; color: var(--faint); font-size: var(--fs-sm); font-weight: 400; letter-spacing: 0; vertical-align: 1.5em; font-variant-numeric: tabular-nums; }
.pl-iwords:hover .pl-iw { color: var(--faint); } .pl-iwords .pl-iw:hover, .pl-iwords .pl-iw:focus-visible { color: var(--ink); }
.pl-iw:active span { opacity: .6; }
@keyframes pl-iw-in { from { opacity: 0; filter: blur(4px); } }
.pl-itrend { margin: 0; color: var(--muted); font-size: var(--fs-base); line-height: 1.6; }
.pl-itrend button { padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; transition: text-decoration-color var(--dur-quick); } .pl-itrend button:hover { text-decoration-color: currentColor; }
.pl-peek { position: fixed; left: 0; top: 0; z-index: var(--z-top); width: 180px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-img); background: var(--surface); box-shadow: var(--shadow-overlay); pointer-events: none;
  opacity: 0; scale: .9; transition: opacity var(--dur-quick) var(--ease), scale var(--dur-base) var(--spring); }
.pl-peek.on { opacity: 1; scale: 1; } .pl-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .pl-iwords { max-width: none; line-height: 1.3; } .pl-iwords:hover .pl-iw { color: var(--ink); } }
/* Mobiliário: its categories as the same index; a picked category stays dark and the others fade */
.pl-index.fx .pl-iw { animation: none; }
.pl-index.fx:has(.pl-iw[aria-pressed="true"]:not(:first-child)) .pl-iw:not([aria-pressed="true"]) { color: var(--faint); }
.pl-index.fx .pl-iwords:hover .pl-iw[aria-pressed="true"] { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .pl-iw { animation: none; } .pl-peek { transition: opacity var(--dur-quick); } }

/* The studio's mark as a small seal over the corner of the portrait, not a second portrait beside it */
html.perfil-novo .av-pair { position: relative; display: inline-flex; width: max-content; } /* as a grid item it stretched across the row and the studio badge landed at the far right */
html.perfil-novo .av-pair > :first-child { box-shadow: none; }
html.perfil-novo .av-pair .studio { position: absolute; right: -2px; bottom: -2px; z-index: 2; width: 36%; height: 36%; margin: 0; font-size: var(--fs-sm); box-shadow: 0 0 0 3px var(--bg); }
html.perfil-novo .av-pair .studio svg { width: 55%; height: 55%; }
html.perfil-novo .av-pair .studio.logo { box-shadow: 0 0 0 3px var(--bg), inset 0 0 0 1px rgba(17, 17, 17, .06); }

/* acervo: the divider between the open post and "Mais para explorar" always shows its grip (quieter until pointed at),
   so nobody has to guess the column can be resized */
html.acervo-new .lb-split::before { opacity: .07; }
html.acervo-new .lb-grip { opacity: 1; transform: none; height: 32px; margin-top: -16px; }
html.acervo-new .lb-split:is(:hover, :focus-visible) .lb-grip { opacity: 1; height: 44px; margin-top: -22px; }
html.acervo-new.lb-splitting .lb-grip { height: 64px; margin-top: -32px; }
/* Mobiliário: the same room between its filters (Ambientes, Tipo, Materiais) and the pieces as Explorar's tags have */
html.acervo-new #pg-furniture #fspaces { margin-bottom: 0; } /* the index's own padding spaces it, as in Explorar */

/* ---------- Filter rows on acervo: one chip everywhere (.ds-chip), 8px apart, no rules between them ---------- */
html.acervo-new .trow { gap: var(--sp-chips); padding-inline: 0; }
html.acervo-new .trow .sep-v { display: none; }
html.acervo-new .am-chips { gap: var(--sp-chips); }
html.acervo-new .am-kids .ds-chip { background: var(--bg); }
html.acervo-new .am-kids .ds-chip[aria-pressed="true"] { background: var(--ink); }
/* Projects: the typology chips take the first line, Destaques and Todos os filtros at its far end; under them the kinds
   that open a list, with the count at the far end (plataforma.js moves the count down into .pl-fline). */
html.acervo-new .mtools { padding-bottom: var(--s-16); }
html.acervo-new #fcd { flex: 1 1 auto; }
.pl-fline { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-12) var(--s-24); padding-bottom: var(--sp-block); }
.pl-fline > .fcd-below { flex: 1 1 auto; min-width: 0; }
.pl-fline > .mshow { margin-left: auto; align-self: center; }
.pl-fline .trow { padding-block: 0; }
@media (max-width: 700px) { .pl-fline { display: none; } }
/* the search panel's suggestions are pills too */
html.acervo-new .rchip { border-radius: var(--r-pill); } html.acervo-new .rchip :is(img, .sw) { border-radius: 50%; }

/* ---------- Buttons on acervo: three heights for anything with a label (34 · 40 · 48), 36px for a round icon
   button, 44px for the search field. The site's own pills (.pill, .go, .pp-follow) take the same heights here. ---------- */
html.acervo-new .pill.big, html.acervo-new .pill.cta-glow, html.acervo-new .fs-foot .go { height: var(--h-btn-lg); padding: 0 var(--s-24); }
html.acervo-new .mpop-foot .go, html.acervo-new .pp-follow { height: var(--h-btn-sm); }
html.acervo-new :is(.pill:is(.dark, .cta-glow), .fs-foot .go, .mpop-foot .go, .pl-trend):active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
/* round icon buttons: 36px, and they give a little more when pressed (.92) */
html.acervo-new .lang-b { height: var(--h-ib); }
html.acervo-new .pp-x { width: var(--h-ib); height: var(--h-ib); margin: 0 0 0 auto; }
html.acervo-new :is(.gtile, .pitem) .card-save { width: var(--h-ib); height: var(--h-ib); } html.acervo-new :is(.gtile, .pitem) .card-save svg { width: 18px; height: 18px; }
html.acervo-new :is(.lb-back, .pp-x, .fs-head > .x):active { transform: scale(var(--press-icon)); transition-duration: var(--dur-instant); }
/* the search field keeps one height, so the header does not move when it takes the focus */
/* the header carries the mark alone, without the name beside it, and a narrower field (2026-11-13, Pedro: "remover o nome
   Archteca e deixar somente a logo" / "diminuir um pouco o tamanho da barra") */
html.acervo-new .head .mark span, html.acervo-new .pl-sp-h .mark span { display: none; }
@media (min-width: 701px) { html.acervo-new .head-c { width: min(420px, 32vw); } } /* the computer's header only: on a phone the field floats at the bottom, full width */
@media (min-width: 861px) { html.acervo-new .head-c:focus-within, html.acervo-new body.lensing .head-c { width: min(540px, 40vw); } } /* and while the image or colour panel is open: the panel hangs from the bar and must not change width under the pointer */
@media (min-width: 701px) and (max-width: 860px) { html.acervo-new .head-c, html.acervo-new .head-c:focus-within { max-width: 420px; } }
@media (min-width: 701px) {
  html.acervo-new .head .tsearch, html.acervo-new .head .tsearch:focus-within { height: var(--h-search); padding-right: var(--s-4); }
  html.acervo-new .head .tsearch .ib { width: var(--h-ib); height: var(--h-ib); }
}

/* ---------- The site's own menus and dialogs, on acervo: the same numbers as the design system's menu and the
   platform's dialog (20px corners, 8px inside, rows of 44px; a 64px header with 24px at the side, no rule under it). ---------- */
html.acervo-new :is(.lang-m, .sv-menu) { padding: var(--sp-menu); border-radius: var(--r-sheet); }
html.acervo-new .lang-m { min-width: 200px; }
html.acervo-new .lang-m button { min-height: var(--h-row); padding: 0 var(--s-12); border-radius: var(--r-tile); }
html.acervo-new .lang-m button[aria-checked="true"] { font-weight: inherit; } /* chosen is the ✓ alone */
html.acervo-new .mpop-list { padding: var(--sp-menu); }
html.acervo-new .mopt { min-height: var(--h-row); padding: 0 var(--s-12); border-radius: var(--r-tile); }
html.acervo-new .mopt.kid { padding-left: var(--s-40); }
html.acervo-new .mpop.show { transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); } /* every menu arrives the same way */
html.acervo-new .sv-row { gap: var(--s-12); border-radius: var(--r-tile); }
html.acervo-new .sv-row[aria-selected="true"]:not(:hover) { background: none; }
html.acervo-new .fs-head { padding: 0 var(--s-14) 0 var(--sp-surface); border-bottom: 0; }
html.acervo-new .am-sec { padding: 0 0 var(--sp-block); border-bottom: 0; } /* sections 40px apart, no rule between them */
html.acervo-new .fsheet .fs-foot { padding: var(--s-16) var(--sp-surface) calc(var(--s-16) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 701px) { html.acervo-new .fsheet .fs-body { padding-inline: var(--sp-surface); } } /* the body lines up with the header and the footer */
html.acervo-new .pp header { align-items: center; min-height: 64px; padding: 0 var(--s-14) 0 var(--sp-surface); }
html.acervo-new .pp h3 { font-size: var(--fs-base); }
html.acervo-new .pp ul { padding-inline: var(--s-12); }
html.acervo-new .pp li { padding: var(--sp-row) var(--s-12); border-radius: var(--r-tile); }
/* a name in "Salvo por" opens that person: it says so under the pointer (QA 2026-11-14: it was clickable with a plain cursor) */
html.acervo-new .pp li .pp-t, html.acervo-new .pp li > img { cursor: pointer; } html.acervo-new .pp li .pp-t:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
/* the picture, the avatars and the studio's logo inside Configurações › Perfil */
.pl-set .pform.live { gap: var(--s-20); margin-bottom: var(--s-28); }
html.acervo-new .mopt .box { border-radius: 6px; } /* one corner for every tick box */

/* ---------- The pages' rhythm on acervo: the same distance for the same job, on every page.
   header → first block: --sp-top · tabs → index: --sp-block · index → filters: --sp-open · filters → photos: --sp-block
   · a page's end: --sp-end. Photos alone sit 12px apart; with a caption under them, 20px across and 40px down. ---------- */
/* Explorar's themes sit close under the header, read as part of it (2026-11-13, Pedro: "um pouquinho mais próximo da Navbar… fazem parte do mesmo componente") */
html.acervo-new :is(#pg-feed, #pg-furniture) { padding-top: var(--s-12); } /* Mobiliário opens exactly like Explorar: the pills right under the header (2026-11-15, Pedro: "o header com o espaçamento certo é o da página de Explore, vamos levar o mesmo para Furniture") */
html.acervo-new .page { padding-bottom: var(--sp-end); }
html.acervo-new .masonry { padding-top: 0; }
html.acervo-new #fspaces .trow { padding-block: 0; }
@media (max-width: 700px) { html.acervo-new #fspaces .trow { padding-inline: var(--gutter); } } /* the row runs edge to edge, the first pill starts at the page's edge (QA 2026-11-14: it was cut by the screen) */
html.acervo-new #pg-furniture > .ptools { padding-bottom: 0; }
html.acervo-new .mright { gap: var(--s-16); }
@media (max-width: 700px) {
  html.acervo-new .tiles { gap: var(--s-12); }
}
/* a person's page on a computer: your own profile's header (.p-top), under the round way back */
.pl-ptop { padding-top: var(--s-24); }
.pl-ptop .pt-right { gap: var(--sp-buttons); }
.pl-ptop .p-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pl-ptop .p-meta { flex-wrap: nowrap; }
/* the share button beside Editar perfil: the same 48px, round */
html.acervo-new .pt-right .p-acts .pill.ic { width: var(--h-btn-lg); height: var(--h-btn-lg); aspect-ratio: auto; align-self: auto; }

/* ---------- Motion on acervo: one press for each kind of thing, a ring for the keyboard, and photos that never
   darken. (The durations and curves are tokens everywhere; see tokens.css.) ---------- */
html.acervo-new :is(.fs-foot .go, .mpop-foot .go, .furn-pill):active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
html.acervo-new :is(.sw-c, .pop-head .x):active { transform: scale(var(--press-icon)); transition-duration: var(--dur-instant); }
html.acervo-new .pop-tile:active { transform: scale(var(--press-card)); }
html.acervo-new .mopt:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
html.acervo-new .prow figure > img:hover, html.acervo-new .prow .frame > img:hover { filter: none; }

/* ---------- Filters on the page: the slice and what refines it (ds.css: .ds-chip.slice / .ds-chip.refine, F03) ----------
   Here only where they sit. Destaques and Todos os filtros are grey buttons (.ds-btn) at the first line's end; the count of
   filters in use is the dark dot. */
html.acervo-new .mtools { padding-bottom: var(--s-20); }
html.acervo-new #pg-projects .mright { gap: var(--s-8); }
html.acervo-new #mall.ds-btn, html.acervo-new #msort.ds-btn { height: var(--h-btn); padding: 0 var(--s-16); gap: var(--s-8); font-size: var(--fs-base); font-weight: 400; }
html.acervo-new #mall.ds-btn svg, html.acervo-new #msort.ds-btn svg { width: 16px; height: 16px; }
html.acervo-new #mall sup { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin: 0; padding: 0 5px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-size: var(--fs-sm); font-weight: 600; vertical-align: 0; font-variant-numeric: tabular-nums; }
html.acervo-new #mall sup[hidden] { display: none; }
/* ---------- The outline belongs to the filter (2026-11-12, Pedro: an outlined button next to an outlined filter reads as
   the same thing). Buttons and the states of a button (Seguindo, Salvo) take the ground, as .ds-btn does; only a filter
   (the slice chips, the profile's tones) is drawn with a ring. ---------- */
html.acervo-new .pill.line, html.acervo-new .sv-save.on, html.acervo-new .pp-follow.on,
html.acervo-new .lb-acts .sv-save.on + .sv, html.acervo-new .lb-acts .sv:has(+ .sv-save.on) .sv-pick { background: var(--surface); color: var(--ink); box-shadow: none; }
html.acervo-new :is(.pill.line, .sv-save.on, .pp-follow.on):hover { background: var(--surface-2); box-shadow: none; }
html.acervo-new .lbx .sv-save.on, html.acervo-new .lbx .sv-save.on:hover { background: rgba(255, 255, 255, .14); color: #fff; } /* over the dark viewer it keeps its glass */
/* the filters modal on a computer: what is on, gathered on top */
html.acervo-new .am-on h3 { margin-bottom: var(--s-16); }

/* ---------- Configurações as a page (after Airbnb's account settings, measured at 1440px): a header of its own
   (the mark, Concluído); on a computer the sections in a column of 340px and the chosen one in a column of 680px at
   most, with a lot of white between them; every setting a row of two lines and one action, 32px of air above and
   below, no rule. On a phone the list of sections, then each section as its own page. ---------- */
.pl-sp { position: fixed; inset: 0; z-index: var(--z-fullpage); display: flex; flex-direction: column; background: var(--bg);
  opacity: 0; transform: translateY(var(--nudge)); transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in); }
.pl-sp.on { opacity: 1; transform: none; transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); }
.pl-sp-h { flex: none; display: flex; align-items: center; gap: var(--s-16); height: var(--head); padding: env(safe-area-inset-top, 0px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.pl-sp-h .mark { display: flex; align-items: center; gap: var(--s-10); cursor: pointer; font-size: var(--fs-base); font-weight: 600; letter-spacing: -.02em; }
.pl-sp-h .sp { flex: 1; }
.pl-sp-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.pl-sp-in { display: grid; grid-template-columns: 280px minmax(0, 680px); column-gap: var(--s-64); justify-content: center; /* the sections and the page close together, the pair in the middle (2026-11-12, Pedro: "muito na direita") */ padding: var(--s-40) var(--gutter) var(--sp-end); }
.pl-sp-side { position: sticky; top: var(--s-40); align-self: start; }
.pl-sp-side h1, .pl-sp-pane h2 { margin: 0 0 var(--s-24); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.025em; line-height: 30px; }
.pl-sp-nav { display: grid; gap: var(--s-4); }
.pl-sp-nav button { display: flex; align-items: center; gap: var(--s-16); height: 56px; padding: 0 var(--s-16); border-radius: var(--r-pop); color: var(--ink); font-size: var(--fs-base); text-align: left; transition: background var(--dur-quick); }
.pl-sp-nav button:hover { background: var(--surface); }
.pl-sp-nav button[aria-current="true"] { background: var(--surface); font-weight: 500; }
.pl-sp-nav button svg { flex: none; width: 22px; height: 22px; }
.pl-sp-nav button svg:last-child { display: none; margin-left: auto; width: 16px; height: 16px; color: var(--muted); transform: rotate(-90deg); } /* the arrow, on a phone */
.pl-sp-back { display: none; margin-bottom: var(--s-24); }
/* a row: what it is, what it holds, one action; a fine translucent line under each (2026-11-12, Pedro asked for
   dividers here, as Airbnb's account settings have) */
.pl-r { padding: var(--s-24) 0; box-shadow: inset 0 -1px 0 var(--line); transition: opacity var(--dur-quick); }
.pl-r-h { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-24); }
.pl-r-h > div:first-child { flex: 1; display: grid; gap: var(--s-6); min-width: 0; } /* the fields of an open row take the column's width */
.pl-r-h b { font-size: var(--fs-base); font-weight: 500; }
.pl-r-v { max-width: 52ch; color: var(--muted); font-size: var(--fs-base); line-height: 1.45; overflow-wrap: anywhere; } .pl-r-v .none { color: var(--faint); }
.pl-r-pic { display: block; width: 48px; height: 48px; margin-top: var(--s-4); border-radius: 50%; object-fit: cover; }
.pl-r-a { flex: none; } .pl-r-a.danger { color: var(--danger); } /* a small grey button (.ds-btn.sm), not a link (2026-11-12, Pedro: "ao invés do button link… um button small") */
.pl-r-e { margin-top: var(--s-16); animation: tile-in var(--dur-base) var(--ease); }
.pl-r-e .ds-fld > span:empty { display: none; }
/* while one row is being changed, the others step back */
.pl-sp-pane.editing .pl-r:not(.open) { opacity: .38; pointer-events: none; }
.pl-sp-fine { margin: var(--s-32) 0 0; max-width: 60ch; color: var(--faint); font-size: var(--fs-sm); line-height: 1.5; }
.pl-sp-pane .pl-empty { padding: var(--s-40) 0; justify-items: start; text-align: left; }
@media (max-width: 700px) {
  .pl-sp-in { grid-template-columns: minmax(0, 1fr); padding: var(--s-16) var(--gutter) var(--sp-end); }
  .pl-sp-side { position: static; }
  .pl-sp.at-list .pl-sp-pane, .pl-sp:not(.at-list) .pl-sp-side { display: none; }
  .pl-sp-nav { gap: 0; }
  .pl-sp-nav button { padding: 0; border-radius: 0; } .pl-sp-nav button:hover, .pl-sp-nav button[aria-current="true"] { background: none; font-weight: 400; }
  .pl-sp-nav button svg:last-child { display: block; }
  .pl-sp-back { display: grid; }
  .pl-r-h { gap: var(--s-16); }
}

/* ---------- A project's photos (2026-11-12, Pedro, a merge of the Mosaico page and archteca.com): the photo leaves the
   page with its crop opening (the mask, LB.fx.moveStage) onto a plain white page; a little smaller, its name and who took
   it under it on the left and "Buscar semelhantes" on the right; the thumbnails under that; the count at the top left and
   a round × at the top right, the arrows round, as the system's icon buttons; and from one photo to the next they slide
   side by side (after Airbnb, _rascunhos/ref-airbnb.mp4). ---------- */
html.acervo-new #pf .pv-veil { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.acervo-new #pf #pf-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--surface); color: var(--ink); }
html.acervo-new #pf #pf-close:hover, html.acervo-new #pf .pv-arrow:hover { background: var(--surface-2); }
html.acervo-new #pf #pf-close svg { width: 16px; height: 16px; }
html.acervo-new #pf .pf-bar .acts .ds-btn svg { width: 16px; height: 16px; }
html.acervo-new #pf .pf-ghost { pointer-events: none; }
html.acervo-new #pf .pv-stage { background: var(--bg); } /* inside the frame, the page's white: as the picture lags the frame in a step, its edge reads as a mask, not a grey band */
/* under the photo only Buscar semelhantes, in the middle (2026-11-12, Pedro); what the photo shows and who took it are read
   aloud, not shown */
html.acervo-new #pf .pf-bar { justify-content: center; align-items: center; }
html.acervo-new #pf .pf-bar .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.acervo-new #pf .pf-bar .acts { flex: none; margin: 0 auto; }
/* the button follows the photo's new place, instead of jumping there before it arrives (the arrows stay fixed at the sides) */
html.acervo-new #pf .pf-bar { transition: left var(--dur-base) var(--ease), top var(--dur-base) var(--ease), width var(--dur-base) var(--ease); }


/* ---------- Projects' one filter row, after Mobbin (2026-11-13; ONE_ROW in app.js) ----------
   A kind with something picked says what, with an ×. */
html.acervo-new .trow .tg-on { display: inline-flex; align-items: center; flex: none; height: var(--h-btn); padding-right: var(--s-6); border-radius: var(--r-pill); background: var(--surface); }
html.acervo-new .trow .tg-on .tg-v { display: inline-flex; align-items: center; gap: var(--s-6); height: 100%; padding: 0 var(--s-4) 0 var(--s-16); color: var(--ink); font-size: var(--fs-base); font-weight: 500; white-space: nowrap; }
html.acervo-new .trow .tg-on .tg-x { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); transition: background var(--dur-quick); }
html.acervo-new .trow .tg-on .tg-x:hover { background: var(--surface-2); }
html.acervo-new .trow .tg-on .tg-x svg { width: 12px; height: 12px; }
@media (max-width: 700px) { html.acervo-new .trow .tg-on { height: var(--h-chip); } }
html.acervo-new .mopt .mthumb { width: 32px; height: 32px; flex: none; object-fit: cover; border-radius: var(--r-thumb); }
/* one line: Tipologia, Ambientes, Materiais, Tamanho, then the count, Destaques and Todos os filtros at the far end */
html.acervo-new .mtools.f-one { align-items: center; }
html.acervo-new .mtools.f-one > .fcd-below { flex: 1 1 auto; min-width: 0; }
html.acervo-new .mtools.f-one .mright { align-items: center; gap: var(--s-12); }
html.acervo-new .mtools.f-one .mshow { margin-right: var(--s-12); }
/* Mobbin's single row: every kind an outlined pill; picked, an ink ring and a filled ×; thin dividers between groups */
html.acervo-new .f-div { flex: none; align-self: center; width: 1px; height: var(--s-24); background: var(--line); }
html.acervo-new.f-onerow .mtools.f-one { gap: var(--s-16); }
html.acervo-new.f-onerow .mtools.f-one > .fcd-below { flex: 0 1 auto; }
html.acervo-new.f-onerow .mtools.f-one .mright { margin-left: auto; gap: var(--s-16); }
html.acervo-new.f-onerow .mtools.f-one .mshow { margin-right: 0; }
html.acervo-new.f-onerow .trow .tg.ds-chip.refine { background: var(--bg); color: var(--ink); box-shadow: var(--ring-chip); }
html.acervo-new.f-onerow .trow .tg.ds-chip.refine:is(:hover, [aria-expanded="true"]) { background: var(--bg); box-shadow: inset 0 0 0 1px var(--faint); }
html.acervo-new.f-onerow .trow .tg-on { padding-right: var(--s-10); background: var(--bg); box-shadow: var(--ring-chip-on); }
html.acervo-new.f-onerow .trow .tg-on .tg-x { width: 20px; height: 20px; margin-left: var(--s-2); background: var(--ink); color: var(--bg); }
html.acervo-new.f-onerow .trow .tg-on .tg-x:hover { background: var(--ink-hover); }
html.acervo-new.f-onerow .trow .tg-on .tg-x svg { width: 10px; height: 10px; }
/* the × of a chosen pill is 20px to look at and 44px to touch: its reach goes past its edge (QA 2026-11-14) */
html.acervo-new.f-onerow .trow .tg-on .tg-x { position: relative; } html.acervo-new.f-onerow .trow .tg-on .tg-x::after { content: ''; position: absolute; inset: calc(-1 * var(--s-12)) calc(-1 * var(--s-12)) calc(-1 * var(--s-12)) calc(-1 * var(--s-6)); }
html.acervo-new .mpop-foot .clr { min-height: var(--h-btn-sm); } @media (max-width: 700px) { html.acervo-new .mpop-foot .clr { min-height: 44px; padding-right: var(--s-12); } }
html.acervo-new.f-onerow .mpop-list > hr { margin: var(--s-6) 0; border: 0; height: 1px; background: var(--line); }
/* everything on one line, centred on the same axis (the row's own bottom air is dropped here) */
html.acervo-new .mtools.f-one .trow { padding-block: 0; }

/* ---------- The row of filters stays under the header (2026-11-14, after Mobbin; Projetos' .qrow on a phone already did) ----------
   Projetos' and Mobiliário's filters and Explorar's themes hold 12px under the header as the page scrolls, on a white
   band that runs to the window's edges; once held, the hairline is the band's, not the header's. */
html.acervo-new :is(#pg-furniture > #fspaces, #pg-feed > .pl-mf) { position: sticky; z-index: calc(var(--z-header) - 1); top: calc(env(safe-area-inset-top, 0px) + var(--head) + var(--s-12)); }
html.acervo-new :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf)::before { content: ''; position: absolute; z-index: -1; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: var(--bg); pointer-events: none; transition: box-shadow var(--dur-quick) var(--ease); }
html.acervo-new :is(#pg-furniture > #fspaces, #pg-feed > .pl-mf)::before { top: calc(-1 * var(--s-12)); bottom: calc(-1 * var(--s-12)); }
html.acervo-new :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf).stuck::before { box-shadow: 0 1px 0 var(--line); }
html.acervo-new.row-stuck .head { box-shadow: none; }
@media (min-width: 701px) { /* Projetos' row on a phone is .qrow, held already */
  html.acervo-new #pg-projects > .ptools { position: sticky; z-index: calc(var(--z-header) - 1); top: calc(var(--head) - var(--s-24)); }
  html.acervo-new #pg-projects > .ptools::before { top: var(--s-24); bottom: var(--s-8); }
}
/* the tile's save marker is 26px to look at on a phone and 44px to touch (QA 2026-11-14) */
@media (max-width: 700px) { html.acervo-new .card-save::after { content: ''; position: absolute; inset: calc(-1 * var(--s-10)); } }

.pl-dlg:focus { outline: none; } /* the dialog takes the focus as a place to start from, not as a control */
/* small things with a full-size touch on a phone (QA 2026-11-14): the origin under a post's name, a colour of the photo */
@media (max-width: 700px) {
  html.acervo-new .lb-via { position: relative; } html.acervo-new .lb-via::after { content: ''; position: absolute; inset: calc(-1 * var(--s-12)) calc(-1 * var(--s-8)); }
  html.acervo-new .sw-c { position: relative; } html.acervo-new .sw-c::after { content: ''; position: absolute; inset: calc(-1 * var(--s-10)) calc(-1 * var(--s-2)); }
}

/* ---------- The held row gets smaller on the way down, back on the way up (2026-11-14) ----------
   One switch, html.row-compact (app.js, stuckNow): inside the held rows the button and chip heights step down (40 → 34px;
   44 → 40px on a phone, never under 40), the side padding of a pill 16 → 12px, and the white band around them slims
   (12 → 8px above and below). Everything eases on --dur-base --ease. */
html.acervo-new :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf, #pg-projects > .qrow) :is(.ds-chip, .ds-btn, .tg-on, .pl-q, .pl-q-v) {
  transition: height var(--dur-base) var(--ease), padding var(--dur-base) var(--ease), line-height var(--dur-base) var(--ease), box-shadow var(--dur-quick), background var(--dur-quick), color var(--dur-quick), transform var(--dur-base) var(--spring);
}
html.acervo-new :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf) { transition: top var(--dur-base) var(--ease); }
html.acervo-new :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf)::before { transition: top var(--dur-base) var(--ease), bottom var(--dur-base) var(--ease), box-shadow var(--dur-quick) var(--ease); }
html.acervo-new.row-compact :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf, #pg-projects > .qrow) { --h-btn: var(--h-btn-sm); --h-chip: var(--h-btn-sm); }
html.acervo-new.row-compact :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf, #pg-projects > .qrow) .ds-chip { --p: var(--s-12); }
html.acervo-new.row-compact :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf) :is(.ds-btn, .tg.ds-chip) { padding-inline: var(--s-12); }
html.acervo-new.row-compact :is(#pg-furniture > #fspaces, #pg-feed > .pl-mf) { top: calc(env(safe-area-inset-top, 0px) + var(--head) + var(--s-8)); }
html.acervo-new.row-compact :is(#pg-furniture > #fspaces, #pg-feed > .pl-mf)::before { top: calc(-1 * var(--s-8)); bottom: calc(-1 * var(--s-8)); }
@media (min-width: 701px) {
  html.acervo-new.row-compact #pg-projects > .ptools { top: calc(var(--head) - var(--s-28)); }
  html.acervo-new.row-compact #pg-projects > .ptools::before { bottom: var(--s-12); }
}
@media (max-width: 700px) {
  html.acervo-new.row-compact :is(#pg-projects > .ptools, #pg-furniture > #fspaces, #pg-feed > .pl-mf, #pg-projects > .qrow) { --h-btn: 40px; --h-chip: 40px; } /* a phone's pill stays at 40 to touch */
  html.acervo-new #pg-projects > .qrow { transition: box-shadow var(--dur-quick) var(--ease), padding var(--dur-base) var(--ease); }
  html.acervo-new.row-compact #pg-projects > .qrow { padding-block: var(--s-6); }
}

/* ---------- Search by colour (2026-11-14): the panel under the bar, the dots that stand for the colours ---------- */
html.acervo-new .color-pop { display: grid; gap: var(--s-12); padding: var(--s-16); }
.cp-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); } .cp-head strong { font-size: var(--fs-base); font-weight: 500; }
.cp-seg { display: inline-flex; padding: var(--s-2); border-radius: var(--r-pill); background: var(--surface); }
.cp-seg button { height: 28px; padding: 0 var(--s-12); border-radius: var(--r-pill); color: var(--muted); font-size: var(--fs-sm); transition: background var(--dur-quick), color var(--dur-quick); }
.cp-seg button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.cp-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); overflow: hidden; border-radius: var(--r-tile); }
.cp-grid::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; } /* the white corner has an edge */
.cp-sw { aspect-ratio: 1; transition: transform var(--dur-quick) var(--ease); } .cp-sw:hover, .cp-sw:focus-visible { position: relative; z-index: 1; transform: scale(1.18); border-radius: var(--s-4); outline: 0; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.cp-sw[aria-pressed="true"] { position: relative; z-index: 1; border-radius: var(--s-4); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.cp-spec { display: grid; gap: var(--s-12); }
.cp-sv { position: relative; height: 220px; border-radius: var(--r-tile); background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)), linear-gradient(to right, #fff, var(--cp-hue)); cursor: crosshair; touch-action: none; }
.cp-sv i { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(17, 17, 17, .3); pointer-events: none; }
.cp-spec-top { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: var(--s-12); }
.cp-huev { position: relative; border-radius: var(--r-pill); background: linear-gradient(to bottom, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); cursor: ns-resize; touch-action: none; } /* the hue stands upright, on the left of the square */
.cp-huev i { position: absolute; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(17, 17, 17, .3); pointer-events: none; }
.cp-hexf { display: flex; align-items: center; gap: var(--s-8); height: var(--h-btn); padding: 0 var(--s-12); border-radius: var(--r-pill); background: var(--surface); color: var(--muted); }
.cp-hexf i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); } html.acervo-new .color-pop input.cp-hex { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-input); letter-spacing: .04em; outline: 0; }
.cp-recent { display: flex; align-items: center; gap: var(--s-8); } .cp-recent span { margin-right: var(--s-4); color: var(--muted); font-size: var(--fs-sm); }
.cp-dot { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--dur-quick) var(--spring); } .cp-dot:hover { transform: scale(1.12); }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); } .cp-slots { display: flex; align-items: center; gap: var(--s-8); }
.cp-slot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: #fff; } .cp-slot svg { width: 12px; height: 12px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.cp-slot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.cp-add { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--ink); } .cp-add:hover { background: var(--surface-2); } .cp-add svg { width: 14px; height: 14px; }
.cp-go { height: var(--h-btn); padding: 0 var(--s-20); }
/* the colours in the bar and in the row: dots that overlap a little, the first on top */
.scope-dots, .pl-dots { display: inline-flex; flex: none; align-items: center; vertical-align: middle; } .scope-dots { padding-left: var(--s-4); } .pl-dots { margin-right: var(--s-6); }
.scope-dots i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); } .scope-dots i + i { margin-left: calc(-1 * var(--s-8)); }
.pl-dots i { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--bg); } .pl-dots i + i { margin-left: calc(-1 * var(--s-6)); }
#color-btn svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .cp-sv { height: 180px; } html.acervo-new .color-pop { max-height: calc(100svh - 160px); overflow-y: auto; } }
@media (max-width: 700px) { .scope button { position: relative; } .scope button::after { content: ''; position: absolute; inset: calc(-1 * var(--s-10)); } } /* the token's × is 22px to look at, 42px to touch */

/* ---------- The bar (2026-11-14) ---------- */
/* no settings icon in the bar (Pedro: "vamos remover aquele ícone de configuração…"): what it opened is the field's own panel.
   The "/" hint came back (Lucas 2026-11-15: "volta o / igual tinha no antigo"): pressing "/" or clicking it focuses the field */
html.acervo-new .head .tsearch #filters-btn { display: none; }
/* the "/" sits in its own 36px slot like the two tools after it, so the three read evenly spaced (Lucas: "arruma o espaçamento") */
html.acervo-new .head .tsearch .kbd { margin-right: var(--s-8); }
/* the token is a picture and nothing else: round for a person, square for a collection, a selection, a theme, an image */
html.acervo-new .scope img.sq { border-radius: var(--s-6); } html.acervo-new .scope img.rd { border-radius: 50%; }
html.acervo-new .scope .scope-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--s-6); background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--surface-2); } html.acervo-new .scope .scope-ic svg { width: 15px; height: 15px; }

/* ---------- The phone: way A (2026-11-14) ----------
   The header holds the mark and the search (with its two tools, always in sight); the pages left it for a pill at the
   foot, icons only. Going down the page, the header steps up and the held row of filters takes its place at the top;
   going up, the header comes back. */
.pl-foot, .pl-postdock { display: none; }
/* A project's page goes back by the same round arrow as a post or a collection, on a computer too: the arrow, then the
   project's name beside it, its place in the list faint at the far end; no breadcrumb of words (2026-11-15, Pedro: the
   phone's fixes "se encaixam para web" too) */
html.acervo-new #proj-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); text-decoration: none; transition: background var(--dur-quick) var(--ease); }
html.acervo-new #proj-close:hover { background: var(--surface-2); }
html.acervo-new #proj-close::before, html.acervo-new #proj-close .pc-t, html.acervo-new .proj-head .sep { display: none; }
html.acervo-new #proj-close .pc-ar { display: block; width: 20px; height: 20px; }
html.acervo-new #proj-close:active { transform: scale(var(--press-icon)); transition-duration: var(--dur-instant); }
html.acervo-new .proj-head .crumbs { align-items: center; gap: var(--s-12); }
html.acervo-new .proj-head .here { color: var(--ink); font-weight: 500; }
html.acervo-new .proj-head .wrap { align-items: center; }
#proj-close .pc-ar { display: none; }
.pl-acct { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background var(--dur-quick) var(--ease); }
.pl-acct:hover { background: var(--surface); } .pl-acct:active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
.pl-acct svg { width: 22px; height: 22px; }
@media (max-width: 700px) {
  html.acervo-new .head .wrap { gap: var(--s-10); }
  html.acervo-new .head .nav { display: none; }
  /* the top bar: the mark, the search and the portrait (or Entrar), the portrait as tall as the field (2026-11-15) */
  html.acervo-new .head .head-r { margin-left: 0; gap: 0; }
  html.acervo-new .head .head-r > :not(.me, .pl-enter, .pl-acct) { display: none; }
  /* on your own profile the gear takes the portrait's place (plataforma.js, acct) */
  html.acervo-new.pl-myprof .head .me { display: none; }
  html.acervo-new.pl-myprof .head .pl-acct { display: grid; }
  /* A project open over your profile is not your profile: the portrait, never the gear (2026-11-15, phone QA video, 8:22) */
  html.acervo-new.pl-myprof.in-page .head .me { display: inline-flex; } html.acervo-new.pl-myprof.in-page .head .pl-acct { display: none; }
  /* A project's page on a phone: no breadcrumb; the round arrow back sits in the top bar's own row, beside the portrait,
     so no white band is left above the page as it scrolls (2026-11-15, Pedro's phone QA: "pode ficar aqui em cima na
     navbar junto com o resto do conteúdo… vamos trazer a seta aqui em cima… e a gente remove essa seta aqui que está em projetos") */
  html.acervo-new.in-page .head { background: transparent; box-shadow: none; pointer-events: none; }
  html.acervo-new.in-page .head :is(.me, .pl-acct, .pl-enter) { pointer-events: auto; }
  html.acervo-new .proj { padding-top: env(safe-area-inset-top, 0px); }
  html.acervo-new .proj-head .wrap { height: var(--head); align-items: center; padding-block: 0; }
  html.acervo-new .proj-head :is(.here, .pos) { display: none; }
  /* the photo viewer on a phone has no arrows over the photo: it passes by sliding (2026-11-15, phone QA: "vamos remover essas setas… a gente pode passar do lado") */
  html.acervo-new :is(#pf-prev, #pf-next) { display: none; }
  html.acervo-new .head .me { width: 44px; height: 44px; } html.acervo-new .head .me-av { width: 36px; height: 36px; }
  html.acervo-new .head .me.on .me-av { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--ink); } /* on your profile */
  /* typing: the field takes the whole row, the mark leaves to the left and the portrait to the right, and they come back
     as the field lets go (2026-11-15, Pedro: "quando eu clicar na barra para digitar, a barra vai ocupar 100%… empurrando os
     elementos respectivamente para os seus respectivos lados") */
  /* the widths are each piece's own, measured (plataforma.js, --w): from there to 0 the move is seen from its first frame
     (QA 2026-11-15, Pedro: "coloque uma animação dela expandindo ao invés de ser no seco"; the old 160px start hid the move) */
  html.acervo-new .head .wrap > :is(.mark, .head-r) { max-width: var(--w, 44px); overflow: hidden; transition: max-width var(--dur-base) var(--ease), margin var(--dur-base) var(--ease), opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease), filter var(--dur-base) var(--ease); } /* as specific as acervo.css's filter transition on the header's pieces, which hid this one */
  html.acervo-new .head .wrap:has(.head-c:focus-within) :is(.mark, .head-r), html.acervo-new body:is(.searching, .lensing) .head :is(.mark, .head-r) { max-width: 0; opacity: 0; pointer-events: none; }
  html.acervo-new .head .wrap:has(.head-c:focus-within) .mark, html.acervo-new body:is(.searching, .lensing) .head .mark { margin-right: calc(-1 * var(--s-10)); transform: translateX(calc(-1 * var(--nudge))); }
  html.acervo-new .head .wrap:has(.head-c:focus-within) .head-r, html.acervo-new body:is(.searching, .lensing) .head .head-r { margin-left: calc(-1 * var(--s-10)); transform: translateX(var(--nudge)); }
  html.acervo-new .head .tsearch { transition: background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
  html.acervo-new .head .mark { flex: none; } html.acervo-new .head .mark svg { height: var(--logo-h-sm); }
  html.acervo-new .head-c, html.acervo-new .head-c:focus-within, html.acervo-new body.searching .head-c, html.acervo-new body.lensing .head-c { position: relative; left: auto; right: auto; top: auto; bottom: auto; flex: 1 1 auto; width: auto; min-width: 0; max-width: none; margin: 0; transform: none; opacity: 1; pointer-events: auto; }
  html.acervo-new .head .tsearch, html.acervo-new .head .tsearch:focus-within { height: 44px; padding-right: var(--s-4); background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  html.acervo-new .head .tsearch:focus-within { box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .14); background: var(--bg); }
  /* the search by image and by colour stay in sight, a little closer to each other than the bar's own gap (2026-11-15, Pedro:
     "vamos manter esses dois ícones, só vamos deixar eles um pouco mais próximos"; for a moment they waited for the tap) */
  #head #sbar :is(#lens-btn, #color-btn) { display: grid; }
  /* no mark in the phone's top bar: the search and the portrait (2026-11-15, Pedro: "no mobile vamos remover o logo do archteca lá em cima") */
  html.acervo-new .head .wrap > .mark { display: none; }
  html.acervo-new body .head-c .hint .short { display: none; } html.acervo-new body .head-c .hint > :not(.short) { display: inline; }
  html.acervo-new .head-c .lens-pop { top: calc(100% + var(--s-8)); bottom: auto; left: 0; right: 0; } /* the bar is the whole row while a panel is open: the panel takes its width */
  html.acervo-new .in-feed .head-c { opacity: 1; pointer-events: auto; }
  /* the header steps up on the way down; what was held under it rises to the top edge */
  html.acervo-new .head { transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-quick) var(--ease), background-color var(--dur-base) var(--ease); }
  html.acervo-new.head-away:not(.in-page) .head { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); } /* an open project keeps the top row: its back sits there */
  html.acervo-new :is(#pg-projects > .qrow, #pg-furniture > #fspaces, #pg-feed > .pl-mf) { transition: top var(--dur-base) var(--ease), box-shadow var(--dur-quick) var(--ease), padding var(--dur-base) var(--ease); }
  html.acervo-new.head-away #pg-projects > .qrow { top: env(safe-area-inset-top, 0px); }
  html.acervo-new.head-away :is(#pg-furniture > #fspaces, #pg-feed > .pl-mf) { top: calc(env(safe-area-inset-top, 0px) + var(--s-8)); }
  /* the pill at the foot: four places, icons only */
  /* the foot: the pages' pill and, apart, the + pill, the pair centred */
  html.acervo-new .pl-foot { position: fixed; z-index: var(--z-bar); left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--s-8); transform: translateX(-50%); transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); }
  html.acervo-new .pl-tabbar, html.acervo-new .pl-plus { position: relative; background: var(--glass-clear); -webkit-backdrop-filter: var(--glass-frost); backdrop-filter: var(--glass-frost); box-shadow: var(--shadow-glass-clear); }
  html.acervo-new .pl-tabbar { display: flex; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r-pill); }
  /* the + pill: the same glass and the same height as the pages' pill (52px), round */
  html.acervo-new.pl-sub .pl-tabbar { display: none; } /* a subpage: only the + where something can be added, else nothing (plataforma.js, pl-sub) */
  html.acervo-new.pl-sub:not(.pl-sub-add) .pl-foot { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
  html.acervo-new .pl-plus { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: rgba(17, 17, 17, .62); transition: transform var(--dur-instant) var(--spring); }
  html.acervo-new .pl-plus svg { width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .55)); }
  html.acervo-new .pl-plus:active { transform: scale(var(--press-icon)); }
  html.acervo-new .pl-plus::before { content: ''; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; background: var(--glass-rim); pointer-events: none;
    background-origin: border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
  .pl-tab-act { position: relative; }
  .pl-tab-act .dot { position: absolute; top: 9px; right: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--like); box-shadow: 0 0 0 2px var(--glass-clear); } /* something new in Atividade */
  /* the rim: a 1px ring painted with the light, bright at the top left, faint at the bottom right (2026-11-14, Pedro: "um certo glass… com um frost… mais refinada") */
  html.acervo-new .pl-tabbar::before { content: ''; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; background: var(--glass-rim); pointer-events: none;
    background-origin: border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
  .pl-tab { display: grid; place-items: center; width: 56px; height: 44px; border-radius: var(--r-pill); color: var(--muted); transition: background var(--dur-quick), color var(--dur-quick); }
  .pl-tab { color: rgba(17, 17, 17, .62); } .pl-tab svg { width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .55)); } /* on clear glass the icons keep a soft white halo, readable over any photo */
  .pl-tab.on { background: #fff; color: var(--ink); } /* plain white on the off-white glass, no ring or shadow of its own (2026-11-14, Pedro: "tire o contorno muito pesado no item ativo") */ .pl-tab.on svg g { stroke-width: 1.9; }
  .pl-tab:active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
  .pl-tab img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); } .pl-tab.on img { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--ink); }
  /* it steps aside for what covers the page or needs the foot: a post or a project, the search, a sheet, a selection bar */
  html.acervo-new:is(.lb-viewing, .lbx-open) .pl-foot, html.acervo-new body:is(.searching, .lensing) .pl-foot, html.acervo-new body:has(.pl-obar, .pl-dlg.on:not(.act), .pl-menu.on, .pl-sp.on, #proj.open, .pv:not([hidden]), .dock[data-mode="item"], #fsheet.show) .pl-foot { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
  /* A post scrolled past its photo (lb-away, plataforma.js): a round pill at the foot with the post itself, back to the
     photo, and nothing else (no search since 2026-11-15); the pages stay away. The same glass as the pages' pill. */
  html.acervo-new .pl-postdock { position: fixed; z-index: var(--z-bar); left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-pill); background: var(--glass-clear); -webkit-backdrop-filter: var(--glass-frost); backdrop-filter: var(--glass-frost); box-shadow: var(--shadow-glass-clear); opacity: 0; transform: translate(-50%, 24px); pointer-events: none; transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); }
  html.acervo-new.lb-viewing.lb-away .pl-postdock { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
  .pl-pd-post { position: relative; display: grid; place-items: center; width: 48px; height: 44px; border-radius: var(--r-pill); }
  .pl-pd-post:active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
  .pl-pd-post img { width: 34px; height: 34px; border-radius: var(--r-thumb); object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
  .pl-pd-post i { position: absolute; right: 2px; bottom: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 0 0 2px #fff; }
  .pl-pd-post i svg { width: 10px; height: 10px; }
}

/* Pull to refresh (touch only): the space that opens under the header, with the mark in the middle. The browser's own
   pull is turned off on touch screens so the two do not fight. */
.pl-ptr { position: fixed; left: 0; right: 0; top: calc(var(--head) + env(safe-area-inset-top, 0px)); z-index: calc(var(--z-header) - 1); height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; color: var(--ink); }
.pl-ptr svg { flex: none; width: 40px; height: 40px; overflow: visible; } .pl-ptr svg path { fill: currentColor; fill-rule: evenodd; } /* Respiro: where the two squares cross, the page shows through */
@media (pointer: coarse) { html.acervo-new { overscroll-behavior-y: contain; } }

/* The post on a phone (2026-11-14, Pedro chose the "barra de ação" concept, then: "o botão de salvar embaixo… fora da
   pílula… somente o ícone do lado direito para compartilhar… os três pontinhos voltam lá para cima"). Salvar, with its
   arrow for the collection, floats at the foot on its own, a smaller label; Compartilhar is a round icon beside it.
   Scrolled past the photo (lb-away) they step aside for the post's own pill (back to the photo, search). Up top: the
   back on its grey plate, fixed; the title a size smaller; "⋯" on the right. Under the photo, more room before the
   credit, which never runs under the colours. */
.lb-foot, .lb-foot > .lb-acts { display: contents; } .lb-share { display: none; } /* the inner .lb-acts keeps Salvar's split look wherever the foot hangs */
@media (max-width: 700px) {
  html.acervo-new .lb-foot { position: fixed; z-index: var(--z-bar); left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--s-8); transform: translateX(-50%); transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); }
  html.acervo-new.lb-away .lb-foot { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
  html.acervo-new:not(.lb-viewing) .lb > .lb-foot { display: none; } /* a closed post leaves no foot behind */
  /* "Mais referências" right under the post: a smaller title, no line under it (2026-11-14, Pedro: "o texto de mais
     referências pode ser menor… não precisa ter a descrição") */
  html.acervo-new .lb.f6p .lb-more { padding-top: var(--s-28); }
  html.acervo-new .lb.f6p .lb-more header { margin-bottom: var(--s-12); }
  html.acervo-new .lb.f6p .lb-more header h2 { font-size: var(--fs-base); font-weight: 600; }
  html.acervo-new .lb.f6p .lb-more header p { display: none; }
  /* the back arrow keeps its own grey plate and nothing else: no white band behind it as the post scrolls (lb-down) */
  html.acervo-new.lb-down .lb-bar { background: transparent; box-shadow: none; }
  html.acervo-new .lb.f6p .lb-back { box-shadow: var(--shadow-float); } /* the grey plate floats: it reads over a photo or the grid below */
  html.acervo-new .lb-foot .sv-bar { border-radius: var(--r-pill); box-shadow: var(--shadow-float); }
  /* Salvar is the post's CTA: the next button size, --h-btn-lg (48px), not the 44px of the other controls (2026-11-15, Pedro: "vamos aumentar o CTA pra deixar um pouco mais destacado... talvez o próximo tamanho resolva") */
  html.acervo-new .lb-foot .sv-save { height: var(--h-btn-lg); padding: 0 var(--s-16) 0 var(--s-24); font-size: var(--fs-base); font-weight: 500; }
  html.acervo-new .lb-foot .sv-pick { height: var(--h-btn-lg); width: 42px; }
  html.acervo-new .lb-foot .lb-share { display: grid; place-items: center; width: var(--h-btn-lg); height: var(--h-btn-lg); border-radius: 50%; background: var(--bg); color: var(--ink); box-shadow: var(--shadow-float); }
  html.acervo-new .lb-foot .lb-share svg { width: 20px; height: 20px; }
  html.acervo-new .lb-foot .sv-menu { top: auto; bottom: calc(100% + var(--s-8)); left: 0; right: auto; transform-origin: 24px 100%; }
  html.acervo-new .lb-info #lb-title { font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; } /* was --fs-xl at the top of the post */
  html.acervo-new .lb-f6-more > .fine { margin-top: calc(-1 * var(--s-12)); max-width: calc(100% - 132px); } /* the credit belongs to the line above it, not to the divider below (2026-11-14) */
  html.acervo-new .lb-f6-more.piece > .fine { max-width: none; } /* a catalogue piece shows no colours, so its line (what it is, what it is made of) takes the whole width */
}

/* ---------- Collections, the whole flow (2026-11-15, Pedro: "configurações das pastas, empty states… editar ali quando
   aparece no preview, invitar para alguém… uma pasta compartilhada"; Savee, Cosmos and Pinterest read, drawn our way) ---------- */
/* the card: the cover opens it, ⋯ beside the name edits it from the preview */
.pl-coll.card { position: relative; display: grid; gap: var(--s-4); min-width: 0; }
.pl-coll-go { position: relative; display: block; width: 100%; padding: 0; text-align: left; transition: transform var(--dur-base) var(--ease); }
.pl-coll-go:active { transform: scale(var(--press-card)); transition-duration: var(--dur-instant); }
.pl-coll-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pl-coll-go .pl-cv { width: 100%; }
.pl-coll-t { display: flex; align-items: center; gap: var(--s-4); min-width: 0; margin-top: var(--s-8); }
.pl-coll.card .pl-coll-t b { flex: 1; display: flex; align-items: center; gap: var(--s-6); min-width: 0; margin: 0; font-size: var(--fs-base); font-weight: 500; }
.pl-coll.card .pl-coll-t b > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-coll.card .pl-coll-t b svg { flex: none; width: 14px; height: 14px; color: var(--muted); }
.pl-coll-more { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: calc(-1 * var(--s-6)) calc(-1 * var(--s-6)) calc(-1 * var(--s-6)) 0; border-radius: 50%; color: var(--ink); opacity: 0; transition: opacity var(--dur-quick) var(--ease), background var(--dur-quick); }
.pl-coll-more::after { content: ''; position: absolute; inset: -4px; } /* 40px to aim at */
.pl-coll-more svg { width: 20px; height: 20px; }
.pl-coll.card:hover .pl-coll-more, .pl-coll.card:focus-within .pl-coll-more, .pl-coll-more[aria-expanded="true"] { opacity: 1; }
.pl-coll-more:hover, .pl-coll-more[aria-expanded="true"] { background: var(--surface); }
@media (hover: none) { .pl-coll-more { opacity: 1; } }
.pl-coll.card > small { display: flex; align-items: center; gap: var(--s-6); min-width: 0; color: var(--muted); font-size: var(--fs-sm); }
.pl-coll.card > small > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* faces: round, overlapping, ringed in the page's white */
.pl-faces { display: inline-flex; flex: none; }
.pl-faces > * { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 2px var(--bg); }
.pl-faces > * + * { margin-left: calc(-1 * var(--s-6)); }
.pl-face-l { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.pl-faces .pl-face-l { font-size: var(--fs-sm); transform: scale(.8); } /* the scale's smallest size, a little smaller in the 20px face */
.pl-crewl .pl-face-l, .pl-crewl img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* the collection's page: who is in it under the title, with + to invite */
.pl-ch.coll .meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-8); }
.pl-crew { display: inline-flex; align-items: center; gap: var(--s-8); height: 32px; margin: 0 calc(-1 * var(--s-8)); padding: 0 var(--s-8); border-radius: var(--r-pill); color: var(--ink); transition: background var(--dur-quick); }
.pl-crew:hover { background: var(--surface); }
.pl-crew .pl-faces > * { width: 24px; height: 24px; }
.pl-crew-add { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background var(--dur-quick), transform var(--dur-base) var(--spring); }
.pl-crew-add::after { content: ''; position: absolute; inset: -6px; }
.pl-crew-add { position: relative; } .pl-crew-add:hover { background: var(--surface-2); } .pl-crew-add:active { transform: scale(var(--press-icon)); }
.pl-crew-add svg { width: 14px; height: 14px; }
.pl-ch.coll .desc.none { color: var(--faint); }

/* the menu's switch row: Privada switches in place */
.am-switch.sm { width: 36px; height: 22px; } .am-switch.sm::after { top: 3px; left: 3px; width: 16px; height: 16px; } .am-switch.sm[aria-checked="true"]::after { transform: translateX(14px); }
.pl-mi-sw .am-switch { margin-left: auto; pointer-events: none; }
.pl-mi-sw > span:not(.am-switch) { flex: 1; }

/* Editar: the cover picked among its photos; deleting in red at the foot's start */
.pl-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: var(--s-8); }
.ds-btn.pl-del { background: none; padding-inline: var(--s-8); margin-left: calc(-1 * var(--s-8)); color: var(--danger); }
.ds-btn.pl-del:hover { background: var(--surface); }

/* Juntar: the collections as covers, one picked with the ring */
.pl-merge { padding: 0; overflow: visible; }
.pl-merge .pl-coll { display: grid; gap: var(--s-4); text-align: left; }
.pl-merge .pl-coll .pl-cv { transition: box-shadow var(--dur-quick); }
.pl-merge .pl-coll[aria-checked="true"] .pl-cv { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.pl-merge .pl-coll b { margin-top: var(--s-6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .pl-merge .pl-coll small { color: var(--muted); font-size: var(--fs-sm); }

/* Compartilhar: invite on top, who is in it, the link at the foot */
.pl-dlg.pl-share { width: min(480px, calc(100% - 32px)); height: min(640px, 88vh); }
.pl-inv { display: grid; gap: var(--s-8); padding-bottom: var(--s-20); }
.pl-inv-s { display: flex; align-items: center; gap: var(--s-10); height: var(--h-field); padding: 0 var(--s-20); border-radius: var(--r-pill); background: var(--surface); color: var(--muted); transition: background var(--dur-quick), box-shadow var(--dur-quick); }
.pl-inv-s:focus-within { background: var(--bg); box-shadow: var(--shadow-field-focus); }
.pl-inv-s svg { flex: none; width: 18px; height: 18px; }
.pl-inv-s input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-input); }
.pl-inv-s input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pl-crewl { display: grid; gap: 2px; }
.pl-crewl > .pl-label { margin: var(--s-12) 0 var(--s-4); }
.pl-crewl .pl-prow { margin-inline: calc(-1 * var(--s-12)); }
.pl-crewl .pl-prow.still { cursor: default; } .pl-crewl .pl-prow.still:hover { background: none; }
.pl-crew-none { margin: var(--s-4) 0 var(--s-8); color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.pl-share-link { display: grid; gap: var(--s-8); padding-top: var(--s-20); }
.pl-share-link > .pl-label { margin: 0; }
.pl-link { display: flex; align-items: center; gap: var(--s-8); height: var(--h-field); padding: 0 var(--s-6) 0 var(--s-20); border-radius: var(--r-pill); background: var(--surface); }
.pl-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.pl-link .ds-btn { flex: none; background: var(--bg); }
.pl-link .ds-btn:hover { background: var(--surface-2); }

/* Coleções with none: what they are for, and names to start from */
.pl-colls-none { padding-bottom: var(--s-64); }
.pl-sugs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-8); margin-top: var(--s-24); }
.pl-sugs > span { width: 100%; color: var(--muted); font-size: var(--fs-sm); }
.pl-coll.card:active { transform: none; } /* the press is the cover's, not the whole card's (⋯ is in it) */
.pl-menu { overflow-y: auto; overscroll-behavior: contain; } /* only when the room is shorter than the menu (plataforma.js menu: place) */
.pl-crew-sent { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color var(--dur-quick), text-decoration-color var(--dur-quick); } .pl-crew-sent:hover { color: var(--ink); text-decoration-color: currentColor; }
.pl-covers .pl-pk:not([aria-pressed="true"]) .ck { opacity: 0; } /* the cover picker marks only the one picked */
.pl-share-link { grid-template-columns: minmax(0, 1fr); } .pl-link { min-width: 0; } /* a long address shrinks with an ellipsis; Copiar link always shows */

/* Every scroll inside the page (dialogs, menus, panels, sheets, columns; not the page's own) has a slim thumb on its own
   ground, 5px in from the side, and on a rounded surface it keeps clear of the corners at both ends (QA 2026-11-15, Pedro:
   "lateral do scroll quebrado mostrando um bg diferente" → "o scroll tá colado demais lá em cima" → "quando tá lá embaixo
   fica pra fora também… vamos corrigir isso em todos os scroll").
   Only the ::-webkit-scrollbar parts: in Chrome, scrollbar-width or scrollbar-color on an element switch them off, which is
   why the inset and the margins did not hold before. Firefox, which has no ::-webkit-scrollbar, gets the thin standard one. */
body *::-webkit-scrollbar { width: 14px; height: 14px; background: transparent; }
body *::-webkit-scrollbar-track { background: transparent; }
body *::-webkit-scrollbar-thumb { border: 5px solid transparent; border-radius: var(--r-pill); background: var(--surface-2) padding-box; }
body *::-webkit-scrollbar-thumb:hover { background-color: rgba(17, 17, 17, .18); }
body *::-webkit-scrollbar-corner { background: transparent; }
:is(.pl-menu, .sv-menu, .mpop-list, .pl-mvp-grid, .pl-sp-b, .color-pop, .fs-body, .panel, .pp ul, .pl-set nav, .pl-set .pane, .lens-pop)::-webkit-scrollbar-track { margin-block: var(--s-24); }
.pl-b::-webkit-scrollbar-track { margin-block: var(--s-4) var(--s-24); } /* a dialog's body starts under its title; it ends at the dialog's rounded foot, or over its footer */
@supports not selector(::-webkit-scrollbar) { body * { scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; } }
/* a field at the top of a dialog's body keeps its whole ring when it takes the focus: the body scrolls, and its edge
   cut the ring above the field (QA 2026-11-15, Pedro: "quando o input fica ativo ele fica quebrado o stroke") */
.pl-inv { padding-top: var(--s-6); }

/* a shared collection's cover: the faces of everyone in it, overlapping, ringed in white; past three, two and +N */
.pl-cv-crew { position: absolute; left: var(--s-8); bottom: var(--s-8); display: flex; }
.pl-cv-crew > * { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 2px var(--bg); }
.pl-cv-crew > * + * { margin-left: calc(-1 * var(--s-8)); }
.pl-cv-crew .pl-face-l { font-size: var(--fs-sm); }
.pl-cv-more { display: grid; place-items: center; background: var(--bg); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; }

/* On a phone, adding to an open collection is the + pill at the foot (plataforma.js collCreate), not a button at the top */
@media (max-width: 700px) {
  .pl-ch.coll .pl-act-add { display: none; }
  /* A collection's head on a phone, in a clear order: the name, the description, who is in it and how many items, then
     only Compartilhar and ⋯ (Organizar is in ⋯; inviting is in Compartilhar, so the + beside the faces goes) (2026-11-15,
     Pedro's phone QA: "muita coisa acontecendo… a hierarquia pode ser melhor… removo esse botão de adicionar aqui,
     porque ele já vai ter aqui… compartilhar") */
  .pl-ch.coll .pl-act-org { display: none; }
  /* your own collection: the top bar is the search alone, at the whole width ("aqui em cima a gente pode deixar 100% focado") */
  html.acervo-new.pl-mycoll:not(.in-page):not(.lb-viewing) .head .head-r { display: none; }
  /* the + at the foot of a collection is the page's action: dark, with its word (2026-11-15: "vamos colocar, talvez, ele preto e com o nome de Adicionar… está um pouco escondido") */
  html.acervo-new.pl-sub.pl-sub-add .pl-plus { width: auto; padding: 0 var(--s-20) 0 var(--s-16); gap: var(--s-8); display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-float); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.acervo-new.pl-sub.pl-sub-add .pl-plus::before { display: none; }
  html.acervo-new.pl-sub.pl-sub-add .pl-plus svg { filter: none; width: 20px; height: 20px; }
  html.acervo-new .pl-plus .pl-plus-t { display: none; }
  html.acervo-new.pl-sub.pl-sub-add .pl-plus .pl-plus-t { display: inline; font-size: var(--fs-base); font-weight: 500; }
  /* Compartilhar on a phone is a sheet the whole width, no gap at its side */
  .pl-dlg.pl-share { width: auto; height: 88vh; height: 88svh; }
}
.pl-menu-t { margin: 0; padding: var(--s-8) var(--s-12) var(--s-4); color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }

/* The profile's header on a narrower computer (761–1099px): who and the actions on one row, the tabs on a row of their own
   sitting on the header's line. Between them the three columns left the name's column narrower than "248 seguidores · 61
   seguindo" at 15px, and the counts ran into the tabs (QA 2026-11-15, after the counts went up a step) */
@media (min-width: 761px) and (max-width: 1099px) {
  .p-top { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--s-32); align-items: center; }
  .p-top > .ds-tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .p-top > .pt-id, .p-top > .pt-right { padding-bottom: 0; }
}

/* an invite not taken yet: a white ground with the face faded over it, so nothing under it shows through */
.pl-faces .pl-face-wait { display: block; overflow: hidden; border-radius: 50%; background: var(--bg); }
.pl-faces .pl-face-wait > * { width: 100%; height: 100%; margin: 0; border-radius: 50%; object-fit: cover; opacity: .4; box-shadow: none; }
.pl-ch .meta .pl-sep { color: var(--faint); font-style: normal; }

/* The search by image and by colour sit close together, on every screen (2026-11-15, Pedro: "otimizar o espaçamento entre os
   ícones de paleta de cor e a busca por imagens… quero diminuir"): 2px between the two buttons instead of the bar's 8px */
#head #sbar #color-btn { margin-left: calc(-1 * var(--s-6)); }

/* The folder lists, limited (app.js folderMenu): a search past six, the list about five and a half rows tall and scrolling
   inside, Nova coleção always at the foot */
.sv-search { display: flex; align-items: center; gap: var(--s-8); height: 40px; margin: 0 0 var(--s-4); padding: 0 var(--s-12); border-radius: var(--r-pill); background: var(--surface); color: var(--muted); }
.sv-search:focus-within { background: var(--bg); box-shadow: var(--shadow-field-focus); }
.sv-search svg { flex: none; width: 16px; height: 16px; }
.sv-q { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-input); }
.sv-q::-webkit-search-cancel-button { -webkit-appearance: none; }
.sv-list { display: grid; gap: 2px; max-height: calc(5.5 * 52px); overflow-y: auto; overscroll-behavior: contain; margin-inline: calc(-1 * var(--s-6)); padding-inline: var(--s-6); }
.sv-list[hidden] { display: none; }
.sv-none-t { margin: var(--s-4) var(--s-6) var(--s-8); color: var(--muted); font-size: var(--fs-sm); }
.sv-menu .sv-sep { height: 1px; margin: var(--s-6) var(--s-6) var(--s-4); border: 0; background: var(--line); } /* the line is its own piece: on the row it bent with the row's corners */
.sv-menu .sv-new { margin-top: 0; }

/* No count of projects or pieces beside a theme, anywhere: the filter lists, the filters sheet, the search's suggestions,
   the index words of Explorar and Mobiliário (2026-11-15, Pedro's phone QA: "vamos remover todos os lugares que mostram a
   quantidade de projetos relacionados àquele tema… em toda a plataforma"). The profile's tabs keep theirs: they count what
   the person saved, not a theme. The ② of how many are picked in a pill stays. */
html.acervo-new :is(.mopt .n, .ds-chip .l > sup, .ds-chip > sup, .am-chip sup, .ds-word sup, .pl-iw sup, .rchip small, .chip > small, .chips button > sup, .ctabs sup) { display: none; }
html.acervo-new :is(.trow, .rowchips, .views-row, .fcd .ctabs, .fcd .ds-tabs).at-end { -webkit-mask-image: none; mask-image: none; }
/* Projetos' row on a phone scrolls inside its band (.qrow), so the fade is the band's: a strip of the page's own white at
   the window's edge while more filters wait to the right, gone at the end. The row itself never fades its last pill. */
@media (max-width: 700px) {
  html.acervo-new #pg-projects > .qrow > .trow { -webkit-mask-image: none; mask-image: none; }
  html.acervo-new #pg-projects > .qrow::after { content: ''; position: sticky; right: calc(-1 * var(--gutter)); flex: none; align-self: stretch; width: 32px; margin-left: -32px; background: linear-gradient(to right, transparent, var(--bg)); pointer-events: none; transition: opacity var(--dur-quick) var(--ease); }
  html.acervo-new #pg-projects > .qrow.at-end::after { opacity: 0; }
}
/* A post closing on a phone: its foot and top bar leave at once; only the photo flies home (app.js, lb-closing) */
html.acervo-new.lb-closing :is(.lb-foot, .lb-bar, .lb-info, .lb-more, .lb-f6, .lb-split, .lb-left) { visibility: hidden; } /* the block under the photo too: "Salvo por" and the colours (2026-11-16, Pedro: "quando clica pra voltar fica mostrando ainda as cores e o Salvo por") */
/* The dark full-screen photo: its round buttons are frosted glass, not a see-through grey, so they never mix with the photo
   under them (2026-11-15, Pedro's phone QA: "vamos colocar um blur… para não confundir com o conteúdo que está por baixo") */
html.acervo-new :is(.lbx-x, .lbx-share, .lbx .sv-bar) { background: var(--glass-dark); -webkit-backdrop-filter: var(--glass-dark-frost); backdrop-filter: var(--glass-dark-frost); }
html.acervo-new :is(.lbx-x, .lbx-share):hover { background: var(--glass-dark-hover); }
/* "Mais referências" and "Mais peças" under a post are a grid of photos only, like Explorar: no name, no source under them
   (2026-11-15, Pedro's phone QA: "vamos remover o nome e descrição das referências… a gente precisa ter uma linearidade") */
html.acervo-new .more-t .pc { display: none; }
/* On a phone an open post has its own top bar (back, the name, ⋯): the site's header steps away, wherever the page was
   scrolled, so it never covers the post's back (2026-11-15, Pedro's phone QA: "não tenho a seta para voltar e nem consigo
   ver o nome, porque essa barra aqui está por cima") */
@media (max-width: 700px) {
  html.acervo-new.lb-viewing .head { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); pointer-events: none; }
}
@media (max-width: 700px) {
  /* the pill stays over the Atividade page, the heart lit and no page's icon with it */
  html.acervo-new body:has(.pl-dlg.act.on) .pl-foot { z-index: calc(var(--z-sheet) + 1); } /* over the page; the rule that hides the pill for a dialog leaves this one out */
  html.acervo-new .pl-tabbar.act-on .pl-tab[data-page].on { background: none; color: rgba(17, 17, 17, .62); }
  html.acervo-new .pl-tabbar.act-on .pl-tab-act { background: #fff; color: var(--ink); }
}
@media (max-width: 700px) {
  /* Editar perfil and Filtrar at the page's own action height on a phone too, never squashed (2026-11-15, phone QA:
     "o botão aqui já está estranho… achatado… vamos deixar um botão maior aqui de editar perfil") */
  html.acervo-new #pg-profile .p-acts .pill { height: var(--h-btn-lg); }
  html.acervo-new #pg-profile .p-acts .pill.ic { width: var(--h-btn-lg); }
  /* Filtrar opens as a sheet from the foot, never a menu running under the pill and the browser's bar (2026-11-15,
     phone QA: "esse botão de configuração, veja que ele passa a barra aqui embaixo… precisa otimizar para o mobile") */
  html.acervo-new .p-filtpop.show { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 80vh; max-height: 80svh; overflow-y: auto; z-index: var(--z-sheet);
    border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding-bottom: calc(var(--s-16) + env(safe-area-inset-bottom, 0px)); box-shadow: 0 0 0 100vmax var(--veil), var(--shadow-raised); }
  html.acervo-new body:has(.p-filtpop.show) .pl-foot { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
}
@media (max-width: 700px) {
  /* The folders under a post's Salvar open centred on the screen, whole, never cut at the side (2026-11-15, phone QA:
     "veja que ele está cortando para o lado também. Isso pode ficar no centro") */
  html.acervo-new .lb-foot :is(.sv, .sv-bar, .lb-acts) { position: static; } /* the menu measures from the foot, which is centred on the screen */
  html.acervo-new .lb-foot .sv-menu { --w-sv: min(340px, calc(100vw - 2 * var(--gutter))); width: var(--w-sv); left: 50%; right: auto; margin-left: calc(var(--w-sv) / -2); transform-origin: 50% 100%; }
}
/* Inviting is Compartilhar's: no + beside the faces of a collection, on a computer either (2026-11-15) */
.pl-ch.coll .pl-crew-add { display: none; }
/* a link in the fine print (Privacidade, under "Criar conta"): the same quiet text, underlined so it reads as a link */
.pl-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pl-fine a:hover { color: var(--ink); }

/* The footer's links at the foot of the account menu (2026-11-16): the home and Explorar have no footer, so Privacidade,
   Termos, Contato and Créditos e remoção live here, small, as Pinterest keeps them in its menu. */
.pl-mfine { padding: var(--s-4) var(--s-12) var(--s-8); color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.pl-mfine p { margin: 0; }
.pl-mfine a { color: inherit; }
.pl-mfine a:hover { color: var(--ink); }
.pl-mfine .c { margin-top: var(--s-6); color: var(--faint); }

/* The colour button's orb and its place in the bar (2026-11-17, Lucas, Paper page "Busca · cores do ícone de cor", option P7:
   "a camera mais perto das bolinhas, e o / mais distante"; "arruma esse gap pra ficar mais parecido com o savee"). The orb is
   as tall as the image-search icon (14px). On wider screens: about 27px from the / key to the camera, 8px from the camera to
   the orb, 15px from the orb to the end of the bar. */
.color-orb { display: block; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%), conic-gradient(from 0deg, #ff6b6b, #ffd166, #7ef29d, #6bc4f5, #b38cff, #ff7ad9, #ff6b6b); }
@media (min-width: 701px) {
  html.acervo-new #head #sbar { padding-right: var(--s-8); }
  html.acervo-new #head #sbar #lens-btn { width: 32px; margin-left: -4px; }
  html.acervo-new #head #sbar #color-btn { width: 28px; margin-left: -14px; }
  /* no grey disc behind the two icons on hover (it came out an oval, the buttons being narrower than tall; Lucas: "feio esse
     hover"): the camera darkens, the orb grows a little */
  html.acervo-new #head #sbar :is(#lens-btn, #color-btn):is(:hover, [aria-expanded="true"]) { background: none; }
  html.acervo-new #head #sbar #lens-btn:is(:hover, [aria-expanded="true"]) { color: var(--ink); }
}
.color-orb { transition: transform var(--dur-quick) var(--ease); }
#color-btn:is(:hover, [aria-expanded="true"]) .color-orb { transform: scale(1.18); }

/* ---------- Saving and liking on a photo, after Cosmos (2026-11-17, Lucas: "queria algo BEM BEM parecido") ----------
   app.js: tileActs (the controls), saveMenu (the list), savedToast (the notice); plataforma.js: createColl (the dialog).
   Under the pointer an Explorar or Mobiliário photo dims a little and carries, on top, the collection the save goes to
   and a white Salvar; at the foot, curtir and "⋯". The collection, the heart and the dots are clear glass (tokens.css). */
.ta { position: absolute; inset: 0; z-index: 3; border-radius: 3px; background: var(--photo-dim); opacity: 0; pointer-events: none; transition: opacity var(--dur-quick) var(--ease); }
.post:hover > .ta, html.kbd .post:focus-within > .ta, .ta.open { opacity: 1; }
@starting-style { .post:hover > .ta { opacity: 0; } } /* made on the first hover (app.js): it still fades in */
.ta button { pointer-events: auto; }
.ta-top { position: absolute; top: var(--s-10); left: var(--s-10); right: var(--s-10); display: flex; justify-content: flex-end; gap: var(--s-6); }
.ta-bot { position: absolute; right: var(--s-10); bottom: var(--s-10); display: flex; gap: var(--s-6); }
.ta-coll, .ta-ic { color: #fff; background: var(--glass-photo); -webkit-backdrop-filter: var(--glass-photo-frost); backdrop-filter: var(--glass-photo-frost); box-shadow: var(--glass-photo-rim); transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease), transform var(--dur-quick) var(--spring); }
.ta-coll:hover, .ta-coll[aria-expanded="true"], .ta-ic:hover, .ta-ic[aria-expanded="true"] { background: var(--glass-photo-hover); }
/* open, Compartilhar turns white like Salvar, so it reads as pressed and a second press puts the sheet away (2026-11-18, Lucas) */
.ta-ic.ta-share[aria-expanded="true"], .ph-ic.ph-share[aria-expanded="true"] { background: #fff; color: var(--ink); }
/* the collection is only as wide as its name (a long one is cut), beside Salvar, in the corner */
.ta-coll { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: var(--s-6); height: var(--h-ib); padding: 0 var(--s-10) 0 var(--s-14); border-radius: var(--r-pill); font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; text-align: left; }
.ta-name { min-width: 0; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-coll svg { flex: none; width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease); }
.ta-coll[aria-expanded="true"] svg { transform: rotate(180deg); }
.ta-save { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; height: var(--h-ib); padding: 0 var(--s-16); overflow: hidden; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), transform var(--dur-quick) var(--spring); }
.ta-save:hover { background: var(--surface); }
.ta-save.on { background: var(--ink); color: #fff; }
.ta-save.on:hover { background: var(--ink-hover); }
.ta-save svg { width: 16px; height: 16px; margin-left: calc(var(--s-4) * -1); }
.ta-save svg path { stroke-dasharray: 16; }
.ta-ic { position: relative; display: grid; place-items: center; width: var(--h-ib); height: var(--h-ib); border-radius: 50%; }
.ta-ic svg { width: 20px; height: 20px; }
.ta-like[aria-pressed="true"] path, .lb-ic.lk[aria-pressed="true"] path { fill: currentColor; }
.ta :is(.ta-coll, .ta-save, .ta-ic):active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
.ta :is(.ta-coll, .ta-save, .ta-ic):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Curtir (app.js, likePop): a ring and six sparks leave the heart, the logo's pink and the heart's colour in turn */
.lb-ic.lk { position: relative; }
.lk-fx { position: absolute; inset: 0; pointer-events: none; }
.lk-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--mark); }
.lk-dot { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--mark); }
.lk-dot:nth-child(odd) { background: currentColor; }
/* on the white of the open post the logo's pink would vanish: a deeper turn of the same pink, a thicker ring */
.lb .lk-fx { --lk: color-mix(in srgb, var(--mark) 72%, var(--ink)); }
.lb .lk-ring { box-shadow: inset 0 0 0 3px var(--lk); }
.lb .lk-dot:nth-child(even) { background: var(--lk); }
/* a finger has no hover: on a phone or a touch screen saving and liking happen in the open post, as before */
@media (max-width: 700px), (hover: none) { .ta { display: none; } }
/* transparency reduced in the system, more contrast asked for, or a browser that cannot blur: the same controls, solid */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .ta-coll, .ta-ic { background: var(--glass-photo-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.acervo-new .sv-menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ta-coll, .ta-ic { background: var(--glass-photo-solid); }
  html.acervo-new .sv-menu { background: var(--bg); }
}

/* The list of collections (2026-11-17, round 2: "a gnt copiou 1/1 o cosmos, talvez seja bom dar uma mudada"): the one this
   photo looks like comes apart, on top, on a white card with its own Salvar; then your feed and your collections, each
   with a mosaic of four photos and a padlock if private; at the foot a new one is named and made in place. A search only
   once there are more than six. Regular glass: what is behind shows as colour only, the words stay sharp. */
html.acervo-new .sv-menu { width: var(--w-save-menu); max-width: calc(100vw - 2 * var(--s-8)); padding: 0; overflow: hidden; border-radius: var(--r-sheet); background: var(--glass-panel); -webkit-backdrop-filter: var(--glass-panel-frost); backdrop-filter: var(--glass-panel-frost); }
html.acervo-new .lb .sv-menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } /* in the open post the list falls over the page and the large photo, which no blur softens there: solid, as a popover */
.sv-menu .sv-search { height: var(--h-search); margin: 0; padding: 0 var(--s-16); gap: var(--s-10); border-radius: 0; background: none; border-bottom: 1px solid var(--line); color: var(--faint); }
.sv-menu .sv-search:focus-within { background: none; box-shadow: none; }
.sv-menu .sv-search svg { width: 18px; height: 18px; }
.sv-menu .sv-q::placeholder { color: var(--faint); }
.sv-menu .sv-list { gap: var(--s-2); max-height: calc(6.5 * var(--h-row-2)); margin: 0; padding: var(--s-8); }
.sv-lbl { margin: 0; padding: var(--s-6) var(--s-8) var(--s-4); color: var(--muted); font-size: var(--fs-sm); }
.sv-lbl ~ .sv-lbl { padding-top: var(--s-10); }
html.acervo-new .sv-menu .sv-row { gap: var(--s-12); min-height: var(--h-row-2); padding: var(--s-8) var(--s-10) var(--s-8) var(--s-8); border-radius: var(--r-card); }
.sv-menu .sv-row:is(:hover, :focus-visible) { background: var(--glass-panel-hover); }
html.acervo-new .sv-menu .sv-row.sv-lead { background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
html.acervo-new .sv-menu .sv-row .sv-sw { width: 44px; height: 44px; border-radius: 6px; } /* a little rounder than the Explorar photos (3px), small as they are */
html.acervo-new .sv-menu .sv-row .sv-sw.sv-me { border-radius: 50%; background: var(--surface-2); }
/* Covers: the photo's own size never sets a cell's (a tall photo made its row taller, and your face a strip of the circle) */
.sv-sw { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.sv-sw:is(.n2, .n3, .n4) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-sw:is(.n3, .n4) { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.sv-sw img { display: block; min-width: 0; min-height: 0; }
.sv-menu .sv-t { gap: var(--s-2); }
.sv-nm { display: flex; align-items: center; gap: var(--s-6); min-width: 0; }
.sv-lock { flex: none; display: grid; color: var(--muted); }
.sv-lock svg { width: 14px; height: 14px; }
.sv-add { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: var(--surface-2); color: var(--muted); opacity: 0; transition: opacity var(--dur-quick) var(--ease), background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease); }
.sv-add svg { width: 16px; height: 16px; }
.sv-row:is(:hover, :focus-visible) .sv-add { opacity: 1; }
.sv-row[aria-selected="true"] .sv-add { opacity: 1; background: var(--ink); color: var(--bg); } /* already there: the check stays; a press takes the photo out */
.sv-go, .sv-mk { flex: none; display: grid; place-items: center; height: 32px; margin-left: auto; padding: 0 var(--s-14); border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; }
.sv-go svg { width: 16px; height: 16px; }
.sv-go.ok { width: 32px; padding: 0; }
.sv-menu .sv-none-t { margin: var(--s-8) var(--s-16) var(--s-12); }
/* a new collection, made in place: the "+" tile, its name, and Criar once there is one */
.sv-newf { display: flex; align-items: center; gap: var(--s-12); margin: 0; padding: var(--s-10) var(--s-10) var(--s-10) var(--s-16); border-top: 1px solid var(--line); }
.sv-newf { cursor: text; }
/* The + of "Nova coleção" (2026-11-17, drawn by Lucas in Paper): a small black round button with a white +, on the covers' left edge, the words right after it.
   Its own class, not .sv-sw: the covers are square by the site rule and this one is round. The ::before keeps the finger's target at 44px. */
.sv-newf .sv-plus { position: relative; flex: none; display: grid; place-items: center; width: var(--s-20); height: var(--s-20); padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; transition: transform var(--dur-quick) var(--ease), opacity var(--dur-quick) var(--ease); }
.sv-newf .sv-plus::before { content: ""; position: absolute; inset: calc(var(--s-12) * -1); }
.sv-newf .sv-plus:hover { opacity: .8; }
.sv-newf .sv-plus:active { transform: scale(var(--press-icon)); }
.sv-newf .sv-plus svg { display: block; width: var(--s-16); height: var(--s-16); }
.sv-newf .sv-plus svg path { stroke-width: 2; }
.sv-nin { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-input); font-weight: 500; caret-color: var(--ink); }
.sv-nin::placeholder { color: var(--ink); opacity: 1; }
.sv-nin:focus::placeholder { color: var(--faint); }
.sv-mk { opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--spring), background var(--dur-quick) var(--ease); }
.sv-newf.has .sv-mk { opacity: 1; transform: none; pointer-events: auto; }
.sv-mk:hover { background: var(--ink-hover); }
.sv-mk:active { transform: scale(var(--press)); }
@media (max-width: 700px) { .sv-add { opacity: 1; } } /* no hover on a phone: the "+" is always there */

/* "Salvo em Cozinhas": a check on the logo's pink, where it went, Desfazer and Ver. Light (--glass-toast, 2026-11-17) at the foot of the
   screen; on a phone it comes from the top, since the foot there belongs to Salvar. */
.toast-s { position: fixed; z-index: var(--z-top); left: 50%; bottom: calc(var(--s-24) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--s-12); height: var(--h-toast); max-width: calc(100vw - 2 * var(--s-16)); padding: 0 var(--s-8) 0 var(--s-14); border-radius: var(--r-pill); background: var(--glass-toast); -webkit-backdrop-filter: var(--glass-panel-frost); backdrop-filter: var(--glass-panel-frost); box-shadow: var(--shadow-raised); color: var(--ink); font-size: var(--fs-base); font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 16px) scale(.96); pointer-events: none; transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in); }
.toast-s.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--spring); }
.ts-ok { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mark); color: var(--ink); }
.ts-ok svg { width: 14px; height: 14px; }
.ts-ok svg path { stroke-dasharray: 16; stroke-width: 2.2; }
.ts-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .ts-t b { font-weight: 500; }
.ts-b { flex: none; display: flex; align-items: center; gap: var(--s-4); margin-left: var(--s-6); }
.ts-u, .ts-v { flex: none; height: 36px; border-radius: var(--r-pill); font-size: var(--fs-base); transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease), transform var(--dur-quick) var(--spring); }
.ts-u { padding: 0 var(--s-12); color: var(--muted); font-weight: 500; }
.ts-u:hover { background: var(--surface); color: var(--ink); }
.ts-v { padding: 0 var(--s-16); background: var(--surface); color: var(--ink); font-weight: 600; } /* grey, not ink: on the light notice a dark button stood out too much (2026-11-17, Pedro) */
.ts-v:hover { background: var(--surface-2); }
:is(.ts-u, .ts-v):active { transform: scale(var(--press)); }
@media (max-width: 700px) {
  .toast-s { top: calc(var(--head) + var(--s-12) + env(safe-area-inset-top, 0px)); bottom: auto; transform: translate(-50%, -12px) scale(.96); }
}

/* Nova coleção (plataforma.js, createColl): the name on a line, as the site's other forms have it, with the photo that
   goes in beside it when there is one; private or not; Cancelar and the button that says what happens */
.pl-dlg.nc { border-radius: var(--r-float); }
.pl-nc { display: grid; }
.pl-nc-top { display: flex; align-items: center; gap: var(--s-16); padding: var(--s-8) 0 var(--s-24); }
.pl-nc-ph { flex: none; width: 72px; height: 96px; border-radius: 6px; object-fit: cover; background: var(--surface); }
.pl-nc-f { flex: 1; min-width: 0; display: grid; gap: var(--s-6); }
.pl-nc-f > span, .pl-nc-f > small { color: var(--muted); font-size: var(--fs-sm); }
.pl-nc-name { width: 100%; padding: 0 0 var(--s-8); border: 0; border-bottom: 1.5px solid var(--surface-2); border-radius: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.02em; transition: border-color var(--dur-quick) var(--ease); }
.pl-nc-name:focus { border-bottom-color: var(--ink); }
.pl-nc-name::placeholder { color: var(--faint); }
.pl-nc .pl-err { margin: 0; }
.pl-nc .pl-nc-priv { padding: var(--s-14) 0; border-top: 1px solid var(--line); }
.pl-nc-priv > i { flex: none; display: grid; color: var(--ink); } .pl-nc-priv > i svg { width: 18px; height: 18px; }
.pl-nc-priv > span { flex: 1; }
.pl-nc-priv { gap: var(--s-12); }
.pl-nc-b { display: flex; justify-content: flex-end; gap: var(--s-8); padding-top: var(--s-10); }
.pl-nc-b .ds-btn.quiet { background: none; color: var(--muted); } .pl-nc-b .ds-btn.quiet:hover { background: var(--surface); color: var(--ink); }
@media (max-width: 700px) { .pl-dlg.nc { border-radius: var(--r-sheet) var(--r-sheet) 0 0; } .pl-nc-b > * { flex: 1; } }

/* Curtir in the open post: on a phone it hangs at the foot with Salvar, round like Compartilhar beside it */
@media (max-width: 700px) {
  html.acervo-new .lb-foot .lk { display: grid; place-items: center; min-width: 0; width: var(--h-btn-lg); height: var(--h-btn-lg); padding: 0; border-radius: 50%; background: var(--bg); color: var(--ink); box-shadow: var(--shadow-float); }
  html.acervo-new .lb-foot .lk svg { width: 20px; height: 20px; }
}

/* ---------- Compartilhar (2026-11-17): a small sheet from the button, five ways in a row ---------- */
.sh { padding: var(--s-8) var(--s-8) var(--s-6); }
.sh-t { margin: 0 0 var(--s-12); padding: 0 var(--s-4); color: var(--ink); font-size: var(--fs-base); font-weight: 600; }
.sh-row { display: flex; justify-content: space-between; gap: var(--s-4); }
.sh-b { display: flex; flex-direction: column; align-items: center; gap: var(--s-8); width: 68px; padding: var(--s-4) 0; border-radius: var(--r-tile); color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.sh-i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: transform var(--dur-quick) var(--spring); }
.sh-i svg { width: 22px; height: 22px; }
.sh-b:hover .sh-i { transform: scale(1.06); }
.sh-b:active .sh-i { transform: scale(var(--press-icon)); transition-duration: var(--dur-instant); }
.sh-b:hover { color: var(--ink); }
.sh-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sh-whatsapp .sh-i { background: var(--brand-whatsapp); color: #fff; }
.sh-instagram .sh-i { background: var(--brand-instagram); color: #fff; }
.sh-messenger .sh-i { background: var(--brand-messenger); color: #fff; }
.sh-x .sh-i { background: var(--ink); color: var(--bg); }
.sh-x .sh-i svg { width: 18px; height: 18px; }

/* ---------- The opened photo, option E3 (2026-11-17): its controls in glass on the photo ---------- */
.ph-acts { position: absolute; z-index: 2; left: var(--s-16); right: var(--s-16); bottom: var(--s-16); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-12); opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease); }
html.lb-settled .lb-stage .ph-acts { opacity: 1; }
@starting-style { html.lb-settled .lb-stage .ph-acts { opacity: 0; } }
html.lb-settled .lb-stage .ph-acts > * { pointer-events: auto; }
.lb-stage:is(.is-zoomed, .is-dragging) .ph-acts, html.lb-closing .lb-stage .ph-acts { opacity: 0; transition: none; }
.lb-stage:is(.is-zoomed, .is-dragging) .ph-acts > *, html.lb-closing .lb-stage .ph-acts > * { pointer-events: none; }
.ph-r { display: flex; gap: var(--s-8); margin-left: auto; }
.ph-r, .ph-link { pointer-events: none; } .ph-r > *, html.lb-settled .lb-stage .ph-link { pointer-events: auto; }
.ph-ic, .ph-link { color: #fff; background: var(--glass-photo-dark); -webkit-backdrop-filter: var(--glass-photo-dark-frost); backdrop-filter: var(--glass-photo-dark-frost); box-shadow: var(--glass-photo-dark-rim); cursor: pointer; transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease), transform var(--dur-quick) var(--spring); }
.ph-ic:hover, .ph-ic[aria-expanded="true"], .ph-link:hover { background: var(--glass-photo-dark-hover); }
.ph-ic:active, .ph-link:active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
.ph-ic:focus-visible, .ph-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ph-ic { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.ph-ic svg { width: 22px; height: 22px; }
.ph-ic.lk[aria-pressed="true"] path { fill: currentColor; }
.ph-link { display: inline-flex; align-items: center; gap: var(--s-8); min-width: 0; height: 40px; padding: 0 var(--s-16) 0 var(--s-12); border-radius: var(--r-pill); font-size: var(--fs-base); font-weight: 500; text-decoration: none; }
.ph-link svg { flex: none; width: 18px; height: 18px; }
.ph-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-transparency: reduce) { .ph-ic, .ph-link { background: var(--glass-photo-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* up top, on a computer: "⋯" and then Salvar at the very end; the heart is on the photo */
.lb.has-left .lb-left .lb-acts-r > .mm-w { order: -1; }
.lb.has-left .lb-left .lb-acts-r .lk { display: none; }
/* "Salvo por N pessoas" opens who saved it and where */
.sby-txt svg { display: inline-block; width: 14px; height: 14px; margin-left: var(--s-2); vertical-align: -3px; transition: transform var(--dur-base) var(--ease); }
.sby-txt[aria-expanded="true"] svg { transform: rotate(180deg); }
.who { min-width: 300px; }
.who ul { margin: 0; padding: 0; list-style: none; }
.who li { display: flex; align-items: center; gap: var(--s-12); min-height: var(--h-row-2); padding: 0 var(--s-12); }
.who li .sv-sw { width: 44px; height: 44px; border-radius: 6px; }
.who .sv-t { gap: var(--s-2); color: var(--ink); font-size: var(--fs-base); font-weight: 500; }
.who .sv-t small { display: flex; align-items: center; gap: var(--s-6); min-width: 0; font-weight: 400; white-space: nowrap; }
.who .sv-t small :is(img, .face-empty) { flex: none; width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.who-all { display: block; width: 100%; min-height: var(--h-row); margin-top: var(--s-4); padding: 0 var(--s-12); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-tile) var(--r-tile); color: var(--ink); font-size: var(--fs-base); font-weight: 500; text-align: left; }
.who-all:hover { background: var(--surface); }
@media (max-width: 700px) { .sby-txt svg { display: none; } } /* on a phone the line is short: the sentence alone, whole */

/* ---------- A phone's post without the floating foot (2026-11-17, Pedro) ----------
   "Não vamos ter mais o botão flutuante; o salvar vai ficar no lugar das cores, para facilitar o acesso com o polegar; as
   cores ficam abaixo do salvo por X pessoas; o compartilhar vai lá pra cima, do lado esquerdo dos três pontinhos; o like
   ao lado do salvar, do lado esquerdo." The foot (Salvar with its arrow, curtir) sits in the row under the photo
   (footPlace in app.js); curtir and Compartilhar leave the photo, so each shows once. The list of collections opens
   above the row, across it. */
.lb-share-top, .lb-meta-act:empty, .lb-counts { display: none; }
@media (max-width: 700px) {
  html.acervo-new .lb-share-top { display: grid; }
  html.acervo-new .lb-stage .ph-r { display: none; }
  html.acervo-new .lb-meta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "by act" "col act"; align-items: center; column-gap: var(--s-12); row-gap: var(--s-8); }
  html.acervo-new .lb-meta .sby-line { grid-area: by; }
  html.acervo-new .lb-meta .lb-colors { grid-area: col; }
  html.acervo-new .lb-meta .lb-meta-act { grid-area: act; }
  html.acervo-new .lb-meta-act .lb-foot { position: static; z-index: auto; left: auto; bottom: auto; transform: none; opacity: 1; pointer-events: auto; display: flex; }
  html.acervo-new .lb-meta-act .lb-foot > .lb-acts { display: flex; align-items: center; gap: var(--s-8); margin: 0; padding: 0; } /* not the room the back arrow takes in the header */
  html.acervo-new .lb-meta-act .lb-share { display: none; }
  html.acervo-new .lb-meta-act .lk { order: -1; }
  /* curtir and Compartilhar as on a computer (.ph-ic): the round button, 40px, a 22px icon, the heart filled once liked.
     On the white page it is grey (--surface, --surface-2 under the finger), with the icon in ink: the dark glass works only
     over a photo, where the blur has something behind it; over a plain colour, white above all, it stands out too much
     (2026-11-17, Pedro: "o botão de curtir e o botão de compartilhar também pode ficar no fundo cinza quando ele tiver por
     cima de um fundo branco"). A 44px reach around the 40px circle, for the thumb. */
  html.acervo-new :is(.lb-meta-act .lk, .lb-share-top) { position: relative; display: grid; place-items: center; width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: none; transition: background var(--dur-quick) var(--ease), transform var(--dur-quick) var(--spring); }
  html.acervo-new :is(.lb-meta-act .lk, .lb-share-top):hover { background: var(--surface-2); }
  html.acervo-new :is(.lb-meta-act .lk, .lb-share-top)::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; }
  html.acervo-new :is(.lb-meta-act .lk, .lb-share-top) svg { width: 22px; height: 22px; }
  html.acervo-new .lb-meta-act .lk[aria-pressed="true"] path { fill: currentColor; }
  html.acervo-new :is(.lb-meta-act .lk, .lb-share-top):active { transform: scale(var(--press)); transition-duration: var(--dur-instant); }
  html.acervo-new .lb-meta-act .sv-bar { box-shadow: none; }
  html.acervo-new .lb-meta-act .sv-save { padding: 0 var(--s-14) 0 var(--s-20); } /* a little narrower than the floating CTA was, so "Salvo por N pessoas" fits beside it */
  html.acervo-new .lb-meta-act .sv-pick { width: 38px; }
  /* who saved and liked it, only as text: "87 Saves  23 Likes" (2026-11-17, Pedro, after trying three faces and "+84":
     "vamos testar somente '84 Saves' '23 Likes'… somente o texto"); Saves opens who saved it */
  html.acervo-new .lb-meta .sby-line :is(.sby, .sby-txt) { display: none; }
  html.acervo-new .lb-meta .lb-counts { display: flex; align-items: center; gap: var(--s-16); min-height: 40px; color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
  html.acervo-new .lb-meta .lb-counts b { color: var(--ink); font-weight: 600; }
  html.acervo-new .lb-meta .cnt-s { padding: var(--s-12) 0; margin-block: calc(-1 * var(--s-2)); border: 0; background: none; color: inherit; font: inherit; cursor: pointer; } /* a line of text, 40px to touch */
  /* the list of collections opens above the row, its right edge on Salvar's (2026-11-17, Pedro: "vamos alinhar isso aqui a direita") */
  html.acervo-new .lb-meta-act .sv-menu { left: auto; right: 0; margin-left: 0; transform-origin: 100% 100%; }
}

/* ---------- Menus that grow out of their button (2026-11-18, Lucas approved: html.mo-pop, set in app.js) ----------
   Open: the menu comes out of the button that opened it (from its corner, a little smaller and soft), landing on a small
   spring; what is inside follows a beat later. Close (the same button again, Esc or outside): it goes back into the
   button, quicker, easing in. The button itself gives a small press both ways. Computer only: on a phone menus are sheets. */
@media (min-width: 701px) {
  html.mo-pop :is(.sv-menu, .ds-menu, .mm, .lang-m) {
    opacity: 0; transform: translateY(-10px) scale(.82); filter: blur(6px);
    transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in), filter var(--dur-quick) var(--ease-in), visibility 0s var(--dur-quick);
  }
  html.mo-pop :is(.sv-menu, .ds-menu, .mm, .lang-m).on {
    opacity: 1; transform: none; filter: none;
    transition: opacity var(--dur-quick) var(--ease), transform calc(var(--dur-base) * 1.4) cubic-bezier(.3, 1.35, .5, 1), filter var(--dur-base) var(--ease), visibility 0s;
  }
  html.mo-pop .lb-foot .sv-menu, html.mo-pop .sv-menu[style*="100%"] { transform: translateY(10px) scale(.82); } /* opening upwards: it rises out of the button */
  html.mo-pop .lb-foot .sv-menu.on, html.mo-pop .sv-menu.on[style*="100%"] { transform: none; }
  /* inside: the share circles pop in one after another */
  html.mo-pop .ds-menu .sh-b { opacity: 0; transform: translateY(6px) scale(.7); transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--spring); }
  html.mo-pop .ds-menu.on .sh-b { opacity: 1; transform: none; }
  html.mo-pop .ds-menu.on .sh-b:nth-child(1) { transition-delay: 40ms; } html.mo-pop .ds-menu.on .sh-b:nth-child(2) { transition-delay: 75ms; }
  html.mo-pop .ds-menu.on .sh-b:nth-child(3) { transition-delay: 110ms; } html.mo-pop .ds-menu.on .sh-b:nth-child(4) { transition-delay: 145ms; }
  html.mo-pop .ds-menu.on .sh-b:nth-child(5) { transition-delay: 180ms; }
  html.mo-pop .ds-menu .ds-mi { opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-quick) var(--ease), transform var(--dur-base) var(--ease); }
  html.mo-pop .ds-menu.on .ds-mi { opacity: 1; transform: none; transition-delay: 50ms; }
  /* the button: a small press when it opens and when it closes; the chevron turns on a spring */
  html.mo-pop :is(.ta-coll, .ta-share, .ph-share, .sv-pick, .cs-pick, .sby-txt, .lb-ic, .p-filt-b, .lang-b, a.me, .tl-ic, .tl-dates button).mo-tap { animation: mo-tap calc(var(--dur-base) * 1.2) var(--ease); }
  html.mo-pop :is(.ta-coll, .sv-pick, .sby-txt, .cs-pick) svg { transition: transform calc(var(--dur-base) * 1.3) cubic-bezier(.3, 1.5, .5, 1) !important; }
  html.mo-pop :is(.ta-share, .ph-share) svg { transition: transform var(--dur-base) var(--spring); }
  html.mo-pop :is(.ta-share, .ph-share)[aria-expanded="true"] svg { transform: translateY(-2px); }
}
@keyframes mo-tap { 0% { transform: scale(1); } 30% { transform: scale(.9); } 100% { transform: scale(1); } }

/* ---------- A project's timeline (2026-11-17, Pedro; local test of the "H3 · Progresso" concept in Paper) ----------
   app.js: tlTabs, openTimeline. The tabs sit under Salvar, on a line, as the profile's. The panel rises from the foot of
   the screen to the tabs; a dashed axis through its middle, a column per milestone with a hairline on its left, words and
   photos taking turns above and under the line. The axis is solid up to where the reading is; the milestone there in
   full, the passed ones a little dimmed, the next ones more. The stages' names on top, the arrows at the foot. */
html.acervo-new .pj-tabs { margin-top: var(--s-24); box-shadow: inset 0 -1px 0 var(--line); scroll-margin-top: 240px; }
html.acervo-new .pj-tabs .ds-tab { height: auto; padding: var(--s-6) 0 var(--s-12); }
html.acervo-new .pj-tabs .ds-tab .l::after { bottom: calc(-1 * var(--s-12)); }
.tl { position: fixed; left: 0; right: 0; bottom: 0; z-index: calc(var(--z-page) + 1); display: flex; flex-direction: column; background: var(--bg); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(100%); transition: transform var(--dur-base) var(--ease); }
.tl.on { transform: none; }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); padding: var(--s-20) var(--s-32) 0 calc(var(--x0) + var(--s-32)); }
.tl-dates { display: flex; align-items: center; gap: var(--s-20); font-size: var(--fs-sm); }
.tl-dates button { padding: var(--s-8) 0; color: var(--faint); transition: color var(--dur-quick) var(--ease); }
.tl-dates button:hover { color: var(--muted); }
.tl-dates button.on { color: var(--ink); font-weight: 600; }
.tl-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background var(--dur-quick) var(--ease), opacity var(--dur-quick) var(--ease); }
.tl-ic:hover { background: var(--surface-2); }
.tl-ic:disabled { opacity: .35; cursor: default; background: var(--surface); }
.tl-ic svg { width: 14px; height: 14px; }
.tl-scroll { flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-track { position: relative; display: flex; width: max-content; height: 100%; padding-left: var(--x0); }
.tl-axis { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--faint); }
.tl-prog { position: absolute; left: 0; top: calc(50% - 1px); width: 0; height: 2px; background: var(--ink); }
.tl-end { flex: none; }
.tl-col { position: relative; flex: none; display: flex; flex-direction: column; width: 640px; height: 100%; box-shadow: inset 1px 0 0 var(--line); }
.tl-col > .tl-half { transition: opacity var(--dur-quick) var(--ease); }
.tl-col.past > .tl-half { opacity: .6; }
.tl-col.next > .tl-half { opacity: .35; }
.tl-half { height: 50%; display: flex; flex-direction: column; padding: 0 var(--s-64) 0 var(--s-32); }
.tl-half.up { justify-content: flex-end; padding-bottom: var(--s-28); }
.tl-half.down { padding-top: var(--s-28); }
.tl-dot { position: absolute; left: calc(var(--s-32) + 3px); top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transition: transform var(--dur-base) var(--ease), background var(--dur-quick) var(--ease); }
/* always a solid dot, never a ring: small and grey ahead, ink once the line has reached it, and the one being read only
   grows (2026-11-17, Pedro: "vamos tirar esse stroke extra… só aumentar a bolinha… pequena e cinza… sempre com a cor sólida") */
.tl-col.next .tl-dot { background: var(--faint); }
.tl-col.now .tl-dot { transform: scale(1.6); }
.tl-txt { display: grid; gap: var(--s-8); max-width: 528px; font-size: var(--fs-base); line-height: 1.4; }
.tl-txt b { font-weight: 500; color: var(--ink); }
.tl-txt p { margin: var(--s-6) 0 0; color: var(--muted); }
.tl-ph { display: flex; gap: var(--s-6); }
.tl-half.up .tl-ph { align-items: flex-end; } /* a photo grows away from the axis */
.tl-ph button { position: relative; flex: none; width: 80px; height: 100px; padding: 0; background: var(--surface); cursor: zoom-in; transition: width var(--dur-quick) var(--ease), height var(--dur-quick) var(--ease); }
.tl-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the photo under the pointer grows a little and pushes its neighbours aside, never over them (2026-11-17, Pedro: "fica
   um pouquinho maior que as outras… vamos empurrar as outras… está ficando colada") */
.tl-ph button:hover, .tl-ph button:focus-visible { width: 96px; height: 120px; }
.tl-foot { position: absolute; right: var(--s-32); bottom: var(--s-28); display: flex; gap: var(--s-8); }
@media (prefers-reduced-motion: reduce) { .tl, .tl-ph button, .tl-dot { transition: none; } }

/* The menus' language on everything that opens from a button (2026-11-18, Pedro: "vamos levar em consideração esse novo
   estilo de interação para TODO o site"): the filter and sort lists (and the profile's filter, the same .mpop) and the
   search bar's image and colour panels come out of their button and go back into it as Lucas's menus do; every button that
   opens something gives the same small press. The panels under the search bar are wide, so they start at .97, not .82;
   they appear and leave by the hidden attribute, so they enter from @starting-style and leave with display allow-discrete. */
@media (min-width: 701px) {
  html.mo-pop .mpop { opacity: 0; transform: translateY(-10px) scale(.82); filter: blur(6px);
    transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in), filter var(--dur-quick) var(--ease-in), visibility 0s var(--dur-quick); }
  html.mo-pop .mpop.show { opacity: 1; transform: none; filter: none;
    transition: opacity var(--dur-quick) var(--ease), transform calc(var(--dur-base) * 1.4) var(--spring), filter var(--dur-base) var(--ease), visibility 0s; }
  html.mo-pop .lens-pop { transform-origin: calc(100% - var(--s-40)) 0;
    transition: opacity var(--dur-quick) var(--ease), transform calc(var(--dur-base) * 1.4) var(--spring), filter var(--dur-base) var(--ease), display var(--dur-base) allow-discrete; }
  html.mo-pop .lens-pop[hidden] { display: none; opacity: 0; transform: translateY(-10px) scale(.97); filter: blur(6px);
    transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in), filter var(--dur-quick) var(--ease-in), display var(--dur-quick) allow-discrete; }
  @starting-style { html.mo-pop .lens-pop:not([hidden]) { opacity: 0; transform: translateY(-10px) scale(.97); filter: blur(6px); } }
  html.mo-pop :is([aria-haspopup], #lens-btn, #color-btn).mo-tap { animation: mo-tap calc(var(--dur-base) * 1.2) var(--ease); }
}
@media (prefers-reduced-motion: reduce) { html.mo-pop :is(.mpop, .lens-pop) { filter: none; transform: none; } }

/* The timeline in the menus' language (2026-11-18, Pedro: "aplica onde você acha que tem a oportunidade"; Lucas's html.mo-pop):
   the panel grows out of the "Linha do tempo" tab, a little smaller and soft, and lands on the same light spring; it goes
   back quicker, easing in. Inside, a beat later and one column after another, the words and photos rise into place and the
   dots pop in, as the Compartilhar circles do. The individual `scale` and `translate` properties leave `transform` to the
   reading state (the dot being read stays bigger). Computer only, as the menus. */
@media (min-width: 701px) {
  html.mo-pop .tl { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); transform-origin: var(--ox, 50%) 0;
    transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in), filter var(--dur-quick) var(--ease-in); }
  html.mo-pop .tl.on { opacity: 1; transform: none; filter: none;
    transition: opacity var(--dur-quick) var(--ease), transform calc(var(--dur-base) * 1.4) var(--spring), filter var(--dur-base) var(--ease); }
  html.mo-pop .tl.on .tl-half > * { animation: tl-rise var(--dur-base) var(--ease) backwards; animation-delay: calc(var(--dur-instant) + var(--i, 0) * var(--stagger)); }
  html.mo-pop .tl.on .tl-dot { animation: tl-pop var(--dur-base) var(--spring) backwards; animation-delay: calc(var(--dur-instant) + var(--stagger) + var(--i, 0) * var(--stagger)); }
  html.mo-pop .tl.on .tl-prog { animation: tl-draw var(--dur-slow) var(--ease) backwards; animation-delay: var(--dur-quick); }
}
@keyframes tl-rise { from { opacity: 0; translate: 0 var(--nudge); } }
@keyframes tl-pop { from { opacity: 0; scale: .4; } }
@keyframes tl-draw { from { scale: 0 1; } }
.tl-prog { transform-origin: 0 50%; }
@media (prefers-reduced-motion: reduce) { html.mo-pop .tl, html.mo-pop .tl.on { filter: none; transition: opacity var(--dur-quick) var(--ease); transform: none; } html.mo-pop .tl.on :is(.tl-half > *, .tl-dot, .tl-prog) { animation: none; } }

/* Zoom on the opened project photo (11/18, option B): click, wheel or pinch; zoomed, the photo takes the window. */
#pf .pv-top { z-index: 3; }
#pf[data-zm]:not([data-zm="off"]) .pv-stage { touch-action: none; cursor: zoom-in; }
#pf[data-zm]:not([data-zm="off"]) .pv-stage img { user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
#pf[data-zm="a"] .pv-stage.zm-in { cursor: zoom-out; }
#pf[data-zm="b"] .pv-stage.zm-in { cursor: grab; }
#pf[data-zm="b"] .pv-stage.zm-in.zm-drag { cursor: grabbing; }
#pf[data-zm="c"] .pv-stage { cursor: crosshair; }
#pf.zm-fill .pv-stage { z-index: 2; overflow: visible; clip-path: none !important; }
#pf .pv-ui:not(.pv-top) { transition: opacity var(--dur-base) var(--ease); }
#pf.zm-fill .pv-ui:not(.pv-top), #pf.zm-fill .pv-top .count { opacity: 0; pointer-events: none; }
#pf .pf-lens { position: fixed; z-index: 4; border-radius: 50%; background-color: var(--surface); background-repeat: no-repeat; box-shadow: 0 0 0 2px #fff, 0 10px 30px rgba(0, 0, 0, .22); pointer-events: none; }

/* ---------- Mobiliário, the commercial version (2026-11-18, Pedro; app.js furnStory) ----------
   In the site's own voice, not the wireframe's ("não estamos usando bold… muito espaçamento em branco, seção com altura
   alta"). A partner takes a whole screen of a laptop ("um partner vai ocupar duas linhas… um card bem grande e imponente,
   com fundo cinza… a logo da loja no meio grande"): on the left a grey card (--surface) with the shop's mark large in a
   white circle, "Parceiro", the name light, what they make and the buttons; beside it eight pieces in two rows. After the
   first partner, the four lists in one row (pale grounds, --tone-*), the title light, one piece cut out in the corner.
   96px between sections. Hovering a piece shows its name, never a zoom. Narrower screens stack the card over the pieces;
   a phone runs the pieces sideways and the lists two by two. */
.fv { display: grid; gap: var(--s-96); margin: var(--s-40) 0 var(--s-96); }
.fv[hidden] { display: none; }
.fv-row { display: grid; grid-template-columns: minmax(300px, 32%) minmax(0, 1fr); gap: var(--s-12); }
.fv-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-32); padding: var(--s-64) var(--s-32) var(--s-48); border-radius: var(--r-card); background: var(--surface); text-align: center; }
.fv-tag { position: absolute; z-index: 1; top: var(--s-20); left: var(--s-20); display: inline-flex; border: 0; cursor: pointer; transition: transform var(--dur-quick) var(--ease), box-shadow var(--dur-quick) var(--ease); align-items: center; gap: var(--s-6); padding: var(--s-6) var(--s-12) var(--s-6) var(--s-6); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); font-size: var(--fs-sm); line-height: 1; } /* the seal and "Parceiro verificado" in the card's corner */
.fv-seal { display: block; flex: none; width: 18px; height: 18px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .16)); }
.fv-seal svg { display: block; width: 100%; height: 100%; }
.fv-ro { fill: var(--ink); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; } /* a rosette, the scallops softened */
.fv-tk { fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fv-tag:hover { box-shadow: var(--shadow-raised); transform: translateY(-1px); } /* it opens the seal's card */
/* The light blur behind a partner's card: a room of theirs, blurred to colour and lit white (2026-11-18, concept B) */
.fv-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.fv-bg img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(1.35); transform: scale(1.35); }
.fv-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 58%, rgb(255 255 255 / .62), rgb(255 255 255 / .36)); } /* lighter where the text is */
.fv-card:has(.fv-bg) .fv-id > p:last-child { color: var(--ink); } /* the count reads on the colour, not lost in it */
.fv-card:has(.fv-bg) .fv-id a { text-decoration-color: color-mix(in srgb, var(--ink) 45%, transparent); }

/* The seal's card (openSeal in app.js): it turns towards the pointer, the seal floats above it, a light runs over it */
@media (min-width: 701px) { .pl-dlg.fvv { width: min(460px, calc(100% - 32px)); } } /* on the phone it stays the full-width sheet */
.fvv .pl-h h2:empty { visibility: hidden; }
.fvv-stage { padding: var(--s-8) var(--s-4) var(--s-24); perspective: 900px; touch-action: none; animation: fvv-in calc(var(--dur-slow) * 1.8) var(--spring) both; }
@keyframes fvv-in { from { opacity: 0; transform: translateY(var(--s-16)) rotateX(14deg) rotateY(-22deg) scale(.92); } }
.fvv-card { position: relative; isolation: isolate; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s-20) var(--s-16); padding: var(--s-24); overflow: hidden;
  border-radius: var(--r-sheet); background: var(--surface); box-shadow: var(--shadow-overlay), inset 0 0 0 1px rgb(255 255 255 / .6);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform calc(var(--dur-slow) * 1.6) var(--spring); }
.fvv-card.live { transition: transform var(--dur-quick) var(--ease); }
.fvv-av { position: relative; width: 88px; aspect-ratio: 1; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transform: translateZ(24px); }
.fvv-av:has(.fv-mark) { background: none; }
.fvv-av .fv-logo { width: 70%; }
.fvv-seal { position: absolute; right: -6px; bottom: -4px; width: 36px; height: 36px; transform: translateZ(40px); filter: drop-shadow(0 4px 8px rgb(0 0 0 / .28)); }
.fvv-seal svg { display: block; width: 100%; height: 100%; }
.fvv-seal::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .9) 48%, transparent 64%) calc(var(--mx, 0%) * 1.4 - 20%) 0 / 260% 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.00 1.00 L14.48 2.73 L17.50 2.47 L18.79 5.21 L21.53 6.50 L21.27 9.52 L23.00 12.00 L21.27 14.48 L21.53 17.50 L18.79 18.79 L17.50 21.53 L14.48 21.27 L12.00 23.00 L9.52 21.27 L6.50 21.53 L5.21 18.79 L2.47 17.50 L2.73 14.48 L1.00 12.00 L2.73 9.52 L2.47 6.50 L5.21 5.21 L6.50 2.47 L9.52 2.73 Z'/></svg>") center / 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.00 1.00 L14.48 2.73 L17.50 2.47 L18.79 5.21 L21.53 6.50 L21.27 9.52 L23.00 12.00 L21.27 14.48 L21.53 17.50 L18.79 18.79 L17.50 21.53 L14.48 21.27 L12.00 23.00 L9.52 21.27 L6.50 21.53 L5.21 18.79 L2.47 17.50 L2.73 14.48 L1.00 12.00 L2.73 9.52 L2.47 6.50 L5.21 5.21 L6.50 2.47 L9.52 2.73 Z'/></svg>") center / 100% no-repeat; }
.fvv-who { display: grid; gap: var(--s-4); transform: translateZ(16px); }
.fvv-who strong { font-size: var(--fs-2xl); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.fvv-who span { color: color-mix(in srgb, var(--ink) 78%, transparent); font-size: var(--fs-sm); }
.fvv-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s-8) 0 0; padding-top: var(--s-16); border-top: 1px solid rgb(17 17 17 / .1); transform: translateZ(12px); }
.fvv-facts div + div { padding-left: var(--s-12); border-left: 1px solid rgb(17 17 17 / .1); }
.fvv-facts dt { color: color-mix(in srgb, var(--ink) 66%, transparent); font-size: var(--fs-sm); }
.fvv-facts dd { margin: var(--s-2) 0 0; overflow: hidden; font-size: var(--fs-base); text-overflow: ellipsis; white-space: nowrap; }
.fvv-shine { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-base) var(--ease);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .55), rgb(255 255 255 / 0) 50%),
    linear-gradient(115deg, transparent 30%, rgb(255 228 238 / .3) 42%, rgb(255 255 255 / .6) 49%, rgb(212 232 255 / .35) 56%, transparent 68%) calc(var(--mx, 50%) * 1.4 - 20%) 0 / 260% 100% no-repeat; } /* a light that follows the pointer and a faint rainbow stripe, as on a printed foil */
.fvv-card.live .fvv-shine { opacity: 1; }
.fvv-t { margin: 0 0 var(--s-6); font-size: var(--fs-xl); font-weight: 400; letter-spacing: -.025em; }
.fvv-p { margin: 0 0 var(--s-16); color: var(--muted); font-size: var(--fs-base); line-height: 1.5; }
.fvv-l { display: grid; gap: var(--s-10); margin: 0; padding: 0; list-style: none; font-size: var(--fs-base); }
.fvv-l li { display: flex; align-items: center; gap: var(--s-10); }
.fvv-i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); }
.fvv-i svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) { .fvv-stage { animation: none; } .fvv-card { transition: none; } }
.fv-av { display: grid; place-items: center; width: min(176px, 52%); aspect-ratio: 1; border-radius: 50%; background: var(--bg); color: var(--ink); }
.fv-logo { display: block; width: 68%; height: auto; }
.fv-av:has(.fv-mark) { background: none; } /* a made-up shop's mark is its own coloured disc */
.fv-mark, .fv-mark svg { display: block; width: 100%; height: 100%; }
.fv-id h2 { margin: 0; font-size: var(--fs-2xl); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; }
.fv-id > p:last-child { max-width: 32ch; margin: var(--s-10) auto 0; color: var(--muted); font-size: var(--fs-base); line-height: 1.5; }
.fv-id a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color var(--dur-quick) var(--ease); } .fv-id a:hover { text-decoration-color: currentColor; }
.fv-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-8); }
.fv-cta .ds-btn:not(.dark) { background: var(--bg); } .fv-cta .ds-btn:not(.dark):hover { background: var(--surface-2); } /* grey on the grey card would vanish */
.fv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-12); }
/* the pieces, cut out (fv/cut): no background, a hairline and the card's corner (2026-11-18, Pedro: "remover o fundo de todos eles, colocar um stroke e aplicar um radius no card") */
.fv-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--surface); cursor: pointer; } /* the piece in its own photo, on the shop's grey ground */
.fv-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fv-tn { position: absolute; left: var(--s-14); right: var(--s-14); bottom: var(--s-12); overflow: hidden; color: var(--ink); font-size: var(--fs-sm); text-align: left; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; transform: scale(.92); transform-origin: 0 100%; transition: opacity var(--dur-quick) var(--ease), transform var(--dur-quick) var(--ease); }
.fv-tile:hover .fv-tn, html.kbd .fv-tile:focus-visible .fv-tn { opacity: 1; transform: none; }
.fv-lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-12); }
.fv-list { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 420px; padding: var(--s-28); overflow: hidden; border-radius: var(--r-card); text-align: left; cursor: pointer; }
.fv-list.t-sky { background: var(--tone-sky); } .fv-list.t-butter { background: var(--tone-butter); }
.fv-list.t-sage { background: var(--tone-sage); } .fv-list.t-blush { background: var(--tone-blush); }
.fv-lt { position: relative; z-index: 1; max-width: 12ch; color: var(--ink); font-size: var(--fs-xl); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.fv-ln { position: relative; z-index: 1; color: var(--muted); font-size: var(--fs-sm); }
.fv-cut { position: absolute; right: var(--s-24); bottom: var(--s-56); max-width: 70%; max-height: 52%; object-fit: contain; object-position: right bottom; transition: transform var(--dur-base) var(--ease); }
.fv-cut.hang { top: 0; bottom: auto; max-width: 78%; max-height: 52%; object-position: right top; transform: scaleX(-1); } /* mirrored: its cord falls on the right, clear of the title */
.fv-cut.flip { transform: scaleX(-1); } /* a piece turned towards the card's middle, never out of it */
.fv-list:hover .fv-cut { transform: translateY(calc(-1 * var(--s-6))); }
.fv-list:hover .fv-cut.flip { transform: translateY(calc(-1 * var(--s-6))) scaleX(-1); } /* the piece lifts a little: the card answers, the colour stays still */
.fv-list:hover .fv-cut.hang { transform: translateY(var(--s-6)) scaleX(-1); }
@media (max-width: 1100px) {
  .fv-row { grid-template-columns: minmax(0, 1fr); }
  .fv-card { padding: var(--s-40) var(--s-24); }
  .fv-av { width: 160px; }
  .fv-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fv { gap: var(--s-64); margin-top: var(--s-24); }
  .fv-card { gap: var(--s-20); padding: var(--s-64) var(--s-20) var(--s-32); } /* the disc starts under the corner tag */
  .fv-av { width: 120px; }
  .fv-grid { display: flex; gap: var(--s-8); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fv-grid::-webkit-scrollbar { display: none; }
  .fv-tile { flex: 0 0 62%; scroll-snap-align: start; }
  .fv-tn { opacity: 1; transform: none; }
  .fv-list { height: 260px; padding: var(--s-16); }
  .fv-lt { font-size: var(--fs-base); }
  .fv-cut { right: var(--s-12); bottom: var(--s-40); max-width: 80%; max-height: 48%; } /* above the count, which takes the whole foot of a narrow card */
}
@media (prefers-reduced-motion: reduce) { .fv-cut, .fv-tn { transition: none; } }
