/* Catalog layout / OpenAI Codex / 2026-11-05. Loaded after shared brand styles. */
/* Number slots belong to numbered root items only; child rows reserve only the arrow. */
.catalog-sidebar{padding:12px 0}.catalog-sidebar h2{margin:0 14px 10px}.catalog-sidebar a,.catalog-sidebar .catalog-tree-branch>summary a{display:flex;align-items:flex-start;width:100%;padding:6px 10px 6px 24px;gap:4px;font-size:14px;line-height:20px}.catalog-sidebar .catalog-number{flex:0 0 auto;width:auto;margin-right:2px;font:12px/20px Arial,sans-serif;color:#dc652f}.catalog-sidebar .catalog-tree-branch>summary{padding:0}.catalog-tree-branch>summary::before{left:10px;top:12px}.catalog-tree-children{margin-left:10px}.catalog-sidebar i18n-text{min-width:0;overflow-wrap:break-word;word-break:normal}.catalog-sidebar a[aria-current=true]{font-weight:600}
@media(max-width:1150px) and (min-width:701px){.catalog-layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:700px){.catalog-sidebar{padding:10px 0;max-height:280px}.catalog-sidebar a,.catalog-sidebar .catalog-tree-branch>summary a{padding:6px 10px 6px 24px;gap:4px;line-height:20px}.catalog-tree-branch>summary::before{top:12px}}

/* Counts share one right edge at every tree depth; names keep their current left edge. */
.catalog-sidebar i18n-text{flex:1 1 auto;min-width:0}
.catalog-sidebar .catalog-count{flex:0 0 auto;min-width:2ch;margin-left:8px;text-align:right;font:12px/20px Arial,sans-serif;font-variant-numeric:tabular-nums;color:#657781;white-space:nowrap}
.catalog-sidebar a[aria-current=true] .catalog-count{color:#203440;font-weight:600}
@media(min-width:701px){.catalog-layout{grid-template-columns:240px minmax(0,1fr)}}

/* Align second-level names with root names; root geometry and right counts stay unchanged. */
.catalog-sidebar > .catalog-tree-branch > .catalog-tree-children > a,
.catalog-sidebar > .catalog-tree-branch > .catalog-tree-children > .catalog-tree-branch > summary a{padding-left:32.35px}

/* Single catalogue search field / OpenAI Codex / 2026-11-07. */
.catalog-heading{max-width:none}
.catalog-title-row{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:18px 0 14px}
.catalog-title-row h1{margin:0;flex:0 0 auto}
.catalog-search{display:flex;align-items:center;flex:0 1 560px;min-width:220px;height:50px;border:2px solid #dc652f;border-radius:999px;background:#fff;overflow:hidden}
.catalog-search:focus-within{outline:3px solid #dc652f33;outline-offset:3px}
.catalog-search button{display:grid;place-items:center;flex:0 0 48px;align-self:stretch;border:0;background:transparent;color:#dc652f;padding:0;cursor:pointer}
.catalog-search button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.catalog-search input{flex:1 1 auto;min-width:0;width:100%;height:100%;border:0;border-radius:0;background:transparent;padding:0 20px 0 0;font-family:inherit;font-size:16px;line-height:1.4;color:#203440;outline:none;box-shadow:none}
.catalog-search input::placeholder{color:#718089;opacity:1}
.catalog-search-active>.catalog-category{display:none!important}
.catalog-search-results[hidden]{display:none}
.catalog-search-results h2{overflow-wrap:anywhere}
.catalog-search-list{display:grid;gap:16px}
.catalog-search-card{padding:20px;gap:12px}
.catalog-search-card>.catalog-card-main{display:flex;flex-direction:row;gap:20px;align-items:flex-start}
.catalog-search-card img{width:150px;flex:0 0 150px;aspect-ratio:3/2;object-fit:cover}
.catalog-search-card .catalog-card-copy{padding:0;min-width:0}
.catalog-search-card h3{margin:4px 0 6px}
.catalog-search-path{font-size:13px;line-height:1.6;color:#657781;margin-bottom:8px}
.catalog-search-card>.catalog-card-action{padding:0;align-self:flex-end}
.catalog-search-card mark{background:#fff0db;color:inherit;font-weight:700;padding:0 1px}
@media(max-width:1000px){.catalog-title-row{gap:20px;flex-wrap:wrap}.catalog-search{flex:1 1 350px}.catalog-search-card img{width:110px;flex-basis:110px}}
@media(max-width:700px){.catalog-title-row{display:block}.catalog-search{width:100%;min-width:0;margin-top:18px;height:48px}.catalog-search input{font-size:16px}.catalog-search-card{padding:16px}.catalog-search-card>.catalog-card-main{gap:14px}.catalog-search-card img{width:88px;flex-basis:88px}}

.catalog-search[hidden]{display:none}
