:root{--paper:#f4f3ee;--ink:#162f28;--muted:#53665d;--line:#d4dbd3;--accent:#d9e7d1;--white:#fff;--ease:cubic-bezier(.2,.75,.2,1);color-scheme:light}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}main{max-width:1440px;padding:0 clamp(20px,5vw,76px) 72px}header{height:84px;margin:0;flex-wrap:nowrap;border-bottom:1px solid var(--line);gap:12px}header .identity{min-width:0}header b{font-size:clamp(16px,2.2vw,23px);letter-spacing:-.045em;display:block}header small{font-size:11px;color:var(--muted)}button{font-weight:550;transition:background .22s,transform .22s var(--ease);border-radius:100px}button:active{transform:scale(.97)}button.quiet{background:transparent;border:1px solid #b8c5bb;min-height:44px;border-radius:100px}button.quiet:hover{background:#e7ece3}header button{flex:none;white-space:nowrap;font-size:13px}.story{height:238svh;position:relative;--motion:0}.story-stage{position:sticky;top:0;height:100svh;min-height:570px;display:flex;flex-direction:column;justify-content:space-between;padding:24px 0 22px;background:var(--paper);overflow:hidden}.story-top,.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:2}.story-top{font-size:10px;font-weight:600;letter-spacing:.085em;color:var(--muted)}.scene{display:grid;grid-template-columns:1.14fr .86fr;gap:clamp(12px,4vw,64px);align-items:center;flex:1;min-height:0;padding:16px 0}.scene-text{z-index:1}.scene-kicker,.overline{font-size:11px;letter-spacing:.12em;font-weight:600;color:var(--muted)}.scene h1{font-size:clamp(48px,6.1vw,94px);font-weight:600;line-height:.98;letter-spacing:-.071em;margin:22px 0 20px;text-wrap:balance;min-height:2em}.scene p{font-size:clamp(16px,1.65vw,21px);line-height:1.48;max-width:490px;color:var(--muted);margin:0 0 27px;min-height:3em}.action{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:8px 8px 8px 23px;min-height:60px;background:var(--ink);color:#fff;overflow:hidden;border:1px solid #688274;box-shadow:0 3px 8px #102b2015;border-radius:100px;white-space:nowrap;max-width:100%;font-size:16px;letter-spacing:-.02em}.action span,.action i{position:relative;z-index:1}.action i{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);color:var(--ink);border-radius:50%;font-style:normal;flex:none;transition:transform .35s var(--ease)}.action svg{width:24px;height:24px}.action:hover i{transform:rotate(-8deg) scale(1.04)}.action:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;padding:1px;background:conic-gradient(from var(--rim-angle),transparent 0 76%,#9eb7a9 80%,#f4f8e9 85%,#bfd2c1 89%,transparent 94%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:rim 5s linear infinite;pointer-events:none}@property --rim-angle{syntax:"<angle>";initial-value:0deg;inherits:false}@keyframes rim{0%,62%{--rim-angle:0deg;opacity:0}67%{opacity:1}95%{--rim-angle:360deg;opacity:1}to{--rim-angle:360deg;opacity:0}}.action:disabled{opacity:.55}.material{min-width:0;position:relative;align-self:center;display:flex;flex-direction:column;justify-content:center}.material-index,.material-caption{font-size:10px;letter-spacing:.1em;color:var(--muted);font-weight:550}.material-index{border-top:1px solid var(--line);padding-top:12px}.material-caption{border-top:1px solid var(--line);padding-top:10px;display:flex;justify-content:space-between}.material svg{display:block;width:100%;max-height:48vh;overflow:visible;transform:scale(calc(.92 + var(--motion)*.04)) rotate(calc(-4deg + var(--motion)*4deg));transform-origin:center;will-change:transform}.material svg g{transform-box:fill-box;transform-origin:center;will-change:transform}.material #layer1{transform:translate(calc(var(--motion)*-10px),calc(var(--motion)*10px))}.material #layer2{transform:translate(calc(var(--motion)*9px),calc(var(--motion)*-7px)) rotate(calc(var(--motion)*-4deg))}.material #layer3{transform:translate(calc(var(--motion)*16px),calc(var(--motion)*-22px)) rotate(calc(var(--motion)*6deg))}.story-bottom{border-top:1px solid var(--line);padding-top:12px}.scene-nav{display:flex;gap:18px;align-items:center}.scene-nav button{background:none;padding:8px 0;border-radius:0;font-size:12px;color:var(--muted);border-bottom:2px solid transparent;display:flex;gap:7px;align-items:center;min-height:44px}.scene-nav button[aria-current]{color:var(--ink);border-bottom-color:var(--ink);font-weight:700}.scrollcue{background:transparent;display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.1em;color:var(--muted);padding:5px 0}.scrollcue svg{width:17px;height:27px;animation:cue 2s ease-in-out infinite}@keyframes cue{50%{opacity:.35;transform:translateY(3px)}}.safety{padding:14px 0;border-block:1px solid var(--line);font-size:12px;margin:24px 0 42px;color:var(--muted)}.personal-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 34px;padding:0 0 26px;border-bottom:1px solid var(--line)}.personal-strip h2{font-size:clamp(30px,4vw,48px);margin:10px 0 6px;letter-spacing:-.06em;font-weight:600}.personal-strip p{margin:0;color:var(--muted);max-width:560px}.personal-strip button{flex:none}.section h2{font-size:25px;font-weight:600}.panel{border:1px solid var(--line);border-radius:18px;background:#fbfbf8}.toolbar{margin:8px 0 20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.toolbar input,.toolbar select{border-radius:9px;background:#fff}.metrics{gap:0;border-block:1px solid var(--line)}.metric{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:20px 16px}.metric:last-child{border-right:0}.metric strong{font-size:clamp(32px,4vw,55px);font-weight:550;letter-spacing:-.06em}.item{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:22px 0;background:transparent;align-items:start}.item h3{font-size:24px;letter-spacing:-.04em;font-weight:600;margin:9px 0 4px}.item p{color:var(--muted)}.tag{background:#e3ebe0;font-size:11px}.item button{font-size:13px}#login{margin-bottom:24px}#dialog{width:min(620px,calc(100% - 24px));padding:0 26px 22px;background:var(--paper);border-radius:24px;max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #132c2533}dialog::backdrop{background:#142e286b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#dialog .row.form-top{position:sticky;top:0;padding:18px 0 12px;background:var(--paper);z-index:3;border-bottom:0}#dialog #close{border:1px solid #bcc8bd;font-size:24px;height:44px}.wizard-count{font-size:12px;margin-top:4px;color:var(--muted)}.wizard-bars{display:flex;gap:5px;margin:0 0 23px}.wizard-bars i{height:4px;border-radius:4px;background:var(--line);flex:1}.wizard-bars i.filled{background:var(--ink)}#dialog #title{font-size:clamp(29px,5vw,42px);letter-spacing:-.055em;line-height:1.06;font-weight:600;margin:16px 0 12px}#dialog #intro{font-size:16px;color:var(--muted);margin:0 0 22px}.form-step{animation:formIn .28s var(--ease)}@keyframes formIn{0%{opacity:.45;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}#idea label{font-size:16px;font-weight:550;margin:0 0 22px;line-height:1.35}#idea input,#idea textarea,#idea select{background:#fff;border:1px solid #c9d3c9;font-size:16px;padding:13px 14px;border-radius:12px;margin-top:10px;min-height:48px;color:var(--ink)}#idea textarea{min-height:100px}#idea label small{font-size:12px;display:block;margin:5px 0 0;color:var(--muted)}.form-footer{display:flex;position:sticky;bottom:-22px;background:var(--paper);padding:14px 0 max(22px,env(safe-area-inset-bottom));border-top:1px solid var(--line);gap:12px;align-items:center;justify-content:flex-end;z-index:2}#save{width:auto;flex:1;max-width:330px}#back{flex:none;border:0;padding:10px 14px}.form-footer #back[hidden]+#save{max-width:none}.error{font-size:14px}#shareDialog,#restoreDialog{background:var(--paper);border-radius:24px}#copyLink,#restoreForm button:not(.quiet),#loginForm button{background:var(--ink);color:#fff}@media(max-width:700px){main{padding:0 20px 44px}header{height:70px}header small{font-size:10px;max-width:210px}header button{padding:8px 13px}.story{height:214svh}.story-stage{min-height:0;height:100svh;padding:17px 0 15px}.story-top{font-size:9px;letter-spacing:.04em}.scene{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;padding:10px 0}.scene-kicker{font-size:10px}.scene h1{font-size:clamp(39px,10.5vw,62px);line-height:1.01;margin:12px 0 11px;min-height:0;letter-spacing:-.06em}.scene p{font-size:16px;line-height:1.4;max-width:100%;margin-bottom:16px;min-height:0}.action{min-height:55px;padding:6px 6px 6px 19px;font-size:15px;gap:16px}.action i{width:41px;height:41px}.material{align-self:stretch;max-height:34svh;min-height:100px;margin-top:0}.material svg{width:100%;height:clamp(112px,24svh,225px);max-height:27svh}.material-index,.material-caption{font-size:9px;letter-spacing:.06em;padding-top:6px}.scene-nav{gap:13px}.scene-nav button{font-size:11px;gap:4px;min-height:44px}.scene-nav button span{display:none}.scene-nav button[aria-current] span{display:inline}.scrollcue{font-size:9px;gap:7px}.story-bottom{padding-top:7px}.personal-strip{align-items:flex-start;flex-direction:column}.metrics{grid-template-columns:repeat(2,1fr)}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.item{grid-template-columns:1fr}.item h3{font-size:21px}#dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0;margin:0;padding:0 20px max(18px,env(safe-area-inset-bottom))}#dialog .row.form-top{padding:14px 0 10px}#dialog #title{font-size:34px}#dialog #intro{font-size:15px}#idea textarea{min-height:92px}.form-footer{bottom:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}#save{width:auto}}@media(max-height:640px){.story{height:auto}.story-stage{position:relative;height:auto;min-height:0}.scene{padding:18px 0}.material svg{height:160px;max-height:none}.scrollcue{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.story{height:auto}.story-stage{position:relative;height:auto;min-height:0}.scene{padding:32px 0}.material svg,.material svg g{transform:none!important}.action:before,.scrollcue svg{animation:none!important}.form-step{animation:none!important}}.header-actions{display:flex;align-items:center;gap:14px;flex:none}.my-link{color:var(--ink);font-size:13px;text-decoration:none;font-weight:600;white-space:nowrap;min-height:44px;display:flex;align-items:center}.my-link:hover{text-decoration:underline}.material-viewport{position:relative;width:100%;height:clamp(250px,45svh,490px);display:grid;place-items:center;background:radial-gradient(ellipse at 50% 48%,#fdfdfa 0%,#edf1e8 48%,transparent 74%);overflow:hidden}.material-viewport canvas{display:block;width:100%;height:100%}.material-viewport #material{height:100%;max-height:none}.material-caption{font-size:10px}.scene-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.draft-hint{font-size:12px;color:var(--muted)}.story-stage{height:calc(100svh - 6px)}.scene h1{font-size:clamp(44px,5.55vw,88px);min-height:2.05em;max-width:680px}.scene p{max-width:465px}.action:before{z-index:0}.action{box-shadow:0 1px 1px #102b2010,0 8px 25px #193d281a}.action i{background:linear-gradient(145deg,#f2f7eb,#c1d9bf)}.scene-nav{gap:24px}.scene-nav button{position:relative}.scene-nav button[aria-current]:after{content:"";position:absolute;bottom:-2px;height:2px;left:0;width:100%;background:#597b66}.personal-strip{margin-bottom:16px}.personal-strip h2{margin-top:8px}.empty-state{padding:30px 0 48px;border-top:1px solid var(--line);max-width:680px}.empty-state h3{font-weight:600;font-size:clamp(28px,4vw,40px);line-height:1.1;letter-spacing:-.045em;margin:16px 0 12px}.empty-state p{color:var(--muted);max-width:470px;margin:0 0 22px}.empty-action{padding:12px 22px;min-height:50px}.status-track{display:flex;gap:4px;width:130px;margin-top:10px}.status-segment{height:3px;border-radius:3px;flex:1;background:var(--line)}.status-segment.complete{background:#537b61}.item h3,.item p{overflow-wrap:anywhere}.dialog-actions{display:flex;align-items:center;gap:10px}.text-btn{background:transparent;color:var(--muted);padding:6px 9px;font-size:13px}.text-btn:hover{color:var(--ink)}.draft-state{font-size:11px;line-height:1.2;flex-basis:100%;color:var(--muted)}.form-footer{flex-wrap:wrap;bottom:0;padding-top:12px}.form-footer #save{flex-grow:1}.form-footer #back{margin-right:auto}.form-step .native-help{display:none!important}.choice-options{display:grid;gap:8px;margin-top:-8px;margin-bottom:24px}.choice-options button{display:grid;gap:4px;position:relative;text-align:left;white-space:normal;background:#fff;border:1px solid #c9d3c9;border-radius:13px;padding:13px 42px 13px 15px;color:var(--ink);min-height:60px;line-height:1.2}.choice-options button b{font-weight:600;font-size:15px}.choice-options button small{font-size:12px;line-height:1.35}.choice-options button:after{content:"";width:19px;height:19px;border:1px solid #93a89b;border-radius:50%;position:absolute;right:14px;top:50%;transform:translateY(-50%);box-sizing:border-box}.choice-options button[aria-pressed=true]{background:#e4ece0;border-color:#72937c}.choice-options button[aria-pressed=true]:after{background:var(--ink);box-shadow:inset 0 0 0 4px #e4ece0}.review-summary{border-top:1px solid var(--line);padding:16px 0 10px;margin-top:14px}.review-summary h3{font-size:18px;margin:8px 0;overflow-wrap:anywhere;letter-spacing:-.025em}.review-summary p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);max-height:115px;overflow:auto}.share-mark{width:64px;height:64px;display:grid;place-items:center;background:#e0eadd;color:var(--ink);border-radius:50%;margin-bottom:14px}.share-mark svg{animation:share-in .35s var(--ease)}@keyframes share-in{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}#viewMine{margin-top:8px}.form-top .dialog-actions{flex:none}.wizard-count{font-variant-numeric:tabular-nums}.story [data-scene]:focus-visible,.my-link:focus-visible{outline:2px solid #547e63;outline-offset:4px}@media(max-width:700px){.header-actions{gap:8px}.my-link{font-size:11px}.identity small{display:none}header .identity b{font-size:16px;line-height:1.12;max-width:160px}.header-actions button{font-size:12px;padding:8px 10px}.story-stage{height:100svh}.scene h1{font-size:clamp(38px,10.1vw,60px);min-height:0}.material{max-height:36svh}.material-viewport{height:clamp(130px,27svh,260px)}.material-caption{font-size:8.5px}.scene-nav{gap:14px}.scrollcue{font-size:9px}.draft-hint{flex-basis:100%}.scene-action{gap:6px}.form-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.choice-options button{min-height:58px}.story-top{letter-spacing:.015em}}@media(max-height:640px){.story-stage{height:auto}.material-viewport{height:200px}.material{max-height:none}.scrollcue{display:flex}}@media(prefers-reduced-motion:reduce){.story-stage{height:auto}.share-mark svg{animation:none}}
