/* One surface and the existing shared search input/handler. */
.nimbus-page-actionSchemes #filters,
.nimbus-page-actionSchemes .sidebar > .stats,
.nimbus-page-actionSchemes .main > .map-wrap { display: none; }
.nimbus-page-actionSchemes .main { display: block; }
.nimbus-page-actionSchemes .sidebar { width: 100%; height: 100%; flex: none; }
.nimbus-page-actionSchemes #workList { width: 100%; height: 100%; overflow: hidden; }
.nimbus-page-actionSchemes .sidebar > .search { position: absolute; top: 71.5px; right: 20px; width: 206.484375px; height: 36px; padding: 0; z-index: 1; background: #fff; }
.nimbus-page-actionSchemes .search input { font: 14px/normal Lato,sans-serif; height: 34px; }
.action-schemes-page { display: flex; flex-direction: column; height: 100%; min-width: 1050px; background: #eff3f6; color: #2d2c33; }
.action-schemes-page-header { display: flex; align-items: center; flex: 0 0 60px; padding: 0 246.484375px 0 20px; border-bottom: 1px solid #e6eaee; background: #fff; }
.action-schemes-page-header h1 { flex: 1; margin: 0; font: 400 24px/normal Lato,sans-serif; }
.action-schemes-page-header > button { height: 36px; width: 36px; margin-right: 0; border: 1px solid transparent; border-radius: 4px; background: #32a754; color: #fff; cursor: pointer; padding: 8px; }
.action-schemes-page-header > button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.action-schemes-list { flex: 1; min-height: 0; overflow-y: scroll; overflow-x: hidden; }

/* One card renderer; details reflect Mini's own calendar data. */
.action-scheme-item { margin: 10px 20px 20px; height: 142px; border: 1px solid #e6eaee; border-radius: 4px; background: #fff; }
.action-scheme-item:hover { border-color: #fff; box-shadow: 0 2px 10px rgba(45,44,51,.35); }
.action-scheme-general { display: flex; align-items: flex-start; height: 70px; padding: 20px 20px 0; }
.action-scheme-name { display: block; min-width: 0; max-width: calc(100% - 110px); flex: 1; padding: 0; margin: 0; border: 0; background: transparent; font: 400 24px/normal Lato,sans-serif; color: #2d2c33; text-align: left; cursor: pointer; }
.action-scheme-actions { display: flex; gap: 10px; padding-left: 20px; margin-top: -2px; margin-left: auto; }
.action-scheme-actions button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 7px; border: 1px solid #e6eaee; border-radius: 4px; color: #999da8; background: transparent; opacity: .7; cursor: pointer; }
.action-scheme-actions button:hover:not(:disabled) { opacity: 1; }
.action-scheme-actions svg, .action-scheme-actions img { width: 20px; height: 20px; }
.action-scheme-actions svg { fill: none; stroke: currentColor; stroke-width: 1.4; }
.action-scheme-data { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); height: 68px; }
.action-scheme-data > div { padding: 14px 20px; font: 12px/normal Lato,sans-serif; color: rgba(45,44,51,.7); }
.action-scheme-value { margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2d2c33; }
.action-scheme-item.disabled .action-scheme-name { color: #999da8; }
.action-schemes-page button:focus-visible { outline: 2px solid #4285f4; outline-offset: 2px; }

/* Separate editor state in the same renderer. */
.nimbus-page-actionSchemes .sidebar:has(.is-editing) > .search { display: none; }
.action-scheme-editor-header { display: flex; align-items: center; gap: 0; flex: 0 0 60px; padding: 0 20px; border-bottom: 1px solid #e6eaee; background: white; }
.action-scheme-editor-header > input[type=text] { width: 350px; height: 34px; margin-left: 20px; margin-right: auto; padding: 0 2px; border: 1px solid transparent; outline: 0; border-radius: 3px; font: 24px/normal Lato,sans-serif; color: #2d2c33; }
.action-scheme-editor-header > input:focus { border-color: #4285f4; }
.action-scheme-editor-header > input::placeholder { color: #999da8; }
.action-scheme-editor-header > button { height: 36px; padding: 8px 16px; border: 1px solid transparent; border-radius: 4px; color: #999da8; background: white; font: 14px/normal Lato,sans-serif; cursor: pointer; }
.action-scheme-editor-header .action-scheme-back { width: 24px; height: 24px; padding: 0; font-size: 24px; }
.action-scheme-editor-header #saveActionSchemeButton { background: #32a754; color: white; }
.action-scheme-editor-header #saveActionSchemeButton:disabled { background: #f8fafc; color: #999da8; border-color: #e6eaee; cursor: default; }
.action-scheme-editor-body { flex: 1; min-height: 0; padding: 20px; }
.action-schemes-editor-panel { height: 100%; background: #fff; border: 1px solid #e6eaee; border-radius: 4px; display: flex; flex-direction: column; }
.action-scheme-editor-toolbar { height: 60px; flex: 0 0 60px; display: flex; align-items: flex-start; padding: 11px 20px 0; border-bottom: 1px solid #e6eaee; gap: 20px; }
.action-scheme-weekdays { display: flex; width: 352px; height: 36.5px; border: 1px solid #e6eaee; border-radius: 4px; overflow: hidden; }
.action-scheme-weekdays label { position: relative; flex: 1; cursor: pointer; }
.action-scheme-weekdays input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.action-scheme-weekdays span { display: flex; align-items: center; justify-content: center; height: 100%; border-right: 1px solid #e6eaee; font-size: 12px; background: #f8fafc; }
.action-scheme-weekdays label:last-child span { border: 0; }
.action-scheme-weekdays input:checked + span { background: #32a754; color: white; }
.action-scheme-weekdays input:focus-visible + span { outline: 2px solid #4285f4; outline-offset: -2px; }
.action-scheme-season { height: 35px; width: 152.8125px; padding: 8px 16px; border: 0; border-left: 1px solid #e6eaee; background: white; color: #999da8; font-size: 14px; text-align: left; }
.action-scheme-calendar-scroll { overflow: auto; flex: 1; min-height: 0; }
.action-scheme-calendar { width: 1180px; max-width: 100%; margin: 0 auto; padding: 16px 0 30px; display: grid; grid-template-columns: repeat(4,210px); grid-auto-rows: 209.5px; grid-template-rows: 234px; justify-content: center; gap: 30px 32px; }
.action-scheme-month.first-row { height: 234px; }
.action-scheme-month { display: flex; flex-direction: column; }
.action-scheme-calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); height: 24.5px; font-size: 10px; text-align: center; }
.action-scheme-month h2 { margin: 0; height: 26.5px; flex: 0 0 26.5px; padding: 6px 7px; font-size: 12px; font-weight: 700; }
.action-scheme-month-days { display: grid; grid-template-columns: repeat(7,1fr); grid-template-rows: repeat(var(--calendar-weeks),1fr); flex: 1; font-size: 12px; }
.action-scheme-month-days > span { display: flex; align-items: center; justify-content: center; }
.action-scheme-month-days > .active { background: #e8f4e7; color: #398e30; }
.action-scheme-calendar-note { margin: 0 20px 16px; font-size: 12px; color: #999da8; }
.action-scheme-actions button:disabled { opacity: .5; cursor: default; }
.action-schemes-list:has(.action-schemes-empty) { overflow: hidden; }
.action-schemes-empty { height: 100%; display: flex; align-items: center; justify-content: center; padding: 12px; font-size: 24px; color: #999da8; }

.action-scheme-enabled-control { display: block; margin: 0 20px 10px; font-size: 12px; color: #2d2c33; }

.action-schemes-page-header > button:hover, .action-scheme-editor-header #saveActionSchemeButton:hover:not(:disabled) { background: #03983a; }
