.project-chat-panel{margin-top:32px;border:1px solid var(--line,#cbd5df);border-radius:18px;background:var(--paper,#fff);padding:28px;color:var(--ink,#17303e)}
.project-chat-panel h2{margin-top:0}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.chat-heading h2{margin-bottom:0}.chat-disclosure{background:#edf5f8;padding:18px;border-radius:12px;color:#17303e;font-size:1rem;line-height:1.65}.chat-log{list-style:none;margin:22px 0;padding:0;max-height:520px;overflow:auto;overscroll-behavior:contain}.chat-message{border:1px solid #d6e0e5;background:#f7fafb;border-radius:12px;padding:18px;margin:0 0 16px;overflow-wrap:anywhere}.chat-message[data-role=administrator]{background:#edf6f3;border-color:#7ba89b}.chat-message-meta{display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap;font-size:.94rem;color:#415666}.chat-message-author{font-weight:750;color:#163a49}.chat-message-body{white-space:pre-wrap;line-height:1.65;margin:12px 0 0;font-size:1.06rem}.chat-empty{padding:20px;border:1px dashed #adc0ca;border-radius:12px}.chat-compose{display:grid;gap:12px}.chat-compose label{font-weight:700}.chat-compose textarea{width:100%;min-height:120px;resize:vertical;font:inherit;line-height:1.6;padding:14px;border:1px solid #91a9b6;border-radius:10px;box-sizing:border-box}.chat-consent{display:flex;gap:12px;align-items:flex-start;font-weight:400!important;line-height:1.6}.chat-consent input{width:22px;height:22px;flex:none;margin-top:3px;accent-color:#176657}.chat-compose-footer{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}.chat-compose-footer .button{min-height:48px}.chat-status{min-height:1.6em}.chat-monitor-toolbar{display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:28px;align-items:center}.chat-monitor-toolbar label{grid-column:1/-1;font-weight:700}.chat-monitor-toolbar select{min-height:48px;padding:12px;max-width:100%;min-width:0;border:1px solid #91a9b6;border-radius:10px;font:inherit}.project-chat-panel :focus-visible,.chat-monitor-toolbar :focus-visible{outline:3px solid #b85b00;outline-offset:4px}.chat-compose fieldset{border:0;padding:0;margin:0;display:contents}.chat-compose fieldset:disabled{opacity:.7}
@media(max-width:600px){.project-chat-panel{padding:20px 16px}.chat-monitor-toolbar{grid-template-columns:1fr}.chat-message{padding:14px}.chat-log{max-height:440px}.chat-heading .button{width:100%}}

.chat-review-purpose{max-width:680px;margin-bottom:24px}.chat-review-purpose label{display:block;font-weight:700;margin-bottom:8px}.chat-review-purpose select{width:100%;min-height:44px;border:1px solid #b9c5d2;border-radius:8px;padding:10px;background:#fff;color:#102b4e;font:inherit}
