/* Pippin Brand Book viewer. Colors and type from the Brand Book (16 · Color, 18 · Type). */
:root {
  --ink-950: #0F1328;
  --ink-900: #191F43;
  --ink-800: #22294E;
  --ink-700: #3C456D;
  --ink-400: #949DBD;
  --ink-200: #D4D8EA;
  --blue-600: #37AADA;
  --blue-400: #76D0F4;
  --red-400: #F77D82;
  --red-600: #D83040;
  --red-700: #A82D35;
  --white: #FFFFFF;
  --bar-h: 64px;
  --strip-h: 96px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --focus: 0 0 0 2px var(--ink-950), 0 0 0 4px var(--blue-400);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  /* Two Blue 400 lights on the navy, like the website's ribbon drop: a concentrated spotlight from the top,
     and a glow behind the book whose spill reaches past the page edges, so dark pages stay distinct. */
  background:
    radial-gradient(ellipse 52% 36% at 50% 0, rgba(118, 208, 244, 0.34), rgba(118, 208, 244, 0.12) 42%, transparent 72%)
    fixed var(--ink-950);
  color: var(--white);
  font: 400 15px/1.4 var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
button, a { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 8px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 300; background: var(--white); color: var(--ink-950); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Bar */
.bar {
  position: relative; z-index: 200;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: rgba(15, 19, 40, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex: none;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.mark { width: 32px; height: 32px; flex: none; stroke: none; } /* not an icon: no outline from the svg rule above */
.eyebrow { font: 600 10px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 5px; }
.title { margin: 0; font: 600 18px/1.1 var(--font-head); letter-spacing: -.02em; white-space: nowrap; }
.year { color: var(--ink-400); font-weight: 500; }
.pager {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 14px; border-radius: 10px;
  max-width: min(46vw, 520px); min-width: 0;
}
.pager:hover { background: rgba(255, 255, 255, .06); }
.pager-label { font: 500 14px/1.2 var(--font-body); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pager-count::after {
  content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 6px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.pager-count { white-space: nowrap; font: 600 10px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }
.tools { display: flex; justify-content: flex-end; gap: 4px; }
.tool {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 14px; color: var(--ink-200);
}
.tool:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.tool.icon-only { width: 40px; padding: 0; justify-content: center; }
.tool-primary { background: var(--red-600); color: var(--white); padding: 0 16px; margin-left: 6px; }
.tool-primary:hover { background: var(--red-700); }

/* Stage */
.stage { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 28px 88px; }
.book-wrap { transition: transform .5s cubic-bezier(.3, .7, .2, 1), opacity .3s; will-change: transform; }
.book-wrap.pending { opacity: 0; }
.book { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.page { background: var(--white); overflow: hidden; }
.page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; opacity: 0; transition: opacity .25s; }
.page img.ready { opacity: 1; }
/* Spine: the paper darkens and curves into the gutter, with a soft highlight just off the fold. */
.page { position: relative; }
.page::after { content: ''; position: absolute; top: 0; bottom: 0; width: 14%; pointer-events: none; z-index: 2; mix-blend-mode: multiply; }
.page.left::after {
  right: 0;
  background: linear-gradient(to left, rgba(15, 19, 40, .30) 0%, rgba(15, 19, 40, .13) 16%, rgba(15, 19, 40, .05) 40%, transparent 100%);
}
.page.right::after {
  left: 0;
  background: linear-gradient(to right, rgba(15, 19, 40, .30) 0%, rgba(15, 19, 40, .13) 16%, rgba(15, 19, 40, .05) 40%, transparent 100%);
}
/* One-page view, mid-turn: a page standing in for the destination wears the destination's spine shadow,
   so nothing shifts when the turn lands and the view moves to the real page. */
.page.right.revealing::after {
  left: auto; right: 0;
  background: linear-gradient(to left, rgba(15, 19, 40, .30) 0%, rgba(15, 19, 40, .13) 16%, rgba(15, 19, 40, .05) 40%, transparent 100%);
}
.page.left.revealing::after {
  right: auto; left: 0;
  background: linear-gradient(to right, rgba(15, 19, 40, .30) 0%, rgba(15, 19, 40, .13) 16%, rgba(15, 19, 40, .05) 40%, transparent 100%);
}
.page.cover::after { display: none; }
.stf__item { background: var(--white); }
.turn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--white); transition: background .2s, opacity .2s;
}
.turn svg { width: 20px; height: 20px; }
.turn:hover { background: rgba(255, 255, 255, .18); }
.turn:disabled { opacity: .25; cursor: default; }
.turn-prev { left: 20px; }
.turn-next { right: 20px; }
/* Opening: the mark breathes while the book loads. */
.loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; color: var(--ink-400); pointer-events: none; transition: opacity .4s;
}
.loading[hidden] { display: flex; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.loading-mark { width: 56px; height: 56px; stroke: none; animation: breathe 1.6s ease-in-out infinite; }
.loading-text { font: 600 11px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; }
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .loading-mark { animation: none; } }
/* Page placeholder: the thumbnail, softened, until the sharp page fades in over it. */
.page .ph {
  position: absolute; inset: -8px; background-repeat: no-repeat; filter: blur(5px);
  animation: settle 1.4s ease-in-out infinite alternate;
}
@keyframes settle { from { opacity: .8; } to { opacity: 1; } }
.page img { position: absolute; z-index: 1; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }

/* Thumbnail strip */
.strip { position: relative; z-index: 1; flex: none; height: var(--strip-h); padding: 0 24px 14px; }
.strip-list {
  position: relative; list-style: none; margin: 0 auto; padding: 6px 4px; height: 100%; display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: thin; scrollbar-color: var(--ink-700) transparent; max-width: 1400px;
}
.strip-list li { flex: none; }
.strip-list button {
  display: block; height: 100%; border-radius: 4px; overflow: hidden; position: relative;
  opacity: .55; transition: opacity .2s, transform .2s;
}
.strip-list button:hover { opacity: .9; }
.strip-list button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--blue-600); }
.strip-list button:focus-visible { opacity: 1; box-shadow: var(--focus); }
.strip-list img { display: block; height: 100%; width: auto; }

/* Contents */
.contents {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0;
  width: min(560px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  border: 0; background: var(--ink-950); color: var(--white); box-shadow: -24px 0 60px rgba(0, 0, 0, .4);
}
.contents::backdrop { background: rgba(8, 10, 22, .6); }
.contents[open] { display: flex; flex-direction: column; animation: slide-in .25s ease-out; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.contents-head {
  display: flex; align-items: center; justify-content: space-between; padding: calc(16px + env(safe-area-inset-top)) 20px 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.contents-head h2 { margin: 0; font: 600 22px/1.2 var(--font-head); letter-spacing: -.02em; }
.close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.close:hover { background: rgba(255, 255, 255, .08); }
.contents-list { list-style: none; margin: 0; padding: 8px 12px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; flex: 1; }
.contents-list button {
  width: 100%; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px;
  padding: 8px 12px; border-radius: 10px; text-align: left;
}
.contents-list button:hover { background: rgba(255, 255, 255, .06); }
.contents-list button[aria-current="true"] { background: rgba(55, 170, 218, .14); }
.contents-list .thumb { width: 96px; height: 60px; border-radius: 3px; overflow: hidden; background: var(--ink-800); display: grid; place-items: center; }
.contents-list .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }.contents-list .name { font-size: 14px; color: var(--ink-200); line-height: 1.3; }
.contents-list .chapter .name { font: 600 15px/1.3 var(--font-head); color: var(--white); }
.contents-list .chapter-tag { display: block; font: 600 10px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-600); margin-bottom: 4px; }
.contents-list .num { font-size: 12px; color: var(--ink-400); font-variant-numeric: tabular-nums; }

/* Single-page (phone portrait) mode: PhotoSwipe fills the space under the bar. */
.hint {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 210;
  background: rgba(15, 19, 40, .82); color: var(--ink-200); font-size: 13px; padding: 8px 14px; border-radius: 999px;
  white-space: nowrap; pointer-events: none; transition: opacity .6s;
  display: flex; align-items: center; gap: 8px;
}
.hint svg { width: 18px; height: 18px; color: var(--blue-600); animation: tilt 2.4s ease-in-out infinite; }
@keyframes tilt { 0%, 30% { transform: rotate(0); } 55%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
.hint.gone { opacity: 0; }
body.single .only-spread, body.spread .only-single { display: none !important; }
/* One page wide window onto the open book: the book is twice the window's width and slides across. */
body.single .stage { padding: 12px 0 calc(56px + env(safe-area-inset-bottom)); overflow: hidden; }
body.single .stage { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
/* Arrows sit together under the page. */
body.single .turn {
  top: auto; transform: none; bottom: calc(14px + env(safe-area-inset-bottom));
  width: 40px; height: 40px; background: rgba(255, 255, 255, .1);
}
body.single .turn-prev { left: calc(50% - 50px); }
body.single .turn-next { right: auto; left: calc(50% + 10px); }
body.single .hint { bottom: calc(84px + env(safe-area-inset-bottom)); }
body.single .book-wrap { flex: none; transition-property: transform, opacity; transition-timing-function: cubic-bezier(.45, 0, .2, 1); }
/* Slide teaser: a small chevron at the inner corner, nudging outwards towards the other page. */
.peek {
  position: absolute; z-index: 6; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: rgba(15, 19, 40, .62); color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 19, 40, .25);
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
}
.peek svg { width: 18px; height: 18px; stroke-width: 2.2; }
.peek[data-side="left"] svg { transform: scaleX(-1); }
.peek.on { opacity: 1; transform: none; }
.peek.on svg { animation: peek-nudge 1.1s ease-in-out infinite; }
.peek[data-side="left"].on svg { animation-name: peek-nudge-left; }
@keyframes peek-nudge { 0%, 100% { translate: 0; } 50% { translate: 3px; } }
@keyframes peek-nudge-left { 0%, 100% { translate: 0; } 50% { translate: -3px; } }
@media (prefers-reduced-motion: reduce) { .peek.on svg { animation: none; } }
.pswp { --pswp-bg: var(--ink-950); }
.pswp.pswp--inline { --pswp-root-z-index: 100; z-index: 100; }
.pswp--inline .pswp__top-bar { display: none; }
.pswp__img { background: var(--white); }
.pswp__top-bar { background: linear-gradient(rgba(15, 19, 40, .85), rgba(15, 19, 40, 0)); height: 72px; }
.pswp__counter { color: var(--white); opacity: 1; font: 500 14px/60px var(--font-body); }
.pswp__button--arrow .pswp__icn { filter: drop-shadow(0 0 4px rgba(15, 19, 40, .8)); }

@media (max-width: 899px) {
  .brand { gap: 10px; }
  :root { --bar-h: 56px; }
  .bar { grid-template-columns: auto 1fr auto; padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); gap: 8px; }
  .eyebrow { display: none; }
  .title { font-size: 16px; }
  .tool span { display: none; }
  .tool { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .tool-primary { margin-left: 2px; }
  .pager { max-width: none; padding: 6px 8px; }
  .stage { padding: 16px 64px; }
  .turn { width: 40px; height: 40px; }
  .turn-prev { left: 10px; }
  .turn-next { right: 10px; }
  #btn-contents { display: none; }
}
@media (max-width: 420px) {
  .title .year { display: none; }
}
/* Short landscape screens (a phone on its side): no strip, slimmer bar. */
@media (max-height: 520px) {
  :root { --bar-h: 48px; --strip-h: 0px; }
  .strip { display: none; }
  .eyebrow { display: none; }
  .stage { padding: 8px 64px; }
}
/* A phone on its side: the top bar becomes a slim rail on the left, so the book gets the full height.
   No side arrows (tap, swipe or drag the page); the page count opens the contents. */
@media (orientation: landscape) and (max-height: 500px) {
  body { flex-direction: row; }
  .bar {
    height: auto; width: calc(60px + env(safe-area-inset-left)); flex: none;
    padding: max(10px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom)) env(safe-area-inset-left);
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px;
    border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .08);
  }
  .brand { gap: 0; }
  .brand-text { display: none; }
  .mark { width: 30px; height: 30px; }
  .pager { padding: 6px 2px; max-width: 56px; }
  .pager-label { display: none; }
  .pager-count { font-size: 10px; letter-spacing: .02em; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .pager-count::after { margin: 0; }
  .tools { flex-direction: column; justify-content: flex-end; gap: 2px; }
  .tool { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .tool span, #btn-contents { display: none; }
  .tool-primary { margin: 6px 0 0; }
  .stage { padding: 6px max(10px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) 10px; }
  .turn, .strip { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .book-wrap, .page img, .contents[open] { transition: none; animation: none; }
}
.noscript { position: fixed; inset: auto 0 0; padding: 16px; background: var(--white); color: var(--ink-950); text-align: center; }

/* The light behind the book: part of the background, not the book. It is sized to the area the book sits in
   (set from app.js on layout, never on page turns or slides), so its spill reaches just past the page edges
   and stays put while pages move. */
.glow {
  position: fixed; z-index: 0; pointer-events: none; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(118, 208, 244, .24), rgba(118, 208, 244, .17) 55%,
    rgba(118, 208, 244, .09) 78%, rgba(118, 208, 244, 0) 100%);
}

/* ---------- Brand assets browser ---------- */
.assets {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  color: var(--white);
  background: radial-gradient(ellipse 60% 40% at 50% 0, rgba(118, 208, 244, .18), transparent 70%) var(--ink-950);
}
.assets[open] { display: flex; flex-direction: column; animation: assets-in .22s ease-out; }
@keyframes assets-in { from { opacity: 0; transform: translateY(8px); } }
.assets::backdrop { background: rgba(8, 10, 22, .7); }
.assets-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: calc(22px + env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) 8px max(28px, env(safe-area-inset-left));
  max-width: 1320px; width: 100%; margin: 0 auto;
}
.assets-head h2 { margin: 0; font: 600 28px/1.15 var(--font-head); letter-spacing: -.02em; }
.assets-head h2 { display: flex; align-items: center; gap: 12px; }
.assets-head h2 .mark { width: 30px; height: 30px; }
.assets-sub { margin: 6px 0 0; color: var(--ink-200); font-size: 15px; }
.assets-tabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 12px max(28px, env(safe-area-inset-right)) 14px max(28px, env(safe-area-inset-left));
  max-width: 1320px; width: 100%; margin: 0 auto; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.assets-tabs::-webkit-scrollbar { display: none; }
.assets-tabs button {
  flex: none; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-200);
  background: rgba(255, 255, 255, .06);
}
.assets-tabs button:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.assets-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink-950); }
.assets-body { flex: 1; overflow-y: auto; padding: 8px 0 calc(110px + env(safe-area-inset-bottom)); }
.assets-empty { text-align: center; color: var(--ink-400); padding: 60px 20px; }
.assets-cat { max-width: 1320px; margin: 0 auto; padding: 26px max(28px, env(safe-area-inset-right)) 8px max(28px, env(safe-area-inset-left)); }
.assets-cat > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.assets-cat h3 { margin: 0; font: 600 20px/1.2 var(--font-head); letter-spacing: -.01em; }
.assets-cat header p { margin: 4px 0 0; color: var(--ink-400); font-size: 14px; max-width: 620px; }
.assets-group { margin: 18px 0 10px; font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }
.assets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.assets-grid.brochures { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.asset {
  position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .15s, background .15s;
}
.asset.is-picked { border-color: var(--blue-600); background: rgba(55, 170, 218, .08); }
.asset-thumb { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.asset-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.asset-thumb.contain img { object-fit: contain; padding: 14% 16%; }
.asset-thumb.light { background: #F2F2F2; }
.asset-thumb.dark { background: var(--ink-950); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.assets-grid.brochures .asset-thumb { aspect-ratio: 612 / 792; background: #fff; }
.asset-thumb.specimen { background: var(--white); color: var(--ink-950); align-content: center; gap: 4px; }
.asset-thumb.specimen span { font-size: 64px; line-height: 1; font-weight: 600; }
.asset-thumb.specimen small { font-size: 13px; color: var(--ink-700); font-family: inherit; }
.asset-thumb.soon { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, rgba(255, 255, 255, .055) 12px 24px); }
.badge {
  font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-950);
  background: var(--blue-400); padding: 8px 12px; border-radius: 999px;
}
.asset.is-soon .asset-info { opacity: .7; }
.asset-info { padding: 12px 14px 4px; }
.asset-info h4 { margin: 0; font: 600 15px/1.3 var(--font-head); }
.asset-info p { margin: 3px 0 0; font-size: 13px; color: var(--ink-400); line-height: 1.35; }
.asset-acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 14px; margin-top: auto; }
.fmt { border: 0; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: var(--white); text-decoration: none; font-size: 13px; font-weight: 600;
}
.fmt:hover { background: rgba(255, 255, 255, .16); }
.fmt svg { width: 16px; height: 16px; }
.fmt small { font-weight: 500; color: var(--ink-400); }
.fmt.all { background: var(--white); color: var(--ink-950); flex: none; }
.fmt.all:hover { background: var(--ink-200); }
.fmt.all small { color: var(--ink-700); }
.pick { position: absolute; top: 10px; left: 10px; z-index: 2; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.pick span[aria-hidden] {
  display: block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9);
  background: rgba(15, 19, 40, .45); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: background .15s;
}
.asset-thumb.light ~ .pick span[aria-hidden] { border-color: var(--ink-700); background: rgba(255, 255, 255, .7); }
.asset .pick input:checked + span[aria-hidden] { background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--blue-600); }
.pick input:focus-visible + span { box-shadow: var(--focus); }
@media (hover: hover) { .asset:not(.is-picked) .pick { opacity: 0; transition: opacity .15s; } .asset:hover .pick, .pick:focus-within { opacity: 1; } }
.assets-bar {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: var(--ink-800); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); white-space: nowrap;
}
.assets-bar[hidden] { display: none; }
.assets-count { font-size: 14px; font-weight: 500; }
.link-btn { color: var(--ink-200); font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.link-btn:hover { color: var(--white); }
#assets-zip span { display: inline; }
#assets-zip:disabled { opacity: .7; cursor: progress; }
@media (max-width: 600px) {
  .assets-head h2 { font-size: 22px; }
  .assets-head h2 .mark { width: 24px; height: 24px; }
  .assets-sub { font-size: 14px; }
  .assets-head, .assets-tabs, .assets-cat { padding-left: 16px; padding-right: 16px; }
  .assets-cat > header { flex-direction: column; align-items: flex-start; }
  .assets-grid, .assets-grid.brochures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .asset-acts { padding: 8px 8px 10px; }
  .fmt { height: 32px; padding: 0 10px; }
  .fmt small { display: none; }
  .fmt.all small { display: inline; }
  .asset-thumb.specimen span { font-size: 44px; }
  .assets-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  #assets-zip span { display: none; }
  #assets-zip.busy span { display: inline; font-size: 12px; }
  #assets-zip.busy { width: auto; padding: 0 14px; }
}

/* ---------- Image Library (library.js) ---------- */
.lib { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 36px; max-width: 1320px; margin: 0 auto;
  padding: 22px max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left)); }
