/* FestAxis release conformance - 2026-08-02
   Design System v1.4 enforcement and regression corrections. */

/* Organizer operations never inherit participant/event typography.
   Phosphor is a webfont: never overwrite the icon host's font-family. */
body.fx-admin-app,
body.fx-admin-app *:not(.ph):not(.phosphor-icon){font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body.fx-admin-app :where(.ph,.phosphor-icon){font-family:"Phosphor"!important;font-style:normal!important;font-weight:normal!important;font-variant:normal!important;text-transform:none!important}
body.fx-admin-app :where(code,kbd,pre,.mono,.fx-mono,[data-monospace],.ci-mono){font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}

/* Canonical text tabs: peer navigation, never buttons. */
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]){
  display:flex;align-items:flex-end;gap:24px;padding:0;border:0;border-bottom:1px solid var(--fx-border,#d6e0e8);border-radius:0;background:transparent;box-shadow:none;overflow-x:auto;scrollbar-width:none
}
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"])::-webkit-scrollbar{display:none}
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(a,button,[role="tab"]){
  position:relative;flex:0 0 auto;min-height:44px;padding:10px 1px;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;color:#64748b!important;box-shadow:none!important;transform:none!important;font-weight:600;white-space:nowrap
}
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(a,button,[role="tab"]):hover{background:transparent!important;color:#0f3568!important;box-shadow:none!important}
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(a,button,[role="tab"])::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:#058cba;transform:scaleX(0);transform-origin:center;transition:transform 120ms cubic-bezier(.2,.8,.2,1)
}
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(.active,.is-active,[aria-selected="true"]){color:#162a46!important}
body.fx-design-system :where(.fx-tabs,.brand-tabs,.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(.active,.is-active,[aria-selected="true"])::after{transform:scaleX(1)}

/* Site Planner search/control geometry. Later, definitive rule wins over legacy blocks. */
html.sp-mode .sp-search-wrap{position:relative!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;align-items:center!important;height:40px!important;margin-bottom:12px!important;border:1px solid #b8c7d3!important;border-radius:7px!important;background:#fff!important;overflow:hidden!important}
html.sp-mode .sp-search-wrap>[data-phosphor="search"],html.sp-mode .sp-search-wrap>.ph,html.sp-mode .sp-search-wrap>.phosphor-icon{position:static!important;grid-column:1!important;grid-row:1!important;justify-self:center!important;transform:none!important;width:17px!important;height:17px!important;z-index:2!important;color:#64748b!important;pointer-events:none!important}
html.sp-mode .sp-search-wrap .sp-input{grid-column:1/-1!important;grid-row:1!important;width:100%!important;height:38px!important;min-height:38px!important;margin:0!important;padding:8px 40px 8px 36px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;line-height:22px!important}
html.sp-mode .sp-search-wrap .sp-input:focus{outline:0!important;box-shadow:inset 0 0 0 2px #058cba!important}
html.sp-mode .sp-search-clear{position:static!important;grid-column:3!important;grid-row:1!important;justify-self:center!important;align-self:center!important;transform:none!important;width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#475569!important;z-index:3!important;display:grid!important;place-items:center!important}
html.sp-mode .sp-search-clear:hover{background:#f1f5f9!important;color:#0f3568!important}
html.sp-mode .sp-search-clear[hidden]{display:none!important}
html.sp-mode .sp-search-clear :where(svg,.phosphor-icon){position:static!important;transform:none!important;width:16px!important;height:16px!important;margin:0!important}
html.sp-mode :where(.leaflet-pm-toolbar,.leaflet-control-geoman) .button-container a,
html.sp-mode :where(.leaflet-pm-toolbar,.leaflet-control-geoman) a.leaflet-pm-icon-edit{display:grid!important;place-items:center!important;padding:0!important}
html.sp-mode :where(.leaflet-pm-toolbar,.leaflet-control-geoman) a :where(svg,.phosphor-icon){display:block!important;width:18px!important;height:18px!important;margin:auto!important;transform:none!important}

/* Single-workspace organizer layout. Secondary/editor surfaces are opt-in, not permanent columns. */
body.fx-admin-app:not(.fx-canvas-mode) .fx-single-workspace{display:block!important;grid-template-columns:1fr!important}
body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface{margin-top:16px;border:1px solid #d6e0e8;border-radius:10px;background:#fff;overflow:clip;box-shadow:none}
body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 16px;list-style:none;cursor:pointer;color:#21344d;font-weight:700;background:#fff}
body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface>summary::-webkit-details-marker{display:none}
body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface>summary::after{content:"+";font-size:18px;color:#64748b}
body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface[open]>summary{border-bottom:1px solid #d6e0e8;background:#f8fafc}
body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface[open]>summary::after{content:"−"}
body.fx-admin-app:not(.fx-canvas-mode) .fx-secondary-surface-body{padding:16px;min-width:0}
body.fx-admin-app:not(.fx-canvas-mode) :where(.fxAccessLayout,.broadcast-wrap,.ci-grid,.fx-payment-account-grid,.receipt-template-layout,.vsa-grid,.vendor-export-grid,.export-grid).fx-single-workspace{display:block!important}

/* Field mode is genuinely dark, including page-specific legacy cards and empty states. */
body.fx-field-mode{--fx-field-bg:#071426;--fx-field-panel:#0c1c2d;--fx-field-panel-2:#101f30;--fx-field-border:#20364b;--fx-field-border-strong:#38536c;--fx-field-text:#f5f9fd;--fx-field-muted:#9fb1c5;background:var(--fx-field-bg)!important;color:var(--fx-field-text)!important}
body.fx-field-mode :where(.content,.fx-page-flow,.page-shell,.page-body,.workspace,.schedule-shell,.parking-shell,.parade-shell){background:var(--fx-field-bg)!important;color:var(--fx-field-text)!important}
body.fx-field-mode :where(.card,.panel,.box,.surface,.fx-workspace-panel,.fx-incident-card,.parking-product,.parking-product-card,.schedule-card,.schedule-master,.schedule-hero,.schedule-filter-bar,.empty-state,.fx-empty-state,.fx-list-row,.listItem){background:var(--fx-field-panel)!important;background-image:none!important;border-color:var(--fx-field-border)!important;color:var(--fx-field-text)!important;box-shadow:none!important}
body.fx-field-mode :where(.card:hover,.panel:hover,.parking-product:hover,.parking-product-card:hover,.fx-list-row:hover,.listItem:hover){background:var(--fx-field-panel-2)!important;border-color:var(--fx-field-border-strong)!important}
body.fx-field-mode :where(.fx-incident-card__meta,.schedule-card .muted,.parking-product .muted,.empty-state,.fx-empty-state){color:var(--fx-field-muted)!important}
body.fx-field-mode :where(.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]){border-bottom-color:var(--fx-field-border-strong)!important;background:transparent!important}
body.fx-field-mode :where(.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(a,button,[role="tab"]){color:#aebdce!important;background:transparent!important}
body.fx-field-mode :where(.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(a,button,[role="tab"]):hover{color:#fff!important;background:transparent!important}
body.fx-field-mode :where(.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(.active,.is-active,[aria-selected="true"]){color:#fff!important}
body.fx-field-mode :where(.schedule-view-tabs,.schedule-tabs,.parade-tabs,.field-tabs,[role="tablist"]) :where(a,button,[role="tab"])::after{background:#40b9b1!important}
body.fx-field-mode :where(.btn,button,input,select,textarea,summary){min-height:48px}
body.fx-field-mode :where(.btn.btn-sm,button.btn-sm){min-height:44px}

/* Ticketing: one primary action, neutral data workspace, dependable drawer. */
body.fx-page-tickets .fx-ticketing-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:0 0 16px;border-bottom:1px solid #d6e0e8}
body.fx-page-tickets #ticketTypeDrawer[open]{display:block;position:fixed;inset:0 0 0 auto;width:min(560px,100vw);max-width:100%;height:100dvh;margin:0;border:0;border-left:1px solid #b8c7d3;border-radius:0;background:#fff;box-shadow:-20px 0 48px rgba(15,23,42,.18);z-index:2400;overflow:auto}
body.fx-page-tickets #ticketTypeDrawer[open]::backdrop{background:rgba(15,23,42,.34)}
body.fx-page-tickets #ticketTypeDrawer .fx-drawer-shell{min-height:100%;display:flex;flex-direction:column}
body.fx-page-tickets #ticketTypeDrawer .fx-drawer-body{flex:1;overflow:auto}

/* Media actions remain visible and destructive intent is explicit. */
body.fx-page-media-library .ml-actions [data-delete],body.fx-page-media-library .ml-actions [data-delete-path]{color:#a92f3a!important;border-color:#e5a7ad!important;background:#fff!important}
body.fx-page-media-library .ml-actions [data-delete]:hover,body.fx-page-media-library .ml-actions [data-delete-path]:hover{background:#fff0f1!important;border-color:#c83a45!important}

/* Brand Studio theme cards render consistently in Chrome and Edge. */
body.fx-page-appearance .preset-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;align-items:stretch!important}
body.fx-page-appearance .preset-card{min-width:0!important;width:100%!important;box-sizing:border-box!important;contain:layout paint!important;grid-template-columns:minmax(0,1fr)!important}
body.fx-page-appearance .preset-card .muted,body.fx-page-appearance .preset-swatches,body.fx-page-appearance .custom-theme-actions{grid-column:1!important}
body.fx-page-appearance .preset-card .preset-apply{display:none!important}
body.fx-page-appearance .custom-theme-save{grid-template-columns:minmax(0,1fr) auto!important}

/* Partner event overview: summaries and task actions, not duplicated document/billing forms. */
.fx-partner-page .fx-partner-overview-links{display:flex;gap:8px;flex-wrap:wrap}
.fx-partner-page .fx-partner-service-card{grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important}
.fx-partner-page .fx-partner-service-update{grid-column:1/-1;display:none!important}
.fx-partner-page .fx-partner-service-card.is-editing .fx-partner-service-update{display:grid!important}
.fx-partner-page .fx-partner-service-actions{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1;margin-top:10px}

/* Microsite editor: settings always scroll; binary controls are switches. */
body.fx-page-event-microsite .ms-main{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important}
body.fx-page-event-microsite .ms-panel[data-ms-panel="settings"],body.fx-page-event-microsite [data-ms-builder-panel="settings"]{min-height:0!important;overflow:visible!important}
body.fx-page-event-microsite .ms-switch{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;cursor:pointer}
body.fx-page-event-microsite .ms-switch>input{position:absolute;opacity:0;pointer-events:none}
body.fx-page-event-microsite .ms-switch-control{position:relative;width:40px;height:22px;margin-top:1px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px #94a3b8;transition:120ms cubic-bezier(.2,.8,.2,1)}
body.fx-page-event-microsite .ms-switch-control::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.28);transition:inherit}
body.fx-page-event-microsite .ms-switch>input:checked+.ms-switch-control{background:#0f766e;box-shadow:inset 0 0 0 1px #0f766e}
body.fx-page-event-microsite .ms-switch>input:checked+.ms-switch-control::after{transform:translateX(18px)}
body.fx-page-event-microsite .ms-switch>input:focus-visible+.ms-switch-control{box-shadow:0 0 0 3px rgba(5,140,186,.25),inset 0 0 0 1px #058cba}

@media(max-width:760px){
  body.fx-admin-app:not(.fx-canvas-mode) details.fx-secondary-surface>summary{min-height:52px}
  body.fx-page-appearance .custom-theme-save{grid-template-columns:1fr!important}
  body.fx-page-tickets #ticketTypeDrawer[open]{width:100vw}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.ms-switch-control,.ms-switch-control::after{transition:none!important}}

/* Release-wide hierarchy: legacy split pages become one primary workspace with
   contextual controls disclosed on demand. Form grids inside a workflow remain
   responsive two-column field groups; only page-level peer panels collapse. */
body.fx-admin-app:not(.fx-canvas-mode) .fx-secondary-grid.fx-single-workspace{display:block!important;grid-template-columns:1fr!important}
body.fx-admin-app:not(.fx-canvas-mode) .fx-secondary-grid.fx-single-workspace>details.fx-secondary-surface{margin-top:16px}
body.fx-admin-app:not(.fx-canvas-mode) :where(.fx-secondary-grid,.fx-single-workspace)>:where(section,div,aside,.card){min-width:0}

/* Field mode: the dark shell must reach every operational surface, not just the
   page background. White cards, gradients, and pale empty states are removed. */
body.fx-field-mode :where(.schedule-page-shell,.schedule-shell-head,.schedule-calendar-card,.schedule-calendar-frame,.schedule-calendar-fallback,.schedule-native-timeline,.schedule-timeline-row,.schedule-timeline-track,.schedule-type-row,.schedule-stats-details,.schedule-stats-summary,.schedule-stat-pill,.schedule-selection-bar,.schedule-modal,.schedule-modal-head,.schedule-modal-body,.schedule-upcoming-item,.schedule-col,.schedule-list .schedule-item,.schedule-group .schedule-item,.fxcal,.fxcal-list-dayhead,.fxcal-list-row,.fxcal-month-cell,.fxcal-toolbar,.fxcal-tg-scroll,.parking-products-workspace,.parking-product-editor,.fx-incident-command,.fx-incident-editor,.fx-incident-editor__head,.fx-incident-editor__body,.fx-incident-metric,.fx-incident-board,.parade-day-shell,.pd-wrap,.pd-card,.pd-item,.pd-empty,.load-in-shell){
  background:var(--fx-field-panel)!important;background-image:none!important;border-color:var(--fx-field-border)!important;color:var(--fx-field-text)!important;box-shadow:none!important
}
body.fx-field-mode :where(.schedule-timeline-track,.schedule-col,.fxcal-month-cell,.fxcal-list-row,.fxcal-list-dayhead,.schedule-upcoming-item,.schedule-stat-pill,.schedule-stats-summary,.pd-item,.pd-empty){background:var(--fx-field-panel-2)!important}
body.fx-field-mode :where(.schedule-empty,.schedule-calendar-fallback,.fxcal-list-empty,.pd-empty,.muted,.schedule-meta,.schedule-view-kicker,.schedule-timeline-head,.schedule-timeline-label p,.schedule-upcoming-item .muted){color:var(--fx-field-muted)!important}
body.fx-field-mode :where(.schedule-page-shell,.parking-products-workspace,.fx-incident-command,.parade-day-shell) :where(h1,h2,h3,h4,strong,label,.schedule-title,.schedule-time){color:var(--fx-field-text)!important}
body.fx-field-mode :where(input,select,textarea,.schedule-modal-close){background:#07111e!important;background-image:none!important;border:1px solid var(--fx-field-border-strong)!important;color:#f8fafc!important;box-shadow:none!important}
body.fx-field-mode :where(input,select,textarea)::placeholder{color:#71869b!important}
body.fx-field-mode :where(.btn,.schedule-calendar-card .btn,.schedule-modal-actions .btn,.parade-day-shell .btn){background:#172a42!important;background-image:none!important;border:1px solid #405b78!important;color:#f8fafc!important;box-shadow:none!important;filter:none!important}
body.fx-field-mode :where(.btn:hover,.schedule-calendar-card .btn:hover,.schedule-modal-actions .btn:hover,.parade-day-shell .btn:hover){background:#213a58!important;color:#fff!important}
body.fx-field-mode :where(.btn:not(.btn-secondary):not(.danger):not(.btn-danger),button[type="submit"]:not(.btn-secondary):not(.danger):not(.btn-danger)){background:#40b9b1!important;border-color:#40b9b1!important;color:#0b1828!important}
body.fx-field-mode :where(.btn:not(.btn-secondary):not(.danger):not(.btn-danger),button[type="submit"]:not(.btn-secondary):not(.danger):not(.btn-danger)):hover{background:#65c5c0!important;border-color:#65c5c0!important;color:#071426!important}
body.fx-field-mode :where(.schedule-pill,.schedule-stats-summary,.schedule-stat-pill,.pill){background:#13243a!important;border-color:#38536c!important;color:#dce7f2!important}
body.fx-field-mode .schedule-modal-backdrop{background:rgba(2,6,23,.78)!important}
body.fx-field-mode .schedule-modal{border-radius:16px!important}
body.fx-field-mode :where(.fxcal-month-cell.fxcal-other-month){background:#091726!important;opacity:.65}
body.fx-field-mode :where(.fxcal-month-cell.fxcal-today){background:#102b35!important}
body.fx-field-mode :where(.fxcal-list-row:hover,.schedule-upcoming-item:hover,.pd-item:hover){background:#162b40!important}
body.fx-field-mode :where(.schedule-timeline-grid span,.fxcal-month,.fxcal-month-dayname,.fxcal-list-row,.fxcal-list-dayhead){border-color:var(--fx-field-border)!important}
body.fx-field-mode .schedule-timeline-bar{box-shadow:none!important}
body.fx-field-mode .schedule-stats-summary{border-radius:8px!important}
body.fx-field-mode .parking-products-workspace .listItem{background:#0c1c2d!important;border-color:#20364b!important;color:#f5f9fd!important}
body.fx-field-mode .parking-products-workspace .listItem:hover{background:#101f30!important}
body.fx-field-mode .fx-incident-card{background:#0c1c2d!important}
body.fx-field-mode .fx-incident-card:hover{background:#101f30!important}
body.fx-field-mode .fx-incident-editor{border-color:#27415f!important;background:#0c1c2d!important}
body.fx-field-mode .fx-incident-editor__head{border-bottom-color:#27415f!important}
body.fx-field-mode .parade-day-shell .pd-wrap summary{background:#101d2e!important;color:#f8fafc!important}
body.fx-field-mode .parade-day-shell .pd-wrap[open] summary{border-bottom:1px solid #27415f!important}

/* Organizer maps and editor controls maintain precise geometry at every zoom. */
html.sp-mode .sp-search-wrap{box-sizing:border-box!important}
html.sp-mode .sp-search-wrap .sp-input{box-sizing:border-box!important;min-width:0!important}
html.sp-mode .leaflet-pm-toolbar .button-container a.fx-vertex-tool,
html.sp-mode .leaflet-control-geoman .button-container a.fx-vertex-tool{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;place-items:center!important;line-height:1!important}
html.sp-mode .leaflet-pm-toolbar .button-container a.fx-vertex-tool :where(svg,.phosphor-icon),
html.sp-mode .leaflet-control-geoman .button-container a.fx-vertex-tool :where(svg,.phosphor-icon){grid-area:1/1!important;align-self:center!important;justify-self:center!important;margin:0!important}

/* Editor panes must scroll independently and destructive secret-clearing choices
   use the same switch language as every other binary publishing setting. */
body.fx-page-event-microsite .ms-secret-clear.ms-switch{padding:10px 0!important;border:0!important;background:transparent!important}
body.fx-page-event-microsite :where(.ms-sidebar,.ms-main,.ms-panel,.ms-drawer-body){min-height:0!important}
body.fx-page-event-microsite .ms-main{max-height:calc(100dvh - var(--ms-topbar-height,64px))!important;overscroll-behavior:contain!important}


/* Reviewed non-hub pages use one primary reading column. Peer metrics may
   remain grouped, but permanent editor/support splits do not. */
body.fx-admin-app:not(.fx-canvas-mode) .fx-layout-stack,
body.fx-page-access-analytics .fx-analytics-pair{grid-template-columns:1fr!important}
body.fx-page-tickets-analytics .ta-grid .grid2{grid-template-columns:1fr!important}

/* Dense action groups reflow before shrinking on mobile. */
@media(max-width:760px){
  body.fx-admin-app :where(.btnrow,.table-toolbar,.fx-page-heading__actions,.pageHero .btnrow){display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  body.fx-admin-app :where(.btnrow,.table-toolbar,.fx-page-heading__actions,.pageHero .btnrow)>:where(.btn,button,a){width:100%!important;justify-content:center!important}
  body.fx-admin-app :where(.grid2,.formgrid,.schedule-form-grid,.pd-form-grid){grid-template-columns:1fr!important}
}

/* Ticket type editor uses an application-owned drawer rather than the native
   dialog state machine. This prevents browser transition races and guarantees
   that the server-rendered ?new=1 fallback is always interactive. */
body.fx-page-tickets #ticketTypeDrawer{position:fixed;inset:0;z-index:2400;display:grid;justify-items:end;background:rgba(15,23,42,.34);overscroll-behavior:contain}
body.fx-page-tickets #ticketTypeDrawer[hidden]{display:none!important}
body.fx-page-tickets #ticketTypeDrawer .fx-drawer-shell{width:min(560px,100vw);max-width:100%;height:100dvh;min-height:100%;display:flex;flex-direction:column;border-left:1px solid #b8c7d3;background:#fff;box-shadow:-20px 0 48px rgba(15,23,42,.18);overflow:hidden}
body.fx-page-tickets #ticketTypeDrawer .fx-drawer-body{flex:1;overflow:auto;overscroll-behavior:contain}
body.fx-overlay-open{overflow:hidden}

/* Field-mode completeness: operational pages are dark end-to-end. */
body.fx-field-mode :where(.schedule-hero,.schedule-toolbar,.schedule-calendar-top,.schedule-section-head,.schedule-list,.schedule-group,.schedule-empty,.fx-incident-command__hero,.fx-incident-layout>section,.fx-workspace-panel,.fx-workspace-panel__head,.fx-workspace-panel__body,.fx-empty-state,.empty-state,.parking-product-list,.parking-products-workspace .card,.load-in-shell .card,.pd-wrap>summary){
  background:var(--fx-field-panel)!important;background-image:none!important;border-color:var(--fx-field-border)!important;color:var(--fx-field-text)!important;box-shadow:none!important
}
body.fx-field-mode :where(.schedule-hero,.schedule-toolbar,.schedule-calendar-card,.schedule-empty,.fx-incident-command__hero,.fx-incident-layout>section,.fx-workspace-panel,.fx-empty-state,.empty-state,.parking-products-workspace .card){border:1px solid var(--fx-field-border)!important}
body.fx-field-mode :where(.schedule-hero h1,.schedule-hero h2,.schedule-hero h3,.schedule-section-head h3,.fx-incident-command h1,.fx-incident-command h2,.fx-incident-command h3,.fx-incident-card h3,.fx-workspace-panel strong,.parking-products-workspace h1,.parking-products-workspace h2,.parking-products-workspace h3,.pd-wrap h1,.pd-wrap h2,.pd-wrap h3){color:#f8fafc!important}
body.fx-field-mode :where(.fx-incident-card__meta,.fx-incident-card p,.fx-workspace-row .muted,.schedule-meta,.schedule-empty,.schedule-view-kicker,.parking-products-workspace .muted){color:#9fb0c1!important}
body.fx-field-mode .fx-incident-card{border:1px solid #27415f!important;border-radius:10px!important;color:#f8fafc!important;box-shadow:none!important}
body.fx-field-mode .fx-incident-card__actions{border-top-color:#27415f!important}
body.fx-field-mode .fx-workspace-row{border-color:#27415f!important;background:#0c1c2d!important;color:#f8fafc!important}
body.fx-field-mode .schedule-view-tabs{gap:24px!important;background:transparent!important;border:0!important;border-bottom:1px solid #27415f!important;border-radius:0!important;padding:0!important}
body.fx-field-mode .schedule-view-tabs :where(a,button,[role="tab"]){background:transparent!important;border:0!important;border-radius:0!important;color:#9fb0c1!important;box-shadow:none!important;min-height:48px!important;padding:11px 1px!important}
body.fx-field-mode .schedule-view-tabs :where(a,button,[role="tab"]):hover{background:transparent!important;color:#f8fafc!important}
body.fx-field-mode .schedule-view-tabs :where(.is-active,.active,[aria-selected="true"]){color:#f8fafc!important}
body.fx-field-mode .schedule-view-tabs :where(.is-active,.active,[aria-selected="true"])::after{background:#40b9b1!important}
body.fx-field-mode :where(.schedule-filter-bar,.schedule-calendar-top,.schedule-section-head){border-color:#27415f!important}
body.fx-field-mode .parking-products-workspace .listItem{background:#0c1c2d!important;border:1px solid #27415f!important}
body.fx-field-mode .parking-products-workspace .listItem :where(strong,span){color:#f8fafc!important}
body.fx-field-mode .parking-products-workspace .listItem .muted{color:#9fb0c1!important}
body.fx-field-mode .pd-wrap>summary{border-bottom:1px solid transparent!important}
body.fx-field-mode .pd-wrap[open]>summary{border-bottom-color:#27415f!important}
body.fx-field-mode .schedule-hero .btnrow .btn.btn-secondary,
body.fx-field-mode .fx-incident-command__hero .btnrow .btn.btn-secondary{background:#172a42!important;border-color:#405b78!important;color:#f8fafc!important}

/* Canvas/editor interfaces retain their intended workspace geometry while the
   organizer shell around them stays neutral and uses the product type system. */
body.fx-admin-app.fx-canvas-mode :where(.fx-sidebar,.fx-inspector,.sp-library-panel,.sp-inspector-panel){font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}

@media(max-width:760px){
  body.fx-page-tickets #ticketTypeDrawer .fx-drawer-shell{width:100vw!important;border-left:0!important}
  body.fx-field-mode .schedule-filter-bar{display:grid!important;grid-template-columns:1fr!important}
}
