/* Foyerdesk screens. Colours and component shapes follow DelvyG/chatwoot-portal (blue accent, white cards, status badges).
   Override the variables on .fd to brand a site. */
.fd { --fd-btn-text:#fff; --fd-blue:#2781f6; --fd-blue-dark:#086de0; --fd-btn:#1d6fd6; --fd-btn-hover:#1558b0; --fd-chip-text:#1558b0; --fd-text:#1c2024; --fd-muted:#60646c; --fd-border:#e2e3e7; --fd-bg:#f7f7f7; --fd-white:#fff;
  --fd-agent-bg:#f7f7f7; --fd-agent-border:#e0e1e6; --fd-unread-bg:#0a7f70; --fd-line:#f0f0f3; --fd-surface:#fefefe; --fd-tab:#60646c; --fd-tab-active:#086de0; --fd-strong:#e2e3e7; --fd-alpha-1:rgba(215,215,215,.22);
  --fd-green:#22c55e; --fd-radius:8px; --fd-shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);
  --fd-hover:#f0f0f3; --fd-err-bg:#fef2f2; --fd-err-border:#fecaca; --fd-err:#b91c1c;
  --fd-b-open-bg:#dbeafe; --fd-b-open:#1d4ed8; --fd-b-res-bg:#dcfce7; --fd-b-res:#15803d; --fd-b-pen-bg:#fef9c3; --fd-b-pen:#a16207;
  position:fixed; inset:0; z-index:2147483000; display:flex; background:var(--fd-bg); color:var(--fd-text); font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.fd *,.fd *::before,.fd *::after { box-sizing:border-box; }
.fd [hidden] { display:none !important; }
/* Dark: the host page adds class "dark" on <html> (or sets data-theme="dark" on the element). */
.dark .fd, .fd[data-theme="dark"] { --fd-text:#edeef0; --fd-muted:#b0b4ba; --fd-border:#2e2d32; --fd-bg:#1c1d20; --fd-white:#17171a; --fd-agent-bg:#2c2d36; --fd-agent-border:rgba(176,180,186,.5); --fd-line:#212225; --fd-surface:#141517; --fd-tab:#b0b4ba; --fd-tab-active:#7eb6ff; --fd-strong:#2e2d32; --fd-alpha-1:rgba(35,36,42,.8); --fd-blue:#2781f6; --fd-btn:#2563eb; --fd-btn-hover:#1d4ed8; --fd-chip-text:#93c5fd; --fd-blue-dark:#7eb6ff;
  --fd-hover:#212225; --fd-err-bg:#3a1417; --fd-err-border:#7f1d1d; --fd-err:#fca5a5; --fd-shadow:0 1px 3px rgba(0,0,0,.5);
  --fd-b-open-bg:#12305f; --fd-b-open:#93c5fd; --fd-b-res-bg:#123524; --fd-b-res:#86efac; --fd-b-pen-bg:#3b3010; --fd-b-pen:#fde68a; }
.dark .fd a { color:var(--fd-blue-dark); } .dark .fd .fd-primary, .dark .fd .fd-ghost, .dark .fd .dark .fd .fd-primary { color:var(--fd-btn-text) !important; } .dark .fd .fd-ghost, .dark .fd .fd-recent-item, .dark .fd .fd-tab { color:var(--fd-text) !important; } .dark .fd .fd-tab { color:var(--fd-muted) !important; } .dark .fd .fd-active { color:var(--fd-text) !important; }
.fd .fd-brand { font-size:1.4rem; font-weight:700; margin:0 0 .5rem; } .fd h2 { font-size:1.1rem; margin:0; } .fd h2.fd-small { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; margin-bottom:2px; }
.fd a { color:var(--fd-blue-dark); } .fd p { margin:0; }
.fd-muted { color:var(--fd-muted); } .fd-small { font-size:13px; } .fd-strong { font-weight:600; } .fd-center { text-align:center; }
.fd-error { color:var(--fd-err); background:var(--fd-err-bg); border:1px solid var(--fd-err-border); border-radius:var(--fd-radius); padding:8px 12px; margin:8px 0; }
.fd-card { background:var(--fd-white); border:1px solid var(--fd-border); border-radius:var(--fd-radius); box-shadow:var(--fd-shadow); padding:16px; }
.fd[data-state] { align-items:center; justify-content:center; overflow:auto; }
/* Sign-in card: DelvyG's .auth-card (white card, 12px radius, 420px, centred title and subtitle) */
.fd-guest { display:flex; align-items:center; justify-content:center; padding:24px 16px; }
.fd-auth-card { background:var(--fd-white); border:1px solid var(--fd-border); border-radius:12px; box-shadow:0 4px 6px rgba(0,0,0,.07),0 2px 4px rgba(0,0,0,.06); padding:40px; width:100%; max-width:420px; text-align:center; }
.fd-auth-card .fd-brand { font-size:22px; font-weight:700; margin:0 0 6px; } .fd-auth-card .fd-guest-title { font-size:15px; font-weight:600; margin:18px 0 6px; }
.fd-auth-card .fd-btn { width:100%; margin-top:20px; }
.fd-auth-card .fd-guest-title.fd-reason { font-size:20px; margin-top:8px; }
.fd-auth-card[data-reason="signedOut"]::before { content:"✓"; display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin:0 auto 12px; border-radius:50%; background:var(--fd-b-res-bg); color:var(--fd-b-res); font-size:22px; font-weight:700; }
.fd-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:8px 16px; border-radius:var(--fd-radius); border:1px solid transparent;
  font:inherit; font-weight:500; cursor:pointer; text-decoration:none; }
.fd-btn:hover { text-decoration:none; } .fd-btn[disabled] { opacity:.5; cursor:default; }
.fd-primary { background:var(--fd-btn); color:var(--fd-btn-text) !important; } .fd-primary:hover { background:var(--fd-btn-hover); }
.fd-ghost { background:var(--fd-white); border-color:var(--fd-border); color:var(--fd-text) !important; }
.fd-block { width:100%; }
.fd-account-row { display:flex; gap:12px; align-items:center; } .fd-account-text { min-width:0; } .fd-account-text p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fd-avatar { width:44px; height:44px; border-radius:50%; flex:none; object-fit:cover; }
.fd-initials { display:inline-flex; align-items:center; justify-content:center; background:var(--fd-btn); color:var(--fd-btn-text); font-weight:600; }
.fd-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--fd-green); }
.fd-chip { border:1px solid color-mix(in srgb, var(--fd-chip-text) 40%, transparent); background:transparent; color:var(--fd-chip-text); border-radius:6px; padding:1px 8px; font-size:12px; font-weight:500; white-space:nowrap; }
.fd-unread { background:var(--fd-btn); color:var(--fd-btn-text); border-radius:var(--fd-radius); padding:8px 12px; font-weight:500; }
.fd-unread-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--fd-blue); margin-right:6px; flex:none; }
.fd-main { min-width:0; } .fd-page-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.fd-tabs { display:flex; gap:4px; border-bottom:1px solid var(--fd-border); margin-bottom:12px; }
.fd-tab { padding:8px 14px; color:var(--fd-muted) !important; text-decoration:none; border-bottom:2px solid transparent; } .fd-active { color:var(--fd-text) !important; border-bottom-color:var(--fd-blue); font-weight:600; }
.fd-badge { display:inline-block; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:600; white-space:nowrap; }
.fd-open { background:var(--fd-b-open-bg); color:var(--fd-b-open); } .fd-resolved { background:var(--fd-b-res-bg); color:var(--fd-b-res); } .fd-pending { background:var(--fd-b-pen-bg); color:var(--fd-b-pen); }
.fd-empty { background:var(--fd-white); border:1px dashed var(--fd-border); border-radius:var(--fd-radius); padding:40px 16px; text-align:center; }
.fd-pager { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:12px; }
.fd-form { display:flex; flex-direction:column; gap:8px; max-width:42rem; } .fd-form label { font-weight:600; margin-top:6px; }
.fd-form input,.fd-form textarea,.fd-composer textarea { width:100%; font:inherit; color:inherit; border:1px solid var(--fd-border); border-radius:var(--fd-radius); padding:10px 12px; background:var(--fd-white); }
.fd-form input:focus,.fd-form textarea:focus,.fd-composer textarea:focus,.fd-thread:focus-visible { outline:2px solid var(--fd-blue); outline-offset:1px; }
.fd-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:6px; }
/* Topic: header, own scrolling thread, composer. The thread scrolls, so Sign out and the composer never move away. */
.fd-topic { display:flex; flex-direction:column; height:100%; min-height:0; } /* a host page sets --fd-chrome to the height of its own header */
.fd-topic-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .fd-topic-head h2 { flex:1; min-width:8rem; overflow-wrap:anywhere; }
.fd-thread-wrap { position:relative; flex:1; min-height:0; background:var(--fd-surface); }
.fd-thread { height:100%; overflow-y:auto; padding:12px 16px; } .fd-messages { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.fd-older { display:flex; justify-content:center; margin-bottom:8px; } .fd-older:empty { display:none; }
.fd-day { text-align:center; font-size:12px; color:var(--fd-muted); }
.fd-theirs .fd-mine .fd-jump { position:absolute; left:50%; bottom:12px; transform:translateX(-50%); border:0; border-radius:999px; background:var(--fd-btn); color:var(--fd-btn-text); padding:8px 16px; font-weight:500; cursor:pointer; box-shadow:var(--fd-shadow); }
.fd-composer { display:flex; flex-direction:column; gap:6px; }
/* Composer: Chatwoot widget ChatInputWrap.vue (rounded 7 px box, ring in strong grey, brand ring on focus) and ChatSendButton.vue (32 px icon button inside) */
.fd-compose-box { display:flex; align-items:center; padding:0 8px 0 12px; border-radius:7px; background:var(--fd-white); box-shadow:0 0 0 1px var(--fd-strong),0 0 2px 3px var(--fd-strong); transition:box-shadow .2s; }
.fd-compose-box:focus-within { box-shadow:0 0 0 1px var(--fd-blue),0 0 2px 3px var(--fd-blue); }
.fd .fd-composer .fd-compose-box textarea { flex:1; width:auto; border:0; outline:0; resize:none; height:32px; min-height:32px; max-height:240px; padding:4px 0; margin:8px 0; border-radius:0; background:transparent; color:var(--fd-text); transition:height .2s; }
.fd .fd-composer .fd-compose-box textarea:focus { outline:0; }
.fd-send { flex:none; margin-left:4px; width:32px; height:32px; min-height:32px; padding:0; display:inline-flex; align-items:center; justify-content:center; background:transparent; border:0; border-radius:6px; color:var(--fd-blue-dark); cursor:pointer; } .fd-send:hover { background:var(--fd-hover); } .fd-send:disabled { opacity:.5; cursor:default; } .fd-send:focus-visible { outline:2px solid var(--fd-blue); outline-offset:1px; }
/* visually hidden text for screen readers */
.fd-sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.fd-subject { min-width:0; overflow-wrap:anywhere; } .fd-aside > div:empty { display:none; }
.fd-btn, .fd-tab { min-height:36px; }
@media (max-width:640px) { .fd-btn { min-height:44px; } .fd-row { min-height:56px; } }
@media (prefers-reduced-motion: reduce) { .fd *, .fd *::before, .fd *::after { transition:none !important; animation:none !important; scroll-behavior:auto !important; } }

/* List rows: Chatwoot classic ConversationCard (px-3, border-b slate-3, avatar 32 px rounded-lg, name text-sm, preview text-sm leading-6, time text-xxs, unread badge teal-9) */
.fd-rows { display:flex; flex-direction:column; }
.fd-rows.fd-card { padding:0; overflow:hidden; }
.fd-row { position:relative; display:flex; align-items:flex-start; padding:0 12px; border-bottom:1px solid var(--fd-line); color:var(--fd-text) !important; text-decoration:none; min-width:0; }
.fd-row:hover { background:var(--fd-alpha-1); } .fd-row.fd-current { background:var(--fd-bg); }
.fd-avatar-box { flex:none; margin-top:16px; }
.fd-row-avatar { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:8px; font-weight:500; font-size:12.8px; line-height:1; user-select:none; }
.fd-av-0 { background:#fbdcef; color:#c2298a; } .fd-av-1 { background:#ffe0bb; color:#99543a; } .fd-av-2 { background:#e8e8e8; color:#60646c; } .fd-av-3 { background:#ccf3ea; color:#008573; } .fd-av-4 { background:#ebebfe; color:#4747c2; } .fd-av-5 { background:#e1e9ff; color:#3a5bc7; }
.dark .fd .fd-av-0 { background:#4b143d; color:#ff8dcc; } .dark .fd .fd-av-1 { background:#3f220d; color:#ffa366; } .dark .fd .fd-av-2 { background:#2a2a2a; color:#adb1b8; } .dark .fd .fd-av-3 { background:#023b37; color:#0bd8b6; } .dark .fd .fd-av-4 { background:#27264d; color:#a19eff; } .dark .fd .fd-av-5 { background:#1d2e62; color:#9eb1ff; }
.fd-row-main { position:relative; display:flex; flex-direction:column; flex:1; min-width:0; padding:12px 0; }
.fd-row-meta { display:flex; align-items:center; margin:0 0 0 8px; font-size:12px; line-height:12px; font-weight:500; padding:2px 0; }
.fd-row-subject { display:block; margin:0 0 0 8px; padding:2px 64px 0 0; font-size:14px; font-weight:500; line-height:21px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--fd-text); } .fd-unread-row .fd-row-subject { font-weight:600; }
.fd-row-preview { display:block; margin:0 0 0 8px; padding-right:0; font-size:14px; line-height:24px; height:24px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--fd-muted); } .fd-unread-row .fd-row-preview { font-weight:500; color:var(--fd-text); padding-right:16px; }
.fd-row-side { position:absolute; right:0; top:16px; display:flex; flex-direction:column; align-items:flex-end; } .fd-row-side.fd-has-meta { top:32px; }
.fd-row-time { font-size:10px; line-height:16px; font-weight:400; color:var(--fd-muted); }
.fd-unread-pill { display:inline-block; margin-top:4px; width:16px; height:16px; border-radius:999px; background:var(--fd-unread-bg); }
.fd-done .fd-row-subject { color:var(--fd-muted); }
.fd-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; background:var(--fd-white); border:1px dashed var(--fd-border); border-radius:var(--fd-radius); padding:40px 16px; text-align:center; }

