/* .41.98: only generated department landing cards; no business forms, routes,
   editor canvas, custom authored content, role states or global button overrides. */
html.fsg-ui #v8-content .fsg-department-workspace {container-name:fsg-departments;container-type:inline-size}
html.fsg-ui #v8-content .fsg-department-toolbar {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 18px;padding:0 0 14px;margin:20px 0;border-bottom:1px solid var(--fsg-line)}
html.fsg-ui #v8-content .fsg-department-filters {display:inline-flex;max-width:100%;flex-wrap:wrap;border:1px solid var(--fsg-ctrl-border);border-radius:8px;background:var(--fsg-gloss);box-shadow:var(--fsg-shadow-1);overflow:hidden}
html.fsg-ui #v8-content .fsg-department-filter {display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:9px 18px;min-height:36px;min-width:0;border:0;border-right:1px solid var(--fsg-line);border-radius:0;background:transparent;color:var(--fsg-text);font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;box-shadow:none;white-space:nowrap}
html.fsg-ui #v8-content .fsg-department-filter:last-child {border-right:0}
html.fsg-ui #v8-content .fsg-department-filter:hover {background:var(--fsg-gloss-hover)}
html.fsg-ui #v8-content .fsg-department-filter[aria-pressed="true"] {color:var(--fsg-orange-ink);background:var(--fsg-surface-2);box-shadow:inset 0 -2px var(--fsg-orange)}
html.fsg-ui #v8-content .fsg-department-count {display:inline-flex;align-items:center;justify-content:center;min-width:19px;min-height:18px;padding:1px 5px;border-radius:12px;background:var(--fsg-neutral-chip);color:var(--fsg-text);font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums}
html.fsg-ui #v8-content .fsg-department-filter[aria-pressed="true"] .fsg-department-count {background:var(--fsg-orange-ink);color:var(--fsg-surface)}
html.fsg-ui #v8-content .fsg-department-total {font-size:12px;color:var(--fsg-text-muted);line-height:1.4;font-variant-numeric:tabular-nums}
html.fsg-ui #v8-content .fsg-department-grid {display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:stretch;gap:14px!important;padding:0!important;margin:0 0 24px!important;min-width:0}
html.fsg-ui #v8-content .fsg-department-grid > .fsg-department-card {display:flex!important;flex-direction:column;align-items:stretch;gap:10px;min-width:0;min-height:0!important;max-width:none!important;height:auto!important;padding:18px!important;margin:0!important;border:1px solid var(--fsg-line)!important;border-radius:12px!important;background:var(--fsg-surface)!important;color:var(--fsg-text)!important;box-shadow:var(--fsg-shadow-1)!important;grid-column:auto!important;overflow:visible}
html.fsg-ui #v8-content .fsg-department-grid > .fsg-department-card > :is(h2,h4) {display:flex;align-items:flex-start;gap:10px;margin:0!important;min-height:0;min-width:0;color:var(--fsg-text)!important;font-family:inherit;font-size:16px!important;font-weight:600!important;line-height:1.35!important}
html.fsg-ui #v8-content .fsg-department-icon {display:inline-flex;flex:none;align-items:center;justify-content:center;width:18px;height:22px;padding:0;margin:0;color:var(--fsg-orange-ink)}
html.fsg-ui #v8-content .fsg-department-icon svg {display:block;width:18px;height:18px;flex:none;fill:none;stroke:currentColor}
html.fsg-ui #v8-content .fsg-department-name {min-width:0;overflow-wrap:anywhere}
html.fsg-ui #v8-content .fsg-department-grid > .fsg-department-card > p {margin:0!important;color:var(--fsg-text-muted)!important;font-size:14px!important;line-height:1.5!important;min-width:0;overflow-wrap:anywhere}
html.fsg-ui #v8-content .fsg-department-grid > .fsg-department-card > button {align-self:flex-start;display:inline-flex;justify-content:center;align-items:center;margin:2px 0 0!important;margin-top:auto!important;min-height:30px!important;min-width:0!important;height:auto!important;max-width:100%;padding:6px 12px!important;border:1px solid var(--fsg-ctrl-border)!important;border-radius:7px!important;background:var(--fsg-gloss)!important;color:var(--fsg-text)!important;font-family:inherit;font-size:12px!important;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;box-shadow:var(--fsg-shadow-1)!important}
html.fsg-ui #v8-content .fsg-department-grid > .fsg-department-card > button:hover {background:var(--fsg-gloss-hover)!important}
html.fsg-ui #v8-content .fsg-department-filter:focus-visible {outline:2px solid var(--fsg-orange-ink)!important;outline-offset:-3px}
html.fsg-ui #v8-content .fsg-department-card > button:focus-visible,html.fsg-ui #v8-content .fsg-metric-app-link:focus-visible {outline:2px solid var(--fsg-orange-ink)!important;outline-offset:3px!important}
html.fsg-ui #v8-content .fsg-department-grid > [hidden],html.fsg-ui #v8-content .fsg-department-empty[hidden] {display:none!important}
html.fsg-ui #v8-content .fsg-department-empty {padding:18px;margin:0 0 24px;color:var(--fsg-text-muted);font-size:14px}
html.fsg-ui #v8-content .fsg-department-announcement {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.fsg-ui #v8-content .fsg-department-metrics {display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;margin:0 0 8px!important}
html.fsg-ui #v8-content .fsg-department-metrics > .fsg-department-metric {display:flex;flex-direction:column;gap:6px;padding:18px!important;border:1px solid var(--fsg-line)!important;border-radius:12px;background:var(--fsg-surface)!important;box-shadow:var(--fsg-shadow-1);min-height:110px}
html.fsg-ui #v8-content .fsg-department-metric > strong {display:block;font-size:26px!important;font-weight:600;line-height:1.2;color:var(--fsg-text-muted)!important}
html.fsg-ui #v8-content .fsg-department-metric > span {font-size:13px;line-height:1.4;color:var(--fsg-text-muted)}
html.fsg-ui #v8-content .fsg-metric-app-link {align-self:flex-start;display:inline-block;padding:2px 0!important;margin:auto 0 0!important;min-height:24px!important;height:auto!important;border:0!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;color:var(--fsg-orange-ink)!important;font-size:12px!important;font-family:inherit;line-height:1.4;white-space:normal;text-decoration:underline;text-underline-offset:2px}
html.fsg-ui #v8-content .fsg-department-metric-note {margin:0 0 16px;color:var(--fsg-text-muted);font-size:12px;line-height:1.4}
/* Published app order, component title and surrounding authored content remain.
   Only the generated application's responsive card density is standardized. */
