/* Preview Assistant: a persistent white dock beside the page, a drawer on small screens. */
:where(html.ysa-connected-preview){--ask-linda-width:400px;--ysa-assistant-gap:24px}
:where(html.ysa-connected-preview) .ask-linda-backdrop{position:fixed;z-index:4000;inset:0;display:none;background:rgba(14,37,35,.42);backdrop-filter:blur(3px)}
:where(html.ysa-connected-preview) .chat_container_right{position:fixed;z-index:1100;top:var(--ysa-sheet-top);left:auto;right:24px;bottom:24px;display:flex;width:var(--ask-linda-width);max-width:calc(100vw - 48px);min-height:0;visibility:hidden;pointer-events:none;transform:translateX(calc(100% + 48px));border:0;border-radius:28px;background:var(--ysa-sheet);color:var(--ysa-ink);box-shadow:var(--ysa-shadow-sheet);transition:transform 220ms var(--ysa-motion-ease),visibility 0s 220ms}
:where(html.ysa-connected-preview) body.chat_open .chat_container_right{visibility:visible;pointer-events:auto;transform:translateX(0);transition:transform 220ms var(--ysa-motion-ease),visibility 0s}
html.ysa-connected-preview:has(#framework_main.flow_builder) body.chat_open .chat_container_right{display:flex}
:where(html.ysa-connected-preview) body.chat_open .chat_container_right[data-ysa-dialog-blocked]{visibility:hidden;pointer-events:none}
:where(html.ysa-connected-preview) .ask-linda-panel{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;background:var(--ysa-sheet)}
@media(min-width:1200px){
 html.ysa-connected-preview #framework_main{transition:left 200ms var(--ysa-motion-ease),right 220ms var(--ysa-motion-ease)}
 html.ysa-connected-preview body.chat_open #framework_main{right:calc(var(--ask-linda-width) + 24px + var(--ysa-assistant-gap))}
 html.ysa-connected-preview body.chat_open .loading{right:calc(var(--ask-linda-width) + 24px + var(--ysa-assistant-gap))}
 html.ysa-connected-preview.ysa-journey-editor-active body.chat_open #framework_main.flow_builder{top:var(--ysa-sheet-top);left:24px;bottom:24px;width:auto;height:auto;border-radius:28px}
}
@media(max-width:1199px){
 :where(html.ysa-connected-preview) .chat_container_right{z-index:4001;box-shadow:var(--ysa-shadow-menu)}
 :where(html.ysa-connected-preview) body.chat_open .ask-linda-backdrop{display:block;animation:ysa-blank-layer-in 160ms ease}
 :where(html.ysa-connected-preview) .ask-linda-resize-handle{display:none}
}
:where(html.ysa-connected-preview) .ask-linda-resize-handle{position:absolute;z-index:2;left:-6px;top:20px;bottom:20px;width:12px;cursor:col-resize;touch-action:none}
:where(html.ysa-connected-preview) .ask-linda-resize-handle::after{content:'';position:absolute;left:4px;top:42%;width:3px;height:46px;border-radius:3px;background:transparent}
:where(html.ysa-connected-preview) .ask-linda-resize-handle:is(:hover,:focus-visible)::after{background:var(--ysa-sage)}
:where(html.ysa-connected-preview) body.ysa-assistant-resizing{user-select:none;cursor:col-resize}
:where(html.ysa-connected-preview) .ask-linda-head{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:64px;padding:12px 16px 12px 20px;border-bottom:1px solid var(--ysa-line)}
:where(html.ysa-connected-preview) .ask-linda-query-icon{flex-shrink:0;width:18px;font-size:18px;color:var(--ysa-ink)}
:where(html.ysa-connected-preview) .ask-linda-title{flex:1;min-width:0;margin:0}
:where(html.ysa-connected-preview) .ask-linda-title h2{margin:0;font:600 16px/1.4 var(--ysa-font-sans);overflow-wrap:anywhere}
:where(html.ysa-connected-preview) .ask-linda-status-row{display:none}
:where(html.ysa-connected-preview) .ask-linda-preview-intro{position:relative;display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:64px;padding:16px 20px 16px;color:var(--ysa-text-muted);font-size:12.5px;line-height:1.5}
:where(html.ysa-connected-preview) .ask-linda-preview-intro>span{min-width:0;overflow-wrap:anywhere}
:where(html.ysa-connected-preview) .ask-linda-avatar{position:static;width:32px;height:32px;flex-shrink:0;overflow:hidden;border-radius:50%;background:var(--ysa-sage-soft)}
:where(html.ysa-connected-preview) .ask-linda-avatar img{display:block;width:100%;height:100%;object-fit:cover}
:where(html.ysa-connected-preview) .ask-linda-icon-btn{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ysa-text-muted);font-size:14px}
:where(html.ysa-connected-preview) .ask-linda-icon-btn:hover{background:var(--ysa-canvas);color:var(--ysa-ink)}
:where(html.ysa-connected-preview) .ask-linda-icon-btn[onclick*="toggleAskLinda"]{width:32px;min-height:24px;height:24px;border:1px solid var(--ysa-line);border-radius:5px;font:11px/1 var(--ysa-font-mono)}
:where(html.ysa-connected-preview) .ask-linda-icon-btn[onclick*="toggleAskLinda"]>i{display:none}
:where(html.ysa-connected-preview) .ask-linda-icon-btn[onclick*="toggleAskLinda"]::after{content:'esc'}
/* The original form stays visible below the scrolling conversation. */
:where(html.ysa-connected-preview) .ask-linda-composer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 0 auto;min-width:0;margin:16px 20px 16px;padding:10px 12px;border:1px solid var(--ysa-line-strong);border-radius:16px;background:var(--ysa-sheet)}
:where(html.ysa-connected-preview) .ask-linda-composer #ask-linda-input{display:block;order:0;flex:1 0 100%;width:100%;min-width:0;height:44px;min-height:44px;max-height:130px;margin:0;padding:10px 0;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent!important;color:var(--ysa-ink);resize:none;font:400 14px/24px var(--ysa-font-sans);overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere}
:where(html.ysa-connected-preview) .ask-linda-composer #ask-linda-input::placeholder{color:var(--ysa-text-faint)}
:where(html.ysa-connected-preview) .ask-linda-composer #ask-linda-input:focus-visible{outline:none}
:where(html.ysa-connected-preview) .ask-linda-composer>button{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:10px;font-size:14px}
:where(html.ysa-connected-preview) .ask-linda-attach-button{order:3;margin-right:auto;background:transparent;color:var(--ysa-text-muted)}
:where(html.ysa-connected-preview) .ask-linda-composer>.ask-linda-attach-button{width:44px;height:44px;min-height:44px;font-size:20px;background:transparent}
:where(html.ysa-connected-preview) .ask-linda-attach-button>i{display:grid;place-items:center;width:26px;height:26px;line-height:1}
:where(html.ysa-connected-preview) .ask-linda-attach-button>i>svg{display:block;width:26px;height:26px}
:where(html.ysa-connected-preview) .ask-linda-composer>button[type=submit]{order:4;background:var(--ysa-ink);color:var(--ysa-on-ink)}
:where(html.ysa-connected-preview) .ask-linda-composer.is-busy>button[type=submit]{background:var(--ysa-text-disabled)}
:where(html.ysa-connected-preview) .ask-linda-messages{display:flex;flex-direction:column;gap:18px;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ysa-line-strong) transparent}
:where(html.ysa-connected-preview) .ask-linda-message-row{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex-shrink:0;min-width:0;max-width:100%;padding-left:0;font:400 14.5px/1.5 var(--ysa-font-sans)}
:where(html.ysa-connected-preview) .ask-linda-message-row.is-user{margin-top:8px;padding-top:16px;border-top:1px solid var(--ysa-line-soft);color:var(--ysa-text-muted);font-size:12.5px}
:where(html.ysa-connected-preview) .ask-linda-message-row.is-user:first-child{margin-top:0;padding-top:0;border:0}
:where(html.ysa-connected-preview) .ask-linda-bubble{width:100%;min-width:0;padding:0;background:transparent;color:inherit;overflow-wrap:anywhere;white-space:normal}
:where(html.ysa-connected-preview) .ask-linda-bubble :is(p,ul,ol,pre,blockquote,table){margin:0 0 12px;white-space:normal}
:where(html.ysa-connected-preview) .ask-linda-bubble>:last-child{margin-bottom:0}
:where(html.ysa-connected-preview) .ask-linda-bubble :is(ul,ol){padding-left:20px}
:where(html.ysa-connected-preview) .ask-linda-bubble li+li{margin-top:7px}
:where(html.ysa-connected-preview) .ask-linda-bubble li::marker{color:var(--ysa-text-muted);font-size:12px;font-weight:600}
:where(html.ysa-connected-preview) .ask-linda-bubble :is(h1,h2,h3,h4){margin:18px 0 10px;font-size:20px}
:where(html.ysa-connected-preview) .ask-linda-bubble> :is(h1,h2,h3,h4):first-child{margin-top:0}
:where(html.ysa-connected-preview) .ask-linda-bubble a{color:var(--ysa-ok);text-decoration:underline;overflow-wrap:anywhere}
:where(html.ysa-connected-preview) .ask-linda-bubble pre{padding:14px;border:1px solid var(--ysa-line);border-radius:12px;background:var(--ysa-canvas-tint-2);font-size:11.5px;white-space:pre-wrap}
:where(html.ysa-connected-preview) .ask-linda-bubble code{font-size:11.5px}
:where(html.ysa-connected-preview) .ask-linda-bubble blockquote{padding:14px 16px;border:1px solid var(--ysa-line);border-radius:14px;background:var(--ysa-canvas-tint);color:var(--ysa-text-3)}
:where(html.ysa-connected-preview) .ask-linda-bubble table{display:table;width:100%;border:1px solid var(--ysa-line);border-collapse:separate;border-spacing:0;border-radius:14px;overflow:hidden;font-size:13.5px}
:where(html.ysa-connected-preview) .ask-linda-bubble :is(th,td){padding:10px 14px;white-space:normal;overflow-wrap:anywhere}
:where(html.ysa-connected-preview) .ask-linda-bubble tbody tr:last-child td{border-bottom:0}
:where(html.ysa-connected-preview) .ask-linda-message-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
:where(html.ysa-connected-preview) .ask-linda-message-tools button{min-height:36px;padding:8px 12px;border-radius:9px;font-size:12px;font-weight:600}
:where(html.ysa-connected-preview) .ask-linda-message-tools .ask-linda-copy-action{width:30px;height:30px;min-height:30px;padding:0;border:0;background:transparent;color:var(--ysa-text-muted)}
:where(html.ysa-connected-preview) .ask-linda-starters{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:22px;white-space:normal}
:where(html.ysa-connected-preview) .ask-linda-starters-label{display:block;margin-bottom:2px;color:var(--ysa-text-muted);font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
:where(html.ysa-connected-preview) .ask-linda-starters button{justify-content:flex-start;gap:8px;min-height:36px;padding:6px 12px 6px 8px;border:1px solid var(--ysa-line);border-radius:999px;background:var(--ysa-sheet);font-size:12.5px;font-weight:500;line-height:1.45;text-align:left}
:where(html.ysa-connected-preview) .ask-linda-starter-icon{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--ysa-sage-soft);font-size:11px}
:where(html.ysa-connected-preview) .ask-linda-preview-foot{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex-shrink:0;padding:12px 20px;border-top:1px solid var(--ysa-line);background:var(--ysa-soft-panel);color:var(--ysa-text-muted);font-size:11.5px;line-height:1.5}
:where(html.ysa-connected-preview) .ask-linda-preview-foot>span:first-child{flex:1;min-width:0}
:where(html.ysa-connected-preview) .ask-linda-preview-foot kbd{padding:2px 5px;border-color:var(--ysa-line);background:var(--ysa-sheet);font-size:10px;white-space:nowrap}
:where(html.ysa-connected-preview) .ask-linda-preview-feedback{flex-basis:100%;color:var(--ysa-ok);font-size:11px}
:where(html.ysa-connected-preview) .ask-linda-preview-feedback:empty{display:none}
/* Real proposals remain actionable through the original approval controls. */
:where(html.ysa-connected-preview) .ask-linda-approval{flex-shrink:0;min-width:0;margin-left:0;padding:18px;border:1px solid var(--ysa-line);border-radius:16px;background:var(--ysa-sheet);font-size:13px;line-height:1.5}
:where(html.ysa-connected-preview) .ask-linda-approval-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;color:var(--ysa-text-muted);font-size:11px}
:where(html.ysa-connected-preview) .ask-linda-approval-head>span{color:var(--ysa-ink);font-size:12px;font-weight:500}
:where(html.ysa-connected-preview) .ask-linda-approval>h3{margin-bottom:14px;font-size:21px}
:where(html.ysa-connected-preview) .ask-linda-approval :is(h4,p,ul){margin:12px 0;font-size:12px;line-height:1.6}
:where(html.ysa-connected-preview) .ask-linda-approval>ul{padding-left:20px}
:where(html.ysa-connected-preview) .ask-linda-approval-list{display:flex;flex-direction:column;gap:8px}
:where(html.ysa-connected-preview) .ask-linda-approval-list>details{border:1px solid var(--ysa-line);border-radius:10px;background:var(--ysa-canvas-tint);overflow:hidden}
:where(html.ysa-connected-preview) .ask-linda-approval-list summary{display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer;list-style:none}
:where(html.ysa-connected-preview) .ask-linda-approval-list summary::-webkit-details-marker{display:none}
:where(html.ysa-connected-preview) .ask-linda-operation-number{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:7px;background:var(--ysa-sage-soft);font-size:10px}
:where(html.ysa-connected-preview) .ask-linda-approval-list summary>span:nth-child(2){flex:1;min-width:0}
:where(html.ysa-connected-preview) .ask-linda-approval-list summary strong{font-size:12px;font-weight:500}
:where(html.ysa-connected-preview) .ask-linda-approval-list summary small{display:block;margin-top:3px;font-size:10.5px}
:where(html.ysa-connected-preview) .ask-linda-approval-list summary>i{font-size:10px}
:where(html.ysa-connected-preview) .ask-linda-approval-list details[open] summary>i{transform:rotate(180deg)}
:where(html.ysa-connected-preview) .ask-linda-operation-detail{padding:12px;border-top:1px solid var(--ysa-line);color:var(--ysa-text-3);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
:where(html.ysa-connected-preview) .ask-linda-operation-detail dt{margin-top:10px;color:var(--ysa-text-muted);font-size:10.5px}
:where(html.ysa-connected-preview) .ask-linda-operation-detail dd{margin-top:3px;font-size:12px}
:where(html.ysa-connected-preview) .ask-linda-approval-status{color:var(--ysa-text-muted);font-size:11.5px}
:where(html.ysa-connected-preview) .ask-linda-approval-status:empty{display:none}
:where(html.ysa-connected-preview) .ask-linda-approval-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:18px}
:where(html.ysa-connected-preview) .ask-linda-approval-actions button{min-height:36px;padding:8px 12px;font-size:11.5px}
:where(html.ysa-connected-preview) .ask-linda-approval-actions .is-primary{border-color:var(--ysa-ink);background:var(--ysa-ink);color:var(--ysa-on-ink)}
:where(html.ysa-connected-preview) .ask-linda-approval.is-busy{opacity:.7}
:where(html.ysa-connected-preview) .ask-linda-attachments{order:1;display:flex;flex-wrap:wrap;gap:8px;flex-basis:100%;padding:4px 0}
:where(html.ysa-connected-preview) .ask-linda-attachment{position:relative;display:grid;place-items:center;width:68px;height:56px;overflow:hidden;border:1px solid var(--ysa-line);border-radius:9px;background:var(--ysa-canvas);font-size:10px;color:var(--ysa-text-muted)}
:where(html.ysa-connected-preview) .ask-linda-attachment img{display:block;width:100%;height:100%;object-fit:cover}
:where(html.ysa-connected-preview) .ask-linda-attachment button{position:absolute;top:3px;right:3px;width:20px;height:20px;min-height:20px;padding:0;border:0;border-radius:50%;background:var(--ysa-ink);color:var(--ysa-on-ink);font-size:15px;font-weight:400}
:where(html.ysa-connected-preview) .ask-linda-attachment-status{order:2;flex-basis:100%;padding:3px 0;color:var(--ysa-danger-text);font-size:11px;line-height:1.5}
:where(html.ysa-connected-preview) .ask-linda-message-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
:where(html.ysa-connected-preview) .ask-linda-message-images img{display:block;width:min(180px,100%);max-height:200px;height:auto;border:1px solid var(--ysa-line);border-radius:10px;object-fit:contain}
:where(html.ysa-connected-preview) .ask-linda-message-row.is-loading .ask-linda-bubble{display:flex;align-items:center;gap:5px;min-height:28px}
:where(html.ysa-connected-preview) .ask-linda-message-row.is-loading .ask-linda-bubble>span{width:5px;height:5px;border-radius:50%;background:var(--ysa-sage);animation:ysa-assistant-pulse 1s ease-in-out infinite alternate}
:where(html.ysa-connected-preview) .ask-linda-message-row.is-loading .ask-linda-bubble>span:nth-child(2){animation-delay:.15s}
:where(html.ysa-connected-preview) .ask-linda-message-row.is-loading .ask-linda-bubble>span:nth-child(3){animation-delay:.3s}
@keyframes ysa-assistant-pulse{to{opacity:.3}}
@media(max-width:720px){
 :where(html.ysa-connected-preview) .chat_container_right{top:8px;left:8px;right:8px;bottom:8px;width:auto;max-width:none;border-radius:20px}
 :where(html.ysa-connected-preview) .ask-linda-panel{border-radius:20px}
 :where(html.ysa-connected-preview) .ask-linda-resize-handle{display:none}
 :where(html.ysa-connected-preview) .ask-linda-head{gap:8px;padding:10px 12px;min-height:64px}
 :where(html.ysa-connected-preview) .ask-linda-query-icon{width:16px;font-size:16px}
 :where(html.ysa-connected-preview) .ask-linda-composer{gap:8px;margin:16px 16px 12px;padding:8px 12px}
 :where(html.ysa-connected-preview) .ask-linda-composer #ask-linda-input{font-size:16px;line-height:24px;min-height:44px}
 :where(html.ysa-connected-preview) .ask-linda-composer>button{width:44px;height:44px;min-height:44px;font-size:14px}
 :where(html.ysa-connected-preview) .ask-linda-icon-btn{width:28px;height:32px;min-height:32px;font-size:13px}
 :where(html.ysa-connected-preview) .ask-linda-icon-btn[onclick*="toggleAskLinda"]{width:32px;height:32px;min-height:32px}
 :where(html.ysa-connected-preview) .ask-linda-preview-intro{padding:14px 16px 16px;font-size:12px}
 :where(html.ysa-connected-preview) .ask-linda-messages{padding:0 16px 16px}
 :where(html.ysa-connected-preview) .ask-linda-message-row{padding-left:0;font-size:14px}
 :where(html.ysa-connected-preview) .ask-linda-message-row.is-user{font-size:12px}
 :where(html.ysa-connected-preview) .ask-linda-approval{margin-left:0;padding:14px}
 :where(html.ysa-connected-preview) .ask-linda-approval-head{align-items:flex-start;flex-wrap:wrap;gap:5px}
 :where(html.ysa-connected-preview) .ask-linda-preview-foot{padding:12px 16px;font-size:11px}
 :where(html.ysa-connected-preview) .ask-linda-preview-foot kbd{display:none}
 :where(html.ysa-connected-preview) .ask-linda-starters button{font-size:12px}
}

