/* WerkDok C3.3.6 -- desktop native vertical scroll and safe car/garage waiting states.
   Mobile C332 drawer styles are untouched. */
@media (min-width:1221px){
  body.on-community-feed:not(.wd-mobile-nav-open){height:auto!important;min-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important}
  body.on-community-feed .community-feed-page{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
  body.on-community-feed .feed-layout{height:auto!important;min-height:calc(100dvh - 76px)!important;max-height:none!important;grid-template-rows:auto!important;align-items:start!important;overflow:visible!important}
  body.on-community-feed .feed-sidebar-left{position:sticky!important;top:84px!important;align-self:start!important;min-height:0!important;max-height:calc(100dvh - 100px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  body.on-community-feed .feed-sidebar-right{position:sticky!important;top:84px!important;align-self:start!important;height:auto!important;max-height:calc(100dvh - 100px)!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;align-content:start!important}
  body.on-community-feed .feed-center,
  body.on-community-feed .my-cars-panel,
  body.on-community-feed #wd-my-garage,
  body.on-community-feed #wd-settings-view,
  body.on-community-feed #wd-live-events{
    height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;overscroll-behavior:auto!important;
  }
}
/* Both views use the same quiet visual wait; do not display Add Car during Auth or garage reads. */
.my-cars-panel.is-loading .mycars-status-content,
#wd-garage-auto-loading{border:1px solid rgba(34,174,193,.25);border-radius:20px;background:linear-gradient(135deg,rgba(26,183,198,.07),rgba(17,56,77,.04));min-height:148px;padding:24px!important}
.my-cars-panel.is-loading .mycars-status-content:before,
#wd-garage-auto-loading .wd-garage-loader-graphic{content:"";width:25px;height:25px;display:block;margin:0 0 12px;border:3px solid rgba(42,178,192,.22);border-top-color:#18c9d4;border-radius:50%;animation:wd-c336-spin .85s linear infinite}
@keyframes wd-c336-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.my-cars-panel.is-loading .mycars-status-content:before,#wd-garage-auto-loading .wd-garage-loader-graphic{animation:none}}

/* Security actions are explicit user-initiated Firebase Auth or existing legal routes. */
.wd-c336-action-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;margin:8px 0;border:1px solid rgba(26,181,200,.42);border-radius:10px;background:rgba(25,174,194,.08);color:var(--text,#d6f8fb);font-family:inherit;font-size:12px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer}
.wd-c336-action-button:disabled{opacity:.6;cursor:wait}
.wd-c336-privacy-link{display:inline-block;margin:8px 0;color:#049bab;font-weight:700;text-decoration:underline;font-size:12px}
.wd-c336-account-feedback{border:1px solid rgba(30,172,183,.38);border-radius:10px;padding:12px;font-size:13px}

.wd-settings-security-row:has(.wd-c336-action-button){flex-wrap:wrap}
