/* A single header, log and composer for direct and observed conversations. */
.messenger-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);flex:1;min-height:0;border:1px solid #dfe4e8;overflow:hidden}.messenger-stage{display:flex;flex-direction:column;min-width:0;min-height:0}.messenger-stage .chat-surface{display:grid;grid-template-rows:72px minmax(0,1fr) 100px;flex:1;min-height:0;height:100%;--chat-accent:#315c7d;--chat-tint:#edf4fa;--chat-background:#f7f9fb}.chat-surface[data-mode=observing]{--chat-accent:#70796e;--chat-tint:#f0f1ee;--chat-background:#f6f6f3}.chat-header{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--chat-tint);border-bottom:1px solid #dfe4e8;min-width:0;overflow:hidden}.chat-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:15px;font-weight:500;background:#dce8f2;color:#315c7d}.chat-surface[data-mode=observing] .chat-avatar{background:#e1e4dd;color:#65725b}.chat-header-copy{min-width:0;flex:1}.chat-header-copy strong{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-header-copy>span{display:block;font-size:9px;color:#7b8991;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.chat-access{font-size:8px;white-space:nowrap;color:var(--chat-accent);border:1px solid currentColor;border-radius:10px;padding:3px 7px}.chat-surface .messages{margin:0;padding:20px 18px;overflow-y:auto;min-height:0;background:var(--chat-background);scrollbar-width:thin;scrollbar-gutter:stable;scroll-behavior:auto}.message-row{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 13px}.message-row.user{align-items:flex-end}.chat-surface .bubble{background:#fff;border:1px solid #e2e6e8;box-shadow:0 1px 1px #00000004;padding:10px 12px 6px;border-radius:2px 8px 8px 8px;font-size:12px;line-height:1.75;max-width:94%;white-space:normal}.chat-surface .user .bubble{background:#e3eff8;color:#203f56;border-color:#d6e5f0;border-radius:8px 2px 8px 8px;padding:10px 12px 6px;max-width:94%}.message-sender{display:block;font-size:9px;color:var(--chat-accent);font-weight:600;margin-bottom:4px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;justify-content:flex-end;gap:8px;font-size:8px;line-height:1.4;color:#8a959a;margin-top:5px}.chat-footer{display:grid;grid-template-rows:21px 53px 25px;background:var(--chat-tint);border-top:1px solid #dfe4e8;overflow:hidden}.composer-context{font-size:9px;line-height:20px;color:var(--chat-accent);padding:0 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-footer .composer{display:flex;align-items:center;gap:10px;padding:4px 12px;border:0;border-radius:0;background:transparent;min-height:0}.chat-footer textarea{display:block;width:100%;min-height:0;height:43px;max-height:43px;resize:none;overflow-y:auto;border:1px solid #b8cede;border-radius:6px;background:#fff;padding:11px 12px;font:12px/19px 'Inter',Arial,sans-serif;outline-offset:1px;color:#242521}.chat-footer textarea:focus{border-color:#315c7d;outline:1px solid #315c7d}.chat-footer textarea:disabled{opacity:1;background:#f8f9f6;color:#899181;border-color:#dedfd8;pointer-events:none}.chat-footer button[type=submit]{width:34px;height:34px;flex-shrink:0;border:0;background:#315c7d;color:white;border-radius:6px;font-size:20px;line-height:1}.chat-footer button[type=submit]:disabled{background:#c1c9c0;color:#fff;opacity:1;cursor:default}.chat-footer .composer-note{height:25px;display:flex;align-items:center;justify-content:center;font-size:8px;color:#839198;padding:0 10px;background:transparent;line-height:1.4;overflow:hidden}.composer-note .text-button{font-size:9px;color:var(--chat-accent)}.chat-surface .suggestions{display:flex;flex-wrap:wrap;gap:12px;padding:14px 0;background:transparent}.chat-surface .suggestions:empty,.chat-surface .proposal-host:empty{display:none}.day-divider{text-align:center;font-size:8px;margin-bottom:18px}.chat-surface .proposal-card{margin:14px 0;background:#fff;max-height:none;overflow:visible;padding:14px;border:1px solid #dde4e8;border-radius:7px}.chat-surface .proposal-card h3{font-size:8px;letter-spacing:1px;margin:0 0 9px;color:#839198}.chat-surface .proposal-card p{font-size:10px;line-height:1.8;color:#7c898e;margin:7px 0}.welcome-block{padding:10px 0 22px}.welcome-block h2{font-size:31px}.welcome-block p{font-size:11px}.typing{font-size:10px;color:#76838b}.conversation-directory{overflow-y:auto;background:#fff;border-right:1px solid #dfe4e8;min-height:0}.conversation-entry{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid #e7ebe8;padding:16px 12px;background:#fff;font-family:'Inter',Arial,sans-serif}.conversation-entry.active{background:#e6edf4;box-shadow:inset 3px 0 #315c7d}.conversation-entry:hover{background:#f2f5f7}.conversation-entry .chat-avatar{width:30px;height:30px;font-size:12px}.conversation-entry-copy{min-width:0}.conversation-entry-copy strong{display:block;font-size:11px;font-weight:500;white-space:nowrap}.conversation-entry-copy>span{display:block;font-size:9px;color:#89917f;margin-top:4px}.broker-navigation{display:flex;align-items:center;justify-content:space-between;padding:10px 0;margin-bottom:10px}.broker-navigation>span{margin:0;max-width:70%;font-size:9px}.broker-navigation nav{gap:16px}.broker-navigation button{padding:3px 0;font-size:9px}.broker-navigation .count{display:none}.broker-area .primary-pane{border-top:0}.broker-navigation button[data-view=chat].active{border-color:transparent}
/* Only actual editable controls should show an insertion caret. Preserve copy and keyboard focus. */
body{cursor:default;caret-color:transparent}input:not(:disabled),textarea:not(:disabled){caret-color:#315c7d}button,a,nav,.chat-header,.composer-context,.composer-note{user-select:none;-webkit-user-select:none;caret-color:transparent}.message-text{user-select:text;-webkit-user-select:text;cursor:default;caret-color:transparent}
@media(max-width:1100px) and (min-width:701px){.messenger-workspace{grid-template-columns:160px minmax(0,1fr)}.conversation-entry{padding:13px 9px;gap:8px}.conversation-entry .chat-avatar{width:26px;height:26px}.conversation-entry-copy strong{font-size:10px}.conversation-entry-copy>span{font-size:8px}}
@media(max-width:700px){.messenger-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.conversation-directory{display:flex;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #dfe4e8}.conversation-entry{width:auto;flex:1;min-width:110px;padding:10px 9px;gap:7px;border-bottom:0;border-right:1px solid #e7ebe8}.conversation-entry .chat-avatar{width:26px;height:26px;font-size:11px}.conversation-entry-copy strong{font-size:10px}.conversation-entry-copy>span{font-size:8px;white-space:nowrap;margin-top:2px}.broker-navigation{margin-bottom:7px;padding:4px 0 7px}.broker-navigation>span{font-size:8px;max-width:68%}.broker-navigation nav{gap:12px}.broker-navigation button{font-size:8px}.broker-navigation button[data-view=chat]{display:none}.messenger-stage .chat-surface{grid-template-rows:64px minmax(0,1fr) 100px}.chat-header{padding:10px 11px;gap:8px}.chat-header .chat-avatar{width:29px;height:29px;font-size:12px}.chat-header-copy strong{font-size:11px}.chat-header-copy>span{font-size:8px}.chat-access{font-size:7px;padding:3px 5px}.chat-surface .messages{padding:15px 11px}.chat-surface .bubble{font-size:11px;padding:9px 11px 6px}.message-meta{font-size:7px}.message-sender{font-size:8px}.composer-context{font-size:8px;padding:0 11px}.chat-footer .composer{padding:4px 10px;gap:8px}.chat-footer textarea{font-size:11px}.chat-footer .composer-note{font-size:7px}.composer-note .text-button{font-size:8px}.chat-footer button[type=submit]{width:31px;height:31px}}
.interest-switch{min-width:0;max-width:45%;margin:0 12px}.interest-switch select{width:100%;font:9px 'Inter',Arial,sans-serif;background:#fff;border:1px solid #dfe4e8;padding:5px 7px;color:#637684}.interest-onboarding{background:#fff;border:1px solid #dfe4e8;border-radius:6px;padding:17px;margin:10px 0 22px}.interest-onboarding h3,.my-interests h3{font:400 25px/1.1 'Cormorant Garamond',Georgia,serif;margin:0 0 12px}.interest-onboarding p,.my-interests p{font-size:11px;color:#79888e;line-height:1.8}.interest-fields{display:grid;grid-template-columns:1fr 80px;gap:10px;margin:14px 0}.interest-fields select,.interest-fields input{width:100%;min-width:0;padding:9px;font:11px 'Inter',Arial,sans-serif;border:1px solid #d4dde3;background:#fff;border-radius:3px}.interest-fields select[name=executionMode],.interest-fields input[name=label]{grid-column:1/-1}.interest-consent{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.8;color:#667881}.interest-consent input{margin-top:4px;flex-shrink:0}.interest-onboarding .solid{margin-top:15px;font-size:11px;background:#315c7d;border-color:#315c7d}.interest-onboarding>small{display:block;font-size:9px;color:#88969c;line-height:1.8;margin-top:13px}.my-interest-row{display:flex;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #e4e9ec;font-size:11px}.my-interest-row>span{flex:1}.my-interest-row small{font-size:9px;color:#315c7d}.my-interest-row .text-button{font-size:10px}.my-interests{margin-bottom:25px}.broker-navigation>span{max-width:35%}
@media(max-width:700px){.broker-navigation>span{display:none}.interest-switch{max-width:70%;margin:0 10px 0 0}.interest-switch select{font-size:9px}.broker-navigation nav{margin-left:auto}.interest-onboarding{padding:13px}.interest-onboarding h3{font-size:22px}.interest-onboarding p{font-size:10px}.interest-consent{font-size:9px}.interest-fields input,.interest-fields select{font-size:10px}.my-interest-row{font-size:10px}}

#onboarding-view .section-intro{margin-bottom:24px}#onboarding-view .section-intro h2{font-size:30px;line-height:1.1;margin:10px 0 12px}#onboarding-view .section-intro p{font-size:10px;max-width:600px}
.conversation-record-intro{font-size:12px;line-height:1.9;color:#748792}.conversation-interest-record{padding:18px 0;border-bottom:1px solid #dfe5e9}.conversation-interest-record h3{font-size:13px;font-weight:500;margin:0 0 10px}.conversation-interest-record p{font-size:11px;line-height:1.8;white-space:pre-wrap;color:#748792}.conversation-interest-record small{display:block;font-size:9px;color:#315c7d;margin:10px 0}.conversation-interest-record .text-button{font-size:10px}.conversation-known-fact{font-size:11px;line-height:1.9}.conversation-known-fact strong,.conversation-known-fact span{display:block}

.chat-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-header>.chat-avatar>.chat-avatar{width:100%;height:100%;margin:0}.broker-memory-profile{padding:18px 0 22px;border-bottom:1px solid #dfe5e9}.broker-memory-profile>.chat-avatar{width:62px;height:62px}.broker-memory-profile h3{font-size:16px;font-weight:500;margin:12px 0 4px}.broker-memory-profile p{font-size:11px;line-height:1.8;color:#748792;white-space:pre-wrap;margin:6px 0}#broker-dialog{width:min(760px,calc(100vw - 30px));padding:35px;max-height:90dvh;overflow:auto}#broker-dialog h2{font:400 37px/1.1 var(--serif);margin:12px 0 15px}.broker-intro-copy{font-size:12px;line-height:1.8;color:var(--muted);max-width:590px}.broker-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:25px 0}.broker-choice-card{border:1px solid var(--line);padding:20px 16px;background:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start}.broker-choice-card>.chat-avatar{width:70px;height:70px;margin:0 0 17px}.broker-choice-card h3{font:400 25px/1.05 var(--serif);margin:0 0 8px;overflow-wrap:anywhere}.broker-style{font-size:9px;color:#536c7d;letter-spacing:.4px}.broker-choice-card p{font-size:10px;line-height:1.8;color:var(--muted);flex:1;margin:12px 0 20px}.broker-choice-card .outline{font-size:10px;padding:8px 10px;line-height:1.6;width:100%;justify-content:center}.broker-intro-footnote{font-size:9px;color:var(--muted);line-height:1.8;margin-top:20px}#broker-entry{white-space:nowrap}.broker-navigation nav{gap:17px}
@media(max-width:600px){#broker-dialog{padding:26px 18px}#broker-dialog h2{font-size:31px}.broker-intro-copy{font-size:11px}.broker-candidates{gap:8px;margin:18px 0}.broker-choice-card{padding:13px 9px}.broker-choice-card>.chat-avatar{width:52px;height:52px;margin-bottom:12px}.broker-choice-card h3{font-size:20px;line-height:1.05}.broker-choice-card p{font-size:9px;margin:10px 0}.broker-choice-card .outline{font-size:9px;padding:7px 5px}.broker-style{font-size:8px}.broker-navigation nav{gap:11px}#broker-entry{font-size:8px}.broker-intro-footnote{font-size:8px}}

#broker-dialog{max-width:760px}

/* Conversation first: one platform broker, visible negotiations and secondary memory. */
.broker-navigation{padding:5px 0 9px;margin-bottom:8px}.broker-navigation>span{max-width:none;white-space:nowrap;color:#72818b}.broker-navigation nav{gap:22px;align-items:center;margin-left:auto}.broker-navigation button{font-size:10px}.conversation-directory{scrollbar-width:thin}.conversation-entry-copy strong{white-space:normal;line-height:1.45;overflow-wrap:anywhere}.conversation-entry-copy>span{line-height:1.5}.example-avatar{background:#f3eee3;color:#937343}.example-notice{font-size:10px;line-height:1.8;padding:10px 12px;margin:0 0 18px;border:1px solid #e3e5dd;border-radius:5px;background:#f8f7f1;color:#777b70}.example-summary{border-top:1px solid #dfe4e8;padding:15px 0 5px;margin-top:15px;font-size:11px;line-height:1.8;color:#657885}.example-summary .text-button{display:block;margin-top:15px;font-size:10px}#memory-dialog{width:min(580px,calc(100vw - 30px));max-width:580px;max-height:88dvh;overflow:auto;padding:30px}#memory-dialog h2{font:400 32px/1.1 var(--serif);margin:10px 0 18px}#memory-dialog .conversation-record-intro{font-size:11px}#memory-dialog .broker-memory-profile{padding:12px 0 20px}#memory-dialog .remembered-interests,#memory-dialog .interest-detail{padding:17px 0;border-bottom:1px solid #e1e6e7;font-size:11px}#memory-dialog summary{cursor:pointer;color:#536c7d}#memory-dialog .interest-switch{display:block;max-width:100%;margin:13px 0 0}#memory-dialog .interest-switch select{font-size:11px}#memory-dialog #onboarding>.text-button{font-size:11px;margin:22px 0 10px}.broker-area .context-pane .club-block{padding-bottom:16px}
@media(max-width:700px){.broker-navigation>span{display:none}.broker-navigation nav{width:100%;justify-content:space-between;margin:0;gap:15px}.broker-navigation button,#broker-entry{font-size:9px}.conversation-entry{min-width:128px;flex:0 0 auto;max-width:170px}.conversation-entry-copy strong{font-size:10px;white-space:normal}.conversation-entry-copy>span{font-size:8px;white-space:normal}.conversation-directory{align-items:stretch}.conversation-entry .chat-avatar{width:25px;height:25px}.example-notice{font-size:9px}.example-summary{font-size:10px}#memory-dialog{padding:25px 20px}#memory-dialog h2{font-size:29px}.broker-area .workspace-heading h1{font-size:29px}}

.club-group-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#edf1ed;color:#56685a;font:500 17px var(--sans)}
