/* ==========================================================================
   Guides: the hub /guides/ and the eight guides /guides/<slug>/ (CONTENT-SPEC 3.6).
   Page CSS on top of tokens.css, base.css and components.css (BUILD-CONVENTIONS 1).

   A guide reads like a bound case file:
     page head        title, dek, meta line, and the "In short" box as a framed abstract
     contents         binder index (wide) or a disclosure (phones)
     chapters         side headings: index tab row, sticky H2 on the left, prose on the right
     one dark band    the guide's key exhibit on the lightbox (steps, sample notice,
                      counter-notice window, Article 19 sheet, comparison, proof file,
                      notice anatomy, capture sheet; the hub: editorial method)
     closing          questions, help box, legal box, Etsy note, sources, related guides
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Page head: the "In short" box (guides) and "Where to start" (hub) beside the title
   --------------------------------------------------------------------------- */
.page-head--guide,
.page-head--hub { padding-bottom: clamp(36px, 4.5vw, 72px); }
.page-head--hub .page-head__title { font-size: var(--fs-display); letter-spacing: var(--tr-display); }
@media (min-width: 981px) {
  .page-head--guide,
  .page-head--hub { grid-template-rows: auto auto auto auto 1fr; }
  /* a guide with a link under its dek (the Etsy guide points to the agent page) has one row more */
  .page-head--guide:has(> .guide-dek__alt) { grid-template-rows: auto auto auto auto auto 1fr; }
  /* the box starts level with the title; extra height goes to the last (empty) row */
  .page-head--guide > .page-head__aside,
  .page-head--hub > .page-head__aside { grid-row: 2 / -1; align-self: start; margin-top: clamp(28px, 4.2vw, 60px); }
}

/* the link under a guide's dek (CONTENT-SPEC 3.6.2) */
.guide-dek__alt { margin-top: var(--sp-4); }
.guide-dek__alt .btn--text { font-size: 15px; }

.in-short,
.router {
  padding: 20px clamp(18px, 2vw, 26px) 6px;
  background: var(--sheet); border-radius: var(--r-3); box-shadow: var(--sh-2);
}
.in-short__head,
.router__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--ink);
}
.in-short__list { counter-reset: point; }
.in-short__list > li {
  counter-increment: point;
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty;
}
.in-short__list > li::before {
  content: counter(point, decimal-leading-zero);
  padding-top: 3px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3);
}
.in-short__list > li:last-child { border-bottom: 0; }

