/* The public sample reader shares the Atlas's layout and colors, without its catalog. */
.sample-reader { --sample-ink:#123d43; --sample-paper:#f3ecdc; --sample-line:#d1c4aa; --sample-muted:#66716e; color:var(--sample-ink); background:var(--sample-paper); font-family:var(--sans); font-size:14px; line-height:1.6; overflow-wrap:break-word; }
dialog.sample-reader { padding:0; border:0; width:min(1190px,calc(100vw - 34px)); height:min(920px,calc(100dvh - 34px)); max-width:none; max-height:none; border-radius:12px; box-shadow:0 30px 100px #14120e61; overflow:hidden; }
dialog.sample-reader[open] { display:flex; flex-direction:column; }
dialog.sample-reader:not([open]) { display:none; }
dialog.sample-reader::backdrop { background:#0f201f9e; backdrop-filter:blur(5px); }
.sample-is-open { overflow:hidden; }
.sample-reader button,.sample-reader select { font:inherit; color:inherit; }
.sample-reader button { cursor:pointer; }
.sample-reader button:focus-visible,.sample-reader select:focus-visible,.sample-reader summary:focus-visible,.sample-reader a:focus-visible,.sample-reader [tabindex]:focus-visible { outline:3px solid var(--sample-accent,#1766a5); outline-offset:3px; }
.sample-top { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:58px; padding:12px 24px; border-bottom:1px solid var(--sample-line); background:var(--sample-paper); }
.sample-top>span { color:var(--sample-muted); text-transform:uppercase; font-size:10px; font-weight:800; letter-spacing:.1em; }
.sample-top button,.sample-top a { display:inline-flex; align-items:center; gap:12px; border:0; padding:4px 0; background:none; font-size:12px; font-weight:750; text-align:right; }
.sample-top button>span { font-size:25px; line-height:1; }
.sample-scroll { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; -webkit-overflow-scrolling:touch; }
.sample-layout { display:grid; grid-template-columns:minmax(300px,43%) minmax(0,1fr); align-items:stretch; }
.sample-art { padding:36px; border-right:1px solid var(--sample-line); background:#e9dfca66; }
.sample-art-inner { position:sticky; top:30px; width:min(100%,400px); margin:auto; }
.sample-art img { width:100%; height:auto; border-radius:4px; filter:drop-shadow(0 18px 22px #1739232e); }
.sample-art figcaption { margin-top:20px; font-size:11px; text-align:center; color:var(--sample-muted); }
.sample-copy { min-width:0; padding:38px 42px; }
.sample-copy .sample-eyebrow { margin:0 0 14px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; color:var(--sample-accent); }
.sample-title { margin:0 0 25px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(35px,4.5vw,58px); font-weight:500; line-height:1.05; letter-spacing:-.035em; }
.sample-tagline { font-size:16px; font-weight:650; color:var(--sample-accent); }
.sample-copy h3 { margin:0 0 14px; font-family:Georgia,'Times New Roman',serif; font-size:26px; font-weight:500; line-height:1.16; letter-spacing:-.02em; }
.sample-copy h4 { margin:0 0 10px; font-size:12px; font-weight:750; line-height:1.5; }
.sample-copy p,.sample-copy li,.sample-copy dd { font-size:14px; line-height:1.7; }
.sample-copy ul { padding-left:20px; }
.sample-copy li+li { margin-top:8px; }
.sample-contribution { font-family:Georgia,'Times New Roman',serif; font-size:18px!important; line-height:1.6!important; }
.sample-section { margin-top:28px; padding-top:24px; border-top:1px solid var(--sample-line); }
.sample-tabs { position:sticky; top:0; z-index:2; display:flex; gap:5px; margin:26px 0 20px; padding:8px 0; border-bottom:1px solid var(--sample-line); background:var(--sample-paper); }
.sample-tabs button { flex:1; min-width:0; min-height:44px; padding:11px 8px; border:0; border-bottom:3px solid transparent; background:transparent; font-size:12px; font-weight:750; line-height:1.4; }
.sample-tabs button[aria-selected="true"] { border-bottom-color:var(--sample-accent); background:#fffaf099; }
.sample-tabs button:hover { background:#fffaf0; }
.sample-panel[hidden],.sample-access-notice[hidden] { display:none!important; }
.sample-meaning { display:grid; grid-template-columns:110px minmax(0,1fr); gap:0 20px; margin:0; }
.sample-meaning dt,.sample-meaning dd { padding-block:18px; margin:0; border-top:1px solid var(--sample-line); }
.sample-meaning dt { font-size:10px; font-weight:750; line-height:1.4; text-transform:uppercase; letter-spacing:.06em; color:var(--sample-muted); }
.sample-meaning dd { font-family:Georgia,'Times New Roman',serif; font-size:17px; line-height:1.5; }
.sample-question { color:var(--sample-muted); }
.sample-next { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; margin:24px 0 0 auto; padding:11px 16px; border:1px solid var(--sample-line); border-radius:5px; background:#fffaf099; font-size:12px!important; font-weight:750!important; }
.sample-guide-grid,.sample-factor-grid,.sample-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sample-guide-grid>article,.sample-factor-grid>article { min-width:0; padding:17px; border:1px solid var(--sample-line); border-radius:6px; background:#fffaf073; }
.sample-guide-grid h4 { color:var(--sample-accent); }
.sample-guide-grid p:last-child,.sample-factor-grid p:last-child { margin-bottom:0; }
.sample-related-card { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; width:100%; margin:0; padding:13px; border:1px solid var(--sample-line); border-left:3px solid var(--card-family-accent); border-radius:5px; background:#fffaf099; text-align:left; }
.sample-related-card:hover { background:#fffaf0; }
.sample-related-card>span:last-child { color:var(--card-family-ink); }
.sample-related-card small,.sample-related-card b,.sample-related-card>span:first-child>span { display:block; }
.sample-related-card small { font-size:9px; letter-spacing:.06em; text-transform:uppercase; color:var(--sample-muted); margin-bottom:5px; }
.sample-related-card b { font-size:14px; line-height:1.4; color:var(--card-family-ink); }
.sample-related-card>span:first-child>span { margin-top:6px; font-size:12px; line-height:1.5; }
.sample-factor-grid .sample-related-card { padding:0 0 10px; border:0; border-radius:0; background:none; }
.sample-context { margin-top:16px; border-top:1px solid var(--sample-line); }
.sample-context>summary { padding:17px 0; font-size:15px; font-weight:750; cursor:pointer; }
.sample-context>div { padding-bottom:16px; }
.sample-context .sample-related-card { margin-bottom:10px; }
.sample-lens-select { display:grid; gap:8px; font-size:12px; font-weight:650; }
.sample-lens-select select { width:100%; min-height:44px; padding:8px 10px; border:1px solid var(--sample-line); border-radius:4px; background:#fffaf0; font-size:13px; }
.sample-lens { margin-top:20px; }
.sample-copy dl:not(.sample-meaning) dt { margin-top:15px; font-size:11px; font-weight:750; color:var(--sample-muted); text-transform:uppercase; letter-spacing:.06em; }
.sample-copy dl:not(.sample-meaning) dd { margin:5px 0 0; }
.sample-callout { margin:25px 0; padding:20px; border-left:4px solid var(--sample-accent); background:#fffaf099; }
.sample-callout p:last-child { margin-bottom:0; }
.sample-sides { display:flex; justify-content:center; gap:8px; margin-top:20px; }
.sample-sides button { min-height:44px; padding:8px 22px; border:1px solid var(--sample-line); border-radius:5px; background:#fffaf0; font-size:12px; font-weight:700; }
.sample-sides button[aria-pressed="true"] { border-color:var(--sample-accent); background:var(--sample-accent); color:white; }
.sample-access-notice { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 26px; border-top:3px solid #da5a03; background:#fffaf0; box-shadow:0 -5px 20px #3535350d; }
.sample-access-notice p { margin:0; max-width:720px; font-size:15px; font-weight:650; line-height:1.5; }
.sample-access-notice button { flex:0 0 auto; padding:11px 14px; border:1px solid var(--sample-line); border-radius:5px; background:var(--sample-ink); color:#fffaf0; font-size:12px; font-weight:750; }
.sample-standalone { width:min(1190px,calc(100% - 48px)); margin:35px auto 70px; border:1px solid var(--sample-line); border-radius:9px; }
.sample-standalone .sample-access-notice { position:sticky; bottom:0; }
@media(max-width:1000px) {
  .sample-copy { padding:30px 26px; }
  .sample-art { padding:28px; }
  .sample-guide-grid,.sample-factor-grid,.sample-related-grid { grid-template-columns:1fr; }
}
@media(max-width:760px) {
  .sample-layout { grid-template-columns:1fr; }
  .sample-art { border-right:0; border-bottom:1px solid var(--sample-line); padding:26px; }
  .sample-art-inner { position:static; width:min(65vw,290px); }
  .sample-title { font-size:38px; }
  .sample-top { gap:12px; padding:12px 16px; }
  .sample-top>span { font-size:9px; }
  .sample-top button,.sample-top a { max-width:160px; font-size:11px; }
  .sample-copy { padding:28px 22px; }
  .sample-meaning { grid-template-columns:1fr; }
  .sample-meaning dt { padding-bottom:8px; }
  .sample-meaning dd { padding-top:0; border-top:0; }
  .sample-access-notice { align-items:stretch; flex-direction:column; gap:14px; padding:18px 20px; }
  .sample-access-notice button { align-self:flex-start; }
  .sample-standalone { width:calc(100% - 24px); margin-top:20px; }
}
@media(max-width:450px) {
  dialog.sample-reader { width:100vw; height:100dvh; border-radius:0; margin:0; }
}
