#polarisPerformanceRoot .il-header{display:flex;align-items:center;gap:20px;min-height:64px;padding:0 24px;border-bottom:1px solid #e9edf3;background:#fff}#polarisPerformanceRoot .il-header h2{font-size:18px;margin:0;padding-right:18px;border-right:1px solid #e2e7ee}#polarisPerformanceRoot .il-header nav{display:flex;gap:20px;align-self:stretch}#polarisPerformanceRoot .il-header nav button,#polarisPerformanceRoot .il-detail-tabs button{border:0;border-radius:0;background:transparent;position:relative;color:#526070}#polarisPerformanceRoot .il-header nav button.active,#polarisPerformanceRoot .il-detail-tabs button.active{color:#2783e8}#polarisPerformanceRoot .il-header nav button.active:after,#polarisPerformanceRoot .il-detail-tabs button.active:after{content:'';position:absolute;height:3px;bottom:0;left:12px;right:12px;background:#2783e8}#polarisPerformanceRoot .il-header-actions{margin-left:auto;display:flex;gap:8px;align-items:center}#polarisPerformanceRoot .il-library{display:grid;grid-template-columns:185px minmax(0,1fr);background:#fff;min-height:620px}#polarisPerformanceRoot .il-library.is-board{grid-template-columns:1fr}#polarisPerformanceRoot .il-categories{border-right:1px solid #e6ebf2;position:relative;padding:18px 0}#polarisPerformanceRoot .il-categories form{display:flex;margin:0 34px 16px 12px;border:1px solid #dde3ec;border-radius:5px;overflow:hidden}#polarisPerformanceRoot .il-categories form input{width:100%;min-width:0;border:0;padding:8px;font:inherit}#polarisPerformanceRoot .il-categories form button{border:0;background:white}#polarisPerformanceRoot .il-category-add{position:absolute;right:2px;top:18px;border:0}#polarisPerformanceRoot .il-categories nav>button,#polarisPerformanceRoot .il-categories nav>div>button:first-child{width:100%;text-align:left;border:0;border-radius:0;padding:12px 18px;background:transparent;color:#4d5869}#polarisPerformanceRoot .il-categories nav button.active{background:#e8f2ff;color:#1978d5;font-weight:600}#polarisPerformanceRoot .il-categories nav>div{position:relative}#polarisPerformanceRoot .il-category-edit{position:absolute;right:4px;top:9px;opacity:0}#polarisPerformanceRoot .il-categories nav>div:hover .il-category-edit{opacity:1}#polarisPerformanceRoot .il-categories footer{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:16px}#polarisPerformanceRoot .il-list{min-width:0;padding:0 18px}#polarisPerformanceRoot .il-filter{display:flex;align-items:center;gap:14px;padding:16px 0;flex-wrap:wrap}#polarisPerformanceRoot .il-filter>span{flex:1}#polarisPerformanceRoot .il-filter label{display:flex;align-items:center;gap:7px;color:#687485}#polarisPerformanceRoot .il-filter input,#polarisPerformanceRoot .il-filter select,#polarisPerformanceRoot .il-pager select{border:1px solid #dce3eb;background:white;border-radius:4px;font:inherit;padding:7px 10px;color:#46566a}#polarisPerformanceRoot .il-filter label input{width:100px}#polarisPerformanceRoot .il-filter input[type=search]{width:190px}#polarisPerformanceRoot .il-list .pp-table-wrap{border:1px solid #edf0f4;border-radius:3px}#polarisPerformanceRoot .il-list table{min-width:1000px}#polarisPerformanceRoot .il-list td{font-size:12px;padding:14px 12px;vertical-align:middle}#polarisPerformanceRoot .il-title{max-width:220px;white-space:normal;text-align:left}#polarisPerformanceRoot .il-ellipsis{max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#polarisPerformanceRoot .il-tag{display:inline-block;background:#f1f4f8;border-radius:3px;padding:2px 6px;margin:2px;color:#697b8e;font-size:11px}#polarisPerformanceRoot .il-row-actions{display:flex;white-space:nowrap}#polarisPerformanceRoot .il-row-actions button{padding:3px 6px}#polarisPerformanceRoot .il-pager{display:flex;justify-content:flex-end;gap:12px;align-items:center;padding:16px 0}#polarisPerformanceRoot .il-batch{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #edf0f4}#polarisPerformanceRoot .il-batch b{color:#2481df}#polarisPerformanceRoot .is-disabled{opacity:.4;pointer-events:none}#polarisPerformanceRoot .il-expression-summary{font-size:12px;line-height:1.8;max-width:370px;min-width:200px;color:#536577}#polarisPerformanceRoot .il-detail-header{padding:18px 24px;background:white;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0f4;flex-wrap:wrap}#polarisPerformanceRoot .il-detail-header h2{font-size:18px;margin:0}#polarisPerformanceRoot .il-detail-header>div{margin-left:auto;display:flex;gap:8px}#polarisPerformanceRoot .il-detail-info{padding:24px;background:white;color:#667586;font-size:13px}#polarisPerformanceRoot .il-detail-info p{margin:0 0 14px}#polarisPerformanceRoot .il-template-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}#polarisPerformanceRoot .il-template-chips button{background:#f3f6fa;border:0;border-radius:18px;font-size:12px}#polarisPerformanceRoot .il-detail-tabs{padding:0 20px;background:white;border-bottom:1px solid #e8edf4;height:48px;display:flex;gap:20px}#polarisPerformanceRoot .il-detail-data{padding:20px 24px;background:white;min-height:380px}#polarisPerformanceRoot .il-plan-summary{display:flex;align-items:center;gap:26px;padding:12px 0 24px;color:#788595;font-size:13px;flex-wrap:wrap}#polarisPerformanceRoot .il-plan-summary>b,#polarisPerformanceRoot .il-plan-summary b{color:#46586c}#polarisPerformanceRoot .il-plan-summary>button{margin-left:auto}#polarisPerformanceRoot .il-empty{text-align:center;padding:80px 20px;color:#a0aaba}#polarisPerformanceRoot .il-departments{grid-column:1/-1;border:1px solid #e7edf4;border-radius:5px;padding:12px;margin:8px 0}#polarisPerformanceRoot .il-departments summary{cursor:pointer;color:#4f627a}#polarisPerformanceRoot .il-department-search{display:flex;gap:8px;margin:12px 0}#polarisPerformanceRoot [data-dept-list]{display:grid;grid-template-columns:1fr 1fr;gap:10px}#polarisPerformanceRoot [data-dept-list] footer{grid-column:1/-1;text-align:right}#polarisPerformanceRoot .il-formula-overlay .pp-dialog{width:min(1040px,96vw);max-width:none}#polarisPerformanceRoot .il-formula-overlay .pp-form-body{display:block;background:white;padding:24px}#polarisPerformanceRoot .il-formula-base{display:grid;grid-template-columns:1fr 1fr;gap:16px}#polarisPerformanceRoot .il-formula-base>label:last-child{grid-column:1/-1}#polarisPerformanceRoot .il-formula-base textarea{min-height:50px}#polarisPerformanceRoot .il-formula-editor{border:1px solid #e1e8f0;border-radius:7px;margin-top:20px;padding:16px}#polarisPerformanceRoot .il-formula-editor>header{display:flex;align-items:center;gap:18px;margin-bottom:20px;border-bottom:1px solid #edf0f4;padding-bottom:12px}#polarisPerformanceRoot .il-formula-editor nav{display:flex;gap:22px;margin-right:auto}#polarisPerformanceRoot .il-formula-editor nav button{border:0;background:white;font-size:15px;padding:9px 0;cursor:pointer;color:#586b82}#polarisPerformanceRoot .il-formula-editor nav button.active{color:#2885df;border-bottom:2px solid #2885df}#polarisPerformanceRoot .il-formula-editor a{font-size:12px;color:#3b9687}#polarisPerformanceRoot .il-add-scene{border:0;background:#edf4ff;color:#2c8ae4;padding:10px;width:100%;font:inherit;margin-bottom:16px;cursor:pointer}#polarisPerformanceRoot .il-scene{border:1px solid #dfe5ec;border-radius:6px;background:#f8fafc;padding:16px;margin:12px 0}#polarisPerformanceRoot .il-scene header{display:flex;align-items:center;gap:8px;margin-bottom:14px;flex-wrap:wrap}#polarisPerformanceRoot .il-scene header input{width:100px}#polarisPerformanceRoot .il-scene header button{margin-left:auto}#polarisPerformanceRoot .il-condition{display:flex;align-items:center;gap:10px;margin:8px 0}#polarisPerformanceRoot .il-condition input{flex:1;min-width:80px;width:auto}#polarisPerformanceRoot .il-condition select{width:75px}#polarisPerformanceRoot .il-formula-line{display:flex;gap:14px;align-items:center;color:#48576a}#polarisPerformanceRoot .il-formula-line textarea{flex:1;min-height:40px;background:white;color:#2885df;line-height:1.6;font-size:15px}#polarisPerformanceRoot .il-formula-overlay input,#polarisPerformanceRoot .il-formula-overlay select,#polarisPerformanceRoot .il-formula-overlay textarea,#polarisPerformanceRoot .il-decompose-overlay input,#polarisPerformanceRoot .il-decompose-overlay textarea{border:1px solid #dce3ec;border-radius:4px;padding:8px;font:inherit;box-sizing:border-box}#polarisPerformanceRoot .il-keyboard{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px;margin-top:16px}#polarisPerformanceRoot .il-keyboard button{border:1px solid #dfe7ef;background:#fff;color:#576b83;padding:8px 0;border-radius:4px;cursor:pointer;font:inherit;font-size:12px}#polarisPerformanceRoot .il-keyboard .is-variable{grid-column:span 2;color:#2784dd;background:#f2f7ff}#polarisPerformanceRoot .il-formula-hint{font-size:12px;color:#8793a4;line-height:1.8}#polarisPerformanceRoot .il-test{border-top:1px solid #e6ebf2;padding-top:16px}#polarisPerformanceRoot .il-test summary{cursor:pointer;color:#3385dc}#polarisPerformanceRoot .il-test>div{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-top:12px}#polarisPerformanceRoot .il-test label{width:110px;font-size:12px;color:#718196}#polarisPerformanceRoot .il-test input{width:100%;margin-top:5px}#polarisPerformanceRoot .il-test output{flex-basis:100%;padding:10px;background:#f4f8fd;color:#318768}#polarisPerformanceRoot .il-test output.is-error{color:#c54c4c}#polarisPerformanceRoot .il-reference-item{display:block;width:100%;background:#f5f8fc;text-align:left;padding:10px;border:0;margin:4px 0;color:#3974af;cursor:pointer}#polarisPerformanceRoot .il-decompose-overlay .pp-dialog{width:min(850px,95vw)}#polarisPerformanceRoot .il-decompose-overlay .pp-form-body{display:block}#polarisPerformanceRoot .il-decompose-modes{display:flex;gap:24px;margin:18px 0}#polarisPerformanceRoot .il-decompose-overlay td input{width:100%;min-width:90px}#polarisPerformanceRoot .il-decompose-overlay td:first-child input{min-width:200px}@media(max-width:1000px){#polarisPerformanceRoot .il-header{flex-wrap:wrap;padding:12px;gap:12px}#polarisPerformanceRoot .il-header nav{height:42px}#polarisPerformanceRoot .il-header-actions{margin-left:0}#polarisPerformanceRoot .il-library{grid-template-columns:150px minmax(0,1fr)}#polarisPerformanceRoot .il-keyboard{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:650px){#polarisPerformanceRoot .il-library{grid-template-columns:1fr}#polarisPerformanceRoot .il-categories{border-right:0;border-bottom:1px solid #eee}#polarisPerformanceRoot .il-categories nav{display:flex;overflow:auto}#polarisPerformanceRoot .il-categories nav button{white-space:nowrap}#polarisPerformanceRoot .il-formula-base{grid-template-columns:1fr}#polarisPerformanceRoot .il-formula-editor>header{flex-wrap:wrap}}