/* hub: one row per situation, the guide title is the link */
.router__list > li + li { border-top: 1px solid var(--line); }
.router__list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  padding: 13px 0; color: var(--ink); text-decoration: none;
}
.router__k { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); }
.router__t { margin-top: 3px; font-size: 16px; font-weight: var(--fw-semi); letter-spacing: -.01em; line-height: 1.3; }
.router__list .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--cobalt); transition: transform var(--dur-2) var(--ease-out); }
.router__list a:hover .router__t { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
.router__list a:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------------------
   Contents: a binder index on wide screens, a disclosure on phones (only one is displayed,
   so assistive technology meets one list)
   --------------------------------------------------------------------------- */
.guide-part { padding-block: clamp(48px, 5vw, 96px); }
.guide-part--first { padding-top: 0; }
.guide-part > .wrap > * + * { margin-top: clamp(64px, 7vw, 112px); }

.toc { display: grid; gap: var(--sp-4) var(--col-gap); }
.toc__head { display: grid; gap: 6px; align-content: start; padding-top: 12px; }
.toc__list { columns: 2 280px; column-gap: var(--col-gap); border-top: 1px solid var(--ink); }
.toc__list > li { break-inside: avoid; }
.toc__list a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.35; color: var(--ink-2); text-decoration: none;
}
.toc__list a:hover { color: var(--ink); }
.toc__list a:hover .toc__t { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
.toc__n { padding-top: 2px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
.toc__sub a { grid-template-columns: minmax(0, 1fr); padding: 7px 0 7px 44px; border-bottom-style: dashed; font-size: 14px; }
@media (min-width: 981px) {
  .toc { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.toc-m { display: none; }
@media (max-width: 900px) {
  .toc { display: none; }
  .toc-m { display: block; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
  .toc-m > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; }
  .toc-m > summary::-webkit-details-marker { display: none; }
  .toc-m > summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
  .toc-m > summary > .label:nth-child(2) { margin-left: auto; }
  .toc-m .toc__list { columns: 1; margin-bottom: 10px; border-top: 1px solid var(--line); }
}
.toc-m__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.toc-m__icon::before,
.toc-m__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px;
  background: var(--ink); transition: transform var(--dur-2) var(--ease-out);
}
.toc-m__icon::after { transform: rotate(90deg); }
.toc-m[open] .toc-m__icon { background: var(--ink); }
.toc-m[open] .toc-m__icon::before,
.toc-m[open] .toc-m__icon::after { background: var(--paper); }
.toc-m[open] .toc-m__icon::after { transform: rotate(0deg); }

/* ---------------------------------------------------------------------------
   Chapters: index tab row across, side heading (sticky) on the left, prose on the right
   --------------------------------------------------------------------------- */
.ch__title {
  margin-top: clamp(18px, 2vw, 26px); max-width: 22ch;
  font-size: clamp(1.5rem, 1.12rem + 1.05vw, 2.125rem); font-weight: var(--fw-bold);
  line-height: 1.12; letter-spacing: var(--tr-head); color: var(--ink); text-wrap: balance;
}
.ch__body { margin-top: var(--sp-5); min-width: 0; }
.ch__end { margin-top: clamp(48px, 5vw, 72px); }
.ch__chip { align-self: center; padding-bottom: 6px; }
@media (min-width: 981px) {
  .ch { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--col-gap); align-items: start; }
  .ch > .sec-head__index,
  .ch > .ch__end { grid-column: 1 / -1; }
  .ch__title { grid-column: 1; position: sticky; top: calc(var(--nav-h) + 28px); max-width: 18ch; margin-top: clamp(22px, 2.4vw, 32px); }
  .ch__body { grid-column: 2; margin-top: clamp(22px, 2.4vw, 32px); }
  .ch--wide { display: block; }
  .ch--wide .ch__title { position: static; max-width: none; }
}

/* lists inside guide prose */
.prose .list { padding-left: 0; }
.prose .list > li { position: relative; padding-left: 26px; }
.prose .list > li + li { margin-top: .6em; }
.list--dots > li::before,
.list--keyed > li::before {
  content: ""; position: absolute; left: 3px; top: .66em; width: 6px; height: 6px; border-radius: 1px; background: var(--ink-3);
}
.list--keyed > li::before { background: var(--cobalt); }
.list--keyed b { color: var(--ink); font-weight: var(--fw-semi); }

/* things to tick before you report: empty boxes */
.prose .list--checks { border-top: 1px solid var(--line-2); }
.prose .list--checks > li { margin-top: 0; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); color: var(--ink); }
.list--checks > li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 3px;
  background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--ink-2);
}