.lib-nav { position: sticky; top: 0; align-self: start; max-height: calc(100dvh - 190px); overflow-y: auto; padding: 4px 4px 24px; scrollbar-width: thin; }
.lib-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin-bottom: 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.lib-search:focus-within { border-color: var(--blue-400); box-shadow: 0 0 0 1px var(--blue-400); }
.lib-search input:focus-visible { box-shadow: none; border-radius: 0; } /* the box shows focus, not the field inside it */
.lib-search svg { width: 17px; height: 17px; flex: none; color: var(--ink-400); }
.lib-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--white); font: inherit; font-size: 14px; outline: none; }
.lib-search input::placeholder { color: var(--ink-400); }
.lib-sec h5 { margin: 18px 10px 6px; font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }
.lib-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px;
  font-size: 14px; color: var(--ink-200); text-align: left; }
.lib-link small { font-size: 12px; color: var(--ink-400); font-variant-numeric: tabular-nums; }
.lib-link:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.lib-link.on { background: rgba(118, 208, 244, .14); color: var(--white); font-weight: 600; }
.lib-link.on small { color: var(--blue-400); }
.lib-link:focus-visible, .lib-open:focus-visible, .lib-m:focus-visible, .lib-shelf:focus-visible, .lib-promo:focus-visible { box-shadow: var(--focus); }
.lib-main { min-width: 0; padding-bottom: 40px; }
.lib-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 90px 20px; color: var(--ink-200); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--blue-400); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Blur-up: the tiny placeholder, blurred, until the image arrives; then the image fades in over it. */
.lib-img { position: relative; display: block; overflow: hidden; background: var(--ink-800); }
.lib-img::before { content: ''; position: absolute; inset: 0; background: var(--lqip, none) center / cover no-repeat; filter: blur(14px); transform: scale(1.12); }
.lib-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.lib-img img.loaded { opacity: 1; }
.clear .lib-img, .lib-img.clear { background: #F2F2F2; }
/* Cut-outs (Pip) get no blurred placeholder: a blur of her outline reads as a shadow she doesn't have. */
.clear .lib-img::before, .lib-img.clear::before, .lib-view-img.clear::before { display: none; }
.clear .lib-img img, .lib-img.clear img { object-fit: contain; padding: 8%; }

/* Grid of tiles */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.lib-tile { position: relative; margin: 0; }
.lib-open { display: block; width: 100%; border-radius: 12px; overflow: hidden; }
.lib-tile .lib-img { aspect-ratio: 16 / 10; border-radius: 12px; }
.lib-grid.square .lib-img { aspect-ratio: 1; }
.lib-tile .lib-img img { transition: opacity .35s ease, transform .3s ease; }
@media (hover: hover) { .lib-open:hover .lib-img img.loaded { transform: scale(1.03); } }
.lib-tile figcaption { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--ink-200); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-tile.is-picked .lib-img { box-shadow: 0 0 0 3px var(--blue-600); }
.lib-tile.clear .pick span[aria-hidden] { border-color: var(--ink-700); background: rgba(255, 255, 255, .7); }
.lib-tile .pick input:checked + span[aria-hidden] { background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--blue-600); }
@media (hover: hover) { .lib-tile:not(.is-picked) .pick { opacity: 0; transition: opacity .15s; } .lib-tile:hover .pick, .lib-tile .pick:focus-within { opacity: 1; } }

