:root {
  color-scheme: light;
  --ink: #202a32;
  --ink-soft: #4e5a63;
  --muted: #78848c;
  --muted-light: #98a2a8;
  --line: #e2e7e8;
  --line-soft: #edf0f1;
  --paper: #ffffff;
  --canvas: #f3f5f5;
  --rail: #202b32;
  --rail-muted: #a7b1b5;
  --accent: #315f72;
  --accent-dark: #254a5b;
  --accent-pale: #eaf1f3;
  --good: #47715e;
  --good-pale: #eaf3ed;
  --warn: #956b2c;
  --warn-pale: #f8f1e6;
  --danger: #9b584d;
  --danger-pale: #f8ece9;
  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 15px;
  --shadow-soft: 0 12px 34px rgba(33, 47, 55, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100dvh; color: var(--ink); background: var(--canvas); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(49, 95, 114, .26); outline-offset: 2px; }
.app-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.app-header { position: sticky; top: 0; z-index: 5; height: 62px; flex: 0 0 62px; display: flex; align-items: center; gap: 28px; padding: 0 22px; background: #fff; border-bottom: 1px solid var(--line); }
.brand-lockup { width: 205px; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--rail); color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -.05em; }
.brand-copy strong { display: block; font-size: 14px; letter-spacing: .045em; }
.brand-copy span { display: block; margin-top: 2px; color: var(--muted-light); font-size: 10px; }
.header-context { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.header-context strong { color: var(--ink-soft); font-weight: 570; }
.context-dot, .demo-indicator, .footnote-dot { width: 7px; height: 7px; border-radius: 50%; background: #6e947a; display: inline-block; }
.crumb-sep { color: #bbc2c5; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.integration-hint { color: #76848a; font-size: 10px; padding: 7px 10px; border-radius: 6px; background: #f4f6f6; }
.text-action { border: 0; padding: 5px 0; background: transparent; color: var(--accent); font-size: 11px; cursor: pointer; transition: color .18s cubic-bezier(.2,.7,.25,1); }
.text-action:hover { color: var(--accent-dark); }
.user-menu { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; padding: 3px 0 3px 7px; cursor: pointer; }
.user-avatar, .rail-profile { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #e6eceb; color: #45665f; font-size: 11px; font-weight: 600; }
.user-name { font-size: 11px; color: var(--ink-soft); }
.chevron { color: var(--muted-light); font-size: 14px; }
.app-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 62px 254px minmax(0, 1fr); }
.side-rail { position: sticky; top: 62px; height: calc(100dvh - 62px); display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 0; background: var(--rail); }
.rail-item { width: 39px; height: 39px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--rail-muted); cursor: pointer; transition: background .2s cubic-bezier(.2,.7,.25,1), color .2s cubic-bezier(.2,.7,.25,1), transform .2s cubic-bezier(.2,.7,.25,1); }
.rail-item span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 7px; font-size: 11px; }
.rail-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.rail-item:active { transform: scale(.96); }
.rail-item.active { color: #fff; background: #35464d; }
.rail-item.active span { border-color: #95b2b5; color: #c5dddb; }
.rail-spacer { flex: 1; }
.rail-profile { width: 30px; height: 30px; margin-top: 5px; background: #50615f; color: #f5f8f6; }
.queue-panel { position: relative; min-width: 0; min-height: calc(100dvh - 62px); display: flex; flex-direction: column; background: #fbfcfc; border-right: 1px solid var(--line); }
.queue-heading { min-height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 15px 16px 11px 18px; }
.section-label { color: var(--muted-light); font-size: 10px; letter-spacing: .04em; }
.queue-heading h1 { margin: 4px 0 0; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; font-weight: 620; }
.square-action { width: 31px; height: 31px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #718087; background: #fff; font-size: 16px; cursor: pointer; transition: background .18s cubic-bezier(.2,.7,.25,1), border-color .18s cubic-bezier(.2,.7,.25,1), transform .18s cubic-bezier(.2,.7,.25,1); }
.square-action:hover { background: #f5f8f8; border-color: #cdd8db; }
.square-action:active { transform: scale(.95); }
.search-box { height: 34px; margin: 0 13px 13px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #859197; }
.search-box>span { font-size: 17px; line-height: 1; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #a5afb3; }
.search-box kbd { min-width: 18px; padding: 1px 4px; border: 1px solid #e5e9ea; border-radius: 4px; color: #a2aaae; font-family: inherit; font-size: 10px; text-align: center; }
.queue-tabs { display: flex; align-items: center; gap: 18px; margin: 0 16px; border-bottom: 1px solid var(--line); }
.queue-tab { position: relative; border: 0; padding: 0 0 11px; background: transparent; color: #849096; font-size: 11px; white-space: nowrap; cursor: pointer; }
.queue-tab span { margin-left: 3px; color: #9aa4a8; }
.queue-tab.active { color: var(--accent-dark); font-weight: 620; }
.queue-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); border-radius: 2px; content: ""; }
.ticket-list { flex: 1; padding: 12px 9px; }
.ticket-card { width: 100%; display: block; padding: 12px 11px 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; transition: background .2s cubic-bezier(.2,.7,.25,1), border-color .2s cubic-bezier(.2,.7,.25,1), transform .2s cubic-bezier(.2,.7,.25,1); }
.ticket-card:hover { background: #f5f8f8; }
.ticket-card:active { transform: scale(.99); }
.ticket-card.selected { border-color: #dbe4e4; background: #fff; box-shadow: 0 3px 10px rgba(42, 60, 66, .045); }
.ticket-top, .ticket-bottom { display: flex; align-items: center; justify-content: space-between; }
.ticket-number { color: #74828a; font-size: 10px; font-weight: 550; }
.ticket-time { color: #a7b0b4; font-size: 10px; }
.ticket-card>strong { display: block; margin-top: 10px; color: var(--ink); font-size: 12px; font-weight: 620; }
.ticket-product { display: block; margin-top: 4px; color: #8a969b; font-size: 10px; }
.ticket-bottom { margin-top: 11px; }
.priority-mark { display: inline-flex; align-items: center; gap: 5px; color: #8d6a37; font-size: 10px; }
.priority-mark i { width: 6px; height: 6px; border-radius: 50%; background: #bd9459; }
.ticket-unread { min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #eaf0f0; color: #64777d; font-size: 9px; }
.queue-empty { min-height: 190px; display: flex; align-items: center; flex-direction: column; justify-content: center; color: var(--muted); }
.empty-mark { font-size: 24px; color: #b4bec1; }
.queue-empty strong { margin-top: 10px; font-size: 11px; font-weight: 550; }
.queue-empty small { margin-top: 5px; color: #9ca7ab; font-size: 9px; }
.queue-footer { display: flex; align-items: center; gap: 7px; padding: 13px 15px; border-top: 1px solid var(--line-soft); color: #919da1; font-size: 9px; }
.demo-indicator { width: 6px; height: 6px; background: #a7b4b1; }
.work-area { min-width: 0; min-height: calc(100dvh - 62px); display: grid; grid-template-columns: minmax(410px, 1fr) minmax(315px, 368px); align-items: stretch; background: var(--paper); }
.conversation { min-width: 0; min-height: calc(100dvh - 62px); display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.case-toolbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 20px 10px; border-bottom: 1px solid var(--line-soft); }
.case-breadcrumb { display: flex; gap: 8px; align-items: center; color: #8d989d; font-size: 10px; }
.case-breadcrumb>span:nth-child(2) { color: #b9c1c4; }
.case-breadcrumb strong { color: #66747a; font-weight: 560; }
.case-title-line { display: flex; align-items: center; gap: 9px; margin-top: 6px; }
.case-title-line h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; font-weight: 630; }
.status-chip { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 5px; font-size: 9px; white-space: nowrap; }
.status-waiting { background: var(--warn-pale); color: var(--warn); }
.status-review { background: var(--accent-pale); color: var(--accent); }
.status-done { background: var(--good-pale); color: var(--good); }
.order-strip { display: grid; grid-template-columns: 1.12fr .9fr 1.1fr 1fr; gap: 8px; margin: 14px 17px 5px; padding: 12px 13px; border: 1px solid var(--line-soft); border-radius: 9px; background: #fcfdfd; }
.order-cell { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.order-cell span { color: #929da1; font-size: 10px; }
.order-cell strong { overflow: hidden; color: #46545b; font-size: 11px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.copy-icon { border: 0; padding: 0 2px; color: #819096; background: transparent; font-size: 10px; cursor: pointer; }
.conversation-head { display: flex; align-items: center; gap: 9px; min-height: 43px; margin: 5px 20px 0; border-bottom: 1px solid var(--line-soft); }
.conversation-head>strong { color: #4c5960; font-size: 10px; font-weight: 620; }
.conversation-head>span { color: #a0aaae; font-size: 9px; }
.subtle-button { margin-left: auto; border: 0; padding: 4px 0; color: var(--accent); background: transparent; font-size: 9px; cursor: pointer; }
.subtle-button span { padding-left: 3px; }
.message-stream { flex: 1; min-height: 190px; max-height: 440px; overflow-y: auto; padding: 13px 20px 9px; scrollbar-color: #cbd4d6 transparent; scrollbar-width: thin; }
.stream-date { display: flex; align-items: center; justify-content: center; margin: 1px 0 18px; color: #a8b1b4; font-size: 9px; }
.stream-date::before, .stream-date::after { width: 26px; height: 1px; margin: 0 9px; background: #e9edee; content: ""; }
.message { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 16px; }
.message-avatar { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 600; }
.customer-avatar { background: #e7ebed; color: #66777e; }
.agent-avatar { background: #e4eeeb; color: #45685f; }
.message-body { min-width: 0; max-width: min(88%, 500px); }
.message-meta { display: flex; align-items: center; gap: 8px; min-height: 19px; color: #97a2a6; font-size: 9px; }
.message-meta strong { color: #65737a; font-size: 10px; font-weight: 570; }
.message-bubble { margin-top: 5px; padding: 10px 12px; border: 1px solid #edf0f1; border-radius: 3px 11px 11px; background: #f7f9f9; color: #46545a; font-size: 12px; line-height: 1.7; }
.agent-message .message-body { margin-left: auto; }
.agent-message .message-meta { justify-content: flex-end; }
.agent-message .message-bubble { border-color: #dfe9e6; border-radius: 11px 3px 11px 11px; background: #eff5f3; }
.attachment-card { max-width: 100%; min-width: min(330px, 100%); display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 7px; border: 1px solid #e8edef; border-radius: 9px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s cubic-bezier(.2,.7,.25,1), box-shadow .2s cubic-bezier(.2,.7,.25,1), transform .2s cubic-bezier(.2,.7,.25,1); }
.attachment-card:hover { border-color: #c7d5d8; box-shadow: 0 5px 16px rgba(34, 60, 70, .07); }
.attachment-card:active { transform: scale(.99); }
.attachment-card img { width: 57px; height: 60px; flex: 0 0 57px; object-fit: cover; object-position: center; border-radius: 6px; background: #edf0ef; }
.attachment-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.attachment-copy strong { overflow: hidden; color: #4b5a61; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.attachment-copy small { color: #929fa4; font-size: 9px; }
.attachment-copy em { color: var(--accent); font-size: 9px; font-style: normal; }
.attachment-kind { align-self: flex-start; margin-left: auto; padding: 3px 4px; border-radius: 4px; background: #f1f5f5; color: #829196; font-size: 7px; }
.inline-system-note { display: flex; align-items: center; gap: 7px; margin: 2px 0 1px 36px; padding: 8px 10px; border-radius: 6px; background: #f6f8f8; color: #859197; font-size: 9px; line-height: 1.5; }
.inline-system-note span { width: 14px; height: 14px; flex: 0 0 14px; display: grid; place-items: center; border: 1px solid #b6c0c3; border-radius: 50%; color: #8a969b; font-size: 8px; }
.reply-composer { padding: 12px 16px 13px; border-top: 1px solid var(--line); background: #fff; }
.reply-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.reply-topline strong { color: #56646b; font-size: 10px; font-weight: 620; }
.suggestion-row { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 7px; scrollbar-width: none; }
.suggestion-row::-webkit-scrollbar { display: none; }
.suggestion-chip { flex: 0 0 auto; border: 1px solid #e1e8e9; border-radius: 5px; padding: 4px 7px; background: #fbfcfc; color: #687980; font-size: 8px; cursor: pointer; transition: color .18s cubic-bezier(.2,.7,.25,1), background .18s cubic-bezier(.2,.7,.25,1), border-color .18s cubic-bezier(.2,.7,.25,1); }
.suggestion-chip:hover { border-color: #becfd2; background: var(--accent-pale); color: var(--accent-dark); }
.reply-composer textarea { width: 100%; min-height: 68px; resize: vertical; border: 1px solid #e2e8e9; border-radius: 8px; padding: 9px 10px; background: #fff; color: var(--ink); font-size: 11px; line-height: 1.6; }
.reply-composer textarea::placeholder { color: #a4afb3; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px; }
.composer-bottom>span { color: #9ba6aa; font-size: 8px; }
.button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 7px; padding: 0 12px; font-size: 11px; font-weight: 580; white-space: nowrap; cursor: pointer; transition: background .18s cubic-bezier(.2,.7,.25,1), border-color .18s cubic-bezier(.2,.7,.25,1), color .18s cubic-bezier(.2,.7,.25,1), transform .18s cubic-bezier(.2,.7,.25,1), box-shadow .18s cubic-bezier(.2,.7,.25,1); }
.button:active { transform: translateY(1px) scale(.985); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 3px 10px rgba(37, 74, 91, .14); }
.button-secondary { border-color: #dfe5e6; background: #fff; color: #52636a; }
.button-secondary:hover, .button-outline:hover { border-color: #c4d1d3; background: #f7f9f9; }
.button-outline { border-color: #dfe5e6; background: #fff; color: #53666e; }
.button span { font-size: 12px; line-height: 1; }
.assistant-panel { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 18px 17px 11px; background: #fbfcfc; }
.assistant-heading { display: flex; align-items: center; justify-content: space-between; }
.assistant-title-wrap { display: flex; align-items: center; gap: 9px; }
.assistant-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #dce5e4; border-radius: 9px; background: #edf3f2; color: #456e68; font-size: 13px; font-weight: 620; }
.assistant-heading h2 { margin: 0; color: #33434a; font-size: 14px; font-weight: 630; letter-spacing: -.015em; }
.assistant-heading span { display: block; margin-top: 3px; color: #97a2a6; font-size: 9px; }
.assistant-heading .square-action { font-size: 11px; }
.assistant-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 11px 11px 10px; border: 1px solid #e9e1d3; border-radius: 8px; background: #fbf8f1; }
.state-label { display: block; margin-bottom: 4px; color: #9b8c70; font-size: 8px; }
.assistant-state strong { color: #665538; font-size: 10px; font-weight: 630; }
.sample-badge { display: inline-flex !important; align-items: center; margin: 0 !important; padding: 4px 6px; border-radius: 4px; background: #f0eadc; color: #8c7449 !important; font-size: 8px !important; }
.assistant-intro { margin: 9px 0 14px; color: #7e8b90; font-size: 10px; line-height: 1.65; }
.review-block { margin-bottom: 13px; padding-bottom: 11px; border-bottom: 1px solid var(--line-soft); }
.block-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.block-heading h3 { margin: 0; color: #56646a; font-size: 10px; font-weight: 630; }
.block-heading>span { color: #a0aaad; font-size: 8px; }
.clue-row { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; padding: 5px 4px; background: transparent; text-align: left; cursor: pointer; transition: background .18s cubic-bezier(.2,.7,.25,1); }
.clue-row:hover { background: #f3f6f6; }
.clue-icon { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 7px; font-size: 8px; font-weight: 600; }
.photo-icon { background: #f3eee4; color: #9b7844; }
.context-icon { background: #edf1f2; color: #607782; }
.decision-icon { background: #eef3ef; color: #5d7c67; }
.clue-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.clue-copy strong { color: #526067; font-size: 10px; font-weight: 580; }
.clue-copy small { color: #97a2a6; font-size: 9px; }
.clue-chevron { color: #a8b2b5; font-size: 14px; }
.missing-block { padding-bottom: 13px; }
.check-row { display: flex; align-items: center; gap: 8px; min-height: 28px; color: #69777d; font-size: 10px; cursor: pointer; }
.check-row input { width: 13px; height: 13px; margin: 0; accent-color: var(--accent); }
.full-button { width: 100%; margin-top: 9px; }
.policy-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 10px 9px; border-radius: 7px; background: #f1f5f5; }
.policy-icon { width: 15px; height: 15px; flex: 0 0 15px; display: grid; place-items: center; border: 1px solid #a6b8b8; border-radius: 50%; color: #72888b; font-size: 8px; }
.policy-note strong { display: block; color: #5a6b70; font-size: 9px; font-weight: 620; }
.policy-note p { margin: 4px 0 0; color: #819094; font-size: 9px; line-height: 1.6; }
.assistant-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; padding-top: 4px; }
.assistant-actions .button { padding: 0 8px; }
.record-action { width: 100%; margin-top: 7px; }
.panel-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 10px; color: #a0aaad; font-size: 8px; }
.footnote-dot { width: 5px; height: 5px; background: #aab4b5; }
.hidden { display: none !important; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 22px; max-width: min(420px, calc(100vw - 32px)); display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #293b42; color: #fff; box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transform: translateY(9px); transition: opacity .22s cubic-bezier(.2,.7,.25,1), transform .22s cubic-bezier(.2,.7,.25,1); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast-mark { color: #c3ded0; font-size: 12px; }
.toast p { margin: 0; font-size: 10px; line-height: 1.45; }
.modal-backdrop { position: fixed; z-index: 15; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(24, 36, 42, .28); backdrop-filter: blur(3px); }
.modal { position: relative; width: min(430px, 100%); padding: 24px; border: 1px solid #e6ebec; border-radius: 13px; background: #fff; box-shadow: 0 18px 55px rgba(30, 45, 52, .18); animation: modal-in .24s cubic-bezier(.2,.7,.25,1) both; }
.modal-close { position: absolute; top: 13px; right: 14px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #859196; font-size: 19px; cursor: pointer; }
.modal-close:hover { background: #f2f5f5; }
.modal-mark { width: 29px; height: 29px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 8px; background: var(--accent-pale); color: var(--accent); font-size: 12px; font-weight: 620; }
.modal-kicker { color: #8c999e; font-size: 9px; }
.modal h2 { margin: 5px 0 8px; color: #324148; font-size: 17px; font-weight: 640; }
.modal>p { margin: 0; color: #718086; font-size: 11px; line-height: 1.7; }
.modal-content { margin-top: 13px; padding: 12px; border: 1px solid #e8edee; border-radius: 8px; background: #f8fafa; color: #526168; font-size: 10px; line-height: 1.75; white-space: pre-wrap; }
.modal-image { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 6px; background: #edf0ef; }
.modal-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 18px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (min-width: 1550px) { .app-body { grid-template-columns: 66px 275px minmax(0, 1fr); } .work-area { grid-template-columns: minmax(510px, 1fr) 390px; } .assistant-panel { padding: 20px 20px 13px; } .message-stream { max-height: 520px; } }
@media (max-width: 1120px) { .app-body { grid-template-columns: 56px 220px minmax(0, 1fr); } .work-area { grid-template-columns: minmax(360px, 1fr) 315px; } .app-header { gap: 17px; padding: 0 15px; } .brand-lockup { width: 180px; } .assistant-panel { padding: 15px 12px 10px; } .queue-tabs { gap: 12px; } .order-strip { margin-right: 12px; margin-left: 12px; padding: 10px; } .case-toolbar { padding-right: 13px; padding-left: 13px; } .message-stream { padding-right: 13px; padding-left: 13px; } }
@media (max-width: 860px) { .app-body { grid-template-columns: 52px minmax(0,1fr); } .side-rail { grid-column: 1; grid-row: 1; } .queue-panel { grid-column: 2; grid-row: 1; min-height: 0; height: auto; display: block; border-right: 0; border-bottom: 1px solid var(--line); } .queue-heading { min-height: 59px; padding: 10px 13px; } .queue-heading h1 { font-size: 14px; } .queue-heading .section-label { display: none; } .search-box { display: none; } .queue-tabs { position: absolute; top: 21px; left: 125px; right: 11px; justify-content: flex-start; border: 0; overflow-x: auto; } .queue-tab { padding-bottom: 7px; } .ticket-list { padding: 0 8px 8px; } .ticket-card { padding: 8px 9px; } .ticket-card>strong { margin-top: 5px; } .ticket-product { display: none; } .ticket-bottom { margin-top: 5px; } .queue-footer { display: none; } .work-area { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0,1fr) 330px; min-height: calc(100dvh - 62px); } .conversation { min-height: calc(100dvh - 150px); } .assistant-panel { min-height: calc(100dvh - 150px); } }
@media (max-width: 640px) { .app-header { height: 54px; flex-basis: 54px; gap: 10px; padding: 0 10px; } .brand-lockup { width: auto; gap: 7px; } .brand-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; } .brand-copy strong { font-size: 12px; } .brand-copy span { display: none; } .header-context { display: none; } .header-actions { gap: 9px; } .integration-hint { max-width: 108px; overflow: hidden; padding: 6px 7px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; } .header-actions>.text-action { display: none; } .user-menu { gap: 0; padding: 0; } .user-avatar { width: 27px; height: 27px; } .user-name, .chevron { display: none; } .app-body { min-height: calc(100dvh - 54px); grid-template-columns: 42px minmax(0,1fr); } .side-rail { position: sticky; top: 54px; height: calc(100dvh - 54px); padding-top: 11px; gap: 8px; } .rail-item { width: 32px; height: 34px; border-radius: 8px; } .rail-item span { width: 21px; height: 21px; font-size: 9px; } .rail-profile { width: 26px; height: 26px; font-size: 9px; } .queue-panel { grid-column: 2; } .queue-heading { min-height: 50px; padding: 8px 10px; } .queue-heading h1 { font-size: 13px; } .queue-tabs { top: 16px; left: 95px; right: 5px; gap: 10px; } .queue-tab { font-size: 8px; } .queue-tab span { margin-left: 1px; } .ticket-list { padding: 0 5px 6px; } .ticket-card { padding: 7px; } .ticket-number, .ticket-time { font-size: 8px; } .ticket-card>strong { font-size: 9px; } .ticket-bottom { display: none; } .work-area { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: column; min-height: 0; } .conversation { order: 1; min-height: 0; border-right: 0; } .case-toolbar { min-height: 62px; padding: 9px 11px; } .case-title-line h2 { font-size: 12px; } .case-breadcrumb { font-size: 8px; } .status-chip { padding: 3px 5px; font-size: 8px; } .order-strip { grid-template-columns: 1fr 1fr; row-gap: 10px; margin: 9px 8px 2px; padding: 9px; } .order-cell span { font-size: 8px; } .order-cell strong { font-size: 9px; } .conversation-head { min-height: 38px; margin: 4px 11px 0; }
  .message-stream { min-height: 215px; max-height: none; padding: 12px 11px; }
  .message-body { max-width: 91%; }
  .message-bubble { font-size: 10px; }
  .attachment-card { min-width: 0; width: min(310px, 100%); }
  .reply-composer { padding: 10px 9px; }
  .reply-composer textarea { min-height: 58px; }
  .assistant-panel { order: 2; min-height: 0; padding: 14px 12px 12px; border-top: 6px solid var(--canvas); }
  .assistant-state { margin-top: 12px; }
  .assistant-intro { margin-bottom: 10px; }
  .review-block { margin-bottom: 10px; }
  .clue-row { min-height: 43px; }
  .assistant-actions { margin-top: 0; }
  .panel-footnote { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
