.atlas-sheet{box-sizing:border-box;width:min(500px,calc(100% - 32px));max-width:none;max-height:min(78dvh,650px);margin:auto;padding:0;overflow:hidden;border:1px solid var(--border,#dce5d6);border-radius:22px;background:var(--surface,#fbfcf8);color:var(--text,#293e32);box-shadow:0 20px 80px #12251b3b}.atlas-sheet[open]{display:flex;flex-direction:column}.atlas-sheet::backdrop{background:#15291c59}@media(prefers-reduced-motion:no-preference){.atlas-sheet[data-from-word]::backdrop{animation:atlas-sheet-shade .26s ease-out both}}@keyframes atlas-sheet-shade{0%{opacity:0}to{opacity:1}}.atlas-sheet-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border,#e3e9df)}.atlas-sheet-heading h2{margin:0;overflow-wrap:anywhere;font-size:23px;font-weight:600;line-height:1.25}.atlas-sheet-heading button{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:12px;font-size:23px;line-height:1}.atlas-sheet-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 20px;font-size:15px;line-height:1.55;overflow-wrap:anywhere}.atlas-sheet-content>p:first-child{margin-top:0}.atlas-sheet-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:18px}.atlas-sheet-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:14px}.atlas-sheet-actions a{color:var(--accent,#45694a);text-underline-offset:3px}.atlas-word-reading{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--muted,#5b705e);font-size:13px}.atlas-word-reading+.atlas-word-translation{margin:7px 0 16px;font-size:18px}.atlas-word-memory{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;margin:12px 0 0;padding:12px 14px;border:1px solid var(--border,#dce5d6);border-radius:14px;background:color-mix(in srgb,var(--edge-selected,#3c6b55) 7%,var(--surface,#fbfcf8))}.atlas-word-memory h3{margin:0;font-size:14px;line-height:1.4}.atlas-word-memory p,.atlas-word-practice-empty{margin:2px 0 0;color:var(--muted,#5b705e);font-size:12px;line-height:1.4}.atlas-word-memory-orbit{display:flex;align-items:center;justify-content:center;gap:5px;width:55px;height:31px;border:1px dashed color-mix(in srgb,var(--edge-selected,#3c6b55) 45%,transparent);border-radius:50%}.atlas-word-memory-orbit i{width:6px;height:6px;border:1px solid color-mix(in srgb,var(--edge-selected,#3c6b55) 65%,transparent);border-radius:50%}.atlas-word-memory-orbit i:nth-child(2){transform:translateY(-3px)}.atlas-word-memory-orbit i[data-bright]{background:var(--edge-selected,#3c6b55);box-shadow:0 0 8px color-mix(in srgb,var(--edge-selected,#3c6b55) 68%,transparent)}.atlas-word-actions{margin:10px 0 14px}.atlas-word-actions a{gap:4px}.atlas-word-practice-empty{margin:-10px 0 14px}.atlas-word-forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px;margin:0 0 16px}.atlas-word-forms>div{padding:9px 12px;border-radius:12px;background:var(--raised,#edf3e8)}.atlas-word-forms dt,.atlas-word-form-meaning{color:var(--muted,#5b705e);font-size:12px}.atlas-word-forms dd{margin:0}.atlas-word-forms dd[lang=hy]{font-size:18px;font-weight:600}.atlas-word-examples h3{margin:0 0 6px;font-size:14px;font-weight:600}.atlas-word-examples blockquote{display:grid;gap:2px;width:100%;min-height:44px;margin:0;padding:8px 10px;text-align:left}.atlas-word-examples blockquote p:last-child{color:var(--muted,#5b705e)}.atlas-word-examples blockquote{border-inline-start:2px solid var(--sentence-edge,#658c93)}.atlas-word-examples blockquote p{margin:0}.atlas-word-extra{margin-top:12px;font-size:13px}.atlas-word-extra summary{cursor:pointer}.atlas-word-extra p{white-space:pre-wrap}.atlas-welcome-steps{display:grid;gap:7px;margin:0;padding-inline-start:20px}@media(max-width:700px){.atlas-sheet{position:fixed;inset:auto 0 0;width:100%;margin:0;border-radius:22px 22px 0 0}.atlas-sheet-heading{padding-inline:16px}.atlas-sheet-content{padding:14px 16px calc(16px + env(safe-area-inset-bottom))}}