.lib-shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 20px; }
.lib-shelf-head h3 { margin: 0; font: 600 26px/1.15 var(--font-head); letter-spacing: -.02em; }
.lib-shelf-head h3 span { font-size: 16px; color: var(--ink-400); font-weight: 500; margin-left: 4px; }
.lib-shelf-head p:not(.lib-eyebrow) { margin: 6px 0 0; color: var(--ink-200); font-size: 15px; max-width: 620px; }
.lib-eyebrow { margin: 0 0 8px; font: 600 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-400); }

/* The cover */
.lib-cover { display: flex; flex-direction: column; gap: 64px; }
.lib-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-top: 10px; }
.lib-hero h3 { margin: 0; font: 600 clamp(32px, 3.6vw, 48px)/1.08 var(--font-head); letter-spacing: -.025em; }
.lib-lede { margin: 18px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-200); max-width: 520px; }
.lib-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.lib-stats div { display: flex; flex-direction: column; gap: 4px; max-width: 170px; }
.lib-stats b { font: 600 30px/1 var(--font-head); color: var(--white); }
.lib-stats span { font-size: 13px; color: var(--ink-400); line-height: 1.35; }
.lib-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; aspect-ratio: 1.2; }
.lib-m { display: block; border-radius: 12px; overflow: hidden; min-height: 0; }
.lib-m .lib-img { width: 100%; height: 100%; }
.lib-m.m0 { grid-column: 1 / 3; grid-row: 1 / 3; }
@media (hover: hover) { .lib-m .lib-img img { transition: opacity .35s ease, transform .4s ease; } .lib-m:hover .lib-img img.loaded { transform: scale(1.04); } }

