/* mobile-workspace.css */
/* Shared mobile workspace: readable records, clear navigation, restrained Bai Ling color. */
[hidden]{display:none!important}
:root{--bg:#f7f9f8;--panel:#fff;--line:#ccd9d5;--txt:#1a302e;--dim:#526963;--blue:#176a60;--input:#fff;--bubble-user:#e8f2ee;--bubble-ai:#fff;--toast:#fff;--on-accent:#fff}
:root[data-theme=light]{--bg:#f7f9f8;--panel:#fff;--line:#ccd9d5;--txt:#1a302e;--dim:#526963;--blue:#176a60;--input:#fff;--bubble-user:#e8f2ee;--bubble-ai:#fff;--toast:#fff;--on-accent:#fff}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--bg:#0b1820;--panel:#10242d;--line:#36505c;--txt:#e0eeee;--dim:#adc3c7;--blue:#9de4d4;--input:#112831;--bubble-user:#153c3d;--bubble-ai:#10242d;--toast:#18303b;--on-accent:#0c2b26}}
:root[data-theme=dark]{--bg:#0b1820;--panel:#10242d;--line:#36505c;--txt:#e0eeee;--dim:#adc3c7;--blue:#9de4d4;--input:#112831;--bubble-user:#153c3d;--bubble-ai:#10242d;--toast:#18303b;--on-accent:#0c2b26}
body{font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6;padding:18px 16px calc(20px + env(safe-area-inset-bottom));max-width:850px;margin:auto}
body>h1{font-size:18px;letter-spacing:.02em;margin:4px 0 16px;font-weight:650;text-align:left}body>h1 img{border-radius:10px}
.card{border-radius:9px;padding:16px;margin-top:10px}.mobile-nav{gap:8px;padding:8px 0 12px}.mobile-nav button{font-size:14px;border-color:transparent;background:transparent;border-radius:6px}.mobile-nav button[aria-pressed=true]{font-weight:600;background:var(--bubble-user);border-color:var(--line)}
.mobile-connection-actions{gap:12px;align-items:start;margin-bottom:10px}.mobile-connection-actions>span{padding-top:9px;max-width:46%;line-height:1.5}.mobile-connection-actions>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mobile-connection-actions button{margin:0;padding:8px;font-size:12px;min-height:40px}
#mobile-search-open{background:var(--panel);border-color:var(--line);padding:10px 14px;font-size:14px;margin-bottom:12px}#mobile-daily>.card{border:0;padding:4px 0 16px;background:transparent}#daily-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 12px}#daily-tabs button{padding:8px 4px;font-size:13px;min-width:0}#daily-tabs button[aria-pressed=true]{font-weight:600}#daily-refresh{margin:0}#daily-status:empty{min-height:0;margin:0}#daily-content>section{padding:16px 0;border-bottom:1px solid var(--line)}#daily-content>section>h2{margin:0 0 14px;font-size:20px}#daily-content .daily-row{padding:16px 0}#daily-content .daily-row h3{font-size:16px}#mobile-notes-workspace{padding-top:20px}#mobile-notes-workspace .notes-actions>button:first-child{color:var(--on-accent)}#mobile-notes-workspace .notes-list{max-height:200px}#mobile-notes-workspace .notes-field input:not([type=checkbox]),#mobile-notes-workspace .notes-field textarea{font-size:16px}#mobile-notes-workspace .notes-layout{gap:20px}#mobile-notes-workspace .notes-history{background:transparent}.mobile-session-controls select{background:var(--panel)}.workspace-search{font-family:inherit}
@media(max-width:350px){body{padding-left:12px;padding-right:12px}body>h1{font-size:16px}#daily-tabs button{font-size:12px}.mobile-connection-actions>span{font-size:11px}.notes-heading button{padding:8px 10px}}
.mobile-session-controls:not(.mobile-session-pager){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.mobile-session-controls:not(.mobile-session-pager)>label{grid-column:1/-1}
.mobile-session-controls:not(.mobile-session-pager)>select,.mobile-session-controls:not(.mobile-session-pager)>input{width:100%;background:var(--panel);font-size:16px}
.mobile-session-controls.mobile-session-pager{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}
.mobile-session-pager>span{text-align:center;font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums}
.mobile-session-pager>button{padding-inline:8px;margin:0;font-size:12px;white-space:nowrap}
#chat-history{max-height:clamp(180px,35dvh,360px);overflow:auto;overscroll-behavior:contain;scrollbar-color:var(--line) var(--panel);scrollbar-width:thin}
#chat-history:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
#chat:empty{min-height:0;margin-top:12px}
/* V14: one mobile workspace, reachable task results and a persistent composer. */
body{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
body>h1{margin-bottom:12px}
.mobile-nav{position:fixed;inset:auto 0 0;z-index:30;background:var(--panel);border-top:1px solid var(--line);padding:8px max(12px,calc((100vw - 850px)/2)) calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.mobile-nav button{min-height:46px;margin:0;font-size:13px;padding:8px 3px}
.mobile-nav button[aria-pressed=true]{border-color:transparent;color:var(--blue);background:var(--bubble-user)}
.mobile-connection-actions{padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:16px;font-size:12px;align-items:center}
.mobile-connection-actions>span{padding:0}
.mobile-connection-actions>div{gap:2px}
.mobile-connection-actions button{min-height:34px;padding:6px;font-size:11px}
.mobile-connection-actions a{font-size:11px}
.mobile-assistant.card{padding:0;border:0;background:transparent;border-radius:0;margin:0}
.mobile-chat-title{margin-bottom:16px}
.mobile-chat-title h2{font-size:21px;margin:0 0 3px;font-weight:650;line-height:1.4}
.mobile-chat-title>span{font-size:12px}
#mobile-conversation-tools{border-block:1px solid var(--line);padding:8px 0;margin-bottom:12px;max-height:50dvh;overflow:auto}
#mobile-conversation-tools>summary{color:var(--blue);font-size:13px;min-height:32px;line-height:32px;cursor:pointer}
.mobile-starters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.mobile-starters button{font-size:12px;background:transparent;border-color:var(--line);padding:7px 10px;margin:0;min-height:36px}
#chat-history{max-height:clamp(180px,38dvh,380px);border:0}
#chat-history details{padding:12px 0}
#chat-history summary{font-size:14px;line-height:1.6;min-height:32px}
#chat-history p{font-size:14px;line-height:1.8}
#chat-history-more{font-size:12px;margin:10px 0;min-height:34px}
.mobile-composer{position:sticky;bottom:calc(75px + env(safe-area-inset-bottom));z-index:20;padding:12px 0 6px;background:var(--bg);margin-top:12px}
.mobile-compose-row{display:flex;gap:10px;align-items:flex-end;border:1px solid var(--blue);background:var(--panel);border-radius:8px;padding:10px}
.mobile-compose-row #chat-input{font-family:inherit;font-size:16px;line-height:1.65;min-height:58px;max-height:140px;resize:none;border:0;box-shadow:none;background:transparent;margin:0;padding:0;min-width:0;color:var(--txt);flex:1}
.mobile-compose-row #chat-send{background:var(--blue);color:var(--on-accent);border:1px solid var(--blue);border-radius:5px;min-height:40px;font-size:13px;padding:8px 13px}
.mobile-compose-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:8px}
.mobile-compose-actions button{min-height:44px;font-size:12px;padding:6px 10px}
.mobile-compose-actions .meta{font-size:11px}
#mobile-task-board h2{font-size:21px;margin:0}
.mobile-task-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:16px 0}
.mobile-task-head button{font-size:12px;margin:0;min-height:36px}
.mobile-task-search{display:flex;gap:8px;margin:0 0 12px}
.mobile-task-search input{width:0;flex:1;min-width:0;margin:0;font-size:16px}
.mobile-task-search button{margin:0;min-height:42px}
.mobile-task-filters{display:flex;flex-wrap:wrap;gap:7px}
.mobile-task-filters button{margin:0;font-size:12px;min-height:36px;padding:7px 11px}
.mobile-task-filters button[aria-pressed=true]{background:var(--blue);color:var(--on-accent);border-color:var(--blue)}
.mobile-task-list{border-top:1px solid var(--line)}
.mobile-task-list>button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:16px 4px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--txt);margin:0;overflow-wrap:anywhere}
.mobile-task-list>button[aria-current=true]{background:var(--bubble-user)}
.mobile-task-list strong{font-size:15px;font-weight:600;line-height:1.7}
.mobile-task-state{color:var(--blue);font-size:12px}
.mobile-task-list time{font-size:11px}
.mobile-task-excerpt{margin:4px 0 0;font-size:13px;color:var(--dim);line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mobile-task-detail{border-block:1px solid var(--line);padding:20px 0;margin:20px 0;overflow-wrap:anywhere}
.mobile-task-detail[hidden]{display:none}
.mobile-task-detail h3{font-size:18px;margin:0}
.mobile-task-result{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 "Segoe UI","Microsoft YaHei",sans-serif;color:var(--txt)}
.mobile-task-detail details{padding:12px 0}
.mobile-task-detail summary{cursor:pointer;min-height:36px}
.mobile-task-detail li{padding:6px 0;font-size:13px}
.mobile-task-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}
.mobile-task-actions button{margin:0;font-size:13px;min-height:40px}
.mobile-task-pager{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:16px 0}
.mobile-task-pager span{font-size:12px;color:var(--dim)}
.mobile-task-pager button{min-height:40px;font-size:13px}
.mobile-task-attention{padding:12px;background:var(--bubble-user);font-size:13px}
#mobile-task-board :focus-visible,#mobile-conversation-tools :focus-visible,.mobile-starters :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
#mobile-task-board .error{color:var(--red)}
/* Five stable destinations; only the current section exposes its pages. */
.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;padding:6px 2px;font-size:12px;line-height:1.3}
.mobile-nav svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mobile-context{margin:6px 0 20px;min-width:0}
.mobile-context h2,.mobile-preferences>h2{font-size:26px;font-weight:650;line-height:1.4;margin:0 0 4px}
.mobile-context>p{color:var(--dim);font-size:13px;margin:0 0 16px}
.mobile-context nav{display:flex;gap:18px;border-bottom:1px solid var(--line);overflow:auto}
.mobile-context nav button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;margin:0;padding:10px 0;min-height:44px;white-space:nowrap;font-size:14px;flex:none;color:var(--dim)}
.mobile-context nav button[aria-current=page]{color:var(--blue);border-bottom-color:var(--blue);font-weight:650}
.mobile-context nav .mobile-context-back{color:var(--blue)}
.mobile-preferences>p{margin:0 0 28px}
.mobile-preferences>section{margin:0 0 28px}
.mobile-preferences h3{font-size:13px;font-weight:600;color:var(--dim);margin:0 0 6px}
.mobile-setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;width:100%;margin:0;padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--txt);min-height:56px;overflow-wrap:anywhere}
.mobile-setting-row>span:first-child{min-width:0}
.mobile-setting-row>span:last-child:not(:first-child){flex:none;color:var(--blue);font-size:12px}
.mobile-setting-row strong{display:block;font-size:15px;font-weight:600}
.mobile-setting-row small{display:block;font-size:12px;line-height:1.6;color:var(--dim);margin-top:4px}
.mobile-preferences>details{border-top:1px solid var(--line);padding:8px 0}
.mobile-preferences>details>summary{cursor:pointer;min-height:44px;line-height:44px;font-size:14px}
.mobile-preferences>a{display:inline-flex;min-height:44px;align-items:center;margin:16px 20px 0 0;color:var(--blue)}
.mobile-preferences>#theme-btn{font-size:13px;min-height:44px;margin-top:16px}
.mobile-file-library{min-width:0}
.mobile-file-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mobile-file-head h2{margin:0;font-size:21px}
.mobile-file-head button{min-height:40px;margin:0;padding:8px 10px;font-size:12px;white-space:nowrap}
.mobile-file-library>.meta{margin:8px 0 16px;font-size:13px}
.mobile-file-library>input{width:100%;font-size:16px;margin:0 0 16px;min-height:44px}
.mobile-file-status{font-size:12px;color:var(--dim);min-height:20px;margin:0 0 12px;overflow-wrap:anywhere}
.mobile-file-list{border-top:1px solid var(--line);max-height:330px;overflow:auto}
.mobile-file-list>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 8px;margin:0;background:transparent;color:var(--txt);overflow-wrap:anywhere}
.mobile-file-list>button[aria-current=true]{background:var(--bubble-user)}
.mobile-file-list strong{font-size:14px;font-weight:600;line-height:1.6}
.mobile-file-list small{font-size:12px;color:var(--dim)}
.mobile-file-detail{margin:24px 0 0;border-top:1px solid var(--line);padding-top:20px;overflow-wrap:anywhere}
.mobile-file-detail h3{font-size:18px;font-weight:600;margin:0 0 18px}
.mobile-file-unit{padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.mobile-file-unit h4{font-size:12px;font-weight:600;color:var(--dim);margin:0 0 8px}
.mobile-file-unit>p{font-size:14px;line-height:1.9;white-space:pre-wrap;margin:0}
.mobile-file-unit>.meta{font-size:12px;margin-top:8px}
.mobile-file-warning{font-size:12px;line-height:1.7;color:var(--dim);padding:10px 12px;background:var(--bubble-user)}
.mobile-file-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.mobile-file-actions button{min-height:44px;margin:0;font-size:13px;padding:9px 12px}
.mobile-file-actions button:last-child{width:100%;color:var(--on-accent);background:var(--blue);border-color:var(--blue)}
.mobile-file-library .error{color:var(--red)}
.mobile-context :focus-visible,.mobile-preferences :focus-visible,.mobile-file-library :focus-visible,.mobile-nav :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:350px){.mobile-context nav{gap:15px}.mobile-context nav button{font-size:13px}.mobile-context h2,.mobile-preferences>h2{font-size:24px}}
#mobile-task-board.has-detail .mobile-task-list,#mobile-task-board.has-detail .mobile-task-search,#mobile-task-board.has-detail .mobile-task-filters,#mobile-task-board.has-detail .mobile-task-pager{display:none}
#mobile-task-board.has-detail .mobile-task-status:not(.error){display:none}
#mobile-task-board.has-detail .mobile-task-detail{border:0;margin:0;padding:0}
.mobile-task-detail>button:first-child{margin:0 0 16px;font-size:12px;min-height:36px}
.mobile-connection-actions>details{position:relative;margin-left:auto;flex:none}
.mobile-connection-actions>details>summary{cursor:pointer;color:var(--blue);padding:6px;min-height:36px;font-size:12px}
.mobile-connection-actions>details>div{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0}
body[data-mobile-view=chat]{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
body[data-mobile-view=chat]>h1,body[data-mobile-view=chat]>#mobile-search-open,body[data-mobile-view=chat]>.mobile-connection-actions{flex:none}
body[data-mobile-view=chat]>[data-mobile-panel=chat]{flex:1;min-height:0;overflow:auto}
body[data-mobile-view=chat] .mobile-assistant{display:flex;flex-direction:column;height:100%;min-height:0;overflow:auto}
body[data-mobile-view=chat] .mobile-chat-title{margin-bottom:10px;flex:none}
body[data-mobile-view=chat] .mobile-chat-title>span{display:none}
body[data-mobile-view=chat] .mobile-chat-title h2{font-size:19px}
body[data-mobile-view=chat] #mobile-conversation-tools,body[data-mobile-view=chat] .mobile-starters,body[data-mobile-view=chat] #chat-history-state,body[data-mobile-view=chat] #chat-history-more{flex:none}
body[data-mobile-view=chat] #mobile-conversation-tools{margin-bottom:10px;padding:4px 0}
body[data-mobile-view=chat] #chat-history{flex:1;min-height:55px;max-height:none}
body[data-mobile-view=chat] #chat{flex:none;max-height:22dvh!important;min-height:0}
body[data-mobile-view=chat] #chat:empty{margin:0!important}
body[data-mobile-view=chat] #chat-history-more{align-self:flex-start;margin:6px 0;min-height:28px;padding:4px 8px}
body[data-mobile-view=chat] .mobile-composer{position:static;flex:none;padding:8px 0 0;margin:0}
body[data-mobile-view=chat] .mobile-compose-row #chat-input{min-height:46px}
body[data-mobile-view=chat] .mobile-compose-actions{margin-top:6px}
body[data-mobile-view=chat] .mobile-connection-actions{margin-bottom:12px;padding-bottom:6px}
@media(max-height:720px){body[data-mobile-view=chat] .mobile-chat-title{display:none}body[data-mobile-view=chat] .mobile-starters{margin-bottom:6px}body[data-mobile-view=chat] .mobile-compose-actions{display:none}}
@media(max-width:350px){.mobile-connection-actions{align-items:start}.mobile-compose-actions .meta{max-width:145px;text-align:right}.mobile-starters{gap:5px}.mobile-starters button{padding-inline:8px}}

.mobile-task-file{padding:12px 0;border-bottom:1px solid var(--line)}.mobile-task-file>p{overflow-wrap:anywhere;margin:0 0 8px}.mobile-task-file>button{min-height:44px;margin-right:12px}
.mobile-task-file>.mobile-task-file-status{margin:8px 0 0}.mobile-task-file>.mobile-task-file-status:empty{margin:0}

/* Keep useful controls with their task, including the compact phone composer. */
#splash.done{display:none}
body[data-mobile-view=chat] .mobile-composer{margin-top:auto}
body[data-mobile-view=chat] #chat-history:empty{display:block}
#mobile-goals-workspace .goal-heading{align-items:flex-start;gap:12px}
#mobile-goals-workspace .goal-heading>button{flex:none;white-space:nowrap;padding-inline:10px}
#mobile-goals-workspace .goal-heading>div{min-width:0}

/* V24: files imported on the phone and explicitly selected per conversation. */
.mobile-file-upload{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}
.mobile-file-upload .mobile-file-actions{margin:0;gap:8px}
.mobile-file-upload .meta{margin:8px 0;font-size:13px;line-height:1.65}
.mobile-upload-status{margin:8px 0 0;overflow-wrap:anywhere;font-size:14px;line-height:1.65}
.mobile-upload-status:empty{display:none}
#mobile-chat-attachments{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid var(--line);min-width:0}
.mobile-attachment-label{font-size:13px;color:var(--txt);font-weight:600;margin:0 0 8px}
.mobile-attachment-list{display:flex;flex-direction:column;gap:6px;min-width:0}
.mobile-attachment{display:flex;gap:10px;align-items:center;min-width:0}
.mobile-attachment>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.mobile-attachment button{flex:none;min-height:44px;margin:0;padding:6px 10px;font-size:12px;background:transparent}
#mobile-chat-attachments>.meta{margin:6px 0 0;font-size:12px;line-height:1.6;color:var(--dim)}
.mobile-file-upload button:focus-visible,.mobile-attachment button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.mobile-file-upload .mobile-file-actions button{width:auto;background:transparent;color:var(--txt);border-color:var(--line)}
.mobile-file-upload .mobile-file-actions button:first-child{background:var(--blue);color:var(--on-accent);border-color:var(--blue)}
.mobile-file-upload [hidden],#mobile-chat-attachments[hidden]{display:none!important}

/* studio-workspace.css */
:root{--studio-ink:#17263d;--studio-muted:#53657e;--studio-blue:#3159d9;--studio-line:#dce3ee;--studio-paper:#fff;--studio-soft:#f6f8fd;--studio-ground:#f3f6fb}
.studio-source-check{border-block:1px solid var(--studio-line);padding-block:24px;margin-block:0 28px;min-width:0}
.studio-check-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.studio-check-head h3{margin:0 0 6px}.studio-check-head p{margin:0}
.studio-source-check>p{max-width:70ch;margin:16px 0 0}
.studio-check-results{padding-left:22px;margin:22px 0;max-height:380px;overflow:auto;scrollbar-gutter:stable}
.studio-check-results li{padding:0 8px 16px 2px;margin:0 0 16px;border-bottom:1px solid var(--studio-line);overflow-wrap:anywhere}
.studio-check-results strong{display:block;font-size:14px;font-weight:600;line-height:1.7}
.studio-check-results span{display:block;margin-top:5px;font-variant-numeric:tabular-nums}
.studio-check-results p{margin:8px 0 0;font-size:14px;line-height:1.8}
@media(max-width:680px){.studio-check-head{display:block}.studio-check-head button{margin-top:16px;width:100%}.studio-check-results{max-height:340px}.studio-check-results strong,.studio-check-results p{font-size:16px}.studio-source-check>.studio-muted,.studio-check-head .studio-muted,.studio-check-results .studio-muted{font-size:14px}}
html[data-workspace-appearance=dark],body[data-theme=dark]{--studio-ink:#e4edff;--studio-muted:#b0c0d9;--studio-blue:#a4bcff;--studio-line:#34435c;--studio-paper:#152136;--studio-soft:#1a2941;--studio-ground:#101b2d}
.studio-workspace{padding:34px 36px 28px;color:var(--studio-ink);font:15px/1.65 "Segoe UI","Microsoft YaHei UI",sans-serif;min-width:0;max-width:1600px;margin:0 auto}
.studio-workspace[hidden]{display:none!important}.studio-workspace *{box-sizing:border-box}.studio-workspace :is(button,input,textarea,select){font:inherit}.studio-workspace button{cursor:pointer;min-height:44px;padding:10px 15px;border:1px solid var(--studio-line);border-radius:8px;color:var(--studio-ink);background:var(--studio-paper);font-size:13px}.studio-workspace button:hover{background:var(--studio-soft)}.studio-workspace button:disabled{opacity:.55;cursor:wait}.studio-workspace :is(button,input,textarea,select,summary,a):focus-visible,.studio-chat-context :is(button,select):focus-visible{outline:3px solid #8eabff;outline-offset:3px}.studio-workspace a{color:var(--studio-blue);text-underline-offset:4px}.studio-workspace h1{margin:0;font-size:32px;line-height:1.35;letter-spacing:-.035em;font-weight:650}.studio-workspace h2{font-size:21px;line-height:1.45;margin:0 0 14px;font-weight:650}.studio-workspace h3{font-size:16px;margin:0 0 20px}.studio-workspace h4{font-size:14px;margin:0 0 10px}.studio-muted{color:var(--studio-muted);font-size:13px;line-height:1.85}.studio-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.studio-page-head p{margin:8px 0 0}.studio-sheet{background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:12px;overflow:hidden;box-shadow:0 12px 34px #17263d0c}.studio-identity{display:flex;align-items:center;gap:16px;padding:24px 28px}.studio-identity h2{margin:0 0 4px;overflow-wrap:anywhere}.studio-identity p{margin:0;font-size:12px}.studio-identity>button{margin-left:auto;flex:none}.studio-project-mark{height:50px;width:50px;flex:none;display:grid;place-items:center;background:#eaf0ff;color:#3159d9;border-radius:12px}.studio-project-mark svg{width:25px;height:25px;stroke-width:1.7}.studio-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 28px;gap:12px;border-bottom:1px solid var(--studio-line)}.studio-steps button{display:flex;align-items:center;gap:9px;border:0;border-radius:0;padding:17px 2px;color:var(--studio-muted);background:none;position:relative;text-align:left}.studio-steps button[aria-current=step]{color:var(--studio-blue);background:none}.studio-steps button[aria-current=step]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--studio-blue);border-radius:3px}.studio-steps b{display:inline-grid;place-items:center;width:23px;height:23px;font-size:12px;border:1px solid var(--studio-line);border-radius:50%}.studio-steps button[aria-current=step] b{background:var(--studio-blue);color:var(--studio-paper);border-color:var(--studio-blue)}.studio-body{display:grid;grid-template-columns:minmax(0,1fr) 254px;min-height:430px}.studio-main{padding:28px;min-width:0}.studio-inspector{background:var(--studio-soft);border-left:1px solid var(--studio-line);padding:28px 23px}.studio-inspector dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 10px;font-size:12px;margin:0}.studio-inspector dt{color:var(--studio-muted)}.studio-inspector dd{margin:0;text-align:right;overflow-wrap:anywhere}.studio-inspector hr{border:0;border-top:1px solid var(--studio-line);margin:25px 0}.studio-inspector p{font-size:13px;line-height:1.9}.studio-workspace .studio-wide{width:100%;color:var(--studio-blue);margin:8px 0}.studio-context-note{font-size:12px!important;color:var(--studio-muted);margin-top:24px}.studio-field{display:block;font-size:13px;font-weight:600;margin-bottom:20px}.studio-field :is(input,textarea,select){display:block;width:100%;font-weight:400;margin-top:9px;padding:11px 13px;border:1px solid #bccade;border-radius:7px;background:var(--studio-paper);color:var(--studio-ink);line-height:1.7;min-height:44px}.studio-field textarea{min-height:140px;resize:vertical}.studio-workspace textarea::placeholder,.studio-workspace input::placeholder{color:var(--studio-muted);opacity:1}.studio-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:6px}.studio-subhead h3{margin:0}.studio-documents{border-block:1px solid var(--studio-line);max-height:250px;overflow:auto}.studio-document{display:flex!important;gap:12px;align-items:center;min-height:46px;padding:10px 0;margin:0!important;border-bottom:1px solid var(--studio-line);font-size:13px!important}.studio-document:last-child{border:0}.studio-document input{width:18px;height:18px;accent-color:var(--studio-blue);flex:none}.studio-document span{flex:1;overflow-wrap:anywhere}.studio-document small{color:var(--studio-muted);font-size:11px}.studio-missing-document{display:flex;flex-wrap:wrap;gap:12px;padding:10px 0;color:#ad383e}.studio-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}.studio-actions-start{justify-content:flex-start;margin:0 0 22px}.studio-workspace .studio-primary{background:#3159d9;color:#fff;border-color:#3159d9}.studio-workspace .studio-primary:hover{background:#2448c0}.studio-workspace .studio-quiet{background:none;color:var(--studio-blue);border-color:transparent}.studio-feedback{min-height:24px;margin:16px 0 0;color:var(--studio-muted);font-size:13px;line-height:1.8;overflow-wrap:anywhere}.studio-feedback.is-error,.studio-draft-note{color:#a1363d}.studio-start-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;padding:30px;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-paper)}.studio-new-project h2,.studio-recent h2{margin-bottom:24px}.studio-project-list{margin-top:20px}.studio-workspace .studio-project-row{display:flex;flex-direction:column;text-align:left;width:100%;border-radius:0;border:0;border-bottom:1px solid var(--studio-line);background:transparent;padding:19px 0;gap:7px}.studio-project-row strong{font-size:15px}.studio-project-row span{font-size:12px;color:var(--studio-muted)}.studio-empty{padding:32px 0;color:var(--studio-muted);line-height:1.9}.studio-editor{display:grid;grid-template-columns:160px minmax(0,1fr);min-height:340px;border:1px solid var(--studio-line);border-radius:8px;overflow:hidden}.studio-file-list{background:var(--studio-soft);border-right:1px solid var(--studio-line);padding:8px;overflow:auto;max-height:450px}.studio-file-list button{width:100%;font-size:12px;text-align:left;overflow-wrap:anywhere;border:0;background:none;border-radius:5px}.studio-file-list button[aria-current=true]{background:#e5edff;color:#254eb8}.studio-workspace .studio-code{width:100%;min-height:360px;max-height:650px;resize:vertical;border:0;border-radius:0;background:var(--studio-paper);color:var(--studio-ink);padding:16px;font:12px/1.7 Consolas,monospace;tab-size:2}.studio-preview-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px}.studio-preview-toolbar>span{font-size:12px;margin-right:auto;color:var(--studio-muted)}.studio-preview-shell{width:100%;max-width:100%;border:1px solid var(--studio-line);border-radius:8px;overflow:hidden;background:#fff;margin:auto}.studio-preview-shell.is-phone{max-width:390px}.studio-preview-frame{display:block;width:100%;height:560px;border:0;background:#fff}.studio-proposal{max-width:75ch;line-height:1.9}.studio-proposal pre{white-space:pre-wrap;overflow-wrap:anywhere}.studio-checklist{padding-left:22px;font-size:13px;line-height:2;margin-block:20px}.studio-checklist li{margin-bottom:12px}.studio-server-help,.studio-connections{border-top:1px solid var(--studio-line);padding-top:12px;margin:28px 0 20px}.studio-workspace summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px}.studio-links{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;margin-top:16px}.studio-hosting{padding-top:28px;border-top:1px solid var(--studio-line);margin-top:28px}.studio-hosting>.studio-field{margin-top:20px}.studio-connections button{margin:0 10px 10px 0}.studio-deployment-receipt{padding-top:24px;margin-top:24px;border-top:1px solid var(--studio-line);font-size:13px;overflow-wrap:anywhere}.studio-deployment-receipt button{margin:10px 10px 10px 0}.studio-deployment-receipt a{display:block;padding:10px 0}.studio-deployment-receipt small{font-size:11px;color:var(--studio-muted)}.studio-chat-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:12px 0;border-bottom:1px solid var(--studio-line);color:var(--studio-muted);font-size:12px;flex:none}.studio-chat-context label{display:flex!important;gap:10px;align-items:center;font-size:12px!important}.studio-chat-context select{max-width:230px;min-height:34px;padding:6px 10px;border:1px solid var(--studio-line);border-radius:6px;background:var(--studio-paper);color:var(--studio-ink);font:12px "Segoe UI","Microsoft YaHei UI",sans-serif}.studio-chat-context button{min-height:34px!important;font-size:12px!important;padding:5px 10px!important;border:0!important;background:none!important;color:var(--studio-blue)!important}.studio-context-status{font-size:11px}.studio-workspace ::selection{background:#cbd9ff;color:#17263d}.studio-workspace{scrollbar-color:#bdc9db var(--studio-ground)}.studio-workspace :is(input,textarea){caret-color:var(--studio-blue)}
@media(min-width:1100px){.studio-workspace .studio-field textarea{min-height:156px}}
@media(max-width:1150px){.studio-body{grid-template-columns:minmax(0,1fr)}.studio-inspector{border-left:0;border-top:1px solid var(--studio-line)}.studio-inspector dl{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-inspector .studio-context-note{margin:18px 0 0}.studio-start-layout{gap:28px}.studio-workspace{padding:28px 24px}.studio-page-head{gap:16px}}
@media(max-width:680px){.studio-workspace{padding:24px 16px}.studio-page-head{display:block;margin-bottom:24px}.studio-page-head>button{margin-top:16px}.studio-workspace h1{font-size:25px}.studio-workspace h2{font-size:18px}.studio-identity{padding:20px;flex-wrap:wrap;gap:12px}.studio-project-mark{width:40px;height:40px}.studio-identity>div:nth-child(2){flex:1;min-width:0}.studio-identity>button{margin-left:52px;padding:4px 0}.studio-steps{gap:4px;padding:0 14px}.studio-steps button{display:flex;flex-direction:column;gap:6px;font-size:11px;padding:14px 0;text-align:center}.studio-main,.studio-inspector{padding:22px 20px}.studio-inspector dl{grid-template-columns:auto minmax(0,1fr)}.studio-start-layout{display:block;padding:22px 20px}.studio-recent{border-top:1px solid var(--studio-line);padding-top:28px;margin-top:28px}.studio-editor{display:block}.studio-file-list{display:flex;gap:6px;border-right:0;border-bottom:1px solid var(--studio-line);max-height:100px}.studio-file-list button{flex:none;width:auto;max-width:170px}.studio-workspace .studio-code{min-height:320px}.studio-actions{justify-content:flex-start}.studio-actions button{flex:1}.studio-preview-frame{height:500px}.studio-chat-context{padding:12px 0}.studio-chat-context select{max-width:210px}.studio-chat-context label{flex-wrap:wrap}.studio-context-status{width:100%}}
@media(prefers-reduced-motion:no-preference){.studio-workspace button{transition:background-color 150ms ease-out}}

/* Final component boundaries: legacy global buttons cannot override the studio. */
.studio-workspace button{background:var(--studio-paper)!important;color:var(--studio-ink)!important;border-color:var(--studio-line)!important}
.studio-workspace button.studio-primary{background:#3159d9!important;color:#fff!important;border-color:#3159d9!important}
.studio-workspace button.studio-quiet,.studio-workspace .studio-steps button,.studio-workspace .studio-project-row,.studio-workspace .studio-file-list button{background:transparent!important}
.studio-workspace .studio-steps button[aria-current=step]{color:var(--studio-blue)!important;border-bottom-color:var(--studio-blue)!important}
.studio-workspace .studio-file-list button[aria-current=true]{background:var(--studio-soft)!important;color:var(--studio-blue)!important}
.studio-workspace :is(input,textarea,select){color:var(--studio-ink)!important;background:var(--studio-paper)!important}
@media(max-width:680px){.studio-identity{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start}.studio-identity>div:nth-child(2){width:auto;min-width:0}.studio-identity>button{grid-column:2;margin-left:0;justify-self:start}.studio-identity h1{text-align:left;line-height:1.5}.studio-chat-context{width:100%;min-width:0}.studio-chat-context label{width:100%;min-width:0}.studio-chat-context select{flex:1;min-width:0;max-width:100%}}

/* creator-workspace.css */
.creator-workspace{--creator-ink:#223c37;--creator-muted:#526e64;--creator-line:#d7e4dd;--creator-soft:#f0f6f2;--creator-paper:#fff;--creator-accent:#24745b;--creator-error:#a23d40;color:var(--creator-ink);max-width:1280px;margin:0 auto;padding:28px 32px 56px;line-height:1.65;overflow-wrap:anywhere}
.creator-workspace[hidden]{display:none!important}.creator-workspace *{box-sizing:border-box}.creator-workspace h1{font-size:28px;line-height:1.35;margin:0 0 12px;font-weight:600;text-wrap:balance}.creator-workspace h2{font-size:20px;line-height:1.45;margin:0 0 18px;font-weight:600}.creator-workspace h3{font-size:16px;margin:0 0 14px;font-weight:600}.creator-workspace p{margin:0 0 12px}.creator-muted{color:var(--creator-muted);font-size:13px}.creator-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.creator-heading>div{max-width:70ch}.creator-workspace button{min-height:40px;padding:8px 14px;border:1px solid var(--creator-line);border-radius:6px;background:var(--creator-paper);color:var(--creator-ink);font:inherit;font-size:14px;cursor:pointer;white-space:normal}.creator-workspace button:hover{background:var(--creator-soft)}.creator-workspace button:disabled{cursor:default;opacity:.55}.creator-workspace button.creator-primary{background:var(--creator-accent);border-color:var(--creator-accent);color:#fff}.creator-workspace button.creator-primary:hover{background:#1f603f}.creator-workspace :focus-visible{outline:2px solid var(--creator-accent);outline-offset:3px}.creator-workspace ::selection{background:#d8eddf;color:#1d5843}.creator-workspace input,.creator-workspace textarea{display:block;width:100%;min-width:0;background:var(--creator-paper);color:var(--creator-ink);border:1px solid var(--creator-line);border-radius:6px;padding:10px 12px;font:inherit;font-size:15px;line-height:1.6;caret-color:var(--creator-accent);margin-top:7px}.creator-workspace textarea{resize:vertical}.creator-workspace input::placeholder,.creator-workspace textarea::placeholder{color:var(--creator-muted)}.creator-workspace label{display:block;font-size:13px;color:var(--creator-muted);margin-bottom:20px}.creator-feedback{min-height:24px;font-size:14px}.creator-feedback.is-error{color:var(--creator-error)}.creator-entry{max-width:720px;margin:8px 0 44px}.creator-entry>p{margin-top:18px}.creator-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:48px}.creator-layout[hidden]{display:none}.creator-metadata{display:grid;grid-template-columns:1fr 1fr;gap:18px}.creator-scene{border-top:1px solid var(--creator-line);padding-top:24px;margin-top:28px}.creator-scene label:last-child{margin-bottom:0}.creator-writing>button{margin-top:28px}.creator-preview{min-width:0;border-left:1px solid var(--creator-line);padding-left:28px}.creator-state{font-size:14px;font-weight:600;color:var(--creator-accent)}.creator-message{font-size:14px}.creator-progress{padding:0;margin:22px 0;list-style:none;display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px;color:var(--creator-muted)}.creator-progress li{padding-bottom:6px;border-bottom:1px solid var(--creator-line)}.creator-progress li[data-done=true]{color:var(--creator-accent);border-color:var(--creator-accent)}.creator-film-placeholder{padding:48px 24px;background:var(--creator-soft);min-height:200px;display:flex;flex-direction:column;justify-content:center;text-align:center;margin:20px 0}.creator-film-placeholder span{font-size:13px;color:var(--creator-muted)}.creator-preview video{display:block;width:100%;max-height:420px;background:#101b18;margin:20px 0 12px}.creator-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.creator-deliveries{margin-top:32px}.creator-deliveries button{margin:0 8px 10px 0}.creator-ledger{border-top:1px solid var(--creator-line);padding:18px 0;margin-top:22px;font-size:13px}.creator-ledger summary{cursor:pointer;min-height:34px}.creator-ledger p{font-variant-numeric:tabular-nums}.creator-recent{max-width:920px}.creator-recent-row{display:flex;justify-content:space-between;text-align:left;gap:20px;width:100%;border-width:0 0 1px!important;border-radius:0!important;padding:18px 0!important}.creator-recent-row span:first-child{font-size:16px}.creator-preview>.creator-muted:last-child{margin-top:20px}.creator-workspace::-webkit-scrollbar{width:8px}.creator-workspace::-webkit-scrollbar-thumb{background:var(--creator-line);border-radius:4px}
[data-workspace-appearance=dark] .creator-workspace,[data-theme=dark] .creator-workspace{--creator-ink:#e7f0f2;--creator-muted:#b0c2ca;--creator-line:#314550;--creator-soft:#1c3038;--creator-paper:#0e1923;--creator-accent:#a9e5d5;--creator-error:#ffaaaa}
[data-workspace-appearance=dark] .creator-workspace button.creator-primary,[data-theme=dark] .creator-workspace button.creator-primary{background:#a9e5d5;color:#163d32}[data-workspace-appearance=dark] .creator-workspace button.creator-primary:hover,[data-theme=dark] .creator-workspace button.creator-primary:hover{background:#c5efe4}
@media(max-width:960px){.creator-workspace{padding:24px}.creator-layout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}.creator-preview{padding-left:20px}.creator-metadata{grid-template-columns:1fr;gap:0}}
@media(max-width:680px){.creator-workspace{padding:18px 14px 36px}.creator-heading{display:block}.creator-heading>button{margin-top:10px}.creator-workspace h1{font-size:24px}.creator-layout{display:flex;flex-direction:column;gap:36px}.creator-preview{order:-1;border-left:0;border-bottom:1px solid var(--creator-line);padding:0 0 24px}.creator-preview video{max-height:380px}.creator-film-placeholder{min-height:140px;padding:28px 16px}.creator-progress{gap:8px 12px}.creator-workspace button{min-height:44px}.creator-recent-row{gap:12px}.creator-recent-row span:last-child{flex-shrink:0}.creator-ledger{margin-bottom:0}}

.creator-preview video[hidden],.creator-ready-preview[hidden],.creator-operation-message[hidden]{display:none!important}
.creator-ready-preview{width:100%;max-height:420px;background:var(--creator-soft);display:grid;place-items:center;overflow:hidden;margin:20px 0 12px}
.creator-ready-preview img{width:100%;height:100%;min-height:0;object-fit:contain}.creator-preview video{object-fit:contain}
.creator-operation-message{font-size:14px;color:var(--creator-muted);margin:10px 0 16px!important}.creator-operation-message.is-error{color:var(--creator-error)}
#moss-aios-shell #desktop-content .creator-workspace button.creator-primary{background:var(--creator-accent)!important;color:#fff!important;border-color:var(--creator-accent)!important;min-height:42px!important;font-size:14px!important;padding:9px 16px!important}
#moss-aios-shell #desktop-content .creator-workspace button.creator-primary:hover{background:#1f603f!important}
[data-workspace-appearance=dark] #moss-aios-shell #desktop-content .creator-workspace button.creator-primary{color:#163d32!important}
[data-workspace-appearance=dark] #moss-aios-shell #desktop-content .creator-workspace button.creator-primary:hover{background:#c5efe4!important}
@media(max-width:680px){.creator-ready-preview{max-height:380px}}

/* founder-workspace.css */
.founder-workspace,.founder-chat-message{--fp-paper:var(--bl-paper,#fff);--fp-soft:var(--bl-soft,#eff1f5);--fp-ink:var(--bl-ink,#252a34);--fp-muted:var(--bl-muted,#697180);--fp-line:var(--bl-line,#e3e6ec);--fp-accent:var(--bl-accent,#355bd7);color:var(--fp-ink);font-size:15px;line-height:1.7;min-width:0;text-underline-offset:.2em;caret-color:var(--fp-accent);scrollbar-color:var(--fp-muted) var(--fp-soft)}
.founder-workspace[hidden]{display:none!important}.founder-workspace{padding:24px 0 36px;border-top:1px solid var(--fp-line)}
.founder-workspace ::selection,.founder-chat-message ::selection{background:var(--bl-accent-soft,#e9eefa);color:var(--fp-ink)}
.founder-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.founder-heading h2{font-size:26px;line-height:1.4;letter-spacing:-.025em;margin:0 0 6px}.founder-heading p{margin:0}
.founder-workspace button,.founder-workspace input,.founder-workspace select,.founder-workspace textarea{font:inherit;color:inherit;box-sizing:border-box}.founder-workspace button{border:1px solid var(--fp-line);background:var(--fp-paper);border-radius:9px;padding:8px 14px;min-height:42px;cursor:pointer;transition:background .16s ease-out,border-color .16s ease-out}.founder-workspace button:hover{background:var(--fp-soft);border-color:var(--fp-muted)}.founder-workspace .founder-primary{background:var(--fp-accent);color:var(--bl-on-accent,#fff);border-color:var(--fp-accent)}.founder-workspace .founder-primary:hover{filter:brightness(.94);background:var(--fp-accent)}.founder-workspace button:disabled{opacity:.5;cursor:default}
.founder-workspace :focus-visible,.founder-chat-message :focus-visible{outline:2px solid var(--fp-accent);outline-offset:3px}.founder-tabs{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--fp-line)}.founder-tabs button{border-color:transparent;background:transparent}.founder-tabs button[aria-pressed=true]{color:var(--fp-accent);background:var(--bl-accent-soft,#e9eefa);font-weight:650}
.founder-muted,.founder-meta{color:var(--fp-muted)}.founder-feedback{min-height:1.7em;margin:12px 0}.founder-feedback.is-error{color:var(--bl-error,#a33039)}.founder-body{max-width:78ch}.founder-body h3{font-size:19px;line-height:1.5;margin:8px 0 12px}.founder-body h4{font-size:17px;margin:0 0 10px}.founder-row{padding:26px 0;border-bottom:1px solid var(--fp-line)}.founder-meta{font-size:13px}.founder-copy,.founder-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}.founder-question{font-weight:600;margin-top:18px}.founder-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}.founder-source{margin:14px 0;color:var(--fp-muted);font-size:14px}.founder-source summary,.founder-history summary,.founder-editor summary{cursor:pointer;min-height:40px;line-height:40px}.founder-source blockquote{border-left:1px solid var(--fp-line);margin:8px 0;padding:8px 16px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--fp-ink);background:var(--fp-soft)}.founder-history{margin-top:32px;border-top:1px solid var(--fp-line);padding-top:16px}.founder-history p{font-size:13px;font-variant-numeric:tabular-nums;white-space:pre-wrap}
.founder-empty{padding:34px 0 28px;max-width:52ch}.founder-empty h3{font-size:22px}.founder-group-title{margin:32px 0 0!important}.founder-field{display:flex;flex-direction:column;gap:7px;margin:18px 0}.founder-field>span{font-weight:600}.founder-field input,.founder-field textarea,.founder-field select{width:100%;border:1px solid var(--fp-line);border-radius:9px;background:var(--fp-paper);padding:10px 12px;min-height:44px}.founder-field textarea{min-height:108px;resize:vertical;line-height:1.7}.founder-field textarea::placeholder{color:var(--fp-muted);opacity:1}.founder-editor>.founder-field:nth-of-type(2) textarea{min-height:200px}.founder-toggle{display:flex;gap:14px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--fp-line);cursor:pointer}.founder-toggle input{width:20px;height:20px;accent-color:var(--fp-accent);margin-top:4px;flex:none}.founder-toggle strong,.founder-toggle small{display:block}.founder-toggle small{font-size:13px;color:var(--fp-muted);margin-top:4px}.founder-settings fieldset{border:0;padding:0;margin:26px 0}.founder-settings legend{font-weight:600;margin-bottom:10px}.founder-choice{display:flex;align-items:center;gap:10px;min-height:44px}.founder-choice input{width:18px;height:18px;accent-color:var(--fp-accent)}
.founder-chat-message{padding:22px 0;margin:12px auto 22px;max-width:76ch;border-bottom:1px solid var(--fp-line)}.founder-chat-message small{color:var(--fp-muted);font-size:12px}.founder-chat-message h3{font-size:19px;margin:10px 0}.work-hub.founder-open>.work-filters,.work-hub.founder-open>.work-feedback,.work-hub.founder-open>.work-list,.work-hub.founder-open>.work-load-more,.work-hub.founder-open>.work-footnote{display:none!important}.work-hub.founder-open>.work-toolbar>form{display:none}.work-hub .founder-entry{color:var(--bl-accent,#355bd7);font-weight:600}
@media(max-width:600px){.founder-workspace{padding-top:18px;font-size:15px}.founder-heading{gap:10px;align-items:flex-start}.founder-heading h2{font-size:24px}.founder-tabs{gap:4px}.founder-tabs button{padding:8px 10px;font-size:14px;min-height:44px}.founder-field input,.founder-field select,.founder-field textarea{font-size:16px}.founder-workspace button{min-height:44px}.founder-row{padding:24px 0}.founder-actions{gap:8px}.founder-actions button{flex:1 1 auto}.founder-chat-message{padding:18px 4px}.founder-heading>button{flex:none}.founder-body{width:100%}}
@media(prefers-reduced-motion:reduce){.founder-workspace button{transition:none}}
.work-hub.founder-open>.work-hub-head,.work-hub.founder-open>.work-toolbar>:not(.founder-entry){display:none!important}
.work-hub.founder-open>.work-toolbar{padding:0 0 12px;border:0;background:transparent!important;justify-content:flex-start;margin:0}
.work-hub.founder-open .founder-workspace{border-top:0;padding-top:8px}.founder-workspace .founder-feedback:empty{min-height:0;margin:8px 0}
html body #moss-aios-shell .desktop-workspace .founder-workspace{font-family:var(--bl-font)!important;font-size:15px!important}
html body #moss-aios-shell .desktop-workspace .founder-workspace :is(p,button,input,select,textarea){font-family:inherit!important;font-size:15px!important;line-height:1.7}
html body #moss-aios-shell .desktop-workspace .founder-workspace h2{font-family:inherit!important;font-size:26px!important;line-height:1.4}
html body #moss-aios-shell .desktop-workspace .founder-workspace h3{font-family:inherit!important;font-size:19px!important}
html body #moss-aios-shell .desktop-workspace .founder-workspace :is(.founder-muted,.founder-meta,.founder-source){color:var(--fp-muted)!important}
html body #moss-aios-shell .desktop-workspace .founder-workspace .founder-primary{background:var(--fp-accent)!important;color:var(--bl-on-accent,#fff)!important}
html body #moss-aios-shell .desktop-workspace .founder-workspace .founder-tabs button[aria-pressed=true]{background:var(--bl-accent-soft,#e9eefa)!important;color:var(--fp-accent)!important}
@media(max-width:600px){.founder-tabs{display:grid;grid-template-columns:1fr 1fr}.founder-tabs button{white-space:nowrap}.work-hub.founder-open .founder-heading{margin-bottom:18px}.work-hub.founder-open .founder-workspace{padding-top:0}.work-hub.founder-open>.work-toolbar{padding-bottom:16px}.founder-body>.founder-muted{margin:16px 0}.founder-row{padding:18px 0}}

/* work-workspace.css */
.work-hub,.work-result-drawer{--work-error:#a23d40;--work-ink:#223c37;--work-muted:#526e64;--work-accent:#24745b;--work-line:#d7e4dd;--work-paper:#fff;--work-soft:#edf6f0;color:var(--work-ink);font:15px/1.7 "Segoe UI","Microsoft YaHei UI",sans-serif;caret-color:var(--work-accent)}
html[data-workspace-appearance=dark] .work-hub,html[data-workspace-appearance=dark] .work-result-drawer,html[data-theme=dark] .work-hub,html[data-theme=dark] .work-result-drawer{--work-error:#ffaaaa;--work-ink:#e7f0f2;--work-muted:#b0c2ca;--work-accent:#a9e5d5;--work-line:#314550;--work-paper:#0e1923;--work-soft:#1c3038}
.work-hub[hidden]{display:none!important}.work-hub{max-width:1100px;margin:0 auto;padding:32px 38px 60px}.work-hub h1{margin:0;font-size:28px;font-weight:600;line-height:1.35}.work-hub-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.work-hub-head p{margin:8px 0 0}.work-hub button,.work-hub input,.work-result-drawer button{font:inherit}.work-hub button,.work-result-drawer button{min-height:40px;cursor:pointer;border:1px solid var(--work-line);border-radius:7px;background:var(--work-paper);color:var(--work-ink);padding:7px 13px;transition:background-color 160ms ease}.work-hub button:hover,.work-result-drawer button:hover{background:var(--work-soft)}.work-hub button:disabled,.work-result-drawer button:disabled{opacity:.6;cursor:wait}.work-hub :focus-visible,.work-result-drawer :focus-visible{outline:2px solid var(--work-accent);outline-offset:3px}.work-hub ::selection,.work-result-drawer ::selection{background:#c5e9d6;color:#173e30}

#moss-aios-shell .desktop-workspace .work-hub .work-primary,.work-hub .work-primary{background:var(--work-accent)!important;color:var(--work-paper)!important;border-color:var(--work-accent)!important;font-weight:600;white-space:nowrap}
.work-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:24px}.work-toolbar form{display:flex;gap:8px;flex:1;max-width:570px}.work-toolbar input{width:100%;min-width:0;border:1px solid var(--work-line);border-radius:7px;padding:9px 12px;background:var(--work-paper);color:var(--work-ink);font:inherit}.work-toolbar input::placeholder{color:var(--work-muted);opacity:1}.work-more{position:relative}.work-more>summary{cursor:pointer;min-height:40px;padding:8px;box-sizing:border-box;white-space:nowrap}.work-more[open]{z-index:3}.work-more>button{display:block;min-width:150px;text-align:left}.work-more[open]>button{position:relative;background:var(--work-paper)!important}.work-more[open]{position:absolute;right:38px;top:107px;padding:8px;background:var(--work-paper)!important;border:1px solid var(--work-line);border-radius:8px;box-shadow:0 12px 28px #18332b15}.work-hub{position:relative}
.work-filters{display:flex;gap:6px;border-bottom:1px solid var(--work-line);padding-bottom:12px;overflow:auto}.work-filters button{border-color:transparent;white-space:nowrap}.work-filters button[aria-pressed=true]{background:var(--work-soft)!important;color:var(--work-accent)!important;border-color:var(--work-line)!important;font-weight:600}.work-feedback{min-height:1.6em;color:var(--work-muted);font-size:13px;margin:14px 0}.work-feedback.is-error,.work-error{color:var(--work-error)!important}.work-list{min-height:140px}.work-item{display:flex;align-items:center;gap:28px;padding:24px 0;border-bottom:1px solid var(--work-line)}.work-item-body{min-width:0;flex:1}.work-hub .work-title{display:block;max-width:100%;border:0!important;background:transparent!important;padding:0!important;color:var(--work-ink)!important;text-align:left;font-size:17px;font-weight:600;line-height:1.55;min-height:28px;overflow-wrap:anywhere}.work-hub .work-title:hover{text-decoration:underline;text-underline-offset:4px}.work-item-meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:7px 0;color:var(--work-muted);font-size:12px;font-variant-numeric:tabular-nums}.work-state{font-weight:600}.work-state[data-state=attention]{color:#965927!important}.work-state[data-state=ready]{color:var(--work-accent)!important}.work-excerpt{margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.75;color:var(--work-muted)!important}.work-open{flex-shrink:0}.work-footnote{font-size:12px;color:var(--work-muted)!important;margin-top:24px;max-width:70ch}.work-load-more{margin-top:20px}.work-muted{color:var(--work-muted)!important}.work-empty{padding:40px 0 32px;max-width:54ch}.work-empty h2{font-size:21px;font-weight:600;margin:0 0 12px}
.work-result-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(680px,95vw);height:100dvh;max-height:100dvh;max-width:100vw;box-sizing:border-box;border:0;border-left:1px solid var(--work-line);padding:0;background:var(--work-paper);box-shadow:-12px 0 40px #18332b1a;overflow:hidden}.work-result-drawer[open]{display:flex;flex-direction:column}.work-result-drawer::backdrop{background:rgba(17,32,28,.28)}.work-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px;border-bottom:1px solid var(--work-line)}.work-result-head h2{margin:0;font-size:20px;font-weight:600}.work-result-drawer>.work-feedback{margin:12px 28px 0}.work-result-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:var(--work-line) transparent;padding:20px 28px 40px;overflow-wrap:anywhere}.work-result-intro h3{font-size:20px;line-height:1.6;margin:12px 0 24px;white-space:pre-wrap}.work-result-state{color:var(--work-accent);font-size:13px;font-weight:600}.work-result-files,.work-result-text{margin:28px 0}.work-result-files h3,.work-result-text>h3{font-size:16px;font-weight:600}.work-result-file{padding:14px 0;border-bottom:1px solid var(--work-line);display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.work-result-file>strong{width:100%;font-weight:600}.work-result-file>small{flex:1;color:var(--work-muted)}.work-result-process{border-top:1px solid var(--work-line);padding-top:18px;margin-top:28px}.work-result-process summary{cursor:pointer}.work-result-process ol{padding-left:22px;color:var(--work-muted);font-size:13px}.work-result-process li{margin:10px 0}.work-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.work-result-drawer .reply-content{font-size:15px;line-height:1.85;color:var(--work-ink)}.work-result-drawer .reply-actions{display:flex;flex-wrap:wrap;gap:7px}.work-result-drawer .reply-actions button{font-size:12px}.work-result-drawer .reply-original{white-space:pre-wrap;overflow-wrap:anywhere}
.work-receipt{margin:16px 0;padding:13px 16px;border:1px solid #d7e4dd;border-radius:9px;display:flex;gap:18px;align-items:center;font:13px/1.6 "Segoe UI","Microsoft YaHei UI",sans-serif}.work-receipt>div{display:flex;flex-direction:column;flex:1;gap:3px}.work-receipt strong{font-weight:600}.work-receipt span{color:#526e64}.work-receipt button{font:inherit;min-height:40px;border:1px solid #c9dbce;border-radius:6px;background:transparent;color:inherit;cursor:pointer;padding:8px 12px}.work-receipt button:focus-visible{outline:2px solid #24745b;outline-offset:3px}
html[data-workspace-appearance=dark] .work-receipt,html[data-theme=dark] .work-receipt{border-color:#314550;color:#e7f0f2}html[data-workspace-appearance=dark] .work-receipt span,html[data-theme=dark] .work-receipt span{color:#b0c2ca}
#moss-aios-shell .desktop-workspace .work-hub .work-item-meta,#moss-aios-shell .desktop-workspace .work-hub .work-item-meta time,#moss-aios-shell .desktop-workspace .work-hub .work-item-meta span{color:var(--work-muted)!important}#moss-aios-shell .desktop-workspace .work-hub .work-item-meta .work-state[data-state=attention]{color:#965927!important}
#moss-aios-shell[data-workspace-section=work] #workspace-context-nav .workspace-back{min-height:38px}#moss-aios-shell[data-desktop-view=work] .workspace-sectionbar{display:none}
@media(max-width:760px){.work-hub{padding:20px 12px 40px}.work-hub-head{align-items:flex-start;margin-bottom:24px;gap:12px}.work-hub h1{font-size:24px}.work-hub-head p{font-size:13px}.work-toolbar{gap:6px}.work-toolbar form{gap:5px}.work-toolbar>button{padding-inline:9px}.work-more[open]{right:12px;top:104px}.work-item{gap:12px;padding:20px 0;align-items:flex-start}.work-hub .work-title{font-size:16px}.work-hub .work-open{font-size:12px;padding-inline:9px}.work-result-drawer{width:100vw}.work-result-head{padding:16px}.work-result-drawer>.work-feedback{margin-inline:16px}.work-result-body{padding:16px 16px calc(32px + env(safe-area-inset-bottom))}.work-receipt{flex-wrap:wrap;gap:9px}.work-receipt button{margin-left:auto}.work-filters button{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.work-hub button,.work-result-drawer button{transition:none}}

/* Keep this new reading surface independent of the old command dashboard reset. */
.work-hub h1{text-align:left;letter-spacing:0}
.work-hub button,.work-result-drawer button{white-space:nowrap;margin:0;transition:none}
.work-toolbar form{min-width:0}.work-toolbar form input{flex:1;width:0}.work-toolbar form button{flex:none;min-width:60px}
#moss-aios-shell .desktop-workspace .work-hub{font:15px/1.7 "Segoe UI","Microsoft YaHei UI",sans-serif}
#moss-aios-shell .desktop-workspace .work-hub button{font:inherit}
#moss-aios-shell .desktop-workspace .work-hub .work-title{font-size:17px;font-weight:600;white-space:normal;background:transparent!important;color:var(--work-ink)!important;line-height:1.55}
#moss-aios-shell .desktop-workspace .work-hub .work-excerpt,#moss-aios-shell .desktop-workspace .work-hub .work-muted,#moss-aios-shell .desktop-workspace .work-hub .work-footnote{color:var(--work-muted)!important}
#moss-aios-shell .desktop-workspace .work-hub .work-excerpt{font-size:14px}
#moss-aios-shell .desktop-workspace .work-hub .work-feedback{font-size:13px;color:var(--work-muted)!important}
#moss-aios-shell .desktop-workspace .work-hub .work-feedback.is-error{color:var(--work-error)!important}
#moss-aios-shell .desktop-workspace .work-hub .work-more[open]{background:var(--work-paper)!important}
@media(max-width:760px){.work-toolbar{flex-wrap:wrap}.work-toolbar form{flex:1 0 100%;max-width:none}.work-toolbar>button{margin-left:auto}.work-more[open]{top:160px}.work-filters{flex-wrap:wrap;gap:4px;overflow:visible}.work-filters button{font-size:13px;padding-inline:8px;min-height:40px}.work-hub .work-title{white-space:normal}.work-hub{padding-inline:8px}.work-hub-head .work-primary{padding-inline:10px}}

html[data-workspace-appearance=dark] #moss-aios-shell .desktop-workspace .work-hub .work-item-meta .work-state[data-state=attention],html[data-theme=dark] .work-state[data-state=attention]{color:#edc38e!important}
html[data-workspace-appearance=dark] .work-feedback.is-error,html[data-theme=dark] .work-feedback.is-error{color:var(--work-error)!important}

@media(max-width:420px){.work-result-file>small{flex:0 0 100%}.work-result-file>button{flex-shrink:0}}

/* 8.19: tasks first; preferences have their own route. */
html body .work-hub:not(.founder-open) .founder-entry{display:none!important}
html body .work-hub.founder-open>.work-routes,html body .work-hub.founder-open>.v2-brief{display:none!important}
html body .work-hub .work-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
html body .work-hub .work-toolbar form{flex:1;min-width:180px;max-width:none}
html body .work-hub .work-more,html body .work-hub .work-more[open]{position:static!important;inset:auto!important;flex:0 0 100%;box-sizing:border-box;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html body .work-hub .work-more>summary,html body .work-hub .work-routes>summary{display:list-item;list-style:disclosure-closed;min-height:44px;box-sizing:border-box;padding:10px 4px;cursor:pointer;font-size:13px;font-weight:500;color:inherit}
html body .work-hub details[open]>summary{list-style:disclosure-open}
html body .work-hub .work-more>button{position:static!important;display:inline-flex!important;align-items:center;min-width:0;min-height:44px;margin:4px 8px 4px 0;padding:8px 12px;font-size:13px}
html body .work-hub .work-more:not([open])>button{display:none!important}
html body .work-hub .work-routes{margin:0 0 20px;border-top:1px solid var(--work-line);border-bottom:1px solid var(--work-line)}
html body .work-hub .work-route-label{margin:12px 0 2px;font-size:12px;color:var(--work-muted)}
html body .work-hub .work-project-links,html body .work-hub .work-library-links{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;border:0}
html body .work-hub .work-project-links button,html body .work-hub .work-library-links button{min-height:44px;font-size:13px}
html body .work-hub .work-routes:not([open])>:not(summary){display:none!important}
html body .work-hub .work-more .work-primary{background:var(--work-paper)!important;color:var(--work-ink)!important;border-color:var(--work-line)!important;font-weight:400}
html body .work-hub .work-filters{flex-wrap:nowrap;overflow-x:auto;gap:2px}
html body .work-hub .work-filters button{min-height:44px;min-width:44px;padding-inline:8px;font-size:13px}
@media(max-width:600px){html body .work-hub .work-toolbar form{flex:1;min-width:0}html body .work-hub .work-toolbar form button{min-width:44px;padding-inline:6px}html body .work-hub .work-hub-head{margin-bottom:20px}}

html body.phone-shell.bl-refined.phone-app .work-hub .work-toolbar{display:flex!important;flex-wrap:wrap;gap:8px}
html body.phone-shell.bl-refined.phone-app .work-hub .work-toolbar form{flex:1;width:auto;min-width:0;grid-area:auto;margin:0}
html body.phone-shell.bl-refined.phone-app .work-hub .work-toolbar>button{flex:0 0 auto;min-width:44px}
html body.phone-shell.bl-refined.phone-app .work-hub .work-more{flex:0 0 100%;width:100%}
html body.phone-shell.bl-refined.phone-app .work-hub .work-more>summary{padding:10px 4px}
html body.phone-shell.bl-refined.phone-app .work-hub.founder-open .work-toolbar{justify-content:flex-start}

/* Keep results readable while a requested filter is still unconfirmed. */
html body .work-hub .work-retry{margin:0 0 14px;min-height:40px;font-size:13px}
html body .work-hub .work-retry[hidden]{display:none!important}
html body .work-hub .work-list[aria-busy=true]{cursor:progress}
html body .work-hub .work-feedback{overflow-wrap:anywhere}
html body.phone-shell.bl-refined.phone-app .work-hub .work-retry{min-height:44px}

/* mobile-studio.css */
@font-face{font-family:"Moss Noto";src:url("./noto-ui.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
/* MOSS mobile working table shares the desktop's palette and project grammar. */
:root,:root[data-theme=light]{--bg:#f3f6fb;--panel:#fff;--line:#dce3ee;--txt:#17263d;--dim:#53657e;--blue:#3159d9;--input:#fff;--bubble-user:#edf2ff;--bubble-ai:#fff;--toast:#fff;--on-accent:#fff}
:root[data-theme=dark]{--bg:#101b2d;--panel:#152136;--line:#34435c;--txt:#e4edff;--dim:#b0c0d9;--blue:#a4bcff;--input:#152136;--bubble-user:#26375a;--bubble-ai:#152136;--toast:#1a2941;--on-accent:#17263d;--studio-ink:#e4edff;--studio-muted:#b0c0d9;--studio-blue:#a4bcff;--studio-line:#34435c;--studio-paper:#152136;--studio-soft:#1a2941;--studio-ground:#101b2d}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--bg:#101b2d;--panel:#152136;--line:#34435c;--txt:#e4edff;--dim:#b0c0d9;--blue:#a4bcff;--input:#152136;--bubble-user:#26375a;--bubble-ai:#152136;--toast:#1a2941;--on-accent:#17263d;--studio-ink:#e4edff;--studio-muted:#b0c0d9;--studio-blue:#a4bcff;--studio-line:#34435c;--studio-paper:#152136;--studio-soft:#1a2941;--studio-ground:#101b2d}}
body{background:var(--bg);color:var(--txt);max-width:1040px;padding-top:18px;padding-bottom:calc(86px + env(safe-area-inset-bottom));font-family:"Segoe UI","Microsoft YaHei UI",sans-serif}
body>h1{font-size:21px;margin:0 0 20px;letter-spacing:0;display:flex;align-items:center;gap:10px}
.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;margin:0;padding:8px max(10px,calc((100vw - 1040px)/2)) calc(8px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line);gap:5px;box-shadow:0 -8px 28px #17263d06}
.mobile-nav button{border:0;min-height:48px;font-size:11px;border-radius:8px;line-height:1.3;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:4px}
.mobile-nav button[aria-pressed=true]{background:var(--bubble-user);color:var(--blue)}
.mobile-nav svg{width:19px;height:19px;stroke-width:1.7}
.mobile-connection-actions{padding:0 0 16px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.mobile-context{border:0;padding:4px 0 12px}
.mobile-context h2{font-size:26px;letter-spacing:-.025em}
.card{border-color:var(--line);border-radius:12px;box-shadow:0 6px 22px #17263d05}
#chat-box{background:var(--panel);padding:20px;border-radius:12px}
#chat-input{border-color:#b9c9e1;border-radius:10px;line-height:1.8}
#chat-history{max-height:45dvh;min-height:160px}
.studio-workspace{padding:8px 0 24px}
.studio-workspace .studio-sheet{box-shadow:0 10px 30px #17263d09}
.studio-workspace :is(button,input,textarea,select){margin-bottom:0}
.studio-workspace .studio-field{margin-bottom:20px}
.studio-workspace .studio-code{color:var(--txt);background:var(--panel)}
.studio-chat-context{margin-bottom:16px}
.work-hub{padding:8px 0 24px}
.work-hub h1{font-size:28px;letter-spacing:-.025em}
.work-toolbar{gap:8px}
.work-toolbar button{min-height:44px;border-radius:8px}
.work-list{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:0 18px}
.work-item{padding:20px 0}
.work-primary{background:#3159d9!important;color:white!important;border-color:#3159d9!important}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8eabff;outline-offset:3px}
::selection{background:#cbd9ff;color:#17263d}
*{scrollbar-color:#b5c5dd transparent;scrollbar-width:thin}
@media(max-width:350px){body{padding-inline:12px}.studio-identity{padding:18px 15px}.studio-main,.studio-inspector{padding:20px 15px}.studio-workspace h1{font-size:23px}.studio-chat-context select{max-width:190px}.studio-actions button{padding:10px;font-size:12px}.studio-steps{padding-inline:10px;gap:2px}.work-toolbar>button{font-size:12px}}

/* Project context is a separate row, never a sibling of the send button. */
#chat-box .chat-compose{display:flex;align-items:flex-end;gap:10px;min-width:0}
#chat-box .chat-compose #chat-input{flex:1;min-width:0;width:auto}
#chat-box .chat-compose button{flex:none}
.studio-workspace h1,.studio-workspace h2{text-align:left}
.studio-workspace .studio-page-head{margin-bottom:20px}
.studio-workspace .studio-identity{padding:20px}
.studio-workspace .studio-identity h1{font-size:24px}
@media(max-width:350px){.studio-workspace .studio-identity{padding:18px 15px}.studio-workspace .studio-identity h1{font-size:22px}}

body,#moss-aios-shell{--sans:"Moss Noto","Microsoft YaHei UI",sans-serif;font-family:var(--sans)}
button,input,textarea,select,.studio-workspace,.studio-chat-context select{font-family:"Moss Noto","Microsoft YaHei UI",sans-serif}

/* mobile-chat.css */
/* A single reading surface; composer and navigation stay outside its scroll. */
body[data-mobile-view=chat]{position:fixed;top:var(--mobile-viewport-top,0px);left:0;right:0;height:var(--mobile-viewport-height,100dvh);min-height:0;overflow:hidden;padding:10px 16px calc(72px + env(safe-area-inset-bottom));margin-inline:auto}
body[data-mobile-view=chat]>h1{font-size:18px;min-height:36px;margin:0 0 4px}
body[data-mobile-view=chat]>h1 img{width:30px;height:30px}
body[data-mobile-view=chat]>#mobile-search-open{display:none}
body[data-mobile-view=chat]>.mobile-connection-actions{margin:0;padding:0;border:0;min-height:30px;font-size:12px}
body[data-mobile-view=chat]>.mobile-connection-actions summary{min-height:30px;padding:4px}
body[data-mobile-view=chat]>.mobile-connection-actions details[open]>div{position:absolute;right:0;top:100%;width:240px;background:var(--panel);border:1px solid var(--line);padding:10px;z-index:45;box-shadow:0 8px 24px #17263d20}
body[data-mobile-view=chat]>[data-mobile-panel=chat],body[data-mobile-view=chat] .mobile-assistant{overflow:hidden;min-height:0}
body[data-mobile-view=chat] .mobile-chat-title{display:none}
body[data-mobile-view=chat] #mobile-conversation-tools{flex:none;margin:0;padding:0;border:0;max-height:40%;overflow:auto}
body[data-mobile-view=chat] #mobile-conversation-tools>summary{min-height:44px;padding:11px 0;font-size:13px}
body[data-mobile-view=chat] .mobile-starters{margin:4px 0 12px}
#mobile-chat-stage{position:relative;flex:1;min-height:0;border-top:1px solid var(--line)}
#mobile-chat-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:10px 2px 18px;scrollbar-gutter:stable}
#mobile-chat-scroll:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
body[data-mobile-view=chat] #mobile-chat-scroll :is(#chat-history,#chat){min-height:0;max-height:none!important;height:auto;overflow:visible;flex:none}
body[data-mobile-view=chat] #chat-history:empty{display:none}
body[data-mobile-view=chat] #chat-history details{padding:16px 0;border-bottom:1px solid var(--line)}
body[data-mobile-view=chat] #chat-history summary{font-size:16px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
body[data-mobile-view=chat] #chat-history :is(p,li),body[data-mobile-view=chat] #chat{font-size:16px;line-height:1.8}
body[data-mobile-view=chat] #chat-history small{font-size:12px;color:var(--dim)}
#mobile-chat-latest{position:absolute;bottom:10px;right:8px;min-height:44px;padding:10px 16px;margin:0;border:1px solid var(--blue);background:var(--panel);color:var(--blue);box-shadow:0 5px 18px #17263d16;border-radius:22px;font-size:13px}
#mobile-chat-latest[hidden]{display:none}
body[data-mobile-view=chat] .mobile-composer{position:relative;bottom:auto;flex:none;min-height:0;max-height:none;overflow:visible;padding:8px 0 0;margin:0;border-top:1px solid var(--line)}
body[data-mobile-view=chat] .studio-chat-context{margin:0 0 6px;padding:0 0 6px;border:0;gap:6px}
body[data-mobile-view=chat] .studio-chat-context label{font-size:12px}
body[data-mobile-view=chat] .studio-chat-context select{min-height:36px;margin:0;font-size:13px;padding:6px}
body[data-mobile-view=chat] .mobile-compose-row{padding:8px;gap:8px}
body[data-mobile-view=chat] .mobile-compose-row #chat-input{min-height:44px;max-height:96px;line-height:1.6}
body[data-mobile-view=chat] .mobile-compose-row #chat-send{min-height:44px}
body[data-mobile-view=chat] .mobile-compose-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:4px}
body[data-mobile-view=chat] .mobile-compose-actions button{min-height:44px;margin:0;font-size:13px;flex:1}
body[data-mobile-view=chat] .mobile-compose-actions .meta{display:none}
body[data-mobile-view=chat] .mobile-photo{margin:4px 0;padding:6px 0;gap:8px}
body[data-mobile-view=chat] .mobile-photo img{width:48px;height:48px}
body[data-mobile-view=chat] .mobile-photo small{font-size:12px}
body[data-mobile-view=chat] .mobile-nav{position:absolute;top:auto;bottom:0}
body[data-mobile-view=chat].mobile-keyboard-open{padding-bottom:0}
body[data-mobile-view=chat].mobile-keyboard-open .mobile-nav{display:none}
body[data-mobile-view=chat].mobile-keyboard-open>h1{display:none}
body[data-mobile-view=chat] #mobile-chat-attachments{max-height:100px;overflow:auto}
@media(max-height:500px){body[data-mobile-view=chat]>h1{display:none}}

/* mobile-shell.css */
/* Phone application: conversation, navigation, and grouped configuration. */
body.phone-shell{--phone-canvas:#f5f6f8;--phone-paper:#fff;--phone-soft:#f0f1f3;--phone-ink:#202124;--phone-muted:#666a73;--phone-line:#e7e8ec;--phone-accent:#2463dc;--phone-on-accent:#fff;--phone-primary:#25262a;--phone-on-primary:#fff;--phone-shadow:0 8px 32px #171b2614;--bg:var(--phone-canvas);--panel:var(--phone-paper);--card:var(--phone-paper);--txt:var(--phone-ink);--dim:var(--phone-muted);--line:var(--phone-line);--blue:var(--phone-accent);--input:var(--phone-paper);--bubble-user:var(--phone-soft);--bubble-ai:var(--phone-paper);--on-accent:var(--phone-on-accent);--studio-ink:var(--phone-ink);--studio-muted:var(--phone-muted);--studio-line:var(--phone-line);--studio-paper:var(--phone-paper);--studio-soft:var(--phone-soft);--studio-ground:var(--phone-canvas);--studio-blue:var(--phone-accent);background:var(--phone-canvas);color:var(--phone-ink);padding:0 16px 24px;max-width:850px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei UI',sans-serif;font-size:16px;line-height:1.6;letter-spacing:0}
html[data-theme=dark] body.phone-shell{--phone-canvas:#141519;--phone-paper:#1f2026;--phone-soft:#2b2c33;--phone-ink:#f0f0f3;--phone-muted:#abacb6;--phone-line:#34353d;--phone-accent:#8ab4ff;--phone-on-accent:#132955;--phone-primary:#ededf2;--phone-on-primary:#202124;--phone-shadow:0 8px 32px #0003}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body.phone-shell{--phone-canvas:#141519;--phone-paper:#1f2026;--phone-soft:#2b2c33;--phone-ink:#f0f0f3;--phone-muted:#abacb6;--phone-line:#34353d;--phone-accent:#8ab4ff;--phone-on-accent:#132955;--phone-primary:#ededf2;--phone-on-primary:#202124;--phone-shadow:0 8px 32px #0003}}
.phone-shell>h1,.phone-shell [hidden],.phone-shell [data-legacy-tools]{display:none!important}
.phone-shell *,.phone-shell *:before,.phone-shell *:after{box-sizing:border-box}
.phone-shell :is(button,input,select,textarea){font:inherit}
.phone-shell button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .12s ease-out;cursor:pointer}
.phone-shell button:disabled{cursor:default;opacity:.42}
.phone-shell button:not(:disabled):active{background-color:var(--phone-soft);transform:scale(.98)}
.phone-shell :is(button,input,select,textarea,a,summary):focus-visible{outline:2px solid var(--phone-accent);outline-offset:3px}
.phone-shell :is(input,textarea){caret-color:var(--phone-accent)}
.phone-shell ::placeholder{color:var(--phone-muted);opacity:1}
.phone-shell ::selection{background:#dbe8ff;color:#14365f}
.phone-shell *{scrollbar-color:var(--phone-line) transparent;scrollbar-width:thin}
.phone-shell svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.phone-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.phone-shell .phone-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:0;border-radius:50%;background:transparent;color:var(--phone-ink)}
.phone-header{position:sticky;top:0;z-index:25;display:grid;grid-template-columns:88px minmax(0,1fr) 88px;align-items:center;flex:none;min-height:calc(60px + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 8px 6px;margin-inline:-16px;background:var(--phone-canvas)}
.phone-header h1{margin:0;font-size:18px;font-weight:600;line-height:1.4;text-align:center;letter-spacing:0}
.phone-header>.phone-icon{justify-self:start}.phone-header-actions{display:flex;justify-content:flex-end;grid-column:3}
.phone-identity{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0}.phone-identity>img{width:24px;height:24px;border-radius:8px}.phone-identity>div{min-width:0}.phone-subtitle{display:none}
.phone-shell:not([data-mobile-view=chat]) .phone-identity>img{display:none}
body.phone-shell[data-mobile-view=chat]{display:flex;flex-direction:column;gap:0;padding:0;min-height:0;overflow:hidden;background:var(--phone-paper)}
.phone-shell[data-mobile-view=chat] .phone-header{background:var(--phone-paper);margin:0}
.phone-shell[data-mobile-view=chat]>[data-mobile-panel=chat]{flex:1;min-height:0;display:flex;margin:0}
.phone-shell[data-mobile-view=chat] .mobile-assistant{display:flex;flex-direction:column;flex:1;border:0;border-radius:0;padding:0;margin:0;box-shadow:none;background:transparent}
.phone-shell[data-mobile-view=chat] #mobile-chat-stage{border:0;flex:1;min-height:0}
.phone-shell #mobile-chat-scroll{padding:16px 20px 24px;scrollbar-gutter:auto;-webkit-overflow-scrolling:touch}
.phone-shell #chat-history-state{font-size:12px;text-align:center;color:var(--phone-muted);margin:4px 0}
.phone-shell #chat-history-more{display:block;margin:4px auto 12px;min-height:44px;background:transparent;border:0;color:var(--phone-muted);font-size:13px}.phone-shell #chat-history-more:disabled{display:none}
.phone-shell #chat-history{color:var(--phone-ink);font-size:16px}
.phone-shell .phone-message{margin:18px 0!important;overflow-wrap:anywhere;line-height:1.8;max-width:100%;font-size:16px}
.phone-shell .phone-message>span:first-child:not(:last-child){display:none}
.phone-shell .phone-message[data-role=user],.phone-shell .phone-history-question{background:var(--phone-soft);border:0;border-radius:20px;max-width:88%;width:fit-content;margin:16px 0 24px auto!important;padding:11px 16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:16px;color:var(--phone-ink)}
.phone-shell .phone-message[data-role=ai]{margin:24px 0 32px!important;padding:0}.phone-shell .phone-message[data-role=ai]>span:first-child{display:none}
.phone-shell .phone-history-answer{font-size:16px;line-height:1.8;color:var(--phone-ink);padding:0}.phone-shell .phone-history-answer:before{display:none}
.phone-shell #chat-history>article{border:0;padding:0;margin:0 0 24px}
.phone-shell #chat-history .phone-history-meta{border:0;padding:0;margin:8px 0;color:var(--phone-muted)}
.phone-shell #chat-history .phone-history-meta summary{font-weight:400;font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px}
.phone-shell .phone-message audio{display:block;width:min(100%,280px);height:40px;margin:0 0 8px}.phone-shell .voice-transcript{display:block;font-size:14px}
.phone-shell .moss-reply{font-family:inherit;font-size:16px;line-height:1.85;--reply-text:var(--phone-ink);--reply-muted:var(--phone-muted);--reply-line:var(--phone-line);--reply-surface:var(--phone-paper);--reply-accent:var(--phone-accent)}
.phone-shell .reply-content{line-height:1.85}.phone-shell .reply-streaming>.reply-content:not(:empty)>:last-child:after{width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-left:5px;background:var(--phone-muted);animation:none}
.phone-shell .reply-actions button{font-size:12px;background:transparent;border-color:var(--phone-line);color:var(--phone-muted)}
.phone-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:min(64dvh,500px);max-width:420px;padding:28px 0;margin:0 auto}
.phone-welcome img{width:72px;height:72px;border-radius:22px;margin-bottom:22px}.phone-welcome h2{font-size:25px;line-height:1.45;font-weight:600;letter-spacing:-.02em;margin:0 0 10px;text-wrap:balance}.phone-welcome>p{font-size:15px;color:var(--phone-muted);line-height:1.7;margin:0}
.phone-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:32px 0 0}.phone-suggestions button{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid var(--phone-line);border-radius:14px;background:var(--phone-paper);color:var(--phone-ink);padding:10px 13px;margin:0;text-align:left}.phone-suggestions button svg{width:18px;height:18px;color:var(--phone-muted)}.phone-suggestion-copy strong{font-size:13px;font-weight:400;white-space:nowrap}.phone-suggestion-copy small{display:none}
.phone-shell[data-mobile-view=chat] .mobile-composer{position:relative;bottom:auto;flex:none;padding:8px 12px max(12px,env(safe-area-inset-bottom));border:0;margin:0;background:var(--phone-paper)}
.phone-shell[data-mobile-view=chat] .mobile-compose-row{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:6px;margin:0;border:0;border-radius:24px;background:var(--phone-soft);box-shadow:none;contain:layout}
.phone-shell[data-mobile-view=chat] .mobile-compose-row #chat-input{background:transparent!important;border:0!important;box-shadow:none;outline:none;border-radius:0;margin:0;padding:10px 12px;line-height:24px;min-height:44px;max-height:min(120px,24dvh);width:100%;flex:none;min-width:0;font-size:16px;color:var(--phone-ink);resize:none;-webkit-appearance:none;appearance:none}
.phone-compose-toolbar{display:flex;align-items:center;gap:4px;height:44px;flex:none}.phone-toolbar-space{flex:1}
.phone-shell .mobile-compose-row #chat-send,.phone-shell .mobile-compose-row .composer-plus{border:0;display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex:none;margin:0;padding:10px;border-radius:50%;background:transparent;color:var(--phone-ink)}
.phone-shell .mobile-compose-row #chat-send{background:var(--phone-primary);color:var(--phone-on-primary)}.phone-shell .mobile-compose-row #chat-send:disabled{opacity:1;background:var(--phone-line);color:var(--phone-muted)}
.phone-shell .mobile-compose-row .composer-plus{border:0!important;background:transparent!important;border-radius:50%!important;color:var(--phone-ink)!important}
.phone-shell .phone-call-button{display:flex;align-items:center;justify-content:center;gap:7px;width:auto;padding:0 12px;border-radius:22px;background:var(--phone-paper);font-size:13px;min-height:44px}.phone-call-button svg{width:18px;height:18px}
.phone-shell .phone-hold{flex:none;width:100%;min-width:0;min-height:52px;border:0;background:var(--phone-paper);color:var(--phone-ink);font-size:16px;font-weight:500;margin:0;padding:12px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:18px}.phone-shell .phone-hold.recording{background:#dceaff;color:#204b88}.phone-shell .phone-hold.cancel{background:#fbe2df;color:#8b2923}
.phone-voice-notice{font-size:14px;line-height:1.6;color:var(--phone-muted);margin:8px 10px 2px;overflow-wrap:anywhere}.phone-shell .mobile-compose-actions{display:none!important}
.phone-shell .phone-voice-help{inset:0;margin:auto;width:calc(100% - 32px);max-width:420px;max-height:calc(100dvh - 48px);padding:22px;border-radius:24px;overflow:auto}.phone-voice-help p{font-size:16px;line-height:1.65;margin:0 0 16px;overflow-wrap:anywhere}.phone-voice-help .phone-voice-help-steps{font-size:14px;color:var(--phone-muted);margin-bottom:24px}.phone-shell .phone-voice-help-action{width:100%;min-height:48px;border:0;border-radius:14px;background:var(--phone-primary);color:var(--phone-on-primary);margin:0;padding:12px 16px}.phone-voice-help .phone-voice-help-error{font-size:14px;color:var(--phone-ink)}
.phone-shell #tk-card{flex:none;margin:4px 0 8px;padding:16px;border-radius:16px;max-height:40dvh;overflow:auto;font-size:14px}.phone-shell #tk-card input{font-size:16px}
.phone-shell[data-mobile-view=chat].mobile-keyboard-open .mobile-composer{padding:4px 8px 0}.phone-shell[data-mobile-view=chat].mobile-keyboard-open .mobile-compose-row{border-radius:20px 20px 0 0;box-shadow:none}.phone-shell[data-mobile-view=chat].mobile-keyboard-open #mobile-chat-scroll{padding-bottom:12px}
.phone-shell .mobile-attachment{min-width:0;max-width:100%}.phone-shell .mobile-attachment>span{min-width:0;overflow-wrap:anywhere}.phone-shell .mobile-attachment button{min-width:44px;min-height:44px;flex:none}
.phone-shell dialog{color:var(--phone-ink);background:var(--phone-paper);border:0;box-shadow:0 12px 40px #14222a24;overscroll-behavior:contain;font-size:15px}.phone-shell dialog::backdrop{background:rgb(20 23 32 / 32%)}
.phone-dialog-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.phone-dialog-head h2{font-size:20px;font-weight:600;margin:0}
.phone-shell .phone-drawer{margin:0;inset:0 auto 0 0;width:min(340px,88vw);height:100dvh;max-height:var(--mobile-viewport-height,100dvh);padding:max(16px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));border-radius:0 20px 20px 0;overflow:auto;box-shadow:8px 0 32px #14222a20;background:var(--phone-paper)}
.phone-shell .phone-drawer #mobile-search-open{position:static;display:flex;align-items:center;gap:10px;min-height:44px;width:100%;padding:10px 14px;margin:0 0 14px;background:var(--phone-soft);border:0;border-radius:12px;color:var(--phone-muted);font-size:14px}
.phone-drawer .phone-new-chat{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;min-height:48px;padding:10px 14px;background:var(--phone-primary);border:0;border-radius:12px;font-size:15px;font-weight:500;color:var(--phone-on-primary)}
.phone-shell .phone-drawer .mobile-nav{display:flex!important;flex-direction:column;position:static!important;inset:auto;width:auto;transform:none;border:0;padding:0;margin:0 0 12px;background:transparent;box-shadow:none;gap:2px}
.phone-shell .phone-drawer .mobile-nav button{display:flex;flex-direction:row;gap:12px;justify-content:flex-start;align-items:center;padding:11px 14px;font-size:15px;min-height:46px;border:0;border-radius:12px;color:var(--phone-ink);background:transparent;margin:0}.phone-shell .phone-drawer .mobile-nav button[aria-pressed=true]{background:var(--phone-soft);color:var(--phone-ink);font-weight:600}
.phone-history{border-top:1px solid var(--phone-line);padding:20px 0 4px;margin:16px 0 0}.phone-history h2{font-size:12px;font-weight:400;color:var(--phone-muted);margin:0 14px 8px}.phone-history-list button{display:block;text-align:left;width:100%;min-height:46px;padding:11px 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;background:transparent;color:var(--phone-ink);border-radius:12px;font-size:14px;margin:2px 0}.phone-history-list button[aria-current=page]{background:var(--phone-soft)}
.phone-shell .phone-drawer #mobile-conversation-tools{max-height:none;border:0;margin:8px 0 0;padding:0}.phone-drawer #mobile-conversation-tools summary{font-size:12px!important;min-height:44px;padding:12px 14px;color:var(--phone-muted)}
.phone-drawer .mobile-session-controls{display:flex;flex-wrap:wrap;gap:8px}.phone-drawer .mobile-session-controls>*{max-width:100%;min-width:0;font-size:14px;min-height:44px}.phone-drawer .mobile-session-controls :is(select,input){width:100%;font-size:16px!important;background:var(--phone-soft)}.phone-drawer .mobile-starters{display:none}
.phone-drawer .mobile-connection-actions{display:block;border-top:1px solid var(--phone-line);padding:16px 14px 0;margin:12px 0 0;color:var(--phone-muted);font-size:12px}.phone-drawer .mobile-connection-actions details>div{position:static!important;box-shadow:none!important;width:auto!important;background:transparent!important;border:0!important}.phone-drawer .mobile-connection-actions summary{padding:12px 0;min-height:44px}.phone-drawer .mobile-connection-actions button{min-height:44px}
.phone-shell .phone-sheet{margin:auto auto 0;inset:auto 0 0;width:100%;max-width:850px;max-height:min(86dvh,var(--mobile-viewport-height,100dvh));border-radius:28px 28px 0 0;padding:12px 20px max(24px,env(safe-area-inset-bottom));overflow:auto}.phone-sheet:before{content:'';display:block;width:34px;height:4px;background:var(--phone-line);border-radius:4px;margin:0 auto 8px}.phone-sheet[open]{animation:phone-sheet-in .22s cubic-bezier(.16,1,.3,1)}
@keyframes phone-sheet-in{from{transform:translateY(24px)}to{transform:translateY(0)}}
.phone-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 24px}.phone-action-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;border:0;background:transparent;color:var(--phone-ink);font-size:13px;min-height:80px;padding:4px 0;margin:0}.phone-action-grid svg{box-sizing:content-box;background:var(--phone-soft);padding:16px;border-radius:18px;width:24px;height:24px}
.phone-sheet h3{font-size:13px;color:var(--phone-muted);font-weight:400;margin:20px 0 12px}.phone-create-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.phone-create-actions button{display:flex;align-items:center;gap:10px;margin:0;padding:13px 12px;min-height:48px;border:0;border-radius:12px;background:var(--phone-soft);color:var(--phone-ink);font-size:13px;text-align:left}.phone-create-actions svg{width:20px;height:20px}
.phone-sheet .studio-chat-context{display:flex;flex-wrap:wrap;padding:0!important;border:0!important;margin:0!important;gap:8px}.phone-shell .studio-chat-context :is(label,span,select){color:var(--phone-ink)!important}.phone-shell .studio-chat-context select{background:var(--phone-paper);border-color:var(--phone-line)!important;border-radius:12px;min-height:44px;font-size:16px}
.phone-shell .phone-call{position:fixed;inset:0;margin:auto;width:100%;max-width:850px;height:100dvh;max-height:100dvh;border-radius:0;padding:max(24px,env(safe-area-inset-top)) 24px max(36px,env(safe-area-inset-bottom));background:var(--phone-canvas);color:var(--phone-ink);overflow:auto}.phone-call[open]{display:flex;flex-direction:column}.phone-call-heading{display:flex;justify-content:space-between;color:var(--phone-muted);font-size:14px;flex:none}.phone-call-center{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 0}.phone-call-center img{border-radius:30px;margin:16px 0 38px;box-shadow:0 12px 40px #20212410}.phone-call-center h2{font-size:22px;text-align:center;font-weight:500;line-height:1.6;margin:0 0 22px}.phone-call-center p{white-space:pre-wrap;line-height:1.8;font-size:15px;color:var(--phone-muted);max-height:32dvh;overflow:auto;margin:0;width:100%;text-align:left;overflow-wrap:anywhere}
.phone-call-controls{display:flex;justify-content:center;gap:34px;flex:none}.phone-call-controls button{width:88px;min-height:64px;border:0;border-radius:32px;font-size:15px;background:var(--phone-soft);color:var(--phone-ink);margin:0}.phone-call-controls button[data-call-hangup]{background:#bf343c;color:#fff}.phone-call-controls button[aria-pressed=true]{background:var(--phone-primary);color:var(--phone-on-primary)}.phone-call-center [data-call-resume]{min-height:44px;padding:10px 22px;margin-top:20px;border:0;border-radius:24px;background:var(--phone-paper);color:var(--phone-accent)}
.phone-settings-body{padding-bottom:20px}.phone-settings-group{margin:20px 0 24px}.phone-settings-group:first-child{margin-top:12px}.phone-settings-group>h2{font-size:13px;font-weight:500;color:var(--phone-muted);margin:0 16px 9px;line-height:1.5}.phone-settings-list{background:var(--phone-paper);border-radius:18px;overflow:hidden}
.phone-shell .phone-setting{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 16px;margin:0;border:0;border-radius:0;background:transparent;color:var(--phone-ink);text-align:left;position:relative}.phone-setting+.phone-setting:before{content:'';position:absolute;height:1px;background:var(--phone-line);top:0;left:60px;right:0}
.phone-setting-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--phone-soft);color:var(--phone-ink);flex:none}.phone-setting-icon svg{width:19px;height:19px}.phone-setting-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0;font-size:15px;line-height:1.5}.phone-setting-copy small{font-size:12px;color:var(--phone-muted);line-height:1.5;max-width:18em}.phone-setting-value{font-size:13px;color:var(--phone-muted);max-width:38%;overflow-wrap:anywhere;text-align:right}.phone-setting>svg{width:15px;height:15px;color:var(--phone-muted)}
.phone-switch-row input{appearance:none;-webkit-appearance:none;flex:none;width:48px;height:28px;min-height:28px;border:0!important;border-radius:20px;margin:0;padding:0;background:#a4a7b1;box-shadow:none;position:relative;cursor:pointer}.phone-switch-row input:after{content:'';position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .16s cubic-bezier(.16,1,.3,1)}.phone-switch-row input:checked{background:var(--phone-accent)}.phone-switch-row input:checked:after{transform:translateX(20px)}.phone-switch-row input:disabled{opacity:.45;cursor:default}
.phone-settings-footer{display:flex;justify-content:center;padding:4px 0 12px}.phone-shell .phone-text-button{border:0;border-radius:10px;background:transparent;color:var(--phone-accent);font-size:14px;min-height:44px;padding:10px 16px;margin:0}
.phone-settings-status{margin:12px 0;padding:12px 16px;border-radius:12px;background:var(--phone-paper);color:var(--phone-muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.phone-settings-status.is-error{background:#fff0ef;color:#a52c30}.phone-settings-note{color:var(--phone-muted);font-size:14px;line-height:1.8;margin:16px 8px 24px;overflow-wrap:anywhere}
.phone-choice-list{border:0;margin:0;padding:0;background:var(--phone-paper);border-radius:18px;overflow:hidden;min-width:0}.phone-choice{display:flex;align-items:center;gap:12px;position:relative;min-height:86px;padding:20px;margin:0;color:var(--phone-ink);cursor:pointer}.phone-choice+.phone-choice{border-top:1px solid var(--phone-line)}
.phone-choice input[type=radio]{appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}.phone-choice input:focus-visible{outline-offset:-3px;border-radius:12px}.phone-choice:has(input:checked){background:color-mix(in srgb,var(--phone-accent) 6%,var(--phone-paper))}.phone-choice:has(input:disabled){opacity:.45;cursor:default}
.phone-choice>span:not(.phone-choice-check):not(.phone-theme-preview){display:flex;flex:1;flex-direction:column;min-width:0;gap:4px;pointer-events:none}.phone-choice strong{font-size:16px;font-weight:500}.phone-choice small{font-size:13px;color:var(--phone-muted);line-height:1.6}.phone-choice-check{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--phone-line);border-radius:50%;color:var(--phone-on-accent);flex:none;pointer-events:none}.phone-choice-check svg{width:16px;height:16px;visibility:hidden;stroke-width:2.4}.phone-choice:has(input:checked) .phone-choice-check{background:var(--phone-accent);border-color:var(--phone-accent)}.phone-choice:has(input:checked) .phone-choice-check svg{visibility:visible}
.phone-range-list{border-radius:18px;background:var(--phone-paper);padding:2px 20px}.phone-range{display:block;padding:22px 0;margin:0}.phone-range+.phone-range{border-top:1px solid var(--phone-line)}.phone-range-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.phone-range-head strong{font-size:16px;font-weight:500}.phone-range output{font-size:14px;font-variant-numeric:tabular-nums;color:var(--phone-muted)}.phone-range input[type=range]{width:100%;height:44px;margin:0;padding:0;border:0;background:transparent;accent-color:var(--phone-accent);box-shadow:none;cursor:pointer}.phone-range input:disabled{opacity:.4}.phone-range-ends{display:flex;justify-content:space-between;color:var(--phone-muted);font-size:12px;margin-top:-2px}.phone-range-unavailable{display:block;font-size:12px;color:var(--phone-muted);margin-top:10px}
.phone-settings-save{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 max(16px,env(safe-area-inset-bottom));background:var(--phone-canvas);margin-top:24px}.phone-shell .phone-primary{min-height:48px;min-width:140px;border:0;border-radius:14px;background:var(--phone-primary);color:var(--phone-on-primary);padding:12px 22px;margin:0;font-size:15px;font-weight:500}.phone-shell .phone-primary:not(:disabled):active,.phone-drawer .phone-new-chat:not(:disabled):active{background:var(--phone-primary);opacity:.8}
.phone-theme-preview{display:flex;flex-direction:column;gap:5px;flex:none;width:48px;height:64px;border:1px solid #d9dbe1;border-radius:8px;padding:8px 5px;background:#fff;pointer-events:none}.phone-theme-preview i{height:6px;display:block;background:#dddfe6;border-radius:2px}.phone-theme-preview i:nth-child(2){width:70%;align-self:flex-end;background:#b9cff5}.phone-theme-preview i:nth-child(3){margin-top:auto;height:9px}.phone-theme-preview.dark{background:#202126;border-color:#484b54}.phone-theme-preview.dark i{background:#4e515e}.phone-theme-preview.auto{background:linear-gradient(90deg,#fff 50%,#202126 50%)}
.phone-guide-page .feature-guide{border:0;padding:0;margin:12px 0}.phone-guide-page .feature-guide-head h2{font-size:21px}.phone-guide-page .feature-guide-row{background:var(--phone-paper);border:0;border-radius:16px;padding:16px;margin:12px 0}.phone-guide-page .feature-guide-row h3{font-size:16px}.phone-guide-page input{font-size:16px;min-height:48px;background:var(--phone-paper);border-radius:14px}.phone-guide-page button{min-height:44px}
.phone-shell .mobile-context>h2,.phone-shell .mobile-context>p{display:none}.phone-shell .mobile-context{padding:4px 0 16px}.phone-shell .mobile-context nav{gap:4px;display:flex;padding:4px;border-radius:14px;background:var(--phone-soft)}.phone-shell .mobile-context nav button{flex:1;min-height:44px;margin:0;border:0;border-radius:10px;font-size:14px;background:transparent;color:var(--phone-muted)}.phone-shell .mobile-context nav button[aria-current=page]{background:var(--phone-paper);color:var(--phone-ink);box-shadow:0 2px 5px #20212408}
.phone-shell .card{box-shadow:none;border-color:var(--phone-line);border-radius:18px}.phone-shell :is([data-mobile-panel=work],[data-mobile-panel=daily],[data-mobile-panel=tasks],[data-mobile-panel=overview]) button{min-height:44px;border-radius:12px}
.phone-toolbox{padding:8px 0 24px}.phone-toolbox-intro{color:var(--phone-muted);font-size:14px;line-height:1.8;margin:4px 8px 24px}.phone-toolbox>button{display:flex;align-items:center;gap:16px;text-align:left;width:100%;min-height:80px;margin:0;padding:16px;border:0;border-bottom:1px solid var(--phone-line);border-radius:0;background:var(--phone-paper);color:var(--phone-ink)}.phone-toolbox>button:nth-child(2){border-radius:18px 18px 0 0}.phone-toolbox>button:last-child{border:0;border-radius:0 0 18px 18px}.phone-toolbox>button>svg{color:var(--phone-ink);width:22px;height:22px;flex:none}.phone-toolbox>button>span{display:flex;flex-direction:column;min-width:0;gap:4px}.phone-toolbox strong{font-size:15px;font-weight:500}.phone-toolbox small{font-size:12px;color:var(--phone-muted);line-height:1.6}
.phone-shell #net-banner{flex:none;margin:0;padding:9px 16px;border-radius:0;background:var(--phone-soft);color:var(--phone-ink);font-size:12px;line-height:1.6}.phone-shell #chat-history-retry{display:block;min-height:44px;margin:0 auto 16px;padding:8px 18px;border:1px solid var(--phone-line);border-radius:12px;background:var(--phone-paper);color:var(--phone-accent);font-size:13px}.phone-reply-recovery{padding:12px 0 0;margin-top:12px;border-top:1px solid var(--phone-line);color:var(--phone-muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.phone-reply-recovery p{margin:0}.phone-reply-recovery button{min-height:44px;margin:8px 0 0;padding:8px 14px;border:1px solid var(--phone-line);border-radius:12px;background:var(--phone-paper);color:var(--phone-accent);font-size:13px}
.phone-shell #toast{top:calc(68px + env(safe-area-inset-top));max-width:min(360px,calc(100vw - 32px));padding:12px 16px;border:1px solid var(--phone-line);border-radius:14px;background:var(--phone-paper);color:var(--phone-ink);box-shadow:var(--phone-shadow);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
@media(min-width:600px){.phone-shell #mobile-chat-scroll{padding-inline:48px}.phone-shell[data-mobile-view=chat] .mobile-composer{padding-inline:32px}.phone-preferences{max-width:600px;margin:auto}}
@media(max-width:350px){.phone-identity>img{display:none}.phone-setting{gap:9px!important;padding-inline:12px!important}.phone-setting-icon{width:28px;height:28px}.phone-setting-value{font-size:12px}.phone-suggestions{gap:8px}.phone-suggestions button{padding-inline:10px}.phone-welcome h2{font-size:23px}.phone-compose-toolbar{gap:0}.phone-shell .phone-call-button{padding-inline:10px}.phone-create-actions button{padding-inline:10px;gap:8px}}
@media(max-height:500px){.phone-header{min-height:52px;padding-block:4px}.phone-welcome{min-height:0;padding:12px 0}.phone-welcome img,.phone-welcome>p{display:none}.phone-suggestions{margin-top:14px}.phone-call-center{padding:12px 0}.phone-call-center img{display:none}.phone-call-center p{max-height:25dvh}}
@media(prefers-reduced-motion:reduce){.phone-shell *,.phone-shell *:before,.phone-shell *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* Mobile 61: one visual grammar across conversation and working surfaces. */
body.phone-shell{--phone-font:-apple-system,BlinkMacSystemFont,'Segoe UI','Moss Noto','Microsoft YaHei UI','Microsoft YaHei',sans-serif;--phone-canvas:#f6f7f9;--phone-soft:#f1f2f5;font-family:var(--phone-font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html[data-theme=dark] body.phone-shell{--phone-canvas:#141519;--phone-soft:#2b2c33}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body.phone-shell{--phone-canvas:#141519;--phone-soft:#2b2c33}}
body.phone-shell :is(.work-hub,.work-result-drawer,.work-receipt,.studio-workspace,.studio-chat-context,.creator-workspace,.calendar-workspace,.notes-workspace,.inbox-workspace,.recording-workspace,.goal-workspace,.routine-workspace,.todo-workspace){font-family:var(--phone-font);color:var(--phone-ink);--work-ink:var(--phone-ink);--work-muted:var(--phone-muted);--work-accent:var(--phone-accent);--work-line:var(--phone-line);--work-paper:var(--phone-paper);--work-soft:var(--phone-soft);--creator-ink:var(--phone-ink);--creator-muted:var(--phone-muted);--creator-accent:var(--phone-accent);--creator-line:var(--phone-line);--creator-paper:var(--phone-paper);--creator-soft:var(--phone-soft);--studio-ink:var(--phone-ink);--studio-muted:var(--phone-muted);--studio-blue:var(--phone-accent);--studio-line:var(--phone-line);--studio-paper:var(--phone-paper);--studio-ground:var(--phone-canvas);--studio-soft:var(--phone-soft);--cal-text:var(--phone-ink);--cal-muted:var(--phone-muted);--cal-accent:var(--phone-accent);--cal-bg:var(--phone-paper);--cal-line:var(--phone-line);--rec-ink:var(--phone-ink);--rec-muted:var(--phone-muted);--rec-accent:var(--phone-accent);--rec-line:var(--phone-line);--rec-paper:var(--phone-paper);--rec-soft:var(--phone-soft)}
.phone-shell :is(button,input,select,textarea){font-family:var(--phone-font)}
.phone-shell button,.phone-shell summary{min-height:44px}
.phone-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px}
.phone-shell :is(summary,a){text-underline-offset:4px}
.phone-connection-badge{display:none;font-size:11px;font-weight:400;line-height:1.5;color:var(--phone-muted);text-align:center}
.phone-identity.has-connection .phone-connection-badge{display:block}
.phone-identity.has-connection>img{width:28px;height:28px;border-radius:9px}
.phone-header{border-bottom:1px solid transparent}
.phone-shell:not([data-mobile-view=chat]) .phone-header{background:var(--phone-canvas);border-bottom-color:var(--phone-line);margin-bottom:14px}
.phone-shell:not([data-mobile-view=chat]){padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.phone-shell .phone-tabbar{position:fixed;z-index:28;inset:auto 0 0;max-width:850px;margin-inline:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 10px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--phone-line);background:var(--phone-paper)}
.phone-shell .phone-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;margin:0;padding:5px 0;border:0;border-radius:12px;color:var(--phone-muted);background:transparent;font-size:11px;line-height:1.3}
.phone-tabbar button svg{width:22px;height:22px}
.phone-shell .phone-tabbar button[aria-current=page]{color:var(--phone-ink);background:var(--phone-soft);font-weight:600}
.phone-shell.mobile-keyboard-open .phone-tabbar{display:none}
.phone-shell .phone-welcome{align-items:flex-start;text-align:left;min-height:0;padding:clamp(30px,9vh,88px) 4px 28px;max-width:460px;margin-inline:auto}
.phone-welcome>img{width:56px;height:56px;border-radius:18px;margin:0 0 24px}
.phone-welcome h2{font-size:28px;font-weight:600;line-height:1.5;letter-spacing:-.02em;text-align:left;margin:0 0 8px;text-wrap:balance}
.phone-welcome>p{font-size:15px;margin:0;color:var(--phone-muted)}
.phone-shell .phone-suggestions{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:0;margin-top:32px;border-top:1px solid var(--phone-line)}
.phone-shell .phone-suggestions button{display:flex;align-items:center;gap:14px;min-height:72px;width:100%;padding:16px 2px;margin:0;border:0;border-bottom:1px solid var(--phone-line);border-radius:0;background:transparent;text-align:left;color:var(--phone-ink)}
.phone-suggestion-copy{display:flex;flex-direction:column;gap:3px}.phone-suggestion-copy strong{font-size:15px;font-weight:500}.phone-suggestion-copy small{display:block;font-size:13px;color:var(--phone-muted)}
.phone-shell[data-mobile-view=chat] .mobile-compose-row{box-shadow:0 2px 6px #141b2905;border:1px solid color-mix(in srgb,var(--phone-line) 65%,transparent);padding:5px}
/* Editing has one surface directly above the keyboard; no second toolbar row. */
.phone-shell[data-mobile-view=chat].mobile-keyboard-open .mobile-compose-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;border:0;padding:4px;border-radius:18px 18px 0 0;box-shadow:none}
.phone-shell.mobile-keyboard-open .phone-compose-toolbar{display:contents}
.phone-shell.mobile-keyboard-open .phone-compose-toolbar :is(.phone-call-button,.phone-input-toggle,.phone-toolbar-space){display:none}
.phone-shell.mobile-keyboard-open .mobile-compose-row #chat-input{grid-column:2;grid-row:1;padding-inline:8px}
.phone-shell.mobile-keyboard-open .mobile-compose-row .composer-plus{grid-column:1;grid-row:1}
.phone-shell.mobile-keyboard-open .mobile-compose-row #chat-send{grid-column:3;grid-row:1}

.phone-shell .phone-message[data-role=ai],.phone-shell .phone-history-answer{line-height:1.85}
.phone-shell :is(#chat-history-more,#chat-history-retry){min-height:44px!important}
.phone-shell #mobile-chat-latest{min-height:44px;border:1px solid var(--phone-line);border-radius:24px;background:var(--phone-paper);color:var(--phone-ink);box-shadow:0 4px 16px #141b2914}
.phone-shell .phone-retry-voice{margin:6px 10px 0;padding:8px 16px;border:1px solid var(--phone-line);border-radius:14px;color:var(--phone-accent);background:var(--phone-paper);font-size:14px}
.phone-shell #net-banner{align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding:4px 12px;background:var(--phone-soft)}
#net-banner button{flex:none;border:0;background:transparent;color:var(--phone-accent);font-size:13px;margin:0;padding:8px}
.phone-storage-warning{font-size:13px;line-height:1.6;margin:6px 10px;color:var(--phone-muted)}
.phone-shell .phone-call{background:var(--phone-paper);padding:calc(18px + env(safe-area-inset-top)) 24px max(20px,env(safe-area-inset-bottom));height:var(--mobile-viewport-height,100dvh);max-height:var(--mobile-viewport-height,100dvh)}
.phone-call-heading{align-items:center;font-size:14px}.phone-call-heading time{font-variant-numeric:tabular-nums;font-size:14px}
.phone-call-center{padding:24px 0;justify-content:center;gap:0}
.phone-call-center img{width:72px;height:72px;border-radius:24px;margin:0 0 22px;box-shadow:none}
.phone-call-center h2{font-size:24px;font-weight:500;margin:0 0 12px;line-height:1.5}
.phone-call-meter{height:68px;display:flex;align-items:center;justify-content:center;gap:6px;margin:4px 0 20px;color:var(--phone-accent)}
.phone-call-meter i{display:block;width:5px;height:48px;border-radius:6px;background:currentColor;transform:scaleY(.12);will-change:transform;transition:transform 85ms linear}
.phone-call[data-phase=thinking] .phone-call-meter,.phone-call[data-phase=recognizing] .phone-call-meter,.phone-call[data-phase=preparing] .phone-call-meter{color:var(--phone-muted)}
.phone-call-center .phone-call-caption{font-size:18px;line-height:1.8;text-align:center;max-height:26dvh;overflow:auto;max-width:32em;margin:0;color:var(--phone-ink)}
.phone-call-center [data-call-transcript]{font-size:15px;max-height:20dvh;margin:14px 0 0;padding:14px 16px;border-radius:16px;background:var(--phone-soft);color:var(--phone-muted)}
.phone-call-center [data-call-interrupt]{margin:22px 0 0;min-height:48px;padding:10px 26px;border:1px solid var(--phone-line);border-radius:26px;background:var(--phone-soft);color:var(--phone-ink);font-size:15px}
.phone-call-controls{gap:24px;align-items:center}
.phone-call-controls button{width:72px;min-height:64px;border-radius:24px;font-size:14px}
.phone-call-footnote{font-size:12px;color:var(--phone-muted);text-align:center;margin:16px 0 0}
.phone-device-list{margin:0;background:var(--phone-paper);border-radius:18px;padding:0 18px}
.phone-device-list>div{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:64px;padding:14px 0;border-bottom:1px solid var(--phone-line)}
.phone-device-list>div:last-child{border-bottom:0}.phone-device-list dt{font-size:15px;flex:none}.phone-device-list dd{text-align:right;margin:0;font-size:14px;color:var(--phone-muted)}
.phone-device-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 10px}.phone-device-feedback{font-size:14px;min-height:1.6em;color:var(--phone-muted)}
.phone-device-help{margin-top:28px;padding:0 8px}.phone-device-help h2{font-size:16px;font-weight:500}.phone-device-help p{font-size:14px;line-height:1.8;color:var(--phone-muted);margin:12px 0}
.phone-shell .work-hub{padding:6px 0 24px}.phone-shell .work-hub-head{margin-bottom:24px;gap:16px}.phone-shell .work-hub-head h1{font-size:24px;letter-spacing:-.02em}.phone-shell .work-hub-head p{font-size:14px;color:var(--phone-muted)}
.phone-shell .work-hub .work-title{font-family:var(--phone-font);font-size:16px;min-height:44px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.phone-shell .work-hub .work-item{padding:20px 0;border:0;border-bottom:1px solid var(--phone-line);background:transparent;border-radius:0;margin:0;gap:16px}
.phone-shell .work-hub .work-list{padding:0 16px;background:var(--phone-paper);border-radius:18px}
.phone-shell .work-hub .work-item:last-child{border-bottom:0}.phone-shell .work-item-meta{font-size:13px}.phone-shell .work-hub .work-primary{background:var(--phone-primary)!important;border-color:var(--phone-primary)!important;color:var(--phone-on-primary)!important}
.phone-shell .work-filters{flex-wrap:nowrap;overflow:auto;gap:4px;border:0;padding:0 0 8px;scrollbar-width:none}.phone-shell .work-filters button{flex:none;font-size:14px;min-height:44px}
.phone-shell .work-toolbar :is(input,button){min-height:48px}.phone-shell .work-toolbar{margin-bottom:18px}.phone-shell .work-more[open]{z-index:32;background:var(--phone-paper)!important}
.phone-shell :is(.creator-primary,.studio-primary){background:var(--phone-primary)!important;color:var(--phone-on-primary)!important;border-color:var(--phone-primary)!important}
body.phone-shell .studio-workspace button.studio-primary{background:var(--phone-primary)!important;color:var(--phone-on-primary)!important;border-color:var(--phone-primary)!important}
body.phone-shell{color-scheme:light}html[data-theme=dark] body.phone-shell{color-scheme:dark}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body.phone-shell{color-scheme:dark}}
.phone-shell :is(.creator-workspace,.studio-workspace,.calendar-workspace){background:transparent}
.phone-shell :is(.creator-workspace,.studio-workspace) :is(input,select,textarea){border-color:var(--phone-line);background:var(--phone-paper);color:var(--phone-ink);border-radius:12px}
.phone-shell :is(.creator-workspace,.studio-workspace) :is(input,select){min-height:48px}
.phone-shell .recording-workspace{background:transparent;border-color:var(--phone-line);border-inline:0;padding-inline:0}.phone-shell .recording-workspace p{font-size:14px;color:var(--phone-muted)}
.phone-shell .mobile-context{padding-bottom:16px}.phone-shell .mobile-context nav{border-radius:14px}
.phone-shell .calendar-month-grid{gap:2px}.phone-shell .calendar-day{min-height:44px;min-width:0}
/* Keep date ink centered independently of inherited flex/text rendering rules. */
.phone-shell .calendar-month-week,.phone-shell .calendar-month-weekdays{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.phone-shell .calendar-month-cell{min-width:0}
.phone-shell .calendar-workspace .calendar-month-day{display:grid;grid-template-rows:20px 18px;align-content:center;justify-items:stretch;align-items:center;width:100%;margin:0;padding:3px 0;min-height:54px}
.phone-shell .calendar-day-number{display:block;min-width:0;width:100%;text-align:center;font:600 16px/20px Arial,sans-serif;font-variant-numeric:tabular-nums}
.phone-shell .calendar-day-count{display:block;width:100%;text-align:center;margin:0;padding-top:2px}
.phone-shell #daily-content .daily-row h3{max-height:3.4em;overflow:hidden;font-weight:500}
.phone-shell :is(.notes-field,.calendar-field) label{min-height:44px}
@media(max-width:350px){.phone-shell .phone-welcome{padding-top:28px}.phone-welcome h2{font-size:25px}.phone-call-controls{gap:18px}.phone-call-center h2{font-size:21px}.phone-shell .work-hub-head{flex-wrap:wrap}.phone-device-list{padding-inline:14px}.phone-device-list>div{gap:14px}.phone-shell .calendar-day{min-height:44px}.phone-shell .phone-setting-copy small{font-size:12px}}
@media(max-height:500px){.phone-shell .phone-call{padding-block:10px}.phone-call-center{padding:6px 0;min-height:0}.phone-call-center img{display:none}.phone-call-center h2{font-size:18px;margin-bottom:0}.phone-call-meter{height:24px;margin:0 0 6px}.phone-call-meter i{height:22px}.phone-call-center .phone-call-caption{font-size:15px;max-height:16dvh}.phone-call-center [data-call-interrupt],.phone-call-center [data-call-resume]{margin-top:8px;min-height:44px}.phone-call-controls button{min-height:44px}.phone-call-footnote{margin-top:6px;font-size:11px}}
@media(min-width:600px){.phone-shell .phone-welcome{padding-top:12vh;max-width:520px}.phone-welcome h2{font-size:32px}.phone-shell .phone-tabbar{padding-inline:64px}.phone-shell .work-hub{padding-inline:16px}.phone-call-center .phone-call-caption{max-width:30em}}
@media(prefers-reduced-motion:reduce){.phone-call-meter i{transition:none;will-change:auto}}


/* A suspected utterance is optional, never a modal or automatic chat turn. */
.phone-call .phone-call-confirm{min-height:44px;padding:10px 20px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--txt);font:inherit;font-size:14px;cursor:pointer}
.phone-call .phone-call-confirm:active{opacity:.72}

/* White feather iPhone design. Scoped so desktop application is unchanged. */
body.phone-shell.bl-refined.phone-app{--phone-canvas:#fff;--phone-paper:#fff;--phone-soft:#f5f5f5;--phone-ink:#202020;--phone-muted:#626262;--phone-line:#e5e5e5;--phone-accent:#252525;--phone-primary:#202020;--phone-on-primary:#fff;--phone-on-accent:#fff;--phone-font:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei UI',sans-serif;font-family:var(--phone-font);font-size:15px}
html[data-theme=dark] body.phone-shell.bl-refined.phone-app{--phone-canvas:#181818;--phone-paper:#181818;--phone-soft:#262626;--phone-ink:#eeeeee;--phone-muted:#b8b8b8;--phone-line:#3b3b3b;--phone-accent:#d6d6d6;--phone-primary:#eeeeee;--phone-on-primary:#202020;--phone-on-accent:#202020}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body.phone-shell.bl-refined.phone-app{--phone-canvas:#181818;--phone-paper:#181818;--phone-soft:#262626;--phone-ink:#eeeeee;--phone-muted:#b8b8b8;--phone-line:#3b3b3b;--phone-accent:#d6d6d6;--phone-primary:#eeeeee;--phone-on-primary:#202020;--phone-on-accent:#202020}}
.phone-app ::selection{background:#e3e3e3;color:#202020}.phone-app svg{stroke-width:1.6}
body.phone-shell.bl-refined.phone-app .phone-header{min-height:calc(58px + env(safe-area-inset-top));background:var(--phone-paper);grid-template-columns:64px minmax(0,1fr) 88px;border:0;margin-bottom:0}
body.phone-shell.bl-refined.phone-app .phone-header h1{font-size:17px;font-weight:500}.phone-app .phone-identity>img{display:none}.phone-app .phone-connection-badge{font-size:10px;font-weight:400;line-height:1.4;color:var(--phone-muted)}
body.phone-shell.bl-refined.phone-app .phone-tabbar{grid-template-columns:repeat(3,minmax(0,1fr));padding:5px 12px max(8px,env(safe-area-inset-bottom));background:var(--phone-paper);border-top:1px solid var(--phone-line);max-width:850px}
body.phone-shell.bl-refined.phone-app .phone-tabbar button{min-height:48px;font-size:11px;font-weight:400;border-radius:0;background:transparent;color:var(--phone-muted)}body.phone-shell.bl-refined.phone-app .phone-tabbar button[aria-current=page]{color:var(--phone-ink);background:transparent;font-weight:500}
body.phone-shell.bl-refined.phone-app[data-mobile-view=chat] .phone-tabbar{position:relative;inset:auto;flex:none;width:100%;margin:0;max-width:none}body.phone-shell.bl-refined.phone-app.mobile-keyboard-open .phone-tabbar{display:none}
body.phone-shell.bl-refined.phone-app:not([data-mobile-view=chat]){padding:0 24px calc(88px + env(safe-area-inset-bottom))}body.phone-shell.bl-refined.phone-app:not([data-mobile-view=chat]) .phone-header{margin-inline:-24px}
body.phone-shell.bl-refined.phone-app #mobile-chat-scroll{padding:12px 24px 22px}body.phone-shell.bl-refined.phone-app .phone-welcome{align-items:flex-start;text-align:left;justify-content:flex-start;min-height:0;max-width:420px;padding:clamp(28px,9vh,88px) 0 18px;margin:0 auto;width:100%}body.phone-shell.bl-refined.phone-app .phone-welcome img{width:66px;height:66px;margin:0 0 21px -9px;border-radius:0}body.phone-shell.bl-refined.phone-app .phone-welcome h2{font-size:27px;font-weight:500;line-height:1.5;letter-spacing:-.4px;margin:0 0 12px;text-wrap:initial}body.phone-shell.bl-refined.phone-app .phone-welcome>p{font-size:13px;line-height:1.8}
body.phone-shell.bl-refined.phone-app .phone-suggestions{display:flex;flex-direction:column;gap:0;width:100%;margin:27px 0 0}body.phone-shell.bl-refined.phone-app .phone-suggestions button,.phone-app-more-list button{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:12px;border:0;border-bottom:1px solid var(--phone-line);border-radius:0;padding:13px 0;min-height:46px;background:transparent;color:var(--phone-ink)}body.phone-shell.bl-refined.phone-app .phone-suggestion-copy strong{font-size:14px;font-weight:400}.phone-app-suggestions-more{width:100%;margin-top:4px}.phone-app-suggestions-more summary{font-size:12px;color:var(--phone-muted);min-height:44px;padding:12px 0;cursor:pointer}.phone-app-more-list svg{width:19px;height:19px}.phone-app-more-list small{display:none}
body.phone-shell.bl-refined.phone-app .phone-message,body.phone-shell.bl-refined.phone-app .phone-history-answer,body.phone-shell.bl-refined.phone-app .moss-reply{font-size:15px;line-height:1.9}body.phone-shell.bl-refined.phone-app .phone-message[data-role=user],body.phone-shell.bl-refined.phone-app .phone-history-question{font-size:15px;line-height:1.8;border-radius:22px 22px 5px 22px;background:var(--phone-soft);padding:13px 16px}body.phone-shell.bl-refined.phone-app .moss-reply strong{font-weight:600}
body.phone-shell.bl-refined.phone-app[data-mobile-view=chat] .mobile-composer{padding:8px 16px 10px}body.phone-shell.bl-refined.phone-app[data-mobile-view=chat] .mobile-compose-row{border:1px solid var(--phone-line);border-radius:25px;background:var(--phone-soft);box-shadow:none;padding:6px}body.phone-shell.bl-refined.phone-app .phone-call-button{background:transparent;padding:0 8px;font-size:12px}body.phone-shell.bl-refined.phone-app .phone-call-button svg{width:20px;height:20px}body.phone-shell.bl-refined.phone-app .mobile-compose-row #chat-input{font-size:16px;line-height:24px}body.phone-shell.bl-refined.phone-app[data-mobile-view=chat].mobile-keyboard-open .mobile-composer{padding:4px 8px max(0px,env(safe-area-inset-bottom))}body.phone-shell.bl-refined.phone-app.mobile-keyboard-open .mobile-compose-row{border-radius:18px!important}
body.phone-shell.bl-refined.phone-app .phone-sheet{border-radius:28px 28px 0 0;padding-inline:24px}.phone-app .phone-dialog-head h2{font-size:20px;font-weight:500}body.phone-shell.bl-refined.phone-app .phone-action-grid{display:flex;flex-direction:column;gap:0;margin:8px 0 22px}body.phone-shell.bl-refined.phone-app .phone-action-grid button{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:17px;min-height:62px;padding:14px 0;border-bottom:1px solid var(--phone-line);font-size:16px}body.phone-shell.bl-refined.phone-app .phone-action-grid svg{background:transparent;border-radius:0;padding:0;width:23px;height:23px}body.phone-shell.bl-refined.phone-app .phone-create-actions{gap:8px}body.phone-shell.bl-refined.phone-app .phone-create-actions button{border-radius:12px;font-size:13px;min-height:50px}
body.phone-shell.bl-refined.phone-app .phone-call{background:var(--phone-soft);padding-inline:28px}.phone-app .phone-call-center img{width:104px;height:104px;border-radius:50%;margin:0 0 20px}.phone-app .phone-call-center h2{font-size:18px;font-weight:400;color:var(--phone-muted)}.phone-app .phone-call-meter{height:52px;gap:5px;margin:0 0 22px;color:var(--phone-accent)}.phone-app .phone-call-meter i{width:3px;height:45px}.phone-app .phone-call-center .phone-call-caption{font-size:22px;line-height:1.75;max-height:30dvh}.phone-app .phone-call-controls{gap:24px}.phone-app .phone-call-controls button{width:64px;min-height:64px;border-radius:50%;font-size:13px}.phone-app .phone-call-controls button[data-call-hangup]{background:#b94440}.phone-app .phone-call-footnote{font-size:11px;line-height:1.7}
body.phone-shell.bl-refined.phone-app .work-hub{padding:22px 0 24px}.phone-app .work-hub-head h1,.phone-app-page-title{font-size:30px!important;font-weight:500!important;line-height:1.4;margin:0 0 10px;letter-spacing:-.5px}.phone-app-page-title{margin-top:25px}.phone-app .work-hub-head p{font-size:13px}body.phone-shell.bl-refined.phone-app .work-hub .work-list{padding:0;border-radius:0}body.phone-shell.bl-refined.phone-app .work-hub .work-item{padding:20px 0;gap:12px}body.phone-shell.bl-refined.phone-app .work-hub .work-title{font-size:15px;font-weight:500;line-height:1.7}body.phone-shell.bl-refined.phone-app .work-item-meta{font-size:12px;gap:8px}.phone-app .work-excerpt{font-size:13px}body.phone-shell.bl-refined.phone-app .work-toolbar{gap:8px}body.phone-shell.bl-refined.phone-app .work-toolbar :is(input,button){min-height:44px;font-size:13px}.phone-app .work-project-links{display:flex;flex-wrap:wrap;gap:0;margin-bottom:18px}.phone-app .work-project-links button{min-height:44px;padding:10px 12px;font-size:13px;border:0;background:transparent;color:var(--phone-muted)}.phone-app .work-filters button{font-size:13px}.phone-app .work-feedback,.phone-app .work-footnote{font-size:12px;line-height:1.8}
.phone-app-profile{display:flex;align-items:center;gap:16px;padding:12px 0 18px;margin:8px 0 20px;border-bottom:1px solid var(--phone-line)}.phone-app-profile img{width:54px;height:54px;border-radius:50%}.phone-app-profile h2{font-size:18px;font-weight:500;margin:0 0 6px}.phone-app-profile p{font-size:12px;color:var(--phone-muted);margin:0;line-height:1.8}body.phone-shell.bl-refined.phone-app .phone-settings-list{border-radius:0;background:transparent}.phone-app .phone-settings-group>h2{margin-left:0;font-size:12px;font-weight:400}body.phone-shell.bl-refined.phone-app .phone-setting{padding:15px 0;min-height:68px}.phone-app .phone-setting-icon{background:transparent;width:25px}.phone-app .phone-setting+.phone-setting:before{left:0}.phone-app .phone-setting-copy{font-size:15px}.phone-app .phone-setting-value{font-size:12px}.phone-app .phone-settings-group{margin:20px 0 28px}.phone-app .phone-device-list{padding:0;border-radius:0}
@media(max-height:700px){body.phone-shell.bl-refined.phone-app .phone-welcome{padding-top:18px}body.phone-shell.bl-refined.phone-app .phone-welcome img{width:52px;height:52px;margin-bottom:12px}body.phone-shell.bl-refined.phone-app .phone-welcome h2{font-size:24px}body.phone-shell.bl-refined.phone-app .phone-suggestions{margin-top:14px}.phone-app .phone-call-center{padding:12px 0}.phone-app .phone-call-center img{width:72px;height:72px}.phone-app .phone-call-center .phone-call-caption{font-size:19px}}
@media(prefers-reduced-motion:reduce){body.phone-shell.bl-refined.phone-app button,.phone-app .phone-call-meter i{transition:none}.phone-app .phone-sheet[open]{animation:none}}
/* Explicitly supersede the older desktop-shared mobile skin. */
html body.phone-shell.bl-refined.phone-app{--bl-paper:var(--phone-paper);--bl-soft:var(--phone-soft);--bl-ink:var(--phone-ink);--bl-muted:var(--phone-muted);--bl-line:var(--phone-line);--bl-accent:var(--phone-primary);--bl-on-accent:var(--phone-on-primary);--bl-shadow:none;--bl-font:var(--phone-font);background:var(--phone-paper)}
html body.phone-shell.bl-refined.phone-app .phone-header{display:grid;box-shadow:none;border-bottom:0;grid-template-columns:64px minmax(0,1fr) 88px}
html body.phone-shell.bl-refined.phone-app .phone-identity{justify-content:center}
html body.phone-shell.bl-refined.phone-app .phone-welcome>img{display:block}
html body.phone-shell.bl-refined.phone-app .phone-suggestions{display:flex;flex-direction:column;gap:0}
html body.phone-shell.bl-refined.phone-app .phone-suggestions button{border:0!important;border-bottom:1px solid var(--phone-line)!important;border-radius:0!important;background:transparent!important;padding:14px 0;min-height:48px}
html body.phone-shell.bl-refined.phone-app .phone-suggestions svg{display:block}
html body.phone-shell.bl-refined.phone-app .phone-suggestion-copy small{display:none}
html body.phone-shell.bl-refined.phone-app .mobile-compose-row{border-radius:25px!important;background:var(--phone-soft)!important;border-color:var(--phone-line)!important;box-shadow:none}
html body.phone-shell.bl-refined.phone-app .phone-call{background:var(--phone-soft)}
/* Phone workflow audit: comfortable filter targets and fixed-header focus clearance. */
html body.phone-shell.bl-refined.phone-app .work-filters button{min-width:44px;min-height:44px;padding-inline:8px}
html body.phone-shell.bl-refined.phone-app .phone-app-page-title{text-align:left}
html:has(body.phone-app){scroll-padding-top:calc(64px + env(safe-area-inset-top));scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom))}

/* experience.css */
/* Shared interaction floor. Layout rules are scoped to each application shell. */
:root{--experience-radius:14px;--experience-motion:140ms;--experience-focus:#2867cf}
[hidden]{display:none!important}
:is(button,a,summary,select,input,textarea):focus-visible{outline:2px solid var(--experience-focus);outline-offset:3px}
.moss-reply{overflow-wrap:anywhere;min-width:0}
.moss-reply .reply-link{color:var(--workspace-accent,#2463bf);text-decoration:underline;text-underline-offset:3px}
.moss-reply .reply-actions{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:14px;opacity:1}
.moss-reply .reply-actions button{min-height:36px;padding:5px 8px;border-radius:8px;font:inherit;font-size:12px;color:var(--workspace-muted,#596577);background:transparent;border:1px solid transparent}
.moss-reply .reply-actions button:hover{background:var(--workspace-soft,#edf2f8);color:var(--workspace-text,#1e293b)}
.moss-reply pre,.moss-reply .reply-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.moss-reply pre{line-height:1.6;font-size:13px;tab-size:2}
.studio-context-status:not(:empty){display:block!important;color:var(--workspace-muted);font-size:12px;line-height:1.5;max-width:32ch}
.experience-ready .desktop-navigation{flex:0 0 auto}
.experience-ready .rail{display:flex!important;flex-direction:column;overflow:hidden}
.experience-history{display:flex;flex:1 1 180px;flex-direction:column;min-height:120px;overflow:hidden;padding:12px 10px 0;border-top:1px solid var(--workspace-line,#dfe5ed);color:var(--workspace-text,#263245)}
.experience-history-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 4px 8px}
.experience-history-heading h2{margin:0;font-size:12px;font-weight:500;color:var(--workspace-muted,#647187)}
.experience-history-heading button{font-size:12px;min-height:32px;border:0;background:transparent;color:inherit;cursor:pointer}
.experience-ready #conversation-manager{display:flex;flex:1;flex-direction:column;overflow:auto;min-height:0;margin:0;padding:0;border:0;color:inherit;background:transparent}
.experience-ready #conversation-manager>summary{display:none}
.experience-ready #conversation-manager>form{display:flex;gap:4px;margin-bottom:8px}
.experience-ready #conversation-manager input{min-width:0;max-width:100%;border:1px solid var(--workspace-line,#dbe2eb);background:transparent;color:inherit;border-radius:8px;padding:8px;font:inherit;font-size:12px}
.experience-ready #conversation-manager>form input{width:100%}
.experience-ready #conversation-manager button{cursor:pointer;color:inherit;font-family:inherit}
.experience-ready #conversation-manager>form button{font-size:11px;border:0;background:transparent;flex:none;padding:4px}
.experience-ready #conversation-manager .conversation-list{display:flex;flex-direction:column;gap:3px;max-height:none;overflow:visible}
.experience-ready #conversation-manager .conversation-list button{text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;position:relative;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:9px;background:transparent;font-size:13px}
.experience-ready #conversation-manager .conversation-list button:hover{background:var(--workspace-soft,#e9edf4)}
.experience-ready #conversation-manager .conversation-list [aria-current=true]{background:var(--workspace-soft,#e6edf8);color:var(--workspace-accent,#2563ba);font-weight:600}
.experience-ready #conversation-manager .conversation-list .experience-running{padding-right:24px}
.experience-running:after{content:'';position:absolute;right:10px;top:18px;width:6px;height:6px;border-radius:50%;background:var(--workspace-accent,#2563ba)}
.experience-manage{margin:12px 0 8px;font-size:12px;flex:none}
.experience-manage summary{min-height:36px;line-height:36px;cursor:pointer;color:var(--workspace-muted,#647187)}
.experience-manage .conversation-controls{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.experience-manage button,.experience-ready #conversation-manager>[data-older]{font-size:11px;padding:6px 8px;min-height:32px;border-radius:7px;border:1px solid var(--workspace-line,#dce3eb);background:transparent}
.experience-ready #conversation-manager>.conversation-status{font-size:11px;line-height:1.6;margin:8px 2px;color:var(--workspace-muted,#647187)}
.experience-ready #conversation-manager>[data-older]{margin-top:12px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-conversation{max-width:1100px;padding:16px 32px 18px;gap:8px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-chat-head{min-height:48px;gap:12px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-chat-head h1{font-size:17px;line-height:1.5;font-weight:600;max-width:50ch;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-chat-head>img{width:34px;height:34px;border-radius:10px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-chat-head p{display:none}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .studio-chat-main{border:0!important;box-shadow:none!important;padding:0 12px 4px!important;background:transparent!important;border-radius:0}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .studio-chat-toolbar{min-height:42px;padding:2px 0 8px;gap:10px;border-bottom:0;flex-wrap:wrap}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-conversation .presence-chat{position:relative;margin:0 0 10px;min-height:60px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] #aios-chat-host #msgs{padding:12px 8px 24px;max-width:820px;width:100%;margin-inline:auto}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] #msgs .msg.ai{font-size:16px;line-height:1.85;margin:20px 0 30px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] #command{flex-wrap:wrap;background:var(--studio-paper,#fff)!important;border:1px solid var(--workspace-line,#dce3eb)!important;box-shadow:0 4px 18px #152b4508;padding:10px 12px 10px 16px;border-radius:18px;align-items:flex-end;min-height:64px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] #input{min-height:40px;max-height:160px;font-size:16px;line-height:1.65;flex:1 1 240px;padding:6px 0;resize:none}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] #send{min-width:56px;min-height:42px;border-radius:12px;font-size:13px}
#moss-aios-shell.experience-ready[data-desktop-view=assistant] #send[data-busy=true]{background:var(--workspace-soft,#e8edf4)!important;color:var(--workspace-text,#263245)!important;border:1px solid var(--workspace-line,#dce3eb)}
.experience-state{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:24px;font-size:12px;color:var(--workspace-muted,#58677a)}
.experience-state:has(.experience-status:empty):has(.experience-pending[hidden]){display:none}
.experience-pending{border:0;background:transparent;color:var(--workspace-accent,#2463bf);font:inherit;cursor:pointer;min-height:32px}
.experience-welcome{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;pointer-events:none;text-align:center;color:var(--workspace-text,#27354a)}
.experience-welcome h2{font-size:clamp(22px,2.6vw,30px);font-weight:600;letter-spacing:-.03em;line-height:1.5;margin:0 0 10px}
.experience-welcome p{font-size:14px;line-height:1.7;margin:0 0 26px;color:var(--workspace-muted,#627186)}
.experience-starters{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;pointer-events:auto}
.experience-starters button{min-height:42px;padding:10px 16px;border:1px solid var(--workspace-line,#dfe5ed);background:var(--studio-paper,#fff);color:inherit;border-radius:12px;font:inherit;font-size:13px;cursor:pointer;transition:background var(--experience-motion)}
.experience-starters button:hover{background:var(--workspace-soft,#e9eef6)}
.experience-latest{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:2;min-height:38px;padding:8px 14px;border:1px solid var(--workspace-line,#dfe5ed);background:var(--studio-paper,#fff);color:var(--workspace-text,#263245);box-shadow:0 3px 12px #152b4514;border-radius:22px;cursor:pointer}
.experience-history-toggle{display:none}
body.experience-result-open .work-result-drawer[open]{position:fixed;inset:48px 16px 16px auto;margin:0;width:min(460px,38vw);max-height:none;height:auto;z-index:100;box-shadow:0 12px 50px #14213624;border:1px solid var(--workspace-line,#dfe5ed);border-radius:16px}
body.experience-result-open #moss-aios-shell[data-desktop-view=assistant] .desktop-conversation{margin-right:min(480px,40vw);padding-inline:20px}
body.experience-result-open .work-result-drawer::backdrop{background:transparent}
.phone-shell .reply-actions{gap:4px 8px;margin-top:10px}
.phone-shell .reply-actions button{min-height:44px;padding:6px 8px;font-size:12px}
.phone-run-status{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:4px 8px;color:var(--dim,#626d7d);font-size:12px;min-height:28px;line-height:1.5}
.phone-run-status:empty{display:none}
.phone-shell #chat-send[data-busy=true]{background:var(--phone-soft,#e8edf4);color:var(--phone-text,#263245)}
.phone-shell .phone-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}
.phone-shell :is(.phone-history-answer,.phone-message[data-role=ai]){overflow-wrap:anywhere}
@media(min-width:961px){.experience-ready #conversation-manager{display:flex!important}.experience-ready .rail{width:224px!important;min-width:224px!important}.experience-ready .app{grid-template-columns:224px minmax(0,1fr)!important}}
@media(max-width:960px){.experience-history{display:none}.experience-history-toggle{display:block;min-height:40px}.experience-history-open .experience-history{display:flex;position:fixed;inset:70px auto 18px 14px;width:min(300px,calc(100vw - 28px));padding:16px;background:var(--studio-paper,#fff);border:1px solid var(--workspace-line,#dfe5ed);border-radius:14px;box-shadow:0 12px 44px #152b4526;z-index:90}.experience-history-open #conversation-manager{display:flex!important}#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-conversation{padding:12px 18px}.experience-ready .desktop-chat-head>div{min-width:0}.experience-ready .desktop-chat-head .assistant-new-chat{display:none}}
@media(max-width:600px){#moss-aios-shell.experience-ready[data-desktop-view=assistant] .desktop-conversation{padding:8px}.experience-welcome{padding:12px}.experience-welcome p{max-width:26ch}.experience-starters{max-width:310px}.experience-starters button{min-width:120px}.phone-shell .moss-reply{font-size:16px;line-height:1.8}.phone-shell .moss-reply pre{font-size:13px}}
@media(max-height:640px){.experience-welcome h2{font-size:21px}.experience-welcome p{margin-bottom:12px}.experience-welcome{padding:10px}.experience-starters button{min-height:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.experience-starters button{transition:none}}
#moss-aios-shell.experience-ready .desktop-navigation{min-height:0;gap:4px}
#moss-aios-shell.experience-ready .desktop-nav{min-height:42px}
#moss-aios-shell.experience-ready .desktop-search-open{margin-bottom:8px}
#moss-aios-shell.experience-ready .workspace-nav-footer{padding-block:10px;margin-top:8px}
#moss-aios-shell.experience-ready .workspace-nav-footer{position:static!important;inset:auto!important;flex:none}
#moss-aios-shell.experience-ready #conversation-manager>:not(.conversation-list){flex:none}
#moss-aios-shell.experience-ready #conversation-manager .conversation-list{flex:1 1 auto;min-height:90px;overflow:auto!important;max-height:none!important;scrollbar-width:thin}
#moss-aios-shell.experience-ready #conversation-manager .conversation-list button{flex:none}
#moss-aios-shell.experience-ready .app>.rail{padding-top:20px}
#moss-aios-shell.experience-ready .app>.rail .brand{margin-bottom:18px}
#moss-aios-shell.experience-ready #conversation-manager .conversation-list [aria-current=true]{background:var(--studio-soft,#e9effa)!important;color:var(--studio-blue,#3159d9)!important}
#moss-aios-shell.experience-ready .top-actions .window-control span{display:none}
#moss-aios-shell.experience-ready .top-actions .window-control{min-width:38px;min-height:36px}
.experience-view-menu{position:relative;color:var(--workspace-text,#29364a);font:13px var(--sans);z-index:110}
.experience-view-menu>summary{list-style:none;cursor:pointer;padding:10px 12px;border-radius:8px;min-height:36px;box-sizing:border-box}
.experience-view-menu>summary:hover{background:var(--workspace-soft,#e8eef7)}
.experience-view-menu>div{position:absolute;top:100%;right:0;display:flex;flex-wrap:wrap;gap:8px;width:250px;padding:14px;background:var(--studio-paper,#fff);border:1px solid var(--workspace-line,#dfe5ed);border-radius:12px;box-shadow:0 8px 30px #14213626}
.experience-view-menu:not([open])>div{display:none}
.experience-view-menu .moss-viewport-controls{position:static;box-shadow:none;flex-wrap:wrap;max-width:100%}
.phone-shell .phone-suggestions{display:grid;gap:0 14px}
.phone-shell .phone-suggestions>button{padding:14px 0;min-height:72px}
.phone-shell .phone-suggestions .phone-suggestion-copy small{line-height:1.5}
/* Details has an internal content box; let the whole history scroll naturally. */
#moss-aios-shell.experience-ready .desktop-navigation{flex:0 0 auto!important}
#moss-aios-shell.experience-ready .app>.rail{overflow:hidden!important}
#moss-aios-shell.experience-ready #conversation-manager{display:block!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;scrollbar-width:thin}
#moss-aios-shell.experience-ready #conversation-manager .conversation-list{flex:none!important;height:auto!important;min-height:0!important;overflow:visible!important}

/* refined.css */
/* Bai Ling 7.0. Shared conversation, project and result surfaces. */
:root {
  --bl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --bl-canvas: #f4f5f7;
  --bl-text-size:17px; --bl-space:1;
  --bl-paper: #fff;
  --bl-soft: #eff1f5;
  --bl-ink: #252a34;
  --bl-muted: #697180;
  --bl-line: #e3e6ec;
  --bl-accent: #355bd7;
  --bl-accent-soft: #e9eefa;
  --bl-on-accent: #fff;
  --bl-shadow: 0 6px 24px #252e4210;
}
html[data-workspace-appearance=dark], html[data-theme=dark] {
  --bl-canvas: #191b20; --bl-paper: #22252b; --bl-soft: #2c3038;
  --bl-ink: #eceef3; --bl-muted: #a8afbd; --bl-line: #383d48;
  --bl-accent: #a2b9ff; --bl-accent-soft: #303c60; --bl-on-accent: #172344;
  --bl-shadow: 0 6px 24px #0002;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme=light]):not([data-workspace-appearance=light]) {
    --bl-canvas:#191b20; --bl-paper:#22252b; --bl-soft:#2c3038; --bl-ink:#eceef3; --bl-muted:#a8afbd; --bl-line:#383d48; --bl-accent:#a2b9ff; --bl-accent-soft:#303c60; --bl-on-accent:#172344; --bl-shadow:0 6px 24px #0002;
  }
}
/* These aliases replace the independent palettes inherited from older modules. */
html body, html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view], html .phone-shell,
html .work-hub, html .work-result-drawer, html .moss-reply {
  --sans:var(--bl-font); --workspace-text:var(--bl-ink); --workspace-muted:var(--bl-muted); --workspace-line:var(--bl-line); --workspace-accent:var(--bl-accent); --workspace-soft:var(--bl-soft);
  --studio-ink:var(--bl-ink); --studio-muted:var(--bl-muted); --studio-line:var(--bl-line); --studio-paper:var(--bl-paper); --studio-ground:var(--bl-canvas); --studio-soft:var(--bl-soft); --studio-blue:var(--bl-accent);
  --phone-canvas:var(--bl-canvas); --phone-paper:var(--bl-paper); --phone-soft:var(--bl-soft); --phone-ink:var(--bl-ink); --phone-muted:var(--bl-muted); --phone-line:var(--bl-line); --phone-accent:var(--bl-accent); --phone-primary:var(--bl-accent); --phone-on-primary:var(--bl-on-accent);
  --work-ink:var(--bl-ink); --work-muted:var(--bl-muted); --work-accent:var(--bl-accent); --work-line:var(--bl-line); --work-paper:var(--bl-paper); --work-soft:var(--bl-soft);
  --reply-text:var(--bl-ink); --reply-muted:var(--bl-muted); --reply-line:var(--bl-line); --reply-surface:var(--bl-canvas); --reply-accent:var(--bl-accent);
  --v2-paper:var(--bl-paper); --v2-ink:var(--bl-ink); --v2-line:var(--bl-line); --v2-accent:var(--bl-accent);
  --ink:var(--bl-ink); --muted:var(--bl-muted); --txt:var(--bl-ink); --text:var(--bl-ink); --dim:var(--bl-muted); --line:var(--bl-line); --panel:var(--bl-paper); --cyan:var(--bl-accent); --blue:var(--bl-accent);
  font-family:var(--bl-font); color:var(--bl-ink);
}
html body :is(button,input,textarea,select), html .moss-reply, html .work-hub,
html .desktop-workspace .work-hub, html .reply-export { font-family:var(--bl-font)!important; }
.bl-refined ::selection { background:var(--bl-accent-soft); color:var(--bl-ink); }
.bl-refined :is(input,textarea) { caret-color:var(--bl-accent); }
.bl-refined * { scrollbar-color:var(--bl-line) transparent!important; scrollbar-width:thin; }
.bl-refined :is(button,a,summary,input,textarea,select):focus-visible { outline:2px solid var(--bl-accent)!important; outline-offset:3px; }
.bl-refined :is(button,summary) { -webkit-tap-highlight-color:transparent; }
.bl-refined svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] { background:var(--bl-canvas); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app { grid-template-columns:220px minmax(0,1fr)!important; background:var(--bl-canvas); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail { padding:22px 12px 14px; background:var(--bl-canvas); border:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail .brand { display:grid; grid-template-columns:42px 1fr auto; grid-template-rows:24px 16px; gap:0 11px; align-self:stretch; align-items:center; padding:0 10px; margin-bottom:24px; text-align:left; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand>img { grid-column:1; grid-row:1/3; width:40px!important; height:40px!important; border-radius:12px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand>b { grid-column:2; font-size:21px; font-weight:650; color:var(--bl-ink); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-brand-note { grid-column:2; font-size:10px; letter-spacing:.03em; color:var(--bl-muted); }
.bl-version { grid-column:3; grid-row:1/3; font-size:10px; font-weight:600; color:var(--bl-muted); border:1px solid var(--bl-line); border-radius:5px; padding:2px 5px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-navigation { gap:3px; min-height:0; flex:none; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav { height:42px; min-height:42px; padding:10px 14px; gap:12px; border:0!important; border-radius:10px; color:var(--bl-muted); font-size:14px; font-weight:500; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav.active { background:var(--bl-paper)!important; color:var(--bl-accent)!important; box-shadow:0 2px 6px #25344f06; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav:not(.active):hover { background:var(--bl-soft); color:var(--bl-ink); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat { display:flex; align-items:center; gap:10px; margin-bottom:12px; padding:12px 14px; min-height:46px; border:0; border-radius:12px; background:var(--bl-accent); color:var(--bl-on-accent); font-size:14px; font-weight:600; }
.assistant-new-chat kbd { margin-left:auto; font:10px var(--bl-font); opacity:.8; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-search-open { background:transparent; border:1px solid var(--bl-line); border-radius:10px; color:var(--bl-muted); min-height:40px; padding:8px 12px; margin-bottom:14px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history { border:0; padding:24px 4px 0; min-height:100px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history-heading { padding:0 10px 8px; color:var(--bl-muted); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history-heading h2 { font-size:11px; font-weight:500; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history-heading>button { font-size:11px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .conversation-list button { min-height:40px; padding:10px; border-radius:8px; color:var(--bl-muted)!important; font-size:13px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .conversation-list button[aria-current=true] { background:var(--bl-soft)!important; color:var(--bl-ink)!important; font-weight:500; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager form { gap:3px; margin-bottom:6px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager input[type=search] { background:transparent; border-color:var(--bl-line); font-size:11px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .conversation-manager :is(p,.conversation-status), html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-manage { color:var(--bl-muted); font-size:11px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-nav-footer { margin-top:auto; padding:14px 10px 0; border-top:1px solid var(--bl-line); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-help { color:var(--bl-muted); font-size:11px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top { height:38px; min-height:38px; padding:0 18px; background:var(--bl-canvas); border:0; color:var(--bl-muted); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top .status { font-size:11px; color:var(--bl-muted); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top .name small { color:var(--bl-muted); font-size:11px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top-actions :is(button,summary) { color:var(--bl-muted); background:transparent; border-color:transparent; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top-actions .window-control { min-width:32px; min-height:30px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] main.desktop-mode { padding:0 16px 16px 0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace { background:var(--bl-paper)!important; border:1px solid var(--bl-line); border-radius:16px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view][data-desktop-view=assistant] .desktop-conversation { display:flex; max-width:none; width:100%; padding:16px 32px 18px; gap:0; background:var(--bl-paper)!important; border:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head { display:flex; min-height:44px; flex-wrap:nowrap; gap:10px; padding:0 0 10px; border-bottom:1px solid var(--bl-line); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>img { display:none; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div { flex:1; min-width:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head h1 { font-size:15px; line-height:1.5; font-weight:600; letter-spacing:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head button { min-height:36px; padding:7px 12px; border:0!important; background:var(--bl-soft)!important; color:var(--bl-muted)!important; border-radius:9px; font-size:12px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-chat-main { flex:1; margin:0; padding:0!important; border:0!important; border-radius:0; background:transparent!important; box-shadow:none!important; overflow:visible; min-height:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .presence-chat { margin:0; flex:1 1 0%; min-height:80px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #aios-chat-host { padding:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #aios-chat-host #msgs { width:100%; max-width:780px; padding:32px 16px 36px; margin-inline:auto; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.user { background:var(--bl-soft)!important; color:var(--bl-ink)!important; border:1px solid var(--bl-line); border-radius:18px 18px 6px 18px; margin:6px 0 30px auto!important; padding:12px 18px; line-height:1.75; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai { margin:0 0 32px; padding:0; color:var(--bl-ink)!important; font-family:var(--bl-font); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai::before { content:'白翎'; display:flex; align-items:center; height:30px; margin-bottom:14px; padding-left:39px; background:url('./assets/brand/bailing-48.png') no-repeat left center / 28px; color:var(--bl-ink); font:600 12px/1.5 var(--bl-font); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai .bubble { max-width:100%; color:var(--bl-ink)!important; font-family:var(--bl-font); }
html .bl-refined .moss-reply { font:var(--bl-text-size)/1.85 var(--bl-font); color:var(--bl-ink); }
.bl-refined .reply-content { max-width:72ch; }
.bl-refined .reply-content :is(h3,h4) { margin-top:1.6em; margin-bottom:.7em; font-weight:650; letter-spacing:-.015em; }
.bl-refined .reply-content h3 { font-size:22px; }
.bl-refined .reply-code { border-radius:12px; border-color:var(--bl-line); background:var(--bl-canvas); margin:22px 0; }
.bl-refined .reply-code-bar { padding:6px 16px; }
.bl-refined .reply-code pre { padding:16px!important; font-size:13px; }
.bl-refined .reply-table { border:1px solid var(--bl-line); border-radius:10px; margin:22px 0; }
.bl-refined .reply-table th { background:var(--bl-canvas); font-size:13px; }
.bl-refined .reply-table :is(th,td) { padding:12px 16px; }
.bl-refined .reply-table tr:last-child td { border-bottom:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .reply-actions button, html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .v2-turn-actions button,
.phone-shell.bl-refined :is(.reply-actions,.v2-turn-actions) button { border:0!important; background:transparent!important; color:var(--bl-muted)!important; font-size:12px; padding:7px 9px; border-radius:7px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .reply-actions button:hover, .phone-shell.bl-refined .reply-actions button:hover { background:var(--bl-soft)!important; color:var(--bl-ink)!important; }
.bl-refined .reply-actions { gap:2px; margin-top:20px; }
.bl-refined .reply-export { font-size:12px; color:var(--bl-muted); }
.bl-refined .reply-export summary { padding:7px 9px; }
.bl-refined .v2-contract-receipt { padding:14px 16px; background:var(--bl-canvas); border:1px solid var(--bl-line); border-radius:10px; font-size:12px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .v2-contract-receipt button { border:0!important; background:var(--bl-paper)!important; color:var(--bl-accent)!important; border-radius:8px; }
.bl-refined .v2-turn-actions { margin:4px 0 26px; }
.bl-refined .v2-turn-actions small { font-size:11px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command { position:relative; display:grid; grid-template-columns:1fr auto; grid-template-areas:'input input' 'tools send'; align-items:center; gap:6px 12px; width:100%; max-width:780px; margin:0 auto; padding:14px 14px 10px; min-height:104px; background:var(--bl-paper)!important; border:1px solid var(--bl-line)!important; border-radius:18px; box-shadow:var(--bl-shadow); transition:border-color 160ms ease-out,box-shadow 160ms ease-out; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command:focus-within { border-color:var(--bl-accent)!important; box-shadow:0 6px 24px #252e4216; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #input { grid-area:input; width:100%; min-height:42px; max-height:144px; height:42px; margin:0; padding:3px 4px; font:16px/1.7 var(--bl-font); color:var(--bl-ink)!important; background:transparent!important; border:0!important; box-shadow:none; outline:none!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #input::placeholder { color:var(--bl-muted)!important; }
.bl-compose-controls { grid-area:tools; display:flex; gap:8px; align-items:center; min-width:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command :is(.composer-plus,#micbtn) { width:36px; min-width:36px; height:36px; min-height:36px; padding:8px; border:0!important; border-radius:10px; color:var(--bl-muted)!important; background:var(--bl-canvas)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send { grid-area:send; width:58px; height:38px; min-height:38px; min-width:58px; padding:8px; border-radius:11px; background:var(--bl-accent)!important; border:0!important; color:var(--bl-on-accent)!important; font-size:13px; font-weight:600; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send[data-busy=true] { background:var(--bl-soft)!important; color:var(--bl-ink)!important; }
.bl-chat-options,.bl-voice-options { position:relative; flex:none; }
.bl-chat-options>summary,.bl-voice-options>summary { display:flex; align-items:center; justify-content:center; gap:7px; list-style:none; cursor:pointer; min-height:36px; padding:7px 10px; border-radius:9px; font:12px/1.5 var(--bl-font); color:var(--bl-muted); }
.bl-chat-options>summary::-webkit-details-marker,.bl-voice-options>summary::-webkit-details-marker { display:none; }
.bl-chat-options>summary:hover,.bl-voice-options>summary:hover { background:var(--bl-soft); }
.bl-chat-options svg,.bl-voice-options svg { width:17px; height:17px; }
.bl-popover { position:absolute; right:0; top:calc(100% + 10px); width:330px; max-width:calc(100vw - 32px); padding:18px; border:1px solid var(--bl-line); background:var(--bl-paper); border-radius:14px; box-shadow:0 12px 36px #1c253526; z-index:60; }
.bl-voice-options .bl-popover { top:auto; bottom:calc(100% + 12px); left:0; right:auto; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover .studio-chat-context { display:flex; flex-wrap:wrap; gap:10px; border:0; padding:0 0 15px; margin:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover .studio-chat-context select { max-width:100%; width:100%; color:var(--bl-ink)!important; background:var(--bl-canvas)!important; border-color:var(--bl-line)!important; border-radius:8px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover #assistant-options-row { display:block!important; border-top:1px solid var(--bl-line); padding-top:14px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover #assistant-voice-call { display:block; border:0; padding:0; margin:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover .assistant-voice-info { display:block; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover .assistant-voice-info strong { display:block; font-size:15px; color:var(--bl-ink); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover .assistant-voice-status { font-size:13px; margin:8px 0 14px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-popover .assistant-voice-actions { display:flex; gap:8px; flex-wrap:wrap; }
.bl-voice-options[data-phase=unavailable]>summary::after { content:''; width:5px; height:5px; border-radius:50%; background:#b37039; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .hint { justify-content:center; margin:10px 0 0; padding:0; font-size:10px; color:var(--bl-muted); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .v2-composer-tools { max-width:780px; padding:6px 4px; }
.bl-refined .v2-sync-status { font-size:11px; color:var(--bl-muted); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome { inset:0; padding:18px; gap:0; max-width:780px; margin:auto; justify-content:center; z-index:1; }
.bl-welcome-mark { width:72px; height:72px; border-radius:21px; margin-bottom:22px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome h2 { font-size:34px; line-height:1.4; font-weight:600; letter-spacing:-.035em; margin:0 0 14px; color:var(--bl-ink); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome>p { font-size:14px; color:var(--bl-muted); line-height:1.8; margin:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters button { display:flex; gap:8px; align-items:center; justify-content:center; padding:10px 15px; min-height:43px; border:1px solid var(--bl-line)!important; border-radius:12px; background:var(--bl-paper)!important; color:var(--bl-ink)!important; font-size:13px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters button:hover { background:var(--bl-soft)!important; }
.experience-starters svg { width:17px; height:17px; color:var(--bl-muted); }
.bl-capabilities { pointer-events:auto; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px 24px; margin-top:26px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-capabilities button,.phone-shell.bl-refined .bl-capabilities button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:36px; padding:6px 0; border:0!important; background:transparent!important; color:var(--bl-muted)!important; font-size:12px; border-radius:5px; }
.bl-capabilities svg { width:15px; height:15px; }
.bl-capabilities svg:last-child { width:12px; height:12px; opacity:.6; }
/* Shared work, settings, forms and result surfaces. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content :is(.work-hub,.desktop-today,.desktop-tasks,.workspace-preferences,.file-workspace) { padding:32px 40px; max-width:1100px; margin-inline:auto; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace h1 { font-size:28px; letter-spacing:-.025em; color:var(--bl-ink)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head h1 { font-size:15px; letter-spacing:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace button { color:var(--bl-ink)!important; border-color:var(--bl-line)!important; border-radius:9px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace :is(input,select,textarea):not(#input) { color:var(--bl-ink)!important; background:var(--bl-paper); border-color:var(--bl-line)!important; border-radius:9px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace :is(.work-primary,.studio-primary,.v2-primary,.creator-primary,.goal-primary,.notes-primary,.founder-primary) { background:var(--bl-accent)!important; color:var(--bl-on-accent)!important; border-color:var(--bl-accent)!important; }
.bl-refined .work-hub-head { margin-bottom:24px; }
.bl-refined .work-hub-head p { color:var(--bl-muted); font-size:13px; line-height:1.8; }
.bl-refined .work-toolbar { padding:12px; border:1px solid var(--bl-line); border-radius:12px; background:var(--bl-canvas); gap:8px; }
.bl-refined .work-filters { gap:20px; border-bottom:1px solid var(--bl-line); padding:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .work-filters button,.phone-shell.bl-refined .work-filters button { background:transparent!important; border:0!important; border-bottom:2px solid transparent!important; border-radius:0; padding:10px 1px 14px; color:var(--bl-muted)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .work-filters button[aria-pressed=true],.phone-shell.bl-refined .work-filters button[aria-pressed=true] { color:var(--bl-accent)!important; border-bottom-color:var(--bl-accent)!important; }
.bl-refined .work-item { padding:calc(24px * var(--bl-space)) 4px; gap:22px; }
.bl-refined .v2-brief { border:0; border-block:1px solid var(--bl-line); background:transparent; border-radius:0; margin:24px 0 28px; padding:28px 0; }
.bl-refined .v2-brief h2 { font-size:23px; font-weight:600; }
.bl-refined .v2-muted { margin:10px 0 22px; font-size:13px; }
.bl-refined .v2-template-list { gap:8px; margin-bottom:28px; }
.bl-refined .v2-field span { font-size:13px; }
.bl-refined .v2-field textarea { background:var(--bl-canvas); border-color:var(--bl-line); font-size:15px; padding:13px 15px; border-radius:10px; }
.bl-refined .v2-brief-grid { gap:24px; }
.bl-refined .v2-capabilities { font-size:12px; color:var(--bl-muted); }
.bl-refined .work-empty { padding:50px 0; }
.work-result-drawer,.v2-edit-dialog { font-family:var(--bl-font); }
/* iPhone: the same materials, with a stable thumb zone and safe-area support. */
html body.phone-shell.bl-refined { background:var(--bl-canvas); color:var(--bl-ink); }
body.phone-shell.bl-refined[data-mobile-view=chat] { background:var(--bl-paper); }
.phone-shell.bl-refined .phone-header { min-height:calc(56px + env(safe-area-inset-top)); padding:calc(8px + env(safe-area-inset-top)) 12px 8px; border-bottom:1px solid var(--bl-line); background:var(--bl-paper); }
.phone-shell.bl-refined .phone-header h1 { font-size:17px; font-weight:650; }
.phone-shell.bl-refined .phone-identity { gap:7px; }
.phone-shell.bl-refined .phone-identity>img { width:30px; height:30px; border-radius:9px; }
.bl-mobile-version { align-self:flex-start; font-size:9px; line-height:1.5; padding:1px 4px; border:1px solid var(--bl-line); border-radius:4px; color:var(--bl-muted); margin-top:3px; }
.phone-shell.bl-refined .phone-connection-badge { font-size:10px; color:var(--bl-muted); }
.phone-shell.bl-refined .phone-icon { color:var(--bl-ink); }
.phone-shell.bl-refined .phone-welcome { min-height:0; padding:42px 0 24px; max-width:420px; }
.phone-shell.bl-refined .phone-welcome>img { width:64px; height:64px; border-radius:19px; margin-bottom:22px; }
.phone-shell.bl-refined .phone-welcome h2 { font-size:27px; font-weight:600; letter-spacing:-.03em; margin-bottom:11px; }
.phone-shell.bl-refined .phone-welcome>p { font-size:13px; color:var(--bl-muted); }
.phone-shell.bl-refined .phone-suggestions { display:grid; grid-template-columns:1fr 1fr; width:100%; gap:0 20px; margin-top:28px; text-align:left; }
.phone-shell.bl-refined .phone-suggestions button { display:flex; min-height:76px; gap:9px; padding:12px 0; border:0; border-bottom:1px solid var(--bl-line); border-radius:0; background:transparent; }
.phone-shell.bl-refined .phone-suggestions svg { width:18px; height:18px; color:var(--bl-accent); }
.phone-shell.bl-refined .phone-suggestion-copy strong { display:block; font-size:13px; font-weight:500; }
.phone-shell.bl-refined .phone-suggestion-copy small { display:block; font-size:11px; color:var(--bl-muted); margin-top:4px; line-height:1.6; }
.phone-shell.bl-refined .bl-capabilities { gap:8px 16px; margin-top:18px; }
.phone-shell.bl-refined .bl-capabilities button { min-height:44px; font-size:11px; gap:5px; }
.phone-shell.bl-refined .bl-capabilities svg:last-child { display:none; }
.phone-shell.bl-refined #mobile-chat-scroll { padding:20px 20px 24px; }
.phone-shell.bl-refined .phone-history-question,.phone-shell.bl-refined .phone-message[data-role=user] { border:1px solid var(--bl-line); border-radius:18px 18px 6px 18px; background:var(--bl-soft); padding:12px 16px; font-size:15px; margin-bottom:28px!important; }
.phone-shell.bl-refined .phone-history-answer::before,.phone-shell.bl-refined .phone-message[data-role=ai]::before { content:'白翎'; display:block; height:28px; padding:5px 0 0 37px; margin:0 0 16px; background:url('/moss-brand/bailing-v73-192.png') no-repeat left center / 26px; font:600 12px/1.5 var(--bl-font); }
.phone-shell.bl-refined .reply-content h3 { font-size:21px; line-height:1.5; }
.phone-shell.bl-refined .reply-code pre { font-size:12px; }
.phone-shell.bl-refined .reply-table :is(th,td) { padding:10px 12px; }
.phone-shell.bl-refined .reply-actions { column-gap:0; row-gap:2px; }
.phone-shell.bl-refined .v2-contract-receipt { padding:12px; gap:8px; }
.phone-shell.bl-refined[data-mobile-view=chat] .mobile-composer { padding:8px 14px max(14px,env(safe-area-inset-bottom)); background:var(--bl-paper); }
.phone-shell.bl-refined[data-mobile-view=chat] .mobile-compose-row { border:1px solid var(--bl-line); background:var(--bl-paper); border-radius:22px; padding:8px; box-shadow:var(--bl-shadow); }
.phone-shell.bl-refined[data-mobile-view=chat] .mobile-compose-row:focus-within { border-color:var(--bl-accent); }
.phone-shell.bl-refined[data-mobile-view=chat] #chat-input { padding:8px 7px 12px; font:16px/1.7 var(--bl-font); color:var(--bl-ink); }
.phone-shell.bl-refined .phone-call-button { background:var(--bl-canvas); color:var(--bl-muted); padding-inline:12px; font-size:12px; }
.phone-shell.bl-refined .phone-compose-toolbar { gap:3px; }
.phone-shell.bl-refined .v2-sync-status { font-size:10px; padding:0 3px 4px; }
.phone-shell.bl-refined .phone-tabbar { background:var(--bl-paper); border-top:1px solid var(--bl-line); padding-top:8px; }
.phone-shell.bl-refined .phone-tabbar button[aria-current=page] { color:var(--bl-accent); }
.phone-shell.bl-refined .phone-sheet { padding:24px 22px max(28px,env(safe-area-inset-bottom)); border-radius:26px 26px 0 0; }
.phone-shell.bl-refined .phone-action-grid { gap:12px; }
.phone-shell.bl-refined .phone-action-grid button { border:0; border-radius:14px; background:var(--bl-canvas); }
.phone-shell.bl-refined .phone-create-actions button { border-bottom-color:var(--bl-line); min-height:54px; }
.phone-shell.bl-refined .phone-drawer { background:var(--bl-canvas); padding:24px 18px; }
.phone-shell.bl-refined .phone-new-chat { background:var(--bl-accent); color:var(--bl-on-accent); border-radius:12px; }
.phone-shell.bl-refined .work-hub { padding:24px 4px 32px; }
.phone-shell.bl-refined .work-hub h1 { font-size:25px; }
.phone-shell.bl-refined .work-hub-head { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:24px; }
.phone-shell.bl-refined .work-hub-head>div { flex-basis:100%; }
.phone-shell.bl-refined .work-hub-head button { font-size:13px; padding:10px 14px; border-radius:10px; }
.phone-shell.bl-refined .work-toolbar { flex-wrap:wrap; padding:10px; }
.phone-shell.bl-refined .work-toolbar form { flex-basis:100%; max-width:none; }
.phone-shell.bl-refined .work-filters { gap:18px; }
.phone-shell.bl-refined .work-filters button { font-size:13px; min-height:44px; }
.phone-shell.bl-refined .v2-brief { padding:24px 0; }
.phone-shell.bl-refined .v2-brief h2 { font-size:22px; }
.phone-shell.bl-refined .v2-field textarea { background:var(--bl-paper); font-size:16px; }
.phone-shell.bl-refined .v2-template-list button { font-size:13px; border-radius:9px; }
.phone-shell.bl-refined .phone-settings-group { background:var(--bl-paper); border-color:var(--bl-line); border-radius:14px; }
@media (max-width:1179px) {
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app { grid-template-columns:210px minmax(0,1fr)!important; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-conversation { padding-inline:22px!important; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content :is(.work-hub,.desktop-today,.workspace-preferences,.file-workspace) { padding:30px 26px; }
}
@media (max-width:960px) {
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app { grid-template-columns:76px minmax(0,1fr)!important; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail { padding:20px 8px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail .brand { display:flex; justify-content:center; padding:0; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand :is(b,.workspace-brand-note,.bl-version),html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat :is(span,kbd) { display:none; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav { height:58px; flex-direction:column; justify-content:center; gap:4px; padding:6px; font-size:11px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat { justify-content:center; padding:10px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-search-open { justify-content:center; padding:10px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-search-open :is(span,small) { display:none; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-nav-footer { padding-inline:0; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome h2 { font-size:28px; }
}
@media (max-height:760px) and (min-width:961px) {
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail { padding-top:18px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail .brand { margin-bottom:18px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history { padding-top:18px; }
  .bl-welcome-mark { width:56px; height:56px; margin-bottom:16px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome h2 { font-size:29px; }
  html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters { margin-top:22px; }
  .bl-capabilities { margin-top:16px; }
}
@media (max-width:350px) {
  .phone-shell.bl-refined #mobile-chat-scroll { padding-inline:16px; }
  .phone-shell.bl-refined .phone-welcome { padding-top:24px; }
  .phone-shell.bl-refined .phone-welcome h2 { font-size:24px; }
  .phone-shell.bl-refined .phone-suggestions { column-gap:12px; }
  .phone-shell.bl-refined .phone-suggestions svg { display:none; }
  .bl-mobile-version { display:none; }
}
@media (max-height:500px) {
  .phone-shell.bl-refined .phone-welcome { padding-top:16px; }
  .phone-shell.bl-refined .phone-welcome>img { display:none; }
  .phone-shell.bl-refined .phone-header { min-height:48px; padding-block:2px; }
}
@media (prefers-reduced-motion:reduce) { .bl-refined *, .bl-refined *::before, .bl-refined *::after { transition:none!important; animation:none!important; scroll-behavior:auto!important; } }

/* The legacy shell set its own font and important paint rules on every subtree. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :where(.desktop-workspace,.desktop-conversation,.studio-chat-main,.top,.rail,.experience-welcome,.desktop-meta,.work-hub) { font-family:var(--bl-font)!important; color:var(--bl-ink); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace { --sans:var(--bl-font); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :is(.desktop-meta,.work-muted,.work-feedback,.conversation-status,.studio-context-status,.conversation-manager p,.experience-manage) { color:var(--bl-muted)!important; font-family:var(--bl-font); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace :is(p,li,td,th,summary,small) { font-family:var(--bl-font); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome>* { flex-shrink:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-chat-main .hint { display:flex; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome>p { color:var(--bl-muted)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #input { min-height:42px!important; padding:3px 4px!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-latest { background:var(--bl-paper)!important; border-color:var(--bl-line)!important; border-radius:18px; box-shadow:var(--bl-shadow); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :is(.reply-code,.reply-code-bar,.reply-table th,.v2-contract-receipt,.work-toolbar) { background:var(--bl-canvas)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .v2-template-list button[aria-pressed=true],.phone-shell.bl-refined .v2-template-list button[aria-pressed=true] { background:var(--bl-accent-soft)!important; color:var(--bl-accent)!important; border-color:var(--bl-line)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace :is(.v2-field textarea,.v2-edit-dialog textarea):focus-visible { outline:2px solid var(--bl-accent)!important; outline-offset:2px; }
.phone-shell.bl-refined .v2-brief .v2-primary { background:var(--bl-accent); color:var(--bl-on-accent); border-color:var(--bl-accent); }
.phone-shell.bl-refined .v2-brief-heading { flex-wrap:wrap; gap:10px; }
.phone-shell.bl-refined .v2-brief-heading h2 { flex:1; min-width:220px; font-size:20px; }
.phone-shell.bl-refined .work-hub-head p { font-size:13px; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager input[type=search]::placeholder { color:var(--bl-muted); opacity:1; }

/* Reading preferences and composed conversation controls. */
html[data-bl-density=compact] { --bl-space:.75; }
html[data-bl-size=large] { --bl-text-size:18px; }
html[data-bl-size=larger] { --bl-text-size:20px; }
.bl-refined { font-variant-numeric:tabular-nums; text-underline-offset:.2em; }
.bl-refined .reply-content :is(p,li) { line-height:1.85; }
.bl-refined .reply-content p { margin-block:0 .95em; }
.bl-refined :is(.reply-content,.bl-run-result) { overflow-wrap:anywhere; }
.bl-refined button:disabled { opacity:.55; cursor:not-allowed; }
.bl-refined .bl-read-settings { display:grid; gap:14px; padding-block:16px; border-top:1px solid var(--bl-line); }
.bl-read-settings label { display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:13px; }
.bl-read-settings select { padding:8px; min-height:38px; border:1px solid var(--bl-line); border-radius:8px; color:var(--bl-ink); background:var(--bl-paper); }
.bl-refined .bl-compose-more { position:relative; }
.bl-refined .bl-compose-more>summary { list-style:none; display:flex; gap:6px; align-items:center; cursor:pointer; padding:8px; min-height:36px; border-radius:10px; color:var(--bl-muted); font-size:12px; }
.bl-compose-more>summary::-webkit-details-marker { display:none; }
.bl-refined .bl-compose-more>.bl-popover { bottom:calc(100% + 12px); top:auto; left:0; right:auto; width:310px; max-height:min(520px,65dvh); overflow:auto; padding:18px; border:1px solid var(--bl-line); border-radius:14px; background:var(--bl-paper); box-shadow:0 12px 36px #15203920; z-index:60; }
.bl-refined .bl-compose-more .bl-v3-compose { display:grid; gap:8px; padding:0; margin:0; }
.bl-refined .bl-compose-more :is(.bl-v3-compose>button,.bl-turn-options>summary) { width:100%; min-height:40px; padding:10px; text-align:left; border:0!important; background:var(--bl-soft)!important; border-radius:8px; color:var(--bl-ink)!important; font-size:13px; }
.bl-refined .bl-compose-more .bl-turn-options-panel { position:static; width:100%; box-shadow:none; margin-block:8px; background:var(--bl-paper); border:0; padding:8px 2px; }
.bl-refined .bl-compose-more .bl-turn-options-panel label { padding-block:8px; color:var(--bl-ink); }
.bl-refined .bl-compose-more .bl-handoff-panel { max-width:100%; }
.bl-refined .bl-compose-more .bl-read-settings { margin-top:16px; }
.bl-refined .bl-preference-note { display:block; margin:2px auto 6px; width:min(100%,780px); color:var(--bl-muted); font-size:12px; }
.bl-refined .bl-preference-note:empty { display:none; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-chat-main .hint { display:none; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-state { min-height:0; padding:3px 0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat { background:var(--bl-paper); border:1px solid var(--bl-line); color:var(--bl-ink); box-shadow:0 2px 5px #15203905; }
.bl-refined .assistant-new-chat svg { color:var(--bl-accent); }
.bl-refined .conversation-list { padding-top:2px; }
.bl-refined .bl-system-status { margin-left:auto; font-size:12px; color:var(--bl-muted); position:relative; }
.bl-refined .bl-system-status>summary { cursor:pointer; padding:8px; }
.bl-refined .bl-system-status>div { position:absolute; right:0; top:100%; min-width:230px; padding:16px; display:grid; gap:10px; background:var(--bl-paper); border:1px solid var(--bl-line); border-radius:12px; box-shadow:var(--bl-shadow); z-index:80; }
.bl-refined .bl-run { width:min(100%,780px); margin:0 auto 10px; padding:9px 12px; color:var(--bl-muted); background:var(--bl-canvas); border:1px solid var(--bl-line); border-radius:12px; font-size:12px; }
.bl-run[hidden] { display:none!important; }
.bl-refined .bl-run summary { cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; list-style:none; padding:3px 0; }
.bl-run summary::-webkit-details-marker { display:none; }
.bl-run-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--bl-ink); }
.bl-run-disclosure { flex-shrink:0; }
.bl-refined .bl-run-body { max-height:28dvh; overflow:auto; overscroll-behavior:contain; margin-top:12px; border-top:1px solid var(--bl-line); padding-top:12px; }
.bl-run-body ol { padding-left:20px; line-height:1.7; }
.bl-run-body pre { white-space:pre-wrap; overflow-wrap:anywhere; font:12px/1.6 var(--bl-font); }
.bl-run-result { white-space:pre-wrap; line-height:1.8; color:var(--bl-ink); }
.bl-run-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.bl-refined .bl-run-actions button { min-height:32px; padding:5px 10px; border:1px solid var(--bl-line); border-radius:7px; background:var(--bl-paper); color:var(--bl-ink); font-size:12px; }
.bl-refined .bl-run-actions .bl-run-confirm { color:var(--bl-on-accent)!important; background:var(--bl-accent)!important; border-color:var(--bl-accent)!important; }
.bl-run-note { margin:8px 0 0; line-height:1.6; }
.bl-run-note:empty { display:none; }
.bl-refined .bl-run[data-state=waiting_confirmation] { border-color:var(--bl-accent); }
.bl-refined .bl-run[data-state=running] .bl-run-title::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--bl-accent); margin-right:8px; }
.bl-refined .work-toolbar { border:0; border-radius:0; padding:0 0 20px; background:transparent!important; }
.bl-refined .work-more { margin-left:auto; }
.bl-refined .work-filters { gap:24px; }
.bl-refined .work-item .work-state { font-size:12px; }
.bl-refined .founder-workspace { border:0; border-radius:0; padding:0; }
.bl-refined .founder-head { padding-top:12px; }
.bl-refined .founder-tabs { gap:20px; border-bottom:1px solid var(--bl-line); }
.bl-refined .founder-tabs button { border:0!important; border-radius:0!important; background:transparent!important; padding:12px 0!important; }
.bl-refined .founder-tabs button[aria-pressed=true] { border-bottom:2px solid var(--bl-accent)!important; color:var(--bl-accent)!important; }
.bl-refined .founder-row { box-shadow:none; border-inline:0; border-radius:0; }
.phone-shell.bl-refined .bl-compose-more>.bl-popover { position:fixed; left:12px; right:12px; bottom:calc(var(--keyboard-inset,0px) + 90px + env(safe-area-inset-bottom)); width:auto; max-height:58dvh; }
.phone-shell.bl-refined .bl-compose-more>summary { min-height:44px; min-width:44px; padding:10px; }
.phone-shell.bl-refined .bl-compose-more>summary span { display:none; }
.phone-shell.bl-refined .bl-run { margin-bottom:8px; padding:8px 10px; }
.phone-shell.bl-refined .bl-run-actions button { min-height:44px; }
.phone-shell.bl-refined :is(.phone-history-answer,.phone-message[data-role=ai],.moss-reply) { font-size:var(--bl-text-size); }
.phone-shell.bl-refined .phone-header { gap:8px; }
.phone-shell.bl-refined .phone-subtitle { max-width:170px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.phone-shell.bl-refined .bl-mobile-version { display:none; }
.phone-shell.bl-refined .founder-tabs { display:flex; flex-wrap:nowrap; gap:20px; overflow:auto; padding:0; }
.phone-shell.bl-refined .founder-tabs button { white-space:nowrap; flex:none; min-height:44px; }
.phone-shell.bl-refined .work-hub-head { margin-bottom:18px; }
.phone-shell.bl-refined .work-filters { gap:18px; overflow:auto; flex-wrap:nowrap; }
.phone-shell.bl-refined .work-filters button { white-space:nowrap; flex:none; }
.phone-shell.bl-refined .work-toolbar { gap:8px; }
.phone-shell.bl-refined .work-toolbar form { width:100%; }
.phone-shell.bl-refined .founder-workspace { padding:0; }
.phone-shell.bl-refined .phone-call { background:var(--bl-paper); color:var(--bl-ink); }
.phone-shell.bl-refined .phone-call :is(.phone-call-transcript,.phone-call-subtitle) { line-height:1.8; }
@media(min-width:961px) { html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-manage form { display:flex; } }
@media(max-width:1199px) { html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-conversation { padding:16px 24px; } }
@media(max-height:620px) { .phone-shell.bl-refined .bl-run-body { max-height:18dvh; } }
@media(prefers-reduced-motion:no-preference) { .bl-refined .bl-compose-more[open]>.bl-popover { animation:bl-menu-in 160ms cubic-bezier(.16,1,.3,1); } @keyframes bl-menu-in { from { clip-path:inset(0 0 12% 0); box-shadow:0 4px 12px #15203910; } to { clip-path:inset(0); box-shadow:0 12px 36px #15203920; } } }

/* Legacy components inherit the same surfaces and readable foregrounds. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat { width:100%; margin-left:0; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-manage summary { color:var(--bl-muted)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .work-toolbar { background:transparent!important; }
html .bl-refined .reply-table table { width:100%; min-width:0; }
.bl-refined .bl-compose-more .bl-chat-options { margin:12px 0; width:100%; }
.bl-refined .bl-compose-more .bl-chat-options>.bl-popover { position:static; width:100%; padding:12px 0; border:0; box-shadow:none; }
.bl-refined .bl-run-parameters { margin-top:10px; }
.bl-refined .bl-run-parameters>summary { justify-content:flex-start; text-decoration:underline; }
@media(min-width:961px) and (max-width:1199px) {
 html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .with-activity .assistant-activity:not([hidden]) { display:block!important; position:absolute; right:0; top:70px; bottom:12px; z-index:40; width:min(380px,calc(100% - 24px)); padding:24px; border:1px solid var(--bl-line); border-radius:14px; background:var(--bl-paper); box-shadow:0 12px 36px #15203920; overflow:auto; }
}
.bl-refined .bl-compose-more>.bl-popover[popover]:not(:popover-open) { display:none!important; }
.bl-refined .bl-compose-more>.bl-popover:popover-open { display:block; }
html body.phone-shell.bl-refined[data-mobile-view=chat] .mobile-composer:has(.bl-compose-more[open]) { overflow:visible; position:relative; z-index:100; }
html body.phone-shell.bl-refined[data-mobile-view=chat] .mobile-compose-row:has(.bl-compose-more[open]) { z-index:100; }
html .bl-refined .reply-table table { display:table; table-layout:auto; }

/* Opaque floating surfaces override the inherited dashboard reset. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-compose-more>.bl-popover,
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .with-activity .assistant-activity:not([hidden]) { background:var(--bl-paper)!important; color:var(--bl-ink)!important; }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-run-actions .bl-run-confirm { background:var(--bl-accent)!important; color:var(--bl-on-accent)!important; border-color:var(--bl-accent)!important; }
.bl-refined .bl-run-operation,.bl-refined .bl-run-target { color:var(--bl-ink); font-weight:600; overflow-wrap:anywhere; margin-block:10px; }

/* Density changes reading rhythm; controls keep their full hit area. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai { margin-bottom:calc(32px * var(--bl-space)); }
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.user { margin-bottom:calc(30px * var(--bl-space))!important; }
html .bl-refined .reply-content p { margin-bottom:calc(.95em * var(--bl-space)); }
.phone-shell.bl-refined .phone-history-question,.phone-shell.bl-refined .phone-message[data-role=user] { margin-bottom:calc(28px * var(--bl-space))!important; }
.phone-shell.bl-refined .phone-history-answer,.phone-shell.bl-refined .phone-message[data-role=ai] { margin-bottom:calc(28px * var(--bl-space)); }
.bl-refined .work-toolbar { margin-bottom:calc(20px * var(--bl-space)); }
.bl-refined .work-item { padding-block:calc(24px * var(--bl-space)); }

/* Phone Work: one title/action row, search, then grouped secondary controls. */
.phone-shell.bl-refined .work-hub-head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:start; margin-bottom:16px; }
.phone-shell.bl-refined .work-hub-head>div { min-width:0; }
.phone-shell.bl-refined .work-hub-head p { margin-top:6px; }
.phone-shell.bl-refined .work-hub-head button { min-height:44px; padding-inline:12px; }
.phone-shell.bl-refined .work-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; padding-bottom:0; }
.phone-shell.bl-refined .work-toolbar form { grid-row:1; grid-column:1/-1; display:flex; max-width:none; width:100%; margin:0; }
.phone-shell.bl-refined .work-toolbar>button { margin:0; min-height:44px; }
.phone-shell.bl-refined .work-toolbar .founder-entry { justify-self:start; }
.phone-shell.bl-refined .work-toolbar .work-more { margin:0; }
.phone-shell.bl-refined .work-toolbar .work-more>summary { min-height:44px; padding:10px 8px; }
.phone-shell.bl-refined .work-filters { padding-bottom:0; }
.phone-shell.bl-refined .work-hub.founder-open .work-toolbar { display:flex; justify-content:flex-end; margin-bottom:8px; }
.phone-shell.bl-refined .work-hub.founder-open .work-toolbar form { display:none; }
.bl-refined .assistant-activity-controls { display:flex; align-items:center; gap:8px; }

/* 7.0: one continuous conversation canvas, with results revealed on demand. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] main.desktop-mode {padding:0!important;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace {border:0;border-radius:0;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head {border-bottom:0;padding-bottom:8px;min-height:48px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top {background:var(--bl-paper);}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top .name {opacity:.8;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.user {border:0;border-radius:18px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai::before {height:24px;background-size:22px;padding-left:31px;margin-bottom:12px;color:var(--bl-muted);}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-navigation {gap:4px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav {border-radius:10px;min-height:44px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav.active {background:var(--bl-accent-soft);box-shadow:none;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-navigation [data-workspace-section=preferences] {margin-top:20px;border-top:1px solid var(--bl-line);border-radius:0;padding-top:14px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command {box-shadow:0 6px 26px #1520390a;border-color:var(--bl-line);border-radius:22px;}
html .bl-refined .moss-reply {line-height:1.85;letter-spacing:.005em;}
html .bl-refined .reply-content :is(h1,h2,h3,h4) {text-wrap:pretty;}
html .bl-refined .reply-content :is(p,li) {overflow-wrap:anywhere;}
html .bl-refined .reply-table-wrap {border-radius:8px;}
html .bl-refined .reply-code {border-radius:8px;box-shadow:none;}
html .bl-refined .bl-run {background:transparent;border:0;border-top:1px solid var(--bl-line);border-radius:0;}
html .bl-refined .bl-run[data-state=completed] {font-size:13px;color:var(--bl-muted);}
html .bl-refined .bl-run[data-state=waiting_confirmation] {background:var(--bl-soft);border:1px solid var(--bl-line);border-radius:12px;padding:12px;}
html .work-result-drawer {background:var(--bl-paper);color:var(--bl-ink);box-shadow:-8px 0 32px #10182912;}
html .work-result-head {border-bottom:1px solid var(--bl-line);}
@media(min-width:1180px){
 html body.experience-result-open #moss-aios-shell.bl-refined.experience-ready[data-desktop-view=assistant] .desktop-workspace {padding-right:calc(min(var(--v2-result-width,440px),560px,45vw) + 32px);}
 html body.experience-result-open #moss-aios-shell.bl-refined.experience-ready[data-desktop-view=assistant] .desktop-conversation {width:100%;margin:0;min-width:0;padding-inline:20px;justify-self:start;}
 html body.experience-result-open #moss-aios-shell.bl-refined.experience-ready[data-desktop-view=assistant] .bl-compose-controls {flex-wrap:wrap;min-width:0;}
}
html .work-result-text {border:0;background:transparent;padding:0;}
html .work-result-text .moss-reply {font-size:16px;}
html .work-result-file {flex-wrap:wrap;align-items:center;border-radius:8px;background:var(--bl-soft);padding:16px;}
.result-preview {flex:1 1 100%;width:100%;min-width:0;border-top:1px solid var(--bl-line);padding-top:16px;margin-top:8px;}
.result-preview :is(h4,h5) {margin:0 0 12px;font-size:15px;color:var(--bl-ink);}
.result-preview pre {font:15px/1.8 var(--bl-font);white-space:pre-wrap;overflow-wrap:anywhere;max-height:55dvh;overflow:auto;padding:0;background:transparent;color:var(--bl-ink);}
.result-preview-table {max-width:100%;max-height:48dvh;overflow:auto;margin-bottom:16px;}
.result-preview table {border-collapse:collapse;font-size:13px;width:max-content;min-width:100%;}
.result-preview td {padding:8px 12px;border:1px solid var(--bl-line);max-width:260px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top;}
.project-journal {max-width:800px;}
.project-journal>h3 {font-size:21px;margin:12px 0;}
.project-journal>select {width:100%;margin:12px 0 20px;min-height:44px;}
.journal-timeline {max-height:52dvh;overflow:auto;}
.journal-entry {padding:20px 0;border-bottom:1px solid var(--bl-line);}
.journal-entry:first-child {padding-top:0;}
.journal-entry small {color:var(--bl-muted);font-size:12px;}
.journal-entry h4 {font-size:17px;margin:8px 0;}
.journal-entry p {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:8px 0;}
.journal-form {display:grid;gap:16px;margin-top:28px;}
.journal-form label {display:grid;gap:8px;font-size:14px;}
.journal-form :is(input,textarea,select),.project-journal>select {box-sizing:border-box;min-width:0;border:1px solid var(--bl-line);border-radius:8px;color:var(--bl-ink);background:var(--bl-paper);font:16px/1.6 var(--bl-font);padding:10px 12px;}
.journal-form textarea {min-height:88px;resize:vertical;}
.journal-form textarea[required] {min-height:124px;}
.journal-form button {min-height:44px;}
.work-project-links {display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px;}
.work-project-links button {padding:8px 12px;min-height:44px;border:0;background:transparent;color:var(--bl-accent);font:inherit;}
html .phone-shell .phone-header {border-bottom:0;box-shadow:0 1px 0 var(--bl-line);}
html .phone-shell .phone-history-question {border:0;}
html .phone-shell .mobile-compose-row {box-shadow:0 -6px 26px #15203908;}
html .phone-shell .founder-tabs {overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;}
html .phone-shell .founder-tabs button {white-space:nowrap;flex-shrink:0;}
html .phone-shell .work-heading {padding-bottom:8px;}
@media(max-width:600px){
 html .work-result-drawer[open] {inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);}
 html .work-result-head {position:sticky;top:0;background:var(--bl-paper);z-index:2;}
 html .work-result-head button {min-width:44px;min-height:44px;}
 .result-preview pre {max-height:none;}
 .journal-form .founder-actions {display:flex;flex-wrap:wrap;}
 .journal-form .founder-actions button {flex:1 1 auto;}
}
@media(prefers-reduced-motion:reduce){.result-preview,.journal-entry,.work-result-drawer {animation:none!important;transition:none!important;}}

/* 7.2: Codex visual layout. Presentation only; all existing controls stay mounted. */
:root{--bl-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Moss Noto","Microsoft YaHei","PingFang SC",sans-serif;--bl-canvas:#fff;--bl-paper:#fff;--bl-soft:#f3f3f3;--bl-sidebar:#f9f9f9;--bl-ink:#1a1c1f;--bl-muted:#626262;--bl-line:#e5e5e5;--bl-accent:#181818;--bl-accent-soft:#ebebeb;--bl-on-accent:#fff;--bl-text-size:16px;--bl-shadow:0 2px 8px #00000008;--experience-focus:#737373;--bl-control-hover:#ebebeb;--bl-composer-line:#d9d9d9;--bl-reading-width:760px}
html[data-workspace-appearance=dark],html[data-theme=dark]{--bl-canvas:#212121;--bl-paper:#212121;--bl-soft:#303030;--bl-sidebar:#171717;--bl-ink:#ececec;--bl-muted:#b4b4b4;--bl-line:#393939;--bl-accent:#ececec;--bl-accent-soft:#343434;--bl-on-accent:#171717;--bl-shadow:0 2px 8px #00000018;--bl-control-hover:#2a2a2a;--bl-composer-line:#4c4c4c}
@media(prefers-color-scheme:dark){html:not([data-theme=light]):not([data-workspace-appearance=light]){--bl-canvas:#212121;--bl-paper:#212121;--bl-soft:#303030;--bl-sidebar:#171717;--bl-ink:#ececec;--bl-muted:#b4b4b4;--bl-line:#393939;--bl-accent:#ececec;--bl-accent-soft:#343434;--bl-on-accent:#171717;--bl-shadow:0 2px 8px #00000018;--bl-control-hover:#2a2a2a;--bl-composer-line:#4c4c4c}}
html[data-bl-size=large]{--bl-text-size:18px}html[data-bl-size=larger]{--bl-text-size:20px}
html .bl-refined,html .bl-refined :is(button,input,textarea,select){font-family:var(--bl-font)!important;-webkit-font-smoothing:antialiased}
.bl-refined :is(button,summary){transition:background-color 120ms ease-out,border-color 120ms ease-out,color 120ms ease-out}
.bl-refined :is(button,summary):focus-visible{outline-color:var(--bl-ink)!important;outline-width:2px!important}
.bl-refined ::selection{background:var(--bl-accent-soft);color:var(--bl-ink)}
.bl-refined :is(.reply-code,.reply-table,.bl-popover,.composer-menu,.work-result-drawer,.founder-workspace){border-color:var(--bl-line)!important}
.bl-refined .reply-content{max-width:100%}
html .bl-refined .moss-reply{font:var(--bl-text-size)/1.8 var(--bl-font);color:var(--bl-ink)}
.bl-refined .reply-content :is(h1,h2,h3,h4){font-family:var(--bl-font);font-weight:600;letter-spacing:0;line-height:1.5}
.bl-refined .reply-content :is(h1,h2,h3){font-size:1.2em}
.bl-refined .reply-content :is(p,ul,ol){margin-block:calc(1em * var(--bl-space))}
.bl-refined .reply-code{background:var(--bl-sidebar);border-radius:10px;box-shadow:none}
.bl-refined .reply-code-bar{background:transparent;border-color:var(--bl-line);padding:7px 14px;color:var(--bl-muted)}
.bl-refined .reply-code pre{font-size:13px;line-height:1.7}
.bl-refined .reply-table{border-radius:8px;border:1px solid var(--bl-line)}
.bl-refined .reply-table :is(th,td){border-color:var(--bl-line)!important;padding:10px 14px;font-size:14px}
.bl-refined .reply-table th{background:var(--bl-sidebar)}
.bl-refined :is(.bl-popover,.composer-menu){border-radius:12px;background:var(--bl-paper)!important;color:var(--bl-ink);box-shadow:0 8px 28px #00000018}
.bl-refined .bl-popover :is(button,summary){border-radius:7px}
.bl-refined .bl-popover :is(input,select,textarea){background:var(--bl-paper);color:var(--bl-ink);border-color:var(--bl-line)}
.bl-refined :is(.work-hub,.founder-workspace,.project-journal,.desktop-preferences,.phone-preferences){--work-accent:var(--bl-accent);--workspace-accent:var(--bl-accent);--founder-accent:var(--bl-accent)}
.bl-refined :is(.work-toolbar,.work-filters,.work-tabs,.founder-tabs) button{border-radius:8px}
.bl-refined :is(.work-item,.work-receipt,.work-result-preview,.journal-entry){box-shadow:none}
.bl-refined :is(.bl-capabilities,.experience-starters,.phone-suggestions) button{border:1px solid var(--bl-line)!important;border-radius:9px!important;background:transparent!important;color:var(--bl-ink)!important;box-shadow:none!important}
.bl-refined :is(.bl-capabilities,.experience-starters,.phone-suggestions) button:hover{background:var(--bl-soft)!important}
.bl-refined .bl-capabilities{gap:10px}
.bl-refined .bl-capabilities button{min-height:42px;font-size:13px}
.bl-refined .bl-capabilities button svg:last-child{display:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app{grid-template-columns:256px minmax(0,1fr)!important;background:var(--bl-sidebar)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail{padding:12px 10px 12px;background:var(--bl-sidebar);border:0;gap:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail .brand{display:flex;align-items:center;gap:9px;padding:0 10px;min-height:42px;margin:0 0 17px;text-align:left}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand>img{width:28px!important;height:28px!important;border-radius:7px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand>b{font-size:16px;font-weight:600;letter-spacing:-.02em}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-brand-note,.bl-version{display:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-navigation{gap:2px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav{min-height:36px;height:36px;padding:8px 11px;gap:10px;border-radius:7px;font-size:13px;color:var(--bl-ink);font-weight:400}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav.active{background:var(--bl-accent-soft)!important;color:var(--bl-ink)!important;box-shadow:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav svg{width:18px;height:18px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-nav:not(.active):hover{background:var(--bl-control-hover)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat{height:36px;min-height:36px;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--bl-ink)!important;border-radius:7px;padding:8px 11px;margin:0 0 2px;gap:10px;font-size:13px;font-weight:400}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat:hover{background:var(--bl-control-hover)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat svg{width:18px;height:18px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .assistant-new-chat kbd{color:var(--bl-muted);font-size:10px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-search-open{display:flex;align-items:center;gap:10px;height:36px;min-height:36px;margin:0 0 12px;padding:8px 11px;border:0!important;border-radius:7px;background:transparent;color:var(--bl-ink);font-size:13px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-search-open:hover{background:var(--bl-control-hover)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history{padding:26px 0 0;border:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history-heading{padding:0 11px 8px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history-heading h2{font-size:12px;color:var(--bl-muted)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager .conversation-row{border:0;border-radius:7px;min-height:34px;margin:1px 0;background:transparent}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager .conversation-row.selected{background:var(--bl-accent-soft)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager .conversation-open{color:var(--bl-ink)!important;font-size:13px;min-height:34px;padding:8px 11px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #conversation-manager .conversation-row:hover{background:var(--bl-control-hover)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-nav-footer{padding:10px 0 0;display:flex;flex-wrap:wrap;gap:4px;border:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-nav-footer .desktop-nav{flex-basis:100%;display:flex;align-items:center;margin-bottom:7px;width:100%}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-help{font-size:11px;padding:4px 10px;color:var(--bl-muted)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] main.desktop-mode{position:relative;min-width:0;padding:0!important;background:var(--bl-paper);border-left:1px solid var(--bl-line)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top{height:52px;min-height:52px;padding:0 12px;background:var(--bl-paper);border:0;pointer-events:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top-actions{pointer-events:auto;gap:3px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top .name{display:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .top-actions :is(button,summary){font-size:12px;color:var(--bl-muted);border-radius:6px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace{border:0!important;border-radius:0!important;background:var(--bl-paper)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head{min-height:0;height:0;padding:0!important;border:0;position:static}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div{position:absolute;top:0;left:22px;right:350px;height:52px;display:flex;align-items:center;pointer-events:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head h1{font-size:14px;font-weight:500}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .assistant-progress-link{position:absolute;top:9px;right:244px;min-height:32px;background:transparent!important;font-size:12px;padding:6px 10px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status{position:absolute;top:10px;right:144px;z-index:35}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status>summary{min-height:30px;padding:6px 8px;color:var(--bl-muted)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-conversation{padding:8px 32px 20px!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #aios-chat-host #msgs{max-width:var(--bl-reading-width);padding:28px 0 48px;margin-inline:auto}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.user{border:0!important;border-radius:18px;margin:0 0 36px auto!important;padding:11px 17px;max-width:82%;background:var(--bl-soft)!important;font:var(--bl-text-size)/1.7 var(--bl-font)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai{margin:0 0 calc(36px * var(--bl-space));padding:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai::before{display:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs .msg.ai .bubble{max-width:100%;padding:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #aios-compose-host{border:0!important;padding:12px 0 0!important;background:var(--bl-paper);}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command{max-width:var(--bl-reading-width);border-radius:16px!important;border-color:var(--bl-composer-line)!important;min-height:104px;padding:12px 12px 9px;box-shadow:var(--bl-shadow)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command:focus-within{border-color:var(--bl-muted)!important;box-shadow:var(--bl-shadow)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #input{font:15px/1.65 var(--bl-font);padding:3px 4px!important;min-height:40px!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command :is(.composer-plus,#micbtn){width:34px;min-width:34px;height:34px;min-height:34px;border-radius:7px;background:transparent!important;color:var(--bl-muted)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #command :is(.composer-plus,#micbtn):hover{background:var(--bl-soft)!important;color:var(--bl-ink)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-compose-controls{gap:4px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-compose-controls>details>summary{border:0!important;border-radius:7px;min-height:34px;padding:7px;color:var(--bl-muted);font-size:12px;gap:6px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-compose-controls>details>summary:hover{background:var(--bl-soft)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-compose-controls>details>summary svg{width:17px;height:17px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send{height:34px!important;min-height:34px!important;min-width:34px!important;width:34px!important;padding:7px!important;border-radius:50%!important;background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;box-shadow:none!important;display:grid!important;place-items:center}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send svg{display:block!important;width:20px;height:20px;color:inherit}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send:disabled{background:var(--bl-soft)!important;color:var(--bl-muted)!important;opacity:1}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome{max-width:var(--bl-reading-width);padding:24px 0 48px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-welcome-mark{display:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome h2{font-size:30px;font-weight:500;letter-spacing:-.02em;margin-bottom:12px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome>p{font-size:14px;}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters{gap:10px;margin-top:28px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters button{font-size:13px;min-height:42px;padding:10px 12px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content{background:var(--bl-paper)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :is(.desktop-preferences,.work-hub){max-width:1040px;margin-inline:auto}
html body.phone-shell.bl-refined{background:var(--bl-paper);--phone-font:var(--bl-font)}
html body.phone-shell.bl-refined .phone-header{background:var(--bl-paper);border-bottom:1px solid var(--bl-line);min-height:calc(56px + env(safe-area-inset-top));padding:calc(4px + env(safe-area-inset-top)) 12px 4px;gap:4px}
html body.phone-shell.bl-refined .phone-identity{justify-content:flex-start;gap:7px;flex:1;min-width:0}
html body.phone-shell.bl-refined .phone-identity>img{width:24px;height:24px;border-radius:6px}
html body.phone-shell.bl-refined .phone-identity h1{font-size:16px;font-weight:600;letter-spacing:0;line-height:1.4}
html body.phone-shell.bl-refined .phone-connection-badge{font-size:10px;color:var(--bl-muted)}
html body.phone-shell.bl-refined .phone-header .phone-icon{background:transparent;border:0;border-radius:8px;width:44px;min-width:44px;height:44px;color:var(--bl-ink)}
html body.phone-shell.bl-refined .phone-drawer{background:var(--bl-sidebar);border-radius:0;border:0;width:min(296px,88vw);box-shadow:0 8px 40px #0002}
html body.phone-shell.bl-refined .phone-drawer button{border-radius:8px;color:var(--bl-ink)}
html body.phone-shell.bl-refined .phone-new-chat{background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-radius:8px!important;box-shadow:none}
html body.phone-shell.bl-refined #mobile-chat-scroll{padding-inline:20px;background:var(--bl-paper)}
html body.phone-shell.bl-refined .mobile-msg.user{background:var(--bl-soft)!important;color:var(--bl-ink)!important;border:0!important;border-radius:18px;padding:11px 15px}
html body.phone-shell.bl-refined .mobile-msg.assistant{background:transparent;border:0;padding:0;line-height:1.8}
html body.phone-shell.bl-refined .phone-welcome{padding:30px 0 24px}
html body.phone-shell.bl-refined .phone-welcome>img{display:none}
html body.phone-shell.bl-refined .phone-welcome h2{font-size:26px;font-weight:500;letter-spacing:-.02em}
html body.phone-shell.bl-refined .phone-suggestions{gap:9px}
html body.phone-shell.bl-refined .phone-suggestions button{font-size:13px;min-height:44px}
html body.phone-shell.bl-refined .mobile-composer{padding:10px 12px max(12px,env(safe-area-inset-bottom));background:var(--bl-paper);border:0}
html body.phone-shell.bl-refined .mobile-compose-row{border:1px solid var(--bl-composer-line)!important;border-radius:16px!important;background:var(--bl-paper)!important;box-shadow:var(--bl-shadow);padding:9px 8px 6px}
html body.phone-shell.bl-refined .mobile-compose-row:focus-within{border-color:var(--bl-muted)!important;box-shadow:var(--bl-shadow)}
html body.phone-shell.bl-refined #chat-input{font-family:var(--bl-font)!important;font-size:16px;line-height:1.6;color:var(--bl-ink);padding:7px 7px 3px;min-height:42px;}
html body.phone-shell.bl-refined .phone-compose-toolbar{padding:2px 0 0;gap:2px;}
html body.phone-shell.bl-refined .phone-compose-toolbar :is(button,summary){color:var(--bl-muted);background:transparent;border:0;border-radius:8px;min-height:44px}
html body.phone-shell.bl-refined .phone-call-button{background:transparent!important;border-radius:8px!important;padding-inline:8px;font-size:12px;gap:5px}
html body.phone-shell.bl-refined #chat-send{width:44px;min-width:44px;height:44px;background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-radius:50%!important;}
html body.phone-shell.bl-refined #chat-send:disabled{background:var(--bl-soft)!important;color:var(--bl-muted)!important;opacity:1}
html body.phone-shell.bl-refined .phone-setting,html body.phone-shell.bl-refined .phone-choice,html body.phone-shell.bl-refined .phone-range-list{border-radius:10px;background:var(--bl-paper);border-color:var(--bl-line)}
html body.phone-shell.bl-refined .phone-settings-heading,html body.phone-shell.bl-refined .phone-page-heading{font-weight:600;letter-spacing:-.02em}
html body.phone-shell.bl-refined .phone-call{background:var(--bl-paper);color:var(--bl-ink)}
html body.phone-shell.bl-refined .phone-call button:not([data-call-hangup]){color:var(--bl-ink);background:var(--bl-soft);border-color:var(--bl-line)}
@media(max-width:1180px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app{grid-template-columns:224px minmax(0,1fr)!important}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-conversation{padding-inline:24px!important}}
@media(max-width:940px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app{grid-template-columns:196px minmax(0,1fr)!important}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-conversation{padding-inline:18px!important}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div{right:280px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .assistant-progress-link{right:195px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status{right:100px}}
@media(max-width:700px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app{grid-template-columns:168px minmax(0,1fr)!important}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div{right:140px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .assistant-progress-link,html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status{position:static;margin-left:auto}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head{height:auto;min-height:36px;justify-content:flex-end;gap:4px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #input{font-size:16px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .bl-voice-options>summary span{display:none}}
@media(max-width:350px){html body.phone-shell.bl-refined #mobile-chat-scroll{padding-inline:16px}html body.phone-shell.bl-refined .mobile-composer{padding-inline:8px}html body.phone-shell.bl-refined .phone-identity>img{display:none}}
@media(prefers-reduced-motion:reduce){.bl-refined *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail{position:relative}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-navigation [data-workspace-section=preferences]{position:absolute;bottom:58px;left:10px;width:calc(100% - 20px);height:36px;min-height:36px;border:0;border-radius:7px;margin:0;padding:8px 11px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-history{margin-bottom:54px}

/* Confirmed layout fixes: inherited legacy rail width and column alignment. */
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail{width:100%!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail .brand{flex-direction:row;justify-content:flex-start;min-height:42px;height:42px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div{right:430px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .assistant-progress-link{right:322px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status{right:222px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send{font-size:0!important;overflow:hidden;position:relative}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send::after{content:'';width:20px;height:20px;display:block;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19V5m-6 6 6-6 6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #send[data-busy=true]::after{width:12px;height:12px;mask:none;border-radius:2px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :is(.conversation-list>button,.desktop-nav,.assistant-new-chat,.desktop-search-open){color:var(--bl-ink)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .conversation-list>button[aria-current=true]{background:var(--bl-accent-soft)!important;color:var(--bl-ink)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .reply-table :is(th,td){background:transparent;border-color:var(--bl-line)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .reply-table th{background:var(--bl-sidebar)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .reply-code{background:var(--bl-sidebar)!important;border-color:var(--bl-line)!important}
@media(max-width:700px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div{right:220px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .assistant-progress-link,html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status{position:static;margin-left:auto}}

/* 7.3 — softer native UI, adjustable reading column and vertical task detail. */
:root{--bl-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI","PingFang SC","Microsoft YaHei","Moss Noto",sans-serif;--bl-reading-width:1040px;--bl-task-width:360px;--bl-menu-ink:#303030}
html[data-workspace-appearance=dark],html[data-theme=dark]{--bl-menu-ink:#e6e6e6}
html body,html body :is(button,input,textarea,select,summary){font-family:var(--bl-font);-webkit-font-smoothing:antialiased}
html .bl-refined,html .bl-refined :is(button,input,textarea,select,summary){font-family:var(--bl-font)!important}
html body .composer-menu{font:400 13px/1.6 var(--bl-font)!important;color:var(--bl-menu-ink)!important;background:var(--bl-paper)!important;border:1px solid var(--bl-line);border-radius:14px;padding:6px;box-shadow:0 8px 28px #00000016}
html body .composer-menu button{font:400 13px/1.6 var(--bl-font)!important;min-height:44px;padding:10px 12px;gap:12px;border-radius:9px;color:inherit}
html body .composer-menu svg{width:19px;height:19px;stroke-width:1.55;color:var(--bl-muted)}
html body .composer-menu button:hover,html body .composer-menu button:focus-visible{background:var(--bl-soft)}
html body .composer-menu button:focus-visible{outline:2px solid var(--bl-muted);outline-offset:-2px}
html body #moss-aios-shell.bl-refined .desktop-chat-head h1,html .bl-refined .reply-content :is(h1,h2,h3,h4){font-weight:500!important}
html .bl-refined .reply-content :is(strong,th){font-weight:600}
html .bl-refined .bl-read-settings button{font:400 13px/1.5 var(--bl-font);padding:8px 10px;border:1px solid var(--bl-line);border-radius:8px;background:transparent;color:var(--bl-ink);text-align:left;min-height:36px}
html .bl-refined .bl-read-settings .bl-pin-window[aria-pressed=true]{background:var(--bl-accent-soft)}
html body #moss-aios-shell.bl-refined .studio-chat-main{position:relative;min-width:0}
html body #moss-aios-shell.bl-refined #command,html body #moss-aios-shell.bl-refined #msgs{width:100%}
.bl-width-guides{position:absolute;inset:-1px;pointer-events:none;z-index:10}
.bl-width-guides[hidden]{display:none!important}
.bl-width-handle{position:absolute;top:16px;bottom:16px;width:20px;cursor:col-resize;touch-action:none;pointer-events:auto;outline:0}
.bl-width-left{left:-10px}.bl-width-right{right:-10px}
.bl-width-handle::before{content:none}
.bl-width-handle::after{content:"";position:absolute;top:50%;left:9px;width:2px;height:24px;margin-top:-12px;border:0;border-radius:2px;background:var(--bl-muted);opacity:.45}
.bl-width-handle:hover::after,.bl-width-handle:focus-visible::after,.bl-resizing .bl-width-handle::after{background:var(--bl-ink);opacity:1}
.bl-width-handle:focus-visible::after{outline:2px solid var(--bl-ink);outline-offset:2px}
.bl-resizing,.bl-resizing *{cursor:col-resize!important;user-select:none!important}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run{display:none!important}
html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace:is(.bl-task-open,.with-activity){grid-template-columns:minmax(0,1fr) var(--bl-task-width)!important;gap:0!important}
html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace:is(.bl-task-open,.with-activity) .desktop-conversation{grid-column:1!important;min-width:0;padding-inline:24px!important}
html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace.bl-task-open>.bl-run:not([hidden]):not(.is-collapsed),html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace.with-activity>.assistant-activity:not([hidden]){display:flex!important;flex-direction:column;position:relative!important;inset:auto!important;grid-column:2;grid-row:1;width:100%!important;max-width:100%;height:100%;min-height:0;max-height:100%;margin:0;padding:20px;border:0!important;border-left:1px solid var(--bl-line)!important;border-radius:0!important;background:var(--bl-paper)!important;color:var(--bl-ink);box-shadow:none!important;overflow:auto;z-index:20;box-sizing:border-box;font:400 14px/1.7 var(--bl-font)}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run>details{display:flex;flex-direction:column;min-height:0;flex:1}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run>details>summary{flex:none;padding:14px 0 12px;line-height:1.7;font-size:13px}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run .bl-run-title{white-space:normal;overflow-wrap:anywhere}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run .bl-run-body{max-height:none;overflow:visible;padding:12px 0;margin:0;border-top:1px solid var(--bl-line);font-size:14px}
html body #moss-aios-shell.bl-refined .bl-task-head{display:flex;align-items:center;gap:8px;flex:none;padding-bottom:12px;border-bottom:1px solid var(--bl-line)}
html body #moss-aios-shell.bl-refined .bl-task-head h2{font:500 15px/1.5 var(--bl-font);color:var(--bl-ink);margin:0 auto 0 0}
html body #moss-aios-shell.bl-refined .bl-task-head button{font:400 12px/1.4 var(--bl-font);padding:7px 8px;border:0;border-radius:7px;min-height:32px;color:var(--bl-muted)!important;background:transparent}
html body #moss-aios-shell.bl-refined .bl-task-head button:hover{background:var(--bl-soft)}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run .bl-run-actions{position:sticky;bottom:-20px;padding:14px 0;background:var(--bl-paper);flex:none;border-top:1px solid var(--bl-line);margin:0}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run .bl-run-actions button{min-height:36px;font-size:13px}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run[data-state=waiting_confirmation]{background:var(--bl-paper)!important}
@media(max-width:1180px){:root{--bl-task-width:300px}html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace:is(.bl-task-open,.with-activity) .desktop-conversation{padding-inline:18px!important}}
@media(max-width:880px){html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace:is(.bl-task-open,.with-activity){grid-template-columns:minmax(0,1fr)!important}html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace.bl-task-open>.bl-run:not([hidden]):not(.is-collapsed),html body #moss-aios-shell.bl-refined[data-desktop-view=assistant] #desktop-workspace.with-activity>.assistant-activity:not([hidden]){position:fixed!important;inset:52px 0 0 auto!important;width:min(340px,100%)!important;box-shadow:-8px 0 28px #00000010!important}}
@media(prefers-reduced-motion:reduce){.bl-width-handle{transition:none!important}}
/* Material corrections from the first desktop/mobile inspection. */
html body #moss-aios-shell.bl-refined .bl-width-handle:focus-visible{outline:none!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #aios-chat-host #msgs{padding-inline:12px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :is(.desktop-nav,.desktop-search-open){flex-direction:row;justify-content:flex-start}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .app>.rail .brand{flex-direction:row}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand>b{display:block!important}
html .bl-refined :is(.reply-content,.bl-run-body,.phone-sheet){font-family:var(--bl-font)!important}
html .phone-shell.bl-refined .phone-dialog-head h2{font:500 18px/1.6 var(--bl-font);color:var(--bl-ink)}
html .phone-shell.bl-refined .phone-sheet :is(button,h3,label,select){font-family:var(--bl-font)!important;font-weight:400}
html .phone-shell.bl-refined .phone-sheet button{font-size:14px;line-height:1.6}
html .phone-shell.bl-refined .phone-sheet h3{font-size:13px;color:var(--bl-muted);margin-top:24px}
@media(prefers-color-scheme:dark){html:not([data-theme=light]):not([data-workspace-appearance=light]){--bl-menu-ink:#e6e6e6}}

/* 7.3.1: compact type roles; edge handles belong to the composer border. */
:root{--bl-text-size:14px;--bl-ui-size:13px;--bl-nav-size:12px;--bl-section-size:22px}
html[data-bl-size=large]{--bl-text-size:18px}html[data-bl-size=larger]{--bl-text-size:20px}
html body #moss-aios-shell.bl-refined{font-size:var(--bl-ui-size)}
html .bl-refined .reply-content :is(p,li){line-height:1.8}
html .bl-refined .reply-table :is(th,td){font-size:var(--bl-text-size);padding:9px 12px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] :is(.desktop-nav,.assistant-new-chat,.desktop-search-open,#conversation-manager .conversation-open){font-size:var(--bl-nav-size)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .brand>b{font-size:15px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-workspace h1{font-size:var(--bl-section-size)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head h1{font-size:13px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome h2{font-size:24px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome>p{font-size:13px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #input{font-size:14px;line-height:1.65}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run{font-size:13px}
html body #moss-aios-shell.bl-refined #desktop-workspace>.bl-run .bl-run-body{font-size:13px}
html body #moss-aios-shell.bl-refined .bl-task-head h2{font-size:14px}
html .bl-refined :is(.result-preview pre,.work-result-text .moss-reply){font-size:var(--bl-text-size)}
html .bl-refined :is(.work-hub,.founder-workspace,.goal-workspace,.routine-workspace) h1{font-size:var(--bl-section-size)}
html .bl-refined .project-journal>h3{font-size:19px}
html .bl-refined .journal-entry h4{font-size:16px}
html:not([data-bl-size=large]):not([data-bl-size=larger]) body.phone-shell.bl-refined{--bl-text-size:15px}
html body.phone-shell.bl-refined{font-size:14px}
html body.phone-shell.bl-refined .phone-welcome h2{font-size:23px}
html body.phone-shell.bl-refined .phone-dialog-head h2{font-size:17px}
html body.phone-shell.bl-refined .phone-sheet button{font-size:13px}
/* Keep editable phone fields at 16px so Safari does not zoom on focus. */
html body.phone-shell.bl-refined :is(input,textarea,select){font-size:16px}

html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #msgs :is(.msg.ai,.msg.ai .bubble,.msg.user){font-size:var(--bl-text-size);line-height:1.8}

/* 8.23 — one shared layout rhythm for conversation, work and preferences. */
.bl-refined{--bl-page-width:1040px;--bl-gutter:32px;--workspace-bg:var(--bl-paper);--workspace-text:var(--bl-ink);--workspace-muted:var(--bl-muted);--workspace-line:var(--bl-line);--workspace-soft:var(--bl-soft);--workspace-accent:var(--bl-accent)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content> :is(section,div):not([hidden]){box-sizing:border-box;max-width:var(--bl-page-width);width:100%;margin-inline:auto;padding:28px var(--bl-gutter)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content :is(h1,.studio-page-head h1){font-size:24px;line-height:1.4;font-weight:500;letter-spacing:-.02em;margin-top:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content h2{font-size:18px;line-height:1.5;font-weight:500}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content h3{font-size:15px;line-height:1.5;font-weight:500}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-content :is(p,label,button,summary){line-height:1.65}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-sectionbar{padding:0 var(--bl-gutter);background:var(--bl-paper);border-bottom:1px solid var(--bl-line)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .workspace-section-heading{display:none}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #workspace-context-nav{gap:24px;min-height:44px;align-items:center}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #workspace-context-nav button{min-height:44px;padding:10px 0;font-size:13px;color:var(--bl-muted);border-color:transparent}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #workspace-context-nav button[aria-current=page]{color:var(--bl-ink);border-bottom-color:var(--bl-ink);font-weight:500}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #workspace-context-nav .workspace-back{border:0}
/* Keep an empty conversation and its composer together; populated chats keep their scroll layout. */
@media(min-height:680px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view=assistant]:not(.experience-has-messages) .desktop-conversation{justify-content:center;padding-bottom:clamp(32px,10vh,110px)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view=assistant]:not(.experience-has-messages) .presence-chat{flex:0 0 220px;min-height:220px;margin-bottom:12px}}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-welcome{padding:24px 0;justify-content:center}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters{margin-top:22px;gap:8px}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .experience-starters button{min-height:38px;padding:8px 13px;font-weight:400}
/* Secondary work actions are inline disclosures, never floating over results. */
html body .bl-refined .work-hub-head{margin-bottom:18px;gap:16px}
html body .bl-refined .work-hub-head h1{margin-bottom:6px}
html body .bl-refined .work-hub-head p{margin:0;line-height:1.65}
html body .bl-refined .work-toolbar{padding:0;margin:0 0 8px;border:0;border-radius:0;background:transparent;gap:8px}
html body .bl-refined .work-secondary{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 24px;margin:0 0 8px}
html body .bl-refined .work-secondary>details{position:static;flex:0 1 auto;min-width:0;width:auto;margin:0;padding:0;border:0;background:transparent}
html body .bl-refined .work-secondary>details>summary{padding:8px 0;min-height:36px;font-size:12px;color:var(--bl-muted);font-weight:400}
html body .bl-refined .work-secondary>details[open]{flex-basis:100%;padding-bottom:8px}
html body .bl-refined .work-secondary>details>button{margin:4px 8px 4px 0;min-height:36px;font-size:13px}
html body .bl-refined .work-secondary .work-project-links{margin:0;gap:4px}
html body .bl-refined .work-secondary .work-route-label{margin:8px 0 2px}
html body .bl-refined .work-hub.founder-open .work-secondary{display:none}
html body .bl-refined .work-filters{margin:0;gap:18px}
html body .bl-refined .work-feedback{margin:10px 0;font-size:12px}
html body .bl-refined .work-feedback:empty{display:none}
html body .bl-refined .work-list{background:transparent;border-radius:0}
html body .bl-refined .work-item{border-radius:0;box-shadow:none;padding:18px 0}
/* Settings and secondary file tools stay available without competing with the task. */
.bl-refined .workspace-disclosure{border:0;border-top:1px solid var(--bl-line);border-radius:0;background:transparent;margin:18px 0 0;padding:0;color:var(--bl-ink)}
.bl-refined .workspace-disclosure>summary{cursor:pointer;min-height:44px;padding:12px 0;font:500 13px/1.6 var(--bl-font);color:var(--bl-ink)}
.bl-refined .workspace-disclosure[open]>summary{margin-bottom:12px}
.bl-refined .workspace-disclosure>.recording-workspace{margin-top:0;padding-top:0;border-top:0}
html body #moss-aios-shell.bl-refined .workspace-setting-row{min-height:60px;padding:12px 0;background:transparent;border-radius:0}
html body #moss-aios-shell.bl-refined .workspace-setting-row strong{font-size:14px;font-weight:500}
html body #moss-aios-shell.bl-refined .workspace-setting-row small{font-size:12px;line-height:1.65;margin-top:3px}
html body #moss-aios-shell.bl-refined .workspace-setting-action{font-size:12px;color:var(--bl-muted)}
html body #moss-aios-shell.bl-refined .workspace-preferences>.desktop-section{margin-top:24px}
html body #moss-aios-shell.bl-refined .file-head{margin-bottom:16px;align-items:flex-start}
html body #moss-aios-shell.bl-refined .file-head p{font-size:13px;margin:8px 0 0}
html body #moss-aios-shell.bl-refined .file-body{margin-top:20px;gap:24px}
html body #moss-aios-shell.bl-refined .file-actions{gap:8px}
html body #moss-aios-shell.bl-refined .file-actions .file-meta{flex-basis:100%;font-size:12px}
html body #moss-aios-shell.bl-refined .file-meta{font-size:12px;line-height:1.7}
/* Project creation has one main form and a quieter project list. */
html body .bl-refined .studio-start-layout{background:transparent;border:0;border-radius:0;box-shadow:none;gap:32px;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr)}
html body .bl-refined .studio-start-layout>section{border:0;background:transparent;box-shadow:none;padding:0}
html body .bl-refined .studio-start-layout>section+section{border-left:1px solid var(--bl-line);padding-left:28px}
html body .bl-refined :is(.calendar-heading,.mobile-file-head){align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
html body .bl-refined .calendar-heading h1{margin:0 auto 0 0}
html body .bl-refined .calendar-transfer{display:flex;position:relative;margin:0;padding:0;border:0}
html body .bl-refined .calendar-transfer>summary{cursor:pointer;font-size:13px;min-height:40px;padding:9px 10px;color:var(--bl-muted)}
html body .bl-refined .calendar-transfer[open]{flex-basis:100%;border-top:1px solid var(--bl-line);padding-top:6px}
html body .bl-refined .calendar-transfer>button{margin:4px 8px 4px 0}
html body .bl-refined .calendar-intro{font-size:12px;line-height:1.6;margin:8px 0 16px;color:var(--bl-muted)}
html body .bl-refined .calendar-availability{margin-top:16px}
html body .bl-refined .calendar-day{border-color:transparent;border-radius:8px;background:transparent}
html body .bl-refined .calendar-day[aria-pressed=true]{background:var(--bl-accent);color:var(--bl-on-accent)}
html body .bl-refined :is(.studio-primary,.calendar-primary,.creator-primary,.goal-primary,.notes-primary,.phone-primary){background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-color:var(--bl-accent)!important}
.bl-refined :focus-visible{outline:2px solid var(--bl-ink);outline-offset:3px}
.bl-refined ::selection{background:var(--bl-accent);color:var(--bl-on-accent)}
/* Narrow desktop: reserve the actual window controls, not a fixed 430px title gap. */
@media(min-width:701px) and (max-width:1000px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head>div{right:310px;left:16px;min-width:0}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .assistant-progress-link{right:226px}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .desktop-chat-head .bl-system-status{right:140px}}
@media(max-width:940px){.bl-refined{--bl-gutter:24px}}
/* Phone: compact reading rhythm, unchanged 44px touch targets and 16px editable text. */
html body.phone-shell.bl-refined.phone-app{--bl-gutter:20px}
html body.phone-shell.bl-refined.phone-app:not([data-mobile-view=chat]){padding-inline:20px}
html body.phone-shell.bl-refined.phone-app:not([data-mobile-view=chat]) .phone-header{margin-inline:-20px}
html body.phone-shell.bl-refined.phone-app .phone-welcome{padding:32px 0 16px;max-width:460px}
html body.phone-shell.bl-refined.phone-app .phone-welcome img{width:40px;height:40px;margin:0 0 16px -4px}
html body.phone-shell.bl-refined.phone-app .phone-welcome h2{font-size:24px;line-height:1.45;margin-bottom:10px}
html body.phone-shell.bl-refined.phone-app .phone-suggestions{margin-top:18px}
html body.phone-shell.bl-refined.phone-app .phone-suggestions button{padding:10px 0;min-height:44px}
html body.phone-shell.bl-refined.phone-app .mobile-context{padding:0;margin:0 0 12px;border:0;background:transparent;box-shadow:none}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav{display:flex;gap:16px;border-bottom:1px solid var(--bl-line);padding:0;margin:0;overflow-x:auto}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav>button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;min-height:44px;background:transparent;color:var(--bl-muted);font-size:13px;flex:none}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav>button[aria-current=page]{border-bottom-color:var(--bl-ink);color:var(--bl-ink)}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav>.mobile-context-back{border:0;width:auto;justify-content:flex-start}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav>.mobile-context-back::before{content:'‹';font-size:20px;line-height:1;margin-right:8px}
html body.phone-shell.bl-refined.phone-app :is(.work-hub,.calendar-workspace,.mobile-file-library,.studio-workspace,.creator-workspace){padding:16px 0 24px;margin:0;width:100%;max-width:none}
html body.phone-shell.bl-refined.phone-app :is(.work-hub-head h1,.phone-app-page-title,.calendar-heading h1,.studio-page-head h1,.creator-heading h1){font-size:24px!important;line-height:1.4;font-weight:500!important;letter-spacing:-.02em;margin:0 0 8px}
html body.phone-shell.bl-refined.phone-app .phone-app-page-title{margin-top:18px}
html body.phone-shell.bl-refined.phone-app .work-hub-head{margin-bottom:16px}
html body.phone-shell.bl-refined.phone-app .work-secondary{gap:0 24px;margin:0}
html body.phone-shell.bl-refined.phone-app .work-secondary>details>summary{min-height:44px;padding:11px 0}
html body.phone-shell.bl-refined.phone-app .work-secondary>details>button{min-height:44px}
html body.phone-shell.bl-refined.phone-app .work-filters{gap:4px;justify-content:space-between}
html body.phone-shell.bl-refined.phone-app .phone-app-profile{padding:4px 0 16px;margin:8px 0 18px;gap:12px}
html body.phone-shell.bl-refined.phone-app .phone-app-profile img{width:38px;height:38px;border-radius:0}
html body.phone-shell.bl-refined.phone-app .phone-app-profile h2{font-size:16px;margin-bottom:3px}
html body.phone-shell.bl-refined.phone-app .phone-setting{padding:12px 0;min-height:60px;gap:10px}
html body.phone-shell.bl-refined.phone-app .phone-setting-copy{font-size:14px;flex:1;min-width:0}
html body.phone-shell.bl-refined.phone-app .phone-setting-value{max-width:28%;font-size:12px;flex-shrink:0}
html body.phone-shell.bl-refined.phone-app .phone-setting>svg{flex-shrink:0}
html body.phone-shell.bl-refined.phone-app .phone-settings-group{margin:16px 0 24px}
html body.phone-shell.bl-refined.phone-app .mobile-file-head h2{font-size:23px;font-weight:500;margin:0;line-height:1.4}
html body.phone-shell.bl-refined.phone-app .mobile-file-library :is(.meta,.mobile-file-status){font-size:12px;line-height:1.7}
html body.phone-shell.bl-refined.phone-app .mobile-file-library>input{width:100%;font-size:16px;margin:8px 0 12px;min-height:44px}
html body.phone-shell.bl-refined.phone-app .mobile-file-list{margin:0 0 20px}
html body.phone-shell.bl-refined.phone-app .calendar-heading{gap:8px;margin-bottom:8px}
html body.phone-shell.bl-refined.phone-app .calendar-heading h1{flex-basis:100%}
html body.phone-shell.bl-refined.phone-app .calendar-heading :is(button,summary){min-height:44px;font-size:13px}
html body.phone-shell.bl-refined.phone-app .calendar-intro{margin:6px 0 14px}
html body.phone-shell.bl-refined.phone-app .studio-start-layout{display:flex;flex-direction:column;gap:24px}
html body.phone-shell.bl-refined.phone-app .studio-start-layout>section+section{border-left:0;border-top:1px solid var(--bl-line);padding:20px 0 0}
html body.phone-shell.bl-refined.phone-app :is(input,textarea,select):not([type=checkbox]):not([type=range]){font-size:16px}
/* Complete the same rules on the body-mounted phone shell and legacy subpages. */
html body.phone-shell.bl-refined.phone-app .work-secondary{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 24px;margin:0 0 4px}
html body.phone-shell.bl-refined.phone-app .work-hub .work-secondary>details{flex:0 1 auto;width:auto;margin:0;padding:0;border:0;box-shadow:none}
html body.phone-shell.bl-refined.phone-app .work-hub .work-secondary>details[open]{flex-basis:100%}
html body.phone-shell.bl-refined.phone-app .work-hub.founder-open .work-secondary{display:none!important}
html body.phone-shell.bl-refined.phone-app .work-toolbar{padding:0;margin:0 0 8px;border:0;background:transparent}
html body.phone-shell.bl-refined.phone-app .work-feedback{margin:8px 0;font-size:12px}
html body.phone-shell.bl-refined.phone-app .work-hub .work-item{border:0;border-bottom:1px solid var(--bl-line);border-radius:0;padding:18px 0}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav{background:transparent;border-radius:0}
html body.phone-shell.bl-refined.phone-app .mobile-context>nav>button[aria-current=page]{box-shadow:none;background:transparent}
html body.phone-shell.bl-refined.phone-app [data-mobile-panel]:not([data-mobile-panel=chat]) h1{font-size:24px;font-weight:500;line-height:1.4}
html body.phone-shell.bl-refined.phone-app [data-mobile-panel]:not([data-mobile-panel=chat]) h2{font-size:18px;font-weight:500;line-height:1.5}
html body.phone-shell.bl-refined.phone-app [data-mobile-panel]:not([data-mobile-panel=chat]) h3{font-size:16px;font-weight:500;line-height:1.5}
html body.phone-shell.bl-refined.phone-app .workspace-disclosure{margin-top:20px;border:0;border-top:1px solid var(--bl-line);padding:0;background:transparent}
html body.phone-shell.bl-refined.phone-app .workspace-disclosure>summary{min-height:44px;padding:12px 0;font-size:13px;cursor:pointer}
html body.phone-shell.bl-refined.phone-app .workspace-disclosure .recording-workspace{margin:0;padding-top:12px;border:0}
html body.phone-shell.bl-refined.phone-app :is(.calendar-heading,.mobile-file-head){gap:10px;align-items:center}
html body.phone-shell.bl-refined.phone-app .calendar-transfer{margin:0;padding:0;border:0}
html body.phone-shell.bl-refined.phone-app .calendar-transfer>summary{padding:10px;min-height:44px;font-size:13px;cursor:pointer}
html body.phone-shell.bl-refined.phone-app .calendar-transfer[open]{flex-basis:100%;padding-bottom:8px}
html body.phone-shell.bl-refined.phone-app .calendar-transfer>button{margin:4px 8px 4px 0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #desktop-content :is(.studio-primary,.creator-primary,.calendar-primary,.goal-primary,.notes-primary,.persona-primary):not(:disabled){background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-color:var(--bl-accent)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #desktop-content :is(.studio-primary,.creator-primary):hover{background:var(--bl-ink)!important;color:var(--bl-paper)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .planner-workspace{color:var(--bl-ink);background:var(--bl-paper);color-scheme:light dark}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .planner-workspace :is(.planner-field,.planner-meta,.planner-status,.planner-content summary,.planner-row time){color:var(--bl-muted)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .planner-workspace :is(.planner-error,.planner-status.error){color:var(--bl-danger,#a33434)!important}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-start-layout>*{border:0;background:transparent;box-shadow:none;padding:0}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-start-layout>*+*{border-left:1px solid var(--bl-line);padding-left:28px}
@media(min-height:680px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view=assistant]:not(.experience-has-messages) .presence-chat{margin-top:clamp(40px,15vh,150px)}}
@media(max-width:760px){html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-start-layout{grid-template-columns:1fr}html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] .studio-start-layout>*+*{border-left:0;border-top:1px solid var(--bl-line);padding:20px 0 0}}
/* Readability repair for older dark-only work modules on the shared light canvas. */
html .bl-refined .inbox-workspace{--inbox-bg:var(--bl-paper)!important;--inbox-text:var(--bl-ink)!important;--inbox-muted:var(--bl-muted)!important;--inbox-line:var(--bl-line)!important;--inbox-accent:var(--bl-accent)!important;--inbox-selected:var(--bl-soft)!important}
html .bl-refined .notes-workspace{--note-bg:var(--bl-paper)!important;--note-text:var(--bl-ink)!important;--note-muted:var(--bl-muted)!important;--note-line:var(--bl-line)!important;--note-accent:var(--bl-accent)!important}
html .bl-refined .calendar-workspace{--cal-bg:var(--bl-paper)!important;--cal-text:var(--bl-ink)!important;--cal-muted:var(--bl-muted)!important;--cal-line:var(--bl-line)!important;--cal-accent:var(--bl-accent)!important}
html body #moss-aios-shell.bl-refined #desktop-content :is(.care-workspace,.companion-workspace){color:var(--bl-ink)}
html body #moss-aios-shell.bl-refined #desktop-content :is(.care-note,.care-empty,.care-path,.care-tag,.care-health-list dd,.companion-muted,.companion-status,.companion-workspace label,.companion-execution summary){color:var(--bl-muted)}
html body #moss-aios-shell.bl-refined #desktop-content :is(.care-error,.companion-error,.companion-status.is-error,.inbox-status.is-error){color:var(--bl-danger,#a33434)}
html body #moss-aios-shell.bl-refined #desktop-content :is(.care-row,.care-health-list dt,.care-health-list dd,.companion-tabs,.companion-project-list,.companion-section,.companion-action-row){border-color:var(--bl-line)}
html body #moss-aios-shell.bl-refined #desktop-content .companion-project-choice[aria-pressed=true]{background:var(--bl-soft)!important;color:var(--bl-ink)!important}
html body #moss-aios-shell.bl-refined #desktop-content :is(.notes-actions>button:first-child,.todo-actions>button:first-child,.inbox-scope button[aria-pressed=true]){background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-color:var(--bl-accent)!important}
html body.phone-shell.bl-refined.phone-app :is(.notes-actions>button:first-child,.todo-actions>button:first-child,.inbox-scope button[aria-pressed=true]){background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-color:var(--bl-accent)!important}
html body.phone-shell.bl-refined.phone-app .phone-settings-group>h2{font-size:12px!important;line-height:1.5!important;color:var(--bl-muted);font-weight:400!important}
html body.phone-shell.bl-refined.phone-app .studio-start-layout>*{border:0;background:transparent;box-shadow:none;padding:0}
html body.phone-shell.bl-refined.phone-app .studio-start-layout>*+*{border:0;border-top:1px solid var(--bl-line);padding:20px 0 0}
html[data-workspace-appearance=dark],html[data-theme=dark]{--bl-danger:#f1a5a5}
html body #moss-aios-shell.bl-refined .desktop-search-open small{color:var(--bl-muted)}
html body #moss-aios-shell.bl-refined.experience-ready[data-desktop-view] #desktop-content #memory-save{background:var(--bl-accent)!important;color:var(--bl-on-accent)!important;border-color:var(--bl-accent)!important}

/* 8.24: conversation answers do not carry redundant result/process labels. */
html body #moss-aios-shell.bl-refined #aios-chat-host :is(.conversation-turn-actions,.work-receipt),
html body.phone-shell.bl-refined #mobile-chat-scroll :is(.phone-history-meta,.work-receipt){display:none!important}
html body .bl-run .bl-run-disclosure{display:none!important}

/* 8.27: embedded workspace; keep the outer navigation and the inner app intact. */
.lianmai-workspace[hidden]{display:none!important}
.lianmai-workspace{width:100%;min-width:0}
.lianmai-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}
.lianmai-heading h1{font-size:17px;font-weight:500;margin:0}
.lianmai-heading button,.lianmai-workspace>button{font:inherit;font-size:12px;color:inherit;background:transparent;border:1px solid var(--bl-line,#ddd);padding:8px 12px;border-radius:6px;cursor:pointer}
.lianmai-status{font-size:13px;color:var(--bl-muted,#626262)}
.lianmai-frame{display:block;width:100%;height:calc(100dvh - 150px);min-height:360px;border:1px solid var(--bl-line,#ddd);border-radius:8px;background:white}
.lianmai-frame[hidden]{display:none}
html body #moss-aios-shell.bl-refined[data-desktop-view=lianmai] #desktop-workspace{display:block;grid-template-columns:1fr}
html body #moss-aios-shell.bl-refined[data-desktop-view=lianmai] #desktop-conversation{display:none!important}
html body #moss-aios-shell.bl-refined[data-desktop-view=lianmai] #desktop-content{width:100%;max-width:none}
html body .desktop-nav[data-lianmai-entry][aria-current=page]{background:var(--bl-soft,#eee)}
html body.phone-shell.bl-refined.phone-app[data-mobile-view=lianmai]{padding-inline:12px}
html body.phone-shell.bl-refined.phone-app[data-mobile-view=lianmai] .phone-header{margin-inline:-12px}
html body.phone-shell.bl-refined.phone-app .lianmai-heading{margin:10px 0}
html body.phone-shell.bl-refined.phone-app .lianmai-heading button{min-height:44px}
html body.phone-shell.bl-refined.phone-app .lianmai-frame{height:calc(100dvh - 202px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:280px}

/* 8.28: direct component, one scroll surface, no embedded browser frame. */
html body #moss-aios-shell.bl-refined[data-desktop-view=lianmai] #desktop-content{padding:18px 28px!important;height:calc(100dvh - 54px);overflow:hidden!important}
html body #moss-aios-shell.bl-refined[data-desktop-view=lianmai] #desktop-workspace{overflow:hidden!important;height:calc(100dvh - 54px)}
.lianmai-app-workspace{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.lianmai-native{display:block;flex:1;min-height:0;height:100%}
html body.phone-shell.bl-refined.phone-app[data-mobile-view=lianmai]{height:var(--lm-viewport-height,100dvh);overflow:hidden!important;padding:0 16px!important;display:flex;flex-direction:column}
html body.phone-shell.bl-refined.phone-app[data-mobile-view=lianmai] .phone-header{margin:0 -16px;flex:none}
html body.phone-shell.bl-refined.phone-app[data-mobile-view=lianmai] .lianmai-app-workspace{flex:1;height:auto;min-height:0;padding:0}
html body.phone-shell.bl-refined.phone-app[data-mobile-view=lianmai] .phone-tabbar{position:relative;inset:auto;width:calc(100% + 32px);margin:0 -16px;max-width:none;flex:none}

/* Generated images belong to their reply, independent of hidden work receipts. */
.reply-images{display:grid;gap:16px;width:min(100%,440px);margin:16px 0 8px;clear:both}
.reply-image{margin:0;min-width:0}
.reply-image-view{display:block;width:100%;padding:0;border:1px solid rgba(128,128,128,.2);border-radius:10px;overflow:hidden;background:transparent;cursor:zoom-in}
.reply-image-view img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}
.reply-image-controls{display:flex;gap:12px;align-items:center;margin-top:8px}
.reply-image-controls button{font:inherit;font-size:12px;padding:8px 10px;color:inherit;border:1px solid rgba(128,128,128,.25);border-radius:6px;background:transparent;cursor:pointer}
.reply-image-note{font-size:13px;line-height:1.5;color:inherit;opacity:.7}
.reply-image-dialog{width:min(1100px,95vw);max-width:95vw;max-height:94dvh;padding:16px;border:1px solid #777;border-radius:12px;background:var(--surface,#fff);color:var(--text,#222);overflow:auto}
.reply-image-dialog::backdrop{background:rgba(0,0,0,.65)}
.reply-image-dialog>img{display:block;width:100%;height:auto;margin-top:12px}
.reply-image-dialog .reply-image-controls{justify-content:flex-end;margin:0}
.reply-images [hidden]{display:none!important}
@media(max-width:600px){.reply-images{width:100%;max-width:100%}.reply-image-view img{max-height:65dvh}.reply-image-controls button{min-height:40px}.reply-image-dialog{padding:10px}}

/* Verified office/document files remain directly reachable when process labels are hidden. */
.reply-files{display:grid;gap:8px;width:min(100%,440px);margin:16px 0;clear:both}
.reply-file{min-width:0}
.reply-file-action{box-sizing:border-box;max-width:100%;min-height:44px;padding:10px 14px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:13px;line-height:1.5;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.reply-file-action:disabled{opacity:.65;cursor:wait}
.reply-file-notice{margin:6px 0 0;font:inherit;font-size:12px;line-height:1.5;color:inherit}
.reply-files [hidden]{display:none!important}

/* input-experience.css */
/* 2.2: one image queue and one call surface across input methods. */
html body .bl-photo-queue { display:block!important; padding:12px 14px 8px!important; margin:0!important; border:0!important; background:transparent!important; max-width:100%; min-width:0; color:var(--bl-ink,#252a34); }
html body .bl-photo-queue[hidden] { display:none!important; }
html body .bl-photo-summary { display:flex!important; align-items:center; justify-content:space-between; gap:12px; padding:0 0 8px; font-size:12px; color:var(--bl-muted,#697180); }
html body .bl-photo-queue button { font:inherit; cursor:pointer; }
html body .bl-photo-queue .bl-photo-preview { max-width:none; }
html body .bl-photo-clear { width:auto!important; min-height:32px; padding:4px 10px; border:0!important; background:transparent!important; color:inherit; }
html body .bl-photo-list { display:flex!important; align-items:stretch; gap:10px; overflow:auto; max-width:100%; padding:2px 2px 8px; scroll-snap-type:x proximity; scrollbar-width:thin; }
html body .bl-photo-card { position:relative; flex:0 0 124px; width:124px; min-width:0; padding:0; scroll-snap-align:start; }
html body .bl-photo-preview { width:124px!important; height:86px!important; padding:0!important; display:block; overflow:hidden; border:1px solid var(--bl-line,#e3e6ec)!important; border-radius:12px!important; background:var(--bl-soft,#eff1f5)!important; }
html body .bl-photo-preview img { width:100%!important; height:100%!important; object-fit:cover; border-radius:0!important; display:block; }
html body .bl-photo-number { position:absolute; left:6px; top:6px; background:#fff; color:#252a34; border:1px solid #e3e6ec; min-width:20px; line-height:20px; text-align:center; border-radius:6px; font-size:11px; pointer-events:none; }
html body .bl-photo-remove { position:absolute; right:0; top:0; width:44px!important; height:36px; min-height:36px; border:0!important; border-radius:0 10px 0 8px!important; padding:0!important; background:rgba(255,255,255,.96)!important; color:#363c47!important; font-size:11px!important; }
html body .bl-photo-state { display:block; width:124px; margin:6px 0 0; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; color:var(--bl-muted,#697180); font-size:11px; }
html body .bl-photo-move,html body .bl-photo-retry { padding:4px 0!important; min-height:28px; width:auto!important; margin-right:12px; border:0!important; background:transparent!important; color:var(--bl-accent,#355bd7)!important; font-size:11px!important; }
html body .bl-photo-card[data-state=error] .bl-photo-state { color:#b13f33; }
html body .bl-photo-retry[hidden] { display:none!important; }
html body .bl-photo-add { flex:0 0 86px; align-self:flex-start; width:86px!important; height:86px; padding:8px!important; border:1px dashed var(--bl-line,#e3e6ec)!important; border-radius:12px!important; background:transparent!important; color:var(--bl-muted,#697180)!important; font-size:12px!important; }
html body .bl-photo-queue button:disabled { opacity:.45; cursor:default; }
html body .bl-photo-queue button:focus-visible,html body .bl-image-gallery button:focus-visible,html body .bl-image-viewer button:focus-visible { outline:2px solid var(--bl-accent,#355bd7)!important; outline-offset:3px; }
html body .bl-image-gallery { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; max-width:560px; }
html body .bl-image-gallery button { flex:0 1 140px; min-width:72px; width:140px; height:106px; padding:0; overflow:hidden; border:1px solid var(--bl-line,#e3e6ec); background:var(--bl-soft,#eff1f5); color:var(--bl-ink,#252a34); border-radius:12px; cursor:pointer; }
html body .bl-image-gallery img { display:block; width:100%; height:100%; object-fit:cover; }
html body .bl-image-viewer { box-sizing:border-box; width:min(1100px,calc(100vw - 48px)); height:min(820px,calc(100dvh - 48px)); max-width:none; max-height:none; padding:16px; border:1px solid #383d48; border-radius:18px; background:#191b20; color:#eceef3; }
html body .bl-image-viewer[open] { display:flex; flex-direction:column; gap:12px; }
html body .bl-image-viewer::backdrop { background:rgba(0,0,0,.78); }
html body .bl-image-viewer img { flex:1; min-height:0; width:100%; object-fit:contain; }
html body .bl-image-viewer img[hidden] { display:none; }
html body .bl-image-viewer-head,html body .bl-image-viewer-nav { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; }
html body .bl-image-viewer button { min-width:72px; min-height:44px; padding:8px 16px; border:1px solid #545b68; border-radius:10px; background:#22252b; color:#eceef3; font:inherit; cursor:pointer; }
html body .bl-image-viewer button:disabled { opacity:.4; }
html body .bl-image-viewer p { text-align:center; }
html body .bl-image-viewer p:empty { display:none; }
html body .bl-drop-active { outline:2px solid var(--bl-accent,#355bd7)!important; outline-offset:-4px; background:var(--bl-soft,#eff1f5)!important; }
/* A telephone layout, with actual streamed captions rather than a waiting animation. */
html body .phone-call { box-sizing:border-box; width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:max(22px,env(safe-area-inset-top)) 24px max(18px,env(safe-area-inset-bottom)); border:0; border-radius:0; background:var(--bl-canvas,#f6f7f9); color:var(--bl-ink,#252a34); }
html body .phone-call[open] { display:flex; flex-direction:column; }
html body .phone-call-heading { display:flex; align-items:center; justify-content:space-between; font-size:14px; color:var(--bl-muted,#697180); }
html body .phone-call-heading time { font-variant-numeric:tabular-nums; }
html body .phone-call-center { display:flex; flex:1; min-height:0; flex-direction:column; align-items:center; padding:clamp(24px,7vh,72px) 0 12px; overflow:auto; }
html body .phone-call-center>img { width:88px; height:88px; border-radius:24px; margin:0 0 18px; }
html body .phone-call h2 { font-size:20px; line-height:1.5; font-weight:600; margin:0 0 16px; }
html body .phone-call-meter { height:36px; margin:0 0 24px; gap:5px; }
html body .phone-call-meter i { width:4px; background:var(--bl-accent,#355bd7); transition:transform 100ms ease-out; }
html body .phone-call-caption { flex:1; font-size:18px; line-height:1.7; font-weight:450; width:min(100%,620px); min-height:80px; margin:0; padding:4px; overflow:auto; text-align:left; overflow-wrap:anywhere; white-space:pre-wrap; scrollbar-width:thin; }
html body .bl-call-line { margin:0 0 24px; }
html body .bl-call-line>span { display:block; font-size:12px; color:var(--bl-muted,#697180); margin-bottom:6px; }
html body .bl-call-line p { font:inherit; color:var(--bl-ink,#252a34); margin:0; max-width:none; text-align:left; }
html body .bl-call-line.user p { color:var(--bl-muted,#697180); font-size:16px; }
html body .phone-call-you { width:min(100%,620px); margin:0 0 16px; font-size:14px; line-height:1.6; color:var(--bl-muted,#697180); text-align:left; overflow-wrap:anywhere; }
html body .phone-call-you:empty { display:none; }
html body .phone-call [data-call-transcript] { width:min(100%,620px); white-space:pre-wrap; font-size:15px; line-height:1.7; padding:16px 0; border-top:1px solid var(--bl-line,#e3e6ec); text-align:left; }
html body .phone-call [data-call-interrupt],html body .phone-call [data-call-resume],html body .phone-call-confirm { min-height:44px; margin-top:18px; padding:10px 24px; border:1px solid var(--bl-line,#e3e6ec); border-radius:22px; background:var(--bl-paper,#fff); color:var(--bl-ink,#252a34); font:inherit; }
html body .phone-call [hidden] { display:none!important; }
html body .phone-call-controls { display:flex; align-items:center; justify-content:space-around; gap:16px; width:min(100%,420px); margin:20px auto 0; padding:0; }
html body .phone-call-controls button { width:72px; height:72px; border:1px solid var(--bl-line,#e3e6ec); border-radius:50%; background:var(--bl-paper,#fff); color:var(--bl-ink,#252a34); font-size:13px; }
html body .phone-call-controls [data-call-hangup] { background:#c63d42; border-color:#c63d42; color:white; }
html body .phone-call-controls [aria-pressed=true] { background:var(--bl-ink,#252a34); color:var(--bl-paper,#fff); }
html body .phone-call-footnote { margin:20px 0 0; text-align:center; color:var(--bl-muted,#697180); font-size:12px; }
@media(max-width:600px){
 html body .bl-photo-queue { padding:10px 4px 0!important; }
 html body .bl-image-gallery button { flex-basis:calc(33.333% - 6px); height:92px; }
 html body .bl-image-viewer { width:100vw; height:100dvh; padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); border:0; border-radius:0; }
 html body .bl-photo-remove { min-height:44px; height:44px; }
 html body .bl-photo-move,html body .bl-photo-retry { min-height:36px; }
}
@media(prefers-reduced-motion:reduce){html body .phone-call-meter i{transition:none;}}
@media(max-height:600px){html body .phone-call-center{padding-top:12px;}html body .phone-call-center>img{display:none;}html body .phone-call-meter{display:none;}html body .phone-call-controls button{width:56px;height:56px;}html body .phone-call-footnote{margin-top:10px;}html body .phone-call h2{margin-bottom:6px;font-size:18px;}}

/* Keep attachments on the same reading grid as the composer. */
html body #moss-aios-shell .desktop-photo-bar { width:min(100%,820px)!important; max-width:820px!important; margin:0 auto!important; }
html body .bl-photo-queue .bl-photo-move,html body .bl-photo-queue .bl-photo-retry { min-height:32px; }
html body .bl-photo-queue .bl-photo-clear { min-height:32px; }
html body .phone-shell .bl-photo-queue,html body.phone-shell .bl-photo-queue { padding:0 0 4px!important; }
html body .phone-shell #chat-input,html body.phone-shell #chat-input { outline:none!important; }
html body .phone-call .bl-call-line { text-align:left; }
html body .phone-call .bl-call-line p { max-height:none; overflow:visible; }
html body .phone-call .phone-call-controls button { padding:0 6px; white-space:nowrap; flex:none; }
html body .phone-call-center { justify-content:flex-start; }
html body .phone-call-center>img,html body .phone-call h2,html body .phone-call-meter { flex-shrink:0; }
@media(max-width:600px){html body .bl-photo-queue .bl-photo-move,html body .bl-photo-queue .bl-photo-retry,html body .bl-photo-queue .bl-photo-clear{min-height:44px;}html body .phone-call .phone-call-center{padding-top:clamp(16px,5vh,42px);}}

/* Keep the normal attachment tray compact; editing stays in Organize. */
html body .bl-photo-queue:not(.is-organizing) .bl-photo-edit,
html body .bl-photo-queue:not(.is-organizing) .bl-photo-move,
html body .bl-photo-queue:not(.is-organizing) .bl-photo-clear { display:none!important; }
html body .bl-photo-queue:not(.is-organizing) .bl-photo-card {
 grid-template-areas:'image image' 'label label'; align-content:start;
}
html body .bl-photo-queue .bl-photo-list { align-items:flex-start; }
html body .bl-photo-queue .bl-photo-remove {
 width:32px!important; height:32px!important; min-height:32px!important;
 padding:0!important; border:0!important; border-radius:50%!important;
 background:#fff!important; color:#222!important; font-size:20px!important;
 line-height:1!important; right:3px!important; top:3px!important;
}
html body .bl-photo-queue .bl-photo-summary { gap:12px; }
@media(max-width:600px){
 html body .bl-photo-queue .bl-photo-remove {
  width:44px!important;height:44px!important;min-height:44px!important;
  background:radial-gradient(circle,#fff 0 15px,transparent 16px)!important;
  right:-3px!important;top:-3px!important;
 }
}

/* conversation-v3.css */
.bl-image-editor,.bl-context-dialog,.bl-versions-dialog{border:1px solid #dfe3e9;border-radius:20px;padding:24px;color:#20262e;background:#fff;box-shadow:0 24px 80px #0f172a24;max-height:90dvh;width:min(720px,calc(100vw - 48px));box-sizing:border-box;font:inherit;overflow:auto}
.bl-image-editor::backdrop,.bl-context-dialog::backdrop,.bl-versions-dialog::backdrop{background:#11182766}
.bl-editor-head h2,.bl-context-dialog h2,.bl-versions-dialog h2{font-size:20px;margin:0 0 16px;letter-spacing:-.03em}
.bl-editor-tools,.bl-editor-footer,.bl-v3-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bl-editor-tools button,.bl-editor-footer button,.bl-v3-actions button,.bl-context-dialog button,.bl-versions-dialog button{font:inherit;border:1px solid #dfe3e9;background:#fff;color:#303846;border-radius:10px;padding:9px 13px;cursor:pointer;min-height:40px}
.bl-editor-tools button[aria-pressed=true],button.bl-primary{background:#243344;color:white;border-color:#243344}
.bl-editor-tools button:disabled,.bl-editor-footer button:disabled{opacity:.4;cursor:default}
.bl-editor-viewport{display:flex;justify-content:center;align-items:center;margin:16px 0;background:#f1f3f5;border-radius:10px;overflow:hidden;min-height:80px}
.bl-editor-viewport canvas{display:block;max-width:100%;max-height:53dvh;width:auto;height:auto;object-fit:contain;cursor:crosshair}
.bl-editor-hint,.bl-context-help{font-size:13px;color:#69727e;line-height:1.65}
.bl-editor-footer{justify-content:flex-end}.bl-editor-footer .bl-primary{margin-left:auto}
.bl-photo-edit{position:absolute;left:6px;top:7px;border:0;border-radius:6px;background:#ffffffed;color:#27313e;font-size:12px;padding:4px 7px;min-height:28px;cursor:pointer}.bl-photo-edit:disabled{display:none}
.bl-v3-compose{display:flex;align-items:center;gap:8px;padding:5px 2px;color:#687484;font-size:12px;flex-wrap:wrap}.bl-v3-compose>button{background:transparent;border:0;padding:6px 8px;color:inherit;cursor:pointer;border-radius:7px}.bl-v3-compose>button:hover{background:#eef1f5;color:#243344}.bl-v3-compose select{font:inherit;background:transparent;color:#42536a;border:1px solid #e2e7ed;border-radius:7px;padding:5px 8px;max-width:180px}.bl-v3-compose label{display:flex;align-items:center;gap:5px}.bl-v3-compose input{accent-color:#33465c}
.bl-context-dialog label{display:block;margin:16px 0 8px;font-size:14px;font-weight:600}.bl-context-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:170px;resize:vertical;border:1px solid #dce2e9;border-radius:10px;padding:12px;font:inherit;font-size:14px;line-height:1.7;color:inherit;background:#fafbfc}.bl-context-dialog select{font:inherit;padding:9px;border:1px solid #dce2e9;border-radius:8px;background:#fff}.bl-context-dialog .bl-context-memory{display:flex;gap:9px;align-items:center;font-weight:400}.bl-context-materials{margin:10px 0;max-height:160px;overflow:auto}.bl-context-material{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px;padding:9px 0;border-bottom:1px solid #edf0f3}.bl-context-status{font-size:13px;white-space:pre-wrap;color:#925137;min-height:20px}.bl-v3-actions{font-size:12px;margin-top:12px}.bl-v3-actions button{border:0;background:transparent;min-height:32px;padding:5px 9px;color:#667383}.bl-v3-actions button:hover{background:#edf1f5;color:#253b55}.bl-receipt{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;max-height:55dvh;overflow:auto;background:#f6f8fa;padding:16px;border-radius:10px}.bl-version-row{padding:16px 0;border-bottom:1px solid #edf0f3}.bl-version-row p{margin:8px 0;font-size:13px;line-height:1.65;color:#5b6776;white-space:pre-wrap}.bl-version-row[aria-current=true]{background:#f2f5f8;padding:16px 12px;border-radius:10px}.bl-version-row strong{font-size:14px}.bl-answer-outline{margin:12px 0;font-size:12px;color:#5d6b7a}.bl-answer-outline nav{display:flex;flex-direction:column;gap:5px;margin-top:8px}.bl-answer-outline button{border:0;background:transparent;color:#476280;text-align:left;padding:4px 0;cursor:pointer;font:inherit}.bl-quote-selection{position:fixed;z-index:10000;background:#25384e;color:#fff;border:0;border-radius:8px;padding:9px 14px;box-shadow:0 4px 18px #14243e33;font:inherit;font-size:13px;cursor:pointer}
.bl-call-materials{margin:8px 0;text-align:left;padding:10px 12px;border:1px solid #dfe6ee;border-radius:12px;background:#ffffffc9;color:#34445a;font-size:13px}.bl-call-materials summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:36px}.bl-call-materials summary::after{content:none}.bl-call-material-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.bl-call-material-actions button{font:inherit;background:white;border:1px solid #dce4ed;border-radius:9px;padding:9px 14px;min-height:40px;color:inherit;cursor:pointer}.bl-call-materials .bl-photo-list{max-height:180px;overflow:auto}.bl-call-materials .mobile-attachment-label{margin-top:8px}.bl-call-materials .mobile-file-upload{max-height:200px;overflow:auto}.bl-call-attachment-help{margin:8px 0;color:#66778b;font-size:12px;line-height:1.7}.phone-call:has(.bl-call-materials[open]) .phone-call-center{min-height:0}.phone-call:has(.bl-call-materials[open]) .phone-call-caption{max-height:18dvh;min-height:40px}
.msg,.phone-history-entry,.phone-message{content-visibility:auto;contain-intrinsic-size:auto 160px}.msg:focus-within,.phone-history-entry:focus-within,.phone-message:focus-within{content-visibility:visible}
@media(max-width:600px){.bl-image-editor,.bl-context-dialog,.bl-versions-dialog{width:100%;max-width:100%;max-height:94dvh;margin:auto 0 0;border-radius:20px 20px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom));border-bottom:0}.bl-image-editor{height:94dvh;display:flex;flex-direction:column}.bl-image-editor:not([open]){display:none}.bl-editor-viewport{flex:1;min-height:0}.bl-editor-viewport canvas{max-height:56dvh}.bl-editor-tools button,.bl-editor-footer button,.bl-context-dialog button{min-height:44px}.bl-v3-compose{font-size:12px;gap:5px}.bl-v3-compose select{max-width:126px}.bl-v3-actions{gap:2px}.bl-call-materials .bl-photo-card{width:96px;min-width:96px}.bl-quote-selection{min-height:44px}}
@media(prefers-reduced-motion:reduce){.bl-image-editor,.bl-context-dialog,.bl-versions-dialog{scroll-behavior:auto}}
html body .bl-photo-list[hidden]{display:none!important}html body .bl-photo-toggle{border:0!important;background:transparent!important;color:#52667f!important;padding:0!important;text-align:left;min-height:36px;max-width:none!important;line-height:1.6;font-size:12px!important}html body .bl-photo-queue.is-collapsed{padding-top:0!important;padding-bottom:0!important}.bl-context-dialog .bl-context-memory input,.bl-turn-options-panel input{width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px!important;margin:0!important;accent-color:#334b67}.bl-context-dialog .bl-context-memory{justify-content:flex-start;min-height:44px;gap:10px;line-height:1.6;color:#42536a}.bl-context-dialog label{color:#42536a}.bl-context-actions{justify-content:flex-end}.bl-context-dialog .bl-context-actions .bl-primary{background:#304e70!important;color:#fff!important;border:1px solid #304e70!important;padding:10px 18px;min-height:44px;margin-left:auto}.bl-turn-options svg,.bl-call-materials summary svg{width:18px;height:18px;flex:none;margin-left:6px}.bl-call-materials[open] summary svg{transform:rotate(180deg)}.bl-call-material-body{max-height:24dvh;overflow:auto;overscroll-behavior:contain;padding:0 2px}.bl-call-materials .bl-call-attachment-help{margin:4px 0 8px}.bl-call-materials{flex:none;min-height:0}.bl-call-materials summary{min-height:44px}.bl-call-material-actions button{min-height:44px}.bl-call-materials summary::after{content:none!important}
html body .phone-call:has(.bl-call-materials[open]) .phone-call-center>img{display:none}html body .phone-call:has(.bl-call-materials[open]) .phone-call-center{padding:8px 0;overflow:visible;min-height:190px;flex:1}html body .phone-call:has(.bl-call-materials[open]) .phone-call-center h2{font-size:18px;margin:4px 0}html body .phone-call:has(.bl-call-materials[open]) .phone-call-meter{height:20px;margin:0}html body .phone-call:has(.bl-call-materials[open]) [data-call-hint]{display:none}html body .phone-call:has(.bl-call-materials[open]) .phone-call-caption{flex:1;min-height:100px;max-height:none;height:0;margin:4px 0;font-size:15px}html body .phone-call .phone-call-center{overflow:visible}html body .phone-call .phone-call-caption{overscroll-behavior:contain}html body .phone-call:has(.bl-call-materials[open]) .phone-call-controls{margin-top:8px;margin-bottom:8px}html body .phone-call:has(.bl-call-materials[open]) .phone-call-footnote{margin-top:0}
@media(max-width:600px){html body .bl-photo-toggle{min-height:44px}html body .bl-v3-compose>button,.bl-turn-options>summary{min-height:44px}.bl-context-dialog textarea,.bl-context-dialog select{font-size:16px}.bl-v3-actions button,.bl-versions-dialog button{min-height:44px}.bl-v3-actions{gap:4px}.bl-context-actions{display:grid;grid-template-columns:1fr 1fr}.bl-context-dialog .bl-context-actions .bl-primary{grid-column:1/-1;margin:4px 0 0;width:100%}.bl-context-dialog .bl-context-actions button{font-size:13px;padding-inline:8px}.bl-call-material-body{max-height:21dvh}.bl-call-materials{padding:4px 10px;margin:4px 0}.bl-call-material-actions{margin:4px 0}.bl-turn-options-panel select{min-height:44px}}
@media(max-height:700px){html body .phone-call:has(.bl-call-materials[open]) .phone-call-center{min-height:166px;padding:4px 0}html body .phone-call:has(.bl-call-materials[open]) .phone-call-caption{min-height:84px}.bl-call-material-body{max-height:20dvh}}
html body .bl-photo-card{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:'image image' 'label label' 'edit move';flex-basis:108px;width:108px;align-items:center}
html body .bl-photo-card .bl-photo-preview{grid-area:image;width:108px!important;height:72px!important}
html body .bl-photo-card .bl-photo-state{grid-area:label;width:108px;margin-top:4px;line-height:16px}
html body .bl-photo-card .bl-photo-edit{grid-area:edit;position:static;min-height:32px;height:32px;padding:0!important;border:0!important;background:transparent!important;color:#516780!important;text-align:left;font-size:12px!important}
html body .bl-photo-card .bl-photo-move{grid-area:move;margin:0!important;text-align:right}
html body .bl-photo-card .bl-photo-retry{grid-area:edit}
html body .bl-photo-card .bl-photo-retry[hidden]{display:none!important}
html body .bl-v3-compose{padding:2px 0;gap:12px;min-height:32px;align-items:center}
html body .bl-v3-compose>button{border:0;background:transparent;padding:4px 0;min-height:32px;color:#66778d;font-size:12px}
.bl-turn-options{position:relative;z-index:25;font-size:12px}.bl-turn-options>summary{list-style:none;cursor:pointer;color:#66778d;min-height:32px;display:flex;align-items:center}.bl-turn-options>summary::after{content:none}.bl-turn-options-panel{display:flex;flex-direction:column;align-items:stretch;gap:12px;position:absolute;bottom:calc(100% + 8px);left:0;width:195px;box-sizing:border-box;padding:16px;background:#fff;border:1px solid #e0e6ed;border-radius:14px;box-shadow:0 8px 28px #20334b1a}.bl-turn-options-panel label{white-space:nowrap}.bl-turn-options-panel select{max-width:100%;min-height:36px}.bl-v3-compose:has(.bl-turn-options[open]){position:relative;z-index:26}
html body .v2-sync-status:not(.is-error):empty{display:none}html body .bl-desktop-call{width:min(720px,calc(100vw - 48px));height:min(850px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);margin:auto;border-radius:24px;padding:24px}
@media(max-width:600px){html body .bl-photo-card{flex-basis:104px;width:104px}html body .bl-photo-card .bl-photo-preview{width:104px!important;height:66px!important}html body .bl-photo-card .bl-photo-state{width:104px}html body .bl-photo-card .bl-photo-edit{min-height:44px;height:44px}html body .bl-photo-summary{padding-bottom:0!important}html body .bl-v3-compose>button,.bl-turn-options>summary{min-height:40px}.bl-turn-options-panel{left:auto;right:0}}
.bl-desktop-call{box-sizing:border-box;width:min(720px,calc(100vw - 48px));height:min(850px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);margin:auto;border:1px solid #dce3ea;border-radius:24px;background:#f8fafc;padding:24px;color:#26384c;overflow:auto;font:inherit;box-shadow:0 24px 100px #12213930}.bl-desktop-call[open]{display:flex;flex-direction:column}.bl-desktop-call::backdrop{background:#14203366}.bl-desktop-call .phone-call-heading{display:flex;justify-content:space-between;font-size:13px;color:#788494}.bl-desktop-call .phone-call-center{display:flex;flex:1;min-height:200px;flex-direction:column;align-items:center;padding:20px 0}.bl-desktop-call .phone-call-center>img{object-fit:contain;border-radius:20px;margin:0 0 8px}.bl-desktop-call h2{font-size:20px;font-weight:500;margin:12px 0}.bl-desktop-call [data-call-hint]{font-size:13px;color:#718095}.bl-desktop-call .phone-call-caption{width:100%;max-height:34dvh;overflow:auto;font-size:15px;line-height:1.8;overscroll-behavior:contain}.bl-desktop-call .bl-call-line{margin:12px 0}.bl-desktop-call .bl-call-line span{display:block;color:#8a98a8;font-size:12px}.bl-desktop-call .bl-call-line p{margin:4px 0;white-space:pre-wrap}.bl-desktop-call .phone-call-controls{display:flex;gap:28px;justify-content:center;flex-shrink:0;margin:16px 0}.bl-desktop-call .phone-call-controls button{border:0;border-radius:50%;width:64px;height:64px;font:inherit;font-size:13px;background:#e8edf3;color:#34485f;cursor:pointer}.bl-desktop-call [data-call-hangup]{background:#d94d59!important;color:white!important}.bl-desktop-call .phone-call-footnote{font-size:12px;color:#8291a2;text-align:center;margin:8px 0}.bl-desktop-call .phone-call-meter{display:flex;align-items:center;justify-content:center;gap:5px;height:30px}.bl-desktop-call .phone-call-meter i{height:26px;width:4px;background:#607e9d;border-radius:3px;transform:scaleY(.12)}.bl-desktop-call [data-call-interrupt],.bl-desktop-call [data-call-resume],.bl-desktop-call [data-call-confirm]{font:inherit;border:1px solid #d7e1eb;border-radius:10px;background:#fff;color:#3a526d;padding:9px 18px;margin-top:12px;cursor:pointer}.bl-desktop-call #file-chips{display:flex;gap:8px;flex-wrap:wrap}.bl-desktop-call .file-chip{font-size:13px;padding:6px;border:1px solid #e1e7ed;border-radius:8px}
@media(max-width:600px){html body.phone-shell .bl-v3-compose>button,html body.phone-shell .bl-turn-options>summary,html body.phone-shell .bl-v3-actions button,html body.phone-shell .bl-versions-dialog button,html body.phone-shell .bl-call-materials summary,html body.phone-shell .bl-call-material-actions button{min-height:44px!important}html body.phone-shell .bl-turn-options select{font-size:16px;min-height:44px}}
@media(max-height:700px){html body .phone-call .phone-call-center>img{display:none}html body .phone-call .phone-call-center{padding:4px 0;min-height:166px;flex:1}html body .phone-call .phone-call-center h2{font-size:18px;margin:4px 0}html body .phone-call .phone-call-meter{height:20px;margin:0}html body .phone-call [data-call-hint]{display:none}html body .phone-call .phone-call-caption{flex:1;height:0;min-height:100px;max-height:none;margin:4px 0;font-size:15px}html body .phone-call .phone-call-controls{margin-top:8px;margin-bottom:8px}html body .phone-call .phone-call-footnote{margin-top:0}}