/* Messages: Chatwoot widget (_conversation.scss, UserMessageBubble, AgentMessageBubble); time inside the bubble: dashboard Base.vue and MessageMeta.vue */
.fd-msg { display:flex; align-items:flex-end; gap:8px; margin-top:16px; max-width:88%; } .fd-msg.fd-follow { margin-top:2px; } .fd-day + .fd-msg { margin-top:8px; }
.fd-mine { align-self:flex-end; max-width:85%; justify-content:flex-end; } .fd-theirs { align-self:flex-start; }
.fd-msg-col { display:flex; flex-direction:column; min-width:0; } .fd-mine .fd-msg-col { align-items:flex-end; }
.fd-sender { font-size:12px; font-weight:500; margin:8px 0 8px 2px; color:var(--fd-text); }
.fd-msg-avatar { flex:none; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:6px; font-size:9.6px; font-weight:500; line-height:1; }
.fd-bubble { margin:0; padding:12px 16px; border-radius:20px; font-size:14px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; max-width:100%; box-shadow:0 4px 6px rgba(50,50,93,.08),0 1px 3px rgba(0,0,0,.05); }
.fd-theirs .fd-bubble { background:var(--fd-agent-bg); color:var(--fd-text); border:1px solid var(--fd-agent-border); } .fd-theirs.fd-follow .fd-bubble { border-top-left-radius:4px; }
.fd-mine .fd-bubble { background:var(--fd-btn); color:var(--fd-btn-text); } .fd-mine.fd-follow .fd-bubble { border-top-right-radius:4px; }
.fd-bubble-time { display:block; margin-top:8px; font-size:12px; line-height:16px; white-space:nowrap; } .fd-mine .fd-bubble-time { text-align:right; color:var(--fd-btn-text); } .fd-theirs .fd-bubble-time { color:var(--fd-muted); }