.lib-block h4 { margin: 0 0 12px; font: 600 24px/1.2 var(--font-head); letter-spacing: -.015em; }
.lib-block p { color: var(--ink-200); font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.lib-num { font: 600 13px/1 var(--font-head) !important; color: var(--blue-400) !important; letter-spacing: .08em; margin: 0 0 10px !important; }
.lib-intro { max-width: 720px; }
.lib-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 36px; }
.lib-block:not(.lib-two) { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 36px; }
.lib-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lib-list li { position: relative; padding-left: 20px; color: var(--ink-200); font-size: 15px; line-height: 1.55; }
.lib-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--red-600); }
.lib-list b, .lib-steps b { color: var(--white); font-weight: 600; }
.lib-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 28px; }
.lib-formats div { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 6px; }
.lib-formats b { font: 600 15px/1.2 var(--font-head); }
.lib-formats span { font-size: 13px; line-height: 1.45; color: var(--ink-400); }
.lib-shelves { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.lib-shelf { display: flex; flex-direction: column; text-align: left; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .15s; }
.lib-shelf:hover { border-color: rgba(118, 208, 244, .5); }
.lib-shelf .lib-img { aspect-ratio: 16 / 9; }
.lib-shelf-t { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.lib-shelf-t small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); font-weight: 600; }
.lib-shelf-t b { font: 600 16px/1.25 var(--font-head); }
.lib-shelf-t em { font-style: normal; font-size: 13px; color: var(--ink-400); }