/* Keep the three tabs and row content readable inside the host app. */
#polarisPerformanceRoot .il-header{flex-wrap:wrap;gap:12px;padding:12px 18px}
#polarisPerformanceRoot .il-header h2{white-space:nowrap;flex-shrink:0}
#polarisPerformanceRoot .il-header nav{height:42px;flex-shrink:0;gap:12px}
#polarisPerformanceRoot .il-header-actions{flex-wrap:wrap}
#polarisPerformanceRoot .il-categories{min-width:0}
#polarisPerformanceRoot .il-categories nav>div>button:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:40px}
#polarisPerformanceRoot .il-list .pp-table-scroll{max-width:100%;overflow:auto}
#polarisPerformanceRoot .il-list th,#polarisPerformanceRoot .il-list td{white-space:nowrap}
#polarisPerformanceRoot .il-list th:nth-child(2),#polarisPerformanceRoot .il-list td:nth-child(2){min-width:180px}
#polarisPerformanceRoot .il-list .il-title{min-width:160px;white-space:normal;line-height:1.6}
#polarisPerformanceRoot .il-list.is-formulas td:nth-child(4),#polarisPerformanceRoot .il-list.is-indicators td:nth-child(5){min-width:120px;max-width:360px;white-space:normal}
#polarisPerformanceRoot .il-list.is-formulas td:nth-child(5){min-width:140px;max-width:180px;overflow:hidden;text-overflow:ellipsis}
#polarisPerformanceRoot .il-list td:last-child,#polarisPerformanceRoot .il-list th:last-child{position:sticky;right:0;background:white;box-shadow:-4px 0 6px #354a6d08}
#polarisPerformanceRoot .il-list th:last-child{background:#f7f9fc}
#polarisPerformanceRoot .il-detail-data .pp-table-scroll{overflow:auto}
#polarisPerformanceRoot .il-detail-data table{min-width:660px}
#polarisPerformanceRoot .il-detail-data .pp-table-scroll td{white-space:nowrap}

