.chat-main { min-height: calc(100vh - 195px); padding: 31px 0 78px; background: var(--page); }.chat-main .breadcrumb { margin-bottom: 28px; }.chat-shell { display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 570px; border: 1px solid var(--line); background: var(--surface); box-shadow: 10px 10px 0 var(--steel); }.chat-sidebar { padding: 28px 22px; background: var(--ink); color: #fff; }.chat-sidebar-head h1 { margin: 11px 0 8px; font-size: 25px; }.chat-sidebar-head p { color: #afbfbd; font-size: 12px; line-height: 1.7; margin: 0; }.chat-sidebar .section-kicker { color: var(--yellow); }.chat-sales-list { display: grid; gap: 8px; margin-top: 40px; }.chat-sales-item { width: 100%; display: grid; grid-template-columns: 35px 1fr 8px; gap: 10px; align-items: center; padding: 12px 10px; border: 1px solid #405058; background: transparent; color: #fff; text-align: left; }.chat-sales-item.active { border-color: var(--yellow); background: #25343d; }.chat-avatar { width: 35px; height: 35px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 50%; font-weight: 800; }.chat-avatar-alt { background: #81918f; color: #fff; }.chat-sales-item strong, .chat-sales-item small { display: block; }.chat-sales-item strong { font-size: 12px; }.chat-sales-item small { color: #a7b6b4; font-size: 10px; margin-top: 4px; }.chat-sales-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-window { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }.chat-window-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--line); }.chat-window-head > div { display: grid; grid-template-columns: 8px auto; gap: 8px 9px; align-items: center; }.chat-window-head strong { font-size: 14px; }.chat-window-head small { grid-column: 2; color: var(--muted); font-size: 10px; }.chat-window-head > span:last-child { color: var(--yellow-deep); font-size: 11px; }.chat-online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }.chat-messages { display: flex; flex-direction: column; gap: 15px; padding: 25px 28px; overflow: auto; background: #f4f7f7; }.chat-message { max-width: 78%; display: grid; gap: 5px; }.chat-message.system { align-self: flex-start; }.chat-message.user { align-self: flex-end; }.chat-message > span { color: var(--muted); font-size: 10px; }.chat-message.user > span { text-align: right; }.chat-bubble { padding: 12px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }.chat-message.user .chat-bubble { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }.chat-product-card { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line); background: #fff; }.chat-product-art { display: grid; place-items: center; background: #e6eceb; overflow: hidden; }.chat-product-art .part-shape { transform: scale(.48); }.chat-product-card strong, .chat-product-card small { display: block; }.chat-product-card strong { font-size: 13px; }.chat-product-card small { color: var(--muted); font-size: 10px; margin-top: 5px; }.chat-product-card b { display: block; color: var(--yellow-deep); font-size: 11px; margin-top: 8px; }.chat-composer { padding: 16px 22px 18px; border-top: 1px solid var(--line); background: #fff; }.chat-composer form { display: grid; grid-template-columns: 1fr auto; gap: 11px; align-items: end; }.chat-composer textarea { min-width: 0; resize: vertical; padding: 11px 12px; border: 1px solid var(--line); outline: 0; font-size: 12px; line-height: 1.6; }.chat-composer textarea:focus { border-color: var(--yellow-deep); box-shadow: 0 0 0 3px rgba(245,185,45,.15); }.chat-contact-actions { display: flex; justify-content: space-between; gap: 15px; margin-top: 10px; color: var(--muted); font-size: 10px; }.chat-contact-actions a { color: var(--yellow-deep); font-weight: 700; }.chat-page .toast { position: fixed; }
@media (max-width: 760px) { .chat-main { padding: 25px 0 58px; }.chat-shell { display: block; box-shadow: 6px 6px 0 var(--steel); }.chat-sidebar { padding: 22px 18px; }.chat-sidebar-head h1 { font-size: 22px; }.chat-sales-list { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 25px; }.chat-sales-item { grid-template-columns: 30px 1fr; padding: 8px; }.chat-sales-item i { display: none; }.chat-avatar { width: 30px; height: 30px; }.chat-sales-item strong { font-size: 11px; }.chat-window { min-height: 540px; }.chat-window-head { padding: 15px 16px; }.chat-messages { padding: 18px 15px; }.chat-message { max-width: 90%; }.chat-composer { padding: 13px 14px; }.chat-composer form { grid-template-columns: 1fr; }.chat-composer .button { width: 100%; }.chat-contact-actions { flex-wrap: wrap; } }
.chat-machine-mark { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #1f3039, #435760); color: var(--yellow); font-family: "Barlow Condensed", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: 1px; }
.chat-shell { height: min(650px, calc(100vh - 220px)); min-height: 570px; }
.chat-window { min-height: 0; }
.chat-messages { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.chat-history-context { margin-top: 5px; }
.chat-sidebar-head h1 { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) { .chat-shell { height: auto; min-height: 0; }.chat-window { height: 610px; min-height: 0; }.chat-messages { min-height: 0; } }
.chat-product-card-link { color: inherit; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; cursor: pointer; }
.chat-product-card-link:hover, .chat-product-card-link:focus-visible { border-color: var(--yellow-deep); box-shadow: 0 5px 0 rgba(245,185,45,.22); transform: translateY(-1px); }
.chat-product-link { display: block; margin-top: 9px; color: var(--yellow-deep); font-size: 10px; font-weight: 700; }
