/* Desktop product study. Narrow screens retain the existing client summary. */
.workspace-demo { display: none; }
@media (min-width: 1100px) {
  .workspace-demo { display: block; }
  .case-mobile-fallback { display: none; }
  .client-showcase .case-frame { max-width: 1320px; }
}
.wb-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.workbench {
  --wb-line: #4b4751;
  --wb-muted: #b4aebc;
  --wb-ink: #eee9ef;
  --wb-accent: #d5bee8;
  color: var(--wb-ink);
  background: #302e37;
  border: 1px solid #6c626f;
  border-radius: 12px;
  box-shadow: 0 30px 80px -40px #0e0b17c4, 0 1px 0 #c8baca1f inset;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -.012em;
}
.workbench svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.workbench button { text-align: left; border-radius: 5px; }
.workbench button:focus-visible { outline: 2px solid #dfc5f6; outline-offset: 3px; }
.workbench ul { list-style: none; padding: 0; margin: 0; }
.wb-chrome { display: flex; align-items: center; min-height: 46px; padding: 0 19px; border-bottom: 1px solid var(--wb-line); background: #28262e; }
.wb-wordmark { display: flex; align-items: center; gap: calc(10em / 23); width: 140px; font-size: 16px; font-weight: 520; letter-spacing: -.07em; line-height: 1; }
.wb-location { display: flex; gap: 10px; align-items: center; color: #cdc6d2; font-size: 12px; }
.wb-location > span { color: #766f80; }
.wb-live { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; color: #c1d6c9; }
.wb-live i, .wb-online, .wb-statusbar i { width: 5px; height: 5px; background: #a7cbb7; border-radius: 50%; }
.wb-body { display: grid; grid-template-columns: 157px minmax(0,1fr) 332px; grid-template-rows: minmax(0,1fr); height: 612px; }
.wb-nav { display: flex; flex-direction: column; min-width: 0; padding: 19px 10px 13px; border-right: 1px solid var(--wb-line); background: #2a2830; }
.wb-firm { display: flex; gap: 8px; align-items: center; padding: 0 4px; font-weight: 540; font-size: 13px; }
.wb-firm-mark { display: grid; place-items: center; width: 29px; height: 29px; background: #4b424f; color: #e2d0e6; border: 1px solid #65546b; border-radius: 6px; font-family: Georgia,serif; }
.wb-firm small, .wb-account small { display: block; color: #a49cba; font-size: 10.5px; font-weight: 400; margin-top: 1px; }
.wb-search { display: flex; align-items: center; gap: 8px; color: #a9a2b0; margin: 23px 0 12px; padding: 7px 10px; border: 1px solid #47414d; border-radius: 5px; font-size: 12px; }
.wb-search svg { width: 13px; height: 13px; }
.wb-navigation li { display: flex; align-items: center; gap: 9px; min-height: 35px; padding: 5px 10px; color: #bdb6c6; }
.wb-navigation li + li { margin-top: 3px; }
.wb-navigation li > span { margin-left: auto; font-size: 11px; color: #a49cac; }
.wb-navigation .is-current { background: #403846; color: #f1e6f9; border-radius: 6px; }
.wb-nav-label { color: #98919f; font-size: 10px; font-weight: 550; letter-spacing: .07em; margin: 31px 9px 9px; }
.wb-client-list li { display: flex; align-items: center; gap: 7px; padding: 8px 8px; color: #aaa2b3; font-size: 11.5px; }
.wb-client-list .is-current { color: #e2d7eb; }
.wb-client-list i { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #62556b; border-radius: 4px; font: 11px/1 Georgia,serif; color: #c5b1d1; }
.wb-client-list li:nth-child(2) i { color: #b7c9c0; border-color: #52625a; }
.wb-client-list li:nth-child(3) i { color: #cfc3ae; border-color: #6b6050; }
.wb-account { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 4px 0; border-top: 1px solid #433c4b; }
.wb-account .case-avatar { width: 27px; height: 27px; }
.wb-account .wb-online { margin-left: auto; }
.wb-client { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.wb-client-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 24px 24px 16px; }
.wb-company { display: flex; align-items: center; gap: 12px; }
.wb-company > i { display: grid; place-items: center; width: 40px; height: 40px; color: #e3d1d6; background: #51424d; border: 1px solid #72606e; border-radius: 9px; font: 25px/1 Georgia,serif; }
.wb-company h3 { font-size: 22px; line-height: 1.15; font-weight: 530; letter-spacing: -.04em; }
.wb-company p { margin-top: 5px; color: #b8b0c0; font-size: 11px; }
.wb-company p > span { margin-inline: 3px; }
.wb-client-status { color: #bdd2c6; border: 1px solid #52605a; border-radius: 12px; padding: 3px 7px; font-size: 10px; white-space: nowrap; }
.wb-contact-strip { display: flex; gap: 7px; align-items: center; padding: 0 24px 18px; font-size: 11px; color: #bdb6c6; }
.wb-contact-strip .case-avatar { width: 20px; height: 20px; }
.wb-contact-strip strong { color: #e6e0ea; font-weight: 510; }
.wb-contact-strip strong span { color: #a89fb4; font-weight: 400; margin-left: 4px; }
.wb-contact-email { margin-left: auto; font-size: 11px; }
.wb-tabs { display: flex; align-items: stretch; gap: 23px; min-height: 36px; border-bottom: 1px solid var(--wb-line); padding-inline: 24px; }
.wb-tabs button { display: inline-flex; align-items: center; gap: 6px; position: relative; color: #a9a1b4; font-size: 12px; padding-bottom: 11px; border-radius: 0; }
.wb-tabs button span { font-size: 10px; color: #958ba2; }
.wb-tabs button[aria-selected="true"] { color: #f3e6fc; }
.wb-tabs button[aria-selected="true"]::after { content:""; position:absolute; height: 2px; bottom: -1px; inset-inline: 0; background:#d5b6eb; }
.wb-tabs button:hover { color: #f3e6fc; }
#wb-tab-rehearsal { margin-left: auto; color: #d6b4ed; gap: 5px; }
#wb-tab-rehearsal svg { width: 12px; height: 12px; }
.wb-panels { position: relative; flex: 1; min-height: 0; }
.wb-panel { height: 100%; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #62576d transparent; }
.wb-messages { display: flex; flex-direction: column; padding: 18px 24px 14px; }
.wb-thread-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wb-thread-heading h4 { font-size: 13px; font-weight: 550; margin: 0; }
.wb-thread-heading > span { display: flex; align-items: center; gap: 5px; color: #a59cac; font-size: 10px; }
.wb-thread-heading svg { width: 12px; height: 12px; }
.wb-date { align-self: center; margin: 19px 0 14px; color: #998fa6; font-size: 10px; }
.wb-conversation { display: grid; gap: 16px; }
.wb-thread-item { display: grid; grid-template-columns: 25px minmax(0,1fr); gap: 9px; }
.wb-thread-item > .case-avatar { width: 25px; height: 25px; margin-top: 2px; }
.wb-message-meta { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #c9bfce; min-height: 19px; }
.wb-message-meta strong { font-weight: 540; }
.wb-message-meta strong > span { color: #aea2b9; font-weight: 400; margin-left: 3px; }
.wb-message-meta svg { width: 11px; height: 11px; color: #a5c3b3; }
.wb-message-meta time { margin-left: auto; font-size: 10px; color: #9f95ac; }
.wb-message-body { margin-top: 5px; padding: 10px 12px; border: 1px solid #514b57; border-radius: 2px 8px 8px; background: #39363f; color: #e9e2e9; font-size: 13px; line-height: 1.5; }
.wb-request .wb-message-body { width: fit-content; background: #35433d; border-color: #4c5e54; }
.wb-sent-email .wb-message-body { padding-block: 9px; }
.wb-message-body > strong { font-size: 12px; font-weight: 550; }
.wb-message-body > p { margin-top: 4px; font-size: 12px; color: #c9c0cf; }
.wb-file-chip { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; color: #e1caee; }
.wb-file-chip > span { margin-left: 4px; color: #9f95ac; font-size: 10px; }
.wb-file-chip svg { width: 13px; height: 13px; }
.wb-file-chip:hover { text-decoration: underline; text-underline-offset: 3px; }
.wb-sent-chat .wb-message-body { width: fit-content; padding: 8px 11px; background: #344b3e; border-color: #506458; }
.wb-sent-check { display: inline-block; vertical-align: -.17em; margin-left: 6px; width: 12px !important; height: 12px !important; color: #a7cbb7; }
.wb-linked-file { display: flex; align-items: center; gap: 10px; border: 1px solid #504953; border-radius: 7px; padding: 12px; margin: 25px 0 0 34px; }
.wb-linked-file > svg { color: #cdbbd9; width: 23px; height: 23px; }
.wb-linked-file strong, .wb-linked-file small { display: block; }
.wb-linked-file strong { font-size: 12px; font-weight: 500; }
.wb-linked-file small { color: #a9a0b3; font-size: 10px; margin-top: 2px; }
.wb-linked-file button { color: #d4bddf; font-size: 11px; margin-left: auto; }
.wb-record-receipt { display: flex; align-items: center; gap: 6px; margin: 14px 0 10px 34px; font-size: 10px; color: #c8bbcf; }
.wb-record-receipt .case-avatar { width: 17px; height: 17px; }
.wb-record-receipt small { margin-left: 5px; color: #9f95a7; }
.wb-record-receipt svg { width: 12px; height: 12px; margin-left: auto; color: #aed4ba; }
.wb-reply-placeholder { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; margin-top: auto; border: 1px solid #514953; border-radius: 6px; color: #a198aa; font-size: 11px; }
.wb-reply-placeholder svg { color: #9aa99f; width: 13px; height: 13px; }

.wb-rehearsal { padding: 13px 21px 12px; }
.wb-preview-banner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 11px; }
.wb-preview-banner > span { display: flex; align-items: center; gap: 6px; color: #e6c9fa; }
.wb-preview-banner i { width: 5px; height: 5px; border: 1px solid #d2adee; border-radius: 50%; }
.wb-preview-banner p { font-size: 10px; color: #bca8c9; }
.wb-draft-email { overflow: hidden; border: 1px solid #736c75; border-radius: 7px; background: #d5d2ce; color: #3b373d; }
.wb-draft-meta { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-bottom: 1px solid #b9b4b6; background: #c6c1c5; font-size: 11px; color: #514852; }
.wb-draft-meta strong { font-weight: 550; }
.wb-draft-meta > span { margin-left: auto; color: #6a5c71; font-size: 10px; }
.wb-recipient { display: flex; align-items: center; gap: 12px; padding: 10px 16px 8px; font-size: 11px; color: #756a76; }
.wb-recipient strong { font-weight: 490; color: #4b444d; }
.wb-recipient small { font-size: 10px; color: #756c75; margin-left: 4px; }
.wb-subject { font-size: 13px; font-weight: 600; padding: 0 16px 10px; border-bottom: 1px solid #bfbabf; }
.wb-email-copy { padding: 13px 16px 12px; font-size: 14px; line-height: 1.5; }
.wb-email-copy p + p { margin-top: 9px; }
.wb-email-copy #wb-greeting { padding: 2px 3px; margin-left: -3px; border-radius: 3px; transition: background .3s; }
.workspace-demo[data-step="4"] #wb-greeting { background: #b8c4b4; }
.wb-draft-attachment { display: flex; align-items: center; gap: 8px; margin: 0 16px 12px; border: 1px solid #b3acb4 !important; background: #c7c2c6 !important; padding: 6px 8px !important; font-size: 11px; width: fit-content; }
.wb-draft-attachment > span:not(.wb-pdf-mark) { display: flex; align-items: center; gap: 8px; }
.wb-draft-attachment small { font-size: 10px; color: #716674; }
.wb-draft-attachment svg { width: 12px; height: 12px; color: #746878; margin-left: 10px; }
.wb-draft-attachment:hover { background: #ddd4df !important; }
.wb-pdf-mark { display: grid; place-items: center; width: 19px; height: 23px; font-size: 6px; font-weight: 700; color: #81645f; border: 1px solid #a58b84; background: #dfd1c7; border-radius: 2px; }
.wb-draft-whatsapp { margin-top: 10px; display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 10px; align-items: start; }
.wb-draft-channel { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #b5ccbf; padding-top: 7px; }
.wb-draft-channel svg { width: 13px; height: 13px; }
.wb-draft-whatsapp > p { padding: 9px 10px; min-height: 62px; border: 1px solid #526557; border-radius: 8px 2px 8px 8px; background: #374d3f; color: #e1ece2; font-size: 13px; line-height: 1.5; }
.wb-simulation-tag { display: inline-block; margin-left: 5px; font-size: 10px; border: 1px solid #9b87a8; border-radius: 4px; padding: 0 4px; color: #ead7f4; background: #4b3d53; white-space: nowrap; }
.workspace-demo[data-step="4"] #wb-reply { background: #536b59; border-radius: 3px; }
.wb-review-strip { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; min-height: 29px; }
.wb-review-strip > span { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #c6b3d4; }
#wb-apply { display: flex; align-items: center; gap: 12px; font-size: 10px; background: #d5c2e1; color: #392c44; padding: 6px 8px; font-weight: 560; }
#wb-apply:hover { background: #eddbf7; }

.wb-files, .wb-details { padding: 19px 23px; }
.wb-files-layout { display: grid; grid-template-columns: minmax(140px,.82fr) minmax(0,1fr); gap: 16px; margin-top: 18px; }
.wb-file-list { min-width: 0; }
.wb-file-row { display: flex; align-items: center; gap: 9px; padding: 11px 9px; border-bottom: 1px solid #4d4654; }
.wb-file-row > svg { width: 17px; height: 17px; color: #bcb0c8; }
.wb-file-row strong, .wb-file-row small { display: block; }
.wb-file-row strong { font-size: 11px; font-weight: 500; color: #d6cfdf; }
.wb-file-row small { font-size: 10px; color: #a59bae; margin-top: 3px; }
.wb-file-row.is-selected { background: #433a4e; border: 1px solid #796387; border-radius: 5px; }
.wb-file-preview { background: #45404b; border-radius: 5px; overflow: hidden; padding: 0 14px 10px; }
.wb-file-preview-bar { display: flex; align-items: center; justify-content: space-between; margin-inline: -14px; padding: 7px 10px; background: #504956; font-size: 10px; color: #d9cede; }
.wb-page { background: #d6d0c6; color: #49423e; padding: 22px 19px; margin-top: 14px; min-height: 269px; box-shadow: 0 5px 12px #15101c30; }
.wb-page > small { font-size: 7px; letter-spacing: .04em; color: #746b62; }
.wb-page h4 { font: 23px/1.1 "Iowan Old Style",Georgia,serif; letter-spacing: -.04em; margin: 25px 0 14px; }
.wb-page p { font-size: 10px; line-height: 1.7; color: #70655b; }
.wb-page strong { font-weight: 560; color: #53493f; }
.wb-page hr { border: 0; border-top: 1px solid #aaa195; margin: 19px 0 12px; }
.wb-page h5 { margin: 0 0 5px; font-size: 10px; font-weight: 600; }
.wb-file-version-note { margin-top: 9px; color: #b1a5bc; font-size: 10px; text-align: center; }
.wb-details dl { margin: 18px 0 22px; }
.wb-details dl > div { display: grid; grid-template-columns: 42% 1fr; padding: 11px 0; border-bottom: 1px solid #4b4353; align-items: center; }
.wb-details dt { color: #aa9fb7; font-size: 11px; }
.wb-details dd { display: flex; gap: 7px; align-items: center; font-size: 12px; margin: 0; color: #e3d8ec; }
.wb-details .case-avatar { width: 21px; height: 21px; }
.wb-contact-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #5d4e68; border-radius: 6px; }
.wb-contact-card > .case-avatar { width: 34px; height: 34px; }
.wb-contact-card strong { font-size: 13px; font-weight: 550; }
.wb-contact-card p, .wb-contact-card span { display: block; font-size: 10px; color: #ada2b8; margin-top: 3px; }
.wb-contact-card > svg { margin-left: auto; color: #b6d5c2; }

.wb-agent { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #2b2932; border-left: 1px solid #514854; }
.wb-agent > header { display: flex; align-items: center; gap: 8px; padding: 16px 17px 15px; border-bottom: 1px solid #48414e; font-size: 13px; }
.wb-agent > header > strong { font-weight: 530; }
.wb-agent-icon { display: grid; place-items: center; color: #dbc1ed; }
.wb-agent-icon svg { width: 18px; height: 18px; fill: #dbc1ed; stroke-width: .4; }
.wb-agent-context { margin-left: auto; color: #a398ae; font-size: 10px; }
.wb-agent-log { flex: 1; min-height: 0; overflow: auto; padding: 21px 18px 14px; scrollbar-width: thin; scrollbar-color: #61546e transparent; overscroll-behavior: contain; }
.wb-turn { font-size: 14px; line-height: 1.6; color: #e0d6e7; }
.wb-agent-log > .wb-turn:not(:first-child) { margin-top: 22px; }
.wb-turn-who { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 11px; }
.wb-turn-who strong { color: #e5dce9; font-weight: 530; }
.wb-turn-who .case-avatar { width: 20px; height: 20px; }
.wb-turn-who > svg { width: 16px; height: 16px; fill: #c4a4df; stroke-width: .45; }
.wb-turn-who time { margin-left: auto; color: #96899f; font-size: 10px; }
.wb-human > p:not(.wb-turn-who) { padding: 10px 12px; background: #3e3646; border: 1px solid #574960; border-radius: 8px; color: #ebe0f0; }
.wb-thinking { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #bba4cf; font-size: 12px; }
.wb-thinking > svg { fill: #c0a5d5; width: 17px; height: 17px; stroke-width: .4; }
.wb-sources { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.wb-sources button { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #61506e; border-radius: 5px; padding: 3px 5px; color: #c9b5d7; font-size: 10px; }
.wb-sources button:hover { background: #483952; }
.wb-sources .case-avatar { width: 13px; height: 13px; }
.wb-sources svg { width: 11px; height: 11px; }
.wb-open-drafts { display: flex; gap: 10px; align-items: center; margin-top: 12px; color: #d1b3e7; font-size: 11px; }
.wb-open-drafts:hover { color: #f0d9ff; }
.wb-open-drafts span { margin-left: auto; }
.wb-feedback { padding-top: 17px; border-top: 1px solid #4c4057; }
.wb-approval-event { display: flex; gap: 7px; align-items: center; margin-top: 20px; padding: 10px 0; border-block: 1px solid #494650; }
.wb-approval-event .case-avatar { width: 24px; height: 24px; }
.wb-approval-event strong, .wb-approval-event p > span { display: block; }
.wb-approval-event strong { font-size: 10.5px; font-weight: 540; color: #c2d8c9; }
.wb-approval-event p > span { margin-top: 2px; font-size: 10px; color: #a297aa; }
.wb-approval-event > svg { margin-left: auto; color: #a7cdb6; width: 13px; height: 13px; }
.wb-agent-complete { margin-top: 17px; }
.wb-composer { margin: 5px 13px 13px; border: 1px solid #605069; border-radius: 8px; padding: 12px 10px 8px; display: flex; align-items: center; flex-wrap: wrap; font-size: 11px; color: #ab9ab9; }
.wb-compose-send { margin-left: auto; display: grid; place-items: center; background: #665071; color: #d5b8e8; width: 22px; height: 22px; border-radius: 6px; font-size: 15px; }
.wb-composer small { display: flex; align-items: center; gap: 4px; flex-basis: 100%; margin-top: 9px; font-size: 10px; color: #b7a6c6; }
.wb-composer small > i { width: 4px; height: 4px; border-radius: 50%; background: #aa8fbf; }
.wb-statusbar { display: flex; justify-content: space-between; align-items: center; min-height: 26px; border-top: 1px solid var(--wb-line); background: #29262f; color: #a69aac; padding-inline: 16px; font-size: 10px; }
.wb-statusbar > span { display: flex; align-items: center; gap: 5px; }
.wb-statusbar i { width: 4px; height: 4px; }
.wb-demo-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; color: #b8aebf; }
.wb-demo-footer > p { font-size: 11px; }
.wb-playback { display: flex; align-items: center; gap: 13px; }
.wb-playback-track { position: relative; width: 82px; height: 2px; background: #514957; border-radius: 2px; overflow: hidden; }
.wb-playback-track > i { display: block; height: 100%; background: #bd9fd4; width: 100%; transform: scaleX(var(--wb-progress,0)); transform-origin: left; }
#workspace-play { display: flex; align-items: center; justify-content: center; min-width: 71px; gap: 7px; padding: 5px 10px; border: 1px solid #65586f; border-radius: 18px; font-size: 11px; color: #d4c5dd; }
#workspace-play > i { display: block; width: 7px; height: 8px; border-inline: 2px solid currentColor; }
#workspace-play[data-mode="resume"] > i { width: 0; height: 0; border: 4px solid transparent; border-right: 0; border-left: 6px solid currentColor; }
#workspace-play[data-mode="replay"] > i { width: auto; height: auto; border: 0; font-style: normal; }
#workspace-play[data-mode="replay"] > i::before { content:"↻"; font-size: 14px; line-height: 1; }
#workspace-play:hover { background: #44384f; }

@media (min-width: 1100px) and (max-width: 1250px) {
  .wb-body { grid-template-columns: 137px minmax(0,1fr) 271px; }
  .wb-wordmark { width: 120px; }
  .wb-client-heading { padding-inline: 18px; }
  .wb-company h3 { font-size: 18px; }
  .wb-client-status { display: none; }
  .wb-contact-strip, .wb-tabs { padding-inline: 18px; }
  .wb-contact-email { font-size: 10px; }
  .wb-messages { padding-inline: 18px; }
  .wb-rehearsal { padding-inline: 15px; }
  .wb-draft-whatsapp { grid-template-columns: 95px minmax(0,1fr); gap: 8px; }
  .wb-draft-channel { font-size: 10px; }
  .wb-agent-log { padding-inline: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .wb-turn:not([hidden]), .wb-approval-event:not([hidden]), .wb-thread-item[data-wb-after]:not([hidden]) { animation: wb-arrive .5s ease-out both; }
  .wb-loading-dots { animation: wb-pulse 1.5s ease-in-out infinite; }
  .workspace-demo[data-paused] .wb-loading-dots { animation-play-state: paused; }
  @keyframes wb-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
  @keyframes wb-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-demo *, .workspace-demo *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