/* Backgrounds: a slide drawn with a real scene */
.lib-demo { margin: 22px 0 26px; }
.lib-demo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-400); }
.lib-demo-slide { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--bg) center / cover no-repeat var(--ink-800);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); container-type: inline-size; }
.lib-demo-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 19, 40, .88) 0%, rgba(15, 19, 40, .7) 32%, rgba(15, 19, 40, 0) 68%); }
.lib-demo-slide.bare::before { display: none; }
.lib-demo-slide.tinted { filter: hue-rotate(150deg) saturate(1.8) contrast(1.15); }
.lib-demo-copy { position: absolute; left: 7%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 1.6cqw; max-width: 46%; }
.lib-demo-copy.mid { left: 50%; transform: translate(-50%, -50%); text-align: center; }
.lib-demo-copy small { font: 600 1.5cqw/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-400); }
.lib-demo-copy strong { font: 600 5cqw/1.05 var(--font-head); letter-spacing: -.02em; color: var(--white); }
.lib-demo-copy span { font-size: 1.9cqw; color: var(--ink-200); line-height: 1.4; }
.lib-demo-slide.sm .lib-demo-copy strong { font-size: 6.5cqw; white-space: nowrap; }
.lib-rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.lib-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.lib-steps li { counter-increment: s; position: relative; padding-left: 38px; color: var(--ink-200); font-size: 15px; line-height: 1.55; }
.lib-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 600 13px/1 var(--font-head); color: var(--ink-950); background: var(--blue-400); }
.lib-dodont { display: grid; gap: 14px; }
.lib-dodont figure { margin: 0; display: grid; grid-template-columns: 46% 1fr; gap: 14px; align-items: center; }
.lib-dodont .lib-demo-slide { border-radius: 10px; box-shadow: none; }
.lib-dodont figcaption { font-size: 14px; color: var(--ink-200); line-height: 1.45; }
.lib-dodont .do figcaption b { color: #6FD39A; }
.lib-dodont .dont figcaption b { color: #FF7A85; }
.lib-dodont .dont .lib-demo-slide { outline: 2px solid rgba(255, 122, 133, .55); outline-offset: -2px; }
.lib-dodont .do .lib-demo-slide { outline: 2px solid rgba(111, 211, 154, .55); outline-offset: -2px; }
.lib-row-head { display: flex; justify-content: space-between; align-items: baseline; }

/* On All: the Library's banner */
.lib-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); width: 100%; min-height: 170px; text-align: left; border-radius: 16px; overflow: hidden;
  background: linear-gradient(110deg, rgba(118, 208, 244, .16), rgba(118, 208, 244, .04)); border: 1px solid rgba(118, 208, 244, .28); transition: border-color .15s; }
