/* Match coordination is a readable log, not a wall of decorative bubbles. */
.match-chat-workspace{width:100%;min-width:0;border-block:1px solid #fafafa1c;margin:12px 0 24px;color:#fafafa;font-family:var(--sans)}
.match-chat-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid #fafafa14;min-width:0}
.match-chat-workspace-heading>div{min-width:0}.match-chat-workspace-heading h2{margin:0;font-family:var(--sans);font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.3px}
.match-chat-workspace-heading p{margin:8px 0 0;font-size:12px;line-height:1.5;color:#b8babc;overflow-wrap:anywhere}.match-chat-workspace-heading p>span{margin:0 5px;color:#7f8588}
.match-chat-local-label{font-size:11px;line-height:1.5;color:#aeb0b3;white-space:nowrap}
.match-chat-workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:28px;min-width:0}
.match-chat-main{display:flex;flex-direction:column;min-width:0;min-height:0}
.match-chat-thread{height:clamp(260px,calc(100dvh - 400px),480px);min-height:160px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555 transparent;padding:24px 20px 24px 0;min-width:0}
.match-chat-thread-note{display:block;padding:0 0 24px;font-size:11px;line-height:1.6;color:#aeb0b3}
.match-chat-group{margin:0 0 24px;min-width:0}.match-chat-group:last-child{margin-bottom:0}
.match-chat-group>header{display:flex;align-items:center;gap:10px;margin:0 0 8px;min-height:28px;min-width:0}
.match-chat-avatar{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#333536;color:#cfd2d3;flex:none;font-size:12px;font-weight:500;line-height:1}
.match-chat-group.is-self .match-chat-avatar{background:#303c30;color:var(--lime)}
.match-chat-group>header>strong{font-size:13px;font-weight:500;line-height:1.5;color:#fafafa;overflow-wrap:anywhere}
.match-chat-group>header>span:last-child{font-size:11px;line-height:1.5;color:#aeb0b3}
.match-chat-group-lines{margin-left:38px;border-left:1px solid #fafafa14;padding-left:16px;min-width:0}
.match-chat-message{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid #fafafa0b;min-width:0}.match-chat-message:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.match-chat-message-body>p{font-size:14px;line-height:1.65;letter-spacing:0;color:#e8e9e9;white-space:pre-wrap;overflow-wrap:anywhere;max-width:74ch;margin:0}
.match-chat-message>footer{display:flex;align-items:center;gap:12px;min-height:32px;margin-top:4px;flex-wrap:wrap;font-size:11px;line-height:1.5;color:#aeb0b3}
.match-chat-message>footer>time{font-variant-numeric:tabular-nums;color:#999fa2}.match-chat-message>footer>span{font-size:11px;line-height:1.5;color:#aeb0b3}
.match-chat-reply-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;margin-left:auto;padding:0 4px;font-size:11px;line-height:1.5;color:#b8bdc0}
.match-chat-icon{display:block;flex:none;width:16px;height:16px;color:inherit}
.match-chat-reply-action .match-chat-icon{width:14px;height:14px}
.match-chat-message>blockquote{border:0;border-left:2px solid #737d73;background:#222522;margin:0 0 12px;padding:10px 12px;min-width:0}
.match-chat-message>blockquote>span{display:block;font-size:11px;line-height:1.5;color:#b9c2b9;margin-bottom:4px}
.match-chat-message>blockquote>p{font-size:12px;line-height:1.5;color:#c5cbc5;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:58px;overflow:auto}
.match-chat-message-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;min-width:0}
.match-chat-message-files>button{display:flex;align-items:center;gap:10px;min-height:52px;max-width:100%;min-width:0;padding:10px 12px;border:1px solid #fafafa20;border-radius:6px;background:#252727;text-align:left}
.match-chat-message-files>button>span{display:block;min-width:0}.match-chat-message-files strong{display:block;font-size:12px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}.match-chat-message-files small{display:block;font-size:11px;line-height:1.4;color:#aeb0b3;margin-top:4px}
.match-chat-inspector{min-width:0;border-left:1px solid #fafafa14;padding:20px 0 0 24px}
.match-chat-participants>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;line-height:1.5;color:#e4e6e7;list-style:none;cursor:pointer}
.match-chat-participants>summary::-webkit-details-marker{display:none}.match-chat-participants>summary>b{font-size:11px;line-height:1.5;font-weight:400;color:#aeb0b3;margin-left:auto}.match-chat-participants>summary>.match-chat-icon:last-child{width:12px;height:12px}
.match-chat-participants[open]>summary>.match-chat-icon:last-child{transform:rotate(180deg)}
.match-chat-participants ul{padding:0;margin:12px 0 0;list-style:none}.match-chat-participants li{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 0;border-bottom:1px solid #fafafa0c;min-width:0}
.match-chat-participants li>div{min-width:0}.match-chat-participants strong{display:block;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.match-chat-participants li span:not(.match-chat-avatar){display:block;font-size:11px;line-height:1.4;color:#aeb0b3;margin-top:3px}
.match-chat-participants>div>p{font-size:11px;line-height:1.6;color:#aeb0b3;margin:16px 0 0}.match-chat-participants .match-chat-participants-empty{font-size:12px;line-height:1.5;color:#aeb0b3}
.match-chat-reference{border-top:1px solid #fafafa14;margin-top:24px;padding-top:20px}.match-chat-reference>span{font-size:11px;line-height:1.5;color:#aeb0b3}.match-chat-reference>strong{display:block;font-size:11px;line-height:1.6;font-weight:400;color:#d0d3d5;overflow-wrap:anywhere;margin-top:8px;font-variant-numeric:tabular-nums}.match-chat-reference>p{font-size:11px;line-height:1.5;color:#aeb0b3;margin:8px 0 0}
.match-chat-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:16px 0;border-bottom:1px solid #fafafa20}
.match-chat-banner strong{display:block;font-size:13px;font-weight:500;line-height:1.5;color:#fafafa}.match-chat-banner span{display:block;font-size:12px;line-height:1.6;color:#b8bdc0;margin-top:4px}
.match-chat-banner>button{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;padding:0 12px;font-size:12px;line-height:1.4;border:1px solid #fafafa26;border-radius:6px;color:#e4e6e7}
.match-chat-banner.is-readonly{display:block}.match-chat-readonly-footer{font-size:12px;line-height:1.6;color:#aeb0b3;padding:20px 0;border-top:1px solid #fafafa18}
.match-chat-composer{min-width:0;border-top:1px solid #fafafa20;padding-top:16px;background:var(--bg,#1a1a1a)}
.match-chat-compose-form{min-width:0;margin:0}.match-chat-compose-form>textarea{display:block;width:100%;min-width:0;min-height:76px;max-height:144px;resize:vertical;overflow-y:auto;margin:0;padding:14px 16px;background:#232525;border:1px solid #fafafa24;border-radius:8px;font-family:var(--sans);font-size:14px;line-height:1.5;letter-spacing:0;color:#fafafa;white-space:pre-wrap}
.match-chat-compose-form>textarea:focus-visible{outline:2px solid #8aff8080;outline-offset:2px}
.match-chat-compose-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;min-width:0}.match-chat-compose-tools>div{display:flex;align-items:center;gap:12px;min-width:0}
.match-chat-attach{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 8px;font-size:12px;line-height:1.4;color:#d6d9db;border-radius:6px}
.match-chat-key-hint{font-size:11px;line-height:1.5;color:#8e969a;white-space:nowrap}
.match-chat-send{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 16px;border:1px solid var(--lime);border-radius:6px;background:var(--lime);color:#131613;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;flex:none}
.match-chat-send:disabled{opacity:.4;cursor:not-allowed}
.match-chat-compose-note{font-size:11px;line-height:1.5;color:#aeb0b3;margin:10px 0 0}.match-chat-feedback{font-size:12px;line-height:1.5;color:#c6d8c6;margin:0;min-height:0}.match-chat-feedback:not(:empty){padding:12px 0}.match-chat-feedback.is-error{color:#e8d6bd}
.match-chat-reply-context{display:flex;align-items:center;gap:12px;padding:10px 12px;margin-bottom:12px;border-left:2px solid #8aff8070;background:#242824;min-width:0}.match-chat-reply-context>div{flex:1;min-width:0}.match-chat-reply-context span{display:block;font-size:11px;line-height:1.5;color:#c7d5c7}.match-chat-reply-context p{font-size:12px;line-height:1.5;color:#c5cbc5;margin:4px 0 0;max-height:38px;overflow:auto;overflow-wrap:anywhere}.match-chat-reply-context>button{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:6px;color:#c5cbc5}
.match-chat-draft-files{display:flex;gap:8px;flex-wrap:wrap;max-height:136px;overflow-y:auto;margin:12px 0 0;min-width:0}
.match-chat-draft-files>span{display:flex;align-items:center;max-width:100%;min-width:0;border:1px solid #fafafa20;border-radius:6px;background:#222525}
.match-chat-draft-files>span>button:first-child{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;min-width:0;font-size:12px;text-align:left;color:#e1e4e5}.match-chat-draft-files>span>button:first-child>span{display:block;max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.match-chat-draft-files small{font-size:11px;line-height:1.5;color:#aeb0b3;white-space:nowrap}
.match-chat-draft-files>span>button:last-child{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;color:#aeb0b3;border-left:1px solid #fafafa14}
.match-chat-file-review{position:relative;border-top:1px solid #fafafa20;padding:16px 0 20px;min-width:0}.match-chat-file-review>div{padding-right:44px;min-width:0}.match-chat-file-review>div>span{font-size:11px;line-height:1.5;color:#aeb0b3}.match-chat-file-review h3{font-size:15px;font-weight:500;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.match-chat-file-review>button{position:absolute;top:10px;right:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:6px;color:#b8bdc0}.match-chat-file-review dl{margin:12px 0;display:flex;gap:24px;flex-wrap:wrap}.match-chat-file-review dl>div{min-width:0}.match-chat-file-review dt{font-size:11px;line-height:1.5;color:#aeb0b3}.match-chat-file-review dd{font-size:12px;line-height:1.5;color:#e1e4e5;margin-top:4px;overflow-wrap:anywhere}.match-chat-file-review>p{font-size:11px;line-height:1.6;color:#aeb0b3;margin:0;max-width:62ch}
.match-chat-send-review{min-width:0}.match-chat-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.match-chat-review-heading>h3{font-size:16px;font-weight:500;line-height:1.4;letter-spacing:0;margin:0}.match-chat-review-heading>button{font-size:12px;line-height:1.4;color:#c5cbc5;min-height:44px;padding:0 4px;flex:none}.match-chat-review-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;color:#e4e7e8;margin:0 0 12px;max-height:150px;overflow:auto}.match-chat-review-reply{font-size:11px;line-height:1.5;color:#aeb0b3;margin:0 0 8px}.match-chat-send-review>ul{list-style:none;padding:0;margin:0 0 12px;max-height:150px;overflow-y:auto}.match-chat-send-review li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #fafafa14;min-width:0}.match-chat-send-review li>span{display:block;min-width:0}.match-chat-send-review li strong{display:block;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.match-chat-send-review li small{display:block;font-size:11px;line-height:1.5;color:#aeb0b3;margin-top:4px}.match-chat-review-note{font-size:11px;line-height:1.6;color:#aeb0b3;margin:0 0 14px}
.match-chat-loading,.match-chat-empty{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;min-height:240px;max-width:420px;padding:24px 0;color:#aeb0b3}.match-chat-loading>span{font-size:13px;line-height:1.6;color:#e1e4e5}.match-chat-loading>div{display:grid;gap:12px;width:min(340px,100%);margin:24px 0}.match-chat-loading i{display:block;height:12px;background:#303434;border-radius:2px}.match-chat-loading i:nth-child(2){width:84%}.match-chat-loading i:nth-child(3){width:65%}
.match-chat-empty-mark{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #fafafa20;border-radius:8px;margin-bottom:16px;color:#b8bdc0}.match-chat-empty h3{font-size:20px;line-height:1.3;letter-spacing:-.2px;font-weight:500;color:#fafafa;margin:0 0 12px}.match-chat-empty p{font-size:13px;line-height:1.7;color:#aeb0b3;margin:0 0 12px}.match-chat-text-action{font-size:12px;line-height:1.5;color:#d6dfd6;min-height:44px;text-align:left;padding:0}
.match-chat-preview-states{padding:12px 0 16px;border-top:1px solid #fafafa14;margin-top:16px}.match-chat-preview-states>summary{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;color:#aeb0b3;min-height:44px;cursor:pointer;list-style:none}.match-chat-preview-states>summary::-webkit-details-marker{display:none}.match-chat-preview-states>summary>.match-chat-icon{width:12px;height:12px}.match-chat-preview-states>div{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.match-chat-preview-states button{min-height:44px;padding:0 12px;border:1px solid #fafafa20;border-radius:6px;font-size:12px;line-height:1.4;color:#d6d9db}.match-chat-preview-states>p{font-size:11px;line-height:1.6;color:#aeb0b3;margin:12px 0 0;max-width:70ch}
.match-chat-unavailable{padding:24px 0}.match-chat-unavailable h2{font-size:22px;line-height:1.3;font-weight:500}.match-chat-unavailable p{font-size:13px;line-height:1.6;color:#aeb0b3;margin-top:12px}
@media(min-width:901px){.match-chat-participants>div{display:block!important}.match-chat-participants>summary>.match-chat-icon:last-child{display:none}.match-chat-participants>summary{pointer-events:none}}
@media(max-width:900px){
 .match-chat-workspace{margin:8px 0 20px}.match-chat-workspace-heading{padding:16px 0;gap:12px;align-items:flex-start}.match-chat-workspace-heading h2{font-size:21px;line-height:1.2}.match-chat-workspace-heading p{font-size:12px;line-height:1.5;margin-top:6px}.match-chat-local-label{font-size:11px;padding-top:3px}
 .match-chat-workspace-grid{display:flex;flex-direction:column;gap:0;min-width:0}.match-chat-inspector{order:0;border-left:0;padding:0;border-bottom:1px solid #fafafa14}.match-chat-main{order:1}
 .match-chat-reference{display:none}.match-chat-participants>summary{font-size:12px;min-height:44px}.match-chat-participants>div{padding:0 0 16px}.match-chat-participants ul{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:4px}.match-chat-participants li{gap:8px;min-height:56px}.match-chat-participants strong{font-size:12px}.match-chat-participants>div>p{margin-top:12px}
 .match-chat-thread{height:clamp(180px,calc(100dvh - 424px),340px);min-height:120px;padding:20px 0;overscroll-behavior:contain}
 .match-chat-thread-note{padding-bottom:20px;font-size:11px;line-height:1.5}.match-chat-group{margin-bottom:20px}.match-chat-group>header{gap:8px;margin-bottom:8px}.match-chat-group>header>strong{font-size:13px}.match-chat-group>header>span:last-child{font-size:11px}
 .match-chat-group-lines{margin-left:14px;padding-left:12px}.match-chat-message-body>p{font-size:14px;line-height:1.6}.match-chat-message>footer{gap:4px 10px;min-height:36px;margin-top:4px}.match-chat-message>footer>span{font-size:11px}.match-chat-reply-action{min-height:44px;padding:0 0 0 4px;font-size:11px}.match-chat-message{padding-bottom:12px;margin-bottom:12px}
 .match-chat-composer{padding-top:12px;position:sticky;bottom:0;z-index:1}.match-chat-compose-form>textarea{font-size:16px;line-height:1.5;min-height:64px;padding:12px;max-height:128px}
 .match-chat-compose-tools{gap:8px;margin-top:8px}.match-chat-compose-tools>div{gap:8px}.match-chat-attach{padding:0 4px;gap:6px;font-size:12px;min-height:44px}.match-chat-key-hint{display:none}.match-chat-send{min-height:44px;gap:8px;padding:0 12px;font-size:12px}.match-chat-compose-note{margin-top:8px;font-size:11px;line-height:1.5}.match-chat-feedback:not(:empty){padding:10px 0;font-size:12px}
 .match-chat-reply-context{gap:8px;padding:8px 10px;margin-bottom:10px}.match-chat-reply-context p{max-height:36px}.match-chat-reply-context>button{width:44px;height:44px}
 .match-chat-banner{gap:12px;padding:12px 0;align-items:flex-start}.match-chat-banner strong{font-size:12px}.match-chat-banner span{font-size:11px;line-height:1.5}.match-chat-banner>button{font-size:11px;gap:6px;padding:0 10px;min-height:44px}
 .match-chat-draft-files{gap:8px;margin-top:10px;max-height:120px}.match-chat-draft-files>span{width:100%}.match-chat-draft-files>span>button:first-child{flex:1;max-width:calc(100% - 44px);padding:0 8px;font-size:12px;gap:6px}.match-chat-draft-files>span>button:first-child>span{flex:1;max-width:none;min-width:0}.match-chat-draft-files small{font-size:11px}
 .match-chat-file-review{padding:12px 0 16px}.match-chat-file-review h3{font-size:14px}.match-chat-file-review dl{gap:12px 20px}.match-chat-message-files>button{width:100%;padding:10px;gap:8px}.match-chat-message-files strong{font-size:12px}.match-chat-message-files small{font-size:11px}
 .match-chat-review-heading{gap:8px;margin-bottom:8px}.match-chat-review-heading>h3{font-size:15px}.match-chat-review-heading>button{font-size:11px;min-height:44px}.match-chat-review-text{font-size:14px;line-height:1.5;max-height:112px}.match-chat-review-note{font-size:11px;line-height:1.5}.match-chat-send-review>ul{max-height:136px}.match-chat-send-review li{gap:8px}.match-chat-send-review .match-chat-send{width:100%}
 .match-chat-loading,.match-chat-empty{min-height:180px;padding:16px 0}.match-chat-empty h3{font-size:20px}.match-chat-empty p{font-size:13px;line-height:1.6}.match-chat-preview-states{margin-top:12px;padding:8px 0 12px}.match-chat-preview-states>div{gap:8px}.match-chat-preview-states button{font-size:11px;padding:0 10px}
}
@media(max-width:360px){.match-chat-participants ul{grid-template-columns:1fr}.match-chat-local-label{max-width:80px;text-align:right;white-space:normal}.match-chat-banner.is-error{flex-direction:column}.match-chat-message>footer{column-gap:8px}.match-chat-message>footer>span{max-width:150px}.match-chat-group>header{flex-wrap:wrap}.match-chat-group>header>span:last-child{font-size:11px}.match-chat-send{font-size:11px;gap:6px;padding-inline:10px}}
@media(max-height:650px) and (max-width:900px){.match-chat-thread{height:180px;min-height:112px}.match-chat-compose-form>textarea{min-height:48px;max-height:96px}.match-chat-compose-note{font-size:11px;line-height:1.4}.match-chat-reply-context p{max-height:20px}}
@media(prefers-reduced-motion:reduce){.match-chat-workspace *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep the sticky composer above the persistent mobile navigation. */
@media(max-width:900px){
 .match-chat-workspace .match-chat-composer{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
 .match-chat-workspace :is(textarea,button){scroll-margin-block:80px calc(96px + env(safe-area-inset-bottom,0px))}
}
