.enterprise-management,.section-goals,.section-planning {
    --em-ink:#211851;
    --em-muted:#73688d;
    --em-accent:#7533d7;
    --em-line:#e6dff4;
    --em-tint:#faf8fe;
    --em-selected:#f2ecff;
    color:var(--em-ink);
}
.enterprise-management .enterprise-heading h1,:is(.section-goals,.section-planning) .enterprise-heading h1 {font-size:clamp(23px,1.7vw,28px);line-height:1.2;margin:6px 0;font-weight:700}
.enterprise-management .enterprise-heading p,:is(.section-goals,.section-planning) .enterprise-heading p {font-size:14px;color:var(--em-muted);margin:0}
.enterprise-management .enterprise-heading small,:is(.section-goals,.section-planning) .enterprise-heading small {font-size:12px;color:var(--em-muted)}
.em-split {display:grid;grid-template-columns:minmax(0,1fr) clamp(290px,24.6vw,416px);gap:14px;min-height:100%}
.em-split.em-single {grid-template-columns:minmax(0,1fr)}
.em-panel,.body-general,.body-ai,.body-security,.em-flows {background:#fff;border:1px solid var(--em-line);border-radius:12px;min-width:0}
.em-main,.em-aside,.em-policy,.body-general,.body-ai,.body-security {padding:clamp(15px,1.05vw,20px)}
.em-stack {display:flex;flex-direction:column;gap:14px;min-width:0}
.em-head,.em-actions,.em-profile,.em-title,.em-record,.em-tags,.em-filters {display:flex;align-items:center;gap:9px}
.em-head {justify-content:space-between;align-items:flex-start;margin-bottom:17px;gap:14px}
.em-head h2,.em-profile strong,.em-profile h3,.em-flows .flows-heading h2 {font-size:20px;line-height:1.3;font-weight:700;margin:2px 0;color:var(--em-ink)}
.em-head p,.em-profile p,.em-muted,.em-tree-caption,.em-block p,.em-note p,.em-policy p,.em-empty p {color:var(--em-muted);line-height:1.55;margin:4px 0 8px}
.em-profile {align-items:flex-start;margin:1px 0 18px}
.em-profile>div,.em-identity>span {min-width:0}
.em-profile small,.em-identity small,.em-group-row small,.em-metric small {display:block;font-size:12px;color:var(--em-muted);line-height:1.4}
.em-profile strong {display:block}
.em-close,.em-tree-toggle {border:1px solid var(--em-line);border-radius:6px;background:var(--em-tint);color:var(--em-accent);line-height:1;cursor:pointer}
.em-close {margin-left:auto;padding:2px 9px;font-size:21px}
.em-actions,.em-title,.em-tags,.em-filters {flex-wrap:wrap}
.enterprise-management .planning-button,.section-goals .enterprise-heading .planning-button {gap:7px;min-height:35px;border-radius:6px;font-weight:550;font-size:12px;text-decoration:none}
.enterprise-management .planning-button.primary,.section-goals .planning-button.primary,.em-flows .pama-auth-primary {background:linear-gradient(115deg,#9856f6,#762dee);color:white}
.enterprise-management .planning-button:disabled {opacity:.56}
.em-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.em-metric-filter {padding:0;background:none;color:inherit;border:0;text-align:left;min-width:0}
.em-metric {display:grid;grid-template-columns:auto 1fr;align-content:start;gap:4px 12px;height:100%;min-height:101px;border:1px solid var(--em-line);border-radius:9px;background:white;padding:13px 12px;min-width:0}
.em-metric-filter:hover .em-metric,.em-group-row:hover {background:var(--em-tint)}
.em-icon,.em-avatar {display:inline-flex;align-items:center;justify-content:center;color:#8343dd;background:linear-gradient(145deg,#eee4ff,#f7f1ff);border-radius:9px;width:36px;height:36px;flex:none}
.em-metric.blue .em-icon {color:#298ac9;background:#eaf4ff}
.em-metric.red .em-icon {color:#ce5557;background:#ffeded}
.em-metric.amber .em-icon {color:#a86e16;background:#fff5dc}
.em-icon.large {width:48px;height:48px}
.em-icon svg,.em-note svg,.em-info svg,.em-block h3 svg,.em-policy h3 svg,.em-tag svg,.management-nav svg,.em-actions svg {width:18px;height:18px;flex:none}
.em-metric strong {display:block;font-size:24px;line-height:1.15;margin-top:3px;font-weight:700}
.em-caption {font-size:13px;font-weight:650;line-height:1.3;display:block}
.em-metric small {grid-column:1/-1;line-height:1.3;margin-top:3px}
.enterprise-management .planning-tabs,.section-goals .planning-view-bar .planning-tabs {display:flex;gap:13px;border-bottom:1px solid var(--em-line);margin:0 0 14px;min-width:0;flex-wrap:wrap;justify-content:flex-start}
.enterprise-management .planning-tabs button,.section-goals .planning-view-bar .planning-tabs button {padding:8px 5px 10px;color:var(--em-muted);font-size:13px}
.enterprise-management .planning-tabs button.active,.section-goals .planning-view-bar .planning-tabs button.active {color:var(--em-accent);border-bottom-color:#9253f4}
.em-filters {margin:14px 0}
.em-search,.em-filters :is(input,select),.people-filters :is(input,select),.enterprise-management .enterprise-work-form :is(input:not([type=checkbox]),select,textarea),.em-field-value {color:var(--em-ink);background:white;border:1px solid #ded6ed;border-radius:6px;padding:7px 10px;min-height:35px;font:inherit}
.em-search {min-width:0;flex:1}
.em-filters select,.people-filters select {color:var(--em-muted)}
.em-panel .enterprise-table {width:100%;margin:0;overflow:auto;border-radius:6px}
.em-panel .enterprise-table table {width:100%;border-collapse:collapse;font-size:13px;color:var(--em-ink)}
.em-panel .enterprise-table :is(th,td) {padding:10px 8px;text-align:left;vertical-align:middle;border:0;border-bottom:1px solid #f0ecf7;line-height:1.35}
.em-panel .enterprise-table thead th {color:#514774;font-size:12px;background:#fff;font-weight:600;white-space:nowrap}
.em-panel .enterprise-table tbody tr.em-selected {background:var(--em-selected)}
.em-identity {display:flex;align-items:center;gap:10px;text-align:left;border:0;background:none;color:inherit;padding:0;font:inherit}
.em-identity strong {font-size:13px;font-weight:600}
.em-avatar {font-size:12px;width:33px;height:33px;border-radius:50%;font-weight:650}
.em-avatar.large {font-size:22px;width:54px;height:54px}
.em-tag,.em-status {display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:3px 8px;font-size:11px;line-height:1.4}
.em-tag {background:#f5f0ff;border:1px solid #e8def7;color:#674499}
.em-tag.neutral {background:#f7f6fb;border-color:#ece8f4;color:#4e4667}
.em-tags {gap:5px}
.em-status {background:#f4f2f7;color:#625a71;white-space:nowrap}
.em-status:before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.em-status[data-status=Active],.em-status[data-status=Accepted] {background:#e8f8ee;color:#21784f}
.em-status[data-status^=Pending] {background:#fff4d8;color:#936313}
.em-status[data-status=Suspended],.em-status[data-status=Revoked] {background:#fdeeed;color:#9d4047}
.em-info,.em-note,.em-block {border:1px solid var(--em-line);border-radius:8px;padding:13px 15px;margin:14px 0}
.em-info,.em-note {background:#f7f3ff}
.em-info {display:flex;align-items:center;gap:9px;color:#635580;line-height:1.45;font-size:12px}
.em-block h3,.em-note h3,.em-policy h3,.em-main>h3,.em-aside>h3 {display:flex;align-items:center;gap:8px;margin:0 0 9px;font-size:15px;font-weight:650}
.em-fields,.enterprise-management .enterprise-work-form {display:grid;gap:8px}
.enterprise-management .enterprise-work-form {max-width:46rem;gap:13px}
.em-fields label,.enterprise-management .enterprise-work-form label {font-size:13px;font-weight:550;margin:0}
.em-fields label:not(:first-child) {margin-top:6px}
.em-field-value {display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.enterprise-management .enterprise-work-form label {display:block}
.enterprise-management .enterprise-work-form label :is(input:not([type=checkbox]),select,textarea) {display:block;margin-top:5px;width:100%;font-weight:400}
.enterprise-management .enterprise-work-form input[type=checkbox] {accent-color:#8642e7;vertical-align:middle;margin-right:6px}
.enterprise-management .enterprise-work-form fieldset {padding:10px 12px;border:1px solid var(--em-line);border-radius:7px}
.enterprise-management .enterprise-work-form legend {float:none;width:auto;font-size:13px;font-weight:600;padding:0 4px;margin:0}
.enterprise-management .enterprise-work-form small,.enterprise-management .enterprise-work-form p {color:var(--em-muted);line-height:1.5}
.enterprise-management .enterprise-work-form .planning-button {justify-self:start}
.em-empty {display:grid;place-items:center;align-content:center;gap:10px;padding:42px 16px;text-align:center;color:var(--em-muted)}
.em-empty h3 {color:var(--em-ink);font-size:15px;margin:0}
.em-groups {display:grid;grid-template-columns:clamp(200px,18.5vw,310px) minmax(0,1fr);gap:14px;flex:1}
.body-groups {display:flex;flex-direction:column}
.em-group-list {padding:12px}
.em-group-list .em-search {width:100%;margin-bottom:12px}
.em-group-row {display:flex;align-items:center;width:100%;gap:10px;padding:10px;background:transparent;color:inherit;text-align:left;border:1px solid transparent;border-radius:8px}
.em-group-row.active {background:var(--em-selected);border-color:#decdf8}
.em-group-row>span:last-child {margin-left:auto}
.em-record {padding:8px 0;border-bottom:1px solid #eee9f7}
.em-record .em-tag {margin-left:auto}
.em-access-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.em-access-grid>* {margin:0}
.em-detail {min-height:100%}
.em-back {margin-bottom:12px}
.em-block dl {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0}
.em-block dd {margin:0}
.em-access-actions summary {color:var(--em-accent);cursor:pointer}
.em-permission-list {padding:0;list-style:none}
.em-permission-list li {padding:7px 0;border-bottom:1px solid #f2eef8}
.em-permission-list li:before {content:"✓";color:#32835b;margin-right:9px}
.em-permission-list small {color:var(--em-muted);float:right}
.em-panel .em-matrix :is(td,thead th):not(:first-child) {text-align:center}
.em-panel .em-matrix th:first-child {font-weight:500}
.em-matrix .selected {background:var(--em-selected)}
.em-permission {color:#b0a9bc}
.em-permission[data-value=Allowed] {color:#299764}
.em-permission[data-value=Scoped] {color:#a37adf}
.body-flows .em-flows {padding:15px;min-height:100%;position:relative}
.em-flows .flows-heading {border:0;padding:0 2px 15px}
.em-flows .flows-close {border:1px solid var(--em-line);background:var(--em-tint);border-radius:6px;font-size:21px}
.em-flows .flows-layout {grid-template-columns:clamp(145px,12vw,204px) minmax(0,1fr) clamp(268px,22vw,380px);gap:10px;height:clamp(530px,calc(100dvh - 298px),850px)}
.em-flows :is(.flows-nav,.flows-editor,.flows-settings) {border:1px solid var(--em-line);border-radius:8px;padding:14px;min-width:0}
.em-flows .flows-nav::before {content:"Type";display:block;margin:0 5px 12px;font-size:14px;font-weight:650}
.em-flows .flows-settings h2,.em-flows .flows-editor h2 {font-size:16px}
.em-flows .flows-column {flex:1 0 145px;min-width:145px;max-width:none;background:#faf8fd;border-color:var(--em-line);padding:8px}
.em-flows .flows-columns {gap:7px;min-height:190px}
.em-flows .flows-status-name {gap:4px;padding:6px 2px}
.em-flows .flows-status {min-height:35px}
.em-flows .flows-status small {font-size:9px}
.em-flows .flows-confirm-backdrop {position:fixed;z-index:90}
.em-tree-toggle {padding:3px 6px}
.em-more-views {align-self:center;position:relative}
.em-more-views summary {cursor:pointer;color:var(--em-muted);font-size:12px;list-style:none}
.em-more-views>div {position:absolute;z-index:10;top:calc(100% + 6px);background:white;border:1px solid var(--em-line);border-radius:7px;min-width:150px;padding:6px;box-shadow:0 5px 16px #30205212}
.em-more-views a {display:block;padding:7px 9px;color:var(--em-ink)}
.section-goals .planning-view-bar {border:0;margin-bottom:15px}
.section-goals .enterprise-two-columns {display:grid;grid-template-columns:minmax(0,2.65fr) minmax(270px,1fr);gap:15px;align-items:start}
.section-goals .enterprise-two-columns>*,.section-goals .enterprise-entity-copy {min-width:0}
.section-goals .enterprise-two-columns .enterprise-card {padding:17px 19px;border:1px solid var(--em-line);border-radius:10px}
.section-goals .enterprise-toolbar h2 {font-size:20px}
.section-goals .enterprise-toolbar {margin-bottom:6px}
.em-tree-caption {margin:0 0 16px;font-size:13px}
.section-goals .enterprise-goal-summary {border:0;border-radius:0;margin:0 0 15px;overflow:visible}
.section-goals .enterprise-goal-summary>header {border:1px solid var(--em-line);border-radius:8px;background:#f6f1ff;padding:10px;gap:9px}
.section-goals .enterprise-goal-children {border-left:1px dashed #c6afe5;margin-left:22px;padding:5px 0 4px 14px}
.section-goals .enterprise-key-result {border:0;border-radius:0;padding:0;margin:3px 0 8px}
.section-goals .enterprise-key-result>.enterprise-entity-row {background:#fbf9ff;border:1px solid var(--em-line);border-radius:6px;padding:6px 9px}
.section-goals .enterprise-work-state {gap:6px}
.section-goals .enterprise-entity-copy small,.section-goals .enterprise-entity-code {font-size:11px}
.section-goals .enterprise-measure progress {accent-color:#3cb76b;width:clamp(45px,5vw,95px)}
.section-goals .enterprise-compact-initiatives {border-left:1px dashed #d7c9ed;margin-left:17px;padding:3px 0 3px 13px}
.section-goals .enterprise-compact-initiatives:empty {display:none}
.section-goals .enterprise-compact-initiatives .enterprise-entity-row {padding:5px 8px;gap:7px}
.section-goals .enterprise-add-kr {width:auto!important;min-height:26px;padding:3px 8px}
.section-goals .enterprise-two-columns aside .enterprise-card h2 {display:flex;align-items:center;gap:8px;font-size:16px}
.section-goals .enterprise-two-columns aside .enterprise-card h2 svg {width:20px;height:20px}
@media(min-width:1450px) {
    body:has(.enterprise-management,.section-goals) .enterprise-navigation a {padding:7px 8px;gap:6px}
}
@media(max-width:1250px) {
    .em-split {grid-template-columns:minmax(0,1fr) 280px}
    .em-metrics {gap:7px}
    .em-metric {padding:10px 8px;gap:5px}
    .em-metric .em-icon {width:29px;height:29px}
    .em-flows .flows-layout {grid-template-columns:130px minmax(0,1fr) 260px}
}
@media(max-width:1060px) {
    .em-head,.em-profile {flex-wrap:wrap}
    .em-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
    .em-groups {grid-template-columns:190px minmax(0,1fr)}
    .em-split {grid-template-columns:minmax(0,1fr) 245px}
    .em-flows .flows-layout {grid-template-columns:minmax(0,1fr) 265px;height:auto}
    .em-flows .flows-nav {grid-column:1/-1;display:flex;align-items:center;gap:7px}
    .em-flows .flows-nav::before {margin:0}
    .em-flows .flows-nav button {width:auto;margin:0}
    .section-goals .enterprise-two-columns {grid-template-columns:minmax(0,1fr) 265px}
}
@media(max-width:850px) {
    .em-split,.section-goals .enterprise-two-columns {grid-template-columns:minmax(0,1fr)}
    .em-groups {grid-template-columns:minmax(150px,1fr) minmax(0,2.5fr)}
    .em-split>* {min-width:0}
}
@media(max-width:760px) {
    .enterprise-management,.section-goals {padding-top:14px}
    .em-split,.em-groups,.em-access-grid {grid-template-columns:minmax(0,1fr)}
    .em-main,.em-aside,.em-policy,.body-general,.body-security,.body-ai {padding:13px}
    .em-flows .flows-layout {display:flex;flex-direction:column;height:auto;min-height:0}
    .em-flows .flows-nav {overflow-x:auto}
    .em-flows .flows-nav::before {display:none}
    .em-flows .flows-heading {position:static}
    .em-flows .flows-nav>button {white-space:normal}
    .em-flows .flows-settings,.em-flows .flows-editor {padding:12px}
    .em-flows .flows-columns {min-height:0}
    .section-goals .enterprise-two-columns .enterprise-card {padding:12px}
    .section-goals .enterprise-toolbar {align-items:flex-start;flex-wrap:wrap}
    .section-goals .enterprise-goal-children {margin-left:8px;padding-left:8px}
    .section-goals .enterprise-goal-summary .enterprise-identity-link {white-space:normal;text-align:left}
    .em-head .planning-button {white-space:normal}
    .em-search {flex-basis:150px}
}
.enterprise-work.enterprise-management {padding-top:14px}
.enterprise-management .em-metric-filter {display:block;width:100%}
.em-metric-filter .em-metric {width:100%;text-align:left}
.em-metric.green .em-icon {background:#e6f8ec;color:#2e9256}
.em-invite-menu {position:relative}
.em-invite-menu summary {cursor:pointer;list-style:none}
.em-invite-menu nav {position:absolute;top:calc(100% + 4px);right:0;z-index:6;min-width:150px;background:white;border:1px solid var(--em-line);border-radius:7px;padding:5px;box-shadow:0 4px 15px #33244812}
.em-invite-menu a {display:block;color:var(--em-ink);padding:8px;text-decoration:none}
.em-invite-menu a:hover {background:var(--em-selected)}
.em-access-line {display:flex;align-items:flex-start;gap:10px;margin:12px 0}
.em-access-line svg {width:18px;height:18px;color:var(--em-accent)}
.em-access-line small {display:block;color:var(--em-muted);font-size:12px}
.em-row-action {border:0;background:transparent;color:var(--em-accent);font-size:17px;line-height:1;padding:5px 7px;border-radius:4px}
.em-row-action:hover {background:#e9def8}
.em-access-control summary {width:fit-content;border:1px solid #f0c9c8;border-radius:6px;background:#fff5f4;padding:7px 10px;list-style:none}
.em-flows .flows-nav::before {content:none}
.em-flows .flows-nav h3 {margin:0 5px 12px}
.em-flows .flows-close {font-size:12px;min-height:35px}
@media(min-width:851px) {
    .enterprise-work.section-goals .enterprise-two-columns {grid-template-columns:minmax(0,2.55fr) minmax(270px,1fr)}
}
.section-goals .enterprise-goal-summary .enterprise-measure progress::-webkit-progress-value {background:#41b96a}
.section-goals .enterprise-goal-summary .enterprise-measure progress::-moz-progress-bar {background:#41b96a}
.section-goals .enterprise-work-state .enterprise-measure {display:flex;align-items:center;gap:6px}
.section-goals .enterprise-goal-summary .enterprise-measure small {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.section-goals .enterprise-key-result .planning-empty-inline {margin:3px 0 3px 20px;font-size:11px}
.section-goals .enterprise-two-columns aside .enterprise-warning {padding:7px 9px;margin:4px 0;font-size:12px;line-height:1.4}
@media(max-width:760px){.em-flows .flows-nav h3 {display:none}}

.section-goals .planning-view-bar,.section-goals .planning-view-bar .planning-tabs {overflow:visible;position:relative;z-index:3}
.section-goals .em-more-views[open] {z-index:4}
.section-goals .em-more-views a {white-space:nowrap}
.section-goals .em-tree-toggle {inline-size:25px;block-size:25px;flex:0 0 25px;display:grid;place-items:center;align-self:center;font:600 15px/1 system-ui;padding:0}
.section-goals .hierarchy-add {margin:5px 4px;min-height:28px;border-style:dashed}
.enterprise-work .enterprise-work-drawer {inset:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(1440px,96vw);z-index:1201}
.enterprise-work .enterprise-drawer-backdrop {z-index:1200}
.enterprise-work-drawer .planning-detail-body {min-height:0;height:100%;overflow:hidden}
.enterprise-work-drawer .planning-detail-content {overflow:auto;min-width:0}
.enterprise-work-drawer .enterprise-compact-initiatives .enterprise-entity-copy {min-width:0;overflow-wrap:anywhere;flex:1}
.em-member-groups {border:1px solid #e6dff4;border-radius:8px;padding:9px 12px}
.em-member-groups legend {font-size:13px;float:none;width:auto}
.em-member-groups label {display:flex;align-items:center;gap:7px}
@media(max-width:760px){.enterprise-work .enterprise-work-drawer{width:100vw}}
