/* FestAxis cross-platform usability refinement — 2026-07-27
   Loaded after the design system so operational contrast and responsive behavior win. */

:root{
  --fx-field-bg:#071321;
  --fx-field-surface:#0c1c2d;
  --fx-field-surface-2:#10243a;
  --fx-field-border:#294158;
  --fx-field-text:#f4f8fb;
  --fx-field-muted:#a7bacb;
  --fx-field-accent:#46c4bc;
}

/* Shared action clarity. */
:where(a.btn,button.btn,.btn-primary,button:not([class])):where(:hover,:focus-visible){text-decoration:none}
:where(.btn,.btn-primary,.sp-studio-button--primary,.fx-field-mode .btn):where(:hover,:focus-visible){color:inherit}
:where(.btn:not(.btn-secondary):not(.danger),.btn-primary,.sp-studio-button--primary):where(:hover,:focus-visible),
:where(.btn:not(.btn-secondary):not(.danger),.btn-primary,.sp-studio-button--primary):where(:hover,:focus-visible) :where(span,strong,.phosphor-icon){color:#fff!important}

/* Prevent icon fallback from creating giant or inconsistent controls. */
[data-phosphor]{display:inline-flex;flex:0 0 auto}
.btn .phosphor-icon,.sp-page button .phosphor-icon,.fx-field-mode button .phosphor-icon{width:17px;height:17px}

/* Details are used as popovers throughout the app. Keep them above nearby content. */
details.fx-context-switcher,details.fx-account-menu,details[data-fx-popover]{position:relative;z-index:30}
details[open].fx-context-switcher,details[open].fx-account-menu,details[open][data-fx-popover]{z-index:900}

/* Field mode is a dedicated dark instrument, including its top bar. */
body.fx-field-mode{background:var(--fx-field-bg)!important;color:var(--fx-field-text)!important}
body.fx-field-mode .main,body.fx-field-mode .content{background:var(--fx-field-bg)!important;color:var(--fx-field-text)!important}
body.fx-field-mode .topbar.fx-field-topbar{
  min-height:56px!important;background:#06111e!important;border-bottom:1px solid var(--fx-field-border)!important;color:var(--fx-field-text)!important;
}
body.fx-field-mode .topbar.fx-field-topbar :where(a,button,span,strong,.phosphor-icon){color:var(--fx-field-text)!important}
body.fx-field-mode .fx-field-brand{min-width:0;gap:14px}
body.fx-field-mode .fx-field-brand img{display:block;width:auto;max-width:160px;height:28px;object-fit:contain;background:transparent!important;border:0!important;box-shadow:none!important}
body.fx-field-mode .fx-field-online{color:#71e0a8!important}
body.fx-field-mode .fx-field-clock{color:#d6e3ee!important;font-variant-numeric:tabular-nums;font-weight:700}
body.fx-field-mode .fx-top-icon{border-color:transparent!important;background:transparent!important}
body.fx-field-mode .fx-top-icon:hover{background:#13283b!important;border-color:#29465d!important}
body.fx-field-mode .globalScheduleBar{background:#081727!important;border-color:var(--fx-field-border)!important;color:var(--fx-field-text)!important}
body.fx-field-mode :where(.card,.ops-card,.metric,.page-hero,.fx-field-command,.fx-field-live-strip,.fx-field-runboard,.fx-field-run-row){color:var(--fx-field-text)}
body.fx-field-mode :where(h1,h2,h3,h4,h5,h6,strong,label,legend,summary,.label,.k,.value){color:var(--fx-field-text)!important}
body.fx-field-mode :where(.muted,.meta,.sub,.muted-xs,small,.help,.field-help){color:var(--fx-field-muted)!important}
body.fx-field-mode :where(input,select,textarea){background:#091827!important;border-color:#3a5269!important;color:#fff!important;color-scheme:dark}
body.fx-field-mode :where(input,textarea)::placeholder{color:#8197aa!important;opacity:1}
body.fx-field-mode select option{background:#091827;color:#fff}
body.fx-field-mode :where(.checkline,.chk,label:has(> input[type="checkbox"]),label:has(> input[type="radio"])){
  color:#e8f0f6!important;font-weight:650;
}
body.fx-field-mode :where(.checkline,.chk,label) > span{color:inherit!important}
body.fx-field-mode input[type="checkbox"],body.fx-field-mode input[type="radio"]{accent-color:#058CBA}
body.fx-field-mode .btn-secondary,body.fx-field-mode a.btn-secondary{
  background:#fff!important;border-color:#d6e0e8!important;color:#102033!important;
}
body.fx-field-mode .btn-secondary :where(span,strong,.phosphor-icon),body.fx-field-mode a.btn-secondary :where(span,strong,.phosphor-icon){color:#102033!important}
body.fx-field-mode .btn-secondary:hover,body.fx-field-mode a.btn-secondary:hover{background:#eaf1f6!important;color:#071321!important}
body.fx-field-mode .btn:not(.btn-secondary):not(.danger){background:#144a8c!important;border-color:#1b5cab!important;color:#fff!important}
body.fx-field-mode .btn:not(.btn-secondary):not(.danger):hover{background:#195ca9!important;color:#fff!important}
body.fx-field-mode .scan-status .scan-pill{color:#d7eaff!important}
body.fx-field-mode .ops-card details summary{color:#dbe7f0!important}
body.fx-field-mode .tablewrap,body.fx-field-mode table{background:transparent!important}
body.fx-field-mode table :where(th,td){border-color:#263d52!important;color:#ecf4f9!important}
body.fx-field-mode table th{background:#102337!important;color:#bcd0df!important}

/* Operations home: full-width, resilient grid instead of a collapsed inline-layout column. */
body.fx-page-ops-dashboard .content{max-width:none!important}
body.fx-page-ops-dashboard .page-shell{width:min(1600px,100%);max-width:none;margin:0 auto;padding:24px clamp(18px,3vw,40px)}
.fx-ops-dashboard{display:grid;gap:18px;min-width:0}
.fx-ops-dashboard__hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:0 0 20px;border-bottom:1px solid var(--border,#dbe4ee)}
.fx-ops-dashboard__hero h1{margin:4px 0 6px;font-size:clamp(30px,4vw,46px);letter-spacing:-.045em}
.fx-ops-dashboard__actions{display:flex;flex-wrap:wrap;gap:8px}
.fx-ops-dashboard__tabs{display:flex;align-items:center;gap:24px;overflow-x:auto;border-bottom:2px solid #d6e0e8;scrollbar-width:none}
.fx-ops-dashboard__tabs::-webkit-scrollbar{display:none}
.fx-ops-dashboard__tab{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:9px 0 10px;color:#64748b;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.fx-ops-dashboard__tab::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;border-radius:3px 3px 0 0;background:var(--fx-tab-accent,#058cba);transform:scaleX(0);transition:transform 120ms cubic-bezier(.2,.8,.2,1)}
.fx-ops-dashboard__tab:hover{color:var(--fx-tab-active,#0f3568)}.fx-ops-dashboard__tab.is-active{color:var(--fx-tab-active,#0f3568)}.fx-ops-dashboard__tab.is-active::after{transform:scaleX(1)}
.fx-ops-dashboard__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border,#dbe4ee);border-radius:10px;overflow:hidden;background:#fff}
.fx-ops-dashboard__metric{min-width:0;padding:18px;text-decoration:none;color:inherit;border-right:1px solid var(--border,#dbe4ee)}
.fx-ops-dashboard__metric:last-child{border-right:0}
.fx-ops-dashboard__metric .value{display:block;margin-top:8px;font-size:30px;font-weight:800;letter-spacing:-.04em}
.fx-ops-dashboard__metric .meta{margin-top:3px}
.fx-ops-dashboard__main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;align-items:start}
.fx-workspace-panel{border:1px solid var(--border,#dbe4ee);border-radius:10px;background:#fff;overflow:hidden}
.fx-workspace-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border,#dbe4ee)}
.fx-workspace-panel__body{display:grid;gap:0}
.fx-workspace-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--border,#e5eaf0)}
.fx-workspace-row:last-child{border-bottom:0}
.fx-workspace-row .btnrow{justify-content:flex-end}
.fx-ops-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:8px}
.fx-ops-directory__group{min-width:0;border-top:2px solid #d8e1e9;padding-top:12px}
.fx-ops-directory__link{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;color:inherit;text-decoration:none;border-bottom:1px solid #edf1f4}
.fx-ops-directory__link .phosphor-icon{width:18px;height:18px;color:#365f8e}

/* Workflow surfaces: make Assets, Permits and Compliance read as workspaces rather than raw CRUD tables. */
body:is(.fx-page-assets,.fx-page-permits,.fx-page-compliance-dashboard) .content{max-width:none!important}
body:is(.fx-page-assets,.fx-page-permits,.fx-page-compliance-dashboard) .content > .card:first-of-type{border-radius:10px}
body:is(.fx-page-assets,.fx-page-permits,.fx-page-compliance-dashboard) table tbody tr{transition:background .14s ease}
body:is(.fx-page-assets,.fx-page-permits,.fx-page-compliance-dashboard) table tbody tr:hover{background:#f6f9fb}
body:is(.fx-page-assets,.fx-page-permits,.fx-page-compliance-dashboard) table td{padding-block:14px}
.fx-workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.fx-workspace-heading h1{margin:0;font-size:clamp(28px,3vw,40px);letter-spacing:-.035em}
.fx-workspace-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.fx-workspace-summary>div{padding:14px 16px;border:1px solid var(--border,#dbe4ee);border-radius:8px;background:#fff}
.fx-workspace-summary strong{display:block;margin-top:6px;font-size:24px}
.fx-inline-filterbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:12px 0;border-block:1px solid #e6ebf0}

/* Incident command workflow. */
body.fx-page-incidents .content{max-width:none!important}
.fx-incident-command{display:grid;gap:16px;width:min(1660px,100%);margin:0 auto;padding:22px clamp(14px,2vw,28px)}
.fx-incident-command__hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--border,#dbe4ee)}
.fx-incident-command__hero h1{margin:3px 0 5px;font-size:clamp(30px,4vw,44px)}
.fx-incident-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border,#dbe4ee);border-radius:10px;overflow:hidden;background:#fff}
.fx-incident-metric{padding:15px 17px;border-right:1px solid var(--border,#dbe4ee)}
.fx-incident-metric:last-child{border-right:0}.fx-incident-metric strong{display:block;font-size:28px;margin-top:4px}
.fx-incident-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:16px;align-items:start}
.fx-incident-board{display:grid;gap:10px}
.fx-incident-card{position:relative;display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:14px;padding:0 14px 0 0;border:1px solid var(--border,#dbe4ee);border-radius:10px;background:#fff;overflow:hidden}
.fx-incident-card__severity{background:#4f7b9f}.fx-incident-card[data-severity="critical"] .fx-incident-card__severity{background:#c02e3b}.fx-incident-card[data-severity="high"] .fx-incident-card__severity{background:#e46e2d}.fx-incident-card[data-severity="medium"] .fx-incident-card__severity{background:#d8a21b}
.fx-incident-card__body{min-width:0;padding:15px 0}.fx-incident-card__body h3{margin:0 0 5px;font-size:17px}.fx-incident-card__meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:12px}
.fx-incident-card__actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;padding:12px 0}
.fx-incident-editor{position:sticky;top:74px;border:1px solid var(--border,#dbe4ee);border-radius:10px;background:#fff;overflow:hidden}
.fx-incident-editor__head{padding:16px 18px;border-bottom:1px solid var(--border,#dbe4ee)}
.fx-incident-editor__body{padding:16px 18px;max-height:calc(100vh - 170px);overflow:auto}
.fx-incident-map{height:250px;border:1px solid var(--border,#dbe4ee);border-radius:8px;overflow:hidden;background:#eef3f6}
body.fx-field-mode.fx-page-incidents .fx-incident-command{padding:14px}
body.fx-field-mode.fx-page-incidents :where(.fx-incident-card,.fx-incident-editor,.fx-incident-metrics,.fx-incident-metric){background:var(--fx-field-surface)!important;border-color:var(--fx-field-border)!important;color:#fff!important}

/* Cookie choice: one foreground card over a quiet overlay, never a second visible content box. */
.fa-cookie-consent:not([hidden]){inset:0!important;left:0!important;right:0!important;bottom:0!important;padding:18px!important;align-items:flex-end!important;background:rgba(7,19,33,.34)!important;backdrop-filter:blur(2px);pointer-events:auto!important}
.fa-cookie-consent__box{position:relative;z-index:1;box-shadow:0 22px 70px rgba(7,20,38,.30)!important}

/* Volunteer custom-question builder. */
.fx-question-builder{display:grid;gap:10px;margin-top:10px}
.fx-question-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(130px,.65fr) auto auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--border,#dbe4ee);border-radius:9px;background:#f8fafb}
.fx-question-row label{margin:0}.fx-question-row .fx-question-required{display:flex;align-items:center;gap:7px;min-height:42px}
.fx-question-row .fx-question-remove{min-height:42px}

/* Site Planner reliability and control hierarchy. */
html.sp-mode .sp-basemap-switcher .fxSegmentedBtn{color:#304257!important;background:#fff!important}
html.sp-mode .sp-basemap-switcher .fxSegmentedBtn.is-active{background:#eaf0ff!important;border-color:#9fb3e9!important;color:#24499c!important}
html.sp-mode .sp-map .leaflet-tile{outline:1px solid transparent;transform-origin:center center;will-change:transform}
html.sp-mode .sp-map .leaflet-tile-container{backface-visibility:hidden}
html.sp-mode .sp-map.sp-base-planner .leaflet-tile-pane{filter:saturate(.76) contrast(.94) brightness(1.04)!important;opacity:1!important}
html.sp-mode .sp-map.sp-base-planner::before{background:rgba(243,247,244,.07)!important;mix-blend-mode:normal!important}
html.sp-mode .sp-map.sp-base-planner::after{background:none!important;box-shadow:inset 0 0 74px rgba(24,41,53,.08)!important}
.sp-mini-map-shell{right:calc(var(--sp-right-panel) + 16px)!important;bottom:58px!important;max-width:210px}
.sp-canvas-shell:has(#spInspectorPanel[hidden]) .sp-mini-map-shell{right:16px!important}
.sp-mini-map-shell.is-collapsed .sp-mini-map{display:none}.sp-mini-map-shell.is-collapsed{width:auto!important}.sp-mini-map-shell.is-collapsed .sp-mini-map-footer{border-top:0}
.sp-mini-map-collapse{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;background:transparent;color:#536579;cursor:pointer}

@media(max-width:1100px){
  .fx-ops-dashboard__metrics,.fx-incident-metrics,.fx-workspace-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-ops-dashboard__metric:nth-child(2){border-right:0}.fx-ops-dashboard__metric:nth-child(-n+2){border-bottom:1px solid var(--border,#dbe4ee)}
  .fx-ops-dashboard__main,.fx-incident-layout{grid-template-columns:1fr}
  .fx-incident-editor{position:static}.fx-ops-directory{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .fx-ops-dashboard__hero,.fx-incident-command__hero,.fx-workspace-heading{align-items:stretch;flex-direction:column}
  .fx-ops-dashboard__metrics,.fx-incident-metrics,.fx-workspace-summary{grid-template-columns:1fr}
  .fx-ops-dashboard__metric,.fx-incident-metric{border-right:0;border-bottom:1px solid var(--border,#dbe4ee)}
  .fx-ops-dashboard__metric:last-child,.fx-incident-metric:last-child{border-bottom:0}
  .fx-workspace-row,.fx-incident-card{grid-template-columns:7px minmax(0,1fr)}
  .fx-workspace-row{display:flex;align-items:flex-start;flex-direction:column}.fx-workspace-row .btnrow{justify-content:flex-start}
  .fx-incident-card__actions{grid-column:2;justify-content:flex-start;padding-top:0}
  .fx-ops-directory{grid-template-columns:1fr}
  .fx-question-row{grid-template-columns:1fr 1fr}.fx-question-row>:first-child{grid-column:1/-1}
  .sp-mini-map-shell{display:none!important}
}

/* Final field-mode contrast repair for legacy nested cards and inline white surfaces. */
body.fx-field-mode :where(.card,.listItem,.list-item,.panel,.box,.form-panel){border-color:var(--fx-field-border)!important}
body.fx-field-mode :where(.card .card,.card .listItem,.listStack .listItem,.feature-card,.feature-row){background:var(--fx-field-surface-2)!important;color:var(--fx-field-text)!important}
body.fx-field-mode :where(.card .card,.card .listItem,.listStack .listItem,.feature-card,.feature-row) :where(strong,span,div,p,small){color:inherit!important}
body.fx-field-mode :where(.card .card,.card .listItem,.listStack .listItem,.feature-card,.feature-row) .muted{color:var(--fx-field-muted)!important}
body.fx-field-mode :where(label.checkline,label.chk,label:has(input[type="checkbox"]),label:has(input[type="radio"])){
  background:transparent!important;border:0!important;padding:5px 0!important;min-height:34px;
}
body.fx-field-mode :where(label.checkline,label.chk) input{flex:0 0 auto}
body.fx-field-mode .pageHero{background:var(--fx-field-surface)!important;border-color:var(--fx-field-border)!important}
body.fx-field-mode .pageHero p{color:var(--fx-field-muted)!important}
body.fx-field-mode .eyebrow{color:var(--fx-field-accent)!important}
body.fx-field-mode.fx-page-parking .grid2>section.card,
body.fx-field-mode.fx-page-load-in .card,
body.fx-field-mode.fx-page-tickets-scan .card{background:var(--fx-field-surface)!important}
body.fx-field-mode.fx-page-parking .listItem{background:#10243a!important}
body.fx-field-mode.fx-page-parking .listItem strong{color:#fff!important}

/* Tile seam suppression: overlap raster edges by one CSS pixel without changing geospatial placement. */
html.sp-mode .sp-map .leaflet-tile{width:256px!important;height:256px!important;backface-visibility:hidden;image-rendering:auto}
html.sp-mode .sp-map .leaflet-tile-pane{backface-visibility:hidden}

/* Keep overview tools away from the map-style selector and make collapse state explicit. */
.sp-mini-map-shell{z-index:575!important}
.sp-mini-map-shell:not(.is-collapsed){min-width:184px}
.sp-mini-map-footer{background:rgba(255,255,255,.96);backdrop-filter:blur(9px)}

/* Popover summaries must behave like buttons and never expose browser markers. */
details.fx-context-switcher>summary,details.fx-account-menu>summary,details[data-fx-popover]>summary{list-style:none;cursor:pointer}
details.fx-context-switcher>summary::-webkit-details-marker,details.fx-account-menu>summary::-webkit-details-marker,details[data-fx-popover]>summary::-webkit-details-marker{display:none}

/* Contextual help modal — keeps operators in their current workflow. */
.fx-help-modal[hidden]{display:none!important}.fx-help-modal{position:fixed;inset:0;z-index:100500;display:grid;place-items:center;padding:24px;background:rgba(11,18,32,.58);backdrop-filter:blur(3px);animation:fxFadeIn 180ms cubic-bezier(.2,.8,.2,1)}.fx-help-dialog{width:min(1040px,calc(100vw - 32px));height:min(780px,calc(100vh - 48px));background:#fff;border:1px solid #b8c7d3;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.28);display:grid;grid-template-rows:auto 1fr;overflow:hidden;animation:fxDialogIn 240ms cubic-bezier(.2,.8,.2,1)}.fx-help-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #d6e0e8;background:#fff}.fx-help-title{display:flex;align-items:center;gap:10px;min-width:0}.fx-help-title>span:first-child{display:grid;place-items:center;width:36px;height:36px;border:1px solid #d6e0e8;border-radius:8px;background:#f8fafc;color:#0f3568}.fx-help-title strong{display:block;font-size:15px;color:#111827}.fx-help-title small{display:block;color:#64748b;font-size:12px;margin-top:1px}.fx-help-actions{display:flex;align-items:center;gap:8px}.fx-help-actions a{font-size:13px;font-weight:600}.fx-help-close{width:36px;height:36px!important;min-height:36px!important;padding:0!important;display:grid!important;place-items:center;border:1px solid #d6e0e8!important;background:#fff!important;color:#334155!important;border-radius:8px!important}.fx-help-frame{width:100%;height:100%;border:0;background:#f8fafc}.fx-help-loading{position:absolute;inset:58px 0 0;display:grid;place-items:center;color:#64748b;background:#f8fafc;pointer-events:none}.fx-help-dialog.is-loaded .fx-help-loading{display:none}@keyframes fxFadeIn{from{opacity:0}to{opacity:1}}@keyframes fxDialogIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}@media(max-width:700px){.fx-help-modal{padding:0}.fx-help-dialog{width:100vw;height:100vh;max-height:none;border-radius:0;border:0}.fx-help-actions a{display:none}}@media(prefers-reduced-motion:reduce){.fx-help-modal,.fx-help-dialog{animation:none!important}}

/* 2026-08-01 — Complete field-mode dark boundary.
   Keep every override rooted at body.fx-field-mode so organizer/public/portal surfaces remain unchanged. */
body.fx-field-mode :where(
  .page-shell,.fx-page-flow,.fx-workspace-panel,.fx-workspace-panel__head,.fx-workspace-panel__body,
  .fx-workspace-row,.pageHero,.page-hero,.panel,.box,.form-panel,.table-card,.filter-bar,.toolbar,
  .schedule-page-shell,.schedule-shell-head,.schedule-hero,.schedule-toolbar,.schedule-calendar-card,
  .schedule-calendar-top,.schedule-calendar-frame,.schedule-section,.schedule-col,.schedule-item,
  .schedule-upcoming-item,.schedule-selection-bar,.schedule-timeline-row,.schedule-timeline-track,
  .fxcal,.fxcal-body,.fxcal-tg,.fxcal-tg-scroll,.fxcal-month,.fxcal-list-row,.fxcal-list-dayhead,
  .dialog,.modal,.drawer,.popover,[role="dialog"],[role="menu"]
){background-color:var(--fx-field-surface)!important;border-color:var(--fx-field-border)!important;color:var(--fx-field-text)!important;box-shadow:none!important}
body.fx-field-mode :where(.fx-workspace-panel__head,.schedule-calendar-top,.schedule-toolbar,.fxcal-tb,.fxcal-sticky,.fxcal-list-dayhead){background:#0a1929!important;border-color:var(--fx-field-border)!important}
body.fx-field-mode :where(.fx-workspace-row,.schedule-item,.schedule-upcoming-item,.schedule-col,.fxcal-list-row,.fxcal-month-cell,.fxcal-tg-col,.fxcal-tg-ad-cell){background:#0c1c2d!important;border-color:#263d52!important;color:var(--fx-field-text)!important}
body.fx-field-mode :where(.fxcal-month-cell.fxcal-other-month,.fxcal-tg-dayhead.fxcal-today,.fxcal-tg-col.fxcal-today-col,.fxcal-tg-ad-cell.fxcal-today){background:#10243a!important;opacity:1}
body.fx-field-mode :where(.fxcal-btn,.schedule-pill,.schedule-stats-summary,.schedule-modal-close){background:#10243a!important;border-color:#3a5269!important;color:#e8f0f6!important;box-shadow:none!important}
body.fx-field-mode :where(.fxcal-btn:hover,.schedule-stats-summary:hover,.schedule-modal-close:hover){background:#16304a!important;color:#fff!important}
body.fx-field-mode :where(.fxcal-btn.fxcal-active){background:var(--fx-field-accent)!important;border-color:var(--fx-field-accent)!important;color:#071321!important}
body.fx-field-mode :where(.fxcal-dayname,.fxcal-tg-gutter,.fxcal-tg-label,.fxcal-list-time,.schedule-pill,.schedule-upcoming-item .time){color:var(--fx-field-muted)!important}
body.fx-field-mode :where(.schedule-modal,.schedule-modal-body,.schedule-modal-head){background:#0c1c2d!important;color:var(--fx-field-text)!important;border-color:var(--fx-field-border)!important}
body.fx-field-mode :where(.schedule-modal-backdrop){background:rgba(0,6,14,.78)!important}
body.fx-field-mode footer,
body.fx-field-mode .foot,
body.fx-field-mode .footInner,
body.fx-field-mode .fx-event-powered-footer,
body.fx-field-mode .fx-partner-powered{
  background:#06111e!important;border-color:var(--fx-field-border)!important;color:#cbd5e1!important;
}
body.fx-field-mode footer :where(span,p,small,strong){color:#cbd5e1!important}
body.fx-field-mode footer a{color:#e6f4ff!important;text-decoration-color:#50708a!important}
body.fx-field-mode footer a:hover{color:#fff!important;text-decoration-color:#46c4bc!important}
body.fx-field-mode footer img{filter:none!important;background:transparent!important}
