.atc-chat-home{display:none}
.atc-chat-page>.home-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:calc(100% - 40px);min-height:52px;border-bottom:1px solid var(--chat-line)}
.atc-chat-page>.home-header .home-masthead{padding:0}
.atc-chat-page>.home-header .home-masthead>p:last-child{display:none}
.atc-chat-page>.home-header .home-publication-title{font-size:22px;white-space:nowrap}
.atc-chat-page>.home-header .home-publication-title a{gap:7px;min-height:44px}
.atc-chat-page>.home-header .home-brand-mark{position:static;width:20px;height:20px}
html body.atc-chat-page>.home-header .home-header-actions{position:static;grid-column:3;grid-row:1;flex-wrap:nowrap;gap:0;margin:0}
.atc-chat-page>.home-header nav[data-home-navigation]{grid-column:2;grid-row:1;gap:clamp(12px,2vw,26px);min-height:0;border:0}
.atc-chat-page>.home-header [data-home-navigation] a{padding:11px 0 9px}

.atc-chat-page .atc-chat-toolbar{min-height:48px;gap:8px;padding:2px 0}
.atc-chat-page .atc-chat-toolbar-label{font-size:.94rem}
.atc-chat-page .atc-chat-toolbar .ac-entry{margin:0}
.atc-chat-page .atc-chat-modes{padding:2px;margin:0 auto 8px}
.atc-chat-page .atc-chat-modes button{padding:5px 8px}
.atc-chat-page .atc-chat-viewport{overflow:hidden;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}
.atc-chat-page .atc-chat-welcome-group{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:flex-start;overflow:auto;overscroll-behavior:contain;gap:8px;padding:8px 2px}
.atc-chat-page .atc-chat.has-messages .atc-chat-welcome-group{display:none}
.atc-chat-page .atc-chat-welcome{width:min(100%,780px);max-width:none;margin:auto}
.atc-chat-page .atc-chat-welcome h1{font-size:clamp(1.35rem,3vw,2rem);max-width:32ch}
.atc-chat-page .atc-chat-subtitle{margin-top:8px;font-size:.9rem}
.atc-chat-page .atc-house-notice{margin:0}
.atc-chat-page .atc-chat{--composer-min-height:30px;--composer-max-height:112px}
.atc-chat-page .atc-chat.is-compact{--composer-max-height:72px}
.atc-chat-page .atc-chat .atc-chat-composer,
.atc-chat-page .atc-chat.is-compact .atc-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:8px;padding:6px 8px 6px 12px;border-radius:20px}
.atc-chat-page .atc-chat-composer textarea{margin:0;align-self:center}
.atc-chat-page #needsScreenshotPreview{grid-column:1/-1;max-height:clamp(52px,calc(var(--atc-chat-height,100dvh) * .22),156px);margin-bottom:6px}
.atc-chat-page .atc-chat-privacy[open]{max-height:20dvh;overflow:auto}
.atc-chat-page .atc-chat-footnote{margin-top:6px}
.atc-chat-page .atc-history-tools{margin-top:8px}

@media(max-width:760px){
  .atc-chat-page>.home-header{display:none}
  .atc-chat-page .atc-chat-toolbar{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:4px}
  .atc-chat-page .atc-chat-toolbar-label{display:none}
  .atc-chat-page .atc-chat-home{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px;color:var(--chat-accent);white-space:nowrap;font-size:.77rem}
  .atc-chat-page .atc-chat-toolbar .atc-chat-history-toggle{width:44px;min-height:44px;justify-content:center;border:0}
  .atc-chat-page .atc-chat-history-toggle [data-i18n],.atc-chat-page .atc-chat-new [data-i18n]{display:none}
  .atc-chat-page .atc-chat-language{margin-inline-start:auto}
  .atc-chat-page .atc-chat-toolbar .atc-chat-new{width:44px;justify-content:center;margin-inline-start:0}
  .atc-chat-page .atc-chat-examples{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px}
  .atc-chat-page .atc-chat-examples button{flex:0 0 auto;max-width:86%}
}
/* Welcome-screen starter questions: fill the composer, never send. */
.atc-chat-examples{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:10px auto 0;max-width:100%}
.atc-chat-examples button{min-height:40px;padding:8px 14px;border:1px solid var(--chat-line,#d8c8ad);border-radius:999px;background:#fffdf9;color:var(--chat-ink,#19202b);font:inherit;font-size:.85rem;line-height:1.35;text-align:left;cursor:pointer}
.atc-chat-examples button:hover{border-color:var(--chat-accent,#79543a);color:var(--chat-accent,#79543a)}
.atc-chat-examples button:focus-visible{outline:2px solid var(--chat-accent,#79543a);outline-offset:2px}
@media(max-width:760px){.atc-chat-examples button{font-size:.8rem;padding:7px 12px}}