@media(max-height:560px){
 :where(html.ysa-connected-preview) .ask-linda-head{min-height:52px;padding-top:8px;padding-bottom:8px}
 :where(html.ysa-connected-preview) .ask-linda-preview-intro{min-height:52px;padding-top:8px;padding-bottom:16px}
 :where(html.ysa-connected-preview) .ask-linda-avatar{width:28px;height:28px}
 :where(html.ysa-connected-preview) .ask-linda-composer #ask-linda-input{max-height:88px}
 :where(html.ysa-connected-preview) .ask-linda-preview-foot{padding-top:8px;padding-bottom:8px;font-size:10px}
}

/* The page responds to its remaining width while the dock is open. */
@media(min-width:1200px){
 html.ysa-connected-preview body.chat_open #framework_main{container:ysa-assistant-page / inline-size}
}
@container ysa-assistant-page (max-width:1100px){
 html.ysa-connected-preview body.chat_open .ysa-home-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0 28px 28px}
 html.ysa-connected-preview body.chat_open .ysa-home-hero{grid-template-columns:minmax(0,1fr) 240px;gap:24px;margin:0 -28px 0;padding:36px 28px;min-height:0}
 html.ysa-connected-preview body.chat_open .ysa-home-hero h1{font-size:38px}
 html.ysa-connected-preview body.chat_open :is(.ysa-home-performance,.ysa-home-rfm,.ysa-home-voice,.ysa-home-news,.ysa-home-shortcuts,.ysa-home-products,.ysa-home-activity,.ysa-home-attention,.ysa-home-help,.ysa-home-explore){grid-column:auto;grid-row:auto;min-width:0}
 html.ysa-connected-preview body.chat_open .ysa-home-performance{grid-column:1;grid-row:2}
 html.ysa-connected-preview body.chat_open .ysa-home-rfm{grid-column:2;grid-row:2}
 html.ysa-connected-preview body.chat_open .ysa-home-voice{grid-column:2;grid-row:3}
 html.ysa-connected-preview body.chat_open .ysa-home-shortcuts{grid-column:1;grid-row:3}
 html.ysa-connected-preview body.chat_open .ysa-home-news{grid-column:1/-1;grid-row:4}
 html.ysa-connected-preview body.chat_open .ysa-home-products{grid-column:1/-1;grid-row:5}
 html.ysa-connected-preview body.chat_open .ysa-home-performance h2{padding-right:0}
 html.ysa-connected-preview body.chat_open .ysa-home-period{position:static;grid-column:1/-1;justify-self:start;margin:-2px 0 2px}
 html.ysa-connected-preview body.chat_open .ysa-home-period select{width:auto;min-width:142px;padding-right:22px}
 html.ysa-connected-preview body.chat_open .ysa-home-rfm-heading h2{padding-right:0}
 html.ysa-connected-preview body.chat_open .ysa-home-rfm-overview>a{position:static;align-self:flex-start}
 html.ysa-connected-preview body.chat_open .ysa-profiles-page{padding:32px 28px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-header{flex-wrap:wrap}
 html.ysa-connected-preview body.chat_open .ysa-profiles-card{grid-template-columns:minmax(0,1fr)}
 html.ysa-connected-preview body.chat_open :is(.ysa-profiles-card-heading,.ysa-profiles-toolbar){grid-column:1;margin:0}
 html.ysa-connected-preview body.chat_open .ysa-profiles-tools{flex-wrap:wrap;gap:14px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-search{flex:1;min-width:180px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table :is(th,td){padding-left:8px;padding-right:8px}
 html.ysa-connected-preview body.chat_open .ysa-cdp{display:block}
 html.ysa-connected-preview body.chat_open .ysa-cdp-nav{position:relative;z-index:10;border:0;padding:24px 32px 0}
 html.ysa-connected-preview body.chat_open .ysa-cdp-nav .ysa-cdp-tabs{display:flex;flex-direction:row;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding-bottom:6px;max-width:100%;white-space:nowrap}
 html.ysa-connected-preview body.chat_open .ysa-cdp-nav-group{display:contents}
 html.ysa-connected-preview body.chat_open .ysa-cdp-nav-label{display:none}
 html.ysa-connected-preview body.chat_open .ysa-cdp-nav .ysa-cdp-tab{width:auto;flex:none;min-height:36px;padding:8px 13px;border:1px solid var(--ysa-line);border-radius:999px;background:var(--ysa-sheet);font-size:13px;white-space:nowrap}
 html.ysa-connected-preview body.chat_open .ysa-cdp-nav .ysa-cdp-tab.is-active{background:var(--ysa-ink);color:var(--ysa-on-ink);border-color:var(--ysa-ink)}
 html.ysa-connected-preview body.chat_open .ysa-cdp-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.ysa-connected-preview body.chat_open :is(.ysa-cdp-overview-panels,.ysa-cdp-install-grid,.ysa-cdp-search-workbench,.ysa-cdp-feed-grid){grid-template-columns:minmax(0,1fr)}
 html.ysa-connected-preview body.chat_open .ysa-conversations-page{grid-template-columns:300px minmax(0,1fr)}
 html.ysa-connected-preview body.chat_open .ysa-conversation-detail{grid-template-columns:minmax(0,1fr);grid-template-rows:64px minmax(0,1fr) auto auto}
 html.ysa-connected-preview body.chat_open .xhr_conversation_profile.details-col{grid-column:1;grid-row:4;max-height:180px;padding:16px 20px;border-left:0;border-top:1px solid var(--ysa-line)}
 html.ysa-connected-preview body.chat_open .quick_answers{right:20px}
 html.ysa-connected-preview body.chat_open .composer-bar{flex-wrap:wrap}
}
@container ysa-assistant-page (max-width:760px){
 html.ysa-connected-preview body.chat_open .ysa-home-layout{grid-template-columns:minmax(0,1fr);gap:16px;padding:0 24px 24px}
 html.ysa-connected-preview body.chat_open .ysa-home-hero{grid-template-columns:minmax(0,1fr);gap:24px;margin:0 -24px;padding:32px 24px}
 html.ysa-connected-preview body.chat_open .ysa-home-hero-widget{justify-self:center;width:240px;max-width:100%}
 html.ysa-connected-preview body.chat_open :is(.ysa-home-hero-stage,.ysa-home-hero-art,.ysa-home-hero-portrait){height:200px;min-height:200px}
 html.ysa-connected-preview body.chat_open .ysa-home-greeting{font-size:12px;max-width:205px;left:-8px;padding:10px 14px}
 html.ysa-connected-preview body.chat_open .ysa-home-greeting strong{font-size:13px}
 html.ysa-connected-preview body.chat_open :is(.ysa-home-performance,.ysa-home-rfm,.ysa-home-voice,.ysa-home-news,.ysa-home-shortcuts,.ysa-home-products,.ysa-home-activity,.ysa-home-attention,.ysa-home-help,.ysa-home-explore){grid-column:1;grid-row:auto;min-height:0}
 html.ysa-connected-preview body.chat_open .ysa-home-news-title.has-images,html.ysa-connected-preview body.chat_open .ysa-home-news-body.has-images{padding-right:0}
 html.ysa-connected-preview body.chat_open .ysa-home-news-body.has-images{padding-bottom:74px}
 html.ysa-connected-preview body.chat_open .ysa-home-news-images{top:auto;bottom:18px;right:18px;width:110px}
 html.ysa-connected-preview body.chat_open .ysa-home-product-list{grid-auto-columns:calc((100% - 16px)/2)}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table thead{display:none}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table tbody{display:grid;gap:12px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table .ysa-profile-row{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px 12px;padding:16px;border:1px solid var(--ysa-line);border-radius:18px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table .ysa-profile-row>td{width:auto;min-width:0;max-width:100%;height:auto;padding:0;border:0}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table .ysa-profile-row td:first-child{grid-column:1;grid-row:1;margin-top:8px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table .ysa-profile-row td:nth-child(2){grid-column:2;grid-row:1;padding-right:100px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table .ysa-profile-row td[data-persona-col]{position:static;grid-column:2;margin:0;padding:0}
 html.ysa-connected-preview body.chat_open .ysa-profile-row td:last-child{position:absolute;right:6px;top:10px}
 html.ysa-connected-preview body.chat_open .ysa-persona-cell-label{display:inline;margin-right:6px;font-size:11.5px;color:var(--ysa-text-muted)}
 html.ysa-connected-preview body.chat_open .ysa-cdp-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.ysa-connected-preview body.chat_open :is(.ysa-cdp-nav,.ysa-cdp-hero,.ysa-cdp-main){padding-left:24px;padding-right:24px}
 html.ysa-connected-preview body.chat_open .ysa-conversations-page{grid-template-columns:260px minmax(0,1fr)}
 html.ysa-connected-preview body.chat_open .ysa-conv-list-tabs{gap:12px;padding-left:14px;padding-right:14px}
 html.ysa-connected-preview body.chat_open .ysa-conv-list-tools{padding:10px 12px}
 html.ysa-connected-preview body.chat_open .conversations_inbox_item.conv{padding-left:14px;padding-right:14px}
 html.ysa-connected-preview body.chat_open .conversation_header.thread-head{gap:8px;padding-left:12px;padding-right:12px}
 html.ysa-connected-preview body.chat_open .ysa-thread-header-actions{gap:3px}
}

/* Leave enough room for complete translated status badges in the dock's table. */
@container ysa-assistant-page (min-width:761px) and (max-width:1100px){
 html.ysa-connected-preview body.chat_open .ysa-profiles-table :is(th,td)[data-persona-col="status"]{width:116px}
 html.ysa-connected-preview body.chat_open .ysa-profiles-table .ysa-persona-connection{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
