/* palette:start — generated from public/palette.js by scripts/build-palette.mjs */
:root{--theme-bg:#faf9f6;--theme-surface:#ffffff;--theme-subtle:#f3f6f5;--theme-hover:#e6f6fc;--theme-selected:#d6f0fa;--theme-text:#303b40;--theme-muted:#656b6d;--theme-glass-text:#303b40;--theme-glass-muted:#464a4b;--theme-accent:#00a1df;--theme-accent-hover:#1face3;--theme-on-accent:#172b35;--theme-accent-text:#00729e;--theme-line:#d8d9d7;--theme-line-strong:#a9adad;--theme-focus:#0099d4;--theme-handle:#bfc2c1;--theme-success:#526c38;--theme-danger:#a45443;--theme-danger-bg:#f7f0ee;--theme-warning:#836539;--theme-warning-bg:#faf3e6;--theme-shadow:#262f33;--theme-backdrop:#262f33;color-scheme:light}
/* palette:end */
.appearance-dialog{width:min(540px,calc(100vw - 28px));max-height:88dvh;overflow:auto;padding:24px}
.appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.appearance-heading h2{margin:0;font-size:21px}
.appearance-intro,.appearance-status{font-size:14px;line-height:1.8;color:var(--theme-muted)}.appearance-status{min-height:25px}
.appearance-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.appearance-presets button{display:flex;flex-direction:column;gap:14px;align-items:flex-start;text-align:left;padding:16px;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-surface);color:var(--theme-text);font-size:14px}
.appearance-presets button[aria-pressed=true]{border-color:var(--theme-focus);background:var(--theme-selected)}
.appearance-swatches{display:flex;gap:5px}.appearance-swatches i{display:block;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--theme-line-strong)}
.appearance-dialog summary{cursor:pointer;padding:10px 0;font-size:14px}.appearance-fields{display:grid;gap:12px;margin:14px 0}
.appearance-fields label{display:grid;grid-template-columns:1fr 44px 100px;gap:12px;align-items:center;font-size:14px}
.appearance-fields input{width:100%;height:40px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);font:inherit;padding:6px}
.appearance-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.appearance-actions button{min-height:44px;font-size:13px;padding:10px 12px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-surface);color:var(--theme-text)}
.appearance-actions .primary{background:var(--theme-accent);color:var(--theme-on-accent);margin-left:auto}.appearance-dialog button:disabled{opacity:.5;cursor:default}.appearance-dialog[aria-busy=true] button:disabled{cursor:wait}
.appearance-card-sample{display:flex;flex-wrap:wrap;gap:18px;align-items:center;border:1px solid;border-radius:12px;padding:18px;margin:14px 0;font-size:14px}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:var(--theme-text);background:var(--theme-bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);padding:9px 12px;transition:background .15s}button:hover{background:var(--theme-hover)}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--theme-focus);outline-offset:3px}
dialog{border:1px solid var(--theme-line);border-radius:15px;background:var(--theme-bg);color:var(--theme-text);box-shadow:0 30px 100px color-mix(in srgb,var(--theme-shadow) 20.00%,transparent);padding:25px;max-width:min(900px,90vw)}dialog::backdrop{background:color-mix(in srgb,var(--theme-backdrop) 50.20%,transparent);backdrop-filter:blur(5px)}.focus-frame{align-self:start;min-width:0}#focus[open]{display:grid;grid-template-columns:minmax(200px,1.4fr) minmax(240px,1fr);align-items:start;gap:25px;padding-top:55px}.focus-frame>img{display:block;width:100%;object-position:center top;border-radius:9px}.close{position:absolute;right:8px;top:8px}#focus-title{margin-top:0}.focus-details p{font-size:12px;color:var(--theme-muted);line-height:1.8}.focus-details label,#collection-form label{display:block;font-size:11px;margin:16px 0 8px}input,select{padding:10px;border:1px solid var(--theme-line);border-radius:6px;max-width:100%;width:100%;background:var(--theme-surface);color:var(--theme-text)}.focus-actions{display:flex;gap:8px;margin:15px 0;flex-wrap:wrap}.focus-actions button{font-size:11px}details{font-size:11px;border-top:1px solid var(--theme-line);padding-top:15px}details button{margin-top:10px;font-size:11px}#picture-id{font-size:9px;color:var(--theme-muted);display:block;margin-top:22px;word-break:break-all}#collection-form{min-width:300px}#collection-choice{margin-top:10px}.restore{font-size:10px;padding:4px 6px}.collection-trash{padding:15px;border:1px solid var(--theme-line);border-radius:8px;font-size:12px}.collection-trash button{margin-left:12px}
.canvas-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.canvas-actions .primary{background:var(--theme-accent);color:var(--theme-on-accent);border-color:var(--theme-line-strong)}.upload-hint{font-size:11px;color:var(--theme-muted);margin:14px 0 0;line-height:1.8}main{position:relative}.drop-active{outline:3px dashed var(--theme-focus);outline-offset:-12px;background:var(--theme-subtle)}.drop-active::after{content:'松开即可保存图片';position:absolute;inset:15px;display:grid;place-items:center;background:color-mix(in srgb,var(--theme-subtle) 92.16%,transparent);border-radius:12px;color:var(--theme-text);font-size:22px;pointer-events:none;z-index:5}#upload-status{margin:20px 0;padding:13px 16px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-subtle);font-size:11px}.upload-status-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}#dismiss-uploads{font-size:10px;background:transparent;border:0;padding:4px}#upload-list{padding:0;list-style:none;margin:10px 0 0;max-height:180px;overflow:auto}#upload-list li{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:6px 0}#upload-list li>span:first-child{flex:1;overflow-wrap:anywhere;min-width:100px}#upload-list li>span:nth-child(2){font-size:10px;max-width:65%;overflow-wrap:anywhere}.upload-progress{color:var(--theme-accent-text)}#upload-list button{font-size:10px;padding:4px 7px}
.saved-picture{display:flex;align-items:center;gap:11px;width:100%;padding:9px;text-align:left;margin:10px 0 18px;background:var(--theme-subtle);border-color:var(--theme-line)}.saved-picture img{width:64px;height:64px;object-fit:contain;background:var(--theme-subtle);border-radius:5px;flex-shrink:0}.saved-picture>span{min-width:0}.saved-picture strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.saved-picture small{display:block;font-size:10px;color:var(--theme-muted);margin-top:6px}.result-unavailable{font-size:11px;color:var(--theme-muted);margin:10px 0 18px}
#selection-bar{flex-wrap:wrap}#focus{max-height:90vh}.focus-frame>img{max-height:75vh;object-fit:contain}.picture-dimensions{font-variant-numeric:tabular-nums;color:var(--theme-muted);font-size:12px;line-height:1.8}#focus-dimensions{color:var(--theme-accent-text)}
#comparison{width:1240px;max-width:94vw;max-height:94vh;padding:28px}#comparison-title{margin:0 0 8px}#comparison-note{font-size:12px;color:var(--theme-muted);margin:0 0 22px}#comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.comparison-picture{margin:0;min-width:0}.comparison-frame,.comparison-missing{height:clamp(200px,52vh,620px);background:var(--theme-subtle);border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.comparison-frame img{display:block;width:100%;height:100%;object-fit:contain}.comparison-missing{color:var(--theme-muted);font-size:13px}.comparison-picture figcaption{margin:13px 2px 0;font-size:13px;overflow-wrap:anywhere}.comparison-picture .picture-dimensions{display:block;margin-top:4px}.comparison-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:25px;font-size:12px}.comparison-footer span{color:var(--theme-muted)}.comparison-footer button{white-space:nowrap;background:var(--theme-subtle)}#comparison .close{z-index:1}
@media(max-width:800px){.focus-frame>img{max-height:40vh}#comparison{padding:24px 16px}#comparison-grid{gap:12px}.comparison-frame,.comparison-missing{height:36vh;min-height:150px}.comparison-picture figcaption{font-size:12px}.comparison-picture .picture-dimensions{font-size:10px}.comparison-footer{align-items:flex-start;font-size:11px}}

.login-page{min-height:100vh;display:grid;place-items:center;padding:28px}.login-card{width:min(420px,100%);padding:36px;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:16px}.login-card .brand{display:block;margin-bottom:36px}.login-card h1{font-size:26px;margin-bottom:12px}.login-card p{color:var(--theme-muted);line-height:1.7}.login-card form{display:grid;gap:14px;margin-top:30px}.login-card input{width:100%;padding:12px}.login-card button{padding:12px}.login-card #login-notice{font-size:13px;min-height:44px;margin-top:24px}

[hidden]{display:none!important}
.detail-image-stage{position:relative;display:grid;min-height:160px}
.detail-image-stage>img,.detail-image-status{grid-area:1/1;min-width:0;min-height:0}
.comparison-frame.detail-image-stage{display:grid}
.detail-image-status{display:flex;align-items:center;justify-content:center;gap:9px;align-self:center;justify-self:center;z-index:1;padding:10px 14px;border-radius:20px;background:color-mix(in srgb,var(--theme-subtle) 92.94%,transparent);color:var(--theme-accent-text);font-size:12px;line-height:1.5}
.detail-image-status::before{content:'';width:18px;height:18px;flex:none;border:2px solid var(--theme-line);border-top-color:var(--theme-accent-text);border-radius:50%;animation:refresh-turn 1s linear infinite}
.detail-image-stage[data-image-state=preview] .detail-image-status{align-self:end;margin-bottom:14px;font-size:11px}
.detail-image-stage[data-image-state=error] .detail-image-status::before{display:none}
.detail-image-status button{padding:4px 9px;font-size:12px}
@media(prefers-reduced-motion:reduce){.detail-image-status::before{animation:none}}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px;border:0;background:transparent;flex:none}
.brand{font-size:25px;font-weight:600;text-decoration:none;color:inherit;letter-spacing:2px}
.brand span{font-size:11px;color:var(--theme-muted);letter-spacing:0;margin-left:16px;font-weight:400}
h1{font-size:19px;font-weight:500;margin:0}h2{font-size:18px;font-weight:500}
#app-shell-root{height:100%;min-height:0}
.workspace-page{height:100vh;height:100dvh;overflow:hidden;background:var(--theme-bg)}
.workspace{position:relative;height:100%;display:grid;grid-template-columns:var(--nav-width,200px) minmax(0,1fr) var(--chat-width,330px)}
.panel-resizer{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;z-index:6;outline:none}
#resize-nav{left:calc(var(--nav-width,200px) - 4px)}#resize-chat{right:calc(var(--chat-width,330px) - 4px)}
.panel-resizer::after{content:"";position:absolute;top:0;bottom:0;left:3px;width:2px;border-radius:2px;background:transparent;transition:background .15s}
.panel-resizer:hover::after,.panel-resizer:focus-visible::after,.resizing-panels .panel-resizer:focus::after{background:var(--theme-accent)}
.resizing-panels,.resizing-panels *{cursor:col-resize!important;user-select:none!important;-webkit-user-select:none!important}
.nav{min-width:0;min-height:0;background:var(--theme-subtle);padding:0 12px 12px;display:flex;flex-direction:column}
.sidebar-brand{height:65px;display:flex;align-items:center;justify-content:space-between;flex:none;padding:0 8px}
.sidebar-brand .brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-brand .brand-long{font-size:20px;letter-spacing:1px;margin-right:6px}
.workspace-nav{flex:none}
.nav-link,.conversation-link{width:100%;border:0;background:transparent;display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:12px;align-items:center;text-align:left;padding:11px 10px;font-size:13px;min-height:40px}
.nav-link>span,.conversation-link>span{grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-link.active{background:var(--theme-accent);color:var(--theme-on-accent)}
.conversations{min-height:0;flex:1;display:flex;flex-direction:column;margin-top:28px}
.conversations-heading{display:grid;grid-template-columns:18px minmax(0,1fr) 28px;column-gap:12px;align-items:center;font-size:13px;padding-left:10px;padding-right:2px;margin-bottom:6px;flex:none}
#conversation-list{overflow:auto;min-height:0;flex:1;scrollbar-width:thin}
.conversation-link{color:var(--theme-accent-text);font-weight:400;padding-top:10px;padding-bottom:10px}
.conversation-link.current{color:var(--theme-text);font-weight:600}
.conversation-link:disabled{cursor:default}
.account-area{position:relative;flex:none;padding-top:12px}
#account-toggle{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:8px;font-size:13px;text-align:left}
#account-toggle:hover,#account-toggle:focus-visible{background:var(--theme-hover);outline:none}
#account-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{flex:none;width:28px;height:28px;border-radius:50%;background:var(--theme-accent);display:grid;place-items:center;font-size:12px;color:var(--theme-on-accent)}
#account-menu{position:absolute;bottom:calc(100% + 5px);left:0;width:228px;max-width:calc(100vw - 30px);padding:7px;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface);box-shadow:0 10px 35px color-mix(in srgb,var(--theme-shadow) 10.20%,transparent);z-index:20;max-height:80vh;overflow:auto}
#account-menu>a,#account-menu>button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;background:transparent;text-align:left;font-size:13px;color:var(--theme-text);text-decoration:none;border-radius:7px}
#account-menu>a:hover,#account-menu>button:hover{background:var(--theme-hover)}

#agent-status{font-size:11px;color:var(--theme-muted);padding:10px;line-height:1.7;border-top:1px solid var(--theme-line);overflow-wrap:anywhere}
#logout{border-top:1px solid var(--theme-line)!important}
#workspace-main{min-width:0;min-height:0;overflow:auto;padding:0 28px 25px;position:relative}
.canvas-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;margin-bottom:10px}
.canvas-title{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
.canvas-title h1{overflow-wrap:anywhere}
#count{font-size:12px;color:var(--theme-muted)}
#collection-back{border:0;background:transparent;padding:0;color:var(--theme-muted);font-size:13px;white-space:nowrap}
.canvas-actions{display:flex;align-items:center;gap:5px;flex:none}
#subtitle{color:var(--theme-muted);font-size:12px;line-height:1.7;margin:0 0 20px}
#selection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 20px;font-size:12px;color:var(--theme-accent-text)}
#selection-count{margin-right:auto}#selection-bar button{padding:5px 8px;font-size:11px}
.canvas{--canvas-card-min-width:224px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(var(--canvas-card-min-width),100%),1fr));gap:24px 16px}
.canvas.masonry{display:block;position:relative}
.canvas.masonry>.card,.canvas.masonry>.collection-trash{position:absolute}
.card{position:relative;min-width:0}
.image-button{display:block;width:100%;border:0;padding:0;overflow:hidden;border-radius:9px;background:var(--theme-line)}
.image-button img{width:100%;height:auto;display:block}
.image-button img:not([width]){aspect-ratio:4/3;object-fit:contain}
.card.selected .image-button{outline:2px solid var(--theme-focus);outline-offset:3px}
.select-image{position:absolute;top:9px;right:9px;border-radius:50%;padding:0;width:25px;height:25px;border:1px solid color-mix(in srgb,var(--theme-surface) 75.29%,transparent);background:color-mix(in srgb,var(--theme-surface) 87.84%,transparent);color:var(--theme-text);line-height:22px}
.select-image[aria-pressed=true]{background:var(--theme-accent);color:var(--theme-on-accent)}
.focus-controls{position:absolute;top:8px;right:8px;display:flex;align-items:center;gap:6px}
.focus-controls .select-image{position:static;border-color:var(--theme-line)}
.focus-controls .close{position:static}
.close:hover,.close:focus-visible{outline:none;background:var(--theme-hover)}
dialog[autofocus]:focus{outline:none}
.card-caption{display:flex;justify-content:space-between;align-items:center;padding:10px 2px 0;font-size:12px;gap:8px}
.card-caption>span{min-width:0;overflow-wrap:anywhere}.card-caption small{font-size:10px;color:var(--theme-muted);white-space:nowrap}
.collection-card{border:0;padding:0;background:transparent;text-align:left;min-width:0;display:block;width:100%}
.collection-card:hover{background:transparent}.collection-card:hover .collection-cover{outline:2px solid var(--theme-focus);outline-offset:3px}
.collection-cover{display:grid;grid-template-columns:1.45fr 1fr;grid-template-rows:1fr 1fr;gap:3px;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--theme-subtle)}
.collection-cover img{width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;display:block}.collection-cover img:first-child{grid-row:span 2}
.collection-cover.cover-one img{grid-column:1/-1}.collection-cover.cover-two img:nth-child(2){grid-row:span 2}
.collection-cover.cover-empty{display:flex;align-items:center;justify-content:center;color:var(--theme-muted)}.collection-cover.cover-empty .icon{width:32px;height:32px}
.collection-caption{display:block;padding:10px 2px 0;font-size:13px;overflow-wrap:anywhere}.collection-caption small{display:block;color:var(--theme-muted);font-size:11px;margin-top:4px}
#refresh[aria-busy=true] .icon{animation:refresh-turn 1s linear infinite}
@keyframes refresh-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#refresh[aria-busy=true] .icon{animation:none}}
.empty{grid-column:1/-1;padding:65px 15px;text-align:center;color:var(--theme-muted);font-size:13px}.empty small{display:block;margin-top:12px;line-height:1.8}
#notice{font-size:12px;color:var(--theme-accent-text);margin-top:18px;line-height:1.7}#notice:empty{display:none}
.chat{min-width:0;min-height:0;border-left:1px solid var(--theme-line);background:var(--theme-bg);padding:0 18px 14px;display:flex;flex-direction:column}
.chat-header{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}
#conversation-title{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-actions{display:flex;flex:none;gap:2px}
#conversation-note{font-size:11px;line-height:1.7;color:var(--theme-muted);margin-bottom:8px}#conversation-note button{font-size:11px;padding:5px 8px}
#history{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding:5px 14px 18px 0;margin-right:-14px;scrollbar-width:thin;scrollbar-gutter:stable}
.welcome{margin:28px 0 20px}.welcome p{font-size:14px;line-height:1.9;color:inherit;margin:0 0 22px;white-space:pre-line}
.message,#prompt{font-size:13px;line-height:1.9}
.message{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:15px}
.user-message{background:var(--theme-subtle);border-radius:11px;padding:12px;margin-left:12px}.agent-message{padding:3px 0}
.opening-message{margin:24px 0 32px}
.agent-message{white-space:normal;min-width:0}
.agent-message p{margin:0 0 .85em}
.agent-message>:first-child{margin-top:0}.agent-message>:last-child{margin-bottom:0}
.agent-message strong{font-weight:650}
.agent-message h1,.agent-message h2,.agent-message h3,.agent-message h4,.agent-message h5,.agent-message h6{font-size:1.08em;line-height:1.65;margin:1.25em 0 .55em;font-weight:650}
.agent-message h1{font-size:1.2em}.agent-message h2{font-size:1.13em}
.agent-message ul,.agent-message ol{margin:.65em 0 1em;padding-left:1.65em}.agent-message li{padding-left:.15em;margin:.25em 0}.agent-message li>p{margin:.3em 0}
.agent-message blockquote{margin:.85em 0;padding:.2em 0 .2em 1em;border-left:3px solid var(--theme-line-strong);color:var(--theme-accent-text)}.agent-message blockquote>:last-child{margin-bottom:0}
.agent-message a{color:var(--theme-accent-text);text-decoration:underline;text-underline-offset:3px}
.agent-message code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:var(--theme-subtle);border-radius:4px;padding:.15em .3em}
.agent-message pre{max-width:100%;overflow-x:auto;white-space:pre;overflow-wrap:normal;background:var(--theme-subtle);border-radius:8px;padding:12px;margin:.85em 0;font-size:12px;line-height:1.7}.agent-message pre code{padding:0;background:transparent;font-size:inherit;border-radius:0}
.agent-message hr{border:0;border-top:1px solid var(--theme-line);margin:1.2em 0}
.markdown-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:.85em 0 1.1em;border:1px solid var(--theme-line);border-radius:8px;scrollbar-width:thin}
.markdown-table table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.8;text-align:left}.markdown-table th,.markdown-table td{min-width:6em;max-width:24em;padding:9px 11px;vertical-align:top;border-bottom:1px solid var(--theme-line);overflow-wrap:anywhere}.markdown-table th{background:var(--theme-subtle);font-weight:650}.markdown-table tbody tr:last-child td{border-bottom:0}
.markdown-table .align-left{text-align:left}.markdown-table .align-center{text-align:center}.markdown-table .align-right{text-align:right}
.picture-reference{display:inline-block;max-width:100%;vertical-align:middle;white-space:normal}
.picture-reference button{display:flex;align-items:center;gap:10px;max-width:100%;padding:8px;border:1px solid var(--theme-line);border-radius:9px;background:transparent;color:inherit;text-align:left;font:inherit;line-height:1.65;cursor:pointer}
.picture-reference button:hover,.picture-reference button:focus-visible{background:var(--theme-hover)}
.picture-reference img{flex:none;width:48px;height:60px;object-fit:contain;background:var(--theme-subtle);border-radius:5px}
.picture-reference-caption{display:block;min-width:0;overflow-wrap:anywhere}.picture-reference-caption strong{display:block;font-size:inherit;font-weight:600}.picture-reference-caption small{display:block;color:var(--theme-muted);font-size:11px;font-weight:400}
.markdown-table .picture-reference button{flex-wrap:wrap;gap:6px;padding:4px;border-color:transparent}.markdown-table .picture-reference img{width:40px;height:50px}
.markdown-table:has(.picture-reference) th,.markdown-table:has(.picture-reference) td{min-width:108px}.markdown-table td:has(.picture-reference){min-width:124px}
.job-status{font-size:11px;line-height:1.7;color:var(--theme-muted);margin:6px 0 18px}.job-status button{font-size:11px;margin-top:6px}.job-status details{font-size:11px;padding:0;border:0}.job-status summary{cursor:pointer}.job-status details>div{margin-top:3px}
.status-shimmer{width:fit-content;max-width:100%}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  .status-shimmer{background:linear-gradient(100deg,var(--theme-accent) 40%,var(--theme-handle) 50%,var(--theme-accent) 60%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:status-shine 2.8s linear infinite}
}
@keyframes status-shine{0%{background-position:150% 0}75%,100%{background-position:-50% 0}}
.connection-lost .status-shimmer{animation:none;background:none;color:var(--theme-muted);-webkit-text-fill-color:currentColor}
@media(prefers-reduced-motion:reduce),(forced-colors:active){.status-shimmer{animation:none;background:none;color:inherit;-webkit-text-fill-color:currentColor}}
.error{color:var(--theme-danger)}
.pending-send{overflow-wrap:anywhere}.pending-send button+button{margin-left:8px}
#prompt-form{flex:none;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface);padding:12px}#composer-status{font-size:12px;line-height:1.7;margin-top:8px;color:var(--theme-muted);overflow-wrap:anywhere}#composer-status.error{color:var(--theme-danger)}#prompt-form label{position:absolute;width:1px;height:1px;overflow:hidden}
#context{font-size:11px;color:var(--theme-muted);margin-bottom:9px;overflow-wrap:anywhere}
#prompt{display:block;resize:none;min-height:94px;max-height:min(168px,30dvh);overflow-y:hidden;border:0;width:100%;background:transparent;color:var(--theme-text);padding:0}#prompt:focus-visible{outline:none}#prompt::placeholder{color:var(--theme-muted)}#prompt[readonly]{color:var(--theme-muted)}
.composer-input{position:relative;overflow:hidden}
#prompt.uniform-caret{caret-color:transparent}
.composer-caret{position:absolute;pointer-events:none;width:1.5px;border-radius:1px;animation:composer-blink 1s step-end infinite}
.composer-caret[hidden]{display:none}
.composer-mirror{position:absolute;top:0;left:0;visibility:hidden;pointer-events:none;overflow:hidden}
@keyframes composer-blink{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.composer-caret{animation:none}}
.composer-footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:11px;color:var(--theme-muted)}#send{display:grid;place-items:center;background:var(--theme-accent);color:var(--theme-on-accent);width:32px;height:32px;padding:0;border:0}
.chat-hidden .workspace{grid-template-columns:var(--nav-width,200px) minmax(0,1fr)}.chat-hidden .chat{display:none}
.nav-hidden .workspace{grid-template-columns:minmax(0,1fr) var(--chat-width,330px)}.nav-hidden .nav{display:none}.nav-hidden.chat-hidden .workspace{grid-template-columns:minmax(0,1fr)}
@media(max-width:1100px){.workspace{grid-template-columns:var(--nav-width,170px) minmax(0,1fr) var(--chat-width,290px)}.chat-hidden .workspace{grid-template-columns:var(--nav-width,170px) minmax(0,1fr)}.nav-hidden .workspace{grid-template-columns:minmax(0,1fr) var(--chat-width,290px)}#workspace-main{padding:0 20px 22px}.chat{padding:0 14px 12px}.nav{padding:0 8px 10px}.canvas{row-gap:20px}.card-caption small{display:none}}
@media(max-width:760px){.panel-resizer{display:none}.workspace-page{height:auto;overflow:auto;min-height:100dvh}.workspace,.chat-hidden .workspace{grid-template-columns:150px minmax(0,1fr);height:auto;min-height:100dvh}.nav-hidden .workspace{grid-template-columns:minmax(0,1fr)}.nav{position:sticky;top:0;height:100dvh}.chat{grid-column:1/-1;min-height:500px;border-left:0;border-top:1px solid var(--theme-line)}#history{max-height:420px;min-height:160px}#workspace-main{padding:0 15px 20px}.canvas{row-gap:18px}.canvas-heading{align-items:flex-start;padding-top:15px}.canvas-title h1{font-size:17px}#selection-bar{gap:5px}.card-caption{font-size:11px}#focus[open]{display:block}.focus-details{padding-top:20px}.focus-frame>img{max-height:40vh;object-fit:contain}#collection-form{min-width:0}}
@media(max-width:480px){.workspace,.chat-hidden .workspace{grid-template-columns:125px minmax(0,1fr)}.nav-hidden .workspace{grid-template-columns:minmax(0,1fr)}.nav{padding:0 5px 10px}.brand{font-size:22px}.nav-link,.conversation-link,.conversations-heading{column-gap:8px;padding-left:7px;font-size:12px}.conversations-heading{grid-template-columns:18px minmax(0,1fr) 25px}.nav .icon-button{width:26px;padding:4px}#workspace-main{padding:0 12px 20px}.canvas-heading{flex-wrap:wrap}.nav-hidden.chat-hidden .workspace{grid-template-columns:minmax(0,1fr)}}
@media(pointer:coarse){.nav-link,.conversation-link,.icon-button,#account-menu>a,#account-menu>button{min-height:44px}.select-image{width:36px;height:36px}}

#attachments{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}#attachments[hidden]{display:none}
.attachment-chip{position:relative;width:66px;flex:none}.attachment-chip img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px;background:var(--theme-subtle)}.attachment-chip .remove-attachment{position:absolute;right:-4px;top:-4px;border-radius:50%;width:20px;height:20px;padding:0;background:var(--theme-surface);font-size:14px;line-height:1}
.message-attachments{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}.message-attachments button{display:block;padding:0;border:0;background:transparent}.message-attachments img{width:88px;height:88px;object-fit:contain;border-radius:8px;background:var(--theme-subtle)}.message-attachments small{width:100%;color:var(--theme-muted);font-size:10px}

.attachment-preview-button{display:block;width:66px;height:66px;padding:0;border:0;background:transparent}#attachment-preview{max-width:min(900px,90vw);padding:24px}#attachment-preview-image{display:block;max-width:100%;max-height:70dvh;object-fit:contain;border-radius:8px;margin:auto}

/* The desktop grid keeps three tracks so opening/closing can interpolate.
   Mobile retains the existing stacked layout. Native chrome owns only actions. */
.desktop-titlebar #toggle-nav,.desktop-titlebar #show-nav,.desktop-titlebar #show-chat,.desktop-titlebar .chat-actions{display:none}
#workspace-main:focus{outline:none}
.panel-resizer.at-minimum::after{background:var(--theme-accent);width:3px}
@media(min-width:761px){
  .workspace,.nav-hidden .workspace,.chat-hidden .workspace,.nav-hidden.chat-hidden .workspace{grid-template-columns:var(--nav-width,200px) minmax(0,1fr) var(--chat-width,330px)}
  .nav,.nav-hidden .nav{display:flex;grid-column:1;grid-row:1}
  #workspace-main{grid-column:2;grid-row:1}
  .chat,.chat-hidden .chat{display:flex;grid-column:3;grid-row:1}
  .nav-hidden .nav,.chat-hidden .chat{visibility:hidden;pointer-events:none;opacity:0}
  .panel-animating .workspace{transition:grid-template-columns var(--panel-transition-duration,220ms) cubic-bezier(.22,.68,.25,1)}
  .panel-animating .nav,.panel-animating .chat{overflow:hidden;transition:opacity calc(var(--panel-transition-duration,220ms) * .8),visibility 0s}
  .panel-animating.nav-hidden .nav,.panel-animating.chat-hidden .chat{transition:opacity calc(var(--panel-transition-duration,220ms) * .8),visibility 0s var(--panel-transition-duration,220ms)}
}
@media(prefers-reduced-motion:reduce){.panel-animating .workspace,.panel-animating .nav,.panel-animating .chat{transition:none}}

.conversation-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center}.conversation-row .rename-conversation{width:28px;height:28px;padding:5px;opacity:0}.conversation-row:hover .rename-conversation,.conversation-row:focus-within .rename-conversation{opacity:1}.rename-conversation .icon{width:16px;height:16px}#conversation-title{border:0;background:transparent;padding:6px 4px;margin-left:-4px;text-align:left;font-weight:400}#conversation-title:hover:not(:disabled),#conversation-title:focus-visible{background:var(--theme-hover)}#conversation-title:disabled{opacity:1;cursor:default}#conversation-name-form{width:min(420px,75vw)}#conversation-name-form label{display:block;font-size:12px;margin:18px 0 8px}#conversation-name{min-width:0}#conversation-name-error{font-size:12px;line-height:1.7}#conversation-name-error:empty{display:none}@media(pointer:coarse){.conversation-row .rename-conversation{opacity:1}}

#memory-dialog{width:min(600px,90vw);max-height:85vh;overflow-y:auto;scrollbar-gutter:stable}#memory-dialog h2{font-size:20px;margin:0}.memory-heading,.memory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.memory-intro,#memory-list>p{font-size:13px;line-height:1.8;color:var(--theme-muted)}.memory-toolbar{margin:18px 0;font-size:12px}.memory-toolbar>div,.memory-row-actions{display:flex;gap:8px}.memory-toolbar button,.memory-row-actions button{font-size:12px}.memory-meta{font-size:11px;color:var(--theme-muted)}.memory-row-actions{margin-top:10px}#memory-list article{border-top:1px solid var(--theme-line);padding:16px 0}#memory-list article p{line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap;margin:0 0 10px}#memory-form{border:1px solid var(--theme-line);border-radius:10px;padding:16px;margin-bottom:20px}#memory-form label{display:block;font-size:13px;margin-bottom:10px}#memory-text{display:block;width:100%;padding:10px;background:var(--theme-surface);color:inherit;border:1px solid var(--theme-line);border-radius:6px;font:inherit;line-height:1.8;resize:vertical}#memory-status{font-size:12px;line-height:1.8;color:var(--theme-muted);overflow-wrap:anywhere}#memory-status:empty{display:none}

/* Region selection and review share the canvas palette and normal attachments. */
.image-region-dialog{width:min(680px,94vw);max-height:92vh;overflow:auto;padding:24px}
.image-region-frame{position:relative;width:fit-content;max-width:100%;margin:16px auto;touch-action:none;user-select:none;line-height:0}
.image-region-frame>img{display:block;max-width:100%;max-height:55vh;object-fit:contain}
.image-region-review .image-region-frame>img{max-height:min(50vh,max(120px,calc(92vh - 320px)))}
.image-region-box{position:absolute;border:2px solid var(--theme-line-strong);background:color-mix(in srgb,var(--theme-accent) 20.00%,transparent);pointer-events:none;box-sizing:border-box}
.image-region-box:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}
.image-region-dialog .focus-actions{justify-content:flex-end;flex-wrap:wrap;position:sticky;bottom:0;background:var(--theme-bg);padding:10px 0;margin-bottom:0}
.region-query{max-width:120px;max-height:90px;object-fit:contain;border-radius:8px}
.region-results{margin-top:16px;min-width:0}.region-results>p{font-size:13px;color:var(--theme-muted);line-height:1.6}
.region-results details{margin-top:12px}.region-results summary{cursor:pointer;color:var(--theme-muted);font-size:13px;margin-bottom:12px}
.attachment-crop{display:block;font-size:11px;padding:3px 5px;margin-top:3px}

.sidebar-actions{display:flex;align-items:center;gap:2px}
#conversation-search{width:min(620px,calc(100vw - 32px));max-width:none;max-height:min(640px,85dvh);margin:min(80px,8dvh) auto 0;padding:0;border-radius:18px;overflow:hidden}
#conversation-search[open]{display:flex;flex-direction:column}
.conversation-search-heading{display:flex;align-items:center;gap:12px;padding:16px 18px 12px;flex:none}
.conversation-search-heading>.icon{color:var(--theme-muted);flex:none}
#conversation-search-input{min-width:0;padding:8px 0;border:0;background:transparent;font-size:17px;line-height:1.5;outline:none;box-shadow:none}
#conversation-search-input::placeholder{color:var(--theme-muted)}
#conversation-search-status{margin:0;padding:5px 20px 10px;font-size:12px;line-height:1.6;color:var(--theme-muted);flex:none}
#conversation-search-results{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 10px 10px;scrollbar-width:thin;scrollbar-gutter:stable}
.conversation-search-result{display:block;width:100%;text-align:left;padding:12px 14px;margin:2px 0;border:0;background:transparent;border-radius:10px;color:inherit;line-height:1.65;overflow-wrap:anywhere}
.conversation-search-result:hover:not(:disabled),.conversation-search-result:focus-visible{background:var(--theme-hover)}
.conversation-search-result strong{display:block;font-size:14px;font-weight:500}
.conversation-search-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:5px;color:var(--theme-accent-text);font-size:12px}
.conversation-search-result small{display:block;margin-top:5px;font-size:11px;color:var(--theme-muted)}
.conversation-search-result mark{background:var(--theme-selected);color:inherit;border-radius:2px}
.conversation-search-empty{font-size:13px;line-height:1.8;color:var(--theme-muted);margin:12px 14px 24px}
#conversation-search-more{flex:none;align-self:center;border:0;background:transparent;color:var(--theme-accent-text);font-size:12px;margin:0 0 12px}
.history-target{background:var(--theme-selected);border-radius:10px;box-shadow:0 0 0 6px var(--theme-shadow);scroll-margin-block:16px;outline:none!important}
.conversation-reference{display:inline;overflow-wrap:anywhere}.conversation-reference button{display:inline;padding:0;border:0;border-radius:3px;background:transparent;color:var(--theme-accent-text);font:inherit;line-height:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.conversation-reference button:hover{background:var(--theme-hover)}.conversation-reference>span{color:var(--theme-muted)}
@media(max-width:480px){.sidebar-brand{padding:0 2px}.sidebar-actions{gap:0}.conversation-search-heading{padding:12px 14px 8px;gap:8px}#conversation-search-input{font-size:16px}.conversation-search-result{padding:10px}#conversation-search-status{padding-inline:16px}}

/* Search stays a small launch surface; selection/comparison use the canvas. */
.search-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px 6px}
.search-section-heading h2{font-size:12px;font-weight:500;color:var(--theme-muted);margin:0}
.search-section-heading button,.search-text-button{border:0;background:transparent;color:var(--theme-accent-text);font-size:12px;padding:5px 8px;border-radius:6px}
.search-section-heading button:hover:not(:disabled),.search-text-button:hover{background:var(--theme-hover)}
.search-picture-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:4px 14px}
.search-picture{border:0;background:transparent;min-width:0;padding:6px;border-radius:10px;text-align:left;color:inherit}
.search-picture:hover,.search-picture:focus-visible{background:var(--theme-hover)}
.search-picture img{display:block;width:100%;height:104px;object-fit:contain;background:var(--theme-subtle);border-radius:7px}
.search-picture span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.6;margin-top:7px;overflow-wrap:anywhere}
.search-section-note{font-size:12px;color:var(--theme-muted);line-height:1.7;margin:6px 14px 12px}
.search-text-button{margin:0 14px 8px}
.search-collection{display:flex;justify-content:space-between;align-items:center;gap:12px}
.search-collection small{white-space:nowrap;margin:0}
#search-back{border:0;background:transparent;color:var(--theme-muted);padding:4px;white-space:nowrap}
#search-canvas-actions{display:flex;gap:8px;margin:0 0 18px}
#search-canvas-actions button,#search-pictures-more{background:transparent;font-size:12px;color:var(--theme-accent-text)}
#search-pictures-more{display:block;margin:24px auto}
@media(max-width:480px){.search-picture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-picture img{height:92px}}

