#whyble-fitpro .messages-page{min-width:0}
#whyble-fitpro .msg-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
#whyble-fitpro .msg-toolbar input{width:260px;max-width:100%;font:inherit;font-size:15.6px}
#whyble-fitpro .msg-filters{display:flex;gap:7px;flex-wrap:wrap}
#whyble-fitpro .msg-filters button{font-size:14.4px}
#whyble-fitpro .msg-filters button[aria-pressed=true]{color:var(--wc-accent);background:#1b3933;border-color:#3b6259}
#whyble-fitpro .msg-result{font-size:13.2px;color:var(--wc-muted);margin-bottom:12px}
#whyble-fitpro .msg-workspace{display:grid;grid-template-columns:220px minmax(0,1fr) 190px;border:1px solid var(--wc-line);border-radius:14px;overflow:hidden;background:#121d1f;min-width:0;min-height:540px}
#whyble-fitpro .msg-list{border-right:1px solid var(--wc-line);min-width:0}
#whyble-fitpro .msg-row{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--wc-line);padding:17px 14px;color:var(--wc-text);font:inherit;min-width:0}
#whyble-fitpro .msg-row[aria-pressed=true]{background:#1c3430;box-shadow:inset 3px 0 var(--wc-accent)}
#whyble-fitpro .msg-row:hover{background:#20332f}
#whyble-fitpro .msg-row-heading{display:flex;gap:8px;justify-content:space-between;align-items:center}
#whyble-fitpro .msg-row-heading strong{font-size:15.6px;min-width:0;overflow-wrap:anywhere}
#whyble-fitpro .msg-row-heading time{font-size:12px;color:var(--wc-muted);white-space:nowrap}
#whyble-fitpro .msg-row-subject,#whyble-fitpro .msg-row-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:14.4px}
#whyble-fitpro .msg-row-preview,#whyble-fitpro .msg-row-meta{color:var(--wc-muted);font-size:13.2px}
#whyble-fitpro .msg-row-meta{margin-top:8px}
#whyble-fitpro .msg-unread{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--wc-accent);margin-right:6px;vertical-align:middle}
#whyble-fitpro .msg-thread-slot,#whyble-fitpro .msg-contact-slot{min-width:0}
#whyble-fitpro .msg-reading{display:flex;flex-direction:column;gap:20px;padding:22px;min-height:100%;min-width:0}
#whyble-fitpro .msg-reading-header{border-bottom:1px solid var(--wc-line);padding-bottom:16px}
#whyble-fitpro .msg-reading-header h2{font-size:26.4px;letter-spacing:-.4px;overflow-wrap:anywhere}
#whyble-fitpro .msg-subject{font-size:15.6px;margin-top:6px}
#whyble-fitpro .msg-muted{color:var(--wc-muted);font-size:13.2px;margin-top:6px}
#whyble-fitpro .msg-history{display:flex;flex-direction:column;gap:14px}
#whyble-fitpro .msg-bubble{padding:15px;background:#21302e;border-radius:0 10px 10px 10px;max-width:100%}
#whyble-fitpro .msg-outgoing{background:#1d3b32;border-radius:10px 0 10px 10px}
#whyble-fitpro .msg-body{font-size:15.6px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}
#whyble-fitpro .msg-ai{background:#172a26;border:1px solid #2b423b;border-radius:9px;padding:16px;margin-top:auto;font-size:14.4px;line-height:1.7;overflow-wrap:anywhere}
#whyble-fitpro .msg-eyebrow{font-size:12px;letter-spacing:.8px;color:var(--wc-accent);margin-bottom:8px}
#whyble-fitpro .msg-use{font:inherit;font-size:14.4px;background:transparent;border:1px solid #50796c;color:var(--wc-accent);border-radius:7px;padding:8px 12px;margin-top:12px}
#whyble-fitpro .msg-composer{padding:13px;border:1px solid var(--wc-line);border-radius:8px;background:#0e1819}
#whyble-fitpro .msg-composer textarea{width:100%;max-width:100%;resize:vertical;min-height:75px;background:transparent;color:var(--wc-text);font:inherit;font-size:15.6px;border:0;display:block}
#whyble-fitpro .msg-composer textarea::placeholder{color:var(--wc-muted)}
#whyble-fitpro .msg-contact{padding:20px 14px;background:#101a1b;border-left:1px solid var(--wc-line);min-height:100%;font-size:14.4px;overflow-wrap:anywhere}
#whyble-fitpro .msg-contact h2{font-size:16.8px;letter-spacing:0}
#whyble-fitpro .msg-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#23463c;color:var(--wc-accent);margin-bottom:12px;font-size:14.4px}
#whyble-fitpro .msg-contact-value{margin-top:8px;font-size:14.4px}
#whyble-fitpro .msg-contact-section{margin-top:18px;padding-top:17px;border-top:1px solid var(--wc-line)}
#whyble-fitpro .msg-contact-section .wc-link{font-size:13.2px;margin-top:10px}
#whyble-fitpro .msg-history-link{font:inherit;font-size:14.4px;display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:5px;color:var(--wc-text);padding:8px;margin-top:7px}
#whyble-fitpro .msg-history-link[aria-pressed=true]{background:#1c3430}
#whyble-fitpro .msg-history-link strong{font-weight:550}
#whyble-fitpro .msg-history-link p{font-size:13.2px;margin-top:3px}
#whyble-fitpro .msg-demo,#whyble-fitpro .messages-source{font-size:13.2px;color:var(--wc-muted);margin-top:14px}
#whyble-fitpro .msg-source-note,#whyble-fitpro .msg-filter-note{font-size:12px;line-height:1.45;color:var(--wc-muted);margin:0}
#whyble-fitpro .msg-source-note{padding:0 0 8px}
#whyble-fitpro .messages-source .ws-panel{margin-top:12px}
#whyble-fitpro .msg-empty{padding:25px;font-size:15.6px;color:var(--wc-muted)}
@media(max-width:1100px){#whyble-fitpro .msg-workspace{grid-template-columns:210px minmax(0,1fr)}#whyble-fitpro .msg-contact-slot{grid-column:2;border-top:1px solid var(--wc-line)}#whyble-fitpro .msg-contact{border-left:0}#whyble-fitpro .msg-list{grid-row:1/3}}
@media(max-width:700px){#whyble-fitpro .msg-workspace{grid-template-columns:minmax(0,1fr)}#whyble-fitpro .msg-list{grid-row:auto;border-right:0;border-bottom:1px solid var(--wc-line)}#whyble-fitpro .msg-contact-slot{grid-column:1}#whyble-fitpro .msg-reading{padding:18px}#whyble-fitpro .msg-toolbar input{width:100%}}

/* Fixed message context above independently scrolling content. */
#whyble-fitpro .msg-sticky-header{position:sticky;top:0;z-index:6;background:var(--wc-bg);padding:12px 0 14px;border-bottom:1px solid var(--wc-line);margin-bottom:12px}
#whyble-fitpro .msg-sticky-header .msg-result{margin-bottom:10px}
#whyble-fitpro .msg-channel-legend{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;font-size:13.2px;color:var(--wc-muted)}
#whyble-fitpro .msg-channel-label{color:var(--wc-text);font-weight:550;margin-right:3px}
#whyble-fitpro .msg-channel-badge{display:inline-flex;align-items:center;gap:5px;font-size:13.2px;color:var(--wc-text);white-space:nowrap}
#whyble-fitpro .msg-channel-dot{width:7px;height:7px;border-radius:2px;flex-shrink:0}
#whyble-fitpro .msg-channel-count{font-variant-numeric:tabular-nums;color:var(--wc-muted);margin-left:1px}
#whyble-fitpro .msg-channel-zero{color:var(--wc-muted)}
#whyble-fitpro .msg-row-channels{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:9px}
#whyble-fitpro .msg-row-channels .msg-channel-badge{font-size:12px}
#whyble-fitpro .msg-thread-channel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
#whyble-fitpro .msg-thread-channel .msg-muted{margin:0}
#whyble-fitpro .msg-workspace{height:clamp(360px,calc(100dvh - var(--msg-header-height,130px) - 30px),780px);min-height:0;grid-template-rows:minmax(0,1fr)}
#whyble-fitpro .msg-list,#whyble-fitpro .msg-thread-slot,#whyble-fitpro .msg-contact-slot{overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-color:#46665c #111c1e;scrollbar-width:thin}
@media(min-width:701px) and (max-width:1100px){
 #whyble-fitpro .msg-workspace{grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)}
}
@media(max-width:700px){
 #whyble-fitpro .msg-workspace{display:block;overflow-y:auto;height:clamp(300px,calc(100dvh - var(--msg-header-height,180px) - 30px),760px);overscroll-behavior:contain}
 #whyble-fitpro .msg-list{max-height:240px}
 #whyble-fitpro .msg-thread-slot,#whyble-fitpro .msg-contact-slot{overflow:visible}
}
@media(max-width:540px){
 #whyble-fitpro .msg-sticky-header{top:var(--msg-sidebar-height,194px);padding-top:10px}
 #whyble-fitpro .msg-workspace{height:clamp(260px,calc(100dvh - var(--msg-header-height,180px) - var(--msg-sidebar-height,194px) - 24px),650px)}
}

#whyble-fitpro .msg-channel-filter{display:inline-flex;align-items:center;background:transparent;border:1px solid transparent;border-radius:7px;color:var(--wc-muted);font:inherit;font-size:13.2px;padding:6px 8px;min-height:32px}
#whyble-fitpro .msg-channel-filter:hover{background:#172825}
#whyble-fitpro .msg-channel-filter[aria-pressed=true]{background:#1b3933;border-color:#3b6259;color:var(--wc-accent)}
#whyble-fitpro .msg-channel-filter[aria-pressed=true] .msg-channel-badge{color:var(--wc-accent)}
#whyble-fitpro .msg-channel-legend{gap:5px}

#whyble-fitpro .msg-sticky-header{top:var(--wc-top-height,68px)}
#whyble-fitpro .msg-workspace{height:clamp(360px,calc(100dvh - var(--msg-header-height,130px) - var(--wc-top-height,68px) - 30px),780px)}
@media(max-width:700px){#whyble-fitpro .msg-workspace{height:clamp(300px,calc(100dvh - var(--msg-header-height,180px) - var(--wc-top-height,68px) - 30px),760px)}}
@media(max-width:540px){
 #whyble-fitpro .msg-sticky-header{top:calc(var(--wc-top-height,68px) + var(--msg-sidebar-height,148px))}
 #whyble-fitpro .msg-workspace{height:clamp(260px,calc(100dvh - var(--msg-header-height,180px) - var(--msg-sidebar-height,148px) - var(--wc-top-height,68px) - 24px),650px)}
}

#whyble-fitpro.wc-fixed-page .messages-page{flex:1;min-height:0;display:flex;flex-direction:column}
#whyble-fitpro.wc-fixed-page .msg-sticky-header{position:relative;top:auto;flex:none;padding-top:0;padding-bottom:10px;margin-bottom:10px}
#whyble-fitpro.wc-fixed-page .msg-workspace{flex:1;height:auto;min-height:0;max-height:none}
#whyble-fitpro.wc-fixed-page .msg-demo{display:none}
@media(max-width:700px){
 #whyble-fitpro.wc-fixed-page .msg-list{max-height:160px}
 #whyble-fitpro.wc-fixed-page .msg-sticky-header .msg-toolbar{gap:6px;margin-bottom:8px}
 #whyble-fitpro.wc-fixed-page .msg-channel-legend{flex-wrap:nowrap;overflow-x:auto;min-width:0;padding-bottom:3px;scrollbar-width:thin}
 #whyble-fitpro.wc-fixed-page .msg-channel-legend>*{flex-shrink:0}
 #whyble-fitpro.wc-fixed-page .msg-result{margin-bottom:5px}
}

#whyble-fitpro.wc-fixed-page .msg-sticky-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding-bottom:6px;margin-bottom:6px}
#whyble-fitpro.wc-fixed-page .msg-toolbar{grid-column:1/-1;margin:0;gap:8px;flex-wrap:nowrap;min-width:0;overflow-x:auto;scrollbar-width:thin}
#whyble-fitpro.wc-fixed-page .msg-toolbar input{min-height:32px;padding:6px 10px;flex:0 0 235px;width:235px;font-size:14.4px}
#whyble-fitpro.wc-fixed-page .msg-filters{flex-wrap:nowrap;flex-shrink:0}
#whyble-fitpro.wc-fixed-page .msg-filters button{min-height:32px;padding:6px 10px;white-space:nowrap}
#whyble-fitpro.wc-fixed-page .msg-channel-slot{grid-column:1;grid-row:2;min-width:0}
#whyble-fitpro.wc-fixed-page .msg-channel-legend{flex-wrap:nowrap;overflow-x:auto;min-width:0;padding-bottom:2px;scrollbar-width:thin}
#whyble-fitpro.wc-fixed-page .msg-channel-legend>*{flex-shrink:0}
#whyble-fitpro.wc-fixed-page .msg-channel-label{display:none}
#whyble-fitpro.wc-fixed-page .msg-channel-filter{min-height:28px;padding:4px 7px}
#whyble-fitpro.wc-fixed-page .msg-result{grid-column:2;grid-row:2;margin:0;font-size:13.2px;white-space:nowrap}
@media(max-width:700px){
 #whyble-fitpro.wc-fixed-page .msg-sticky-header .msg-toolbar{margin:0;gap:8px}
 #whyble-fitpro.wc-fixed-page .msg-toolbar input{flex-basis:165px;width:165px}
 #whyble-fitpro.wc-fixed-page .msg-filters{gap:5px}
}
@media(pointer:coarse){
 #whyble-fitpro.wc-fixed-page .msg-channel-filter,#whyble-fitpro.wc-fixed-page .msg-filters button,#whyble-fitpro.wc-fixed-page .msg-toolbar input{min-height:44px}
 #whyble-fitpro.wc-fixed-page .msg-toolbar input{font-size:19.2px}
}

/* Search, conversation status and channels start at the same left edge. */
#whyble-fitpro.wc-fixed-page .msg-sticky-header{grid-template-columns:minmax(0,1fr);gap:7px;padding-bottom:9px}
#whyble-fitpro.wc-fixed-page .msg-sticky-header .msg-toolbar{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0;overflow:visible}
#whyble-fitpro.wc-fixed-page .msg-toolbar input{flex:none;width:290px;max-width:100%;height:34px;min-height:34px}
#whyble-fitpro.wc-fixed-page .msg-filters{margin:0;justify-content:flex-start;gap:6px;max-width:100%;overflow-x:auto;scrollbar-width:thin}
#whyble-fitpro.wc-fixed-page .msg-filters button{font-size:13.2px;min-height:29px;padding:5px 9px}
#whyble-fitpro.wc-fixed-page .msg-channel-slot{grid-column:1;grid-row:2}
#whyble-fitpro.wc-fixed-page .msg-channel-filter{font-size:13.2px;min-height:29px;padding:5px 8px}
#whyble-fitpro.wc-fixed-page .msg-result{grid-column:1;grid-row:3;justify-self:start;margin:0;font-size:13.2px}
@media(pointer:coarse){#whyble-fitpro.wc-fixed-page .msg-filters button,#whyble-fitpro.wc-fixed-page .msg-channel-filter{min-height:44px}#whyble-fitpro.wc-fixed-page .msg-toolbar input{height:44px;font-size:19.2px}}
#whyble-fitpro.wc-fixed-page .msg-sticky-header>.msg-filters{grid-column:1;grid-row:1;justify-self:start}
#whyble-fitpro.wc-fixed-page .msg-channel-slot{grid-row:2}
#whyble-fitpro.wc-fixed-page .msg-sticky-header .msg-toolbar{grid-row:3}
#whyble-fitpro.wc-fixed-page .msg-result{grid-row:4}
/* Compact approved order: channels, conversation status, search + results. */
#whyble-fitpro.wc-fixed-page .msg-sticky-header{gap:4px;padding-bottom:8px;margin-bottom:8px}
#whyble-fitpro.wc-fixed-page .msg-channel-slot{grid-row:1}
#whyble-fitpro.wc-fixed-page .msg-sticky-header>.msg-filters{grid-row:2}
#whyble-fitpro.wc-fixed-page .msg-sticky-header .msg-toolbar{grid-row:3;flex-direction:row;align-items:center;flex-wrap:wrap;gap:7px}
#whyble-fitpro.wc-fixed-page .msg-filters button{padding:4px 9px;min-height:29px;line-height:1.25}
#whyble-fitpro.wc-fixed-page .msg-channel-filter{padding:4px 8px;min-height:29px;line-height:1.25}
#whyble-fitpro.wc-fixed-page .msg-toolbar .msg-result{margin:0 0 0 7px;font-size:13.2px}
@media(max-width:600px){#whyble-fitpro.wc-fixed-page .msg-toolbar input{width:100%;flex-basis:100%}#whyble-fitpro.wc-fixed-page .msg-toolbar .msg-result{margin:0}}
@media(pointer:coarse){#whyble-fitpro.wc-fixed-page .msg-filters button,#whyble-fitpro.wc-fixed-page .msg-channel-filter{min-height:44px}}

/* Keep the contact list at 30%; only the conversation grows when context closes. */
#whyble-fitpro .msg-workspace{grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr);grid-template-rows:minmax(0,1fr)}
#whyble-fitpro .msg-workspace.msg-context-hidden{grid-template-columns:minmax(0,3fr) minmax(0,7fr)}
#whyble-fitpro .msg-list{grid-row:auto}
#whyble-fitpro .msg-contact-slot{grid-column:auto;border-top:0;background:#101a1b;border-left:1px solid var(--wc-line)}
#whyble-fitpro .msg-contact{border-left:0;min-height:0}
#whyble-fitpro .msg-context-controls,#whyble-fitpro .msg-reading-controls{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;padding:8px 12px;background:#101a1b;border-bottom:1px solid var(--wc-line)}
#whyble-fitpro .msg-reading-controls{background:#121d1f}
#whyble-fitpro .msg-context-toggle{font:inherit;font-size:13.2px;color:var(--wc-accent);background:transparent;border:0;padding:5px 0;text-align:right}
#whyble-fitpro .msg-reading-controls[hidden],#whyble-fitpro .msg-contact-slot[hidden]{display:none}
@media(max-width:700px){
 #whyble-fitpro .msg-workspace,#whyble-fitpro .msg-workspace.msg-context-hidden{grid-template-columns:minmax(0,1fr)}
 #whyble-fitpro .msg-contact-slot{border-left:0;border-top:1px solid var(--wc-line)}
}

/* Channels above one compact search/status row. Keep existing type sizes. */
#whyble-fitpro.wc-fixed-page .msg-sticky-header .msg-toolbar{grid-row:2;justify-content:flex-start}
#whyble-fitpro.wc-fixed-page .msg-toolbar .msg-filters{flex-shrink:0;max-width:100%}
#whyble-fitpro.wc-fixed-page .msg-toolbar .msg-result{margin-left:auto}
@media(max-width:600px){#whyble-fitpro.wc-fixed-page .msg-toolbar .msg-result{margin-left:0}}

/* Chat: incoming left, outgoing right; only the history scrolls. */
#whyble-fitpro .msg-thread-slot{display:flex;flex-direction:column;overflow:hidden}
#whyble-fitpro .msg-reading-controls{flex:none;position:static}
#whyble-fitpro .msg-reading{flex:1;min-height:0;height:100%;gap:14px}
#whyble-fitpro .msg-reading-header{flex:none}
#whyble-fitpro .msg-history{flex:1;min-height:100px;overflow-y:auto;overscroll-behavior:contain;gap:10px;padding-right:6px;scrollbar-width:thin;scrollbar-color:#46665c #121d1f}
#whyble-fitpro .msg-bubble{align-self:flex-start;flex-shrink:0;width:fit-content;max-width:82%;padding:10px 13px;background:#293438;border-radius:3px 12px 12px 12px}
#whyble-fitpro .msg-bubble.msg-outgoing{align-self:flex-end;background:#14584f;border-radius:12px 3px 12px 12px}
#whyble-fitpro .msg-bubble .msg-body{margin-top:0;line-height:1.55}
#whyble-fitpro .msg-message-time{display:block;text-align:right;color:#c0d0ce;font-size:12px;line-height:1.3;margin-top:4px}
#whyble-fitpro .msg-reading>.proposal-review{flex:none;margin-top:0;max-height:46%;overflow-y:auto}
#whyble-fitpro .msg-reading>.msg-composer{flex:none}
@media(max-width:700px){
 #whyble-fitpro .msg-thread-slot{height:720px;max-height:none;overflow:hidden}
 #whyble-fitpro .msg-bubble{max-width:90%}
}

/* Expanded conversation keeps comfortable gutters and readable line lengths. */
#whyble-fitpro .msg-context-hidden .msg-history{padding-left:clamp(16px,4vw,72px);padding-right:clamp(16px,4vw,72px)}
#whyble-fitpro .msg-context-hidden .msg-bubble{max-width:min(82%,62ch)}
@media(max-width:700px){
 #whyble-fitpro .msg-context-hidden .msg-history{padding-left:0;padding-right:6px}
 #whyble-fitpro .msg-context-hidden .msg-bubble{max-width:90%}
}

/* Context reopening shares the conversation heading instead of adding a bar. */
#whyble-fitpro .msg-reading-header{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;padding-bottom:10px}
#whyble-fitpro .msg-reading-header>h2,#whyble-fitpro .msg-reading-header>.msg-subject,#whyble-fitpro .msg-reading-header>.msg-thread-channel{grid-column:1}
#whyble-fitpro .msg-reading-header>.msg-reading-controls{grid-column:2;grid-row:1/4;align-self:start;padding:0;border:0;background:transparent}
#whyble-fitpro .msg-reading-header>.msg-subject{margin-top:3px}
#whyble-fitpro .msg-reading-header>.msg-thread-channel{margin-top:4px}
#whyble-fitpro .msg-reading{gap:10px;padding-top:16px}
@media(max-width:700px){
 #whyble-fitpro .msg-reading-header{grid-template-columns:minmax(0,1fr)}
 #whyble-fitpro .msg-reading-header>.msg-reading-controls{grid-column:1;grid-row:4;justify-self:end;margin-top:4px}
}

/* Timestamp follows the final text line instead of reserving its own row. */
#whyble-fitpro .msg-bubble .msg-body{display:block}
#whyble-fitpro .msg-message-time{display:inline-block;float:none;white-space:nowrap;vertical-align:baseline;margin:0 0 0 12px;line-height:1.3}

/* Reading-first message layout: compact sidebars, more room for the message. */
#whyble-fitpro .msg-workspace{grid-template-columns:minmax(0,23fr) minmax(0,57fr) minmax(0,20fr)}
#whyble-fitpro .msg-workspace.msg-context-hidden{grid-template-columns:minmax(0,23fr) minmax(0,77fr)}
#whyble-fitpro .msg-row{padding:12px}
#whyble-fitpro .msg-row-heading strong{font-size:14.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#whyble-fitpro .msg-row-subject{margin-top:4px}
#whyble-fitpro .msg-row-meta{margin-top:5px}
#whyble-fitpro .msg-row-channels{margin-top:6px}
#whyble-fitpro .msg-reading{padding:13px 18px;gap:10px}
#whyble-fitpro .msg-reading-header h2{font-size:18px;letter-spacing:0}
#whyble-fitpro .msg-reading-header .msg-subject{font-size:14.4px;line-height:1.4;color:var(--wc-muted)}
#whyble-fitpro .msg-reading-header{padding-bottom:9px}
#whyble-fitpro .msg-contact{padding:13px 12px}
#whyble-fitpro .msg-contact h2{font-size:14.4px}
#whyble-fitpro .msg-avatar{width:32px;height:32px;margin-bottom:9px}
#whyble-fitpro .msg-contact-section{margin-top:14px;padding-top:12px}
#whyble-fitpro .msg-context-controls{padding:6px 10px}
#whyble-fitpro .msg-context-toggle{font-size:12px}
#whyble-fitpro .msg-reading>.msg-composer{display:flex;align-items:flex-end;gap:9px;padding:8px 10px}
#whyble-fitpro .msg-composer textarea{flex:1;min-width:0;min-height:26px;max-height:110px;line-height:1.55;padding:0;resize:none}
#whyble-fitpro .msg-send{font:inherit;font-size:13.2px;padding:5px 9px;background:transparent;border:1px solid var(--wc-line);border-radius:6px;color:var(--wc-muted)}
/* E-mails read as documents; retain the complete original text. */
#whyble-fitpro .msg-email .msg-bubble{background:transparent;border-radius:0;max-width:min(100%,72ch);width:100%;align-self:center;padding:8px 4px}
#whyble-fitpro .msg-email .msg-history{padding:4px 12px}
@media(max-width:700px){
 #whyble-fitpro .msg-workspace,#whyble-fitpro .msg-workspace.msg-context-hidden{grid-template-columns:minmax(0,1fr)}
 #whyble-fitpro .msg-email .msg-history{padding:4px 0}
}

/* The divider changes list/conversation width; the context keeps its 20% share. */
#whyble-fitpro .msg-workspace{position:relative;grid-template-columns:var(--msg-list-width,23%) minmax(0,1fr) 20%}
#whyble-fitpro .msg-workspace.msg-context-hidden{grid-template-columns:var(--msg-list-width,23%) minmax(0,1fr)}
#whyble-fitpro .msg-divider{position:absolute;top:0;bottom:0;left:var(--msg-list-width,23%);width:9px;transform:translateX(-50%);z-index:5;cursor:col-resize;touch-action:none}
#whyble-fitpro .msg-divider::after{content:'';position:absolute;top:0;bottom:0;left:4px;width:1px;background:var(--wc-line)}
#whyble-fitpro .msg-divider:hover::after,#whyble-fitpro .msg-divider:focus-visible::after,#whyble-fitpro .msg-resizing .msg-divider::after{background:var(--wc-accent);width:2px}
#whyble-fitpro .msg-resizing{user-select:none;cursor:col-resize}
@media(max-width:700px){
 #whyble-fitpro .msg-workspace,#whyble-fitpro .msg-workspace.msg-context-hidden{grid-template-columns:minmax(0,1fr)}
 #whyble-fitpro .msg-divider{display:none}
}

/* Compact contact summary with channel and reply status on one line. */
#whyble-fitpro .msg-row{padding:11px 12px}
#whyble-fitpro .msg-row-subject{margin-top:3px}
#whyble-fitpro .msg-row-preview{margin-top:2px}
#whyble-fitpro .msg-row-footer{display:flex;align-items:center;gap:7px 12px;flex-wrap:wrap;margin-top:7px}
#whyble-fitpro .msg-row-footer .msg-row-channels,#whyble-fitpro .msg-row-footer .msg-row-meta{margin:0}
#whyble-fitpro .msg-row-footer .msg-row-meta{font-size:12px}
#whyble-fitpro .msg-row-footer .msg-needs-reply{color:var(--wc-accent)}

/* Approved compact list: name, one content line, small channel/status footer. */
#whyble-fitpro .msg-row{padding:12px 14px;min-height:88px}
#whyble-fitpro .msg-row-heading strong{font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;flex:1}
#whyble-fitpro .msg-row-heading time{font-size:12px;flex:none}
#whyble-fitpro .msg-row-preview{font-size:13px;line-height:1.4;margin:7px 0 0;color:var(--wc-muted)}
#whyble-fitpro .msg-row-footer{gap:6px 12px;margin-top:6px}
#whyble-fitpro .msg-row-footer .msg-channel-badge,#whyble-fitpro .msg-row-footer .msg-row-meta{font-size:11px;line-height:1.3}
#whyble-fitpro .msg-row-footer .msg-channel-dot{width:6px;height:6px}

#whyble-fitpro .msg-email-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--wc-muted);margin-bottom:10px}
#whyble-fitpro .msg-email-options button{font-size:12px;padding:5px 8px}
#whyble-fitpro .msg-email-frame{width:100%;height:520px;border:0;border-radius:8px;background:white;display:block}
#whyble-fitpro .msg-email-render [hidden]{display:none!important}
#whyble-fitpro .msg-email-plain{white-space:pre-wrap;overflow-wrap:anywhere}

/* Compact email-only heading and image controls; leave message content unchanged. */
#whyble-fitpro .msg-email .msg-reading-header{padding-bottom:6px;row-gap:0}
#whyble-fitpro .msg-email .msg-reading-header h2{font-size:15px;font-weight:500;line-height:1.3;margin:0}
#whyble-fitpro .msg-email .msg-reading-header .msg-subject{font-size:13px;line-height:1.35;margin:3px 0 0}
#whyble-fitpro .msg-email .msg-reading-header .msg-thread-channel{margin-top:3px;gap:7px}
#whyble-fitpro .msg-email .msg-reading-header .msg-channel-badge,#whyble-fitpro .msg-email .msg-reading-header .msg-muted{font-size:11px;line-height:1.3}
#whyble-fitpro .msg-email-options{justify-content:flex-start;gap:5px;margin:0 0 6px;line-height:1.3}
#whyble-fitpro .msg-email-options>span{font-size:11px;flex:0 1 auto;margin:0}
#whyble-fitpro .msg-email-options .workspace-control{font-size:11px;min-height:25px;padding:3px 6px;line-height:1.3;border-radius:5px}
#whyble-fitpro .msg-email .msg-history{gap:8px}

#whyble-fitpro .msg-email-modal{position:fixed;inset:0;margin:auto;width:min(1100px,calc(100vw - 64px));height:calc(100dvh - 64px);max-width:none;max-height:none;padding:0;background:#101c1e;color:var(--wc-text);border:1px solid #3a504b;border-radius:14px;overflow:hidden}
#whyble-fitpro .msg-email-modal[open]{display:flex;flex-direction:column}
#whyble-fitpro .msg-email-modal::backdrop{background:#000a}
#whyble-fitpro .msg-email-modal-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 18px;border-bottom:1px solid var(--wc-line);flex:none}
#whyble-fitpro .msg-email-modal-header h2{font-size:17px;margin:0;font-weight:500;overflow-wrap:anywhere}
#whyble-fitpro .msg-email-modal-scroll{flex:1;min-height:0;overflow:auto;padding:12px 18px;overscroll-behavior:contain}
#whyble-fitpro .msg-email-modal .msg-email-render{height:100%;display:flex;flex-direction:column;min-height:0}
#whyble-fitpro .msg-email-modal .msg-email-frame{flex:1;min-height:0;height:100%}
#whyble-fitpro .msg-email-modal .msg-email-options{flex:none}
#whyble-fitpro .msg-email-modal .msg-email-plain{overflow:auto}
@media(max-width:600px){#whyble-fitpro .msg-email-modal{width:calc(100vw - 24px);height:calc(100dvh - 24px)}#whyble-fitpro .msg-email-modal-header,#whyble-fitpro .msg-email-modal-scroll{padding:10px 12px}}

/* Approved compact messages layout; scoped to this page. */
#whyble-fitpro[data-page="berichten"].wc-fixed-page .wc-footer{display:none!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .wc-main{padding:8px 14px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-sticky-header{gap:5px!important;padding-bottom:7px!important;margin-bottom:7px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-toolbar input{height:29px!important;min-height:29px!important;width:240px!important;font-size:13px!important;padding:4px 9px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-channel-filter,#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-filters button{min-height:26px!important;padding:4px 8px!important;font-size:12px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-filter-note,#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-source-note{font-size:11px!important;margin:3px 0!important;color:#9eafad!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-reading-header{padding-bottom:7px!important;margin-bottom:7px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-result{font-size:11px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-compose{padding:7px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-context-controls{padding:7px 10px!important}
@media(max-width:600px){#whyble-fitpro[data-page="berichten"] .msg-toolbar input{width:100%!important}}
@media(pointer:coarse){#whyble-fitpro[data-page="berichten"] .msg-channel-filter,#whyble-fitpro[data-page="berichten"] .msg-filters button{min-height:40px!important}}

/* Approved borderless messages workspace. */
#whyble-fitpro[data-page="berichten"].wc-fixed-page .wc-main{padding:5px 0 0!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-sticky-header{padding:0 10px 5px!important;margin-bottom:0!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-workspace{border:0!important;border-radius:0!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-reading{padding:12px!important;gap:10px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-contact{padding:12px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-contact h2{font-size:15px!important;margin:7px 0!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-contact-section{margin-top:12px!important;padding-top:10px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-contact .msg-avatar{width:30px!important;height:30px!important;font-size:12px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-row{padding:10px 12px!important;min-height:74px!important}
#whyble-fitpro[data-page="berichten"].wc-fixed-page .msg-context-controls{padding:4px 10px!important}
#whyble-fitpro .msg-source-info{position:relative;font-size:11px;color:var(--wc-muted)}
#whyble-fitpro .msg-source-info>summary{cursor:pointer;list-style:none;border:1px solid var(--wc-line);border-radius:5px;padding:3px 6px;white-space:nowrap}
#whyble-fitpro .msg-source-info[open]{padding:8px;background:#152426;border:1px solid var(--wc-line);border-radius:6px;max-width:360px}
#whyble-fitpro .msg-source-info p{font-size:11px;margin:7px 0 0}
