/* Support inbox: one compact list, shared by administrator and customer. */
html body #app#app#app#app :is(.fo-support-inbox,.fo-support-dialogs){--inbox-bg:#fff;--inbox-text:#14181f;--inbox-muted:#687382;--inbox-line:#edf0f3;--inbox-hover:#f5f7f9;--inbox-selected:#edf4fc;background:var(--inbox-bg);color:var(--inbox-text);border:0;box-shadow:none;border-radius:0;min-width:0;gap:0}
html[data-theme=dark] body #app#app#app#app :is(.fo-support-inbox,.fo-support-dialogs){--inbox-bg:#000;--inbox-text:#f4f5f7;--inbox-muted:#989fa9;--inbox-line:#202226;--inbox-hover:#121416;--inbox-selected:#142235}
html body #app#app#app#app .fo-support-inbox .fo-support-heading{display:flex;flex-wrap:wrap;padding:10px 12px 12px;margin:0;gap:10px;background:var(--inbox-bg);color:var(--inbox-text)}
html body #app#app#app#app .fo-support-heading h1{font-size:23px;line-height:1.2;font-weight:650;letter-spacing:-.025em;margin:0;flex:1}
html body #app#app#app#app .fo-support-heading>.fo-button{width:36px;min-width:36px;height:36px;min-height:36px;border:0;box-shadow:none;background:transparent}
html body #app#app#app#app .fo-support-search{height:38px;min-height:38px;border:0;border-radius:12px;background:var(--inbox-hover);box-shadow:none;margin:0;gap:8px;padding:0 11px;max-width:none;width:100%;flex:1 0 100%}
html body #app#app#app#app .fo-support-search input{height:38px;min-height:38px;padding:0;background:transparent;border:0;font-size:16px;color:var(--inbox-text);box-shadow:none}
html body #app#app#app#app .fo-support-search input::placeholder{color:var(--inbox-muted)}
html body #app#app#app#app .fo-support-search svg{width:18px;height:18px;color:var(--inbox-muted)}
html body #app#app#app#app .fo-inbox-tabs{display:flex;align-items:center;gap:6px;padding:0 12px 12px;margin:0;overflow:auto;scrollbar-width:none}
html body #app#app#app#app .fo-inbox-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:34px;padding:6px 11px;border:0;border-radius:17px;font-size:13px;font-weight:550;line-height:20px;background:var(--inbox-hover);color:var(--inbox-muted);box-shadow:none;white-space:nowrap;transition:background-color 140ms,color 140ms}
html body #app#app#app#app .fo-inbox-tabs button[aria-pressed=true]{background:var(--inbox-selected);color:var(--inbox-text)}
html body #app#app#app#app .fo-inbox-tabs b{font-size:11px;line-height:16px;font-weight:650;font-variant-numeric:tabular-nums}
html body #app#app#app#app .fo-inbox-folders{display:grid;margin:0 12px 6px;padding:0 0 6px;border-bottom:1px solid var(--inbox-line)}
html body #app#app#app#app .fo-inbox-folders button{display:flex;align-items:center;gap:11px;min-height:43px;width:100%;padding:5px 6px;border:0;background:none;color:var(--inbox-text);font-size:14px;font-weight:500;box-shadow:none;border-radius:8px;text-align:start}
html body #app#app#app#app .fo-inbox-folder-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:var(--inbox-muted)}
html body #app#app#app#app .fo-inbox-folder-icon svg{width:21px;height:21px}
html body #app#app#app#app .fo-inbox-folders b{margin-inline-start:auto;color:var(--inbox-muted);font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
html body #app#app#app#app .fo-inbox-folder-arrow{color:var(--inbox-muted);font-size:21px;font-weight:400}
html body #app#app#app#app .native-inbox-list{display:block;padding:0;margin:0;background:none;border:0;box-shadow:none}
html body #app#app#app#app .fo-inbox-row{position:relative;display:flex;align-items:center;width:100%;min-width:0;min-height:74px;padding:0 6px 0 0;border:0;background:transparent;transition:background-color 140ms}
html body #app#app#app#app .fo-inbox-row:not(:last-child)::after{content:'';position:absolute;bottom:0;left:72px;right:12px;height:1px;background:var(--inbox-line);pointer-events:none}
html body #app#app#app#app .fo-inbox-row.is-selected{background:var(--inbox-selected)}
html body #app#app#app#app .fo-inbox-row>.fo-conversation{display:flex;align-items:center;gap:10px;flex:1;min-width:0;max-width:100%;width:0;min-height:74px;height:auto;padding:10px 2px 10px 12px;margin:0;border:0;border-radius:0;background:transparent;color:var(--inbox-text);box-shadow:none;text-align:start}
html body #app#app#app#app .fo-inbox-row .fo-avatar{width:48px;min-width:48px;height:48px;border-radius:50%;box-shadow:none;font-size:19px}
html body #app#app#app#app .fo-inbox-row .fo-conversation-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
html body #app#app#app#app .fo-inbox-row .fo-conversation-heading{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;overflow:hidden;line-height:20px}
html body #app#app#app#app .fo-inbox-row .fo-conversation-heading strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:20px;font-weight:550;color:var(--inbox-text)}
html body #app#app#app#app .fo-inbox-row.is-unread .fo-conversation-heading strong{font-weight:650}
html body #app#app#app#app .fo-inbox-row .fo-conversation-heading small{display:none}
html body #app#app#app#app .fo-inbox-marks{display:flex;align-items:center;gap:3px;flex:none;color:var(--inbox-muted)}
html body #app#app#app#app .fo-inbox-marks span{display:flex}.fo-inbox-marks svg{width:12px;height:12px}
html body #app#app#app#app .fo-inbox-row .fo-conversation-preview{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;font-size:13px;font-weight:400;line-height:19px;color:var(--inbox-muted);text-align:start;min-width:0}
html body #app#app#app#app .fo-inbox-row.is-unread .fo-conversation-preview{color:var(--inbox-text)}
html body #app#app#app#app .fo-inbox-row .fo-conversation-meta{display:flex;align-self:stretch;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:4px;min-width:35px;max-width:64px;flex:none;padding:0}
html body #app#app#app#app .fo-inbox-row time{font-size:11px;line-height:18px;color:var(--inbox-muted);font-weight:400;white-space:nowrap}
html body #app#app#app#app .fo-inbox-row .fo-chat-unread{display:flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#2678d9;color:white;font-size:11px;line-height:19px;font-weight:650;box-shadow:none}
html body #app#app#app#app .fo-inbox-menu-trigger{display:flex;align-items:center;justify-content:center;flex:none;width:32px;min-width:32px;height:44px;min-height:44px;padding:6px;border:0;border-radius:10px;background:transparent;color:var(--inbox-muted);box-shadow:none}
html body #app#app#app#app .fo-inbox-menu-trigger svg{width:19px;height:19px}
html body #app#app#app#app .fo-inbox-row[aria-busy=true]{opacity:.6;pointer-events:none}
html body #app#app#app#app .fo-inbox-folder-heading{display:flex;align-items:center;gap:10px;padding:0 12px 12px;font-size:14px}
html body #app#app#app#app .fo-inbox-folder-heading button{display:flex;align-items:center;gap:4px;min-height:36px;padding:4px 7px 4px 0;background:none;border:0;color:var(--inbox-muted);font-size:13px;box-shadow:none}
html body #app#app#app#app .fo-inbox-folder-heading svg{width:18px;height:18px}
html body #app#app#app#app .fo-inbox-folder-heading strong{font-weight:600;margin-inline-start:auto}
html body #app#app#app#app .fo-inbox-folder-heading>span{color:var(--inbox-muted);font-size:12px}
html body #app#app#app#app .fo-inbox-retention{margin:0 12px 8px;color:var(--inbox-muted);font-size:12px;line-height:18px}
html body #app#app#app#app .fo-inbox-empty{padding:44px 22px;text-align:center;color:var(--inbox-muted);font-size:13px;line-height:20px}
html body #app#app#app#app .fo-inbox-empty strong{display:block;font-weight:550;color:var(--inbox-text);font-size:15px;margin-bottom:5px}
html body #app#app#app#app .fo-inbox-empty p{margin:0;max-width:30ch;margin-inline:auto}
.fo-inbox-action-menu{position:fixed;inset:auto;margin:0;padding:6px;width:238px;max-width:calc(100vw - 16px);border:0;border-radius:15px;background:#fff;color:#15191e;box-shadow:0 10px 36px #0002,0 2px 8px #0001;z-index:10050}
.fo-inbox-action-menu:popover-open{display:block}.fo-inbox-action-menu::backdrop{background:transparent}
.fo-inbox-action-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;text-align:start;font-family:inherit;font-size:14px;font-weight:500;line-height:20px;background:none;color:inherit;border:0;border-radius:9px;box-shadow:none;cursor:pointer}
.fo-inbox-action-menu svg{width:20px;height:20px;flex:none}.fo-inbox-action-menu .is-destructive{color:#c83745}
html[data-theme=dark] .fo-inbox-action-menu{background:#1b1c1f;color:#f4f5f7;box-shadow:0 12px 44px #0009}
html[data-theme=dark] .fo-inbox-action-menu .is-destructive{color:#ff7d88}
html body #app#app#app#app :is(.fo-inbox-tabs,.fo-inbox-folders,.fo-inbox-folder-heading,.fo-inbox-row) button:focus-visible,.fo-inbox-action-menu button:focus-visible{outline:2px solid #4b8edb;outline-offset:-3px}
@media(hover:hover){html body #app#app#app#app .fo-inbox-row:hover,html body #app#app#app#app .fo-inbox-folders button:hover{background:var(--inbox-hover)}.fo-inbox-action-menu button:hover{background:#80808014}}
@media(min-width:901px){html body #app#app#app#app .fo-support-desk{grid-template-columns:minmax(320px,360px) minmax(0,1fr);gap:0;background:transparent;padding:0;border:0;box-shadow:none}html body #app#app#app#app .fo-support-dialogs{border-inline-end:1px solid var(--inbox-line);padding:0}html body #app#app#app#app .native-client-inbox{max-width:760px;margin-inline:auto;padding:8px 0 24px}}
@media(max-width:900px){html body #app#app#app#app .fo-support-dialogs{padding:0}html body #app#app#app#app .native-client-inbox{padding:8px 0 16px}html body #app#app#app#app .fo-support-desk{background:transparent;border:0;box-shadow:none}html[data-theme=dark] body.support-inbox-open,html[data-theme=dark] body.support-inbox-open #app#app#app#app :is(.fo-stage,.screen[data-screen=support],.fo-support-desk,.screen__inner){background:#000}}
@media(max-width:350px){html body #app#app#app#app .fo-inbox-tabs{gap:5px;padding-inline:10px}html body #app#app#app#app .fo-inbox-tabs button{font-size:12px;padding-inline:9px}html body #app#app#app#app .fo-inbox-row>.fo-conversation{gap:8px;padding-inline-start:10px}html body #app#app#app#app .fo-inbox-row .fo-avatar{width:43px;min-width:43px;height:43px}}
@media(prefers-reduced-motion:reduce){html body #app#app#app#app .fo-inbox-row,html body #app#app#app#app .fo-inbox-tabs button{transition:none}}
html body #app#app#app#app .fo-inbox-row .fo-avatar{position:relative;overflow:hidden;flex:none}
html body #app#app#app#app .fo-inbox-row .fo-avatar-initials{position:absolute;inset:0;display:grid;place-items:center;font-size:17px;line-height:1;font-weight:550}

html[data-theme=dark] body.support-inbox-open #app#app#app#app .fo-support-preview{background:#000;border:0;border-radius:0;box-shadow:none}