/* Tabs: Chatwoot dashboard TabsItem.vue (text-sm, medium, py-2.5, blue-11 active with a 2 px brand underline, slate-11 otherwise) */
.fd .fd-tabs { gap:0; border-bottom:1px solid var(--fd-line); padding:0; margin-bottom:0; }
.fd .fd-tab, .dark .fd .fd-tab { position:relative; margin:0 16px 0 0; padding:10px 0; min-height:0; font-size:14px; font-weight:500; color:var(--fd-tab) !important; border-bottom:0; text-decoration:none; }
.fd .fd-tab::after { content:""; position:absolute; left:0; right:0; bottom:1px; height:2px; border-radius:999px; background:transparent; transition:all .2s; }
.fd .fd-tab:hover { color:var(--fd-text) !important; }
.fd .fd-tab.fd-active, .dark .fd .fd-tab.fd-active { color:var(--fd-tab-active) !important; font-weight:500; border-bottom:0; } .fd .fd-tab.fd-active::after { background:var(--fd-blue); }

/* Site owner's accent (option "accent"): set as --fd-a-* on .fd by accent.js; absent, the Chatwoot colours above apply. */
.fd[style*="--fd-a-"] { --fd-btn:var(--fd-a-btn-l); --fd-btn-hover:var(--fd-a-hover-l); --fd-btn-text:var(--fd-a-on-l); --fd-blue:var(--fd-a-blue-l); --fd-blue-dark:var(--fd-a-text-l); --fd-tab-active:var(--fd-a-text-l); --fd-chip-text:var(--fd-a-text-l); }
.dark .fd[style*="--fd-a-"], .fd[data-theme="dark"][style*="--fd-a-"] { --fd-btn:var(--fd-a-btn-d); --fd-btn-hover:var(--fd-a-hover-d); --fd-btn-text:var(--fd-a-on-d); --fd-blue:var(--fd-a-blue-d); --fd-blue-dark:var(--fd-a-text-d); --fd-tab-active:var(--fd-a-text-d); --fd-chip-text:var(--fd-a-text-d); }

