/* v10 keeps scope, findings and evidence independently scrollable. */
.tree-workbench-v10{--tree-line:#cbd4dc;--tree-ink:#30353a;--tree-accent:#286c8e;color:var(--tree-ink);background:#f6f8fc;min-width:0}
.phase-list .project-phase-content,.phase-tree .project-phase-content{padding:0!important}
.tree-toolbar-v10{display:flex;align-items:center;gap:10px;min-height:47px;padding:4px 8px;border-bottom:1px solid var(--tree-accent);overflow-x:auto;white-space:nowrap;background:#f6f8fc}
.tree-tool-group{display:flex;gap:3px;border-right:1px solid var(--tree-line);padding-right:10px;flex:none}
.tree-tool{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;flex:none;border:1px solid transparent;background:transparent;border-radius:0;color:#15191c;cursor:pointer;padding:4px;font:600 14px Arial}
.tree-tool svg{width:21px;height:21px;flex:none}
.tree-tool:hover,.tree-tool:focus-visible{background:#e0e9ef;border-color:#728ba0;outline-offset:2px}
.tree-tool.active{border-color:#7d8d9c;background:#dae6ee;color:#164f73}
.tree-search{display:flex;align-items:center;min-width:130px;max-width:260px;height:34px;gap:7px;border:1px solid #aebac6;padding:0 8px;border-radius:3px;background:#fff}
.tree-search svg{width:17px;height:17px;flex:none;color:#596874}
.tree-search input{width:100%;min-width:0;border:0!important;outline:none;background:transparent;padding:0!important;box-shadow:none!important;font-size:13px;color:inherit}
.tree-counter{margin-left:auto;font-size:12px;color:#4f5963}
.tree-columns{display:grid;grid-template-columns:minmax(220px,25fr) minmax(390px,45fr) minmax(280px,30fr);height:calc(100dvh - 174px);min-height:420px;overflow:hidden}
.tree-scope,.tree-findings,.tree-evidence{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.tree-scope,.tree-findings{border-right:4px solid var(--tree-accent)}
.tree-scope>header{display:flex;justify-content:space-between;padding:7px 8px;border-bottom:1px solid var(--tree-accent);font-size:13px}
.tree-scope-scroll{overflow:auto;flex:1;min-height:100px;scrollbar-gutter:stable}
.tree-scope summary{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:12px;min-height:29px;list-style:none;padding:3px 7px}
.tree-scope summary::-webkit-details-marker{display:none}
.tree-scope summary:before{content:'\25B8';font-size:11px;width:8px;flex:none}
.tree-scope details[open]>summary:before{content:'\25BE'}
.tree-scope summary svg{width:15px;height:15px;color:#6094c8;flex:none}
.tree-scope summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;flex:1;min-width:0}
.tree-root>summary{background:#fff0c7}.tree-process{margin-left:12px}.tree-pa{margin-left:17px}.tree-pa summary{color:#586677}
.tree-process>summary>b{padding:0 4px;background:#6bbd32;color:#133500;font-weight:500;flex:none}
.tree-indicator{display:flex;align-items:center;gap:6px;width:100%;text-align:left;padding:5px 5px 5px 20px;background:transparent;border:0;color:inherit;cursor:pointer;min-height:30px;font-size:11px}
.tree-workbench-v10 .tree-indicator{margin-left:0;color:inherit}
.tree-workbench-v10 .tree-indicator>span{flex:none;width:54px;font-size:11px}.tree-workbench-v10 .tree-indicator>strong{font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.tree-indicator>em{font-style:normal;background:#e1ebe4;padding:2px;min-width:23px;text-align:center}
.tree-indicator.active{background:#dbe8f2;border-left:3px solid var(--tree-accent)}
.tree-scope footer{flex:0 0 145px;border-top:4px solid var(--tree-accent);padding:12px;overflow:auto;font-size:12px}.tree-scope footer h3{font-size:14px;margin:0 0 6px}.tree-scope footer p{margin:6px 0;overflow-wrap:anywhere}
.tree-table-scroll{overflow:auto;min-height:0;flex:1;scrollbar-gutter:stable;overscroll-behavior:contain}
.tree-findings-table,.tree-evidence-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.tree-findings-table{min-width:600px}.tree-evidence-table{min-width:340px}
.tree-findings-table th,.tree-evidence-table th{position:sticky;top:0;z-index:2;background:#f6f8fc;border-bottom:1px solid var(--tree-accent);text-align:left;font-weight:600;padding:7px 5px;height:33px}
.tree-findings-table td,.tree-evidence-table td{border-bottom:1px solid var(--tree-line);vertical-align:top;padding:8px 5px;overflow-wrap:anywhere;line-height:1.5}
.tree-findings-table tr.selected td{background:#e0e7ed}.tree-findings-table tbody tr:hover td{background:#eaf0f5}
.tree-findings-table th:nth-child(1){width:64px}.tree-findings-table th:nth-child(2){width:98px}.tree-findings-table th:nth-child(3){width:60px}.tree-findings-table th:nth-child(4){width:26px}.tree-findings-table th:nth-child(5){width:48px}.tree-findings-table th:nth-child(7){width:48px}.tree-findings-table th:nth-child(8){width:38px}
.tree-findings-table td>svg{width:19px;height:19px}.tree-description{font-size:13px;line-height:1.55!important}.comfortable .tree-description{padding-top:16px;padding-bottom:16px}
.tree-status{font-size:10px;background:#e7eaee;color:#555;border-radius:2px;padding:2px 4px;white-space:nowrap}.tree-status.final,.tree-status.reviewed{background:#299d36;color:white}
.tree-cell-link{border:0;background:none;padding:0;text-align:left;font:inherit;color:#286c8e;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.tree-cell-link:hover{text-decoration:underline}
.tree-cell-link svg{width:16px;height:16px;vertical-align:middle}.tree-person{display:flex;align-items:center;justify-content:center;width:23px;height:23px;font-size:9px;background:#2b45b5;color:white;border-radius:50%}.tree-person:empty{display:none}
.tree-row-actions{display:flex;justify-content:flex-end;gap:3px;min-height:27px;margin-top:4px}.tree-row-actions .tree-tool{width:25px;height:25px}.tree-row-actions svg{width:15px;height:15px}
.tree-rating{display:inline-block;padding:2px 5px;min-width:25px;text-align:center;background:#d5eae2}
.tree-evidence-tools{display:flex;align-items:center;gap:4px;padding:4px;border-bottom:1px solid var(--tree-line);flex:none;min-height:43px}.tree-evidence-tools .tree-search{flex:1;min-width:80px}.tree-evidence-tools>span{font-size:10px;white-space:nowrap}
.tree-evidence-table th:nth-child(1){width:22px}.tree-evidence-table th:nth-child(2){width:93px}.tree-evidence-table th:nth-child(4),.tree-evidence-table th:nth-child(5){width:30px}.tree-evidence-table td{padding:3px 4px;height:29px}.tree-evidence-table td>svg{width:14px;height:14px}.tree-evidence-table .tree-cell-link{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;color:#343a40}.tree-evidence-table .tree-tool{height:23px;width:23px;padding:2px}.tree-evidence-table .tree-tool svg{width:15px;height:15px}
.tree-evidence-tabs{display:flex;flex:none;border-top:2px solid var(--tree-accent)}.tree-evidence-tabs button{flex:1;padding:11px 4px;border:0;background:transparent;color:#4d5760;font-size:12px;cursor:pointer}.tree-evidence-tabs button.active{color:var(--tree-accent);background:#e4edf4}
.tree-notes{flex:1;overflow:auto;padding:14px;font-size:13px}.tree-notes h3{font-size:15px}.tree-notes p{white-space:pre-wrap}.tree-focus-bar{display:flex;align-items:center;gap:10px;border-top:1px solid var(--tree-line);padding:4px 8px;font-size:11px;flex:none}.tree-focus-bar .tree-tool{margin-left:auto}
.evaluations-v10{max-width:none;padding:26px 28px!important;background:#f6f8fc;min-height:calc(100dvh - 80px)}
.evaluations-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:30px}.evaluations-head h1{font-size:27px;letter-spacing:0;color:#286c8e;margin:0}
.evaluation-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;max-width:1500px;margin:0 auto 26px}.evaluation-counters article{display:flex;align-items:center;gap:12px;min-height:83px;border:1px solid #d1d7dd;border-radius:7px;padding:14px}.evaluation-counters article>span{background:#c8e6cb;padding:9px;border-radius:4px;display:flex;flex:none}.evaluation-counters article:last-child>span{background:#ffecae}.evaluation-counters svg{width:26px;height:26px;color:#183b2b}.evaluation-counters strong{font-size:15px;display:block}.evaluation-counters small{display:block;color:#7a838b;font-size:12px;margin-top:4px}
.activity-v10{display:flex;gap:25px;border:1px solid #d1d7dd;border-radius:7px;padding:22px;max-width:1500px;margin:0 auto 30px;background:#f6f8fc;color:#343a40;min-width:0}
.activity-caption{width:170px;flex:none}.activity-caption h3{font-size:16px;margin:0 0 5px}.activity-caption p{font-size:12px;line-height:1.5;margin:0}.activity-calendar-scroll{overflow-x:auto;flex:1;min-width:0;padding-bottom:3px}.activity-calendar{display:grid;grid-template-columns:29px repeat(53,minmax(11px,1fr));gap:3px;min-width:760px}.activity-week{display:grid;grid-template-rows:20px repeat(7,13px);gap:3px;min-width:0}.activity-week>span{font-size:10px;white-space:nowrap;color:#66717b}.activity-week-labels small{font-size:10px;line-height:13px}.activity-day{display:block;border:0;border-radius:2px;padding:0;min-width:0;width:100%;height:13px;font:8px Arial;background:#d2d9df;cursor:pointer;color:#123f1d}.activity-day.open,.activity-legend i.open{background:#50ad59}.activity-day.closed,.activity-legend i.closed{background:#ed6464}.activity-day.today{outline:1px solid #505d66;outline-offset:1px}.activity-day.selected{outline:2px solid #245f91}.activity-axis{display:flex;justify-content:space-between;font-size:10px;color:#5e6b77;margin-top:5px;min-width:760px;padding-left:30px}.activity-legend{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;align-content:start;flex:none;font-size:11px;width:255px;padding-top:8px}.activity-legend span{display:flex;align-items:center;gap:5px}.activity-legend i{width:11px;height:11px;border:1px solid #a5afb8;display:inline-flex;align-items:center;justify-content:center;font:8px Arial;background:#d2d9df}
.evaluation-filterbar{display:flex;gap:12px;align-items:center;margin:25px 0 12px}.evaluation-filterbar select{margin-left:auto;min-width:130px;padding:7px;border:1px solid #b6c2cc;background:#fff;border-radius:3px}.evaluation-filterbar>span{font-size:12px}.evaluation-table-scroll{overflow-x:auto}.evaluation-table{width:100%;min-width:1080px;border-collapse:collapse;font-size:12px}.evaluation-table th{font-size:12px;text-align:left;border-bottom:1px solid #286c8e;padding:10px 7px}.evaluation-table td{padding:13px 7px;border-bottom:1px solid #9cbbc9;max-width:250px;overflow-wrap:anywhere}.evaluation-table a{color:#3383b5}.evaluation-state svg{width:23px;height:23px;color:#50a85a}.evaluation-state.closed svg{color:#c94f58}.evaluation-avatar{display:inline-flex;align-items:center;justify-content:center;border:1px solid #364ca4;color:#364ca4;border-radius:50%;font-size:9px;width:23px;height:23px;margin:2px}.phase-overview .activity-v10{max-width:none;margin:0 0 16px}
[data-theme="dark"] .tree-workbench-v10,[data-theme="dark"] .evaluations-v10,[data-theme="dark"] .activity-v10{--tree-line:#424b53;--tree-accent:#5ea9c1;background:#20262a;color:#e2e8ec}
[data-theme="dark"] .tree-findings-table th,[data-theme="dark"] .tree-evidence-table th{background:#272f34;color:#e2e8ec}
[data-theme="dark"] .tree-findings-table tr.selected td{background:#35474e}
[data-theme="dark"] .tree-findings-table tbody tr:hover td{background:#303a41}
[data-theme="dark"] .tree-root>summary{background:#424536}
[data-theme="dark"] .tree-indicator.active{background:#31454e}
[data-theme="dark"] .tree-indicator>em{background:#364b40}
[data-theme="dark"] .evaluations-head h1{color:#86c4d8}
@media(max-width:600px){
  .jira-header{max-width:100%;gap:6px!important;padding-left:10px!important;padding-right:10px!important}
  .jira-header .brand{flex:none}
  .jira-header .top-actions{min-width:0;gap:4px!important;margin-left:auto}
  .jira-header #translationProgress,.jira-header #helixConfigBtn,.jira-header #aiStatus,.jira-header .profile-link{display:none!important}
  .jira-header .auth-account-button{max-width:66px!important;min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .jira-header .icon-btn{width:29px!important;min-width:29px!important;height:30px!important}
}
@media(max-width:1250px){.activity-v10{flex-wrap:wrap;gap:12px}.activity-caption{width:140px}.activity-legend{width:100%;display:flex;flex-wrap:wrap}.tree-columns{grid-template-columns:220px minmax(390px,1fr) 310px;overflow-x:auto}.evaluation-counters{gap:12px}.evaluation-counters article{padding:10px;gap:8px}}
@media(max-width:700px){.evaluations-v10{padding:18px 12px!important}.evaluations-head{align-items:flex-start;flex-wrap:wrap}.evaluations-head h1{font-size:23px}.evaluation-counters{grid-template-columns:repeat(2,minmax(0,1fr))}.evaluation-counters article>span{padding:6px}.evaluation-counters strong{font-size:12px}.evaluation-counters small{font-size:10px}.activity-v10{padding:12px}.activity-caption{width:100%}.activity-calendar-scroll{flex-basis:100%}.activity-legend{font-size:10px}.tree-columns{height:calc(100dvh - 190px);min-height:430px}.tree-toolbar-v10{gap:6px}.tree-tool-group{gap:0}.tree-toolbar-v10 .tree-search{min-width:145px}.tree-evidence-tabs button{font-size:11px}.evaluation-filterbar{flex-wrap:wrap}.evaluation-filterbar .tree-search{max-width:none;flex:1}}
