/* Product reference readings. A fragment also opens the full reading without JavaScript. */
.reference-library > article, #reference-reader:not([open]) { display:none; }
.reference-library > article:target { display:block; max-width:820px; margin:32px auto; }
.reference { color:#102441; background:#fff; padding:clamp(20px,4vw,48px); overflow-wrap:anywhere; }
.reference header { margin-bottom:14px; }
.reference header p { margin:0 0 5px; color:#204e92; font-size:.86rem; font-weight:800; }
.reference header h2 { font-size:clamp(2.15rem,5vw,3.65rem); line-height:.99; letter-spacing:-.04em; font-style:italic; }
.reference[id^="clear"] header p { color:#145b47; }
.reference-meta { margin-bottom:9px; color:#3a4e64; font-size:.87rem; font-weight:750; }
.reference-source { font-size:.93rem; margin-bottom:12px; }
.reading-document { overflow:hidden; }
#reference-reader {
  max-height:min(86vh,880px); max-height:min(86dvh,880px); width:min(720px,calc(100vw - 32px));
  padding:0; border:0; border-radius:14px; margin:auto; background:#fff; color:#102441;
  box-shadow:0 20px 90px #06152b60; overscroll-behavior:contain;
}
#reference-reader[open] { display:flex; flex-direction:column; }
#reference-reader::backdrop { background:#051023bd; }
.reader-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex:none; padding:7px 16px 7px clamp(20px,4vw,48px); background:#0b2050; color:white; }
.reader-bar span { font-size:.82rem; font-weight:800; letter-spacing:.02em; }
.reader-close { color:white; border:1px solid #ffffff62; background:transparent; border-radius:32px; min-height:44px; padding:0 16px; font:800 .85rem/1 var(--font-body); cursor:pointer; }
.reader-close:focus-visible { outline:2px solid white; outline-offset:2px; }
.reader-content { overflow:auto; scrollbar-gutter:stable; overscroll-behavior:contain; }
.reader-content .reference-back { display:none; }
.reference-back { display:inline-flex; align-items:center; min-height:44px; margin-top:20px; color:#204e92; }
.ingredient-list { margin-top:22px; border-top:2px solid #142b48; }
.ingredient-list section { padding:13px 0 15px; border-bottom:1px solid #d0d9df; }
.ingredient-list h3 { margin:0 0 5px; font-size:1.04rem; }
.ingredient-list dl { display:flex; flex-wrap:wrap; gap:3px 20px; font-size:.83rem; line-height:1.45; }
.ingredient-list dl div { display:flex; flex-wrap:wrap; gap:0 5px; }
.ingredient-list dt { color:#415269; }
.ingredient-list dd { margin:0; font-weight:700; }
.safety-page { border-bottom:1px solid #cdd6df; }
.safety-page:first-of-type { border-top:2px solid #142b48; margin-top:22px; }
.safety-page summary { cursor:pointer; min-height:44px; padding:13px 1px; font-weight:800; line-height:1.3; }
.safety-page summary small { color:#526279; font-size:.8em; }
.safety-page__body { padding:0 0 22px; }
.safety-page__body p { margin:5px 0; font-size:.94rem; line-height:1.5; }
.safety-page__body h4 { margin:20px 0 8px; font-size:1.15rem; }
.safety-page__body h5 { margin:14px 0 5px; font-size:1rem; }
.source-layout { margin:0 0 15px; }
.source-layout summary { font-size:.85rem; color:#254b7c; text-decoration:underline; }
.source-layout img { display:block; width:100%; height:auto; border:1px solid #c1cbd4; }
.foot__links > span { display:inline-flex; min-height:44px; align-items:center; }
.pack-care .care-method h3 { color:inherit; font-size:clamp(.9rem,1.4vw,1.22rem); margin-bottom:7px; }
.care-method p { font-size:clamp(.82rem,1.05vw,1rem); line-height:1.4; }
@media (max-width:600px) {
  #reference-reader { width:calc(100vw - 16px); max-height:92vh; max-height:92dvh; }
  .reader-bar { padding:5px 12px 5px 18px; }
  .reference { padding:20px 17px 25px; }
  .ingredient-list dl { gap:2px 10px; }
  .pack-care { grid-template-columns:1.05fr 1fr; }
}
.source-table { width:100%; margin:12px 0; border-collapse:collapse; font-size:.84rem; line-height:1.45; }
.source-table td,.source-table th { padding:6px; border:1px solid #cdd6df; text-align:left; vertical-align:top; }
.source-table th { background:#edf2f6; }