.lib-promo:hover { border-color: rgba(118, 208, 244, .6); }
.lib-promo-t { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 28px; }
.lib-promo-t small { font: 600 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-400); }
.lib-promo-t b { font: 600 22px/1.2 var(--font-head); letter-spacing: -.01em; }
.lib-promo-t em { font-style: normal; color: var(--ink-200); font-size: 14px; }
.lib-promo-art { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 6px; padding: 10px; }
.lib-promo-art .lib-img { border-radius: 10px; height: 100%; min-height: 150px; }

/* The viewer */
.lib-view { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; color: var(--white); background: var(--ink-950); }
.lib-view::backdrop { background: rgba(8, 10, 22, .6); }
.lib-view[open] { display: block; animation: assets-in .18s ease-out; }
.lib-view-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; height: 100%; }
.lib-view-img { position: relative; margin: 28px 76px; overflow: hidden; border-radius: 12px; }
.lib-view-img::before { content: ''; position: absolute; inset: 0; background: var(--lqip, none) center / contain no-repeat; filter: blur(16px); }
.lib-view-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s ease; }
.lib-view-img img.loaded { opacity: 1; }
.lib-view-img img.lib-view-thumb { opacity: 1; transition: none; }
.lib-view-img.clear { background: #F2F2F2; }
.lib-view-img.clear img { padding: 4%; }
.lib-view-side { display: flex; flex-direction: column; gap: 4px; padding: calc(70px + env(safe-area-inset-top)) 28px 28px; overflow-y: auto; }
.lib-view-side h3 { margin: 0 0 6px; font: 600 22px/1.25 var(--font-head); }
.lib-alt { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--ink-200); }
.lib-meta { margin: 6px 0 16px; display: grid; gap: 8px; }
.lib-meta div { display: flex; gap: 12px; font-size: 13px; }
.lib-meta dt { width: 72px; flex: none; color: var(--ink-400); }
.lib-meta dd { margin: 0; color: var(--ink-200); word-break: break-all; }
.lib-dl { display: grid; gap: 8px; }
.lib-dl-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; background: rgba(255, 255, 255, .07); transition: background .15s; }
.lib-dl-row:first-child { background: var(--white); color: var(--ink-950); }
.lib-dl-row:first-child small { color: var(--ink-700); }
.lib-dl-row:hover { background: rgba(255, 255, 255, .14); }
.lib-dl-row:first-child:hover { background: var(--ink-200); }
.lib-dl-row svg { width: 20px; height: 20px; flex: none; }
.lib-dl-row span { display: flex; flex-direction: column; gap: 2px; }
.lib-dl-row b { font-size: 14px; }
.lib-dl-row small { font-size: 12px; color: var(--ink-400); line-height: 1.35; }
.lib-dl-row:focus-visible { box-shadow: var(--focus); }
.lib-rights { margin: 16px 0 0; font-size: 12px; color: var(--ink-400); }
.lib-view-close { position: absolute; top: calc(18px + env(safe-area-inset-top)); right: 18px; }
.lib-step { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: var(--white); }
.lib-step:hover { background: rgba(255, 255, 255, .2); }
.lib-step:disabled { opacity: .25; cursor: default; }
.lib-step svg { width: 22px; height: 22px; }
.lib-step.prev { left: 16px; }
.lib-step.next { right: 376px; }
.lib-view-side { border-left: 1px solid rgba(255, 255, 255, .06); }