/* Keep metric titles and assessed roles in separate, readable columns. */
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(3),#polarisPerformanceRoot .il-list.is-indicators td:nth-child(3){min-width:160px;max-width:210px;white-space:normal}
#polarisPerformanceRoot .il-assessment-role{display:block;min-width:130px;max-width:190px;white-space:normal;overflow-wrap:anywhere;line-height:1.7;color:#526070}
#polarisPerformanceRoot .il-list.is-indicators input[type=search]{width:220px}
#polarisPerformanceRoot .il-detail-role{color:#34445a;font-weight:500}
#polarisPerformanceRoot .il-role-field{grid-column:1/-1}

/* Compact library: one-line records, internal scrolling, and a shared footer. */
#polarisPerformanceRoot .pw-main>.pp-content:has(>.il-library){display:flex;flex-direction:column;height:max(560px,calc(100dvh - 145px));min-height:0;padding:0}
#polarisPerformanceRoot .il-header{flex:none;min-height:56px;padding:6px 18px}
#polarisPerformanceRoot .il-header h2{font-size:17px}
#polarisPerformanceRoot .il-library{flex:1;min-height:0;grid-template-columns:174px minmax(0,1fr)}
#polarisPerformanceRoot .il-library.is-board{grid-template-columns:1fr}
#polarisPerformanceRoot .il-categories{min-height:0;overflow:auto;padding:12px 0}
#polarisPerformanceRoot .il-categories form{margin-bottom:12px}
#polarisPerformanceRoot .il-category-add{top:12px}
#polarisPerformanceRoot .il-categories nav>button,#polarisPerformanceRoot .il-categories nav>div>button:first-child{height:36px;padding-top:7px;padding-bottom:7px}
#polarisPerformanceRoot .il-category-edit{top:4px}
#polarisPerformanceRoot .il-categories nav button.active{background:#1687f8;color:#fff}
#polarisPerformanceRoot .il-categories nav>div:focus-within .il-category-edit{opacity:1}
#polarisPerformanceRoot .il-list{display:flex;flex-direction:column;min-height:0;padding:0 14px;background:#f5f6f8}
#polarisPerformanceRoot .il-filter{flex:none;gap:10px;min-height:56px;padding:10px 0;margin:0}
#polarisPerformanceRoot .il-filter input,#polarisPerformanceRoot .il-filter select{height:32px;padding:5px 8px}
#polarisPerformanceRoot .il-list>.pp-table-scroll{flex:1;min-height:0;overflow:auto;border-radius:0;background:#fff;scrollbar-color:#c4c9d0 #f4f5f7}
#polarisPerformanceRoot .il-list thead th{position:sticky;top:0;z-index:2;height:40px;padding:8px 10px;background:#f8f9fb;border-right:1px solid #edf0f4;font-size:13px;line-height:20px;color:#69717c;box-shadow:0 1px #e8ecf1}
#polarisPerformanceRoot .il-list th:last-child{z-index:3}
#polarisPerformanceRoot .il-list.is-indicators table{table-layout:fixed;min-width:1130px}
#polarisPerformanceRoot .il-list.is-indicators th,#polarisPerformanceRoot .il-list.is-indicators td{min-width:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#polarisPerformanceRoot .il-list.is-indicators td{height:44px;padding:7px 10px;font-size:13px;line-height:24px;border-right:1px solid #edf0f4;border-bottom:1px solid #edf0f4;color:#404752}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(1){width:40px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(2){width:168px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(3){width:142px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(4){width:156px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(5){width:108px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(6){width:68px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(7),#polarisPerformanceRoot .il-list.is-indicators th:nth-child(8){width:144px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(9){width:160px}
#polarisPerformanceRoot .il-list.is-indicators td:first-child,#polarisPerformanceRoot .il-list.is-indicators th:first-child{text-align:center;padding-left:8px;padding-right:8px}
#polarisPerformanceRoot .il-list input[type=checkbox]{margin:0;cursor:pointer}
#polarisPerformanceRoot .il-list>.pp-table-scroll:focus-visible{outline:2px solid #91bdff;outline-offset:-2px}
#polarisPerformanceRoot .il-list.is-indicators .il-title,#polarisPerformanceRoot .il-list.is-indicators .il-assessment-role,#polarisPerformanceRoot .il-list.is-indicators .il-ellipsis{display:block;width:100%;min-width:0;max-width:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:24px}
#polarisPerformanceRoot .il-list.is-indicators .il-title{padding:0;font-size:13px;text-align:left;color:#303840}
#polarisPerformanceRoot .il-list.is-indicators .il-title:hover{color:#1687f8}
#polarisPerformanceRoot .il-list.is-indicators .il-tags{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;white-space:nowrap}
#polarisPerformanceRoot .il-list.is-indicators .il-tag{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:22px;height:24px;padding:1px 5px;margin:0;font-size:12px;background:#f2f3f5;color:#7a8089}
#polarisPerformanceRoot .il-list.is-indicators .il-tag:first-child{flex-shrink:0}
#polarisPerformanceRoot .il-list .il-row-actions{gap:8px}
#polarisPerformanceRoot .il-list .il-row-actions button{padding:0;font-size:13px;line-height:24px;color:#1687f8}
#polarisPerformanceRoot .il-list tbody tr:hover td:last-child{background:#f8fbff}
#polarisPerformanceRoot .il-list-footer{display:flex;flex:none;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;min-height:58px;padding:10px 0;background:#fff}
#polarisPerformanceRoot .il-list-footer .il-batch,#polarisPerformanceRoot .il-list-footer .il-pager{padding:0;margin:0;border:0;gap:10px;min-height:32px}
#polarisPerformanceRoot .il-list-footer .il-batch label{white-space:nowrap}
#polarisPerformanceRoot .il-list-footer .il-pager{margin-left:auto}
#polarisPerformanceRoot .il-pager b{display:grid;place-items:center;min-width:30px;height:30px;background:#1687f8;border-radius:4px;color:#fff;font-weight:500}
@media(max-width:1000px){
 #polarisPerformanceRoot .pw-main>.pp-content:has(>.il-library){height:auto;min-height:620px}
 #polarisPerformanceRoot .il-library{min-height:540px;grid-template-columns:150px minmax(0,1fr)}
 #polarisPerformanceRoot .il-library.is-board{grid-template-columns:1fr}
 #polarisPerformanceRoot .il-list>.pp-table-scroll{flex:auto;max-height:65dvh}
 #polarisPerformanceRoot .il-list-footer{padding:10px}
}
@media(max-width:650px){
 #polarisPerformanceRoot .il-library{grid-template-columns:1fr}
 #polarisPerformanceRoot .il-categories{max-height:150px}
 #polarisPerformanceRoot .il-categories nav>button,#polarisPerformanceRoot .il-categories nav>div{flex:none;width:auto}
 #polarisPerformanceRoot .il-categories footer{margin-top:8px}
 #polarisPerformanceRoot .il-list{padding:0 10px}
}

