/* Estensione della guida pazienti COR per la sola tavola gengivale. */
:root { --sheet-motion: cubic-bezier(.22,.8,.24,1); --motion: var(--sheet-motion); }
html { scroll-padding-top: 86px; }
body, main { background:var(--cor-paper); }
[hidden] { display: none !important; }
main { overflow: visible; }
figure, .heading h1, .care h2, #contenuto .contact h2 { margin: 0; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--cor-brand-700); outline-offset: 3px; }
.skip:not(:focus) { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.skip:focus { position:fixed; z-index:12; left:6px; top:6px; background:white; padding:10px; }
.header { background: var(--cor-paper); }
.header .nav { justify-content:space-between; height:68px; }
.sheet-nav, .library-link { display:flex; align-items:center; }
.sheet-nav { gap:clamp(12px,3vw,40px); }
.library-link { gap:8px; min-height:44px; color:var(--cor-brand-900); font-size:14px; font-weight:650; }
.library-link span { display:grid; place-items:center; width:35px; height:35px; background:var(--cor-brand-100); border-radius:50%; font-size:18px; }
.library-link:hover, .case-link:hover { text-decoration:underline; text-underline-offset:.22em; }
.sheet-nav .nav-contact { display:none; }
.spread { display:grid; grid-template-areas:"heading" "plate" "care"; grid-template-columns:minmax(0,1fr); align-items:start; gap:18px; padding:21px 0 23px; }
.spread-bleeding { grid-template-areas:"heading" "plate" "causes" "care"; }
.possible-causes { grid-area:causes; border-inline-start:2px solid #8bb6b2; padding-inline-start:14px; }
.possible-causes h2 { margin:0; color:var(--cor-ink); font-size:clamp(21px,3.3vw,27px); letter-spacing:-.035em; line-height:1.14; }
.possible-causes p { max-width:49ch; margin:7px 0 0; color:var(--cor-text); font-size:15px; line-height:1.48; }
.heading { grid-area:heading; }
.heading .eyebrow { display:block; color:var(--cor-brand-700); font-size:.69rem; font-weight:780; line-height:1.4; letter-spacing:.15em; margin:0 0 8px; }
.heading h1 { font-size:clamp(35px,9.3vw,48px); font-weight:710; line-height:1.01; letter-spacing:-.055em; text-wrap:balance; }
.heading h1 em { font-style:normal; white-space:nowrap; color:var(--cor-brand-700); }
.plate { grid-area:plate; min-width:0; }
.model { display:block; width:100%; margin:0 auto; border:0; padding:0; background:transparent; color:var(--cor-brand-900); text-align:center; border-radius:10px; }
.model:disabled { cursor:default; }
.scene { position:relative; display:block; width:100%; max-width:510px; aspect-ratio:3/2; margin-inline:auto; overflow:hidden; border-radius:14px; mix-blend-mode:multiply; }
.scene img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.bone-loss { opacity:0; transition:opacity .43s var(--motion); }
.plate[data-tissue="parodontite"] .bone-loss { opacity:1; }
.bone-level { position:absolute; left:55.7%; top:50.7%; display:flex; align-items:center; transform:translateY(-50%); pointer-events:none; transition:top .43s var(--motion); }
.plate[data-tissue="parodontite"] .bone-level { top:67.1%; }
.bone-level::before { content:""; width:clamp(18px,5vw,39px); border-top:1px solid var(--cor-brand-900); }
.bone-level::after { content:""; position:absolute; left:0; height:7px; border-left:1px solid var(--cor-brand-900); }
.bone-level span { padding:3px 7px; border-radius:5px; background:rgba(255,255,255,.94); color:var(--cor-brand-900); font-size:clamp(11px,1.8vw,13px); font-weight:650; line-height:1.25; }
.inflamed { opacity:1; transition:opacity .32s var(--motion); }
[data-tissue="sana"] .inflamed, [data-tissue="sana"] .target { opacity:0; }
.target { position:absolute; left:55.8%; top:46.2%; transform:translate(-50%,-50%); width:18.5%; aspect-ratio:1; border:1px solid rgba(6,69,75,.47); border-radius:50%; background:transparent; pointer-events:none; transition:opacity .22s ease; }
.gesture { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:7px 16px; border:1px solid #c9dcd8; border-radius:999px; background:var(--cor-soft); color:var(--cor-brand-900); font-size:14px; line-height:1.25; font-weight:650; }
.gesture svg { width:17px; height:17px; flex:none; }
figcaption { display:grid; max-width:51ch; margin:11px auto 0; min-height:2.9em; color:var(--cor-text); font-size:15px; line-height:1.45; }
figcaption > [data-tissue] { grid-area:1/1; }
/* Entrambe le didascalie riservano spazio, così le domande restano ferme al tocco. */
figcaption > [data-tissue][hidden] { display:block !important; visibility:hidden; }
figcaption strong { color:var(--cor-ink); }

.recession-guide .heading h1 em { white-space:normal; }
.recession-guide .heading h1 { font-size:clamp(32px,7.8vw,46px); }
.guide-answer { max-width:44ch; margin:10px 0 0; color:var(--cor-text); font-size:16px; line-height:1.45; }
.other-margin { opacity:0; transition:opacity .46s var(--motion); }
.plate[data-tissue="coperta"] .other-margin, .plate[data-tissue="guarita"] .other-margin { opacity:1; }
.margin-callout { position:absolute; top:53.5%; left:45.5%; display:flex; align-items:center; transform:translateY(-50%); transition:top .46s var(--motion); }
.margin-callout::before { content:""; width:clamp(18px,5vw,42px); border-top:1px solid var(--cor-brand-900); }
.margin-callout::after { content:""; position:absolute; left:0; height:6px; border-left:1px solid var(--cor-brand-900); }
.margin-callout span, .micro-lens span { padding:3px 6px; border-radius:5px; background:rgba(255,255,255,.95); color:var(--cor-brand-900); font-weight:650; font-size:clamp(11px,2.4vw,13px); line-height:1.2; }
.margin-callout .covered-label, .margine[data-tissue="coperta"] .uncovered-label, .copertura[data-tissue="guarita"] .uncovered-label { display:none; }
.margine[data-tissue="coperta"] .covered-label, .copertura[data-tissue="guarita"] .covered-label { display:inline; }
.margine[data-tissue="coperta"] .margin-callout { top:47.3%; }
.copertura .margin-callout { top:58.6%; }
.copertura[data-tissue="guarita"] .margin-callout { top:50.9%; }
.root-ring { position:absolute; left:45.4%; top:53.6%; width:8%; aspect-ratio:1; transform:translate(-50%,-50%); border:1px solid rgba(6,69,75,.6); border-radius:50%; }
.lens-leader { position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:var(--cor-brand-900); stroke-width:1.6; }
.micro-lens { position:absolute; left:62%; top:3%; width:36%; aspect-ratio:1; border:1px solid var(--cor-brand-800); border-radius:50%; overflow:hidden; }
.micro-lens span { position:absolute; bottom:12%; left:50%; transform:translateX(-50%); white-space:nowrap; }
.micro-lens, .lens-leader { opacity:0; transition:opacity .3s ease,transform .4s var(--motion); }
.micro-lens { transform:scale(.85); transform-origin:bottom left; }
.lente[data-tissue="dettaglio"] .micro-lens, .lente[data-tissue="dettaglio"] .lens-leader { opacity:1; transform:none; }

.root-lesion { opacity:0; transition:opacity .36s var(--motion); }
.confronto-carie[data-tissue="carie"] .root-lesion { opacity:1; }
.caries-leader { position:absolute; inset:0; width:100%; height:100%; }
.caries-leader path { stroke:var(--cor-brand-900); fill:none; stroke-width:1; vector-effect:non-scaling-stroke; }
.caries-lens { position:absolute; left:64%; top:4%; width:33%; aspect-ratio:1; overflow:hidden; border-radius:50%; border:1px solid #437b77; box-shadow:0 0 0 3px var(--cor-paper); }
/* Both details use the same 144px window on the central premolar. */
.scene .caries-lens img { inset:auto; width:533.3333%; height:355.5556%; max-width:none; left:-190.2778%; top:-129.1667%; }
.scene-next { grid-column:1; justify-self:start; margin-top:6px; text-align:left; }
.viste-cliniche .scene { overflow:hidden; border-radius:12px; margin-bottom:8px; }
.viste-cliniche .seconda-vista { opacity:0; transition:opacity .42s var(--motion); }
.viste-cliniche[data-tissue="seconda"] .seconda-vista { opacity:1; }
.attacchi-allineatori .scene .seconda-vista { opacity:1; }
.attacchi-allineatori[data-tissue="seconda"] .scene .seconda-vista { opacity:0; }
.ponte-su-due-impianti .scene .seconda-vista { opacity:1; clip-path:inset(0 0 100%); transition:clip-path .62s var(--motion); }
.ponte-su-due-impianti[data-tissue="seconda"] .scene .seconda-vista { clip-path:inset(0); }

.confronto-bitewing .scene { overflow:hidden; border-radius:12px; margin-bottom:10px; }
.bitewing { opacity:0; transition:opacity .4s var(--motion); }
.contact-ring { position:absolute; left:54.7%; top:32%; width:13.5%; aspect-ratio:1; transform:translate(-50%,-50%); border:1.4px solid #416f6a; border-radius:50%; pointer-events:none; transition:border-color .4s var(--motion); }
.confronto-bitewing[data-tissue="radiografia"] .bitewing { opacity:1; }
.confronto-bitewing[data-tissue="radiografia"] .contact-ring { border-color:#c5e7e2; }

.probing .heading h1 { font-size:clamp(31px,7.7vw,43px); letter-spacing:-.05em; }
.probing .heading h1 em { white-space:normal; }
.probe-answer { max-width:41ch; margin:12px 0 0; color:var(--cor-text); font-size:16px; line-height:1.45; }
.probe-scene { aspect-ratio:5/4; max-width:510px; overflow:hidden; }
.probe-tool { transform:translate(7.43%,-31.05%); transition:transform .8s var(--sheet-motion); }
.probe-plate[data-tissue="misura"] .probe-tool { transform:translate(0,0); }
.probe-guides { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.probe-guides path { fill:none; stroke:var(--cor-brand-900); stroke-width:1; vector-effect:non-scaling-stroke; }
.probe-label { position:absolute; left:63.5%; transform:translateY(-50%); font-size:clamp(11px,2.3vw,13px); line-height:1.3; padding:2px 5px; color:var(--cor-brand-900); background:rgba(255,255,255,.95); border-radius:4px; font-weight:650; white-space:nowrap; }
.probe-margin { top:26.17%; }
.probe-base { top:54.98%; }
.probe-value { top:40.6%; padding:3px 7px; font-size:clamp(13px,3vw,17px); color:white; background:var(--cor-brand-900); }
.probe-reading { opacity:0; transition:opacity .13s ease; }
.probe-plate[data-tissue="misura"] .probe-reading { opacity:1; transition:opacity .18s ease .62s; }
.probe-plate .gesture svg { transition:transform .35s var(--sheet-motion); }
.probe-plate[data-tissue="misura"] .gesture svg { transform:rotate(180deg); }

.care { grid-area:care; min-width:0; border-top:1px solid var(--cor-line); padding-top:17px; }
.care h2 { font-size:clamp(26px,4vw,30px); font-weight:710; line-height:1.2; letter-spacing:-.035em; margin:0 0 13px; }
.care-note { margin:16px 0; padding:0 0 0 12px; border-inline-start:2px solid #8bb6b2; color:var(--cor-text); font-size:14px; line-height:1.5; }
.care-note strong { color:var(--cor-ink); font-weight:650; }
.tip { border-block-start:1px solid var(--cor-line); }
.tip:last-of-type { border-block-end:1px solid var(--cor-line); }
.tip summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; cursor:pointer; list-style:none; font-weight:665; font-size:16px; color:var(--cor-ink); line-height:1.35; }
.tip summary::after { content:"+"; flex:none; width:23px; height:23px; display:grid; place-items:center; border-radius:50%; background:var(--cor-brand-100); color:var(--cor-brand-900); font-size:17px; line-height:1; font-weight:480; }
details[open]>summary::after { content:"−"; }
summary::-webkit-details-marker { display:none; }
.tip>div { padding-bottom:12px; }
.tip p, .care-followup { color:var(--cor-text); font-size:15px; line-height:1.5; margin:0; }
.tip p+p { margin-top:6px; }
.tip .acute, .case-link { font-size:14px; }
.tip p a { color:var(--cor-brand-900); font-weight:700; text-decoration:underline; }
.care p.care-followup { margin:12px 0 0; }
.case-link { display:inline-flex; align-items:center; gap:6px; min-height:44px; line-height:1.35; color:var(--cor-brand-800); font-weight:650; text-decoration:underline; text-underline-offset:3px; }
.guide-links { display:grid; margin-top:10px; }
.guide-links .case-link { justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--cor-line); text-decoration:none; }
.guide-links .case-link:hover { text-decoration:underline; }
.guide-links .guide-index { justify-content:flex-start; border:0; font-weight:550; }
#contenuto .contact { scroll-margin-top:12px; padding:clamp(21px,4vw,46px); border-radius:var(--radius); background:var(--cor-brand-900); color:white; display:grid; gap:18px; margin:0 0 22px; }
#contenuto .contact h2 { max-width:21ch; color:white; font-size:clamp(27px,5.8vw,43px); line-height:1.09; font-weight:710; letter-spacing:-.045em; }
#contenuto .contact h2 em { display:block; font-style:normal; color:#b6e1db; }
#contenuto .contact p { margin:10px 0 0; color:#f4fbfa; font-size:16px; line-height:1.5; max-width:48ch; }
.contact-actions { display:grid; gap:8px; align-content:center; }
.contact-actions .button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:10px 16px; border-radius:999px; font-weight:720; font-size:15px; text-decoration:none; }
.contact-actions svg { width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.contact-actions .call { color:var(--cor-brand-900); background:#fff; border:1px solid #fff; }
.contact-actions .write { color:#fff; background:transparent; border:1px solid #9dbfbd; }
.contact-actions small { color:#dceeea; text-align:center; font-size:12px; line-height:1.4; }
.sheet-foot { padding:15px 0 25px; border-top:1px solid var(--cor-line); display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; color:#56696b; font-size:12px; }
.sheet-foot details { max-width:50ch; }
.sheet-foot summary { cursor:pointer; color:var(--cor-brand-800); }
.sheet-foot details p { margin:8px 0; font-size:13px; line-height:1.5; }
.sheet-foot details a { display:block; padding:5px 0; color:var(--cor-brand-800); text-decoration:underline; }
@media (min-width:560px) {
  .plate { max-width:600px; width:100%; margin-inline:auto; }
  figcaption { text-align:center; }
}
@media (min-width:880px) {
  .header .nav { height:83px; }
  .sheet-nav .nav-contact { display:inline-flex; align-items:center; gap:12px; border-radius:999px; min-height:46px; }
  .spread { grid-template:"heading plate" auto "care care" auto / minmax(0,.9fr) minmax(0,1.2fr); gap:28px clamp(38px,6vw,92px); padding:32px 0; }
  .spread-bleeding { grid-template-areas:"heading plate" "causes plate" "care care"; grid-template-rows:auto auto auto; }
  .spread-bleeding .heading { align-self:end; padding-bottom:0; }
  .spread-bleeding .plate { align-self:center; }
  .heading { align-self:center; padding-bottom:35px; }
  .heading .eyebrow { margin-bottom:13px; }
  .heading h1 { font-size:clamp(50px,5.1vw,75px); max-width:13ch; }
  .probing .heading h1 { font-size:clamp(43px,4.25vw,62px); max-width:17.5ch; }
  .probing .heading { padding-bottom:0; }
  .recession-guide .heading h1 { font-size:clamp(43px,4.35vw,65px); max-width:17ch; }
  .recession-guide .heading { padding-bottom:0; }
  .guide-answer { font-size:18px; margin-top:16px; }
  .probe-answer { margin-top:18px; font-size:18px; }
  .care { display:grid; grid-template:"title questions" auto "note questions" 1fr ". followup" auto / minmax(0,.9fr) minmax(0,1.2fr); column-gap:clamp(38px,6vw,92px); align-items:start; padding-top:24px; }
  .care h2 { grid-area:title; }
  .questions { grid-area:questions; }
  .care-note { grid-area:note; max-width:45ch; margin:0; }
  .care-next { grid-area:followup; }
  .care .tip:first-child { border-top:0; }
  #contenuto .contact { grid-template-columns:1.6fr 1fr; align-items:center; gap:clamp(30px,7vw,100px); }
  .contact-actions { width:100%; max-width:340px; justify-self:end; }
  #contenuto .contact h2 em { display:inline; }
}
@media (max-width:360px) {
  .probing .heading h1 { font-size:29px; }
  .probe-answer { margin-top:8px; font-size:15px; }
  .spread { gap:14px; padding-top:16px; }
  .heading h1 { font-size:34px; }
  .sheet-nav .library-link { font-size:13px; }
}
@media (hover:hover) {
  .model:enabled:hover .gesture { background:var(--cor-brand-100); }
  .contact-actions .call:hover { background:var(--cor-brand-100); }
  .contact-actions .write:hover { background:#0a565b; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* Le due viste condividono la stessa tavola. I richiami seguono le coordinate del modello. */
.teaching-plate .scene { overflow:hidden; border-radius:14px; }
.zone { position:absolute; transform:translate(-50%,-50%); border:1.5px solid #096966; box-shadow:0 0 0 2px #fff9; border-radius:50%; transition:opacity .35s var(--motion); pointer-events:none; }
.zone-seconda,.local-lens { opacity:0; }
[data-tissue="seconda"] .zone-seconda,[data-tissue="seconda"] .local-lens { opacity:1; }
[data-tissue="seconda"] .zone-prima { opacity:0; }
.local-lens { position:absolute; width:32%; aspect-ratio:1; top:4%; right:2%; overflow:hidden; border:1.5px solid #588984; border-radius:50%; background:var(--cor-paper); box-shadow:0 4px 12px #173a3822; transition:opacity .35s var(--motion); }
.local-lens img { display:block; position:absolute; width:500%; height:auto; max-width:none; inset:auto; }
.drink-time { display:block; max-width:400px; margin:5px auto 16px; padding:0 12px; }
.drink-labels { display:flex; justify-content:space-between; font-size:.88rem; font-weight:600; color:var(--cor-ink); }
.drink-rail { display:block; height:1px; background:#98b5ae; margin:13px 5% 4px; position:relative; }
.drink-rail i { position:absolute; left:0; top:0; width:11px; height:11px; background:var(--cor-brand-700); border:2px solid var(--cor-paper); box-sizing:content-box; border-radius:50%; transform:translate(-50%,-50%); transition:left .5s var(--motion); }
[data-tissue="seconda"] .drink-rail i:nth-child(2) { left:30%; }
[data-tissue="seconda"] .drink-rail i:nth-child(3) { left:59%; }
[data-tissue="seconda"] .drink-rail i:nth-child(4) { left:83%; }
.teaching-plate figcaption { font-size:1rem; line-height:1.48; }
.spread-advice { grid-template-areas:"heading" "plate" "advice" "care"; }
.clinical-advice { grid-area:advice; border-inline-start:2px solid var(--cor-brand-900); padding:3px 0 3px 14px; color:var(--cor-text); font-size:1rem; line-height:1.48; }
.clinical-advice strong { color:var(--cor-ink); }
.clinical-advice p { margin:3px 0; }
.clinical-advice div { display:flex; flex-wrap:wrap; column-gap:18px; margin-top:2px; }
.clinical-advice a { display:inline-flex; align-items:center; min-height:44px; color:var(--cor-brand-900); font-size:.9rem; font-weight:650; text-decoration:underline; text-underline-offset:.2em; }
.pain-diary { position:absolute; top:18%; right:3%; width:44%; text-align:left; }
.diary-entry { display:grid; gap:.45em; position:absolute; top:0; left:0; opacity:1; transition:opacity .32s var(--motion); }
.diary-entry>span { color:var(--cor-brand-900); font-size:clamp(.82rem,2.8vw,.98rem); font-weight:650; }
.diary-entry>strong { color:var(--cor-ink); font-size:clamp(1rem,4.6vw,1.65rem); font-weight:650; line-height:1.16; letter-spacing:-.035em; }
.entry-1,[data-tissue="seconda"] .entry-0 { opacity:0; }
[data-tissue="seconda"] .entry-1 { opacity:1; }
@media (min-width:880px) {
  .spread-advice { grid-template-areas:"heading plate" "advice plate" "care care"; }
  .spread-advice .heading { align-self:end; padding-bottom:0; }
  .spread-advice .plate { align-self:center; }
}
@media (prefers-reduced-motion:reduce) { .diary-entry { transition:none; } }
@media(prefers-reduced-motion:reduce) { .zone,.local-lens,.drink-rail i { transition:none; } }

.local-lens.lens-pair { opacity:1; }

/* Domande e risposte delle guide illustrate */
.care .questions > .tip > summary {
  min-block-size: 3rem;
  padding-block: 1rem;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.care :is(.questions, .care-note, .care-next, .care-followup) {
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.care :is(.questions, .care-note, .care-next) :is(div, p, li, a, strong, em) {
  font-size: inherit;
  line-height: inherit;
}

.care .questions .tip > summary::after {
  width: 1.4375rem;
  height: 1.4375rem;
  font-size: 1.0625rem;
}

.care .tip > div {
  max-inline-size: 66ch;
}

.care .tip p + p {
  margin-block-start: .75em;
}

/* Testi, comandi e fonti nelle guide illustrate. */
:root {
  --cor-testo-guida: 1.125rem;
  --cor-azione-guida: 1.0625rem;
  --cor-nota-guida: 1rem;
}
html body :is(.heading p:not(.eyebrow), .guide-answer, .probe-answer, .possible-causes p, .clinical-advice p, .contact p, .primo-aiuto p, .lesson-prompt, .plate figcaption, .cor-lettura, .cold-responses dd, .cold-responses dt, .sheet-foot details p, .cor-guide-explanation p, .cor-guide-action p) {
  font-size: var(--cor-testo-guida) !important;
  line-height: 1.6 !important;
}
html body :is(.heading p:not(.eyebrow), .guide-answer, .probe-answer, .possible-causes p, .clinical-advice p, .plate figcaption, .cold-responses, .cor-guide-explanation p, .cor-guide-action p) :is(span, strong, a, em) {
  font-size: inherit !important;
  line-height: inherit;
}
html body :is(.library-link, .button, .gesture, .gesture > span, .lesson-choices button, .implant-parts button, .implant-reset, .sheet-foot summary) {
  font-size: var(--cor-azione-guida) !important;
  line-height: 1.4;
}
html body :is(.eyebrow, .probe-label, .contact-actions small, .sheet-foot > span, .sheet-foot details a) {
  font-size: var(--cor-nota-guida) !important;
  line-height: 1.5;
}
html body :is(.case-link, .care .care-next a, .cor-revisione a, .cold-responses, .clinical-advice a) {
  font-size: var(--cor-testo-guida) !important;
  line-height: 1.5;
}
html body .probe-label {
  max-inline-size: 35%;
  padding-inline: .2rem;
  white-space: normal;
  line-height: 1.16;
  text-wrap: balance;
}
html body .eyebrow { letter-spacing: .065em; }
html body .lesson-choices { flex-wrap: wrap; }
html body .sheet-foot { flex-wrap: wrap; }
html body .sheet-foot details { min-inline-size: 0; max-inline-size: 100%; }
html body .sheet-foot details a { overflow-wrap: anywhere; }


html body .header .nav { flex-wrap: wrap; row-gap: .25rem; }
html body .sheet-nav { min-inline-size: 0; max-inline-size: 100%; }
html body .probe-margin { transform: translateY(-100%); }
html body .probe-base { transform: none; }
.probe-plate { container: cor-sonda / inline-size; }

/* Con testo ingrandito le etichette passano sotto il disegno. */
@container cor-sonda (max-width: 16rem) {
  .probe-plate .probe-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    aspect-ratio: auto;
  }
  .probe-plate .probe-scene::before {
    content: "";
    grid-area: 1 / 1;
    aspect-ratio: 5 / 4;
  }
  .probe-plate .probe-scene > :is(img, svg) { grid-area: 1 / 1; }
  .probe-plate .probe-scene .probe-label {
    position: static;
    justify-self: start;
    max-inline-size: 100%;
    margin-block: .12em;
    transform: none;
    overflow-wrap: anywhere;
    text-align: start;
  }
  .probe-plate:not([data-tissue="misura"]) .probe-label.probe-reading { display: none; }
}

html body :is(.spread > *, .plate, .cor-lettura) { min-inline-size: 0; }
html body .cor-lettura { max-inline-size: 100%; overflow-wrap: anywhere; }

/* One source for the illustration note on all illustrated guides. */
#illustrazione { --cor-contenuto-figura: 495px; }
#illustrazione.lesson-plate { --cor-contenuto-figura: 510px; }
#illustrazione:has(> figcaption.cor-lettura) { --cor-contenuto-figura: calc(100% - 32px); }
#illustrazione:is(.teaching-plate,.arch-plate) { --cor-contenuto-figura: 440px; }
#illustrazione.viste-cliniche:not(.teaching-plate) { --cor-contenuto-figura: 412px; }
#illustrazione > p.cor-avviso-didattico {
  display: block;
  width: 100%;
  max-width: var(--cor-contenuto-figura);
  font-family: inherit;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 400;
  color: #65716d;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 3px auto 8px;
  text-align: start;
  box-sizing: border-box;
}

figure#illustrazione{position:relative}

@media(min-width:1050px){
 main.wrap > article:has(.spread){container-type:inline-size}
 main .spread:has(figure#illustrazione){--larghezza-nota:clamp(124px,calc(9vw + 30px),160px);grid-template-columns:minmax(0,1fr) min(600px,calc((100cqw - clamp(38px,6vw,92px))*4/7));column-gap:clamp(24px,4vw,70px)}
 figure#illustrazione{width:100%;max-width:600px}
}
body main .spread .heading h1{font-size:clamp(32px,7.8vw,46px);letter-spacing:-.055em;line-height:1.01}
@media(min-width:880px){body main .spread .heading h1{font-size:clamp(43px,4.35vw,65px);max-width:17ch}}

/* Text hierarchy shared by all 72 illustrated guides. */
.guide-explainer{color:var(--cor-text);font-size:18px;line-height:1.65;max-width:62ch;margin:0 0 20px}
.guide-explainer p{margin:0 0 12px}.guide-explainer p:last-child{margin-bottom:0}
.questions-heading{color:var(--cor-ink);font-size:22px;line-height:1.3;margin:0 0 10px;font-weight:700}
@media(min-width:880px){.care .guide-explainer{grid-area:note;margin:0}}
#contenuto .cor-guide-explanation{margin:0 0 24px}
#contenuto .cor-guide-explanation h2{margin:0 0 8px}
#contenuto .cor-guide-explanation p{margin:0}
#contenuto .cor-guide-explanation p+p{margin-top:.75rem}
#contenuto .cor-guide-action{border-top:1px solid #d7e1dc;margin-top:1rem;padding-top:1rem}
#contenuto .cor-guide-action h2,#contenuto .cor-guide-action-title{margin:0 0 .4rem;font-size:clamp(22px,3vw,26px);line-height:1.3}
#contenuto .cor-disclaimer-footer{border-top:1px solid #d7e1dc;margin:24px 0 0;padding:12px 0 8px;font-size:15px;line-height:1.55;color:#475d59;max-width:72ch}
#contenuto .cor-disclaimer-footer strong{font-size:inherit;font-weight:650}
