/* SAANLORE house client. Ported from the Founder-approved blueprint
   docs/design/SAANLORE-HOUSE-BLUEPRINT-01/house.css (review-only chrome removed).
   `.mobile` / `.desktop` on #frame replace the review frame selector. */
:root{--paper:#f6f2e8;--white:#fffdf7;--green:#214a39;--ink:#293f33;--muted:#5d6b5f;--line:#d8ddcf;--gold:#9d7138;--soft:#e7eddf;--danger:#883e28;--ui:18px;color:var(--ink);background:var(--paper);font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a37631}button{cursor:pointer;border:1px solid var(--line);background:var(--white);border-radius:12px;padding:10px 16px;min-height:46px;line-height:1.45}button:hover{border-color:#7f957c}button:disabled{cursor:default;opacity:.6}a{color:var(--green)}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:"Noto Serif SC","Songti SC",SimSun,serif}button svg{width:22px;height:22px;flex:none;vertical-align:middle}svg.icon{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}small{font-size:.78em}p{line-height:1.8}.muted{color:var(--muted)}#frame{width:100%;height:100vh;height:100dvh;overflow:hidden;background:var(--paper)}#frame.large{--ui:21px}#app{height:100%;font-size:var(--ui);line-height:1.7;display:grid;grid-template-columns:210px minmax(0,1fr)}.side-nav{background:#edf0e5;border-right:1px solid var(--line);padding:25px 14px;display:flex;flex-direction:column;gap:6px;overflow:auto}.brand{display:flex;align-items:center;gap:9px}.brand img{width:38px;height:42px;object-fit:contain}.brand strong{display:block;letter-spacing:1px;font-family:Georgia,serif;font-size:20px}.brand small{display:block;color:var(--gold);font-size:12px}.side-nav .brand{margin:0 6px 34px}.side-nav button{display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border:0}.side-nav button.current{background:#dce6d3;font-weight:700}.side-nav .side-foot{margin-top:auto;font-size:13px;color:var(--muted);padding:12px}.room-shell{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1}.room-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 26px;border-bottom:1px solid var(--line);min-height:78px;background:var(--paper);flex:none}.room-header h2{font:600 21px "Microsoft YaHei",sans-serif}.room-header small{display:block;font-size:13px;color:var(--muted)}.back{border:0;background:transparent;padding:8px 6px;display:flex;align-items:center;gap:4px}.header-end{display:flex;align-items:center;gap:8px}.header-end button{font-size:15px}.private{font-size:13px;color:var(--muted);white-space:nowrap}.room-content{min-height:0;min-width:0;flex:1;overflow:auto;overscroll-behavior:contain}.mobile #app{display:flex}.mobile .side-nav{display:none}.bottom-nav{display:none}.mobile .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);background:#fbf9f1;flex:none;min-height:65px;padding-bottom:max(5px,env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:transparent;border-radius:0;padding:7px 1px 4px;font-size:13px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;white-space:nowrap}.bottom-nav button.current{color:#214a39;background:#e4ebdb;font-weight:bold}.mobile .room-header{padding:10px 14px;min-height:70px}.mobile .room-header h2{font-size:18px}.mobile .room-header small{font-size:12px}.mobile .header-end button{padding:9px 10px;font-size:14px}.mobile .header-end .private{display:none}.primary{color:white;background:var(--green);border-color:var(--green)}.quiet{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.actions>*{flex:1}.pill{border:1px solid #cbd6be;border-radius:20px;color:#46613e;padding:3px 10px;display:inline-block;font-size:13px}.page-heading{padding:28px 32px 18px}.page-heading h2{font-size:32px;margin:8px 0}.kicker{font-size:13px;letter-spacing:1px;color:var(--gold)}.mobile .page-heading{padding:22px 18px 14px}.mobile .page-heading h2{font-size:27px}.room-foot{padding:14px 24px;background:#faf7ef;border-top:1px solid var(--line);flex:none}.mobile .room-foot{padding:10px 14px}.room-foot .primary{width:100%}.notice{padding:12px 18px;background:#e9efdf;color:#3e5836;font-size:15px}.warning{padding:14px 18px;background:#fff0e7;color:var(--danger);border:2px solid #ad6b45;border-radius:12px;line-height:1.65}.warning strong{display:block;font-size:19px}.warning p{font-size:15px;margin-top:7px}.warning .actions{margin-top:10px}.warning button{background:#fff9f4;color:var(--danger)}.line-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}.line-row span:last-child{text-align:right}.block{padding:20px;background:var(--white);border:1px solid var(--line);border-radius:14px}.wide{width:100%}.hr{border-top:1px solid var(--line);margin:18px 0}
/* 门厅：沿用原人物与场景。不是模块卡片仪表盘。 */
.hall{background:var(--paper) url('/h01-landscape.svg') center bottom/cover no-repeat;padding:18px 38px 30px;min-height:100%}.hall-brand{text-align:center;padding:5px 0 8px}.hall-brand img{max-width:260px;width:72%;height:65px;object-fit:contain}.hall-welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:center;max-width:980px;margin:12px auto 35px}.hall-portrait img{width:100%;height:auto;object-fit:contain}.hall-portrait p{font-family:SimSun,serif;color:#9a6b32;text-align:right;font-size:19px;margin-top:4px}.hall-copy h2{font-size:42px;line-height:1.4;margin:15px 0}.hall-copy .primary{margin:24px 0 14px;min-height:58px;width:100%;font-size:22px;border-radius:30px}.hall-copy .privacy-line{font-size:14px;color:#65705f;text-align:center}.hall-progress{max-width:900px;margin:auto;border-top:1px solid #c6cfb8;padding:20px 0;display:flex;gap:24px;align-items:center;justify-content:space-between}.hall-progress button{white-space:nowrap}.hall-links{display:flex;gap:16px;justify-content:center}.hall-links button{border:0;background:#faf7ecb8}.mobile .hall{padding:10px 20px 20px}.mobile .hall-brand img{height:55px}.mobile .hall-welcome{display:flex;flex-direction:column;gap:3px;margin:2px 0 18px}.mobile .hall-portrait{width:100%;max-width:285px}.mobile .hall-portrait img{max-height:230px}.mobile .hall-portrait p{font-size:15px;margin-top:0}.mobile .hall-copy h2{font-size:29px;margin:16px 0 9px}.mobile .hall-copy p{font-size:16px}.mobile .hall-copy .primary{margin:18px 0 12px;font-size:21px}.mobile .hall-progress{display:block;padding:15px 0;font-size:16px}.mobile .hall-progress button{margin-top:8px}.mobile .hall-links{gap:4px;flex-wrap:wrap}.mobile .hall-links button{font-size:15px;padding:8px}
/* 访谈室：固定身份、连续消息、独立状态与三入口底座。 */
.interview-person{display:flex;gap:12px;align-items:center;padding:16px 25px;border-bottom:1px solid var(--line);flex:none}.portrait-small{width:52px;height:52px;object-fit:contain;border-radius:50%;background:#f9efde}.interview-person strong{display:block}.interview-person p{font-size:14px;color:var(--muted)}.status-strip{font-size:14px;padding:8px 24px;background:#e8eddf;flex:none}.chat{max-width:820px;margin:auto;padding:22px 32px 30px;display:flex;flex-direction:column;gap:23px}.message{display:flex;gap:9px;align-items:flex-start;max-width:88%;align-self:flex-start}.message .portrait-small{width:34px;height:34px}.message.user{align-self:flex-end;flex-direction:row-reverse}.bubble{background:var(--white);border:1px solid #e3e5d9;border-radius:4px 18px 18px 18px;padding:14px 18px;min-width:0;overflow-wrap:anywhere}.user .bubble{background:#e7efdf;border-color:#d5e1cb;border-radius:18px 4px 18px 18px}.bubble small{display:block;color:var(--muted);margin-bottom:4px}.bubble button.edit-link{display:block;background:none;border:0;padding:0;font:inherit;text-align:left;line-height:1.8;min-height:44px}
.turn-text{margin:0;line-height:1.8}.edit-link.inline{display:inline;min-height:0;padding:2px 0;color:inherit;cursor:text}.edit-link.inline:hover,.edit-link.inline:focus-visible{background:var(--avatar-border,#e9dcc3);border-radius:4px}.bubble textarea{width:100%;border:0;border-bottom:1px solid #90a682;background:transparent;min-height:115px;resize:vertical;line-height:1.8;font-size:inherit}.bubble .actions{margin-top:12px;gap:7px}.bubble .actions button{font-size:15px;padding:8px}.bubble details{font-size:13px;margin-top:10px}.bubble summary{cursor:pointer;min-height:44px}.provisional .bubble{border-style:dashed;background:transparent}.provisional{opacity:.85}.welcome-chat{max-width:650px;margin:0 auto;padding:15px 0}.welcome-chat h2{font-size:30px;margin:14px 0}.welcome-chat .intro-choices{margin:24px 0}.permission-compact{border-top:1px solid var(--line);font-size:15px;margin-top:26px}.permission-compact summary{min-height:46px;padding:10px 0;cursor:pointer}.permission-compact p{font-size:14px}.capture-save{font-size:13px;color:#53674d;padding:9px 22px;border-top:1px solid var(--line);flex:none}.interview-dock{padding:12px 25px;background:#faf7ef;border-top:1px solid var(--line);flex:none}.input-row{display:grid;grid-template-columns:60px minmax(0,1fr) 60px;gap:12px;align-items:center;max-width:740px;margin:auto}.side-control{border:0;background:transparent;padding:5px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:14px}.mic{min-height:53px;border-radius:30px;font-size:19px}.dock-note{text-align:center;font-size:13px;margin-top:6px;color:var(--muted)}.speech-control{padding:10px 24px;background:#faf7ef;flex:none}.speech-control button{display:block;max-width:700px;width:100%;margin:auto}.pinned-warning{flex:none;padding:10px 20px}.mobile .pinned-warning{padding:8px 12px}.mobile .interview-person{padding:12px 16px}.mobile .chat{padding:18px 14px;gap:18px}.mobile .message{max-width:92%}.mobile .bubble{padding:12px 14px}.mobile .interview-dock{padding:10px 12px}.mobile .input-row{grid-template-columns:44px minmax(0,1fr) 44px;gap:7px}.mobile .mic{font-size:18px;padding:10px}.mobile .status-strip{padding:7px 16px;font-size:13px}.mobile .welcome-chat h2{font-size:25px}.mobile .welcome-chat p{font-size:16px}.mobile .permission-compact{margin-top:15px}.text-compose{padding:12px 20px;border-top:1px solid var(--line);flex:none;background:#f5f1e5}.text-compose label{font-size:14px;display:block}.text-compose textarea{width:100%;min-height:78px;max-height:110px;font-size:var(--ui);padding:9px;border:1px solid #b6c3ac;border-radius:10px;background:#fffdf8;resize:vertical}.text-compose .actions{margin-top:5px}.text-compose button{font-size:15px}.chat-label{font-size:13px;color:var(--muted);text-align:center}
/* 书房：文稿为主体，秘书是窄引导栏。 */
.study-progress{padding:13px 28px;border-bottom:1px solid var(--line);font-size:14px;display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);flex:none}.study-progress strong{color:var(--green)}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:30px;max-width:1100px;margin:0 auto;padding:30px}.manuscript{background:#fffdf8;box-shadow:0 6px 20px #3d432710;min-height:560px;padding:36px 40px;border-top:3px solid #a88b56;line-height:2}.manuscript .document-meta{font-size:13px;color:var(--muted);margin-bottom:18px}.manuscript h2{font-size:30px;margin-bottom:24px}.manuscript p{margin-bottom:16px;line-height:2}.manuscript textarea#manuscript{width:100%;min-height:min(65vh,900px);resize:vertical;border:0;border-bottom:1px solid #bac5ac;background:transparent;line-height:2;font-size:var(--ui)}.secretary-guide{font-size:16px;line-height:1.8}.secretary-guide h3{font-size:22px;margin:12px 0}.secretary-guide button{width:100%;margin-top:12px}.secretary-guide .guide-seal{color:var(--gold);font-size:13px;letter-spacing:2px}.received{max-width:700px;margin:0 auto;padding:28px}.received h2{font-size:32px;margin:15px 0}.received .block{margin:22px 0}.received .actions{display:grid}.evidence{margin-top:22px;font-size:15px;border-top:1px solid var(--line);padding-top:14px}.evidence details{margin:10px 0}.evidence summary{cursor:pointer;min-height:44px}.fact-quote{padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-family:SimSun,serif;font-size:23px;line-height:1.8;margin:18px 0}.mobile .study-progress{padding:10px 16px;font-size:12px;gap:7px}.mobile .study-layout{display:flex;flex-direction:column;padding:18px 14px;gap:18px}.mobile .manuscript{padding:23px 20px;min-height:0}.mobile .manuscript h2{font-size:25px}.mobile .secretary-guide{order:-1}.mobile .secretary-guide h3{font-size:20px;margin:4px 0}.mobile .secretary-guide button{display:none}.mobile .received{padding:22px 18px}.mobile .received h2{font-size:28px}.mobile .manuscript textarea#manuscript{min-height:270px}
/* Founder P1 (2026-11-03): the 逐条核对 answer boxes inside the manuscript column start at about three lines, grow with
   the text up to about eight and then scroll; they can be dragged smaller again (the manuscript editor's height rule
   no longer reaches them). */
.manuscript textarea:not(#manuscript){width:100%;min-height:calc(1.8em + 18px);max-height:calc(6 * 1.8em + 18px);field-sizing:content;overflow-y:auto;resize:vertical;line-height:1.8;padding:8px 10px;border:1px solid #b7c1ad;border-radius:8px;background:var(--white)}.privacy-choice{display:flex;align-items:flex-start;gap:10px;padding:14px 0}.privacy-choice input{width:22px;height:22px;flex:none;margin-top:4px}.privacy-choice label{font-size:16px}
/* 档案室：检索、目录、资产阅读，不复制采访。 */
.archive-search{display:flex;gap:10px;padding:0 32px 20px}.archive-search input{width:100%;min-height:48px;border:1px solid #b7c1ad;border-radius:12px;background:var(--white);padding:11px 16px}.catalog{display:flex;gap:4px;overflow-x:auto;padding:0 32px;border-bottom:1px solid var(--line)}.catalog button{border:0;background:transparent;border-radius:0;font-size:16px;white-space:nowrap}.catalog button.selected{box-shadow:inset 0 -3px var(--green);font-weight:600}.archive-grid{padding:26px 32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.archive-book{display:grid;grid-template-columns:95px minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.book-cover{background:#d8dfcc;color:#39523a;padding:18px 10px;min-height:142px;font:23px/1.8 SimSun,serif;writing-mode:vertical-rl;letter-spacing:4px;border-radius:2px 9px 9px 2px;box-shadow:inset 5px 0 #b6c6a6;overflow:hidden}.archive-book:nth-child(even) .book-cover{background:#e6d9ba;box-shadow:inset 5px 0 #c9b78a}.archive-book h3{font-size:21px}.archive-book p{font-size:14px;color:var(--muted);margin:9px 0}.archive-book button{font-size:15px;padding:8px 12px}.archive-reading{max-width:820px;margin:20px auto;padding:28px}.archive-reading h2{font-size:34px;margin:12px 0 22px}.archive-reading .reader p{line-height:2.2;margin:18px 0}.reader{background:var(--white);padding:32px}.archive-reading .actions{margin-top:20px}.source-index{padding:24px 32px}.source-entry{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:center}.source-entry p{font-size:14px;color:var(--muted)}.source-entry button{font-size:15px;flex:none}.mobile .archive-search{padding:0 18px 16px}.mobile .catalog{padding:0 14px}.mobile .archive-grid{padding:10px 18px;grid-template-columns:1fr;gap:8px}.mobile .archive-book{grid-template-columns:65px minmax(0,1fr);gap:15px}.mobile .book-cover{font-size:19px;min-height:125px}.mobile .archive-reading{padding:18px 14px;margin:0}.mobile .archive-reading h2{font-size:28px}.mobile .reader{padding:22px 19px}.mobile .source-index{padding:14px 18px}.mobile .source-entry{flex-wrap:wrap}.empty{padding:55px 28px;text-align:center;max-width:650px;margin:auto}.empty h2{font-size:30px;margin:16px 0}.empty button{margin-top:24px}
.settings-list{max-width:820px;padding:10px 32px 30px;margin:auto}.settings-list>button{display:flex;justify-content:space-between;width:100%;padding:18px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left;font-size:18px}.settings-list h3{margin:24px 0 10px;font-size:16px;color:var(--gold)}.mobile .settings-list{padding:10px 20px 28px}.public-body{max-width:720px;padding:24px 30px;margin:auto}.public-body h2{font-size:29px;margin:12px 0}.public-body p{margin:14px 0}.public-body details{padding:12px 0;border-bottom:1px solid var(--line)}.public-body summary{min-height:44px;cursor:pointer}.public-body button{margin-top:14px}.check-row{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding:15px 0}.check-row input{width:22px;height:22px;flex:none;margin-top:4px}.check-row span{font-size:16px}.check-row small{display:block;color:var(--muted);line-height:1.7}.mobile .public-body{padding:20px 18px}dialog{width:min(570px,calc(100vw - 28px));max-height:90dvh;overflow:auto;background:var(--white);color:var(--ink);border:1px solid #9caf91;border-radius:20px;padding:25px;font-size:var(--ui);line-height:1.7}dialog::backdrop{background:#203c3290}dialog h2{font-size:25px;margin-bottom:14px}dialog p{margin-bottom:12px}dialog button{margin:8px 5px 0 0}dialog textarea{max-width:100%}#overlay-body .actions{margin-top:15px}#close-overlay{width:100%;margin-top:20px}[hidden]{display:none!important}

.desktop .room-foot{display:none}

.hall-brand{display:flex;justify-content:center;align-items:center;gap:12px}.hall-brand img,.mobile .hall-brand img{width:55px;height:65px}.hall-brand strong{display:block;font:600 27px Georgia,serif;color:#164d2e;letter-spacing:1px}.hall-brand span{display:block;color:#946d36;font-family:SimSun,serif;font-size:17px;letter-spacing:3px}.hall-brand small{display:block;font-size:11px;color:#5b4633;margin-top:3px}

.room-header>.actions{flex:1;min-width:0;flex-wrap:nowrap;gap:6px}.room-header>.actions>.back{flex:0 0 30px;min-width:30px;padding:5px}.room-header>.actions>div{flex:1;min-width:0}.room-header h2{white-space:nowrap}.room-header small{max-width:240px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.header-end{flex:none}

.side-nav .brand{gap:6px}.side-nav .brand img{width:32px}.side-nav .brand strong{font-size:18px}

.recovery-only .input-row{display:none}

/* Runtime-only additions: real states the static blueprint described in prose. */
.room-status{flex:none;font-size:14px;padding:8px 24px;color:#3e5836;background:#eef2e6;border-bottom:1px solid var(--line)}.room-status:empty{display:none}.room-status.alert{color:var(--danger);background:#fff0e7}.mobile .room-status{padding:7px 16px;font-size:13px}
.mic-level{display:block;width:120px;height:6px;margin:6px auto 0;accent-color:var(--green)}
.boot{grid-column:1/-1;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100%;width:100%;box-sizing:border-box;padding:24px;text-align:center;color:var(--muted)}
/* Founder 2026-11-23: loading page, the SAANLORE mark breathing (2.4 s), the three heads lighting in turn; words change after 3 s and 10 s. */
.boot-mark{width:112px;height:auto;overflow:visible}.bm-breathe{transform-box:fill-box;transform-origin:center;animation:bm-breathe 2.4s ease-in-out infinite}.bm-head{transform-box:fill-box;transform-origin:center;animation:bm-glow 2.4s ease-in-out infinite}.bm-h2{animation-delay:.4s}.bm-h3{animation-delay:.8s}@keyframes bm-breathe{0%,100%{transform:scale(.95);opacity:.88}50%{transform:scale(1.04);opacity:1}}@keyframes bm-glow{0%,100%{opacity:.55;transform:scale(.92)}40%{opacity:1;transform:scale(1.06)}}
.boot-brand{margin:6px 0 0;font:600 22px/1.2 Georgia,"Songti SC","SimSun",serif;letter-spacing:.06em;color:var(--green)}.boot-brand small{display:block;margin-top:4px;font:14px/1.4 system-ui,"Microsoft YaHei",sans-serif;letter-spacing:.2em;color:var(--gold)}
.boot-text{display:grid;margin:8px 0 0;font-size:17px;min-height:1.6em}.boot-text span{grid-area:1/1}.boot-text span+span{opacity:0}.boot-text span:nth-child(1){animation:boot-off .5s ease 3s forwards}.boot-text span:nth-child(2){animation:boot-on .5s ease 3s forwards,boot-off .5s ease 10s forwards}.boot-text span:nth-child(3){animation:boot-on .5s ease 10s forwards}@keyframes boot-on{to{opacity:1}}@keyframes boot-off{to{opacity:0}}
.boot.failed .bm-breathe,.boot.failed .bm-head{animation:none;opacity:.6}.boot-problem{margin:8px 0 0;color:var(--danger);max-width:30em}.boot-retry{display:inline-block;margin-top:6px;padding:10px 22px;border-radius:10px;background:var(--green);color:var(--white);text-decoration:none;font-size:17px}
@media (prefers-reduced-motion:reduce){.bm-breathe,.bm-head{animation:none}}
.check-row label{flex:1}.check-row input:disabled+label{opacity:.65}
.form-stack{display:grid;gap:14px;margin:16px 0}.form-stack label{display:grid;gap:6px;font-size:16px}.form-stack input,.form-stack textarea,.form-stack select{width:100%;min-height:46px;border:1px solid #b7c1ad;border-radius:10px;background:var(--white);padding:10px 12px}
.player{display:grid;gap:10px;margin:12px 0}.player .actions button{font-size:15px}.player input[type=range]{width:100%}
.recovery-row{padding:14px 0;border-bottom:1px solid var(--line)}.recovery-row p{font-size:15px}
.message-row{display:block;width:100%;text-align:left;margin:0 0 8px}
.study-title{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.study-title input{width:100%;min-height:46px;border:1px solid #b7c1ad;border-radius:10px;background:var(--white);padding:10px 12px}
.study-facts{margin-top:28px;border-top:1px solid var(--line);padding-top:14px;font-size:16px;line-height:1.7}.study-facts form{display:grid;gap:10px}.study-facts label{display:grid;gap:4px}.study-facts label.check{display:flex;gap:8px;align-items:flex-start}.study-facts textarea,.study-facts input,.study-facts select{width:100%;border:1px solid #b7c1ad;border-radius:8px;background:var(--white);padding:8px 10px}.study-facts .memoir-actions{display:flex;flex-wrap:wrap;gap:8px}.study-facts blockquote{margin:8px 0;font-family:SimSun,serif}
.change-card{padding:8px 0;border-bottom:1px solid var(--line)}.change-card del{color:var(--danger)}.change-card ins{color:var(--green);text-decoration:none;font-weight:600}
.manuscript-read{white-space:pre-wrap}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* ---- Polish V2 (Founder 2026-10-22). Overrides only; approved structure and palette unchanged. ---- */
/* One portrait/avatar shape everywhere: square crop, rounded corners, thin warm border. Sizes vary per page. */
:root{--muted:#4c5b4f;--avatar-radius:24%;--avatar-border:#d8ccb2}
.portrait-small,.avatar-square{aspect-ratio:1/1;object-fit:cover;object-position:50% 26%;border-radius:var(--avatar-radius);border:1px solid var(--avatar-border);background:#f9efde;flex:none}
.avatar-square{width:72px;height:72px}.avatar-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px}
/* Secondary text: readable size and contrast on paper (≥14px desktop, 13.5px phone). */
.room-header small,.chat-label,.capture-save,.dock-note,.status-strip,.study-progress,.document-meta,.archive-book p,.source-entry p,.bubble small,.permission-compact p,.line-row{font-size:14px}
.chat-label,.capture-save,.dock-note,.document-meta,.archive-book p,.source-entry p,.bubble small,.muted,.room-header small{color:var(--muted)}
.mobile .chat-label,.mobile .capture-save,.mobile .dock-note,.mobile .status-strip,.mobile .room-header small,.mobile .study-progress{font-size:13.5px}
.large .chat-label,.large .capture-save,.large .dock-note,.large .bubble small,.large .line-row,.large .archive-book p,.large .source-entry p{font-size:16px}
.kicker{font-size:14px}.evidence{font-size:15.5px}
/* Recording status: duration, live level and save state in one quiet line under the main control. */
.rec-status{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px auto 0;font-size:15px;color:var(--ink);max-width:420px}
.rec-dot{width:9px;height:9px;border-radius:50%;background:#b0412b;flex:none;animation:rec-pulse 1.6s ease-in-out infinite}
.rec-time{font-variant-numeric:tabular-nums;font-weight:600;min-width:3.2em}
.level-bar{flex:1;max-width:160px;height:6px;border-radius:3px;background:#dfe4d6;overflow:hidden}.level-bar i{display:block;height:100%;width:0;background:var(--green);transition:width .12s linear}
.rec-save{color:var(--muted);font-size:14px;white-space:nowrap}
@keyframes rec-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.rec-dot{animation:none}}
/* S06 and receive cards: wrapping rows, steady spacing, full-width stacked actions. */
.received .block{padding:8px 20px}.received .line-row{align-items:flex-start;padding:13px 0}.received .line-row:last-child{border-bottom:0}
.line-row span:first-child{flex:none;color:var(--muted)}.line-row span:last-child{min-width:0;overflow-wrap:anywhere;color:var(--ink)}
.received h2,.received p{overflow-wrap:anywhere}.received .actions{gap:10px;margin-top:6px}.received .actions>*{width:100%}
.mobile .received .block{padding:4px 16px}.mobile .received .line-row{gap:12px}
/* Study: a calm reading column inside the manuscript; the guide reads as secondary. */
.manuscript-read,.manuscript textarea,.manuscript>p{max-width:40em}
.manuscript-read p{font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:calc(var(--ui) + 1px);line-height:2.05;color:#26362c;margin:0 0 1.1em}
.manuscript h2{line-height:1.45;overflow-wrap:anywhere}.secretary-guide p{color:var(--muted)}.secretary-guide h3{color:var(--ink);line-height:1.5}
.study-progress strong{border-bottom:2px solid var(--green)}
/* Archive: covers, long titles and originals stay legible. */
.book-cover{display:flex;align-items:flex-start;justify-content:center;font-size:21px;line-height:1.5;padding:16px 8px}
.archive-book h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.5}
.source-entry h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.source-entry>div{min-width:0}.source-entry .actions{flex:none}
.mobile .source-entry .actions{width:100%}
/* Hall: last progress reads as a calm card over the landscape. */
.hall-progress{background:#fffdf7eb;border:1px solid #d3dac8;border-radius:16px;padding:18px 24px;box-shadow:0 6px 18px #3d432712;margin-bottom:22px}
.hall-progress p{font-size:18px;color:var(--ink);line-height:1.6;overflow-wrap:anywhere}.hall-progress .kicker{display:block;margin-bottom:4px}
.mobile .hall-progress{padding:15px 16px}
/* Full authorization text: scrollable, sectioned, nothing removed. */
.notice-text{max-height:min(46vh,440px);overflow:auto;overscroll-behavior:contain;margin-top:10px;padding:12px 16px;background:#faf7ef;border:1px solid var(--line);border-radius:12px;font-size:15px;line-height:1.85}
.notice-text h3{font-size:15px;margin:12px 0 4px;color:var(--ink)}.notice-text h3:first-child{margin-top:0}.notice-text p{margin:0 0 10px}
details>summary{font-weight:600}.service-state{display:inline-block;margin-left:6px;padding:0 8px;border-radius:10px;font-size:13px;line-height:1.7;background:#eef1e8;color:var(--muted)}.service-state.on{background:#dde9d6;color:var(--green)}
/* Archive management (Founder V2): pending badge, folders, per-segment originals. */
.catalog button{position:relative;padding-right:22px}
.count-badge{position:absolute;top:3px;right:0;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#a8452c;color:#fff;font:600 12px/20px "Microsoft YaHei",sans-serif;text-align:center}
.folder-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:14px 32px 0}.folder-bar button{min-height:44px;border-radius:22px;font-size:15px;padding:6px 16px}.folder-bar button.selected{background:var(--green);color:#fff;border-color:var(--green)}.folder-bar .quiet{border-radius:0;padding:6px 4px}
.mobile .folder-bar{padding:12px 14px 0;gap:6px}
.book-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.book-actions button{font-size:15px;padding:8px 12px}
.original-group details{margin-top:8px}.segment-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px dashed var(--line)}.segment-row>div{min-width:0}.segment-row strong{font-size:15px}.segment-row p{margin:2px 0}.segment-row button{flex:none;font-size:15px}
dialog .block{margin:12px 0}dialog .warning{margin:10px 0}
/* Work sharing: public reading page and owner management. */
/* Founder V4: #frame (the app shell: one screen, no page scroll) outranked .share-frame, so a shared work could
   not be scrolled. The share page scrolls like any long article. */
#frame.share-frame{height:auto;min-height:100dvh;overflow:visible}.share-main{max-width:860px;margin:0 auto;padding:24px 20px 48px;font-size:var(--ui);line-height:1.8}
.share-brand{margin:6px 0 10px}.share-reading{margin-top:8px}.share-note{margin-top:16px;font-size:14px}
.share-comments{max-width:820px;margin:8px auto 0;padding:0 28px}.share-comments h3{font-size:20px;margin:18px 0 6px}.share-comment{padding:14px 0;border-top:1px solid var(--line)}.share-reply{margin:10px 0 0 18px;padding:10px 14px;background:#eef2e6;border-radius:12px}
.mobile .share-main{padding:14px 12px 36px}.mobile .share-comments{padding:0 14px}
.share-card{padding:18px 0;border-bottom:1px solid var(--line)}.share-card h3{font-size:19px;overflow-wrap:anywhere}.share-link{display:flex;gap:8px;align-items:center;margin:8px 0}.share-link input{flex:1;min-width:0;min-height:44px;border:1px solid #b7c1ad;border-radius:10px;padding:8px 10px;background:var(--white);font-size:14px}
.share-state{display:inline-block;padding:0 8px;border-radius:10px;font-size:13px;background:#dde9d6;color:var(--green)}.share-state.off{background:#f0e6e0;color:var(--danger)}
dialog textarea.share-text{width:100%;min-height:220px;border:1px solid #b7c1ad;border-radius:10px;padding:10px;background:var(--white);line-height:1.8}

/* Help guide rendered from the canonical Markdown. */
.help-body h2{font-size:26px;margin:18px 0 8px}.help-body h3{font-size:20px;margin:18px 0 6px}.help-body h4{font-size:17px;margin:14px 0 4px}.help-body ul{padding-left:22px}.help-body li{margin:4px 0;line-height:1.8}.help-body code{font-size:.9em;background:#eef1e8;padding:0 4px;border-radius:4px}
/* Founder V3: the hall portrait keeps its original ratio inside the same rounded-square frame language as
   all avatars (warm border, soft corners scaled to the larger size). Layout and image are unchanged. */
.hall-portrait img{display:block;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:clamp(18px,6%,36px);border:1px solid var(--avatar-border);background:#f9efde;box-shadow:0 8px 22px #3d432718;overflow:hidden}
/* Narrow screens cap the height; size by the square image itself so the rounded frame hugs the picture, not a letterbox. */
.mobile .hall-portrait img{width:auto;max-width:100%;margin-inline:auto;border-radius:clamp(14px,6%,24px)}
/* Founder V4: share welcome and invitation, share audience, 文章 selection, one-at-a-time checks, study workbench. */
.share-welcome{margin:0 0 6px;color:var(--muted);line-height:1.7}
.share-invite{margin:36px 0 12px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:var(--white)}.share-invite h3{margin:0 0 6px}
.button-link{display:inline-block;margin-top:6px;padding:10px 18px;border-radius:12px;background:var(--green);color:white;text-decoration:none}
fieldset.audience{border:1px solid var(--line);border-radius:12px;padding:8px 14px}fieldset.audience label{display:inline-flex;gap:6px;align-items:center;margin-right:16px}
.compose-bar{align-items:center;gap:12px;margin:0 0 14px}.compose-bar>span{color:var(--muted)}
.check-choices{gap:10px}.check-choices>*{flex:1 1 140px}
.study-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 20px}.study-board>div{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--white)}.study-board strong{display:block;font-size:28px;line-height:1.2;color:var(--green)}
/* Founder V5.2: organising stages as the server reports them */
.organize-steps{margin:14px 0;padding-left:1.4em;font-size:16px;line-height:2}.organize-steps li{color:var(--muted)}.organize-steps li.done{color:var(--green)}.organize-steps li.now{color:var(--ink);font-weight:700}
.book-cover.raw{background:transparent;color:var(--muted);box-shadow:none;border:2px dashed #b9c3ad;font-size:18px}.archive-book:nth-child(even) .book-cover.raw{background:transparent;box-shadow:none}.raw-note{margin:18px 32px 0}.mobile .raw-note{margin:12px 18px 0}
/* Founder V5.2: photo thumbnails all the same size (cropped to fit by CSS only); the original opens in full */
.file-card .file-thumb{display:block;writing-mode:horizontal-tb;padding:0;width:95px;height:142px;min-height:0;overflow:hidden;background:#e9e4d6;box-shadow:none;border-radius:6px}.file-card .file-thumb img{display:block;width:100%;height:100%;object-fit:cover}.mobile .file-card .file-thumb{width:65px;height:98px}
/* Founder V5.3: one family member, name / relation / form of address apart; other relations folded */
.person-field{border:0;padding:0;margin:16px 0}.person-field legend{font-weight:600;font-size:16px;margin-bottom:6px;padding:0}.person-field input{width:100%;min-height:46px;border:1px solid #b7c1ad;border-radius:10px;padding:8px 12px;background:var(--white)}.person-field .check-choices{margin-top:4px}.person-more{margin-top:8px}.person-more summary{cursor:pointer;min-height:40px;color:var(--muted);font-size:15px}.person-card p{margin:0 0 6px}.person-card.editing{border:2px solid #9caf91;border-radius:12px;padding:6px 14px}
/* Founder V5.3: organising is visibly alive: the current stage turns, finished stages are ticked */
.organize-live{display:flex;align-items:center;gap:10px;color:var(--green);font-size:15px;margin:10px 0 0}.organize-spinner{width:16px;height:16px;border-radius:50%;border:2px solid #c9d4bf;border-top-color:var(--green);animation:organize-turn 1s linear infinite;flex:none}.organize-steps li.now::after{content:"";display:inline-block;width:10px;height:10px;margin-left:8px;border-radius:50%;border:2px solid #c9d4bf;border-top-color:var(--green);animation:organize-turn 1s linear infinite;vertical-align:middle}.organize-steps li.done::before{content:"✓ ";color:var(--green)}@keyframes organize-turn{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.organize-spinner,.organize-steps li.now::after{animation:none}}
/* Founder V5.3: who a share is for */
.share-modes{display:grid;gap:10px;margin:12px 0}.share-modes .share-mode{display:block;text-align:left;padding:14px 16px}.share-modes small{display:block;color:var(--muted);font-size:14px;margin-top:4px}.share-recipients{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:8px 0}.recipient-row{display:grid;gap:6px;padding:10px 0;border-bottom:1px dashed var(--line)}.recipient-row input{width:100%}.share-clue{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fbf6ea;border:1px solid #c9b78a;font-size:15px}.share-link span{display:block;font-size:15px;margin:6px 0 2px}
.share-target{outline:3px solid #c9b78a;border-radius:10px}
/* Founder V5.3: the bell and the account entry in the top right */
.header-end .bell{position:relative;border:0;background:transparent;padding:8px}.bell-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#a3402a;color:#fff;font-size:11px;line-height:18px;text-align:center}.account-entry{position:relative}.account-button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);border-radius:22px;padding:6px 14px 6px 6px;min-height:42px;font-size:15px}.account-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover}.account-button svg.icon{width:26px;height:26px}.account-name{max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:200px;background:var(--white);border:1px solid #9caf91;border-radius:14px;box-shadow:0 8px 24px #20302630;padding:6px;display:grid}.account-menu .menu-item{border:0;background:transparent;text-align:left;border-radius:10px;padding:10px 14px}.account-menu .menu-item:hover{background:var(--soft)}.mobile .account-name{max-width:5em}.mobile .account-button{padding:4px 10px 4px 4px;font-size:13px}.inbox-row{display:block;width:100%;text-align:left;margin:8px 0}.inbox-row strong{display:block}.inbox-row small{display:block;color:var(--muted)}.inbox-row.unread{border-color:#a37631}.inbox-kind{display:block;font-size:13px;color:var(--gold)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.supplements{margin-top:22px;padding:16px 20px;border-top:1px solid var(--line)}.supplements blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid #c9b78a;background:#fbf8ef}.supplements footer{font-size:13px;color:var(--muted)}
/* Founder closeout P0: each service's real state when any is degraded */
.service-status{margin:0;padding:6px 24px;font-size:13px;color:var(--ink);background:#f3ecdc;border-bottom:1px solid var(--line)}.mobile .service-status{padding:6px 14px;font-size:12px}
/* Admin V1.4: the narrator's own switch for staff reading the detailed profile, with the record of each view. */
.staff-access{margin:22px 0;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:#fbfaf6}.staff-access h3{margin:0 0 8px}.staff-access h4{margin:16px 0 6px;font-size:14px}.staff-access ul{margin:0;padding-left:20px}.staff-access li{margin:4px 0;overflow-wrap:anywhere}
/* Deep fix P3: photo thumbnails in the conversation and the photo panel; the Enter hint; Xiaoxun's text/voice switch. */
.chat-photo{display:block;max-width:220px;max-height:220px;width:auto;height:auto;margin:6px 0;border-radius:10px;object-fit:cover;border:1px solid var(--line)}.photo-message .bubble a{display:inline-block}
.photo-thumb{display:inline-block;margin:6px 8px 6px 0;max-width:160px;vertical-align:top}.photo-thumb img{display:block;max-width:160px;max-height:160px;border-radius:8px;object-fit:cover}.photo-thumb figcaption{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.compose-hint{margin:4px 0 0;font-size:13px}.interview-person .voice-toggle{margin-left:auto;flex:none;font-size:14px;min-height:36px;padding:6px 10px}
/* Deep fix P3 (Founder-approved layout): a small secondary 收起 on the left, the green 发送 on the right, on every width. */
.text-compose .compose-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px}.text-compose .compose-actions>button{flex:0 0 auto;width:auto}
.text-compose .compose-hide{min-height:36px;padding:6px 12px;font-size:14px}.text-compose .compose-send{min-height:44px;min-width:96px;padding:8px 22px}
/* Founder acceptance B3: the family members of a work, as a table that scrolls sideways on a phone. */
.family-summary-page{max-width:1000px;margin:0 auto;padding:28px 32px}.mobile .family-summary-page{padding:18px 14px}.table-scroll{overflow-x:auto;margin:16px 0}.summary-table{width:100%;border-collapse:collapse;min-width:560px;font-size:15px}.summary-table th,.summary-table td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}.summary-table th{color:var(--muted);font-weight:600;font-size:14px}
.family-changes ul.change-list{margin:4px 0 10px;padding-left:20px}.family-changes li{margin:3px 0;overflow-wrap:anywhere}.person-status{margin:2px 0 6px;font-size:14px}
/* Founder acceptance B5: the house's own photo viewer. */
.photo-open{padding:0;border:0;background:none;cursor:zoom-in;min-height:0;display:inline-block}.file-thumb{padding:0;border:0;cursor:zoom-in}
.photo-viewer{position:fixed;inset:0;z-index:1000;background:rgba(12,16,14,.92);display:flex;flex-direction:column}
.photo-viewer-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;color:#f3efe4}.photo-viewer-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.photo-viewer-bar button{min-width:44px;min-height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;font-size:18px;padding:0 10px}
.photo-viewer-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;padding:8px}
.photo-viewer-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center center;user-select:none;cursor:grab}
/* Founder acceptance B6: photos in the delete dialog, with their fate, and two clear choices. */
.delete-photo-strip{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 10px}.delete-photo{margin:0;width:110px}.delete-photo img{width:110px;height:84px;object-fit:cover;border-radius:8px;border:1px solid var(--line);display:block;background:#eee}.delete-photo figcaption{font-size:13px;overflow-wrap:anywhere;margin-top:4px}
.choice-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;margin:8px 0;cursor:pointer;background:#fffdf8;color:var(--ink);font-size:15px;line-height:1.5}.choice-row input{width:20px;height:20px;flex:none;margin-top:3px}
.choice-row input[type=radio],.check-row input[type=checkbox],.choice-row input[type=checkbox]{min-height:0;height:20px;width:20px;padding:0}
/* Founder UX fix (2026-10-31): notices say what happened in words and a symbol, not colour alone; inside an open dialog
   they appear above its buttons. Risky actions (delete, stop sharing) look different from ordinary ones. */
.room-status{font-size:max(15px,calc(var(--ui) - 3px))}.room-status:not(:empty)::before{content:"✓ ";font-weight:700}.room-status.alert:not(:empty)::before{content:"！";font-weight:700}
.room-status[aria-busy=true]:not(.alert){color:var(--muted);background:#f4f0e8}.room-status[aria-busy=true]:not(.alert):not(:empty)::before{content:"… "}
.dialog-status{margin:12px 0 0;border-radius:10px;border:1px solid var(--line);padding:10px 14px}.dialog-status.alert{border-color:#ad6b45}
.danger{color:#fff;background:var(--danger);border-color:var(--danger)}.danger-link{color:var(--danger)}
.share-status{margin:10px 0;padding:10px 14px;border-radius:12px;background:#f3efe4;font-size:15px}.share-status.on{background:#e3eedb}.share-status button{min-height:40px}
.link-state{display:inline-block;margin-left:6px;padding:0 8px;border-radius:10px;font-size:13px;background:#dde9d6;color:var(--green)}.link-state.off{background:#f0e6e0;color:var(--danger)}
.share-card.stopped{opacity:.92}.share-history{margin-top:18px}.share-history>summary{min-height:46px;padding:10px 0;cursor:pointer;font-weight:700}
.kept-list{margin:6px 0 10px;padding-left:22px;line-height:1.75}
.storage-total{font-size:20px;margin-top:6px}.storage-total strong{font-size:28px}.storage-bar{display:flex;gap:2px;height:22px;margin:14px 0 6px;border-radius:6px;overflow:hidden;background:var(--line)}.storage-part{min-width:4px}.storage-part:first-child{border-radius:4px 0 0 4px}.storage-part:last-child{border-radius:0 4px 4px 0}
.storage-key{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}.storage-table td:nth-child(2),.storage-table td:nth-child(3){white-space:nowrap}.storage-tidy{margin:16px 0}.storage-link{float:right}
.preferences{margin:18px 0}.pref-field{margin:14px 0}.pref-field label{display:block;font-weight:600}.pref-field input,.pref-field textarea{width:100%;margin-top:4px}.pref-tips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chip-button{min-height:38px;padding:4px 12px;border-radius:18px;font-size:14px}.pref-result{min-height:1.8em;color:var(--green)}.pref-result.alert{color:var(--danger)}
/* A long dialog button takes its own line on a phone instead of being squeezed into a narrow column. */
#overlay-body .actions>*{flex:1 1 auto}.mobile #overlay-body .actions>*{min-width:45%}
.storage-table{width:100%;min-width:0;table-layout:auto}.storage-table th,.storage-table td{padding:8px 6px}.mobile .storage-table small{display:block;line-height:1.4}

/* Founder real-AI environment (2026-10-31): smart-service usage on the privacy page; the test-double notice. */
.ai-usage{margin-top:24px}.ai-usage h3{margin-bottom:8px}.ai-usage>p{margin:6px 0}.ai-usage .summary-table{min-width:0;margin:10px 0}.ai-usage-list{padding-left:20px;font-size:15px;line-height:1.8}.notice.test-double{margin:8px 16px;border-radius:10px}
/* Founder relationship fix (2026-10-31): the clue page. Each clue's four answers in two roomy rows (phone, large text). */
.person-card .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.person-card .actions>*{min-height:48px}.person-card.done .notice{margin:4px 0 8px}.clue-together{margin:14px 0 18px;padding:14px 16px;background:#eef3e6;border-radius:12px}.clue-together p{margin-bottom:10px}.clue-group{margin:26px 0 6px;font-size:18px}.clue-question{font-weight:600;color:var(--ink);margin:6px 0}.clue-quote{overflow-wrap:anywhere}
/* Founder relation UX V3 (2026-11-01): the help page (/h/…), the join page (/join) and the natural invitation at the
   end of a shared story or a finished help request. Large, calm type; nothing in the way of reading or answering. */
.brand-invite{margin:36px 0 12px;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:var(--white)}
.brand-invite h3{margin:0 0 8px;font-size:21px}
.brand-invite p{margin:6px 0}
.brand-invite .button-link{margin-top:10px}
.help-main{max-width:720px}
.help-card{margin:12px 0;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.help-card h2{font-size:24px;line-height:1.5;margin:6px 0 12px}
.help-progress{color:var(--muted);font-size:15px}
.help-input,.join-form input,.join-form textarea{display:block;width:100%;min-height:52px;border:1px solid #b7c1ad;border-radius:12px;padding:10px 12px;margin:8px 0;background:#fffdf8;font:inherit;font-size:19px;color:inherit}
textarea.help-input,.join-form textarea{min-height:140px;max-height:none;line-height:1.7;resize:vertical}
.help-choices{display:grid;gap:8px;margin:8px 0}
.help-choices label{display:flex;gap:10px;align-items:center;font-size:19px;color:inherit;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fffdf8;cursor:pointer}
.help-choices input{width:22px;height:22px}
.help-unknown{display:flex;gap:10px;align-items:center;font-size:17px;color:inherit;text-align:left;margin:10px 0}
.help-unknown input{width:22px;height:22px}
.help-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.help-nav button{flex:1 1 140px;min-height:52px;font-size:18px}
.help-review{list-style:none;padding:0;margin:0}
.help-review li{padding:12px 0;border-top:1px solid var(--line)}
.help-review li p{margin:4px 0}
.help-review button{font-size:15px;padding:4px 12px}
.join-form label{display:block;text-align:left;font-size:16px;color:inherit;margin-top:8px}
.join-phone{display:grid;grid-template-columns:7em minmax(0,1fr);gap:8px}
.join-consent{display:flex;gap:10px;align-items:flex-start;font-size:16px;text-align:left;margin:14px 0}
.join-consent input{width:22px;height:22px;flex:none;margin-top:4px}
.join-points{padding-left:1.2em}
.join-points li{margin:6px 0}
/* Founder P0 (2026-11-03): typed words that could not be saved stay visible, marked, until sent again. */
.message.provisional.unsaved .bubble{border-color:var(--danger);background:#fbf1ec}.message.provisional.unsaved small:first-child{color:var(--danger)}
/* Founder P0-A (2026-11-03): words kept on this device while offline, and the device's own prompt (never Xiaoxun). */
.message.provisional.offline .bubble{border-color:var(--gold);background:#fbf6ea}
/* Founder UI/secretary spec (2026-11-03): checks shown in the article, where they are. */
.manuscript-read.marked p{line-height:2}.check-mark{background:#f6e3b4;border-bottom:2px solid var(--gold);border-radius:3px;padding:1px 2px;cursor:pointer;color:inherit}.check-mark.active,.check-mark:focus-visible{background:#efcf86;outline:none}
.mark-panel{margin:6px 0 16px;padding:12px 14px;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:10px;background:var(--white)}.mark-panel .mark-question{margin:0 0 6px;font-weight:600}.mark-panel .actions{flex-wrap:wrap;gap:8px}
.mark-hint{color:var(--muted);font-size:15px}.entry-preview{color:var(--muted)}
.check-mark.unplaced{background:#e3ecd9;color:var(--green);font-size:.9em;padding:1px 6px;margin:0 2px;white-space:nowrap}.unplaced-tail{margin-top:8px}
.more-answers,.more-fields{margin:8px 0;font-size:15px}.more-answers summary,.more-fields summary{cursor:pointer;color:var(--muted)}.more-answers[open] summary,.more-fields[open] summary{margin-bottom:6px}

/* Founder item 2 closeout: stable list actions, shrinkable editors, visible archive state. */
.source-entry{align-items:center}.source-entry>div:first-child{flex:1;min-width:0}.source-entry>button{flex:none;align-self:center;white-space:nowrap}.source-entry{flex-wrap:wrap;gap:10px}
.manuscript textarea#manuscript,.mobile .manuscript textarea#manuscript{min-height:100px;max-height:65vh;resize:vertical;overflow:auto}
.manuscript textarea:not(#manuscript){field-sizing:fixed;min-height:48px;max-height:260px}
.archive-status{padding:14px 24px;background:#edf2e5;color:#294932;border-bottom:1px solid #c5d1ba}.archive-status button{margin-left:12px}.study-versions{margin:20px 0;border-top:1px solid var(--line);padding-top:12px}.study-versions select{margin:8px;max-width:100%}.check-source{font-size:15px;margin:12px 0}.source-context blockquote{border-left:3px solid #a88b56;padding-left:12px}.source-context{overflow-wrap:anywhere}

.source-entry>button:not(.quiet){min-width:108px}
.study-passage{cursor:text}.passage-tools{margin:8px 0 16px}
.manuscript .mark-hint{padding:8px 12px;border-left:3px solid #a88b56;background:#f8f1de;color:#51401e}
.manuscript .check-source summary,.manuscript .passage-tools button{font-size:var(--ui);font-weight:650;color:var(--green)}
.manuscript .check-mark:focus-visible{outline:2px solid #735815;outline-offset:2px}
@media(min-width:1050px){
  .study-layout{max-width:1320px;grid-template-columns:minmax(0,1fr) 255px}
  .manuscript-read,.manuscript textarea#manuscript{max-width:48em}
  .manuscript-read p,.manuscript textarea#manuscript{font-size:calc(var(--ui) + 3px)}
}

.manuscript-read .reading-deleted{color:#b3261e;text-decoration:line-through;text-decoration-thickness:1.5px;white-space:pre-wrap}.manuscript-read .reading-added{color:#237142;text-decoration:none;white-space:pre-wrap}.study-versions>summary.style-switch-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:#fff;font-size:16px;font-weight:600;cursor:pointer;list-style:none}.study-versions>summary.style-switch-button::-webkit-details-marker{display:none}.study-versions>summary.style-switch-button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

.check-mark.unplaced{white-space:normal}

.study-reading-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:372px;width:100%;align-items:start;gap:12px;margin:18px 0}.study-reading-tools .study-versions{margin:0;padding:0;border:0}.study-reading-tools .style-switch-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 8px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:#fff;font-size:16px;font-weight:600;line-height:1.3;white-space:nowrap}.study-reading-tools .study-versions[open]{max-width:100%}

/* Founder frontend acceptance: readable overview; existing graph canvas remains optional. */
.sg-overview{padding:16px 0}.sg-overview h2{font-size:30px}.sg-filter{padding:16px 0;max-width:900px}.sg-filter-years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sg-index-item{padding:18px;margin:12px 0;border:1px solid var(--line);border-radius:12px;background:var(--white)}.sg-index-item h4 button{text-align:left;white-space:normal}.gs-cover{display:block;width:100%;max-height:320px;object-fit:contain}.ai-usage{overflow-x:auto}.mobile .bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.mobile .bottom-nav button{font-size:12px}.mobile .sg-filter-years{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile .sg-overview h2{font-size:26px}

.mobile-tools{display:none}.mobile .mobile-tools{display:flex;justify-content:space-around;gap:8px;background:var(--paper);border-top:1px solid var(--line);flex:none;padding:3px 8px}.mobile-tools button{font-size:13px;padding:4px 8px;background:transparent;border:0;text-decoration:underline}.mobile-tools button.current{font-weight:bold;color:var(--green)}

/* Founder item 01: photo-led story share; styles apply only inside this dialog. */
.gs-share-dialog section{margin:18px 0}.gs-photo-panel{padding:20px;border:1px solid #b9b894;border-radius:16px;background:#f4efdf}.gs-photo-panel h3{font-size:24px;line-height:1.5}.gs-photo-lead{color:#4a5740;margin-top:10px}.gs-photo-panel .actions{margin:12px 0}.gs-photo-panel .gs-cover{margin:16px 0 10px;border-radius:10px}.gs-archive-photos{margin:12px 0}.gs-archive-photos summary,.gs-privacy summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}.gs-share-dialog select{width:100%;max-width:100%}.gs-privacy{margin:12px 0;padding:10px;border:1px solid var(--line);border-radius:10px}.gs-privacy p{font-size:15px}.gs-share-dialog .block{margin:16px 0}.gs-dialog-actions{position:sticky;bottom:0;z-index:2;padding:12px 0 6px;background:var(--white);border-top:1px solid var(--line);flex-wrap:wrap}.gs-dialog-actions>button{margin:0;white-space:normal}.gs-photo-panel .quiet{font-size:15px}@media(max-width:819px){.gs-photo-panel{padding:14px}.gs-photo-panel h3{font-size:22px;text-wrap:balance}.gs-dialog-actions{gap:6px}.gs-share-dialog .gs-cover{max-height:240px}}

/* FQA-24390: manuscript-first navigation and a chronological reading line. */
.sg-documents{display:grid;gap:28px}.sg-documents section{min-width:0}.sg-document{margin-block:14px}.sg-document-scope{padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.sg-life-timeline{list-style:none;padding:0 0 0 26px;margin:24px 0;border-left:3px solid var(--green)}.sg-time-year{position:relative;margin:0 0 32px}.sg-time-year:before{content:"";position:absolute;left:-35px;top:8px;width:14px;height:14px;border:2px solid var(--green);border-radius:50%;background:var(--paper)}.sg-time-year>h3{font-size:25px;color:var(--green)}.sg-time-year .sg-index-item{margin-block:12px}.sg-documents .actions,.sg-life-timeline .actions{flex-wrap:wrap}.mobile .sg-life-timeline{padding-left:17px}.mobile .sg-time-year:before{left:-26px}.sg-document h4{overflow-wrap:anywhere}

.readonly-notice{padding:10px 20px;margin:0;font-size:15px;background:#eee9db;border-bottom:1px solid var(--line)}.mobile .sg-overview>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile .sg-overview>.actions button{width:100%;min-width:0;padding:12px;white-space:normal;margin:0}.mobile .readonly-notice{padding:10px 12px;font-size:14px}
/* FQA-24390-11/12: identity summaries in the story graph only; no repeated placeholder avatar grid. */
.sg-person-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.sg-person-entry{min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--white);overflow-wrap:anywhere}.sg-person-entry h4{margin:0 0 8px;font-size:20px}.sg-person-entry p{margin:6px 0}.sg-identity-summary{color:var(--muted);margin:12px 0}.sg-related-memories ul{list-style:none;padding:0}.sg-related-memories li{margin:8px 0}.sg-related-memories button{text-align:left;white-space:normal}.mobile .sg-person-list{grid-template-columns:minmax(0,1fr)}

/* FQA-4370-09: interview entry. Whose story (three cards), only the fields it needs, then the topic. Large targets,
   even spacing, no ragged wrapping; one column on a narrow screen. */
.welcome-chat fieldset{border:0;padding:0;margin:22px 0 0;min-width:0}
.welcome-chat legend{font-size:18px;font-weight:600;margin-bottom:10px;padding:0}
.owner-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.owner-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;min-height:76px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:#fffdf8;color:inherit;font:inherit;cursor:pointer}
.owner-card strong{font-size:18px}.owner-card span{font-size:14px;color:var(--muted)}
.owner-card.selected{border-color:#3f6b3a;background:#eef4e8;box-shadow:inset 0 0 0 1px #3f6b3a}
.owner-card:focus-visible{outline:3px solid #3f6b3a;outline-offset:2px}
.owner-fields{margin-top:14px;padding:14px;border-radius:14px;background:#f5f1e5;display:grid;gap:8px}
.owner-fields label,.owner-fields .field-label{font-size:16px;margin:4px 0 0}
.owner-fields input{min-height:46px;font-size:17px;padding:8px 10px;border:1px solid #b6c3ac;border-radius:10px;background:#fffdf8;width:100%;box-sizing:border-box}
.source-choices,.topic-choices{display:flex;flex-wrap:wrap;gap:8px}
.source-choices button,.topic-choices button{min-height:44px;padding:8px 14px;font-size:16px;margin:0}
.owner-fields .actions{margin-top:6px}.owner-chosen{margin:10px 0 0;font-size:15px}
.story-topic .muted{font-weight:400;font-size:14px}
.mobile .owner-cards{grid-template-columns:1fr}.mobile .owner-card{min-height:62px}
@media (max-width:560px){.owner-cards{grid-template-columns:1fr}.source-choices button,.topic-choices button{flex:1 1 calc(50% - 8px)}}

/* FQA-4370-09 我的权益与使用 V2 */
.usage-card{border:1px solid var(--line);border-radius:16px;padding:16px 18px;margin:14px 0;background:#fffdf8}
.usage-card h3{margin:0 0 10px;font-size:19px}.usage-big{font-size:22px;font-weight:600;margin:8px 0 4px}
.usage-meter{height:14px;border-radius:7px;background:#e7e2d3;overflow:hidden}.usage-meter span{display:block;height:100%;background:#3f6b3a;border-radius:7px}
.usage-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.usage-col h4{margin:0 0 6px;font-size:16px}
.usage-col ul{list-style:none;margin:0;padding:0}.usage-col li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px dashed var(--line);font-size:15px}
.usage-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:center}.usage-stats strong{display:block;font-size:28px}.usage-stats span{font-size:15px;color:var(--muted)}
.usage-details{margin:16px 0}.usage-details summary{min-height:44px;padding:10px 0;cursor:pointer}
@media (max-width:560px){.usage-cols{grid-template-columns:1fr}}.mobile .usage-cols{grid-template-columns:1fr}

/* FQA-4370-09 P0 (Founder phone screenshot): the room's header broke into one character per line on a phone. Settings get
   their own group; on a narrow screen the title stays on one line and the settings wrap below it as whole words; the
   tagline is dropped; the composer and dock stay compact so a raised keyboard leaves the conversation in view. */
.interview-title{min-width:0;flex:1 1 auto}.interview-title strong,.interview-title p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.interview-settings{display:flex;flex-wrap:wrap;gap:6px 10px;justify-content:flex-end;align-items:center;flex:0 1 auto;min-width:0}
.interview-settings button{white-space:nowrap;font-size:14px;min-height:40px;padding:6px 10px;margin:0}
.interview-person .voice-toggle{margin-left:0}
@media (max-width:819px){
  .interview-person{flex-wrap:wrap;gap:8px 10px;padding:10px 14px}
  .interview-person .portrait-small{width:40px;height:40px}
  .interview-title p{display:none}
  .interview-settings{flex:1 1 100%;justify-content:flex-start}
  .interview-settings button{font-size:13px;min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:20px;background:#fffdf8;text-decoration:none}
  .status-strip{white-space:normal;overflow-wrap:anywhere}
  .text-compose{padding:8px 12px}.text-compose label{display:none}.text-compose textarea{min-height:64px;max-height:28vh}
  .text-compose .compose-hint{display:none}
  .input-row{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.mic{white-space:nowrap;font-size:17px;padding:10px 12px}
  .side-control{font-size:13px;white-space:nowrap}
  .dock-note{font-size:12px}
}
@media (max-width:360px){.interview-settings button{font-size:12.5px;padding:6px 8px}.mic{font-size:16px}}
@media (max-height:520px) and (max-width:819px){.interview-person,.dock-note,.capture-save{display:none}}

/* On a phone the four low-frequency settings sit behind one 访谈设置 button (always shown on a wide screen); topic options
   are one per row so a long lead reads as one line, not a column of characters. */
.settings-toggle{display:none}
/* Founder 2026-11-30: on a phone 结束访谈 is always in the room's own bar (the top menu folds away); on a computer it stays in the header. */
.interview-person .end-entry{display:none}
.mobile .interview-person .end-entry{display:inline-flex;margin-left:auto;flex:none;min-height:36px;padding:6px 12px;border:1px solid var(--line,#d8cdb8);border-radius:8px;font-size:14px;background:var(--white,#fff)}
.mobile .header-end .header-end-interview{display:none}
@media (max-width:819px){
  .settings-toggle{display:inline-flex;align-items:center;margin-left:auto;white-space:nowrap;font-size:14px;min-height:40px;padding:6px 12px;border:1px solid var(--line);border-radius:20px;background:#fffdf8}
  .interview-settings:not(.open){display:none}
  .topic-choices button{flex:1 1 100%;text-align:left}
}

@media (max-width:819px){.welcome-chat{padding:12px 14px 18px;box-sizing:border-box}.welcome-chat h2{font-size:24px;margin:8px 0}}

/* While typing on a phone the conversation needs the room: the save line, the mic hint and the site's secondary links
   (我的权益与使用 / 我的分享) step aside, and the voice dock becomes one slim row; nothing is removed from the page. */
@media (max-width:819px){
  .mobile:has(.text-compose) .mobile-tools,.mobile:has(.text-compose) .capture-save,.mobile:has(.text-compose) .dock-note{display:none}
  .mobile:has(.text-compose) .interview-dock{padding:6px 12px}
  .mobile:has(.text-compose) .mic{min-height:44px;padding:6px 12px;font-size:16px}
  .mobile:has(.text-compose) .side-control{padding:2px}
}

/* A raised keyboard (little height left): the bottom room bar also steps aside while typing. */
@media (max-height:520px) and (max-width:819px){.mobile:has(.text-compose) nav,.mobile:has(.text-compose) .interview-dock{display:none}.mobile:has(.text-compose) .text-compose textarea{min-height:56px}}

@media (max-width:819px){.text-compose .actions button,.resume-choice button,.end-ask button{min-height:44px}}

/* 访谈设置 opens as a panel over the conversation on a phone (it no longer pushes the conversation off a small screen). */
@media (max-width:819px){
  .interview-person{position:relative}
  .interview-settings.open{position:absolute;top:100%;left:10px;right:10px;z-index:30;display:grid;grid-template-columns:1fr;gap:8px;padding:12px;background:#fffdf8;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 26px rgba(40,50,30,.18)}
  .interview-settings.open button,.interview-settings .voice-toggle{min-height:44px;font-size:15px;justify-content:flex-start;text-align:left}
}

/* FQA-4370-09 P1: lists do not show a green main button on every card; sharing, moving and deleting a work sit in the
   card's 更多操作; on a phone the 书房 / 档案室 tabs wrap onto two lines instead of hiding off the right edge. */
.card-more{display:inline-block;margin-left:6px}.card-more summary{min-height:40px;display:inline-flex;align-items:center;padding:6px 12px;cursor:pointer;color:var(--muted);font-size:15px}
.card-more[open]{display:block;margin:6px 0 0}
@media (max-width:819px){.catalog{flex-wrap:wrap;overflow-x:visible;row-gap:0}.catalog button{min-height:44px}}

.theme-filters{margin:6px 0}.theme-filters summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted);font-size:15px}

/* 人生采访轴: declining a stage is one quiet fold per stage, not three buttons on every line. */
.stage-decline{display:inline-block;margin-left:6px}.stage-decline summary{min-height:40px;display:inline-flex;align-items:center;cursor:pointer;color:var(--muted);font-size:14px}.stage-decline[open]{display:block}
.life-correction{color:#6b5a2e;font-size:14px}

/* FQA-4370-09 (Founder mobile reference): in the 书房 on a phone the actions are said once, at the bottom: one full-width
   main button, 预览并保存 as a full-width outlined button, the notes in small print; the guide card keeps only its guide. */
@media (max-width:819px){
  .secretary-guide .guide-actions{display:none}
  .room-foot{max-height:42vh;overflow-y:auto;padding:10px 14px 12px}
  .room-foot .muted,.room-foot p{font-size:13px;line-height:1.5;margin:6px 0}
  .room-foot button{width:100%;min-height:48px;margin:6px 0 0;border-radius:12px}
  .room-foot button:not(.primary):not(.quiet){border:1px solid var(--line);background:#fffdf8}
  .room-foot .muted button{display:block;font-size:16px;color:inherit;text-decoration:none;border:1px solid #b6c3ac;background:#fffdf8;margin:4px 0 8px}
}

/* Saved screen (Founder mobile reference): the status as one green card, each graph as its own card, the main actions
   full width at the bottom. The wording stays: archiving the 文稿 does not confirm its relations. */
.saved-status{border-radius:16px;background:#eef4e8;border:1px solid #cfdcc4;padding:14px 16px;margin:6px 0 12px}
.saved-status h2{font-size:22px;margin:6px 0}.saved-status p{margin:6px 0}
.received .change-card{border:1px solid var(--line);border-radius:16px;background:#fffdf8;padding:14px 16px;margin:10px 0}
.received .change-card h3{margin:0 0 6px}
@media (max-width:819px){.received{padding:0 14px 16px}.received>.actions button{width:100%;min-height:48px;margin:6px 0 0;border-radius:12px}.saved-status h2{font-size:20px}}

@media (max-width:819px){.received .saved-status h2{font-size:20px;line-height:1.4}.received .saved-status p{font-size:15px}}

/* Phone top bar (4370 run at 375 px: 结束访谈 covered the room title): the account shows its icon only (named 我的账户
   for screen readers), the title and its line stay on one line, the resume card's choices stack full width. */
@media (max-width:480px){
  .account-button .account-name{display:none}.account-button{padding:8px;min-width:44px;min-height:44px;justify-content:center}
  .room-header>.actions>div{min-width:0}.room-header h2,.room-header small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .header-end{gap:4px;flex:none}.header-end button.primary{white-space:nowrap;padding:8px 12px}
  .resume-choice .actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.resume-choice .actions button{width:100%;margin:0}
}

/* Keyboard raised while typing: room-level notices (e.g. the microphone permission card) wait until the keyboard closes. */
@media (max-height:520px) and (max-width:819px){.mobile:has(.text-compose) .room-shell>aside.notice{display:none}}

/* Phone interview room and 书房 (4370 run at 320x568: the entry showed one and a half subject cards). Both are focused spaces:
   the 我的权益与使用 / 我的分享 row stays in the account menu and 更多; before anything is said there is nothing to save;
   on a short screen the microphone line and the save line (the status chip still says 已保存) give way to the conversation. */
@media (max-width:819px){.mobile:has(.interview-dock) .mobile-tools,.mobile:has(.room-foot) .mobile-tools{display:none}.mobile:has(.welcome-chat) .capture-save{display:none}}
@media (max-height:640px) and (max-width:819px){.mobile:has(.interview-dock) .dock-note,.mobile:has(.interview-dock) .capture-save{display:none}}

/* Phone room notice (4370 run at 320x568: the microphone-refused card took 167 px and left one line of conversation):
   the words on top, its two choices side by side underneath, a smaller type size. */
@media (max-width:819px){.room-shell>aside.notice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:8px 12px;font-size:14px;line-height:1.5}
  .room-shell>aside.notice button{flex:1 1 0;min-width:0;min-height:44px;margin:0;padding:6px 10px;white-space:nowrap}}

/* Phone 书房 while the secretary organises (4370 run at 375 px: 书房秘书正在整理 said four times on one screen): the status
   line and the secretary's note say it; the manuscript card keeps the title, the timer and the steps. */
@media (max-width:819px){.manuscript:has(.manuscript-pending) .document-meta,.manuscript-pending>h3{display:none}}

/* 个人喜好 · 家里的称谓说法 */
.kin-words{margin:20px 0}.kin-word{border-top:1px solid var(--line);padding:10px 0}.kin-word p{margin:0 0 6px}
@media (max-width:819px){.kin-word .check-choices button{flex:1 1 100%;min-height:44px;text-align:left}}
/* 书房 · a word that differs by place: each meaning on its own line on a phone (4370 run at 375 px). */
@media (max-width:819px){.check-choices [data-act="person-option"]{flex:1 1 100%;min-height:44px;text-align:left}}
/* FQA-4370-09 后续: 小寻想先认识您, the life axis by what was told, 访谈偏好, 更多 in groups, privacy order, usage V2 */
.intro-card h2{margin-top:8px}.intro-form{display:grid;gap:14px;margin:16px 0}.intro-field{display:grid;gap:6px;min-width:0}.intro-field>label{font-size:16px;font-weight:600}
.intro-field input,.intro-field select{width:100%;min-width:0;min-height:46px;border:1px solid #b7c1ad;border-radius:10px;background:var(--white);padding:10px 12px;font-size:16px}
.intro-birth{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:8px}.intro-error{color:var(--danger)}.intro-note{font-size:14px;line-height:1.7}
.intro-actions{display:flex;flex-wrap:wrap;gap:10px}.intro-actions button{margin-top:4px}
@media (max-width:560px){.intro-birth{grid-template-columns:repeat(2,minmax(0,1fr))}}.mobile .intro-birth{grid-template-columns:repeat(2,minmax(0,1fr))}
.life-stages{list-style:none;padding:0;margin:8px 0 18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:8px}
.life-stage{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--white);min-width:0}
.life-stage strong{min-width:0;word-break:keep-all;overflow-wrap:break-word}.life-cover{flex:none;font-size:13px;padding:1px 9px;border-radius:10px;white-space:nowrap}
.cover-told{background:#dfeadb;color:var(--green)}.cover-learning{background:#f3ead8;color:#7a5626}.cover-none{background:#eef1e8;color:var(--muted)}
.life-events{list-style:none;padding:0;margin:8px 0}.life-events li{border-bottom:1px solid var(--line);padding:2px 0}.life-events small{display:block;line-height:1.6}
button.life-event{display:grid;gap:2px;width:100%;text-align:left;background:transparent;border:0;padding:10px 0;margin:0;min-height:44px;cursor:pointer;color:inherit;font-size:16px}
button.life-event:hover .life-event-title,button.life-event:focus-visible .life-event-title{text-decoration:underline}.life-event-title{overflow-wrap:anywhere}
.life-more{margin:10px 0;padding:8px 0;border-top:1px solid var(--line)}.life-more summary{min-height:44px;cursor:pointer}
.more-group{margin:0 0 8px}.more-group>button{display:flex;justify-content:space-between;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left;font-size:18px;margin:0}
.privacy-choices,.privacy-uses,.privacy-details{margin:18px 0;padding-top:4px}.privacy-uses ul{padding-left:1.2em;line-height:1.8}.privacy-uses li{margin:4px 0}
.interview-wishes{margin:22px 0;padding-top:12px;border-top:1px solid var(--line)}.interview-wishes h4{margin:16px 0 6px;font-size:16px;color:var(--gold)}
.wish-list{list-style:none;padding:0;margin:0}.wish-list li{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:10px 0;border-bottom:1px dashed var(--line)}
.wish-list li>span:first-child{min-width:0;flex:1 1 220px;overflow-wrap:anywhere}.wish-actions{display:flex;flex-wrap:wrap;gap:8px}.public-body .wish-actions button{margin-top:0}
.settings-more{margin:12px 0}
.usage-money{display:grid;gap:10px;margin:0}.usage-money>div{display:grid;grid-template-columns:8em minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px dashed var(--line)}
.usage-money dt{font-weight:600}.usage-money dd{margin:0;min-width:0;overflow-wrap:anywhere}.usage-money small{display:block}
.usage-card h4{margin:16px 0 8px;font-size:16px}.usage-stats>div{min-width:0}.usage-stats span{overflow-wrap:anywhere}
.usage-stats:not(.usage-tokens){grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:560px){.usage-stats:not(.usage-tokens){grid-template-columns:repeat(2,minmax(0,1fr))}.usage-money>div{grid-template-columns:1fr;gap:2px}}
.mobile .usage-stats:not(.usage-tokens){grid-template-columns:repeat(2,minmax(0,1fr))}.mobile .usage-money>div{grid-template-columns:1fr;gap:2px}

/* Founder 2026-11-15: a story-graph share that asks (invitation, questions, a clue form for anyone, an invitation to join) */
.share-ask{margin:14px 0;padding:14px 16px;border-left:4px solid var(--gold,#9d7138);background:#fbf6ea;border-radius:10px}.share-invitation p{margin:6px 0;line-height:1.8}
.share-questions{margin:6px 0 0;padding-left:1.2em;line-height:1.9}.share-disclaimer{margin:14px 0 4px;padding:8px 12px;border-radius:8px;background:#f1efe7;color:#4c5b4f;font-size:15px}
.share-join{margin:18px auto;max-width:820px;padding:16px 18px;border:1px solid #d8ddcf;border-radius:14px;background:#fffdf7}.share-join-strong{border-color:#9d7138;box-shadow:0 4px 18px rgba(157,113,56,.15)}
.share-join .actions{display:flex;flex-wrap:wrap;gap:10px}.share-join .button-link{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:10px;border:1px solid #b7c1ad;text-decoration:none;color:inherit}.share-join .button-link.primary{background:#214a39;color:#fff;border-color:#214a39}

/* the share editor's reason, invitation and channels (Founder 2026-11-15) */
.gs-ask{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fbf8ef;margin-bottom:14px}.gs-scenes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:8px 0}
.gs-scene{display:flex;gap:8px;align-items:flex-start;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--white);cursor:pointer}.gs-scene input{margin-top:4px}.gs-scene span{display:grid;gap:2px}.gs-scene small{color:var(--muted);font-size:13px;line-height:1.5}
.gs-channels{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.gs-channels .button-link,#overlay .button-link{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid #b7c1ad;text-decoration:none;color:inherit;background:var(--white)}#overlay .button-link.primary{background:var(--green);color:#fff;border-color:var(--green)}
.gs-poster{display:block;width:min(100%,360px);margin:10px auto;border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,.15)}
.share-owner-note{max-width:820px;margin:8px auto 0;padding:10px 14px;border-radius:10px;background:#fbf1d8;border:1px solid #e2c48f;color:#5b4a26;font-size:15px}
/* E2E 2026-11-15: the backup page's fields stacked, one per line */
.account-data label{display:flex;flex-direction:column;gap:4px;margin:12px 0}
.account-data label input:not([type=checkbox]),.account-data label textarea{width:100%;max-width:520px;box-sizing:border-box}
.account-data label:has(input[type=checkbox]){flex-direction:row;align-items:flex-start}
.account-data section{margin-top:18px}
/* Founder 2026-11-16: 故事人物 on the card and in 我的分享 */
.sp-rels{list-style:none;padding:0;margin:4px 0 8px;display:flex;flex-wrap:wrap;gap:6px}.sp-rels li{background:#eef3ec;border:1px solid #cfdcc9;border-radius:999px;padding:3px 10px;font-size:14px}.sp-rels small{color:#6b6b5f;margin-left:2px}
.sp-edit .sp-row{display:flex;gap:6px;align-items:center;margin:6px 0;flex-wrap:wrap}.sp-edit .sp-row input{flex:1 1 140px;min-width:0}.sp-edit .sp-row select{flex:1 1 160px;min-width:0}.sp-edit label{display:flex;flex-direction:column;gap:4px}.sp-tools{display:flex;gap:8px;margin:4px 0}
.sp-which{border:1px solid #d9d2bf;border-radius:10px;padding:8px 12px;margin:8px 0}.sp-which label{display:block;margin:4px 0}
.share-match{margin:8px 0;padding:8px 10px;background:#f4f1e6;border-radius:8px}
/* Founder 2026-11-21: the passage a story graph element came from; one work's canvas at a time */
.reader p.reader-hit{background:#fbf1d8;border-left:3px solid #c99a3b;padding-left:8px;border-radius:4px}
.sg-work-switch{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 8px}
.sp-feeling{margin:6px 0;padding:6px 10px;background:#f7f3ea;border-radius:8px;font-size:14px}.sp-feeling small{color:#7a7466}.sp-edit .sp-row .sp-rel-later,.sp-edit .sp-row .sp-rel-note{flex:1 1 120px;min-width:0}.sp-edit textarea{width:100%;box-sizing:border-box}
/* Founder 2026-11-21: a graph candidate in plain words */
.graph-card h2{font-size:24px;line-height:1.4;margin:8px 0 12px}.gc-said{background:#fbf8f0;border:1px solid #e6dcc6;border-radius:12px;padding:10px 14px;margin:0 0 12px}
.gc-label{margin:0 0 6px;font-size:14px;color:#7a6a48}.gc-around{margin:2px 0;color:#9a927f;font-size:14px}.gc-said blockquote{margin:6px 0;padding:0 0 0 10px;border-left:3px solid #b9894a;font-size:18px;line-height:1.6}
.gc-said mark{background:#f6dc9c;padding:0 2px;border-radius:3px}.gc-why,.gc-then{margin:6px 0;font-size:16px}.gc-choices{margin-top:14px;flex-wrap:wrap;gap:10px}.gc-note{margin-top:10px;font-size:13px}
.focus-question{margin:6px 0 10px;padding:8px 12px;background:#fbf1d8;border:1px solid #e2c48f;border-radius:10px;font-size:16px}
/* Founder 2026-11-23: backup passphrases are text fields (the Chinese keyboard works there), masked until 显示口令. */
.passphrase-input{-webkit-text-security:disc;text-security:disc}.passphrase-input.shown{-webkit-text-security:none;text-security:none}
/* The 显示口令 / 显示密码 switch: a small checkbox before its words, on one line (also inside .form-stack). */
label.reveal-toggle,.form-stack label.reveal-toggle,.account-data label.reveal-toggle{display:inline-flex;flex-direction:row;align-items:center;gap:8px;margin:2px 0 8px;font-size:15px;cursor:pointer;width:auto}
label.reveal-toggle input[type=checkbox],.form-stack label.reveal-toggle input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0;padding:0;flex:none;accent-color:#24513d}
/* Founder 2026-11-23: restore preview in plain words, counts as a compact grid. */
.restore-counts{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;list-style:none;margin:8px 0 12px;padding:0}.restore-counts li{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.restore-counts strong{color:var(--green)}.restore-note{margin:6px 0;padding:8px 12px;border-left:3px solid var(--gold);background:#fff8ea}.restore-note.blocking{border-left-color:var(--danger)}
.migration-log ul{list-style:none;padding:0;margin:8px 0}.migration-log li{padding:8px 0;border-bottom:1px solid var(--line)}.migration-log .when{color:var(--green);font-variant-numeric:tabular-nums}
/* Founder 2026-11-23: four text sizes; 大 keeps the earlier .large tweaks, 特大 goes one step further. */
#frame.text-small{--ui:16px}#frame.text-xlarge{--ui:24px}
.text-small .chat-label,.text-small .bubble small{font-size:13px}.text-xlarge .chat-label,.text-xlarge .capture-save,.text-xlarge .dock-note,.text-xlarge .bubble small{font-size:18px}
.text-size-choice{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:12px 0}.text-size-choice legend{padding:0 6px;font-weight:600}.text-size-choice legend small{display:block;font-weight:400;color:var(--muted);font-size:14px}
.text-size-option{display:inline-flex;align-items:center;gap:6px;margin:6px 14px 6px 0;font-size:17px;cursor:pointer}.text-size-option input{width:20px;height:20px;accent-color:var(--green)}
.text-size-button{min-width:44px;min-height:44px;margin-right:8px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--green);font:700 18px/1 Georgia,serif;cursor:pointer}
/* Founder 2026-11-23: while typing in the interview room, notices shrink to one line and the device status line hides. */
#frame.typing .room-status:not(:empty),#frame.typing .status-strip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-bottom:4px;font-size:14px;line-height:1.5}
#frame.typing .service-status{display:none}

/* Phone chrome stays small regardless of the reading-size choice. Conversation/manuscript sizes are unchanged. */
.mobile-room-toggle{display:none}
.compose-row{display:flex;align-items:flex-end;gap:8px;min-width:0}.compose-row textarea{flex:1;min-width:0;width:0}.compose-row .compose-send{flex:none;min-width:64px;min-height:44px;margin:0;padding:8px 12px}.compose-extras{font-size:13px}
.message-reminder{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 12px;background:#e6eddf;border-bottom:1px solid var(--line);flex:none;font-size:13px}
.message-reminder button{font-size:13px;min-height:44px;padding:4px 8px;text-align:left}.message-reminder .reminder-dismiss{min-width:44px;text-decoration:none}
.interview-diagnostics{flex:none}.interview-diagnostics>summary{cursor:pointer;padding:6px 24px;font-size:13px;line-height:1.5;background:#f3ecdc;min-height:32px}
@media(max-width:819px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .mobile .room-shell{position:relative}
  .mobile .room-header{min-height:52px;padding:4px 10px;flex-wrap:wrap;gap:2px}
  .mobile .room-header h2{font-size:16px}.mobile .room-header small{display:none}
  .mobile .header-end{gap:3px}.mobile .header-end button{min-height:44px;padding:4px 8px;font-size:13px}
  .mobile .bottom-nav{min-height:52px}.mobile .bottom-nav button{min-height:46px;font-size:11px;padding:3px 1px;gap:0}.mobile .bottom-nav button svg{width:19px;height:19px}
  .mobile .mobile-tools button{min-height:36px;font-size:12px}
  .mobile .page-heading{padding:14px 16px 10px}.mobile .page-heading h2{font-size:22px;margin:5px 0}.mobile .page-heading p{font-size:14px}
  #frame.mobile .room-status{padding:4px 12px;font-size:13px;line-height:1.5}
  #frame.mobile.typing .room-status.alert{white-space:normal;overflow:visible;text-overflow:clip}
  .mobile.interview-room .mobile-room-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:68px;white-space:nowrap;text-decoration:none}
  .menu-unread-dot{width:7px;height:7px;border-radius:50%;background:#a33e2c;display:inline-block}
  .mobile.interview-room .interview-person{min-height:40px;padding:4px 12px;gap:7px}
  .mobile.interview-room .interview-person>.portrait-small{width:28px;height:28px}
  .mobile.interview-room .interview-person strong{font-size:14px}.mobile.interview-room .interview-title p{display:none}
  .mobile.interview-room .settings-toggle{min-height:36px;padding:3px 8px;font-size:12px}
  .mobile.interview-room .status-strip{padding:3px 12px;font-size:12px;line-height:1.5}
  .mobile.interview-room .interview-diagnostics>summary{padding:4px 12px;font-size:12px;min-height:32px}
  .mobile.interview-room .interview-diagnostics[open]{max-height:35dvh;overflow:auto}
  .mobile.interview-room .interview-diagnostics .notice,.mobile.interview-room .service-status{font-size:13px;line-height:1.5;padding:6px 12px}
  .mobile.interview-room .interview-diagnostics button{min-height:44px;font-size:14px;padding:5px 10px}
  .mobile.interview-room .capture-save{padding:3px 12px;font-size:12px;line-height:1.5}
  .mobile.interview-room .interview-dock{padding:5px 12px 6px}
  .mobile.interview-room .interview-dock .mic{min-height:48px;font-size:17px;padding:5px 12px}
  .mobile.interview-room .side-control{font-size:12px;min-height:44px;padding:3px;width:44px}.mobile.interview-room .side-control svg{width:20px;height:20px}
  .mobile.interview-room .rec-status{flex-wrap:wrap;margin:3px auto 0;gap:2px 6px;font-size:12px;line-height:1.4}
  .mobile.interview-room .rec-save{font-size:12px;white-space:normal}.mobile.interview-room .dock-note{font-size:12px;line-height:1.4;margin-top:3px}
  .mobile.interview-focus .room-header{position:absolute;right:6px;top:0;z-index:25;background:transparent;border:0;min-height:40px;padding:0;pointer-events:none}
  .mobile.interview-focus .room-header>.actions,.mobile.interview-focus .header-end>:not(.mobile-room-toggle){display:none}
  .mobile.interview-focus .mobile-room-toggle{pointer-events:auto;background:var(--white);box-shadow:0 1px 4px #293f331a;min-height:40px!important}
  .mobile.interview-focus .interview-person{padding-right:88px}
  .mobile.interview-focus .settings-toggle,.mobile.interview-focus .bottom-nav,.mobile.interview-focus .mobile-tools,.mobile.interview-focus .dock-note{display:none}
  .mobile.interview-room .message-reminder{padding-right:82px}
  .mobile.interview-room .text-compose{padding:6px 12px}.mobile.interview-room .text-compose label{font-size:12px}.mobile.interview-room .compose-hint{display:none}
  .mobile.interview-room .text-compose textarea{font-size:16px;min-height:56px;max-height:24dvh}
  .mobile.interview-room .compose-actions{margin-top:4px}.mobile.interview-room .compose-actions button{min-height:44px;font-size:14px;padding:4px 10px}
  /* Never clip unsaved-recording warnings or pretend a failed save succeeded. */
  .mobile.interview-room .pinned-warning{max-height:38dvh;overflow:auto;flex-shrink:0}
}

/* The manuscript editor owns the visible phone viewport; routine saves never replace its focused DOM. */
.photo-panel label,.photo-panel textarea{display:block}.photo-panel textarea{width:100%}
@media(max-width:819px){
  #frame.mobile.study-room{height:var(--study-visible-height,100dvh)}
  .mobile.study-room .room-header{min-height:44px;padding:0 10px}
  .mobile.study-room .room-shell>p.notice{padding:3px 12px;font-size:12px;line-height:1.5}
  .mobile.study-room .study-progress{padding:5px 10px;font-size:12px;line-height:1.5;white-space:nowrap;overflow:auto;flex-shrink:0}
  .mobile.study-room .pinned-warning>.notice,.mobile.study-room .study-review-notice{font-size:13px;line-height:1.5;padding:3px 12px}
  .study-review-notice>summary{cursor:pointer;min-height:28px;display:flex;align-items:center}.study-review-notice p{font-size:13px;line-height:1.5}
  .mobile.study-room .manuscript{padding:12px 14px;font-size:16px;line-height:1.65}
  .mobile.study-room .manuscript h2{font-size:18px;line-height:1.5;margin:8px 0 12px}
  .mobile.study-room .manuscript .fact-quote,.mobile.study-room .manuscript blockquote{font-size:16px;line-height:1.65;margin:8px 0;padding:8px 0}
  .mobile.study-room .manuscript textarea{font-size:16px;line-height:1.65}
  .mobile.study-room .manuscript .document-meta,.mobile.study-room .manuscript .muted{font-size:13px;line-height:1.5}
  .mobile.study-room .manuscript button{font-size:14px;min-height:44px;padding:6px 10px}
  .mobile.study-room .secretary-guide{padding:8px 14px}.mobile.study-room .secretary-guide .guide-seal{font-size:12px}.mobile.study-room .secretary-guide h3{font-size:16px}.mobile.study-room .secretary-guide p{font-size:13px;line-height:1.5}
  .mobile.study-room .room-foot{padding:4px 10px}.mobile.study-room .room-foot p{margin:0;font-size:12px}
  .mobile.study-room .room-foot>.muted{display:flex;flex-wrap:wrap;gap:4px}
  .mobile.study-room .room-foot button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:5px 10px;margin:0;font-size:14px;flex:1}
  .mobile.study-input-active .bottom-nav,.mobile.study-input-active .mobile-tools,.mobile.study-input-active .room-status:not(.alert),.mobile.study-input-active .room-shell>p.notice{display:none}
  .mobile.study-input-active .study-progress{font-size:0;padding:2px 10px}.mobile.study-input-active .study-progress strong{font-size:12px}.mobile.study-input-active .study-progress span{display:none}
  .mobile.study-input-active:not(.study-full-edit) .room-foot{display:none}
  .mobile.study-full-edit .study-layout{display:block;height:100%;padding:0}
  .mobile.study-full-edit .manuscript{display:flex;flex-direction:column;min-height:0;height:100%;padding:6px 12px}
  .mobile.study-full-edit .manuscript>:not(#manuscript):not(h2){display:none}
  .mobile.study-full-edit .manuscript>h2{font-size:14px;line-height:1.5;margin:0 0 4px;flex:none}
  .mobile.study-full-edit .manuscript textarea#manuscript{font-size:16px;line-height:1.65;height:auto!important;flex:1;min-height:80px;max-height:none;resize:none;width:100%;max-width:none;margin:0;padding:8px}
  .mobile.study-full-edit .secretary-guide{display:none}
}

/* Phone chrome stays small; the four reading preferences remain available. */
@media(max-width:819px){
  #frame.mobile.text-small{--ui:15px}#frame.mobile.text-standard{--ui:16px}#frame.mobile.text-large{--ui:19px}#frame.mobile.text-xlarge{--ui:22px}
  .mobile .mobile-tools{display:none} /* My shares remains in More; no duplicate permanent row. */
  #frame.mobile.field-active{height:var(--writing-visible-height,100dvh)}
  .mobile.field-active .bottom-nav,.mobile.field-active .mobile-tools{display:none}
  .mobile .room-header{min-height:44px;padding:0 10px}.mobile .room-status{padding:3px 10px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
  .mobile .page-heading{padding:8px 12px}.mobile .settings-list{padding:8px 12px 16px}
  .mobile .public-body{padding:14px 12px;font-size:var(--ui);line-height:1.65}
  .mobile .public-body h2,.mobile .page-heading h2,.mobile .received h2{font-size:20px;line-height:1.5;margin:8px 0 12px}
  .mobile .public-body h3,.mobile .settings-list h3{font-size:17px;line-height:1.5}
  .mobile .public-body .primary,.mobile .settings-list button{font-size:16px;min-height:44px;padding:8px 12px}
  .mobile .notice{font-size:13px;padding:6px 10px;line-height:1.5}.mobile textarea,.mobile input{max-width:100%}
  .mobile .photo-panel{padding:12px;font-size:16px}.mobile .photo-panel h3{font-size:18px}.mobile .photo-panel p,.mobile .photo-panel label,.mobile .photo-panel summary{font-size:13px;line-height:1.5}
  .mobile .photo-panel textarea{font-size:16px}.mobile .photo-panel button{min-height:44px;font-size:14px;padding:6px 10px}
  .mobile .photo-selected-preview{display:block;max-width:100%;max-height:150px;width:auto;height:auto;margin:8px auto;object-fit:contain}
  .mobile .photo-result{color:var(--green);padding:5px 0}.mobile .photo-error{color:var(--danger);padding:5px 0}
  .mobile.study-checking .secretary-guide,.mobile.study-checking .study-progress,.mobile.study-checking .bottom-nav,.mobile.study-checking .mobile-tools,.mobile.study-checking .room-shell>p.notice{display:none}
  .mobile.study-checking .study-layout{padding:0;gap:0}.mobile.study-checking .manuscript{padding:10px 12px;border-top:0;box-shadow:none}
  .mobile.study-checking .manuscript .document-meta{margin:0 0 8px;font-size:12px}
  .study-step-navigation{border-top:1px solid var(--line);margin-top:18px;padding-top:8px}.mobile .study-step-navigation button{font-size:13px;padding:6px;min-height:44px}
}
.photo-selected-preview{display:block;max-width:100%;max-height:200px;object-fit:contain}.photo-result{color:var(--green)}.photo-error{color:var(--danger)}

/* Graph review: the saved passage and one answerable question come first. Details never occupy the main screen. */
.graph-review{max-width:760px;margin:0 auto}.graph-review .gc-page-title{font-size:14px;color:var(--green);margin:0 0 4px}.graph-review .gc-document{font-size:13px;color:var(--muted);margin:0 0 8px}
.graph-review .document-meta{font-size:12px;margin:6px 0}.graph-review .graph-card h2{font-size:20px;margin:12px 0;line-height:1.5}
.graph-review .gc-said{padding:10px 12px;margin:8px 0}.graph-review .gc-said blockquote{font-size:17px;line-height:1.65;margin:4px 0}
.graph-review .gc-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0}.graph-review .gc-choices button{font-size:14px;min-height:44px;padding:7px 8px;margin:0;white-space:normal;line-height:1.4}
.graph-review .gc-choices .gc-decline{grid-column:1/-1;justify-self:start;padding-left:0;text-align:left}
.graph-review .gc-details,.graph-review .gc-recorded{font-size:13px;margin:8px 0;line-height:1.6;color:var(--muted)}.graph-review summary{min-height:36px;padding:5px 0;cursor:pointer}
.graph-review .gc-uncertain{font-size:13px;color:var(--muted);margin:4px 0}.graph-review .gc-note-form textarea{font-size:16px;min-height:88px}.graph-review .gc-note-form label{font-size:14px}.graph-review .gc-note-form button{font-size:14px;padding:7px 10px;min-height:44px}
.graph-review .gc-navigation{margin-top:8px;gap:8px}.graph-review .gc-navigation button{font-size:13px;min-height:44px;padding:6px 8px}.graph-review .sp-which,.graph-review label{font-size:14px}
@media(max-width:819px){.mobile .source-index.graph-review{padding:10px 14px}.mobile .graph-review .graph-card h2{font-size:18px}.mobile .graph-review .gc-said blockquote{font-size:16px}.mobile .graph-review .gc-label{font-size:12px}.mobile .graph-review .actions:not(.gc-choices) button{font-size:14px;min-height:44px;padding:6px 9px}}

.graph-review .gc-identity-choices{display:grid;gap:8px;margin:12px 0}.graph-review .gc-identity-choices button{font-size:14px;line-height:1.5;min-height:44px;padding:10px 12px;text-align:left;white-space:normal}
.graph-review .gc-identity-choices button.quiet{border:1px solid rgba(43,63,49,.2);border-radius:10px;background:#fffdf7;text-decoration:none}
.profile-avatar-picker{position:relative;display:block;width:72px;height:72px;min-height:72px;padding:0;border:1px solid #d7cbae;border-radius:18px;overflow:hidden;cursor:pointer}.profile-avatar-picker .avatar-square{width:100%;height:100%;margin:0;border:0;display:block;object-fit:cover}.profile-avatar-picker .avatar-picker-caption{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.48);color:#fff;font-size:12px;line-height:1.8;text-align:center}
/* Founder 2026-11-28: a tapped button reads 处理中… while its action runs; ordinary notices fade after a few seconds. */
button.acting{cursor:progress;opacity:.78}
button.acting::after{content:"";display:inline-block;width:.8em;height:.8em;margin-left:.4em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:acting-spin .9s linear infinite}
@keyframes acting-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){button.acting::after{animation:none;border-right-color:currentColor;opacity:.5}}
.room-status.fading{opacity:0;transition:opacity .4s ease}
/* Founder 2026-11-28: every topic is the same kind of button (none looks like a web link); the suggested one only has a gold edge. */
.topic-choices button.suggested{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.room-status.waiting:not(.alert):not(:empty)::before{content:"… "}
/* Founder 2026-11-28: the couple questions wait as one line above the family map. */
.fg-pairs-line{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fg-pairs-line p{margin:0;font-weight:700}
.fg-pairs-line button{margin:0}

/* CC 2026-11-28: 退出登录 at the foot of 更多, apart from the groups. */
.more-logout{margin-top:1.5rem;justify-content:center}

/* Founder 2026-11-28: archive beside the study heading; tap the avatar frame for a photo; avatar sliders on one row each;
   the reading page's 更多 as an even two-column grid. */
.study-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.study-heading>div{min-width:0}
.study-archive-link{flex:none;font-size:15px;padding:8px 14px;min-height:40px;white-space:nowrap}
.reading-more .actions.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reading-more .more-grid>*{flex:none;min-height:44px;padding:8px 10px;font-size:15px;line-height:1.35;word-break:keep-all}
.reading-more .more-grid .danger-link{color:var(--danger)}
.avatar-editor{width:min(92vw,30rem);max-height:92dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:16px}
.avatar-editor canvas{display:block;width:min(100%,300px);height:auto;touch-action:none;margin:0 auto 10px;border-radius:10px}
.avatar-sliders{display:grid;gap:6px}.avatar-sliders label{display:grid;grid-template-columns:3em minmax(0,1fr);align-items:center;gap:10px;font-size:16px}
.avatar-sliders input[type=range]{width:100%;margin:0}
.avatar-buttons{display:flex;gap:10px;margin-top:12px}.avatar-buttons button{flex:1}
.archive-reading>.actions>button{padding-left:8px;padding-right:8px;white-space:nowrap}
/* 人工主持访谈 V6 (Founder 2026-11-29): stacked form pieces, host cards, convenient times, service messages, appointments. */
.jt-field{display:grid;gap:6px}.jt-label{font-size:16px}
.jt-slots{display:flex;flex-wrap:wrap;gap:8px}.jt-slot{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:var(--white);font-size:15px;cursor:pointer}
.jt-slot input{width:18px;height:18px;min-height:0;margin:0;padding:0}
.form-stack .jt-slot,.form-stack label.choice-row{display:flex}
.jt-host small{display:block;color:var(--muted);font-size:14px;line-height:1.5}.jt-tier{display:inline-block;font-size:13px;border-radius:999px;padding:0 8px;background:#f1e7d6;color:var(--gold)}
.jt-notice{background:var(--soft);border-radius:10px;padding:10px 12px;font-size:15px;line-height:1.7}
.jt-appt{border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:10px;padding:10px 12px;margin:8px 0;background:var(--white);line-height:1.7}.jt-state{color:var(--green);font-weight:600}
.jt-msgs{display:flex;flex-direction:column;gap:8px;margin:8px 0}.jt-msg{max-width:88%;border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:var(--white);line-height:1.6;word-break:break-word}
.jt-msg.me{align-self:flex-end;background:#e4ede0}.jt-msg.sys{align-self:center;background:#f6efe1;font-size:14px}.jt-msg small{display:block;color:var(--muted);font-size:12px}
/* V6.1 家人邀请与邀请函 (Founder 2026-11-29) */
.jt-tag{display:inline-block;border-radius:999px;padding:1px 9px;font-size:13px;background:var(--soft);color:var(--green);vertical-align:middle}.jt-tag.wait{background:#f6e9df;color:var(--danger)}
.jt-fam,.jt-fam-new{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0;background:var(--white);line-height:1.7}
.jt-linkrow{display:flex;gap:8px;align-items:center;margin-top:6px}.jt-linkrow input{flex:1;min-width:0;font-size:13px}.jt-linkrow button{flex:none}
.jt-letter{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 16px;font-size:17px;line-height:1.9;margin:8px 0}.jt-letter p{margin:6px 0}
.jt-when{background:var(--soft);border-radius:10px;padding:8px 12px;margin:8px 0;font-weight:600;color:var(--green)}.jt-when small{display:block;font-weight:normal;color:var(--muted);font-size:14px}
.jt-brand{display:flex;gap:10px;align-items:center;margin:4px 0 14px}.jt-brand img{width:44px;height:44px}.jt-brand strong{display:block}.jt-brand span{font-size:14px;color:var(--muted)}
.jt-slogan{text-align:center;margin:22px 0 8px;padding-top:14px;border-top:1px dashed var(--line)}.jt-slogan img{width:40px;height:40px;display:block;margin:0 auto 4px}.jt-slogan strong{display:block;color:var(--green)}.jt-slogan small{color:var(--muted);line-height:1.7}
.nav-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#b3261e;margin-left:6px;vertical-align:top}.bottom-nav .nav-dot{position:absolute;margin:2px 0 0 14px}.bottom-nav button{position:relative}

/* Founder 2026-11-30: a paragraph of the first draft edited in place. */
.para-editing{margin:0 0 14px}
.para-edit{width:100%;min-height:80px;font:inherit;line-height:1.9;padding:10px 12px;border:1.5px solid var(--green,#214a39);border-radius:10px;background:var(--white,#fffdf7);resize:vertical;box-sizing:border-box}
.para-edit-note{margin:4px 0 0;font-size:13px}
.study-passage{cursor:text}
.asked-name{background:#f3e3b8;color:inherit;padding:0 2px;border-radius:3px}
.auto-matched{margin:0 0 12px}

/* Founder 2026-12-01: 年轮、我的历程、会员等级与每次访谈结算单 */
.ring-card{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:14px 0;background:#fffdf8}
.ring-card h3{margin:2px 0 4px;font-size:22px}.ring-card h3 small{font-size:14px;font-weight:400;color:var(--muted);margin-left:8px}.ring-card p{margin:0 0 6px}
.ring-mark{width:64px;height:64px;flex:0 0 64px}.ring-mark circle{fill:none;stroke-width:2.2}.ring-mark .on{stroke:#3f6b3a}.ring-mark .off{stroke:#e2dccb}
.ring-page .ring-mark{width:84px;height:84px}
.ring-names{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:10px 0}.ring-names li{padding:4px 10px;border-radius:999px;border:1px solid var(--line);font-size:15px;color:var(--muted)}
.ring-names li.current{background:#3f6b3a;border-color:#3f6b3a;color:#fff;font-weight:600}.ring-names li.past{color:#3f6b3a;border-color:#3f6b3a}
.journey-list{list-style:none;padding:0;margin:12px 0}.journey-list li{display:flex;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line)}.journey-list time{flex:0 0 8.5em;color:var(--muted);font-size:15px}
.rights-list{margin:6px 0 10px;padding-left:1.2em}.rights-list li{margin:3px 0}
.bill{border-top:1px solid var(--line);padding:4px 0}.bill>summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;min-height:48px;padding:10px 0;cursor:pointer}
.bill-head small{display:block;color:var(--muted);font-size:14px}.bill-sum{font-size:15px}.bill-state{font-style:normal;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:13px;background:#e7e2d3}
.bill-state.settled{background:#e3eedf;color:#2f5a2b}.bill-state.settling{background:#fbefd6;color:#7a5410}
@media (max-width:560px){.journey-list time{flex:0 0 8.4em;font-size:14px}.ring-card{align-items:flex-start}}

/* Founder 2026-12-01 (second instruction): tree stages, family forest, 本次访谈服务结算单, 阳光雨露. Colours from the
   reference: 森林绿 #1E5B40 · 年轮金 #C9A66B · 树干棕 #6B4F3B · 温暖米 #F7F4EA. Important lines at 16px or more. */
.tree-icon{flex:0 0 auto;display:block}.tree-icon .t-sky{fill:#f7f4ea;stroke:#e6dcc4;stroke-width:1.5}.tree-icon .t-ground{fill:#d9cfa8}
.tree-icon .t-leaf{fill:#5f9a52;stroke:#1e5b40;stroke-width:1}.tree-icon .t-stem{stroke:#6b4f3b;stroke-width:2.4;fill:none;stroke-linecap:round}
.tree-icon .t-trunk{fill:#6b4f3b}.tree-icon .t-root{stroke:#6b4f3b;stroke-width:2;fill:none;stroke-linecap:round}
.tree-icon .t-crown{fill:#3f8a4e;stroke:#1e5b40;stroke-width:1}.tree-icon .t-crown.old{fill:#8a9a3e}
.tree-icon .t-slice{fill:#e9d3a6;stroke:#c9a66b;stroke-width:1.4}.tree-icon .t-ring{fill:none;stroke:#b08a55;stroke-width:.6}
.tree-icon.dim{opacity:.38;filter:grayscale(.6)}
.membership-page p,.membership-page li,.membership-page dd{font-size:17px}.membership-page .muted{font-size:16px}.note-lg{font-size:17px;line-height:1.6}
.membership-page .notice{font-size:16px}
.ring-card{background:linear-gradient(180deg,#fbf8ee,#f7f4ea)}.ring-card .primary{margin-top:6px}
.ring-now{display:flex;gap:16px;align-items:center}.ring-now h3{font-size:26px;margin:2px 0}.ring-now p{margin:0;color:#6b4f3b}
.ring-stages{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;text-align:center}
.ring-stages li{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;border-radius:14px}
.ring-stages li strong{font-size:16px;color:#1e5b40}.ring-stages li small{font-size:13px;color:var(--muted);line-height:1.35}
.ring-stages li.current{background:#e5efe2;outline:2px solid #1e5b40}
@media (max-width:700px){.ring-stages{grid-template-columns:repeat(4,minmax(0,1fr))}}
.forest-list{list-style:none;padding:0;margin:10px 0;display:flex;flex-wrap:wrap;gap:12px}.forest-list li{display:flex;gap:8px;align-items:center;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:999px;background:#fbf8ee}
.forest-list span{display:flex;flex-direction:column;font-size:15px}.forest-list strong{font-size:16px}
.bill-results{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0;text-align:center}
.bill-results div{background:#fbf8ee;border:1px solid var(--line);border-radius:12px;padding:8px 4px}.bill-results strong{display:block;font-size:22px;color:#1e5b40}.bill-results span{font-size:14px;color:var(--muted)}
@media (max-width:560px){.bill-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bill-total{border-top:2px solid #1e5b40;margin-top:10px;padding-top:6px}.bill-total dd{font-weight:600}
.demo-tag{font-style:normal;margin-left:6px;padding:1px 8px;border-radius:999px;background:#fbefd6;color:#7a5410;font-size:13px}
.quota-notice{border:1px solid #c9a66b;background:#fbf6e8;border-radius:16px;padding:14px 16px;margin:12px 0}.quota-notice p{font-size:17px;margin:0 0 8px}.quota-notice .actions{display:flex;flex-wrap:wrap;gap:8px}
@media (min-width:900px){.membership-page{max-width:860px}}
.tree-icon .t-light{fill:#7cbf6a;opacity:.55}.tree-icon .t-branch{stroke:#6b4f3b;stroke-width:1.6;fill:none;stroke-linecap:round}
.tree-icon .t-sky{fill:#f3f0dc}.tree-icon.dim{opacity:.55;filter:grayscale(.45)}
/* 本次收获 · 本次服务明细 (Founder 2026-12-01, third review): three parts; resources one per block, readable on a phone */
.bill-body h4{font-size:19px;margin:12px 0 4px;color:#1e5b40}
.bill-part{border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
.bill-part h5{font-size:17px;margin:0 0 6px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bill-part h5 small{font-weight:400;font-size:14px;color:#3c6b4f;padding:1px 8px;border-radius:999px;background:#eef3ea}
.bill-part .bill-results{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}
.bill .usage-money dd small{display:block;font-weight:400;font-size:14px;color:var(--muted)}
.res-list{list-style:none;padding:0;margin:8px 0;display:grid;gap:8px}
.res-list li{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fffdf7}
.res-name{margin:0 0 6px;font-size:17px}.res-name small{display:block;font-size:14px;color:var(--muted);word-break:break-all}
.res-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;margin:0}
.res-figs div{display:flex;flex-direction:column;gap:2px}.res-figs dt{font-size:14px;color:var(--muted)}.res-figs dd{margin:0;font-size:17px;font-weight:600}.res-figs dd small{font-weight:400;font-size:14px;color:var(--muted)}
@media (max-width:560px){.res-figs{grid-template-columns:1fr}.res-figs div{flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px dashed var(--line);padding-top:4px}.res-figs dd{text-align:right}
  .bill .usage-money>div{grid-template-columns:7.5em minmax(0,1fr);gap:8px}}
/* 故事已经保存好了: the light 阳光雨露 lives inside the note (about 1.6 s, once; a tap or reduced motion shows it still) */
.saved-work .saved-lead{font-size:18px;line-height:1.6;margin:0 0 12px}
.saved-grow{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:linear-gradient(180deg,#fbf8ee,#f2efdd);border:1px solid #e6dcc4}
.saved-grow p{margin:0;font-size:17px;color:#1e5b40;font-weight:600;line-height:1.5}
.saved-cover{font-size:15px;color:var(--muted);margin:10px 0 0}
.grow-moment{position:relative;flex:0 0 84px;width:84px;height:84px;border-radius:50%;overflow:hidden;cursor:pointer;background:#f7f4ea}
.grow-moment .g-sun{position:absolute;inset:-30%;background:radial-gradient(circle at 70% 22%,rgba(255,222,120,.9) 0,rgba(255,240,190,.45) 30%,rgba(255,255,255,0) 60%);opacity:0;animation:g-sun 1.6s ease-out forwards}
.grow-moment .g-ring{position:absolute;left:50%;bottom:8px;width:20px;height:8px;margin-left:-10px;border:2px solid #c9a66b;border-radius:50%;opacity:0;animation:g-ring 1.2s ease-out .3s forwards}.grow-moment .r2{animation-delay:.55s}
.grow-moment .g-drop{position:absolute;top:-10px;width:3px;height:9px;border-radius:2px 2px 3px 3px;background:#7fb6d8;opacity:0;animation:g-drop .9s ease-in forwards}
.grow-moment .d0{left:22%;animation-delay:.05s}.grow-moment .d1{left:40%;animation-delay:.3s}.grow-moment .d2{left:58%;animation-delay:.15s}.grow-moment .d3{left:74%;animation-delay:.45s}.grow-moment .d4{left:32%;animation-delay:.6s}
.grow-moment .g-sprout{position:absolute;inset:8px 10px 6px;display:flex;align-items:flex-end;justify-content:center;transform-origin:50% 90%;animation:g-grow 1.6s ease-out forwards}
@keyframes g-sun{0%{opacity:0}45%{opacity:1}100%{opacity:.75}}@keyframes g-ring{0%{opacity:.9;transform:scale(.4)}100%{opacity:0;transform:scale(3.2)}}
@keyframes g-drop{0%{opacity:0;transform:translateY(0)}20%{opacity:.9}100%{opacity:0;transform:translateY(70px)}}@keyframes g-grow{0%{transform:scale(.6) translateY(6px)}60%{transform:scale(1.06)}100%{transform:scale(1)}}
.grow-moment.done *{animation:none!important}.grow-moment.done .g-sun{opacity:.75}.grow-moment.done .g-ring,.grow-moment.done .g-drop{opacity:0}
@media (prefers-reduced-motion:reduce){.grow-moment *{animation:none!important}.grow-moment .g-sun{opacity:.75}.grow-moment .g-ring,.grow-moment .g-drop{opacity:0}}
@media (max-width:420px){.saved-grow{flex-direction:column;text-align:center}}
.media-text-only{font-size:16px}
#overlay-body .saved-close{position:absolute;top:10px;right:10px;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:26px;line-height:1;background:transparent;border:0;color:var(--muted)}
#overlay-body:has(.saved-close){position:relative}#overlay-body:has(.saved-close) h2{padding-right:44px}
.bill-state.closed{background:#ecebe6;color:#5b5a55}