/* Topic header: Chatwoot widget ChatHeader.vue (title text-base, medium, slate-12; 24 px chevron-left back button) */
.fd-topic-head { gap:8px; flex-wrap:nowrap; } .fd .fd-topic-head h2 { font-size:16px; font-weight:500; line-height:1.25; color:var(--fd-text); min-width:0; }
.fd-back { flex:none; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin-left:-8px; border-radius:6px; color:var(--fd-text) !important; text-decoration:none; } .fd-back:hover { background:var(--fd-hover); }
.fd-topic-head .fd-badge { flex:none; } .fd-topic-head .fd-btn { flex:none; }

/* Application frame: Chatwoot dashboard (routes/dashboard/Dashboard.vue: sidebar + main; sidebar/Sidebar.vue: 200 px, profile block pinned at the bottom with a top border;
   components/ChatList.vue: list column 340 px, 412 px from 1536 px). The portal fills the window with its own background, like the dashboard, not like a block in a web page. */
.fd-shell { display:flex; width:100%; height:100%; min-height:0; }
.fd-sidebar { width:200px; flex:none; display:flex; flex-direction:column; min-height:0; background:var(--fd-bg); padding-top:8px; }
.fd-side-top { display:flex; flex-direction:column; gap:12px; padding:8px 12px 12px; }
.fd-side-top .fd-brand { font-size:16px; font-weight:600; margin:0; line-height:24px; }
.fd-badgebox { padding:0 12px; } .fd-badgebox:empty { display:none; }
.fd-badgebox .fd-unread { background:var(--fd-unread-bg); color:#fff; border-radius:8px; padding:6px 10px; font-size:12px; font-weight:500; }
.fd-nav { flex:1; min-height:0; overflow-y:auto; padding:8px; display:flex; flex-direction:column; gap:4px; }
.fd-nav-leaf { display:flex; align-items:center; height:32px; padding:4px 8px; border-radius:8px; font-size:14px; color:var(--fd-muted) !important; text-decoration:none; } .fd-nav-leaf:hover { background:var(--fd-hover); }
.fd-nav-active, .dark .fd .fd-nav-active { color:var(--fd-text) !important; background:var(--fd-alpha-1); }
.fd-account { flex:none; border-top:1px solid var(--fd-line); padding:6px 4px; display:flex; flex-direction:column; gap:6px; background:var(--fd-bg); }
.fd-account-row { display:flex; gap:8px; align-items:center; padding:4px; min-width:0; } .fd-account-text { min-width:0; flex:1; } .fd-account-text p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:16px; }
.fd-account .fd-strong { font-size:14px; font-weight:500; line-height:16px; } .fd-account .fd-muted { font-size:12px; }
.fd-account .fd-avatar { width:32px; height:32px; font-size:12.8px; }
.fd-signedline { display:flex; align-items:center; gap:4px; flex-wrap:wrap; margin-top:2px; }
.fd-account-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 4px 2px; } .fd-account-actions .fd-signout { flex:1; min-height:32px; padding:4px 12px; }
.fd-home { font-size:12px; white-space:nowrap; }
.fd-guest-home { display:inline-block; margin-top:16px; font-size:13px; color:var(--fd-muted); }
.fd-listcol { width:340px; flex:none; display:flex; flex-direction:column; min-height:0; background:var(--fd-surface); border-right:1px solid var(--fd-line); }
@media (min-width:1536px) { .fd-listcol { width:412px; } }
.fd-list-head { padding:12px 16px 4px; } .fd-list-title { margin:0; font-size:20px; font-weight:500; line-height:28px; }
.fd-listcol .fd-tabs { padding:0 16px; flex:none; }
.fd-listcol .fd-rows { flex:1; min-height:0; overflow-y:auto; } .fd-pad { padding:16px; } .fd-pad-m { margin:12px 16px; }
.fd-listcol .fd-pager { padding:8px 16px; flex:none; display:flex; justify-content:space-between; align-items:center; gap:8px; border-top:1px solid var(--fd-line); }
.fd-listcol .fd-empty { border:0; background:transparent; padding:32px 16px; }
.fd-main { flex:1; min-width:0; min-height:0; display:flex; flex-direction:column; background:var(--fd-surface); overflow:auto; }
.fd-main > .fd-topic { flex:1; }
.fd-main > .fd-page-head { padding:16px 24px 0; margin:0; } .fd-main > .fd-form { margin:16px 24px; max-width:640px; }
.fd-placeholder { flex:1; border:0; border-radius:0; background:transparent; }
.fd-topic-head { padding:0 16px; min-height:56px; border-bottom:1px solid var(--fd-line); background:var(--fd-surface); flex:none; }
.fd-topic .fd-error { margin:8px 16px 0; }
.fd-thread { padding:8px 16px 16px; }
.fd-composer { padding:12px 16px 16px; flex:none; }
.fd-topic-head .fd-back { display:none; }
@media (max-width:1023px) {
  /* Phone: one screen at a time, as the Chatwoot mobile layout. The list screen has the brand and New topic on top and the person's block at the bottom; a conversation is a full screen. */
  .fd-shell { flex-direction:column; }
  .fd-sidebar { display:contents; }
  .fd-side-top { order:0; flex-direction:row; align-items:center; justify-content:space-between; padding:10px 16px; background:var(--fd-bg); border-bottom:1px solid var(--fd-line); }
  .fd-badgebox { order:1; padding:6px 16px 0; background:var(--fd-surface); }
  .fd-nav { display:none; }
  .fd-listcol { order:2; width:auto; flex:1; border-right:0; }
  .fd-main { order:2; flex:1; }
  .fd-account { order:3; padding-bottom:calc(6px + env(safe-area-inset-bottom)); }
  .fd-account-row { padding:2px 8px; } .fd-account-text .fd-muted { display:none; } .fd-signedline .fd-muted { display:inline; }
  .fd-account-actions { padding:0 8px 2px; }
  .fd-shell[data-view="list"] .fd-main { display:none; }
  .fd-shell[data-view="topic"] .fd-side-top, .fd-shell[data-view="topic"] .fd-badgebox, .fd-shell[data-view="topic"] .fd-listcol, .fd-shell[data-view="topic"] .fd-account,
  .fd-shell[data-view="new"] .fd-side-top, .fd-shell[data-view="new"] .fd-badgebox, .fd-shell[data-view="new"] .fd-listcol, .fd-shell[data-view="new"] .fd-account { display:none; }
  .fd-topic-head .fd-back { display:inline-flex; }
  .fd-main > .fd-form { margin:12px 16px; }
}
@media (min-width:1024px) { .fd-page-head [data-testid="new-topic"] { display:none; } }

/* Logo slot: Chatwoot's sidebar head is the account logo and name in one row (Sidebar.vue). */
.fd-brandrow { display:flex; align-items:center; gap:8px; min-width:0; } .fd-brandrow .fd-brand { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fd-brandrow .fd-mark { width:24px; height:24px; flex:none; border-radius:6px; object-fit:contain; display:block; }
.fd-brand-link { display:inline-flex; border-radius:6px; line-height:0; } .fd-brand-link:focus-visible { outline:2px solid var(--fd-blue-dark); outline-offset:2px; }
.fd-brandrow-card { justify-content:center; margin-bottom:6px; } .fd-brandrow-card .fd-mark { width:32px; height:32px; }
.fd-brandrow-card .fd-brand { margin:0; }
