/* Workspace layout. Loaded last so operational modules share one shell. */
:root {
  --workspace-header: 68px;
  --workspace-strip: 28px;
  --sd-ink: #25334a;
  --sd-muted: #66758b;
  --sd-line: #e3e9f1;
  --sd-bg: #f4f6fa;
}
body { font-size: 13px; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 18px; z-index: 100; background: #fff; border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.app-header {
  height: var(--workspace-header); padding: 0 28px; gap: 0 24px;
  display: grid; grid-template-columns: auto minmax(0,1fr) auto auto;
  grid-template-rows: 68px; position: relative; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line);
}
.brand { grid-column: 1; grid-row: 1; }
.brand img { width: 126px; height: 42px; object-fit: contain; }
.header-page-title { display: none; }
.app-header .header-tools { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 0; min-width: 0; }
.workspace-search-trigger { width: 34px; height: 34px; min-width: 34px; padding: 8px; margin: 0; background: transparent; border: 0; border-radius: 8px; }
.workspace-search-trigger span, .workspace-search-trigger kbd { display: none; }
.availability-button { font-size: 12px; }
.availability-button.paused { color: #946316!important; }
.account { grid-column: 4; grid-row: 1; margin: 0; padding-left: 20px; border-left: 1px solid var(--line); gap: 10px; position: static; }
.account .avatar { display: inline-flex; width: 34px; height: 34px; }
.account strong { font-size: 12px; max-width: 170px; }
.account small { color: #66758b; font-size: 10px; }
.app-header #navigation {
  grid-column: 2; grid-row: 1; position: static; width: 100%; height: 68px;
  margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center;
  gap: 7px; border: 0; border-top: 0; background: #fff; overflow: visible;
}
.app-header #navigation:before { display: none; }
.app-header #navigation .nav-text { display: inline; }
.app-header #navigation button, .nav-menu>summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; min-height: 36px; height: 36px; padding: 8px 12px;
  flex: none; white-space: nowrap; font-size: 14px; font-weight: 500;
  color: #617089; border: 0; border-radius: 7px; background: transparent; cursor: pointer;
}
.app-header #navigation button .icon, .nav-menu>summary .icon { width: 17px; height: 17px; color: inherit; }
.app-header #navigation button:hover, .nav-menu>summary:hover { background: #f4f6fa; color: #25334a; }
.app-header #navigation button.active { background: #edf2ff; color: var(--blue); box-shadow: none; font-weight: 650; }
.app-header #navigation button.active .icon { color: var(--blue); }
.app-header #navigation button.active:after { display: none; }
.app-header #navigation .nav-count { position: static; background: #e3eaff; color: var(--blue); font-size: 10px; padding: 2px 5px; border-radius: 5px; }
.app-header #navigation .nav-footer { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; }
.app-header #navigation .nav-footer button { width: 34px; padding: 8px; min-height: 34px; }
.app-header #navigation .nav-footer .nav-text { display: none; }
.nav-menu { position: relative; flex: none; }
.nav-menu>summary { list-style: none; }
.nav-menu>summary::-webkit-details-marker { display: none; }
.nav-chevron { font-size: 16px; line-height: 12px; }
.nav-menu[open]>summary, .nav-menu:has(button.active)>summary { color: var(--blue); background: #edf2ff; }
.nav-menu-panel { position: absolute; top: 43px; right: 0; width: 246px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px #23344d20; z-index: 50; }
.nav-menu-caption { display: block; font-size: 10px; font-weight: 650; color: #66758b; letter-spacing: .8px; padding: 10px 12px; }
.app-header #navigation .nav-menu-panel button { width: 100%; height: 40px; justify-content: flex-start; padding: 10px 12px; }
#workspace { margin-left: 0; }
.workspace-strip { height: var(--workspace-strip); padding: 0 28px; background: #f9fafc; font-size: 10px; }
.workspace-strip #pageSubtitle { font-weight: 500; color: #54647d; }
.page { height: calc(100dvh - var(--workspace-header) - var(--workspace-strip)); }
.standard-page { padding: 30px 36px 44px; }
.page-heading h1 { color: #25334a; font-weight: 650; font-size: 28px; letter-spacing: -.7px; }
.page-heading p.muted { color: #66758b; font-size: 13px; margin-top: 7px; }
.surface { border-radius: 12px; }
th, thead th { color: #5f7087; font-size: 11px; }
td, .recall-preview td { font-size: 13px; color: #54647b; }
.metrics .metric>small, .day-row small, .today-metric>span>span { color: #66758b; font-size: 12px; }
.inbox-page { overflow: hidden; background: #fff; }

.inbox-list { width: 380px; flex: 0 0 380px; background: #fff; }
.list-heading { padding: 16px 20px 12px; min-height: 72px; }
.list-heading h1 { font-size: 19px; font-weight: 650; letter-spacing: -.35px; }
.list-heading p { color: #66758b; font-size: 11px; margin-top: 4px; }
.list-heading #newConversation { border-radius: 8px; width: 30px; height: 30px; }
.inbox-tabs { margin: 0; padding: 0 16px 8px; background: none; border: 0; gap: 5px; border-radius: 0; }
.inbox-tabs button { font-size: 13px; padding: 8px 11px; min-height: 36px; flex: none; border: 0; border-radius: 20px; }
.inbox-tabs button.selected { background: #eaf0ff; color: #3159c4; box-shadow: none; }
.inbox-tabs button.selected:after { display: none; }
.inbox-tabs button[data-filter=closed] { margin-left: auto; width: 36px; padding: 8px; flex: none; }
.inbox-tabs button[data-filter=closed] .icon { width: 19px; height: 19px; }
.inbox-tabs b { min-width: 20px; padding: 2px 5px; font-size: 10px; border-radius: 10px; background: #edf0f5; color: #56657d; }
.inbox-tabs button.selected b { background: #d8e3fc; color: #3159c4; }
.inbox-list .list-filters { padding: 0 18px; border: 0; }
.list-filters .search-field { background: #f6f8fb; border: 1px solid #edf0f5; border-radius: 7px; }
.list-filters input { padding: 9px 5px; font-size: 12px; }
.inbox-list-tools { padding: 8px 18px; display: flex; gap: 7px; align-items: center; border-bottom: 1px solid #e6ebf2; position: relative; flex-shrink: 0; }
.read-filter-all { font-size: 12px; border: 0; background: transparent; padding: 6px 10px; border-radius: 16px; color: #66758b; }
.read-filter-all[aria-pressed=true] { background: #edf2ff; color: #3159c4; }
.unread-filter { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 6px 10px; font-size: 12px; color: #66758b; border: 0; border-radius: 16px; cursor: pointer; }
.unread-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.unread-filter:has(input:checked) { background: #edf2ff; color: #3159c4; }
.unread-filter:has(input:focus-visible) { outline: 3px solid #82acf0; outline-offset: 2px; }
.unread-filter b { font-size: 10px; font-weight: 600; }
.inbox-filter-options { margin: 0 0 0 auto; padding: 0; border: 0; overflow: visible; max-height: none; }
.inbox-filter-options>summary { display: flex; align-items: center; gap: 4px; width: auto; min-width: 30px; padding: 6px; list-style: none; border-radius: 6px; cursor: pointer; color: #60728c; }
.inbox-filter-options>summary:hover, .inbox-filter-options[open]>summary { background: #edf2ff; color: #3159c4; }
.inbox-filter-options summary::-webkit-details-marker { display: none; }
.inbox-filter-options summary .icon { width: 19px; height: 19px; }
.filter-count { font-size: 10px; font-weight: 700; }
.inbox-filter-panel { position: absolute; top: calc(100% - 2px); left: 12px; right: 12px; z-index: 30; padding: 16px; border: 1px solid #dfe5ef; background: white; border-radius: 10px; box-shadow: 0 12px 40px #23344d26; max-height: min(480px,55dvh); overflow: auto; }
.inbox-filter-panel>strong { display: block; font-size: 13px; margin-bottom: 12px; }
.inbox-filter-options .filter-pair { margin: 8px 0; }
.inbox-filter-options select { font-size: 12px; padding: 8px; }
.inbox-filter-options .advanced-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.inbox-filter-options .advanced-filters select { width: 100%; min-width: 0; }
.inbox-filter-options #responseFilter, .inbox-filter-options #sortConversations { grid-column: 1/-1; }
.service-queue-summary { padding: 12px 0 6px; }
.service-queue-summary button { background: #f7f9fc; border: 0; padding: 8px; min-height: 44px; }
.service-queue-summary strong { font-size: 18px; }
.service-queue-summary span { font-size: 10px; }
.service-queue-summary .needs-attention { background: #fff6e5; }
.next-inbox { padding: 4px 0 0; border: 0; }
.next-inbox button { font-size: 12px; color: #3159c4; }
.conversation-row { padding: 12px 18px; gap: 12px; min-height: 88px; border-bottom: 1px solid #edf0f5; align-items: center; }
.conversation-row.selected { background: #eef3ff; }
.conversation-row.selected:before { top: 0; bottom: 0; border-radius: 0; }
.conversation-row .avatar { width: 42px; height: 42px; margin: 0; font-size: 13px; background: #e8eef8; color: #5c7397; }
.avatar-wrap { position: relative; flex-shrink: 0; }
.row-channel { position: absolute; bottom: -1px; right: -3px; width: 18px; height: 18px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 5px; background: #21a568; color: #fff; }
.row-channel .icon { width: 11px; height: 11px; stroke-width: 2; }
.row-body { min-width: 0; display: block; }
.row-top { gap: 8px; margin: 0 0 5px; }
.row-name { font-size: 15px; line-height: 1.3; font-weight: 600; max-width: none; width: auto; flex: 1; color: #28364b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-time { font-size: 11px; font-weight: 400; color: #758297; display: block; flex-shrink: 0; white-space: nowrap; }
.row-labels { display: flex; align-items: center; gap: 4px; min-height: 20px; margin-bottom: 4px; }
.specialty-tag { display: inline-block; max-width: 136px; padding: 2px 5px; border-radius: 3px; font-size: 11px; line-height: 1.35; font-weight: 650; letter-spacing: .15px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tone-plum { background: #f1dce6; color: #7b344f; }
.tone-olive { background: #e8edc8; color: #526424; }
.tone-teal { background: #d4eee8; color: #236d62; }
.tone-rose { background: #f8dfe5; color: #954562; }
.tone-sage { background: #e0ebde; color: #436d43; }
.tone-amber { background: #fae8c7; color: #855f21; }
.tone-violet { background: #e4ddf6; color: #63528e; }
.tone-blue { background: #dce8fa; color: #3e6394; }
.tag-overflow { font-size: 10px; color: #66758b; }
.row-queue { margin-left: auto; flex-shrink: 0; max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 8px; border-radius: 12px; background: #f0f3f7; color: #61718a; font-size: 11px; font-weight: 500; }
.row-message { display: flex; align-items: center; gap: 8px; }
.row-preview { font-size: 13px; line-height: 1.45; margin: 0; flex: 1; min-width: 0; color: #65738a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.has-unread .row-name { font-weight: 700; }
.has-unread .row-preview { color: #43536c; font-weight: 500; }
.unread-badge { margin: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; font-size: 10px; background: #3561cc; border-radius: 10px; }
.row-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; }
.row-status .pill, .row-status .followup-badge { font-size: 10px; padding: 2px 5px; margin: 0; }
.response-alert { font-size: 10px; color: #976615; }
.delivery-alert { color: #ae493c; }
.list-footer { padding: 8px 18px; font-size: 10px; }
.chat-panel { min-width: 0; overflow-y: auto; }
.chat-heading { min-height: 76px; padding: 16px 22px; gap: 12px; flex-shrink: 0; }
.chat-title { flex: 1; min-width: 100px; }
.chat-title h2 { font-size: 17px; }
.chat-title>div { color: #66758b; font-size: 11px; margin-top: 5px; }
.chat-actions { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chat-actions .small-button { font-size: 11px; padding: 8px 10px; }
.conversation-context { padding: 8px 22px; font-size: 11px; color: #66758b; flex-wrap: wrap; gap: 7px; }
.followup-indicator { border-radius: 12px; background: #f0f3f8; padding: 3px 8px; color: #61718a; font-size: 10px; }
.followup-indicator.overdue { color: #995520; background: #fff0db; }
.conversation-tools { position: relative; }
.conversation-tools>summary { list-style: none; display: grid; place-items: center; width: 32px; height: 32px; font-size: 24px; line-height: 1; border-radius: 7px; cursor: pointer; color: #66758b; }
.conversation-tools>summary::-webkit-details-marker { display: none; }
.conversation-tools[open]>summary, .conversation-tools>summary:hover { background: #edf2ff; color: #3159c4; }
.conversation-tools-panel { position: absolute; top: 41px; right: 0; width: 320px; padding: 16px; background: #fff; border: 1px solid #dfe5ef; border-radius: 10px; box-shadow: 0 12px 40px #23344d26; z-index: 35; }
.conversation-tools-panel>strong { display: block; font-size: 13px; padding-bottom: 10px; }
.conversation-tools-panel .conversation-followup-bar, .conversation-tools-panel .conversation-history-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; border: 0; background: #fff; }
.conversation-tools-panel label { width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.conversation-tools-panel select { width: 170px; font-size: 12px; }
.conversation-tools-panel .conversation-history-tools>span { font-size: 10px; display: block; }
.conversation-tools-panel #auditCurrent { margin-top: 8px; }
.conversation-wait-status:empty { display: none; }
.conversation-wait-status { padding: 8px 10px; border-radius: 6px; background: #fff7e8; margin-bottom: 8px; }
.messages { padding: 24px 28px; background: #f3f5f9; }
.message { max-width: 80%; padding: 12px 15px; border-radius: 12px; box-shadow: none; }
.message.out { background: #e9efff; }
.message p { font-size: 14px; line-height: 1.65; }
.composer { padding: 12px 14px; margin: 12px 18px 16px; border: 1px solid #dfe5ef; border-radius: 10px; box-shadow: 0 3px 12px #24334c05; }
.composer textarea { background: #fff; min-height: 68px; font-size: 14px; border: 0; border-radius: 0; padding: 12px 2px; }
.composer textarea:focus { box-shadow: none; }
.composer:focus-within { border-color: #9fb2dc; }
.composer-tabs { padding-bottom: 8px; border-bottom: 1px solid #edf0f5; }
.composer-tabs button { border: 0; border-radius: 0; padding: 6px 3px; font-size: 12px; }
.composer-tabs button.selected { box-shadow: none; background: transparent; }
.compose-footer { border-top: 1px solid #edf0f5; padding-top: 10px; }
.compose-footer #send { padding: 9px 16px; border-radius: 7px; }
.composer-tools { flex-wrap: wrap; gap: 6px 10px; }
.composer-tools button { font-size: 11px; }
.composer-tools small { font-size: 10px; }
.composer-more { position: relative; }
.composer-more summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; color: #66758b; padding: 6px; font-size: 11px; border-radius: 6px; }
.composer-more summary::-webkit-details-marker { display: none; }
.composer-more summary:hover { background: #f2f5fa; }
.composer-more>div { position: absolute; bottom: 34px; left: 0; width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px #23344d20; z-index: 6; }
.composer-more>div>button { display: flex; width: 100%; justify-content: flex-start; border: 0; padding: 10px; }
.conversation-followup-bar, .conversation-history-tools { color: #5c6d83; }
.conversation-followup-bar { min-height: 44px; padding: 7px 22px; gap: 10px; }
.conversation-followup-bar select, .conversation-history-tools select { padding: 5px 7px; font-size: 11px; }
.conversation-followup-bar button { padding: 6px 8px; font-size: 11px; }
.conversation-history-tools { min-height: 36px; padding: 6px 22px; background: #f9fafc; }
.chat-panel .ai-attendance-banner.workflow-paused { display: none; }
.contact-panel { width: 292px; flex: 0 0 292px; padding: 20px; background: #fff; }
.contact-panel .profile { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 4px 12px; align-items: center; text-align: left; padding: 22px 0 16px; }
.contact-panel .profile h3 { grid-column: 2; font-size: 16px; color: #28364b; margin: 0; }
.contact-panel .profile p { grid-column: 2; margin: 0; font-size: 11px; overflow-wrap: anywhere; }
.contact-panel .profile .avatar { width: 54px; height: 54px; font-size: 19px; background: #e8eef8; color: #5c7397; }
.contact-panel .profile .avatar { grid-column: 1; grid-row: 1/4; margin: 0; }
.contact-panel .aside-heading h3 { font-size: 13px; }
.contact-panel .tags { justify-content: flex-start; padding: 0 0 12px; }
.contact-panel .tag { border-radius: 4px; padding: 4px 7px; font-size: 10px; background: #e8eef8; color: #456798; }
.contact-panel .contact-section { padding: 14px 0; }
.contact-panel .contact-section select { font-size: 12px; padding: 9px; }
.profile p, .contact-section label, .field-caption { color: #66758b; }
.contact-section h3 { font-size: 13px; }
.contact-section summary { cursor: pointer; padding: 4px 0; }
.conversation-empty { background: #f5f7fb; padding: 28px; }
.empty-conversation-icon { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #dce5f6; border-radius: 24px; background: #edf2ff; color: #6e88c4; margin-bottom: 24px; }
.empty-conversation-icon .icon { width: 32px; height: 32px; }
.conversation-empty h2 { font-size: 25px; letter-spacing: -.5px; color: #35435a; }
.conversation-empty>p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: #66758b; max-width: 440px; margin-top: 12px; }
.conversation-empty .eyebrow { font-size: 10px; letter-spacing: 1.3px; color: #6b7c96; }
.empty-conversation-steps { display: flex; gap: 22px; margin: 30px 0 22px; }
.empty-conversation-steps>span { display: flex; align-items: center; gap: 7px; color: #66758b; font-size: 11px; }
.empty-conversation-steps .icon { width: 15px; height: 15px; color: #7e92b3; }
.conversation-empty>button { color: var(--blue); font-size: 12px; }
.planned-channel { background: #fafbfd; }
.planned-channel>.pill { float: right; }
.planned-channel .channel-badge { background: #eef0f6!important; color: #7b83a2!important; }
.planned-channel small { color: #66758b; font-size: 11px; }
.connection-card p { color: #66758b; font-size: 12px; }
.flow-clinic-note { margin: 12px 0; padding: 10px 12px; background: #edf2ff; border-radius: 7px; color: #45628d; font-size: 12px; line-height: 1.6; }
.settings-body .specialty-option{display:grid;grid-template-columns:42px minmax(0,1fr) 32px;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.specialty-option>button{align-self:start;margin-top:21px;padding:7px}
.specialty-option .flow-description,.specialty-option .flow-step,.specialty-option .flow-dest,.specialty-option .flow-coverage{grid-column:1/-1}
.settings-body .specialty-option .flow-dest{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.flow-coverage{min-width:0;margin:0;padding:12px;border:1px solid #dfe5ee;border-radius:8px;background:#f8faff}
.flow-coverage legend{padding:0 5px;font-size:12px;font-weight:600;color:#3e567b}
.flow-coverage p{font-size:12px;line-height:1.6;color:#62728b;margin:0 0 10px}
.flow-coverage>div{display:flex;gap:12px;flex-wrap:wrap}
.flow-coverage .inline-label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}
.flow-coverage input[type=checkbox]{min-height:0!important;width:15px;height:15px;flex:none}
@media(max-width:700px){.settings-body .specialty-option .flow-dest{grid-template-columns:1fr}}
.booking-panel { top: calc(var(--workspace-header) + 8px); }
body:has(#navigation[hidden]) { --workspace-header: 72px; }
body:has(#navigation[hidden]) .app-header { grid-template-rows: 72px; }
.login-screen { min-height: calc(100dvh - var(--workspace-header)); }
@media(min-width:1400px) {
  .contact-panel:not([hidden]) { display: block; position: static; height: auto; box-shadow: none; }
  #closeContactPanel, #toggleDetails { display: none; }
}
@media(min-width:701px) and (max-width:1399px) {
  .contact-panel { display: none; }
  .contact-panel.is-open { display: block; position: fixed; top: calc(var(--workspace-header) + var(--workspace-strip)); right: 0; bottom: 0; width: 310px; z-index: 45; box-shadow: -12px 0 36px #23344d1c; }
  #closeContactPanel { display: inline-flex; margin-left: auto; }
  .inbox-list { width: 380px; flex-basis: 380px; }
  .app-header { padding: 0 20px; gap: 0 20px; }
  .app-header #navigation { gap: 3px; }
  .app-header #navigation button, .nav-menu>summary { padding: 8px 10px; }
  .app-header #navigation .nav-footer button { padding: 8px 9px; }
  .empty-conversation-steps { flex-wrap: wrap; justify-content: center; gap: 14px; }
}
@media(min-width:701px) and (max-width:1100px) {
  .app-header #navigation { overflow: visible; }
  .nav-menu-panel { position: fixed; top: 64px; right: 18px; }
  .app-header #navigation .nav-footer { margin-left: 6px; }
  .account>div { display: none; }
  .availability-button { width: 30px; font-size: 0; gap: 0; padding: 8px!important; }
  .app-header .header-tools { gap: 4px; }
  .header-tools .workspace-search-trigger { width: 34px; }
  .chat-heading { padding: 14px 16px; flex-wrap: wrap; }
  .chat-actions { flex-basis: 100%; justify-content: flex-start; }
  .inbox-list { width: 350px; flex-basis: 350px; }
  .inbox-tabs { gap: 5px; }
  .inbox-tabs button { font-size: 11px; }
  .composer-tabs { gap: 5px; flex-wrap: wrap; }
  .conversation-context { padding: 9px 16px; }
  .standard-page { padding: 26px 24px 40px; }
}
@media(max-width:700px) {
  :root { --workspace-header: 104px; --workspace-strip: 28px; }
  .app-header { grid-template-columns: auto minmax(0,1fr) auto; grid-template-rows: 58px 46px; padding: 0 12px; gap: 0 10px; }
  .brand img { width: 110px; height: 38px; }
  .app-header .header-tools { grid-column: 2; position: static!important; transform: none; justify-content: flex-end; gap: 4px; }
  .workspace-search-trigger { width: 34px; height: 34px; min-width: 34px; margin: 0; padding: 8px; }
  .workspace-search-trigger span, .workspace-search-trigger kbd, #notifications { display: none; }
  .availability-button { font-size: 10px; padding: 6px!important; }
  #conversationAttentionButton { font-size: 0; padding: 7px; min-width: 42px; gap: 5px; }
  #conversationAttentionButton:before { content: '!'; font-size: 12px; font-weight: 700; color: #65758c; border: 1px solid #acb7c8; border-radius: 50%; width: 15px; height: 15px; line-height: 14px; }
  #conversationAttentionButton b { font-size: 10px; }
  .account { grid-column: 3; padding-left: 0; border: 0; gap: 0; }
  .account>div, .account .avatar { display: none; }
  .app-header #navigation { grid-column: 1/-1; grid-row: 2; width: calc(100% + 24px); margin: 0 -12px; padding: 0 10px; gap: 6px; height: 46px; overflow: visible; border-top: 1px solid #edf0f5; }
  .app-header #navigation button, .nav-menu>summary { font-size: 11px; padding: 8px 10px; gap: 6px; }
  .app-header #navigation button .icon, .nav-menu>summary .icon { width: 16px; height: 16px; }
  .app-header #navigation .nav-footer { margin-left: 0; }
  .nav-menu-panel { position: fixed; right: 12px; top: 102px; max-height: calc(100dvh - 150px); overflow-y: auto; }
  .workspace-strip { padding: 0 12px; }
  .workspace-strip #sync { max-width: 130px; }
  .page { height: calc(100dvh - var(--workspace-header) - var(--workspace-strip)); }
  .standard-page { padding: 24px 16px 36px; }
  .page-heading h1 { font-size: 24px; }
  .inbox-list { width: 100%; flex: 0 0 100%; }
  .list-heading { padding: 14px 18px 10px; min-height: 68px; }
  .inbox-tabs button { font-size: 13px; }
  .chat-heading { padding: 12px; min-height: 70px; flex-wrap: wrap; }
  .chat-title h2 { font-size: 16px; }
  .chat-actions { width: 100%; justify-content: flex-start; }
  .chat-actions .small-button { font-size: 11px; padding: 7px 9px; }
  .conversation-tools-panel { position: fixed; left: 12px; right: 12px; top: calc(var(--workspace-header) + var(--workspace-strip) + 108px); width: auto; max-height: calc(100dvh - var(--workspace-header) - var(--workspace-strip) - 124px); overflow-y: auto; }
  .conversation-context { padding: 8px 12px; font-size: 10px; }
  .messages { padding: 20px 14px; }
  .message { max-width: 91%; }
  .composer { padding: 10px 12px 12px; }
  .composer-tabs { gap: 6px; }
  .composer-tabs #aiSuggest:disabled, .composer-tabs .grow { display: none; }
  .chat-panel .ai-attendance-banner.workflow-paused { display: none; }
  .contact-panel.is-open { position: fixed; right: 0; top: calc(var(--workspace-header) + var(--workspace-strip)); bottom: 0; width: min(310px,100vw); z-index: 45; box-shadow: -12px 0 36px #23344d1c; }
  #closeContactPanel { display: inline-flex; margin-left: auto; }
  .connection-grid { grid-template-columns: 1fr; }
  .booking-panel { top: 12px; }
  body:has(#navigation[hidden]) { --workspace-header: 64px; }
  body:has(#navigation[hidden]) .app-header { grid-template-rows: 64px; }
}
@media(prefers-reduced-motion:reduce) { *, *:before, *:after { scroll-behavior: auto!important; transition: none!important; } }
@media(max-width:380px) {
 .availability-button { width: 28px; font-size: 0; padding: 8px!important; gap: 0; }
 .app-header #navigation { gap: 2px; }
 .app-header #navigation button, .nav-menu>summary { padding: 8px 6px; }
 .nav-menu>summary .icon { display: none; }
}

@media(min-width:701px) {
 #conversationAttentionButton { font-size: 0; padding: 7px; gap: 4px; border: 0; }
 #conversationAttentionButton:before { content: "!"; font-size: 12px; font-weight: 700; border: 1px solid #acb7c8; border-radius: 50%; width: 16px; height: 16px; line-height: 15px; }
 #conversationAttentionButton b { font-size: 10px; }
}
@media(min-width:701px) and (max-width:1100px) { .app-header { gap: 0 12px; } .app-header #navigation .nav-footer { margin-left: 4px; } .app-header #navigation button, .nav-menu>summary { padding: 8px; font-size: 13px; } .account { padding-left: 8px; } }
