/* Owner-requested lighter action density. Touch targets remain usable. */
@layer stormcore-actions{@media screen{
 html body #stormcoreApp :is(#platformHome,#productionWorkspace,#workspaceModule) button:not(:where(.dot,.customer-expand,.record-picker,.resource-link,.close,.sc-close,.workday-calendar button,.schedule-period-day>button)){min-height:34px!important;min-width:32px!important;padding:5px 10px!important;border-radius:7px!important;font-size:.75rem!important;box-shadow:inset 0 1px 0 #ffffff18,0 1px 3px #102e4915!important;}
 html body #stormcoreApp :is(#platformHome,#workspaceModule) button:is(.secondary,.module-secondary,.workspace-text-action){background:transparent!important;border-color:#c8d7e5!important;color:#2f5776!important;box-shadow:none!important;}
 html body #stormcoreApp #workspaceModule .module-actions{gap:8px!important;}
 /* Dialog actions use the same restrained hierarchy as the workspace. */
 html body #stormcoreApp #modal #modalBody button.secondary:not(.danger){background:#f4f8fc!important;color:#2f5776!important;border-color:#c4d4e2!important;box-shadow:none!important;}
 html body #stormcoreApp #modal .record-form h2{background:#edf6ff!important;color:#123b5b!important;border:1px solid #c5d9ea!important;border-left:3px solid #1687f7!important;border-radius:8px!important;padding:16px 60px 16px 16px!important;font-size:20px!important;line-height:1.35!important;box-shadow:none!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date{min-width:0!important;padding:9px 2px!important;}
 html body #stormcoreApp #workspaceModule .module-actions :is(button,a){width:auto!important;flex:0 1 auto!important;}
 html body #stormcoreApp #platformHome .workspace-metric-link{width:60%!important;min-height:34px!important;margin-top:auto!important;}
 html body #stormcoreApp .production-sidebar button{min-height:38px!important;padding:8px 10px!important;font-size:.8125rem!important;}
 html body #stormcoreApp #platformHome .workspace-heading{gap:16px!important;flex-wrap:wrap!important;align-items:center!important;}
 html body #stormcoreApp #platformHome .workspace-search{position:relative;display:flex;align-items:center;gap:8px;flex:1 1 220px;max-width:330px;min-width:180px;margin-left:auto;border:1px solid #c6d6e3;border-bottom-color:#6e9bbd;border-radius:8px;background:linear-gradient(110deg,#fff,#f0f6fb);padding:0 10px;z-index:20;}
 .workspace-search>svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#0878dd;stroke-width:1.8;stroke-linecap:round;}
 html body #stormcoreApp #platformHome .workspace-search>input{width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:6px 0!important;border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;color:#173d59!important;font:500 .8125rem/1.4 var(--font-ui,Manrope,system-ui)!important;}
 .workspace-search:focus-within{outline:2px solid #0878dd;outline-offset:2px;}
 .workspace-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);max-height:min(360px,60vh);overflow:auto;background:#fff;border:1px solid #c6d6e3;border-top:2px solid #0878dd;border-radius:8px;box-shadow:0 12px 26px #0c1c2f26;padding:4px;}
 .workspace-search-results[hidden]{display:none!important;}
 html body #stormcoreApp #platformHome button.workspace-search-result{display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;width:100%!important;gap:10px!important;background:transparent!important;color:#173d59!important;border:0!important;border-radius:5px!important;box-shadow:none!important;min-height:48px!important;padding:8px!important;}
 .workspace-search-result>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0;}.workspace-search-result strong{font-size:.8125rem;overflow-wrap:anywhere;}.workspace-search-result small{font-size:.6875rem;font-weight:500;color:#627b8f;overflow-wrap:anywhere;}.workspace-search-kind{font-size:.625rem;color:#356181;flex:0 0 auto;}
 html body #stormcoreApp #platformHome button.workspace-search-result:is(:hover,[aria-selected=true]){background:#edf5fd!important;}
 .workspace-search-empty{color:#627b8f;font-size:.8125rem;margin:12px;}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp :is(#platformHome,#productionWorkspace,#workspaceModule) button:not(:where(.dot,.customer-expand,.record-picker,.resource-link,.close,.sc-close,.workday-calendar button)){min-height:44px!important;padding:6px 10px!important;}.workspace-search>input{min-height:44px!important;}html body #stormcoreApp #platformHome .workspace-metric-link{min-height:44px!important;}html body #stormcoreApp .production-sidebar button{min-height:44px!important;}}
 @media(max-width:600px){html body #stormcoreApp #platformHome .workspace-search{order:3;flex-basis:100%;max-width:none;min-width:0;margin:0;}.workspace-heading .workspace-create-actions{margin-left:auto!important;}}
 /* Board focus behavior remains opt-in; tests exercise an isolated browser only. */
 html body.workflow-focus-mode #stormcoreApp :is(.production-sidebar,.sc-mobile-bottom-nav,.sc-mobile-app-header,.sc-mobile-nav-sheet){display:none!important;}
 html body.workflow-focus-mode #stormcoreApp{padding-left:0!important;padding-top:0!important;}
}}

/* Compact windows use the same live search in the persistent mobile header. */
@media screen{
 html body #stormcoreApp .sc-mobile-app-header{gap:8px;padding:8px 10px;overflow:visible;}
 html body #stormcoreApp .sc-mobile-app-brand{flex:0 0 auto;font-size:14px;gap:6px;padding:4px;white-space:nowrap;}
 html body #stormcoreApp .sc-mobile-app-header .workspace-search{position:relative;display:flex;align-items:center;gap:6px;flex:1 1 180px;min-width:0;max-width:360px;margin-left:auto;padding:0 8px;border:1px solid #aec7db;border-radius:7px;background:#f4f8fc;color:#173d59;z-index:20;}
 html body #stormcoreApp .sc-mobile-app-header .workspace-search>svg{width:16px;height:16px;flex-basis:16px;}
 html body #stormcoreApp .sc-mobile-app-header .workspace-search>input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;height:44px;padding:5px 0;border:0;box-shadow:none;outline:none;background:transparent;color:#173d59;font:500 12px/1.4 var(--font-ui,Manrope,system-ui);}
 html body #stormcoreApp .sc-mobile-app-header .workspace-search-results{left:auto;right:0;width:min(360px,calc(100vw - 20px));box-sizing:border-box;}
 html body #stormcoreApp .sc-mobile-app-header button.workspace-search-result{display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;width:100%;min-height:48px;padding:8px;border:0;border-radius:5px;background:#fff;color:#173d59;text-align:left;}
 html body #stormcoreApp .sc-mobile-app-header button.workspace-search-result:is(:hover,[aria-selected=true]){background:#edf5fd;}
}

/* Homepage search belongs in the app header at every window size. */
@media screen and (min-width:801px){html body[data-platform-view="home"] #stormcoreApp>.sc-mobile-app-header{display:flex!important;position:relative;align-items:center;min-height:64px;background:#0c1c2f;color:#fff;}html body[data-platform-view="home"] #stormcoreApp>.sc-mobile-app-header .sc-mobile-app-brand{display:flex;align-items:center;border:0;background:transparent;color:#fff;}html body[data-platform-view="home"] #stormcoreApp>.sc-mobile-app-header .sc-mobile-app-brand img{width:32px;height:32px;object-fit:contain;}}

/* Compact homepage header search. */
@media screen{html body #stormcoreApp .sc-mobile-app-header .workspace-search{flex:0 1 240px;max-width:240px;padding:0 7px;gap:5px;}html body #stormcoreApp .sc-mobile-app-header .workspace-search>input{min-height:32px;height:32px;padding:3px 0;font-size:12px;}html body #stormcoreApp .sc-mobile-app-header .workspace-search>svg{width:14px;height:14px;flex-basis:14px;}}
@media screen and (max-width:800px){html body #stormcoreApp .sc-mobile-app-header .workspace-search{flex-basis:190px;max-width:190px;}html body #stormcoreApp .sc-mobile-app-header .workspace-search>input{min-height:40px;height:40px;}}
@media screen and (pointer:coarse){html body #stormcoreApp .sc-mobile-app-header .workspace-search>input{min-height:44px;height:44px;}}

/* One consistent account control across workspace pages. */
@media screen{html body #stormcoreApp>.sc-mobile-app-header{display:flex!important;align-items:center;position:sticky;top:0;min-height:60px;background:#0c1c2f;color:#fff;z-index:1500;}html body #stormcoreApp .sc-header-account{position:relative;flex:0 0 auto;margin-left:auto;}html body #stormcoreApp .sc-mobile-app-header .workspace-search{margin-left:auto;}html body #stormcoreApp .sc-mobile-app-header .workspace-search+.sc-header-account{margin-left:4px;}html body #stormcoreApp .sc-account-trigger{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:5px 8px;border:1px solid #496078;border-radius:7px;background:transparent;color:#fff;font:500 11px/1.3 var(--font-ui,system-ui);max-width:150px;}html body #stormcoreApp .sc-account-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px;}html body #stormcoreApp .sc-account-trigger svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;}html body #stormcoreApp .sc-account-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(250px,calc(100vw - 20px));box-sizing:border-box;padding:6px;background:#fff;color:#173d59;border:1px solid #b9ccdc;border-radius:8px;box-shadow:0 8px 24px #06192d33;z-index:30;}html body #stormcoreApp .sc-account-panel[hidden]{display:none!important;}html body #stormcoreApp .sc-account-panel p{font-size:12px;overflow-wrap:anywhere;padding:8px;margin:0;border-bottom:1px solid #dce6ee;}html body #stormcoreApp .sc-account-panel button{display:block;width:100%;min-height:44px;text-align:left;border:0;background:#fff;color:#173d59;padding:8px;font:500 13px system-ui;border-radius:5px;}html body #stormcoreApp .sc-account-panel button:hover{background:#edf5fd;}html body #stormcoreApp .sc-account-trigger:focus-visible,html body #stormcoreApp .sc-account-panel button:focus-visible{outline:2px solid #168dff;outline-offset:2px;}}
@media screen and (min-width:801px){html body #stormcoreApp>.sc-mobile-app-header .sc-mobile-app-brand{display:flex;align-items:center;border:0;background:transparent;color:#fff;}html body #stormcoreApp>.sc-mobile-app-header .sc-mobile-app-brand img{width:32px;height:32px;object-fit:contain;}}
@media screen and (max-width:600px){html body #stormcoreApp .sc-account-trigger{max-width:82px;min-height:44px;padding:5px;}html body #stormcoreApp .sc-account-trigger span{max-width:48px;}html body #stormcoreApp .sc-mobile-app-brand{font-size:12px;gap:4px;}html body #stormcoreApp .sc-mobile-app-brand img{width:26px;height:26px;}html body #stormcoreApp .sc-mobile-app-header .workspace-search{flex:1 1 110px;max-width:190px;}html body #stormcoreApp .sc-mobile-app-header{gap:5px;}}

@media screen{html body:is(.workflow-focus-mode,.app-work-mode) #stormcoreApp>.sc-mobile-app-header{display:none!important;}}

@media screen and (max-width:600px){html body #stormcoreApp .sc-mobile-app-header .workspace-search-results{position:fixed;top:68px;left:10px;right:10px;width:calc(100vw - 20px);}}

/* FINAL130: icon-only quick search; the field opens on demand. */
@media screen{html body #stormcoreApp .sc-mobile-app-header .workspace-search{flex:0 0 36px;width:36px;max-width:36px;min-width:36px;padding:0;border:0;background:transparent;margin-left:auto;display:block;}
html body #stormcoreApp .workspace-quick-toggle{display:flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:7px;border:1px solid #496078;border-radius:7px;background:transparent;color:#fff;}
html body #stormcoreApp .workspace-quick-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
html body #stormcoreApp .workspace-quick-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 20px));box-sizing:border-box;padding:8px;background:#fff;border:1px solid #b9ccdc;border-radius:8px;box-shadow:0 8px 24px #06192d33;}
html body #stormcoreApp .workspace-quick-panel[hidden]{display:none!important;}
html body #stormcoreApp .workspace-quick-panel #workspaceSearch{display:block;box-sizing:border-box;width:100%;min-width:0;height:40px;min-height:40px;margin:0;padding:8px 10px;border:1px solid #aec7db;border-radius:6px;background:#f4f8fc;color:#173d59;font:500 13px/1.4 var(--font-ui,system-ui);}
html body #stormcoreApp .workspace-quick-panel .workspace-search-results{position:static;left:auto;right:auto;top:auto;width:100%;margin-top:6px;border:0;box-shadow:none;padding:0;}
html body #stormcoreApp .workspace-quick-toggle:focus-visible{outline:2px solid #168dff;outline-offset:2px;}}
@media screen and (max-width:600px){html body #stormcoreApp .workspace-quick-panel{position:fixed;left:10px;right:10px;top:68px;width:calc(100vw - 20px);}html body #stormcoreApp .workspace-quick-toggle{width:44px;min-height:44px;}html body #stormcoreApp .sc-mobile-app-header .workspace-search{flex-basis:44px;width:44px;min-width:44px;max-width:44px;}}
@media screen and (pointer:coarse){html body #stormcoreApp .workspace-quick-toggle{min-height:44px;min-width:44px;}html body #stormcoreApp .sc-mobile-app-header .workspace-search{flex-basis:44px;min-width:44px;}}

/* FINAL137: refined calendar, with clear rhythm and restrained event color. */
@layer stormcore-compact{@media screen{
 html body #workspaceModule .schedule-calendar-panel{background:#fff!important;border:1px solid #d9e2ec!important;border-radius:14px;padding:22px!important;box-shadow:0 3px 14px #15344d08;}
 html body #workspaceModule .schedule-panel-heading{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #edf1f5;}
 html body #workspaceModule .schedule-panel-heading h3,html body #platformHome .workday-calendar-heading strong{color:#172d42;font-size:16px;font-weight:750;letter-spacing:-.025em;}
 html body #workspaceModule .schedule-month-grid{gap:5px;}
 html body #platformHome .workday-weekday,html body #workspaceModule .schedule-weekday{background:transparent!important;color:#607386!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.06em;font-weight:650;padding:8px 0 12px;border:0;}
 html body #platformHome .workday-calendar button,html body #workspaceModule .schedule-month-grid .schedule-month-date{background:transparent!important;color:#34485b!important;border:1px solid transparent!important;border-radius:9px!important;box-shadow:none!important;font-weight:600!important;}
 html body #workspaceModule .schedule-month-grid .schedule-month-date{min-height:56px!important;height:56px!important;padding:9px 3px!important;justify-content:center!important;gap:4px!important;font-size:13px!important;}
 html body #platformHome .workday-calendar button{min-height:34px!important;}
 html body #workspaceModule .schedule-month-date strong{font-weight:650;}
 html body #platformHome .workday-calendar button:is(:nth-child(7n),:nth-child(7n + 1)),html body #workspaceModule .schedule-month-grid .schedule-month-date:is(:nth-child(7n),:nth-child(7n + 1)){color:#64748b!important;}
 html body #platformHome .workday-calendar button[data-appointments=true],html body #workspaceModule .schedule-month-grid .schedule-month-date:has(.schedule-date-count){background:#f1f7fd!important;color:#1b568b!important;}
 html body #workspaceModule .schedule-date-count{background:#e0edfa!important;color:#1764a8!important;font-size:9px;min-width:16px;height:15px;border-radius:4px;}
 html body #platformHome .workday-calendar button[aria-current=date],html body #workspaceModule .schedule-month-grid .schedule-month-date[data-today=true]{background:#edf5ff!important;border-color:#aaccef!important;color:#075fae!important;}
 html body #platformHome .workday-calendar button[aria-pressed=true],html body #workspaceModule .schedule-month-grid .schedule-month-date[aria-pressed=true]{background:#075fae!important;color:#fff!important;border-color:#075fae!important;box-shadow:0 3px 8px #075fae22!important;}
 html body #workspaceModule .schedule-month-date[aria-pressed=true] .schedule-date-count{background:#ffffff26!important;color:#fff!important;}
 html body #platformHome .workday-calendar button[data-jobs=true]:after,html body #workspaceModule .schedule-month-grid .schedule-month-date[data-jobs=true]:after{background:#159a82;width:5px;height:5px;}
 html body #platformHome .workday-calendar button[aria-pressed=true]:after,html body #workspaceModule .schedule-month-date[aria-pressed=true]:after{background:#70e1c3;}
 html body #workspaceModule .schedule-period-day{background:#fff;border:1px solid #dce5ed;border-radius:10px;}
 html body #workspaceModule .schedule-period-day .schedule-period-appointment{background:#edf5fd!important;border-left:3px solid #3889cc!important;color:#24577c!important;}
 @media(max-width:540px){html body #workspaceModule .schedule-calendar-panel{padding:14px!important;}html body #workspaceModule .schedule-month-grid{gap:3px;}html body #workspaceModule .schedule-month-grid .schedule-month-date{min-height:44px!important;height:44px!important;padding:5px 2px!important;font-size:12px!important;}html body #workspaceModule .schedule-panel-heading{margin-bottom:10px;padding-bottom:12px;}}
}}
/* FINAL135: desktop keeps only compact search/account controls, without a header bar. */
@media screen and (min-width:801px){
 html body #stormcoreApp{padding-top:0!important;}
 html body #stormcoreApp>.sc-mobile-app-header{position:fixed!important;inset:16px 24px auto auto;width:auto;height:36px;min-height:36px;box-sizing:border-box;padding:0;gap:8px;background:transparent!important;border:0!important;box-shadow:none!important;}
 html body #stormcoreApp>.sc-mobile-app-header .sc-mobile-app-brand{display:none!important;}
 html body #stormcoreApp>.sc-mobile-app-header :is(.workspace-search,.sc-header-account){margin:0!important;}
 html body #stormcoreApp>.sc-mobile-app-header :is(.workspace-quick-toggle,.sc-account-trigger){width:36px;height:36px;min-height:36px;padding:7px;border-color:#b4cadd;background:#f5faff;color:#173d59;}
 html body #stormcoreApp>.sc-mobile-app-header .sc-account-trigger span{display:none;}
 html body #stormcoreApp>.production-sidebar{top:0!important;}
 html body #stormcoreApp :is(.workspace-heading,#workspaceModule .module-heading,#productionWorkspace>.production-heading){padding-right:104px!important;}
}
/* FINAL138: slim translucent desktop utility row with aligned Home actions. */
@media screen and (min-width:801px){
 html body #stormcoreApp{padding-top:56px!important;}
 html body #stormcoreApp>.sc-mobile-app-header{inset:0 0 auto 208px;width:auto;height:56px;min-height:56px;padding:10px 24px;justify-content:flex-end;background:rgba(255,255,255,.42)!important;border-bottom:1px solid #ffffff70!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
 html body #stormcoreApp #platformHome .workspace-create-actions{position:fixed;top:10px;right:116px;z-index:1501;height:36px;margin:0!important;gap:8px;flex-wrap:nowrap;align-items:center;}
 html body #stormcoreApp #platformHome .workspace-create-actions button{height:36px!important;min-height:36px!important;padding:6px 12px!important;font-size:12px!important;white-space:nowrap;box-sizing:border-box;}
 html body:is(.workflow-focus-mode,.app-work-mode) #stormcoreApp{padding-top:0!important;}
 html body:is(.workflow-focus-mode,.app-work-mode) #stormcoreApp #platformHome .workspace-create-actions{display:none!important;}
}
@layer stormcore-compact{@media screen and (min-width:801px){html body #stormcoreApp #platformHome .workspace-heading .workspace-create-actions button{height:36px!important;min-height:36px!important;padding:6px 12px!important;box-sizing:border-box!important;}}}
@media screen and (min-width:801px){html body #stormcoreApp>.sc-mobile-app-header{height:56px!important;min-height:56px!important;box-sizing:border-box!important;padding:10px 24px!important;border-bottom:0!important;align-items:center!important;}}

/* FINAL139: title and current Central date/time, aligned with desktop utilities. */
.sc-header-context{display:none;}
@media screen and (min-width:801px){
 html body #stormcoreApp .sc-header-context{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;justify-content:center;gap:3px;margin-right:auto;color:#173d59;}
 html body #stormcoreApp .sc-header-context strong{font:700 15px/1.2 var(--font-ui,Manrope,system-ui);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 html body #stormcoreApp .sc-header-context time{font:500 10px/1.3 var(--font-ui,Manrope,system-ui);color:#5e7589;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 html body[data-platform-view=home] #stormcoreApp .sc-header-context{margin-right:220px;}
 html body #platformHome .workspace-heading>div:first-child,html body #platformHome .workspace-date-ribbon,html body #workspaceModule .module-heading h1,html body #productionWorkspace>.production-heading h1,html body #productionWorkspace>.production-heading time{display:none!important;}
 html body #stormcoreApp #platformHome .workspace-heading{min-height:0!important;height:0!important;padding:0!important;margin:0!important;}
}

@media screen and (min-width:801px){html body #stormcoreApp #platformHome .workspace-heading{margin-bottom:16px!important;}}

/* FINAL140: owner explicitly requests vibrant calendar colors. */
@layer stormcore-compact{@media screen{
 html body #workspaceModule .schedule-calendar-panel{background:#f5faff!important;border:1px solid #a6d5fa!important;}
 html body #workspaceModule .schedule-calendar-panel>.schedule-panel-heading{background:linear-gradient(110deg,#075fc7,#009fe3);border:0;border-radius:9px;padding:12px 14px;margin-bottom:12px;}
 html body #workspaceModule .schedule-calendar-panel>.schedule-panel-heading h3{color:#fff!important;}
 html body #platformHome .workday-calendar-heading{background:linear-gradient(110deg,#075fc7,#009fe3);border-radius:8px;padding:8px 10px;}
 html body #platformHome .workday-calendar-heading strong{color:#fff!important;}
 html body #platformHome .workday-weekday,html body #workspaceModule .schedule-weekday{background:#d4eaff!important;color:#125299!important;border-radius:5px;padding:7px 0;font-weight:750;}
 html body #platformHome .workday-weekday:is(:first-child,:nth-child(7)),html body #workspaceModule .schedule-weekday:is(:first-child,:nth-child(7)){background:#ffe4b8!important;color:#8b4309!important;}
 html body #platformHome .workday-calendar button,html body #workspaceModule .schedule-month-grid .schedule-month-date{background:#dceeff!important;border-color:#b6d9fa!important;color:#164c80!important;}
 html body #platformHome .workday-calendar button:is(:nth-child(7n),:nth-child(7n + 1)),html body #workspaceModule .schedule-month-grid .schedule-month-date:is(:nth-child(7n),:nth-child(7n + 1)){background:#fff0d8!important;border-color:#ffd49a!important;color:#985008!important;}
 html body #platformHome .workday-calendar button[data-appointments=true],html body #workspaceModule .schedule-month-grid .schedule-month-date:has(.schedule-date-count){background:#e9ddff!important;border-color:#c8adfc!important;color:#6732b5!important;}
 html body #platformHome .workday-calendar button[data-jobs=true],html body #workspaceModule .schedule-month-grid .schedule-month-date[data-jobs=true]{background:#cdf5e8!important;border-color:#83d9bc!important;color:#096a52!important;}
 html body #workspaceModule .schedule-date-count{background:#7c3aed!important;color:#fff!important;}
 html body #platformHome .workday-calendar button[aria-current=date],html body #workspaceModule .schedule-month-grid .schedule-month-date[data-today=true]{background:#ffdf9e!important;border:2px solid #ee9b22!important;color:#824007!important;}
 html body #platformHome .workday-calendar button[aria-pressed=true],html body #workspaceModule .schedule-month-grid .schedule-month-date[aria-pressed=true]{background:#075fae!important;border-color:#075fae!important;color:#fff!important;box-shadow:inset 0 -4px 0 #16c8ee,0 3px 8px #075fae33!important;}
 html body #workspaceModule .schedule-month-date[aria-pressed=true] .schedule-date-count{background:#fff!important;color:#6d28d9!important;}
}}

/* FINAL141: consistent calendar geometry, unaffected by general button density. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #platformHome .workday-calendar,html body #stormcoreApp #workspaceModule .schedule-month-grid{gap:6px!important;}
 html body #stormcoreApp #platformHome .workday-calendar button,html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;}
 html body #stormcoreApp #platformHome .workday-calendar button{height:34px!important;min-height:34px!important;padding:3px 0!important;}
 html body #stormcoreApp :is(.workspace-calendar-controls,.schedule-month-arrows){display:flex;align-items:center;gap:8px!important;}
 html body #stormcoreApp :is(.workspace-calendar-controls,.schedule-month-arrows) button{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;flex:0 0 36px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
 @media(max-width:540px){html body #stormcoreApp #workspaceModule .schedule-month-grid{gap:4px!important;}}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp #platformHome .workday-calendar button{min-height:40px!important;height:40px!important;}html body #stormcoreApp :is(.workspace-calendar-controls,.schedule-month-arrows) button{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important;}}
}}

@media screen and (min-width:801px) and (max-width:1100px){html body #platformHome .workday-columns{grid-template-columns:minmax(0,1fr)!important;}}

/* FINAL143: modern homepage calendar only. Schedule calendar stays unchanged. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #platformHome .workspace-panel:has(.workday-calendar){padding:18px!important;border:1px solid #c9d9e7!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 4px 18px #163a5a0a!important;}
 html body #stormcoreApp #platformHome .workspace-panel:has(.workday-calendar)>.workspace-panel-heading{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);}
 html body #stormcoreApp #platformHome .workday-calendar-heading{margin:-18px -18px 12px!important;padding:18px!important;background:linear-gradient(115deg,#103a62,#0669c6 80%,#008de0)!important;border-radius:0!important;display:flex!important;justify-content:space-between!important;gap:12px!important;}
 html body #stormcoreApp #platformHome .workday-calendar-heading strong{flex:1!important;min-width:0;font-size:16px!important;line-height:1.3!important;text-align:left!important;letter-spacing:-.025em;color:#fff!important;}
 html body #stormcoreApp #platformHome .workspace-calendar-controls{gap:8px!important;flex:0 0 auto;}
 html body #stormcoreApp #platformHome .workspace-calendar-controls button{background:#ffffff14!important;border:1px solid #ffffff55!important;color:#fff!important;border-radius:9px!important;box-shadow:none!important;}
 html body #stormcoreApp #platformHome .workspace-calendar-controls button:hover{background:#ffffff2c!important;}
 html body #stormcoreApp #platformHome .workday-calendar{margin-top:0!important;gap:6px!important;}
 html body #stormcoreApp #platformHome .workday-calendar .workday-weekday{background:transparent!important;color:#5b738b!important;border:0!important;border-radius:0!important;font-size:10px!important;letter-spacing:.02em;text-transform:uppercase;font-weight:700!important;padding:8px 0!important;}
 html body #stormcoreApp #platformHome .workday-calendar button{height:42px!important;min-height:42px!important;padding:0!important;border:1px solid transparent!important;border-radius:10px!important;background:#f1f7fd!important;color:#23496c!important;box-shadow:none!important;font-size:12px!important;font-weight:650!important;transition:background .12s ease;}
 html body #stormcoreApp #platformHome .workday-calendar button:is(:nth-child(7n),:nth-child(7n + 1)){background:#e6f3ff!important;color:#1763a1!important;border-color:transparent!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[data-appointments=true]{background:#e9ddff!important;color:#6732b5!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[data-jobs=true]{background:#cdf5e8!important;color:#096a52!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[aria-current=date]{background:#0769d5!important;color:#fff!important;border:1px solid #0769d5!important;box-shadow:0 3px 8px #0769d52b!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[aria-current=date]:after{background:#fff!important;}
 html body #stormcoreApp #platformHome .workday-calendar button:hover{background:#d3e9ff!important;color:#164c80!important;}
 html body #stormcoreApp #platformHome .workday-calendar button:focus-visible{outline:2px solid #1587ee!important;outline-offset:2px!important;}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp #platformHome .workday-calendar button{height:44px!important;min-height:44px!important;}}
 @media(prefers-reduced-motion:reduce){html body #stormcoreApp #platformHome .workday-calendar button{transition:none;}}
}}

@layer stormcore-compact{@media screen{html body #stormcoreApp #platformHome .workspace-panel:has(.workday-calendar){overflow:hidden!important;}}}

/* FINAL144: smaller homepage calendar month header. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #platformHome .workday-calendar-heading{padding:10px 18px!important;min-height:0!important;}
 html body #stormcoreApp #platformHome .workday-calendar-heading strong{font-size:14px!important;}
}}

/* FINAL145: approved StormCore identity, scoped to the Home calendar. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #platformHome .workspace-panel:has(.workday-calendar){border-color:#90bddd!important;background:linear-gradient(145deg,#fff,#edf6ff)!important;}
 html body #stormcoreApp #platformHome .workday-calendar-heading{position:relative;isolation:isolate;background:linear-gradient(110deg,#0c1c2f,#103451)!important;border-bottom:2px solid #149bed;}
 html body #stormcoreApp #platformHome .workday-calendar-heading::before{content:'';position:absolute;z-index:-1;width:100px;height:100px;right:70px;top:calc(50% - 50px);background:url('stormcore-approved-blue-swirl.png') center/contain no-repeat;opacity:.24;pointer-events:none;}
 html body #stormcoreApp #platformHome .workday-calendar-heading strong{display:flex;align-items:center;gap:8px;color:#f1f8ff!important;}
 html body #stormcoreApp #platformHome .workday-calendar-heading strong::before{content:'';display:block;flex:0 0 22px;width:22px;height:22px;background:url('stormcore-approved-blue-swirl.png') center/contain no-repeat;}
 html body #stormcoreApp #platformHome .workspace-calendar-controls button{background:#123a59!important;border-color:#33759e!important;color:#77d8ff!important;}
 html body #stormcoreApp #platformHome .workspace-calendar-controls button:hover{background:#075fae!important;color:#fff!important;}
 html body #stormcoreApp #platformHome .workday-calendar .workday-weekday{color:#1a6698!important;border-bottom:1px solid #cce3f3!important;}
 html body #stormcoreApp #platformHome .workday-calendar button{background:#e8f3ff!important;color:#144f7d!important;border-color:#d2e7f9!important;}
 html body #stormcoreApp #platformHome .workday-calendar button:is(:nth-child(7n),:nth-child(7n + 1)){background:#d8eeff!important;color:#075b9a!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[data-appointments=true]{background:#d7eaff!important;color:#07569e!important;border-color:#89bced!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[data-jobs=true]{background:#cff4e9!important;color:#08664f!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[aria-current=date]{background:#0769d5!important;color:#fff!important;border-color:#129cf3!important;box-shadow:inset 0 -3px 0 #24c8ec,0 3px 8px #0769d52b!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[data-appointments=true]:after{background:#087cd1!important;}
 html body #stormcoreApp #platformHome .workday-calendar button[aria-current=date]:after{background:#fff!important;}
}}

@layer stormcore-compact{@media screen{html body #stormcoreApp #platformHome .workday-calendar-heading{overflow:hidden!important;}}}

/* FINAL147: Schedule uses the same Home calendar presentation. */
/* FINAL147: modern homepage calendar only. Schedule calendar stays unchanged. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel{padding:18px!important;border:1px solid #c9d9e7!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 4px 18px #163a5a0a!important;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.workspace-panel-heading{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading{margin:-18px -18px 12px!important;padding:18px!important;background:linear-gradient(115deg,#103a62,#0669c6 80%,#008de0)!important;border-radius:0!important;display:flex!important;justify-content:space-between!important;gap:12px!important;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading h3{flex:1!important;min-width:0;font-size:16px!important;line-height:1.3!important;text-align:left!important;letter-spacing:-.025em;color:#fff!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-arrows{gap:8px!important;flex:0 0 auto;}
 html body #stormcoreApp #workspaceModule .schedule-month-arrows button{background:#ffffff14!important;border:1px solid #ffffff55!important;color:#fff!important;border-radius:9px!important;box-shadow:none!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-arrows button:hover{background:#ffffff2c!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid{margin-top:0!important;gap:6px!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-weekday{background:transparent!important;color:#5b738b!important;border:0!important;border-radius:0!important;font-size:10px!important;letter-spacing:.02em;text-transform:uppercase;font-weight:700!important;padding:8px 0!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date{height:42px!important;min-height:42px!important;padding:0!important;border:1px solid transparent!important;border-radius:10px!important;background:#f1f7fd!important;color:#23496c!important;box-shadow:none!important;font-size:12px!important;font-weight:650!important;transition:background .12s ease;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:is(:nth-child(7n),:nth-child(7n + 1)){background:#e6f3ff!important;color:#1763a1!important;border-color:transparent!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:has(.schedule-date-count){background:#e9ddff!important;color:#6732b5!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date[data-jobs=true]{background:#cdf5e8!important;color:#096a52!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:is([data-today=true],[aria-pressed=true]){background:#0769d5!important;color:#fff!important;border:1px solid #0769d5!important;box-shadow:0 3px 8px #0769d52b!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:is([data-today=true],[aria-pressed=true]):after{background:#fff!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:hover{background:#d3e9ff!important;color:#164c80!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:focus-visible{outline:2px solid #1587ee!important;outline-offset:2px!important;}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date{height:44px!important;min-height:44px!important;}}
 @media(prefers-reduced-motion:reduce){html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date{transition:none;}}
}}

@layer stormcore-compact{@media screen{html body #stormcoreApp #workspaceModule .schedule-calendar-panel{overflow:hidden!important;}}}

/* FINAL147: smaller homepage calendar month header. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading{padding:10px 18px!important;min-height:0!important;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading h3{font-size:14px!important;}
}}

/* FINAL147: approved StormCore identity, scoped to the Home calendar. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel{border-color:#90bddd!important;background:linear-gradient(145deg,#fff,#edf6ff)!important;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading{position:relative;isolation:isolate;background:linear-gradient(110deg,#0c1c2f,#103451)!important;border-bottom:2px solid #149bed;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading::before{content:'';position:absolute;z-index:-1;width:100px;height:100px;right:70px;top:calc(50% - 50px);background:url('stormcore-approved-blue-swirl.png') center/contain no-repeat;opacity:.24;pointer-events:none;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading h3{display:flex;align-items:center;gap:8px;color:#f1f8ff!important;}
 html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading h3::before{content:'';display:block;flex:0 0 22px;width:22px;height:22px;background:url('stormcore-approved-blue-swirl.png') center/contain no-repeat;}
 html body #stormcoreApp #workspaceModule .schedule-month-arrows button{background:#123a59!important;border-color:#33759e!important;color:#77d8ff!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-arrows button:hover{background:#075fae!important;color:#fff!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-weekday{color:#1a6698!important;border-bottom:1px solid #cce3f3!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date{background:#e8f3ff!important;color:#144f7d!important;border-color:#d2e7f9!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:is(:nth-child(7n),:nth-child(7n + 1)){background:#d8eeff!important;color:#075b9a!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:has(.schedule-date-count){background:#d7eaff!important;color:#07569e!important;border-color:#89bced!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date[data-jobs=true]{background:#cff4e9!important;color:#08664f!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:is([data-today=true],[aria-pressed=true]){background:#0769d5!important;color:#fff!important;border-color:#129cf3!important;box-shadow:inset 0 -3px 0 #24c8ec,0 3px 8px #0769d52b!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:has(.schedule-date-count):after{background:#087cd1!important;}
 html body #stormcoreApp #workspaceModule .schedule-month-grid .schedule-month-date:is([data-today=true],[aria-pressed=true]):after{background:#fff!important;}
}}

@layer stormcore-compact{@media screen{html body #stormcoreApp #workspaceModule .schedule-calendar-panel>.schedule-panel-heading{overflow:hidden!important;}}}
@layer stormcore-compact{@media screen{html body #stormcoreApp #workspaceModule .schedule-month-arrows svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}html body #stormcoreApp #workspaceModule .schedule-month-date .schedule-date-count{height:14px;min-width:15px;padding:0 3px;border-radius:4px;background:#087cd1!important;color:#fff!important;}html body #stormcoreApp #workspaceModule .schedule-month-date[aria-pressed=true] .schedule-date-count{background:#ffffff2b!important;color:#fff!important;}}}

/* FINAL148: coherent StormCore Schedule workspace, scoped away from Home/navigation. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #workspaceModule:has(.schedule-workspace){background:#eef4fa!important;}
 html body #stormcoreApp #workspaceModule .schedule-toolbar{display:grid!important;grid-template-columns:minmax(150px,1fr) auto minmax(170px,1fr) auto;gap:12px!important;align-items:center!important;background:#fff;border:1px solid #cbddeb;border-radius:12px;padding:16px!important;margin:0 0 16px!important;box-shadow:0 2px 8px #163a5a05;}
 html body #stormcoreApp #workspaceModule .schedule-toolbar :is(input,select){width:100%;min-width:0;min-height:40px!important;height:40px!important;padding:7px 10px;border:1px solid #bdd1e2;border-radius:8px;background:#f7fbff;font:500 13px var(--font-ui,Manrope,system-ui);}
 html body #stormcoreApp #workspaceModule .schedule-period-controls{display:flex;gap:6px;flex-wrap:nowrap;align-items:center;}
 html body #stormcoreApp #workspaceModule .schedule-period-controls button{margin:0!important;min-height:36px!important;white-space:nowrap;background:#f2f7fc!important;border-color:#d2e2ef!important;color:#235879!important;}
 html body #stormcoreApp #workspaceModule .schedule-toolbar .schedule-add-appointment{margin:0!important;min-height:40px!important;background:#075fae!important;color:white!important;white-space:nowrap;padding:7px 12px!important;}
 html body #stormcoreApp #workspaceModule .schedule-tabs{display:inline-flex;flex-wrap:wrap;gap:4px!important;max-width:100%;box-sizing:border-box;margin:0 0 16px!important;padding:4px!important;border:1px solid #cbddeb;border-radius:10px;background:#fff;}
 html body #stormcoreApp #workspaceModule .schedule-tabs button{margin:0!important;background:transparent!important;color:#365e7b!important;border:1px solid transparent!important;border-radius:7px!important;min-height:34px!important;padding:6px 12px!important;}
 html body #stormcoreApp #workspaceModule .schedule-tabs button[aria-pressed=true]{background:#075fae!important;color:#fff!important;border-color:#075fae!important;}
 html body #stormcoreApp #workspaceModule .schedule-dashboard{margin:0 0 20px!important;gap:20px;}
 html body #stormcoreApp #workspaceModule .schedule-map-panel{padding:18px!important;border:1px solid #90bddd;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 4px 18px #163a5a0a;}
 html body #stormcoreApp #workspaceModule .schedule-map-panel>.schedule-panel-heading{margin:-18px -18px 14px;padding:10px 18px;min-height:36px;box-sizing:content-box;background:linear-gradient(110deg,#0c1c2f,#103451);border:0;border-bottom:2px solid #149bed;}
 html body #stormcoreApp #workspaceModule .schedule-map-panel>.schedule-panel-heading h3{color:#fff!important;font-size:14px!important;font-weight:700;}
 html body #stormcoreApp #workspaceModule .schedule-map-panel>.schedule-panel-heading>span{color:#8fd5fa;}
 html body #stormcoreApp #workspaceModule .schedule-map-surface{min-height:260px!important;border:1px solid #d4e3ef;border-radius:10px;background:#eef6fd;}
 html body #stormcoreApp #workspaceModule .schedule-open-map{height:300px!important;}
 html body #stormcoreApp #workspaceModule .schedule-route-summary{max-height:180px;margin:12px 0 0;font-size:12px;}
 html body #stormcoreApp #workspaceModule .schedule-route-summary li{padding:8px 4px;border-bottom:1px solid #e6eef5;}
 html body #stormcoreApp #workspaceModule .schedule-stop{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:16px;margin:0 0 10px;border:1px solid #d3e1ec;border-left:3px solid #158bea;border-radius:10px;background:#fff;}
 html body #stormcoreApp #workspaceModule .schedule-stop strong{font:700 14px/1.5 var(--font-ui,Manrope,system-ui);color:#123d5e;overflow-wrap:anywhere;}
 html body #stormcoreApp #workspaceModule .schedule-stop p{font:500 12px/1.5 var(--font-ui,Manrope,system-ui);color:#526d82;margin:4px 0;}
 html body #stormcoreApp #workspaceModule .schedule-stop small{color:#456d8a;font-size:11px;}
 html body #stormcoreApp #workspaceModule .schedule-stop button{margin:0!important;white-space:nowrap;}
 html body #stormcoreApp #workspaceModule .schedule-workspace>p:not(.schedule-note){padding:20px;border:1px dashed #bdd2e3;border-radius:10px;background:#f8fbff;color:#526d82;font-size:13px;}
 html body #stormcoreApp #workspaceModule .schedule-period-day{padding:12px;background:#fff;border:1px solid #cbddeb;border-radius:12px;}
 html body #stormcoreApp #workspaceModule .schedule-period-day>button:first-child{background:#103451!important;color:#fff!important;border:0!important;border-radius:7px!important;padding:8px!important;}
 html body #stormcoreApp #workspaceModule .schedule-job-date{margin:4px 6px 6px 0!important;background:#d8f2e9!important;color:#0b6750!important;border-color:#8ccfbc!important;}
 @media(max-width:1200px){html body #stormcoreApp #workspaceModule .schedule-toolbar{grid-template-columns:minmax(0,1fr) auto;}html body #stormcoreApp #workspaceModule .schedule-stop{grid-template-columns:1fr 1fr;}html body #stormcoreApp #workspaceModule .schedule-stop>div{grid-column:1/-1;}html body #stormcoreApp #workspaceModule .schedule-stop button{width:100%;white-space:normal;}}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp #workspaceModule .schedule-toolbar :is(input,select,button),html body #stormcoreApp #workspaceModule .schedule-tabs button{min-height:44px!important;}html body #stormcoreApp #workspaceModule .schedule-toolbar :is(input,select){height:44px!important;}}
 @media(max-width:540px){html body #stormcoreApp #workspaceModule .schedule-toolbar{grid-template-columns:minmax(0,1fr);padding:12px!important;gap:10px!important;}html body #stormcoreApp #workspaceModule .schedule-period-controls button{flex:1;}html body #stormcoreApp #workspaceModule .schedule-period-controls{width:100%;}html body #stormcoreApp #workspaceModule .schedule-tabs{display:flex;}html body #stormcoreApp #workspaceModule .schedule-tabs button{flex:1;min-width:0;padding:6px 8px!important;}html body #stormcoreApp #workspaceModule .schedule-stop{padding:12px;gap:8px;}html body #stormcoreApp #workspaceModule .schedule-dashboard{gap:14px;}}
}}
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #workspaceModule .schedule-tabs{background:#fff!important;border-color:#cbddeb!important;}
 html body #stormcoreApp #workspaceModule .schedule-map-surface{height:300px!important;min-height:260px!important;}
 html body #stormcoreApp #workspaceModule .schedule-route-summary{max-height:180px!important;}
 html body #stormcoreApp #workspaceModule .schedule-map-panel>.schedule-panel-heading>span{color:#8fd5fa!important;}
 @media(min-width:801px){html body #stormcoreApp #workspaceModule:has(.schedule-workspace)>.module-heading{height:0!important;min-height:0!important;padding:0!important;margin:0!important;}}
}}

/* FINAL149: simpler, compact Production summaries. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #productionWorkspace{background:#edf1f5!important;}
 html body #stormcoreApp #productionWorkspace .production-heading p,html body #stormcoreApp #productionWorkspace .production116-list-heading>span,html body #stormcoreApp #productionWorkspace #board .dispatch-date{display:none!important;}
 html body #stormcoreApp #productionWorkspace>.production-heading{min-height:36px!important;margin-bottom:10px!important;}
 html body #stormcoreApp #productionWorkspace :is(.production-controls,.dispatch-view-tools){border-color:#c4d1dd!important;background:#fff!important;box-shadow:none!important;}
 html body #stormcoreApp #productionWorkspace #rows{gap:10px!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row{border-color:#bfceda!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row>div{padding:8px 12px!important;}
 html body #stormcoreApp #productionWorkspace #board :is(.customer-cell,.status-cell){padding:8px 12px!important;gap:3px!important;}
 html body #stormcoreApp #productionWorkspace #board .customer-expand strong{font-size:14px!important;color:#12314a!important;}
 html body #stormcoreApp #productionWorkspace #board .dispatch-address{color:#4b657a!important;font-size:12px!important;}
 html body #stormcoreApp #productionWorkspace #board .status-cell .record-name{background:#fff!important;border-color:#bccfdd!important;color:#24445f!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row :is(.marker-cell,.dispatch-permit-cell,.contractor-cell){min-height:68px!important;padding:8px 6px!important;background:#f5f8fb!important;border-top:1px solid #d5e1eb!important;gap:4px!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row :is(.marker-cell,.dispatch-permit-cell,.contractor-cell):before{font-size:11px!important;color:#456078!important;letter-spacing:0!important;font-weight:650!important;}
 html body #stormcoreApp #productionWorkspace #board .marker-cell .dot{width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;border-radius:6px!important;border-color:#a9bed0!important;background:#fff!important;color:#4b6f8d!important;}
 html body #stormcoreApp #productionWorkspace #board .marker-cell[data-ready=true] .dot{background:#d9f2e5!important;border-color:#79bc98!important;color:#166b42!important;}
 html body #stormcoreApp #productionWorkspace #board .production116-step-icon{width:15px!important;height:15px!important;}
 html body #stormcoreApp #productionWorkspace #board .production116-step-caption{color:#526c80;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .resource-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px!important;width:100%;min-width:0;padding:3px 0!important;border:0!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .resource-line>small{display:none!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .resource-line .resource-link{min-height:28px!important;padding:3px 5px!important;background:transparent!important;border-color:transparent!important;color:#1d527d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;text-align:left!important;font-size:11px!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contact-actions{display:flex!important;gap:3px!important;margin:0!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contact-actions a{width:24px!important;min-width:24px!important;height:28px!important;min-height:28px!important;padding:4px!important;box-sizing:border-box!important;border:0!important;background:transparent!important;display:inline-flex!important;align-items:center;justify-content:center;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contact-label{display:none!important;}
 html body #stormcoreApp #productionWorkspace #board .dispatch-row-actions button{background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:#075fae!important;}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp #productionWorkspace #board .marker-cell .dot{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;}html body #stormcoreApp #productionWorkspace #board .contractor-cell .resource-line{grid-template-columns:minmax(0,1fr);}html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contact-actions a{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;}html body #stormcoreApp #productionWorkspace #board .contractor-cell .resource-line .resource-link{min-height:40px!important;white-space:normal!important;}}
 @media(max-width:700px){html body #stormcoreApp #productionWorkspace #board .dispatch-job-id{padding:8px 12px 0!important;}html body #stormcoreApp #productionWorkspace #board .status-cell{padding:0 12px 8px!important;}}
}}
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contractor-edit{min-height:28px!important;padding:3px 0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#1d527d!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row[data-production-status='In Progress']{border-left-color:#1584d9!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row[data-production-status='Complete']{border-left-color:#38916a!important;}
 @media(max-width:800px),(pointer:coarse){html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contractor-edit{min-height:40px!important;white-space:normal!important;}}
}}

/* FINAL150: ONE horizontal row per customer/job; identity is left of readiness. */
@layer stormcore-compact{@media screen{
 html body #stormcoreApp #productionWorkspace .board-wrap{overflow:auto!important;border:1px solid #bfceda!important;border-radius:8px!important;background:#fff!important;}
 html body #stormcoreApp #productionWorkspace #board{min-width:1120px!important;--production-columns:minmax(190px,1.8fr) repeat(3,minmax(68px,.65fr)) minmax(86px,.8fr) minmax(160px,1.5fr) minmax(170px,1.6fr) minmax(76px,.7fr) minmax(68px,.65fr);}
 html body #stormcoreApp #productionWorkspace .production150-columns{display:grid;grid-template-columns:var(--production-columns);background:#edf3f8;border-bottom:1px solid #b8cddd;color:#31546d;font-size:11px;font-weight:650;}
 html body #stormcoreApp #productionWorkspace .production150-columns>div{padding:12px 8px;min-width:0;text-align:center;}
 html body #stormcoreApp #productionWorkspace .production150-columns>div:first-child{text-align:left;padding-left:14px;}
 html body #stormcoreApp #productionWorkspace #rows{gap:0!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row{grid-template-columns:var(--production-columns)!important;grid-template-rows:auto!important;border:0!important;border-bottom:1px solid #d5e0e9!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row:last-child{border-bottom:0!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row>div{grid-row:1!important;align-self:stretch!important;order:0!important;border-top:0!important;background:transparent!important;padding:10px 8px!important;}
 html body #stormcoreApp #productionWorkspace #board .dispatch-job-id{display:none!important;}
 html body #stormcoreApp #productionWorkspace #board .customer-cell{grid-column:1!important;padding:10px 14px!important;justify-content:center!important;}
 html body #stormcoreApp #productionWorkspace #board .customer-expand{min-height:28px!important;}
 html body #stormcoreApp #productionWorkspace #board .customer-expand strong{font-size:13px!important;}
 html body #stormcoreApp #productionWorkspace #board .marker-cell[data-marker=deposit1]{grid-column:2!important;}
 html body #stormcoreApp #productionWorkspace #board .marker-cell[data-marker=dumpster]{grid-column:3!important;}
 html body #stormcoreApp #productionWorkspace #board .marker-cell[data-marker=materials]{grid-column:4!important;}
 html body #stormcoreApp #productionWorkspace #board .dispatch-permit-cell{grid-column:5!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell{grid-column:6!important;}
 html body #stormcoreApp #productionWorkspace #board .status-cell{grid-column:7!important;justify-content:center!important;}
 html body #stormcoreApp #productionWorkspace #board .marker-cell[data-marker=deposit2]{grid-column:8!important;}
 html body #stormcoreApp #productionWorkspace #board .dispatch-row-actions{grid-column:9!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;padding:10px 4px!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row :is(.marker-cell,.dispatch-permit-cell,.contractor-cell){justify-content:center!important;min-height:0!important;}
 html body #stormcoreApp #productionWorkspace #board .job-row :is(.marker-cell,.dispatch-permit-cell,.contractor-cell):before{display:none!important;content:none!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .resource-line{grid-template-columns:minmax(0,1fr) auto!important;}
 html body #stormcoreApp #productionWorkspace #board .contractor-cell .jpb-contractor-edit{white-space:nowrap!important;}
 html body #stormcoreApp #productionWorkspace #board .dispatch-row-actions button{width:100%!important;}
 html body #stormcoreApp #productionWorkspace .board-wrap:focus-visible{outline:2px solid #158bea;outline-offset:3px;}
}}
@layer stormcore-compact{@media screen{html body #stormcoreApp #productionWorkspace #board .job-row :is(.marker-cell,.dispatch-permit-cell,.contractor-cell){background:transparent!important;}html body #stormcoreApp #productionWorkspace #board .job-row:hover{background:#f7fbff!important;}}}
