.dcc-shell { min-height: 100vh; background: #f7f9fc; color: #142843; font: 16px/1.45 Inter, system-ui, sans-serif; }
.dcc-top { min-height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 32px; background: #fff; border-bottom: 1px solid #dce5f0; }
.dcc-top a { color: #0867e8; }
.dcc-top a:first-child { margin-right: auto; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.dcc-heading, .dcc-layout, .dcc-footer { max-width: 1180px; margin-inline: auto; }
.dcc-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px 20px; }
.dcc-heading h1 { margin: 3px 0; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.dcc-heading span, .dcc-panel-title span, .dcc-thread span, .dcc-thread small, .dcc-conversation header p, .dcc-compose p { color: #687991; }
.dcc-safe { display: grid; gap: 2px; max-width: 330px; padding: 14px 18px; border: 1px solid #8bbcf5; border-radius: 14px; background: #edf6ff; }
.dcc-layout { display: grid; grid-template-columns: minmax(240px, 28%) minmax(0, 1fr) minmax(210px, 24%); min-height: 610px; margin-bottom: 28px; padding-inline: 30px; }
.dcc-threads, .dcc-conversation, .dcc-context { background: #fff; border: 1px solid #dce5f0; }
.dcc-threads { border-radius: 18px 0 0 18px; overflow: hidden; }
.dcc-search { display: grid; gap: 6px; padding: 12px; color: #535353; font-size: .75rem; }
.dcc-search input { min-height: 38px; border: 1px solid #e2e8f0; border-radius: 7px; background: #f8fafc; }
.dcc-threads nav { display: flex; gap: 2px; overflow-x: auto; padding: 8px; border-block: 1px solid #e6e6e6; }
.dcc-threads nav button { min-height: 32px; padding: 4px 9px; border: 0; border-radius: 5px; background: #fff; color: #62748e; }
.dcc-threads nav button:first-child { background: #155dfc; color: #fff; }
.dcc-conversation { display: grid; grid-template-rows: auto 1fr auto; border-left: 0; border-right: 0; overflow: hidden; }
.dcc-context { display: grid; align-content: center; border-radius: 0 18px 18px 0; }
.dcc-panel-title, .dcc-conversation > header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #e4ebf3; }
.dcc-panel-title h2, .dcc-conversation h2 { margin: 0; font-size: 1.05rem; }
.dcc-thread { width: 100%; min-height: 84px; display: grid; gap: 3px; padding: 14px 18px; border: 0; border-bottom: 1px solid #e8edf4; background: #fff; color: #203650; text-align: left; }
.dcc-thread.is-selected { background: #edf6ff; box-shadow: inset 4px 0 #0867e8; }
.dcc-thread:disabled { opacity: 1; }
.dcc-status { padding: 7px 10px; border-radius: 999px; background: #e9f8ef; color: #167545; font-size: .8rem; font-weight: 750; }
.dcc-messages { display: flex; flex-direction: column; gap: 12px; padding: 22px; overflow-y: auto; }
.dcc-message { max-width: min(76%, 560px); padding: 13px 15px; border-radius: 14px; background: #f0f4f9; }
.dcc-message[data-direction="OUTBOUND"] { align-self: flex-end; background: #e9f3ff; }
.dcc-message header { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; }
.dcc-message p { margin: 8px 0; white-space: pre-wrap; }
.dcc-message footer { color: #687991; font-size: .78rem; text-align: right; }
.dcc-empty, .dcc-conversation-empty { display: grid; place-items: center; align-content: center; min-height: 270px; padding: 28px; text-align: center; }
.dcc-empty span { font-size: 2.5rem; color: #0867e8; }
.dcc-empty h2, .dcc-conversation-empty h2 { margin: 12px 0 4px; font-size: 1.1rem; }
.dcc-empty p, .dcc-conversation-empty p { margin: 0; color: #687991; }
.dcc-compose { padding: 16px 20px; border-top: 1px solid #e4ebf3; }
.dcc-compose label { display: block; margin-bottom: 6px; font-weight: 700; }
.dcc-compose textarea { width: 100%; min-height: 72px; box-sizing: border-box; padding: 12px; border: 1px solid #c9d5e3; border-radius: 10px; font: inherit; resize: vertical; }
.dcc-compose > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; }
.dcc-compose p { margin: 0; font-size: .82rem; }
.dcc-compose button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: #dce4ee; color: #63748a; font: inherit; font-weight: 750; }
.dcc-footer { display: flex; flex-wrap: wrap; gap: 20px; padding: 0 30px 28px; }
.dcc-footer a { min-height: 44px; display: inline-flex; align-items: center; color: #315170; }
@media (max-width: 820px) { .dcc-top { padding: 0 18px; } .dcc-heading { align-items: stretch; flex-direction: column; padding-inline: 18px; } .dcc-safe { max-width: none; } .dcc-layout { grid-template-columns: 1fr; padding-inline: 16px; } .dcc-threads { border-radius: 18px 18px 0 0; } .dcc-conversation { min-height: 560px; border-top: 0; border-left: 1px solid #dce5f0; border-right: 1px solid #dce5f0; } .dcc-context { min-height: 180px; border-top: 0; border-radius: 0 0 18px 18px; } }
@media (max-width: 580px) { .dcc-top { gap: 12px; } .dcc-layout { padding-inline: 10px; } .dcc-heading { padding-inline: 14px; } .dcc-panel-title, .dcc-conversation > header { align-items: flex-start; flex-direction: column; } .dcc-message { max-width: 88%; } .dcc-compose > div { align-items: stretch; flex-direction: column; } .dcc-compose button { width: 100%; } .dcc-footer { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) { .dcc-shell *, .dcc-shell *::before, .dcc-shell *::after { scroll-behavior: auto !important; transition: none !important; } }
