.chat-room,.chat-settings{font-family:Arial,Helvetica,sans-serif;color:#182941;max-width:1180px;margin:0 auto;padding:clamp(18px,3vw,36px);background:#fff}.chat-room *,.chat-settings *{box-sizing:border-box;border-radius:0!important}.chat-room button,.chat-settings button,.chat-room summary,.chat-settings summary{cursor:pointer}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.chat-room h1{font-family:inherit!important;font-size:clamp(28px,4vw,42px)!important;line-height:1.15;margin:0}.chat-room h2{font-family:inherit!important;font-size:20px!important;line-height:1.3;margin:0 0 16px}.chat-room p{line-height:1.55}.chat-room .eyebrow{color:#2457b8;font-size:12px;font-weight:700;letter-spacing:.13em}.chat-rules{padding:15px 18px;border:1px solid #ccd9ec;background:#f4f7fc;margin-bottom:20px}.chat-rules summary{font-weight:700}.chat-rules p,.chat-text{white-space:pre-wrap;overflow-wrap:anywhere}.chat-entry{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}.chat-entry-form,.chat-account-entry,.chat-profile-choice{padding:24px;border:1px solid #d6dfec;display:grid;align-content:start;gap:16px}.chat-entry-form p,.chat-account-entry p{margin:0}.chat-entry .chat-profile-choice:has(+.chat-entry-form){grid-column:1/-1}.chat-entry-form .check-line{align-items:flex-start}.chat-room .field{display:grid;gap:8px}.chat-room input:not([type=checkbox]),.chat-room textarea,.chat-room select{width:100%;min-width:0;background:#fff;border:1px solid #b7c7dc;padding:12px;font:inherit;color:#182941}.chat-room textarea{resize:vertical}.chat-room input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#1959e8}.chat-room .check-line{display:flex;gap:10px;font-size:14px;line-height:1.5}.chat-room .button,.chat-settings .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;font-family:inherit;font-size:14px;font-weight:700;text-decoration:none;border:1px solid #1959e8;background:#fff;color:#164ab7;min-height:44px}.chat-room .button.primary,.chat-settings .button.primary{background:#1959e8;color:#fff}.chat-room .button:disabled{opacity:.55;cursor:wait}.chat-room :focus-visible,.chat-settings :focus-visible{outline:3px solid #6495ef;outline-offset:3px}.chat-room .muted,.chat-settings .muted{font-size:13px;color:#5a6b80}.chat-trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.chat-status,.chat-notice{padding:12px 16px;background:#edf3ff;border-left:3px solid #1959e8;font-size:14px}.chat-status[data-error=true]{background:#fff2ef;border-color:#b23d27;color:#842c1d}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;border:1px solid #cbd8ea}.chat-main{min-width:0}.chat-messages{height:420px;max-height:55vh;overflow:auto;overscroll-behavior:contain;padding:20px;background:#fff;scrollbar-gutter:stable}.chat-line{padding:10px 0;border-bottom:1px solid #edf0f6;overflow-wrap:anywhere}.chat-line header{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:14px}.chat-line strong{color:#124a9c}.chat-line time,.chat-kind{color:#657389;font-size:11px;font-weight:400}.chat-line p{white-space:pre-wrap;margin:5px 0 0;font-size:15px}.chat-compose{padding:18px;background:#f5f8fd;border-top:1px solid #cbd8ea;display:grid;gap:12px}.chat-compose>p{margin:0;font-size:14px}.chat-compose-actions{display:flex;justify-content:space-between;align-items:center;gap:16px}.chat-people{padding:20px;border-left:1px solid #cbd8ea;background:#f5f8fd;min-width:0}.chat-people h2{display:flex;align-items:center;justify-content:space-between}.chat-people h2 span{background:#1959e8;color:#fff;padding:3px 8px;font-size:14px}.chat-people ul{list-style:none;padding:0;margin:0;max-height:480px;overflow:auto}.chat-people li{padding:12px 0;border-bottom:1px solid #dce4ef;overflow-wrap:anywhere;font-weight:700;font-size:14px}.chat-people small{display:block;font-size:11px;color:#657389;margin-top:3px;font-weight:400}.chat-settings{display:grid;gap:20px;margin-bottom:24px;max-width:none}.chat-setting-grid{display:grid;grid-template-columns:1fr 180px;gap:24px}.chat-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.chat-moderation-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #dde5ef;min-width:0}.chat-moderation-row>div{min-width:0}.chat-moderation-row form{flex-shrink:0}.chat-moderation-row p{margin:8px 0}.chat-room [hidden]{display:none!important}@media(max-width:700px){.chat-entry,.chat-layout,.chat-setting-grid{grid-template-columns:1fr}.chat-heading{flex-wrap:wrap}.chat-entry-form,.chat-account-entry,.chat-profile-choice{padding:18px}.chat-people{border-left:0;border-top:1px solid #cbd8ea}.chat-people ul{max-height:160px;display:flex;flex-wrap:wrap;gap:4px 18px}.chat-people li{border:0;padding:4px 0}.chat-compose-actions{align-items:flex-start}.chat-compose-actions .muted{max-width:65%}.chat-moderation-row{flex-direction:column}.chat-messages{padding:14px;height:360px}.chat-room{padding:18px 12px}}
.chat-line-private{background:#edf3ff;border-left:3px solid #1959e8;padding:12px;margin:8px 0}.chat-reserved{display:block;flex-basis:100%;font-size:12px;font-weight:700;color:#164ab7}.chat-person{font:inherit;text-align:left;color:#164ab7;background:transparent;border:0;padding:4px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere;max-width:100%}.chat-person{font-weight:700}.chat-audience-note{font-size:13px;margin:8px 0 0;color:#164ab7;overflow-wrap:anywhere}.chat-audience-note[data-error=true]{color:#842c1d}.chat-compose[data-private=true]{border-top:3px solid #1959e8}.chat-compose-actions .button{flex-shrink:0}.chat-compose select{cursor:pointer}@media(max-width:480px){.chat-compose-actions{flex-wrap:wrap}.chat-compose-actions .muted{max-width:100%}}
.chat-layout{grid-template-columns:minmax(0,1fr) 280px;grid-template-areas:"messages sidebar" "compose sidebar";grid-template-rows:minmax(0,1fr) auto}.chat-messages{grid-area:messages;height:auto;min-height:clamp(380px,58vh,560px);max-height:none;contain:size}.chat-compose{grid-area:compose;align-content:start}.chat-sidebar{grid-area:sidebar;min-width:0;padding:20px;display:grid;gap:22px;align-content:start;border-left:1px solid #cbd8ea;background:#f5f8fd}.chat-identity{display:grid;gap:4px;overflow-wrap:anywhere}.chat-identity>strong{font-size:19px;color:#182941}.chat-sidebar .field{font-size:14px;font-weight:700}.chat-sidebar select{font-size:14px;padding:10px}.chat-private-choice{margin-top:12px;align-items:center}.chat-sidebar .chat-people{padding:0;border:0;background:transparent}.chat-sidebar .chat-people h2{font-size:17px!important;margin-bottom:6px}.chat-sidebar .chat-people ul{max-height:160px}.chat-sidebar .chat-people li{padding:8px 0}.chat-sidebar .chat-people>p{margin:10px 0 0}.chat-sidebar fieldset{border:0;padding:0;margin:0;min-inline-size:0}.chat-sidebar legend{font-size:14px;font-weight:700;padding:0;margin-bottom:10px}.chat-face-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.chat-face-choice{position:relative;display:grid;place-items:center;min-height:40px;border:1px solid #bdcde3;background:#fff;cursor:pointer}.chat-face-choice input{position:absolute;opacity:0;width:1px!important;height:1px!important}.chat-face-choice:has(input:checked){outline:2px solid #1959e8;outline-offset:-2px;background:#dfebff}.chat-face-choice:has(input:focus-visible){outline:3px solid #164ab7;outline-offset:2px}.chat-face-choice:has(input:disabled){opacity:.6}.chat-face-none>span{font-size:25px;line-height:1;color:#687b94}.chat-sounds .check-line{font-size:13px;align-items:flex-start;margin:0 0 10px}.chat-sounds .check-line input{width:16px;height:16px;margin:2px 0 0}.chat-sounds>p{font-size:11px!important;line-height:1.5;margin:0}.chat-message-face{display:inline-flex;flex-shrink:0;align-self:center}.chat-message-face .chat-face{width:28px;height:28px}.chat-addressed{display:block;flex-basis:100%;font-size:12px;color:#51657d}.chat-line-unread{border-left-width:5px;background:#dfebff}.chat-incoming{display:flex;align-items:center;justify-content:space-between;gap:16px;border:2px solid #1959e8;background:#e8f0ff;padding:16px 18px;margin:12px 0;color:#123f94;overflow-wrap:anywhere}.chat-incoming>div{min-width:0}.chat-incoming strong{font-size:16px}.chat-incoming .button{flex-shrink:0}.chat-incoming-senders{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:6px}.chat-incoming-reply{font:inherit;font-size:13px;font-weight:700;color:#164ab7;text-align:left;background:transparent;border:0;padding:4px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere;max-width:100%}
@media(max-width:800px){.chat-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"messages" "sidebar" "compose";grid-template-rows:auto}.chat-sidebar{border-left:0;border-top:1px solid #cbd8ea;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:16px}.chat-identity,.chat-sidebar>[data-chat-audience],.chat-sidebar .chat-people{grid-column:1/-1}.chat-sidebar .chat-people ul{display:flex;flex-wrap:wrap;gap:4px 16px;max-height:120px}.chat-sidebar .chat-people li{border:0}.chat-face-options{grid-template-columns:repeat(4,minmax(0,1fr))}.chat-face{width:27px;height:27px}.chat-face-choice{min-height:35px}.chat-messages{height:40vh;min-height:260px;max-height:420px}.chat-incoming{flex-wrap:wrap}.chat-compose{padding:16px}}
.chat-presence{display:flex;align-items:baseline;gap:10px;margin:8px 0;padding:8px 12px;border-left:2px solid #91add5;background:#f4f7fc;color:#51657d;font-size:13px;overflow-wrap:anywhere}.chat-presence time{flex-shrink:0;font-size:11px;color:#657389}.chat-presence strong{color:#124a9c}.chat-presence[data-presence=left]{background:#f8f9fb;border-left-color:#c2cbd8}

.chat-room{max-width:none;padding-inline:0}
.chat-sound-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:6px}
.chat-sound-option .check-line{margin:0;align-items:center}
.chat-sound-play{font:inherit;font-size:12px;line-height:1.5;white-space:nowrap;padding:2px 0;border:0;background:transparent;color:#164ab7;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.chat-sound-play:hover{color:#0c3482}
.chat-sound-play:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:480px){.chat-sidebar{grid-template-columns:minmax(0,1fr)}.chat-face-options{grid-template-columns:repeat(5,minmax(0,1fr))}}
