:root{--paper:#f5f3eb;--ink:#30372c;--muted:#72766a;--line:#dcded2;--olive:#3f4c36;--serif:Georgia,'Times New Roman',serif;--sheet:clamp(440px,38%,600px);font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}html{-webkit-text-size-adjust:100%}body{background:#2d3025}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #647f51;outline-offset:5px}button{touch-action:manipulation}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.icon-button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.icon-button img{opacity:.6}.text-button{font-size:12px;min-height:44px;padding:8px 0;color:#5b6451;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}.hero{position:fixed;inset:0;isolation:isolate}#film,.veil{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#film{object-position:45% center}.veil{background:linear-gradient(180deg,#151b201a 0%,transparent 30%,#131b1a22 70%,#10181177 100%);pointer-events:none}.hero-copy{position:absolute;left:7%;bottom:20%;color:#fffdf2;max-width:650px}.eyebrow{font-size:11px;letter-spacing:.18em}.hero-copy h1{font-family:var(--serif);font-size:clamp(60px,7vw,112px);font-weight:400;line-height:1.02;letter-spacing:-.045em;margin:24px 0}.hero-copy>p:not(.eyebrow){font-size:17px}.art-action{margin-top:20px;display:flex;gap:28px;align-items:center;background:#f4f1e8;color:var(--ink);border-radius:100px;min-height:52px;padding:14px 24px;font-size:14px}.hero-foot{position:absolute;left:32px;right:calc(var(--sheet) + 32px);bottom:30px;display:flex;align-items:center;gap:24px;color:#fffdf0}.hero-foot>span{font-size:9px;letter-spacing:.13em;line-height:1.6;text-shadow:0 1px 6px #0007}.hero-foot>#sound{font-size:11px;white-space:nowrap;border:1px solid #fff4;border-radius:99px;min-height:44px;padding:10px 18px;background:#1f2b2255;backdrop-filter:blur(10px)}body[data-panel=closed] .hero-foot{right:32px}.media-status{position:absolute;bottom:80px;left:32px;color:white;font-size:12px;max-width:300px}
#workspace{position:fixed;inset:0 0 0 auto;margin:0;padding:0;border:0;width:var(--sheet);max-width:none;height:100dvh;max-height:none;background:var(--paper);color:var(--ink);box-shadow:-1px 0 0 #ffffff40;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4c8ba transparent}#workspace[open]{display:flex;flex-direction:column}.workspace-head{display:flex;justify-content:space-between;align-items:center;padding:clamp(32px,8.1vh,86px) 36px 0 44px;gap:12px;min-height:100px;flex-shrink:0}.step-meta,.head-actions{display:flex;align-items:center;gap:8px;min-width:0}#stage-label{font-size:11px;letter-spacing:.13em;white-space:nowrap}#step-position{font-size:10px;color:#85887c;white-space:nowrap;font-variant-numeric:tabular-nums}#back{margin-left:-14px}#content{padding:30px 44px 0;flex:1;display:flex;flex-direction:column;min-height:min-content}.panel-heading{font:400 clamp(38px,3.55vw,56px)/1.1 var(--serif);letter-spacing:-.043em;margin:0 0 28px;overflow-wrap:anywhere;max-width:13ch}.panel-heading:focus{outline:none}.panel-intro{font-size:15px;line-height:1.75;color:#6b7063;margin:0 0 28px;max-width:40ch}.writing-area{display:flex;flex-direction:column;flex:1;min-height:180px}.form-field{display:flex;flex-direction:column;margin:0 0 20px;min-width:0}.form-field>span{font-size:12px;line-height:1.5;margin-bottom:12px;color:#646d58}.form-field small{font-size:11px;font-weight:400;color:var(--muted)}textarea,input{width:100%;border:0;border-radius:0;background:transparent;color:var(--ink);outline-offset:6px;min-width:0}textarea{resize:vertical;min-height:130px;line-height:1.65;font-size:18px;padding:4px 0;scrollbar-width:thin;max-height:45dvh}input{font-size:16px;line-height:1.5;padding:12px 0;border-bottom:1px solid var(--line)}textarea::placeholder,input::placeholder{color:#8e9285;opacity:1}textarea[data-field=question]{font-size:22px;line-height:1.5;min-height:160px}.field-note{font-size:11px;line-height:1.6;color:var(--muted);margin:12px 0 0}.optional{border-top:1px solid var(--line);font-size:12px;margin-top:10px}.optional summary,.snapshot summary{cursor:pointer;min-height:44px;line-height:1.6;padding:12px 0}.optional .form-field{margin-top:10px}.optional textarea{font-size:16px}.form-actions{margin-top:auto;padding-top:24px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;flex-shrink:0}.action{width:100%;min-height:56px;padding:14px 23px;border-radius:99px;background:var(--olive);color:#fafaf2;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px}.action .icon{filter:invert(1);width:18px}.action:disabled{background:#5a624e;opacity:.48}.workspace-foot{padding:0 44px 30px;flex-shrink:0}.save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 0 20px}.save-row>span{font-size:10px;color:#777d6c;line-height:1.5}.save-row .text-button{font-size:10px;white-space:nowrap}.focus-strip{border-top:1px solid var(--line);padding-top:19px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.focus-strip>button:first-child{min-height:44px;display:inline-flex;align-items:center;gap:10px;font-size:12px;padding:0}.focus-strip .icon{width:17px;height:17px;opacity:.6}.focus-strip p{margin:0;width:100%;font-size:10px;color:#8a8d81;line-height:1.5}.timer-value{font-size:12px;font-variant-numeric:tabular-nums}.privacy-note{font-size:9px;color:#858b7a;line-height:1.6;margin:20px 0 0}.snapshot{border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;line-height:1.75;margin:0 0 22px;overflow-wrap:anywhere}.snapshot small{font-size:10px;color:var(--muted)}.snapshot p{white-space:pre-wrap}.snapshot strong{font-weight:500;color:#303a29}.context-link{font-size:11px;color:#707965;margin:0 0 24px}.context-link button{font-size:inherit;text-decoration:underline;min-height:44px}.journal-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:-6px 0 12px}.journal-tools span{font-size:11px;color:var(--muted)}.journal-tools button{display:flex;align-items:center;gap:6px;font-size:12px;min-height:44px}.journal-tools .icon{width:16px}.search{margin:0 0 10px}.journal-card{border-bottom:1px solid var(--line);padding:24px 0;min-width:0}.journal-card h3{font:400 25px/1.25 var(--serif);letter-spacing:-.02em;margin:0 0 10px;overflow-wrap:anywhere}.journal-card>p{font-size:13px;line-height:1.65;color:#797d70;margin:0 0 12px;overflow-wrap:anywhere}.journal-card footer>span{font-size:10px;line-height:1.6;color:#7b8271}.journal-card footer>div{display:flex;justify-content:space-between;gap:20px}.journal-card [data-remove]{color:#8b8e82}.empty{padding:26px 0 36px;line-height:1.7}.empty h3{font:400 28px/1.2 var(--serif);margin:0 0 14px}.empty p{font-size:14px;color:var(--muted)}.empty .action{margin-top:24px}.removed-thoughts{margin:24px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.removed-thoughts summary{cursor:pointer;min-height:44px;padding-block:10px}.removed-thoughts p{color:var(--muted)}.removed-thoughts>div{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.removed-thoughts>div>span{min-width:0}.removed-thoughts button{flex-shrink:0}#storage-warning{flex-shrink:0;margin:16px 28px 0;padding:12px 16px;background:#f1e3b8;color:#654e13;font-size:12px;line-height:1.6}#storage-warning p{margin:0}#storage-warning .text-button{color:inherit;text-decoration:underline}.toast{position:fixed;right:24px;bottom:20px;width:calc(var(--sheet) - 48px);padding:16px 20px;background:#333e2b;color:#fffef4;box-shadow:0 4px 30px #18250c25;border-radius:12px;font-size:12px;line-height:1.6;display:flex;align-items:center;gap:15px;z-index:10}.toast button{color:inherit;text-decoration:underline;min-height:44px}body[data-view=journal] .focus-strip,body[data-view=journal] .privacy-note{display:none}body[data-view=journal] .workspace-foot{padding-top:16px}body[data-view=journal] #content{flex:initial}body[data-view=journal] .panel-heading{font-size:44px}
@media(hover:hover) and (pointer:fine){.text-button:hover{text-decoration-color:currentColor}.action:hover:not(:disabled){background:#33432b}.icon-button:hover{background:#e5e8dd}.journal-tools button:hover{text-decoration:underline}}
@media(max-height:800px) and (min-width:821px){.workspace-head{padding-top:30px;min-height:78px}#content{padding-top:20px}.panel-heading{font-size:42px;margin-bottom:20px}.panel-intro{margin-bottom:18px;font-size:14px}.writing-area{min-height:140px}textarea[data-field=question]{min-height:120px}.workspace-foot{padding-bottom:20px}.focus-strip{margin-top:0;padding-top:8px}.privacy-note{margin-top:12px}}
@media(max-width:1100px) and (min-width:821px){:root{--sheet:440px}.workspace-head{padding-left:32px;padding-right:24px}#content{padding-inline:32px}.workspace-foot{padding-inline:32px}.panel-heading{font-size:42px}.hero-foot>span{display:none}}
@media(max-width:820px){:root{--sheet:100%}#workspace{top:calc(118px + env(safe-area-inset-top));height:calc(100dvh - 118px - env(safe-area-inset-top));border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}.workspace-head{padding:20px 22px 0;min-height:64px}#content{padding:24px 28px 0}.panel-heading{font-size:clamp(36px,7vw,48px);max-width:16ch;margin-bottom:22px}.panel-intro{font-size:14px;margin-bottom:24px}.writing-area{min-height:170px}textarea{font-size:18px}textarea[data-field=question]{font-size:20px;min-height:130px}.workspace-foot{padding:0 28px 24px}.form-actions{padding-top:20px}.focus-strip{margin-top:4px;padding-top:12px}.hero-foot{right:20px;left:20px;bottom:calc(24px + env(safe-area-inset-bottom))}body[data-panel=open] .hero-foot{top:calc(16px + env(safe-area-inset-top));right:24px;left:auto;bottom:auto;z-index:2}.hero-foot>span{display:none}body[data-panel=open] #sound{min-height:44px;padding:8px 12px;font-size:10px}.toast{right:16px;width:calc(100% - 32px);bottom:calc(16px + env(safe-area-inset-bottom))}.hero-copy{left:8%;right:8%;bottom:22%}.hero-copy h1{font-size:64px}.hero-copy>p:not(.eyebrow){font-size:15px}.media-status{top:110px;bottom:auto;left:20px}body[data-view=journal] .panel-heading{font-size:38px}.save-row{gap:8px}#stage-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}button:active:not(:disabled){transform:none}}
/* Source comparison refinement: a stronger editorial scale and a calmer footer. */
.panel-heading{font-size:clamp(42px,3.85vw,58px);max-width:none}.panel-intro{font-size:17px}.workspace-foot{min-height:25vh;display:flex;flex-direction:column}.focus-strip{margin-top:auto}.privacy-note{margin-top:12px}.action{min-height:62px;font-size:15px;position:relative;justify-content:center}.action>.icon{position:absolute;right:24px}.save-row>span,.save-row .text-button{font-size:11px}textarea[data-field=question]{margin-top:22px}.form-field:has(textarea[data-field=question])>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body[data-view=journal] .workspace-foot{min-height:0}
@media(min-width:1101px) and (min-height:801px){#content{padding-top:62px}}
@media(max-width:1100px) and (min-width:821px){.panel-heading{font-size:42px}.panel-intro{font-size:15px}}
@media(max-height:800px) and (min-width:821px){.panel-heading{font-size:42px}.panel-intro{font-size:14px}.workspace-foot{min-height:0}.action{min-height:56px}.focus-strip{margin-top:0}textarea[data-field=question]{margin-top:12px}}
@media(max-width:820px){.panel-heading{font-size:clamp(35px,7vw,48px)}.panel-intro{font-size:15px}.workspace-foot{min-height:0}.focus-strip{margin-top:4px}.action{min-height:56px}textarea[data-field=question]{margin-top:8px}}
.journal-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.journal-card>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
/* Keep the artwork visible while a suspended browser rebuilds its video surface. */
.hero{isolation:auto;z-index:0;background:#2d3025 url('../assets/agora-poster.jpg') 45% center/cover no-repeat}#film{z-index:0}.veil{z-index:1}.hero-copy,.hero-foot,.media-status{z-index:2}#workspace{z-index:3}
