:root { color-scheme: light; --bg: #f7f4ee; --panel: #fffdf8; --text: #252820; --muted: #575d51; --line: #d1d1c4; --copper: #884820; --mint: #425638; font-family: Arial, sans-serif; }
body { font: 16px/1.75 Arial, sans-serif; background: var(--bg); color: var(--text); }
.site-header { height: auto; margin: auto; }
.site-header .brand img { opacity: 1; }
main { max-width: 1440px; padding: 40px 40px 0; }
.atlas-intro { margin: 20px 0 36px; }
.atlas-intro h1 { font-size: clamp(48px,6vw,72px); line-height: 1.05; }
.atlas-intro .seo-sub { margin: 24px 0 0; }
.workspace { grid-template-columns: minmax(0,1fr) 400px; border-radius: 5px; }
.stage { background: radial-gradient(ellipse at 48% 45%,#e4e7db77,transparent 70%),var(--bg); }
.stage-top { top: 20px; left: 20px; right: 20px; gap: 16px; }
.view-group { background: var(--panel); border-color: var(--line); flex-wrap: wrap; }
button { min-height: 44px; font-size: 16px; color: var(--text); border-color: #929889; }
button:hover { background: #e9ecdf; color: var(--text); }
button[aria-pressed=true], .view-group button[aria-pressed=true] { background: #e4e9db; color: var(--mint); border-color: var(--mint); }
.view-group button { font-size: 15px; min-height: 44px; padding: 8px 12px; }
.scene-caption > span { color: var(--mint); }
.scene-caption small { font-family: Arial,sans-serif; }
.zoom-buttons button { width: 44px; height: 44px; background: var(--panel); }
.zoom-buttons { top: 400px; }
.stage-bottom { align-items: center; }
.gesture-hint { font-size: 14px; }
.text-button { font-size: 15px; }
.depth-control { font-size: 16px; }
input[type=range] { height: 44px; }
.control-toggles { flex-wrap: wrap; }
.control-toggles button { font-size: 15px; min-height: 48px; }
.inspector { background: var(--panel); padding: 24px; }
.index > label, select, .index-hint, .reading-theme, .reading-context, .about { font-size: 16px; line-height: 1.75; }
select { background: var(--panel); border-color: #929889; min-height: 48px; color: var(--text); }
.reading-description, .reading-section p { font-size: 17px; line-height: 1.85; }
.reading-section h3, .reading-reflection h3 { font-size: 17px; }
.reading-reflection p { font-family: Arial,sans-serif; font-size: 18px; line-height: 1.75; }
.welcome-steps li { font-size: 16px; line-height: 1.75; }
.chips button, .chips .channel-chip { font-size: 16px; min-height: 44px; }
.reading-links > p { font-size: 13px; letter-spacing: .05em; }
#clear { min-width: 44px; min-height: 44px; }
#tooltip { background: var(--panel); color: var(--text); border: 1px solid var(--line); font-size: 16px; box-shadow: 0 8px 24px #25282020; }
footer { font-size: 13px; letter-spacing: .03em; }
.embedded .site-header, .embedded .atlas-intro, .embedded .skip-link { display: none; }
.embedded main { padding: 0; }
@media(min-width:821px) and (max-width:1100px) { .workspace { grid-template-columns: minmax(0,1fr) 340px; } .stage-top { align-items: flex-start; flex-direction: column; gap: 8px; } .scene-caption { top: 160px; } }
@media(max-width:820px) {
  .workspace { grid-template-columns: 1fr; }
  .inspector { height: auto; }
  .reading-description, .reading-section p { font-size: 16px; }
  .controls { flex-wrap: wrap; }
  .control-toggles { width: 100%; justify-content: space-between; }
}
@media(max-width:700px) {
  main { padding: 24px 22px 0; }
  .atlas-intro { margin-top: 16px; }
  .stage-top { position: relative; top: auto; left: auto; right: auto; padding: 16px; flex-wrap: wrap; }
  .view-group { width: 100%; }
  .view-group button { flex: 1; padding: 8px; }
  #viewport { height: 520px; }
  .scene-caption { top: 140px; left: 16px; gap: 12px; }
  .scene-caption > span { font-size: 24px; }
  .scene-caption small { font-size: 11px; }
  .zoom-buttons { top: 400px; left: 16px; }
  .stage-bottom { flex-direction: column; align-items: flex-start; gap: 0; }
  .gesture-hint { max-width: none; }
  .controls { padding: 16px; flex-direction: column; align-items: stretch; }
  .control-toggles button { flex: 1 1 100px; }
  .inspector { padding: 22px; }
}
@media(max-width:380px) { main { padding-left: 16px; padding-right: 16px; } .inspector { padding: 18px; } }
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; color: #252820; font: 11pt/1.6 Arial,sans-serif; }
  .site-header,.skip-link,.stage,.index,.inspector-head,.about,footer,.reading-links { display: none !important; }
  main { padding: 0; }
  .atlas-intro { margin: 0 0 10mm; }
  .atlas-intro h1 { font-size: 28pt; }
  .workspace,.inspector,#reading-scroll { display: block; height: auto; overflow: visible; border: 0; padding: 0; }
  .reading-section p,.reading-description,.reading-context,.reading-reflection p { font-size: 11pt; color: #252820; }
  .reading-title { font-size: 24pt; }
  .reading-section { break-inside: avoid; }
}