html.fsg-ui #v8-content .fsg-department-workspace .type-application-grid .seb-app-section {padding:0}
html.fsg-ui #v8-content .fsg-department-workspace .type-application-grid .fsg-department-toolbar {margin-top:12px}
@container fsg-departments (max-width:1179px) {html.fsg-ui #v8-content .fsg-department-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important}html.fsg-ui #v8-content .fsg-department-metrics {grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@container fsg-departments (max-width:919px) {html.fsg-ui #v8-content .fsg-department-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@container fsg-departments (max-width:689px) {html.fsg-ui #v8-content .fsg-department-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}html.fsg-ui #v8-content .fsg-department-metrics {grid-template-columns:repeat(2,minmax(0,1fr))!important}html.fsg-ui #v8-content .fsg-department-filter {padding:10px 12px;min-height:40px;font-size:13px}}
@container fsg-departments (max-width:459px) {html.fsg-ui #v8-content .fsg-department-grid {grid-template-columns:1fr!important}html.fsg-ui #v8-content .fsg-department-filters {display:grid;grid-template-columns:1fr 1fr;width:100%}html.fsg-ui #v8-content .fsg-department-filter {min-height:44px;border-bottom:1px solid var(--fsg-line)}html.fsg-ui #v8-content .fsg-department-filter:nth-child(2) {border-right:0}html.fsg-ui #v8-content .fsg-department-filter:nth-child(n+3) {border-bottom:0}html.fsg-ui #v8-content .fsg-department-card > button {min-height:40px!important}html.fsg-ui #v8-content .fsg-metric-app-link {min-height:36px!important}}
@media(forced-colors:active) {html.fsg-ui #v8-content .fsg-department-filter[aria-pressed="true"] {outline:2px solid Highlight;outline-offset:-3px}html.fsg-ui #v8-content .fsg-department-icon {color:CanvasText}html.fsg-ui #v8-content .fsg-department-card {border-color:CanvasText!important}}
/* Use the same light system surfaces around a published department grid.
   These are predefined renderer components, not rich-document HTML or the editor.
   Authored text, component order, warning/emergency treatments and actions remain. */
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .type-application-grid,
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .type-application-grid > .seb-component-body,
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .type-application-grid .seb-app-section {background:transparent!important;border:0!important;box-shadow:none!important;color:var(--fsg-text)!important}
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .type-application-grid .seb-app-section-heading h3 {color:var(--fsg-text)!important;font-size:18px;line-height:1.35}
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .seb-published-grid > :is(.type-site-banner,.type-announcement,.type-policies,.type-kpi,.type-work-queues,.type-site-contacts) {background:transparent!important;border:0!important;box-shadow:none!important}
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published > .seb-policy-card,
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published :is(.type-site-banner .seb-site-banner,.type-announcement .seb-content-card,.type-policies .seb-policy-card,.type-kpi .seb-kpi-card,.type-work-queues .seb-work-queues,.type-site-contacts .seb-content-card) {background:var(--fsg-surface)!important;border:1px solid var(--fsg-line)!important;border-radius:12px;color:var(--fsg-text)!important;box-shadow:var(--fsg-shadow-1)!important;padding:20px!important}
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published :is(.seb-site-banner,.seb-content-card,.seb-policy-card,.seb-kpi-card,.seb-work-queues) :is(h2,h3,strong) {color:var(--fsg-text)!important}
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published :is(.seb-site-banner,.seb-content-card,.seb-policy-card,.seb-kpi-card) > p,
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .seb-policy-card > div > p,
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published :is(.seb-site-banner,.seb-kpi-card) > small,
html.fsg-ui #v8-content .fsg-department-workspace.onefsg-site-experience-published .seb-work-queues > div > span {color:var(--fsg-text-muted)!important}