.reply-picture-action{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px;font-size:12px;color:var(--theme-muted)}
.reply-picture-action button{border:0;background:transparent;color:var(--theme-accent-text);padding:6px 8px;margin-left:-8px;font-size:12px}
.reply-picture-action button:hover,.reply-picture-action button:focus-visible{background:var(--theme-hover)}

.model-usage-dialog {width:min(920px,calc(100vw - 40px));max-width:calc(100vw - 20px);max-height:90dvh;padding:0;overflow:hidden;color:var(--theme-text);}
.model-usage-dialog .dialog-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 32px 18px;border-bottom:1px solid var(--theme-line);}
.model-usage-dialog h2 {margin:0;font-size:20px;}
.model-usage-body {padding:26px 32px;max-height:calc(90dvh - 82px);overflow:auto;scrollbar-gutter:stable;overflow-wrap:anywhere;}
.model-usage-dialog :where(button,.usage-native-link,.subscription-actions a) {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;margin:0;padding:8px 12px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-size:13px;line-height:1.4;text-decoration:none;cursor:pointer;}
.model-usage-dialog :where(button,.usage-native-link,.subscription-actions a):hover {background:var(--theme-hover);}
.usage-source {margin:0 0 8px;font-size:14px;color:var(--theme-accent-text);}
.usage-model {display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap;}
.usage-model strong {font-size:22px;}
.usage-model span,.usage-note {font-size:13px;color:var(--theme-accent-text);line-height:1.7;}
.model-usage-body h3 {font-size:16px;margin:28px 0 14px;}
.usage-stats {display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0;padding:18px 20px;background:var(--theme-subtle);border-radius:12px;}
.usage-stats div {display:flex;flex-direction:column;gap:5px;}
.usage-stats strong {font-size:22px;}.usage-stats span {font-size:12px;color:var(--theme-muted);}
.usage-groups details {padding:0;border:0;border-bottom:1px solid var(--theme-line);}
.usage-groups {border-top:1px solid var(--theme-line);}
.usage-groups summary,.usage-inventory summary {cursor:pointer;font-size:14px;line-height:1.7;padding:14px 0;}
.usage-groups summary:hover,.usage-inventory summary:hover {color:var(--theme-accent-text);}
.usage-groups summary .usage-note {float:right;margin:0 0 0 14px;}
.usage-tokens {display:grid;grid-template-columns:1fr 2fr;gap:8px;font-size:13px;}.usage-tokens dd {margin:0;text-align:right;}
.usage-inventory {margin-top:20px;padding-top:0;font-size:14px;border-color:var(--theme-line);}.usage-inventory p {display:flex;flex-direction:column;gap:4px;font-size:12px;}.usage-inventory span {color:var(--theme-muted);}
.usage-refresh {margin-top:16px;}
@media(max-width:480px){.model-usage-dialog .dialog-heading,.model-usage-body{padding-left:18px;padding-right:18px;}.usage-tokens{grid-template-columns:1fr 1.5fr;}}
.usage-background>details {margin-left:14px;}.usage-background>details:last-child {border-bottom:0;}
.subscription-settings {margin:12px 0 0;}
.subscription-account {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--theme-muted);}
.subscription-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.subscription-settings progress {display:block;margin-top:6px;width:100%;height:5px;accent-color:var(--theme-accent);}
.subscription-quota {background:var(--theme-subtle);border-radius:10px;padding:17px 20px;margin-top:17px;font-size:13px;}
.subscription-quota progress {display:block;width:100%;height:5px;margin:12px 0 8px;accent-color:var(--theme-accent);}
.subscription-quota .usage-note {margin:6px 0 0;font-size:12px;}
.subscription-settings>p:empty {display:none;}
.subscription-quotas>.usage-note {font-size:12px;margin-bottom:0;}
.usage-row {display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;}
.usage-current {border:1px solid var(--theme-line);border-radius:13px;padding:23px;background:var(--theme-surface);}
.usage-overline {color:var(--theme-muted);font-size:12px;margin:0 0 5px;}
.usage-current-name {display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.usage-current-name>strong {font-size:20px;}
.usage-badge {font-size:12px;background:var(--theme-subtle);color:var(--theme-accent-text);padding:2px 7px;border-radius:5px;white-space:nowrap;}
.usage-account-row {display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:12px;flex-wrap:wrap;}
.usage-model-summary {display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px;padding-top:20px;border-top:1px solid var(--theme-line);margin:22px 0 0;line-height:1.6;}
.usage-model-summary dt {color:var(--theme-muted);font-size:12px;margin-bottom:6px;}
.usage-model-summary dd {margin:0;}
.usage-model-summary dd,.usage-image-name {font-size:14px;font-weight:400;overflow-wrap:anywhere;}
.usage-model-actions {display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px;}
.usage-model-editor {flex-basis:100%;min-width:0;padding:20px;background:var(--theme-bg);border:1px solid var(--theme-line);border-radius:10px;}
.usage-model-fields {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;}
.usage-model-fields label {display:grid;gap:8px;color:var(--theme-muted);font-size:12px;}
.usage-model-fields select {width:100%;min-width:0;min-height:40px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);padding:8px;font:inherit;font-size:14px;}
@media(max-width:480px){.usage-model-fields {grid-template-columns:minmax(0,1fr);gap:14px;}.usage-model-editor{padding:14px;}}
.usage-image-settings {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;margin-top:24px;}
.usage-image-settings>.usage-native-link {align-self:end;}
.usage-image-name {display:flex;align-items:center;flex-wrap:wrap;gap:8px;line-height:1.6;}
.usage-image-settings>.usage-note {grid-column:1/-1;margin:0;}
.usage-current>.usage-note {font-size:12px;margin:22px 0 0;}
.usage-records {margin-top:29px;}
.usage-records>.usage-row h3 {margin:0;}
.usage-filters {display:flex;gap:4px;flex-wrap:wrap;width:fit-content;max-width:100%;padding:4px;border:1px solid var(--theme-line);border-radius:10px;margin-top:18px;}
.usage-filters button {background:transparent;border-color:transparent;border-radius:6px;padding:6px 10px;color:var(--theme-muted);}
.usage-filters button[aria-pressed=true] {background:var(--theme-subtle);color:var(--theme-text);}
.usage-cost-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;font-size:13px;line-height:1.7;margin:20px 0 24px;padding:18px 20px;border:1px solid var(--theme-line);border-radius:10px;}
.usage-cost-summary>div:only-child {grid-column:1/-1;}
.usage-cost-summary strong {display:block;}
.usage-cost-summary .usage-note {font-size:12px;margin:8px 0 0;}
.usage-preview-label {font-size:12px;color:var(--theme-muted);margin:0 0 16px;}
.usage-setup {min-height:500px;}
.usage-setup>div {max-width:620px;margin-left:auto;margin-right:auto;}
.usage-setup.usage-setup-plans>div {max-width:none;}
.usage-setup-nav {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px;flex-wrap:wrap;}
.usage-setup-nav .usage-note {font-size:12px;}
.model-usage-body .usage-step-title {font-size:22px;margin:0 0 8px;}
.usage-step-title+.usage-note {margin:0 0 24px;}
.usage-setup fieldset {min-width:0;display:grid;gap:12px;margin:0;padding:0;border:0;}
.usage-setup legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.usage-choice {display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--theme-line);border-radius:11px;background:var(--theme-surface);cursor:pointer;}
.usage-choice:has(input:checked) {background:var(--theme-subtle);border-color:var(--theme-line-strong);}
.usage-choice input {width:16px;height:16px;accent-color:var(--theme-accent);flex:none;margin:0;padding:0;}
.usage-choice-copy {display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
.usage-choice-copy strong {font-size:15px;}
.usage-choice-copy small {font-size:13px;color:var(--theme-accent-text);line-height:1.6;}
.usage-setup-actions {display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:27px;}
.usage-setup-actions>.usage-note {margin:0;}
.usage-primary {background:var(--theme-accent);color:var(--theme-on-accent);border-color:var(--theme-line-strong);flex:none;}
.usage-primary:hover {background:var(--theme-accent);}
.usage-primary:disabled {opacity:.5;cursor:default;}
.usage-connection {border:1px solid var(--theme-line);border-radius:11px;padding:21px;background:var(--theme-surface);}
.usage-connection>strong {display:block;}
.usage-connection>.usage-native-link {margin-top:12px;}
.usage-connection>.usage-note {margin-bottom:0;}
.usage-connection .subscription-settings {margin-top:0;}
.usage-connection>.component-setup:first-child {margin-top:0;}
.usage-review {display:grid;grid-template-columns:1fr 2fr;margin:25px 0;}
.usage-review dt,.usage-review dd {padding:14px 0;border-bottom:1px solid var(--theme-line);margin:0;font-size:14px;}
.usage-review dt {color:var(--theme-muted);font-size:13px;}
.usage-review dd {text-align:right;}
.usage-setup fieldset.usage-plans {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.usage-plan {display:grid;grid-template-columns:1fr 20px;align-items:baseline;padding:21px 18px;gap:12px;}
.usage-plan .usage-choice-copy {grid-column:1;grid-row:1;}.usage-plan input {grid-column:2;grid-row:1;}
.usage-plan .usage-choice-copy strong {font-size:20px;}
.usage-plan>.usage-note {grid-column:1/-1;margin:0;font-size:12px;}
.usage-plan-price {grid-column:1/-1;font-size:23px;margin:8px 0;}
.usage-plan dl {grid-column:1/-1;border-top:1px solid var(--theme-line);padding-top:16px;margin:0;}
.usage-plan dt {font-size:12px;color:var(--theme-muted);margin-top:14px;}.usage-plan dt:first-child {margin-top:0;}
.usage-plan dd {font-size:13px;margin:3px 0 0;}
@media(max-width:640px){.model-usage-dialog {width:calc(100vw - 20px);max-height:94dvh;}.model-usage-body{max-height:calc(94dvh - 82px);}.usage-current{padding:18px;}.usage-model-summary{grid-template-columns:1fr 1fr;}.usage-model-summary>div:first-child{grid-column:1/-1;}.usage-groups summary .usage-note{float:none;display:block;margin:4px 0 0 17px;}.usage-setup fieldset.usage-plans{grid-template-columns:1fr;}.usage-plan dl{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;}.usage-plan dt,.usage-plan dd{margin:0;}.usage-plan dd{text-align:right;}}
@media(max-width:640px){.usage-cost-summary{grid-template-columns:1fr;gap:16px;}.usage-cost-summary>div+div{border-top:1px solid var(--theme-line);padding-top:16px;}.usage-image-settings{column-gap:12px;}}
@media(max-width:380px){.model-usage-dialog .dialog-heading,.model-usage-body{padding-left:15px;padding-right:15px;}.usage-current{padding:14px;}.usage-current-name>strong{font-size:17px;}.usage-stats{padding:15px 10px;gap:8px;}.usage-setup-actions{align-items:stretch;flex-direction:column;}.usage-setup-nav{gap:8px;}.usage-setup-nav>.usage-note{order:3;width:100%;}.usage-choice{padding:15px 13px;gap:10px;}.usage-choice>.usage-badge{font-size:11px;}}
@media(pointer:coarse){.model-usage-dialog button,.model-usage-dialog a{min-height:44px;}}

/* Account and sign-in keep identity separate from model-provider settings. */
.account-dialog{width:min(520px,calc(100vw - 32px));padding:0;max-height:90dvh;overflow:auto}
.account-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 30px;border-bottom:1px solid var(--theme-line)}
.account-dialog h2{margin:0;font-size:18px;font-weight:600}
.account-body{padding:28px 30px}
.account-identity{display:flex;align-items:center;gap:18px;min-width:0}
.account-identity>div{min-width:0}.account-identity strong{display:block;font-size:16px;overflow-wrap:anywhere;line-height:1.6}
.account-portrait{width:60px;height:60px;font-size:24px}
.account-password{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--theme-line);margin-top:28px;padding-top:22px;font-size:14px}
.account-dialog button,.account-dialog .usage-native-link{font-size:13px;line-height:1.5;padding:8px 12px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);text-decoration:none;white-space:nowrap}
.account-dialog .usage-note{font-size:12px;line-height:1.7;margin:16px 0 0}
.skills-intro{margin:0;font-size:13px;line-height:1.7;color:var(--theme-accent-text)}
.skill-card{margin-top:16px;padding:18px 20px;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface)}
.skill-name{display:flex;align-items:center;gap:10px;min-width:0}.skill-name strong{font-size:16px}
.skill-summary{margin:12px 0 0;font-size:14px;line-height:1.7;color:var(--theme-text)}
.skill-card .usage-note{margin:6px 0 0}
.login-card{width:min(420px,100%);padding:36px}
.login-card .brand{font-size:28px;margin-bottom:30px}.login-card h1{font-size:23px;margin:0 0 24px}
.login-card form{gap:10px;margin-top:0}.login-card label{font-size:13px}.login-card input{margin-bottom:10px}
.login-password-fields{display:grid;gap:10px}.login-card .primary{background:var(--theme-accent);border-color:var(--theme-line-strong);color:var(--theme-on-accent)}
.login-card .login-link{display:block;border:0;background:transparent;text-align:center;color:var(--theme-accent-text);font-size:13px;text-decoration:none;padding:8px}
.login-card #login-notice{font-size:12px;line-height:1.7;margin:18px 0 0;min-height:0}
@media(max-width:480px){.login-page{padding:20px}.login-card{padding:28px 24px}.login-card input{font-size:16px}.account-body{padding:24px 20px}}

