.communication-history-dialog{color:#e7edf0;background:#111a20;border:1px solid #40545e;border-radius:16px;padding:0;width:min(940px,calc(100vw - 32px));max-width:940px;height:min(820px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);box-shadow:0 24px 80px #0009;overflow:hidden}
.communication-history-dialog[open]{display:flex;flex-direction:column}.communication-history-dialog::backdrop{background:#060c12ba;backdrop-filter:blur(3px)}
.communication-history-dialog *{box-sizing:border-box}.communication-history-dialog header{display:flex;align-items:start;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #30424d;gap:16px;flex-shrink:0}.communication-history-dialog header small{letter-spacing:.12em;color:#9ab5c2;font-size:11px}.communication-history-dialog h2{font-size:26px;margin:4px 0 6px}.communication-history-dialog header p{margin:0;color:#bacbd2;font-size:14px;overflow-wrap:anywhere}
.communication-history-dialog button,.communication-history-dialog select{color:#e7edf0;background:#20323d;border:1px solid #47606e;border-radius:7px;font:inherit;font-size:14px;min-height:40px;padding:8px 14px;cursor:pointer}.communication-history-dialog button:hover{background:#2c4351}.communication-history-dialog button:disabled{opacity:.55;cursor:wait}.communication-history-dialog button:focus-visible,.communication-history-dialog select:focus-visible,.communication-history-dialog summary:focus-visible{outline:3px solid #b3ef4b;outline-offset:3px}.communication-history-dialog .communication-close{font-size:24px;padding:0;width:40px;flex-shrink:0}
.communication-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 26px;border-bottom:1px solid #30424d;flex-shrink:0}.communication-tools label{display:flex;align-items:center;gap:12px;font-size:13px;color:#bacbd2}.communication-tools select{max-width:100%;min-width:220px}.communication-events{padding:8px 26px 22px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.communication-event{padding:20px 0;border-bottom:1px solid #30424d}.communication-event-top,.communication-event-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.communication-event-top{font-size:12px;color:#9fb4c0;flex-wrap:wrap}.communication-category{font-weight:700;color:#c1dfec}.communication-event-title h3{font-size:16px;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}.communication-event-title strong{white-space:nowrap;font-size:18px;color:#c5f46a}.communication-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#aebfc8;overflow-wrap:anywhere}.communication-status{background:#293c45;color:#e4edf2;padding:3px 8px;border-radius:5px}.communication-status.failed{background:#632d34;color:#ffe1e5}.communication-event details{margin-top:12px}.communication-event summary{color:#c3e77b;font-size:13px;cursor:pointer;padding:5px 0}.communication-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px;padding:14px 16px;background:#0c141a;border:1px solid #293d49;border-radius:8px;margin-top:8px}.communication-error{background:#fff1f2;border:2px solid #dc2626;border-radius:8px;color:#991b1b;padding:14px;margin:14px 0}.communication-error button{margin-left:12px}.communication-empty,.communication-loading{padding:24px 0;color:#b5c7d0}.communication-more{display:block;margin:20px auto 0}.communication-history-dialog footer{border-top:1px solid #30424d;padding:14px 26px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.communication-history-dialog footer span{font-size:12px;color:#b5c7d0}
@media(max-width:600px){.communication-history-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.communication-history-dialog header{padding:16px}.communication-tools{padding:12px 16px;gap:8px}.communication-tools label{gap:6px;min-width:0;flex:1}.communication-tools select{min-width:0;width:100%;font-size:13px;padding:8px}.communication-events{padding:4px 16px 16px}.communication-event-title{flex-wrap:wrap;gap:0}.communication-event-title strong{margin-bottom:8px}.communication-history-dialog footer{padding:12px 16px}.communication-event-top time{font-size:11px}}
