/* Existing layout preserved. Warm white / vermilion local color candidate, 2026-11-09. Not approved for deployment. */
:root{--qy-paper-3:#ffffff;--qy-night:#211e1c;--qy-night-2:#2c2724;--qy-night-ink:#f6f2ed;--qy-night-muted:#c6bbb3}
:root{--qy-screen-width:402px;--qy-font-sans:'Microsoft YaHei UI','Microsoft YaHei','PingFang SC',sans-serif;--qy-font-serif:var(--qy-font-sans);--qy-ink:#272522;--qy-text-primary:#272522;--qy-muted:#746e68;--qy-text-secondary:#746e68;--qy-paper:#faf9f6;--qy-paper-2:#f2eeea;--qy-bg-canvas:#faf9f6;--qy-bg-elevated:#ffffff;--qy-bg-subtle:#f2f0ec;--qy-rose-soft:#f5e7e3;--qy-plum:#b74938;--qy-plum-2:#b74938;--qy-action-primary:#b74938;--qy-action-secondary:#f5e7e3;--qy-line:#e8e5e0;--qy-rose:#b74938;--ap-paper:#faf9f6;--ap-card:#ffffff;--ap-ink:#272522;--ap-muted:#746e68;--ap-line:#e8e5e0;--ap-brand:#b74938;--ap-gradient:#b74938;--ap-wash:var(--ap-paper);font-family:var(--qy-font-sans)}
html[data-qy-theme="night"]{color-scheme:dark;--qy-paper:#211e1c;--qy-paper-2:#332c29;--qy-ink:#f6f2ed;--qy-text-primary:#f6f2ed;--qy-muted:#c6bbb3;--qy-text-secondary:#c6bbb3;--qy-bg-canvas:#211e1c;--qy-bg-elevated:#2c2724;--qy-bg-subtle:#37302c;--qy-rose-soft:#51332e;--qy-plum:#eea497;--qy-plum-2:#eea497;--qy-action-primary:#b74938;--qy-action-secondary:#44332e;--qy-line:#51433c;--ap-paper:#211e1c;--ap-card:#2c2724;--ap-ink:#f6f2ed;--ap-muted:#c6bbb3;--ap-line:#51433c;--ap-brand:#eea497;--ap-gradient:#b74938;--ap-wash:var(--ap-paper)}
body{background:#f2f0ec;color:var(--ap-ink);font:15px/1.55 var(--qy-font-sans)}
.device-shell{width:min(100%,402px);height:100dvh;min-height:0;margin:0 auto;border-radius:0;border:0;box-shadow:none;outline:1px solid #e8e5e0;background:var(--ap-paper);position:relative;overflow:hidden}
.dev-banner{display:none}.app{height:100%;min-height:0;position:relative;color:var(--ap-ink)}
#app > .toast{position:absolute;z-index:90;top:66.6667%;bottom:auto;left:50%;right:auto;transform:translate(-50%,-50%);width:max-content;max-width:calc(100% - 46px);max-height:30%;overflow:auto;overflow-wrap:anywhere;padding:13px 16px;border-radius:14px;color:#fff;background:#272522;box-shadow:0 8px 24px #0003;font-size:14px;line-height:1.5;text-align:center;box-sizing:border-box}
body.qy-keyboard-open #app > .toast{top:auto;bottom:150px;transform:translateX(-50%)}
.app-back{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;color:var(--ap-ink);background:transparent}
.profile-editor{display:flex;flex-direction:column;padding:24px 23px max(24px,env(safe-area-inset-bottom));overflow:hidden;gap:10px}
.editor-header{display:flex;align-items:center;justify-content:space-between;min-height:44px;flex:none}.editor-header small,.editor-note{color:var(--ap-muted);font-size:13px;line-height:1.5}.profile-editor h1,.persona-versions h1{font-size:25px;line-height:1.35;margin:0}.profile-editor>.editor-note{margin:0 0 4px}
.editor-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;flex:none}.editor-steps button{padding:8px 2px;min-height:44px;border:1px solid var(--ap-line);border-radius:14px;background:var(--ap-card);font-size:12px;color:var(--ap-ink)}.editor-steps [aria-current="step"]{background:var(--ap-gradient);color:#fff;border-color:transparent}
.editor-form{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;gap:12px}.editor-panels{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px}.profile-editor [hidden]{display:none!important}.profile-panel{display:grid;gap:12px}.profile-editor .field{display:grid;gap:6px;margin:0;min-width:0}.profile-editor .field>span{font-size:14px}.profile-editor .field input,.profile-editor .field select{width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:15px}.profile-editor .field textarea{width:100%;min-height:82px;max-height:112px;padding:10px 12px;resize:vertical;font-size:15px;line-height:1.5}.profile-editor .appearance-entry{min-height:68px;margin:0}.editor-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editor-panels>.field,.editor-panels>.editor-two-columns{margin-bottom:12px}.editor-footer{flex:none;display:grid;gap:10px;padding-top:8px;border-top:1px solid var(--ap-line)}.editor-step-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor-step-controls .btn,.editor-save{width:100%;min-height:44px}.editor-save{min-height:48px}.profile-editor .check-row{min-height:44px;font-size:14px}
.persona-versions{padding:24px 23px 40px;overflow:auto}.persona-versions>.editor-note{margin:8px 0 18px}.persona-version-card,.persona-feedback,.persona-restore-box{padding:16px;border:1px solid var(--ap-line);border-radius:20px;background:var(--ap-card);margin:0 0 12px}.persona-version-card header{display:flex;justify-content:space-between;align-items:center;gap:8px}.persona-version-card header span{font-size:12px;color:var(--ap-brand)}.persona-version-card small,.persona-feedback-record small{color:var(--ap-muted);font-size:12px}.persona-version-card p,.persona-feedback-record p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.persona-versions h2{font-size:18px;margin:0 0 14px}.persona-version-card .btn{min-height:44px}.persona-feedback .field{min-width:0}.persona-feedback input,.persona-feedback select{min-width:0;width:100%}.persona-feedback-record{padding:14px 0;border-top:1px solid var(--ap-line);margin-top:14px}.persona-availability{font-size:13px;line-height:1.6;background:var(--qy-rose-soft);border-radius:14px;padding:12px}.persona-restore-box{border-color:var(--ap-brand)}.portrait-picker .app-header{justify-content:space-between}.portrait-picker .portrait-confirm{margin-left:auto;min-width:72px;min-height:44px}
@media(max-height:600px) and (orientation:landscape){#app > .toast{transform:translate(-50%,-100%)}}
.profile-editor .field :is(input,textarea,select):focus{border-color:var(--ap-brand);outline:2px solid var(--ap-brand);outline-offset:-2px}
button,input,textarea,select{font-family:inherit}button{color:inherit;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--ap-brand);outline-offset:3px}
.qiyu-prototype,.qiyu-prototype.paper,.qiyu-prototype.night,.screen{height:100%;min-height:0;box-sizing:border-box;background:var(--ap-wash);color:var(--ap-ink);font-family:var(--qy-font-sans)}
.screen:not(.qiyu-prototype){overflow:auto;padding:44px 23px 120px}
.qiyu-prototype .orbit{display:none}.qiyu-prototype h1,.qiyu-prototype h2,.qiyu-prototype h3,h1,h2,h3,.qiyu-prototype .wordmark{font-family:var(--qy-font-sans);color:var(--ap-ink);letter-spacing:0}
.qiyu-prototype .lead,.qiyu-prototype .step,.qiyu-prototype .page-sub,.muted{color:var(--ap-muted);font-family:inherit}
.qiyu-prototype .btn-primary,.btn-primary{background:var(--ap-gradient);color:#fff;border-color:transparent}
.qiyu-prototype .btn-line,.btn-line{color:var(--ap-ink);border-color:var(--ap-line);background:var(--ap-card)}
.qiyu-prototype .field input,.qiyu-prototype .field textarea,.qiyu-prototype .field select,.field input,.field textarea,.field select{color:var(--ap-ink);border-color:var(--ap-line);background:var(--ap-card)}
.qiyu-prototype .card,.qiyu-prototype .list,.qiyu-prototype .list-row,.card,.asset,.notice-item,.empty-state{color:var(--ap-ink);background:var(--ap-card);border-color:var(--ap-line);border-radius:20px}
.qiyu-prototype .list-ico,.qiyu-prototype .fact-icon{color:var(--ap-brand);background:var(--qy-rose-soft)}
.qiyu-prototype .list-end,.qiyu-prototype .chev{display:none}
.qiyu-prototype .icon-btn{display:inline-grid;place-items:center;min-width:44px;width:44px;height:44px;min-height:44px;padding:0;flex:none;background:transparent;border:0;border-radius:50%;color:var(--ap-ink)}
.qiyu-prototype .icon-btn.soft{background:transparent}
.qiyu-prototype.night .icon-btn.soft{background:#ffffff16;color:var(--ap-ink)}
.qiyu-prototype .avatar,.apricot-profile-head .avatar{object-fit:cover;object-position:50% 25%;border-radius:50%;display:block}
.apricot-screen{position:relative;padding:0;display:block;overflow:hidden}
.apricot-scroll{height:100%;overflow:auto;overscroll-behavior:contain;padding:0 23px 120px;scrollbar-width:none}
.qiyu-prototype .reference-avatar{background-image:url('/assets/apricot-reference.png?v=20261020-ui-v23');background-size:2327.27% 1551.52%;background-position:39.5918% 16.0752%;border-radius:50%}
.qiyu-prototype .apricot-memory-photo{background-image:url('/assets/apricot-reference.png?v=20261020-ui-v23');background-size:397.93% 948.15%;background-position:50.2609% 79.8035%}
.apricot-bar{height:102px;min-height:102px;padding:42px 4px 0;display:flex;align-items:center;gap:16px}
.apricot-bar .grow{flex:1;min-width:0}.apricot-bar b{font-size:18px;font-weight:600;line-height:1.4;display:block}.apricot-bar small{display:block;margin-top:5px;font-size:15px;color:var(--ap-muted)}
.home-bar{height:122px;min-height:122px;padding-bottom:14px}.home-bar .avatar{width:64px;height:64px}
.apricot-intro{height:auto;padding:3px 0 20px;text-align:center}.apricot-intro h1{font-size:25px;line-height:1.35;font-weight:500;margin:0}.apricot-intro p{font-size:15px;line-height:1.4;color:var(--ap-muted);margin:0}
.apricot-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.apricot-tile{height:117px;padding:18px 13px 12px 21px;border:0;border-radius:23px;background:#ffffff;text-align:left;min-width:0}
.apricot-tile .tile-icon{display:grid;place-items:center;width:36px;height:36px;margin-bottom:6px;color:var(--ap-brand)}
.apricot-tile .qiyu-home-glyph{width:32px;height:32px;stroke-width:1.5;fill:none;stroke:currentColor}.qiyu-memory-light{fill:currentColor;stroke:none}
.apricot-tile b{display:block;font-size:17px;line-height:1.5;font-weight:600}.apricot-tile small{display:block;color:var(--ap-muted);font-size:13px;line-height:1.5;margin-top:1px;white-space:nowrap}
.night .apricot-tile{background:#2c2724;box-shadow:inset 0 0 0 1px #ffffff0a}
.apricot-lower{position:relative;margin:17px -23px -120px;padding:23px 23px 125px;border-radius:35px 35px 0 0;background:var(--ap-paper)}
.apricot-handle{position:absolute;top:-18px;left:calc(50% - 18px);height:36px;width:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#ffffff;color:#746e68;box-shadow:0 3px 9px #27252210}
.apricot-notice{width:100%;height:70px;display:flex;gap:13px;align-items:center;padding:10px 12px;text-align:left;border:0;border-radius:20px;background:var(--qy-bg-subtle)}
.apricot-notice .notice-icon{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:50%;color:#b74938;background:#f5e7e3}.apricot-notice b{display:block;font-size:14px;font-weight:600}.apricot-notice small{display:block;margin-top:5px;font-size:13px;color:var(--ap-muted)}
.night .apricot-notice{background:var(--qy-bg-subtle)}
.apricot-section{height:53px;display:flex;justify-content:space-between;align-items:center}.apricot-section h2{font-size:18px;margin:0;font-weight:600}.apricot-section button{background:transparent;border:0;min-height:44px;padding:0;color:var(--ap-muted);font-size:14px}
.apricot-memory-photo{display:block;width:100%;height:108px;border:0;border-radius:16px;overflow:hidden;padding:0;background:var(--qy-rose-soft)}
.apricot-history{padding:15px 0 12px;display:flex;gap:13px;font-size:13px;align-items:center;overflow-wrap:anywhere}.apricot-history::before{content:'';width:9px;height:9px;flex:none;border-radius:50%;background:var(--ap-brand)}.apricot-empty{font-size:13px;color:var(--ap-muted);margin:16px 0}
.apricot-profile-head{display:flex;align-items:center;gap:18px;padding:12px 0 22px}.apricot-profile-head .avatar{width:76px;height:76px}.apricot-profile-head h1{font-size:25px;margin:0;font-weight:600;line-height:1.2}
.apricot-setting{display:flex;align-items:center;gap:13px;width:100%;padding:17px 14px;text-align:left;border:1px solid var(--ap-line);border-radius:18px;background:var(--ap-card);margin-bottom:10px;min-height:56px}
.apricot-setting{font-size:16px;line-height:normal}.apricot-setting>span:first-child{color:var(--ap-brand)}.apricot-setting>span:last-child{flex:1;color:var(--ap-ink)}.apricot-setting b{display:block;font-size:14px;line-height:normal}.apricot-setting small{display:block;font-size:12px;margin-top:5px;line-height:1.5;color:var(--ap-muted)}
/* Background spans all 402px. Only content uses the approved 12px safe gutter. */
.qiyu-prototype .bottom-nav.apricot-nav{position:absolute;z-index:8;left:0;right:0;bottom:max(28px,env(safe-area-inset-bottom,0px));height:82px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:3px 12px 5px;background:var(--ap-paper);border:0;border-radius:0;box-shadow:none;transform:none}
.apricot-nav::after{content:'';position:absolute;left:0;right:0;top:100%;height:max(28px,env(safe-area-inset-bottom,0px));background:var(--ap-paper);pointer-events:none}
.qiyu-prototype .apricot-nav .nav-item{width:100%;height:74px;min-width:0;padding:0;display:grid;grid-template-rows:43px 18px;align-content:center;justify-items:center;gap:5px;background:transparent;border:0;color:#746e68;font-weight:400;border-radius:20px}
.qiyu-prototype .apricot-nav .nav-icon-shell{display:grid;place-items:center;width:64px;height:40px;margin:auto;border-radius:23px;background:transparent;box-shadow:none}
.qiyu-prototype .apricot-nav .qiyu-nav-glyph{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.8}.qiyu-prototype .apricot-nav [data-action="back-chat"] .qiyu-nav-glyph{width:31px;height:31px;stroke-width:1.72}.qiyu-prototype .apricot-nav [data-action="open-assets"] .qiyu-nav-glyph{width:31.5px;height:31.5px;stroke-width:1.6}.qiyu-prototype .apricot-nav [data-action="open-profile"] .qiyu-nav-glyph{width:29.5px;height:29.5px}
.qiyu-prototype .apricot-nav .nav-item>span:last-child{display:block;font-size:11px;line-height:18px;font-weight:400;color:inherit}
.qiyu-prototype .apricot-nav .nav-item.on{color:#b74938}.qiyu-prototype .apricot-nav .nav-item.on .nav-icon-shell{background:#f5e7e3}
.qiyu-prototype.night .apricot-nav .nav-item{color:#c6bbb3}.qiyu-prototype.night .apricot-nav .nav-item.on{color:#f2b5a9}.qiyu-prototype.night .apricot-nav .nav-item.on .nav-icon-shell{background:#694139}
.qiyu-prototype.apricot-chat{padding:0;height:100%;min-height:0;background:var(--ap-wash)}
.qiyu-prototype.apricot-chat .app-header{height:122px;min-height:122px;padding:42px 23px 14px;gap:12px;border:0;background:transparent;flex:none}
.apricot-chat .identity{flex:1;min-width:0;gap:12px}.apricot-chat .identity .avatar-picker-trigger{flex:none}.apricot-chat .identity>div{flex:1;min-width:0}.apricot-chat .identity .avatar{width:58px;height:58px}.apricot-chat .identity b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;color:var(--ap-ink)}.apricot-chat .identity small{font-size:13px;color:var(--ap-muted)}.apricot-chat .header-actions{display:flex;flex:none;gap:8px}.apricot-chat [data-action="open-chat-menu"]{width:44px;height:44px;flex:0 0 44px;border-radius:50%}
.qiyu-prototype.apricot-chat .identity b{font:600 18px/1.4 var(--qy-font-sans)}
.qiyu-prototype.apricot-chat .chat-scroll{flex:1;min-height:0;border-radius:35px 35px 0 0;background:var(--ap-paper);padding:31px 19px calc(220px + var(--qy-composer-extra,0px));scrollbar-width:none}
.apricot-chat .date-rule{display:block;text-align:center;font-size:14px;color:var(--ap-muted);margin:1px 0 23px;line-height:20px}.apricot-chat .date-rule::before,.apricot-chat .date-rule::after{display:none}
.qiyu-prototype .message{background:transparent;border:0;margin:0 0 16px;padding:0;width:auto;max-width:100%;display:flex}.qiyu-prototype .message.me{justify-content:flex-end}
.qiyu-prototype .ai .bubble,.qiyu-prototype.night .ai .bubble{position:relative;display:block;max-width:96%;background:#f0eeea;color:#272522;border:0;border-radius:23px 23px 23px 5px;padding:15px 18px;font:16px/1.7 var(--qy-font-sans);overflow-wrap:anywhere;overflow:visible;box-shadow:none}
.qiyu-prototype.night .ai .bubble{background:#332d29;color:#f6f2ed}
.qiyu-prototype .me .bubble{max-width:92%;background:#f5e7e3;color:#272522;border:0;border-radius:25px 25px 5px 25px;padding:15px 20px;font:16px/1.65 var(--qy-font-sans)}.qiyu-prototype.night .me .bubble{background:#643b33;color:#f6f2ed}
.qiyu-prototype .ai .bubble:has(.voice-control-row){padding-right:18px;padding-bottom:15px}
.qiyu-prototype .message-copy{display:inline;white-space:pre-wrap}.qiyu-prototype .message-copy .action{font-style:italic;opacity:.75}
.qiyu-prototype .voice-control-row{position:static;display:inline;width:auto;min-height:0;margin:0;padding:0;background:none;border:0;vertical-align:baseline}.qiyu-prototype .voice-control-row::before{display:none}
.qiyu-prototype .voice-trigger{position:relative;display:inline-grid;width:16px;min-width:16px;height:24px;min-height:24px;margin:0 9px 0 0;padding:0;vertical-align:-4px;border:0;border-radius:4px;background:transparent;color:#b74938;line-height:0;box-shadow:none}
.qiyu-prototype .voice-trigger::before{content:'';position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%,-50%)}
.qiyu-prototype .voice-trigger-visual{width:16px;height:16px;display:grid;place-items:center;background:currentColor;border-radius:0;mask:url('/assets/player-play-filled.svg') center/contain no-repeat}.qiyu-prototype .voice-trigger-visual img{opacity:0;width:16px;height:16px}.qiyu-prototype .voice-trigger[data-playing="true"] .voice-trigger-visual{mask-image:url('/assets/player-pause-filled.svg')}
.qiyu-prototype.night .voice-trigger{color:#eea497}
.voice-duration{display:inline-block;font-size:12px;color:var(--ap-muted);margin-left:8px;white-space:nowrap}
.qiyu-prototype .memory-refs-trigger,.qiyu-prototype .praise-btn{display:none}.message-tools{position:absolute;inset:0;pointer-events:none}.message-tools>*{pointer-events:auto}
.qiyu-prototype.apricot-chat .bottom-dock{position:absolute;z-index:7;left:0;right:0;bottom:0;padding:0;height:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}
.qiyu-prototype.apricot-chat .composer-wrap{position:absolute;left:12px;right:12px;bottom:calc(96px + max(28px,env(safe-area-inset-bottom,0px)));padding:9px 10px;display:block;border:0;border-radius:40px;background:#ffffff;box-shadow:0 6px 24px #2725220d}
.qiyu-prototype.apricot-chat .composer{display:flex;gap:9px;align-items:center;min-height:54px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.qiyu-prototype.apricot-chat .composer textarea{height:54px;min-height:44px;max-height:112px;flex:1;min-width:0;border:0;border-radius:28px;background:#f2f0ec;padding:16px 40px 14px 14px;font:14px/24px var(--qy-font-sans);color:var(--ap-ink);resize:none}
.apricot-chat .composer .icon-btn{height:48px;width:48px;min-width:48px;background:#f2f0ec}.apricot-chat .composer .send{width:54px;height:54px;min-width:54px;background:var(--ap-gradient);color:#fff}.apricot-chat .composer .send svg{fill:#fff}
.apricot-chat .composer .context-image-picker{order:-1;margin:0}.apricot-chat .composer [data-action="enter-voice-mode"]{position:absolute;right:74px;min-width:36px;width:36px;height:44px;background:transparent}
.apricot-chat.night .composer-wrap{background:#2c2724f7;box-shadow:0 8px 28px #0008}.apricot-chat.night .composer textarea{background:#37302c;color:#f6f2ed}.apricot-chat.night .composer .icon-btn{background:#44332e}.apricot-chat.night .composer [data-action="enter-voice-mode"]{background:transparent}.apricot-chat.night .composer .send{background:var(--ap-gradient)}
.apricot-chat .memory-banner{background:var(--ap-card);border:1px solid var(--ap-line);color:var(--ap-ink);border-radius:20px}.apricot-chat .memory-banner small{color:var(--ap-muted)}
.apricot-filter{display:flex;gap:7px;margin:12px 0 20px;flex-wrap:wrap}.apricot-filter .btn{min-height:44px;min-width:0;padding:0 17px;border-radius:24px;font-size:15px;font-weight:400}.apricot-filter .btn-line{background:var(--ap-card);border-color:var(--ap-line)}
.apricot-screen .stack{margin:0;gap:10px}.apricot-screen details{margin-top:18px}.apricot-screen details summary{min-height:44px;cursor:pointer;color:var(--ap-muted)}
.sheet-layer{background:#342d2966;backdrop-filter:blur(5px)}.sheet-layer .sheet,.sheet-layer>section{background:var(--ap-paper);color:var(--ap-ink);border-radius:30px 30px 0 0;max-height:88%;overflow:auto}
/* Root overlays are siblings of the screen, not descendants of .qiyu-prototype. */
.app > .sheet-layer{position:absolute;z-index:60;inset:0;display:flex;align-items:flex-end;overflow:hidden;isolation:isolate;overscroll-behavior:contain}
.app > .sheet-layer > .sheet{width:100%;min-width:0;max-height:88%;padding:20px 22px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;box-shadow:0 -12px 40px #342d2929}
.app > .sheet-layer .sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.app > .sheet-layer .close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;color:var(--ap-ink);background:var(--qy-rose-soft)}
.apricot-chat-menu{display:flex;flex-direction:column;gap:16px;padding:20px 22px calc(24px + env(safe-area-inset-bottom));width:100%;min-height:0;overflow:hidden!important}
.apricot-chat-menu header{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;margin:0}
.apricot-chat-menu h2{font-family:var(--qy-font-sans);font-size:21px;font-weight:600;line-height:1.4;margin:0;color:var(--ap-ink)}
.apricot-chat-menu .apricot-menu-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;color:var(--ap-ink);background:var(--qy-rose-soft)}
.apricot-chat-menu-items{display:flex;flex-direction:column;gap:10px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;padding:3px 3px 4px;margin:-3px -3px -4px}
.apricot-chat-menu-items .apricot-setting{display:flex;align-items:center;flex:none;width:100%;min-height:54px;margin:0;padding:13px 16px;border:1px solid var(--ap-line);border-radius:18px;background:var(--ap-card);color:var(--ap-ink);font-size:15px;font-weight:400;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
.apricot-chat-menu .apricot-menu-close:active,.apricot-chat-menu-items .apricot-setting:active{background:var(--qy-rose-soft)}
.qiyu-prototype.call-screen{padding:30px 25px;background:#292321;color:#fff;text-align:center}.call-screen .call-top,.call-screen h2,.call-screen .wordmark{color:white}.call-screen .call-avatar{width:155px;height:155px}.qiyu-prototype.call-screen .call-controls{gap:24px;justify-content:center}.qiyu-prototype.call-screen .call-key{width:76px;height:76px;min-width:76px;min-height:76px;padding:0;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;border-radius:50%;background:#ffffff20;border:0;color:white}.call-screen .call-key-icon{background:transparent;width:auto;height:auto;box-shadow:none}.qiyu-prototype.call-screen .call-key.hangup{background:#b64242}.call-screen .call-key-label{font-size:14px}
.qiyu-prototype.call-screen .call-key-icon,.qiyu-prototype.call-screen .call-key.mute.muted .call-key-icon,.qiyu-prototype.call-screen .call-key.hangup .call-key-icon{width:26px;height:26px;background:transparent;box-shadow:none}.qiyu-prototype.call-screen .call-key.mute.muted{background:#ffffff38}.qiyu-prototype.call-screen h2,.qiyu-prototype.call-screen .wordmark{color:#fff}
.qiyu-prototype .bottom-nav.apricot-nav{align-items:center}.qiyu-prototype.apricot-chat .composer-wrap{padding-top:10px;padding-bottom:10px}.qiyu-prototype .me .bubble{box-shadow:none}
.qiyu-prototype.call-screen{height:100%;min-height:0;font-size:16px;line-height:normal}.qiyu-prototype.call-screen .call-top{font-size:16px;letter-spacing:0;color:white}.qiyu-prototype.call-screen .call-top .wordmark{font:400 16px var(--qy-font-sans);color:white}.qiyu-prototype.call-screen .call-stage{justify-content:flex-start;gap:0}.qiyu-prototype.call-screen .call-avatar{width:155px;height:155px;margin:75px auto 25px;box-shadow:0 0 0 15px #ffffff0c,0 0 0 30px #ffffff08;border-radius:50%}.qiyu-prototype.call-screen .call-avatar .avatar{width:100%;height:100%;border:0;box-shadow:none}.qiyu-prototype.call-screen h2{font:700 32px/1.2 var(--qy-font-sans);margin:21px 0}.qiyu-prototype.call-screen .call-status{font-size:16px;color:white;margin:16px 0}.qiyu-prototype.call-screen .call-quota{color:#c6bbb3}.qiyu-prototype.call-screen .call-controls{padding:0;margin-top:auto;gap:24px}.qiyu-prototype.call-screen .call-key{line-height:1.1;box-shadow:inset 0 0 0 1px #ffffff18}.qiyu-prototype.call-screen .call-key.hangup{background:#c94e50}
.qiyu-prototype.call-screen h2{font:700 32px var(--qy-font-sans);line-height:normal;margin:0 0 21.44px}.qiyu-prototype.call-screen .call-status{line-height:1.65;margin:0 0 16px}.qiyu-prototype.call-screen .call-quota{font-size:12px;margin:0;line-height:normal}.qiyu-prototype.call-screen .call-controls{margin-bottom:2px}
.qiyu-prototype .apricot-filter .btn{width:auto;flex:0 0 auto;white-space:nowrap}.qiyu-prototype.night .voice-trigger .voice-trigger-visual{background:currentColor}.qiyu-prototype.apricot-chat .composer .send{box-shadow:none}
.qiyu-prototype .voice-trigger .voice-trigger-visual,.qiyu-prototype .voice-trigger:hover .voice-trigger-visual,.qiyu-prototype .voice-trigger[data-playing="true"] .voice-trigger-visual{background:currentColor;border:0;box-shadow:none}.qiyu-prototype.apricot-chat .composer .icon-btn{color:var(--ap-ink)}.qiyu-prototype.apricot-chat .composer .send{color:white}.qiyu-prototype.apricot-chat .composer .send svg{stroke:white}
.qiyu-prototype .voice-trigger-visual{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%221%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%226%203%2020%2012%206%2021%206%203%22%3E%3C%2Fpolygon%3E%3C%2Fsvg%3E")}.qiyu-prototype .voice-trigger[data-playing="true"] .voice-trigger-visual{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%20stroke%3D%22none%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%2214%22%20y%3D%224%22%20width%3D%224%22%20height%3D%2216%22%20rx%3D%221%22%3E%3C%2Frect%3E%3Crect%20x%3D%226%22%20y%3D%224%22%20width%3D%224%22%20height%3D%2216%22%20rx%3D%221%22%3E%3C%2Frect%3E%3C%2Fsvg%3E")}.qiyu-prototype .apricot-filter .btn{font-size:16px}
.qiyu-prototype .content,.qiyu-prototype .page-content{padding-left:23px;padding-right:23px}.qiyu-prototype .page-title{font-size:25px}.qiyu-prototype .fact{background:var(--ap-card);border-color:var(--ap-line)}
body.qy-keyboard-open{min-height:var(--qy-app-height,100dvh)}body.qy-keyboard-open .device-shell{height:var(--qy-app-height,100dvh);min-height:0;margin:0 auto}body.qy-keyboard-open .app{height:100%;min-height:0}body.qy-keyboard-open .qiyu-prototype.apricot-chat{height:100%;min-height:0}body.qy-keyboard-open .qiyu-prototype.apricot-chat .bottom-dock{left:0;right:0;bottom:0;padding:0}body.qy-keyboard-open .qiyu-prototype.apricot-chat .composer-wrap{bottom:6px}body.qy-keyboard-open .qiyu-prototype .bottom-nav.apricot-nav{display:none}body.qy-keyboard-open .apricot-chat .chat-scroll{padding-bottom:calc(100px + var(--qy-composer-extra,0px))}body.qy-keyboard-open .device-shell::after{display:none}
@media(min-width:761px) and (min-height:600px){body{display:grid;min-height:906px;place-items:center}.device-shell{height:874px;min-height:874px;margin:16px auto;border-radius:42px;box-shadow:0 16px 35px #27252218}.qiyu-prototype .bottom-nav.apricot-nav{bottom:28px}.apricot-nav::after{height:28px}.qiyu-prototype.apricot-chat .composer-wrap{bottom:124px}.device-shell::after{content:'';position:absolute;z-index:12;bottom:10px;left:calc(50% - 75px);width:150px;height:5px;border-radius:4px;background:#746e68;pointer-events:none}}
@media(max-width:360px){.apricot-tile{padding-left:14px}.apricot-tile b{font-size:16px}.apricot-tile small{font-size:12px}.apricot-chat .app-header{gap:6px}.apricot-chat .identity .avatar{width:44px;height:44px}.apricot-intro h1{font-size:23px}.qiyu-prototype .apricot-nav .nav-icon-shell{width:56px}}
@media(max-height:600px) and (orientation:landscape){.qiyu-prototype.apricot-chat .app-header{height:90px;min-height:90px;padding:16px 23px}.qiyu-prototype.apricot-chat .chat-scroll{padding-top:16px;padding-bottom:calc(200px + var(--qy-composer-extra,0px))}.qiyu-prototype.apricot-chat .composer textarea{max-height:78px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Secondary settings pages share the approved profile/version hierarchy. */
.qiyu-prototype.apricot-settings{display:flex;flex-direction:column;gap:10px;padding:24px 23px max(24px,env(safe-area-inset-bottom));overflow:hidden;font-size:14px;line-height:1.6}
.apricot-settings>h1{flex:none;margin:0;font-size:25px;font-weight:500;line-height:1.35;letter-spacing:0}
.apricot-settings h2{margin:0;font-size:18px;font-weight:500;line-height:1.4;letter-spacing:0}
.apricot-settings .settings-content{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 2px 16px;scroll-padding-block:12px}
.apricot-settings .settings-content>*{flex:none;min-width:0}
.apricot-settings .settings-panel,.apricot-settings .card,.apricot-settings .asset,.apricot-settings .empty-state{display:grid;gap:12px;margin:0;padding:16px;border:1px solid var(--ap-line);border-radius:20px;background:var(--ap-card);color:var(--ap-ink);box-shadow:none;overflow-wrap:anywhere}
.apricot-settings .stack,.apricot-settings .settings-group{display:grid;gap:12px;margin:0;min-width:0}
/* Beat the legacy onboarding form selector, including its flex:1/min-height:0. */
.qiyu-prototype.apricot-settings .settings-content form{display:grid;flex:0 0 auto;min-height:auto;height:auto;align-content:start}
.apricot-settings p,.apricot-settings .page-sub{margin:0;font-size:14px;line-height:1.6}
.apricot-settings .muted,.apricot-settings .page-sub{color:var(--ap-muted)}
.apricot-settings b{font-size:15px;font-weight:700;line-height:1.5}
.apricot-settings small{display:block;color:var(--ap-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.apricot-settings .asset>div:first-child,.apricot-settings .plan-card header{display:grid;gap:4px;min-width:0;margin:0}
.apricot-settings .field{display:grid;gap:6px;margin:0;min-width:0}
.apricot-settings .field>span{color:var(--ap-muted);font-size:14px;font-weight:400;line-height:1.5}
.apricot-settings .field :is(input,select,textarea){width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--ap-line);border-radius:15px;background:var(--ap-card);color:var(--ap-ink);font-size:15px;line-height:1.5}
.apricot-settings .field textarea{min-height:96px;resize:vertical}
.apricot-settings :is(input,select,textarea):focus{border-color:var(--ap-brand);outline:2px solid var(--ap-brand);outline-offset:-2px}
.apricot-settings .button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.apricot-settings .button-row>:only-child{grid-column:1/-1}
.apricot-settings .btn{width:100%;min-width:0;min-height:48px;margin:0;padding:12px;border-radius:18px;font-size:14px;font-weight:600;line-height:1.5;white-space:normal;box-shadow:none}
.apricot-settings button:focus-visible{outline:2px solid var(--ap-brand);outline-offset:-2px}
.apricot-settings .btn-line{border-color:var(--ap-line);background:var(--ap-card);color:var(--ap-ink)}
.apricot-settings .btn-danger{background:var(--qy-danger);color:#fff}
.apricot-settings .check-row,.apricot-settings .plan-reminder-optin{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:4px 0;margin:0;font-size:14px;line-height:1.6;color:var(--ap-ink)}
.apricot-settings .check-row{padding:10px 12px;border:1px solid var(--ap-line);border-radius:14px;background:var(--ap-card)}
.apricot-settings .check-row span{flex:1;min-width:0;color:var(--ap-ink);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.apricot-settings .check-row input,.apricot-settings .plan-reminder-optin input{flex:none;width:20px;height:20px;min-height:20px;margin:2px 0 0;padding:0;accent-color:var(--ap-brand)}
.apricot-settings .settings-section-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.apricot-settings .settings-rights{grid-template-columns:minmax(0,1fr) 24px}
.apricot-settings .settings-rights h2{grid-area:1/1}
.apricot-settings .settings-rights p{grid-column:1/-1;color:var(--ap-muted)}
.apricot-settings .settings-symbol{grid-area:1/2;color:var(--ap-brand);line-height:0}
.apricot-settings .list{border:0;border-radius:0;background:transparent;overflow:visible}
.apricot-settings .list-row{min-width:0;min-height:68px;padding:12px 0;gap:12px;border-color:var(--ap-line);background:transparent;color:var(--ap-ink)}
.apricot-settings .list-ico{display:grid;place-items:center;flex:none;width:32px;height:32px;color:var(--ap-brand);background:transparent}
.apricot-settings .list-copy{min-width:0;overflow-wrap:anywhere}
.apricot-settings .list-copy b{font-size:15px;font-weight:700}
.apricot-settings .list-copy small{margin-top:4px;font-size:12px;line-height:1.5;color:var(--ap-muted)}
.apricot-settings .settings-danger,.apricot-settings .settings-danger .list-ico{color:var(--qy-danger)}
.apricot-settings .segment{gap:6px;padding:4px;border:1px solid var(--ap-line);border-radius:16px;background:var(--qy-bg-subtle)}
.apricot-settings .segment button{min-width:0;min-height:44px;font-size:14px;line-height:1.5;color:var(--ap-muted)}
.apricot-settings .segment button.on{background:var(--ap-card);color:var(--ap-brand);box-shadow:none}
.apricot-settings .feedback-card form{display:grid;gap:12px}
.apricot-settings .feedback-card ul{padding-left:20px}
.apricot-settings .flow-actions{margin:0;padding:0}
.apricot-settings .plan-step-list{margin:0;gap:12px}
.apricot-settings .plan-step-row{align-items:center;flex-wrap:wrap;min-width:0;gap:8px}
.apricot-settings .step-title,.apricot-settings .step-title-input{flex:1;min-width:0;overflow-wrap:anywhere}
.apricot-settings .step-title-input{width:0;min-height:44px;padding:10px 12px;border:1px solid var(--ap-line);border-radius:15px;background:var(--ap-card);color:var(--ap-ink);font-size:15px}
.apricot-settings .plan-step-row small{color:var(--ap-muted);white-space:normal}
.apricot-settings .step-toggle{min-width:44px;min-height:44px;border-color:var(--ap-line);border-radius:14px;color:var(--ap-ink)}
.apricot-settings.settings-with-nav{padding-bottom:calc(110px + max(12px,env(safe-area-inset-bottom,0px)))}
.apricot-settings button:not(:disabled):active{filter:brightness(.96)}
@media(max-width:360px){.apricot-settings .button-row{grid-template-columns:minmax(0,1fr)}.apricot-settings .plan-step-row small{flex-basis:100%;margin-left:52px}}

/* Pending memory review lives above the timeline. The badge takes no layout space. */
.qiyu-prototype .apricot-nav .nav-icon-shell{position:relative}
.memory-count-badge{position:absolute;top:0;right:5px;min-width:19px;height:19px;padding:0 4px;border:1px solid #faf9f6;border-radius:12px;background:#b74938;color:#fff;font-size:11px;font-weight:700;line-height:17px;text-align:center;pointer-events:none}
.memory-review{margin:0 0 18px;border:1px solid #e8e5e0;border-radius:18px;background:#f5e7e3}
.memory-review-toggle{display:flex;width:100%;min-height:54px;align-items:center;gap:10px;padding:0 14px;border:0;border-radius:18px;background:transparent;color:#923b2d;text-align:left}
.memory-review-toggle span{margin-left:auto;font-size:13px}
.memory-review-toggle svg{width:18px;height:18px;flex:none}
.memory-review-toggle[aria-expanded=false] svg:last-child{transform:rotate(-90deg)}
.memory-review-item{padding:13px 14px;border-top:1px solid #e8e5e0;overflow-wrap:anywhere}
.memory-review-item small{color:#746e68;font-size:13px}
.memory-review-item p{margin:4px 0 10px}
.memory-review-actions{display:flex;flex-wrap:wrap;gap:6px}
.qiyu-prototype .memory-review-actions .btn{min-height:44px;padding:0 10px;font-size:13px}
.night .memory-review{background:#382b27;border-color:#694139}
.night .memory-review-item{border-color:#694139}
.night .memory-review-toggle,.night .memory-review-item small{color:#eab4a8}

/* Color-only bridges for controls inherited from the legacy base sheet. */
.qiyu-prototype .apricot-nav .nav-item.on .nav-icon-shell{color:var(--ap-brand)}
.qiyu-prototype .note,.qiyu-prototype .check-row span{color:var(--ap-muted)}
.qiyu-prototype .check-row input{border-color:var(--ap-muted);background:var(--ap-card)}
.qiyu-prototype .check-row input:checked{border-color:var(--ap-brand);background:var(--ap-gradient)}
.qiyu-prototype .btn:disabled{background:var(--qy-bg-subtle);color:var(--ap-muted)}
.qiyu-prototype .segment{background:var(--qy-bg-subtle)}
.qiyu-prototype .segment button.on{background:var(--ap-card);color:var(--ap-brand)}
.qiyu-prototype .rights{background:var(--qy-bg-subtle);color:var(--ap-muted)}
.qiyu-prototype.night .composer textarea::placeholder{color:var(--ap-muted)}
html[data-qy-theme="night"] body{background:var(--ap-paper)}

/* 402 x 874 review canvas; dimensions supplied by the user, safe areas adapt on device. */
:root{--qy-screen-height:874px;--qy-safe-top:env(safe-area-inset-top,0px);--qy-nav-bottom:max(21px,calc(env(safe-area-inset-bottom,0px) - 13px));--qy-nav-reserve:calc(74px + var(--qy-nav-bottom));--qy-title-height:54px;--qy-row-height:52px}
.qiyu-prototype .bottom-nav.apricot-nav{left:16px;right:16px;bottom:var(--qy-nav-bottom);height:62px;padding:4px 8px;border:1px solid var(--ap-line);border-radius:34px;background:color-mix(in srgb,var(--ap-card) 92%,transparent);box-shadow:0 8px 28px #27252218;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.apricot-nav::after{display:none}
.qiyu-prototype .apricot-nav .nav-item{height:52px;grid-template-rows:28px 16px;gap:2px;border-radius:26px}
.qiyu-prototype .apricot-nav .nav-icon-shell{height:28px;width:56px}
.qiyu-prototype .apricot-nav .nav-item.on{background:var(--qy-rose-soft)}
.qiyu-prototype .apricot-nav .nav-item.on .nav-icon-shell{background:transparent}
.qiyu-prototype .apricot-nav .nav-item>span:last-child{line-height:16px;font-size:10px}
.apricot-scroll{padding-bottom:calc(var(--qy-nav-reserve) + 16px)}
.apricot-bar,.home-bar{height:calc(var(--qy-safe-top) + 74px);min-height:calc(var(--qy-safe-top) + 74px);padding-top:calc(var(--qy-safe-top) + 10px);padding-bottom:10px}
.editor-header{min-height:54px}
.profile-editor,.persona-versions,.qiyu-prototype.apricot-settings{padding-top:calc(var(--qy-safe-top) + 12px)}
.qiyu-prototype .btn-primary,.apricot-settings .btn,.editor-save{min-height:50px;border-radius:25px}
.apricot-setting,.qiyu-prototype .list-row{min-height:52px}
.qiyu-prototype.apricot-chat .app-header{height:calc(var(--qy-safe-top) + 74px);min-height:calc(var(--qy-safe-top) + 74px);padding-top:calc(var(--qy-safe-top) + 10px);padding-bottom:10px;background:color-mix(in srgb,var(--ap-paper) 90%,transparent)}
.qiyu-prototype.apricot-chat .composer-wrap{bottom:calc(var(--qy-nav-reserve) + 8px)}
.qiyu-prototype.apricot-chat .chat-scroll{background:transparent;border-radius:0;padding-bottom:calc(var(--qy-nav-reserve) + 110px + var(--qy-composer-extra,0px))}
.qiyu-prototype.apricot-chat,.qiyu-prototype.call-screen{position:relative;isolation:isolate}
.companion-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;z-index:-2;pointer-events:none}
.qiyu-prototype.apricot-chat::before,.qiyu-prototype.call-screen::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#faf9f633,#faf9f64d 45%,#faf9f699)}
.qiyu-prototype.apricot-chat.night::before,.qiyu-prototype.call-screen::before{background:linear-gradient(180deg,#211e1c55,#211e1c33 40%,#211e1ccc)}
.qiyu-prototype.apricot-chat .ai .bubble{background:var(--ap-card);color:var(--ap-ink)}
.qiyu-prototype.apricot-chat .date-rule{color:var(--ap-ink);background:var(--ap-paper);border-radius:20px;width:max-content;padding:3px 12px;margin-left:auto;margin-right:auto}
.qiyu-prototype.call-screen{padding-top:calc(var(--qy-safe-top) + 20px);padding-bottom:max(34px,env(safe-area-inset-bottom,0px));background:#292321}
.qiyu-prototype.call-screen .call-avatar{box-shadow:none}
@media(min-width:761px) and (min-height:600px){:root{--qy-safe-top:62px}.device-shell{height:874px;min-height:874px;width:402px}.qiyu-prototype .bottom-nav.apricot-nav{bottom:21px}.qiyu-prototype.apricot-chat .composer-wrap{bottom:103px}}
@media(max-height:600px) and (orientation:landscape){:root{--qy-safe-top:0px}.qiyu-prototype.apricot-chat .app-header{height:54px;min-height:54px;padding-top:5px;padding-bottom:5px}.qiyu-prototype.call-screen .call-avatar{width:80px;height:80px;margin:12px auto}}
@media(prefers-reduced-transparency:reduce){.qiyu-prototype .bottom-nav.apricot-nav{background:var(--ap-card);backdrop-filter:none}}

/* Single selection surface in both themes; retain the original portrait colors. */
.qiyu-prototype.night .apricot-nav .nav-item.on .nav-icon-shell{background:transparent;box-shadow:none}
.qiyu-prototype.apricot-chat::before,.qiyu-prototype.call-screen::before{background:none}
.companion-backdrop{filter:none;opacity:1}
.qiyu-prototype.apricot-chat .composer-wrap{padding:5px 6px;border-radius:30px}
.qiyu-prototype.apricot-chat .composer{min-height:44px;gap:6px}
.qiyu-prototype.apricot-chat .composer textarea{height:44px;min-height:44px;max-height:100px;padding:11px 38px 11px 12px;font-size:15px;line-height:22px;border-radius:22px}
.qiyu-prototype.apricot-chat .composer .icon-btn,.qiyu-prototype.apricot-chat .composer .send{width:44px;height:44px;min-width:44px;min-height:44px}
.qiyu-prototype.apricot-chat .composer .send svg{width:22px;height:22px}
.qiyu-prototype.apricot-chat .composer [data-action="enter-voice-mode"]{right:56px;width:36px;min-width:36px}
.qiyu-prototype.apricot-chat .ai .bubble,.qiyu-prototype.apricot-chat .me .bubble{max-width:86%;padding:10px 14px;font-size:15px;line-height:1.5;border-radius:18px}
.qiyu-prototype.apricot-chat .empty-state{width:fit-content;max-width:86%;padding:10px 14px;margin:0 auto;font-size:14px;line-height:1.5;border-radius:18px}
.qiyu-prototype.call-screen .call-status,.qiyu-prototype.call-screen h2,.qiyu-prototype.call-screen .call-top,.qiyu-prototype.call-screen .call-quota{text-shadow:0 1px 4px #000,0 0 12px #000}
.qiyu-prototype.apricot-chat.night::before{background:none}

/* Profile entries use one title line after removal of secondary copy. */
.profile-scroll .apricot-setting{min-height:52px;padding:12px 14px;margin-bottom:10px;border-radius:18px}
.profile-scroll .apricot-setting b{font-size:15px;line-height:24px}
.profile-scroll .apricot-setting>span:first-child{display:grid;place-items:center;flex:none;width:24px;height:24px}

/* Quiet type hierarchy: regular reading, medium navigation, selective emphasis. */
:root{--qy-weight-body:400;--qy-weight-title:500;--qy-weight-emphasis:600}
.screen{font-weight:var(--qy-weight-body)}
.screen h1,.screen h2,.screen h3,.qiyu-prototype h1,.qiyu-prototype h2,.qiyu-prototype h3{font-weight:var(--qy-weight-title)}
.apricot-bar b,.apricot-tile b,.apricot-section h2,.apricot-profile-head h1,.qiyu-prototype.apricot-chat .identity b,.apricot-chat-menu h2,.qiyu-prototype.call-screen h2{font-weight:var(--qy-weight-title)}
.apricot-setting b,.apricot-notice b,.apricot-settings b,.apricot-settings .list-copy b,.qiyu-prototype .list-copy b,.qiyu-prototype .fact strong,.persona-version-card b,.asset b{font-weight:var(--qy-weight-body)}
.screen .btn,.apricot-settings .btn,.editor-steps button{font-weight:var(--qy-weight-body)}
.screen .btn-primary,.apricot-settings .btn-primary,.editor-save{font-weight:var(--qy-weight-title)}
.screen strong,.screen .rights b,.screen .error b,.memory-count-badge{font-weight:var(--qy-weight-emphasis)}

/* Compact module entries after removal of redundant descriptions. */
.apricot-tile{height:96px;padding-top:14px;padding-bottom:14px}
.apricot-notice{height:60px}
.apricot-settings .list-row{min-height:52px}

/* Keep the same full-screen portrait visible behind the chat header. */
.qiyu-prototype.apricot-chat .app-header{background:transparent}
.qiyu-prototype.apricot-chat .identity b{color:#fff;text-shadow:0 1px 3px #000,0 0 8px #0009}
.qiyu-prototype.apricot-chat .header-actions .icon-btn{color:#fff;background:#211e1c66;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}



/* Playback stays visually quiet: only the play/pause icon changes. */
.qiyu-prototype .voice-trigger .voice-trigger-visual{animation:none;transition:none;transform:none}
.qiyu-prototype .voice-trigger[data-synthesizing="true"] .voice-trigger-visual,.qiyu-prototype .voice-trigger:active .voice-trigger-visual{animation:none;transform:none}
