/* Shared catalogue rhythm; scoped to the home and guide index. */
.hk-guide-index .guide-discovery{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px 24px;padding:24px;align-items:start}
.hk-guide-index .guide-discovery[hidden]{display:none}
.guide-search-control,.guide-topic-control{min-width:0}
.guide-discovery :is(.guide-search-control,.guide-topic-control)>label{display:block;font-size:.9rem;font-weight:500;line-height:1.5;margin:0 0 8px}
.hk-guide-index .guide-discovery .search-field{margin:0;height:48px}
.hk-guide-index .guide-discovery select{display:block;box-sizing:border-box;width:100%;max-width:100%;height:48px;min-height:48px;margin:0;padding:10px 12px;background:#151e24;color:var(--text);border:1px solid #3e505c;border-radius:10px;font:inherit}
.hk-guide-index #guide-status{grid-column:2;justify-self:end;text-align:right;margin:0;padding:8px 0 0;border:0;min-height:1.6em;font-size:.88rem;line-height:1.6;color:var(--text-muted)}
.hk-guide-index .guide-categories{display:grid;gap:36px;margin:32px 0 40px}
.hk-guide-index .guide-categories>.guide-topic{margin:0;min-width:0}
.hk-guide-index .guide-categories>.guide-topic[hidden]{display:none}
.hk-guide-index .guide-categories .catalog-section-title{font-family:var(--font-body);font-size:1.16rem;line-height:1.5;letter-spacing:0;margin:0 0 16px;padding:8px 0 8px 14px;border-left:3px solid var(--cat-color);background:none}
.hk-guide-index .guide-categories .catalog{margin:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hk-guide-index .guide-categories .catalog-row{min-width:0;min-height:0;padding:24px;height:100%;margin:0;align-items:flex-start}
.hk-guide-index .catalog-row-main{min-width:0;width:100%}
.hk-guide-index .guide-categories .catalog-title{display:block;font-size:1.06rem;line-height:1.45}
.hk-guide-index .guide-categories .catalog-desc{margin:12px 0 0;font-size:.92rem;line-height:1.65}
.hk-home .tool-category{margin:0 0 36px}
.hk-home .tool-category .catalog-section-title{margin:0 0 16px;padding:8px 0 8px 14px;border-left:3px solid var(--cat-color);background:none;font-size:1.16rem;line-height:1.5}
.hk-home .tool-category .catalog{margin:0}
.hk-home .tool-category .catalog-row-main{min-width:0;width:100%}
@media(max-width:1000px){.hk-guide-index .guide-categories .catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hk-guide-index .guide-discovery{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}.hk-guide-index #guide-status{grid-column:1;justify-self:start;text-align:left;padding-top:0}.hk-guide-index .guide-categories{gap:28px}.hk-guide-index .guide-categories .catalog{grid-template-columns:minmax(0,1fr)}.hk-guide-index .guide-categories .catalog-row{padding:22px}.hk-home .tool-category{margin-bottom:28px}}

/* One clear control per catalogue search field. */
:is(#tool-search,#guide-search)::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
