@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/IBMPlexSans-Regular.5aaadb685d3c.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/IBMPlexSans-Medium.02ec16345450.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/IBMPlexSans-SemiBold.51d76d33ef85.woff2") format("woff2")}
:root{
  color-scheme:light;
  --navy:#1d2241;--gold:#c9996a;--gold-ink:#78502d;--gold-soft:#fbf4ec;
  --white:#ffffff;--frame:#f2f3f7;--surface:#ffffff;--canvas:#f8f9fc;--active:#e9ebf2;
  --ink:#1d2241;--muted:#626779;--line:#e6e8ef;--control:#8d93a3;--soft-control:#d3d6e0;
  --success:#226448;--success-soft:#edf6f0;--error:#a13239;--error-soft:#fff0f0;
  --font:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--fs-meta:12px;--fs-small:13px;
  --radius:12px;--radius-small:8px;--ease-out:cubic-bezier(.23,1,.32,1);--press:130ms;
  --sidebar-width:208px;--list-width:304px;--details-width:288px;--topbar-height:72px;
}
*{box-sizing:border-box}
html,body{margin:0;min-width:320px}
body{font:400 14px/1.5 var(--font);color:var(--ink);background:var(--frame);-webkit-font-smoothing:antialiased}
body.inbox-page{height:100dvh;overflow:hidden}
button,input,textarea,select{font:inherit;color:inherit}
button,a,summary,select{touch-action:manipulation}
button,a,summary{cursor:pointer;-webkit-tap-highlight-color:transparent}
button{border:0;background:none}
button:disabled{cursor:not-allowed;color:var(--muted);background:var(--frame);border-color:var(--line)}
input,select,textarea{accent-color:var(--navy)}
input,select{min-height:42px;border:1px solid var(--control);border-radius:var(--radius-small);background:var(--white);padding:9px 11px;width:100%;min-width:0}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
input[type="checkbox"]{width:17px;height:17px;min-height:17px;padding:0;flex:none;margin:3px 0}
input[type="search"]::-webkit-search-cancel-button{cursor:pointer}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
h1{font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.02em}
h2{font-size:18px;line-height:1.4;font-weight:600}
h3{font-size:16px;line-height:1.4;font-weight:500}
label{display:block;font-size:13px;font-weight:500}
svg.icon{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--navy);outline-offset:3px;scroll-margin:16px}
button:focus-visible,a:focus-visible,summary:focus-visible{border-radius:var(--radius-small)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:8px;left:8px;transform:translateY(-150%);z-index:100;padding:12px 20px;color:var(--white);background:var(--navy);border-radius:8px}
.skip-link:focus{transform:none}
.app-shell{height:100%;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);grid-template-rows:var(--topbar-height) minmax(0,1fr);grid-template-areas:"sidebar topbar" "sidebar workspace"}
/* At 1440px: frame 208 + list 304 + conversation 632 + details 288 + inset 8 = 1440. */
.sidebar{grid-area:sidebar;position:relative;inset:auto;margin:0;border:0;padding:26px 14px 16px;background:var(--frame);color:var(--ink);width:100%;height:100%;max-width:none;max-height:none;min-width:0;flex-direction:column;overflow:hidden}
.sidebar[open]{display:flex}
.brand-row{display:flex;justify-content:space-between;align-items:center;padding:0 8px 28px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:30px;font-weight:500;line-height:1;letter-spacing:-1.1px}
.brand-mark{width:34px;height:37px;fill:none;stroke:var(--navy);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.brand-crossbar{stroke:var(--gold);stroke-width:3.3}
.brand-subtitle{display:block;font-size:var(--fs-meta);letter-spacing:.65px;font-weight:400;margin-top:5px;color:var(--muted)}
.workspace-switcher{padding:0 2px 27px}
.workspace-switcher>label{font-size:var(--fs-small);font-weight:400;color:var(--muted);margin:0 9px 9px}
.select-wrap{position:relative;display:flex;align-items:center}
.workspace-initials{position:absolute;left:10px;z-index:1;width:27px;height:27px;border:1px solid var(--line);border-radius:6px;display:grid;place-items:center;font-size:var(--fs-small);font-weight:600;background:var(--white)}
.select-wrap select{appearance:none;padding-left:45px;padding-right:27px;height:46px;border-color:var(--soft-control);font-weight:500;font-size:13px;background:var(--white)}
.select-wrap>.icon{position:absolute;right:8px;width:14px;pointer-events:none;color:var(--muted)}
.main-navigation{display:flex;flex-direction:column;gap:4px}
.navigation-label{font-size:var(--fs-small);color:var(--muted);margin:0 10px 10px}
.nav-link{min-height:44px;display:flex;align-items:center;gap:10px;border-radius:8px;padding:10px 12px;font-size:14px;color:var(--muted)}
.nav-link.active{background:var(--active);color:var(--navy);font-weight:500}
.nav-link .icon{width:18px;height:18px}
.sidebar-bottom{margin-top:auto;padding-top:24px}
.help-button{display:flex;align-items:center;gap:10px;padding:12px;width:100%;color:var(--muted);font-size:13px;border-radius:8px;text-align:left}
.operator-profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--soft-control);padding:18px 2px 0;margin-top:15px}
.operator-profile>div{min-width:0;flex:1}
.operator-profile strong{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operator-profile>div>span{font-size:var(--fs-small);color:var(--muted)}
.operator-profile form{margin:0}
.operator-profile .icon-button{width:30px;min-width:30px;height:40px}
.operator-profile .icon{width:17px}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--active);color:var(--navy);display:inline-grid;place-items:center;flex:none;font-size:14px;font-weight:500;letter-spacing:.2px}
.avatar-small{width:32px;height:32px;font-size:var(--fs-small);background:var(--white)}
.avatar-large{width:56px;height:56px;font-size:20px;background:var(--gold-soft);color:var(--gold-ink)}
.topbar{grid-area:topbar;display:flex;align-items:center;gap:14px;padding:0 28px 0 24px;min-width:0}
.page-heading{display:flex;align-items:baseline;gap:18px;min-width:0}
.page-heading>span{font-size:13px;color:var(--muted)}
.channel-indicator{display:flex;align-items:center;gap:7px;margin-left:auto;white-space:nowrap;font-size:var(--fs-small);color:var(--muted)}
.status-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);flex:none}
.channel-indicator.ready .status-dot{background:var(--success)}
.workspace-sheet{grid-area:workspace;display:grid;grid-template-columns:var(--list-width) minmax(0,1fr) var(--details-width);min-width:0;min-height:0;background:var(--white);border:1px solid var(--line);border-radius:16px;margin:0 8px 8px 0;overflow:hidden}
.workspace-sheet.details-collapsed{grid-template-columns:var(--list-width) minmax(0,1fr)}
.conversation-list{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--white);border-right:1px solid var(--line)}
.list-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 18px 13px 22px;gap:8px}
.list-heading h2{font-size:17px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:36px;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;transition:transform var(--press) var(--ease-out),background-color var(--press) ease}
.icon-button[aria-expanded="true"]{background:var(--active);color:var(--navy)}
.search-field{display:flex;align-items:center;position:relative;margin:0 18px 10px;color:var(--muted)}
.search-field>.icon{position:absolute;left:11px;width:17px;height:17px;pointer-events:none}
.search-field input{height:39px;min-height:39px;padding:8px 32px 8px 35px;font-size:13px;border-color:var(--soft-control);border-radius:8px;background:var(--canvas)}
.search-field>kbd{position:absolute;right:11px;font-size:var(--fs-small);padding:0 5px;line-height:20px;pointer-events:none}
kbd{font-family:var(--font);font-size:var(--fs-meta);line-height:1.4;border:1px solid var(--soft-control);border-radius:4px;padding:0 4px;background:var(--white);color:var(--muted)}
.list-tabs{display:flex;margin:0 18px;border-bottom:1px solid var(--line);gap:15px;overflow-x:auto;scrollbar-width:none;flex:none}
.list-tabs::-webkit-scrollbar{display:none}
.list-tab{font-size:var(--fs-small);color:var(--muted);padding:11px 0 10px;position:relative;white-space:nowrap;min-height:40px}
.list-tab.active{color:var(--navy);font-weight:500}
.list-tab.active::after{content:"";height:2px;position:absolute;bottom:0;left:0;right:0;background:var(--gold)}
.list-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 21px 10px;font-size:var(--fs-meta);color:var(--muted);min-height:44px}
.list-channel{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.list-channel .icon{width:13px;height:13px}
.conversation-rows{flex:1;min-height:0;overflow:auto;padding:0 9px 9px;scrollbar-width:thin;scrollbar-color:var(--soft-control) transparent}
.conversation{display:flex;width:100%;gap:10px;align-items:flex-start;text-align:left;border:1px solid transparent;border-radius:9px;padding:14px 11px;margin-bottom:3px;min-height:104px;color:var(--ink);background:transparent;position:relative}
.conversation.selected{background:var(--active)}
.conversation .avatar{width:35px;height:35px;font-size:var(--fs-small);margin-top:1px;background:var(--frame)}
.conversation.selected .avatar{background:var(--white)}
.conversation-copy{flex:1;min-width:0}
.conversation-topline{display:flex;align-items:center;gap:6px;justify-content:space-between;margin:0 0 4px}
.conversation-name{font-weight:500;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.conversation-time{font-size:var(--fs-meta);color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;flex:none}
.conversation-preview{display:block;font-size:var(--fs-small);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);margin-bottom:8px}
.conversation-caption{display:flex;align-items:center;gap:4px;font-size:var(--fs-meta);line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-caption .icon{width:12px;height:12px}
.conversation-caption.needs-attention{color:var(--gold-ink)}
.list-footnote{padding:13px 18px;border-top:1px solid var(--line);font-size:var(--fs-meta);color:var(--muted);text-align:center;flex:none}
.list-loading{padding:8px 10px}
.list-loading span{display:block;height:66px;margin:0 0 10px;background:var(--frame);border-radius:8px}
.list-empty{padding:30px 18px;color:var(--muted);font-size:13px;text-align:center;line-height:1.7}
.list-empty strong{display:block;color:var(--ink);font-weight:500;margin-bottom:6px}
.retry-button{color:var(--navy);text-decoration:underline;min-height:44px;font-weight:500}
.conversation-main{min-width:0;min-height:0;position:relative;outline-offset:-4px;background:var(--canvas)}
.empty-state{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:32px;gap:15px}
.empty-symbol{width:108px;height:95px;stroke:var(--control);stroke-width:1.4;margin-bottom:10px}
.gold-stroke{stroke:var(--gold);stroke-width:2}
.empty-state h2{font-size:20px;max-width:310px;line-height:1.45;font-weight:500;letter-spacing:-.2px}
.empty-state p{font-size:14px;color:var(--muted);line-height:1.8}
.empty-caption{display:flex;align-items:center;gap:6px;font-size:var(--fs-small);color:var(--muted);margin-top:14px}
.empty-caption .icon{width:15px;height:15px}
.chat{display:flex;height:100%;min-height:0;flex-direction:column}
.chat-header{display:flex;gap:10px;align-items:center;padding:17px 20px;min-height:83px;background:var(--white);border-bottom:1px solid var(--line);flex:none;position:relative;z-index:3}
.customer-heading{min-width:0;margin-right:auto}
.customer-heading h2{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-heading p{color:var(--muted);font-size:var(--fs-small);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.status-badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;font-size:var(--fs-meta);line-height:21px;padding:1px 6px;white-space:nowrap;background:var(--frame);color:var(--muted);flex:none}
.status-badge.agent{background:var(--gold-soft);color:var(--gold-ink)}
.status-badge.human{background:var(--active);color:var(--navy)}
.chat-header>.status-badge{display:none}
.chat-actions{display:flex;align-items:center;gap:8px;flex:none}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid transparent;border-radius:8px;padding:8px 13px;font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap;transition:transform var(--press) var(--ease-out),background-color var(--press) ease}
.button .icon{width:16px;height:16px}
.button-primary{background:var(--navy);color:var(--white);border-color:var(--navy)}
.button-secondary{background:var(--white);border-color:var(--soft-control);color:var(--navy)}
.full-width{width:100%}
.action-menu{position:relative;flex:none}
.action-menu summary{list-style:none}
.action-menu summary::-webkit-details-marker{display:none}
.menu-panel{position:absolute;top:calc(100% + 8px);right:0;min-width:228px;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:0 8px 28px rgba(29,34,65,.10);z-index:10}
.menu-panel button{width:100%;min-height:42px;display:flex;gap:9px;align-items:center;border-radius:6px;padding:10px;font-size:13px;text-align:left}
.menu-panel .icon{width:16px;height:16px;color:var(--muted)}
.handoff-banner{display:flex;align-items:center;gap:8px;padding:10px 22px;font-size:var(--fs-small);color:var(--gold-ink);background:var(--gold-soft);flex:none;min-height:40px}
.handoff-banner .icon{width:16px;height:16px}
.handoff-banner.is-owned{background:var(--white);color:var(--muted)}
.messages{flex:1;min-height:0;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px;scrollbar-width:thin;scrollbar-color:var(--soft-control) transparent;overscroll-behavior:contain}
.day-marker{display:flex;align-items:center;justify-content:center;margin:0 0 6px;font-size:var(--fs-meta);color:var(--muted)}
.message{align-self:flex-start;width:fit-content;max-width:min(84%,560px);padding:12px 15px;border:1px solid var(--line);border-radius:12px 12px 12px 3px;background:var(--white);line-height:1.65;overflow-wrap:anywhere;color:var(--ink)}
.message .message-author{display:flex;align-items:center;gap:5px;font-size:var(--fs-meta);font-weight:500;margin-bottom:5px;color:var(--muted)}
.message .message-body{white-space:pre-wrap;font-size:14px}
.message footer{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:var(--fs-meta);line-height:1.5;color:var(--muted);margin-top:7px;font-variant-numeric:tabular-nums}
.message footer .icon{width:13px;height:13px}
.message.outgoing{align-self:flex-end;border-radius:12px 12px 3px 12px;background:var(--navy);color:var(--white);border-color:var(--navy)}
.message.outgoing .message-author,.message.outgoing footer{color:#e0e3ef}
.message.note{align-self:stretch;max-width:100%;border:1px solid #e9d7c3;border-radius:8px;background:var(--gold-soft);color:var(--ink);padding:11px 15px}
.message.note .message-author,.message.note footer{color:var(--gold-ink)}
.message.note .icon{width:14px;height:14px}
.message.cancelled{background:var(--frame);border-color:var(--line);color:var(--muted)}
.message.cancelled .message-author,.message.cancelled footer{color:var(--muted)}
.message.empty-history{align-self:center;background:none;border:0;color:var(--muted);font-size:13px;text-align:center}
.composer-area{background:var(--white);padding:0 20px 12px;flex:none}
.inline-status{font-size:var(--fs-small);line-height:1.6;color:var(--success);overflow-wrap:anywhere}
.inline-status:empty{display:none}
.inline-status.is-error{color:var(--error)}
#chat-status:not(:empty){padding:10px 0}
.composer{border:1px solid var(--soft-control);border-radius:10px;background:var(--white);overflow:hidden}
.composer:focus-within{border-color:var(--navy)}
.composer.is-note{background:var(--gold-soft);border-color:var(--gold)}
.composer-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border-bottom:1px solid var(--line)}
.composer-tabs{display:flex;gap:16px}
.composer-tab{display:inline-flex;gap:5px;align-items:center;font-size:var(--fs-small);color:var(--muted);min-height:42px;padding:0;border-bottom:2px solid transparent}
.composer-tab .icon{width:14px;height:14px}
.composer-tab.active{color:var(--navy);font-weight:500;border-bottom-color:var(--navy)}
.composer.is-note .composer-tab.active{color:var(--gold-ink);border-bottom-color:var(--gold)}
.response-window{font-size:var(--fs-meta);color:var(--muted)}
.composer textarea{display:block;resize:none;min-height:78px;max-height:180px;width:100%;border:0;border-radius:0;background:transparent;outline:0;padding:13px 15px;font-size:14px;line-height:1.6}
.composer textarea:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}
.composer textarea:disabled{cursor:not-allowed;background:var(--canvas);color:var(--muted)}
.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 12px 12px}
.composer-footer p{font-size:var(--fs-meta);color:var(--muted);max-width:60%;line-height:1.5}
.composer-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:var(--fs-meta);color:var(--muted);padding:8px 2px 0}
.customer-details{position:relative;inset:auto;margin:0;min-width:0;width:100%;height:100%;max-width:none;max-height:none;padding:0;border:0;border-left:1px solid var(--line);background:var(--white);color:var(--ink);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--soft-control) transparent}
.customer-details:not([open]){display:none}
.details-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 16px 15px 20px;gap:6px}
.details-heading h2{font-size:13px;font-weight:500}
.details-heading>.icon-button{width:28px;min-width:28px;height:30px}
.details-empty{padding:24px 24px 30px;color:var(--muted);font-size:13px;line-height:1.8}
.details-empty>.icon{margin-bottom:10px;width:24px;height:24px}
.contact-profile{text-align:center;padding:10px 20px 19px}
.contact-profile h3{font-size:17px;font-weight:500;margin:11px 0 3px;overflow-wrap:anywhere}
.contact-phone{display:flex;justify-content:center;align-items:center;gap:3px;font-size:var(--fs-small);color:var(--muted);font-variant-numeric:tabular-nums}
.contact-phone .icon-button{height:28px;width:28px;min-width:28px}
.contact-phone .icon{width:14px;height:14px}
.contact-facts{margin:0 20px 20px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.contact-facts>div{display:flex;justify-content:space-between;gap:15px;padding:5px 0;align-items:baseline}
.contact-facts dt{font-size:var(--fs-small);color:var(--muted);flex:none}
.contact-facts dd{margin:0;text-align:right;font-size:var(--fs-small);overflow-wrap:anywhere;min-width:0;display:flex;align-items:center;gap:4px;justify-content:flex-end}
.contact-facts dd>.icon{width:13px;height:13px}
.context-section{margin:0 20px;border-bottom:1px solid var(--line)}
.context-section>summary{display:flex;align-items:center;gap:7px;list-style:none;min-height:50px;font-size:13px;font-weight:500;padding:9px 0}
.context-section>summary::-webkit-details-marker{display:none}
.context-section>summary>.icon{width:16px;height:16px;color:var(--muted)}
.context-section>summary>.disclosure-chevron{margin-left:auto;width:13px;transition:transform var(--press) var(--ease-out)}
.context-section[open]>summary>.disclosure-chevron{transform:rotate(180deg)}
.context-content{padding:0 0 18px}
.section-description{font-size:var(--fs-small);color:var(--muted);line-height:1.7;margin-bottom:14px}
.context-content>label{font-size:var(--fs-small);margin:13px 0 7px}
.context-content input,.context-content select{font-size:13px;min-height:40px}
.context-content>.button{margin-top:10px}
.field-hint{font-size:var(--fs-meta);color:var(--muted);line-height:1.5;margin-top:8px}
.context-content>.inline-status{margin-top:8px}
.channel-detail{display:flex;align-items:flex-start;gap:7px;padding:24px 20px;font-size:var(--fs-meta);line-height:1.7;color:var(--muted)}
.channel-detail .icon{width:14px;height:14px;margin-top:2px}
.text-link{display:inline-flex;gap:5px;align-items:center;font-size:var(--fs-small);font-weight:500;color:var(--navy);min-height:36px;text-decoration:underline;text-underline-offset:3px}
.text-link .icon{width:13px;height:13px}
.utility-dialog{border:1px solid var(--line);border-radius:16px;max-width:450px;width:calc(100% - 32px);padding:24px;background:var(--white);color:var(--ink);box-shadow:0 18px 60px rgba(29,34,65,.12);max-height:calc(100dvh - 32px);overflow:auto}
dialog::backdrop{background:rgba(15,19,39,.35)}
.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.dialog-header h2{font-size:20px}
.dialog-header .icon-button{margin:-6px -8px 0 0}
.utility-dialog>p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:22px}
.utility-dialog>label{margin-bottom:8px}
.dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}
.utility-dialog>.inline-status{margin-top:10px}
.help-steps{padding-left:20px;margin:24px 0;display:grid;gap:20px}
.help-steps li{padding-left:7px}
.help-steps strong{font-weight:500}
.help-steps p{font-size:13px;color:var(--muted);line-height:1.7;margin-top:6px}
.help-shortcuts{border-top:1px solid var(--line);padding-top:18px;display:grid;gap:10px;font-size:var(--fs-small);color:var(--muted)}
.noscript-message{position:fixed;inset:auto 16px 16px;background:var(--white);padding:18px;border:1px solid var(--error);color:var(--error);z-index:20}
.global-toast{position:fixed;bottom:22px;right:24px;max-width:min(380px,calc(100% - 32px));padding:12px 18px;border:1px solid var(--soft-control);background:var(--white);border-radius:10px;box-shadow:0 5px 22px rgba(29,34,65,.10);font-size:13px;z-index:20}
.compact-navigation,.mobile-only{display:none}
@media(hover:hover) and (pointer:fine){
  .nav-link:hover,.help-button:hover,.icon-button:hover,.menu-panel button:hover{background:var(--active);color:var(--navy)}
  .conversation:hover{border-color:var(--soft-control)}
  .button-secondary:hover{background:var(--frame);border-color:var(--control)}
  .button-primary:not(:disabled):hover{background:#30375d;border-color:#30375d}
  .list-tab:hover,.composer-tab:hover{color:var(--navy)}
}
.button:not(:disabled):active,.icon-button:not(:disabled):active{transform:scale(.97)}
body[data-input="keyboard"] .button,body[data-input="keyboard"] .icon-button{transition:none}
body[data-input="keyboard"] .button:active,body[data-input="keyboard"] .icon-button:active{transform:none}
.button:disabled{background:var(--frame);border-color:var(--line);color:var(--muted)}
@media(min-width:1600px){:root{--list-width:330px;--details-width:306px}.chat-header{padding-left:26px;padding-right:26px}.messages{padding:28px 32px}.composer-area{padding-left:26px;padding-right:26px}}
@media(max-width:1350px){.page-heading>span{display:none}.chat-header{gap:7px;padding:16px}.chat-header>.status-badge{display:none}.chat-header .button{font-size:var(--fs-small);padding:9px}.chat-header .button>.icon{display:none}.message{max-width:90%}.response-window{font-size:var(--fs-meta)}.composer-header{flex-wrap:wrap;gap:0;padding-bottom:4px}.composer-tabs{margin-right:auto}.composer-footer p{font-size:var(--fs-meta)}}
@media(max-width:1150px){:root{--sidebar-width:190px;--list-width:286px}.workspace-sheet{grid-template-columns:var(--list-width) minmax(0,1fr)}.customer-details:not(:modal){display:none}.customer-details:modal{position:fixed;inset:0 0 0 auto;width:320px;max-width:calc(100% - 24px);height:100dvh;max-height:100dvh;border-radius:14px 0 0 14px;box-shadow:0 12px 40px rgba(29,34,65,.12)}.workspace-sheet.details-collapsed{grid-template-columns:var(--list-width) minmax(0,1fr)}.topbar{padding-left:20px}.chat-header .button>span{max-width:120px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:960px){:root{--topbar-height:64px;--list-width:300px}.app-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"topbar" "workspace"}.topbar{padding:0 20px 0 14px;gap:10px}.topbar h1{font-size:20px}.workspace-sheet{margin:0 8px 8px;border-radius:12px}.sidebar:not(:modal){display:none}.sidebar:modal{position:fixed;inset:0 auto 0 0;width:280px;max-width:calc(100% - 32px);height:100dvh;max-height:100dvh;border-radius:0 14px 14px 0;padding-top:25px;box-shadow:0 12px 40px rgba(29,34,65,.12)}.compact-navigation{display:inline-flex}.sidebar .brand-row{padding-bottom:28px}.sidebar .operator-profile .icon-button{width:36px;min-width:36px}.sidebar .workspace-switcher{padding-bottom:22px}}
@media(max-width:680px){
  :root{--topbar-height:60px}
  .workspace-sheet,.workspace-sheet.details-collapsed{display:block;border:0;border-radius:0;margin:0}
  .topbar{padding:env(safe-area-inset-top,0) 16px 0;gap:6px}.topbar h1{font-size:18px}
  .channel-indicator{font-size:var(--fs-meta);gap:5px}.channel-indicator .status-dot{width:5px;height:5px}
  .conversation-list{height:100%;border:0}.list-heading{padding:15px 18px 9px 20px}.list-heading h2{font-size:18px}
  .search-field{margin-left:20px;margin-right:20px}.search-field input{height:44px;font-size:16px}.search-field>kbd{display:none}
  .list-tabs{margin:0 20px;gap:24px}.list-tab{min-height:44px;font-size:13px}
  .list-meta{padding-left:22px;padding-right:22px;font-size:var(--fs-small)}.list-channel{font-size:var(--fs-small)}
  .conversation-rows{padding:0 10px 10px}.conversation{padding:16px 12px;min-height:110px}.conversation .avatar{width:40px;height:40px;font-size:13px}
  .conversation-name{font-size:15px}.conversation-preview{font-size:13px}.conversation-time,.conversation-caption{font-size:var(--fs-small)}
  .list-footnote{padding-bottom:calc(13px + env(safe-area-inset-bottom,0));font-size:var(--fs-small)}
  .conversation-main{display:none;height:100%;background:var(--canvas)}
  body[data-pane="chat"] .conversation-main{display:block}body[data-pane="chat"] .conversation-list{display:none}
  .chat-header{padding:12px 10px;gap:7px;min-height:76px;flex-wrap:wrap;row-gap:10px}
  .chat-header>.avatar{width:32px;height:32px;font-size:var(--fs-small)}.customer-heading h2{font-size:16px}.customer-heading p{font-size:var(--fs-small)}
  .mobile-only{display:inline-flex}.icon-button,.chat-header .icon-button{width:44px;min-width:44px;height:44px}
  .contact-phone .icon-button{width:44px;min-width:44px;height:44px}
  .chat-actions{order:6;width:100%;padding:0 4px 0 43px}.chat-actions .button{min-height:36px;font-size:13px}.chat-actions .button>span{max-width:none}
  .chat-actions .button>.icon{display:inline}.chat-actions:has(>button:not([hidden])){display:flex}.chat-actions:not(:has(>button:not([hidden]))){display:none}
  .handoff-banner{font-size:var(--fs-small);padding:9px 16px;line-height:1.6}
  .messages{padding:18px 16px;gap:16px}.message{max-width:92%;padding:11px 13px}.message .message-body{font-size:15px}.message footer,.message .message-author{font-size:var(--fs-small)}.message.note{max-width:100%}
  .composer-area{padding:0 16px calc(9px + env(safe-area-inset-bottom,0))}.composer-header{padding:0 10px;gap:0}.composer-tabs{gap:16px}.composer-tab{font-size:13px;min-height:44px}.response-window{font-size:var(--fs-meta);margin-left:auto}
  .composer textarea{font-size:16px;min-height:74px;padding:11px 12px}.composer-footer{padding:5px 10px 10px;gap:7px}.composer-footer p{font-size:var(--fs-meta);max-width:50%}.composer-footer .button{min-height:40px;font-size:var(--fs-small);padding:9px 10px}.composer-shortcut{font-size:var(--fs-meta)}.composer-shortcut>span:first-child{display:none}
  .customer-details:modal{width:100%;max-width:100%;border-radius:0;border:0;padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0)}
  .details-heading{padding:16px 20px}.details-heading h2{font-size:17px}.details-heading>.icon-button{width:44px;min-width:44px;height:44px}
  .contact-profile{padding-top:15px}.contact-profile h3{font-size:20px}.contact-phone,.contact-facts dt,.contact-facts dd,.context-section>summary,.context-content>label,.section-description{font-size:14px}
  .context-section>summary{min-height:58px}.context-content input,.context-content select{font-size:16px;min-height:46px}.context-content>.button{min-height:44px;font-size:14px}.field-hint,.channel-detail{font-size:var(--fs-small)}
  .utility-dialog{padding:20px}.utility-dialog .button{min-height:44px}.utility-dialog>select{font-size:16px;min-height:44px}
  .button,.icon-button,.nav-link{scroll-margin:18px}.help-shortcuts{font-size:13px}
}
@media(max-height:600px) and (max-width:680px){.chat-header{min-height:58px;padding:7px 10px}.handoff-banner{display:none}.chat-actions{position:absolute;right:88px;top:10px;width:auto;padding:0}.chat-actions .button{min-height:34px;font-size:var(--fs-small)}.chat-actions .button>.icon{display:none}.customer-heading{max-width:38%}.composer textarea{min-height:48px;max-height:80px}.composer-footer p{display:none}.composer-footer{padding:0 10px 8px}.composer-footer .button{margin-left:auto}.composer-shortcut{display:none}}
@media(min-width:681px) and (max-width:960px) and (max-height:600px){
  :root{--topbar-height:48px}
  .workspace-sheet,.workspace-sheet.details-collapsed{display:block}
  .conversation-list{height:100%;border:0}
  .conversation-main{display:none;height:100%}
  body[data-pane="chat"] .conversation-main{display:block}
  body[data-pane="chat"] .conversation-list{display:none}
  .mobile-only{display:inline-flex}
  .chat-header{min-height:56px;padding:7px 14px;gap:10px}
  .chat-header>.avatar{width:32px;height:32px;font-size:12px}
  .chat-header .button{min-height:36px}
  .handoff-banner{display:none}
  .composer-area{padding:0 16px 8px}
  .composer-header{flex-wrap:nowrap;min-height:36px}
  .composer-tab{min-height:36px}
  .composer textarea{height:50px!important;min-height:50px;max-height:64px;padding:8px 12px}
  .composer-footer{padding:0 10px 8px}
  .composer-footer p,.composer-shortcut{display:none}
  .composer-footer .button{margin-left:auto;min-height:36px}
  #chat-status:not(:empty){padding:5px 0;font-size:12px}
  .messages{padding:12px 20px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}.button:not(:disabled):active,.icon-button:not(:disabled):active{transform:none}}
