:root {
    --navy: #162d3d;
    --navy-deep: #122634;
    --teal: #007d79;
    --teal-dark: #006966;
    --teal-soft: #e9f5f3;
    --ink: #14212f;
    --muted: #6e7c8d;
    --line: #e4e9ee;
    --surface: #fff;
    --canvas: #f7f9fb;
}
.form-card { padding: 22px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.command-intro { margin: 0 0 22px; }
.language-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.command-options summary { color: var(--muted); font-size: 14px; }
[dir="rtl"] { text-align: right; unicode-bidi: plaintext; }
.sidebar { overflow-y: auto; }
.form-card h3, .form-card summary { font-size: 16px; color: var(--ink); margin-bottom: 12px; font-weight: 600; }
.form-card:not([open]) summary { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.full-field { grid-column: 1 / -1; }
.full-field .helper { margin-top: 8px; }
.stack-form { display: grid; gap: 12px; min-width: 220px; }
.stack-form button { justify-self: start; }
.page-actions, .search-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.page-actions { margin: 16px 0 22px; }
.search-form { flex: 1; }
.search-form input { flex: 1; min-width: 160px; }
.draft-editor { margin-top: 12px; padding: 12px; background: #f3f8f8; border-radius: 8px; font-size: 13px; }
.draft-editor .stack-form { min-width: 0; margin-top: 12px; }
.draft-editor textarea { min-height: 90px; }
.manual-translation { margin-top: 12px; }
.manual-translation .helper { display: block; margin-top: 5px; }
.status-filter { display: flex; gap: 8px; align-items: end; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.status-filter label { flex: 1; font-size: 12px; }
.status-filter select, .status-filter button { font-size: 12px; }
@media(max-width:760px) { .form-grid { grid-template-columns: minmax(0,1fr); } .form-card { padding: 16px; } .page-intro { flex-wrap: wrap; } .mobile-nav>a { padding-inline: 6px; font-size: 11px; } }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #eaf0f5; font: 16px/1.5 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button, .button { border: 0; border-radius: 7px; padding: 9px 13px; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.5; white-space: normal; }
button:disabled { cursor: not-allowed; opacity: .48; }
button:not(:disabled):hover, a.button:hover { filter: brightness(.95); }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #83c9c5; outline-offset: 3px; }
input, select, textarea { background: white; border: 1px solid #d9e1e8; border-radius: 6px; color: var(--ink); width: 100%; padding: 9px 11px; font-size: 14px; }
input::placeholder, textarea::placeholder { color: #8a96a5; }
textarea { resize: vertical; line-height: 1.6; }
select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23778696' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
label { display: block; font-size: 14px; color: #506174; font-weight: 500; }
label input, label select, label textarea { margin-top: 6px; }
summary { cursor: pointer; }
.icon { flex-shrink: 0; vertical-align: middle; }
.primary { background: var(--teal); color: white; box-shadow: 0 1px 2px #003f3b0d; }
.secondary { background: var(--teal-soft); color: var(--teal-dark); border: 1px solid #d0e9e5; }
.outline { background: white; border: 1px solid #d9e1e8; color: #35465a; }
.quiet { background: #f0f4f7; color: #506174; }
.wide { width: 100%; }
.text-button { color: var(--teal); padding: 5px 0; background: none; }
.icon-button { background: transparent; border: 0; width: 34px; height: 34px; padding: 7px; color: var(--muted); border-radius: 6px; flex-shrink: 0; }
.icon-button:hover { background: #edf3f5; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; color: #81909e; }
.helper { font-size: 12px; color: var(--muted); line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.app-frame { display: grid; grid-template-columns: 224px minmax(0,1fr); height: 100vh; height: 100dvh; overflow: hidden; }
.sidebar { background: linear-gradient(165deg, var(--navy), var(--navy-deep)); color: #e3edf4; display: flex; flex-direction: column; padding: 27px 14px 0; min-height: 0; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.sidebar .brand { padding: 0 10px; margin-bottom: 30px; }
.brand svg { color: #00baa4; flex-shrink: 0; }
.brand>span { font-size: 20px; font-weight: 650; letter-spacing: -.7px; color: white; }
.brand b { font-weight: 400; }
.workspace-switch { display: flex; align-items: center; gap: 10px; border: 1px solid #ffffff17; background: #ffffff04; padding: 11px 10px; border-radius: 8px; margin: 0 4px 27px; }
.company-monogram { background: #ffffff12; color: #bccdda; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #ffffff12; border-radius: 7px; font-size: 15px; }
.workspace-switch strong { display: block; font-size: 12px; font-weight: 600; }
.workspace-switch small { display: block; font-size: 12px; color: #91a6b6; margin-top: 2px; }
.workspace-switch>.icon { margin-left: auto; color: #91a6b6; }
.nav-label { font-size: 12px; letter-spacing: .12em; color: #8ba2b4; font-weight: 600; margin: 0 14px 12px; }
.main-nav { display: flex; flex-direction: column; gap: 6px; }
.main-nav>a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: #c9d8e3; }
.main-nav>a:hover { background: #ffffff09; }
.main-nav>a.selected { color: #fff; background: linear-gradient(100deg,#206166,#1a535b); box-shadow: inset 0 0 0 1px #7be5d30d; }
.nav-count { margin-left: auto; padding: 1px 6px; background: #ffffff19; border-radius: 4px; font-size: 12px; }
.nav-count.warning { color: #f4c783; }
.nav-divider { margin: 16px 14px 10px; height: 1px; background: #ffffff18; }
.sidebar-bottom { margin-top: auto; padding-top: 25px; }
.pilot-note { padding: 18px 14px; background: #ffffff04; border: 1px solid #ffffff0b; border-radius: 8px; margin: 0 4px 24px; }
.pilot-note>.icon { color: #65b6ad; margin-right: 5px; }
.pilot-note strong { font-size: 12px; font-weight: 600; }
.pilot-note p { font-size: 12px; color: #94aabb; margin-top: 8px; line-height: 1.7; }
.pilot-note>span { font-size: 12px; letter-spacing: .08em; color: #78aea9; display: block; margin-top: 15px; }
.operator { display: flex; align-items: center; gap: 10px; border-top: 1px solid #ffffff14; margin-inline: -14px; padding: 18px; }
.operator-avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #365162; color: #d5e4ec; font-size: 12px; }
.operator strong { display: block; font-size: 12px; font-weight: 600; }
.operator small { display: block; color: #90a8b9; font-size: 12px; margin-top: 2px; }
.operator form { margin-left: auto; }
.operator .icon-button { color: #9fb3c2; }
.operator .icon-button:hover { background: #ffffff10; }
.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--surface); }
.page-header { height: 82px; flex-shrink: 0; padding: 0 28px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); background: white; }
.page-heading { margin-right: auto; }
.page-heading h1 { font-size: 24px; font-weight: 700; letter-spacing: -.7px; }
.global-search { display: flex; align-items: center; width: 300px; border: 1px solid #dce3eb; border-radius: 7px; padding: 0 11px; height: 39px; background: #fcfdfe; gap: 8px; color: #7b8899; }
.global-search input { background: transparent; border: 0; padding: 8px 0; min-width: 0; font-size: 13px; }
.global-search input:focus { outline: 0; }
.global-search:focus-within { outline: 2px solid #9ed5cf; }
.global-search kbd { font: 12px 'Segoe UI',sans-serif; color: #a3aeb9; border: 1px solid var(--line); padding: 0 5px; border-radius: 3px; }
.environment-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; white-space: nowrap; }
.environment-badge>span { width: 6px; height: 6px; background: #3a9c8e; border-radius: 50%; }
.demo-strip { display: flex; gap: 7px; align-items: center; background: #f5f9fa; border-bottom: 1px solid var(--line); padding: 7px 26px; font-size: 12px; color: #708391; flex-shrink: 0; }
.demo-strip>.icon { color: #8ba4ad; }
.demo-strip>a { margin-left: auto; color: #577c80; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.notice { padding: 10px 24px; display: flex; align-items: center; gap: 9px; background: #eaf7f1; color: #2d7762; border-bottom: 1px solid #dbebe4; font-size: 13px; flex-shrink: 0; }
.notice-error { background: #fff0ec; color: #a44a38; border-color: #f7ded7; }
.inbox-grid { display: grid; grid-template-columns: 282px minmax(0,1fr) 280px; flex: 1; min-height: 0; }
.conversation-list { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; min-height: 0; }
.list-toolbar { padding: 22px 18px 12px; border-bottom: 1px solid var(--line); }
.list-tabs { display: flex; align-items: center; gap: 8px; }
.list-tabs>a { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; border: 1px solid #e2e7ed; padding: 7px 11px; border-radius: 6px; color: #687686; white-space: nowrap; }
.list-tabs>a.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.list-tabs>a span { font-size: 12px; background: #ffffff25; padding: 0 5px; border-radius: 3px; }
.channel-filter { display: flex; align-items: center; margin-top: 15px; gap: 2px; }
.channel-filter select { font-size: 12px; padding: 3px 20px 3px 0; border: 0; width: 115px; background-position: right 1px center; color: #6f8092; }
.channel-filter .icon-button { width: 22px; height: 24px; padding: 3px; color: #81939c; }
.channel-filter>span { margin-left: auto; font-size: 12px; color: #98a3b0; }
.conversation-scroll { overflow-y: auto; flex: 1; min-height: 0; }
.conversation-item { display: flex; align-items: flex-start; gap: 11px; padding: 20px 16px 19px; border-bottom: 1px solid #edf0f4; border-left: 3px solid transparent; transition: background .15s; }
.conversation-item:hover { background: #f7fbfa; }
.conversation-item.active { border-left-color: var(--teal); background: linear-gradient(90deg,#e8f4f2,#f2f9f8); }
.channel-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.channel-icon.whatsapp { color: #11ae60; }
.channel-icon.email { color: #64758a; }
.conversation-item>.channel-icon { padding-top: 4px; }
.conversation-copy { min-width: 0; flex: 1; }
.conversation-title { display: flex; align-items: center; gap: 8px; }
.conversation-title strong { font-size: 14px; font-weight: 650; letter-spacing: -.25px; }
.conversation-title time { margin-left: auto; font-size: 12px; color: #8493a2; }
.conversation-copy>p { color: #6b7a8d; font-size: 12px; line-height: 1.7; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.conversation-meta { display: flex; align-items: center; gap: 5px; margin-top: 11px; font-size: 12px; color: #8a98a5; }
.unread-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-left: auto; }
.list-bottom { border-top: 1px solid var(--line); color: #8c9ba7; display: flex; gap: 6px; font-size: 12px; padding: 15px 16px; }
.conversation-panel { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: white; }
.thread-header { display: flex; gap: 13px; align-items: center; padding: 20px 22px; height: 89px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.thread-heading { min-width: 0; }
.thread-heading h2 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-heading p { color: #7e8a9a; font-size: 12px; margin-top: 3px; }
.thread-heading p>span { margin: 0 4px; color: #aab4be; }
.refresh-button { margin-left: auto; }
.assignment-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eef1f4; padding: 9px 22px; background: #fcfdfe; color: #8a98a5; font-size: 12px; flex-shrink: 0; gap: 8px; }
.assignment-bar>span { display: inline-flex; gap: 6px; align-items: center; }
.assignment-dot { width: 5px; height: 5px; border-radius: 50%; background: #96b5ae; }
.message-timeline { overflow-y: auto; padding: 22px 22px 12px; flex: 1; min-height: 110px; background: linear-gradient(#fff,#fbfcfd); scroll-behavior: smooth; }
.timeline-date { display: flex; justify-content: center; margin-bottom: 24px; }
.timeline-date>span { font-size: 12px; color: #9aa7b3; background: #f4f6f8; border: 1px solid #edf0f3; border-radius: 20px; padding: 3px 12px; }
.message-group { width: 89%; max-width: 500px; margin-bottom: 24px; }
.bubble { background: #eef1f5; border-radius: 10px 10px 10px 2px; padding: 14px 15px 7px; position: relative; }
.bubble p { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.bubble-meta { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: #8592a2; margin-top: 6px; font-size: 12px; }
.translation-card { border: 1px solid #e3e8ef; border-radius: 7px; margin-top: 11px; padding: 12px 14px; background: #f9fafc; }
.translation-card h3 { display: flex; gap: 7px; align-items: center; font-size: 12px; font-weight: 650; border-bottom: 1px solid #e9edf2; padding-bottom: 8px; margin-bottom: 8px; }
.translation-card h3 .icon { color: #53657d; }
.translation-card h3>span { font-size: 12px; color: #9aa6b4; margin-left: auto; font-weight: 400; }
.translation-card p { font-size: 14px; line-height: 1.7; }
.message-group.outgoing { margin-left: auto; }
.outgoing-heading { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.outgoing .bubble { background: #dff2ef; border-radius: 10px 10px 2px 10px; }
.outgoing .bubble-meta { color: #699992; }
.outgoing .bubble-meta .icon { color: var(--teal); }
.bubble-language { font-size: 12px; color: #4a8d85; display: block; margin-bottom: 6px; }
.bubble-language>span { color: #81a9a2; }
.operator-original { padding: 2px 5px 10px; }
.operator-original>span { text-transform: uppercase; font-size: 12px; letter-spacing: .07em; color: #9aa5b0; }
.operator-original p { font-size: 12px; color: #81909e; line-height: 1.7; margin-top: 3px; }
.status { display: inline-flex; align-items: center; border-radius: 4px; padding: 3px 7px; background: #f0f3f6; color: #7a889a; font-size: 12px; font-weight: 500; }
.status-sent, .status-received, .status-confirmed_sent { background: #e9f5ef; color: #3a8b6f; }
.status-draft, .status-queued { background: #eef3fa; color: #607aa0; }
.status-review { background: #fff3df; color: #af7a29; }
.status-cancelled, .status-confirmed_not_sent { background: #f3eded; color: #a27676; }
.approval-form { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; margin-top: 10px; }
.approval-form .primary { font-size: 12px; }
.approval-form small { font-size: 12px; color: #9ba6b3; }
.message-note { margin: 8px 2px 0; font-size: 12px; color: #9aa7b4; }
.message-note.attention { color: #b18132; }
.receipt { font-size: 12px; color: #99a6b2; margin-top: 7px; }
.receipt code { display: block; font-size: 12px; padding: 7px; overflow-wrap: anywhere; }
.review-form { background: #fffaf0; border: 1px solid #f2e4c8; border-radius: 8px; padding: 14px; margin-top: 12px; }
.review-form h3 { font-size: 14px; margin-bottom: 10px; }
.review-form label { margin-bottom: 10px; font-size: 12px; }
.timeline-end { display: flex; align-items: center; justify-content: center; gap: 5px; color: #adb7c1; font-size: 12px; padding: 8px 0; }
.reply-composer { padding: 15px 16px 12px; border-top: 1px solid var(--line); background: white; flex-shrink: 0; }
.composer-heading { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 10px; }
.composer-heading h3 { font-size: 12px; font-weight: 600; color: #687b8e; }
.composer-heading>span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #7e959b; }
.composer-input { padding: 9px; border: 1px solid #d9e1e8; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px #1b324907; }
.composer-input textarea { border: 0; background: #fbfcfd; border-radius: 5px; font-size: 13px; padding: 9px; min-height: 60px; max-height: 160px; resize: vertical; }
.composer-input textarea:focus { outline: 1px solid #b3d9d4; outline-offset: 0; }
.composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 7px; }
.composer-actions .primary { font-size: 12px; padding: 7px 11px; }
.composer-hint { color: #a0abb6; display: flex; gap: 5px; align-items: center; font-size: 12px; padding-left: 3px; }
.composer-options { margin: 8px 3px 0; }
.composer-options>summary { font-size: 12px; color: #90a0ae; }
.composer-options>summary>span { float: right; color: #a6b1bb; }
.option-fields { display: flex; gap: 10px; padding-top: 10px; }
.option-fields>label { flex: 1; min-width: 0; font-size: 12px; }
.option-fields select { font-size: 12px; }
.composer-options p { color: #8798a8; font-size: 12px; padding-top: 9px; }
.takeover-prompt { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #97a3af; padding-top: 5px; gap: 6px; }
.takeover-prompt .text-button { font-size: 12px; }
.customer-panel { background: #fff; border-left: 1px solid var(--line); min-height: 0; display: flex; flex-direction: column; }
.customer-panel>header { height: 70px; padding: 23px 20px 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; }
.customer-panel>header h2 { font-size: 17px; font-weight: 650; letter-spacing: -.5px; }
.customer-scroll { overflow-y: auto; padding: 0 18px 18px; flex: 1; min-height: 0; }
.customer-card { border: 1px solid #e0e7ee; border-radius: 8px; padding: 14px; background: linear-gradient(#fff,#fcfdfe); }
.customer-name { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.customer-monogram { width: 35px; height: 35px; display: grid; place-items: center; color: #2c9188; background: #e4f3f0; border-radius: 50%; font-weight: 600; flex-shrink: 0; }
.customer-name h3 { font-size: 14px; font-weight: 650; letter-spacing: -.2px; }
.customer-name div>span { font-size: 12px; color: #9aa7b2; }
.customer-card dl { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 10px 7px; margin: 14px 0 0; font-size: 12px; }
.customer-card dt { color: #95a1ae; }
.customer-card dd { margin: 0; color: #536578; overflow-wrap: anywhere; }
.customer-card .contact-value { font-size: 12px; }
.customer-actions { display: flex; flex-direction: column; gap: 8px; padding: 16px 0 20px; }
.customer-actions .wide { font-size: 12px; padding: 8px 11px; }
.customer-actions .wide>.icon { width: 17px; height: 17px; }
.soon-tag { font-size: 12px; color: #8091a0; padding: 1px 5px; background: #eef2f5; border-radius: 4px; margin-left: auto; }
.detail-section { border-top: 1px solid var(--line); padding: 19px 0; }
.detail-section>h3 { font-size: 12px; color: #66798d; font-weight: 600; margin-bottom: 13px; }
.detail-section form+form { margin-top: 12px; }
.detail-section label { font-size: 12px; color: #8a98a7; }
.detail-section select, .detail-section textarea { font-size: 12px; }
.detail-section .text-button { font-size: 12px; margin-top: 3px; }
.inline-setting { display: flex; align-items: end; gap: 6px; }
.inline-setting label { flex: 1; min-width: 0; }
.inline-setting .outline { height: 38px; padding: 8px; }
.demo-section .eyebrow { font-size: 12px; }
.demo-section h3 { font-size: 13px; color: #344e60; margin-top: 5px; margin-bottom: 15px; }
.demo-section textarea { margin: 6px 0 9px; }
.demo-section .primary { font-size: 12px; }
.demo-section>.helper { margin-top: 10px; font-size: 12px; }
.demo-note { padding: 12px; border: 1px solid #e0eee9; border-radius: 7px; background: #f5faf7; margin-top: 13px; }
.demo-note>span { color: #4c9b80; font-size: 12px; display: flex; gap: 5px; align-items: center; }
.demo-note p { font-size: 12px; margin: 7px 0; color: #667c74; }
.demo-note time { font-size: 12px; color: #9bb0a7; }
.demo-tools>summary { font-size: 12px; color: #9aa7b4; }
.demo-tools form { margin: 12px 0; }
.demo-tools .outline { font-size: 12px; padding: 8px; }
.demo-tools .helper { font-size: 12px; }
.customer-toggle, .mobile-back, .mobile-logo, .mobile-nav, .close-customer { display: none; }
.empty-state, .no-selection { padding: 50px 20px; text-align: center; color: #9aa8b5; }
.empty-state .icon, .no-selection .icon { margin-bottom: 18px; color: #b1c8c5; }
.empty-state h2, .no-selection h2 { font-size: 17px; color: #607487; font-weight: 500; }
.empty-state p, .no-selection p { margin-top: 8px; font-size: 13px; }
.empty-state .button { margin-top: 20px; font-size: 12px; }
.no-selection { grid-column: 2 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fafcfd; }
.content-page { flex: 1; overflow-y: auto; padding: 30px; background: var(--canvas); }
.page-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-intro h2 { font-size: 23px; font-weight: 650; letter-spacing: -.6px; }
.page-intro p { font-size: 14px; color: #8390a0; margin-top: 7px; max-width: 620px; }
.page-intro>.badge { background: #e7f2ef; color: #5b9387; font-size: 12px; border-radius: 5px; padding: 5px 10px; white-space: nowrap; }
.data-card { border: 1px solid var(--line); border-radius: 10px; background: white; overflow: hidden; box-shadow: 0 3px 12px #1f3c5703; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th { color: #8b9aa9; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; padding: 16px 22px; background: #fcfdfe; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 20px 22px; border-bottom: 1px solid #eef1f4; color: #607487; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td strong { color: #31495b; font-size: 14px; font-weight: 600; }
td small { display: block; font-size: 12px; color: #97a5b3; margin-top: 4px; }
td .text-button { font-size: 12px; }
.table-person { display: flex; align-items: center; gap: 11px; }
.table-person .customer-monogram { width: 34px; height: 34px; }
.table-message { max-width: 360px; font-size: 13px; }
.table-message p { margin-bottom: 7px; }
.table-message .status { margin-top: 3px; }
.table-message .message-note { margin: 6px 0; }
.table-empty { padding: 60px 20px; text-align: center; color: #879aab; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.integration-card { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 24px; }
.integration-top { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.integration-top>.icon { width: 26px; height: 26px; color: #388e82; }
.integration-top h3 { font-size: 16px; font-weight: 600; }
.integration-top>.status { margin-left: auto; }
.integration-card p { font-size: 14px; color: #8391a0; line-height: 1.8; }
.integration-card .helper { margin-top: 12px; font-size: 12px; }
.page-callout { padding: 18px 22px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid #dfe9ee; background: #f0f6f8; color: #6b8794; border-radius: 8px; margin-top: 22px; font-size: 13px; }
.pagination { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 12px; }
.pagination nav { display: flex; justify-content: space-between; gap: 12px; }
.pagination svg { width: 16px; height: 16px; }
.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.intro { background: linear-gradient(145deg,#193e50,#122b3b); padding: 45px 10%; color: white; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; }
.intro .brand { color: #20c3af; font-size: 34px; font-weight: 800; }
.intro .brand>span { color: #e4f6f1; font-size: 24px; }
.intro .brand .light { font-weight: 400; margin-left: 3px; }
.intro .eyebrow { color: #8db7c0; font-size: 12px; }
.intro h1 { font-size: clamp(40px,4.4vw,68px); letter-spacing: -.04em; line-height: 1.15; margin: 20px 0; }
.intro p { color: #aec8d2; font-size: 17px; line-height: 1.9; }
.intro small { font-size: 12px; color: #789fab; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.chips span { font-size: 12px; color: #a2c5cf; border: 1px solid #ffffff25; border-radius: 5px; padding: 7px 11px; }
.loginform { background: #fff; display: flex; align-items: center; justify-content: center; padding: 40px; }
.loginform>div { width: 100%; max-width: 380px; }
.loginform .eyebrow { color: #9aa6af; }
.loginform h2 { font-size: 28px; font-weight: 650; letter-spacing: -.8px; margin: 15px 0 8px; }
.loginform .muted { font-size: 14px; color: #8c9ba8; }
.loginform form { margin: 30px 0 24px; }
.loginform label { margin-bottom: 19px; font-size: 13px; }
.loginform input { padding: 12px; }
.loginform .primary { width: 100%; margin-top: 6px; padding: 12px; }
.loginform .small { font-size: 12px; line-height: 1.8; }
.alert.error { background: #fff0eb; color: #ae6451; font-size: 13px; padding: 12px; border-radius: 6px; margin: 16px 0; }
@media(min-width:1700px) {
    .app-frame { grid-template-columns: 240px minmax(0,1fr); }
    .inbox-grid { grid-template-columns: 320px minmax(0,1fr) 310px; }
    .message-timeline { padding: 25px 34px; }
    .thread-header { padding-inline: 30px; }
    .customer-scroll { padding-inline: 22px; }
}
@media(max-width:1360px) {
    .app-frame { grid-template-columns: 200px minmax(0,1fr); }
    .sidebar { padding-inline: 10px; }
    .sidebar .brand { padding-inline: 5px; gap: 8px; }
    .brand>span { font-size: 18px; }
    .sidebar .brand svg { width: 25px; }
    .workspace-switch { gap: 7px; padding: 9px 7px; }
    .workspace-switch strong { font-size: 12px; }
    .main-nav>a { font-size: 13px; gap: 10px; padding-inline: 11px; }
    .operator { margin-inline: -10px; padding: 16px 12px; gap: 7px; }
    .inbox-grid { grid-template-columns: 248px minmax(0,1fr) 258px; }
    .thread-header { padding-inline: 17px; }
    .customer-scroll { padding-inline: 14px; }
    .customer-panel>header { padding-inline: 16px; }
    .message-timeline { padding-inline: 17px; }
    .composer-hint { display: none; }
    .composer-actions { justify-content: flex-end; }
    .conversation-title strong { font-size: 13px; }
    .list-tabs>a { font-size: 12px; padding: 7px 9px; }
    .list-toolbar { padding-inline: 14px; }
    .thread-heading h2 { font-size: 17px; }
}
@media(max-width:1180px) {
    .app-frame { grid-template-columns: 74px minmax(0,1fr); }
    .sidebar { padding: 24px 10px 0; align-items: center; }
    .sidebar .brand { padding: 0; margin: 0 0 35px; }
    .sidebar .brand svg { width: 29px; height: 33px; }
    .sidebar .brand>span, .workspace-switch, .nav-label, .main-nav>a>span, .pilot-note, .operator>div, .operator>.operator-avatar { display: none; }
    .main-nav { width: 100%; gap: 10px; }
    .main-nav>a { width: 48px; height: 46px; justify-content: center; padding: 10px; }
    .main-nav>a>.icon { width: 23px; height: 23px; }
    .nav-divider { margin: 14px 6px; }
    .sidebar-bottom { width: 100%; }
    .operator { margin: 0; padding: 14px 5px; justify-content: center; }
    .operator form { margin: 0; }
    .page-header { padding-inline: 22px; }
    .inbox-grid { grid-template-columns: 255px minmax(0,1fr) 260px; }
}
@media(max-width:1040px) {
    .inbox-grid { grid-template-columns: 280px minmax(0,1fr); position: relative; }
    .customer-panel { display: none; }
    .customer-panel.is-open { display: flex; position: absolute; z-index: 20; right: 0; top: 0; bottom: 0; width: 300px; box-shadow: -12px 0 40px #172f4020; }
    .customer-toggle, .close-customer { display: inline-flex; }
    .customer-toggle { margin-left: -7px; }
    .environment-badge { display: none; }
    .message-group { width: 90%; }
    .no-selection { grid-column: 2; }
    .composer-hint { display: flex; }
    .composer-actions { justify-content: space-between; }
    .settings-grid { grid-template-columns: 1fr; }
}
@media(max-width:760px) {
    .app-frame { display: block; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
    .sidebar { display: none; }
    .app-main { height: 100%; }
    .page-header { padding: 13px 18px; gap: 10px; height: 102px; flex-wrap: wrap; align-content: center; }
    .page-heading { display: flex; align-items: center; justify-content: space-between; width: 100%; }
    .page-heading h1 { font-size: 17px; letter-spacing: -.4px; }
    .mobile-logo { display: inline; color: var(--teal); font-size: 15px; font-weight: 700; letter-spacing: -.5px; }
    .global-search { width: 100%; height: 33px; }
    .global-search input { font-size: 12px; }
    .demo-strip { padding: 6px 16px; font-size: 12px; }
    .demo-strip>a { display: none; }
    .demo-strip>.icon { width: 12px; height: 12px; }
    .notice { padding: 9px 16px; font-size: 12px; line-height: 1.5; }
    .inbox-grid { display: flex; flex-direction: column; }
    .conversation-list { flex: 1; border-right: 0; }
    .list-toolbar { padding: 18px 18px 12px; }
    .list-tabs>a { font-size: 13px; padding: 8px 14px; }
    .channel-filter { margin-top: 12px; }
    .channel-filter select { font-size: 12px; width: 130px; }
    .channel-filter>span { font-size: 12px; }
    .conversation-item { padding: 22px 18px; gap: 13px; }
    .conversation-title strong { font-size: 15px; }
    .conversation-title time { font-size: 12px; }
    .conversation-copy>p { font-size: 13px; }
    .conversation-meta { font-size: 12px; }
    .conversation-item>.channel-icon .icon { width: 26px; height: 26px; }
    .list-bottom { font-size: 12px; padding-bottom: 13px; }
    .conversation-panel, .no-selection { display: none; }
    .show-conversation .conversation-list { display: none; }
    .show-conversation .conversation-panel { display: flex; flex: 1; min-height: 0; }
    body:has(.show-conversation) .page-header { height: 49px; padding-block: 10px; }
    body:has(.show-conversation) .global-search { display: none; }
    body:has(.show-conversation) .page-heading h1 { font-size: 13px; color: #8b99a8; font-weight: 500; }
    .thread-header { height: 76px; padding: 14px 16px 14px 8px; gap: 8px; }
    .mobile-back { display: inline-flex; color: #62798a; }
    .thread-heading h2 { font-size: 16px; }
    .thread-heading p { font-size: 12px; }
    .thread-header>.channel-icon .icon { width: 24px; height: 24px; }
    .refresh-button { width: 30px; padding: 6px; }
    .assignment-bar { padding: 8px 17px; font-size: 12px; }
    .assignment-language { font-size: 12px; }
    .message-timeline { padding: 17px 17px 10px; }
    .timeline-date { margin-bottom: 18px; }
    .message-group { width: 92%; max-width: none; margin-bottom: 20px; }
    .bubble { padding: 12px 13px 6px; }
    .bubble p { font-size: 16px; line-height: 1.6; }
    .translation-card { padding: 11px 12px; }
    .translation-card h3 { font-size: 12px; }
    .translation-card p { font-size: 14px; }
    .reply-composer { padding: 10px 12px 9px; }
    .composer-heading { margin-bottom: 7px; }
    .composer-heading h3 { font-size: 12px; }
    .composer-heading>span { font-size: 12px; }
    .composer-input { padding: 7px; }
    .composer-input textarea { min-height: 48px; font-size: 14px; max-height: 100px; }
    .composer-actions { justify-content: flex-end; padding-top: 5px; }
    .composer-hint { display: none; }
    .composer-actions .primary { font-size: 12px; padding: 7px 10px; }
    .composer-options { margin-top: 5px; }
    .takeover-prompt { font-size: 12px; }
    .customer-panel.is-open { position: fixed; top: 77px; bottom: 64px; left: 0; right: 0; width: auto; border: 0; }
    .customer-panel>header { height: 65px; padding-inline: 22px; border-bottom: 1px solid var(--line); }
    .customer-scroll { padding: 20px 22px; }
    .customer-name h3 { font-size: 17px; }
    .customer-card dl { font-size: 13px; grid-template-columns: 70px 1fr; }
    .customer-card .contact-value { font-size: 12px; }
    .customer-actions .wide { font-size: 14px; padding: 11px; }
    .detail-section>h3, .detail-section label { font-size: 13px; }
    .detail-section select, .detail-section textarea { font-size: 14px; }
    .demo-section h3 { font-size: 16px; }
    .demo-section .primary { font-size: 14px; }
    .detail-section .text-button { font-size: 13px; }
    .mobile-nav { display: flex; position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; height: 64px; background: white; border-top: 1px solid var(--line); justify-content: space-around; align-items: center; box-shadow: 0 -3px 15px #24384704; }
    .mobile-nav>a { display: flex; flex-direction: column; gap: 3px; justify-content: center; align-items: center; color: #8997a5; font-size: 12px; padding: 5px 12px; }
    .mobile-nav>a.selected { color: var(--teal); font-weight: 600; }
    .mobile-nav .icon { width: 21px; height: 21px; }
    .content-page { padding: 23px 17px; }
    .page-intro { margin-bottom: 20px; }
    .page-intro h2 { font-size: 21px; }
    .page-intro p { font-size: 13px; }
    .page-intro>.badge { font-size: 12px; }
    th { font-size: 12px; padding: 13px 16px; }
    td { padding: 17px 16px; font-size: 12px; }
    .integration-card { padding: 19px; }
    .integration-top h3 { font-size: 15px; }
    .page-callout { font-size: 12px; padding: 16px; }
    .login { display: block; }
    .intro { min-height: 310px; padding: 28px; }
    .intro h1 { font-size: 39px; margin: 15px 0; }
    .intro p { font-size: 14px; }
    .intro small, .intro .chips { display: none; }
    .intro .brand { margin-bottom: 25px; font-size: 28px; }
    .intro .brand>span { font-size: 20px; }
    .loginform { padding: 34px 25px; }
    .loginform h2 { font-size: 26px; }
}

