/* AmSpec Platform v420 — interaction-safe responsive layer.
   No full-screen overlays, no global pointer-event suppression and no geometry hacks. */
.platform-view-switch-v417{position:fixed;right:12px;bottom:12px;z-index:140;display:grid;grid-template-columns:repeat(3,36px);gap:3px;padding:4px;border:1px solid #d8e1ea;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 10px 28px rgba(15,30,50,.14)}
.platform-view-switch-v417 button{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#65768a;cursor:pointer}.platform-view-switch-v417 button.active{background:#101f34;color:#fff}.platform-view-switch-v417 svg{width:17px;height:17px}.view-label-v417{display:none}
body:not(.sidebar-open-v295) .mobile-nav-scrim-v295{pointer-events:none!important;opacity:0!important;visibility:hidden!important}
dialog:not([open]){pointer-events:none!important;visibility:hidden!important}

/* The platform shell becomes a real drawer at compact desktop/tablet widths.
   This prevents page cards from being squeezed into unstable tracks. */
@media(max-width:1180px){
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .app-shell{display:block!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .content{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar.platform-sidebar-v295.sidebar.sidebar-dense{position:fixed!important;inset:0 auto 0 0!important;z-index:300!important;display:flex!important;width:min(286px,88vw)!important;min-width:0!important;max-width:min(286px,88vw)!important;height:100dvh!important;transform:translateX(-105%)!important;visibility:hidden!important;transition:transform .18s ease,visibility 0s linear .18s!important;box-shadow:22px 0 52px rgba(18,32,51,.20)!important}
  body.sidebar-open-v295:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar.platform-sidebar-v295.sidebar.sidebar-dense{transform:translateX(0)!important;visibility:visible!important;transition-delay:0s!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-topbar-row-v291{grid-template-columns:38px 116px minmax(220px,1fr) 136px 72px!important;gap:8px!important;padding:7px 10px!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .topbar-menu-v295{display:grid!important;place-items:center!important;width:38px!important;height:38px!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-topbar-brand-v291 span,
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-tools-v291{display:none!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-topbar-brand-v291 img{width:104px!important;height:38px!important;object-fit:contain!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-live-v291{width:136px!important;min-width:0!important}
}

@media(max-width:1220px){
  .endpoint-main-stuffing_dashboard .v379-command-layout{grid-template-columns:minmax(0,1fr)!important}
  .endpoint-main-stuffing_dashboard .v379-command-side{position:static!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:860px){
  .platform-view-switch-v417{right:9px;bottom:70px;grid-template-columns:repeat(3,32px);padding:3px}.platform-view-switch-v417 button{width:32px;height:32px;min-width:32px}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-topbar-row-v291{grid-template-columns:38px minmax(0,1fr) 126px!important;gap:7px!important;padding:7px 9px!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .topbar-menu-v295{display:grid!important;place-items:center!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-topbar-brand-v291 span,
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 :where(.ops-command-v291,.platform-language-top-v306,.ops-tools-v291,.ops-tabs-v291){display:none!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-topbar-brand-v291 img{width:112px!important;height:40px!important;object-fit:contain!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .platform-topbar-v295 .ops-live-v291{width:126px!important;min-width:0!important}

  .endpoint-main-stuffing_dashboard .stuffing-command-v379{max-width:100%!important;margin:0!important;padding-bottom:28px!important}
  .endpoint-main-stuffing_dashboard .v379-command-hero{grid-template-columns:1fr!important;gap:12px!important;padding:15px!important}
  .endpoint-main-stuffing_dashboard .v379-command-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
  .endpoint-main-stuffing_dashboard .v379-command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .endpoint-main-stuffing_dashboard .v379-command-side{grid-template-columns:1fr!important;position:static!important}
  .endpoint-main-stuffing_dashboard .v379-filter-card{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .endpoint-main-stuffing_dashboard .v379-filter-search,.endpoint-main-stuffing_dashboard .v379-filter-lower{grid-column:1/-1!important}
  .endpoint-main-stuffing_dashboard .v379-booking-card{grid-template-columns:minmax(0,1fr) 46px!important;overflow:hidden!important}
  .endpoint-main-stuffing_dashboard .v379-booking-core{grid-template-columns:92px minmax(0,1fr) 66px 16px!important;min-width:0!important}
  .endpoint-main-stuffing_dashboard .v379-booking-client,.endpoint-main-stuffing_dashboard .v379-booking-place,.endpoint-main-stuffing_dashboard .v379-booking-readiness,.endpoint-main-stuffing_dashboard .v379-booking-status{display:none!important}
  .endpoint-main-stuffing_dashboard .v379-booking-tools{display:flex!important;align-items:center!important;justify-content:center!important}

  .endpoint-main-stuffing_lineup .stuffing-lineup-layout-v345{grid-template-columns:1fr!important;gap:10px!important}
  .endpoint-main-stuffing_lineup .stuffing-lineup-side-v345{position:static!important;grid-template-columns:1fr!important}
  .endpoint-main-stuffing_lineup .stuffing-lineup-filters-v345{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .endpoint-main-stuffing_lineup .stuffing-lineup-kpis-v345{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  .endpoint-main-stuffing_booking .stuffing-booking-head-v295{grid-template-columns:1fr!important;gap:12px!important}
  .endpoint-main-stuffing_booking .stuffing-booking-state-v295{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important}
  .endpoint-main-stuffing_booking .stuffing-booking-strip-v295{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .endpoint-main-stuffing_booking .stuffing-workspace-nav-v295{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important}
  .endpoint-main-stuffing_booking .stuffing-workspace-nav-v295 a{flex:0 0 92px!important;min-width:92px!important}
  .endpoint-main-stuffing_booking .stuffing-kpis-v295{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .endpoint-main-stuffing_booking .stuffing-overview-grid-v295,.endpoint-main-stuffing_booking .stuffing-split-v295,.endpoint-main-stuffing_booking .stuffing-form-v295,.endpoint-main-stuffing_booking .stuffing-import-tools-v295{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  .endpoint-main-stuffing_dashboard .v379-command-actions{grid-template-columns:1fr 1fr!important}.endpoint-main-stuffing_dashboard .v379-command-actions .primary{grid-column:1/-1!important}
  .endpoint-main-stuffing_dashboard .v379-filter-card{grid-template-columns:1fr!important}.endpoint-main-stuffing_dashboard .v379-filter-card>*{min-width:0!important}
  .endpoint-main-stuffing_dashboard .v379-booking-core{grid-template-columns:80px minmax(0,1fr) 60px 14px!important}
  .endpoint-main-stuffing_lineup .stuffing-lineup-filters-v345{grid-template-columns:1fr!important}
}
.ocr-preview-scroll-v416{max-width:100%;overflow:auto}
