/* The phone shell is intentionally isolated: desktop and public pages retain
   their existing presentation. No permissions or signing state are changed. */
.mobile-app-brand, .mobile-footer-toggle, .mobile-document-search, .mobile-menu-close, .mobile-actions-toggle { display: none; }
.signflow-row-actions .document-row-menu-toggle, .document-row-action-label { display: none; }
.document-row-overflow { display: contents; }
.mobile-document-download, .mobile-document-date, .mobile-document-type { display: none !important; }
@media (max-width: 900px), (max-width: 1100px) and (max-height: 500px) and (pointer: coarse) {
  .client-body[data-shell="client"] .signflow-app { display: block; }
  .client-body[data-shell="client"] .signflow-main { width: 100%; }
  .client-body[data-shell="client"] .signflow-drawer-toggle { display: inline-flex !important; align-items: center; justify-content: center; order: -1; }
  .client-body[data-shell="client"] .signflow-topbar__spacer,
  .client-body[data-shell="client"] .signflow-topbar__actions .language-switcher,
  .client-body[data-shell="client"] .signflow-topbar__actions .signflow-logout-form { display: none; }
  .client-body[data-shell="client"] .signflow-app .signflow-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 86vw; max-width: 320px; z-index: 1300; transform: translateX(-100%); transition: transform .25s ease; background: #fff; }
  .client-body[data-shell="client"] .signflow-sidebar.is-open { transform: translateX(0); }
  .client-body[data-shell="client"] .signflow-drawer-backdrop { display: block !important; position: fixed; inset: 0; z-index: 1290; background: #21211b73; opacity: 0; visibility: hidden; }
  .client-body[data-shell="client"] .signflow-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
  .client-body[data-shell="client"].drawer-open { overflow: hidden; }
  .client-body[data-shell="client"] .signflow-app .signflow-sidebar { height: 100dvh; min-height: 0; max-height: 100dvh; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
  .client-body[data-shell="client"] .signflow-sidebar > * { flex-shrink: 0; }
  .client-body[data-shell="client"] .signflow-app .signflow-sidebar__content { flex: 0 0 auto; min-height: auto; padding-bottom: 0; }
  .client-body[data-shell="client"] .signflow-sidebar .signflow-tree { flex: none; overflow: visible; }
  .client-body[data-shell="client"] .signflow-app .signflow-sidebar__bottom { position: static; width: auto; margin-top: 12px; }
  .client-body[data-shell="client"] .signflow-sidebar .signflow-sidebar__footer { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 16px 0 0; }
  .client-body[data-shell="client"] .mobile-menu-close { display: flex; align-items: center; justify-content: center; align-self: flex-end; width: 44px; min-height: 44px; border: 1px solid #e4e9ed; border-radius: 12px; background: #f5f7f9; color: #354955; font-size: 25px; }
  .client-body[data-shell="client"] .support-chat { position: relative; inset: auto; margin: 0 16px max(16px, env(safe-area-inset-bottom)); z-index: 50; }
  .client-body[data-shell="client"] .support-chat__fab { width: 100%; height: 44px; border-radius: 12px; gap: 8px; box-shadow: none; }
  .client-body[data-shell="client"] .support-chat__label { display: inline; font: inherit; font-size: 14px; }
  .client-body[data-shell="client"] .support-chat__panel { position: fixed; inset: auto 12px max(12px, env(safe-area-inset-bottom)); width: auto; max-width: none; max-height: calc(100dvh - 24px); }
  body.client-body[data-shell="client"] { background: #f5f7f9; }
  .client-body[data-shell="client"]::before { display: none; }
  .client-body[data-shell="client"] .signflow-app,
  .client-body[data-shell="client"] .signflow-main { min-height: calc(100svh - 170px); }
  .client-body[data-shell="client"] .signflow-topbar {
    position: sticky; top: 0; z-index: 40; min-height: 64px;
    display: flex; flex-wrap: nowrap; align-items: center; gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); background: #ffffffed; backdrop-filter: blur(16px);
    border-bottom: 1px solid #e7ecef;
  }
  .client-body[data-shell="client"] .signflow-top-search { display: none; }
  .client-body[data-shell="client"] .mobile-app-brand {
    display: block; color: #176c55; font-size: 19px; font-weight: 800;
    letter-spacing: -.7px; flex: 1; white-space: nowrap;
  }
  .client-body[data-shell="client"] .signflow-topbar__actions {
    flex: 0 0 auto; flex-wrap: nowrap; gap: 8px; margin-left: auto;
  }
  .client-body[data-shell="client"] .signflow-drawer-toggle,
  .client-body[data-shell="client"] .notification-bell,
  .client-body[data-shell="client"] .signflow-avatar {
    width: 44px; height: 44px; min-width: 44px; flex-shrink: 0;
  }
  .client-body[data-shell="client"] .signflow-profile-title { display: none; }
  .client-body[data-shell="client"] .signflow-topbar > .signflow-soft-button { display: none; }
  .client-body[data-shell="client"] .signflow-row.is-search-hidden { display: none; }
  .client-body[data-shell="client"] .signflow-dashboard-scroll { padding: 24px 16px 32px; }
  .client-body[data-shell="client"] .signflow-heading-row { margin-bottom: 20px; gap: 12px; }
  .client-body[data-shell="client"] .signflow-heading-row h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.7px; overflow-wrap: anywhere; }
  .client-body[data-shell="client"] .signflow-heading-row p { font-size: 13px; margin-top: 8px; line-height: 1.5; }
  .client-body[data-shell="client"] .mobile-document-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e4e9ed; border-radius: 14px; padding: 0 14px; margin-bottom: 18px; }
  .client-body[data-shell="client"] .mobile-document-search svg { flex: 0 0 20px; width: 20px; height: 20px; color: #778690; }
  .client-body[data-shell="client"] .mobile-document-search input[type="search"] { min-width: 0; width: 100%; min-height: 46px; border: 0 !important; box-shadow: none !important; background: transparent !important; font: inherit; font-size: 16px; padding: 10px 0; }
  .client-body[data-shell="client"] .mobile-document-search:focus-within { border-color: #23785e; outline: 2px solid #23785e25; outline-offset: 2px; }
  .client-body[data-shell="client"] .mobile-document-search .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  /* One complete list, not a three-item card preview followed by duplicates. */
  .client-body[data-shell="client"] [data-signflow-dashboard] .signflow-folder-cards,
  .client-body[data-shell="client"] [data-signflow-dashboard] .signflow-dashboard-scroll > .signflow-section-label { display: none; }
  .client-body[data-shell="client"] .signflow-app--workspace-picker .signflow-stats-grid,
  .client-body[data-shell="client"] .signflow-app--workspace-picker .signflow-heading-row p,
  .client-body[data-shell="client"] .signflow-empty-table--has-folders { display: none; }
  .client-body[data-shell="client"] .signflow-stats-grid {
    display: none; gap: 8px; overflow-x: auto; padding: 0 0 10px;
    margin-bottom: 16px; scroll-snap-type: x proximity;
  }
  .client-body[data-shell="client"] .signflow-stat-card {
    display: block; flex: 0 0 112px; min-height: 90px; padding: 12px; border-radius: 14px;
    scroll-snap-align: start; box-shadow: none;
  }
  .client-body[data-shell="client"] .signflow-stat-card > div { gap: 5px; font-size: 12px; white-space: nowrap; }
  .client-body[data-shell="client"] .signflow-stat-card strong { font-size: 26px; margin: 8px 0 0; }
  .client-body[data-shell="client"] .signflow-stat-card small { display: none; }
  .client-body[data-shell="client"] .signflow-document-toolbar {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; align-items: center;
  }
  .client-body[data-shell="client"] .signflow-tabs {
    display: flex; flex-wrap: nowrap; width: 100%; overflow-x: auto;
    gap: 8px; margin: 0; padding: 0 0 4px; order: 2;
  }
  .client-body[data-shell="client"] .signflow-tabs > * {
    flex-shrink: 0; min-height: 44px; padding: 10px 13px; font-size: 13px; border-radius: 22px;
  }
  .client-body[data-shell="client"] .signflow-heading-actions { flex: 1; width: auto; margin-left: auto; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
  .client-body[data-shell="client"] .signflow-document-toolbar > .signflow-soft-button { font-size: 13px; min-height: 44px; padding: 10px 12px; }
  .client-body[data-shell="client"] .signflow-heading-actions :is(button,a) { min-height: 44px; font-size: 13px; padding: 10px 12px; border-radius: 12px; }
  /* Counts remain in the filter chips; only the primary action is prominent. */
  .client-body[data-shell="client"] .mobile-actions-ready .signflow-heading-actions { width: 100%; flex-basis: 100%; justify-content: flex-start; margin: 0; }
  .client-body[data-shell="client"] .mobile-actions-ready .signflow-new-button { order: 0; flex: 1 1 auto; margin: 0; }
  .client-body[data-shell="client"] .mobile-actions-ready .mobile-actions-toggle { display: inline-flex; order: 0; margin-left: auto; }
  .client-body[data-shell="client"] .mobile-actions-ready:not(.mobile-actions-expanded) > .signflow-soft-button,
  .client-body[data-shell="client"] .mobile-actions-ready:not(.mobile-actions-expanded) .signflow-heading-actions > :not(.signflow-new-button):not(.mobile-actions-toggle) { display: none; }
  .client-body[data-shell="client"] .mobile-actions-expanded .signflow-heading-actions > :not(.signflow-new-button):not(.mobile-actions-toggle) { order: 1; }
  .client-body[data-shell="client"] .mobile-actions-ready > .signflow-soft-button { order: 1; }
  .client-body[data-shell="client"] .signflow-drawer__foot { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .client-body[data-shell="client"] .signflow-drawer__foot > a { grid-column: 1; overflow-wrap: normal; word-break: normal; }
  .client-body[data-shell="client"] .signflow-drawer__foot .signflow-inline-form { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .client-body[data-shell="client"] .signflow-drawer__foot > .signflow-submit { grid-column: 1 / -1; }
  .client-body[data-shell="client"] .signflow-table { display: grid; gap: 12px; background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .client-body[data-shell="client"] .signflow-table__head { display: none; }
  .client-body[data-shell="client"] .signflow-row {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px;
    padding: 16px; background: white; border: 1px solid #e4e9ed;
    border-radius: 18px; box-shadow: 0 3px 12px #162f4504;
  }
  .client-body[data-shell="client"] .signflow-doc-cell { grid-column: 1 / -1; gap: 12px; min-width: 0; align-items: center; }
  .client-body[data-shell="client"] .signflow-doc-cell strong { font-size: 15px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  .client-body[data-shell="client"] .signflow-doc-cell small { font-size: 12px; line-height: 1.5; }
  .client-body[data-shell="client"] .doc-icon { width: 42px; height: 52px; flex: 0 0 42px; border-radius: 10px; font-size: 10px; }
  .client-body[data-shell="client"] .signflow-row > :is(.badge,.status-pill) { grid-column: 1; grid-row: 2; justify-self: start; max-width: 100%; font-size: 11px; }
  .client-body[data-shell="client"] .signflow-signers { display: block; grid-column: 2; grid-row: 2; max-width: 130px; }
  .client-body[data-shell="client"] .signflow-signers .avatar-stack { display: none; }
  .client-body[data-shell="client"] .signflow-signers small { font-size: 12px; }
  .client-body[data-shell="client"] .signflow-row > .signflow-muted { display: none; }
  .client-body[data-shell="client"] .signflow-row-actions {
    grid-column: 1 / -1; grid-row: 3; display: flex; gap: 6px;
    justify-content: flex-end; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #edf0f2;
  }
  .client-body[data-shell="client"] .signflow-row-actions > a.icon-button:not(.signflow-action-icon) { width: auto; min-width: 76px; padding: 0 14px; }
  .client-body[data-shell="client"] .signflow-row-actions .sign-button { flex: 1; width: auto; min-width: 92px; max-width: none; }
  .client-body[data-shell="client"] .document-row-compact-ready {
    grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; padding: 10px 12px; border-radius: 12px;
  }
  .client-body[data-shell="client"] .signflow-table { gap: 8px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-cell { gap: 9px; }
  .client-body[data-shell="client"] .document-row-compact-ready .doc-icon { width: 30px; height: 38px; flex-basis: 30px; border-radius: 4px 9px 4px 4px; font-size: 9px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-cell strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.3; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-meta { font-size: 11px; line-height: 1.3; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-meta__path { display: none; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-meta .badge { font-size: 10px; padding: 1px 6px; }
  .client-body[data-shell="client"] .document-row-compact-ready > .status-pill { grid-column: 1; max-width: 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; padding: 4px 6px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-signers { grid-column: 2; max-width: 66px; align-self: center; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-signers small { display: block; max-width: 66px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; }
  .client-body[data-shell="client"] .document-row-compact-ready .progress { display: none; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-row-actions { grid-column: 3; grid-row: 2; border: 0; padding: 0; gap: 4px; flex-wrap: nowrap; align-self: center; }
  .client-body[data-shell="client"] .document-row-compact-ready .sign-button { min-width: 78px; font-size: 12px; padding: 8px; }
  .client-body[data-shell="client"] .document-row-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 24px; }
  /* File identity first; status below; actions on a separate, quiet footer. */
  .client-body[data-shell="client"] .document-row-compact-ready { position: relative; grid-template-columns: minmax(0,1fr) auto; gap: 6px 8px; padding: 14px 12px 6px; border-radius: 14px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-cell { padding-right: 38px; }
  .client-body[data-shell="client"] .document-row-compact-ready .doc-icon { background: transparent; border: 1px solid currentColor; height: 32px; width: 25px; flex-basis: 25px; border-radius: 4px 8px 4px 4px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; padding-top: 3px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-meta__path { display: none; }
  .client-body[data-shell="client"] .mobile-document-type { display: inline !important; }
  .client-body[data-shell="client"] .mobile-document-type::after { content: ' ·'; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-doc-meta .badge { background: transparent; padding: 0; color: inherit; font-weight: 400; max-width: 100%; white-space: normal; }
  .client-body[data-shell="client"] .mobile-document-date { display: inline !important; font-size: 10px; color: #71808c; }
  .client-body[data-shell="client"] .mobile-document-date::before { content: '· '; }
  .client-body[data-shell="client"] .document-row-compact-ready > .status-pill { margin-left: 34px; font-size: 11px; padding: 3px 0; background: transparent; white-space: normal; overflow: visible; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-signers { max-width: none; justify-self: end; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-signers small { font-size: 11px; max-width: none; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-row-actions { grid-column: 1 / -1; grid-row: 3; border-top: 1px solid #edf0f2; padding-top: 5px; margin-top: 5px; min-width: 0; }
  .client-body[data-shell="client"] .document-row-compact-ready .sign-button { order: -1 !important; flex: 1; justify-content: flex-start; background: transparent; box-shadow: none; border: 0; color: #18835f; min-height: 44px; font-size: 14px; padding: 8px 2px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-row-actions > .js-open-share { order: 1 !important; margin-left: auto; width: 44px; min-width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
  .client-body[data-shell="client"] .document-row-compact-ready .mobile-document-download { display: inline-flex !important; order: 2 !important; min-width: 44px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
  .client-body[data-shell="client"] .document-row-compact-ready .document-row-menu-toggle { position: absolute; top: 14px; right: 6px; border: 0; background: transparent; transform: rotate(90deg); }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-row-actions > :is(.sign-button,.mobile-document-download,.js-open-share) svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .client-body[data-shell="client"] .document-row-compact-ready .signflow-row-actions > :is(.sign-button,.mobile-document-download,.js-open-share) svg * { stroke: currentColor !important; stroke-width: 1.8; fill: none; }
  .client-body[data-shell="client"] .document-row-compact-ready .mobile-document-download { color: #506472; }
  .client-body[data-shell="client"] .document-row-overflow { display: none; }
  .client-body[data-shell="client"] .document-row-overflow.is-open { display: flex; flex-direction: column; position: fixed; z-index: 1200; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #dfe6eb; border-radius: 14px; background: white; box-shadow: 0 12px 40px #19314829; }
  .client-body[data-shell="client"] .document-row-overflow .signflow-inline-form { width: 100%; margin: 0; }
  .client-body[data-shell="client"] .document-row-overflow :is(button,a) { width: 100%; min-width: 0; max-width: none; min-height: 44px; height: auto; flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; text-align: left; white-space: normal; }
  .client-body[data-shell="client"] .document-row-overflow svg { flex: 0 0 18px; width: 18px; height: 18px; }
  .client-body[data-shell="client"] .document-row-overflow :is(button,a):hover { background: #f2f6f4; }
  .client-body[data-shell="client"] .document-row-overflow .document-row-action-label { display: inline; }
  /* The team directory is not a document list: keep its teams visible. */
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-settings-intro { display: grid; gap: 14px; margin-bottom: 18px; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) h1 { margin: 0; font-size: 26px; line-height: 1.2; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-settings-intro p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #71808c; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-heading-actions { display: flex; width: 100%; margin: 0; justify-content: space-between; align-items: center; }
  .client-body[data-shell="client"] .signflow-team-head { display: none; }
  .client-body[data-shell="client"] .signflow-team-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 14px; border: 1px solid #e4e9ed; border-radius: 14px; background: white; min-width: 0; }
  .client-body[data-shell="client"] .signflow-team-row .signflow-doc-cell > span:last-child { min-width: 0; }
  .client-body[data-shell="client"] .signflow-team-row .doc-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 50%; background: #edf5f1; color: #23785e; }
  .client-body[data-shell="client"] .signflow-team-row .signflow-doc-cell small { display: block; overflow-wrap: anywhere; }
  .client-body[data-shell="client"] .signflow-team-row > span:nth-child(2) { grid-column: 1; grid-row: 2; justify-self: start; font-size: 12px; }
  .client-body[data-shell="client"] .signflow-team-row > span:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 12px; align-self: center; color: #23785e; }
  .client-body[data-shell="client"] .signflow-team-row > span:nth-child(4) { grid-column: 1 / -1; font-size: 12px; color: #71808c; }
  .client-body[data-shell="client"] .signflow-team-row .signflow-row-actions { grid-row: auto; padding-top: 8px; }
  .client-body[data-shell="client"] .signflow-team-row .signflow-row-actions:not(:has(a,button)) { display: none; }
  .client-body[data-shell="client"] .signflow-team-row .signflow-row-actions :is(a,button) { min-width: 88px; min-height: 44px; width: auto; padding: 8px 12px; }
  .client-body[data-shell="client"] .signflow-team-section-head { display: flex; flex-wrap: wrap; margin: 26px 0 14px; align-items: start; }
  .client-body[data-shell="client"] .signflow-team-section-head > div { flex: 1; min-width: 160px; }
  .client-body[data-shell="client"] .signflow-team-section-head h2 { margin: 0; font-size: 21px; }
  .client-body[data-shell="client"] .signflow-team-section-head p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #71808c; }
  .client-body[data-shell="client"] .signflow-team-section-head .signflow-soft-button { min-height: 44px; padding: 10px 12px; font-size: 13px; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-folder-cards { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-folder-card { min-width: 0; padding: 14px; border-radius: 14px; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-folder-card strong { overflow-wrap: anywhere; }
  .client-body[data-shell="client"] .signflow-profile-app:has(.signflow-team-table) .signflow-empty-state { padding: 20px 14px; border: 1px solid #e4e9ed; border-radius: 14px; background: white; font-size: 13px; }
  .client-body[data-shell="client"] .signflow-empty-table { padding: 32px 20px; background: white; border-radius: 18px; }
  .client-body[data-shell="client"] .signflow-empty-table strong { font-size: 17px; }
  .client-body[data-shell="client"] .signflow-empty-table span { font-size: 14px; }
  .client-body[data-shell="client"] .picker-modal { padding: 8px; align-items: end; }
  .client-body[data-shell="client"] .picker-dialog { width: 100%; max-height: calc(100dvh - 20px); border-radius: 22px 22px 14px 14px; }
  .client-body[data-shell="client"] .signflow-drawer__panel { border-radius: 20px 0 0 20px; }
  .client-body[data-shell="client"] .site-footer {
    background: #19161f; color: #c6c1d2; border-top: 1px solid #38323f;
    margin-top: 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .client-body[data-shell="client"] .site-footer.mobile-footer-ready .mobile-footer-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    min-height: 44px; padding: 8px 0; border: 0; background: transparent;
    color: #e3dfeb; font: inherit; font-size: 13px; text-align: left;
  }
  .client-body[data-shell="client"] .site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .client-body[data-shell="client"] .site-footer.mobile-footer-ready .site-footer__grid { display: none; }
  .client-body[data-shell="client"] .site-footer.is-expanded .site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 16px 0; margin: 0; }
  .client-body[data-shell="client"] .site-footer__brand { display: none; }
  .client-body[data-shell="client"] .site-footer__col a { color: #e3dfeb; min-height: 36px; display: flex; align-items: center; font-size: 13px; }
  .client-body[data-shell="client"] .site-footer__title { color: #aaa4b6; }
  .client-body[data-shell="client"] .site-footer__bar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; font-size: 11px; border-color: #e4e9ed; }
  .client-body[data-shell="client"] .site-footer__bar > span { width: auto; color: #c6c1d2; font-size: 11px; }
  .client-body[data-shell="client"] .site-footer.mobile-footer-ready .site-footer__bar > a:not(.footer-company-credit) { display: none; }
  .client-body[data-shell="client"] .site-footer.mobile-footer-ready.is-expanded .site-footer__bar > a { display: inline-flex; min-height: 36px; align-items: center; color: #e3dfeb; }
  .client-body[data-shell="client"] .footer-company-credit { gap: 6px; flex-basis: auto; flex-wrap: nowrap; color: #c6c1d2; font-size: 10px; }
  .client-body[data-shell="client"] .footer-company-credit span { color: #c6c1d2 !important; font-size: 10px; }
  .client-body[data-shell="client"] .footer-company-credit img { width: 90px; height: auto; }
  @media (prefers-reduced-motion: reduce) { .client-body[data-shell="client"] * { scroll-behavior: auto; } }
}
