/* Live service additions: retained editors, server preferences and the connected chat.
   Scoped exceptions for live server operations absent from the static reference. */
.continue-dismiss-form{margin:0}
.project-tools{margin-top:24px}
.live-material-editor .inline-actions{margin-top:16px}
.live-material-editor textarea{max-width:100%}
.attachment-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:14px/1.7 var(--font-mono)}
.project-export{margin-top:24px}
body.live-chat #app,body.live-chat .app{height:100dvh;min-height:0}
body.live-chat .workspace{height:100dvh;display:flex;flex-direction:column;min-height:0}
body.live-chat main.page{flex:1;min-height:0;padding:0;max-width:none;display:flex;flex-direction:column}
body.live-chat .desk{flex:1;min-height:0}
body.live-chat .desk-head h1{margin:0}
body.live-chat .demo-notice{margin:0}
body.live-chat .work-grid{min-height:0}
body.live-chat .thread .task-card h2{font-size:20px}
body.live-chat .composer-wrap{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
body.live-chat .composer{width:100%}
body.live-chat .composer .field{margin:0;gap:0}
body.live-chat .composer p{margin:8px 0 0}
body.live-chat .chat{width:100%;min-height:0}
body.live-chat .jump-latest{position:absolute;bottom:210px;left:50%;transform:translateX(-50%);z-index:2;max-width:90%}
body.live-chat .file-tile{color:var(--fg);text-decoration:none}
body.live-chat .thread:focus-visible{outline-offset:-3px}
body.live-chat .job-banner{display:none}
body.live-chat.cookie-notice-visible .composer-wrap{padding-bottom:calc(12px + var(--cookie-notice-height,0px))}
@media(max-width:920px){body.live-chat .desk-head{flex-wrap:wrap}body.live-chat .head-actions{margin-left:auto}}
@media(max-width:700px){body.live-chat .side-info{display:none}body.live-chat .mobile-stages{display:inline-flex}body.live-chat .desk-head{padding:16px;gap:16px}body.live-chat .thread{padding:20px 16px}body.live-chat .composer-wrap{padding-inline:12px}body.live-chat .head-actions{width:100%;justify-content:flex-end}body.live-chat .demo-notice{padding:8px 16px}}
@media(max-height:600px){body.live-chat .desk-head{padding-block:8px;gap:8px}body.live-chat .demo-notice{display:none}body.live-chat .composer textarea{height:48px;min-height:48px}body.live-chat .composer-wrap{padding-top:6px}body.live-chat .composer .muted{font-size:11px}body.live-chat .thread{min-height:0}body.live-chat .desk-head .crumb{display:none}}

/* Accessible labels and C12 decorative local illustrations; no placeholder copy. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-home-version] :is(.step-image-placeholder,.own-idea-image-placeholder)>.icon{width:48px;height:48px;color:var(--muted);stroke-width:1.2}
body.live-chat .composer .field{min-width:0}
body[data-home-version] .own-idea-image-placeholder>.icon{position:absolute;right:16px;bottom:16px;width:32px;height:32px}

/* The reference editor disclosure lives in handoff/version.css. */
.handoff-editor-note{margin-top:24px;font-size:14px}
.handoff-editor-note summary{cursor:pointer;padding:12px 0}

/* The live cookie notice was supplied by the former app.css, not the handoff. */
.cookie-notice{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));right:24px;width:calc(100% - 48px);max-width:680px;z-index:80;display:flex;align-items:center;gap:24px;padding:20px 24px;background:var(--surface);color:var(--fg);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 32px rgb(0 0 0 / .12);font-size:14px;line-height:1.55}
.cookie-notice p{margin:0 0 8px}
.cookie-notice a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.cookie-notice{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));width:auto;padding:16px;gap:12px;align-items:stretch;flex-direction:column}}

/* Explicit entry action and private file context use the current design tokens. */
.conversation .send-message{width:auto;min-width:0;gap:8px;white-space:normal}
.idea-attachments{display:grid;gap:12px;margin-block:24px}
.file-tile{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:var(--fg);padding:16px;border:1px solid var(--border);border-radius:12px}
.file-tile>span:nth-child(2){min-width:0;flex:1}.file-name,.file-caption{display:block;overflow-wrap:anywhere}.file-caption{font-size:13px;color:var(--muted)}
.file-glyph{flex-shrink:0;font-size:12px}.file-arrow{flex-shrink:0}
.attachment-preview pre{white-space:pre-wrap;overflow-wrap:anywhere}
.live-material-editor .flow-stack{gap:16px}.live-material-editor .field{gap:8px}
@media(max-width:480px){.conversation .composer-bottom{flex-wrap:wrap;gap:12px}.conversation .send-message{margin-left:auto}}