@media (max-width: 1000px) {
  .lib { grid-template-columns: 1fr; gap: 10px; }
  .lib-nav { position: static; max-height: none; overflow-x: auto; overflow-y: hidden; display: flex; align-items: center; gap: 6px; padding: 0 0 10px; scrollbar-width: none; }
  .lib-nav::-webkit-scrollbar { display: none; }
  .lib-search { flex: 0 0 200px; margin: 0; height: 36px; }
  .lib-sec { display: contents; }
  .lib-sec h5 { display: none; }
  .lib-link { flex: none; width: auto; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); white-space: nowrap; }
  .lib-link.on { background: var(--white); color: var(--ink-950); }
  .lib-link.on small { color: var(--ink-700); }
  .lib-hero, .lib-two, .lib-rules { grid-template-columns: 1fr; }
  .lib-formats { grid-template-columns: 1fr 1fr; }
  .lib-view-in { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lib-view-img { margin: calc(64px + env(safe-area-inset-top)) 12px 0; }
  .lib-view-side { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 46dvh; }
  .lib-step { top: 38%; }
  .lib-step.prev { left: 20px; }
  .lib-step.next { right: 20px; }
}
@media (max-width: 600px) {
  .lib { padding-left: 16px; padding-right: 16px; }
  .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lib-tile figcaption { font-size: 12px; }
  .lib-cover { gap: 44px; }
  .lib-stats { gap: 18px; }
  .lib-stats b { font-size: 24px; }
  .lib-formats { grid-template-columns: 1fr; }
  .lib-shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lib-dodont figure { grid-template-columns: 1fr; }
  .lib-promo { grid-template-columns: 1fr; }
  .lib-promo-art { order: -1; padding: 8px 8px 0; }
  .lib-promo-art .lib-img { min-height: 110px; }
  .lib-promo-t { padding: 16px 18px 20px; }
  .lib-shelf-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .lib-img img, .lib-view-img img { transition: none; } }
