.chat-type-filters{display:flex;gap:5px;flex-wrap:wrap;padding:8px 14px;background:#f4f8f3;border-bottom:1px solid #d4e4df;flex-shrink:0}
.chat-type-filters a{padding:6px 10px;border-radius:15px;font-size:11px;color:#446653}.chat-type-filters a[aria-current]{background:#347c4e;color:white}
[data-affair-workspace] .v02-chat-expanded .conversation-panel{grid-template-rows:auto auto auto minmax(80px,1fr) auto auto}
[data-affair-workspace] .chat-sidebar{grid-row:2/7}[data-affair-workspace] .chat-type-filters{grid-column:2;grid-row:2}
[data-affair-workspace] .conversation-context{grid-row:3}[data-affair-workspace] .conversation-feed{grid-row:4}
[data-affair-workspace] .conversation-status:not(.sr-only){grid-row:5}
[data-affair-workspace] .conversation-compose{grid-row:6;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px 18px}
.chat-compose-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between}.chat-compose-toolbar>label{display:flex;align-items:center;gap:8px;font-size:11px;margin:0}.chat-compose-toolbar select{width:auto;min-height:32px;padding:4px 8px;margin:0;font-size:12px}.chat-compose-toolbar .chat-options{margin:0;position:relative}.chat-compose-toolbar .chat-options[open]{position:static}.chat-compose-toolbar .chat-options select{max-width:260px}
.conversation-compose [data-guide-stage] textarea{box-sizing:border-box;width:100%;display:block;min-height:48px;max-height:100px;resize:vertical;font-size:14px;padding:12px;border:1px solid #c9d8c5;border-radius:12px;margin:0;background:white}
.chat-guide-controls{display:flex;gap:10px;align-items:center;justify-content:flex-end}.chat-guide-controls button:not(.chat-send){font-size:12px;padding:8px 12px}.chat-guide-controls .chat-send{width:37px;height:37px;font-size:18px}
.chat-guide-progress{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#346249}.chat-guide-progress button{border:0;background:none;color:#66796d;padding:3px;font-size:11px}
[data-guide-stage=recipient],[data-guide-stage=date]{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
[data-guide-stage=recipient] input,[data-guide-stage=recipient] select{flex:1;min-width:120px;margin:0;box-sizing:border-box;font-size:14px}
[data-guide-stage=date] input{max-width:230px;box-sizing:border-box}
[data-guide-stage] small{flex-basis:100%;font-size:10px;color:#6b8274}.chat-compose-help{font-size:9px;color:#768879}
.chat-reply-preview,.chat-quote{display:flex;flex-direction:column;position:relative;padding:8px 28px 8px 10px;border-left:3px solid #478366;background:#dce8df;border-radius:5px;font-size:11px;color:#456451;gap:4px;overflow-wrap:anywhere}.chat-reply-preview button{position:absolute;right:4px;top:3px;padding:4px;border:0;background:transparent}.chat-quote{margin-bottom:9px;color:#456451!important}
.chat-kind{font-size:10px;color:#666}.type-PROBLEM{border-left:3px solid #be514c}.type-QUESTION{border-left:3px solid #383e49}.kind-ACTION{border-left:3px solid #bc9038}.chat-mention,.chat-origin{color:#245d92;font-size:12px}.chat-origin{display:block;margin:6px 0;font-weight:600}.chat-message-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:10px}.chat-message-tools form{margin:0}.chat-message-tools button,.chat-message-tools>a{font-size:11px;padding:5px 8px;border:1px solid #cadaCE;border-radius:14px;background:#f9fcf7;color:#456553}.chat-message-tools .chat-reaction[aria-pressed=true]{background:#cce6d3;border-color:#50876a}.chat-message-tools .chat-complete{border-color:#4d8b62;color:#27603b;background:#e5f3e6}.chat-reply{margin-left:auto}.chat-bubble.type-QUESTION .chat-kind{color:#383e49}.chat-bubble.type-PROBLEM .chat-kind{color:#a13232}.chat-bubble.chat-done{border-left-color:#659c75}
.hubert-inbox{background:#eef3eb;border-radius:12px;padding:18px;max-height:550px;overflow:auto;margin:14px 0}.hubert-inbox .chat-bubble{max-width:88%;min-width:min(400px,85%)}.hubert-inbox-heading,.hubert-inbox-pages{display:flex;justify-content:space-between;gap:12px;font-size:12px;align-items:center}.hubert-inbox-heading a{font-size:11px}.hubert-inbox-pages{margin:12px 0}
.signal-count{font-size:9px;line-height:1;white-space:nowrap;padding:3px 4px;border-radius:6px;align-self:flex-start}.signal-problems{background:#b33d3d;color:white}.signal-questions{background:#303644;color:white}
.jalon-status-buttons .status-choice{position:relative}.jalon-status-buttons .status-choice sup{position:absolute;top:-6px;right:-5px;background:#b33d3d;color:white;min-width:15px;height:15px;border-radius:9px;font-size:9px;line-height:15px}.jalon-status-buttons .status-QUESTION sup{background:#303644}.jalon-status-buttons .status-BLOCKED{margin-left:12px}.jalon-status-buttons .status-action{margin-left:5px;font-size:24px}
/* Ambient colours guide location; semantic state badges retain their palette. */
#main-content .focus-inline .focus-section-link.is-current-section{background:var(--affair-tint);border-color:var(--affair-accent);color:var(--affair-deep);box-shadow:inset 3px 0 var(--affair-accent)}
#main-content .focus-inline .focus-editor [data-focus-group].is-current-section:not(.is-not-applicable){background:var(--affair-soft);box-shadow:inset 3px 0 var(--affair-accent)}
#main-content .focus-inline .focus-business-title{color:var(--affair-deep);border-color:var(--affair-tint)}
#main-content .focus-inline input:focus,#main-content .focus-inline select:focus,#main-content .focus-inline textarea:focus{outline-color:var(--affair-accent);border-color:var(--affair-accent)}
#main-content .focus-inline .focus-step-title>button:hover{color:var(--affair-accent)}
@media(max-width:760px){[data-affair-workspace] .chat-type-filters{flex-wrap:nowrap;overflow:auto;white-space:nowrap;padding:8px}.chat-type-filters a{flex-shrink:0}[data-affair-workspace] .conversation-compose{padding:10px 12px}.chat-compose-toolbar{gap:5px;flex-wrap:wrap}.chat-compose-toolbar>label{font-size:10px}.chat-compose-toolbar select{font-size:16px;max-width:160px}.chat-compose-toolbar .chat-options select{max-width:220px}.conversation-compose [data-guide-stage] textarea,[data-guide-stage] input,[data-guide-stage] select{font-size:16px}.chat-guide-progress{font-size:12px}.hubert-inbox{padding:12px}.hubert-inbox .chat-bubble{max-width:94%;min-width:0}.hubert-inbox-heading{flex-wrap:wrap}.chat-message-tools{gap:4px}}

.conversation-panel [hidden]{display:none!important}

.chat-guide-recap{font-size:12px;color:#51675a;background:#e8eee6;padding:8px 10px;border-radius:8px;max-height:64px;overflow:auto;overflow-wrap:anywhere}

/* Compact context, shared between affair messages and the personal inbox. */
.chat-context-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:5px 0 8px}
.chat-context-tags .chat-origin,.chat-context-tags .chat-thread-tag{display:inline-flex;align-items:center;gap:4px;margin:0;padding:3px 6px;min-height:23px;box-sizing:border-box;border-radius:6px;background:rgba(255,255,255,.45);font-size:11px;line-height:1.2;color:#366456}
.chat-context-tags .chat-origin{color:#245d92;font-weight:700}
.chat-context-tags .milestone-icon{display:block;width:15px;height:15px;flex:none}
.chat-context-tags a:focus-visible{outline:2px solid #347c4e;outline-offset:2px}
.jalon-status-buttons .status-action,.remax-theme .focus-step-switches [data-jalon-action]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;line-height:1}
.jalon-status-buttons .status-action svg,.focus-step-switches [data-jalon-action] svg{display:block;width:18px;height:18px;flex:none}

.focus-inline>.jalon-tracking-band .focus-tracking{grid-template-columns:minmax(125px,.65fr) minmax(270px,1.15fr) minmax(0,3fr)}
.jalon-status-buttons{flex-wrap:nowrap}
.jalon-status-buttons .status-choice{flex-shrink:0}
@media(max-width:1100px){.focus-inline>.jalon-tracking-band .focus-tracking{grid-template-columns:minmax(270px,1.15fr) minmax(0,3fr)}}
@media(max-width:600px){.focus-inline>.jalon-tracking-band .focus-tracking{grid-template-columns:1fr}}

.type-MENTION .chat-kind{color:#356f91}.conversation-compose [data-apostrophe]{padding:4px 10px;min-height:30px;font-weight:700}.hubert-inbox-scopes{flex-wrap:wrap}