/* One close affordance across workspace dialogs. */
dialog .dialog-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;min-height:32px;padding:7px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--theme-text);cursor:pointer}
dialog .dialog-close:hover{background:var(--theme-hover)}dialog .dialog-close:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}
.region-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.region-heading h2{margin:0;overflow-wrap:anywhere}
.network-dialog .account-body{display:grid;gap:12px}.network-dialog .usage-note{margin:0}.network-dialog label{font-size:13px;margin-top:8px}
.network-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.network-actions .primary{background:var(--theme-accent);border-color:var(--theme-line-strong);color:var(--theme-on-accent)}
.network-status{font-size:13px;line-height:1.7;margin:0;color:var(--theme-accent-text)}.network-status:empty{display:none}
@media(pointer:coarse){dialog .dialog-close{width:44px;height:44px;min-height:44px}}

.voice-bar{grid-column:1/-1;grid-row:5;border-top:1px solid color-mix(in srgb,var(--theme-line) 50.20%,transparent);margin:6px 4px 0;padding:8px 0 0;min-width:0}
.voice-bar[hidden]{display:none}.voice-summary{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--theme-accent-text)}.voice-summary>span:first-child{flex:1}.voice-summary button,.voice-bar>button{font-size:12px;min-height:36px;padding:6px 10px;border:0;background:color-mix(in srgb,var(--theme-subtle) 50.20%,transparent);border-radius:18px}
.voice-summary>button:last-child{color:var(--theme-danger);background:color-mix(in srgb,var(--theme-danger-bg) 50.20%,transparent)}.voice-caption{font-size:13px;line-height:1.7;margin:4px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.voice-history-link{display:block;margin:18px auto;font-size:13px;border:0;background:transparent;color:var(--theme-accent-text)}.voice-dialog{width:min(440px,calc(100% - 32px));padding:24px;line-height:1.8}.voice-dialog .dialog-close{float:right}.voice-dialog h2{font-size:22px;margin:0 0 18px}.voice-dialog .muted{font-size:12px;color:var(--theme-muted)}.voice-dialog .voice-start{display:block;margin:20px 0 0 auto;background:var(--theme-accent);color:var(--theme-on-accent);border:0;padding:10px 24px;border-radius:24px}
.voice-log{border-top:1px solid var(--theme-line);padding:12px 0}.voice-log>p:not(.muted){display:flex;flex-direction:column;gap:4px;font-size:15px;overflow-wrap:anywhere}.voice-log small{color:var(--theme-muted);font-size:11px}.voice-user{max-width:85%;margin-left:auto;padding:10px 14px;background:var(--theme-subtle);border-radius:16px}.voice-assistant{margin:24px 0}.voice-bar button[hidden]{display:none}

.voice-choices{border:0;padding:0;margin:20px 0 12px;min-width:0}.voice-choices legend{padding:0 0 8px;font-size:14px}.voice-option{display:flex;align-items:center;gap:8px;border:1px solid var(--theme-line);border-radius:16px;margin-bottom:8px;padding:4px 8px 4px 12px}.voice-option:has(input:checked){background:var(--theme-subtle);border-color:var(--theme-line-strong)}.voice-option label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:8px 0;cursor:pointer}.voice-option input{flex:0 0 auto;accent-color:var(--theme-accent);width:16px;height:16px;margin:0}.voice-option-copy{display:flex;flex-direction:column;min-width:0}.voice-option-copy strong{font-size:15px;font-weight:600}.voice-option-copy small{font-size:12px;line-height:1.6;color:var(--theme-muted)}.voice-preview-button{flex:0 0 auto;min-width:56px;min-height:44px;padding:8px;border:0;border-radius:12px;background:transparent;font-size:14px;color:var(--theme-text);touch-action:manipulation}.voice-preview-button[aria-pressed=true]{background:var(--theme-selected)}.voice-preview-status{min-height:20px;margin:6px 0;font-size:12px;color:var(--theme-muted)}
.community-canvas{max-width:820px;margin:0 auto}.community-toolbar{display:flex;gap:8px;align-items:center;margin:8px 0 24px;flex-wrap:wrap}.community-toolbar button{border:0;background:transparent}.community-toolbar button[aria-pressed=true]{background:var(--theme-selected)}.community-toolbar button:last-child{margin-left:auto}.community-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}.community-post{min-width:0;border-radius:16px}.community-byline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:13px}.community-byline time,.community-meta{font-size:12px;color:var(--theme-accent-text);line-height:1.7}.community-image{display:block;width:100%;padding:0;border:0;background:var(--theme-subtle);border-radius:12px;overflow:hidden}.community-image img{display:block;width:100%;height:auto}.community-post h2{font-size:16px;font-weight:500;margin:16px 0 8px}.community-post p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.community-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.community-actions button{border:0;background:transparent;padding:7px;font-size:12px}.community-actions button[aria-pressed=true]{color:var(--theme-accent-text);background:var(--theme-selected)}.community-actions button:last-child{margin-left:auto}.community-sources{display:flex;flex-direction:column;align-items:start;gap:4px;margin:10px 0}.community-sources button{background:transparent;border:0;text-align:left;color:var(--theme-accent-text);padding:4px 0;font-size:12px;overflow-wrap:anywhere}.community-empty{grid-column:1/-1;text-align:center;color:var(--theme-accent-text);line-height:1.9;padding:56px 20px}.community-more{display:block;margin:28px auto}.community-dialog{width:480px;max-width:calc(100vw - 24px);max-height:90dvh;padding:22px;overflow:auto}.community-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.community-dialog-heading h2{margin:0;font-size:18px;font-weight:500}.community-dialog>img{width:100%;max-height:52dvh;object-fit:contain;display:block;border-radius:10px}.community-dialog>p,.community-comment p{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.community-dialog>label{display:block;margin:14px 0 8px;font-size:14px}.community-dialog textarea{width:100%;padding:12px;border:1px solid var(--theme-line);border-radius:9px;background:var(--theme-surface);color:var(--theme-text);resize:vertical;font-size:16px}.community-dialog .community-consent{display:flex;align-items:start;gap:10px;line-height:1.7}.community-consent input{width:18px;height:18px;flex:none;margin-top:4px}.community-primary{background:var(--theme-accent);color:var(--theme-on-accent);border:0;margin:12px 0;padding:12px 16px}.community-primary:hover{background:var(--theme-accent)}.community-comments{border-top:1px solid var(--theme-line);margin-top:28px;padding-top:15px}.community-comments h3{font-size:16px;font-weight:500}.community-comment{padding:12px 0;border-bottom:1px solid var(--theme-line);margin-bottom:14px}.community-comment>span{font-size:13px;color:var(--theme-accent-text)}.community-comment p{margin:6px 0}.community-comment button{font-size:12px;background:transparent;border:0;color:var(--theme-accent-text);padding:4px 0}.community-error{overflow-wrap:anywhere}.community-dialog .community-primary{min-height:44px}
.community-text a{color:var(--theme-accent-text);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.community-editorial{margin:12px 0}.community-editorial:empty{display:none}.community-editorial p{font-size:12px!important;margin:2px 0;line-height:1.7}.community-editorial a{display:inline-block;color:inherit;margin:4px 14px 4px 0;text-underline-offset:3px}
.community-guide{align-self:start;border:1px solid var(--theme-line);border-radius:16px;padding:22px;background:linear-gradient(150deg,var(--theme-bg),var(--theme-subtle))}.community-guide-label{display:block;font-size:12px;letter-spacing:.04em;color:var(--theme-accent-text);margin-top:28px}.community-guide h2{font-size:22px;line-height:1.5;margin-top:10px}.community-guide .community-editorial a{font-size:14px;color:var(--theme-text)}
@media(max-width:700px){.community-feed{grid-template-columns:1fr;gap:36px}.community-actions button{min-height:44px}.community-byline{font-size:14px}.community-post h2{font-size:17px}.community-post p{font-size:16px}.community-dialog>input{font-size:16px}.mobile-tabs button{min-width:0}}

.action-card { border:1px solid var(--theme-line); border-radius:16px; padding:16px; margin:18px 0; background:var(--theme-subtle); }
.action-card pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:.9em; }
.action-card small { display:block; margin:12px 0; color:var(--theme-muted); }
.action-before { display:flex; gap:12px; align-items:center; margin-top:12px; overflow-wrap:anywhere; }
.action-before img { width:60px; max-height:80px; object-fit:contain; border-radius:8px; }

/* Owner-only community operations. Shares the workspace palette and typography. */
.community-detail-picture{min-height:100px;text-align:center}.community-detail-picture img{display:block;width:100%;height:auto;max-height:52dvh;object-fit:contain;border-radius:10px}.community-detail-picture button{margin-left:8px}.community-image img{min-height:80px}.community-description>p{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.operations-dialog{width:min(1120px,94vw);max-width:none;max-height:92dvh;padding:32px;border:1px solid var(--theme-line);border-radius:24px;background:var(--theme-bg);color:var(--theme-text);overflow:auto}
.operations-heading,.operations-toolbar,.operations-event summary{display:flex;align-items:center;justify-content:space-between;gap:20px}.operations-heading h1{font-size:27px;margin:8px 0 16px}.operations-eyebrow,.operations-muted,.operations-card small{color:var(--theme-accent-text);font-size:13px;line-height:1.7}.operations-toolbar{margin:8px 0 24px;font-size:13px}.operations-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.operations-card{text-align:left;white-space:normal;padding:22px;border:1px solid var(--theme-line);border-radius:18px;background:var(--theme-surface);min-width:0}.operations-card[aria-pressed=true]{border-color:var(--theme-line-strong);background:var(--theme-subtle);box-shadow:0 3px 15px color-mix(in srgb,var(--theme-shadow) 4.31%,transparent)}.operations-card h2{font-size:17px;margin:0 0 18px}.operations-card p{font-size:13px;line-height:1.6;margin:8px 0}.operations-card .operations-state{font-size:19px;color:var(--theme-text)}.operations-tabs{display:flex;gap:10px;margin:26px 0 0;padding-bottom:14px;border-bottom:1px solid var(--theme-line)}.operations-tabs button[aria-pressed=true]{background:var(--theme-selected)}.operations-panel{padding:22px 2px 2px}.operations-panel h2{font-size:20px;margin:0 0 10px}.operations-lane,.operations-report{padding:18px 20px;margin:16px 0;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-surface)}.operations-lane h3{font-size:15px;margin:0}.operations-lane p,.operations-report p{line-height:1.7}.operations-lane button{margin-left:14px}.operations-panel label{display:block;line-height:1.8}.operations-panel textarea{display:block;box-sizing:border-box;width:100%;font:inherit;line-height:1.8;padding:16px;border:1px solid var(--theme-line-strong);border-radius:14px;background:var(--theme-surface);margin:12px 0;resize:vertical}.operations-budget{margin-top:24px;padding-top:22px;border-top:1px solid var(--theme-line)}.operations-budget input{width:84px;margin:0 14px;padding:8px}.operations-budget label{display:inline-block}.operations-primary{background:var(--theme-accent);color:var(--theme-on-accent)}.operations-success{color:var(--theme-success)}.operations-error{color:var(--theme-danger);white-space:pre-wrap}.operations-event{padding:14px 4px;border-bottom:1px solid var(--theme-line)}.operations-event summary{cursor:pointer;font-size:14px}.operations-event summary time{font-size:12px;color:var(--theme-accent-text);flex-shrink:0}.operations-raw{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;background:var(--theme-subtle);padding:16px;border-radius:10px}.operations-history-filters{display:flex;gap:10px;margin:12px 0}.operations-report small{display:block;margin-top:8px}
@media(max-width:700px){.operations-dialog{padding:20px 16px;width:96vw;max-height:94dvh}.operations-cards{grid-template-columns:1fr;gap:10px}.operations-card{padding:16px}.operations-card h2{margin:0}.operations-card .operations-state{font-size:16px}.operations-card small{display:block}.operations-heading h1{font-size:21px}.operations-toolbar{align-items:flex-start}.operations-event summary{align-items:flex-start}.operations-lane button{margin:12px 0 0;display:block}}
.operations-preview{padding:10px 14px;border-radius:10px;background:var(--theme-warning-bg);color:var(--theme-warning);font-size:13px}
@media(max-width:700px){.operations-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px}.operations-card h2{font-size:15px}.operations-card .operations-state{margin:0;font-size:14px}.operations-card p:not(.operations-state){display:none}.operations-card small{grid-column:1/-1}.operations-toolbar button{white-space:nowrap}.operations-heading{position:sticky;top:-20px;background:var(--theme-bg);z-index:1}}