/* Preserve reading space when the host navigation leaves a narrow viewport. */
@media(max-width:1000px){
 #polarisPerformanceRoot .il-list td:last-child{position:static;box-shadow:none}
 #polarisPerformanceRoot .il-list th:last-child{position:sticky;right:auto;box-shadow:none}
}
@media(max-width:900px){
 #polarisPerformanceRoot .il-library{grid-template-columns:1fr}
 #polarisPerformanceRoot .il-categories{max-height:172px;border-right:0;border-bottom:1px solid #e6ebf2}
 #polarisPerformanceRoot .il-categories nav{display:flex;overflow:auto}
 #polarisPerformanceRoot .il-categories nav>button,#polarisPerformanceRoot .il-categories nav>div{flex:none;width:auto}
 #polarisPerformanceRoot .il-categories nav button{white-space:nowrap}
 #polarisPerformanceRoot .il-categories footer{margin-top:8px}
}

/* Give the library one full work area instead of stacking three side menus. */
#polarisPerformanceRoot .pw-app:has(.il-management-nav){grid-template-columns:48px minmax(0,1fr)}
#polarisPerformanceRoot .pw-app:has(.il-management-nav)>.pw-secondary{display:none}
#polarisPerformanceRoot .il-management-nav{display:flex;flex:none;align-items:center;gap:4px;min-height:38px;padding:0 12px;border-bottom:1px solid #e6ebf2;background:#fff;overflow-x:auto}
#polarisPerformanceRoot .il-management-nav .pp-button{flex:none;border:0;border-radius:0;background:transparent;padding:8px 10px;line-height:20px;color:#687485}
#polarisPerformanceRoot .il-management-nav .pp-button.active{color:#1687f8;background:#edf5ff;box-shadow:inset 0 -2px #1687f8}
#polarisPerformanceRoot .il-library{grid-template-columns:120px minmax(0,1fr)}
#polarisPerformanceRoot .il-library.is-board{grid-template-columns:1fr}
#polarisPerformanceRoot .il-categories form{margin:0 25px 12px 7px}
#polarisPerformanceRoot .il-categories form input{padding:6px;font-size:12px}
#polarisPerformanceRoot .il-categories form button{padding:3px}
#polarisPerformanceRoot .il-categories .il-category-add{right:0;padding:4px 6px}
#polarisPerformanceRoot .il-categories nav>button,#polarisPerformanceRoot .il-categories nav>div>button:first-child{padding-left:10px;padding-right:10px;font-size:12px}
#polarisPerformanceRoot .il-categories nav>div:hover>button:first-child,#polarisPerformanceRoot .il-categories nav>div:focus-within>button:first-child{padding-right:36px}
#polarisPerformanceRoot .il-categories .il-category-edit{padding:3px;right:2px;font-size:11px;background:#fff}
#polarisPerformanceRoot .il-list{padding-left:10px;padding-right:10px}
#polarisPerformanceRoot .il-list.is-indicators table{min-width:900px;width:100%}
#polarisPerformanceRoot .il-list.is-indicators th,#polarisPerformanceRoot .il-list.is-indicators td{padding-left:7px;padding-right:7px}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(1){width:4%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(2){width:19%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(3){width:12%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(4){width:9%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(5){width:7%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(6){width:6%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(7),#polarisPerformanceRoot .il-list.is-indicators th:nth-child(8){width:14%}
#polarisPerformanceRoot .il-list.is-indicators th:nth-child(9){width:15%}
#polarisPerformanceRoot .il-list.is-indicators td:last-child{position:static;box-shadow:none}
#polarisPerformanceRoot .il-list.is-indicators th:last-child{right:auto;box-shadow:0 1px #e8ecf1}
#polarisPerformanceRoot .il-list.is-indicators .il-row-actions{gap:6px}
#polarisPerformanceRoot .il-list.is-indicators td:nth-child(4){font-size:12px}
#polarisPerformanceRoot .il-filter{gap:8px}
#polarisPerformanceRoot .il-list.is-indicators input[type=search]{width:190px}
#polarisPerformanceRoot .il-filter label input{width:80px}
#polarisPerformanceRoot .pw-main>.pp-content:has(>.il-library){height:max(560px,calc(100dvh - 135px))}
@media(min-width:901px){
 #appShell:has(#polarisPerformanceRoot .il-library){--primary-sidebar-width:136px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar{padding:16px 8px;gap:14px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .brand-block{gap:6px;padding:4px 0 12px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .brand-mark{width:24px;height:30px;flex:none}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .brand-mark img{width:20px;height:24px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .brand-title{font-size:10px;letter-spacing:0;white-space:nowrap}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .brand-subtitle{font-size:9px;white-space:nowrap}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .anniversary-countdown{padding:8px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .nav-group-toggle{padding-left:4px;padding-right:4px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .nav-group-panel-inner{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .nav-child-button{padding-left:6px;padding-right:4px;gap:4px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .nav-item-main{gap:4px}
 #appShell:has(#polarisPerformanceRoot .il-library)>#primarySidebar .nav-count{min-width:16px;padding-left:3px;padding-right:3px}
 #appShell:has(#polarisPerformanceRoot .il-library)>.main{padding:16px 16px 20px}
}
@media(max-width:1100px){
 #polarisPerformanceRoot .il-library{grid-template-columns:1fr}
 #polarisPerformanceRoot .il-categories{max-height:172px;border-right:0;border-bottom:1px solid #e6ebf2}
 #polarisPerformanceRoot .il-categories nav{display:flex;overflow:auto}
 #polarisPerformanceRoot .il-categories nav>button,#polarisPerformanceRoot .il-categories nav>div{flex:none;width:auto}
 #polarisPerformanceRoot .il-categories nav button{white-space:nowrap}
 #polarisPerformanceRoot .il-categories footer{margin-top:8px}
}
@media(max-width:1000px){#polarisPerformanceRoot .pw-main>.pp-content:has(>.il-library){height:auto;min-height:620px}}

/* Give longer role names more room while reserving space for all nine columns. */
@media(min-width:1101px){
 #polarisPerformanceRoot .il-library:has(>.is-role-view){grid-template-columns:clamp(140px,calc(100% - 922px),200px) minmax(0,1fr)}
}
#polarisPerformanceRoot .il-perspectives{display:flex;gap:2px;margin:0 6px 10px;padding:2px;background:#f0f3f8;border-radius:5px}
#polarisPerformanceRoot .il-perspectives .pp-button{flex:1;min-width:0;border:0;padding:5px 1px;font-size:12px;line-height:20px;border-radius:3px;background:transparent;color:#687485;white-space:nowrap}
#polarisPerformanceRoot .il-perspectives .pp-button.active{color:#1687f8;background:#fff;box-shadow:0 1px 3px #203c6012}
#polarisPerformanceRoot .il-sidebar-search{position:relative}
#polarisPerformanceRoot .il-sidebar-search .il-category-add{top:0}
#polarisPerformanceRoot .is-role-view form{margin-right:7px}
#polarisPerformanceRoot .il-categories nav>.il-role-option{display:flex;align-items:center;gap:4px;min-height:36px;height:auto;padding:8px 8px;white-space:normal}
#polarisPerformanceRoot .il-role-option>span{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:18px;overflow-wrap:anywhere}
#polarisPerformanceRoot .il-role-option>small{flex:none;font-size:10px;min-width:16px;text-align:center;color:#7b8a9d;background:#f0f3f7;border-radius:3px;padding:0 2px}
#polarisPerformanceRoot .il-role-option.active>small{background:#ffffff26;color:#fff}
#polarisPerformanceRoot .il-directory-caption,#polarisPerformanceRoot .il-directory-empty{font-size:11px;line-height:18px;color:#8a96a6;text-align:center;margin:8px}
#polarisPerformanceRoot .il-filter-context{min-width:0}
#polarisPerformanceRoot .il-role-context{display:block;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#687485;font-size:12px}
@media(max-width:1100px){
 #polarisPerformanceRoot .il-perspectives{max-width:150px;margin-bottom:6px}
 #polarisPerformanceRoot .il-categories.is-role-view{max-height:218px}
 #polarisPerformanceRoot .il-categories.is-role-view form{max-width:200px;margin-bottom:6px}
 #polarisPerformanceRoot .il-categories nav>.il-role-option{flex:none;width:auto;max-width:160px;min-height:44px}
 #polarisPerformanceRoot .il-categories.is-role-view footer{margin-top:4px}
 #polarisPerformanceRoot .il-directory-caption{margin:2px}
}

/* Organization groups use the shared Feishu hierarchy; indicator categories stay separate. */
#polarisPerformanceRoot .il-role-tree{list-style:none;margin:0;padding:0}
#polarisPerformanceRoot .il-role-tree .il-role-tree{margin-left:9px;border-left:1px solid #e7edf5;padding-left:3px}
#polarisPerformanceRoot .il-role-tree li{margin:0;padding:0;min-width:0}
#polarisPerformanceRoot .il-role-tree .il-org-group,#polarisPerformanceRoot .il-role-tree .il-role-option{display:flex;align-items:center;gap:4px;width:100%;min-height:36px;height:auto;margin:0;padding:8px 7px;border:0;border-radius:0;background:transparent;text-align:left;font-size:12px;line-height:18px;white-space:normal;color:#4d5869}
#polarisPerformanceRoot .il-org-group{font-weight:600}
#polarisPerformanceRoot .il-org-group>i{font-style:normal;width:10px;flex:none;color:#8898ad}
#polarisPerformanceRoot .il-org-group>span{flex:1;min-width:0;overflow-wrap:anywhere}
#polarisPerformanceRoot .il-org-group>small{flex:none;font-size:10px;font-weight:400;color:#7b8a9d}
#polarisPerformanceRoot .il-role-tree .il-role-option.active{background:#1687f8;color:white}
#polarisPerformanceRoot .il-role-tree .il-role-option>span{display:block}
#polarisPerformanceRoot .il-role-option em{display:block;font-style:normal;font-size:10px;color:#8a96a6;line-height:16px;margin-top:3px}
#polarisPerformanceRoot .il-role-option.active em{color:#e6f2ff}
#polarisPerformanceRoot .il-role-tree .il-org-pager{display:flex;align-items:center;justify-content:center;gap:8px;margin:6px 0;font-size:11px;color:#8a96a6}
#polarisPerformanceRoot .il-org-pager .pp-button{padding:2px 7px;min-height:24px}
@media(max-width:1100px){
 #polarisPerformanceRoot .il-categories.is-role-view{max-height:300px}
 #polarisPerformanceRoot .il-categories.is-role-view nav{display:block}
 #polarisPerformanceRoot .il-role-tree .il-org-group,#polarisPerformanceRoot .il-role-tree .il-role-option{max-width:none;min-height:44px}
}