/* reasons Etsy rejects a report: the rejected glyph, as on the status chip */
.list--reasons > li::before {
  content: ""; position: absolute; left: 1px; top: .38em; width: 13px; height: 13px; background: var(--st-rejected-dot);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2 8 8M8 2 2 8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2 8 8M8 2 2 8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* what not to do: a "no" sign in ink */
.prose .list--donts > li { padding: 14px 0 14px 34px; margin-top: 0; border-bottom: 1px solid var(--line); }
.prose .list--donts { border-top: 1px solid var(--line-2); }
.list--donts > li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 18px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='7.2' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M4 14 14 4' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='7.2' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M4 14 14 4' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* numbered requirements (the six DMCA elements) */
.prose .elements { padding-left: 0; border-top: 1px solid var(--ink); }
.prose .elements > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; margin-top: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.elements__n {
  justify-self: start; align-self: start; margin-top: 4px; padding: 4px 7px 3px; border-radius: 2px;
  font-family: var(--ff-mono); font-size: 12px; font-weight: var(--fw-medium); letter-spacing: .06em; line-height: 1.2;
  background: var(--ink); color: var(--paper);
}
.elements__t { color: var(--ink); font-weight: var(--fw-semi); }

/* tips, links onward, small headings */
.tip__k { margin-right: 4px; font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; text-transform: none; color: var(--cobalt); }
.prose .tip { margin-top: 1.4em; }
.prose .go { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-left: 0; margin-top: 1.4em; }
.prose .go > li { margin-top: 0; }
.go__a { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: var(--fw-semi); color: var(--cobalt); text-decoration: none; }
.prose .go__a { text-decoration: none; }
.go__a:hover,
.prose .go__a:hover { text-decoration: underline; text-underline-offset: .22em; }
.go__a .icon { transition: transform var(--dur-2) var(--ease-out); }
.go__a:hover .icon { transform: translateX(3px); }
.go-inline,
.prose .go-inline {
  display: inline-block; margin-left: 6px; padding: 3px 7px 2px; border-radius: 2px; vertical-align: .1em;
  font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; line-height: 1.3; text-transform: none;
  color: var(--cobalt-3); background: var(--cobalt-tint); text-decoration: none;
}
.go-inline:hover { background: var(--cobalt); color: #fff; }
.ui { font-weight: var(--fw-semi); color: var(--ink); }

/* ---------------------------------------------------------------------------
   Comparison tables (stacked rows below 700 px)
   --------------------------------------------------------------------------- */
.prose .cmp-wrap,
.cmp-wrap { margin-top: var(--sp-6); }
.cmp { width: 100%; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cmp th,
.cmp td { padding: 14px 18px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th,
.cmp thead td { padding-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.cmp__kicker { margin-bottom: 8px; }
.cmp__kicker.tag { display: inline-flex; }
.cmp__h { display: block; font-size: 15px; font-weight: var(--fw-semi); letter-spacing: -.01em; color: var(--ink); }
.cmp tbody th {
  width: 24%; padding-top: 17px;
  font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; text-transform: none; color: var(--ink-3);
}
.cmp--steps tbody th { width: 30%; padding-top: 14px; font-family: var(--ff-sans); font-size: 15px; font-weight: var(--fw-semi); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.cmp--duo td,
.cmp--duo thead th { padding-left: 18px; border-left: 1px solid var(--line); }
.cmp--duo .cmp__corner { padding-left: 0; border-left: 0; }
.cmp--band { font-size: 16px; }
.cmp--band thead th { width: 38%; }
.cmp--band .cmp__h { font-size: clamp(18px, 1.5vw, 22px); font-weight: var(--fw-bold); letter-spacing: -.02em; line-height: 1.2; }
@media (max-width: 700px) {
  .cmp thead { display: none; }
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td { display: block; width: auto; }
  .cmp tbody { border-top: 1px solid var(--ink); }
  .cmp tr { padding: 12px 0 14px; border-bottom: 1px solid var(--line-2); }
  .cmp th,
  .cmp td,
  .cmp--duo td { padding: 4px 0; border: 0; }
  .cmp tbody th { width: auto; padding-top: 0; }
  .cmp td::before {
    content: attr(data-label); display: block; margin: 6px 0 2px;
    font-family: var(--ff-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3);
  }
}

/* ---------------------------------------------------------------------------
   Sourced figures (Etsy 2025)
   --------------------------------------------------------------------------- */
.prose .facts,
.facts { margin-top: var(--sp-7); padding-top: 0; border-top: 0; gap: 0; }
.facts__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-bottom: 12px; }
.facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.facts__cell { padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line); }
.facts__cell:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts__num {
  font-size: clamp(26px, 2.4vw, 34px); font-weight: var(--fw-bold); letter-spacing: -.04em; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.facts__about { display: block; margin-bottom: 6px; font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.facts__cap { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.prose .facts > * + * { margin-top: 0; }
.facts .stat__src { margin-top: 10px; }

/* ---------------------------------------------------------------------------
   Exhibit pair (illustrative): original and listing photo, numbered matching details
   --------------------------------------------------------------------------- */
.prose .pair,
.pair { margin: var(--sp-7) 0 0; }
.pair__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.pair .exhibit figcaption .label { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  /* numbered details need room: the marked pair stacks on phones */
  .pair--marked .pair__grid { grid-template-columns: minmax(0, 1fr); }
}
.pair__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; }
.pair__note { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.prose .pair p,
.prose .pair figcaption { margin: 0; }
.mk {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 2px;
  font-family: var(--ff-mono); font-size: 10.5px; font-weight: var(--fw-medium); line-height: 1;
  background: var(--cobalt); color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 2px 6px rgba(14, 17, 22, .3);
}
/* positions: four inlier pairs from web/assets/case/matches.json ("pairs"), original drawn
   contain-fit in the 4:3 well (x = 12.5% + 75% * x), the photo cover-fit (same aspect) */
.mk--a1 { left: 42.31%; top: 15.38%; } .mk--b1 { left: 45.13%; top: 9.33%; }
.mk--a2 { left: 66%;    top: 34.63%; } .mk--b2 { left: 70.2%;  top: 30.72%; }
.mk--a3 { left: 34.75%; top: 75.89%; } .mk--b3 { left: 34.25%; top: 75.5%; }
.mk--a4 { left: 54.36%; top: 87.78%; } .mk--b4 { left: 55.5%;  top: 89.8%; }

/* sealed example under "Timestamps and fingerprints" */
.prose .seal--example,
.seal--example { margin-top: var(--sp-6); align-items: start; }
.seal--example .seal__icon { grid-row: auto; }
.seal__body { display: grid; gap: 6px; min-width: 0; }
.prose .seal__body > * { margin: 0; }
.seal__body time { white-space: nowrap; }

/* ---------------------------------------------------------------------------
   The dark band (one per page). "Print" = a light sheet lying on the lightbox. The
   element also carries .theme-light (tokens.css), which restores the paper tokens that
   .band-dark flips; .print only adds the sheet itself.
   --------------------------------------------------------------------------- */
.guide-band .sec-head__title { max-width: 24ch; }
.band-after { margin-top: var(--sp-6); max-width: 70ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.print {
  background: var(--sheet);
  border-radius: var(--r-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 36px 70px -34px rgba(0, 0, 0, .95);
}
.band-dark .print.frame { --cm: var(--night-ink-3); }
.print__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  min-height: 52px; padding: 11px 16px; border-bottom: 1px solid var(--line);
}

/* steps 1 to 6 (Etsy): file folders with their index tab */
.guide-band--steps .sec-head { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 56px clamp(16px, 1.8vw, 24px); align-items: start; margin-top: 60px; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 22px 22px 22px; background: var(--sheet); border-radius: 0 var(--r-3) var(--r-3) var(--r-3); box-shadow: var(--sh-1);
}
.step__tab { position: absolute; left: 0; bottom: 100%; display: flex; align-items: flex-end; gap: 10px; }
.step__tab .tab-num { margin-bottom: 0; }
.step__tab .label { padding-bottom: 6px; color: var(--ink-2); }
.step__title { font-size: clamp(18px, 1.35vw, 20px); font-weight: var(--fw-semi); letter-spacing: -.015em; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.step__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.step__text a { color: var(--cobalt); text-decoration-color: var(--cobalt-line); }
.step .tip { margin-top: auto; }

/* sample notice (DMCA): the letter on the lightbox, with the element legend */
.notice-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.notice { margin: 0; }
.notice__copy { margin-left: auto; }
.notice__text {
  margin: 0; padding: 22px clamp(16px, 2vw, 26px) 26px;
  font-family: var(--ff-mono); font-size: clamp(12px, .35vw + 10.6px, 13.5px); line-height: 1.72; letter-spacing: .005em;
  color: var(--ink); white-space: normal; overflow-wrap: anywhere; tab-size: 4;
}
.notice__text .ph { color: var(--cobalt-3); background: var(--cobalt-tint); border-radius: 2px; }
/* each line is a block; the HTML also has a real line break between lines, so readers without CSS
   (reader modes, crawlers, text extractors) get one line per item instead of one run-on string */
.notice__text .ln { display: block; white-space: pre-wrap; }
.notice__text .ln--item { padding-left: 3ch; text-indent: -3ch; }
.notice__text .ln--sub { padding-left: 3ch; }
.notice__text .ln--gap { height: 1.72em; }
.notice-side__head { padding-bottom: 12px; border-bottom: 1px solid var(--night-line-2); color: var(--ink-2); }
.notice-map > li {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-2);
}
.notice-map__k { padding-top: 2px; font-family: var(--ff-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.notice-map b { color: var(--ink); font-weight: var(--fw-semi); }
.notice-side__go { margin-top: 20px; }
@media (min-width: 981px) {
  .notice-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .notice-side { padding-top: 8px; }
}

/* counter notice: the restoration window on a business-day scale */
.cn-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.cn-side { display: grid; gap: var(--sp-5); }
.clock { margin: 0; padding: 18px 20px 16px; background: var(--sheet); border-radius: var(--r-3); box-shadow: var(--sh-1); }
.clock__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.clock__row { padding: 16px 0 14px; border-bottom: 1px dashed var(--line-2); }
.clock__who { font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; text-transform: none; color: var(--ink); }
.clock__track {
  position: relative; height: 26px; margin: 12px 0 10px;
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) 0 100% / 100% 1px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) calc(100% * 5 / 14) 100% / 1px 13px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) calc(100% * 10 / 14) 100% / 1px 13px no-repeat,
    linear-gradient(var(--ink-4), var(--ink-4)) 100% 100% / 1px 8px no-repeat,
    linear-gradient(90deg, var(--ink-4) 1px, transparent 1px) 0 100% / calc(100% / 14) 8px repeat-x;
}
.clock__start { position: absolute; left: 0; bottom: 0; width: 2px; height: 20px; background: var(--ink); }
.clock__range {
  position: absolute; left: calc(100% * 10 / 14); right: 0; top: 0; bottom: 0; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, var(--cobalt-soft) 0 5px, transparent 5px 9px), var(--cobalt-soft);
  box-shadow: inset 0 0 0 1px var(--cobalt-line);
}
.clock__mark { position: absolute; left: calc(100% * 10 / 14); top: 6px; width: 12px; height: 12px; margin-left: -6px; background: var(--cobalt); transform: rotate(45deg); }
.clock__note { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.clock__axis { position: relative; height: 16px; margin-top: 10px; font-family: var(--ff-mono); font-size: 11px; line-height: 1; color: var(--ink-3); }
.clock__axis span { position: absolute; top: 0; transform: translateX(-50%); }
.clock__axis .ax-0 { left: 0; transform: none; }
.clock__axis .ax-5 { left: calc(100% * 5 / 14); }
.clock__axis .ax-10 { left: calc(100% * 10 / 14); }
.clock__axis .ax-14 { left: 100%; transform: translateX(-100%); }
.cn-options__title { font-size: 15px; font-weight: var(--fw-semi); line-height: 1.35; color: var(--ink); }
.cn-options__title + p { margin-top: 4px; }
@media (min-width: 981px) {
  .cn-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* Article 19(2)(d): the provision as a record sheet */
.a19-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.a19 { margin: 0; }
.a19__rows { padding: 2px 18px 4px; }
.a19__rows > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.a19__rows > div:last-child { border-bottom: 0; }
.a19__rows dt { padding-top: 3px; font-family: var(--ff-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.a19__rows dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.a19__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.a19__acts .tag { height: auto; min-height: 26px; padding-block: 5px; white-space: normal; line-height: 1.25; }
.a19__cap { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--r-2) var(--r-2); }
@media (min-width: 981px) {
  .a19-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
@media (max-width: 600px) {
  .a19__rows > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* the proof file: the design system's evidence pack, two columns; an odd last item takes the full row */
.proof-pack { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); column-gap: 16px; }
.proof-pack > .ev-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .proof-pack > .ev-item { grid-template-columns: 28px minmax(0, 1fr); }
}

/* Article 16(2): a notice in four fields */
.anatomy { margin: 0; }
/* one column on phones, a 2 x 2 sheet from 861 px (auto-fit made it 3 + 1 on wide screens) */
.anatomy__fields { display: grid; grid-template-columns: minmax(0, 1fr); }
.anatomy__field { padding: 18px 20px 20px; border-bottom: 1px solid var(--line); }
.anatomy__k { display: flex; align-items: center; gap: 10px; font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; text-transform: none; color: var(--ink); }
.anatomy__n {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 2px;
  font-size: 11px; letter-spacing: .04em; background: var(--ink); color: var(--paper);
}
.anatomy__v {
  margin-top: 12px; padding: 12px 14px; border-radius: var(--r-2);
  font-size: 15.5px; line-height: 1.55; color: var(--ink-2);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
}
.anatomy__foot { padding: 14px 20px 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 861px) {
  .anatomy__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy__field:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* capture sheet (find copies) next to the exhibit pair */
.capture-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.capture__head { padding-bottom: 12px; border-bottom: 1px solid var(--night-line-2); color: var(--ink-2); }
.capture__list > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.capture__box { grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.capture__k { font-family: var(--ff-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--cobalt); }
.capture__v { font-size: 16px; line-height: 1.5; color: var(--ink); }
.guide-band .pair { margin: 0; padding: clamp(12px, 1.6vw, 18px); }
@media (min-width: 981px) {
  .capture-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------------------------------------------------------------------------
   Questions, sources, related guides
   --------------------------------------------------------------------------- */
.sources-intro { margin-bottom: var(--sp-5); max-width: 62ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.sources-intro a { color: var(--cobalt); text-decoration-color: var(--cobalt-line); }

.doc-card__meta {
  display: flex; flex-wrap: wrap; row-gap: 2px;
  font-family: var(--ff-sans); font-size: 13px; font-weight: var(--fw-semi); letter-spacing: 0; text-transform: none; color: var(--ink-3);
}
.doc-card__meta span + span::before { content: "/"; content: "/" / ""; padding-inline: .6em; color: var(--ink-4); }
.related-cards { margin-top: clamp(24px, 3vw, 40px); }

.platform-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px dashed var(--line-2); }
.platform-links ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.platform-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: var(--fw-semi); color: var(--cobalt); text-decoration: none; }
.platform-links a:hover { text-decoration: underline; text-underline-offset: .22em; }
.platform-links a .icon { transition: transform var(--dur-2) var(--ease-out); }
.platform-links a:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------------------
   Hub: all guides, editorial method on the lightbox
   --------------------------------------------------------------------------- */
.hub-all { padding-top: clamp(24px, 3vw, 48px); }
.hub-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.hub-legal { padding-block: clamp(40px, 4vw, 64px); }

.ed-grid { display: grid; gap: clamp(32px, 4vw, 72px); align-items: start; }
.ed-body { max-width: 56ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ed-body a { color: var(--cobalt); text-decoration-color: var(--cobalt-line); }
.ed-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: var(--sp-8); border-top: 1px solid var(--line-2); }
.ed-steps > li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; color: var(--ink); }
.ed-steps__n { font-family: var(--ff-mono); font-size: 11.5px; color: var(--cobalt); }
.shelf { padding: 18px 22px 6px; background: var(--sheet); border-radius: var(--r-3); box-shadow: var(--sh-1); }
.shelf__head { padding-bottom: 12px; border-bottom: 1px solid var(--ink); color: var(--ink-2); }
.shelf__group { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.shelf__group:last-child { border-bottom: 0; }
.shelf__k { padding-top: 3px; }
.shelf__list { display: grid; gap: 12px; }
.shelf__list a { display: grid; gap: 3px; color: var(--ink); text-decoration: none; }
.shelf__list cite { font-style: normal; font-size: 15px; font-weight: var(--fw-semi); line-height: 1.35; }
.shelf__d { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .02em; line-height: 1.4; color: var(--ink-3); }
.shelf__list a:hover cite { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
@media (min-width: 981px) {
  .ed-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
@media (max-width: 600px) {
  .shelf__group { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ed-steps { grid-template-columns: minmax(0, 1fr); }
}

/* a citation never starts a line on its own: it stays with the word before it */
.cw { white-space: nowrap; }

/* print: ink-filled markers keep their fill, so their paper-colored text does not print pale (components.css @media print) */
@media print {
  .elements__n, .anatomy__n { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* v2 (20.10.2026): numbers are plain mono figures, not black chips */
.elements__n, .anatomy__n {
  min-width: 0; height: auto; padding: 0; border-radius: 0; background: none;
  font-family: var(--ff-mono); font-size: 12.5px; font-weight: var(--fw-medium); letter-spacing: .04em; color: var(--ink-3);
}
.hub-rows .rowlist__t { font-size: var(--fs-h4); }
.rowlist__m { white-space: nowrap; }
@media (min-width: 901px) { .rowlist > li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) max-content; } }

/* v3: sentences are not set in mono */
.router__k, .pair__note, .shelf__d { font-family: var(--ff-sans); letter-spacing: 0; }
