/* Search/sidebar layout for the two construction overviews. */
html .project-browser{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:24px;align-items:start}
html .project-search-sidebar{position:sticky;top:16px;max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid var(--portal-border,#cdd7dc);border-radius:8px;background:var(--portal-surface,#fff);scrollbar-gutter:stable}
html .project-search-sidebar :is(.project-filters,.community-list-filters){display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0}
html .project-search-sidebar :is(input,select){min-width:0;width:100%;box-sizing:border-box}
html .project-search-sidebar input[type=checkbox]{width:auto}
html .project-search-sidebar .community-source{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}
html .project-search-sidebar .community-source button{padding:6px 8px;font-size:12px;flex:1 1 120px;border-radius:6px;min-height:36px}
html[data-color-scheme] body .project-search-sidebar .community-source button[aria-pressed="true"]{background:var(--portal-accent,#ff7900);color:var(--ui-on-accent,#152d36);border-color:var(--portal-accent,#ff7900);box-shadow:inset 0 0 0 1px currentColor}
html #dashboard .construction-card{display:flex;flex-direction:column}
html #dashboard .construction-card .card-footer{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:10px 12px 0;border-top:1px solid var(--portal-border,#cdd7dc)}
html #dashboard .construction-card .card-footer .card-primary-actions{margin:0;padding:0;display:flex;align-items:center;justify-content:space-between;min-height:36px}
html #dashboard .construction-card .card-footer>.community-sharing-badge{margin:0;align-self:flex-start}
html #dashboard .construction-card>h3{min-height:2.8em}
html .project-search-sidebar .community-technical-filters{display:block;margin:8px 0}
html .project-search-sidebar .community-technical-filters fieldset{grid-template-columns:1fr 1fr;margin:8px 0;padding:8px}
html .project-search-sidebar .community-quick-filters{display:grid;gap:6px}
html .project-search-sidebar .community-filter-chips{position:static;max-width:100%;flex-wrap:wrap}
html .project-search-sidebar :is(.project-view-controls,.project-group-control){margin:12px 0}
html .project-search-sidebar .community-advanced-filters{margin:14px 0}
html .project-search-results{min-width:0;container-type:inline-size}
html .project-search-results>.cards{margin-top:0}
html .pattern-search-help{font-size:13px;line-height:1.5;min-width:0}
html .pattern-search-help p{margin:0 0 8px;overflow-wrap:anywhere;color:var(--portal-muted,#52616b)}
html .pattern-search-help summary{cursor:pointer;font-weight:600;margin-bottom:8px}
html .pattern-search-examples{overflow:auto;max-height:350px}
html .pattern-search-examples table{font-size:12px;border-collapse:collapse;min-width:430px;width:100%}
html .pattern-search-examples :is(th,td){padding:6px;vertical-align:top;text-align:left;border:1px solid var(--portal-border,#cdd7dc)}
html .construction-card button.community-sharing-badge{align-self:flex-start;cursor:pointer;padding:4px 8px;min-height:28px;white-space:normal}
html .project-activity{font-weight:600;overflow-wrap:anywhere}
html .portal-theme-toggle [data-theme-icon] svg{width:18px;height:18px}
@media(max-width:850px){html .project-browser{grid-template-columns:minmax(0,1fr);gap:12px}html .project-search-sidebar{position:static;max-height:none}html .project-search-sidebar :is(.project-filters,.community-list-filters){grid-template-columns:repeat(2,minmax(0,1fr))}html .pattern-search-help{grid-column:1/-1}}
@media(max-width:480px){html .project-search-sidebar :is(.project-filters,.community-list-filters){grid-template-columns:minmax(0,1fr)}}