.community-post, .community-visual { position: relative; }
.community-post > .select-image { top: 3.2rem; right: .75rem; }
.community-post.selected { outline: 2px solid var(--theme-accent); outline-offset: 3px; }

html.phone-layout .community-post > .select-image { top: 58px; right: 12px; }
.community-save { margin: 12px 0 12px 8px; min-height: 44px; padding: 12px 16px; }

/* Primary actions keep a readable foreground in every interaction state. */
:is(.primary,.usage-primary,.community-primary,.operations-primary,#send):hover:not(:disabled){background:var(--theme-accent-hover);color:var(--theme-on-accent)}

.operations-receipt-filters{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.operations-receipt-filters :is(input,select){font:inherit;padding:10px;border:1px solid var(--theme-line-strong);border-radius:10px;background:var(--theme-surface);color:var(--theme-text);width:auto;min-width:0;max-width:100%;flex:1 1 180px}.operations-tabs{flex-wrap:wrap}
.operations-metrics{display:flex;gap:36px;margin:24px 0}.operations-metrics div{display:flex;gap:10px;align-items:baseline}.operations-metrics strong{font-size:28px}.operations-metrics span{color:var(--theme-accent-text)}.operations-post{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;padding:22px 0;border-top:1px solid var(--theme-line)}.operations-post>img{width:110px;max-height:150px;object-fit:cover;border-radius:12px}.operations-post>div:only-child{grid-column:1/-1}.operations-post h3{font-size:17px;margin:8px 0}.operations-post small{color:var(--theme-accent-text)}.operations-post-caption{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;max-height:10em;overflow:auto}.operations-post-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.operations-proposal-form{padding:20px;border:1px solid var(--theme-line-strong);border-radius:16px;margin:20px 0;background:var(--theme-surface)}.operations-proposal-form h3{font-size:17px}.operations-report blockquote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid var(--theme-line-strong);margin:14px 0;padding:4px 16px;line-height:1.7}.operations-report p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.operations-post{grid-template-columns:70px minmax(0,1fr);gap:12px}.operations-post>img{width:70px;max-height:100px}.operations-post-actions button{font-size:12px;padding:8px}.operations-metrics{gap:20px}.operations-metrics strong{font-size:23px}.operations-metrics div{gap:6px}.operations-proposal-form{padding:14px}}

.composer-footer #send{margin-left:auto}
