/* Existing feature styles, isolated below the refreshed UI. */
@layer legacy {
:root{--bg:#f1ebdf;--paper:#fffef9;--ink:#253449;--muted:#596370;--line:#f1ebdf;--green:#596370;--light:#e9edf1;--orange:#b97b53}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans JP',sans-serif;font-size:0.875rem;line-height:1.8}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b97b53;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin-top:0}.serif,h1,h2,.question-title{font-family:'Noto Serif JP',serif;font-weight:500}h1{font-size:2.125rem;line-height:1.65;letter-spacing:.04em}h2{font-size:1.438rem}h3{font-size:1rem}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;padding:39px 25px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f1ebdf}.brand{display:flex;align-items:center;font-size:1.562rem;font-weight:600;gap:12px;letter-spacing:.1em}.brandmark{font-family:Georgia,serif;font-style:italic;font-size:2.625rem;line-height:1;color:var(--green)}.branddot{font-size:0.875rem;color:var(--orange);margin-left:-7px}.brandcaption{font-size:0.875rem;letter-spacing:.15em;margin:12px 0 48px 45px;color:var(--muted)}nav{display:grid;gap:9px}nav a{padding:12px;border-radius:8px;font-size:0.875rem;color:#596370}nav a span{display:inline-block;width:29px;font-size:1.188rem}nav a.active{background:#e9edf1;color:#253449;font-weight:600}.sidebar-note{margin-top:auto;padding:30px 12px 22px}.small-label{font-size:0.875rem;letter-spacing:.16em;color:var(--muted)}.sidebar-note p{font-size:0.875rem;line-height:2.1;margin:12px 0}.little-flower{font-size:2.625rem;color:#596370}.profile{display:flex;gap:12px;align-items:center;background:none;border:none;text-align:left;padding:18px 0 0;border-top:1px solid var(--line);font-size:0.875rem}.profile small{display:block;font-size:0.875rem;color:var(--muted)}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;font-size:0.875rem}.sage{background:#e9edf1;color:#596370}.peach{background:#f1ebdf;color:#845c42}.blue{background:#e1e8e9;color:#536a71}.shell{margin-left:242px}.topbar{height:83px;border-bottom:1px solid var(--line);margin:0 48px;display:flex;align-items:center;justify-content:space-between;font-size:0.875rem;color:var(--muted);letter-spacing:.08em}.demo-tag{font-size:0.875rem;letter-spacing:.12em}.demo-tag b{font-size:0.875rem;margin-left:10px;font-weight:400;border:1px solid var(--line);padding:5px 9px;border-radius:20px}main{max-width:1240px;margin:auto;padding:39px 48px 60px}.eyebrow{font-size:0.875rem;letter-spacing:.18em;color:var(--green);margin-bottom:9px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.intro h1{margin-bottom:9px}.intro p{font-size:0.875rem;color:var(--muted);margin-bottom:0}.season{font-size:3.25rem;color:#596370;transform:rotate(-13deg);margin-right:35px}.hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:320px;border-radius:14px;overflow:hidden;background:#f1ebdf;border:1px solid #c8c4ba}.hero-copy{padding:33px 35px}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #c8c4ba;border-radius:20px;padding:4px 11px;font-size:0.875rem;color:#596370;background:#f1ebdf}.hero .question-title{font-size:1.688rem;line-height:1.85;margin:19px 0 11px}.hero-copy>p{font-size:0.875rem;color:#596370;margin-bottom:23px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;background:var(--green);color:white;border:1px solid var(--green);border-radius:7px;padding:12px 19px;font-size:0.875rem;font-weight:500}.button:hover{background:#253449}.button.secondary{background:transparent;color:var(--green);border-color:#c8c4ba}.button.secondary:hover{background:#f1ebdf}.text-button{border:0;background:none;padding:8px 0;color:var(--green);font-size:0.875rem}.hero-actions{display:flex;align-items:center;gap:20px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:290px;background:radial-gradient(ellipse at center,#f1ebdf,transparent 70%);overflow:hidden}.art-circle{position:absolute;width:230px;height:230px;border:1px solid #c8c4ba;border-radius:50%}.art-circle:after{content:'';position:absolute;inset:20px -25px;border:1px solid #c8c4ba;border-radius:50%;transform:rotate(-30deg)}.photo{position:absolute;width:153px;background:#fffef7;padding:10px 10px 23px;box-shadow:0 10px 25px #2534491b;transform:rotate(-12deg) translate(-33px,-14px)}.photo.second{transform:rotate(11deg) translate(56px,25px);width:139px}.photo svg{width:100%;height:125px;display:block;background:#8993a0}.photo.second svg{height:114px;background:#c8c4ba}.photo small{display:block;text-align:center;font-family:'Noto Serif JP',serif;font-size:0.875rem;margin-top:9px;color:#596370}.art-star{position:absolute;right:24px;top:28px;font-size:2.688rem;color:#596370}.art-caption{position:absolute;bottom:20px;font-size:0.875rem;letter-spacing:.16em;color:#596370}.support-note{font-size:0.875rem;color:var(--muted);margin:11px 2px 30px}.section-top{display:flex;align-items:center;justify-content:space-between;margin:31px 0 18px}.section-top h2{margin:0;font-size:1.312rem}.section-top h2 small{font-family:'Noto Sans JP',sans-serif;display:block;font-size:0.875rem;color:var(--muted);margin-top:5px;letter-spacing:0;font-weight:400}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.story-card,.question-card{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:23px;text-align:left}.story-card{display:flex;flex-direction:column;align-items:stretch;transition:transform .2s,border-color .2s}.story-card:hover{transform:translateY(-3px);border-color:#8993a0}.person{display:flex;align-items:center;gap:10px;font-size:0.875rem}.person small{display:block;color:var(--muted);font-size:0.875rem}.story-card h3{font-family:'Noto Serif JP',serif;font-size:1.125rem;line-height:1.8;font-weight:500;margin:19px 0 10px}.story-card p{font-size:0.875rem;line-height:1.9;color:#596370;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-foot{border-top:1px solid #f1ebdf;padding-top:13px;display:flex;justify-content:space-between;color:#596370;font-size:0.875rem;margin-top:auto}.week-note{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:22px 3px;margin-top:28px}.week-note .icon{font-size:1.875rem;color:#6b664c}.week-note h3{font-size:0.875rem;margin:0 0 3px;font-weight:500}.week-note p{font-size:0.875rem;color:var(--muted);margin:0}.week-note a{margin-left:auto;font-size:0.875rem;white-space:nowrap;color:var(--green)}footer{display:flex;justify-content:space-between;margin:0 48px;padding:23px 0;border-top:1px solid var(--line);color:#596370;font-size:0.875rem}footer span{font-family:'Noto Serif JP',serif;letter-spacing:.2em}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}.filter{border:1px solid var(--line);background:transparent;border-radius:30px;padding:7px 17px;font-size:0.875rem}.filter.selected{background:var(--green);color:white;border-color:var(--green)}.question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.question-card{min-height:226px;display:flex;flex-direction:column}.question-card .category{font-size:0.875rem;color:#596370}.question-card h3{font-family:'Noto Serif JP',serif;font-weight:500;line-height:1.9;margin:16px 0}.question-card button{margin-top:auto;align-self:flex-start}.notice{background:#eeefe6;padding:14px 17px;border-radius:8px;font-size:0.875rem;color:#5f6955;line-height:1.9}.empty{text-align:center;padding:60px 20px;border:1px dashed #c8c4ba;border-radius:12px}.empty>span{font-size:2.75rem;color:#596370}.empty h2{margin:13px 0}.empty p{color:var(--muted);font-size:0.875rem}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0}.count{font-size:0.875rem;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:39px;width:min(600px,calc(100% - 28px));max-height:90dvh;color:var(--ink);background:var(--paper);box-shadow:0 25px 90px #25344930}dialog::backdrop{background:#25344965;backdrop-filter:blur(3px)}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:1.688rem;color:#596370}.modal-title{font-size:1.562rem;line-height:1.8;margin:15px 0}.helper{font-size:0.875rem;color:var(--muted);line-height:1.9}.field-label{display:block;font-size:0.875rem;margin:21px 0 9px}textarea{width:100%;min-height:170px;resize:vertical;border:1px solid #c8c4ba;border-radius:8px;padding:15px;background:#faf8f3;color:var(--ink);line-height:1.9;font-size:0.875rem}select{padding:11px;border:1px solid #c8c4ba;border-radius:7px;background:#faf8f3;color:var(--ink);width:100%}.editor-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:7px;font-size:0.875rem;color:var(--muted)}.modal-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:24px}.answer-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2.2;margin:24px 0;font-size:0.875rem}.reply{padding:13px 16px;border-radius:8px;background:#f1ebdf;white-space:pre-wrap;overflow-wrap:anywhere;font-size:0.875rem;margin:10px 0}.reply-form textarea{min-height:80px}.danger{color:#915a4a}.about-copy p{font-size:0.875rem;line-height:2}.about-copy h3{margin-top:24px}#toast{position:fixed;bottom:30px;left:calc(50% + 100px);transform:translateX(-50%);background:#253449;color:white;border-radius:8px;padding:12px 24px;font-size:0.875rem;box-shadow:0 6px 30px #25344920;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10}#toast.show{opacity:1}.mobile-only{display:none}
@media(min-width:1500px){main{padding-top:55px}.hero{min-height:360px}.hero-copy{padding:40px}.hero .question-title{font-size:1.938rem}}
@media(max-width:1100px){.sidebar{width:205px;padding:30px 18px}.shell{margin-left:205px}.topbar{margin:0 30px}main{padding:30px}.hero-copy{padding:25px}.hero .question-title{font-size:1.5rem}.hero-actions{gap:12px}.question-grid{grid-template-columns:repeat(2,1fr)}.photo{width:130px}.photo.second{width:120px;transform:rotate(11deg) translate(36px,25px)}.art-star{right:12px}}
@media(max-width:760px){.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:70px;padding:0 8px;z-index:5;background:#faf8f3f5;border-top:1px solid var(--line);border-right:0}.sidebar>.brand,.brandcaption,.sidebar-note,.profile{display:none}nav{display:flex;justify-content:space-around;gap:0;height:100%;align-items:center}nav a{display:flex;flex-direction:column;align-items:center;gap:0;font-size:0.875rem;padding:4px 9px;border-radius:8px}nav a span{width:auto;font-size:1.312rem;line-height:1.5}nav a.active{background:none;color:var(--green)}.shell{margin-left:0;margin-bottom:70px}.topbar{height:60px;margin:0 21px;font-size:0.875rem}main{padding:27px 20px 35px}h1{font-size:1.75rem}.intro{margin-bottom:23px}.intro p{font-size:0.875rem}.season{font-size:2.312rem;margin-right:5px}.hero{grid-template-columns:1fr;position:relative;min-height:0}.hero-copy{padding:25px 24px 27px;z-index:1}.hero .question-title{font-size:1.562rem}.hero-art{display:none}.hero-actions{gap:22px}.support-note{font-size:0.875rem;margin-bottom:22px}.cards{grid-template-columns:1fr}.story-card{padding:21px}.section-top{margin-top:27px}.section-top h2{font-size:1.25rem}.week-note{gap:12px}.week-note a{font-size:0.875rem}.week-note p{font-size:0.875rem}.week-note .icon{font-size:1.562rem}footer{margin:0 20px;font-size:0.875rem}.question-grid{grid-template-columns:1fr 1fr;gap:10px}.question-card{padding:16px;min-height:235px}.question-card h3{font-size:0.9375rem}.filters{gap:6px}.filter{font-size:0.875rem;padding:6px 12px}.modal-title{font-size:1.438rem}dialog{padding:30px 22px}.modal-actions{flex-wrap:wrap}.toolbar{align-items:flex-start}.toolbar .button{font-size:0.875rem;padding:8px 11px}#toast{left:50%;bottom:87px;width:max-content;max-width:90vw}.intro .button{font-size:0.875rem;padding:10px}.notice{font-size:0.875rem}}
@media(prefers-reduced-motion:reduce){*{transition:none}}
/* Circle-based prototype v2 */
input{font:inherit;color:var(--ink);padding:11px 13px;border:1px solid #c8c4ba;border-radius:7px;background:#faf8f3;max-width:100%}input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.circle-select-label{display:flex;align-items:center;gap:14px}.circle-select-label>span{font-size:0.875rem;white-space:nowrap}.circle-select-label select{width:auto;max-width:330px;font-size:0.875rem;border:0;background:transparent;padding:8px 24px 8px 0}.context-line{display:flex;justify-content:space-between;gap:12px;font-size:0.875rem;color:var(--green);margin:0 0 13px}.context-line a{white-space:nowrap}.draft-banner{display:flex;justify-content:space-between;gap:12px;border:1px solid #c8c4ba;background:#f1ebdf;border-radius:8px;padding:16px 20px;font-size:0.875rem}.quiet-empty{padding:28px 24px;border:1px dashed #c8c4ba;border-radius:10px;color:#596370}.quiet-empty span{font-family:'Noto Serif JP',serif;font-size:1.125rem}.quiet-empty p{font-size:0.875rem;margin:8px 0 0}.question-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0 16px}.question-controls label>span{display:block;margin:0 0 8px;font-size:0.875rem;color:var(--muted)}.question-hint{font-size:0.875rem;color:var(--muted);line-height:1.8}.question-card{min-height:275px}.question-card h3{margin-bottom:10px}.circle-card,.settings-card{padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.circle-card.current{border-color:#8993a0;background:#f1ebdf}.circle-card .circle-icon{float:right;font-size:2.25rem;color:#596370}.circle-card h2{font-size:1.5rem;margin:20px 0 8px;overflow-wrap:anywhere}.circle-card p{font-size:0.875rem;color:var(--muted)}.circle-card .pill{font-size:0.875rem}.circle-card .card-foot{margin-top:20px;padding-top:8px}.audience-field{border:1px solid var(--line);border-radius:10px;margin-top:25px;padding:16px;max-height:260px;overflow:auto}.audience-field legend{font-size:0.875rem;padding:0 6px}.audience-field label{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:0.875rem}.audience-field input{accent-color:var(--green);width:18px;height:18px;flex:none}.audience-field small{display:block;color:var(--muted);font-size:0.875rem}.audience-field .helper{margin:0 0 9px}.search-label span{font-size:0.875rem;display:block;margin-bottom:7px}.search-label input{width:100%;padding:13px 17px}.archive-actions{display:flex;gap:10px;align-items:center}.draft-list{padding:20px;background:#f1ebdf;border-radius:10px;margin:20px 0}.draft-list h3{font-size:0.875rem;color:#6d684e}.draft-list button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:15px;text-align:left;border:0;border-top:1px solid #c8c4ba;background:none;padding:14px 0;font-size:0.875rem}.draft-list small{display:block;font-size:0.875rem;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.draft-list button>span:last-child{white-space:nowrap}.history{border-top:1px solid var(--line);padding:17px 0;font-size:0.875rem}.history summary{cursor:pointer;color:var(--green)}.history article{margin-top:15px;padding:15px;background:#f1ebdf;border-radius:7px}.history p{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0}.history small{color:var(--muted)}.divider{border:0;border-top:1px solid var(--line);margin:26px 0}.settings-card{margin-bottom:22px}.settings-card h2{font-size:1.375rem}.settings-card form{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.settings-card .field-label{width:100%;margin:0}.principles{display:grid;grid-template-columns:1fr 1fr;gap:22px}.principles b{font-size:0.875rem}.principles p{font-size:0.875rem;color:var(--muted);margin:8px 0 0}#circle-form>input{width:100%}.story-card .card-foot span:first-child{overflow-wrap:anywhere;max-width:75%}h1{overflow-wrap:anywhere}
@media(max-width:760px){.intro .season{display:none}.intro h1{font-size:1.625rem;letter-spacing:.01em}.topbar{gap:8px}.circle-select-label{display:block;min-width:0;flex:1}.circle-select-label>span{font-size:0.875rem;display:block}.circle-select-label select{font-size:0.875rem;max-width:100%;padding:0 10px 0 0}.demo-tag{font-size:0.875rem;white-space:nowrap}.demo-tag b{margin-left:4px;font-size:0.875rem}nav a{font-size:0.875rem;padding:4px 4px}.context-line{font-size:0.875rem}.draft-banner{font-size:0.875rem;padding:14px;display:block}.draft-banner span{display:block;margin-top:6px}.question-controls{gap:10px}.question-controls select{font-size:0.875rem;padding:10px 7px}.circle-card{padding:23px}.section-top{gap:10px}.section-top .button{padding:9px 10px;gap:6px;font-size:0.875rem}.section-top h2{font-size:1.188rem}.principles{grid-template-columns:1fr}.question-card{min-height:270px}.archive-actions{gap:6px}.archive-actions .filter{padding:6px 10px}.archive-actions .text-button{font-size:0.875rem}.toolbar{gap:8px}.toolbar .button{padding:7px 8px;font-size:0.875rem}.draft-list{padding:16px}.draft-list button{font-size:0.875rem}.settings-card{padding:22px}.circle-card .pill{max-width:80%;overflow-wrap:anywhere}}
.section-top .button{white-space:nowrap;flex-shrink:0}
/* UX review: readable type, explicit actions and forgiving drafts */
:root{--muted:#596370}body{font-size:1rem}.button,.text-button,.filter{font-size:0.875rem;min-height:44px}.intro p,.helper,.notice,.question-hint,.story-card p,.quiet-empty p,.support-note,.field-label,.circle-card p,.principles p{font-size:0.875rem;color:var(--muted)}.person,.reply,.answer-content,textarea,input,select{font-size:1rem}.person small,.pill,.count,.card-foot,.question-card .category,.section-top h2 small,.editor-bottom,.audience-field small,.search-label span,.question-controls label>span{font-size:0.875rem;color:var(--muted)}.story-card p{color:#596370}.card-foot{gap:12px}.circle-select-label select{font-size:0.875rem;min-height:44px}.circle-select-label{min-width:0;max-width:80%}.circle-select-label select{max-width:100%}.circle-select-label>span{font-size:0.875rem}.demo-tag b{border:0;padding:0}.demo-tag a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:0.875rem}.close{min-width:44px;min-height:44px}.modal-title{padding-right:10px}.section-top{flex-wrap:wrap}.toolbar,.archive-actions,.hero-actions{flex-wrap:wrap}.question-card .text-button{font-size:0.875rem}.question-card h3{font-size:1.188rem}.draft-list h3,.draft-list button,.draft-list small{font-size:0.875rem}.start-guide{border:1px solid #c8c4ba;border-radius:12px;background:#f1ebdf;padding:17px 22px;margin:0 0 24px}.start-guide summary,summary{cursor:pointer;min-height:44px;align-content:center}.start-guide summary{font-weight:500}.start-guide ol{padding-left:24px;font-size:0.875rem}.start-guide li{margin:9px 0}.start-guide a{text-decoration:underline;text-underline-offset:4px}.start-guide p{font-size:0.875rem;margin:12px 0 0;color:var(--muted)}.care-notice{margin-bottom:24px}.care-notice p:last-child{font-size:0.875rem;margin:12px 0 0}.care-notice h3{font-size:1.125rem}.answer-mark{font-size:0.875rem;color:#253449;display:block;margin:0 0 12px}.export-choice{border-top:1px solid var(--line);padding:20px 0}.export-choice h3{font-size:1.125rem}.size-option{display:flex;align-items:center;gap:14px;min-height:48px}.size-option input{width:22px;height:22px}.large-text :is(p,li,label,input,textarea,select,.button,.text-button,.filter,.answer-content,.reply,.person,.helper,.notice,.question-hint,.draft-list button){font-size:1.125rem}.large-text :is(small,.card-foot,.editor-bottom,.pill,.category,.count,.support-note,.start-guide p){font-size:0.9375rem}.large-text nav a{font-size:1rem}.large-text .question-card h3{font-size:1.375rem}button:disabled{opacity:.5;cursor:not-allowed}.story-card,.question-card,.circle-card{min-width:0;overflow-wrap:anywhere}.context-line{font-size:0.875rem;flex-wrap:wrap}.context-line a{min-height:44px;align-content:center}.week-note{flex-wrap:wrap}.week-note a,.week-note p,.week-note h3{font-size:0.875rem}.section-top .button{font-size:0.875rem;white-space:normal}
@media(max-width:760px){.topbar{height:auto;min-height:83px;margin:0 16px;gap:10px}.circle-select-label{max-width:calc(100% - 92px)}.circle-select-label select{font-size:0.875rem;min-height:44px}.circle-select-label>span{font-size:0.875rem}.demo-tag{font-size:0.875rem}.demo-tag b{margin-left:2px}.demo-tag a{font-size:0.875rem}.question-grid{grid-template-columns:1fr}.question-card{min-height:0;padding:24px}.question-controls{grid-template-columns:1fr}.question-controls select{font-size:1rem}.sidebar{height:78px;padding:0 3px}nav a, .large-text nav a{font-size:0.875rem;padding:6px 2px;min-height:56px}nav a span{font-size:1.375rem}.shell{margin-bottom:78px}main{padding:24px 18px 36px}.hero-copy{padding:24px}.hero-actions{gap:12px}.hero .question-title{font-size:1.562rem}.intro p{font-size:0.875rem}.toolbar{gap:14px}.toolbar .button,.archive-actions .text-button,.archive-actions .filter{font-size:0.875rem;padding:10px 12px}.section-top .button{font-size:0.875rem}.start-guide{padding:13px 18px}.context-line{font-size:0.875rem}.modal-actions{justify-content:stretch}.modal-actions .button{flex:1}.editor-bottom{align-items:flex-start;gap:8px}.editor-bottom span:first-child{max-width:70%}.audience-field{max-height:none}.audience-field label{font-size:1rem;min-height:48px}.audience-field legend{font-size:0.875rem}.question-card h3{font-size:1.25rem}.section-top h2{font-size:1.312rem}dialog{padding:35px 20px 25px}.large-text .question-controls select{font-size:1.125rem}#toast{bottom:92px;font-size:0.875rem}.brandcaption{display:none}}
.member-list{padding-left:20px;font-size:0.875rem}.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.member-row small{display:block;color:var(--muted);font-size:0.875rem}#invite-email,#circle-name{width:100%}.size-option input{flex-shrink:0}.history p{white-space:pre-wrap;overflow-wrap:anywhere}#sync-state{font-size:0.875rem;color:var(--green)}.start-guide a{text-decoration:underline}.notice p:last-child{margin-bottom:0}.modal-actions button{white-space:normal}#main>.cards{margin-top:20px}#note-form .button{margin-top:16px}

.signed-out .sidebar nav,.signed-out .profile,.signed-out .topbar{display:none}.login-card{max-width:600px}.login-card input{width:100%;margin:8px 0 16px}.login-card button{min-height:48px}.login-providers{display:grid;gap:12px}.login-divider{text-align:center;margin:24px 0;color:var(--muted)}#login-status{min-height:1.5em;white-space:pre-wrap}#login-code{font-size:1.5rem;letter-spacing:.3em}#code-login{margin-top:24px}#login-methods h3{margin-top:24px}
[hidden]{display:none}.login-card form{display:block}.login-card .helper{margin:10px 0 16px}.login-card input{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}

/* Clear first steps, visible story preview, and direct invitation actions. */
.circle-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}
.share-preview{background:#f1ebdf;border:1px solid #c8c4ba;border-radius:12px;padding:20px;margin:20px 0}
.share-preview h3{font-family:inherit;font-size:0.875rem;color:var(--green);margin-bottom:14px}
.share-preview h4{font-size:1.125rem;line-height:1.7;margin:0 0 12px;font-weight:500}
.share-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.9}
#sharing .audience-field{max-height:none;margin-top:20px}
#sharing .audience-field label{font-size:1rem;min-height:52px;padding:12px 8px;border-bottom:1px solid var(--line)}
#sharing .audience-field label:has(input:checked){background:var(--light);border-radius:6px}
#sharing .audience-field legend{font-size:1rem}
#share-summary{overflow-wrap:anywhere}
.large-text .share-text,.large-text .share-preview h4{font-size:1.25rem}
@media(max-width:760px){.circle-actions{align-items:stretch}.circle-actions .button{width:100%}.share-preview{padding:16px}.start-guide ol{padding-left:20px}#sharing .modal-actions{flex-direction:column}.modal-actions{flex-wrap:wrap}}
#sharing .modal-actions{position:sticky;bottom:0;background:var(--paper);padding:12px 0;margin-top:18px;border-top:1px solid var(--line);box-shadow:0 -8px 18px var(--paper);z-index:1}
#invite-name,#join-name{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px}

/* NOCOSU identity: a book that grows, with calm Japanese typography. */
body{font-family:'Hiragino Sans','Yu Gothic UI','Yu Gothic',Meiryo,sans-serif;letter-spacing:.015em}
.serif,h1,h2,.question-title{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif}
.brand{gap:10px;letter-spacing:0}.brand-symbol{display:block;width:44px;height:44px;flex:none}.brand-word{font-family:'Avenir Next',Avenir,'Trebuchet MS',sans-serif;font-size:1.562rem;font-weight:600;letter-spacing:.13em;color:#253449}.brandcaption{margin-left:54px}
/* Signed-out entry: the value of answering, followed by a choice of login. */
.signed-out{background:radial-gradient(ellipse at 12% 40%,#f1ebdf 0,transparent 55%),var(--bg)}
.signed-out .sidebar{position:static;width:auto;max-width:1240px;margin:auto;padding:26px 40px 18px;border:0;background:transparent;height:auto}
.signed-out .sidebar>.brand{display:inline-flex}.signed-out .sidebar .brandcaption,.signed-out .sidebar-note{display:none}
.signed-out .brand-symbol{width:48px;height:48px}.signed-out .brand-word{font-size:1.688rem;letter-spacing:.15em}
.signed-out .shell{margin:0}.signed-out main{max-width:1180px;margin:auto;padding:18px 40px 48px}
.login-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:start}
.login-intro{padding-top:12px}.entry-kicker{color:#596370;font-size:0.875rem;letter-spacing:.1em;margin-bottom:16px}
.login-intro h1{font-size:clamp(2rem,3.1vw,2.688rem);line-height:1.6;letter-spacing:.05em;margin:0 0 18px;color:#253449;font-weight:500}
.login-intro h1 em{white-space:nowrap;display:inline-block;font-style:normal;position:relative;background:linear-gradient(transparent 78%,#c8c4ba 78%)}
.entry-description{font-size:0.875rem;line-height:2.1;color:#596370;margin-bottom:0;text-wrap:pretty}
.story-illustration{position:relative;height:264px;margin:22px 0 18px;isolation:isolate}
.story-illustration:before{content:'';position:absolute;inset:26px 10px 30px 20px;border:1px solid #c8c4ba;border-radius:50%;transform:rotate(-13deg);z-index:-1}
.illustration-question,.illustration-story,.illustration-reply{position:absolute;box-shadow:0 8px 24px #2534490b;animation:entry-appear .65s both}
.illustration-question{left:0;top:3px;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:14px 14px 14px 3px;padding:15px 20px;z-index:2;transform:rotate(-3deg)}
.illustration-question span,.illustration-reply span,.story-page-label{font-size:0.875rem;letter-spacing:.06em;color:#596370}
.illustration-question p{font-size:1rem;line-height:1.7;margin:6px 0 0}
.illustration-story{left:38%;top:38px;background:#fffef9;border:1px solid #c8c4ba;border-radius:3px 12px 12px 3px;padding:18px 22px 15px 27px;transform:rotate(5deg);animation-delay:.12s;min-width:188px}
.illustration-story:before{content:'';position:absolute;left:7px;top:0;bottom:0;border-left:1px solid #f1ebdf}
.illustration-story p{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif;font-size:0.9375rem;line-height:1.8;margin:8px 0 12px}
.story-page-line{display:block;height:1px;width:95%;margin:9px 0 0;background:#f1ebdf}.story-page-line.short{width:66%}
.illustration-reply{left:1%;top:157px;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:14px 14px 3px 14px;padding:12px 18px;z-index:3;transform:rotate(-2deg);animation-delay:.24s}
.illustration-reply span{color:#826246;font-size:0.875rem}.illustration-reply p{font-size:0.875rem;line-height:1.65;margin:5px 0 0}
.story-illustration figcaption{position:absolute;bottom:0;right:0;font-size:0.875rem;color:#596370}
.entry-values{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 0 0;margin:0;list-style:none;gap:15px;border-top:1px solid #c8c4ba;counter-reset:value}
.entry-values li{counter-increment:value;position:relative}.entry-values li:before{content:'0' counter(value);display:block;color:#596370;font-size:0.875rem;letter-spacing:.1em;margin-bottom:4px}
.entry-values b{font-size:0.875rem;font-weight:600;display:block;margin-bottom:4px}.entry-values span{font-size:0.875rem;color:#596370;line-height:1.7;display:block}
.login-layout .login-card{width:100%;padding:30px;margin:8px 0 0;border-radius:20px;background:#fffefb;box-shadow:0 12px 40px #25344905}
.entry-card-label{font-size:0.875rem;color:#596370;letter-spacing:.09em;display:block;margin-bottom:7px}
.login-card h2{font-family:inherit;font-size:1.5rem;letter-spacing:.01em;font-weight:600;margin:0 0 8px}
.login-card .helper{font-size:0.875rem;line-height:1.8;margin:10px 0 18px}
.login-card .login-providers{grid-template-columns:1fr;gap:10px;margin-top:24px}
.login-card .login-providers .button{min-height:52px;font-size:0.9375rem;font-weight:600;padding:12px;white-space:normal;border-color:#d6dcd1;background:white;color:#354331;gap:12px}
.login-card .login-providers .button:hover{background:#f0f4e9;border-color:#97aa8e}
.login-card .login-providers .provider-line{background:#eaf6ed;border-color:#b8d8bc;color:#235d34}
.login-card .login-providers .provider-line:hover{background:#d8efdd}
.login-card .provider-help{font-size:0.875rem;line-height:1.8;margin:12px 0 0;color:#606c59}
.login-card .login-divider{display:flex;align-items:center;gap:12px;margin:22px 0;font-size:0.875rem;white-space:nowrap}
.login-divider:before,.login-divider:after{content:'';flex:1;height:1px;background:var(--line)}
.login-card input{margin:7px 0 0}.login-card .field-label{font-size:0.875rem}.login-card #email-help{font-size:0.875rem;margin:9px 0 16px}
.login-card #send-code{width:100%;font-size:0.875rem;background:#253449;border-color:#253449}.login-card #send-code:hover{background:#253449}
.login-card #login-status:empty{display:none}.login-card #login-status:not(:empty){padding:12px;background:var(--light);border-radius:8px;font-size:0.875rem}
.entry-private{font-size:0.875rem;text-align:center;color:#596370;line-height:1.9;padding-top:20px;margin:0}
.login-invitation{font-size:0.875rem;line-height:1.8;border-left:3px solid var(--green);padding-left:12px;margin:14px 0 18px}
.login-help{border-top:1px solid var(--line);margin-top:20px;padding-top:8px;font-size:0.875rem}.login-help summary{font-size:0.875rem;color:#596370}.login-help p{color:var(--muted);line-height:1.8}
.signed-out footer{max-width:1100px;margin:auto;color:#596370;font-size:0.875rem}
@keyframes entry-appear{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.story-illustration *{animation:none}}
@media(max-width:1000px) and (min-width:761px){.login-layout{gap:28px}.signed-out main{padding-left:28px;padding-right:28px}.login-layout .login-card{padding:24px}.illustration-story{left:35%;min-width:170px;padding-right:15px;padding-left:20px}.illustration-question{padding:13px}.illustration-question p{font-size:0.875rem}.entry-values{gap:8px}.entry-values b{font-size:0.875rem}.entry-description{font-size:0.875rem}}
@media(max-width:760px){
.signed-out .sidebar{padding:20px 22px 16px}.signed-out .brand-symbol{width:38px;height:38px}.signed-out .brand-word{font-size:1.438rem}
.signed-out main{padding:8px 20px 32px}.login-layout{display:flex;flex-direction:column;gap:0;max-width:480px;margin:auto}.login-intro{display:contents}
.entry-kicker{font-size:0.875rem;margin:0 0 12px;letter-spacing:.04em}.login-intro h1{font-size:1.875rem;line-height:1.55;margin:0 0 16px;letter-spacing:.03em}.login-intro h1 br:nth-of-type(2){display:none}
.entry-description{font-size:0.875rem;line-height:1.95;margin:0 0 22px}.entry-description br{display:none}
.login-layout .login-card{order:1;padding:22px;margin:0;border-radius:16px}.login-card h2{font-size:1.375rem}.login-card .login-providers{margin-top:20px}.login-card .helper{font-size:0.875rem}.login-card .provider-help{font-size:0.875rem}
.story-illustration{order:2;width:100%;max-width:430px;align-self:center;margin:34px 0 20px;height:275px}.illustration-story{left:38%;min-width:170px;padding-left:20px;padding-right:15px}.illustration-question{padding:14px}.illustration-question p{font-size:0.875rem}.illustration-reply{top:165px}
.entry-values{order:3;width:100%;gap:12px}.entry-values b{font-size:0.875rem}.entry-values span{font-size:0.875rem}.signed-out footer{margin:0 20px;padding:18px 0;gap:20px;font-size:0.875rem}
}
@media(max-width:360px){.signed-out main{padding-left:14px;padding-right:14px}.login-layout .login-card{padding:18px}.login-intro h1{font-size:1.688rem}.illustration-story{left:34%;top:49px}.illustration-question{padding:12px}.illustration-reply{padding:12px;top:175px}.entry-values{gap:8px}.entry-values b{font-size:0.875rem}}

@media(min-width:761px) and (max-width:1100px){body:not(.signed-out) .sidebar .brand-symbol{width:36px;height:36px}body:not(.signed-out) .sidebar .brand-word{font-size:1.312rem;letter-spacing:.08em}}
/* At narrower widths the example becomes a readable sequence, not overlapping cards. */
@media(max-width:1000px){
.story-illustration{display:grid;grid-template-columns:1fr;gap:14px;height:auto;padding:8px 0}
.illustration-question,.illustration-story,.illustration-reply{position:relative;left:auto;top:auto;transform:none;min-width:0}
.illustration-question{justify-self:start;width:82%;padding:15px 18px}
.illustration-story{justify-self:end;width:82%;padding:18px 24px}
.illustration-reply{justify-self:start;width:75%;padding:14px 18px}
.story-illustration figcaption{position:static;justify-self:end;margin-top:4px}
.story-illustration:before{inset:40px 5px 45px;border-radius:44%}
}

/* First home: one clear starting action, private by default, resume when needed. */
.home-mobile-brand,.home-context-note{display:none}
.home-page.no-circles .circle-select-label{display:none}
.home-page.no-circles .home-context-note{display:block;font-size:0.875rem;letter-spacing:.04em}
.home-view{max-width:1000px;margin:auto}.home-heading{margin-bottom:24px}.home-heading h1{font-size:2rem;line-height:1.6;margin:6px 0 10px}.home-heading>p:last-child{color:var(--muted);font-size:0.9375rem;margin:0}
.home-question{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);border:1px solid #c8c4ba;background:#e9edf1;border-radius:18px;overflow:hidden}
.home-question-copy{padding:28px 30px}.home-question h2{font-size:1.625rem;line-height:1.65;margin:18px 0 12px;text-wrap:pretty}.home-question-copy>p{font-size:0.875rem;color:#596370;margin:0 0 24px}
.home-write-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.home-write-actions .button{background:#253449;border-color:#253449;min-height:52px;font-size:0.9375rem;gap:10px}.home-write-actions .button.secondary{background:transparent;color:#253449}.home-write-actions>span{font-size:0.875rem;color:#596370}
.home-other-questions{display:flex;gap:22px;flex-wrap:wrap;margin-top:12px}.home-other-questions .text-button{font-size:0.875rem;text-decoration:underline;text-underline-offset:4px}
.home-writing-tip{padding:30px 24px;background:#f1ebdf;border-left:1px solid #c8c4ba;align-content:center}.home-writing-tip img{display:block;margin-bottom:16px;opacity:.85}.home-writing-tip h3{font-size:0.9375rem;line-height:1.8;font-weight:500;margin-bottom:12px}.home-writing-tip>p{font-size:0.875rem;color:#596370;line-height:1.9;margin-bottom:8px}
.home-writing-tip summary{font-size:0.875rem;color:#596370;min-height:44px}.home-example-label{font-size:0.875rem;color:var(--muted);margin:8px 0}.home-writing-tip blockquote{margin:12px 0 0;border-left:2px solid #8993a0;padding-left:12px;font-size:0.875rem;line-height:1.9}
.home-private{font-size:0.875rem;color:#596370;margin:12px 3px 24px;line-height:1.9}
.home-steps{list-style:none;display:grid;grid-template-columns:1fr 1.2fr 1.1fr;gap:20px;padding:0 0 24px;margin:0;border-bottom:1px solid var(--line)}
.home-steps li{display:flex;gap:12px;align-items:flex-start}.home-steps li>span{font-size:0.875rem;color:#596370;border:1px solid #c8c4ba;border-radius:50%;width:30px;height:30px;text-align:center;line-height:28px;flex:none}
.home-steps b{font-size:0.875rem;font-weight:500}.home-steps p{font-size:0.875rem;color:var(--muted);margin:5px 0 0;line-height:1.8}.home-steps small{font-size:0.875rem;border:1px solid #c8c4ba;border-radius:15px;padding:2px 6px;white-space:nowrap}
.home-sharing-guide,.home-samples{margin:24px 0 0;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:#fffef966;font-size:0.875rem}.home-sharing-guide summary,.home-samples summary{font-size:0.875rem;color:#596370}.home-sharing-guide p,.home-sharing-guide li{font-size:0.875rem;line-height:1.9}.home-sharing-guide li{margin:10px 0}.home-sharing-guide a{text-decoration:underline;text-underline-offset:4px}.home-sharing-guide ol{padding-left:23px}.home-samples small{color:var(--muted);font-size:0.875rem;display:inline-block;margin-left:10px}.home-samples .cards{margin:15px 0}.home-view>.notice{margin-top:24px}
.home-resume{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:14px;padding:24px;margin:0 0 24px}.home-resume>div{min-width:0}.home-resume h2{font-size:1.25rem;line-height:1.6;margin:7px 0 10px}.home-resume p{font-size:0.875rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#6a6857}.home-resume-actions{flex:none;display:grid;gap:8px}.home-resume .button{font-size:0.875rem;gap:10px}
.home-arrival{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #c8c4ba;background:#e9edf1;border-radius:10px;padding:14px 18px;margin-bottom:24px;font-size:0.875rem;color:#253449}.home-arrival>span:last-child{white-space:nowrap}
.large-text .home-view p,.large-text .home-view .text-button,.large-text .home-view summary,.large-text .home-view b{font-size:1.125rem}.large-text .home-question h2{font-size:1.875rem}
@media(max-width:1050px){.home-question{grid-template-columns:1fr}.home-writing-tip{border-left:0;border-top:1px solid #c8c4ba;padding:16px 26px}.home-writing-tip img{display:none}.home-writing-tip h3{margin:0}.home-writing-tip>p{margin:6px 0}.home-steps{gap:12px}.home-steps li{gap:7px}.home-resume{flex-direction:column;align-items:stretch}}
@media(max-width:760px){
.home-page .home-mobile-brand{display:flex;gap:8px}.home-page .home-mobile-brand .brand-word{font-size:1.188rem;letter-spacing:.09em}.home-page.no-circles .home-context-note{display:none}.home-page .topbar{min-height:70px;height:auto;padding:10px 0;flex-wrap:wrap;gap:8px}.home-page .circle-select-label{order:3;max-width:100%;flex-basis:100%;border-top:1px solid var(--line);padding-top:8px}.home-page .circle-select-label>span{font-size:0.875rem}.home-page .circle-select-label select{font-size:0.875rem;width:100%}.home-page #sync-state{display:none}.home-page .demo-tag{margin-left:auto}.home-page .demo-tag a{min-height:44px;font-size:0.875rem}.home-page main{padding-top:24px}
.home-heading{margin-bottom:20px}.home-heading h1{font-size:1.625rem;line-height:1.55;margin-bottom:12px}.home-heading>p:last-child{font-size:0.875rem}.home-question-copy{padding:22px}.home-question h2{font-size:1.438rem;margin-top:16px}.home-question-copy>p{font-size:0.875rem;margin-bottom:20px}.home-write-actions{gap:8px}.home-write-actions .button{width:100%;font-size:0.9375rem}.home-write-actions>span{width:100%;text-align:center}.home-other-questions{justify-content:space-between;gap:8px;margin-top:10px}.home-other-questions .text-button{font-size:0.875rem}.home-writing-tip{padding:14px 22px}.home-writing-tip>p{display:none}.home-writing-tip h3{font-size:0.875rem}.home-private{font-size:0.875rem;margin-bottom:24px}.home-steps{grid-template-columns:1fr;gap:16px}.home-steps li{gap:14px}.home-steps b{font-size:0.875rem}.home-steps p{margin:3px 0 0;font-size:0.875rem}.home-sharing-guide,.home-samples{padding:8px 14px}.home-resume{padding:20px;gap:18px}.home-resume h2{font-size:1.188rem}.home-resume-actions .button{width:100%}.home-arrival{align-items:flex-start;flex-direction:column;font-size:0.875rem;gap:5px}
}

.home-heading h1>span{display:inline-block}.large-text .home-view .button{font-size:1.125rem}

/* A stable header; topic selection belongs with the questions. */
.topbar-actions{display:flex;align-items:center;gap:22px;margin-left:auto;letter-spacing:0}
.topbar-actions .text-button{font-size:0.875rem;min-height:44px;padding:10px 4px}
.topbar .home-context-note{display:block}
.guide-progress{display:flex;list-style:none;padding:0;margin:24px 0;gap:8px}
.guide-progress li{flex:1;min-width:0}
.guide-progress button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:0.875rem}
.guide-progress span{font-size:0.875rem}
.guide-progress [aria-current=step] button{background:var(--green);border-color:var(--green);color:white}
.guide-description{font-size:1rem;line-height:1.95}
.guide-preview{background:#f1ebdf;border:1px solid var(--line);border-radius:12px;padding:24px;margin:24px 0 16px}
.guide-menu{display:inline-flex;gap:8px;border-bottom:2px solid var(--green);padding:3px 0 7px;margin-bottom:18px;font-weight:600}
.guide-preview p{font-family:var(--font-story,serif);font-size:1.312rem;margin-bottom:20px}
.guide-button-example{display:inline-block;background:#fffef9;border:1px solid #c8c4ba;border-radius:7px;padding:10px 16px;color:var(--green);font-size:0.875rem}
.guide-actions,.guide-actions>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guide-actions{margin-top:28px}.guide-actions .button{min-height:48px}
.guide-reopen{font-size:0.875rem;color:var(--muted);margin:18px 0 0}
.welcome-guide .modal-title{padding-right:20px}
@media(max-width:760px){
 .topbar .home-mobile-brand{display:flex;font-size:1.125rem;gap:8px;letter-spacing:.06em}
 .topbar .home-context-note{display:none}
 .topbar,.home-page .topbar{min-height:72px;height:auto;display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}
 .topbar-actions{gap:12px}.topbar-actions .text-button{font-size:0.875rem}
 .guide-progress{gap:5px;margin:18px 0}.guide-progress button{font-size:0.875rem;gap:5px}
 .guide-description{font-size:0.9375rem}.guide-preview{padding:18px}.guide-preview p{font-size:1.188rem}
 .guide-actions{align-items:stretch;flex-direction:column-reverse;gap:4px}.guide-actions>div{justify-content:flex-end;flex-wrap:wrap}.guide-actions .button{flex:1;padding:12px 10px;gap:5px;font-size:0.875rem}
 .guide-reopen{margin-top:8px}.welcome-guide .modal-title{font-size:1.438rem}
}
@media(max-width:760px){
 .welcome-guide .modal-title{font-size:1.375rem;line-height:1.5}
 .guide-progress button{flex-direction:column;gap:0;padding:5px 2px;line-height:1.4;white-space:nowrap}
 .guide-preview{padding:12px 16px;margin:16px 0 12px}
 .guide-preview p{display:none}
 .guide-menu{display:block;width:fit-content;margin-bottom:10px;font-size:0.875rem}
 .guide-button-example{padding:6px 10px;font-size:0.875rem}
 .guide-description{line-height:1.8;margin-bottom:12px}
 .guide-actions{margin-top:16px}
}

/* A book of one's own: quiet illustration, real words, a clear way to write. */
.story-hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:24px;padding:32px;border:1px solid #c8c4ba;border-radius:22px;background:linear-gradient(135deg,#faf8f3,#f1ebdf);overflow:hidden;isolation:isolate}
.story-intro{grid-column:1;grid-row:1;position:relative;z-index:1}
.story-intro .eyebrow{color:#766347;font-size:0.875rem;letter-spacing:.13em;margin-bottom:18px}
.story-intro h1{font-size:2.125rem;line-height:1.65;letter-spacing:.04em;margin:0 0 18px;color:#253449}
.story-intro h1 span{display:inline-block}
.story-intro>p:last-child{font-size:0.875rem;color:#596370;line-height:2;margin-bottom:26px}
.story-hero .home-question{grid-column:1;grid-row:2;display:block;border:0;border-top:1px solid #c8c4ba;border-radius:0;background:none;overflow:visible}
.story-hero .home-question-copy{padding:23px 0 0}
.story-hero .home-question h2{font-size:1.375rem;line-height:1.7;margin:14px 0 8px}
.story-hero .home-question-copy>p{font-size:0.875rem;margin-bottom:20px}
.story-hero .pill{padding:0;border:0;border-radius:0;background:none;color:#766347;font-size:0.875rem;letter-spacing:.1em}
.story-hero .home-other-questions{gap:24px}
.story-scene{grid-column:2;grid-row:1 / span 2;align-self:center;min-width:0;margin:0;position:relative;padding-bottom:12px}
.story-art{position:relative;margin:0 -24px;isolation:isolate}
.story-art:before{content:'';position:absolute;inset:10% 5%;z-index:-1;background:radial-gradient(ellipse,#c8c4ba99,transparent 70%);border-radius:50%}
.story-art img{width:100%;height:auto;display:block;position:relative;z-index:1}
.story-trace{position:absolute;display:block;width:10px;height:16px;background:#c5a57c;border-radius:100% 0 100% 0;opacity:.55;z-index:0}
.trace-one{left:14%;top:18%;rotate:-25deg}.trace-two{right:16%;top:7%;width:7px;height:12px;background:#596370;rotate:22deg}
.story-scene figcaption{position:relative;z-index:2;margin:16px 8px 0}
.story-first-caption{text-align:center;font-family:var(--font-story,serif);font-size:1.062rem;line-height:1.9;color:#596370;letter-spacing:.07em}
.story-keepsake{width:100%;display:block;text-align:left;border:1px solid #c8c4ba;background:#fffef7dd;border-radius:3px 14px 14px 3px;padding:17px 18px 14px 24px;box-shadow:-5px 4px 0 #f1ebdf,0 8px 22px #25344910;border-left:3px solid #bca27e;transition:box-shadow .2s}
.story-keepsake:hover{box-shadow:-5px 4px 0 #f1ebdf,0 10px 25px #25344920}
.keepsake-label{display:block;color:#596370;font-size:0.875rem;margin-bottom:9px;letter-spacing:.02em}
.keepsake-quote{font-family:var(--font-story,serif);display:block;font-size:1rem;line-height:1.9;overflow-wrap:anywhere;color:#253449}
.keepsake-read{display:block;text-align:right;color:#596370;font-size:0.875rem;margin-top:8px}
.story-collection{display:flex;justify-content:center;gap:14px;font-size:0.875rem;color:#596370;min-height:44px;align-items:center;margin-top:10px}
.story-collection:hover{text-decoration:underline;text-underline-offset:4px}
.story-entrance .story-art img{animation:story-unfold 1.8s cubic-bezier(.2,.7,.2,1) both}
.story-entrance .story-trace{animation:story-leaf 2.8s ease-out both}
.story-entrance figcaption{animation:story-words 1s .5s both}
@keyframes story-unfold{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@keyframes story-leaf{from{opacity:0;transform:translate(-8px,20px) rotate(-40deg)}to{opacity:.55;transform:none}}
@keyframes story-words{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.large-text .story-intro>p:last-child,.large-text .keepsake-quote{font-size:1.125rem}
@media(min-width:761px) and (max-width:1100px){.story-hero{padding:26px;column-gap:20px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.story-intro h1{font-size:1.688rem}.story-hero .home-question h2{font-size:1.312rem}.story-keepsake{padding:12px 14px 10px 18px}.keepsake-quote{font-size:0.875rem}.story-art{margin:0 -16px}.story-scene figcaption{margin-left:0;margin-right:0}}
@media(max-width:760px){
 .home-story-view{margin-top:0}.story-hero{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:0;padding:22px 20px 18px;border-radius:18px}
 .story-intro .eyebrow{font-size:0.875rem;letter-spacing:.04em;margin-bottom:12px}
 .story-intro h1{font-size:1.375rem;line-height:1.65;letter-spacing:.01em;margin-bottom:12px}
 .story-intro>p:last-child{font-size:0.875rem;margin-bottom:20px;line-height:1.9}.story-intro>p:last-child br{display:none}
 .story-scene{grid-row:1;align-self:center;padding:0;margin:0 -16px 0 0;pointer-events:none}
 .story-art{margin:0 -6px 0 -8px}.story-scene figcaption{margin:2px 0 0;pointer-events:auto}
 .story-first-caption{font-size:0.875rem;line-height:1.7;letter-spacing:0}
 .story-keepsake{display:none}.story-collection{font-size:0.875rem;line-height:1.7;gap:5px;margin:0;min-height:44px;text-align:center}
 .story-hero .home-question{grid-column:1 / -1;grid-row:2}.story-hero .home-question-copy{padding:18px 0 0}
 .story-hero .home-question h2{font-size:1.375rem;margin:12px 0 8px}.story-hero .home-question-copy>p{font-size:0.875rem;margin-bottom:18px}
 .story-hero .home-other-questions{gap:8px}.home-story-view .home-private{font-size:0.875rem;line-height:1.9;margin:13px 3px 22px}
}
@media(max-width:360px){.story-hero{padding:20px 16px 16px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.story-intro h1{font-size:1.188rem}.story-intro>p:last-child{font-size:0.875rem}.story-hero .home-question h2{font-size:1.312rem}.story-first-caption{font-size:0.875rem}}
@media(prefers-reduced-motion:reduce){.story-entrance .story-art img,.story-entrance .story-trace,.story-entrance figcaption{animation:none}.story-keepsake{transition:none}}
@media(max-width:760px){
 .story-intro{display:contents}
 .story-intro .eyebrow{grid-column:1 / -1;grid-row:1;margin-bottom:12px}
 .story-intro h1{grid-column:1 / -1;grid-row:2;font-size:1.562rem;line-height:1.55;margin-bottom:16px}
 .story-intro>p:last-child{grid-column:1;grid-row:3;align-self:center;font-size:0.875rem;padding-right:10px;margin-bottom:18px}
 .story-scene{grid-column:2;grid-row:3;margin:-8px -8px 10px 0}
 .story-art{margin:0 -5px 0 -12px}
 .story-hero .home-question{grid-row:4}
 .story-collection{font-size:0.875rem;display:block;line-height:1.7;padding:7px 0}.story-collection span{display:none}
}
@media(max-width:360px){.story-intro h1{font-size:1.438rem}.story-intro>p:last-child{font-size:0.875rem}.story-collection{font-size:0.875rem}}

/* A quiet writing page: question, words, then one clear save action. */
dialog.writing-modal{width:min(680px,calc(100% - 28px));padding:34px 38px 0;scroll-padding-bottom:135px}
.writing-heading .eyebrow{padding-right:26px}.writing-heading .modal-title{font-size:1.688rem;line-height:1.7;margin:16px 0 8px}
.writing-heading .helper{margin:0 0 26px}
.writing-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.writing-label .field-label{margin:0;font-weight:600}.writing-label .pill{font-size:0.875rem;white-space:nowrap}
#editor textarea{display:block;min-height:220px;line-height:2.1;padding:18px 20px;background:#fffefa;border-color:#c8c4ba;scroll-margin-top:20px}
#editor textarea::placeholder{color:#596370;opacity:1}#editor textarea:focus{outline:2px solid var(--green);outline-offset:3px}
#editor .editor-bottom{font-size:0.875rem;line-height:1.7;gap:12px;margin:10px 0 0;min-height:22px}#editor #count{white-space:nowrap}
#editor .writing-draft-help{font-size:0.875rem;line-height:1.8;margin:9px 0 0}
.writing-warning{margin:0 0 12px}.writing-error{padding:12px 14px;border:1px solid #c5967f;border-radius:8px;background:#fff5ee;color:#823e2d;font-size:0.875rem;line-height:1.8}
.writing-footer{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:14px 0 22px;margin-top:22px;z-index:1}
.writing-private{font-size:0.875rem;color:var(--muted);margin:0 0 12px}.writing-footer .modal-actions{margin:0;align-items:center;gap:16px}
#save-story{min-width:180px}#save-story:disabled{opacity:.5;cursor:not-allowed}
.saved-preview{padding:20px 22px;margin:20px 0;border-left:3px solid #8993a0;background:#f1ebdf;border-radius:0 10px 10px 0;overflow-wrap:anywhere}
.saved-preview>p{font-size:0.875rem;color:var(--muted);margin:0 0 12px}.saved-preview blockquote{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif;font-size:1.125rem;line-height:1.9;margin:0;white-space:pre-wrap}
@media(max-width:760px){
 dialog.writing-modal{padding:30px 20px 0;max-height:94dvh;width:calc(100% - 20px);scroll-padding-bottom:164px}
 .writing-heading .eyebrow{font-size:0.875rem;letter-spacing:.06em}.writing-heading .modal-title{font-size:1.438rem;line-height:1.65;margin-top:17px}
 .writing-heading .helper{margin-bottom:22px;font-size:0.875rem}.writing-label{gap:8px}.writing-label .field-label{font-size:0.9375rem}.writing-label .pill{font-size:0.875rem}
 #editor textarea{min-height:200px;padding:14px;line-height:1.95}#editor .editor-bottom{font-size:0.875rem;gap:8px}#editor .editor-bottom span:first-child{max-width:none}
 .writing-footer{padding:12px 0 18px;margin-top:18px}.writing-private{font-size:0.875rem;line-height:1.8;margin-bottom:10px}
 .writing-footer .modal-actions{flex-direction:column-reverse;gap:6px;align-items:stretch}.writing-footer .modal-actions button{width:100%;min-height:44px}
 #editor .writing-draft-help{font-size:0.875rem}.saved-preview{padding:16px}.saved-preview blockquote{font-size:1rem}
}

/* Personal archive and a calm reading view. */
.archive-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}
.archive-header .eyebrow{margin-bottom:14px}.archive-header h1{margin:0 0 12px}.archive-header p{color:var(--muted);font-size:0.875rem;margin:0;max-width:540px}.archive-header>.button{flex-shrink:0}
.archive-controls{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:end;margin:22px 0 16px}.archive-sort{display:block;font-size:0.875rem;color:var(--muted)}.archive-sort select{display:block;margin-top:7px;font-size:0.875rem;min-height:52px}
.archive-filters{display:flex;flex-wrap:wrap;gap:8px}.archive-filters button{display:flex;align-items:center;gap:10px}.archive-filters button span{font-size:0.875rem;opacity:.8}
.archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.archive-card{display:flex;flex-direction:column;min-width:0;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:24px 26px;box-shadow:0 3px 0 #f1ebdf;transition:border-color .18s,box-shadow .18s;overflow-wrap:anywhere}
.archive-card:hover{border-color:#8993a0;box-shadow:0 5px 15px #2534490a}.archive-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:0.875rem;color:var(--muted);margin-bottom:18px}.archive-card-meta>span{color:#596370}.archive-card h2{font-size:1.375rem;line-height:1.75;margin:0 0 16px;font-weight:500}.archive-excerpt{white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:0.9375rem;line-height:1.95;margin:0 0 22px;color:#596370}
.archive-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-top:auto;font-size:0.875rem;color:var(--green)}.archive-card-foot>span:last-child{white-space:nowrap}.archive-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.archive-badges .pill{font-size:0.875rem}.is-shared{background:#e9edf1;color:#253449}.draft-indicator{font-size:0.875rem;color:#796647}
.archive-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding:18px 0 0;margin:34px 0 0;font-size:0.875rem}.archive-footer .text-button{font-size:0.875rem}
.archive-drafts{border:1px solid #c8c4ba;padding:12px 20px;margin:0 0 24px}.archive-drafts summary{font-size:0.9375rem;font-weight:500}.archive-drafts summary span{font-size:0.875rem;font-weight:400;margin-left:10px;color:#6f684f}.archive-drafts .helper{margin:5px 0 12px;font-size:0.875rem}.archive-drafts button b{display:block;color:#73654a;font-size:0.875rem;font-weight:400;margin-bottom:5px}.archive-drafts button>span:first-child{min-width:0}.archive-drafts small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.archive-empty img{opacity:.65;margin-bottom:20px}.archive-empty h2{font-size:1.562rem}.archive-empty p{max-width:430px;margin:0 auto 24px}.archive-notes{margin-top:28px}#record-count{margin:18px 0 14px}

dialog.reading-modal{width:min(740px,calc(100% - 28px));padding:24px 42px 28px}.reader-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-right:25px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:30px}.reader-top>span{font-size:0.875rem;color:var(--muted)}.reader-top button{font-size:0.875rem}
.reader-heading .eyebrow{font-size:0.875rem}.reader-heading .modal-title{font-size:1.812rem;line-height:1.8;margin:14px 0 18px}.reader-meta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;color:var(--muted);font-size:0.875rem}.reader-meta .pill{font-size:0.875rem}.reader-updated{font-size:0.875rem;color:var(--muted);margin:8px 0 0}
.reader-body{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif;font-size:1.188rem;line-height:2.15;margin:34px 0 38px;letter-spacing:.015em}
.reader-edit{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:20px;border-top:1px solid var(--line)}.reader-edit>span{font-size:0.875rem;color:var(--muted);max-width:340px}.reader-edit .button{flex-shrink:0}
.reader-history{margin:20px 0 0;padding:10px 0;border:0}.reader-history summary{font-size:0.875rem}.reader-history .helper{font-size:0.875rem}.reader-history article p{font-size:1rem}.reader-history small{font-size:0.875rem}
.reader-sharing{display:flex;justify-content:space-between;align-items:center;gap:22px;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:10px;padding:20px;margin-top:28px}.reader-sharing h3{font-size:0.9375rem;font-weight:500;margin:0 0 5px}.reader-sharing p{font-size:0.875rem;color:var(--muted);margin:0}.reader-sharing .button{flex-shrink:0;font-size:0.875rem}.reader-sharing ul{margin:8px 0 0;padding:0;list-style:none;font-size:0.875rem}.reader-sharing li{overflow-wrap:anywhere;margin-top:8px}.reader-sharing small{display:block;font-size:0.875rem;color:var(--muted)}
.reader-other{font-size:0.875rem;margin-top:18px}.reader-other summary{color:var(--muted)}.reader-other .helper{margin:4px 0;font-size:0.875rem}.reader-other .text-button{font-size:0.875rem}.reader-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.reader-bottom>.text-button{font-size:0.875rem}
.large-text .archive-excerpt{font-size:1.125rem}.large-text .reader-body{font-size:1.375rem}
@media(max-width:760px){
 .archive-header{display:block;margin-bottom:24px}.archive-header h1{font-size:1.75rem}.archive-header>.button{margin-top:18px}.archive-header .eyebrow{font-size:0.875rem}.archive-header p{font-size:0.875rem;line-height:1.9}
 .archive-controls{grid-template-columns:1fr;gap:12px}.archive-sort{display:flex;align-items:center;gap:14px}.archive-sort select{flex:1;min-width:0;margin:0;font-size:0.875rem;min-height:44px}.archive-controls input{font-size:1rem}
 .archive-filters{gap:6px}.archive-filters .filter{padding:8px 12px;font-size:0.875rem;gap:6px}.archive-filters button span{font-size:0.875rem}
 .archive-grid{grid-template-columns:1fr;gap:16px}.archive-card{padding:20px}.archive-card h2{font-size:1.312rem}.archive-card-meta{font-size:0.875rem;margin-bottom:14px}.archive-excerpt{font-size:0.9375rem;margin-bottom:18px}.archive-card-foot{font-size:0.875rem;gap:8px}.archive-card-foot .pill{font-size:0.875rem}.archive-badges{gap:4px}
 .archive-drafts{padding:10px 16px}.archive-drafts summary{font-size:0.875rem}.archive-drafts summary span{display:block;margin:0 0 0 16px}.archive-drafts button{display:block}.archive-drafts button>span:last-child{display:block;margin-top:8px;color:var(--green)}.archive-drafts small{font-size:0.875rem}
 .archive-empty{padding:30px 20px}.archive-empty h2{font-size:1.438rem}.archive-empty .button{white-space:normal}.archive-footer{margin-top:26px}.archive-footer button{font-size:0.875rem}
 dialog.reading-modal{width:calc(100% - 20px);padding:22px 22px 20px;max-height:94dvh}.reader-top{display:block;padding-right:26px;margin-bottom:24px}.reader-top>span{display:block;font-size:0.875rem}.reader-top button{padding:0;font-size:0.875rem}.reader-heading .modal-title{font-size:1.5rem;line-height:1.75;padding:0}.reader-meta{font-size:0.875rem;gap:8px}.reader-body{font-size:1.062rem;line-height:2.15;margin:28px 0 30px}
 .reader-edit{display:block}.reader-edit>span{display:block;font-size:0.875rem}.reader-edit .button{margin-top:12px}.reader-sharing{display:block;padding:18px}.reader-sharing .button{margin-top:14px;width:100%}.reader-sharing p{font-size:0.875rem}.reader-history summary{font-size:0.875rem}.reader-bottom{gap:10px}.reader-bottom .button{width:100%}
}
.archive-write-short{display:none}
@media(max-width:760px){
 .archive-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;margin-bottom:20px}.archive-header>div{display:contents}.archive-header .eyebrow{display:none}.archive-header h1{grid-column:1;grid-row:1;font-size:1.562rem;margin:0;letter-spacing:0}.archive-header p{grid-column:1 / -1;grid-row:2;font-size:0.875rem;margin:0}.archive-header>.archive-write{grid-column:2;grid-row:1;margin:0;min-height:44px;padding:9px 12px;font-size:0.875rem}.archive-header>.button:not(.archive-write){grid-column:1 / -1;grid-row:3;margin:0;justify-self:start}
 .archive-write-long{display:none}.archive-write-short{display:inline}.archive-controls{margin-top:18px;gap:10px}.archive-controls .search-label input{min-height:48px;padding:10px 12px}
}

/* A dedicated writing page; the text grows with the story. */
body.writing-page .sidebar,body.writing-page .topbar,body.writing-page .shell>footer{display:none}
body.writing-page .shell{margin-left:0;max-width:none;padding:0}
body.writing-page #main{padding:0;max-width:none;margin:0}
.writing-sheet{max-width:920px;margin:0 auto;padding:0 48px 32px}
.writer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;border-bottom:1px solid var(--line,#c8c4ba)}
.writer-toolbar .brand{display:flex;align-items:center;gap:9px;font-size:1.312rem;letter-spacing:2px}
.writing-sheet .writing-heading{margin:64px 0 34px}
.writing-sheet h1{font-family:var(--serif,"Yu Mincho",serif);font-size:2.125rem;line-height:1.65;font-weight:500;overflow-wrap:anywhere}
.writing-sheet #entry-text{width:100%;min-height:300px;max-height:none;overflow:hidden;resize:none;border:0;border-radius:0;background:transparent;padding:20px 0;font-size:1.188rem;line-height:2.1;box-shadow:none}
.writing-sheet #entry-text:focus{outline:2px solid #596370;outline-offset:8px}
.writing-sheet .writing-footer{position:sticky;bottom:0;background:#faf8f3f5;border-top:1px solid #c8c4ba;padding:16px 0;backdrop-filter:blur(8px);display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:3}
.writing-sheet .writing-footer .modal-actions{margin:0;flex-shrink:0}
.writing-sheet .writing-private{font-size:0.875rem;max-width:300px;margin:0}
.photo-attachment{margin:28px 0 24px;padding-top:24px;border-top:1px solid #c8c4ba}
.photo-attachment h2{font-size:1.25rem;font-weight:500;margin:0}
.photo-attachment .section-top{margin:0}
.photo-picker{display:block;position:relative;text-align:center;border:1px dashed #8993a0;border-radius:12px;padding:22px;cursor:pointer;color:#596370;background:#f1ebdf}
.photo-picker span{display:block;font-weight:600;font-size:1rem}
.photo-picker small{display:block;font-size:0.875rem;margin:5px 0}
.photo-picker input{display:block;max-width:100%;width:auto;margin:10px auto 0;border:0;background:transparent;font-size:0.875rem;padding:4px}
.photo-picker.dragging{outline:3px solid #596370}
.photo-format{font-size:0.875rem;line-height:1.7}
.attached-photo{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:20px;padding:16px 0;border-top:1px solid #c8c4ba}
.attached-photo>img{width:160px;height:130px;object-fit:contain;border-radius:8px;background:#f1ebdf}
.attached-photo label{display:block;margin-bottom:8px}
.attached-photo label small{font-size:0.875rem;color:#596370}
.attached-photo input{width:100%;box-sizing:border-box}
.photo-actions{display:flex;gap:16px;justify-content:flex-end;flex-wrap:wrap;margin-top:4px}
.photo-actions button{min-height:44px;font-size:0.875rem}
#photo-status{font-size:0.875rem;color:#596370}
.photo-gallery{display:grid;gap:28px;margin:30px 0}
.photo-gallery figure{margin:0}
.photo-gallery img{display:block;width:100%;max-height:640px;object-fit:contain;border-radius:8px;background:#f1ebdf}
.photo-gallery figcaption{margin:10px 0;color:#596370;font-size:0.875rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.photo-gallery.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.photo-gallery.compact img{max-height:220px}
.archive-photo{width:100%;height:160px;object-fit:cover;border-radius:6px;margin:14px 0 0}
.large-text .writing-sheet #entry-text{font-size:1.375rem}
@media(max-width:650px){
 .writing-sheet{padding:0 22px 12px}.writer-toolbar{gap:8px;padding:14px 0}.writer-toolbar .brand{font-size:1rem;letter-spacing:1px}.writer-toolbar .brand img{width:26px;height:26px}.writer-toolbar .pill{font-size:0.875rem;padding:5px 7px}.writer-toolbar>button{font-size:0.875rem;padding:5px}
 .writing-sheet .writing-heading{margin:36px 0 24px}.writing-sheet h1{font-size:1.625rem}.writing-sheet #entry-text{font-size:1.062rem;min-height:260px;line-height:2}
 .writing-sheet .writing-footer{display:block;padding:10px 0 calc(10px + env(safe-area-inset-bottom))}.writing-sheet .writing-private{max-width:none;margin-bottom:6px;font-size:0.875rem}.writing-sheet .writing-footer .modal-actions{display:flex;gap:10px}.writing-sheet #save-story{flex:1;min-height:48px}.writing-sheet #draft-close{font-size:0.875rem;max-width:110px}
 .attached-photo{grid-template-columns:1fr;gap:12px}.attached-photo>img{width:100%;height:200px}.photo-gallery.compact{grid-template-columns:1fr}.photo-picker small{display:none}.photo-picker{padding:16px 10px}.photo-attachment h2{font-size:1.125rem}
}

.writing-sheet h1:focus{outline:none}
.writing-sheet .writing-heading{margin-top:44px}
.writing-sheet #entry-text{min-height:220px}
.photo-picker input{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;opacity:0;cursor:pointer}
.photo-picker:focus-within{outline:2px solid #596370;outline-offset:3px}
.photo-picker:has(input:disabled){opacity:.55;cursor:default}
@media(max-width:650px){.writing-sheet .writing-heading{margin-top:30px}.writing-sheet #entry-text{min-height:220px}}
@media(max-width:650px){
 .writer-toolbar .brand-word{font-size:1.125rem;letter-spacing:1.5px}.writer-toolbar .brand{gap:6px;flex-shrink:0}.writer-toolbar .pill,.writer-toolbar>button{white-space:nowrap;flex-shrink:0}.writer-toolbar .pill{font-size:0.875rem;padding:4px 6px}.writer-toolbar{gap:6px}
}
@media(max-width:650px){
 .writing-sheet .writing-footer .modal-actions{flex-direction:row;flex-wrap:nowrap;align-items:center}.writing-sheet .writing-footer .modal-actions button{width:auto}.writing-sheet #draft-close{flex:0 1 105px}.writing-sheet #save-story{padding-left:12px;padding-right:12px}
 body.writing-page .shell{margin-bottom:0}
}

/* Share one story: choose people first, then review the exact text and photos. */
dialog.sharing-modal{width:min(720px,calc(100% - 28px));padding:34px 38px 18px;scroll-padding-bottom:100px}
#share-flow{min-width:0}#share-flow .modal-title{line-height:1.6;margin-bottom:20px;padding-right:22px}
.share-steps{display:flex;gap:24px;list-style:none;padding:0 0 22px;margin:0 0 24px;border-bottom:1px solid var(--line);color:var(--muted);font-size:0.875rem}.share-steps li{display:flex;align-items:center;gap:8px}.share-steps span{display:grid;place-items:center;border:1px solid #c8c4ba;border-radius:50%;width:27px;height:27px;flex:none}.share-steps [aria-current]{color:var(--green);font-weight:600}.share-steps [aria-current] span{background:var(--green);color:white;border-color:var(--green)}
.share-intro{font-size:1rem;line-height:1.9}.share-story-summary{display:flex;gap:16px;align-items:center;padding:18px;background:#f1ebdf;border-radius:10px;margin:20px 0}.share-story-summary img{width:76px;height:76px;object-fit:cover;border-radius:6px;flex:none}.share-story-summary>div{min-width:0}.share-story-summary .eyebrow{font-size:0.875rem}.share-story-summary h3{font-family:inherit;font-size:1rem;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}.share-story-summary p{font-size:0.875rem;margin:0;color:var(--muted)}
#share-flow .audience-field{border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 0;margin-top:26px}#share-flow .audience-field legend{font-weight:600;padding:0 12px 0 0}#share-flow .audience-field label{border:1px solid var(--line);border-radius:8px;margin:8px 0;padding:14px;gap:14px;overflow-wrap:anywhere}#share-flow .audience-field label:has(input:checked){border-color:var(--green);background:#e9edf1}#share-flow .audience-field small{font-size:0.875rem;margin-top:5px}#share-flow .audience-field input{width:22px;height:22px}
.share-empty{padding:12px 0;font-size:0.9375rem;line-height:1.9}.share-empty h3{font-size:1.062rem}.share-empty .button{margin-top:8px}
.share-footer{position:sticky;bottom:-18px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;margin:24px 0 0;border-top:1px solid var(--line);background:var(--paper);box-shadow:0 -8px 18px var(--paper);z-index:2}.share-footer button{white-space:normal}.share-return{margin-top:16px}.share-destination{padding:18px 20px;background:#e9edf1;border-radius:10px}.share-destination h3{margin:0 0 10px;font-size:0.9375rem;font-family:inherit}.share-people{list-style:none;margin:0;padding:0;display:grid;gap:10px}.share-people li{display:flex;align-items:baseline;gap:6px 16px;flex-wrap:wrap;overflow-wrap:anywhere}.share-people span{font-size:1.062rem;font-weight:500}.share-people small{font-size:0.875rem;color:var(--muted)}
#share-flow .share-preview{background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin:24px 0}#share-flow .share-preview h4{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:1.438rem;line-height:1.8}#share-flow .share-text{font-size:1.062rem;line-height:2}.share-photo-count{font-size:0.875rem;color:var(--green);margin:26px 0 0}#share-flow .photo-gallery{margin:16px 0 0;gap:24px}#share-flow .photo-gallery img{max-height:400px}#share-flow figcaption>span{font-size:0.875rem;color:var(--muted)}#share-flow figcaption>p{margin:4px 0 0}#share-photo-status:empty{display:none}#share-photo-status{font-size:0.875rem;color:#924329;line-height:1.8}
.share-rules{margin:16px 0;font-size:0.875rem;line-height:1.9}.share-rules summary{color:var(--green);font-weight:500}.share-rules p{margin:8px 0}.share-success-mark{width:48px;height:48px;display:grid;place-items:center;background:#e8efdd;color:var(--green);border-radius:50%;font-size:1.562rem;margin:0 0 24px}.share-complete>p{line-height:1.9}.share-receipt{padding:20px;border:1px solid var(--line);border-radius:10px;margin:24px 0}.share-receipt h3{font-size:1.125rem;line-height:1.8;margin:0 0 8px}.share-receipt p{font-size:0.875rem;margin:0;color:var(--muted)}
@media(max-width:760px){dialog.sharing-modal{width:calc(100% - 16px);padding:30px 20px 16px;max-height:94dvh;scroll-padding-bottom:150px}.share-steps{gap:16px;font-size:0.875rem}.share-story-summary{padding:14px;gap:12px}.share-story-summary img{width:54px;height:68px}.share-story-summary h3{font-size:0.9375rem}.share-footer{bottom:-16px;flex-direction:column-reverse;align-items:stretch;padding:12px 0;gap:4px}.share-footer .button{width:100%}.share-footer .text-button{width:100%}.share-destination{padding:16px}#share-flow .share-preview h4{font-size:1.312rem}#share-flow .share-text{font-size:1rem}.share-return{width:100%}.share-people li{display:block}.share-people small{display:block;margin-top:4px}}

@media(max-width:760px){#share-flow .modal-title{padding-right:12px;margin-bottom:16px}.share-steps{margin-bottom:16px;padding-bottom:16px}.share-intro{font-size:0.875rem}.share-story-summary{margin:16px 0;padding:12px}#share-flow .audience-field{margin-top:18px}}

/* Continue from a story through invitation, participation, and explicit sharing. */
.sharing-setup{padding:28px;background:var(--paper);border:1px solid #c8c4ba;border-radius:14px;margin:24px 0 36px}.sharing-setup h2{font-size:1.562rem;margin:12px 0 20px;line-height:1.6}.setup-story{padding:16px 18px;background:#e9edf1;border-radius:8px;display:grid;gap:6px;margin-bottom:22px;overflow-wrap:anywhere}.setup-story span,.setup-story small{font-size:0.875rem;color:var(--muted)}.setup-story strong{font-weight:500;font-size:1.062rem;line-height:1.8}.setup-steps{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.setup-steps li{min-width:0}.setup-steps b{display:block;font-size:0.9375rem;color:var(--green);margin-bottom:10px}.setup-steps span{font-size:0.875rem;color:var(--muted);line-height:1.9;display:block}.setup-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.sharing-setup>.helper{margin:18px 0 0}.invite-next{padding-left:24px;margin:24px 0;font-size:0.9375rem;line-height:1.9}.invite-next li{margin:12px 0}.invite-group-options{display:grid;gap:12px}.invite-group-options button{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.sharing-setup{padding:20px 18px;margin:20px 0 28px}.sharing-setup h2{font-size:1.375rem}.setup-steps{grid-template-columns:1fr;gap:16px}.setup-steps b{margin-bottom:5px}.setup-actions{align-items:stretch;flex-direction:column}.setup-actions .button{width:100%;white-space:normal}.setup-story{padding:14px}.setup-story strong{font-size:1rem}}

/* People first: a visual invitation, then actual members and a clear next action. */
.people-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:4px 0 24px}.people-hero h1{font-size:2.375rem;margin:10px 0 12px}.people-hero-copy>p{font-size:1.062rem;line-height:1.9;margin-bottom:24px;color:#596370}.people-hero-copy>.button{gap:10px;font-size:0.9375rem;padding:12px 22px}.people-hero .button svg{width:23px;height:23px}.people-promise{display:flex;align-items:center;gap:7px;font-size:0.875rem;margin-top:13px;color:#596370}.people-promise svg{width:17px;height:17px;flex:none}.people-scene{margin:0;max-width:440px;justify-self:center}.people-scene img{display:block;width:100%;height:auto;animation:people-arrive .65s ease-out both}.people-scene figcaption{text-align:center;font-family:'Noto Serif JP',serif;font-size:0.875rem;color:#596370;margin-top:2px;letter-spacing:.06em}
.people-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;padding:23px 0;margin:4px 0 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.people-flow li{display:flex;gap:13px;align-items:center;position:relative;min-width:0}.people-flow li:not(:last-child):after{content:'›';position:absolute;right:-15px;color:#596370;font-size:1.438rem}.people-step-icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;background:#e9edf1;color:#596370;flex:none}.people-step-icon svg{width:27px;height:27px}.people-flow li:nth-child(2) .people-step-icon{background:#f1ebdf;color:#7e5f43}.people-flow li:nth-child(3) .people-step-icon{background:#e9edf1;color:#596370}.people-step-number{font-size:0.875rem;color:#596370;letter-spacing:.12em}.people-flow h2{font-family:inherit;font-weight:500;font-size:0.875rem;line-height:1.6;margin:0 0 3px}.people-flow p{font-size:0.875rem;line-height:1.7;color:#596370;margin:0}
.people-next.sharing-setup{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 24px;margin:0 0 30px;border-radius:12px;background:#e9edf1;border-color:#c8c4ba}.people-next-copy{min-width:0;flex:1}.people-next-label{font-size:0.875rem;color:#596370}.people-next h2{font-size:1.312rem;margin:4px 0 7px}.people-next p{font-size:0.875rem;color:#596370;margin:0}.people-next .setup-actions{flex-direction:column;flex-shrink:0;gap:4px;max-width:44%}.people-next .setup-actions .button{white-space:normal;gap:6px}.people-next .setup-story{background:#fffef9a6;border-left:2px solid #8993a0;border-radius:0;padding:9px 12px;margin:13px 0}.people-next .setup-story strong{font-size:0.9375rem}.people-next .setup-story small{font-size:0.875rem}
.people-groups .section-top{gap:20px;align-items:flex-start}.people-groups .section-top>button{flex:none}.people-groups .section-top h2{font-size:1.438rem}.people-groups .section-top h2 small{font-size:0.875rem;line-height:1.8;margin-top:7px;color:#596370}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.people-group{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:23px;display:flex;flex-direction:column;min-width:0}.people-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.people-group-state{font-size:0.875rem;color:#746048}.people-group-state.is-ready{color:#596370}.people-group-state:before{content:'';display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:6px}.people-group h3{font-family:'Noto Serif JP',serif;font-size:1.375rem;font-weight:500;line-height:1.7;margin:16px 0;overflow-wrap:anywhere}.people-members{list-style:none;padding:0;margin:0;display:flex;gap:16px;flex-wrap:wrap}.people-members li{display:flex;align-items:center;gap:9px;min-width:0;max-width:100%;font-size:0.875rem;line-height:1.5;overflow-wrap:anywhere}.people-members small{display:block;font-size:0.875rem;color:#596370;margin-top:3px}.member-portrait{display:flex;align-items:center;justify-content:center;flex:none;width:39px;height:43px;border-radius:45% 45% 40% 40%;font-size:1rem;font-family:'Noto Serif JP',serif}.tone-0{background:#e4ebd9;color:#5b6f4c}.tone-1{background:#f2e4d7;color:#7f5f47}.tone-2{background:#e2e9eb;color:#516c6e}.people-waiting{font-size:0.875rem;color:#696450;margin:17px 0 0}.people-group-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:24px}.people-group-actions .button{gap:6px}.people-group-actions .text-button{font-size:0.875rem}.people-group-foot{margin-top:18px;border-top:1px solid var(--line);padding-top:8px}.people-group-foot .text-button{color:#596370;font-size:0.875rem}.people-empty{display:flex;align-items:center;gap:20px;border:1px dashed #c8c4ba;background:#f1ebdf;padding:25px;border-radius:12px}.people-empty-icon{flex:none;color:#596370}.people-empty-icon svg{width:48px;height:48px}.people-empty h3{font-family:'Noto Serif JP',serif;font-size:1.25rem;font-weight:500;margin:0 0 6px}.people-empty p{font-size:0.875rem;color:#596370;margin:0}.people-solo{margin:30px 0 0;border-top:1px solid var(--line);padding-top:20px;color:#596370}.people-solo summary{cursor:pointer;font-size:0.875rem}.people-solo>p{font-size:0.875rem;margin:12px 0}.people-solo .member-row{gap:12px;flex-wrap:wrap}.people-solo .member-row>div{display:flex;gap:18px}
.invite-sheet{min-width:0}.invite-heading-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#f1ebdf;color:#596370;margin-bottom:20px}.invite-heading-icon svg{width:29px;height:29px}.invite-sheet .modal-title{font-size:1.75rem;line-height:1.6;margin:8px 0 14px}.invite-group-label{font-size:0.875rem;color:#596370;padding-bottom:16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.invite-group-label strong{font-weight:500;color:var(--ink)}.invite-sheet .field-label{font-size:0.875rem;margin-top:21px}.invite-sheet input{width:100%;min-height:48px;border:1px solid #c8c4ba;border-radius:8px;padding:10px 12px;background:var(--paper);font-size:1rem}.invite-sheet .helper{font-size:0.875rem;line-height:1.7;margin:7px 0 0;color:#596370}.invite-submit{margin-top:27px}.invite-submit .button,.invite-copy{width:100%;font-size:0.9375rem;min-height:48px;gap:8px}.invite-submit>p{font-size:0.875rem;text-align:center;line-height:1.8;margin:12px 0 18px;color:#596370}.invite-details{border-top:1px solid var(--line);padding-top:15px;font-size:0.875rem;color:#596370}.invite-details summary{cursor:pointer;padding:4px 0}.invite-details p{line-height:1.9;margin:10px 0 0}.invite-address{background:#f1ebdf;border-radius:9px;padding:14px 16px;margin:20px 0;display:grid;gap:4px;overflow-wrap:anywhere}.invite-address>span,.invite-address small{font-size:0.875rem;color:#596370}.invite-address strong{font-size:1rem;font-weight:500}.invite-sheet #invite-link{font-size:0.875rem;min-height:70px;line-height:1.7;padding:10px;margin-bottom:13px;word-break:break-all}.invite-copy-status{font-size:0.875rem;line-height:1.7;color:#596370;margin:10px 0 4px}.invite-after{border-top:1px solid var(--line);margin-top:24px;padding-top:22px;display:flex;gap:13px;align-items:flex-start}.invite-after-icon{color:#596370;flex:none}.invite-after-icon svg{width:31px;height:31px}.invite-after h3{font-family:inherit;font-size:0.875rem;font-weight:500;margin:0 0 4px}.invite-after p{font-size:0.875rem;color:#596370;margin:0 0 4px}.invite-after .text-button{font-size:0.875rem}
@keyframes people-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.people-scene img{animation:none}}
@media(min-width:761px) and (max-width:1100px){.people-hero{gap:12px}.people-flow{gap:14px}.people-flow li{gap:8px}.people-step-icon{width:38px;height:38px}.people-step-icon svg{width:23px;height:23px}.people-flow h2{font-size:0.875rem}.people-flow p{font-size:0.875rem}.people-next.sharing-setup{gap:16px;padding:18px}.people-grid{gap:14px}.people-group{padding:18px}}
@media(max-width:760px){.people-hero{grid-template-columns:1fr;gap:10px;padding:0 0 15px}.people-hero h1{font-size:1.875rem;margin:7px 0 9px}.people-hero-copy>p{font-size:0.9375rem;margin-bottom:17px}.people-hero-copy>.button{font-size:0.875rem;min-height:46px}.people-promise{font-size:0.875rem;margin-top:11px}.people-scene{width:min(100%,310px);margin-top:-3px}.people-scene figcaption{font-size:0.875rem}.people-flow{grid-template-columns:1fr;gap:15px;padding:19px 0;margin-bottom:21px}.people-flow li{gap:15px}.people-flow li:not(:last-child):after{display:none}.people-step-icon{width:43px;height:43px}.people-step-icon svg{width:24px;height:24px}.people-flow li>div{display:grid;grid-template-columns:auto 1fr;gap:0 7px;align-items:baseline}.people-step-number{font-size:0.875rem}.people-flow h2{font-size:0.875rem}.people-flow p{grid-column:2;font-size:0.875rem}.people-next.sharing-setup{flex-direction:column;align-items:stretch;padding:19px;gap:15px;margin-bottom:23px}.people-next h2{font-size:1.25rem}.people-next .setup-actions{max-width:none;align-items:stretch}.people-next .setup-actions .button{font-size:0.875rem}.people-groups .section-top{display:block;margin-top:25px}.people-groups .section-top h2{font-size:1.312rem}.people-groups .section-top>button{margin-top:10px}.people-grid{grid-template-columns:1fr;gap:16px}.people-group{padding:20px}.people-group h3{font-size:1.312rem}.people-group-actions{gap:8px 16px;padding-top:21px}.people-empty{padding:20px 17px;gap:12px;align-items:flex-start}.people-empty-icon svg{width:34px;height:34px}.people-empty h3{font-size:1.062rem}.people-empty p{font-size:0.875rem}.invite-heading-icon{width:44px;height:44px;margin-bottom:14px}.invite-heading-icon svg{width:25px;height:25px}.invite-sheet .modal-title{font-size:1.5rem}.invite-sheet .field-label{margin-top:18px;font-size:0.875rem}.invite-sheet .helper{font-size:0.875rem}.invite-sheet>p{font-size:0.875rem}.invite-submit{margin-top:23px}.invite-submit>p{font-size:0.875rem}.invite-after{gap:10px}.invite-after h3{font-size:0.875rem}.invite-address strong{font-size:0.875rem}}
.large-text .people-flow h2,.large-text .people-members li,.large-text .invite-sheet .field-label{font-size:1.062rem}.large-text .people-flow p,.large-text .people-next p,.large-text .invite-sheet .helper,.large-text .invite-submit>p{font-size:0.875rem}

@media(max-width:480px){.invite-sheet .modal-actions{flex-direction:column-reverse;align-items:stretch}.invite-sheet .modal-actions .button{width:100%}}

/* Group reading and sharing stay in one place. */
.group-room{max-width:1080px;margin:auto}.group-room-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.group-room-header h1{overflow-wrap:anywhere;margin:10px 0}.group-room-header p{color:var(--muted);line-height:1.7}.group-room-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:36px}.group-room section{margin:30px 0}.group-room-empty{background:#f1ebdf;border-radius:20px;padding:30px;text-align:center}.group-room-empty>span{display:block;width:40px;margin:auto;color:#596370}.group-room-empty p{max-width:540px;margin:12px auto;line-height:1.8}.group-story-choice{display:flex;align-items:center;width:100%;text-align:left;gap:16px;padding:20px 0;border:0;border-bottom:1px solid #f1ebdf;background:transparent;color:inherit;cursor:pointer}.group-story-choice>span:first-of-type{flex:1;min-width:0}.group-story-choice strong,.group-story-choice small{display:block;overflow-wrap:anywhere}.group-story-choice strong{font-size:1.062rem;line-height:1.6}.group-story-choice small{color:#596370;line-height:1.7;margin-top:6px}.group-story-choice img{width:64px;height:70px;object-fit:cover;border-radius:8px}.share-inline-preview{border-top:1px solid #f1ebdf;margin-top:24px;padding-top:20px}.share-inline-preview .share-text{max-height:220px;overflow:auto;white-space:pre-wrap}.share-inline-preview .photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.share-inline-preview .photo-gallery img{height:180px;width:100%;object-fit:contain;background:#f1ebdf}.share-inline-preview h3{font-size:1rem}.group-room .cards{margin-top:16px}
@media(max-width:600px){.group-room-header{display:block}.group-room-header h1{font-size:1.75rem}.group-room-actions>.button{width:100%}.group-room-empty{padding:24px 18px}.share-inline-preview .photo-gallery{grid-template-columns:1fr}.group-story-choice{gap:10px}.group-story-choice img{width:48px;height:60px}}

/* People's stories lead the home feed, with a shared visual language for photos. */
.story-card:has(.story-card-content){padding:0;overflow:hidden;display:flex;flex-direction:column;text-align:left;width:100%;height:100%}.story-card-content{padding:24px;min-width:0;display:flex;flex-direction:column;flex:1}.story-card-content h3{margin:18px 0 10px}.story-card-content>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 20px}.story-card-content .card-foot{margin-top:auto}.story-card-content .person{gap:10px;align-items:center}.story-card-content .person>span:nth-child(2){flex:1;min-width:0}.story-cover{position:relative;aspect-ratio:16/9;width:100%;background:#e9edf1;flex:none}.story-cover img{width:100%;height:100%;object-fit:cover;display:block}.story-cover>span{position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:20px;background:#fffef9eb;color:#253449;font-size:0.875rem}.cover-unavailable{min-height:100px;background:linear-gradient(135deg,#e9edf1,#f1ebdf)}.cover-unavailable img[hidden]{display:none}.unread-badge,.nav-unread{display:inline-flex;align-items:center;justify-content:center;background:#e9edf1;color:#253449;border:1px solid #c8c4ba;border-radius:20px;padding:3px 9px;font:500 12px/1.6 'Noto Sans JP',sans-serif;white-space:nowrap}.unread-story{border-color:#8993a0}.nav-unread{margin-left:auto;min-width:24px;padding:1px 6px}.home-feed{padding:24px 0 36px;border-bottom:1px solid var(--line);margin-bottom:36px}.home-feed .section-top{align-items:center;margin:0 0 22px}.home-feed h2{font-size:1.688rem;display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0}.home-feed .helper{margin:8px 0}.home-feed-cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.home-feed-cards .story-card-content{padding:20px}.home-feed-cards .story-card h3{font-size:1.188rem}.home-feed>.text-button{margin-top:12px}.feed-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:24px 0 12px}.feed-toolbar .filters{margin:0;display:flex;flex-wrap:wrap;gap:8px}.group-timeline{display:grid;gap:22px;max-width:880px;margin:24px 0}.group-timeline>.story-card.has-cover{display:grid;grid-template-columns:240px minmax(0,1fr)}.group-timeline .story-cover{height:100%;min-height:230px;aspect-ratio:auto}.group-timeline .story-card h3{margin-top:15px}.question-thread{border-top:1px solid var(--line);padding-top:28px}.question-thread>header{display:flex;justify-content:space-between;align-items:center;gap:16px}.question-thread h2{font-size:1.562rem;line-height:1.6;margin:8px 0}.question-thread .cards{align-items:stretch}.group-privacy{margin:28px 0}.group-exit-footer{border-top:1px solid var(--line);padding-top:18px;margin-top:36px}.group-exit-footer p{font-size:0.875rem;margin-top:4px}.people-group-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.people-group-foot .danger{font-size:0.875rem}.exit-consent{display:flex;align-items:center;gap:12px;margin:24px 0;line-height:1.8}.exit-consent input{width:22px;height:22px;flex:none;accent-color:#8b4d3e}.danger-button{background:#854b3f;border-color:#854b3f}.danger-button:hover{background:#6f3b31}
@media(max-width:700px){.home-feed{padding-top:8px}.home-feed h2{font-size:1.5rem}.home-feed-cards{grid-template-columns:1fr}.home-feed-cards .story-card.has-cover{display:grid;grid-template-columns:100px minmax(0,1fr)}.home-feed-cards .story-cover{height:100%;aspect-ratio:auto}.home-feed-cards .story-card-content{padding:16px}.home-feed-cards .person .avatar{display:none}.home-feed-cards .person{flex-wrap:wrap}.home-feed-cards .story-card h3{font-size:1.062rem}.home-feed-cards .story-card-content>p{-webkit-line-clamp:2}.home-feed-cards .card-foot>span:first-child{display:none}.group-timeline>.story-card.has-cover{display:flex}.group-timeline .story-cover{aspect-ratio:16/9;min-height:0;height:auto}.question-thread>header{display:block}.question-thread h2{font-size:1.375rem}.story-card-content{padding:20px}.group-room-actions{margin-bottom:22px}.group-room-header{margin-bottom:18px}.nav-unread{font-size:0.875rem;min-width:18px;padding:0 4px;margin:0 0 0 4px}}
@media(min-width:701px){.home-feed-cards>.story-card.has-cover:only-child{display:grid;grid-template-columns:260px minmax(0,1fr)}.home-feed-cards>.story-card.has-cover:only-child .story-cover{aspect-ratio:auto;height:100%;min-height:240px}.home-feed-cards>.story-card:only-child .story-card-content{padding:24px}}
.question-thread .cards{align-items:start}.question-thread .story-card{height:auto}.question-thread .story-cover{height:180px;aspect-ratio:auto}
@media(max-width:360px){.home-feed-cards .story-card.has-cover{display:flex}.home-feed-cards .story-cover{height:140px;aspect-ratio:auto}.home-feed-cards .story-card-content{padding:18px}.home-feed .section-top{gap:4px}}

/* A story opens a private, two-person conversation. */
.home-conversations{margin:0 0 32px;padding:24px;border:1px solid #e9edf1;border-radius:22px;background:#e9edf1}.home-conversations h2{margin:4px 0}.conversation-preview{display:flex;align-items:center;gap:16px;width:100%;padding:18px 4px;border:0;border-top:1px solid #e9edf1;background:transparent;text-align:left;color:inherit;cursor:pointer}.conversation-preview>span:nth-child(2){min-width:0;flex:1}.conversation-preview strong,.conversation-preview small,.conversation-excerpt{display:block}.conversation-preview small{margin:6px 0;color:#596370;font-size:0.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-excerpt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-symbol{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#e9edf1;color:#253449;font-size:1.5rem}.story-conversation{margin:38px 0;padding:28px;background:#e9edf1;border:1px solid #e9edf1;border-radius:22px;scroll-margin:24px}.conversation-heading{display:flex;gap:14px;align-items:flex-start}.conversation-heading h3{font-size:1.438rem;margin:0 0 8px}.conversation-heading p{margin:0;font-size:0.875rem;color:#253449;line-height:1.8}.conversation-group{font-size:0.875rem;color:#596370;margin:10px 0 10px 56px}.conversation-select{display:block;margin:20px 0;font-size:0.875rem}.conversation-select select{display:block;width:100%;margin-top:8px}.conversation-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;margin:14px 0}.conversation-toolbar button{font-size:0.875rem;min-height:40px}.conversation-log{display:flex;flex-direction:column;gap:16px}.conversation-message{max-width:90%;align-self:flex-start;border:1px solid #e9edf1;border-radius:16px 16px 16px 4px;background:#fff;padding:16px 18px;min-width:0}.conversation-message.from-me{align-self:flex-end;border-radius:16px 16px 4px 16px;background:#e9edf1;border-color:#c8c4ba}.conversation-message header{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:0.875rem}.conversation-message time{font-size:0.875rem;color:#596370}.conversation-message p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.comment-remove{display:block;font-size:0.875rem;margin-top:8px;min-height:36px}.conversation-empty{text-align:center;color:#596370;padding:15px 5px}.conversation-empty>span{font:52px Georgia,serif;line-height:1}.conversation-empty p{margin:0}.conversation-form{margin-top:26px}.conversation-form>label{font-weight:600;display:block;margin-bottom:10px}.conversation-form textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:120px;background:#fff;border:1px solid #8993a0;border-radius:12px;padding:14px;font:inherit;line-height:1.8}.conversation-prompts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;font-size:0.875rem;color:#596370}.conversation-prompts button{background:#fff;border:1px solid #c8c4ba;border-radius:18px;padding:9px 12px;color:#253449;cursor:pointer;font:inherit;min-height:38px}.conversation-send{display:flex;justify-content:space-between;align-items:center;gap:12px}.conversation-send small{color:#596370}.conversation-status{font-size:0.875rem;line-height:1.8;min-height:1em}.conversation-rules{font-size:0.875rem;color:#596370;line-height:1.9;margin-top:18px}.conversation-rules summary{cursor:pointer;min-height:36px}.home-conversations details summary{cursor:pointer;padding:12px 0}.story-conversation [hidden]{display:none}
@media(max-width:540px){.story-conversation{padding:18px 14px;margin:28px -4px;border-radius:16px}.conversation-heading{gap:10px}.conversation-heading h3{font-size:1.25rem}.conversation-heading .conversation-symbol{width:32px;height:32px;font-size:1.25rem}.conversation-message{max-width:96%;padding:13px}.conversation-group{margin-left:42px}.conversation-send{flex-wrap:wrap}.conversation-send .button{width:100%}.home-conversations{padding:18px 14px}.conversation-preview{gap:10px}.conversation-preview .conversation-symbol{width:30px;height:30px}.conversation-preview strong{font-size:0.875rem}}

/* Home: writing a personal story and reading loved ones have equal entrances. */
.home-welcome{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr);align-items:center;gap:20px;padding:12px 12px 22px}.home-welcome .eyebrow{color:#766347;margin:0 0 14px;font-size:0.875rem}.home-welcome h1{font-size:clamp(1.625rem,2.5vw,2.25rem);line-height:1.65;letter-spacing:.025em;color:#253449;margin:0 0 14px}.home-welcome p:last-child{font-size:0.875rem;line-height:1.95;color:var(--muted);margin:0}.home-welcome>img{width:100%;height:auto;max-height:240px;object-fit:contain;mix-blend-mode:multiply}
.home-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.home-shortcuts button{display:flex;align-items:center;gap:14px;min-height:44px;border:1px solid #c8c4ba;border-radius:30px;background:#fffdf7;color:#253449;padding:10px 18px;font-size:0.875rem}.home-shortcuts button:hover{background:#e9edf1}
.home-paths{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:32px}.home-path{min-width:0;border:1px solid #c8c4ba;border-radius:20px;padding:28px;background:#f1ebdf}.home-reading{background:#f1ebdf;border-color:#c8c4ba}.home-path-label{color:#72654b;font-size:0.875rem;letter-spacing:.08em}.home-path>header h2{font-size:1.5rem;line-height:1.6;margin:9px 0;color:#253449}.home-path>header p{font-size:0.875rem;line-height:1.9;color:var(--muted);margin:0 0 24px}.home-path :is(h2,h3){scroll-margin-top:28px}.home-path .home-growing-question{display:block;border:0;border-radius:0;background:none}.home-path .home-question-copy{padding:0}.home-growing-question h3{font-family:'Noto Serif JP',serif;font-size:1.562rem;line-height:1.75;margin:16px 0 10px;font-weight:500}.home-growing-question .home-question-copy>p{font-size:0.875rem;line-height:1.9;margin-bottom:22px}.home-path .button{width:100%;justify-content:center;gap:12px;font-size:0.875rem}.home-path .home-other-questions{justify-content:space-between;gap:8px}.home-path .home-other-questions .text-button{font-size:0.875rem}.home-path-note{font-size:0.875rem;line-height:1.9;color:var(--muted);margin:20px 0 0}.home-reading-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:0.875rem;color:var(--muted);margin-bottom:14px}.home-reading .story-card{width:100%;margin:0 0 18px;background:#fffdf8}.home-reading .story-card-content{padding:20px}.home-reading .story-cover{aspect-ratio:2/1}.home-reading .story-card p{-webkit-line-clamp:3}.home-reading-empty{text-align:center;margin-bottom:22px}.home-reading-empty img{display:block;width:100%;max-width:220px;height:130px;object-fit:contain;margin:0 auto 12px}.home-reading-empty h3{font-size:1.125rem;line-height:1.7;margin:12px 0}.home-reading-empty p{font-size:0.875rem;line-height:1.9;color:var(--muted);margin:0}.home-draft{padding:20px;background:#fffaf0;border:1px solid #c8c4ba;border-radius:12px;margin-bottom:24px}.home-draft h3{font-size:1.188rem;line-height:1.7;margin:10px 0}.home-draft p{font-size:0.875rem;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap}.home-draft+.home-growing-question{border-top:1px solid #c8c4ba;padding-top:22px}.home-bookshelf{margin:34px 0}.home-bookshelf .section-top{margin:0 0 20px}.home-bookshelf h2{margin:10px 0;font-size:1.5rem}.home-bookshelf .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-garden .home-conversations{margin:0 0 32px}.home-garden .home-conversations h2{font-size:1.5rem}
.large-text .home-garden :is(.home-path>header p,.home-question-copy>p,.home-reading-empty p,.home-draft p,.home-welcome p:last-child){font-size:1.125rem}.large-text .home-garden :is(.home-path-note,.home-path-label,.home-reading-status){font-size:0.9375rem}
@media(max-width:1050px){.home-paths{gap:16px}.home-path{padding:22px}.home-path>header h2{font-size:1.375rem}.home-growing-question h3{font-size:1.438rem}}
@media(max-width:760px){.home-welcome{grid-template-columns:minmax(0,1fr) 100px;gap:0;padding:0 0 20px}.home-welcome>div{display:contents}.home-welcome .eyebrow,.home-welcome h1{grid-column:1 / -1}.home-welcome h1{font-size:1.562rem;line-height:1.65}.home-welcome p:last-child{font-size:0.875rem;padding-right:8px}.home-welcome p:last-child br{display:none}.home-welcome>img{grid-column:2;grid-row:3;width:115px;max-width:none;margin-left:-8px}.home-shortcuts{gap:8px;margin-bottom:20px}.home-shortcuts button{font-size:0.875rem;padding:9px 12px;gap:8px}.home-paths{grid-template-columns:1fr;gap:22px}.home-path{padding:24px 20px}.home-path>header h2{font-size:1.438rem}.home-growing-question h3{font-size:1.438rem}.home-reading-empty img{height:110px}.home-bookshelf .cards{grid-template-columns:1fr}.home-bookshelf h2,.home-garden .home-conversations h2{font-size:1.375rem}.home-garden .home-sharing-guide{font-size:0.875rem}.home-path .home-other-questions .text-button{font-size:0.875rem}.home-garden .home-reading .story-card.has-cover{display:flex;flex-direction:column}.home-garden .home-reading .story-cover{width:100%;height:150px}.home-garden .home-reading .story-card .avatar{display:flex}}
@media(max-width:360px){.home-welcome h1{font-size:1.375rem;letter-spacing:0}}

/* The personal archive grows into a book with a living table of contents. */
.archive-portrait{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:36px;padding:28px 36px;margin:0 0 28px;border:1px solid #c8c4ba;border-radius:18px;background:linear-gradient(115deg,#f1ebdf,#f1ebdf)}.archive-portrait .eyebrow{font-size:0.875rem;color:#6d644d}.archive-portrait h2{font-size:1.688rem;line-height:1.8;margin:12px 0}.archive-portrait p{font-size:0.875rem;line-height:1.95;color:var(--muted);margin:0 0 12px}.archive-since{font-size:0.875rem;color:#596370}.archive-book{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:218px;border-radius:3px 13px 13px 3px;border:1px solid #8993a0;border-left:12px solid #596370;background:#e9edf1;box-shadow:5px 5px 0 #faf8f3,6px 6px 0 #c8c4ba,10px 10px 0 #f1ebdf;transform:rotate(3deg);color:#253449;padding:24px 14px}.archive-book>span{font-family:'Noto Serif JP',serif;font-size:1.438rem;letter-spacing:.08em}.archive-book small{font-size:0.875rem}.archive-book i{position:absolute;top:0;right:25px;width:14px;height:32px;background:#bd885f;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}
.archive-contents{margin:28px 0}.archive-contents h2{font-size:1.312rem;margin:0 0 7px}.archive-contents>p{font-size:0.875rem;color:var(--muted);margin:0 0 16px}.archive-theme-list{display:flex;flex-wrap:wrap;gap:10px}.archive-theme-list button{display:flex;gap:18px;align-items:center;border:1px solid #c8c4ba;border-left:4px solid #8993a0;background:#fffdf6;border-radius:5px 10px 10px 5px;padding:12px 18px;min-height:48px;font-size:0.875rem;text-align:left}.archive-theme-list button span{font-size:0.875rem;color:var(--muted)}.archive-theme-list button[aria-pressed=true]{border-color:#596370;background:#e9edf1;color:#253449}.archive-view-switch{display:flex;gap:6px;background:#f1ebdf;padding:4px;border-radius:8px;width:fit-content;margin-bottom:18px}.archive-view-switch button{min-height:44px;padding:9px 20px;border:1px solid transparent;border-radius:6px;background:none;font-size:0.875rem;color:#596370}.archive-view-switch button[aria-pressed=true]{background:#fffef9;border-color:#c8c4ba;box-shadow:0 1px 3px #25344910}.archive-chapter{margin:26px 0 36px}.archive-chapter>header{display:flex;align-items:baseline;gap:14px;border-bottom:1px solid #c8c4ba;padding-bottom:12px;margin-bottom:20px}.archive-chapter>header>span{font-family:Georgia,serif;font-size:1.688rem;color:#596370}.archive-chapter h2{font-size:1.438rem;margin:0}.archive-chapter>header small{font-size:0.875rem;color:var(--muted);margin-left:auto}.archive-grid{align-items:start}.archive-card h3{font-family:'Noto Serif JP',serif;font-size:1.375rem;line-height:1.75;font-weight:500;margin:0 0 16px}.archive-photo-wrap{position:relative;width:100%;margin:0 0 20px;overflow:hidden;border-radius:7px;background:#f1ebdf}.archive-photo-wrap .archive-photo{display:block;width:100%;height:190px;object-fit:cover;margin:0;border-radius:0}.archive-photo-wrap>span{position:absolute;bottom:9px;right:10px;border-radius:20px;padding:3px 9px;background:#fffffff0;font-size:0.875rem;color:#253449}.archive-photo-unavailable{height:100px;display:grid;place-items:center}.archive-photo-unavailable>span{position:static}.archive-next-page{display:flex;justify-content:space-between;align-items:center;gap:26px;margin:32px 0;padding:24px 28px;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:14px}.archive-next-page>div{min-width:0}.archive-next-page>div:last-child{display:grid;flex-shrink:0;gap:8px}.archive-next-page h2{font-size:1.375rem;line-height:1.7;margin:10px 0}.archive-next-page p{font-size:0.875rem;color:var(--muted);margin:0}.archive-next-page .button{font-size:0.875rem;gap:12px}.archive-next-page .text-button{text-align:center;font-size:0.875rem}.large-text .archive-portrait p,.large-text .archive-next-page p{font-size:1.125rem}.large-text .archive-theme-list button,.large-text .archive-view-switch button{font-size:1.125rem}
@media(max-width:1050px){.archive-portrait{gap:24px;padding:26px;grid-template-columns:minmax(0,1fr) 170px}.archive-book{min-height:195px}.archive-book>span{font-size:1.188rem}.archive-portrait h2{font-size:1.5rem}.archive-next-page{align-items:flex-start;flex-direction:column}.archive-next-page>div:last-child{width:100%}}
@media(max-width:760px){.archive-portrait{grid-template-columns:minmax(0,1fr) 90px;gap:14px;padding:22px 18px}.archive-portrait .eyebrow{font-size:0.875rem}.archive-portrait h2{font-size:1.312rem;line-height:1.75}.archive-portrait p{font-size:0.875rem}.archive-portrait p br{display:none}.archive-portrait-copy{display:contents}.archive-portrait-copy>.eyebrow,.archive-portrait-copy>h2{grid-column:1 / -1;margin:0}.archive-portrait-copy>p{grid-column:1;grid-row:3;margin:0}.archive-portrait-copy>.archive-since,.archive-portrait-copy>.text-button{grid-column:1 / -1;grid-row:4;font-size:0.875rem}.archive-book{grid-column:2;grid-row:3;min-height:126px;gap:9px;padding:14px 5px;border-left-width:6px;border-radius:2px 8px 8px 2px}.archive-book>img{width:28px;height:28px}.archive-book>span{font-size:0.875rem;letter-spacing:0}.archive-book small{font-size:0.875rem}.archive-book i{width:8px;height:19px;right:12px}.archive-theme-list{gap:8px}.archive-theme-list button{padding:10px 12px;gap:10px;font-size:0.875rem}.archive-chapter>header{gap:10px}.archive-chapter h2{font-size:1.312rem}.archive-card h3{font-size:1.312rem}.archive-photo-wrap .archive-photo{height:170px}.archive-next-page{padding:22px 18px;gap:18px}.archive-next-page h2{font-size:1.312rem}.archive-next-page .button{width:100%}.archive-drafts summary span{margin-left:0}.archive-portrait-copy>.text-button{font-size:0.875rem}.large-text .archive-portrait{grid-template-columns:minmax(0,1fr) 80px}}
.archive-chapter .archive-grid:has(>.archive-card:only-child){grid-template-columns:1fr}
@media(min-width:761px){.archive-chapter .archive-card:only-child:has(.archive-photo-wrap){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:26px}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) .archive-card-meta{grid-column:1 / -1}.archive-chapter .archive-card:only-child .archive-photo-wrap{grid-column:1;grid-row:2 / span 2;margin:0 0 20px}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) h3{grid-column:2;grid-row:2}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) .archive-excerpt{grid-column:2;grid-row:3}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) .archive-card-foot{grid-column:1 / -1}}

/* Question discovery: a small invitation, then paths into the personal story. */
.discovery-header{margin:10px 0 28px}.discovery-header h1{font-size:2.25rem;line-height:1.65;margin:14px 0}.discovery-header p{color:#596370;margin:0;font-size:0.9375rem}.discovery-pick{display:grid;grid-template-columns:160px minmax(0,1fr);gap:32px;padding:30px 34px;border:1px solid #c8c4ba;border-radius:22px;background:linear-gradient(110deg,#f1ebdf,#f1ebdf);margin-bottom:28px}.discovery-pick-symbol{border:1px solid #c8c4ba;border-radius:70px 70px 8px 8px;background:#f1ebdf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#596370;transform:rotate(-3deg);box-shadow:5px 5px 0 #e9edf1}.discovery-pick-symbol svg{width:62px;height:62px}.discovery-pick-symbol span{font-family:'Noto Serif JP',serif;font-size:0.875rem;text-align:center}.discovery-pick h2{font-size:1.688rem;line-height:1.7;margin:8px 0 10px}.discovery-pick p{margin:0 0 18px;color:#596370}.discovery-pick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}.discovery-pick small{display:block;margin-top:16px;color:#596370;font-size:0.875rem}.discovery-resume{border-left:3px solid #8993a0;padding:12px 18px;background:#f1ebdf;display:flex;align-items:center;gap:16px;margin:0 0 30px;flex-wrap:wrap}.discovery-resume>div{flex:1;min-width:180px}.discovery-resume span{display:block;font-size:0.875rem;color:#596370}.discovery-resume b{font-weight:500}.discovery-browse>h2{font-size:1.562rem;margin:30px 0 18px;scroll-margin-top:24px}.question-trails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:28px}.question-trail{display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #c8c4ba;border-radius:14px;padding:18px 16px;background:#fffef9;color:var(--ink);min-width:0}.question-trail:nth-child(3n+2){background:#f1ebdf}.question-trail:nth-child(3n){background:#e9edf1}.question-trail svg{flex-shrink:0;color:#596370}.question-trail strong{display:block;font-size:1rem;font-weight:500}.question-trail small{display:block;font-size:0.875rem;color:#596370;margin-top:4px}.question-trail[aria-pressed=true]{border-color:#596370;box-shadow:inset 0 0 0 1px #596370;background:#e9edf1}.question-trail:hover{border-color:#596370}.discovery-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) minmax(160px,1fr);gap:16px}.discovery-tools label,.question-context label{display:flex;flex-direction:column;gap:6px;font-size:0.875rem;color:#596370}.discovery-tools input,.discovery-tools select,.question-context select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border-radius:9px;border:1px solid var(--line);background:#fffef9;color:var(--ink);font-size:0.875rem}.question-context{margin:10px 0 20px;color:#596370;font-size:0.875rem}.question-context label{max-width:300px;margin-top:10px}.discovery-results-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.discovery-results-top h2{font-size:1.562rem;margin:0;scroll-margin-top:24px}#question-count{color:#596370;font-size:0.875rem;margin:6px 0 20px}.discovery .question-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.discovery-card{padding:26px;min-height:0;display:flex;flex-direction:column;border-radius:15px;background:#fffef9;border:1px solid #f1ebdf}.discovery-card-meta{display:flex;justify-content:space-between;gap:8px;font-size:0.875rem;color:#596370}.discovery-card h3{font-size:1.438rem;line-height:1.7;margin:16px 0 12px}.discovery-card>p{font-size:0.875rem;color:#596370;margin:0 0 22px}.discovery-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid #f1ebdf;flex-wrap:wrap}.discovery-card-foot small{font-size:0.875rem;color:#596370}.discovery-card .text-button{font-size:0.875rem;color:#596370}.question-repeat-note{font-size:0.875rem;color:#596370;margin-top:8px}#question-more{text-align:center;margin:26px 0}.large-text .question-trail strong{font-size:1.188rem}.large-text .question-trail small,.large-text .discovery-pick small,.large-text .question-repeat-note{font-size:0.9375rem}.large-text .discovery-card>p{font-size:1.125rem}
@media(max-width:1100px){.question-trails{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-pick{grid-template-columns:110px minmax(0,1fr);gap:24px;padding:26px}.discovery-tools{grid-template-columns:1fr 1fr}.discovery-tools>.search-label{grid-column:1 / -1}.discovery-pick h2{font-size:1.5rem}}
@media(max-width:760px){.discovery-header h1{font-size:1.688rem}.discovery-header p{font-size:0.875rem}.discovery-header p br{display:none}.discovery-pick{display:block;padding:24px 20px;position:relative;overflow:hidden}.discovery-pick-symbol{display:none}.discovery-pick h2{font-size:1.438rem}.discovery-pick-actions{display:block}.discovery-pick-actions .button{width:100%}.discovery-pick-actions .text-button{margin-top:10px}.question-trails{gap:9px}.question-trail{display:block;padding:14px 10px}.question-trail svg{width:26px;height:26px;margin-bottom:6px}.question-trail strong{font-size:0.875rem}.question-trail small{font-size:0.875rem}.discovery-tools{gap:12px}.discovery-tools select{font-size:0.875rem;padding:10px 6px}.discovery-tools input{font-size:1rem}.discovery .question-grid{grid-template-columns:1fr}.discovery-card{padding:22px}.discovery-card h3{font-size:1.375rem}.discovery-browse>h2,.discovery-results-top h2{font-size:1.438rem}.discovery-results-top .text-button{font-size:0.875rem}.large-text .question-trails{grid-template-columns:1fr}.large-text .discovery-tools{grid-template-columns:1fr}.large-text .discovery-tools select{font-size:1.125rem}.discovery-resume{padding:12px}.discovery-resume>div{min-width:100%}}

.discovery-header h1 span{display:inline-block}

/* A shared set of gentle line motifs, from a question to a received story. */
.question-motif{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px 21px 17px 22px;flex-shrink:0;background:#e9edf1;color:#596370}.question-motif svg{width:32px;height:32px}.motif-clay{background:#f1ebdf;color:#885e44}.motif-ochre{background:#f1ebdf;color:#746536}.discovery-card-heading{display:flex;align-items:center;gap:16px;margin-bottom:18px}.discovery-card-heading .discovery-card-meta{display:flex;flex-direction:column;gap:5px;align-items:flex-start;margin:0}.discovery-pick-symbol .question-motif{background:transparent;width:auto;height:auto}.discovery-pick-symbol .question-motif svg{width:48px;height:48px}
.received-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:10px 0 46px;padding:26px 0}.received-intro h1{font-family:'Noto Serif JP',serif;font-size:clamp(1.688rem,3vw,2.438rem);line-height:1.65;font-weight:500;margin:16px 0}.received-intro h1 span{display:inline-block}.received-intro p{font-size:0.9375rem;color:#596370;line-height:2}.received-intro img{width:29%;height:auto;max-width:280px}.received-reply-link{margin-top:8px}.received-library .section-top h2{font:500 25px 'Noto Serif JP',serif;overflow-wrap:anywhere}.received-people{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.received-person{display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;max-width:100%;border:1px solid #c8c4ba;border-radius:15px;background:#fffef9;color:#253449;text-align:left;font:inherit;cursor:pointer}.received-person[aria-pressed=true]{background:#e9edf1;border-color:#596370}.received-person>span:last-child{overflow-wrap:anywhere;min-width:0}.received-person small{display:block;font-size:0.875rem;color:#596370;margin-top:3px}.received-person-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#f1ebdf;font-family:'Noto Serif JP',serif;font-size:1.312rem}.received-person-icon svg{width:24px;height:24px}.received-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px}.received-toolbar .filters{margin:0}.received-count{font-size:0.875rem;color:#596370;margin:18px 0}.received-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:36px;align-items:start}.received-story{height:100%;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#fffef9}.received-story .story-card-content{padding:25px;flex:1;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.received-story .story-cover{height:210px;width:100%}.received-story-top{display:flex;align-items:center;gap:12px;font-size:0.875rem;color:#596370}.received-story-top .question-motif{width:42px;height:42px;border-radius:13px}.received-story-top svg{width:26px;height:26px}.received-story-top .unread-badge{margin-left:auto;white-space:nowrap}.received-story p.received-by{font-size:0.875rem;color:#596370;margin:20px 0 8px;display:block;overflow-wrap:anywhere}.received-story h3{font-family:'Noto Serif JP',serif;font-weight:500;font-size:1.438rem;line-height:1.7;margin:0 0 14px}.received-story p.received-excerpt{font-size:0.9375rem;line-height:1.95;color:#596370;white-space:pre-line;-webkit-line-clamp:3;margin:0 0 20px}.received-date{font-size:0.875rem;color:#596370;margin-top:auto;padding-top:8px}.received-story .card-foot{font-size:0.875rem;margin-top:18px;gap:14px;align-items:center}.received-story .card-foot>span:last-child{white-space:nowrap;font-size:0.875rem;color:#596370}.received-page .home-conversations{margin-top:38px}.received-empty{background:#fffef9;border:1px solid var(--line);border-radius:22px;padding:38px;text-align:center}.received-empty-icon{display:inline-grid;place-items:center;background:#f1ebdf;border-radius:50%;width:72px;height:72px;color:#596370}.received-empty h2{font:500 23px/1.7 'Noto Serif JP',serif}.received-empty p{color:#596370;line-height:2;font-size:0.9375rem}.received-empty>div{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:25px}.conversation-kicker{display:block;font-size:0.875rem;color:#596370;letter-spacing:.05em;margin-bottom:9px}.conversation-heading h3{font-family:'Noto Serif JP',serif;line-height:1.65;overflow-wrap:anywhere}.conversation-heading .conversation-symbol svg{width:27px;height:27px}.conversation-empty{font-size:0.875rem;line-height:1.9;text-align:left;padding:10px 0 0;margin:0}.conversation-toolbar{justify-content:flex-end;gap:20px;margin-bottom:8px}.conversation-form{margin-top:22px}.conversation-form>label{font-size:0.875rem}
@media(max-width:700px){.received-intro{gap:10px;margin-bottom:24px;padding-top:10px}.received-intro img{width:23%;min-width:80px}.received-intro h1{font-size:1.625rem}.received-grid{grid-template-columns:1fr}.received-story .story-cover{height:220px}.received-person{font-size:0.875rem}.received-empty{padding:26px 18px}}
@media(max-width:480px){.received-intro{position:relative;display:block;padding-bottom:0}.received-intro img{position:absolute;right:0;top:0;width:74px;min-width:0;opacity:.8}.received-intro h1{font-size:1.562rem;margin-top:22px}.received-intro .eyebrow{display:block;padding-top:12px}.received-intro p{font-size:0.875rem}.received-library .section-top h2{font-size:1.438rem}.received-person{padding:9px 13px 9px 9px;gap:8px}.received-person-icon{width:34px;height:34px;font-size:1.125rem}.received-story .story-card-content{padding:20px}.received-story h3{font-size:1.375rem}.received-story .card-foot{align-items:flex-start;flex-direction:column;gap:9px}.received-story .card-foot>span:last-child{align-self:flex-end}.discovery-card-heading{gap:12px}.question-motif{width:52px;height:52px}.conversation-heading h3{font-size:1.25rem}}

.received-intro{margin:0 0 22px;padding:8px 0}.received-intro h1{margin:12px 0;font-size:clamp(1.562rem,2.7vw,2.25rem)}

/* People and groups: one next step for each stage of sharing. */
.people-page .people-hero{padding-bottom:28px}.people-page .people-hero h1{font-size:clamp(1.875rem,3vw,2.625rem);line-height:1.65}.people-page .people-hero p{line-height:1.9}.people-how{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:0 0 30px;color:#596370}.people-how summary{cursor:pointer;min-height:32px;display:list-item}.people-how .people-flow{margin:24px 0 8px}.people-page .people-groups h2{font-family:'Noto Serif JP',serif;font-weight:500}.people-page .people-groups .section-top{align-items:center;gap:20px}.people-page .people-groups .section-top p{margin-bottom:0}.group-card-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f1ebdf;color:#596370}.group-card-icon svg{width:29px;height:29px}.people-page .people-group h3{font-family:'Noto Serif JP',serif;font-size:1.562rem;line-height:1.7;font-weight:500}.people-page .people-group{display:flex;flex-direction:column}.group-card-summary{font-size:0.875rem;color:#596370;line-height:1.9;margin-top:auto;padding-top:12px}.people-page .people-group-actions .button{width:100%;justify-content:space-between}.group-story-room .group-room-header{align-items:center;margin-bottom:20px}.group-story-room .group-room-header h1{font-family:'Noto Serif JP',serif;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.group-story-room .group-room-header p{font-size:0.875rem;line-height:1.9}.group-room-emblem{display:grid;place-items:center;width:90px;height:90px;border-radius:28px;background:#e9edf1;color:#596370;flex-shrink:0}.group-room-emblem svg{width:48px;height:48px}.group-members-panel{padding:20px;border:1px solid var(--line);background:#fffef9;border-radius:17px;margin-bottom:26px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.group-member-chips{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.group-member-chips>span{display:flex;align-items:center;gap:8px;font-size:0.875rem;overflow-wrap:anywhere}.group-member-chips i{display:grid;place-items:center;width:32px;height:32px;background:#f1ebdf;border-radius:50%;font-style:normal;flex-shrink:0}.group-members-panel>div:last-child{display:flex;flex-wrap:wrap;gap:12px}.group-next-step{display:flex;align-items:flex-start;gap:24px;padding:30px;background:#e9edf1;border:1px solid #c8c4ba;border-radius:23px;margin:25px 0}.group-next-symbol{display:grid;place-items:center;flex-shrink:0;width:64px;height:64px;border-radius:50%;background:#fffef9;color:#596370}.group-next-symbol svg{width:32px;height:32px}.group-next-step h2{font:500 25px/1.7 'Noto Serif JP',serif;margin:8px 0 12px}.group-next-step p{font-size:0.9375rem;line-height:1.9;margin:0 0 18px}.group-next-step small{display:block;font-size:0.875rem;color:#596370;line-height:1.9;margin-top:16px}.group-next-step .text-button{margin-left:12px}.group-reading-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 35px;padding:24px;background:#e9edf1;border-radius:18px}.group-reading-actions p{font-size:0.875rem;line-height:1.9;margin:0;max-width:480px}.group-reading-actions .button{flex-shrink:0}.group-stories-heading{align-items:center}.group-stories-heading h2{font:500 25px/1.7 'Noto Serif JP',serif}.group-sharing-note{font-size:0.875rem;line-height:1.9;color:#596370;margin:28px 0}.group-sharing-note summary{cursor:pointer;min-height:42px;display:flex;align-items:center;gap:8px}.group-sharing-note summary:after{content:'＋';margin-left:auto}.group-sharing-note[open] summary:after{content:'−'}.group-sharing-note svg{width:20px;height:20px}.group-story-room .question-thread .question-motif{margin-bottom:14px}.group-create-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#e9edf1;color:#596370;margin-bottom:20px}.group-create-icon svg{width:32px;height:32px}.group-create>p{line-height:1.9;color:#596370;font-size:0.9375rem}.group-create-theme{margin:22px 0;color:#596370;font-size:0.875rem}.group-create-theme summary{cursor:pointer;min-height:40px}.group-create-theme select{width:100%}.group-create .modal-title{line-height:1.6}.group-story-room .group-exit-footer{border-top:1px solid var(--line);padding-top:20px}
@media(max-width:700px){.group-next-step{gap:16px;padding:24px 20px}.group-next-step h2{font-size:1.438rem}.group-reading-actions{flex-direction:column;align-items:stretch}.group-members-panel{padding:16px}.group-room-emblem{width:66px;height:66px;border-radius:21px}.group-room-emblem svg{width:36px;height:36px}.group-stories-heading{flex-wrap:wrap}.group-next-symbol{width:44px;height:44px}.group-next-symbol svg{width:26px;height:26px}}
@media(max-width:480px){.people-page .people-hero h1{font-size:1.812rem}.people-page .people-groups .section-top{align-items:flex-start;flex-direction:column;gap:0}.group-story-room .group-room-header{gap:10px}.group-story-room .group-room-header h1{font-size:1.75rem}.group-room-emblem{width:48px;height:48px;align-self:flex-start}.group-room-emblem svg{width:27px;height:27px}.group-next-step{display:block;padding:22px 18px}.group-next-symbol{margin-bottom:18px}.group-next-step .button{width:100%}.group-next-step .text-button{margin:14px 0 0}.group-next-step h2{font-size:1.375rem}.group-member-chips{gap:10px}.people-page .people-group h3{font-size:1.438rem}.group-story-room .group-exit-footer{align-items:flex-start;flex-direction:column}}

/* Account settings: purpose first, current state and save feedback in place. */
.account-settings{max-width:880px;margin:0 auto}.settings-intro{margin:18px 0 28px}.settings-intro h1{font-family:'Noto Serif JP',serif;font-weight:500;font-size:2.125rem;line-height:1.65;margin:12px 0}.settings-intro>p{color:var(--muted);font-size:0.9375rem}.settings-mobile-break{display:none}.settings-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:30px}.settings-shortcuts button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:62px;border:1px solid #c8c4ba;background:#f1ebdf;color:#253449;border-radius:12px;font-size:0.875rem}.settings-shortcuts svg{width:23px;height:23px;flex-shrink:0}.account-settings .settings-card{padding:28px 30px;margin:0 0 22px;border-radius:16px}.settings-section-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.settings-section-heading>span{display:grid;place-items:center;background:#f1ebdf;color:#596370;border-radius:50%;width:46px;height:46px;flex-shrink:0}.settings-section-heading svg{width:25px;height:25px}.settings-section-heading h2{font-size:1.375rem;margin:2px 0 7px;scroll-margin-top:30px}.settings-section-heading p{margin:0;font-size:0.875rem;color:var(--muted);line-height:1.8}.account-settings .helper{font-size:0.875rem;line-height:1.8}.settings-profile-preview{display:flex;align-items:center;gap:14px;margin-bottom:20px}.settings-profile-preview>span{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#f1ebdf;color:#596370;font-family:'Noto Serif JP',serif;font-size:1.5rem}.settings-profile-preview strong{display:block;overflow-wrap:anywhere;font-size:1.125rem}.settings-profile-preview small{display:block;color:var(--muted);margin-top:3px}.settings-save-row{display:flex;align-items:center;gap:16px;margin-top:20px}.settings-save-row p{font-size:0.875rem;margin:0;color:#596370}.settings-save-row .button:disabled{opacity:.5;cursor:default}.settings-email{background:#f1ebdf;border-radius:10px;padding:18px 20px;margin-bottom:22px}.settings-email>span{display:block;font-size:0.875rem;color:var(--muted);margin-bottom:7px}.settings-email strong{font-size:1.062rem;overflow-wrap:anywhere}.settings-email p{margin-bottom:0}.settings-login-method{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid #f1ebdf}.settings-provider-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;border:1px solid #dde3d6;font-size:1.312rem;font-weight:600;background:#fff;color:#566b4a}.settings-provider-mark.provider-line{font-size:0.875rem;background:#e6f1e8;color:#2c7041}.settings-method-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.settings-method-state{font-size:0.875rem;color:#596370;border:1px solid #c8c4ba;border-radius:20px;padding:2px 9px}.settings-method-state.is-linked{color:#253449;background:#e9edf1;border-color:#c8c4ba}.settings-login-method p{font-size:0.875rem;color:var(--muted);line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}.settings-login-method .button{font-size:0.875rem;min-height:44px;padding:10px 14px}.settings-method-check{font-size:1.312rem;color:#596370}.settings-detail{border-top:1px solid #f1ebdf;margin-top:20px;padding-top:16px}.settings-detail summary{cursor:pointer;min-height:36px;font-size:0.875rem;color:#596370}.settings-detail p,.settings-detail li{font-size:0.875rem;line-height:1.9}.settings-detail ul{padding-left:21px}.settings-detail li+li{margin-top:10px}.settings-sharing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e9edf1;border:1px solid #e9edf1;border-radius:12px;overflow:hidden;margin-bottom:18px}.settings-sharing-stats>div{display:grid;justify-items:center;gap:4px;background:#f1ebdf;padding:18px 8px}.settings-sharing-stats strong{font-family:Georgia,serif;font-size:1.75rem;font-weight:400;color:#596370}.settings-sharing-stats small{font-family:inherit;font-size:0.875rem;margin-left:5px}.settings-sharing-stats span{font-size:0.875rem;color:#596370}.settings-link-rows>a,.settings-link-rows>button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:18px 0;background:none;border:0;border-bottom:1px solid #f1ebdf;text-align:left;text-decoration:none;color:inherit;min-height:64px}.settings-link-rows strong{display:block;font-size:0.9375rem;font-weight:500}.settings-link-rows small{display:block;color:var(--muted);font-size:0.875rem;margin-top:7px;line-height:1.75}.settings-text-preview{background:#f1ebdf;border-left:3px solid #8993a0;padding:15px 20px;margin-top:18px;border-radius:0 8px 8px 0}.settings-text-preview small{font-size:0.875rem;color:var(--muted)}.settings-text-preview p{font-size:1rem;line-height:1.8;margin:8px 0}.settings-text-preview.is-large p{font-size:1.25rem}.settings-signout{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 8px 40px}.settings-signout strong{font-size:0.9375rem;font-weight:500}.settings-signout p{font-size:0.875rem;color:var(--muted);line-height:1.8;margin:6px 0}.settings-signout .button{flex-shrink:0}.account-settings [data-google-link-flow] h4{scroll-margin-top:30px}.account-settings [data-google-link-flow] strong{overflow-wrap:anywhere}.account-settings input{max-width:100%}.large-text .account-settings :is(.helper,.settings-section-heading p,.settings-detail p,.settings-detail li,.settings-login-method p,.settings-link-rows small){font-size:1.062rem}
@media(max-width:700px){.settings-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.account-settings .settings-card{padding:24px 20px}.settings-intro h1{font-size:1.75rem}.settings-mobile-break{display:block}.settings-login-method{grid-template-columns:36px minmax(0,1fr);gap:12px}.settings-provider-mark{width:34px;height:34px}.settings-login-method>.button{grid-column:2;justify-self:start}.settings-method-check{grid-column:2}.settings-section-heading{gap:12px}.settings-section-heading h2{font-size:1.25rem}.settings-signout{display:block}.settings-signout .button{margin-top:14px}.settings-save-row{flex-wrap:wrap}.settings-sharing-stats span{font-size:0.875rem}.settings-email{padding:16px}.settings-help h2{font-size:1.25rem}}
@media(max-width:380px){.account-settings .settings-card{padding:21px 16px}.settings-section-heading>span{width:34px;height:34px}.settings-section-heading h2{font-size:1.125rem}.settings-intro h1{font-size:1.562rem}.settings-shortcuts button{gap:6px;font-size:0.875rem}.settings-sharing-stats>div{padding:14px 4px}}
.account-settings .settings-card form{display:block}.account-settings .field-label{font-size:0.875rem;margin:0 0 9px}.account-settings #name{display:block;width:100%;max-width:520px}.account-settings [data-verify-link] input{display:block;width:100%;max-width:320px;margin:10px 0}.account-settings [data-verify-link] .button{white-space:normal}
/* Identity images are authenticated and independent of private story attachments. */
.identity-picture{display:inline-flex;width:48px;height:48px;flex-shrink:0;overflow:hidden;border-radius:50%;align-items:center;justify-content:center;vertical-align:middle;background:#e9edf1;color:#596370}.identity-picture img{display:block;width:100%;height:100%;object-fit:cover}.identity-picture svg{width:60%;height:60%}.identity-picture.is-group{border-radius:14px}.tone-sage{background:#e9eee1;color:#546a47}.tone-clay{background:#f1e4dd;color:#895c49}.tone-ochre{background:#f6edcf;color:#76632f}.tone-blue{background:#e2edf0;color:#496e7a}.profile .identity-picture,.story-card .avatar .identity-picture{width:38px;height:38px}.profile>.avatar,.story-card .avatar{padding:0;overflow:hidden}.settings-profile-preview>span,.settings-profile-preview .identity-picture{width:64px;height:64px}.settings-profile-preview{flex-wrap:wrap}.settings-profile-preview>.text-button{margin-left:auto}.people-group .group-card-icon{width:76px;height:76px;padding:0;background:none}.group-card-icon .identity-picture,.group-room-emblem .identity-picture{width:76px;height:76px}.group-room-emblem{background:none;padding:0}.group-member-chips .identity-picture{width:30px;height:30px}.people-members .identity-picture{width:42px;height:42px}.group-member-chips>span{gap:8px}.identity-upload{position:relative;overflow:hidden;cursor:pointer}.identity-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.avatar-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.avatar-options button{display:grid;justify-items:center;gap:8px;border:1px solid #c8c4ba;border-radius:10px;padding:15px;background:#f1ebdf;color:#596370}.avatar-options button[aria-pressed=true],.avatar-tones button[aria-pressed=true]{outline:2px solid #637e50;outline-offset:2px}.avatar-tones{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.avatar-tones button{min-width:48px;min-height:44px;border:1px solid #ccc;border-radius:25px;padding:8px 14px}.avatar-options button span{font-size:0.875rem}#identity-preview{text-align:center;margin:24px}#identity-preview .identity-picture{width:128px;height:128px}
/* Language controls stay out of writing flows so a switch cannot discard a story draft. */
.entry-language{display:none}.signed-out .entry-language{display:flex;justify-content:flex-end;padding:14px 24px;background:var(--paper,#faf8f3)}
.language-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.language-control select{width:auto;min-width:150px;min-height:44px;font:inherit;border:1px solid #c8c4ba;border-radius:10px;background:#fff;padding:8px 12px;color:#253449}.language-control span{font-size:0.875rem}
html:not([lang="ja"]) .story-illustration p{font-size:clamp(0.875rem,1.3vw,1.062rem);line-height:1.6}html:not([lang="ja"]) .story-illustration span{font-size:0.875rem}html:not([lang="ja"]) .brandcaption{font-size:0.875rem}html:not([lang="ja"]) .sidebar nav a{font-size:0.875rem;line-height:1.4}html:not([lang="ja"]) .intro h1{overflow-wrap:anywhere}html[lang="ko"] body{word-break:keep-all}html[lang="en"] h1{letter-spacing:-.035em}
@media(max-width:700px){.signed-out .entry-language{padding:8px 16px}.language-control{gap:8px}.language-control select{min-width:130px}html:not([lang="ja"]) .sidebar nav a{font-size:0.875rem}html:not([lang="ja"]) .story-illustration p{font-size:0.875rem}html:not([lang="ja"]) .entry-values{gap:10px}html:not([lang="ja"]) .group-card-actions{flex-wrap:wrap}html:not([lang="ja"]) .button{white-space:normal;height:auto;min-height:44px}}

/* Mobile writing and sharing: actions stay within reach, with room to scroll past them. */
.writer-input-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.writer-input-tools .field-label{margin:0}.writer-input-tools button{min-height:44px;flex-shrink:0}
.group-pending-share{padding:22px;background:var(--sage-light,#e9edf1);border:1px solid #c8c4ba;border-radius:18px;margin:20px 0}.group-pending-share h2{font-size:1.375rem;margin:10px 0}.group-pending-share p{line-height:1.7}.group-pending-share .button{max-width:100%}
.invite-copy+.invite-copy{margin-top:10px}
@media(max-width:640px){
 #code-login>.button,#code-login>#change-email{display:block;width:100%;min-height:48px;margin-top:10px}
 input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:1rem}
 .writer-input-tools{gap:6px}.writer-input-tools button{font-size:0.875rem;padding:8px}
 .writing-page #main{padding-bottom:190px}.writing-footer{position:fixed;left:0;right:0;bottom:0;z-index:20;box-shadow:0 -5px 20px #25344910;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
 .writing-footer .writing-private{margin:0 0 8px}.writing-footer .modal-actions{margin:0}.writing-heading{margin-top:28px}
 #photo-heading,#photo-error{scroll-margin-top:20px}.photo-picker small{display:none}
 .group-pending-share{padding:18px}.group-pending-share h2{font-size:1.25rem}.group-pending-share .button{width:100%}
 .modal-actions>.button,.modal-actions>.text-button,.share-footer button,.invite-after button{min-height:44px}
}
@media(max-width:640px){.code-entry .login-intro{display:none}.code-entry .login-layout{gap:0}.code-entry .login-card{margin-top:0}}
@media(max-width:640px){.writing-page textarea,.writing-page input:not([type=file]){scroll-margin-bottom:160px;scroll-margin-top:16px}}

.entry-origin{margin:26px 0 0;padding:23px 26px 24px;border:1px solid #c8c4ba;border-radius:3px 18px 18px 18px;background:#f1ebdf;color:var(--green)}
.entry-origin-label{font-size:0.875rem;letter-spacing:.08em;color:#596370;margin:0 0 10px}.entry-origin h2{font-size:1.312rem;font-weight:500;line-height:1.75;margin:0 0 12px;letter-spacing:.03em;text-wrap:pretty}.entry-origin-description{font-size:0.875rem;line-height:1.95;color:#596370;margin:0 0 16px}
.entry-founder{display:inline-flex;align-items:center;gap:20px;min-height:44px;color:var(--green);font-size:0.875rem;font-weight:600;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#8993a0}.entry-founder>span:last-child{font-size:1.25rem;font-weight:400;transition:transform .2s}.entry-founder:hover{color:#253449;text-decoration-color:currentColor}.entry-founder:hover>span:last-child{transform:translateX(3px)}
@media(max-width:760px){.entry-origin{order:3;width:100%;margin-top:8px;padding:22px}.entry-origin h2{font-size:1.312rem}}
@media(prefers-reduced-motion:reduce){.entry-founder>span:last-child{transition:none}}

.settings-founder{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;margin:20px 0;border:1px solid #c8c4ba;border-radius:12px;background:#f1ebdf}.settings-founder>span:first-child{display:grid;gap:6px}.settings-founder small{font-size:0.875rem;color:var(--green);letter-spacing:.08em}.settings-founder strong{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-weight:500;font-size:1.312rem}.settings-founder>span>span{font-size:0.875rem;color:var(--muted)}.settings-founder:hover{border-color:#8993a0}
@media(max-width:640px){.settings-founder{padding:18px}.settings-founder strong{font-size:1.188rem}}

/* A gentle first page: the nearby question is the primary next step. */
.home-first-story .home-paths{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.home-shortcuts .home-start-shortcut{background:#253449;color:#fffdf7;border-color:#253449}.home-shortcuts .home-start-shortcut:hover{background:#253449}
.home-first-story .home-writing{background:#e9edf1;border-color:#c8c4ba}.home-first-story .home-writing>header{border-bottom:1px solid #c8c4ba;margin-bottom:22px}.home-first-story .home-writing>header h2{font-size:1.438rem}.home-first-story .home-writing>header p{margin-bottom:20px}
.home-purpose{display:flex;align-items:flex-start;gap:20px;border-top:1px solid var(--line);padding:28px 8px 8px;margin-top:32px;color:#596370}.home-purpose>img{flex:none;margin-top:3px;opacity:.8}.home-purpose h2{font-size:1.125rem;line-height:1.8;font-weight:500;margin:0 0 8px}.home-purpose p{font-size:0.875rem;line-height:1.9;color:var(--muted);margin:0 0 8px}.home-purpose a{display:inline-flex;align-items:center;gap:14px;min-height:44px;font-size:0.875rem;color:var(--green);text-decoration:underline;text-underline-offset:4px}
.large-text .home-purpose p,.large-text .home-purpose a{font-size:1.062rem}
@media(max-width:760px){.home-first-story .home-paths{grid-template-columns:1fr}.home-purpose{gap:14px;padding:24px 0 0}.home-purpose>img{width:32px;height:32px}.home-purpose h2{font-size:1.125rem}.home-first-story .home-writing>header h2{font-size:1.375rem}}

/* First visit: one focused task before navigation and the story tutorial. */
.profile-setup-page .sidebar,.profile-setup-page .topbar,.profile-setup-page .shell>footer{display:none}
.profile-setup-page .shell{margin-left:0;width:100%}
.profile-setup-page #main{max-width:780px;margin:auto;padding:32px 24px 60px}
.profile-setup-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;flex-wrap:wrap}
.profile-setup-brand .language-control{margin-left:auto}
.setup-progress{padding:0;display:flex;gap:12px;list-style:none;flex-wrap:wrap;font-size:0.9rem;color:var(--muted)}
.setup-progress li{padding:8px 12px;border-bottom:2px solid transparent}
.setup-progress [aria-current]{color:var(--ink);border-bottom-color:var(--green);font-weight:700}
.profile-setup-card{background:#fffdf8;border:1px solid #c8c4ba;border-radius:24px;padding:32px;margin:20px 0}
.profile-setup-card h1{font-size:clamp(1.6rem,4vw,2.3rem);line-height:1.5;margin:12px 0}
.profile-setup-card form{margin-top:26px}.profile-setup-card button[type=submit]{width:100%;min-height:48px}
.private-profile-fields{border:1px solid #c8c4ba;border-radius:14px;padding:18px;margin:24px 0}
.private-profile-fields legend{font-size:0.95rem;padding:0 8px;font-weight:600}
.private-profile-fields input,.private-profile-fields select,.profile-setup-card input{width:100%;min-width:0;box-sizing:border-box;min-height:48px;font:inherit}
.private-profile-fields select{padding:10px;border:1px solid #c8c4ba;border-radius:10px;background:#fff}
.private-profile-fields .field-label{display:block;margin-top:16px}
@media(max-width:600px){.profile-setup-page #main{padding:20px 14px 32px}.profile-setup-card{padding:22px 16px}.setup-progress{gap:3px;font-size:0.875rem}.setup-progress li{padding:6px}.profile-setup-brand .language-control{width:100%;margin:0}.profile-setup-card input,.profile-setup-card select{font-size:1rem}}

/* Readability and interaction layer. Keep after page-specific styles. */
:root{--muted:#596370;--focus:#235d86;--control-border:#596370}
body{font-size:1rem;line-height:1.85}
:where(button,input,select,textarea,a,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:4px;box-shadow:0 0 0 2px var(--paper)}
:where(input,select,textarea){scroll-margin-block:5rem 12rem}
input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{font-size:1rem;border-color:var(--control-border);max-width:100%;min-width:0}
input::placeholder,textarea::placeholder{color:#596370;opacity:1}
input[type=checkbox],input[type=radio]{width:1.35em;height:1.35em;min-width:1.35em;accent-color:#253449;vertical-align:middle}
:where(button,.button,.text-button,summary,nav a){min-height:44px;max-width:100%;overflow-wrap:anywhere}
.button{font-size:1rem;gap:12px;white-space:normal;text-align:center}
.button.secondary{border-color:var(--control-border)}
.text-button{font-size:1rem;text-decoration:underline;text-underline-offset:4px;padding-inline:5px}
:where(.helper,.notice,.intro p,.field-label,.story-card p,.home-path p,.empty p){font-size:1rem}
:where(.card-foot,.person small,.editor-bottom,.pill,.category,.count,.support-note){font-size:.875rem}
:where(.modal-actions,.toolbar,.section-top,.feed-toolbar){flex-wrap:wrap}
:where(.story-card,.question-card,.home-path,.settings-card,.group-room-header>div){min-width:0}
:where(.person,.group-room-header,.settings-profile-preview){overflow-wrap:anywhere}
:where(.filter,.avatar-options button,.avatar-tones button)[aria-pressed=true]{border:2px solid currentColor;font-weight:700;box-shadow:inset 0 -3px 0 currentColor}
.sidebar nav a[aria-current=page]{box-shadow:inset 4px 0 0 currentColor;font-weight:700}
:where(.reading-size,.size-option){display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer;padding:6px 10px;border:1px solid var(--control-border);border-radius:8px;background:var(--paper);color:var(--ink);font-size:1rem;width:fit-content;max-width:100%}
.reading-size input{flex:none}.reading-size span{overflow-wrap:anywhere}
.entry-language{flex-wrap:wrap;align-items:center;gap:12px}.reading-tools{margin:0 0 20px}.profile-setup>.reading-size{margin-bottom:20px}
.language-control{flex-wrap:wrap}.language-control select{min-height:44px}
.skip-main{position:fixed;left:12px;top:-150px;padding:12px 18px;background:var(--paper);border:2px solid var(--focus);border-radius:6px;z-index:1000}
.skip-main:focus{top:12px}
#main:focus{outline:none}
dialog{scroll-padding-block:64px 20px;overscroll-behavior:contain}
dialog .close{position:sticky;float:right;top:0;right:0;width:44px;height:44px;min-width:44px;margin:-20px -16px 0 12px;background:var(--paper);border:1px solid var(--control-border);border-radius:50%;color:var(--ink);line-height:1;z-index:10}
.modal-title{padding-right:24px;overflow-wrap:anywhere}
.identity-upload:focus-within,.photo-picker:focus-within{outline:3px solid var(--focus);outline-offset:4px}
.identity-upload input:focus-visible,.photo-picker input:focus-visible{outline:none}
#toast{max-width:calc(100% - 32px);overflow-wrap:anywhere;font-size:1rem}
.large-text{font-size:1.125rem}
.large-text :is(p,li,label,input,textarea,select,.button,.text-button,.filter,summary,.helper,.notice,.person,.answer-content,.reply){font-size:1.125rem}
.large-text :is(small,.card-foot,.editor-bottom,.pill,.category,.count,.support-note,.home-path-note,.home-path-label,.home-reading-status){font-size:1rem}
.large-text .reader-body,.large-text .writing-sheet #entry-text{font-size:1.375rem}
.large-text .why-article{font-size:1.25rem}
.large-text .settings-text-preview p{font-size:1.125rem}
.large-text .setup-progress{font-size:1rem}
@media(max-width:760px){
 .sidebar{height:auto;min-height:76px;padding:4px 6px calc(4px + env(safe-area-inset-bottom))}
 .sidebar nav{align-items:stretch;gap:2px}
 html body .sidebar nav a,html body.large-text .sidebar nav a{font-size:.875rem;line-height:1.45;min-height:64px;padding:6px 2px;white-space:normal;overflow-wrap:anywhere;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
 html body.large-text .sidebar nav a{font-size:1rem}
 .sidebar nav a span{height:auto;line-height:1.1;flex:none}
 .sidebar nav a[aria-current=page]{box-shadow:inset 0 -3px 0 currentColor}
 .shell{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
 body.writing-page .shell,body.signed-out .shell,body.profile-setup-page .shell{padding-bottom:0}
 .topbar{height:auto;min-height:76px;gap:12px;flex-wrap:wrap;padding-block:12px}
 .topbar-actions{flex-wrap:wrap;gap:12px}
 .topbar .text-button{font-size:.875rem}
 .home-context-note{display:none}
 dialog{padding:24px 20px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 dialog .close{margin:-12px -8px 0 8px}
 .modal-actions{gap:12px}.modal-actions>.button{flex:1 1 140px}
 .share-footer{flex-wrap:wrap;position:static}.share-footer button{flex:1 1 140px}
 #sharing .modal-actions{position:static}
 .toolbar{align-items:stretch}.toolbar input{width:100%}
 .settings-sharing-stats{grid-template-columns:1fr}
 #toast{left:50%;bottom:calc(120px + env(safe-area-inset-bottom))}
 .signed-out #toast,.profile-setup-page #toast{bottom:20px}
 .story-illustration{min-height:440px}
 .story-illustration figcaption{font-size:.875rem}
}
@media(max-width:640px){
 /* Flowing controls remain reachable with large text and a software keyboard. */
 .writing-sheet .writing-footer{position:static;inset:auto;display:block;padding:18px 0;box-shadow:none;backdrop-filter:none}
 .writing-page #main{padding-bottom:40px}
 .writing-sheet .writing-footer .modal-actions{display:flex;flex-wrap:wrap;gap:12px}
 .writing-sheet .writing-footer #save-story{min-height:48px;flex:1 1 180px}
 .writing-sheet .writing-footer #draft-close{min-height:48px}
 .writer-input-tools{flex-wrap:wrap}.writer-input-tools button{min-height:44px}
 .private-profile-fields{padding:16px 12px}.private-profile-fields input{width:100%}
 .large-text .setup-progress{display:grid;gap:6px}.setup-progress li{min-height:40px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none;transition:none;scroll-behavior:auto}}
@media(forced-colors:active){
 .button,.filter,.avatar-options button,.avatar-tones button{border:1px solid ButtonText}
 [aria-pressed=true],.sidebar nav a[aria-current=page]{outline:2px solid Highlight;outline-offset:-3px;text-decoration:underline}
 :focus-visible{outline:3px solid Highlight;box-shadow:none}
}
@media(max-width:760px){
 .shell{padding-bottom:calc(var(--navigation-height,112px) + 24px)}
 #toast{bottom:calc(var(--navigation-height,112px) + 16px)}
 .navigation-expanded .sidebar{position:static;width:100%;min-height:0}
 .navigation-expanded .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .navigation-expanded .shell{padding-bottom:24px}
 .navigation-expanded #toast{bottom:16px}
 body.writing-page .shell,body.signed-out .shell,body.profile-setup-page .shell{padding-bottom:0}
}
.private-profile-fields{min-inline-size:0;max-width:100%}
.private-profile-fields legend{max-width:100%;overflow-wrap:anywhere}
.writer-toolbar{flex-wrap:wrap}
.writer-toolbar .brand,.writer-toolbar .pill{max-width:100%;min-width:0;flex-shrink:1;white-space:normal;overflow-wrap:anywhere}
.writer-toolbar .brand-word{overflow-wrap:anywhere}
@media(max-width:640px){.writing-sheet .writing-footer .modal-actions{flex-wrap:wrap}.writing-sheet #draft-close{max-width:none;flex:1 1 110px}}
.text-button{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){.brandcaption{margin-left:0}.navigation-expanded .sidebar nav a{flex-direction:row;gap:8px}.navigation-expanded .sidebar nav a span{width:auto}}
@media(max-width:760px){
 .why-header-actions{flex-wrap:wrap;min-width:0}.why-header-actions>div{min-width:0;max-width:100%}
 .why-header .text-button{white-space:normal}.why-header .language-control{max-width:100%}
 .brand{max-width:100%;min-width:0;flex-wrap:wrap}.brand-word{overflow-wrap:anywhere;min-width:0;max-width:100%}
}
.shell>footer{flex-wrap:wrap;gap:12px;overflow-wrap:anywhere}
.shell>footer>span{max-width:100%}
button[aria-pressed=true]{box-shadow:inset 0 -3px 0 currentColor;font-weight:700}
.signed-out.navigation-expanded .sidebar nav{display:none}
.login-card .login-divider{white-space:normal;overflow-wrap:anywhere}
.large-text .story-illustration{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;height:auto;min-height:0}
.large-text :is(.illustration-question,.illustration-story,.illustration-reply){position:relative;inset:auto;transform:none;min-width:0;max-width:100%;overflow-wrap:anywhere}
.large-text .story-illustration figcaption{position:static;max-width:100%}
.large-text .story-illustration::before{transform:none}
@media(max-width:1000px){.story-illustration::before{transform:none}}

/* A single next step, with the same progress labels across invitation and sharing. */
.welcome-paths{display:grid;gap:1rem;margin:1.5rem 0}
.journey-choice{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;text-align:left;border:1px solid #596370;border-radius:16px;padding:1.3rem;background:#f1ebdf;color:#253449;white-space:normal}
.journey-choice strong{font-size:1.2rem}.journey-choice span{font-size:1rem;line-height:1.7}
.journey-progress{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:1rem 0 1.5rem;width:100%}
.journey-progress li{display:flex;flex-direction:column;gap:.4rem;font-size:.875rem;color:#596370;border-bottom:2px solid #8993a0;padding:.5rem;overflow-wrap:anywhere}
.journey-progress li[aria-current=step]{border-bottom:4px solid #253449;font-weight:700;color:#253449;background:#f1ebdf}
.journey-progress li>span{font-size:1.125rem}.sharing-setup .journey-progress{max-width:40rem}
.writing-sheet .editor-bottom{margin:.5rem 0 1rem;gap:1rem;flex-wrap:wrap}
@media(max-width:640px){.journey-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-choice .modal-actions{display:flex;flex-wrap:wrap}}

/* A quiet bookmark for the next visit; no countdowns or posting targets. */
.next-plan,.next-save {padding:1.3rem;border:1px solid var(--line,#c8c4ba);border-radius:18px;background:#e9edf1;margin-block:1.25rem;min-width:0}
.next-save {background:#faf8f3}
.next-plan-heading {display:flex;align-items:center;gap:.8rem}
.next-plan-heading h3 {margin:.4rem 0;flex:1;min-width:0}
.next-plan-actions {display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:1rem 0}
.next-plan small {display:block;line-height:1.8}
.next-suggestions {display:grid;gap:.65rem;margin-block:1.3rem}
.next-suggestion {display:flex;gap:.7rem;align-items:center;text-align:left;background:#fffdf8;border:1px solid #8993a0;border-radius:12px;padding:.75rem;color:#253449;font:inherit;cursor:pointer}
.next-suggestion span {min-width:0;overflow-wrap:anywhere}
.next-picker select {width:100%;max-width:100%;min-width:0}
.revisit-story {display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;padding:1.5rem;margin-block:2rem;background:#f1ebdf;border:1px solid #cbc3b6;border-radius:22px}
.revisit-story h2 {font-family:var(--serif,serif);font-size:1.6rem;line-height:1.7}
.revisit-preview {min-width:0;border-left:3px solid #596370;padding-left:1.3rem}
.revisit-preview blockquote {margin:1rem 0;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.revisit-story{grid-template-columns:1fr;padding:1rem}.next-plan,.next-save{padding:1rem}.next-plan-actions{align-items:stretch;flex-direction:column}.next-plan-heading{align-items:flex-start}.next-picker .modal-actions{flex-wrap:wrap}}

/* A reading-first home: the same warm palette, with text and borders for state. */
.home-mode {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}
.home-mode>span {font-weight:650;color:#253449}
.home-mode .filters {display:flex;flex-wrap:wrap;gap:.5rem}
.home-mode [aria-pressed=true],.received-toolbar [aria-pressed=true] {border:2px solid #253449;background:#e9edf1;font-weight:700;box-shadow:inset 0 -3px #253449}
.reading-home {display:grid;gap:1.8rem}
.reading-welcome {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);align-items:center;gap:1rem;padding:1.5rem;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:24px}
.reading-welcome h1 {font-family:var(--serif,serif);font-size:clamp(1.8rem,2.8vw,2.6rem);line-height:1.5;margin:.6rem 0}
.reading-welcome p {line-height:1.9}
.reading-welcome img {width:100%;height:auto;max-width:280px;justify-self:center}
.reading-links {display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem}
.saved-shelf {margin-block:2rem;padding-block:1.5rem;border-block:1px solid #c8c4ba;min-width:0}
.reading-home .saved-shelf {margin:0}
.saved-empty {padding:1.3rem;background:#f1ebdf;border-radius:12px}
.saved-badge {display:inline-block;color:#253449;font-size:.9rem;line-height:1.7;font-weight:650;margin-bottom:.7rem}
.reading-invitation {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;background:#faf8f3;border-radius:18px;padding:1.3rem}
.reading-invitation h2 {font-size:1.25rem}
.reader-bookmark {margin:1rem 0 2rem;padding:1rem;border:1px solid #c8c4ba;border-radius:14px;background:#f1ebdf}
.reader-bookmark [aria-pressed=true] {border:2px solid #253449;font-weight:700;background:#e9edf1}
.reader-bookmark p {margin:.7rem 0 0;line-height:1.8}
.saved-heading {margin-bottom:2rem;max-width:48rem}
.received-intro[hidden] {display:none}
@media(max-width:700px){.reading-welcome{grid-template-columns:1fr;padding:1.25rem}.reading-welcome img{max-width:230px}.home-mode{align-items:flex-start;flex-direction:column}.reading-links{align-items:stretch;flex-direction:column}.reading-invitation{padding:1rem}.reading-home{gap:1.5rem}}

.received-person-icon .identity-picture {width:100%;height:100%;min-width:0}

/* One shared grid and a single primary writing action keep home quiet. */
.calm-home {max-width:1040px;margin:0 auto;display:grid;gap:2rem}
.home-topline {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.home-topline .home-mode {margin:0;display:flex;align-items:center;gap:.6rem;font-size:.875rem;font-weight:500}
.home-mode select {width:auto;min-width:0;max-width:100%;font:inherit}
.calm-welcome {display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:1.5rem;align-items:center;padding:0 0 1.5rem;border-bottom:1px solid var(--line)}
.calm-welcome h1 {font-family:var(--serif,serif);font-size:clamp(1.8rem,2.8vw,2.5rem);line-height:1.6;margin:0 0 .5rem}
.calm-welcome p {margin:0;line-height:1.8}
.calm-welcome img {width:100%;height:145px;object-fit:contain}
.home-focus {padding:1.5rem 2rem;background:#f1ebdf;border:1px solid #c8c4ba;border-radius:18px}
.home-focus h2 {font-family:var(--serif,serif);font-size:1.65rem;line-height:1.7;margin:.5rem 0}
.home-focus p {max-width:42rem;line-height:1.9;overflow-wrap:anywhere}
.home-focus-actions {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.25rem}
.calm-home .section-top {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem}
.calm-home .section-top h2 {font-size:1.3rem;margin:0}.calm-home .section-top p{margin:.3rem 0 0}
.calm-home .received-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.home-shelf {border-top:1px solid var(--line);padding-top:1.5rem}
.home-story-links {list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.home-story-links button {display:flex;justify-content:space-between;gap:1rem;text-align:left;width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);padding:.8rem 0;font:inherit;color:inherit;cursor:pointer}
.home-story-links span {overflow-wrap:anywhere}.home-story-links small{flex-shrink:0;color:#596370}
.home-quiet-links {display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:1rem}
@media(max-width:700px){.calm-home{gap:1.5rem}.home-topline{align-items:flex-start}.home-topline>.eyebrow{display:none}.calm-welcome{grid-template-columns:1fr}.calm-welcome img{display:none}.home-focus{padding:1.1rem}.calm-home .received-grid{grid-template-columns:1fr}.home-story-links button{flex-direction:column;gap:.4rem}.home-story-links small{flex-shrink:1}.home-mode select{width:100%}.home-topline .home-mode{width:100%;align-items:flex-start;flex-direction:column}.home-focus-actions{align-items:stretch;flex-direction:column}}

.home-topline{justify-content:flex-end}.notice-address{overflow-wrap:anywhere;color:var(--muted)}.notice-row{display:grid;grid-template-columns:1fr minmax(150px,220px);gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.notice-row label{font-weight:700}.notice-zone{display:grid;grid-template-columns:1fr minmax(180px,300px);gap:20px;align-items:center;margin-top:24px}.notice-card select{width:100%;min-width:0}.notice-card .helper{margin:16px 0}.notice-card .settings-save-row{margin-top:24px}@media(max-width:600px){.notice-row,.notice-zone{grid-template-columns:1fr;gap:8px}.home-mode-choice{width:100%}}

.home-received-card{display:flex;flex-direction:column;text-align:left;background:var(--paper,#fffdf7);border:1px solid var(--line);border-radius:18px;padding:0;overflow:hidden;color:inherit;font:inherit;cursor:pointer}.home-received-card>img{width:100%;height:180px;object-fit:cover}.home-received-card>div{padding:24px;position:relative;flex:1}.home-received-card h3{font-size:1.2rem;line-height:1.65;margin:8px 0 12px}.home-card-author{display:flex;gap:12px;align-items:center;margin:0;color:var(--muted);font-size:.9rem}.home-card-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.8;margin:0 0 20px}.home-card-date{font-size:.875rem;color:var(--muted)}.home-card-arrow{float:right}.home-received-card:hover{border-color:var(--sage,#596370)}

.notice-zone{grid-template-columns:1fr minmax(150px,220px)}#settings-notifications{scroll-margin-top:40px}.calm-home .home-received-card:only-child{grid-column:1/-1}.calm-home .home-received-card.has-cover:only-child{display:grid;grid-template-columns:30% minmax(0,1fr)}.calm-home .home-received-card.has-cover:only-child>img{height:100%;min-height:200px;max-height:320px}@media(max-width:600px){.notice-zone{grid-template-columns:1fr}.calm-home .home-received-card.has-cover:only-child{display:flex}.calm-home .home-received-card.has-cover:only-child>img{height:160px;min-height:0}}

.home-card-symbol{display:flex;align-items:center;justify-content:center;height:180px;background:#f1ebdf}.home-card-symbol .question-motif{width:72px;height:72px}.home-received-card>div{display:flex;flex-direction:column}.home-card-date{margin-top:auto}.home-card-arrow{position:absolute;right:24px;bottom:24px}.home-card-author{flex-wrap:wrap}.calm-home .home-received-card:only-child>.home-card-symbol{height:100%;min-height:200px}@media(max-width:600px){.calm-home .home-received-card:only-child>.home-card-symbol{height:160px;min-height:0}}

/* Route/dialog headings receive focus for announcements, but are not controls. */
:where(h1,h2,h3,h4,h5,h6)[tabindex="-1"]:focus{outline:none;box-shadow:none}

/* Mobile story edition. Loaded after the legacy page and accessibility layers. */
:root{--bg:#faf8f3;--paper:#fffefa;--ink:#233d41;--muted:#596370;--green:#253449;--light:#e9edf1;--line:#e9edf1;--orange:#aa4f35;--control-border:#596370;--focus:#21649a}
body:not(.signed-out){background:var(--bg)}
button,input,textarea,select{accent-color:var(--green)}
.button:hover{background:#253449}.button.secondary:hover{background:var(--light)}
.text-button{color:var(--green)}
.mobile-nav{display:none}.mobile-profile{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;overflow:hidden;background:var(--light)}
.mobile-profile img,.mobile-profile svg{width:100%;height:100%;object-fit:cover}
.sidebar{background:var(--paper);width:220px;padding:30px 20px}.sidebar nav a{display:flex;align-items:center;gap:12px;font-size:1rem;color:var(--muted)}
.sidebar nav a.active{background:var(--light);color:var(--green)}.sidebar nav .nav-icon{width:26px;height:28px;flex:none}.nav-icon svg{width:26px;height:26px}
.sidebar-note{display:none}.sidebar .profile{margin-top:auto}.brandcaption{font-size:.8rem;margin-bottom:35px}.brand-word{color:var(--ink)}
.shell{margin-left:220px}.topbar{margin:0 32px;min-height:72px;height:72px}.home-context-note{display:none}
.home-mobile-brand{display:flex}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:16px}
main{max-width:1050px;padding:32px 36px 70px}.home-page main{max-width:760px}.shell>footer{font-size:.8rem}
.calm-home{display:block;max-width:660px;margin:auto}.home-topline{display:flex;justify-content:flex-end;margin-bottom:8px}.home-mode{font-size:.8rem;gap:8px;margin:0}.home-mode select{width:auto;max-width:220px;padding:7px 30px 7px 10px;font-size:.875rem;background:transparent;min-height:44px}
.mobile-welcome h1{font-size:1.7rem;line-height:1.6;margin:16px 0 28px}.home-focus{padding:24px;background:#f1ebdf;border:0;border-radius:18px;margin:0}
.home-focus h2{font-size:1.8rem;line-height:1.65;margin:14px 0 20px}.prompt-label{display:flex;align-items:center;gap:10px;font-size:.875rem;color:var(--muted)}.prompt-label .question-motif{width:30px;height:30px;background:transparent;padding:0}.prompt-label svg{width:28px;height:28px}
.home-focus-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.home-focus-actions .button{min-width:160px;border-radius:9px}.home-focus-actions .text-button{font-size:.9rem}
.story-growth{display:flex;align-items:center;gap:18px;padding:24px 4px;border-bottom:1px solid var(--line);min-height:96px}.story-growth>span:nth-child(2){flex:1}.story-growth small{display:block;font-size:.8rem;color:var(--muted)}.growth-books{display:flex;gap:4px;align-items:flex-end;width:48px;height:45px}.growth-books i{width:12px;height:38px;background:#596370;border-radius:2px;border-left:2px solid #253449}.growth-books i:nth-child(2){height:43px;background:#b28c62;border-color:#927042;transform:rotate(-7deg)}.growth-books i:nth-child(3){height:34px;background:#ac6450;border-color:#884a3d}
.home-arrivals{margin-top:30px}.home-arrivals .section-top{margin:0 0 8px}.home-arrivals h2{font-family:inherit;font-weight:650;font-size:1.125rem}.home-arrivals .section-top .text-button{font-size:.875rem}.mobile-story-feed{display:grid;gap:0}
.feed-story{border-bottom:1px solid var(--line);padding:24px 0}.feed-byline{display:flex;gap:12px;align-items:center;margin-bottom:14px}.feed-byline>div{flex:1;min-width:0}.feed-byline b{display:block;font-size:.95rem;font-weight:600;overflow-wrap:anywhere}.feed-byline time{display:block;font-size:.8rem;color:var(--muted)}.feed-byline .avatar{background:var(--light)}
.feed-story-open{padding:0;width:100%;border:0;background:none;text-align:left;display:block}.feed-story-open h3{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:1.45rem;line-height:1.7;font-weight:500;margin:0 0 12px}.feed-story-open>p{font-size:1rem;line-height:1.85;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 18px}.feed-story-open>img{width:100%;max-height:340px;aspect-ratio:1.45;object-fit:cover;border-radius:12px;display:block}.feed-read{display:flex;align-items:center;gap:8px;color:var(--green);font-size:.875rem;padding-top:16px;min-height:48px}.feed-read svg{width:22px;height:22px}.feed-read>span:last-child{margin-left:auto}.feed-all{display:block;text-align:right;margin-top:10px}.quiet-empty{padding:28px 16px;text-align:center;background:#f1ebdf;border-radius:12px}.quiet-empty svg{color:var(--muted);width:40px;height:40px}.quiet-empty p{margin:12px 0;color:var(--muted)}
.home-quiet-links{margin:30px 0 0;padding:16px 0;gap:16px;font-size:.875rem}
.archive-header{margin-bottom:24px}.archive-header .eyebrow,.archive-header p{display:none}.archive-header h1{font-size:1.8rem;margin:0}.archive-portrait{display:flex;align-items:center;gap:30px;padding:28px;background:#f1ebdf;border:0;border-radius:14px;min-height:0;margin:0 0 28px}.archive-book{flex:none;width:125px;min-height:170px;height:170px;padding:20px 14px;border-radius:3px 10px 10px 3px;background:#253449;color:#fff8e9;border-left:8px solid #253449;box-shadow:5px 5px 0 #c8c4ba;transform:rotate(-5deg);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px}.archive-book>span{font-size:1rem;color:inherit;letter-spacing:.05em;white-space:normal}.archive-book>small{color:inherit;font-size:.7rem;max-width:100%;overflow-wrap:anywhere}.archive-book svg{width:30px;height:30px}.archive-portrait-copy{flex:1;min-width:0}.archive-portrait-copy h2{font-size:1.5rem;line-height:1.6;margin:0 0 8px}.archive-portrait-copy p{margin:0;color:var(--muted)}.archive-portrait-copy .text-button{margin-top:8px}
.archive-contents{margin-bottom:16px}.archive-contents h2{font-size:1.15rem;font-family:inherit}.archive-theme-list{display:flex;gap:8px;flex-wrap:wrap}.archive-theme-list button{padding:8px 13px;min-height:44px;border-radius:22px;background:transparent}.archive-theme-list button[aria-pressed=true]{background:var(--light);border:2px solid var(--green);color:var(--green)}.archive-options{border-block:1px solid var(--line);padding:10px 0;margin-block:18px}.archive-options summary{display:flex;align-items:center;cursor:pointer;color:var(--green);font-size:.9rem}.archive-options summary:after{content:'＋';margin-left:auto}.archive-options[open] summary:after{content:'−'}
.archive-grid{display:grid;grid-template-columns:1fr;gap:0}.archive-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:22px 0;text-align:left;min-height:130px}.archive-card-meta{grid-column:1;display:block;color:var(--muted);font-size:.8rem}.archive-card-meta>span{display:none}.archive-card h3{grid-column:1;margin:0;font-size:1.25rem;line-height:1.6}.archive-card .archive-excerpt{display:none}.archive-photo-wrap{grid-column:2;grid-row:1/4;width:88px;height:88px;border-radius:10px;overflow:hidden;margin:0;align-self:center}.archive-photo{width:100%;height:100%;object-fit:cover}.archive-photo-wrap>span{display:none}.archive-card-foot{grid-column:1;border:0;padding:0;margin:0;font-size:.8rem}.archive-card-foot>span:last-child{display:none}.archive-card .pill{padding:0;border:0;background:transparent;color:var(--muted)}.archive-card .pill:before{content:'○';margin-right:4px}.archive-card .pill.is-shared:before{content:'↗'}.archive-next-page{padding:24px;border-radius:14px;background:#f1ebdf}
.discovery-header h1{font-size:1.8rem}.discovery-header>p,.discovery-header>.eyebrow,.discovery-pick-symbol>span,.discovery-pick>div>small{display:none}.discovery-pick{border-radius:16px;background:#f1ebdf;border:0;padding:24px;gap:20px}.discovery-card{min-height:0;border-radius:12px;box-shadow:none}.discovery-card h3{font-size:1.2rem}.discovery-card>p{font-size:.9rem}.discovery-card-foot>small{font-size:.8rem}.discovery-card-meta{font-size:.8rem}
.writing-sheet{box-shadow:none;border:0;background:var(--paper)}.writing-heading h1{font-size:1.8rem;line-height:1.7}.writing-sheet #entry-text{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 0;min-height:260px;font-size:1.125rem;line-height:2}.writing-footer{background:var(--paper);border-top:1px solid var(--line);padding:12px 0}.writer-toolbar .brand{display:none}.writing-sheet .photo-picker{background:var(--light);border:1px dashed var(--control-border)}.photo-attachment>.helper:not(.photo-format){display:none}.photo-picker small{display:none}.photo-format{font-size:.8rem}.writing-sheet .writing-draft-help{font-size:.85rem}.writer-input-tools .field-label{font-weight:500}.writing-heading .eyebrow{font-size:.8rem}
.saved-photo{width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin-bottom:16px}.saved-preview{border:0;background:#f1ebdf;padding:20px;border-radius:12px}.saved-preview blockquote{margin:12px 0;line-height:1.85}.next-save{background:none;border:0;border-top:1px solid var(--line);padding:12px 0;margin-top:20px}.book-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.book-pagination>span{white-space:nowrap;color:var(--muted)}.book-pagination button:disabled{opacity:.4;cursor:default}.reader-body{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;line-height:2.1}
#share-flow .journey-progress{margin:16px 0}#share-flow .audience-field{border:0;padding:0}#share-flow .audience-field label{border-radius:9px;padding:14px}.share-story-summary{background:#f1ebdf;border:0;border-radius:12px}.share-inline-preview{border:0;border-top:1px solid var(--line)}
@media(max-width:760px){
 body:not(.signed-out) .sidebar{display:none}.shell{margin-left:0;padding-bottom:calc(100px + env(safe-area-inset-bottom))}.topbar{margin:0;padding:10px 20px;min-height:66px;height:auto;flex-wrap:nowrap;background:var(--paper);border-bottom:1px solid var(--line)}.topbar .brand-word{font-size:1.2rem}.topbar .home-mobile-brand{gap:8px}.topbar-actions{gap:8px}.topbar #start-guide{display:none}.topbar .mobile-profile{flex:none}.home-mobile-brand img{width:28px;height:28px}
 main,.home-page main{padding:24px 20px 38px}.home-mode{font-size:.75rem;flex-wrap:wrap;justify-content:flex-end}.home-mode select{max-width:205px;font-size:.8rem}.mobile-welcome h1{font-size:1.35rem;margin:12px 0 22px}.home-focus{padding:22px 20px}.home-focus h2{font-size:1.6rem}.home-focus-actions{gap:12px}.home-focus-actions .button{flex:1;min-width:120px;padding-inline:12px}.home-focus-actions .text-button{font-size:.85rem}.home-arrivals{margin-top:26px}.feed-story-open h3{font-size:1.35rem}.feed-story-open>img{border-radius:10px;max-height:300px}.feed-story{padding:22px 0}.home-quiet-links{flex-wrap:wrap}
 .mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;position:fixed;bottom:0;left:0;right:0;z-index:20;background:var(--paper);border-top:1px solid var(--line);padding:6px 10px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px #233d4105}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:58px;gap:4px;border-radius:8px;padding:4px 2px;color:var(--muted);font-size:.75rem;line-height:1.3}.mobile-nav a>span{width:auto;font-size:inherit}.mobile-nav .nav-icon{height:25px}.mobile-nav svg{width:24px;height:24px}.mobile-nav a.active{background:var(--light);color:var(--green);box-shadow:inset 0 -3px var(--green);font-weight:700}.mobile-nav a[data-nav=questions] .nav-icon{color:var(--green)}
 body.signed-out .mobile-nav,body.profile-setup-page .mobile-nav,body.writing-page .mobile-nav{display:none}.shell>footer{margin:0 20px;padding:20px 0;gap:16px;font-size:.75rem}#toast{bottom:calc(92px + env(safe-area-inset-bottom));left:50%;z-index:30}.writing-page #toast{bottom:16px}
 .archive-header{gap:8px;align-items:center}.archive-header h1{font-size:1.6rem}.archive-header .button{font-size:.85rem;padding:8px 12px}.archive-portrait{padding:24px 20px;gap:22px}.archive-book{width:100px;min-height:144px;height:144px;padding:16px 8px}.archive-book>span{font-size:.9rem}.archive-portrait-copy h2{font-size:1.25rem}.archive-portrait-copy p,.archive-portrait-copy .text-button{font-size:.875rem}.archive-photo-wrap{width:76px;height:76px}.archive-card h3{font-size:1.125rem}.archive-contents h2{font-size:1rem}.archive-theme-list button{font-size:.875rem}.archive-theme-list button span{margin-left:6px}.archive-next-page{padding:20px}.archive-next-page h2{font-size:1.3rem}
 .discovery-header h1{font-size:1.6rem}.discovery-pick{padding:20px;display:block}.discovery-pick-symbol{display:none}.discovery-pick h2{font-size:1.45rem}.discovery-pick p{font-size:.9rem}.discovery-card{padding:20px}.question-grid{grid-template-columns:1fr}
 body.writing-page main{padding:0 20px 24px}.writing-sheet{padding:0;max-width:680px;margin:auto}.writer-toolbar{padding:14px 0;gap:10px}.writing-heading{padding-top:20px}.writing-heading h1{font-size:1.6rem}.writing-footer{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;gap:8px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.writing-footer .modal-actions{margin:0;flex:1;justify-content:flex-end}.writing-footer .modal-actions>.button{flex:0 1 auto}.writing-private{flex:1 1 100%;margin:0;font-size:.8rem}.writing-footer #draft-close{display:none}.writing-page .shell>footer{display:none}
 dialog{border-radius:16px;width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:24px 20px}.reading-modal,.sharing-modal{width:100%;max-height:100dvh;height:100dvh;margin:0;border-radius:0;border:0}.reading-modal #modal-body,.sharing-modal #modal-body{padding-bottom:env(safe-area-inset-bottom)}.reader-body{font-size:1.05rem}.modal-title{font-size:1.5rem}.share-footer{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.book-pagination{flex-wrap:wrap}.book-pagination .text-button{font-size:.9rem}
}
@media(max-width:360px){.archive-portrait{gap:16px;padding:20px 16px}.archive-book{width:84px}.home-focus-actions{flex-direction:column;align-items:stretch}.home-focus-actions .text-button{text-align:center}.home-mode{justify-content:flex-start}.home-mode select{max-width:100%}}
/* At large text sizes the navigation stays in document flow instead of covering content. */
@media(max-width:760px){body.large-text .mobile-nav{position:sticky;bottom:0}body.large-text .shell{padding-bottom:24px}.large-text .mobile-nav a{font-size:.9rem}.large-text .archive-portrait{flex-wrap:wrap}.large-text .archive-portrait-copy{flex-basis:140px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none}}
/* Reset the legacy generic mobile nav height for the new navigation surfaces. */
.mobile-nav,.book-pagination{height:auto}
.mobile-profile .identity-picture,.feed-byline .avatar .identity-picture{width:100%;height:100%;min-width:0}
.home-quiet-links a,.topbar .brand{min-height:44px;display:inline-flex;align-items:center}
.calm-home .home-mode{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;width:auto;font-size:.8rem}.calm-home .home-topline{display:flex;justify-content:flex-end}.calm-home .home-mode select{width:auto;min-width:0;max-width:220px;font-size:.85rem}
@media(max-width:760px){body.home-page .topbar{margin:0;padding:10px 20px}.mobile-profile .identity-picture svg{width:100%;height:100%}}
.book-reading .reader-edit,.book-reading .next-save,.book-reading .reader-history,.book-reading .reader-sharing,.book-reading .reader-other,.book-reading .story-conversation,.book-reading .reader-bottom{display:none}
.book-reading .reader-body{font-size:1.125rem}.book-reading .reader-heading{padding-top:20px}.book-reading .book-pagination{position:sticky;bottom:-24px;background:var(--paper);padding-block:16px;z-index:2}
.people-hero{background:transparent;border:0;border-radius:0;display:block;padding:0;margin-bottom:24px}.people-hero h1{font-size:1.8rem;line-height:1.6}.people-scene,.people-hero .eyebrow,.people-promise{display:none}.people-hero-copy>p{font-size:.95rem}.people-hero .button{font-size:.95rem}.people-groups>.section-top p{display:none}.people-groups>.section-top h2{font-family:inherit;font-size:1.125rem}.people-grid{gap:16px}.people-group{border-radius:14px;box-shadow:none;background:var(--paper)}.group-card-icon{border-radius:14px;overflow:hidden}.people-group h3{font-size:1.25rem}.people-how{margin-bottom:20px}
@media(max-width:760px){.people-hero h1{font-size:1.6rem}.people-grid{grid-template-columns:1fr}.people-group{padding:20px}.people-group .button{width:100%}.book-reading .book-pagination{bottom:-24px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}}
.archive-header{display:flex;flex-wrap:wrap}.archive-header>div{flex:1 1 180px;min-width:0}.archive-header>.button{flex:0 1 auto}.archive-portrait{flex-wrap:wrap}.archive-portrait-copy{flex:1 1 125px}.archive-book{max-width:100%;height:auto;min-height:170px}.archive-book small{white-space:normal}
@media(max-width:760px){.archive-book{min-height:140px}.shell{padding-bottom:calc(var(--mobile-nav-height,80px) + 24px)}.writing-page .shell,.signed-out .shell,.profile-setup-page .shell{padding-bottom:0}}
@media(max-width:760px){.mobile-nav a{font-size:.875rem}body:not(.signed-out):not(.writing-page):not(.profile-setup-page) .shell{padding-bottom:calc(var(--mobile-nav-height,80px) + 24px)}body:not(.writing-page) #toast{bottom:calc(var(--mobile-nav-height,80px) + 16px)}}
@media(forced-colors:active){.mobile-nav a[aria-current=page]{outline:2px solid Highlight;outline-offset:-3px;text-decoration:underline}}
@media(max-width:760px){dialog.reading-modal,dialog.sharing-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;margin:0;border-radius:0;border:0;padding:24px 20px}.reading-modal .reader-heading{padding-top:20px;margin-top:0}}
body .home-context-note{display:none}
@media(min-width:761px){body .topbar .home-mobile-brand{display:none}}
.group-card-icon .identity-picture{width:100%;height:100%;min-width:0}.group-card-icon .identity-picture svg{width:100%;height:100%}
.group-room-header{background:#f1ebdf;border-radius:14px;border:0}.group-room-header h1{font-size:1.8rem}.group-timeline{max-width:700px;margin-inline:auto}.group-timeline .story-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:24px 0;box-shadow:none}.group-timeline .story-cover{border-radius:12px;overflow:hidden}.group-timeline .story-card-content{padding:18px 0}.group-timeline .story-card h3{font-size:1.35rem}.group-timeline .story-card p{font-size:1rem}
@media(max-width:760px){.group-room-header h1{font-size:1.5rem}.group-room-header{padding:20px}.group-timeline .story-cover img{max-height:300px;object-fit:cover}}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mobile-home .home-focus-actions{flex-direction:row;align-items:center;justify-content:flex-start;gap:16px}.mobile-home .home-focus-actions .button{flex:0 1 auto}.mobile-home .home-topline .home-mode{flex-direction:row;align-items:center;width:auto}.mobile-home .home-topline .home-mode select{width:auto;max-width:100%}.mobile-home .home-focus{text-align:left}
@media(max-width:360px){.mobile-home .home-focus-actions{flex-wrap:wrap}.mobile-home .home-focus-actions .button{flex:1 1 160px}}
.archive-portrait-copy{display:block}.archive-portrait-copy>h2{margin-bottom:8px}.archive-portrait-copy>.text-button{margin-top:10px}

/* First-use mobile journey: keep the primary action close without covering the keyboard. */
.writer-toolbar{position:sticky;top:0;z-index:10;background:var(--paper);isolation:isolate}
.writer-toolbar #save-story{min-height:48px;max-width:70%;white-space:normal;line-height:1.5}
.writing-sheet .writing-heading>.pill{display:inline-flex;margin-bottom:16px}
.writing-sheet .writing-heading>.eyebrow{display:none}
.writing-sheet .writing-footer{position:static;inset:auto;background:transparent;backdrop-filter:none;box-shadow:none}
.writing-sheet .writing-footer .modal-actions{display:none}
.photo-actions[data-photo-total="1"] [data-photo-move]{display:none}
.saved-story>.modal-actions{margin:20px 0 24px}
.saved-story>.saved-preview{margin-top:20px}
@media(max-width:760px){
 body.writing-page #main{padding:0 20px 32px}
 .writing-sheet .writer-toolbar{gap:8px;margin-inline:-20px;padding:10px 20px;flex-wrap:wrap}
 .writing-sheet .writer-toolbar #save-story{font-size:1rem;flex:0 1 auto;padding:10px 14px}
 .writing-sheet .writing-heading{margin:24px 0;padding-top:0}
 .writing-sheet #entry-text{scroll-margin-top:100px}
 .writing-sheet .photo-attachment h2,.writing-sheet .writing-error{scroll-margin-top:100px}
 .writing-sheet .attached-photo{min-width:0}
 .writing-sheet .writing-footer .writing-private{max-width:none}
 .signed-out .entry-language{justify-content:space-between;gap:8px;padding:8px 16px}
 .signed-out .entry-language .language-control{flex:1 1 130px;min-width:0}
 .signed-out .entry-language .language-control>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .signed-out .entry-language .language-control select{min-width:0;width:100%;max-width:180px}
 .signed-out .entry-language .reading-size{flex:0 1 auto;font-size:.875rem;gap:6px;padding:6px 8px;margin:0}
 .signed-out .sidebar{padding:12px 20px}
 .signed-out .entry-kicker{margin-bottom:8px}
 .signed-out .login-intro h1{margin-bottom:12px}
 .signed-out .entry-card-label{display:none}
 .signed-out .login-card{padding:20px}
 .saved-story>.modal-actions{display:grid;grid-template-columns:1fr;gap:10px}
 .saved-story>.modal-actions button{width:100%;margin:0}
 .saved-story .saved-photo{max-height:160px}
}
/* Keep large-text and very short viewports scrollable; sticky controls must not consume the screen. */
@media(max-width:760px) and (max-height:420px){.writing-sheet .writer-toolbar{position:static}}
@media(max-width:760px){body.large-text .writing-sheet .writer-toolbar{position:static}}
.writing-sheet .writer-toolbar-tall{position:static}
@media(max-width:760px){
 .writing-sheet .writer-toolbar{margin-inline:0;padding-inline:0}
 .writing-sheet #entry-text,.writing-sheet .photo-attachment h2,.writing-sheet .writing-error{scroll-margin-top:calc(var(--writer-toolbar-height,80px) + 16px)}
}

/* Figma 54:3: shared layout contract. Scoped to the signed-in app; API/state stays unchanged. */
:root{--paper:#f1ebdf;--bg:#f1ebdf;--ink:#253449;--green:#253449;--teal:#253449;--muted:#596370;--line:#c8c4ba;--light:#e9edf1;--sage:#e9edf1;--control-border:#8993a0;--orange:#985336;--focus:#b96232}
body:not(.signed-out){margin:0;background:#f1ebdf;color:var(--ink);font:1.0rem/1.65 -apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic',sans-serif}
body:not(.signed-out) .sidebar{display:none}body:not(.signed-out) .shell{width:100%;max-width:430px;min-height:100dvh;margin:0 auto;padding:0 0 calc(var(--mobile-nav-height,80px) + 20px);background:var(--paper);box-shadow:0 20px 60px #25344912}
body:not(.signed-out) .shell>footer{display:none}body:not(.signed-out) #main{width:auto;max-width:none;margin:0;padding:4px 24px 24px}
body:not(.signed-out) .topbar{display:flex;position:sticky;top:0;z-index:20;width:100%;max-width:none;min-height:80px;height:auto;margin:0;padding:16px 24px;border:0;background:var(--paper);justify-content:space-between;gap:8px}
body:not(.signed-out) .topbar .home-mobile-brand{display:flex;padding:0;margin:0;min-height:44px}body:not(.signed-out) .topbar .brand-word{font:500 1.5625rem/1.2 Georgia,serif;letter-spacing:-1px}body:not(.signed-out) .topbar .brand img,.home-context-note,#start-guide{display:none}
.topbar .mobile-profile{display:flex;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--sage);overflow:hidden}.mobile-profile .identity-picture{width:44px;height:44px;min-width:0}.mobile-profile .identity-picture svg{width:24px;height:24px}.mobile-profile .identity-picture img{width:100%;height:100%;object-fit:cover}
body:not(.signed-out) .topbar.design-subpage .home-mobile-brand,body:not(.signed-out) .topbar.design-subpage .topbar-actions{display:none}.design-page-heading{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.design-page-heading>strong{flex:1;text-align:center;font-weight:500;overflow-wrap:anywhere}.design-back{display:grid;place-items:center;width:44px;min-height:44px;font-size:1.375rem;text-decoration:none;margin-left:-10px;flex:none}.design-header-action{width:44px;flex:none}.design-header-action button{min-width:44px;min-height:44px;padding:0;font-size:1.5rem;border:1px solid var(--line);border-radius:50%;background:transparent}
body:not(.signed-out) h1,body:not(.signed-out) h2,.integrated-story-copy strong{font-family:'Hiragino Mincho ProN','Yu Mincho',Georgia,serif;font-weight:500;letter-spacing:normal}body:not(.signed-out) h1{font-size:1.6875rem;line-height:1.65;margin:16px 0 20px}body:not(.signed-out) h2{font-size:1.5rem;line-height:1.6;margin:20px 0 16px}body:not(.signed-out) p{margin:12px 0}body:not(.signed-out) .button{min-height:52px;padding:14px 16px;line-height:1.5;border-radius:12px;box-shadow:none;font-size:1.0rem;font-weight:600;background:var(--teal);color:white;border:0;text-align:center}.button.secondary{background:transparent;color:var(--ink);border:1px solid var(--line)}.text-button{min-height:44px}.helper{font-size:0.8125rem;color:var(--muted)}[hidden]{display:none}
/* A single five-item navigation, including on desktop. */
body:not(.signed-out) .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:min(100%,430px);height:auto;z-index:30;padding:8px 10px max(8px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:var(--paper);box-shadow:none}
body:not(.signed-out) .mobile-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:54px;padding:0;gap:2px;font-size:0.6875rem;line-height:1.65;color:var(--muted);border:0;background:transparent;border-radius:0;box-shadow:none;position:relative;text-decoration:none}.mobile-nav a.active,.mobile-nav a[aria-current=page]{color:var(--teal);font-weight:700;background:transparent;box-shadow:none}.mobile-nav .nav-icon{display:grid;place-items:center;width:34px;height:28px}.mobile-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mobile-nav a[data-nav=questions] .nav-icon{background:var(--teal);border-radius:9px;color:white}.mobile-nav a[data-nav=questions] svg{width:22px;height:22px}.mobile-nav .nav-unread{position:absolute;right:1px;top:0;font-size:0.625rem;min-width:16px;background:var(--teal);color:white;border-radius:10px;padding:0 3px}
body.signed-out .mobile-nav,body.writing-page .mobile-nav,body.profile-setup-page .mobile-nav{display:none}.design-page-heading svg,.integrated-home-book svg,.design-bookmark svg{stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* Home: exact vertical sequence, without the former mode selector or prompt label. */
body .integrated-home{width:auto;max-width:none;margin:0;padding:0}body .integrated-home .mobile-welcome{margin:0;padding:0}body .integrated-home .mobile-welcome h1{font-size:1.6875rem;line-height:1.65;margin:16px 0 20px;max-width:none}.integrated-home-book{display:block;width:100%;min-height:0;background:var(--teal);color:#fff;padding:22px 20px;margin:20px 0;text-decoration:none;border-radius:5px;box-shadow:inset 6px 0 #ffffff15}.integrated-home-book>strong{font:500 1.625rem/1.65 'Hiragino Mincho ProN','Yu Mincho',serif;display:block;overflow-wrap:anywhere}.book-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:1.0rem;line-height:32px}.book-bottom svg{width:30px;height:30px}
body .integrated-home .home-focus{display:block;margin:0;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none;text-align:left}.integrated-home .prompt-label{display:none}body .integrated-home .home-focus h2{font-size:1.5rem;line-height:1.6;margin:20px 0 16px}body .integrated-home .home-focus-actions{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0}body .integrated-home .home-focus-actions .button{width:100%;flex:none}.integrated-home .home-focus-actions>.text-button{display:grid;place-items:center;align-self:center;font-size:0.875rem;margin:8px auto 0;text-decoration:underline}.home-arrivals{margin:26px 0 0;border:0;padding:0}.home-arrivals>.section-top{border-top:1px solid var(--line);padding-top:16px;margin:0;display:flex;justify-content:space-between;align-items:center;gap:12px}.home-arrivals>.section-top h2{font-family:inherit;font-size:1.0rem;font-weight:600;margin:0}.home-arrivals>.section-top a{font-size:0.8125rem;text-decoration:none}.home-arrivals .feed-all{display:none}.home-quiet-links{display:none}.home-shelf{border-top:1px solid var(--line);margin:26px 0 0;padding-top:16px}.home-shelf .section-top h2{font:600 1.0rem/1.65 inherit;margin:0}.home-shelf .section-top a{font-size:0.8125rem}
/* Archive / inbox: no oversized cards or inherited grids. */
.integrated-story-row{display:flex;align-items:center;width:100%;text-align:left;gap:16px;padding:22px 0;margin:0;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;box-shadow:none;color:var(--ink);min-height:0}.integrated-story-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.integrated-story-copy strong{font-size:1.1875rem;line-height:1.55;overflow-wrap:anywhere}.integrated-meta{font-size:0.75rem;line-height:1.65;color:var(--muted);display:flex;align-items:center;gap:7px;flex-wrap:wrap}.integrated-excerpt{font-size:0.8125rem;line-height:1.65;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.integrated-story-copy>.integrated-meta:last-child{font-size:0.6875rem}.integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:96px;height:112px;object-fit:cover;border-radius:6px;flex:none}.integrated-ornament{display:grid;place-items:center;width:62px;height:88px;background:#e9edf188;border-radius:60px 60px 4px 4px;color:#596370;flex:none}.integrated-ornament svg{width:36px;height:36px}.unread-badge{font-size:0.625rem;border:1px solid #596370;border-radius:3px;color:var(--teal);padding:0 4px;background:transparent}.integrated-story-row:hover{background:#f1ebdf55}
body .archive-view,body .received-page,body .people-page,body .group-room,body .account-settings,body .discovery,body .future-page{max-width:none;margin:0;padding:0}.archive-header{display:none}.archive-portrait{display:flex;flex-wrap:nowrap;align-items:center;gap:20px;margin:14px 0 26px;padding:0;background:transparent;border:0;border-radius:0}.archive-book{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:105px;height:144px;min-height:144px;padding:12px 8px;flex:none;transform:none;background:var(--teal);color:var(--paper);border:0;border-radius:3px 6px 6px 3px;box-shadow:inset 6px 0 #ffffff14,4px 4px #c8c4ba;font:0.875rem/1.65 'Yu Mincho',serif}.archive-book svg{width:29px;height:29px}.archive-book small{display:none}.archive-book>span{font-size:0.875rem}.archive-portrait-copy{min-width:0;flex:1}.archive-portrait-copy h2{font-size:1.4375rem;margin:0 0 6px;line-height:1.65}.archive-portrait-copy p{font-size:0.875rem;color:var(--muted);margin:0}.archive-portrait-copy .text-button{font-size:0.8125rem;padding:0;margin:6px 0 0}.archive-grid{display:block}.archive-options{border:0;background:transparent;padding:0;margin:12px 0}.archive-options>summary{font-size:0.8125rem;min-height:44px;text-decoration:underline}.archive-options .archive-controls{display:block;padding:0}.archive-options .archive-theme-list{flex-wrap:wrap}.archive-options .archive-theme-list button{font-size:0.8125rem}.archive-contents{background:transparent;border:0;padding:0}.archive-contents h2{display:none}.archive-filters{display:flex;gap:6px;border:0;border-bottom:1px solid var(--line);margin:18px 0 0;padding:0;background:transparent}.archive-filters .filter{flex:1;padding:10px 5px;min-height:48px;font-size:0.875rem;border:0;border-radius:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted)}.archive-filters .filter[aria-pressed=true]{border-bottom-color:var(--teal);color:var(--teal);font-weight:600}.archive-filters .filter>span{display:none}.count{font-size:0.75rem}.archive-next-page{border:0;background:transparent;padding:24px 0;margin:0}.archive-next-page>div:first-child{display:none}.archive-next-page>div:last-child{display:grid;gap:12px}.archive-next-page .button{width:100%}.archive-next-page .text-button{display:none}.load-more{width:100%;margin:24px 0}.archive-footer{padding:24px 0;display:flex;flex-wrap:wrap;gap:12px}.archive-footer button{font-size:0.8125rem}
.design-search,.integrated-search{display:flex;align-items:center;gap:10px;background:#f1ebdf;border:0;border-radius:10px;margin:12px 0 18px;padding:10px 12px}.design-search>span,.integrated-search>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.design-search input,.integrated-search input{width:100%;min-width:0;background:transparent;border:0;border-radius:0;outline-offset:6px;min-height:28px;padding:0;font-size:1.0rem;box-shadow:none}.received-page>header h1{display:none}.received-page .integrated-lead{font:500 1.6875rem/1.65 'Hiragino Mincho ProN','Yu Mincho',serif;margin:16px 0 20px;max-width:none}.received-toolbar{display:block;border:0;padding:0;margin:0}.integrated-reading .filters,.share-tabs,.integrated-group-tabs{display:flex;gap:6px;border:0;border-bottom:1px solid var(--line);margin:18px 0 0;padding:0}.integrated-reading .filter,.share-tabs button,.integrated-group-tabs .filter{flex:1;min-height:48px;font-size:0.875rem;padding:10px 5px;border:0;border-radius:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted)}.integrated-reading .filter[aria-pressed=true],.share-tabs button[aria-pressed=true],.integrated-group-tabs .filter[aria-pressed=true]{border-bottom-color:var(--teal);color:var(--teal);font-weight:600}.integrated-author{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;font-size:0.875rem}.integrated-author select{max-width:65%;min-height:44px;font-size:0.875rem}
/* Discovery: themes as chips, each question one row, explanation on opening. */
.discovery-header{margin:0;padding:0}.discovery .discovery-pick{display:none}.discovery-browse{border:0;background:transparent;padding:0;margin:0}.discovery-browse>h2{display:none}.discovery .question-trails{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0 8px;margin:0}.discovery .question-trail{display:block;flex:none;width:auto;min-height:44px;padding:8px 15px;background:transparent;border:1px solid var(--line);border-radius:24px;color:var(--ink)}.question-trail svg,.question-trail small{display:none}.question-trail strong{font-size:0.875rem;font-weight:400}.question-trail[aria-pressed=true]{background:var(--teal);color:white;border-color:var(--teal)}.design-advanced{margin:12px 0}.design-advanced summary{font-size:0.8125rem;min-height:44px}.discovery-results-top{display:flex;justify-content:flex-end;align-items:center;margin:0}.discovery-results-top>h2{display:none}.discovery-results-top button{font-size:0.75rem}#question-count{font-size:0.75rem;color:var(--muted);margin:0}.discovery .question-grid{display:block}.design-question-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:18px 0}.design-question-open{display:flex;align-items:center;flex:1;min-width:0;gap:14px;text-align:left;padding:0;min-height:80px;background:transparent;border:0}.design-question-open>span:last-child{flex:1;min-width:0}.design-question-open strong{display:block;font:500 1.1875rem/1.65 'Yu Mincho','Hiragino Mincho ProN',serif}.design-question-open small{font-size:0.75rem;color:var(--muted)}.design-question-row .question-motif,.design-question-detail>.question-motif{display:grid;place-items:center;width:48px;height:60px;border-radius:30px 30px 8px 8px;flex:none;background:var(--sage)}.design-question-row .question-motif svg{width:25px;height:25px}.design-bookmark{width:44px;height:44px;flex:none;display:grid;place-items:center;border:0;background:transparent}.design-bookmark svg{width:22px;height:22px}.design-bookmark[aria-pressed=true] svg{fill:var(--teal)}.design-question-detail>.question-motif{width:72px;height:88px;margin-top:24px}.design-question-detail .button{display:block;width:100%;margin-top:12px}.discovery-resume{background:transparent;border:1px solid var(--line);padding:12px;border-radius:10px}.discovery-tools{padding:0;background:transparent;display:grid;grid-template-columns:1fr 1fr;gap:12px}.next-plan{box-shadow:none;border:1px solid var(--line);padding:16px;background:transparent}.next-plan small,.next-plan>p{display:none}
/* Editor: photo before prose, matching the photo-first reference. */
body.writing-page .topbar{display:none}body.writing-page #main{padding:0 24px 24px}.writing-sheet{background:var(--paper);padding:0;border:0;box-shadow:none;max-width:none}.writing-sheet .writer-toolbar{position:sticky;top:0;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;min-height:80px;margin:0;padding:16px 0;background:var(--paper);z-index:20}.writer-toolbar .brand{display:none}.writer-toolbar #writer-back{min-width:44px;min-height:44px;font-size:1.375rem;padding:0;margin-left:-10px}.design-editor-title{font-weight:500;flex:1;text-align:center}.writing-sheet .writer-toolbar #save-story{min-height:44px;max-width:45%;padding:10px 16px;border-radius:9px;font-size:1.0rem}.writing-sheet .writing-heading{padding:0;margin:0}.writing-sheet .writing-heading h1{font-size:1.5rem;margin:20px 0 16px;line-height:1.6}.writing-heading>.pill{display:inline-flex;font-size:0.8125rem;padding:5px 10px;background:var(--sage);border-radius:20px;margin:0}.design-writing-hint{font-size:0.8125rem;color:var(--muted);margin:8px 0 16px}.design-writing-hint summary{min-height:44px;cursor:pointer}.writer-input-tools{margin-top:16px}.writer-input-tools label{font-size:0.8125rem;font-weight:400;color:var(--muted)}#quick-photo{display:none}.writing-sheet #entry-text{width:100%;min-height:260px;border:0;background:transparent;padding:14px 0;border-radius:0;font:1.125rem/1.9 inherit;resize:vertical}.editor-bottom{font-size:0.75rem;margin:8px 0;color:var(--muted)}.writing-sheet .photo-attachment{margin:0;padding:0;border:0}.photo-attachment>.section-top h2{display:none}.photo-attachment>.section-top{justify-content:flex-end;margin:0;font-size:0.75rem}.photo-picker{display:flex;align-items:center;justify-content:center;width:100%;min-height:92px;border:1px dashed #596370;background:#ffffff55;border-radius:12px;margin:4px 0 18px;padding:16px}.photo-picker small{display:none}.photo-format{font-size:0.75rem}.attached-photo{display:block;padding:0;margin:16px 0;background:transparent;border:0}.attached-photo>img{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:12px}.attached-photo>div{padding:12px 0}.attached-photo label{font-size:0.8125rem}.attached-photo input{font-size:0.875rem}.photo-actions{display:flex;gap:12px;flex-wrap:wrap}.writing-draft-help{font-size:0.8125rem}.writing-sheet .writing-footer{position:static;border:0;padding:0}.writing-footer .modal-actions{display:none}
/* Settings: list -> one setting page, matching the prototype, with existing working forms. */
.settings-intro,.settings-shortcuts{display:none}.design-profile-card{display:flex;align-items:center;gap:16px;padding:20px 0 26px;border-bottom:1px solid var(--line);text-decoration:none}.design-profile-card>.avatar{width:60px;height:60px;flex:none}.design-profile-card .identity-picture{width:60px;height:60px;min-width:0}.design-profile-card>span:nth-child(2){flex:1;min-width:0}.design-profile-card strong{display:block;font:500 1.5625rem/1.65 'Yu Mincho',serif;overflow-wrap:anywhere}.design-profile-card small{display:block;font-size:0.8125rem;color:var(--muted);margin-top:5px}.integrated-setting{border-bottom:1px solid var(--line);margin:0;padding:0}.integrated-setting>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:16px 0;min-height:68px;font-size:1.0rem;cursor:pointer}.integrated-setting>summary:after{content:'›';font-size:1.375rem}.integrated-setting[open]>summary{display:none}.integrated-setting .settings-card{border:0;border-radius:0;background:transparent;box-shadow:none;padding:20px 0;margin:0}.integrated-setting .settings-card>h2,.settings-section-heading{display:none}.account-settings>.settings-signout{border:0;background:transparent;padding:24px 0}.settings-signout>div{display:none}.design-home-mode .home-mode{display:block;width:100%;font-size:0.875rem}.design-home-mode .home-mode select{width:100%;max-width:none}.settings-profile-preview{background:transparent}.settings-provider-mark{min-width:44px;width:auto;padding:4px}.settings-save-row{display:block}.settings-save-row .button{width:100%}.settings-detail{margin-top:20px}
/* Groups and future workspace. */
.people-page>header h1{margin:16px 0 20px}.people-page>header p{display:none}.people-page>header>.button{display:none}.people-page .integrated-search{margin-bottom:28px}.integrated-group-card{display:flex;align-items:center;gap:15px;padding:20px 16px;margin:0 0 18px;border-radius:12px;background:var(--sage);text-decoration:none;overflow:hidden}.integrated-group-card:nth-child(3n+2){background:#f1ebdf}.integrated-group-card:nth-child(3n+3){background:#e9edf1}.integrated-group-card>.group-card-icon{width:74px;height:80px;flex:none;border-radius:12px;overflow:hidden;background:#fff6}.group-card-icon .identity-picture{width:100%;height:100%;min-width:0}.group-card-icon img{width:100%;height:100%;object-fit:cover}.integrated-group-card>span:nth-child(2){flex:1;min-width:0}.integrated-group-card strong{display:block;font:500 1.3125rem/1.65 'Yu Mincho',serif;overflow-wrap:anywhere}.integrated-group-card small{display:block;font-size:0.75rem;color:var(--muted);margin-top:6px}.group-room>a:first-child{display:none}.group-room-header{display:flex;flex-direction:column-reverse;align-items:center;text-align:center;background:var(--sage);border-radius:12px;border:0;padding:24px 18px;margin:0}.group-room-header h1{font-size:1.625rem;margin:12px 0 4px}.group-room-header p{font-size:0.8125rem;margin:0}.group-room-emblem{width:100px;height:100px}.group-room-emblem .identity-picture{width:100%;height:100%;min-width:0}.group-room-emblem img{width:100%;height:100%;object-fit:cover;border-radius:12px}.group-members-panel{border:0;background:transparent;padding:0}.group-members-panel .member-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.member-row>.avatar{width:44px;height:44px;flex:none}.member-row .identity-picture{width:44px;height:44px;min-width:0}.group-reading-actions{margin-top:24px}.group-reading-actions>p{display:none}.group-reading-actions>.button{width:100%}.group-sharing-note,.group-exit-footer{font-size:0.8125rem;margin-top:24px}.group-exit-footer p{display:none}.group-exit-footer button{font-size:0.8125rem}.group-timeline{display:block}
.future-page>a:first-child{display:none}.future-link{display:block;text-decoration:none;border-top:1px solid var(--line);margin-top:30px;padding:20px 0;font-size:1.0rem}.future-link>span:first-child{display:flex;align-items:center;gap:10px}.future-link svg{width:22px;height:22px}.future-link small{display:block;font-size:0.8125rem;color:var(--muted);margin-top:6px}.future-link>span:last-child{display:none}.future-feature{display:flex;align-items:center;gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}.future-feature>div{flex:1;min-width:0;overflow-wrap:anywhere}.future-feature h2{font-size:1.4375rem;margin:8px 0 10px}.future-feature p{font-size:0.875rem;margin:0;color:var(--muted)}.future-feature .integrated-ornament{width:48px;height:60px}.future-feature .pill{font-size:0.75rem}.future-privacy{font-size:0.875rem;margin:24px 0}.future-privacy summary{min-height:44px}.future-page .integrated-lead{font-size:1.0rem;line-height:1.8}
/* Reader / sharing pages use the same 430px canvas at every viewport. */
body:not(.signed-out) dialog{width:calc(100% - 24px);max-width:406px;max-height:calc(100dvh - 24px);padding:24px;border:0;background:var(--paper);color:var(--ink);border-radius:16px}dialog::backdrop{background:#25344966}body:not(.signed-out) dialog.reading-modal,body:not(.signed-out) dialog.sharing-modal{width:min(100%,430px);max-width:430px;height:100dvh;max-height:100dvh;inset:0;margin:0 auto;border-radius:0;padding:16px 24px 32px}.reader-top{display:flex;align-items:center;gap:8px;min-height:64px;padding:0;border:0}.reader-top button{font-size:0.8125rem}.reader-top>span{font-size:0.8125rem}.reader-heading{padding:0;margin:16px 0}.reader-heading .eyebrow{display:none}.reader-heading .modal-title{font:500 1.8125rem/1.65 'Hiragino Mincho ProN','Yu Mincho',serif}.reader-meta{font-size:0.8125rem}.reader-body{font:1.1875rem/1.95 'Hiragino Mincho ProN','Yu Mincho',serif;margin:24px 0 30px;padding:0;border:0;background:transparent}.photo-gallery img{border-radius:12px;width:100%;max-height:320px;object-fit:cover}.reader-bookmark .helper{display:none}.reader-bookmark .button{font-size:0.8125rem;min-height:44px;padding:10px}.reader-edit,.reader-sharing,.next-save,.story-conversation{background:transparent;border:0;border-top:1px solid var(--line);padding:24px 0;margin:24px 0 0;box-shadow:none}.reader-edit>span,.next-save>p,.story-conversation .eyebrow{display:none}.reader-sharing .button{width:100%}.share-story-summary{border:0;background:transparent;border-bottom:1px solid var(--line);padding:15px 0;border-radius:0}.share-footer{background:var(--paper);padding-top:16px}.share-footer .button{width:100%}#share-flow .recipient-row{border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;padding:17px 0}.share-inline-preview{border:0;border-top:1px solid var(--line)}.share-complete .journey-progress{display:none}.saved-preview{background:transparent;border:0;padding:0}.saved-photo{border-radius:12px}.saved-story>.modal-actions{display:grid;gap:12px}.saved-story>.modal-actions button{width:100%}
#toast{left:50%;bottom:calc(var(--mobile-nav-height,80px) + 16px);width:min(350px,90%);transform:translateX(-50%);z-index:100}.writing-page #toast{bottom:16px}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
body.large-text .integrated-story-copy strong,body.large-text .design-question-open strong{font-size:1.375rem}body.large-text .integrated-meta,body.large-text .integrated-excerpt,body.large-text .helper{font-size:1.0rem}body.large-text .reader-body,body.large-text #entry-text{font-size:1.375rem}body.large-text .mobile-nav a{font-size:0.8125rem;white-space:normal}body.large-text .writing-sheet .writer-toolbar,.writing-sheet .writer-toolbar-tall{position:static}
@media(max-width:350px){body:not(.signed-out) #main,body.writing-page #main{padding-inline:18px}body:not(.signed-out) .topbar{padding-inline:18px}.archive-portrait{gap:15px}.archive-book{width:85px;height:130px;min-height:130px}.archive-portrait-copy h2{font-size:1.3125rem}.integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:80px;height:98px}.integrated-story-copy strong{font-size:1.125rem}.design-question-open{gap:10px}.design-question-open strong{font-size:1.125rem}.design-question-row .question-motif{width:38px;height:52px}.design-question-row{gap:4px}.integrated-group-card{gap:10px;padding:16px 12px}.integrated-group-card>.group-card-icon{width:60px}.integrated-group-card strong{font-size:1.1875rem}.future-feature h2{font-size:1.25rem}.future-feature{align-items:flex-start}.design-editor-title{font-size:0.875rem}.writing-sheet .writer-toolbar #save-story{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none}}@media(forced-colors:active){.mobile-nav a[aria-current=page],.filter[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-3px}}
/* Explicitly reset legacy navigation span rules. */
body:not(.signed-out) .topbar .home-context-note{display:none}
body:not(.signed-out) .mobile-nav a>span:not(.nav-icon):not(.nav-unread){width:auto;max-width:100%;font-size:0.6875rem;line-height:1.65;white-space:normal}
body.large-text .mobile-nav a>span:not(.nav-icon):not(.nav-unread){font-size:0.8125rem;white-space:normal}
.home-shelf .section-top h2{font-family:inherit;font-size:1.0rem;font-weight:600;line-height:1.65}
.writing-sheet #entry-text{font-family:inherit;font-size:1.125rem;line-height:1.9}
.archive-header:has([data-trash="false"]){display:block}.archive-header:has([data-trash="false"]) h1,.archive-header:has([data-trash="false"]) p{display:none}

.writing-sheet .writer-toolbar{border:0}.writing-sheet .writer-toolbar #save-story{flex:0 0 auto;width:auto;min-width:64px}.writing-sheet .writer-toolbar #writer-back{flex:0 0 44px;width:44px}
.writing-sheet .photo-picker{gap:10px;font-weight:400}.writing-sheet #photo-count{font-size:0.75rem;font-weight:400}.photo-attachment>.section-top:empty{display:none}.photo-attachment>.section-top{min-height:0;padding:0}.design-photo-help{font-size:0.75rem;color:var(--muted);margin-top:16px}.design-photo-help summary{min-height:44px}.writing-sheet .writing-draft-help{display:none}.writing-sheet .writer-input-tools{margin-top:16px}.writing-sheet .editor-bottom{margin-top:16px}
#sharing .integrated-search{display:flex;border:0;margin:12px 0 18px;padding:10px 12px;background:#f1ebdf;min-height:48px}
#sharing #recipient-search{width:100%;height:auto;min-width:0;min-height:28px;flex:1;padding:0;border:0;background:transparent;font-size:1.0rem}
#sharing .recipient-row{display:flex;gap:16px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:17px 0;background:transparent}
#share-flow>.eyebrow{display:none}#sharing legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#sharing .share-footer{display:flex;align-items:center;gap:12px}#sharing #share-back{min-width:80px;padding:0}#sharing #share-apply{min-width:0;flex:1;width:auto}
#sharing .audience-field{padding:0;border:0;min-width:0}#share-flow .share-story-summary{margin:0 0 18px}#share-flow h2{margin-top:44px}

.archive-next-page>div:first-child{display:block}.archive-next-page>div:first-child>.eyebrow,.archive-next-page>div:first-child>p{display:none}.archive-next-page h2{font-size:1.3125rem;margin:0 0 16px}.archive-options{margin:4px 0}.archive-options>summary{padding:6px 0}.archive-portrait-copy p{margin:0}.archive-portrait-copy .text-button{display:inline-flex;align-items:center}.archive-portrait{margin:14px 0 22px}.design-search input::placeholder{color:var(--muted)}

.design-profile-card strong,.design-editor-title,.design-question-open strong,.mobile-nav a>span,.share-footer button{overflow-wrap:anywhere}
/* The reader already has a visible back action; avoid two overlapping close controls. */
dialog.reading-modal>#close{display:none}

/* Mobile home: the desktop palette separates writing, reading and keeping. */
@media(max-width:1099px){
 body:not(.signed-out){--focus:#253449}
 body .integrated-home .home-focus,
 body .integrated-home .home-arrivals,
 body .integrated-home .home-shelf,
 body .integrated-home .home-conversations{
  margin:24px 0 0;padding:20px 18px;border:0;border-radius:12px;box-shadow:none;min-width:0;
 }
 body .integrated-home .home-focus{background:#f1ebdf}
 body .integrated-home .home-focus h2{margin:0 0 20px}
 body .integrated-home .home-arrivals{background:#e9eef2}
 body .integrated-home .home-shelf{background:#e9edf1}
 body .integrated-home .home-conversations{background:#fffdf8}
 body .integrated-home :is(.home-arrivals,.home-shelf,.home-conversations)>.section-top{
  border:0;padding:0;margin:0 0 8px;gap:8px;flex-wrap:wrap;
 }
 body .integrated-home :is(.home-arrivals,.home-shelf,.home-conversations)>.section-top h2{
  font-family:inherit;font-size:1rem;font-weight:600;line-height:1.65;margin:0;
 }
 body .integrated-home :is(.home-arrivals,.home-shelf,.home-conversations)>.section-top a{
  margin-left:auto;flex-shrink:0;
 }
 .integrated-home .integrated-story-row{gap:12px;padding:18px 0}
 .integrated-home .integrated-story-row:last-child{border-bottom:0;padding-bottom:0}
 .integrated-home .integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:80px;height:100px}
 .integrated-home .integrated-ornament{width:48px;height:72px}
 .integrated-home .home-story-links{margin-bottom:0}
}
@media(max-width:350px){
 body .integrated-home :is(.home-focus,.home-arrivals,.home-shelf,.home-conversations){padding:18px 14px}
 .integrated-home .integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:68px;height:88px}
}

/* Web: 1440px Figma canvas / 1280px reading room. Mobile stays in integrated.css. */
.desktop-nav,.desktop-write,.desktop-create,.desktop-home-heading,.desktop-book-imprint,.desktop-settings-nav,.desktop-settings-title{display:none}
.desktop-book-scene{display:contents}
@media(min-width:1100px){
 body:not(.signed-out){background:var(--paper);font-size:1.0625rem}
 body:not(.signed-out) .shell{max-width:none;box-shadow:none;padding-bottom:64px}
 body:not(.signed-out) #main{width:calc(100% - 112px);max-width:1280px;margin:0 auto;padding:48px 0 56px}
 body:not(.signed-out) .topbar{position:relative;min-height:88px;padding:20px max(56px,calc((100% - 1280px)/2));gap:28px;border-bottom:1px solid var(--line);background:var(--paper)}
 body:not(.signed-out) .topbar.design-subpage .home-mobile-brand,body:not(.signed-out) .topbar.design-subpage .topbar-actions,body.writing-page .topbar{display:flex}
 body:not(.signed-out) .topbar .brand-word{font:500 1.6875rem/1.2 Georgia,serif;letter-spacing:4px}
 body:not(.signed-out) .mobile-nav,.topbar .design-page-heading{display:none}
 .desktop-nav{display:flex;flex:1;align-items:center;justify-content:center;gap:clamp(18px,2.8vw,40px);min-width:0}
 .desktop-nav a{display:flex;align-items:center;position:relative;gap:6px;color:var(--muted);font-size:.9375rem;text-decoration:none;min-height:48px;border-bottom:2px solid transparent;white-space:nowrap}
 .desktop-nav a[aria-current=page]{color:var(--ink);border-color:var(--teal)}
 .desktop-nav .nav-unread{font-size:.6875rem;min-width:20px;text-align:center;background:var(--sage);border-radius:20px;padding:0 4px}
 .topbar-actions{display:flex;align-items:center;gap:20px}
 .desktop-write{display:inline-flex;align-items:center;justify-content:center;min-width:130px;white-space:nowrap}
 body:not(.signed-out) .button{min-height:48px;border-radius:6px;padding:12px 22px;font-size:1rem;font-weight:500}
 body:not(.signed-out) h1{font-size:2.375rem;line-height:1.5;margin:0 0 32px}
 body:not(.signed-out) h2{font-size:1.5rem}
 .helper{font-size:.875rem}
 .design-search,.integrated-search{border-radius:6px;min-height:48px;background:#f1ebdf}
 .filter[aria-pressed=true]{font-weight:600}
 body:not(.signed-out) input,body:not(.signed-out) select{border-radius:6px}
 .desktop-nav a:focus-visible{outline-offset:4px}
 body .integrated-home{display:grid;grid-template-columns:minmax(0,760fr) minmax(0,440fr);column-gap:80px;row-gap:32px;align-items:start}
 .integrated-home>*{min-width:0}
 body .integrated-home .mobile-welcome{grid-column:1;grid-row:1}
 body .integrated-home .mobile-welcome h1{font-size:2.75rem;line-height:1.65;margin:0;max-width:640px}
 .mobile-home-heading{display:none}
 .desktop-home-heading{display:inline}
 .desktop-book-scene{display:flex;grid-column:2;grid-row:1/span 2;align-items:center;justify-content:center;background:var(--sage);border-radius:6px;min-height:432px;padding:50px 30px}
 .integrated-home-book{width:252px;min-height:332px;margin:0;padding:32px 28px 28px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 9px 0 #ffffff15,6px 7px 0 #c8c4ba;border-radius:3px 6px 6px 3px}
 .desktop-book-imprint{display:block;letter-spacing:4px;font: .75rem Georgia,serif}
 .integrated-home-book>strong{font-size:1.875rem;line-height:1.75;margin:30px 0}
 .book-bottom{font-size:.875rem;margin-top:auto;border-top:1px solid #ffffff55;padding-top:16px}
 .book-bottom svg{width:24px;height:24px}
 body .integrated-home .home-focus{grid-column:1;grid-row:2;background:#f1ebdf;border-radius:6px;padding:26px 28px}
 .integrated-home .prompt-label{display:flex;align-items:center;gap:10px;font-size:.875rem;color:#934f3d}
 .integrated-home .prompt-label .question-motif{display:none}
 body .integrated-home .home-focus h2{font-size:1.6875rem;margin:16px 0 24px}
 body .integrated-home .home-focus-actions{flex-direction:row;align-items:center;gap:20px}
 body .integrated-home .home-focus-actions .button{width:auto}
 .integrated-home .home-focus-actions>.text-button{margin:0;text-decoration:none;align-self:auto}
 .home-arrivals{grid-column:1;margin:12px 0 0}
 .home-arrivals>.section-top{padding-top:26px}
 .home-arrivals>.section-top h2,.home-shelf .section-top h2{font:500 1.5rem/1.6 'Yu Mincho',serif}
 .home-arrivals .integrated-story-row{flex-direction:row-reverse;gap:24px;align-items:center;border-bottom:0}
 .home-arrivals .integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:240px;height:156px}
 .home-arrivals .integrated-ornament{width:180px;height:156px;border-radius:6px}
 .integrated-home .home-shelf{grid-column:2;margin:12px 0 0;padding-top:26px}
 .integrated-home>.conversation-inbox{grid-column:1/-1}
 .integrated-home>.home-quiet-links{display:flex;grid-column:1/-1;justify-content:space-between;padding-top:24px;border-top:1px solid var(--line);font-size:.875rem}
 .integrated-home:not(:has(.desktop-book-scene)) .mobile-welcome{grid-column:1/-1}
 .integrated-home:not(:has(.desktop-book-scene)) .home-arrivals{grid-column:1;grid-row:2}
 .integrated-home:not(:has(.desktop-book-scene)) .home-shelf{grid-column:2;grid-row:2}
 .integrated-home .share-journey{grid-column:1/-1}
 /* Photo and type covers use the same rhythm, with actual record content. */
 .archive-grid,#received-results,.group-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:start}
 .archive-grid .integrated-story-row,#received-results>.integrated-story-row,.group-timeline .integrated-story-row{display:flex;flex-direction:column-reverse;align-items:stretch;gap:18px;padding:0 0 24px;border:0}
 .archive-grid .integrated-story-row>:is(img,span):where(img,.ink-thumbnail),#received-results>.integrated-story-row>:is(img,span):where(img,.ink-thumbnail),.group-timeline .integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:100%;height:180px;border-radius:6px;object-fit:cover}
 .archive-grid .integrated-ornament,#received-results>.integrated-story-row>.integrated-ornament,.group-timeline .integrated-ornament{width:100%;height:180px;border-radius:6px;background:var(--sage)}
 .integrated-story-copy{gap:10px}.integrated-story-copy strong{font-size:1.4375rem;line-height:1.55}.integrated-meta,.integrated-story-copy>.integrated-meta:last-child{font-size:.875rem}.integrated-excerpt{font-size:1rem;line-height:1.75}
 .integrated-story-row:hover{background:#f1ebdf}.unread-badge{font-size:.75rem}
 .archive-view{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:48px}
 .archive-view>*{grid-column:2;min-width:0}
 .archive-header{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;margin:0 0 20px}
 .archive-header h1{display:block;margin:0}.archive-header .eyebrow,.archive-header p,.archive-header .archive-write{display:none}
 .archive-portrait{grid-column:1;grid-row:2/span 2;display:block;margin:8px 0 24px}
 .archive-book{width:140px;height:180px;margin:0 0 22px;font-size:1rem}
 .archive-portrait-copy h2{font-size:1.25rem}.archive-portrait-copy p{font-size:.875rem}
 .archive-view>.design-search{grid-column:2;width:min(400px,100%);justify-self:end;margin:0 0 24px}
 .archive-filters{margin:0 0 24px;justify-content:flex-start;gap:20px}.archive-filters .filter{flex:none;min-width:96px;padding-inline:12px;font-size:1rem}
 .archive-options{grid-column:1;grid-row:4/span 5;margin:0}.archive-options>summary{display:none}
 .archive-options .archive-controls{margin:0 0 22px}.archive-sort{font-size:.875rem}.archive-sort select{width:100%;font-size:.875rem;margin:8px 0}
 .archive-contents{margin-top:28px}.archive-contents h2{display:block;font-size:1.125rem}.archive-theme-list{display:flex;flex-direction:column;gap:6px}
 .archive-theme-list button{width:100%;text-align:left;display:flex;justify-content:space-between;gap:10px;border:0;border-radius:4px;background:transparent;padding:10px;font-size:.875rem;min-height:44px}
 .archive-theme-list button[aria-pressed=true]{background:var(--sage);font-weight:600}
 .archive-view-switch{display:flex;flex-wrap:wrap;gap:6px;font-size:.875rem}.archive-drafts{margin:0 0 24px}
 .archive-view>.future-link{grid-column:1;grid-row:10}.archive-view>.archive-footer{grid-column:1/-1;border-top:1px solid var(--line);margin-top:32px}
 .archive-next-page{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line)}
 .archive-next-page>div:last-child{display:block}.archive-next-page .button{width:auto}
 #record-count{margin:0 0 24px;font-size:.875rem}.archive-chapter{margin-bottom:36px}.archive-chapter h2{margin-top:0}
 .received-page{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px 40px}
 .received-page>header h1{display:block;margin-bottom:8px}.received-page .integrated-lead{font-size:1.125rem;font-family:inherit;margin:0;color:var(--muted)}.integrated-lead br{display:none}
 .received-page>.integrated-search{align-self:center;margin:0}.received-toolbar{grid-column:1;align-self:end}.integrated-reading .filters{margin:0}
 .integrated-reading .filter{flex:none;min-width:110px;font-size:1rem}.integrated-author{grid-column:2;align-self:end;margin:0}
 #received-results{grid-column:1/-1;margin-top:24px}
 #received-results>.integrated-story-row:first-child{grid-column:1/-1;display:grid;grid-template-columns:44% 1fr;gap:48px;align-items:center;padding-bottom:40px;border-bottom:1px solid var(--line);margin-bottom:8px}
 #received-results>.integrated-story-row:first-child>.integrated-story-copy{grid-column:2;grid-row:1}
 #received-results>.integrated-story-row:first-child>:is(img,span):where(img,.ink-thumbnail),#received-results>.integrated-story-row:first-child>.integrated-ornament{grid-column:1;grid-row:1;height:336px}
 #received-results>.integrated-story-row:first-child strong{font-size:2rem}.received-page>.conversation-inbox{grid-column:1/-1}
 #received-results>.empty,#received-results>.load-more,.group-timeline>.empty{grid-column:1/-1}
 /* Questions and people. */
 .discovery-header h1{font-size:2.375rem;max-width:720px}.discovery-header br,.people-page .design-hero br{display:none}
 .discovery-browse>.design-search{max-width:480px;margin:0 0 32px}
 .discovery .question-trails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 24px;padding:0}
 .discovery .question-trail{width:100%;min-height:150px;padding:24px;border-radius:6px;border:1px solid transparent;text-align:left;background:var(--sage)}
 .discovery .question-trail:nth-child(3n+2){background:#f1ebdf}.discovery .question-trail:nth-child(3n){background:#e9eef2}
 .discovery .question-trail[aria-pressed=true]{color:var(--ink);border:2px solid var(--teal);box-shadow:inset 0 -4px var(--teal)}
 .question-trail svg{display:block;width:32px;height:32px;margin-bottom:16px}.question-trail strong{font-size:1.125rem}
 .discovery .question-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:48px}
 .design-question-row{padding:24px 0}.design-question-open{gap:24px}.design-question-open strong{font-size:1.375rem}.design-question-open small{font-size:.875rem}.design-question-row .question-motif{width:64px;height:76px}
 .design-advanced{max-width:680px}.design-advanced summary{font-size:.875rem}
 .people-page>header{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:32px}.people-page>header h1{margin:0}
 .desktop-create{display:inline-flex;flex:none}.people-page>.integrated-search{margin:0 0 32px}
 #groups-results{display:grid;grid-template-columns:1fr 1fr;gap:32px}
 .integrated-group-card{padding:0;gap:28px;min-height:220px;margin:0;border-radius:6px;background:transparent;border-bottom:1px solid var(--line)}
 .integrated-group-card>.group-card-icon{width:42%;height:220px;border-radius:6px;background:var(--sage)}
 .integrated-group-card strong{font-size:1.5rem}.integrated-group-card small{font-size:.875rem}.integrated-group-card>span:nth-child(2){padding:20px 16px 20px 0}
 .group-room-header{flex-direction:row-reverse;justify-content:flex-end;text-align:left;gap:40px;padding:0 0 32px;background:transparent;border-bottom:1px solid var(--line);border-radius:0}
 .group-room-header h1{font-size:2.375rem}.group-room-header p{font-size:1rem}.group-room-emblem{width:280px;height:160px;flex:none}.group-room-emblem .identity-picture{border-radius:6px;background:var(--sage)}
 .group-room .integrated-search{max-width:500px;margin:28px 0 16px}.integrated-group-tabs .filter{flex:none;padding-inline:24px;font-size:1rem}.integrated-group-tabs{margin:0 0 32px}
 .group-reading-actions{display:flex;justify-content:flex-end}.group-reading-actions>.button{width:auto}.group-exit-footer{border-top:1px solid var(--line);padding-top:20px}
 /* Existing settings forms and routes, with a desktop index. */
 .account-settings{display:grid;grid-template-columns:244px minmax(0,796px);gap:0 64px}
 .desktop-settings-title{display:block;grid-column:1/-1}.desktop-settings-nav{display:flex;flex-direction:column;grid-column:1;grid-row:2/span 6;gap:4px;align-self:start}
 .desktop-settings-nav a{display:block;text-decoration:none;padding:14px 18px;min-height:48px;color:var(--muted);border-radius:4px;font-size:1rem}
 .desktop-settings-nav a[aria-current=page]{background:var(--sage);color:var(--ink);font-weight:600;border-left:3px solid var(--teal)}
 .account-settings>.design-profile-card{display:none}.account-settings>.integrated-setting,.account-settings>.future-link,.account-settings>.settings-signout{grid-column:2;min-width:0}
 .integrated-setting{border:0}.integrated-setting .settings-card{padding:36px 40px;background:#fff;border-radius:6px;margin:0}
 .integrated-setting .settings-card>h2{display:block;margin-top:0}.settings-profile-preview{padding:0 0 24px;background:transparent}.settings-profile-preview .identity-picture{width:96px;height:96px;min-width:96px}
 .settings-save-row{display:flex;justify-content:flex-end;gap:20px}.settings-save-row .button{width:auto}.settings-detail{font-size:1rem}.design-home-mode .home-mode select{max-width:400px}
 /* Editor: prose on the left; uploads and photo controls on the right. */
 body.writing-page #main{padding-top:0}.writing-sheet .writer-toolbar{top:0;min-height:96px;margin-bottom:32px;border-bottom:1px solid var(--line);padding:20px 0}
 .design-editor-title{text-align:left;padding-left:12px}.writing-sheet .writer-toolbar #save-story{padding:12px 28px;border-radius:6px;min-width:150px;min-height:48px}
 .writing-sheet .writing-heading{max-width:calc(67% - 24px);padding:36px 48px 8px;background:white;border-radius:6px 6px 0 0}
 .writing-sheet .writing-heading h1{font-size:2.25rem;margin:22px 0 8px}.writing-heading .eyebrow{font-size:.875rem}
 #editor{display:grid;grid-template-columns:minmax(0,850fr) minmax(0,366fr);column-gap:64px;align-items:start;background:linear-gradient(to right,#fff 0 calc(67% - 24px),transparent calc(67% - 24px))}
 #editor>*{grid-column:1;min-width:0;margin-left:48px;margin-right:48px}
 #editor .photo-attachment{grid-column:2;grid-row:1/span 20;margin:0;padding:0;align-self:start}
 .photo-attachment>.section-top h2{display:block;font:500 1.5rem/1.6 'Yu Mincho',serif;margin:0 0 20px}.photo-attachment>.section-top{justify-content:flex-start}
 .photo-picker{min-height:160px;border-radius:6px;flex-direction:column}.photo-picker small{display:block;font-size:.8125rem}.photo-attachment>.helper{display:none}
 .attached-photo>img{border-radius:6px;max-height:280px}.attached-photo input{font-size:1rem}.attached-photo label{font-size:.875rem}.photo-actions{gap:8px}
 .writing-sheet #entry-text{width:calc(100% - 96px);min-height:360px;font-size:1.1875rem;line-height:1.95;margin-top:0;margin-bottom:0;padding:16px 0}
 .writer-input-tools{margin-top:12px}.editor-bottom{font-size:.875rem;padding-top:16px;border-top:1px solid var(--line)}
 .writing-sheet .writing-footer{margin-bottom:32px;font-size:.875rem}.design-photo-help{font-size:.875rem;margin-bottom:20px}
 /* Wide reading, saving and sharing surfaces; small confirmations stay compact. */
 body:not(.signed-out) dialog{max-width:640px;padding:36px;border-radius:8px}
 body:not(.signed-out) dialog.reading-modal,body:not(.signed-out) dialog.sharing-modal,body:not(.signed-out) dialog.desktop-saved,body:not(.signed-out) dialog.desktop-invite{width:calc(100% - 64px);max-width:1360px;height:auto;max-height:calc(100dvh - 48px);margin:auto;padding:32px 40px;border-radius:8px}
 #story-reader{display:grid;grid-template-columns:minmax(0,800fr) minmax(0,408fr);gap:0 64px}
 #story-reader>*{grid-column:1;min-width:0}.reader-top{grid-column:1/-1;margin-bottom:24px}.reader-top button,.reader-top>span{font-size:.875rem}
 .reader-heading{margin:0 0 24px}.reader-heading .modal-title{font-size:2.375rem}.reader-meta{font-size:.875rem}.reader-body{font-size:1.1875rem;line-height:1.95}
 #story-reader>.reader-bookmark{grid-column:2;grid-row:2;margin-top:0;padding:20px 0}
 #story-reader>.story-conversation{grid-column:2;grid-row:3/span 8;align-self:start;padding-top:24px;margin-top:0}
 .reader-bookmark .button{font-size:1rem;padding:12px 18px}.photo-gallery img{border-radius:6px;max-height:480px;object-fit:contain;background:var(--sage)}
 .reader-sharing .button{width:auto}.reader-edit{display:flex;justify-content:space-between}.reader-edit>span{display:block;font-size:.875rem}
 .book-reading #story-reader{display:block;max-width:800px;margin:auto}.book-reading .reader-body{font-size:1.25rem}
 #share-flow:not(.share-complete){display:grid;grid-template-columns:minmax(0,720fr) minmax(0,488fr);column-gap:64px;align-items:start}
 #share-flow:not(.share-complete)>*{min-width:0;grid-column:1}
 #share-flow:not(.share-complete)>h2{grid-column:1/-1;margin:12px 0 32px;font-size:2rem}
 #share-flow .share-story-summary{grid-column:1;grid-row:2;margin:0 0 20px;padding:0 0 16px}
 #share-flow #sharing{grid-column:2;grid-row:2/span 3;background:white;border-radius:6px;padding:28px;min-width:0}
 #share-flow .share-inline-preview{grid-column:1;grid-row:3;border:0;margin:0;padding:0;display:flex;flex-direction:column}.share-inline-preview>h3{display:none}.share-inline-preview>.photo-gallery{order:-1;margin:0 0 24px}.share-inline-preview .share-text{font-size:1.125rem;line-height:1.9;max-height:none}
 #sharing .share-tabs{margin-top:0}#sharing .share-summary{font-size:.875rem}.share-rules{margin-top:24px;font-size:.875rem}
 #sharing .share-footer{position:static;flex-direction:column;align-items:stretch;background:white}.share-footer .button{min-height:48px}#share-flow #share-summary{font-size:.875rem;padding:16px;margin-top:24px}
 .saved-story{display:grid;grid-template-columns:minmax(0,800fr) minmax(0,408fr);gap:20px 64px}
 .saved-story>.eyebrow,.saved-story>.modal-title{grid-column:1/-1;margin:0}.saved-story>.modal-title{font-size:2rem}
 .saved-story>.saved-preview{grid-column:1;grid-row:3/span 4;margin:0}.saved-photo{width:100%;max-height:380px;object-fit:cover;border-radius:6px}.saved-preview>p{font:500 1.5rem/1.6 'Yu Mincho',serif}
 .saved-story>.notice,.saved-story>.modal-actions,.saved-story>.next-save{grid-column:2;margin:0}.saved-story>.modal-actions{align-self:start;background:white;padding:24px;border-radius:6px}.saved-story>.next-save{border:0;padding-top:0}
 .share-complete{max-width:800px;margin:auto;padding:40px 0}.share-complete h2{font-size:2.5rem}.share-complete .share-footer{display:flex;gap:24px}.share-complete .share-footer .button{width:auto}
 .invite-sheet{max-width:1000px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px 64px}
 .invite-sheet>*{grid-column:1;min-width:0}.invite-sheet .journey-progress{display:none}.invite-sheet>.modal-title{font-size:2.25rem;margin:0}.invite-sheet>.invite-heading-icon{margin:0}.invite-sheet>.invite-address{grid-column:2;grid-row:1/span 2;background:var(--sage);border-radius:6px;padding:24px}.invite-sheet>label,.invite-sheet>#invite-link,.invite-sheet>.invite-copy,.invite-sheet>.invite-copy-status,.invite-sheet>.helper{grid-column:2}.invite-sheet>#invite-link{min-height:110px}.invite-sheet>.invite-after,.invite-sheet>.invite-details{grid-column:1/-1}
 .future-page{max-width:1000px;margin:auto}.future-feature{padding:36px 0;gap:32px}.future-feature .integrated-ornament{width:100px;height:130px}.future-feature p{font-size:1rem}
 .profile-setup-page #main{max-width:800px}.profile-setup-page .desktop-nav,.profile-setup-page .desktop-write{display:none}
 #toast{bottom:28px}
 /* Text enlargement must reflow, not truncate. */
 body.large-text .desktop-nav{flex-wrap:wrap;gap:4px 20px}body.large-text .topbar{flex-wrap:wrap}body.large-text .desktop-nav a{white-space:normal}
 body.large-text .archive-grid,body.large-text #received-results,body.large-text .group-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.large-text .home-focus-actions{flex-wrap:wrap}body.large-text .account-settings{column-gap:32px}
}
@media(min-width:1100px) and (max-width:1250px){
 body:not(.signed-out) #main{width:calc(100% - 64px)}body:not(.signed-out) .topbar{padding-inline:32px;gap:22px}.desktop-nav{gap:18px}.desktop-write{min-width:100px}.topbar-actions{gap:12px}
 body .integrated-home{column-gap:40px}.archive-view{grid-template-columns:190px minmax(0,1fr);column-gap:32px}.archive-grid{gap:24px}.home-arrivals .integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:180px}
 #editor,#story-reader,#share-flow:not(.share-complete){column-gap:40px}.account-settings{column-gap:40px}
}
@media(min-width:1100px){
 .desktop-nav a{border-radius:0}
 body .integrated-home .mobile-welcome h1{max-width:680px;text-wrap:balance}
 #editor{background:linear-gradient(to right,#fff calc((100% - 64px)*.699),transparent 0)}
 #editor>.writing-heading{max-width:none;width:auto;margin:0;padding:36px 48px 8px;align-self:stretch}
 .writing-sheet .writing-heading h1{text-wrap:balance}
}
@media(min-width:1100px) and (max-width:1250px){#editor{background:linear-gradient(to right,#fff calc((100% - 40px)*.699),transparent 0)}}
@media(min-width:1100px){
 .desktop-nav a.active,.desktop-nav a:hover{background:transparent;box-shadow:none}
 .archive-header{grid-row:1}.archive-view>.design-search{grid-row:1;align-self:start;margin:0 0 28px}
 .archive-view>.archive-filters{grid-row:2}.archive-view>#record-count{grid-row:3}.archive-view>.archive-drafts{grid-row:4}
 .archive-view>#records{grid-row:5}.archive-view>.archive-options{grid-row:5/span 2}.archive-view>#archive-next{grid-row:6}
 .archive-view>.archive-portrait{grid-row:2/span 3}.archive-view>.future-link{grid-row:7}.archive-view>.archive-footer{grid-row:9}
 .archive-drafts{padding:12px 16px}.archive-drafts .helper{display:none}.archive-drafts button{padding:12px 0}.archive-drafts button small{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
}
.desktop-shared-photo{display:none}
@media(min-width:1100px){
 #story-reader>.photo-gallery,.share-inline-preview>.photo-gallery{display:grid;grid-template-columns:1fr;gap:24px}
 .share-inline-preview .photo-gallery img{max-height:360px;width:100%;object-fit:contain}.share-inline-preview figure{margin:0}
 .saved-story>.modal-actions{grid-template-columns:1fr;justify-items:stretch}.saved-preview>.helper{font: .875rem/1.65 inherit}
 .share-complete:has(.desktop-shared-photo){display:grid;grid-template-columns:1.1fr 1fr;max-width:none;gap:16px 56px;padding:24px 0}
 .share-complete:has(.desktop-shared-photo)>*{grid-column:2;margin:0}
 .share-complete>.desktop-shared-photo{display:block;grid-column:1;grid-row:1/span 7;width:100%;height:440px;object-fit:contain;background:var(--sage);border-radius:6px}
 .share-complete .share-footer{flex-wrap:wrap;align-self:start}
}
@media(min-width:1100px){
 #group-story-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:start}
 #group-story-results>.integrated-story-row{display:flex;flex-direction:column-reverse;align-items:stretch;gap:18px;padding:0 0 24px;border:0}
 #group-story-results>.integrated-story-row>:is(img,span):where(img,.ink-thumbnail),#group-story-results>.integrated-story-row>.integrated-ornament{width:100%;height:180px;border-radius:6px;object-fit:cover}
 #group-story-results>.question-thread{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}#group-story-results>.question-thread>header{grid-column:1/-1}
 #group-story-results>.question-thread>.integrated-story-row{flex-direction:column-reverse;align-items:stretch}#group-story-results>.question-thread>.integrated-story-row>:is(img,span):where(img,.ink-thumbnail){width:100%;height:180px}
 #group-story-results>.empty,#group-story-results>.load-more{grid-column:1/-1}
 .share-inline-preview .photo-gallery img{height:360px}
 body.large-text #group-story-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1100px){
 .discovery .question-trails{grid-template-columns:repeat(3,minmax(0,1fr))}
 #story-reader>.photo-gallery img{max-height:360px}
 .story-conversation #conversation-title{font-size:1.25rem;line-height:1.6}
 #story-reader>.reader-bookmark{border:0;border-radius:0;background:transparent}
}
@media(min-width:1100px){
 .desktop-nav{flex-wrap:wrap;row-gap:0}.desktop-nav a{white-space:normal;max-width:100%;overflow-wrap:anywhere}
}
@media(min-width:1100px){
 .settings-profile-preview>#settings-avatar{width:96px;height:96px;flex:none}
 .conversation-symbol{min-width:44px;font-size:1.5rem}
}
@media(min-width:1100px){.integrated-home>.home-conversations,.received-page>.home-conversations{grid-column:1/-1}}
.desktop-invite-panel{display:contents}
@media(min-width:1100px){
 .invite-sheet>.desktop-invite-panel{display:block;grid-column:2;grid-row:1/span 6;background:#fff;padding:28px;border-radius:6px}
 .desktop-invite-panel .invite-address{margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid var(--line);background:transparent}
 .desktop-invite-panel textarea{width:100%;min-height:110px}.desktop-invite-panel .invite-copy{display:block;width:100%;margin-top:16px}
 .desktop-invite-panel .invite-copy-status,.desktop-invite-panel .helper{font-size:.875rem}
}
.desktop-archive-index,.desktop-archive-main{display:none}
@media(min-width:1100px){
 .desktop-archive-index{display:block;grid-column:1;grid-row:2;align-self:start}
 .desktop-archive-main{display:block;grid-column:2;grid-row:2;min-width:0;align-self:start}
 .desktop-archive-index .archive-portrait{margin:0 0 32px}.desktop-archive-index .future-link{margin-top:36px}
 .desktop-archive-main .archive-footer{border-top:1px solid var(--line);margin-top:24px}
 .archive-header>div{max-width:calc(100% - 440px)}
}

/* Approved entry design, connected to the existing login state machine. */
body.signed-out{background:var(--paper);color:var(--ink)}
body.signed-out .sidebar{max-width:1280px;padding:26px 0 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
body.signed-out .sidebar .brand-symbol{display:none}body.signed-out .sidebar .brand-word{font:500 1.75rem/1.2 Georgia,serif;letter-spacing:3px}
body.signed-out .entry-language{padding:0;background:transparent;gap:16px;flex-wrap:wrap}body.signed-out .entry-language .reading-size{margin:0}
body.signed-out #main{width:auto;max-width:1280px;padding:0;margin:36px auto 40px}
.signed-out .login-layout{display:grid;grid-template-columns:minmax(0,720fr) minmax(350px,440fr);gap:clamp(40px,8vw,120px);align-items:center;max-width:none;margin:0 0 60px}
.signed-out .login-intro{display:block;padding:0;min-width:0}.signed-out .login-intro h1{font:500 3.375rem/1.5 'Hiragino Mincho ProN','Yu Mincho',Georgia,serif;letter-spacing:.02em;color:var(--ink);margin:0 0 24px}
.signed-out .entry-description{font-size:1.0625rem;line-height:1.9;margin:0;color:var(--muted);text-wrap:initial}
.entry-scene{position:relative;height:278px;margin-top:38px;background:var(--sage);border-radius:8px;overflow:hidden}.entry-book{position:absolute;left:8%;top:38px;width:180px;height:240px;padding:24px 22px;background:var(--teal);color:var(--paper);border-radius:3px 6px 6px 3px;box-shadow:inset 6px 0 #ffffff16,5px 5px #c8c4ba;transform:rotate(-7deg);font-family:'Yu Mincho',serif}.entry-book small{font:11px Georgia;letter-spacing:3px}.entry-book strong{display:block;font-size:26px;font-weight:500;line-height:1.6;margin-top:34px}.entry-book:after{content:'';position:absolute;bottom:25px;left:22px;right:22px;border-top:1px solid #f1ebdf66}.entry-slip{position:absolute;left:39%;top:32px;width:49%;padding:25px 28px;background:#fffdf8;border-radius:4px;transform:rotate(3deg);box-shadow:0 8px 20px #25344908}.entry-slip small{font-size:12px;color:var(--muted)}.entry-slip p{font:500 24px/1.65 'Yu Mincho',serif;margin:8px 0 18px}.entry-slip span{font-size:13px;color:var(--muted)}.entry-mobile-story{display:none}
.signed-out .login-layout .login-card{margin:0;padding:36px;background:#fffdf8;border:1px solid #f1ebdf;border-radius:12px;box-shadow:none;min-width:0;max-width:none}
.signed-out .login-card h2{font:500 clamp(1.375rem,2vw,1.8125rem)/1.6 'Yu Mincho',serif;text-wrap:balance;margin:0 0 8px}.signed-out .login-card>.helper{margin:0 0 26px;font-size:.875rem}.signed-out .login-card .login-providers{margin:0;gap:12px}
.signed-out .login-card .entry-provider{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:0;min-height:56px;padding:0;overflow:hidden;border-radius:8px;align-items:stretch;font-size:1rem;font-weight:500;text-align:center;line-height:1.5}
.entry-provider>span:nth-child(2){align-self:center;padding:12px 0;overflow-wrap:anywhere}.provider-icon{display:flex;align-items:center;justify-content:center;min-height:54px}.provider-icon img{width:22px;height:22px;object-fit:contain}.provider-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.signed-out .login-card .provider-google{background:#fff;color:#1f1f1f;border:1px solid #747775}.signed-out .login-card .provider-google:hover{background:#f4f7fc}
.signed-out .login-card .provider-line{background:#06c755;color:#fff;border:1px solid #06c755}.provider-line .provider-icon{border-right:1px solid #00000014}.signed-out .login-card .provider-line:hover{background:linear-gradient(#0000001a,#0000001a),#06c755}.signed-out .login-card .provider-line:active{background:linear-gradient(#0000004d,#0000004d),#06c755}
.signed-out .login-card .provider-email{background:var(--teal);color:#fff;border:1px solid var(--teal)}
.signed-out .login-card input{background:transparent;min-height:52px;font-size:1rem}.signed-out .entry-private{text-align:left;border-top:1px solid var(--line);font-size:.8125rem;margin:24px 0 0;padding-top:20px;line-height:1.8}.signed-out .login-help{font-size:.8125rem;border:0;padding:0;margin-top:8px}.signed-out .login-help summary{min-height:44px;font-size:inherit}.signed-out .entry-origin{display:flex;align-items:center;justify-content:space-between;gap:40px;max-width:none;margin:0;padding:30px 0 0;border:0;border-top:1px solid var(--line);background:transparent;border-radius:0}.signed-out .entry-origin h2{font:500 1.5rem/1.7 'Yu Mincho',serif;margin:0 0 6px}.signed-out .entry-origin-description{font-size:.875rem;margin:0;color:var(--muted)}.signed-out .entry-founder{display:flex;align-items:center;gap:20px;min-height:44px;font-size:.875rem;margin:0;padding:0;flex-shrink:0}.signed-out footer{max-width:1280px;padding:0 0 30px;margin:auto;font-size:.75rem}.signed-out #email-back{margin-bottom:12px}.signed-out #code-login{margin-top:24px}
@media(min-width:800px) and (max-width:1399px){body.signed-out .sidebar,body.signed-out #main,.signed-out footer{margin-left:5.5%;margin-right:5.5%}.signed-out .login-layout{gap:50px;grid-template-columns:minmax(0,1fr) 390px}.signed-out .login-intro h1{font-size:2.875rem}.signed-out .login-layout .login-card{padding:28px}.entry-book{left:30px}.entry-slip{left:43%;width:52%;padding:20px}.entry-slip p{font-size:21px}}
@media(max-width:799px){
 body.signed-out .sidebar{max-width:478px;padding:20px 24px 6px;gap:14px;margin:0 auto}.signed-out .sidebar .brand{min-height:44px}body.signed-out .sidebar .brand-word{font-size:1.5rem;letter-spacing:1px}body.signed-out .entry-language{flex:1;justify-content:flex-end;gap:6px;padding:0}body.signed-out .entry-language .language-control{flex:0 1 auto}body.signed-out .entry-language .language-control select{width:auto;max-width:140px;min-width:0;min-height:44px}body.signed-out .entry-language .reading-size{font-size:.75rem;flex:0 1 auto;padding:0;min-height:44px}
 body.signed-out #main{max-width:478px;margin:16px auto 30px;padding:0 24px}.signed-out .login-layout{display:block;margin:0 0 34px}.signed-out .login-intro h1{font-size:2rem;line-height:1.55;margin:0 0 14px;letter-spacing:0}.signed-out .entry-description{font-size:.875rem;line-height:1.9;margin:0}.signed-out .entry-description br{display:initial}.entry-scene{display:none}.entry-mobile-story{display:flex;align-items:center;gap:16px;padding:17px 18px;background:#f1ebdf;border-radius:9px;margin:22px 0 24px}.entry-mini-book{flex:none;width:43px;height:58px;background:var(--teal);border-radius:2px 4px 4px 2px;box-shadow:inset 4px 0 #ffffff22,3px 3px #c8c4ba;color:var(--paper);display:grid;place-items:center;font:15px 'Yu Mincho',serif}.entry-mobile-story p{font:500 1.0625rem/1.65 'Yu Mincho',serif;margin:0}.signed-out .login-layout .login-card{padding:0;background:transparent;border:0}.signed-out .login-card>h2,.signed-out .login-card>.helper{display:none}.signed-out .email-entry .login-card>h2,.signed-out .email-entry .login-card>.helper{display:block}.signed-out .login-card .entry-provider{min-height:54px;font-size:.9375rem}.signed-out .entry-private{border:0;padding:0;margin-top:20px}.signed-out .entry-origin{display:block;background:var(--sage);padding:24px;margin:0 -24px;border:0}.signed-out .entry-origin h2{font-size:1.4375rem}.signed-out .entry-origin-description{font-size:.8125rem}.signed-out .entry-founder{margin-top:14px;justify-content:space-between}.signed-out footer{max-width:478px;padding:0 24px 24px;margin:auto;font-size:.75rem}
}
.mobile-page-heading{display:none}.archive-mobile-summary{display:contents}.archive-mobile-book{display:none}
/* Mobile navigation and compact content headers. Desktop design remains unchanged. */
@media(max-width:1099px){
 body:not(.signed-out) .topbar,body.writing-page .topbar{display:flex;position:sticky;top:0;z-index:30;min-height:66px;padding:calc(10px + env(safe-area-inset-top)) 24px 10px;border-bottom:1px solid var(--line);background:var(--paper)}
 body:not(.signed-out) .topbar.design-subpage .home-mobile-brand,body:not(.signed-out) .topbar.design-subpage .topbar-actions{display:flex}.topbar .design-page-heading{display:none}.topbar .topbar-actions{flex:none}.topbar .mobile-profile{width:44px;height:44px}
 body:not(.signed-out):not(.profile-setup-page) .mobile-nav{display:grid}.profile-setup-page .mobile-nav{display:none}body:not(.signed-out):not(.profile-setup-page) .shell{padding-bottom:calc(var(--mobile-nav-height,80px) + 24px)}
 body:not(.signed-out) #main,body.writing-page #main{padding-top:16px}body:not(.signed-out) .mobile-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;min-width:0}.mobile-page-heading h1{font-family:inherit;font-size:1.375rem;font-weight:600;line-height:1.5;margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.mobile-page-heading .button{font-size:.8125rem;min-height:44px;padding:8px 12px;flex:0 1 auto;border-radius:8px}
 body[data-page=mine] .archive-view{display:flex;flex-direction:column}.archive-view>.design-search{order:-5;margin:0 0 10px}.archive-view>.design-tabs{order:-4;margin:0}.archive-view>.archive-options{order:-3}.archive-view>.archive-drafts{order:-2;margin:8px 0}.archive-view>.archive-portrait{order:-1}
 .archive-view>.archive-portrait{display:none}.archive-mobile-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px}.archive-mobile-summary #record-count{margin:0;font-size:.8125rem}.archive-mobile-summary .archive-mobile-book{display:inline-flex;margin:0;min-height:44px;font-size:.8125rem}body .archive-header{display:none}.archive-header:has([data-trash="false"]){display:block}.archive-portrait{margin:0 0 10px;padding:0;border:0;gap:8px}.archive-book,.archive-portrait-copy h2{display:none}.archive-portrait-copy{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.archive-portrait-copy p{font-size:.8125rem}.archive-portrait-copy .text-button{margin:0;min-height:44px;font-size:.8125rem}.archive-options{margin:0}.archive-options>summary{font-size:.8125rem}.archive-drafts>p{display:none}.archive-drafts:not([open]){padding-block:0}.archive-drafts summary{min-height:44px}
 .received-page>header,.people-page>header,.discovery-header{display:none}.group-room-header{flex-direction:row;justify-content:space-between;align-items:center;text-align:left;padding:14px 16px;gap:16px;margin:0 0 16px}.group-room-header h1{font-size:1.375rem;margin:0 0 4px}.group-room-emblem{width:56px;height:56px;flex:none}.group-room-header p{font-size:.8125rem}.group-room>a:first-child{display:inline-flex;min-height:44px;margin-bottom:6px}.future-page>h1{display:none}
 .writing-sheet .writer-toolbar{top:var(--app-topbar-height,66px);min-height:64px;padding:10px 0;z-index:25}.writing-sheet .writing-heading h1{font-size:1.375rem;margin:14px 0}.writing-sheet .writer-toolbar #save-story{font-size:.875rem;min-height:44px;padding:10px 12px}.writing-page #toast{bottom:calc(var(--mobile-nav-height,80px) + 16px)}
 #main :is(h1,h2,h3,input,select,summary){scroll-margin-top:calc(var(--app-topbar-height,66px) + 16px)}.writing-sheet #entry-text,.writing-sheet .writing-error{scroll-margin-top:calc(var(--app-topbar-height,66px) + var(--writer-toolbar-height,64px) + 16px)}
 .signed-out .mobile-nav{display:none}
}
@media(max-width:350px){body:not(.signed-out) .topbar{padding-inline:18px}.signed-out .login-intro h1{font-size:1.75rem}.signed-out .entry-provider{grid-template-columns:44px minmax(0,1fr) 44px}.signed-out .entry-mobile-story{gap:12px;padding:14px}.signed-out .entry-mobile-story p{font-size:1rem}}

.dialog-topbar,.dialog-mobile-nav{display:none}
@media(max-width:1099px){
 body:not(.signed-out) dialog:is(.reading-modal,.sharing-modal){padding-top:calc(82px + env(safe-area-inset-top));padding-bottom:calc(var(--mobile-nav-height,80px) + 24px)}
 dialog .dialog-topbar{display:flex;position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(100%,430px);min-height:66px;padding:calc(10px + env(safe-area-inset-top)) 24px 10px;align-items:center;justify-content:space-between;z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}
 .dialog-topbar .home-mobile-brand{display:flex;min-height:44px}.dialog-topbar .brand img{display:none}.dialog-topbar .brand-word{font:500 1.5625rem/1.2 Georgia,serif;letter-spacing:-1px}.dialog-topbar .topbar-actions{display:flex}.dialog-topbar .mobile-profile{display:grid;width:44px;height:44px}
 dialog:is(.reading-modal,.sharing-modal) :is(h2,h3,input,textarea){scroll-margin-top:90px}
 dialog .dialog-mobile-nav{display:grid;left:50%;transform:translateX(-50%);width:min(100%,430px);z-index:50}
 dialog:is(.reading-modal,.sharing-modal)>#close{top:calc(76px + env(safe-area-inset-top));z-index:45}
}

/* A quiet photographic spread, shared by desktop and mobile. */
.entry-stories{--focus:#253449;margin:32px 0 0;min-width:0;color:var(--ink)}
.entry-pages{display:grid;perspective:1400px;isolation:isolate;touch-action:pan-y;--turn:1}
.entry-pages[data-direction=back]{--turn:-1}
.entry-page{grid-area:1/1;display:grid;grid-template-columns:46% minmax(0,1fr);background:#fffdf8;min-width:0;min-height:320px;opacity:0;visibility:hidden;transform-origin:left center;border:1px solid #c8c4ba;border-radius:3px;overflow:hidden;box-shadow:0 3px 0 #f1ebdf,0 4px 0 #c8c4ba}
.entry-page.is-current{visibility:visible;opacity:1;z-index:2}
.entry-page.is-entering{animation:entry-page-in .8s cubic-bezier(.22,.65,.3,1) both}
.entry-page.is-leaving{visibility:visible;z-index:1;animation:entry-page-out .8s ease both;pointer-events:none}
.entry-page .entry-photo{width:100%;height:100%;min-height:0;object-fit:cover;display:block;align-self:stretch;position:absolute;inset:0}
.entry-page{position:relative}.entry-page .entry-photo{width:46%}.entry-page .bench-photo{object-position:63% 70%}.entry-page .autumn-photo{object-position:35% 50%}
.entry-page-copy{grid-column:2;padding:32px 26px;align-self:center;min-width:0;overflow-wrap:anywhere}
.signed-out .entry-page-copy h2{font:500 1.5rem/1.7 'Hiragino Mincho ProN','Yu Mincho',Georgia,serif;letter-spacing:.02em;margin:0 0 24px;text-wrap:balance}
.entry-page-copy p{font-size:.875rem;line-height:1.95;margin:0;color:#596370}
.entry-page-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.entry-page-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--ink);border-radius:4px;padding:8px;font:inherit;cursor:pointer}
.entry-page-controls button:hover{background:var(--sage)}.entry-page-controls button:focus-visible{outline:3px solid #253449;outline-offset:2px}
.entry-page-controls .entry-rotation{font-size:.8125rem;padding-inline:0 8px}.entry-rotation [data-rotation-icon]{width:1.5em;flex:none;text-align:center}
.entry-page-navigation{display:flex;align-items:center;gap:6px}.entry-page-navigation button{font-size:1.125rem}.entry-page-count{font: .875rem Georgia,serif;color:#596370;font-variant-numeric:tabular-nums;letter-spacing:.08em;min-width:56px;text-align:center}
@keyframes entry-page-in{from{opacity:0;transform:translateX(calc(10px * var(--turn))) rotateY(calc(-4deg * var(--turn)))}to{opacity:1;transform:none}}
@keyframes entry-page-out{from{opacity:1;transform:none}to{opacity:0;transform:translateX(calc(-6px * var(--turn)))}}
@media(max-width:1399px) and (min-width:800px){.entry-page-copy{padding:24px 20px}.signed-out .entry-page-copy h2{font-size:1.25rem}.entry-page-copy p{font-size:.8125rem}.entry-page-copy p br{display:none}}
@media(max-width:799px){
 .entry-stories{margin:22px 0 24px}.entry-page{grid-template-columns:42% minmax(0,1fr);min-height:216px}.entry-page .entry-photo{width:42%}.entry-page-copy{padding:20px 16px}.signed-out .entry-page-copy h2{font-size:1.0625rem;line-height:1.75;margin-bottom:14px}.entry-page-copy p{font-size:.75rem;line-height:1.9}.entry-page-copy p br{display:none}.entry-page-controls{margin-top:7px}.entry-page-controls .entry-rotation{font-size:.75rem}.entry-page-count{font-size:.8125rem}.entry-page-navigation{gap:2px}
 .signed-out.email-entry .entry-stories,.signed-out.code-entry .entry-stories{display:none}
 .signed-out #main.email-entry .entry-stories,.signed-out #main.code-entry .entry-stories{display:none}
}
@media(prefers-reduced-motion:reduce){.entry-page.is-entering,.entry-page.is-leaving{animation:none;transform:none}}

.block-editor{margin:24px 0;min-width:0}.writing-block{position:relative;margin:0 0 20px;min-width:0}.block-tools{display:flex;gap:3px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #c8c4ba;margin-bottom:12px}.block-tools button,.block-tools select,.block-insert button{min-height:44px;min-width:44px;font-size:.9rem;color:#253449;background:transparent;border:0;padding:6px 10px}.block-tools button:disabled{opacity:.35}.block-tools select{max-width:125px}.block-tools [data-remove-block]{margin-left:auto}.writing-block [contenteditable]{font:inherit;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;min-height:90px;outline:none;padding:8px 0}.writing-block [contenteditable]:focus-visible{outline:2px solid #c8c4ba;outline-offset:6px}.block-heading [contenteditable]{font-size:1.4rem;font-weight:600;min-height:48px}.block-quote [contenteditable]{border-left:3px solid #8993a0;padding-left:18px;color:#596370}.writing-block img{display:block;max-height:450px;width:100%;object-fit:contain;background:#e9edf1}.block-insert{display:flex;gap:6px;justify-content:center;opacity:.8}.story-document{font-size:1.08rem;line-height:2;overflow-wrap:anywhere}.story-document p,.story-document h3,.story-document blockquote{white-space:pre-wrap;margin:24px 0}.story-document blockquote{border-left:3px solid #8993a0;padding:4px 20px;margin-left:0}.story-document .photo-gallery{margin:28px 0}.writing-sheet #entry-text[hidden]{display:none}.draft-save-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:16px 0}.block-editor button:focus-visible,.block-editor select:focus-visible{outline:3px solid #253449;outline-offset:2px}@media(max-width:600px){.block-tools{gap:0}.block-tools button{padding:5px 7px}.writing-block [contenteditable]{font-size:1rem}.block-heading [contenteditable]{font-size:1.25rem}.block-editor{margin-top:12px}}

.editor-photo-details{margin:24px 0}.editor-photo-details>summary{min-height:44px;cursor:pointer;padding:12px 0;color:#253449}.editor-photo-details .photo-attachment{position:static;width:auto;margin:12px 0}.writing-sheet #editor:has(.block-editor){display:block}.writing-sheet .block-editor{max-width:100%}.writing-sheet .editor-photo-details .attached-photo img{width:72px;height:72px;object-fit:cover}.block-editor [contenteditable]:empty:before{content:'…';color:#596370;pointer-events:none}

.block-tools select{width:85px;min-width:70px;padding:6px}.block-tools button{padding:6px}.writing-block .visually-hidden{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}

@media(max-width:600px){.block-tools select{width:76px;padding:6px 3px}}.writing-block [contenteditable]:focus-visible{outline:2px solid #253449}

@media(min-width:1100px){.writing-sheet #editor:has(.block-editor){display:grid}.writing-sheet #editor>.editor-photo-details{grid-column:2;grid-row:1/span 20;margin:0}.writing-sheet #editor>.block-editor{margin-left:48px;margin-right:48px}.writing-sheet #editor>.editor-photo-details .photo-attachment{margin:0}.writing-sheet #editor>.editor-photo-details>summary{font-size:1.1rem}.writing-sheet #editor>.editor-photo-details .attached-photo{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px}}

}
