/* Platinum Precision — one quiet workspace for the entire conversation. */
:root {
  color-scheme: light;
  --navy: #172026; --navy-soft: #303942;
  --canvas: #f0f1f3; --paper: #fff; --surface: #f6f7f8;
  --text: #172026; --muted: #626d78; --line: #dce0e5;
  --teal: #d64b1a; --teal-dark: #b63911; --teal-light: #fff0e8;
  --amber: #8b641d; --amber-light: #fff6e5;
  --red: #ac3d35; --red-light: #fff0ee;
  --radius: 12px; --shadow: 0 4px 18px #18263304;
  font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.5;
}
body { background: var(--canvas); }
main:focus { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: #ffdcc9; color: #172026; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.app-shell { display: block; min-height: 100dvh; padding: 0; }
.sidebar { position: relative; inset: auto; width: 100%; height: auto; min-height: 76px; display: flex; flex-direction: row; align-items: center; gap: 25px; padding: 14px 28px; background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.brand { margin: 0; gap: 10px; color: var(--text); font-size: 18px; font-weight: 650; letter-spacing: 3px; flex-shrink: 0; }
.brand-wordmark { display: flex; align-items: center; gap: 12px; }
.brand small { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 1.5px; margin: 1px 0 0; }
.brand-mark { position: relative; display: block; height: 31px; width: 31px; }
.brand-mark i { position: absolute; width: 25px; height: 25px; border: 1.3px solid var(--teal); background: transparent; border-radius: 50%; transform: none; }
.brand-mark i:nth-child(1) { width: 25px; height: 25px; top: 2px; left: 1px; }
.brand-mark i:nth-child(2) { width: 15px; height: 25px; top: 2px; left: 6px; transform: rotate(42deg); }
.brand-mark i:nth-child(3) { width: 5px; height: 5px; top: 2px; right: 3px; border: 0; background: var(--teal); box-shadow: 0 0 0 3px #fff; }
.workspace-label, .shift-note, .user-copy { display: none; }
.main-nav { display: flex; gap: 3px; margin: 0 auto 0 4px; min-width: 0; }
.nav-link { padding: 10px 11px; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 500; border-radius: 7px; flex-direction: row; white-space: nowrap; }
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { background: var(--teal-light); color: #bd4016; }
.nav-link.active::before { display: none; }
.nav-count { margin-left: 0; color: #8b4f3a; background: #f5e2d8; font-size: 10px; min-width: 18px; text-align: center; padding: 0 4px; border-radius: 4px; }
.sidebar-bottom { margin: 0; padding: 0; display: block; }
.user-card { padding: 0 0 0 12px; border: 0; border-left: 1px solid var(--line); gap: 7px; }
.avatar { width: 31px; height: 31px; background: #f2f3f5; color: #52606c; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; }
.icon-button:hover { background: #edf0f3; }
.user-card .icon-button { color: #687583; }
.user-card .icon-button svg { width: 16px; height: 16px; }
.workspace { grid-column: auto; min-width: 0; }
.topbar-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.command-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--muted); border: 1px solid var(--line); background: #fff; border-radius: 7px; font-size: 11px; min-height: 34px; }
.command-trigger:hover { border-color: #bdc5cc; color: var(--text); }
.command-trigger svg { width: 15px; height: 15px; }
.command-trigger kbd { font: 10px "Segoe UI",sans-serif; color: #707b85; padding: 1px 4px; border: 1px solid #e2e5e8; border-radius: 3px; }
#refresh-button { width: 32px; height: 32px; padding: 6px; overflow: hidden; font-size: 0; color: var(--muted); }
#refresh-button svg { width: 17px; height: 17px; }
.button { font-size: 12px; font-weight: 550; border-radius: 7px; padding: 9px 13px; }
.button-primary { background: #d34a1d; color: #fff; border-color: #d34a1d; box-shadow: 0 2px 3px #a8331210; }
.button-primary:hover { background: #b83c13; border-color: #b83c13; }
.button-secondary { background: #fff; color: #34414c; border-color: #d8dde3; }
.button-secondary:hover { background: #f3f5f7; }
.button-quiet:hover { background: #e9ecf0; }
.badge { font-size: 10px; font-weight: 550; border-radius: 5px; letter-spacing: 0; }
.badge.neutral { color: #5e6975; background: #f0f2f4; }
.badge.teal { color: #287255; background: #eaf5ee; }
.badge.amber { color: #8b641d; background: #fff6e5; }
.badge.red { color: #ac3d35; background: #fff0ee; }
.badge.blue { color: #436a90; background: #edf3fa; }
.badge.purple { color: #705ba0; background: #f1edf9; }
.environment-banner { margin: 0; border: 0; border-bottom: 1px solid #e2e5e8; padding: 8px 28px; background: #e9ebee; color: #626d78; border-radius: 0; font-size: 11px; gap: 8px; }
.environment-banner svg { width: 14px; height: 14px; color: #74808b; }
.environment-banner.live { background: #eef5f1; color: #476653; }
main { padding: 21px 28px 20px; max-width: 1820px; margin: auto; min-height: calc(100dvh - 164px); }
h1 { font-size: 30px; line-height: 1.22; font-weight: 500; letter-spacing: -1px; }
h2, h3 { font-weight: 550; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 1.6px; color: #707985; margin-bottom: 9px; }
.page-heading { margin: 0 0 25px; }
.page-heading p { color: var(--muted); }
.panel { border-color: var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
dialog { max-width: calc(100% - 18px); }
.input, select, textarea { background: #fff; border-color: #d8dde3; color: var(--text); border-radius: 7px; }
input::placeholder, textarea::placeholder { color: #7c8791; }
.workspace-footer { max-width: 1820px; padding: 0 28px 18px; color: #747f89; font-size: 10px; gap: 12px; }
.workspace-footer>span:first-child { letter-spacing: 1.4px; font-size: 9px; }
.inbox-heading { gap: 24px; margin: 0 0 16px; }
.inbox-heading .eyebrow { margin-bottom: 6px; font-size: 9px; }
.inbox-heading-copy { min-width: 0; }
.inbox-heading h1 { font-size: clamp(25px,2.4vw,34px); letter-spacing: -1.1px; }
.inbox-heading-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.focus-toggle { color: #626d78; background: transparent; border-color: #d4d9df; }
.focus-exit { background: #fff; color: #626d78; border: 1px solid #d7dde2; font-size: 11px; padding: 6px 9px; border-radius: 6px; flex-shrink: 0; }
.focus-return { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.inbox-live-stats { display: flex; gap: 19px; margin-top: 6px; }
.inbox-live-stat { display: flex; align-items: baseline; gap: 5px; color: var(--muted); font-size: 11px; }
.inbox-live-stat strong { font-size: 12px; color: #3e4954; font-weight: 600; }
.service-ribbon { margin-bottom: 14px; border: 1px solid #d8dde3; border-radius: 8px; background: #f7f8fa; display: grid; grid-template-columns: minmax(0,1fr) auto; }
.service-ribbon-main { display: flex; align-items: center; gap: 17px; padding: 9px 15px; min-width: 0; }
.service-shift { display: flex; align-items: center; gap: 9px; flex-shrink: 0; padding-right: 18px; border-right: 1px solid #dce1e6; }
.service-shift small { display: inline; color: #737e89; font-size: 8px; font-weight: 500; letter-spacing: 1px; margin-right: 7px; }
.service-shift strong { display: inline; color: #394550; font-size: 11px; font-weight: 550; }
.service-shift .live-dot { background: #798996; box-shadow: 0 0 0 3px #e9edf1; margin: 0; width: 5px; height: 5px; }
.service-hours { color: #717c87; font-size: 10px; margin-left: 8px; }
.service-chips { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.service-chip { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #7a858f; }
.service-chip strong { color: #616d79; font-weight: 500; }
.chip-marker { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #a9b1b8; flex-shrink: 0; }
.service-chip.is-ready .chip-marker { background: #4a9571; }
.service-chip.is-demo .chip-marker { background: #b09275; }
.service-details { min-width: 0; }
.service-details>summary { list-style: none; cursor: pointer; display: flex; gap: 9px; justify-content: center; align-items: center; padding: 0 15px; color: #626d78; font-size: 11px; min-height: 38px; height: 100%; border-left: 1px solid #e0e4e8; }
.service-details>summary::-webkit-details-marker { display: none; }
.service-details>summary svg { width: 13px; height: 13px; transform: rotate(90deg); }
.service-details[open]>summary svg { transform: rotate(-90deg); }
.service-ribbon:has(.service-details[open]) { display: block; }
.service-details[open]>summary { border-left: 0; border-top: 1px solid #e0e4e8; justify-content: flex-end; min-height: 38px; }
.service-details-body { padding: 6px 18px 16px; }
.service-path { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.service-path>span { display: flex; align-items: center; gap: 7px; color: #56636f; font-size: 11px; }
.service-path b { font-size: 9px; font-weight: 500; border: 1px solid #d5dce3; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; color: #7b8792; }
.service-path>i { color: #a4adb5; font-style: normal; }
.service-schedule { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; color: #66727e; font-size: 11px; }
.service-schedule strong { font-weight: 550; }
.service-disclosure { color: #727e89; font-size: 11px; line-height: 1.65; margin-top: 10px; }
.inbox-layout { --room-height: max(410px, calc(100dvh - 324px)); display: grid; grid-template-columns: 252px minmax(0,1fr); gap: 0; align-items: stretch; border: 1px solid #d5dbe2; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px #192c3f06; }
.inbox-layout>.panel { border: 0; border-radius: 0; box-shadow: none; }
.conversation-list-panel { background: #f6f7f8; border-right: 1px solid #dce0e5!important; min-width: 0; display: flex; flex-direction: column; height: var(--room-height); }
.conversation-list-heading { padding: 22px 18px 17px; gap: 10px; }
.conversation-list-heading h2 { font-size: 15px; font-weight: 550; }
.conversation-list-heading p { font-size: 11px; color: #78828c; margin-top: 4px; }
.conversation-list-heading>svg { width: 17px; color: #8a959f; }
.conversation-search { padding: 0 14px 13px; }
.conversation-search input { background: #fff; font-size: 11px; min-height: 37px; padding-top: 8px; padding-bottom: 8px; }
.conversation-search .search-field svg { width: 14px; height: 14px; top: 12px; color: #86929b; }
.inbox-filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 14px 17px; }
.inbox-filter { display: flex; gap: 5px; justify-content: space-between; align-items: center; min-height: 31px; padding: 6px 8px; border: 1px solid #dce1e6; border-radius: 5px; background: transparent; color: #66727d; font-size: 10px; }
.inbox-filter:hover { background: #eceff2; }
.inbox-filter[aria-pressed=true] { color: #a74321; border-color: #e6c8bb; background: #fff0e8; }
.inbox-filter strong { font-size: 10px; font-weight: 550; }
.conversation-list { max-height: none; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cbd1d7 transparent; padding: 0 10px 12px; flex: 1; }
.conversation-list-item { margin: 0 0 7px; padding: 14px 10px; gap: 10px; background: transparent; border: 1px solid transparent; border-radius: 8px; }
.conversation-list-item:hover { background: #eceff2; }
.conversation-list-item.selected { border-color: #d9dfe5; background: #fff; box-shadow: 0 3px 9px #17263306; }
.conversation-list-item.selected::before { inset: 17px auto auto -1px; width: 2px; height: 19px; border-radius: 0 2px 2px 0; background: var(--teal); }
.conversation-avatar { width: 33px; height: 33px; color: #6a7782; background: #eceff2; border: 1px solid #dbe1e6; border-radius: 50%; font-size: 10px; font-weight: 500; }
.selected>.conversation-avatar { background: #fff3ed; border-color: #ecc6b7; color: #bc5a36; }
.conversation-list-top { flex-wrap: wrap; gap: 5px; }
.conversation-list-top>strong { font-size: 12px; font-weight: 550; max-width: 100%; }
.conversation-mode { font-size: 9px; color: #5b7968; background: #e9f1ec; padding: 2px 5px; }
.conversation-mode.human { color: #60748a; background: #edf1f5; }
.conversation-number { color: #76828d; font-size: 10px; margin-top: 4px; }
.conversation-preview { color: #687681; font-size: 11px; line-height: 1.6; margin-top: 9px; }
.conversation-list-bottom { color: #75818c; font-size: 10px; gap: 7px; margin-top: 11px; }
.conversation-list-bottom>time { color: #87919a; font-size: 9px; }
.conversation-list-footer { background: transparent; color: #7b8791; padding: 13px 16px; font-size: 10px; }
.chat-pane { min-width: 0; height: var(--room-height); display: flex; flex-direction: column; }
.chat-header { min-height: 67px; padding: 13px 22px; gap: 11px; background: #fff; flex-shrink: 0; }
.chat-header>.conversation-avatar { width: 33px; height: 33px; }
.chat-person h2 { font-size: 14px; font-weight: 550; }
.chat-person p { color: #798590; font-size: 11px; margin-top: 3px; }
.chat-header>.badge { font-size: 9px; font-weight: 500; }
.chat-content-grid { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-main { display: flex; min-width: 0; min-height: 0; flex-direction: column; flex: 1; }
.chat-message-list { height: auto; min-height: 100px; max-height: none; flex: 1; overflow-y: auto; background: #fff; padding: 24px; scrollbar-color: #d2d8de transparent; }
.chat-message { max-width: 88%; margin-bottom: 23px; }
.message-author { font-size: 10px; color: #7c8892; font-weight: 500; margin-bottom: 7px; }
.message-bubble { background: #f3f5f7; border: 0; border-radius: 2px 11px 11px 11px; padding: 12px 14px; box-shadow: none; }
.message-bubble p { font-size: 13px; line-height: 1.65; color: #34414d; }
.outgoing .message-bubble { background: #fff0e8; border: 0; border-radius: 11px 2px 11px 11px; }
.message-meta { font-size: 10px; color: #7e8993; gap: 6px; margin-top: 7px; }
.message-delivery:before { color: #c0c7cd; }
.message-delivery.teal { color: #398664; }
.message-delivery.blue { color: #577b9e; }
.message-delivery.amber { color: #967642; }
.message-delivery.red { color: #ac3d35; }
.message-attachment { font-size: 11px; }
.system-message { max-width: 100%; }
.system-message .message-bubble { background: #f8f9fa; border: 1px dashed #d9dfe5; border-radius: 7px; }
.system-message .message-bubble p { color: #707d88; font-size: 11px; }
.chat-composer { padding: 15px 20px 18px; background: #fff; border-top: 1px solid #e5e9ed; flex-shrink: 0; }
.composer-label { color: #66737f; font-size: 11px; font-weight: 500; margin-bottom: 8px; }
.chat-composer textarea { background: #fff; height: 67px; min-height: 67px; max-height: 160px; font-size: 12px; padding: 11px 12px; }
.chat-composer .form-error:empty { display: none; }
.chat-composer textarea:disabled { background: #f4f6f8; color: #828d97; }
.composer-bottom { flex-direction: row; align-items: center; margin-top: 10px; gap: 12px; }
.composer-bottom>p { font-size: 10px; color: #7b8792; line-height: 1.65; }
.composer-bottom>.button { font-size: 11px; padding: 8px 12px; }
.conversation-context { min-width: 0; background: #fdfefe; border-top: 1px solid #dce0e5; }
.conversation-context>summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; font-size: 12px; font-weight: 550; color: #43525f; cursor: pointer; list-style: none; }
.conversation-context>summary::-webkit-details-marker { display: none; }
.conversation-context>summary svg { width: 15px; height: 15px; }
.conversation-context>summary::after { content: '+'; margin-left: auto; font-size: 16px; font-weight: 400; color: #8b96a0; }
.conversation-context[open]>summary::after { content: '−'; }
.conversation-details { border: 0; background: transparent; display: block; }
.conversation-tools>summary { padding: 15px 18px; font-size: 11px; color: #687581; border-color: #e6eaee; font-weight: 500; }
.conversation-tools>summary svg { color: #8b97a1; width: 13px; height: 13px; }
.conversation-tools-body { padding: 17px 18px; }
.conversation-tools-body .badge { font-size: 9px; }
.conversation-facts { margin-top: 15px; }
.conversation-facts>div { margin-bottom: 15px; }
.conversation-facts dt { color: #7e8993; font-size: 10px; margin-bottom: 5px; }
.conversation-facts dd { color: #44515e; font-size: 12px; font-weight: 500; }
.conversation-tool-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.conversation-tool-actions .button, .conversation-identity-actions .button { font-size: 11px; padding: 8px 10px; }
.conversation-identity-actions { padding-top: 14px; margin-top: 15px; border-color: #e4e8ec; gap: 12px; }
.conversation-identity-actions .text-link { color: #8e7063; font-size: 10px; }
.identity-guidance { font-size: 10px; color: #7d8993; line-height: 1.65; }
.context-network-link { margin-top: 9px; font-size: 11px; color: #586c7b; }
.conversation-case-section { padding: 19px 18px; border-top: 1px solid #e1e6eb; border-left: 0; }
.conversation-case-section h3 { font-size: 12px; margin-bottom: 13px; font-weight: 550; }
.conversation-case-section>.button { font-size: 11px; padding: 9px 10px; }
.linked-case-list { margin-top: 16px; gap: 9px; }
.linked-case { background: #fff; color: #596977; border-color: #dce2e8; padding: 11px 12px; flex-direction: column; align-items: flex-start; border-radius: 7px; }
.linked-case:hover { border-color: #b4c0ca; background: #f8fafb; }
.linked-case strong { font-size: 11px; font-weight: 500; }
.linked-case small { font-size: 10px; color: #7b8792; }
.linked-case .badge { font-size: 9px; }
.conversation-no-cases { color: #84909a; font-size: 11px; }
.inbox-layout .empty-state { padding: 40px 20px; }
.inbox-layout .empty-state h3 { font-size: 13px; color: #506170; }
.inbox-layout .empty-state p { font-size: 11px; }
.empty-icon { background: #eff2f5; color: #8694a1; }
.channel-issues { margin-bottom: 15px; }
body.conversation-focus .inbox-heading, body.conversation-focus #inbox-service { display: none; }
body.conversation-focus main { padding-top: 20px; }
body.conversation-focus .inbox-layout { --room-height: max(530px, calc(100dvh - 185px)); }
@media(min-width:1100px) {
  .chat-pane:has(.conversation-context[open]) { display: grid; grid-template-columns: minmax(0,1fr) 264px; grid-template-rows: auto minmax(0,1fr); }
  .chat-pane:has(.conversation-context[open]) .chat-header { grid-column: 1; grid-row: 1; }
  .chat-pane:has(.conversation-context[open]) .chat-content-grid { display: contents; }
  .chat-pane:has(.conversation-context[open]) .chat-main { grid-column: 1; grid-row: 2; }
  .conversation-context[open] { grid-column: 2; grid-row: 1 / 3; border-top: 0; border-left: 1px solid #dce0e5; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d0d7dd transparent; }
  .conversation-context[open]>summary { min-height: 67px; border-bottom: 1px solid #dce0e5; }
}
@media(min-width:1500px) {
  .inbox-layout { grid-template-columns: 290px minmax(0,1fr); }
  .chat-pane:has(.conversation-context[open]) { grid-template-columns: minmax(0,1fr) 300px; }
  .chat-message-list { padding: 28px 32px; }
  .chat-header { padding-left: 30px; padding-right: 30px; }
  .chat-composer { padding: 17px 28px 20px; }
}
@media(max-width:1390px) {
  .sidebar { gap: 16px; padding-left: 24px; padding-right: 24px; }
  .brand-wordmark { display: block; }
  .brand small { font-size: 8px; margin-top: 1px; letter-spacing: 1.1px; }
  .command-trigger>span, .command-trigger kbd { display: none; }
  .command-trigger { padding: 8px; }
  .nav-link { padding: 10px 9px; gap: 6px; font-size: 11px; }
  .service-hours { display: none; }
  .service-chip { gap: 4px; }
  .service-chips { gap: 10px; }
}
@media(min-width:701px) and (max-width:1099px) {
  .sidebar { flex-wrap: wrap; gap: 8px 18px; padding-top: 13px; padding-bottom: 10px; }
  .main-nav { order: 5; width: 100%; justify-content: center; border-top: 1px solid #eff1f4; padding-top: 9px; margin: 0; }
  .brand-wordmark { display: flex; }
  .nav-link { padding: 8px 13px; }
  .inbox-layout { grid-template-columns: 245px minmax(0,1fr); --room-height: max(580px, calc(100dvh - 380px)); }
  .chat-pane { height: auto; }
  .chat-content-grid { display: block; }
  .chat-message-list { height: 355px; flex: none; }
  .conversation-list-panel { height: 100%; min-height: var(--room-height); max-height: 900px; }
  .conversation-list { max-height: 620px; }
  .conversation-details { display: grid; grid-template-columns: 1fr 1fr; }
  .conversation-case-section { border-top: 0; border-left: 1px solid #e1e6eb; }
  .service-ribbon-main { flex-wrap: wrap; gap: 8px; }
  .service-shift { border: 0; padding: 0; }
  .service-chips { gap: 10px; }
  .service-shift small { display: inline; }
  .inbox-heading h1 { font-size: 29px; max-width: 410px; }
  .inbox-heading-actions { flex-direction: column; align-items: stretch; }
}
@media(max-width:700px) {
  .app-shell { display: block; padding: 0; }
  .sidebar { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; display: flex; flex-direction: row; flex-wrap: wrap; padding: 14px 16px 0; gap: 14px 9px; border-top: 0; }
  .sidebar>.brand { display: flex; }
  .brand { font-size: 16px; gap: 7px; margin: 0; }
  .brand-mark { width: 27px; }
  .brand small { font-size: 7px; letter-spacing: 1.25px; }
  .brand-wordmark { display: block; }
  .main-nav { order: 5; display: flex; justify-content: space-between; width: calc(100% + 32px); max-width: none; margin: 0 -16px; border-top: 1px solid #edf0f3; padding: 6px 8px; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .nav-link { flex-direction: column; flex: 1; min-width: 48px; padding: 8px 4px 7px; gap: 5px; font-size: 9px; line-height: 1.3; border-radius: 6px; }
  .nav-link svg { width: 17px; height: 17px; }
  .nav-count { display: block; position: absolute; top: 2px; right: 5px; font-size: 8px; min-width: 13px; padding: 0 3px; }
  .sidebar-bottom { display: block; padding: 0; margin: 0; }
  .user-card { padding: 0 0 0 5px; border: 0; gap: 0; }
  .user-card .avatar, .user-copy, .shift-note, .workspace-label { display: none; }
  .user-card .icon-button { display: inline-flex; padding: 6px; }
  .topbar-tools { gap: 5px; margin-left: auto; }
  .command-trigger { min-height: 29px; padding: 6px; border: 0; }
  #mode-badge { font-size: 9px; padding: 4px 6px; }
  #refresh-button { width: 28px; height: 28px; }
  .environment-banner { padding: 8px 16px; margin: 0; font-size: 10px; align-items: flex-start; line-height: 1.6; }
  .environment-banner svg { margin-top: 2px; flex-shrink: 0; }
  main { padding: 22px 14px 24px; min-height: calc(100dvh - 211px); }
  .page-heading { gap: 17px; }
  h1 { font-size: 26px; }
  .inbox-heading { align-items: stretch; gap: 16px; margin-bottom: 20px; }
  .inbox-heading h1 { font-size: 29px; max-width: 315px; letter-spacing: -.9px; }
  .eyebrow { font-size: 9px; }
  .inbox-live-stats { gap: 15px; margin-top: 13px; }
  .inbox-live-stat { font-size: 10px; }
  .inbox-heading-actions { flex-direction: row; }
  .inbox-heading-actions .button { font-size: 11px; padding: 10px 13px; }
  .focus-toggle { display: none; }
  .service-ribbon { margin-bottom: 17px; }
  .service-ribbon-main { flex-wrap: wrap; gap: 7px; padding: 11px 12px; }
  .service-shift { border: 0; padding: 0; }
  .service-shift small { display: inline; }
  .service-shift strong { font-size: 11px; }
  .service-chips { display: none; }
  .service-details>summary { min-height: 42px; padding: 0 12px; font-size: 10px; }
  .service-ribbon:has(.service-details[open]) .service-chips { display: flex; width: 100%; margin-top: 7px; gap: 7px 13px; }
  .service-path { gap: 9px; }
  .service-path>span { font-size: 10px; }
  .service-path>b { width: 18px; height: 18px; }
  .service-schedule { gap: 8px; font-size: 10px; }
  .service-disclosure { font-size: 10px; }
  main:has(.inbox-layout.has-selection) { padding-top: 14px; }
  main:has(.inbox-layout.has-selection) .inbox-heading, main:has(.inbox-layout.has-selection) #inbox-service { display: none; }
  .inbox-layout { display: block; border-radius: 10px; }
  .conversation-list-panel { height: auto; min-height: 430px; border-right: 0!important; }
  .conversation-list-heading { padding: 21px 18px 17px; }
  .conversation-list-heading h2 { font-size: 16px; }
  .conversation-search { padding: 0 15px 13px; }
  .conversation-search input { font-size: 12px; min-height: 40px; }
  .inbox-filter-bar { padding: 0 15px 17px; gap: 7px; }
  .inbox-filter { padding: 9px 10px; font-size: 11px; min-height: 39px; }
  .conversation-list { max-height: none; padding: 0 10px 12px; }
  .conversation-list-item { padding: 16px 13px; gap: 12px; }
  .conversation-list-item>.conversation-avatar { width: 36px; height: 36px; border-radius: 50%; font-size: 11px; }
  .conversation-list-top { flex-wrap: nowrap; }
  .conversation-list-top>strong { font-size: 13px; }
  .conversation-list-top .conversation-mode { font-size: 10px; }
  .conversation-number { font-size: 11px; }
  .conversation-preview { font-size: 12px; }
  .conversation-list-bottom { font-size: 11px; }
  .conversation-list-bottom>time { font-size: 10px; }
  .conversation-list-footer { font-size: 10px; }
  .chat-pane { height: auto; }
  .chat-header { gap: 8px; padding: 15px 12px; min-height: 76px; flex-wrap: nowrap; }
  .conversation-back { display: inline-flex; }
  .chat-header>.conversation-avatar { width: 28px; height: 28px; font-size: 9px; }
  .chat-person { flex: 1; }
  .chat-person h2 { font-size: 12px; line-height: 1.4; }
  .chat-person p { font-size: 10px; }
  .chat-header>.badge { max-width: 65px; white-space: normal; font-size: 8px; padding: 4px 5px; text-align: center; }
  .chat-content-grid { display: block; }
  .chat-message-list { height: 44dvh; min-height: 260px; max-height: 480px; padding: 20px 15px; }
  .chat-message { max-width: 93%; margin-bottom: 21px; }
  .message-bubble { padding: 11px 12px; }
  .message-bubble p { font-size: 12px; line-height: 1.7; }
  .message-meta { font-size: 9px; }
  .chat-composer { padding: 14px; }
  .chat-composer textarea { font-size: 13px; min-height: 75px; }
  .composer-bottom { flex-direction: column; align-items: stretch; gap: 11px; }
  .composer-bottom>p { max-width: none; font-size: 10px; }
  .composer-bottom>.button { width: 100%; min-height: 40px; font-size: 12px; }
  .conversation-context>summary { padding: 16px 17px; font-size: 12px; }
  .conversation-details { display: block; }
  .conversation-tools>summary { padding: 17px; font-size: 12px; }
  .conversation-tools-body { padding: 17px; }
  .conversation-facts { display: block; }
  .conversation-facts dt { font-size: 11px; }
  .conversation-facts dd { font-size: 12px; }
  .conversation-case-section { border-left: 0; border-top: 1px solid #e1e6eb; }
  .conversation-tool-actions .button, .conversation-identity-actions .button { padding: 10px 12px; font-size: 12px; }
  .linked-case { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .identity-guidance { font-size: 11px; }
  .focus-exit { font-size: 9px; padding: 5px; max-width: 63px; }
  .chat-header:has(.focus-exit)>.badge { display: none; }
  body.conversation-focus .chat-message-list { height: 44dvh; }
  .workspace-footer { padding: 0 16px 20px; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 10px; }
}
@media(pointer:coarse) { .icon-button, .text-link, .context-network-link { min-height: 40px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation-duration: .01ms!important; transition: none!important; scroll-behavior: auto!important; } }
