/* Client-review layout, loaded only for the Keysight Technology Partner. */
#partner-products.keysight-tree-layout {
    display:grid;
    grid-template-columns:minmax(260px,300px) minmax(0,1fr);
    gap:clamp(24px,2.1vw,40px);
    align-items:start;
    scroll-margin-top:calc(var(--arts-header-height,100px) + 24px);
}
.keysight-tree-layout > * {min-width:0;}
.keysight-tree-layout .keysight-category-tree {
    background:#f5f7fc;
    border:1px solid #e4e7f0;
    border-radius:5px;
    padding:22px 16px;
    min-width:0;
}
.keysight-tree-layout .keysight-category-tree h2 {
    font-size:18px;
    line-height:1.4;
    margin:0 10px 16px;
    padding:0;
    border:0;
}
.keysight-tree-layout .keysight-category-tree ul {list-style:none;margin:0;padding:0;}
.keysight-tree-layout .keysight-category-tree li {margin:0;min-width:0;}
.keysight-tree-layout .keysight-category-tree a {
    display:block;
    padding:10px;
    color:var(--heading);
    font-size:15px;
    line-height:1.5;
    overflow-wrap:anywhere;
    border-radius:4px;
}
.keysight-tree-layout .keysight-tree-row {display:flex;align-items:stretch;}
.keysight-tree-layout .keysight-tree-row > a {flex:1;min-width:0;font-weight:500;}
.keysight-tree-layout .keysight-tree-row > button {
    display:grid;place-items:center;flex:0 0 44px;min-height:44px;
    padding:8px;border:0;background:transparent;color:var(--primary);cursor:pointer;
}
.keysight-tree-layout .keysight-tree-row .technology-chevron {transform:rotate(-45deg);}
.keysight-tree-layout .keysight-tree-row button[aria-expanded=true] .technology-chevron {transform:rotate(45deg);}
.keysight-tree-layout .keysight-category-tree .keysight-tree-children {
    margin:4px 0 10px 16px;
    padding-left:10px;
    border-left:1px solid #d9dfed;
}
.keysight-tree-layout .keysight-category-tree [hidden] {display:none!important;}
.keysight-tree-layout .keysight-tree-category.is-active > .keysight-tree-row {background:#edf1fc;border-radius:4px;}
.keysight-tree-layout .keysight-tree-category.is-active > .keysight-tree-row > a,
.keysight-tree-layout .keysight-category-tree a[aria-current=page] {color:var(--primary);font-weight:600;}
.keysight-tree-layout .keysight-category-tree a[aria-current=page] {background:#e5ebfb;}
.keysight-tree-layout .keysight-category-tree a:is(:hover,:focus-visible) {
    color:var(--primary);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
}
.keysight-tree-layout .keysight-category-tree :is(a,button):focus-visible {outline:2px solid var(--primary);outline-offset:2px;}
.keysight-tree-layout .keysight-tree-content > :is(h2,h3),
.keysight-tree-layout .keysight-tree-content > section > :is(h2,h3),
.keysight-tree-layout .keysight-tree-content > section > section > :is(h2,h3) {
    width:100%;padding-bottom:16px;border-bottom:1px solid #dce1ec;
}
.keysight-tree-layout .keysight-tree-content .products-catalogue-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
/* Keep three readable cards beside the approved tree at laptop widths. */
@media(min-width:1280px) {
    .keysight-tree-layout .keysight-tree-content .products-catalogue-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
    .keysight-tree-layout .keysight-tree-content .products-catalogue-card {padding:22px;}
}
.keysight-tree-layout .keysight-tree-content .products-catalogue-card > .btn {white-space:nowrap;}
@media(max-width:1100px) {
    #partner-products.keysight-tree-layout {grid-template-columns:minmax(0,1fr);gap:28px;}
}
@media(max-width:767px) {
    .keysight-tree-layout .keysight-tree-content .products-catalogue-grid {grid-template-columns:minmax(0,1fr);}
    .keysight-tree-layout .keysight-category-tree {padding:18px 12px;}
    .keysight-tree-layout .keysight-category-tree a {font-size:16px;min-height:44px;}
}
