:root {
  font-family: "Segoe UI", "Segoe UI Web (West European)", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #242424;
  background: #fafafa;
  font-synthesis: none;
  --purview-blue: #0f4c81;
  --link-blue: #115ea3;
  --rail: 66px;
  --solution-rail: 188px;
  --commandbar: 38px;
}

* { box-sizing: border-box; }
html, body, #root { min-width: 320px; min-height: 100%; margin: 0; }
body { min-height: 100vh; overflow-x: hidden; background: #fafafa; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: var(--link-blue); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #0f6cbd; outline-offset: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.simulator-app { min-height: 100vh; }
.purview-commandbar { position: fixed; z-index: 100; inset: 0 0 auto 0; height: var(--commandbar); display: flex; align-items: center; color: white; background: var(--purview-blue); }
.command-icon, .purview-brand, .command-actions button { height: 100%; border: 0; color: white; background: transparent; cursor: pointer; }
.command-icon { width: 38px; display: grid; place-items: center; }
.command-icon svg { width: 18px; height: 18px; }
.app-launcher.active { background: rgba(255,255,255,.18); }
.app-launcher-scrim { position: fixed; z-index: 105; inset: var(--commandbar) 0 0; border: 0; background: rgba(20,23,27,.2); cursor: default; }
.app-launcher-popout { position: fixed; z-index: 115; top: calc(var(--commandbar) + 8px); left: 8px; width: min(360px, calc(100vw - 16px)); padding: 17px; border: 1px solid #c8c8c8; border-radius: 6px; color: #242424; background: #fff; box-shadow: 0 12px 32px rgba(20,23,27,.28); }
.app-launcher-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.app-launcher-heading > div { display: flex; flex-direction: column; gap: 3px; }
.app-launcher-heading strong { color: #18384b; font-size: 15px; }
.app-launcher-heading span { color: #666; font-size: 10.5px; }
.app-launcher-heading > button { width: 28px; height: 28px; display: grid; flex: 0 0 auto; place-items: center; margin: -6px -6px 0 0; border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.app-launcher-heading > button:hover { background: #f0f0f0; }
.app-launcher-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-launcher-link { min-width: 0; min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border: 1px solid #ddd; border-radius: 5px; color: #242424; background: #fff; text-align: center; text-decoration: none; }
.app-launcher-link:hover { border-color: #2f5c3d; background: #f7f9f7; }
.app-launcher-link:focus-visible { outline: 2px solid #0f6cbd; outline-offset: 2px; }
.app-launcher-tile-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #2f5c3d; background: #e9f0eb; }
.app-launcher-link:nth-child(2) .app-launcher-tile-icon { color: #9b4d28; background: #fbefe8; }
.app-launcher-link:nth-child(3) .app-launcher-tile-icon { color: #24292f; background: #eef0f2; }
.app-launcher-tile-icon svg { width: 22px; height: 22px; }
.app-launcher-link strong { font-size: 11.5px; }
.app-launcher-link small { overflow: hidden; color: #666; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.app-launcher-navigation { width: 100%; min-height: 34px; display: none; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; border: 1px solid #aaa; border-radius: 3px; background: #fff; cursor: pointer; font-size: 10.5px; }
.app-launcher-navigation svg { width: 15px; height: 15px; }
.purview-brand { padding: 0 10px; font-size: 13px; font-weight: 600; }
.north7-brand { height: 100%; display: flex; align-items: center; gap: 11px; padding: 0 13px 0 8px; border: 0; color: #faf7f1; background: transparent; cursor: pointer; }
.north7-brand img { width: 116px; height: 31px; object-fit: contain; }
.north7-brand span { padding-left: 11px; border-left: 1px solid rgba(250,247,241,.36); font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.purview-search { position: absolute; left: 50%; top: 5px; transform: translateX(-50%); width: min(378px, 38vw); height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 10px; color: #424242; background: #fff; border-radius: 2px; }
.purview-search svg { width: 15px; }
.purview-search input { min-width: 0; flex: 1; border: 0; outline: 0; font-size: 12px; }
.command-resource-links { height: 100%; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.command-resource-links a { height: 100%; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; color: #fff; text-decoration: none; font-size: 10.5px; font-weight: 600; }
.command-resource-links a:hover { background: rgba(255,255,255,.12); }
.command-resource-links a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.command-resource-links svg { width: 12px; height: 12px; }
.command-actions { height: 100%; display: flex; }
.command-actions button { width: 38px; display: grid; place-items: center; }
.command-actions button:hover, .command-icon:hover { background: rgba(255,255,255,.12); }
.command-actions svg { width: 17px; height: 17px; }
.command-actions .account-button { width: 30px; height: 28px; margin: 5px 8px 0 2px; border-radius: 50%; color: #0f4c81; background: #fff; font-size: 10px; font-weight: 700; }

html[data-portal-theme="north7"] { --commandbar: 52px; }
.north7-commandbar { border-top: 3px solid #d26b3a; color: #faf7f1; background: #2f5c3d; box-shadow: 0 2px 8px rgba(20,23,27,.2); }
.north7-commandbar .purview-search { top: 11px; border-radius: 5px; background: #faf7f1; box-shadow: inset 0 0 0 1px rgba(24,56,75,.15); }
.north7-commandbar .command-actions .account-button { margin-top: 10px; color: #2f5c3d; background: #faf7f1; }
.north7-commandbar .command-actions button:hover,
.north7-commandbar .command-icon:hover,
.north7-commandbar .command-resource-links a:hover { background: rgba(250,247,241,.1); }

.app-body { min-height: 100vh; padding-top: var(--commandbar); }
.app-main { min-width: 0; margin-left: var(--rail); }
.app-body.solution-mode .app-main { margin-left: calc(var(--rail) + var(--solution-rail)); }
.app-body.editor-mode .app-main { margin-left: 0; }

.global-rail { position: fixed; z-index: 50; top: var(--commandbar); bottom: 0; left: 0; width: var(--rail); padding-top: 3px; overflow-y: auto; background: #f0f0f0; border-right: 1px solid #ddd; }
.global-rail nav { display: flex; min-height: 100%; flex-direction: column; }
.global-rail button { width: 100%; min-height: 45px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; border: 0; border-left: 2px solid transparent; background: transparent; cursor: pointer; font-size: 9px; line-height: 1.05; }
.global-rail button:hover { background: #e5e5e5; }
.global-rail button.active { color: #0f4c81; border-left-color: #0f6cbd; background: #e8eef5; }
.global-rail svg { width: 18px; height: 18px; }
.global-rail .recent-solution { min-height: 62px; margin-top: 8px; }

.solution-rail { position: fixed; z-index: 45; top: var(--commandbar); bottom: 0; left: var(--rail); width: var(--solution-rail); overflow-y: auto; background: #f0f0f0; border-right: 1px solid #d8d8d8; }
.solution-title { min-height: 78px; display: flex; align-items: center; gap: 10px; padding: 17px 13px 10px; font-size: 14px; line-height: 1.3; }
.solution-title svg { flex: 0 0 auto; color: #176bb4; }
.solution-rail nav { padding-bottom: 10px; }
.solution-rail nav button, .related-solutions button { width: 100%; min-height: 33px; display: flex; align-items: center; gap: 10px; padding: 6px 11px; border: 0; border-left: 3px solid transparent; background: transparent; cursor: pointer; text-align: left; font-size: 11px; line-height: 1.2; }
.solution-rail nav button:hover, .related-solutions button:hover { background: #e2e2e2; }
.solution-rail nav button.active { border-left-color: #0f6cbd; background: #d5d5d5; }
.solution-rail nav button.nested-link { min-height: 29px; padding-left: 32px; font-size: 10px; }
.solution-rail nav button.nested-link svg { width: 13px; height: 13px; }
.solution-rail nav svg, .related-solutions svg { width: 16px; height: 16px; flex: 0 0 auto; }
.solution-rail .nav-chevron { margin-left: auto; width: 13px; }
.related-solutions { margin: 0 10px; padding-top: 13px; border-top: 1px solid #c8c8c8; }
.related-solutions > strong { display: block; margin: 0 3px 7px; font-size: 10px; }
.related-solutions button { padding-left: 3px; }

.portal-page { min-height: calc(100vh - var(--commandbar)); padding: 38px 40px 72px; background: #fff; }
.portal-page h1 { margin: 0 0 14px; font-size: 26px; line-height: 1.2; font-weight: 600; }
.portal-page h2 { font-size: 16px; }
.page-lede { margin: 0 0 9px; font-size: 11.5px; line-height: 1.5; }

.purview-home { min-height: calc(100vh - var(--commandbar)); padding: 13px 0 70px 18px; background: #fafafa; }
.home-carousel { position: relative; min-height: 374px; overflow: hidden; display: grid; grid-template-columns: minmax(650px, 1fr) 260px; gap: 18px; padding: 47px 18px 28px; background: #fff url('../assets/purview-home-carousel-bg.png') center / cover no-repeat; border-bottom: 1px solid #eee; }
.carousel-arrows { position: absolute; top: 10px; left: 24px; display: flex; gap: 4px; }
.carousel-arrows button { width: 22px; height: 22px; border: 1px solid #bbb; border-radius: 2px; background: #fff; cursor: pointer; }
.hero-copy { display: flex; align-items: center; gap: 48px; padding: 45px 26px 35px 42px; }
.hero-mark { width: 82px; height: 82px; flex: 0 0 auto; object-fit: contain; }
.hero-copy h1 { max-width: 1060px; margin: 0 0 17px; font-size: clamp(25px, 2.05vw, 34px); line-height: 1.12; font-weight: 650; }
.hero-copy p { margin: 0 0 16px; font-size: 13px; font-weight: 600; }
.hero-copy button, .hero-side-card button { min-height: 29px; padding: 0 12px; border: 1px solid #0f6cbd; border-radius: 2px; color: #fff; background: #2c66a0; cursor: pointer; font-size: 11px; font-weight: 600; }
.hero-copy .hero-link { margin-left: 14px; border-color: transparent; color: #242424; background: transparent; }
.hero-side-card { min-height: 304px; padding: 30px 20px 20px; border: 1px solid #d5d5d5; border-radius: 7px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.13); }
.hero-side-card > div { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.hero-side-card > div svg { color: #0f6cbd; }
.hero-side-card h2 { margin: 48px 0 31px; font-size: 20px; line-height: 1.35; }
.hero-side-card p { min-height: 52px; font-size: 11px; line-height: 1.5; }
.hero-side-card button { margin-top: 15px; border-color: #c7c7c7; color: #242424; background: #fff; }

.relocation-banner, .role-banner { display: flex; align-items: center; gap: 9px; min-height: 48px; margin: 18px 18px 0; padding: 8px 12px; border-left: 4px solid #0f6cbd; background: #eaf3fc; font-size: 10.5px; }
.relocation-banner > div, .role-banner > div { display: flex; flex-direction: column; }
.relocation-banner svg, .role-banner svg { color: #2b6aa3; }
.home-solution-grid { display: grid; grid-template-columns: repeat(9, minmax(116px, 1fr)); gap: 18px; padding: 32px 18px 20px; overflow-x: auto; }
.home-solution-grid button { min-width: 116px; min-height: 102px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px 8px; border: 1px solid #ddd; border-radius: 2px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); cursor: pointer; font-size: 11px; }
.home-solution-grid button:hover { border-color: #0f6cbd; background: #f5f9fd; }
.home-solution-grid svg { width: 26px; height: 26px; color: #2673b9; }
.featured-insights { padding: 0 18px; }
.featured-insights > h2 { margin: 14px 0; font-size: 16px; }
.featured-insights article { min-height: 236px; padding: 22px 14px; border: 1px solid #ddd; background: #fff; }
.featured-insights h3 { margin: 0 0 30px; font-size: 12px; }
.synthetic-note { margin-left: 8px; padding: 2px 6px; border-radius: 10px; color: #555; background: #eee; font-size: 9px; font-weight: 400; }
.insight-columns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.insight-columns > div { min-width: 0; }
.insight-columns strong { font-size: 10px; }
.metric-row { display: grid; grid-template-columns: 1fr 55px; gap: 3px 10px; margin-top: 30px; font-size: 9px; }
.metric-row span { grid-column: 1 / -1; }
.metric-row progress { width: 100%; height: 7px; accent-color: #164f84; }
.metric-row b { font-size: 9px; }
.insight-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; border: 0; color: #0f6cbd; background: transparent; cursor: pointer; font-size: 11px; }

.solutions-page { padding-top: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 20px; padding: 0; border: 0; color: #0f6cbd; background: transparent; cursor: pointer; }
.solutions-page .relocation-banner { margin: 0 0 18px; }
.solution-tabs { display: flex; gap: 20px; border-bottom: 1px solid #ddd; overflow-x: auto; }
.solution-tabs button { min-height: 38px; padding: 0; white-space: nowrap; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; font-size: 12px; }
.solution-tabs button[aria-selected="true"] { color: #0f6cbd; border-color: #0f6cbd; }
.solution-filter { width: min(420px, 100%); height: 32px; display: flex; align-items: center; gap: 8px; margin: 18px 0; padding: 0 9px; border: 1px solid #888; }
.solution-filter input { flex: 1; border: 0; outline: 0; }
.solution-list { border-top: 1px solid #ddd; }
.solution-list > button { width: 100%; min-height: 72px; display: grid; grid-template-columns: 34px minmax(0,1fr) 150px; align-items: center; gap: 14px; padding: 10px 12px; border: 0; border-bottom: 1px solid #e5e5e5; background: #fff; cursor: pointer; text-align: left; }
.solution-list > button:hover { background: #f5f5f5; }
.solution-list > button > svg { color: #176bb4; }
.solution-list > button > span { display: flex; flex-direction: column; gap: 5px; }
.solution-list small { color: #616161; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.solution-list em { color: #616161; font-size: 11px; font-style: normal; }

.role-banner { margin: 0 0 22px; }
.role-banner button { margin-left: auto; border: 0; color: #0f6cbd; background: transparent; cursor: pointer; }
.overview-intro { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 1px solid #ddd; }
.overview-intro > div { display: flex; gap: 14px; }
.overview-intro > div > svg { width: 34px; height: 34px; color: #176bb4; }
.overview-intro h2 { margin: 0 0 8px; font-size: 18px; }
.overview-intro p { margin: 0; color: #555; }
.overview-intro button, .onboarding-grid button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; border: 1px solid #0f6cbd; color: #fff; background: #0f6cbd; cursor: pointer; }
.analytics-banner { min-height: 30px; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 10px; border-top: 1px solid #d6e4f2; border-bottom: 1px solid #d6e4f2; background: #f3f8fd; font-size: 10.5px; }
.analytics-banner > span { flex: 1; }
.analytics-banner a { margin-left: auto; }
.analytics-banner button { border: 0; background: transparent; cursor: pointer; }
.analytics-tasks { display: flex; flex-direction: column; gap: 10px; }
.analytics-tasks article { min-height: 74px; display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border: 1px solid #ddd; }
.analytics-tasks article > span { display: inline-flex; align-items: center; gap: 5px; color: #176bb4; }
.analytics-tasks article > div { display: flex; flex-direction: column; gap: 4px; }
.analytics-tasks h3 { margin: 0; font-size: 13px; }
.analytics-tasks p { margin: 0; color: #555; font-size: 11px; line-height: 1.45; }
.analytics-tasks article > button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; margin-left: auto; border: 1px solid #0f6cbd; color: #fff; background: #0f6cbd; cursor: pointer; }
.section-title { margin: 28px 0 12px; }
.onboarding-grid { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 12px; }
.onboarding-grid article { min-height: 158px; padding: 16px; border: 1px solid #ddd; }
.onboarding-grid article > span { display: inline-flex; align-items: center; gap: 5px; color: #176bb4; }
.onboarding-grid h3 { margin: 16px 0 7px; font-size: 14px; }
.onboarding-grid p { color: #555; font-size: 11px; line-height: 1.45; }
.overview-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.status-card, .resource-card { min-height: 100px; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #ddd; }
.status-card svg, .resource-card svg, .overview-footer-card svg { color: #176bb4; }
.status-card div, .resource-card div { display: flex; flex-direction: column; gap: 6px; }
.status-card div h2, .resource-card div h2 { margin: 0; font-size: 13px; font-weight: 600; }
.status-card div button, .resource-card div button { align-self: flex-start; }
.status-card span, .resource-card span { color: #555; font-size: 11px; }
.overview-footer-card { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 18px; border: 1px solid #ddd; }

.ip-overview { padding-top: 13px; }
.ip-hero-banner { min-height: 181px; display: grid; grid-template-columns: 34px minmax(0,1fr) 28px; align-items: start; gap: 12px; margin: 0 -40px 38px; padding: 28px 38px; color: #fff; background: linear-gradient(112deg,#214f76,#564680); }
.ip-hero-banner > svg { margin-top: 3px; }
.ip-hero-banner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ip-hero-banner strong { max-width: 920px; font-size: 18px; line-height: 1.35; }
.ip-hero-banner button { min-height: 30px; padding: 0 12px; border: 1px solid #d0d0d0; border-radius: 2px; background: #fff; cursor: pointer; }
.ip-hero-banner > button { padding: 0; border: 0; color: #fff; background: transparent; }
.ip-setup-grid { display: grid; grid-template-columns: minmax(430px, 620px) minmax(260px, 360px); gap: 18px; }
.ip-task-list { border: 1px solid #ddd; }
.ip-task-list button { width: 100%; min-height: 90px; display: grid; grid-template-columns: 32px minmax(0,1.5fr) minmax(90px,.7fr) 100px; align-items: center; gap: 12px; padding: 12px; border: 0; border-bottom: 1px solid #ddd; background: #fff; text-align: left; }
.ip-task-list button:last-child { border-bottom: 0; }
.ip-task-list button > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #555; border-radius: 50%; }
.ip-task-list em { color: #555; font-style: normal; }
.ip-task-list small { display: inline-flex; align-items: center; gap: 5px; }
.ip-task-list small svg { width: 14px; }
.ip-callout { padding: 24px; color: #fff; background: #3269a4; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.ip-callout > svg { width: 30px; height: 30px; }
.ip-callout h2 { margin: 24px 0 12px; font-size: 20px; }
.ip-callout p { line-height: 1.5; }
.ip-callout button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; margin-top: 22px; padding: 0 10px; border: 1px solid #fff; color: #fff; background: transparent; }
.ip-overview-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.ip-overview-cards button { min-height: 90px; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #ddd; background: #fff; text-align: left; }
.ip-overview-cards button > svg { color: #176bb4; }
.ip-overview-cards span { display: flex; flex-direction: column; gap: 6px; }
.ip-overview-cards small { color: #555; }

.labels-page { padding-top: 34px; }
.modern-label-banner { display: flex; align-items: center; gap: 8px; min-height: 28px; margin: 10px 0 4px; padding: 4px 9px; color: #31533b; background: #e5f6e8; font-size: 10px; }
.modern-label-banner > span { flex: 1; }
.modern-label-banner > button { border: 0; background: transparent; }
.labels-commandbar { position: relative; min-height: 50px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #ddd; }
.labels-commandbar button { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 0; background: transparent; cursor: pointer; font-size: 11px; }
.labels-commandbar button:hover { background: #f0f0f0; }
.labels-commandbar svg { width: 16px; }
.labels-commandbar > span { margin-left: auto; color: #555; font-size: 10px; }
.create-label-wrap { position: relative; }
.label-create-menu { position: absolute; z-index: 20; top: 36px; left: 0; width: 180px; padding: 4px; border: 1px solid #ccc; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.label-create-menu button { width: 100%; justify-content: flex-start; }
.label-create-menu button:hover { background: #eee; }
.labels-grid-wrap { overflow: auto; }
.labels-grid { min-width: 980px; width: 100%; border-collapse: collapse; font-size: 11px; }
.labels-grid th, .labels-grid td { height: 42px; padding: 0 8px; border-bottom: 1px solid #e3e3e3; text-align: left; }
.labels-grid th { font-weight: 500; }
.labels-grid th svg { width: 12px; vertical-align: middle; }
.labels-grid th:first-child, .labels-grid td:first-child { width: 38px; text-align: center; }
.labels-grid th:nth-child(2) { width: 25%; }
.labels-tree th:first-child, .labels-tree td:first-child { width: 38px; text-align: center; }
.labels-tree th:nth-child(2), .labels-tree td:nth-child(2) { width: 44px; text-align: left; }
.labels-tree .expand-header { color: #8a8a8a; }
.labels-tree .expand-header svg { width: 12px; }
.labels-tree th:nth-child(3) { width: 25%; }
.labels-tree .expand-cell { color: #8a8a8a; }
.labels-tree .expand-toggle { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0; border: 0; background: transparent; color: #444; }
.labels-tree .expand-toggle svg { width: 12px; }
.labels-tree .group-row td { background: #fafafa; }
.labels-tree .group-row .name-cell strong { font-weight: 600; }
.labels-tree .group-row .name-cell .row-link { display: inline-flex; align-items: center; gap: 6px; }
.labels-tree .group-folder { width: 15px; color: #0f6cbd; }
.labels-tree .sub-label-row td { background: #fff; }
.labels-tree .sub-label-row .name-cell button { padding-left: 20px; }
.sub-label-indent { display: inline-block; }
.group-sub-labels { margin-top: 18px; border-top: 1px solid #e3e3e3; }
.group-sub-labels h2 { font-size: 13px; font-weight: 600; margin: 10px 0 2px; }
.group-sub-labels > p { margin: 0 0 8px; color: #555; font-size: 10px; }
.group-sub-labels ul { margin: 0; padding: 0; list-style: none; border: 1px solid #e3e3e3; }
.group-sub-labels li { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px; border-bottom: 1px solid #e3e3e3; }
.group-sub-labels li:last-child { border-bottom: 0; }
.group-sub-labels li > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.group-sub-labels li small { color: #666; }
.sub-label-actions { display: flex; gap: 4px; }
.sub-label-actions button { min-height: 28px; padding: 0 8px; border: 0; background: transparent; color: #0f6cbd; }
.sub-label-actions button:hover { background: #eef4fb; }
.color-inherit-note { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: #555; font-size: 10px; }
.color-inherit-note svg { width: 14px; }
.field-hint { display: block; margin-top: 4px; color: #666; font-size: 10px; }
.synthetic-table-note { color: #666; font-size: 10px; }

.sit-list-page { padding-top: 34px; }
.sit-filters { min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid #e1e1e1; }
.sit-filters > strong { margin-right: 2px; font-weight: 400; }
.filter-chip { height: 30px; display: flex; align-items: center; gap: 3px; padding: 0 4px 0 10px; border: 1px solid #ddd; border-radius: 16px; background: #f5f5f5; color: #555; font-size: 10px; }
.count-chip { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #ddd; border-radius: 16px; background: #fff; color: #555; font-size: 10px; }
.filter-chip select { width: 46px; height: 26px; padding: 0; border: 0; appearance: none; background: transparent; }
.filter-chip button { width: 25px; height: 25px; display: grid; place-items: center; padding: 0; border: 0; border-left: 1px solid #ccc; background: transparent; }
.filter-chip button svg { width: 13px; }
.sit-filters > button { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; border: 0; color: #242424; background: transparent; }
.sit-commandbar { min-height: 50px; display: flex; align-items: center; gap: 4px; margin-top: 10px; border-bottom: 1px solid #ddd; }
.sit-commandbar > button { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 0; background: transparent; cursor: pointer; font-size: 11px; }
.sit-commandbar > button:hover { background: #f0f0f0; }
.sit-commandbar svg { width: 16px; }
.sit-commandbar > button:first-child { color: #0f6cbd; }
.sit-commandbar > label { width: 170px; height: 30px; display: flex; align-items: center; gap: 5px; margin-left: auto; padding: 0 7px; border-bottom: 1px solid #888; }
.sit-commandbar input { min-width: 0; width: 100%; border: 0; outline: 0; }
.sit-commandbar > span { color: #555; font-size: 10px; }
.sit-grid-wrap { overflow: auto; }
.sit-grid { min-width: 900px; width: 100%; border-collapse: collapse; font-size: 11px; }
.sit-grid th, .sit-grid td { height: 42px; padding: 0 8px; border-bottom: 1px solid #e3e3e3; text-align: left; }
.sit-grid th { font-weight: 500; }
.sit-grid th svg { width: 12px; vertical-align: middle; }
.sit-grid th:first-child, .sit-grid td:first-child { width: 38px; text-align: center; }
.sit-grid th:nth-child(2) { width: 33%; }

.sit-wizard .wizard-breadcrumb { justify-content: flex-start; }
.sit-wizard .wizard-breadcrumb strong { font-size: 11px; font-weight: 600; }
.sit-wizard .wizard-breadcrumb button { margin-left: 0; }
.wizard-layout.sit-layout { grid-template-columns: 439px minmax(0,1fr); }
.sit-wizard .wizard-footer { left: 439px; }
.sit-wizard-content { width: min(900px, calc(100% - 70px)); }
.sit-wizard-content textarea { min-height: 78px; }
.empty-patterns { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; color: #555; }
.empty-patterns svg { color: #0f6cbd; }
.empty-patterns button { min-height: 32px; padding: 0 14px; border: 0; color: #fff; background: #0f6cbd; }
.empty-pattern-error { width: 100%; min-height: 28px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; color: #a4262c; background: #fde7e9; font-size: 10px; text-align: left; }
.empty-pattern-error svg { width: 14px; color: #a4262c; }
.pattern-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 11px; }
.pattern-table th, .pattern-table td { min-height: 42px; padding: 10px 8px; border-bottom: 1px solid #ddd; text-align: left; }
.pattern-table th { font-weight: 500; }
.pattern-table td:last-child { width: 76px; white-space: nowrap; }
.pattern-table button { border: 0; color: #0f6cbd; background: transparent; }
.confidence-cards { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; }
.confidence-cards label { min-height: 74px; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #ccc; }
.confidence-cards label:has(input:checked) { border-color: #0f6cbd; box-shadow: inset 3px 0 #0f6cbd; }
.confidence-cards span { display: flex; flex-direction: column; gap: 7px; }
.confidence-cards small { color: #555; }

.sit-pattern-stage { position: fixed; z-index: 60; top: var(--commandbar); right: 0; bottom: 0; width: min(560px,96vw); background: #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.24), -5px 0 18px rgba(0,0,0,.18); }
.sit-pattern-dialog { width: 100%; height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; background: #fff; }
.sit-pattern-dialog > header { min-height: 58px; display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid #ddd; }
.sit-pattern-dialog > header h2 { margin: 0; font-size: 20px; font-weight: 600; }
.sit-pattern-dialog > header button { margin-left: auto; border: 0; background: transparent; }
.sit-pattern-scroll { padding: 20px 24px 30px; overflow: auto; }
.pattern-intro { margin: 0 0 18px; color: #444; font-size: 11px; line-height: 1.45; }
.sit-pattern-scroll > .wizard-field { max-width: 430px; }
.sit-pattern-scroll select, .supporting-builder select { min-height: 34px; padding: 4px 8px; border: 1px solid #666; background: #fff; }
.pattern-section { padding: 16px 0; border-top: 1px solid #ddd; }
.pattern-section h3 { margin: 0 0 5px; font-size: 14px; }
.pattern-section > p { margin: 0 0 14px; color: #555; font-size: 11px; }
.pattern-add-button { min-height: 31px; display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; color: #333; background: transparent; }
.pattern-section .wizard-field { max-width: 640px; margin-bottom: 14px; }
.inline-radios { display: flex; gap: 18px; margin: 8px 0 14px; padding: 0; border: 0; }
.inline-radios legend { margin-bottom: 7px; font-weight: 600; }
.inline-radios label { display: inline-flex; align-items: center; gap: 6px; }
.validator-list { max-width: 640px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: 10px 0; padding: 12px; border: 1px solid #ddd; }
.validator-list legend { padding: 0 5px; font-weight: 600; }
.validator-list label { display: flex; align-items: center; gap: 6px; }
.pattern-inline-actions { display: flex; gap: 8px; }
.pattern-inline-actions button, .supporting-builder button { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; border: 0; color: #0f6cbd; background: transparent; }
.supporting-builder { max-width: 680px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 14px; border-left: 3px solid #0f6cbd; background: #f6f8fa; }
.supporting-builder label { display: flex; flex-direction: column; gap: 6px; }
.supporting-builder input, .supporting-builder textarea { min-height: 34px; padding: 7px; border: 1px solid #777; }
.supporting-builder button { align-self: end; }
.additional-check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.additional-check-grid > div { min-height: 48px; padding: 11px; border: 1px solid #ddd; }
.additional-check-grid > div.selected { border-color: #0f6cbd; background: #f6fafe; }
.additional-check-grid > div > label { display: flex; align-items: flex-start; gap: 7px; }
.additional-check-grid > div > input { width: 100%; min-height: 31px; margin-top: 10px; padding: 6px; border: 1px solid #777; }
.additional-check-grid .inline-radios { margin: 10px 0 0; }
.sit-dialog-error { width: auto; margin: 14px 0 0; }
.sit-pattern-dialog > footer { min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 8px 22px; border-top: 1px solid #ddd; }
.sit-pattern-dialog > footer button { min-height: 32px; padding: 0 15px; border: 1px solid #aaa; background: #fff; }
.sit-pattern-dialog > footer button.primary { color: #fff; border-color: #0f6cbd; background: #0f6cbd; }

.label-wizard .wizard-breadcrumb { justify-content: space-between; }
.label-wizard .wizard-breadcrumb strong { font-size: 24px; font-weight: 600; }
.label-wizard .wizard-breadcrumb button { margin-left: auto; }
.wizard-layout.label-layout { grid-template-columns: 360px minmax(0,1fr); }
.label-wizard .wizard-footer { left: 360px; }
.label-wizard-content { width: min(880px, calc(100% - 70px)); }
.label-wizard-content textarea { min-height: 66px; }
.label-wizard-content .priority-field input { width: 160px; background: #fff; }
.label-wizard-content .priority-note { min-height: 28px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; color: #555; background: #f5f5f5; font-size: 10px; }
.label-wizard-content .priority-note svg { width: 14px; }
.label-wizard-content select, .label-wizard-content .wizard-field select { min-height: 34px; padding: 5px 8px; border: 1px solid #666; background: #fff; }
.color-picker, .radio-stack { display: flex; flex-direction: column; gap: 9px; margin: 22px 0; padding: 0; border: 0; }
.color-picker { display: grid; grid-template-columns: repeat(2,minmax(160px,1fr)); }
.color-picker legend, .radio-stack legend { grid-column: 1 / -1; margin-bottom: 5px; font-weight: 600; }
.color-picker label, .radio-stack label { display: flex; align-items: center; gap: 8px; }
.color-dot { width: 14px; height: 14px; border-radius: 50%; background: #4f4f4f; }
.color-silver { background: #aaa; }.color-beige { background: #cbbda7; }.color-berry { background: #c239b3; }.color-lavender { background: #8764b8; }.color-light-blue { background: #4f9fda; }.color-light-green { background: #73a96c; }.color-marigold { background: #eaa300; }.color-orange { background: #ca5010; }.color-burgundy { background: #750b1c; }
.choice-check-list { display: flex; flex-direction: column; gap: 8px; }
.choice-check-list > label { min-height: 48px; display: flex; align-items: center; gap: 10px; }
.choice-check-list.descriptive > label { align-items: flex-start; }
.choice-check-list.descriptive span { display: flex; flex-direction: column; gap: 5px; }
.choice-check-list small { color: #555; }
.choice-check-list .disabled { color: #999; }
.stacked-radios, .access-branch { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 22px; }
.access-branch { padding: 14px; background: #f6f6f6; }
.nested-control { margin-left: 26px; }
.two-column-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.toggle-row, .check-line { display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.marking-grid { display: grid; gap: 12px; }
.marking-grid > section { padding: 14px; border: 1px solid #ddd; }
.mini-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.mini-fields label { display: flex; flex-direction: column; gap: 6px; }
.mini-fields input, .mini-fields select { min-height: 32px; border: 1px solid #777; }
.auto-rule-builder > section { padding: 0 14px 14px; border: 1px solid #ccc; }
.auto-rule-builder > section > header { margin: 0 -14px 14px; padding: 12px 14px; border-bottom: 1px solid #ccc; background: #fafafa; }
.condition-toolbar { position: relative; margin: 6px 0 14px; }
.condition-toolbar > button { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; border: 0; background: transparent; }
.condition-menu { position: absolute; z-index: 8; top: 32px; left: 0; width: 210px; padding: 4px; border: 1px solid #ccc; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.condition-menu button { width: 100%; min-height: 32px; border: 0; background: #fff; text-align: left; }
.classifier-row { display: grid; grid-template-columns: 150px minmax(180px,1fr) 150px 220px; align-items: end; gap: 10px; padding: 12px; background: #f7f7f7; }
.classifier-row label { display: flex; flex-direction: column; gap: 5px; }
.classifier-row input, .classifier-row select { min-height: 32px; min-width: 0; border: 1px solid #777; }
.classifier-row label:last-child { flex-direction: row; align-items: center; flex-wrap: wrap; }
.classifier-row label:last-child input { width: 56px; }
.radio-stack label > span { display: flex; flex-direction: column; gap: 3px; }
.radio-stack small { color: #555; }
.local-only-banner { display: flex; gap: 10px; margin: 0 0 20px; padding: 12px; border-left: 3px solid #0f6cbd; background: #eef6fc; }
.local-only-banner span { display: flex; flex-direction: column; gap: 4px; }

.policies-page { padding: 38px 40px 80px; }
.billing-banner { min-height: 30px; display: flex; align-items: center; gap: 8px; margin: 0 -40px; padding: 5px 12px; border-top: 1px solid #ecd3ba; border-bottom: 1px solid #ecd3ba; background: #fff9f4; font-size: 10.5px; }
.billing-banner svg { color: #a54800; }
.billing-banner a { margin-left: auto; }
.copilot-policy-card { min-height: 235px; margin: 9px 0 0; padding: 14px 14px 18px; border: 1px solid #ddd; }
.copilot-policy-card small { color: #555; }
.copilot-policy-card h2 { margin: 30px 0 16px; font-size: 17px; }
.copilot-policy-card p { max-width: 1050px; line-height: 1.5; font-size: 12px; }
.copilot-policy-card button { min-height: 28px; margin-top: 56px; padding: 0 12px; border: 1px solid #aaa; background: #fff; cursor: pointer; }
.policy-commandbar { min-height: 54px; display: flex; align-items: center; gap: 5px; margin: 0; border-bottom: 1px solid #d8d8d8; }
.policy-commandbar > button { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border: 0; background: transparent; cursor: pointer; font-size: 11px; }
.policy-commandbar > button:hover { background: #f0f0f0; }
.policy-commandbar svg { width: 16px; }
.policy-count { margin-left: auto; color: #555; font-size: 10px; }
.policy-commandbar label { width: 170px; height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 7px; border-bottom: 1px solid #888; }
.policy-commandbar input { width: 100%; border: 0; outline: 0; font-size: 11px; }
.policy-grid-wrap { width: 100%; overflow: auto; }
.policy-grid { min-width: 1160px; width: 100%; border-collapse: collapse; font-size: 10px; }
.policy-grid.tree-grid { min-width: 1020px; }
.policy-grid th { height: 36px; text-align: left; font-weight: 500; border-bottom: 1px solid #ddd; }
.policy-grid td { height: 37px; border-bottom: 1px solid #e5e5e5; color: #555; }
.policy-grid th:first-child, .policy-grid td:first-child { width: 38px; text-align: center; }
.policy-grid th.expand-col, .policy-grid td.expand-col { width: 40px; text-align: center; color: #8a8a8a; }
.policies-page .policy-grid th:nth-child(2) { width: 30%; }
.policies-page .policy-grid th:nth-child(3) { width: 8%; }
.policies-page .policy-grid th:nth-child(4) { width: 19%; }
.policies-page .policy-grid th:nth-child(5) { width: 13%; }
.policies-page .policy-grid th:nth-child(6) { width: 14%; }
.policies-page .policy-grid th:nth-child(7) { width: 14%; }
.policy-grid th svg { width: 12px; vertical-align: middle; }
.policy-grid td:nth-child(2) { position: relative; color: #333; }
.policy-grid td:nth-child(2) > button:not(.row-link) { position: absolute; right: 8px; top: 6px; border: 0; background: transparent; cursor: pointer; }
.policy-grid td:nth-child(6) svg { color: #237b2c; vertical-align: middle; }

.protection-choice-stage { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 30px; overflow-y: auto; background: rgba(0,0,0,.18); }
.protection-choice-dialog { position: relative; width: min(680px, 94vw); padding: 28px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.dialog-close { position: absolute; top: 10px; right: 10px; border: 0; background: transparent; cursor: pointer; }
.protection-choice-dialog h1 { margin: 0 0 8px; font-size: 24px; }
.protection-choice-dialog > p { margin-bottom: 24px; color: #555; }
.choice-card { width: 100%; min-height: 92px; display: flex; align-items: center; gap: 16px; margin-bottom: 10px; padding: 16px; border: 1px solid #ccc; background: #fff; cursor: pointer; text-align: left; }
.choice-card:hover { border-color: #0f6cbd; background: #f6fafe; }
.choice-card > svg { width: 30px; height: 30px; color: #176bb4; }
.choice-card span { display: flex; flex-direction: column; gap: 6px; }
.choice-card small { color: #555; line-height: 1.4; }
.protection-choice-dialog footer { display: flex; justify-content: flex-end; margin-top: 24px; }
.protection-choice-dialog footer button { min-height: 32px; padding: 0 14px; border: 1px solid #aaa; background: #fff; }

.purview-wizard { min-height: calc(100vh - var(--commandbar)); background: #fff; }
.wizard-breadcrumb { height: 47px; display: flex; align-items: center; gap: 11px; padding: 0 44px; border-bottom: 1px solid #ddd; font-size: 11px; }
.wizard-breadcrumb button { border: 0; color: #666; background: transparent; cursor: pointer; }
.wizard-layout { min-height: calc(100vh - var(--commandbar) - 47px); display: grid; grid-template-columns: 442px minmax(0,1fr); }
.wizard-layout.rule-mode { grid-template-columns: 341px minmax(0,1fr); }
.wizard-layout.rule-mode .wizard-rail { padding-left: 30px; }
.wizard-layout.rule-mode .rule-editor > footer { left: 341px; }
.wizard-rail { padding: 35px 30px; border-right: 1px solid #ddd; }
.wizard-rail > div { position: relative; min-height: 48px; display: grid; grid-template-columns: 20px 1fr; gap: 7px; align-items: start; color: #555; font-size: 11px; }
.wizard-rail > div:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 9px; width: 1px; height: 25px; background: #777; }
.wizard-rail > div > span { width: 13px; height: 13px; display: grid; place-items: center; margin-top: 1px; border: 1px solid #555; border-radius: 50%; background: #fff; }
.wizard-rail > div.complete > span { color: #fff; border-color: #4f8cc3; background: #4f8cc3; }
.wizard-rail > div.current { color: #242424; }
.wizard-rail > div.current > span { border-color: #0f6cbd; background: #0f6cbd; }
.wizard-rail > div.current > strong { font-weight: 600; }
.wizard-rail > div.nested { margin-left: 17px; min-height: 42px; font-size: 10px; }
.wizard-rail > div.nested::after { left: -8px; }
.wizard-main { min-width: 0; padding: 0 0 58px; }
.wizard-content { width: min(796px, calc(100% - 79px)); margin: 0 0 0 39px; padding: 35px 0 30px; }
.wizard-content > h1 { margin: 0 0 26px; font-size: 25px; font-weight: 600; }
.wizard-content > p { margin: 0 0 24px; line-height: 1.5; font-size: 12px; }
.wizard-content h2 { margin-top: 26px; font-size: 14px; }
.wizard-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; font-size: 11px; }
.wizard-field > span { display: flex; align-items: center; gap: 8px; }
.wizard-field input, .wizard-field textarea, .condition-builder input, .condition-builder select { width: 100%; border: 1px solid #555; padding: 7px; outline: 0; resize: vertical; }
.wizard-field input { height: 32px; }
.template-layout { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; }
.template-layout aside { display: flex; flex-direction: column; border-right: 1px solid #ddd; }
.template-layout aside button { min-height: 38px; padding: 0 12px; border: 0; border-left: 3px solid transparent; background: transparent; text-align: left; }
.template-layout aside button.active { border-left-color: #0f6cbd; background: #eee; }
.template-card { position: relative; min-height: 108px; display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid #0f6cbd; background: #fff; text-align: left; }
.template-card > svg:first-child { color: #176bb4; }
.template-card span { display: flex; flex-direction: column; gap: 8px; }
.template-card small { color: #555; }
.template-card > svg:last-child { position: absolute; top: 10px; right: 10px; color: #0f6cbd; }
.info-box { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0; padding: 12px; border-left: 3px solid #0f6cbd; background: #eef6fc; font-size: 11px; line-height: 1.5; }
.inline-action { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 0; color: #0f6cbd; background: transparent; cursor: pointer; }
.location-grid { width: 100%; border-collapse: collapse; font-size: 11px; }
.location-grid th, .location-grid td { min-height: 42px; padding: 9px; border-bottom: 1px solid #ddd; text-align: left; }
.location-grid td:nth-child(2) svg { width: 17px; vertical-align: middle; color: #176bb4; }
.location-grid button { border: 0; color: #0f6cbd; background: transparent; cursor: pointer; }
.radio-card, .mode-card { min-height: 58px; display: flex; align-items: flex-start; gap: 12px; margin: 10px 0; padding: 16px; border: 1px solid #ccc; }
.radio-card.disabled { color: #aaa; background: #fafafa; }
.mode-card > span { display: flex; flex-direction: column; gap: 7px; }
.mode-card small { color: #555; }
.mode-card span label { margin-top: 5px; font-size: 11px; }
.empty-rules { margin-top: 20px; padding: 60px 20px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; color: #555; text-align: center; }
.rule-summary { display: grid; grid-template-columns: minmax(0,1fr) 50px 50px 38px; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.rule-summary > div { display: flex; flex-direction: column; gap: 5px; }
.rule-summary small { margin-top: 5px; color: #666; font-weight: 600; }
.rule-summary button { border: 0; color: #0f6cbd; background: transparent; cursor: pointer; }
.finish-list { margin: 0; }
.finish-list > div { display: grid; grid-template-columns: 210px 1fr; gap: 30px; padding: 13px 0; border-bottom: 1px solid #ddd; }
.finish-list dt { font-weight: 600; }
.finish-list dd { margin: 0; color: #444; }
.manifest-preview { margin-top: 24px; border: 1px solid #ddd; }
.manifest-preview summary { padding: 10px; cursor: pointer; }
.manifest-preview pre { max-height: 280px; margin: 0; padding: 12px; overflow: auto; background: #f5f5f5; font-size: 10px; }
.wizard-error { width: min(796px, calc(100% - 79px)); margin: -16px 0 16px 39px; padding: 9px 12px; border-left: 3px solid #d13438; background: #fde7e9; color: #a4262c; font-size: 11px; }
.wizard-footer { position: fixed; z-index: 30; bottom: 0; left: 442px; right: 0; min-height: 54px; display: flex; align-items: center; gap: 8px; padding: 8px 28px; border-top: 1px solid #ddd; background: #fff; }
.wizard-footer button, .rule-editor footer button { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 0 14px; border: 1px solid #aaa; background: #fff; cursor: pointer; }
.wizard-footer button.primary, .rule-editor footer button.primary { color: #fff; border-color: #0f6cbd; background: #0f6cbd; }
.wizard-footer button:disabled { color: #aaa; border-color: #ddd; }
.wizard-footer span { margin-left: auto; color: #666; font-size: 10px; }

.rule-editor { width: calc(100% - 40px); margin: 0 auto; padding: 10px 0 70px; }
.rule-editor > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 0 0 4px; }
.rule-editor > header h1 { margin: 0 0 6px; font-size: 16px; }
.rule-editor > header p { margin: 0; font-size: 11px; }
.rule-editor > header button { border: 0; background: transparent; cursor: pointer; }
.rule-editor .wizard-field { gap: 4px; margin-bottom: 10px; }
.rule-editor .wizard-field input { height: 28px; }
.rule-editor .wizard-field textarea { height: 44px; }
.rule-section { position: relative; padding: 9px 4px; border-top: 1px solid #ccc; font-size: 11px; }
.rule-section h2 { display: flex; align-items: center; gap: 5px; margin: 0 0 8px; font-size: 11px; }
.rule-section p { margin: 0 0 8px; }
.rule-section > button { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; border: 0; color: #333; background: transparent; cursor: pointer; }
.rule-popover { position: absolute; z-index: 5; left: 5px; top: 82px; width: 340px; padding: 4px; border: 1px solid #ccc; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.rule-popover button { width: 100%; min-height: 34px; padding: 0 10px; border: 0; background: #fff; text-align: left; cursor: pointer; }
.rule-popover button:hover { background: #eee; }
.dlp-sit-picker { display: grid; gap: 10px; }
.dlp-sit-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dlp-sit-picker-heading button { min-height: 30px; border: 1px solid #8a8a8a; color: #0f6cbd; background: #fff; cursor: pointer; }
.dlp-sit-picker-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 14px; max-height: 230px; padding: 10px; overflow-y: auto; border: 1px solid #ddd; background: #fafafa; }
.dlp-sit-picker-options label { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; }
.purview-wizard.auto-label-wizard .wizard-layout { grid-template-columns: minmax(0,1fr); }
.auto-label-wizard .wizard-content { max-width: 796px; }
.condition-builder, .selected-action { margin-top: 10px; padding: 14px; border: 1px solid #ddd; background: #fafafa; }
.condition-builder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.condition-builder > strong { grid-column: 1 / -1; }
.condition-builder label { display: flex; flex-direction: column; gap: 6px; }
.condition-builder label:last-child { grid-column: 1 / -1; }
.selected-action { display: flex; flex-direction: column; gap: 12px; }
.switch-row { display: flex; align-items: center; gap: 7px; }
.inline-select { display: flex; align-items: center; gap: 8px; }
.inline-select select { min-height: 30px; border: 1px solid #777; }
.rule-editor > footer { position: fixed; z-index: 40; bottom: 0; left: 366px; right: 0; min-height: 54px; display: flex; align-items: center; gap: 8px; padding: 8px 28px; border-top: 1px solid #ddd; background: #fff; }
.rule-editor > footer button:disabled { color: #aaa; border-color: #ddd; background: #f5f5f5; cursor: not-allowed; }

.simulator-dock { position: fixed; z-index: 120; right: 12px; bottom: 12px; min-height: 38px; display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #bbb; border-radius: 4px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: 11px; }
.simulator-dock.editor-dock { bottom: 66px; }
.simulator-dock > span { padding: 0 7px; color: #555; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.simulator-dock button { min-height: 28px; display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border: 0; background: transparent; cursor: pointer; }
.simulator-dock button.active { color: #fff; background: #0f6cbd; }
.simulator-dock svg { width: 15px; }
.scenario-rail { position: fixed; z-index: 110; right: 12px; bottom: 60px; width: 300px; max-height: calc(100vh - 110px); padding: 18px; overflow-y: auto; border: 1px solid #bbb; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.18); font-size: 11px; }
.app-body.editor-mode .scenario-rail { bottom: 114px; max-height: calc(100vh - 164px); }
.scenario-rail.minimized { width: 300px; max-height: none; padding: 12px 14px; overflow: visible; }
.scenario-heading, .scenario-mini-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scenario-heading > span:last-child { display: flex; align-items: center; }
.scenario-badge { color: #0f6cbd; font-weight: 600; }
.scenario-heading button, .scenario-mini-heading button { border: 0; color: #0f6cbd; background: transparent; }
.scenario-rail h2 { font-size: 16px; }
.scenario-mini-title { display: block; margin: 9px 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.progress-meta { display: flex; justify-content: space-between; }
.progress-track { height: 5px; margin: 6px 0 16px; background: #ddd; }
.progress-track span { display: block; height: 100%; background: #0f6cbd; }
.scenario-rail.minimized .progress-track { margin-bottom: 0; }
.scenario-task, .scenario-success, .scenario-paused { padding: 12px; background: #eef6fc; }
.scenario-paused { display: flex; gap: 9px; border-left: 3px solid #0f6cbd; }
.scenario-paused > svg { flex: 0 0 auto; width: 16px; color: #0f6cbd; }
.scenario-paused p { margin-bottom: 0; }
.scenario-mini-resume { width: 100%; margin-top: 10px; }
.scenario-steps { padding-left: 0; list-style: none; }
.scenario-steps li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 5px; margin: 8px 0; }
.scenario-steps li > span { color: #666; text-align: center; }
.scenario-steps li.current { color: #0f6cbd; font-weight: 600; }

/* Guided and Demo learning overlay. Kept outside #app so SPA renders cannot remove it. */
#guide-layer { position: fixed; z-index: 1000; inset: 0; pointer-events: none; }
.guide-spotlight { position: fixed; border: 3px solid #0f6cbd; border-radius: 7px; box-shadow: 0 0 0 4px rgba(15,108,189,.18), 0 0 0 9999px rgba(0,0,0,.14); transition: left .16s ease, top .16s ease, width .16s ease, height .16s ease; }
.guide-tooltip { position: fixed; width: min(310px, calc(100vw - 32px)); padding: 14px 16px; border: 1px solid #8ab7df; border-radius: 6px; color: #242424; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.24); }
.guide-tooltip.target-pending { border-style: dashed; }
.guide-tooltip-meta { display: flex; justify-content: space-between; color: #0f6cbd; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.guide-tooltip h2 { margin: 8px 0 5px; font-size: 15px; }
.guide-tooltip p { margin: 0 0 8px; color: #444; font-size: 12px; line-height: 1.45; }
.guide-tooltip small { color: #666; font-size: 10px; }
.guide-demo-cursor { position: fixed; z-index: 2; left: -11px; top: -8px; width: 26px; height: 32px; transition: transform .48s cubic-bezier(.2,.75,.25,1); will-change: transform; }
.guide-demo-cursor::before { content: ''; position: absolute; inset: 0; clip-path: polygon(0 0, 0 27px, 7px 20px, 12px 31px, 18px 28px, 13px 18px, 23px 18px); background: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.guide-demo-cursor::after { content: ''; position: absolute; inset: 2px; clip-path: polygon(0 0, 0 22px, 6px 16px, 11px 27px, 14px 25px, 10px 15px, 19px 15px); background: #0f6cbd; }
.guide-demo-cursor span { position: absolute; z-index: -1; left: -10px; top: -10px; width: 38px; height: 38px; border: 2px solid rgba(15,108,189,.45); border-radius: 50%; opacity: 0; }
.guide-demo-cursor.clicking span { animation: guide-click .35s ease-out; }
#guide-layer.busy .guide-tooltip { border-color: #0f6cbd; }
body.guide-demo-active { cursor: none; }
body.guide-demo-active .scenario-rail, body.guide-demo-active .simulator-dock { cursor: auto; }
body.guide-guided-active button, body.guide-guided-active input, body.guide-guided-active select, body.guide-guided-active textarea, body.guide-guided-active a { cursor: not-allowed; }
body.guide-guided-active .guide-target-active, body.guide-guided-active .scenario-rail [data-action="pause-scenario"], body.guide-guided-active .scenario-rail [data-action="exit-scenario"] { cursor: pointer; }
body.guide-restoring { cursor: progress; }
@keyframes guide-click { from { opacity: 1; transform: scale(.35); } to { opacity: 0; transform: scale(1.2); } }

.learning-page { max-width: 1180px; }
.learning-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 26px 0 22px; border-bottom: 1px solid #ddd; }
.learning-hero h1 { margin: 5px 0 8px; font-size: 28px; }
.learning-hero p { max-width: 680px; margin: 0; color: #555; line-height: 1.5; }
.learning-mode-explainer { display: flex; flex: 0 0 auto; gap: 10px; }
.learning-mode-explainer > span { display: grid; grid-template-columns: 22px auto; min-width: 150px; padding: 11px; border: 1px solid #d2d2d2; border-radius: 5px; background: #fff; }
.learning-mode-explainer svg { grid-row: 1 / 3; width: 17px; color: #0f6cbd; }
.learning-mode-explainer small { color: #666; }
.learning-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 22px 0 90px; }
.learning-card { display: grid; grid-template-columns: 42px 1fr; gap: 4px 12px; padding: 18px; border: 1px solid #d7d7d7; border-radius: 6px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.learning-card.featured { border-color: #76a9d5; background: linear-gradient(135deg,#f5faff,#fff); }
.learning-card-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 5px; color: #fff; background: #0f6cbd; }
.learning-card-icon svg { width: 21px; }
.learning-card-copy h2 { margin: 5px 0 6px; font-size: 16px; }
.learning-card-copy p { margin: 0; color: #555; line-height: 1.45; }
.learning-card-meta { display: flex; gap: 8px; color: #666; font-size: 10px; text-transform: uppercase; }
.learning-card-actions { grid-column: 2; display: flex; gap: 8px; margin-top: 12px; }
.learning-card-actions button { min-height: 32px; padding: 0 11px; border: 1px solid #aaa; border-radius: 3px; background: #fff; cursor: pointer; }
.learning-card-actions button.primary { border-color: #0f6cbd; color: #fff; background: #0f6cbd; }
.scenario-exit { width: 100%; margin-top: 10px; }
@media (min-width: 1101px) {
  .app-body.has-scenario:not(.scenario-minimized) .app-main { margin-right: 324px; }
  .app-body.has-scenario:not(.scenario-minimized) .wizard-footer,
  .app-body.has-scenario:not(.scenario-minimized) .rule-editor > footer { right: 324px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-spotlight, .guide-demo-cursor { transition-duration: .01ms; }
}

@media (max-width: 820px) {
  .learning-hero { align-items: stretch; flex-direction: column; }
  .learning-mode-explainer { flex-wrap: wrap; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-card-actions { grid-column: 1 / -1; }
  .guide-tooltip { right: 12px; bottom: 68px; left: 12px !important; top: auto !important; width: auto; transform: none !important; }
  .dlp-sit-picker-options { grid-template-columns: 1fr; }
}

/* Existing solution-library and placeholder screens, restyled to sit inside the verified shell. */
.page-content { min-height: calc(100vh - var(--commandbar)); padding: 38px 40px 80px; background: #fff; }
.page-header { display: flex; justify-content: space-between; border-bottom: 1px solid #ddd; padding-bottom: 22px; }
.page-title-row { display: flex; align-items: center; gap: 10px; }
.page-title-row h1 { margin: 0; font-size: 26px; }
.page-header p { color: #555; }
.page-eyebrow, .section-kicker { color: #666; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.page-icon { color: #176bb4; }
.secondary-button, .primary-button { min-height: 32px; padding: 0 12px; border: 1px solid #aaa; background: #fff; cursor: pointer; }
.primary-button { color: #fff; border-color: #0f6cbd; background: #0f6cbd; }
.library-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; margin-top: 24px; }
.library-list { border: 1px solid #ddd; }
.library-list-heading { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid #ddd; }
.library-list > button { width: 100%; display: flex; gap: 10px; padding: 12px; border: 0; border-bottom: 1px solid #eee; background: #fff; text-align: left; }
.library-list > button.active { border-left: 3px solid #0f6cbd; background: #eef6fc; }
.library-list > button > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.library-detail { min-width: 0; }
.library-detail-header { display: flex; justify-content: space-between; gap: 20px; }
.tag-row { display: flex; gap: 6px; margin: 18px 0; }
.tag-row span, .safe-badge, .status-chip { padding: 3px 7px; border-radius: 10px; background: #eee; font-size: 10px; }
.detail-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.detail-stats > div { display: flex; flex-direction: column; gap: 5px; padding: 10px; border: 1px solid #ddd; }
.subsection-heading { display: flex; justify-content: space-between; margin-top: 24px; }
.operation-list details { margin-top: 8px; border: 1px solid #ddd; }
.operation-list summary { display: flex; gap: 10px; padding: 12px; cursor: pointer; }
.operation-list summary > div { display: flex; flex: 1; flex-direction: column; }
.operation-list pre { overflow: auto; padding: 12px; background: #f5f5f5; }
.empty-state { display: grid; place-items: center; min-height: 260px; padding: 30px; border: 1px solid #ddd; text-align: center; }

@media (max-width: 1100px) {
  .command-resource-links { gap: 0; }
  .command-resource-links a { width: 34px; justify-content: center; padding: 0; }
  .command-resource-links a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .command-resource-links svg { width: 15px; height: 15px; }
  .home-carousel { grid-template-columns: 1fr; }
  .hero-side-card { display: none; }
  .home-solution-grid { grid-template-columns: repeat(5, minmax(120px,1fr)); }
  .onboarding-grid { grid-template-columns: repeat(2,1fr); }
  .overview-columns { grid-template-columns: 1fr; }
  .wizard-layout { grid-template-columns: 240px minmax(0,1fr); }
  .wizard-footer, .rule-editor > footer { left: 240px; }
}

@media (max-width: 760px) {
  .app-launcher-navigation { display: flex; }
  .purview-brand, .north7-brand span { display: none; }
  .north7-brand { padding-right: 4px; }
  .north7-brand img { width: 92px; }
  .purview-search { left: 46px; transform: none; width: calc(100% - 240px); }
  .north7-commandbar .purview-search { left: 142px; width: calc(100% - 300px); }
  .command-actions button:nth-child(-n+3) { display: none; }
  .global-rail { transform: translateX(-100%); box-shadow: 4px 0 12px rgba(0,0,0,.18); }
  .global-rail.open { transform: translateX(0); }
  .app-main, .app-body.solution-mode .app-main { margin-left: 0; }
  .solution-rail { position: static; width: 100%; height: auto; display: none; }
  .portal-page, .policies-page, .page-content { padding: 24px 18px 80px; }
  .billing-banner { margin: 0 -18px; }
  .home-carousel { min-height: 330px; padding: 35px 10px 15px; }
  .hero-copy { gap: 18px; padding: 30px 10px; }
  .hero-mark { width: 44px; height: 44px; }
  .hero-copy h1 { font-size: 23px; }
  .home-solution-grid { grid-template-columns: repeat(3, minmax(112px,1fr)); }
  .insight-columns { grid-template-columns: 1fr; }
  .onboarding-grid, .overview-columns { grid-template-columns: 1fr; }
  .wizard-layout { display: block; }
  .wizard-rail { display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #ddd; }
  .wizard-rail > div { min-width: 120px; min-height: 28px; }
  .wizard-rail > div::after { display: none; }
  .wizard-rail > div.nested { margin-left: 0; }
  .wizard-content { width: calc(100% - 32px); margin: 0 auto; padding-top: 24px; }
  .wizard-footer, .rule-editor > footer { left: 0; }
  .wizard-footer span { display: none; }
  .template-layout, .condition-builder { grid-template-columns: 1fr; }
  .ip-setup-grid, .ip-overview-cards, .two-column-fields, .mini-fields, .classifier-row { grid-template-columns: 1fr; }
  .template-layout aside { display: none; }
  .condition-builder label:last-child { grid-column: auto; }
  .finish-list > div { grid-template-columns: 1fr; gap: 5px; }
  .library-layout { grid-template-columns: 1fr; }
  .settings-page .settings-layout, .theme-options { grid-template-columns: 1fr; }
  .simulator-dock > span { display: none; }
  .scenario-rail { width: calc(100vw - 24px); }
}

@media (max-width: 600px) {
  .north7-commandbar .purview-search { display: none; }
}

@media (min-width: 381px) and (max-width: 600px) {
  .north7-commandbar .command-resource-links a { width: auto; padding: 0 8px; }
  .north7-commandbar .command-resource-links a span { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
  .north7-commandbar .command-resource-links svg { display: none; }
}

/* ---- Captured 2026-08-07 solution shells (DLM, IRM, CC, Audit, DSI, DSPM, CM) ---- */

.solution-filters { min-height: 42px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid #e1e1e1; }
.solution-filters > strong { margin-right: 2px; font-weight: 400; font-size: 10px; }
.policy-tabs { display: flex; gap: 22px; margin: 2px 0 10px; border-bottom: 1px solid #ddd; }
.policy-tabs button { min-height: 36px; padding: 0; white-space: nowrap; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; font-size: 12px; }
.policy-tabs button[aria-selected="true"] { color: #0f6cbd; border-color: #0f6cbd; }
.collection-banner { min-height: 38px; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 12px; border: 1px solid #d8e3ef; background: #f2f7fc; font-size: 11px; }
.collection-banner svg { color: #0f6cbd; }
.collection-banner a { color: #0f6cbd; }
.recommended-card { display: flex; align-items: center; gap: 14px; margin: 10px 0; padding: 16px; border: 1px solid #d5d5d5; }
.recommended-card > svg { flex: 0 0 auto; color: #176bb4; }
.recommended-card > div { flex: 1; }
.recommended-card small { display: block; margin-bottom: 6px; color: #666; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.recommended-card h2 { margin: 0 0 6px; font-size: 15px; }
.recommended-card p { margin: 0; color: #555; font-size: 11px; }
.command-primary { color: #0f6cbd !important; font-weight: 600; }
.list-empty-state { padding: 46px 20px; color: #666; text-align: center; }
.list-empty-state .empty-action { min-height: 30px; margin: 0 0 0 12px; padding: 0 12px; border: 1px solid #aaa; background: #fff; cursor: pointer; }
.policy-grid td .sync-cell { display: inline-flex; align-items: center; gap: 6px; }
.policy-grid td .sync-cell svg { width: 13px; color: #237b2c; vertical-align: middle; }
.policy-count { margin-left: 10px; font-size: 11px; color: #555; }
.lookup-form { max-width: 720px; margin: 10px 0 24px; }
.lookup-actions { display: flex; gap: 8px; margin-top: 10px; }
.audit-search-form { max-width: 860px; margin: 6px 0 26px; padding: 16px; border: 1px solid #ddd; background: #fafafa; }
.audit-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.audit-form-grid .audit-wide { grid-column: 1 / -1; }
.template-dialog { position: relative; width: min(760px, 94vw); max-height: calc(100vh - 90px); padding: 28px; overflow-y: auto; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.template-dialog h1 { margin: 0 0 8px; font-size: 24px; }
.template-dialog > p { margin-bottom: 18px; color: #555; }
.template-catalogue { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.template-catalogue-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #ccc; background: #fff; cursor: pointer; text-align: left; }
.template-catalogue-card:hover { border-color: #0f6cbd; background: #f6fafe; }
.template-catalogue-card.selected { border-color: #0f6cbd; background: #eef6fc; }
.template-catalogue-card > svg { flex: 0 0 auto; color: #176bb4; }
.template-catalogue-card span { display: flex; flex-direction: column; gap: 4px; }
.template-catalogue-card small { color: #555; line-height: 1.35; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.dialog-footer button:disabled { color: #aaa; border-color: #ddd; background: #f5f5f5; cursor: not-allowed; }
.wizard-footer-inline { display: flex; gap: 8px; margin-left: auto; }
.dsi-template-grid { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 12px; }
.dsi-template-card { position: relative; min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid #ddd; background: #fff; cursor: pointer; text-align: left; }
.dsi-template-card:hover { border-color: #0f6cbd; }
.dsi-template-card > svg { color: #176bb4; }
.dsi-template-card span { display: flex; flex-direction: column; gap: 5px; }
.dsi-template-card strong { font-size: 12px; }
.dsi-template-card small { color: #555; font-size: 10.5px; line-height: 1.4; }
.dsi-template-card em { position: absolute; top: 12px; right: 12px; color: #0f6cbd; font-size: 10px; font-style: normal; }
.dspm-metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 20px; }
.dspm-metric-grid article { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 16px; border: 1px solid #ddd; }
.dspm-metric-key { width: 34px; height: 34px; display: grid; place-items: center; grid-row: 1 / span 3; border-radius: 4px; color: #fff; background: #0f6cbd; font-weight: 700; }
.dspm-metric-grid h3 { margin: 0; font-size: 12px; }
.dspm-metric-grid small { color: #666; font-size: 10px; }
.dspm-metric-grid strong { position: absolute; top: 16px; right: 16px; font-size: 18px; }
.dspm-metric-grid em { grid-column: 2; color: #888; font-size: 10px; font-style: normal; }
.dspm-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.insight-card { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px; border: 1px solid #ddd; background: #fff; cursor: pointer; text-align: left; }
.insight-card:hover { border-color: #0f6cbd; }
.insight-card > svg { flex: 0 0 auto; color: #176bb4; }
.insight-card span { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.insight-card strong { font-size: 11.5px; line-height: 1.4; }
.insight-card small { color: #666; font-size: 10px; }
.metric-strip { display: flex; gap: 12px; margin: 6px 0 14px; }
.metric-strip article { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #ddd; }
.metric-strip strong { font-size: 20px; }
.metric-strip span { color: #555; font-size: 10.5px; }
.metric-strip .metric-note em { font-style: normal; color: #0f6cbd; font-weight: 600; }
.legend-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 10px; color: #555; }
.legend-row span { padding: 2px 8px; border: 1px solid #ddd; border-radius: 10px; background: #f7f7f7; }
.legend-row em { margin-left: 8px; font-style: normal; font-weight: 600; }
.report-header-row { display: flex; align-items: center; justify-content: space-between; }
.report-view-toggle { display: flex; gap: 2px; border: 1px solid #ccc; }
.report-view-toggle button { width: 30px; height: 28px; display: grid; place-items: center; border: 0; background: #fff; cursor: pointer; }
.report-view-toggle button.active { color: #fff; background: #0f6cbd; }
.dspm-report-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.dspm-report-card { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 14px; border: 1px solid #ddd; }
.dspm-report-card > svg { flex: 0 0 auto; color: #0f6cbd; }
.dspm-report-card span { display: flex; flex-direction: column; gap: 5px; }
.dspm-report-card strong { font-size: 12px; }
.dspm-report-card small { color: #666; font-size: 10px; line-height: 1.4; }
.objective-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.objective-card { padding: 18px; border: 1px solid #ddd; }
.objective-card > svg { color: #176bb4; }
.objective-card h2 { margin: 10px 0 14px; font-size: 14px; line-height: 1.4; }
.objective-card p { color: #555; font-size: 11px; line-height: 1.5; }
.objective-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ---- Second implementation pass: deep-pass surfaces ---- */

.report-section { margin: 18px 0; }
.report-section h2 { margin: 0 0 8px; font-size: 14px; }
.compact-rail { display: flex; gap: 14px; margin: 6px 0 18px; padding: 12px; overflow-x: auto; border: 1px solid #ddd; background: #fafafa; }
.compact-rail > div { position: relative; min-width: 130px; min-height: 26px; display: grid; grid-template-columns: 18px 1fr; gap: 6px; align-items: center; color: #555; font-size: 11px; }
.compact-rail > div > span:first-child { width: 14px; height: 14px; display: grid; place-items: center; border: 1px solid #777; border-radius: 50%; font-size: 9px; }
.compact-rail > div.complete > span:first-child { color: #fff; border-color: #4f8cc3; background: #4f8cc3; }
.compact-rail > div.current { color: #242424; }
.compact-rail > div.current > span:first-child { color: #fff; border-color: #0f6cbd; background: #0f6cbd; }
.compact-rail > div.complete svg, .compact-rail > div.current svg { width: 12px; }
.radio-card.compact { min-height: 46px; margin: 6px 0; padding: 10px 14px; }
.assessment-regulations { display: grid; gap: 8px; margin-top: 10px; }
.remediation-items { display: grid; gap: 8px; margin: 8px 0; }
.remediation-items article { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #ddd; }
.remediation-items article > svg { flex: 0 0 auto; color: #176bb4; }
.remediation-items article span { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.remediation-items small { color: #666; }
.dspm-risk-cards { display: grid; gap: 10px; margin: 12px 0; }
.dspm-risk-cards article { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #ddd; }
.dspm-risk-cards article > svg { color: #176bb4; }
.dspm-risk-cards article span { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.dspm-risk-cards small { color: #666; }

/* Baseline rows, editors, and rule configuration surfaces */
.row-link { display: inline-flex; align-items: center; border: 0; padding: 0; color: #0f6cbd; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.policy-grid td .row-link { position: static; right: auto; top: auto; }
.baseline-delta-box { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; padding: 12px; border-left: 3px solid #eaa221; background: #fdf6e9; font-size: 11px; line-height: 1.5; }
.baseline-delta-box strong { color: #6b4f00; }
.rule-list { display: flex; flex-direction: column; }
.rule-subheading { margin: 14px 0 8px; font-size: 12px; color: #333; }
.sit-condition-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 110px 32px; gap: 8px; align-items: center; margin: 6px 0; }
.sit-condition-row input, .sit-condition-row select { min-height: 30px; padding: 0 8px; border: 1px solid #d0d0d0; border-radius: 2px; font-size: 12px; }
.sit-condition-row button { border: 0; background: transparent; color: #c42b1c; cursor: pointer; }
.override-preview { margin-top: 8px; padding: 10px; background: #f5f5f5; border-radius: 3px; font-size: 11px; overflow: auto; }

/* ---- 2026-08-08 fidelity pass: shell chrome, rail groups, catalogue, settings ---- */

.command-actions button { position: relative; }
.notification-badge { position: absolute; top: 6px; right: 4px; min-width: 14px; height: 14px; display: grid; place-items: center; padding: 0 3px; border-radius: 8px; color: #fff; background: #d13438; font-size: 9px; font-weight: 700; line-height: 1; }

.solution-title { gap: 10px; }
.rail-collapse-button { min-width: 22px; height: 22px; display: grid; place-items: center; margin-left: auto; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #555; cursor: pointer; }
.rail-collapse-button:hover { background: #e2e2e2; }
.rail-collapse-button svg { width: 14px; height: 14px; }
.solution-rail.collapsed { width: 38px; }
.solution-rail.collapsed .solution-title { padding: 17px 8px 10px; justify-content: center; }
.solution-rail.collapsed .solution-title strong { display: none; }
.solution-rail.collapsed .rail-collapse-button { margin-left: 0; }
.solution-rail.collapsed .rail-collapse-button svg { transform: rotate(90deg); }
.app-body.rail-collapsed .app-main { margin-left: var(--rail); }

.global-rail .recent-solutions { margin-top: 10px; padding-top: 8px; border-top: 1px solid #d8d8d8; }
.global-rail .recent-solutions .recent-solution { min-height: 52px; margin-top: 0; }
.global-rail .recent-solutions .recent-solution.active { color: #0f4c81; border-left-color: #0f6cbd; background: #e8eef5; }

.rail-group { display: flex; flex-direction: column; }
.rail-group .group-heading { width: 100%; min-height: 33px; display: flex; align-items: center; gap: 10px; padding: 6px 11px; border: 0; border-left: 3px solid transparent; background: transparent; cursor: pointer; text-align: left; font-size: 11px; line-height: 1.2; }
.rail-group .group-heading:hover { background: #e2e2e2; }
.rail-group .group-heading.active { border-left-color: #0f6cbd; background: #d5d5d5; }
.rail-group .group-heading svg { width: 16px; height: 16px; flex: 0 0 auto; }
.rail-group .group-heading .nav-chevron { margin-left: auto; width: 13px; }

.filter-action { min-height: 30px; display: inline-flex; align-items: center; gap: 3px; padding: 0 10px; border: 1px solid #ddd; border-radius: 16px; background: #fff; color: #333; font-size: 10px; cursor: pointer; }
.filter-action:hover { border-color: #0f6cbd; color: #0f6cbd; }

.policy-grid .policy-group-row td { padding: 8px 12px !important; background: #fafafa; text-align: left; }
.policy-grid.no-select-col th:first-child, .policy-grid.no-select-col td:first-child { text-align: left; }
.solution-list-contained { min-height: 0; padding: 0; background: transparent; }
.policy-group-row strong { font-size: 11.5px; font-weight: 600; color: #333; }

.copilot-badge { width: 13px; height: 13px; margin-left: 6px; color: #0f6cbd; vertical-align: -2px; }

.settings-page .settings-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 26px; margin-top: 22px; }
.settings-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border: 1px solid #ddd; }
.settings-nav button { min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; background: transparent; cursor: pointer; text-align: left; font-size: 11px; }
.settings-nav button:hover { background: #f0f0f0; }
.settings-nav button.active { color: #0f6cbd; border-left: 3px solid #0f6cbd; background: #eef6fc; }
.settings-nav button svg { width: 15px; }
.settings-nav button svg:last-child { margin-left: auto; width: 12px; }
.settings-nav-group { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; margin-top: 10px; border-top: 1px solid #eee; }
.settings-nav-group strong { padding: 0 14px 6px; color: #666; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.settings-nav-group button { padding-left: 24px; }
.settings-content { min-width: 0; }
.settings-card { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 16px; border: 1px solid #ddd; }
.settings-card svg { width: 20px; height: 20px; color: #176bb4; flex: 0 0 auto; margin-top: 2px; }
.settings-card h2 { margin: 0 0 6px; font-size: 14px; }
.settings-card p { margin: 0; color: #555; font-size: 11px; }
.theme-settings-copy { flex: 1; min-width: 0; }
.theme-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.theme-option { min-width: 0; padding: 0; overflow: hidden; border: 1px solid #c8c8c8; border-radius: 4px; background: #fff; cursor: pointer; text-align: left; }
.theme-option:hover { border-color: #0f6cbd; }
.theme-option.selected { border-color: #0f6cbd; box-shadow: 0 0 0 1px #0f6cbd; }
.theme-preview { height: 45px; display: flex; align-items: center; padding: 0 12px; color: #fff; background: #0f4c81; }
.purview-theme-preview span { font-size: 11px; font-weight: 600; }
.north7-theme-preview { border-top: 3px solid #d26b3a; background: #2f5c3d; }
.north7-theme-preview img { width: 105px; height: 30px; object-fit: contain; }
.theme-option > span:last-child { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; }
.theme-option strong { font-size: 11px; }
.theme-option small { color: #666; font-size: 9.5px; }
.profile-actions { display: flex; gap: 8px; margin-top: 16px; }
.profile-actions button { min-height: 30px; padding: 0 12px; border: 1px solid #aaa; background: #fff; cursor: pointer; font-size: 11px; }

.section-subtitle { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #333; }
.tour-step-indicator { display: inline-block; margin-bottom: 8px; color: #0f6cbd; font-size: 11px; font-weight: 600; }
.tour-video-link { display: flex; align-items: center; gap: 7px; }
.tour-video-link svg { width: 16px; color: #176bb4; }
.dsi-welcome .dsi-value-props { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.dsi-welcome .dsi-value-props section { padding: 18px; border: 1px solid #ddd; }
.dsi-welcome .dsi-value-props strong { display: block; margin-bottom: 8px; color: #0f6cbd; font-size: 13px; }
.dsi-welcome .dsi-value-props p { margin: 0; color: #555; font-size: 11.5px; line-height: 1.5; }
.dsi-welcome-actions { display: flex; align-items: center; gap: 16px; }

.cc-header-commands { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid #eee; padding-bottom: 6px; }
.cc-header-commands button { min-height: 28px; padding: 0 10px; border: 0; background: transparent; color: #333; cursor: pointer; font-size: 11px; }
.cc-header-commands button:hover { background: #f0f0f0; }
.recommended-card { position: relative; }
.recommended-tag { position: absolute; top: 12px; right: 12px; padding: 2px 8px; border-radius: 10px; background: #eef6fc; color: #0f6cbd; font-size: 9px; font-weight: 600; }
.dismiss-button { position: absolute; right: 10px; bottom: 10px; border: 0; background: transparent; color: #666; cursor: pointer; font-size: 10px; }
.featured-quick-action { display: block; margin-top: 10px; min-height: 32px; padding: 0 12px; border: 1px solid #0f6cbd; color: #0f6cbd; background: #fff; cursor: pointer; font-size: 11px; font-weight: 600; }
.featured-template { border-style: dashed; border-color: #0f6cbd; background: #f6fafe; }
.whats-new-list { margin: 10px 0 0; padding: 0; list-style: none; }
.whats-new-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eee; }
.whats-new-list li:last-child { border-bottom: 0; }
.whats-new-list svg { width: 16px; height: 16px; margin-top: 2px; color: #0f6cbd; flex: 0 0 auto; }
.whats-new-list span { display: flex; flex-direction: column; gap: 3px; }
.whats-new-list small { color: #666; }
.compact-breadcrumb { height: 38px; padding: 0 8px; margin-bottom: 10px; border: 1px solid #eee; font-size: 11px; }

.cm-page-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 6px; }
.cm-ai-banner { display: flex; align-items: center; gap: 10px; min-height: 34px; margin: 12px 0; padding: 6px 12px; border: 1px solid #d6e4f2; background: #f3f8fd; font-size: 11px; }
.cm-ai-banner svg { color: #0f6cbd; }
.cm-ai-banner span { flex: 1; }
.cm-ai-banner button { border: 0; background: transparent; color: #0f6cbd; cursor: pointer; font-size: 10.5px; }
.cm-score-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 10px 0 6px; }
.cm-score-card { padding: 18px; border: 1px solid #ddd; background: #fff; }
.cm-score-card strong { font-size: 12px; }
.cm-score-values { margin: 10px 0 6px; font-size: 24px; font-weight: 700; }
.cm-score-values span:first-child { color: #0f6cbd; }
.cm-score-card small { color: #555; font-size: 10.5px; line-height: 1.45; }
.cm-solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.cm-solutions-grid button { min-height: 48px; display: flex; align-items: center; padding: 10px 14px; border: 1px solid #ddd; background: #fff; cursor: pointer; text-align: left; font-size: 11.5px; }
.cm-solutions-grid button:hover { border-color: #0f6cbd; }
.cm-solutions-grid .cm-explore-all { color: #0f6cbd; font-weight: 600; justify-content: center; }
.select-regulation-button { min-height: 32px; display: inline-flex; align-items: center; gap: 8px; margin: 10px 0; padding: 0 12px; border: 1px solid #aaa; background: #fff; cursor: pointer; font-size: 11px; }
.select-regulation-button svg { width: 14px; color: #0f6cbd; }
.regulation-picker-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.regulation-picker-table th, .regulation-picker-table td { height: 40px; padding: 0 10px; border-bottom: 1px solid #e3e3e3; text-align: left; }
.regulation-picker-table th { font-weight: 500; background: #fafafa; }
.regulation-picker-table tr { cursor: pointer; }
.regulation-picker-table tr:hover { background: #f5f9fd; }
.regulation-picker-table tr.selected { background: #eef6fc; }
.regulation-picker-table td:first-child { display: flex; align-items: center; gap: 8px; }
.validation-error-box { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-left: 3px solid #d13438; background: #fde7e9; color: #a4262c; font-size: 11px; }
.validation-error-box svg { width: 15px; color: #a4262c; }
.validation-error-box button { margin-left: auto; border: 0; background: transparent; color: #a4262c; cursor: pointer; }
.choice-card .choice-action { display: block; margin-top: 6px; color: #0f6cbd; font-weight: 600; font-style: normal; font-size: 11px; }
.template-dialog.wide-dialog { width: min(980px, 96vw); }

.rm-overview-actions { margin: 6px 0 0; }
.rm-overview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 8px; }
.rm-overview-toolbar > button { min-height: 28px; border: 0; background: transparent; color: #0f6cbd; cursor: pointer; font-size: 11px; }
.rm-view-toggle { display: flex; gap: 2px; border: 1px solid #ccc; }
.rm-view-toggle button { min-height: 28px; padding: 0 10px; border: 0; background: #fff; cursor: pointer; font-size: 10.5px; }
.rm-view-toggle button:hover { background: #f0f0f0; }

.role-banner h2 { margin: 0; font-size: 11.5px; font-weight: 600; }
.recommended-card h3 { margin: 0 0 6px; color: #666; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }

.empty-state > strong { font-size: 15px; font-weight: 600; }

.copilot-card-title { display: block; margin: 30px 0 16px; font-size: 17px; font-weight: 600; }

.legend-row label { padding: 2px 8px; border: 1px solid #ddd; border-radius: 10px; background: #f7f7f7; }

/* Sidebar scrim - present in the React app but unstyled; overlay intent */
.sidebar-scrim { position: fixed; z-index: 90; inset: var(--commandbar) 0 0 0; border: 0; background: rgba(0,0,0,.35); cursor: pointer; }

@media (max-width: 760px) {
  .settings-page .settings-layout { grid-template-columns: 1fr; }
  .settings-page .settings-content { grid-row: 1; }
  .settings-page .settings-nav { grid-row: 2; }
}

@media (max-width: 480px) {
  .theme-options { grid-template-columns: 1fr; }
}
