/* Quiet, shared typography. The empty home centres on one working composer. */
.enterprise-home{max-width:1600px;margin:0 auto;padding:4px 0 20px;color:var(--text-primary);font-size:14px}
.enterprise-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:36px;align-items:start}
.home-chat{position:relative;display:flex;flex-direction:column;height:calc(100dvh - 116px);min-height:470px;min-width:0;width:100%;max-width:960px;margin:0 auto}
.home-chat-toolbar{display:flex;align-items:center;gap:4px;min-height:36px;flex:none;padding:0 4px}.home-chat-toolbar>[data-home-help]{margin-left:auto}
.home-toolbar-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:7px;background:transparent;padding:7px 10px;color:#85858b;font:inherit;font-size:13px;line-height:20px;cursor:pointer;white-space:nowrap}
.home-toolbar-button:hover,.home-toolbar-button[aria-expanded=true]{background:#f2f2f3;color:#303035}.home-toolbar-button svg{width:16px;height:16px}
.home-chat-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px 16px 24px;scrollbar-width:thin;scroll-padding-bottom:24px}
.home-chat-log:focus-visible{outline:2px solid var(--border-strong);outline-offset:-2px;border-radius:8px}
.home-chat-jump{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;align-self:center;flex:none;width:36px;height:36px;margin:-52px auto 16px;padding:8px;border:1px solid #e4e4e7;border-radius:50%;background:#fff;color:#61616a;box-shadow:0 2px 10px #18181b0a;cursor:pointer}.home-chat-jump svg{width:19px;height:19px}.home-chat-jump:hover{background:#f7f7f8;color:#28282d}.home-chat-jump:focus-visible{outline:2px solid var(--border-strong);outline-offset:3px}
.home-chat.is-empty{height:auto;min-height:calc(100dvh - 116px)}
.home-chat.is-empty .home-chat-log{flex:none;height:0;min-height:0;padding:0;margin-top:clamp(110px,27vh,280px)}.home-chat.is-empty .home-chat-composer{margin-bottom:auto;transform:translateY(-12px)}
.home-greeting{text-align:center;font-size:clamp(25px,2.1vw,32px);font-weight:500;letter-spacing:-.04em;line-height:1.5;margin:0 0 30px;color:#222226}
.home-chat-composer{position:relative;padding:0 6px 10px;flex:none;width:100%;max-width:920px;margin:0 auto}
.today-composer{position:relative;padding:9px;border:1px solid #e4e4e7;border-radius:29px;background:#fff;box-shadow:0 3px 18px #18181b05;transition:border-color 140ms,box-shadow 140ms}
.today-composer:focus-within{border-color:#cfcfd4;box-shadow:0 3px 22px #18181b08}.today-composer.is-dragging{border-color:#8e9e96;box-shadow:0 0 0 3px #e6ebe7}
.home-composer-line{display:flex;align-items:flex-end;gap:5px;min-width:0}.today-composer textarea{display:block;flex:1;width:100%;min-width:30px;min-height:28px;max-height:180px;resize:none;border:0;padding:4px 4px 3px;margin:3px 0;background:transparent;outline:0;box-shadow:none;font:inherit;font-size:15px;line-height:25px;color:#2b2b30;scrollbar-width:thin}.today-composer textarea::placeholder{color:#a0a0a7}
.home-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;padding:7px;border:0;border-radius:50%;background:transparent;color:#727279;font:inherit;font-size:21px;line-height:1;cursor:pointer}.home-icon-button:hover{background:#f4f4f5;color:#28282c}.home-icon-button svg{width:23px;height:23px}.home-upload-button{color:#333338}.home-mention-button{font-size:18px;font-weight:400}
.home-mode-anchor{position:relative;flex:none}.home-mode-button{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#8c8c93;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}.home-mode-button:hover,.home-mode-button[aria-expanded=true]{background:#f5f5f6;color:#4c4c54}.home-mode-button svg{width:13px;height:13px}
.today-send{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;margin-left:2px;padding:8px;border:0;border-radius:50%;background:#27272b;color:#fff;cursor:pointer}.today-send svg{width:21px;height:21px}.portal-page .today-send:disabled{opacity:1;background:#ececef;color:#b7b7bf;box-shadow:none}
.home-composer-chips{display:flex;flex-wrap:wrap;gap:7px;margin:3px 7px 8px;max-height:130px;overflow:auto}.home-file-chip,.home-agent-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 6px 4px 9px;background:#f6f6f7;border:1px solid #ebebee;border-radius:8px;color:#74747e;font-size:13px;line-height:20px}.home-file-chip>span,.home-agent-chip>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:240px}.home-agent-chip{background:#f2f5f3;color:#6e8078;border-color:#e6ece8}.home-chip-remove{padding:1px 3px;border:0;background:transparent;color:#a1a1a9;font:inherit;cursor:pointer;font-size:17px;line-height:18px}
.home-effort-panel,.home-mention-menu,.home-history-panel{position:absolute;z-index:60;border:1px solid #e6e6e9;border-radius:13px;background:#fff;box-shadow:0 12px 36px #18181b0c;padding:16px}
.home-effort-panel{bottom:calc(100% + 20px);right:-35px;width:265px}.home-effort-panel strong{font-size:14px;font-weight:500}.home-effort-panel input{display:block;width:100%;accent-color:#44444b;margin:24px 0 12px;cursor:pointer}.home-effort-panel>div{display:flex;justify-content:space-between;color:#9999a0;font-size:12px}.home-effort-panel output{display:block;text-align:center;font-size:13px;margin-top:14px;color:#52525c}
.home-mention-menu{bottom:calc(100% + 10px);left:0;width:300px;max-width:100%;max-height:300px;overflow:auto;padding:6px}.home-mention-option{display:block;width:100%;border:0;background:transparent;padding:10px 12px;border-radius:7px;text-align:left;font:inherit;font-size:14px;color:#5b5b65;cursor:pointer}.home-mention-option:hover,.home-mention-option[aria-selected=true]{background:#f5f5f7;color:#26262c}
.home-history-anchor{position:relative}.home-history-panel{top:calc(100% + 8px);left:0;width:410px;max-width:calc(100vw - 52px);padding:10px}.home-history-panel>header{display:flex;align-items:center;justify-content:space-between;padding:0 8px 7px;color:#72727b;font-size:13px}.home-history-panel>header strong{font-weight:500}.home-history-panel>[data-home-history-list]{max-height:350px;overflow:auto}.home-history-panel .home-icon-button{height:28px;width:28px;font-size:20px}
.home-recent{display:grid;gap:6px;margin:26px 10px 0}.home-history-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#96969e;text-align:left;font:inherit;font-size:14px;line-height:23px;cursor:pointer}.home-history-row:hover{background:#f7f7f8;color:#52525d}.home-history-icon{flex:none;color:#707079;font-size:17px}.home-history-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-history-row time{font-size:12px;white-space:nowrap;color:#aaaab1}.home-history-empty{padding:12px;color:#96969e;font-size:13px;margin:0}
.home-chat-message{margin:0 0 28px;font-size:15px;line-height:1.85;overflow-wrap:anywhere;min-width:0}.home-chat-message.is-user{display:flex;flex-direction:column;align-items:flex-end;margin-left:16%}.home-chat-message.is-user .home-chat-message-body{display:inline-block;padding:9px 16px;border-radius:18px 18px 5px 18px;background:#f2f2f4;white-space:pre-wrap;max-width:100%}.home-chat-message.is-assistant{padding:2px 2px 2px 0;margin-right:3%}.home-chat-message-body>:last-child{margin-bottom:0}.home-chat-message-body pre{max-width:100%;overflow:auto}.home-message-files{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px;max-width:100%}.home-message-file{font-size:13px;color:#757580;border:1px solid #e8e8ec;padding:3px 9px;border-radius:7px;text-decoration:none;overflow-wrap:anywhere}.home-message-file:hover{background:#f6f6f8}.home-message-mentions{font-size:13px;color:#76857d;margin-top:5px}
.home-chat-message.is-assistant{margin-bottom:36px;max-width:78ch}.home-chat-message-body.agent-reply{font-size:16px;line-height:1.85;color:#303035;letter-spacing:0}.home-chat-message-body.agent-reply>:first-child{margin-top:0}.home-chat-message-body.agent-reply p{margin-bottom:16px}.home-chat-message-body.agent-reply h3,.home-chat-message-body.agent-reply h4{font-size:16px;line-height:1.65;margin:24px 0 10px;font-weight:600}.home-chat-message-body.agent-reply li{margin:7px 0}
.home-chat-result-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:12px}.home-chat-state{display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.8;color:#898992;padding:5px 0 18px;flex-wrap:wrap}.home-chat-thinking:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#92929b;vertical-align:2px;margin-right:9px;animation:home-thinking 1.3s ease-in-out infinite}.today-error{margin:12px 8px 0;font-size:13px;line-height:1.7;color:#a16e63}.home-recovery{display:flex;gap:9px;align-items:center;margin:10px 8px 0;font-size:13px;color:#8e8172;flex-wrap:wrap}
.home-action-card{margin:14px 0;padding:15px 17px;border:1px solid #e8e8eb;border-radius:12px;background:#fdfdfe;font-size:14px;max-width:100%;overflow-wrap:anywhere}.home-action-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.home-action-heading strong{font-weight:500}.home-action-status{font-size:12px;white-space:nowrap;color:#8c9690}.home-action-preview{max-height:220px;overflow:auto;margin-top:10px;font-size:13px;white-space:pre-wrap;line-height:1.8;color:#777781}.home-action-preview p{margin:5px 0}.home-action-preview strong{font-weight:500}.home-action-card>p{font-size:13px;color:#9b7e72}
.home-tour-spot{position:fixed;z-index:1199;pointer-events:none;border:1px solid #91919c;border-radius:12px;box-shadow:0 0 0 9999px #24242c16;transition:top 160ms,left 160ms,width 160ms,height 160ms}.home-tour-card{position:fixed;z-index:1200;border:1px solid #e4e4e9;border-radius:15px;background:#fff;box-shadow:0 14px 50px #20202918;padding:17px 19px;font-family:inherit;font-size:14px;line-height:1.8;color:#676772}.home-tour-head{display:flex;align-items:center;justify-content:space-between;color:#9c9ca5;font-size:12px}.home-tour-head .home-icon-button{height:26px;width:26px;font-size:20px}.home-tour-card h2{font-size:16px;font-weight:500;color:#33333a;margin:5px 0 8px}.home-tour-card p{font-size:14px;line-height:1.85;margin:0}.home-tour-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}
@keyframes home-thinking{50%{opacity:.35}}
.enterprise-home-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.enterprise-ai-card,.enterprise-members-card{padding:19px;border:1px solid #e8e9ed;border-radius:14px;background:#fff;box-shadow:0 1px 2px #18181b02}
.enterprise-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.enterprise-section-heading h2{font-size:15px;font-weight:600;line-height:23px;margin:0}
.enterprise-section-heading .portal-text-button{margin:-4px -6px -4px 0;padding:4px 6px}
.today-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #e9eaed;border-radius:5px;background:#fafafa;padding:2px 6px;line-height:17px;font-size:12px;color:#777b84;font-weight:500;white-space:nowrap}
.today-pill[data-tone=success]{color:#5c7b63;background:#f9fcf9;border-color:#dfebe1}.today-pill[data-tone=success]:before{content:'';width:5px;height:5px;border-radius:50%;background:#7aa487}.today-pill[data-tone=warning]{color:#967249;border-color:#efe4d7;background:#fffcf7}
.enterprise-site-preview{display:block;overflow:hidden;border:1px solid #e9eaee;border-radius:9px;background:#fafafb;margin-bottom:16px;text-decoration:none}
.enterprise-site-bar{display:flex;align-items:center;gap:8px;height:29px;padding:0 9px;border-bottom:1px solid #e9eaee;background:#fff;font-size:12px;color:#7f838e;min-width:0}
.enterprise-site-bar>[data-home-site-domain]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0}
.enterprise-site-bar>.ui-action-arrow{width:12px;height:12px}.enterprise-site-dots{display:flex;gap:3px;flex:none}.enterprise-site-dots i{width:4px;height:4px;border-radius:50%;background:#d8dbe2}
.enterprise-site-visual{position:relative;aspect-ratio:1.85;background:#f6f7f9;overflow:hidden}
.enterprise-site-visual>img{width:100%;height:100%;object-fit:cover;display:block}
.enterprise-site-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:100%;height:100%;padding:20px;color:#727987;background:radial-gradient(ellipse at 20% 5%,#eaf0f6,transparent 70%),#f7f8fa}
.enterprise-site-fallback>[data-home-card-icon]{width:34px;height:34px;border-radius:8px}.enterprise-site-fallback .ui-identity-mark{font-size:13px;background:#ffffffc2}
.enterprise-site-fallback strong{font-size:13px;line-height:1.65;font-weight:500;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:center;text-wrap:balance}
.enterprise-site-preview[aria-disabled=true]{pointer-events:none;cursor:default}
.enterprise-ai-info h3{font-size:17px;line-height:1.6;font-weight:600;letter-spacing:-.02em;margin:0 0 8px;text-wrap:balance;overflow-wrap:anywhere}
.enterprise-ai-info p{font-size:13px;line-height:1.8;color:#747985;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.enterprise-ai-info p:empty{display:none}
.enterprise-ai-tags{display:flex;flex-wrap:wrap;gap:6px}.enterprise-ai-tags>span{padding:1px 6px;border:1px solid #e9ebf0;border-radius:4px;background:#f6f7f9;color:#747c8b;font-size:12px;line-height:19px}
.enterprise-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px -6px -5px;padding-top:12px;border-top:1px solid #f0f1f3}
.enterprise-card-actions .portal-text-button{font-size:13px;padding:4px 6px}.enterprise-card-actions svg{width:13px;height:13px}
.home-member-count{font-size:12px;font-weight:500;color:#8b909b;margin-left:6px;font-variant-numeric:tabular-nums}
.home-members-list{display:grid;gap:14px}.home-member{display:flex;align-items:center;gap:10px;min-width:0}.home-member-avatar{display:block;width:30px;height:30px;flex:none}.home-member-avatar .agent-avatar-art{width:100%;height:100%}
.home-member-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.home-member-copy strong{font-size:13px;font-weight:500;line-height:20px;color:#4e535e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-member-copy>span{font-size:12px;line-height:18px;color:#8a8f9b}
.home-members-empty{font-size:13px;color:#8a8f99;line-height:1.7;margin:0;padding:8px 0}.home-members-all{margin:12px -6px -3px}
.extension-view{max-width:1100px;margin:0 auto;padding:8px 0;}.extension-heading{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:28px}.extension-heading h1{margin:0;font-size:25px;font-weight:600;line-height:1.35;color:var(--text-primary);}.extension-badge{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border:1px solid #e2e3e7;border-radius:6px;background:#f7f7f8;color:#62656d;font-size:14px;font-weight:500;line-height:20px;white-space:nowrap}.extension-custom{padding:28px;border:1px solid var(--border-default);border-radius:var(--radius-panel);background:#fff}.extension-intro{max-width:740px}.extension-symbol{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:22px;border:1px solid var(--border-default);border-radius:11px;background:var(--surface-hover);color:var(--text-secondary);}.extension-symbol svg{width:25px;height:25px}.extension-intro h2{margin:0;font-size:22px;font-weight:600;line-height:1.5;color:var(--text-primary);}.extension-intro p{margin:12px 0 0;font-size:14px;line-height:1.8;color:var(--text-secondary);overflow-wrap:anywhere}.extension-scope{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0 0;padding:28px 0 0;border-top:1px solid var(--border-default);list-style:none}.extension-scope li{min-width:0}.extension-scope h3{margin:0;font-size:15px;font-weight:600;line-height:1.6;color:var(--text-primary);}.extension-scope p{margin:9px 0 0;font-size:14px;line-height:1.8;color:var(--text-tertiary);overflow-wrap:anywhere}.extension-related{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:30px;padding-top:24px;border-top:1px solid var(--border-default);}.extension-related>span{margin-right:4px;color:var(--text-tertiary);font-size:13px;line-height:1.6}.extension-related .portal-button{font-size:15px;min-height:38px}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-grid>button{display:flex;align-items:flex-start;flex-direction:column;gap:15px;padding:24px;min-height:165px;border:1px solid #e5e5ea;border-radius:12px;background:#fff;text-align:left;cursor:pointer;color:#7d7f8a}.resource-grid>button:hover{border-color:#c9c9d2;background:#fcfcfd}.resource-grid svg{width:22px;height:22px}.resource-grid strong{font-size:16px;font-weight:500;color:#45464f}.resource-grid span{font-size:14px;color:#8c8e99}

@media(min-width:1700px){.enterprise-home-grid{gap:52px;grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1150px){.enterprise-home-grid{grid-template-columns:minmax(0,1fr) 250px;gap:24px}.enterprise-ai-card,.enterprise-members-card{padding:16px}.home-recent .home-history-row time{display:none}}
@media(max-width:980px){.enterprise-home-grid{grid-template-columns:1fr}.enterprise-home-side{display:grid;grid-template-columns:1fr 1fr;align-items:start}.home-chat{height:calc(100dvh - 130px);min-height:450px}.home-chat.is-empty{height:auto;min-height:max(420px,calc(76dvh - 60px))}.resource-grid{grid-template-columns:1fr}}
@media(max-width:760px){.enterprise-home{padding:0}.enterprise-home-grid{gap:28px}.home-chat{height:calc(100dvh - 105px);min-height:390px}.home-chat.is-empty{height:auto;min-height:max(370px,calc(72dvh - 40px))}.home-chat.is-empty .home-chat-log{margin-top:clamp(70px,16vh,140px)}.home-chat-log{padding:20px 0}.home-chat-composer{padding:0 0 5px}.home-chat-toolbar{padding:0}.home-toolbar-button{font-size:12px;padding:6px 8px}.home-greeting{font-size:27px;margin-bottom:25px}.today-composer{padding:8px;border-radius:26px}.today-composer textarea{font-size:16px;padding:4px 0}.home-icon-button{height:34px;width:32px}.home-mention-button{width:26px}.home-mode-button{font-size:12px;gap:3px;padding:0 4px}.today-send{height:34px;width:34px;margin-left:1px}.home-chat-message.is-user{margin-left:10%}.home-history-panel{left:-90px;width:min(370px,calc(100vw - 40px))}.home-effort-panel{right:-35px;width:235px}.home-history-row{font-size:14px;padding:9px 6px}.home-recent{margin:20px 4px 0}.home-recent .home-history-row time{display:none}.enterprise-home-side{display:flex;flex-direction:column;gap:16px}.enterprise-home-side>section{width:100%}.enterprise-ai-card,.enterprise-members-card{padding:19px}.enterprise-site-visual{aspect-ratio:2}.extension-view{padding:10px 0}.extension-heading{gap:10px;margin-bottom:22px}.extension-heading h1{font-size:25px}.extension-custom{padding:23px 20px}.extension-intro h2{font-size:21px}.extension-scope{grid-template-columns:1fr;gap:23px;margin-top:26px;padding-top:24px}.extension-related{align-items:flex-start;margin-top:26px}.extension-related>span{flex-basis:100%;margin:0 0 2px}.extension-symbol{margin-bottom:20px}.resource-grid{gap:12px}.resource-grid>button{min-height:130px;padding:21px}}
@media(prefers-reduced-motion:reduce){.home-chat-thinking:before{animation:none}.home-tour-spot{transition:none}}

/* Optional context lives behind the topbar control; the main conversation owns the space. */
.enterprise-home .enterprise-home-grid{grid-template-columns:minmax(0,1fr)}
.enterprise-home.has-home-context .enterprise-home-grid{grid-template-columns:minmax(0,1fr) 280px}
.enterprise-home-side[hidden],.home-context-toggle[hidden]{display:none!important}
.home-context-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;min-height:36px;padding:6px 9px;border:0;border-radius:8px;background:transparent;color:#737373;font:inherit;font-size:13px;line-height:22px;cursor:pointer;white-space:nowrap}
.home-context-toggle svg{width:19px;height:19px;flex:none}
.home-context-toggle:hover,.home-context-toggle[aria-expanded=true]{background:#f1f1f1;color:#252525}
.home-context-toggle:focus-visible,.home-context-close:focus-visible{outline:2px solid #737373;outline-offset:3px}
.home-context-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;margin:0}
.home-context-heading h2{margin:0;color:#5d5d5d;font-size:13px;line-height:22px;font-weight:500}
.home-context-heading h2:focus{outline:none}
.home-context-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;padding:7px;border:0;border-radius:8px;background:transparent;color:#737373;cursor:pointer}
.home-context-close svg{width:18px;height:18px}
.home-context-close:hover{background:#f1f1f1;color:#252525}
@media(min-width:1700px){.enterprise-home.has-home-context .enterprise-home-grid{grid-template-columns:minmax(0,1fr) 300px}}
@media(min-width:981px) and (max-width:1150px){.enterprise-home.has-home-context .enterprise-home-grid{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:980px){
  .enterprise-home.has-home-context .enterprise-home-grid{grid-template-columns:minmax(0,1fr)}
  .enterprise-home .enterprise-home-side{position:fixed;z-index:65;top:76px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px;width:min(340px,calc(100vw - 32px));max-height:calc(var(--product-viewport-height,100dvh) - 92px);overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid #0000001a;border-radius:14px;background:#fff;box-shadow:0 8px 30px #0000000f}
  .enterprise-home .home-context-heading{position:sticky;top:-12px;z-index:1;margin:-12px -12px 0;padding:8px 10px;background:#fff;border-bottom:1px solid #0000000d}
  .enterprise-home .enterprise-home-side>section{flex:none}
}
@media(max-width:760px){
  /* The legacy shell hides unlisted topbar controls; only this visible Home control opts in. */
  body.dashboard-page .app-topbar .app-topbar-right>.home-context-toggle:not([hidden]){display:inline-flex!important}
  .home-context-toggle{width:36px;padding:8px}
  .home-context-toggle>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .enterprise-home .enterprise-home-side{top:72px;right:12px;width:min(340px,calc(100vw - 24px));max-height:calc(var(--product-viewport-height,100dvh) - 84px)}
}

/* Home actions share the application header instead of adding a second toolbar. */
.home-topbar-actions{display:flex;align-items:center;gap:4px;min-width:0;flex:none}
.home-topbar-actions[hidden],.home-help-trigger[hidden],.app-topbar [data-product-help][hidden]{display:none!important}
.home-topbar-actions .home-toolbar-button{min-height:36px;color:#737373}
.home-topbar-actions .home-toolbar-button:focus-visible,.home-help-trigger:focus-visible{outline:2px solid #737373;outline-offset:3px}
.home-topbar-actions .home-history-panel{color:#5d5d5d;border-color:#0000001a;background:#fff}
.home-topbar-actions .home-history-panel>header{color:#5d5d5d}
.home-topbar-actions .home-history-row:hover{background:#f3f3f3;color:#0d0d0d}
body.dashboard-page.home-conversation-open:not(.agent-conversation-open):not(.marketing-messages-open) .dashboard-main{padding:16px 28px;background:#fff}
body.dashboard-page.home-conversation-open #view-home.enterprise-home.home-conversation{padding:0;background:#fff}
body.dashboard-page.home-conversation-open #view-home.enterprise-home.home-conversation .home-chat-composer{background:#fff}
body.dashboard-page.home-conversation-open:not(.mobile-keyboard-open) #view-home.home-conversation .home-chat{height:calc(var(--product-viewport-height,100dvh) - 112px);min-height:0}
body.dashboard-page.home-conversation-open:not(.mobile-keyboard-open) #view-home.home-conversation .home-chat.is-empty{justify-content:center;padding-bottom:clamp(36px,8vh,80px)}
body.dashboard-page.home-conversation-open:not(.mobile-keyboard-open) #view-home.home-conversation .home-chat.is-empty .home-chat-log{display:none;margin:0;padding:0}
body.dashboard-page.home-conversation-open:not(.mobile-keyboard-open) #view-home.home-conversation .home-chat.is-empty .home-chat-composer{flex:none;margin:0 auto;transform:none}
@media(max-width:760px){
  body.dashboard-page.home-conversation-open .app-topbar{gap:6px;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
  body.dashboard-page.home-conversation-open .app-topbar-right{gap:4px}
  body.dashboard-page.home-conversation-open .app-topbar .mobile-navigation-toggle{min-width:36px;width:36px;height:36px;min-height:36px;padding:7px}
  .home-topbar-actions{gap:2px}
  .home-topbar-actions .home-toolbar-button{width:36px;height:36px;min-width:36px;padding:8px;gap:0}
  .home-topbar-actions>.home-toolbar-button>span,.home-topbar-actions .home-history-anchor>[data-home-history-toggle]>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .home-topbar-actions .home-toolbar-button svg{width:19px;height:19px}
  body.dashboard-page .app-topbar .home-topbar-actions:not([hidden]),body.dashboard-page .app-topbar .app-topbar-right>.home-help-trigger:not([hidden]){display:inline-flex!important}
  .home-topbar-actions .home-history-panel{position:fixed;top:72px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(var(--product-viewport-height,100dvh) - 88px);overflow:hidden}
  .home-topbar-actions .home-history-panel>[data-home-history-list]{max-height:min(350px,calc(var(--product-viewport-height,100dvh) - 170px));overflow:auto;overscroll-behavior:contain}
  body.dashboard-page.home-conversation-open:not(.agent-conversation-open):not(.marketing-messages-open) .dashboard-main{padding:12px 18px 20px}
  body.dashboard-page.home-conversation-open:not(.mobile-keyboard-open) #view-home.home-conversation .home-chat{height:calc(var(--product-viewport-height,100dvh) - 96px)}
  body.dashboard-page.home-conversation-open:not(.mobile-keyboard-open) #view-home.home-conversation .home-chat.is-empty{padding-bottom:clamp(28px,6vh,48px)}
}

/* Company writes are reviewed as changed fields, without exposing payload JSON. */
.home-action-preview.home-company-review{max-height:440px;white-space:normal;padding-right:4px}
.home-company-change{padding:12px 0;border-top:1px solid var(--border-subtle,#ececef)}
.home-company-change h4{margin:0 0 8px;font-size:13px;line-height:1.6;font-weight:500;color:var(--text-primary)}
.home-company-change-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-company-change-label{display:block;font-size:12px;line-height:1.5;color:var(--text-tertiary,#95959d);margin-bottom:4px}
.home-company-change-values p{margin:0;font-size:13px;line-height:1.8;color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere}
.home-company-change-after{padding-left:14px;border-left:1px solid var(--border-subtle,#ececef)}
@media(max-width:600px){.home-action-preview.home-company-review{max-height:360px}.home-company-change-values{grid-template-columns:minmax(0,1fr);gap:10px}.home-company-change-after{padding-left:0;border-left:0}.home-company-change-label{font-size:12px}}

#view-home .home-action-card .home-chat-result-actions>button{--ui-control-size:var(--ui-size-control);box-sizing:border-box;min-height:var(--ui-size-control);height:var(--ui-size-control);padding:6px 10px;font-size:13px;line-height:20px}
.home-company-change-after p{color:var(--text-primary)}