/* Once an image is in, its blurred placeholder goes: behind a cut-out it would read as a shadow (Pip has her own).
   In the viewer the thumbnail goes too, once the full copy is in. */
.lib-img::before, .lib-view-img::before, .lib-view-thumb { transition: opacity .25s ease .35s; }
.lib-img:has(img.loaded)::before,
.lib-view-img:has(.lib-view-full.loaded)::before,
.lib-view-img:has(.lib-view-full.loaded) .lib-view-thumb { opacity: 0 !important; }

/* ---------- Tip bubble (tip.js): points at the Assets button ---------- */
.tip {
  position: fixed; z-index: 50; width: min(300px, calc(100vw - 24px)); padding: 16px 16px 14px; border-radius: 14px;
  background: var(--white); color: var(--ink-950); box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
}
.tip.in { opacity: 1; transform: none; }
.tip.side { transform: translateX(-6px); }
.tip.side.in { transform: none; }
.tip-arrow { position: absolute; top: -7px; left: calc(var(--arrow, 50%) - 7px); width: 14px; height: 14px; background: var(--white); transform: rotate(45deg); border-radius: 2px; }
.tip.side .tip-arrow { top: calc(var(--arrow, 50%) - 7px); left: -7px; }
.tip-title { margin: 0 0 6px; font: 600 15px/1.3 var(--font-head); }
.tip-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-700); }
.tip-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.tip-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-700); cursor: pointer; }
.tip-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink-950); cursor: pointer; }
.tip-ok { height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink-950); color: var(--white); font-size: 13px; font-weight: 600; }
.tip-ok:hover { background: var(--ink-800); }
.tip-ok:focus-visible, .tip-check input:focus-visible { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue-600); }
@media (prefers-reduced-motion: reduce) { .tip { transition: none; } }
