/* Shared loading indicator for every surface (Desk and customer pages).
   Markup:
     <p class="gd-loading" role="status"><span class="gd-loading-label">Loading conversations…</span></p>
   `.gd-loading` alone is the pane spinner, centred in the space waiting for data.
   `.gd-loading.is-inline` is the compact one for a list row, card or status line.
   The label stays in the page for screen readers and is hidden visually. Under
   reduced motion the ring stops turning and the label shows beside it instead.
   The spinner fades in after a short delay, so fast responses never flash it.
   Colours come from the page's own tokens (--sign in the Desk, --accent on the
   customer pages), so a workspace accent carries through. */
.gd-loading{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;min-height:120px;margin:0;padding:40px 16px;color:var(--ink-3,var(--muted,#717887));font-size:13px;line-height:1.5;text-align:center}
.gd-loading::before{content:'';box-sizing:border-box;flex:none;width:28px;height:28px;border-radius:50%;color:var(--sign,var(--accent,#1f55d6));border:2.5px solid color-mix(in srgb,currentColor 18%,transparent);border-top-color:currentColor;animation:gd-loading-spin .8s linear infinite,gd-loading-in .2s ease .15s both}
.gd-loading.is-inline{display:inline-flex;flex-direction:row;justify-content:flex-start;gap:8px;width:auto;min-height:0;padding:4px 0;vertical-align:middle;text-align:left}
.gd-loading.is-inline::before{width:16px;height:16px;border-width:2px}
.gd-loading>.gd-loading-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes gd-loading-spin{to{transform:rotate(360deg)}}
@keyframes gd-loading-in{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.gd-loading::before{animation:none}.gd-loading>.gd-loading-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}}
