.life-host { min-width: 0; height: 100%; }
.life-demo { --life-ink: #252a2c; --life-muted: #63696b; --life-line: #dce0df; --life-accent: #313a39; --life-paper: #f7f8f5; height: 100%; min-height: 490px; overflow: auto; color: var(--life-ink); background: var(--life-paper); font: 400 15px/1.6 Pretendard, -apple-system, BlinkMacSystemFont, sans-serif; caret-color: var(--life-accent); scrollbar-color: #adb4b0 transparent; scrollbar-width: thin; }
.life-demo *, .life-demo *::before, .life-demo *::after { box-sizing: border-box; }
.life-demo ::selection { color: #fff; background: #536861; }
.life-demo h2, .life-demo h3, .life-demo p { margin: 0; }
.life-demo h2 { letter-spacing: -.035em; text-wrap: balance; }
.life-demo button, .life-demo input, .life-demo textarea { font: inherit; }
.life-demo button { color: inherit; cursor: pointer; border: 0; background: transparent; -webkit-tap-highlight-color: transparent; }
.life-demo button:disabled { opacity: .42; cursor: default; }
.life-demo button, .life-demo a, .life-demo input, .life-demo textarea { outline-offset: 4px; }
.life-demo :focus-visible { outline: 2px solid var(--life-accent); }
.life-demo svg { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.life-demo a { color: inherit; text-underline-offset: 3px; }
.life-demo input, .life-demo textarea { border-radius: 0; color: inherit; min-width: 0; }
.life-demo input::placeholder, .life-demo textarea::placeholder { color: #5f6864; opacity: 1; }
.life-demo textarea { resize: vertical; }
.life-demo [hidden] { display: none !important; }
.life-wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 750; letter-spacing: -.035em; }
.life-meta { color: var(--life-muted); font-size: 12px; }
.life-demo .life-primary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 11px 19px; border-radius: 8px; background: var(--life-accent); color: #fff; font-size: 13px; font-weight: 650; transition: background .18s, transform .18s; }
.life-demo .life-primary:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
.life-demo .life-text-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 6px 0; font-size: 12px; font-weight: 550; text-underline-offset: 3px; }
.life-demo .life-text-btn:hover:not(:disabled) { text-decoration: underline; }
.life-footnote { font-size: 11px; line-height: 1.7; color: var(--life-muted); }
.life-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Two people share one question. The unsubmitted answer remains folded away. */
.life-lovemol { --life-paper: #faf7f2; --life-ink: #43322f; --life-muted: #7c645f; --life-accent: #8a4d43; --life-line: #dfcdc6; }
.love-page { max-width: 1080px; min-height: 100%; margin: auto; padding: 27px clamp(25px, 6vw, 82px) 22px; display: flex; flex-direction: column; }
.love-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.love-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: #ae7465; }
.love-question { padding-top: clamp(25px, 5vh, 56px); text-align: center; }
.love-question h2 { word-break: keep-all; overflow-wrap: anywhere; font-size: clamp(24px, 3vw, 35px); font-weight: 550; line-height: 1.55; }
.love-question p { font-size: 13px; color: var(--life-muted); margin-top: 13px; }
.love-steps { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 25px 0; font-size: 12px; }
.love-steps > span { display: flex; align-items: center; gap: 7px; color: #8a7168; }
.love-steps b { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #bd9f93; border-radius: 50%; font-size: 10px; font-weight: 500; }
.love-steps .is-current, .love-steps .is-done { color: var(--life-accent); font-weight: 650; }
.love-steps .is-current b { background: var(--life-accent); border-color: var(--life-accent); color: #fff; }
.love-steps i { width: 36px; height: 1px; background: #d6beb3; }
.love-form { margin: 0 auto 28px; width: 100%; max-width: 660px; padding: 24px; border: 1px solid #dcc6bb; border-radius: 12px; background: #fffdf9; }
.love-form label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 650; }
.life-demo .love-form textarea { display: block; width: 100%; min-height: 105px; padding: 0; border: 0; background: transparent; line-height: 1.8; }
.love-form-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.love-form-bottom > span { color: var(--life-muted); font-size: 11px; }
.love-page > .life-footnote { margin-top: auto; text-align: center; }
.love-reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; max-width: 740px; width: 100%; margin: 0 auto 24px; animation: life-unfold .7s cubic-bezier(.16, 1, .3, 1); }
.love-answer { border-top: 1px solid #ccb1a5; padding: 22px 0 0; min-width: 0; }
.love-answer h3 { font-size: 12px; color: var(--life-muted); font-weight: 600; }
.love-answer p { margin-top: 17px; font-size: 18px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.love-answer .life-text-btn { margin-top: 18px; color: var(--life-muted); }
.love-next { grid-column: 1/-1; text-align: center; padding-top: 24px; }
.love-next p { font-size: 12px; color: var(--life-muted); margin-bottom: 14px; }
@keyframes life-unfold { from { clip-path: inset(0 0 25% 0); transform: translateY(8px); } to { clip-path: inset(0); transform: translateY(0); } }

/* The illustrations and story share one real reading scroll surface. */
.life-beginning { --life-paper: #f4f1e9; --life-ink: #333b32; --life-muted: #626b59; --life-accent: #506049; --life-line: #d8ddce; --reader-font-size: 21px; min-height: 0; overflow: hidden; }
.reader-page { display: flex; flex-direction: column; height: 100%; min-height: 0; max-width: 1530px; margin: auto; padding: 23px 36px 0; }
.reader-top { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid #d5d6c7; }
.reader-controls { display: flex; align-items: center; gap: 7px; }
.reader-controls button { min-height: 44px; padding: 8px 11px; font-size: 12px; border-radius: 6px; }
.reader-controls button:hover:not(:disabled) { background: #e7e7db; }
.reader-controls .life-toggle[aria-pressed="true"] { color: #35452e; background: #e2e6d8; border-radius: 6px; }
.reader-workspace { display: grid; grid-template-columns: 180px minmax(0, 1fr); flex: 1; min-height: 0; gap: 45px; padding: 24px 0 0; }
.reader-contents { padding-top: 13px; }
.reader-contents h2 { font-size: 17px; font-weight: 650; }
.reader-contents > p { color: var(--life-muted); font-size: 12px; margin-top: 5px; }
.reader-contents nav { display: flex; flex-direction: column; gap: 4px; margin-top: 27px; }
.reader-contents nav button { display: flex; flex-direction: column; gap: 4px; min-height: 62px; padding: 11px 12px; margin-left: -12px; border-radius: 6px; text-align: left; font-size: 12px; }
.reader-contents nav button span { display: block; font-variant-numeric: tabular-nums; font-size: 10px; color: var(--life-muted); }
.reader-contents nav button:hover { background: #eaeadd; }
.reader-contents nav button[aria-current] { background: #e4e6d9; font-weight: 650; }
.reader-contents .reader-go-bookmark { margin-top: 22px; color: #506049; font-size: 11px; }
.reader-contents .reader-reading-note { margin-top: 29px; font-size: 11px; line-height: 1.8; }
.reader-sheet { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.reader-location { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 0 15px 10px 0; color: var(--life-muted); font-size: 11px; }
.reader-bookmark { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 6px; }
.reader-bookmark:hover { background: #e2e6d8; }
.reader-bookmark[aria-pressed="true"] { color: #fff; background: #506049; }
.reader-story-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #a8af9b transparent; padding: 0 22px 30px 0; outline-offset: -3px !important; }
.reader-story-intro { max-width: 780px; margin: 0 auto; padding: 15px 0 28px; }
.reader-story-intro h2 { font-size: clamp(25px, 3vw, 37px); font-weight: 520; line-height: 1.35; letter-spacing: -.035em; }
.reader-story-intro > p { margin-top: 11px; font-size: 11px; color: var(--life-muted); }
.reader-scene { margin: 0 0 65px; }
.reader-illustration { margin: 0 auto; max-width: 960px; }
.reader-illustration img { display: block; width: 100%; height: auto; aspect-ratio: 1242 / 699; object-fit: contain; background: #d5d9cf; border-radius: 3px; }
.reader-illustration figcaption { margin-top: 10px; color: var(--life-muted); font-size: 10px; text-align: right; }
.reader-story-copy { max-width: 700px; margin: 32px auto 0; padding: 0 20px; }
.reader-story-copy h3 { font-size: clamp(22px, 2.2vw, 29px); font-weight: 580; line-height: 1.4; letter-spacing: -.03em; text-wrap: balance; }
.reader-story-copy > p { margin-top: 22px; font-size: var(--reader-font-size); line-height: 1.95; letter-spacing: -.02em; word-break: keep-all; overflow-wrap: anywhere; }
.reader-story-copy > p + p { margin-top: 18px; }
.reader-story-end { max-width: 700px; margin: 0 auto 50px; padding: 24px 20px 36px; border-top: 1px solid #d5d6c7; }
.reader-story-end > p { font-size: clamp(23px, 2.5vw, 32px); line-height: 1.6; font-weight: 450; letter-spacing: -.03em; }
.reader-story-end > button { margin-top: 19px; }
.reader-original { max-width: 700px; margin: 0 auto 28px; padding: 28px 20px; border-top: 1px solid #d5d6c7; }
.reader-original h3 { font-size: 20px; font-weight: 600; }
.reader-original header > p { margin-top: 6px; color: var(--life-muted); font-size: 11px; }
.reader-passage { width: 100%; padding: 24px 0 32px; }
.reader-hebrew { font-family: "Times New Roman", serif; text-align: right; font-size: clamp(25px, 2.6vw, 33px); line-height: 1.9; color: #5a674c; overflow-wrap: anywhere; }
.reader-korean { line-height: 1.85; font-size: var(--reader-font-size); font-weight: 400; letter-spacing: -.025em; margin-top: 22px !important; word-break: keep-all; overflow-wrap: anywhere; }
.reader-navigation { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #d5d6c7; padding-top: 11px; }
.reader-navigation > span { font-size: 11px; color: var(--life-muted); font-variant-numeric: tabular-nums; }
.reader-source { max-width: 700px; margin: 0 auto; padding: 18px 20px 5px; border-top: 1px solid #d5d6c7; }

/* Searchable, editable local memory. */
.life-brain { --life-paper: #f5f6f4; --life-ink: #23302b; --life-muted: #637069; --life-accent: #385a48; --life-line: #dbe0da; }
.brain-page { display: grid; grid-template-columns: 280px 1fr; min-height: 100%; }
.brain-sidebar { background: #e8ede7; padding: 24px 18px 20px; border-right: 1px solid #d6ddd4; }
.brain-sidebar header { display: flex; justify-content: space-between; align-items: center; padding: 0 5px; }
.brain-sidebar h2 { font-size: 17px; font-weight: 700; }
.brain-new { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 6px; }
.brain-new:hover { background: #d6dfd3; }
.brain-search { display: flex; align-items: center; gap: 8px; margin: 19px 0; padding: 8px 10px; border-bottom: 1px solid #bdc9ba; color: #586d55; }
.brain-search svg { width: 16px; height: 16px; flex-basis: 16px; }
.brain-search input { padding: 0; width: 100%; height: 25px; font-size: 12px; background: transparent; border: 0; }
.brain-list { display: flex; flex-direction: column; gap: 5px; }
.brain-note { display: flex; flex-direction: column; gap: 5px; padding: 14px 13px; text-align: left; border-radius: 8px; min-width: 0; width: 100%; }
.brain-note:hover { background: #e0e6dd; }
.brain-note.is-selected { background: #f8faf5; }
.brain-note strong { font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.brain-note > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.7; color: #53644f; overflow-wrap: anywhere; }
.brain-note small { font-size: 10px; color: #667660; margin-top: 6px; }
.brain-count { font-size: 11px; color: #62755b; padding: 20px 12px 0; }
.brain-empty { padding: 18px 10px; color: #52634b; font-size: 12px; }
.brain-editor { display: flex; flex-direction: column; min-width: 0; padding: 24px clamp(25px, 4vw, 60px) 22px; }
.brain-editor-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brain-save-state { color: var(--life-muted); font-size: 11px; }
.brain-form { display: flex; flex-direction: column; flex: 1; padding-top: 32px; }
.brain-form input, .brain-form textarea { width: 100%; border: 0; background: transparent; padding: 10px 0; }
.brain-form .brain-title { font-size: clamp(21px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.brain-form textarea { min-height: 210px; flex: 1; resize: none; font-size: 16px; line-height: 2; padding-top: 20px; }
.brain-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brain-actions [data-delete] { color: #7b655a; }
.brain-undo { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: #e1e9dc; border-radius: 6px; padding: 2px 13px; font-size: 12px; margin-bottom: 14px; }
.brain-editor > .life-footnote { border-top: 1px solid var(--life-line); padding-top: 17px; }

/* A lookbook that responds to the temperature, with the photograph as the work. */
.life-dait { --life-paper: #f4f3ef; --life-ink: #26302e; --life-muted: #646c65; --life-accent: #3f594b; --life-line: #d9ddd5; }
.dait-page { display: grid; grid-template-columns: minmax(270px, .83fr) minmax(330px, 1.17fr); grid-template-rows: auto auto auto auto 1fr auto; column-gap: clamp(30px, 6vw, 88px); min-height: 100%; max-width: 1370px; margin: auto; padding: 24px clamp(24px, 4vw, 62px) 22px; }
.dait-top { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; }
.dait-top .life-wordmark { font-size: 26px; font-weight: 650; }
.dait-top .life-wordmark > span { margin-left: 8px; padding-left: 17px; border-left: 1px solid #c9d0c5; font-size: 13px; font-weight: 450; letter-spacing: -.02em; }
.dait-top .life-meta { font-size: 12px; }
.dait-weather-controls { grid-column: 1; grid-row: 2; align-self: start; padding-top: 9px; }
.dait-temperature { display: flex; align-items: center; gap: 23px; }
.dait-temperature output { flex: 0 0 109px; font-size: 77px; font-weight: 350; letter-spacing: -.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dait-temperature output > span { font-size: .65em; vertical-align: top; line-height: 1.35; }
.dait-current-condition { display: flex; align-items: center; gap: 5px; }
.dait-current-condition svg { width: 13px; height: 13px; flex-basis: 13px; }
.dait-temperature label { font-size: 14px; font-weight: 550; }
.dait-temperature p { margin-top: 3px; color: var(--life-muted); font-size: 11px; line-height: 1.7; word-break: keep-all; }
.life-demo #dait-temp { appearance: none; display: block; width: 100%; height: 4px; border: 0; border-radius: 3px; margin: 25px 0 14px; background: linear-gradient(to right, #415e50 0 var(--range-progress, 64%), #cfd5c9 var(--range-progress, 64%) 100%); cursor: pointer; touch-action: pan-y; }
.life-demo #dait-temp::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border: 5px solid #fafbf7; border-radius: 50%; background: #415e50; box-shadow: 0 2px 8px #253e2e30; transition: box-shadow .25s; }
.life-demo #dait-temp::-moz-range-thumb { width: 12px; height: 12px; border: 5px solid #fafbf7; border-radius: 50%; background: #415e50; box-shadow: 0 2px 8px #253e2e30; }
.life-demo #dait-temp:hover::-webkit-slider-thumb { box-shadow: 0 3px 11px #253e2e50; }
.dait-temp-scale { position: relative; height: 16px; color: var(--life-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.dait-temp-scale span { position: absolute; left: var(--tick); transform: translateX(-50%); }
.dait-temp-scale span:first-child { transform: none; }
.dait-temp-scale span:last-child { transform: translateX(-100%); }
.dait-weather-options { --weather-index: 0; position: relative; isolation: isolate; display: flex; gap: 3px; margin-top: 22px; padding: 4px; background: #e8ebe4; border-radius: 10px; }
.dait-weather-selector { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 17px) / 4); background: #fffefa; border-radius: 7px; box-shadow: 0 2px 7px #35482b12; transform: translateX(calc(var(--weather-index) * (100% + 3px))); transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.dait-weather-options button { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 9px 6px; border-radius: 7px; min-height: 40px; font-size: 12px; color: #56624f; transition: color .13s, transform .13s; }
.dait-weather-options button svg { width: 16px; height: 16px; flex-basis: 16px; }
.dait-weather-options button:hover { color: #253d2c; }
.dait-weather-options button:active { transform: scale(.96); }
.dait-weather-options button[aria-pressed="true"] { color: #2c4435; font-weight: 600; }
.dait-editorial { grid-column: 2; grid-row: 2/6; align-self: start; min-width: 0; margin: 0; }
.dait-photo-frame { position: relative; overflow: hidden; isolation: isolate; width: 100%; height: clamp(420px, calc(100dvh - 258px), 790px); min-height: 420px; background: #e5e7e0; border-radius: 4px; }
.dait-look-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; transform: scale(1.012); transition: opacity .42s cubic-bezier(.16, 1, .3, 1), transform .52s cubic-bezier(.16, 1, .3, 1); }
.dait-look-photo.is-visible { opacity: 1; transform: scale(1); }
.dait-photo-status { position: absolute; z-index: 3; bottom: 18px; left: 18px; right: 18px; width: fit-content; padding: 9px 13px; background: #fffdf5ee; border-radius: 6px; color: #465143; font-size: 12px; }
.life-demo .dait-photo-retry { position: absolute; z-index: 4; bottom: 18px; right: 18px; min-height: 38px; padding: 8px 13px; background: #334b3e; color: #fff; border-radius: 6px; font-size: 12px; }
.dait-editorial figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 13px; }
.dait-image-title { font-size: 13px; font-weight: 550; }
.dait-image-range { color: var(--life-muted); font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dait-editorial .dait-image-credit { margin-top: 4px; color: var(--life-muted); font-size: 10px; }
.dait-recommendation { grid-column: 1; grid-row: 3; padding-top: clamp(25px, 4vh, 42px); }
.dait-recommendation h2 { font-size: clamp(23px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.35; word-break: keep-all; }
.dait-recommendation ul { list-style: none; padding: 0; margin: 14px 0 20px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.dait-recommendation li { color: #4b5b50; font-size: 12px; }
.dait-recommendation li + li::before { content: '/'; color: #7f8a7b; padding-right: 12px; }
.dait-weather-note { display: flex; align-items: start; gap: 9px; padding-top: 17px; border-top: 1px solid var(--life-line); color: var(--life-muted); font-size: 12px; line-height: 1.8; word-break: keep-all; }
.dait-weather-note svg { width: 15px; height: 15px; flex-basis: 15px; margin-top: 3px; }
.dait-actions { grid-column: 1; grid-row: 4; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; margin-top: 23px; }
.life-demo .dait-save { padding: 11px 18px; gap: 25px; border-radius: 7px; min-height: 44px; font-weight: 550; }
.dait-save-feedback { color: #496443; font-size: 11px; }
.dait-saved { grid-column: 1; grid-row: 5; align-self: start; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--life-line); }
.dait-saved > header { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.dait-saved h3 { font-size: 12px; font-weight: 600; }
.dait-saved header > span { font-size: 10px; color: var(--life-muted); }
.dait-saved-list { margin-top: 9px; }
.dait-saved-list article { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #dce0d6; }
.dait-saved-look { display: flex; gap: 12px; flex: 1; align-items: center; min-width: 0; text-align: left; padding: 0; }
.dait-saved-look img { width: 39px; height: 50px; object-fit: cover; border-radius: 3px; }
.dait-saved-look > span { display: flex; flex-direction: column; gap: 2px; }
.dait-saved-look strong { font-size: 12px; font-weight: 550; }
.dait-saved-look span span { color: var(--life-muted); font-size: 10px; }
.dait-saved-look:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.dait-saved-list article > .life-text-btn { font-size: 10px; min-height: 40px; padding: 5px; color: #5d685a; }
.dait-empty { padding: 3px 0 8px; color: var(--life-muted); font-size: 11px; }
.dait-footnote { grid-column: 1/-1; grid-row: 6; margin-top: 22px !important; font-size: 10px; color: #646c65; }

@media (max-width: 800px) {
  .reader-page { padding: 18px 25px 0; }
  .reader-workspace { grid-template-columns: 140px 1fr; gap: 23px; }
  .brain-page { grid-template-columns: 220px 1fr; }
  .brain-sidebar { padding: 20px 12px; }
  .brain-editor { padding: 23px; }
}
@media (max-width: 600px) {
  .life-demo { min-height: 0; font-size: 14px; }
  .life-wordmark { font-size: 19px; }
  .love-page { padding: 22px 21px 18px; }
  .love-top .life-meta { font-size: 10px; }
  .love-question { padding-top: 31px; }
  .love-question h2 { word-break: keep-all; overflow-wrap: anywhere; font-size: 23px; line-height: 1.55; }
  .love-question h2 br { display: none; }
  .love-question p { font-size: 11px; line-height: 1.8; }
  .love-steps { padding: 22px 0; gap: 11px; font-size: 11px; }
  .love-form { padding: 19px; }
  .love-form textarea { font-size: 14px; min-height: 130px; }
  .love-form-bottom { gap: 17px; }
  .love-form-bottom > span { font-size: 10px; }
  .love-form-bottom .life-primary { width: 100%; }
  .love-reveal { grid-template-columns: 1fr; gap: 20px; }
  .love-answer { padding-top: 17px; }
  .love-answer p { font-size: 17px; margin-top: 11px; }
  .love-answer .life-text-btn { margin-top: 6px; }
  .love-next { padding-top: 4px; }
  .reader-page { padding: 12px 16px 0; }
  .reader-top { padding-bottom: 9px; gap: 10px; }
  .reader-controls { gap: 1px; }
  .reader-controls button { padding: 8px; font-size: 11px; }
  .reader-workspace { display: flex; flex-direction: column; gap: 7px; padding-top: 10px; }
  .reader-contents { display: flex; align-items: center; flex-wrap: wrap; column-gap: 9px; padding: 0; }
  .reader-contents h2 { font-size: 14px; }
  .reader-contents > p { font-size: 10px; margin: 0; }
  .reader-contents nav { order: 3; flex-direction: row; width: 100%; margin-top: 8px; gap: 5px; }
  .reader-contents nav button { align-items: center; justify-content: center; margin: 0; min-height: 48px; flex: 1; font-size: 10px; padding: 5px 3px; text-align: center; gap: 1px; }
  .reader-contents nav button span { font-size: 9px; }
  .reader-contents .reader-go-bookmark { margin: 0 0 0 auto; font-size: 10px; min-height: 38px; }
  .reader-contents .reader-reading-note { display: none; }
  .reader-go-bookmark svg { width: 15px; height: 15px; }
  .reader-sheet { flex: 1; }
  .reader-location { padding: 0 0 5px; font-size: 10px; }
  .reader-bookmark { width: 44px; height: 44px; }
  .reader-story-scroll { padding: 0 7px 24px 0; }
  .reader-story-intro { padding: 9px 0 23px; }
  .reader-story-intro h2 { font-size: 27px; }
  .reader-story-intro > p { margin-top: 7px; font-size: 10px; }
  .reader-scene { margin-bottom: 43px; }
  .reader-illustration figcaption { margin-top: 7px; font-size: 9px; }
  .reader-story-copy { padding: 0 5px; margin-top: 24px; }
  .reader-story-copy h3 { font-size: 24px; }
  .reader-story-copy > p { font-size: max(18px, calc(var(--reader-font-size) - 2px)); line-height: 1.85; margin-top: 18px; }
  .reader-story-end { padding: 24px 5px 21px; margin-bottom: 28px; }
  .reader-story-end > p { font-size: 23px; }
  .reader-original { padding: 23px 5px; }
  .reader-passage { padding: 18px 0 24px; }
  .reader-hebrew { font-size: 25px; }
  .reader-korean { line-height: 1.75; }
  .reader-source { padding: 18px 5px 5px; font-size: 10px; }
  .brain-page { display: flex; flex-direction: column; }
  .brain-sidebar { padding: 16px 20px 12px; border-right: 0; border-bottom: 1px solid #d6ddd4; }
  .brain-sidebar h2 { font-size: 15px; }
  .brain-search { margin: 9px 0 12px; padding: 5px; }
  .brain-list { flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: thin; max-height: 98px; padding-bottom: 3px; }
  .brain-note { flex: 0 0 205px; padding: 10px; min-height: 90px; }
  .brain-note > span { -webkit-line-clamp: 1; }
  .brain-note small { margin-top: 0; }
  .brain-count { padding: 7px 3px 0; font-size: 10px; }
  .brain-editor { min-height: 390px; padding: 20px 23px; flex: 1; }
  .brain-form { padding-top: 18px; }
  .brain-form .brain-title { font-size: 22px; }
  .brain-form textarea { min-height: 160px; font-size: 14px; padding-top: 12px; }
  .brain-actions { padding: 16px 0; }
  .brain-editor > .life-footnote { font-size: 10px; padding-top: 12px; }
  .brain-undo { font-size: 11px; }
}
@media (max-width: 1000px) {
  .dait-page { grid-template-columns: minmax(250px, 1fr) minmax(280px, 1fr); column-gap: 28px; padding: 22px 28px; }
  .dait-temperature { gap: 14px; }
  .dait-temperature output { flex-basis: 91px; font-size: 67px; }
  .dait-temperature p { max-width: 150px; }
  .dait-top .life-meta { font-size: 11px; }
  .dait-photo-frame { min-height: 450px; }
}
@media (max-width: 680px) {
  .dait-page { grid-template-columns: 1fr; grid-template-rows: auto; display: grid; min-height: 100%; padding: 19px 22px 24px; row-gap: 0; }
  .dait-top { grid-column: 1; grid-row: 1; padding-bottom: 18px; }
  .dait-top .life-wordmark { font-size: 24px; }
  .dait-top .life-wordmark > span { display: none; }
  .dait-top .life-meta { font-size: 11px; }
  .dait-weather-controls { grid-column: 1; grid-row: 2; padding-top: 0; display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 15px; }
  .dait-temperature { grid-column: 1; grid-row: 1/4; display: block; }
  .dait-temperature output { font-size: 62px; line-height: 1; }
  .dait-temperature label { display: block; font-size: 10px; margin-top: 7px; }
  .dait-temperature p { display: flex; margin-top: 2px; font-size: 9px; gap: 3px; white-space: nowrap; }
  .dait-current-condition svg { display: none; }
  .life-demo #dait-temp { grid-column: 2; grid-row: 1; align-self: end; margin: 17px 0 12px; }
  .dait-temp-scale { grid-column: 2; grid-row: 2; font-size: 9px; }
  .dait-weather-options { grid-column: 1/-1; grid-row: 4; margin: 15px 0 19px; }
  .dait-weather-options button { font-size: 11px; min-height: 38px; padding: 8px 6px; }
  .dait-editorial { grid-column: 1; grid-row: 3; width: 100%; }
  .dait-photo-frame { height: clamp(390px, 112vw, 560px); min-height: 0; }
  .dait-look-photo { object-position: center; }
  .dait-editorial figcaption { padding-top: 11px; }
  .dait-image-title { font-size: 12px; }
  .dait-image-range { font-size: 10px; }
  .dait-editorial .dait-image-credit { font-size: 9px; }
  .dait-recommendation { grid-column: 1; grid-row: 4; padding-top: 27px; }
  .dait-recommendation h2 { font-size: 25px; }
  .dait-recommendation ul { margin: 10px 0 17px; }
  .dait-recommendation li { font-size: 12px; }
  .dait-weather-note { font-size: 11px; }
  .dait-actions { grid-column: 1; grid-row: 5; margin-top: 19px; }
  .dait-save { flex: 1; }
  .dait-saved { grid-column: 1; grid-row: 6; margin-top: 24px; padding-top: 18px; }
  .dait-footnote { grid-column: 1; grid-row: 7; margin-top: 20px !important; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .life-demo *, .life-demo *::before, .life-demo *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Read the working example at its own size, without scaling the app canvas. */
@media(min-width:701px){
 .life-wordmark{font-size:25px}.life-meta{font-size:14px}.life-demo .life-primary{font-size:15px;min-height:46px}.life-demo .life-text-btn{font-size:14px;min-height:44px}.life-footnote{font-size:12px}
 .love-page{max-width:1280px}.love-question h2{font-size:clamp(30px,3.2vw,42px)}.love-question p,.love-form label{font-size:15px}.love-form{max-width:780px}.love-form textarea{font-size:19px;line-height:1.8;min-height:130px}.love-steps{font-size:14px}.love-answer p{font-size:22px}
 .brain-search input{height:32px;font-size:15px}.brain-note strong{font-size:16px}.brain-note>span{font-size:14px}.brain-note small,.brain-count{font-size:12px}.brain-form textarea{font-size:20px}.brain-form .brain-title{font-size:clamp(28px,2.5vw,36px)}
 .dait-page{max-width:1660px}.dait-weather-options button{font-size:15px;min-height:48px}.dait-recommendation h2{font-size:clamp(28px,2.3vw,38px)}.dait-recommendation li,.dait-weather-note{font-size:15px}.dait-image-title{font-size:15px}.dait-image-range{font-size:13px}
}
