/* FLAT Law Firm — Left floating contact bar, DESKTOP ONLY (>=1025px).
   Hidden by default: at <=1024px the existing mobile system owns contact
   (bottom bar + hidden FAB), and this bar must never appear beside it.
   Column geometry (all within the brief's ranges):
   - buttons 54px (brief 52-56px), gap 14px (brief 12-16px), left 22px
     (brief 20-24px).
   - Back to Top is NOT part of this column: per Vincent 01/11/2026 it
     stays on the RIGHT (positioned in wechat.css, mirroring this
     column: right 22px, bottom 24px, 54px). This four-button column
     therefore sits at bottom 24px, level with it — no empty gap
     underneath once Back to Top left the column.
   - full column height 326px, so it fits viewports >= ~360px tall; a
     short-viewport guard below tightens the bottom offsets further.
   z-index 998: above page content and the sticky header, below the
   WeChat popup overlay (1000) so the popup and its close button always
   stay on top. No JS, no new font or library. */
.flat-leftbar { display: none; }

@media (min-width: 1025px) {
  .flat-leftbar {
    position: fixed;
    left: 22px;
    bottom: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
  }
  .flat-leftbar-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--flat-burgundy, #940c27);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  }
  .flat-leftbar-btn svg {
    flex: 0 0 auto;
  }
  .flat-leftbar-btn:hover {
    background: var(--flat-burgundy-dark, #6c081b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  }
  .flat-leftbar-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }
  /* Zalo deliberately uses the SAME burgundy/white treatment as every
     other button (Vincent 01/11/2026: uniformity over the earlier
     blue-on-white-disc variant). The wordmark shape is unchanged;
     only its colour is the white variant, like the WeChat mark. No
     special rule needed here — the base button styles apply. */
}

/* Short viewports: keep the column (4 x 54px + 3 x 14px = 258px) inside
   the viewport, level with Back to Top's own short-viewport offset. */
@media (min-width: 1025px) and (max-height: 430px) {
  .flat-leftbar { bottom: 16px; }
}
