/* Scoped to the 23 depth pages. Codex adds .hf-depth-visual only on those pages. */
.hf-depth-visual h1.hf-depth-page-title,
.hf-depth-visual h1.hf-char-sr-only.hf-depth-page-title{
  position:static;
  left:auto;
  top:auto;
  width:auto;
  height:auto;
  max-width:22em;
  margin:4px 0 18px;
  padding:0;
  overflow:visible;
  clip:auto;
  clip-path:none;
  white-space:normal;
  border:0;
  color:var(--hf-char-ink);
  font-family:var(--hf-char-serif),Georgia,serif;
  font-size:clamp(1.85rem,3.2vw,2.65rem);
  font-weight:500;
  line-height:1.28;
  letter-spacing:-.03em;
  overflow-wrap:anywhere
}
.hf-depth-visual figure.hf-depth-memory{
  margin:36px 0 20px;
  max-width:560px
}
.hf-depth-visual figure.hf-depth-memory img{
  display:block;
  width:auto;
  max-width:min(100%,560px);
  height:auto;
  border:1px solid var(--hf-char-line);
  border-radius:16px;
  background:var(--hf-char-card);
  object-fit:contain
}
.hf-depth-visual figure.hf-depth-memory figcaption{
  margin-top:10px;
  max-width:58ch;
  color:var(--hf-char-muted);
  font:italic .98rem/1.6 var(--hf-char-serif),Georgia,serif
}
.hf-depth-visual #examples.hf-char-section,
.hf-depth-visual #sentences.hf-char-section,
.hf-depth-visual #usage-guide.hf-char-section{
  margin-top:48px
}
.hf-depth-visual #examples .hf-char-word-grid{gap:16px}
.hf-depth-visual #sentences .hf-char-sentences{gap:12px}
.hf-depth-visual #sentences .hf-char-sentence{padding-block:14px}
.hf-depth-visual #usage-guide.hf-depth-guide{
  width:auto;
  max-width:none;
  margin-top:48px;
  color:var(--hf-char-ink)
}
.hf-depth-visual #usage-guide .hf-depth-row{
  display:grid;
  column-gap:36px;
  row-gap:18px;
  align-items:start;
  min-width:0;
  max-width:100%
}
.hf-depth-visual #usage-guide .hf-depth-row:nth-child(odd){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.hf-depth-visual #usage-guide .hf-depth-row:nth-child(even){grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.hf-depth-visual #usage-guide .hf-depth-row + .hf-depth-row{
  margin-top:0;
  padding-top:48px;
  border-top:1px solid var(--hf-char-line)
}
.hf-depth-visual #usage-guide .hf-depth-row:nth-child(odd) > .hf-depth-copy{grid-column:2;grid-row:1}
.hf-depth-visual #usage-guide .hf-depth-row:nth-child(odd) > .hf-depth-aside{grid-column:1;grid-row:1}
.hf-depth-visual #usage-guide .hf-depth-row:nth-child(even) > .hf-depth-copy{grid-column:1;grid-row:1}
.hf-depth-visual #usage-guide .hf-depth-row:nth-child(even) > .hf-depth-aside{grid-column:2;grid-row:1}
.hf-depth-visual #usage-guide .hf-depth-copy,
.hf-depth-visual #usage-guide .hf-depth-aside,
.hf-depth-visual #usage-guide .hf-depth-card{
  min-width:0;
  max-width:100%
}
.hf-depth-visual #usage-guide.content-prose h2,
.hf-depth-visual #usage-guide.content-prose h3{
  max-width:34ch;
  color:var(--hf-char-ink);
  font-family:var(--hf-char-serif),Georgia,serif;
  font-weight:500;
  letter-spacing:-.025em;
  overflow-wrap:anywhere
}
.hf-depth-visual #usage-guide.content-prose h2{
  margin:0 0 16px;
  font-size:clamp(1.65rem,2.2vw,2.05rem);
  line-height:1.3
}
.hf-depth-visual #usage-guide.content-prose h3{
  margin:0 0 14px;
  font-size:clamp(1.28rem,1.7vw,1.55rem);
  line-height:1.4
}
.hf-depth-visual #usage-guide .hf-depth-copy > * + h3{margin-top:32px}
.hf-depth-visual #usage-guide.content-prose .hf-depth-copy p,
.hf-depth-visual #usage-guide.content-prose .hf-depth-note,
.hf-depth-visual #usage-guide.content-prose .hf-depth-quiz p,
.hf-depth-visual #usage-guide.content-prose .hf-depth-sources{
  max-width:62ch;
  color:var(--hf-char-ink);
  font-size:1.02rem;
  line-height:1.75;
  overflow-wrap:break-word
}
.hf-depth-visual #usage-guide.content-prose .hf-depth-copy p{margin:0 0 .85em}
.hf-depth-visual #usage-guide .hf-depth-card{
  margin:0;
  padding:16px 16px 12px;
  border:1px solid var(--hf-char-line);
  border-radius:14px;
  background:var(--hf-char-card)
}
.hf-depth-visual #usage-guide .hf-depth-kicker{
  margin:0 0 12px;
  color:var(--hf-char-muted);
  font:650 .72rem/1.45 var(--sans),sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase
}
.hf-depth-visual #usage-guide .hf-depth-card-glyph img{
  width:min(148px,70%);
  height:auto;
  margin:2px auto 12px
}
.hf-depth-visual #usage-guide .hf-depth-hanzi,
.hf-depth-visual #usage-guide .hf-depth-sentence p[lang="zh-CN"]{
  margin:0;
  color:var(--hf-char-ink);
  font:500 1.45rem/1.4 var(--hf-char-song),serif
}
.hf-depth-visual #usage-guide .hf-depth-mark,
.hf-depth-visual #usage-guide .hf-depth-mark a,
.hf-depth-visual #usage-guide .hf-depth-card .hf-char-highlight{
  color:var(--hf-char-red);
  font-weight:700
}
.hf-depth-visual #usage-guide .hf-depth-word-list,
.hf-depth-visual #usage-guide .hf-depth-sentence{
  margin:0;
  padding:0;
  list-style:none
}
.hf-depth-visual #usage-guide .hf-depth-word-list li,
.hf-depth-visual #usage-guide .hf-depth-sentence{
  margin:0;
  padding:11px 0;
  border-top:1px solid var(--hf-char-line);
  overflow-wrap:anywhere
}
.hf-depth-visual #usage-guide .hf-depth-word-list p,
.hf-depth-visual #usage-guide .hf-depth-sentence p{
  max-width:none;
  margin:0;
  color:var(--hf-char-ink);
  font-size:.98rem;
  line-height:1.55
}
.hf-depth-visual #usage-guide .hf-depth-sentence p[lang="zh-Latn-pinyin"]{
  color:var(--hf-char-muted);
  font:italic 1rem/1.45 var(--hf-char-serif),Georgia,serif
}
.hf-depth-visual #usage-guide [data-depth-comparison]{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));
  gap:12px;
  margin:0
}
.hf-depth-visual #usage-guide .hf-depth-compare{
  margin:0;
  padding:12px 8px;
  border:1px solid var(--hf-char-line);
  border-radius:12px;
  background:var(--hf-char-beige);
  text-align:center
}
.hf-depth-visual #usage-guide .hf-depth-compare img{
  width:96px;
  max-width:100%;
  height:auto;
  margin:0 auto 8px
}
.hf-depth-visual #usage-guide .hf-depth-compare figcaption{
  font:500 1.6rem/1.2 var(--hf-char-song),serif
}
.hf-depth-visual #usage-guide details.hf-depth-quiz{
  margin-top:48px;
  max-width:65ch
}
.hf-depth-visual #usage-guide details.hf-depth-quiz summary{
  cursor:pointer;
  font-weight:650;
  line-height:1.5
}
.hf-depth-visual #usage-guide .hf-depth-note{margin-top:24px;color:var(--hf-char-muted)}
.hf-depth-visual #usage-guide h3.hf-depth-sources-title{margin-top:48px}
.hf-depth-visual #usage-guide .hf-depth-sources{margin:0;padding-left:1.2em}
.hf-depth-visual #usage-guide .hf-depth-sources li{margin:.4em 0}
.hf-depth-visual #usage-guide img{max-width:100%;height:auto}
@media (max-width:760px){
  .hf-depth-visual h1.hf-depth-page-title,
  .hf-depth-visual h1.hf-char-sr-only.hf-depth-page-title{font-size:1.7rem}
  .hf-depth-visual #usage-guide .hf-depth-row,
  .hf-depth-visual #usage-guide .hf-depth-row:nth-child(n){
    grid-template-columns:minmax(0,1fr)
  }
  .hf-depth-visual #usage-guide .hf-depth-row:nth-child(n) > .hf-depth-copy{grid-column:1;grid-row:1}
  .hf-depth-visual #usage-guide .hf-depth-row:nth-child(n) > .hf-depth-aside{grid-column:1;grid-row:2}
  .hf-depth-visual figure.hf-depth-memory{margin:24px 0 16px}
}
@media print{
  .hf-depth-visual #usage-guide .hf-depth-row,
  .hf-depth-visual #usage-guide .hf-depth-row + .hf-depth-row{
    display:block;
    padding-top:12px;
    margin-top:0;
    break-inside:avoid
  }
  .hf-depth-visual #examples.hf-char-section,
  .hf-depth-visual #sentences.hf-char-section,
  .hf-depth-visual #usage-guide.hf-char-section,
  .hf-depth-visual #usage-guide details.hf-depth-quiz,
  .hf-depth-visual #usage-guide h3.hf-depth-sources-title{margin-top:16px}
  .hf-depth-visual figure.hf-depth-memory,
  .hf-depth-visual figure.hf-depth-memory img{max-width:240px;margin-top:8px}
}
