.thefa-legal-links{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 16px;font-size:11px;line-height:1.55;color:#99948c}.thefa-legal-links a{color:inherit;text-decoration:underline;text-underline-offset:2px}.thefa-legal-links a:hover{color:#d5aa61}@media(max-width:380px){.thefa-legal-links{font-size:10px;gap:5px;padding:9px 12px}}

/* The chat uses the full workspace; business details live on the contact page. */
#app:not(.r7-isolated-workspace) > .workspace{grid-template-rows:64px auto minmax(0,1fr)}
#app:not(.r7-isolated-workspace) > .workspace > #chat-main{grid-row:3}
#app.r7-isolated-workspace > .workspace > .core-business-footer{display:none}
.core-business-footer{min-width:0;box-sizing:border-box;width:100%;border-top:1px solid #302c27;background:#101112;color:#b8b5ae;text-align:center;padding:8px 12px max(8px,env(safe-area-inset-bottom));font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.core-business-info{margin:0;font-style:normal;display:grid;gap:2px}
.core-business-line{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:2px 12px;min-width:0}
.core-business-line>span,.core-business-line>strong{max-width:100%;min-width:0}
.core-business-line strong{font-weight:650;color:#e0dcd5}
.core-business-footer a{color:#c6c2b9;text-decoration:underline;text-underline-offset:2px}
.core-business-links{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 14px;margin-top:4px}
@media(max-width:780px){#app:not(.r7-isolated-workspace) > .workspace{grid-template-rows:56px auto minmax(0,1fr)}.core-business-footer{padding:6px 9px max(6px,env(safe-area-inset-bottom));font-size:11px;line-height:1.4}.core-business-line{gap:1px 8px}.core-business-links{margin-top:3px;gap:2px 10px}}

.pg-merchant-r1{font-style:normal;font-size:10px;line-height:1.45;display:grid;gap:3px;min-width:0;overflow-wrap:anywhere;color:inherit;padding:6px 12px}.pg-merchant-r1 a{color:inherit;text-decoration:underline}.pg-merchant-r1 strong{font-weight:650}.sidebar .pg-merchant-r1{color:#aaa8a5;padding:4px 16px 6px}.footer .pg-merchant-r1{padding:10px 0}

/* R15 workspace: legal notices remain on public and commerce surfaces.
   Only the compact help disclosure occupies the authenticated navigation. */
.workspace-help-r15{position:relative;flex:none;min-width:0;color:var(--muted);font-size:12px}
.workspace-help-r15 summary{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 8px;box-sizing:border-box;list-style:none;border-radius:8px;cursor:pointer;color:var(--muted)}
.workspace-help-r15 summary::-webkit-details-marker{display:none}
.workspace-help-r15 summary:hover,.workspace-help-r15[open] summary{background:var(--card);color:var(--text)}
.workspace-help-r15 summary:focus-visible,.workspace-help-r15 a:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.workspace-help-symbol-r15{color:var(--accent);font-size:15px}
.workspace-help-chevron-r15{margin-left:auto;color:var(--muted)}
.workspace-help-r15[open] .workspace-help-chevron-r15{transform:rotate(180deg)}
.workspace-help-r15 nav{display:grid;gap:1px;padding:0 6px 5px 24px}
.workspace-help-r15 nav a{display:block;padding:7px 4px;color:var(--text);text-decoration:none;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.workspace-help-r15 nav a:hover{text-decoration:underline;color:var(--accent)}
#public-company-r15{width:min(760px,100%);box-sizing:border-box;margin:26px auto 8px;padding:15px 12px 4px;border-top:1px solid var(--line);color:var(--muted);text-align:center}
#public-company-r15[hidden]{display:none!important}
#public-company-r15 .pg-merchant-r1{padding:4px 0;gap:4px;font-size:11px;line-height:1.5;color:inherit}
#public-company-r15 .pg-merchant-r1 strong{color:var(--text)}
#public-company-r15 .thefa-legal-links{justify-content:center;padding:8px 0 0;color:var(--muted)}
@media(max-width:780px){#public-company-r15{margin:18px auto 6px;padding:12px 4px 3px}.workspace-help-r15 summary{min-height:34px;padding:6px 8px}}

/* Short landscape viewports must not let sticky labels cover the conversation list. */
@media(max-height:520px){
  .sidebar .nav-section.recent>.section-label{position:static;top:auto;z-index:auto}
  .sidebar .navigation{scroll-padding-block:4px}
}

/* R16: public legal disclosure follows login/signup, never the chat canvas. */
#workspace-help-r15[hidden]{display:none!important}
.sidebar #public-company-r15{width:100%;max-width:100%;margin:2px 0 0;padding:5px 2px 3px;border-top:1px solid var(--line);text-align:left;min-width:0}
.sidebar #public-company-r15 .pg-merchant-r1{padding:2px 3px;gap:2px;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.sidebar #public-company-r15 .thefa-legal-links{justify-content:flex-start;padding:5px 3px 1px;gap:4px;font-size:10px;line-height:1.45}
.sidebar .sidebar-bottom:has(#public-company-r15:not([hidden])){max-height:min(38dvh,252px)!important}
@media(max-height:520px){.sidebar .sidebar-bottom:has(#public-company-r15:not([hidden])){max-height:min(44dvh,170px)!important}}

/* R17: shared guest authentication button + pricing, signed-in pricing stays accessible. */
.sidebar-bottom #account-actions>a{flex:1 1 0!important;min-width:0;white-space:nowrap}
.sidebar-bottom #account-login{font-size:12px!important;letter-spacing:-.035em}
.sidebar-bottom .account-plan-r17{display:flex;align-items:center;justify-content:center;min-height:36px;padding:8px 10px;border:1px solid #61523c;border-radius:9px;background:#1e2021;color:var(--ux3-ivory);font-size:12px;font-weight:650;text-decoration:none;box-sizing:border-box}
.sidebar-bottom .account-plan-r17:hover{background:#2b2925;border-color:#a58b60}
.sidebar-bottom .account-plan-r17[hidden]{display:none!important}
@media(max-width:350px){.sidebar-bottom #account-login{font-size:11px!important;padding-inline:4px!important}}

/* Equal guest button columns at every sidebar width; retain hidden account state. */
.sidebar-bottom #account-actions:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
