/* Customer workspace: a compact entrance and a conversation that keeps its place. */
.support-workspace-ui{--rail:272px;--muted:#566879;--support-header:64px;--support-nav:0px}
.support-workspace-ui .app-rail{padding:26px 18px 18px;overflow:hidden}
.support-workspace-ui .brand{font-size:22px}
.support-workspace-ui .rail-description{margin:9px 0 22px;color:#c8d6e0}
.support-workspace-ui .rail-navigation{margin:18px -6px 0;gap:2px}
.support-workspace-ui .rail-link{min-height:44px;font-size:12px}
.support-workspace-ui .rail-bottom{margin-top:auto;padding-top:12px}
.support-workspace-ui .site-header{min-height:var(--support-header);height:var(--support-header);padding:0 30px}
.support-workspace-ui .page{max-width:1440px;padding:36px 32px 0}
.support-workspace-ui .welcome-heading{margin-bottom:20px;max-width:920px}
.support-workspace-ui .welcome-heading h1{font-size:clamp(30px,3vw,44px);font-weight:550;letter-spacing:-.03em}
.support-workspace-ui .welcome-heading p{font-size:14px;max-width:55ch;margin-top:12px;color:#526779}
.support-workspace-ui .dialog-symbol{transform:rotate(-6deg) scale(.7);transform-origin:right center;width:100px;height:90px}
.support-workspace-ui .workspace.is-welcome{max-width:920px}
.support-workspace-ui .is-welcome .composer{min-height:128px;border:1px solid #d8e1dc;box-shadow:none;padding:18px 20px}
.support-workspace-ui .is-welcome .composer textarea{min-height:48px}
.support-workspace-ui .support-account{margin-bottom:12px}
.workspace-examples{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12px;color:#566879}
.workspace-examples button{border:1px solid #d8e1dc;border-radius:18px;background:#fff;min-height:36px;padding:6px 12px;font-size:12px;color:#304b5d}
.workspace-chat-open .workspace-examples{display:none}
.support-workspace-ui .topic-grid{gap:0 24px}
.support-workspace-ui .topic-button{padding:15px 6px;min-height:75px}
.support-workspace-ui .topic-copy small{color:#566879;font-size:12px}
.support-workspace-ui .welcome-help{max-width:920px}
.support-workspace-ui .button{min-height:44px;font-size:13px;padding:10px 16px;white-space:normal}
.support-workspace-ui .button.primary{background:var(--navy)}
.support-workspace-ui .button.quiet{background:#edf2e6;color:#3f566b}
.support-workspace-ui .field input,.support-workspace-ui .field textarea,.support-workspace-ui .field select{font-size:16px;min-height:46px}
.support-workspace-ui .text-button{min-height:36px;color:#45617b}
.support-workspace-ui .check-label{font-size:13px;color:#465c6d;gap:10px}
.support-workspace-ui .check-label input{min-width:18px;min-height:18px}
.support-workspace-ui .field{font-size:13px}
.support-workspace-ui .small,.support-workspace-ui .field-help{font-size:12px;color:#566879}
.support-workspace-ui input::placeholder,.support-workspace-ui textarea::placeholder{color:#647178;opacity:1}

#support-thread-rail{min-height:0;overflow-y:auto;margin:20px -6px 0;padding:0 6px;flex:1}
#support-thread-rail h2{font-size:12px;font-weight:500;color:#d2dfe7;margin-bottom:12px}
.thread-guest{padding-top:22px;border-top:1px solid #385064;font-size:13px;color:#ecf2f4}
.thread-guest>svg{color:var(--lime);margin-bottom:12px;width:22px;height:22px}
.thread-guest p{font-weight:550;margin-bottom:6px}
.thread-guest span{display:block;font-size:12px;color:#c4d4df;line-height:1.7}
.thread-guest button{display:flex;align-items:center;gap:8px;border:0;background:none;color:var(--lime);padding:12px 0;min-height:44px;font-size:12px}
.workspace-signed-in .app-rail .rail-link[data-action="how"],.workspace-signed-in .app-rail .rail-link[data-action="privacy"]{display:none}
.thread-search{display:flex;gap:8px;align-items:center;background:#f2f5f4;border-radius:8px;padding:0 11px;min-width:0}
.thread-search svg{width:16px;height:16px;color:#536b78}
.thread-search input{min-width:0;width:100%;border:0;background:none;min-height:42px;font-size:12px;color:#203246;outline-offset:0}
.thread-search input::placeholder{color:#5b6c79}
.thread-filters{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0}
.thread-filters button{border:0;background:none;border-radius:6px;padding:7px 8px;font-size:11px;min-height:36px;color:#bed0de}
.thread-filters button[aria-pressed="true"]{background:#d8efa6;color:#203a35}
.support-thread{display:block;text-align:left;width:100%;padding:16px 10px;border:0;border-bottom:1px solid #395064;background:none;color:#eff4f7;min-width:0;border-radius:0}
.support-thread:hover,.support-thread.is-current{background:#284158;border-radius:8px}
.thread-top{display:flex;gap:10px;align-items:baseline;justify-content:space-between}
.thread-top strong{font-size:13px;font-weight:550;line-height:1.45;min-width:0;overflow-wrap:anywhere}
.thread-top time{font-size:10px;flex:none;color:#c2d2dd}
.thread-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.6;color:#c5d5df;margin:7px 0;overflow-wrap:anywhere}
.thread-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:10px;color:#c5d5df}
.thread-status{margin-left:auto;max-width:100%;overflow-wrap:anywhere}
.thread-unread,[data-thread-count]{font-size:10px;border-radius:12px;min-width:20px;padding:1px 5px;background:var(--lime);color:#183446;text-align:center}
.thread-empty{font-size:12px;padding:18px 0;color:#c5d5df;line-height:1.7}
.thread-list-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
#support-thread-rail .text-button{font-size:11px;color:#d2e4ee}
.thread-error{font-size:12px;color:#ffd1c2;margin:12px 0}
.thread-identity{border-top:1px solid #395064;margin-top:14px;padding:16px 0;font-size:11px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#d4e3ed}
.thread-identity span{overflow-wrap:anywhere;min-width:0;flex:1}
.thread-identity button{background:none;border:0;color:#d8efa6;padding:8px 0;min-height:40px}

.support-workspace-ui.workspace-chat-open:not(.reading-knowledge):not(.workspace-inbox-open){height:var(--support-viewport-height,100dvh);overflow:hidden}
.support-workspace-ui.workspace-chat-open:not(.reading-knowledge):not(.workspace-inbox-open) main{height:calc(var(--support-viewport-height,100dvh) - var(--support-header) - var(--support-nav));min-height:0}
.support-workspace-ui.workspace-chat-open:not(.reading-knowledge):not(.workspace-inbox-open) .page{height:100%;padding:18px 24px 20px;display:flex;flex-direction:column}
.support-workspace-ui.workspace-chat-open .welcome-heading,.support-workspace-ui.workspace-chat-open .welcome-help,.support-workspace-ui.workspace-chat-open .page-footer{display:none}
.support-workspace-ui.workspace-chat-open .workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;height:100%;min-height:0;align-items:stretch;flex:1}
.support-workspace-ui.workspace-chat-open #support-account{display:none}
.support-workspace-ui.workspace-chat-open .workspace .chat-panel{height:100%;min-height:0;overflow:hidden;border-radius:14px;background:white;border:1px solid #d8e2df;display:flex;flex-direction:column}
.support-workspace-ui.workspace-chat-open .workspace .conversation{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px;scroll-behavior:auto;overscroll-behavior:contain}
.support-workspace-ui .chat-heading{padding:16px 20px;min-height:76px}
.support-workspace-ui .chat-heading h2{font-size:15px}
.support-workspace-ui .chat-heading p{font-size:12px;color:#566879}
.support-workspace-ui .private-label{display:none}
.support-workspace-ui .topic-context{padding:8px 20px;font-size:12px;min-height:45px}
.support-workspace-ui .message{max-width:92%;margin-bottom:22px}
.support-workspace-ui .message.user{max-width:87%}
.support-workspace-ui .message-author{font-size:11px;color:#546a7b;gap:7px}
.support-workspace-ui .message-author time{margin-left:auto;font-size:10px}
.support-workspace-ui .message-bubble{font-size:14px;line-height:1.7;padding:14px 16px;background:#f0f4ee}
.support-workspace-ui .message.user .message-bubble{background:#eaf0fc;color:#203f66}
.support-workspace-ui .composer-area{padding:12px 18px;background:#fff;border-top:1px solid #dfe5e1;order:2}
.support-workspace-ui .is-welcome .composer-area{order:-1;padding:0 0 24px;border:0;background:none}
.support-workspace-ui .composer{padding:12px 14px 10px;background:#f5f7f3;box-shadow:none}
.support-workspace-ui .composer textarea{font-size:16px;min-height:30px;max-height:110px;resize:none}
.support-workspace-ui .composer-bottom{margin-top:4px}
.support-workspace-ui .send-button{width:44px;height:44px}
.support-workspace-ui .composer-caption{padding-top:2px;min-height:25px}
.support-workspace-ui .composer-tip,.support-workspace-ui .composer-caption{font-size:11px;color:#526678}
.support-workspace-ui .workspace .case-sidebar{height:100%;max-height:none;min-height:0;overflow-y:auto;position:static;display:block;padding:12px 4px 20px}
.support-workspace-ui .case-sidebar .reassurance{display:none}
.support-workspace-ui .case-sidebar h2{font-size:16px}
.support-workspace-ui .case-sidebar h3{font-size:13px}
.support-workspace-ui .case-sidebar .journey{display:flex;flex-direction:column;margin:24px 0;gap:0}
.support-workspace-ui .case-sidebar .journey li{min-height:58px}
.support-workspace-ui .case-sidebar .step-copy{font-size:12px}
#workspace-facts dl{margin:12px 0 0;display:grid;gap:12px;font-size:12px;overflow-wrap:anywhere}
#workspace-facts dt{color:#566879;margin-bottom:3px}
#workspace-facts dd{margin:0;line-height:1.65;color:#203246}
.workspace-details-toggle{display:none;align-items:center;gap:6px;min-height:44px;margin-left:auto;padding:8px 10px;background:#f2f5ee;border:0;border-radius:8px;color:#254355;font-size:12px}
.workspace-details-toggle svg{width:18px;height:18px}
.ticket-status-note{padding:16px 0 18px;border-bottom:1px solid #dfe5e1;margin-bottom:22px}
.ticket-status-note h3{font-size:16px;margin-bottom:6px}
.ticket-status-note p{font-size:13px;color:#4c6575;line-height:1.7}
.ticket-status-note .form-actions{margin-top:12px}
.workspace-received #request-purpose{display:none}
.conversation-files{border-top:1px solid #dfe5e1;padding:20px 0 6px;margin-top:20px}
.conversation-files h3{font-size:14px;margin-bottom:12px}
.conversation-files .uploaded-file{padding:12px;background:#f3f6f2;border-radius:9px;margin-bottom:8px;text-decoration:none;color:#203f66;font-size:13px}
.conversation-files small{display:block;color:#536777;margin-top:5px;line-height:1.6;font-size:12px}
.support-workspace-ui .inline-form h3{font-size:23px;letter-spacing:-.02em}
.support-workspace-ui .inline-form>p{font-size:14px;color:#526779}
.support-workspace-ui .receipt-banner{box-shadow:none}

#support-details{padding:0;width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 24px);border:0;border-radius:14px;background:#fff;color:#203246}
#support-details::backdrop{background:#172e4570}
#support-details>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #dfe5e1}
#support-details>header h2{font-size:18px}
.support-details-content{max-height:calc(100dvh - 116px);overflow-y:auto;padding:20px}
#support-details .case-sidebar{display:block!important;padding:0;max-height:none;height:auto}
#support-details .sidebar-title{display:none}
#support-details .journey li{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;padding:0 0 20px;border:0;min-height:58px}
#support-details .journey li:before{display:none}
#support-details .step-copy{margin-top:0}
#support-details .journey small{display:block}
.support-workspace-ui.workspace-inbox-open .welcome-heading,.support-workspace-ui.workspace-inbox-open .workspace,.support-workspace-ui.workspace-inbox-open .welcome-help,.support-workspace-ui.workspace-inbox-open .page-footer{display:none}
#support-inbox-view{max-width:850px;margin:0 auto;padding-bottom:40px}
.inbox-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.inbox-page-heading h1{font-size:30px;font-weight:550}
.inbox-page-heading p{font-size:13px;color:#526779;margin-top:8px}
.inbox-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#526779;margin-bottom:18px;overflow-wrap:anywhere}
.inbox-identity svg{width:15px;height:15px}
.inbox-identity .text-button{margin-left:auto}
#support-inbox-view .thread-filters button{color:#425d70;font-size:12px;min-height:44px}
#support-inbox-view .thread-filters button[aria-pressed=true]{background:#e4eddb;color:#203c30}
#support-inbox-view .thread-search{background:#fff;border:1px solid #d7e1dd}
#support-inbox-view .thread-search input{font-size:16px;min-height:48px}
#support-inbox-view .support-thread{border-bottom:1px solid #d7e1dd;color:#203246;padding:20px 14px}
#support-inbox-view .support-thread:hover,#support-inbox-view .support-thread.is-current{background:#edf2e8}
#support-inbox-view .thread-top strong{font-size:16px}
#support-inbox-view .thread-preview,#support-inbox-view .thread-bottom,#support-inbox-view .thread-top time,#support-inbox-view .thread-empty{color:#526779;font-size:12px}
#support-inbox-view .thread-preview{font-size:14px}
#support-inbox-view .thread-error{color:#9a3527}
.inbox-empty-explanation{font-size:14px;margin-bottom:20px;line-height:1.7}
.workspace-mobile-nav{display:none}
.support-workspace-ui.reading-knowledge .welcome-help{display:block}
.support-workspace-ui.reading-knowledge .page{height:auto}
.support-workspace-ui.workspace-chat-open.reading-knowledge .workspace{display:none}
.support-workspace-ui.workspace-chat-open .workspace.live-flow .case-sidebar{position:static;height:100%;max-height:100%;overflow-y:auto}

@media(max-width:1279px){
  .support-workspace-ui{--rail:248px}
  .support-workspace-ui.workspace-chat-open .workspace{grid-template-columns:minmax(0,1fr)}
  .support-workspace-ui .workspace .case-sidebar{display:none}
  .workspace-details-toggle{display:inline-flex}
}
@media(max-width:900px){
  .support-workspace-ui{--rail:0px;--support-header:58px;--support-nav:53px}
  .support-workspace-ui .app-rail{display:none}
  .support-workspace-ui main,.support-workspace-ui .site-header{margin-left:0}
  .support-workspace-ui .site-header{padding:0 18px;position:relative;top:auto;background:var(--navy);color:#fff;border:0}
  .support-workspace-ui .mobile-brand{display:block;font-size:17px;font-weight:700;letter-spacing:-.025em}
  .support-workspace-ui .mobile-brand small{display:block;font-size:9px;font-weight:400;letter-spacing:0;color:#c5d3dc;margin-top:2px}
  .support-workspace-ui .header-label,.support-workspace-ui .header-privacy{display:none}
  .support-workspace-ui .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-left:auto;padding:8px 12px;background:#ffffff0b;color:#fff;border:1px solid #ffffff38;border-radius:10px;font:500 13px Golos,sans-serif}
  .support-workspace-ui .mobile-menu-toggle svg{width:20px;height:20px}
  .workspace-mobile-nav{display:flex;height:var(--support-nav);gap:8px;padding:5px 16px;border-bottom:1px solid #dce4df;background:#fff}
  .workspace-mobile-nav button{flex:1;display:flex;justify-content:center;align-items:center;gap:7px;background:none;border:0;border-radius:7px;font-size:12px;min-height:42px;padding:6px;color:#425e70}
  .workspace-mobile-nav button[aria-current=page]{background:#edf2e6;color:#1c3e37}
  .workspace-mobile-nav svg{width:17px;height:17px}
  .support-workspace-ui .page{padding:26px 22px 0}
  .support-workspace-ui.workspace-chat-open:not(.reading-knowledge):not(.workspace-inbox-open) .page{padding:0;max-width:none}
  .support-workspace-ui.workspace-chat-open .workspace{gap:0}
  .support-workspace-ui.workspace-chat-open .workspace .chat-panel{border:0;border-radius:0}
  .support-workspace-ui .welcome-heading h1{font-size:34px}
  .support-workspace-ui .dialog-symbol{display:none}
  .support-workspace-ui .chat-heading{padding:12px 18px;min-height:68px}
  .support-workspace-ui .support-avatar{width:34px;height:34px;border-radius:10px}
  .support-workspace-ui .workspace.live-flow .chat-heading{padding:12px 18px}
  .support-workspace-ui .workspace.live-flow .topic-context{padding:6px 18px}
  .support-workspace-ui .workspace.live-flow .composer-area{padding:10px 16px max(10px,env(safe-area-inset-bottom))}
  .support-workspace-ui .support-account .button{min-height:44px}
  .support-workspace-ui .workspace.live-flow .conversation{padding:20px}
}
@media(max-width:600px){
  .support-workspace-ui .page{padding:24px 16px 20px}
  .support-workspace-ui .welcome-heading h1{font-size:30px;line-height:1.2}
  .support-workspace-ui .welcome-heading p{font-size:14px;line-height:1.65}
  .support-workspace-ui .is-welcome .composer{padding:16px;min-height:140px}
  .support-workspace-ui .is-welcome .composer textarea{min-height:54px}
  .workspace-examples{gap:6px;font-size:11px}
  .workspace-examples>span{width:100%}
  .workspace-examples button{min-height:44px;font-size:12px}
  .support-workspace-ui .topic-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .support-workspace-ui .topic-copy strong{font-size:15px}
  .support-workspace-ui .topic-copy small{font-size:12px}
  .support-workspace-ui .workspace .conversation,.support-workspace-ui .workspace.live-flow .conversation{padding:18px 16px}
  .support-workspace-ui .chat-heading,.support-workspace-ui .workspace.live-flow .chat-heading{padding:10px 14px;gap:9px}
  .support-workspace-ui .chat-heading>div:nth-child(2){min-width:0;flex:1}
  .support-workspace-ui .chat-heading h2{font-size:14px}
  .support-workspace-ui .chat-heading p{font-size:11px;overflow-wrap:anywhere;line-height:1.5}
  .support-workspace-ui .topic-context{padding:5px 14px;gap:8px}
  .support-workspace-ui .topic-context .text-button{min-height:36px;font-size:11px}
  .support-workspace-ui .workspace-details-toggle{padding:8px;font-size:11px;flex:none}
  .support-workspace-ui .message,.support-workspace-ui .message.user{max-width:96%}
  .support-workspace-ui .message-bubble{font-size:14px;padding:12px 14px}
  .support-workspace-ui .composer-area,.support-workspace-ui .workspace.live-flow .composer-area{padding:9px 12px max(9px,env(safe-area-inset-bottom))}
  .support-workspace-ui .composer{padding:10px 12px 7px}
  .support-workspace-ui .composer-caption>span{display:none}
  .support-workspace-ui .composer-caption{justify-content:flex-end;min-height:22px}
  .support-workspace-ui .composer-caption .text-button{min-height:24px;padding:2px 0}
  .support-workspace-ui .inline-form h3{font-size:22px}
  .support-workspace-ui .form-grid{grid-template-columns:minmax(0,1fr)}
  .support-workspace-ui .form-actions{align-items:stretch}
  .support-workspace-ui .form-actions>.button{width:100%;min-height:46px}
  .support-workspace-ui .packet-steps{gap:8px;margin-bottom:22px}
  .support-workspace-ui .packet-steps li{font-size:11px;line-height:1.5}
  .support-workspace-ui .packet-file .icon-button{min-width:44px;min-height:44px}
  .support-workspace-ui .document-slot h4{font-size:15px}
  .support-workspace-ui .public-article-bottom{gap:16px;flex-direction:column;align-items:stretch}
  .support-workspace-ui dialog:not(#support-details){width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
  #support-details{width:100%;max-width:none;height:var(--support-viewport-height,100dvh);max-height:none;margin:0;border-radius:0}
  .support-details-content{max-height:calc(var(--support-viewport-height,100dvh) - 77px);padding:20px 18px max(24px,env(safe-area-inset-bottom))}
  .inbox-page-heading{flex-direction:column;align-items:stretch;gap:16px}
  .inbox-page-heading h1{font-size:27px}
  #support-inbox-view .support-thread{padding:18px 4px}
  .thread-top{gap:8px}
  #support-inbox-view .thread-top strong{font-size:15px}
}
@media(max-width:360px){.workspace-mobile-nav{padding:5px 8px;gap:2px}.workspace-mobile-nav button{font-size:11px;gap:5px}.support-workspace-ui .chat-heading .support-avatar{display:none}}

.draft-staff-chat{margin:0 0 24px;padding:18px;background:var(--surface,#f3f6ef);border:1px solid #cbd8cd;border-radius:12px}
.draft-staff-chat summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:44px;color:#193448}
.draft-staff-chat summary span{font-size:12px;color:#305140}.draft-staff-chat>p{font-size:13px;line-height:1.6}
.draft-chat-messages{max-height:280px;overflow:auto;overscroll-behavior:contain;margin:16px 0;scrollbar-color:#91a4b0 transparent}
.draft-chat-message{padding:12px 0;border-bottom:1px solid #d5dfd8}.draft-chat-message header{display:flex;justify-content:space-between;gap:12px;font-size:12px}
.draft-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin:8px 0}.draft-chat-message time{color:#536c76}
.draft-staff-chat .field textarea{min-height:84px}.draft-staff-chat[hidden]{display:none!important}
#draft-chat-alert{margin-left:auto;max-width:100%;font-size:12px;white-space:normal}#draft-chat-alert[hidden]{display:none!important}.chat-heading:has(#draft-chat-alert:not([hidden])){flex-wrap:wrap}
@media(max-width:600px){.draft-staff-chat{padding:14px}.draft-staff-chat summary{align-items:flex-start;flex-direction:column;gap:4px}.draft-chat-message header{flex-wrap:wrap}}
