/* Hub page composition only. Shared navigation.css and ui.css own the application frame. */
.hero{margin-bottom:24px}.hero h1{margin-top:0}.hero p{max-width:80ch}.meta{font-size:13px;color:var(--muted)}
.hub-search{max-width:600px;margin-bottom:24px}.hub-search label{display:block;margin-bottom:6px}.handbook-grid,.site-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.handbook-grid>.card{margin:0}.handbook-section>h2{margin-bottom:8px}.section-description{margin:0 0 22px}.handbook-grid details{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.handbook-grid summary,.archive summary{cursor:pointer;color:var(--teal);font-weight:700}.handbook-grid details h4{margin:18px 0 8px}.handbook-grid li{margin:8px 0}.handbook-grid pre,.reference-reader pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--panel);padding:1rem;border:1px solid var(--line)}.source-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:16px;overflow-wrap:anywhere}
.site-grid{margin-bottom:24px}.site-grid a{display:block;text-decoration:none;padding:16px;border:1px solid var(--line);background:var(--panel);border-radius:4px}.site-grid a:hover{border-color:var(--teal)}.site-grid strong,.site-grid small{display:block}.site-grid small{color:var(--muted);margin-top:4px}.version-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.version-row span{padding:6px 10px;border:1px solid var(--line);color:var(--muted)}
.archive{border-top:1px solid var(--line);padding-top:18px;margin-top:32px}.archive-links{display:grid;gap:8px}.archive-links a{padding:8px 0;border-bottom:1px solid var(--line)}.archive-links small{display:block;color:var(--muted)}
.reference-reader{min-width:0;max-width:90ch}.reference-reader h2,.reference-reader h3,.reference-reader h4{scroll-margin-top:calc(var(--product-chrome-height,0px) + 1rem)}.reference-reader p,.reference-reader li{line-height:1.65;overflow-wrap:anywhere}.reference-reader code,.reference-revision{overflow-wrap:anywhere}.reference-toc{margin:1rem 0;padding:1rem;border:1px solid var(--line)}.reference-toc nav{display:grid;gap:.6rem;margin-top:1rem}.reference-table{max-width:100%;overflow-x:auto}.reference-table table{border-collapse:collapse;width:100%}.reference-table th,.reference-table td{padding:.65rem;border:1px solid var(--line);text-align:left;vertical-align:top}.reference-results .card{margin:1rem 0}.reference-results a{font-size:1.1rem;font-weight:700}.reference-results p{overflow-wrap:anywhere}.agreement-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow-y:auto;padding:1rem;border:1px solid var(--line);font:inherit}.hub-project-notes{white-space:pre-wrap;overflow-wrap:anywhere}.hub-guide-actions{display:grid;gap:12px;margin:16px 0}
.hub-attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hub-attention-grid>section{min-width:0}.hub-attention-grid .record-card-grid{grid-template-columns:1fr}.hub-attention-grid .card{margin-top:14px}
.hub-view-options{position:relative;align-self:center}.hub-view-options>summary{cursor:pointer;color:var(--muted);padding:10px}.hub-view-options[open]>.actions{display:flex;flex-wrap:wrap;gap:14px;padding:14px;border:1px solid var(--line);background:var(--panel);margin-top:8px}.hub-discussions-layout{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,3fr);gap:var(--space-section,28px)}.hub-discussions-layout>section{min-width:0}.hub-discussions-layout>section:first-child{border-right:1px solid var(--line);padding-right:20px}.hub-discussions-layout .record-card-grid{grid-template-columns:1fr}
@media(max-width:750px){.hub-discussions-layout{grid-template-columns:1fr}.hub-discussions-layout>section:first-child{border-right:0;border-bottom:1px solid var(--line);padding-right:0;padding-bottom:16px}}
@media(max-width:1000px){.hub-attention-grid{grid-template-columns:1fr}}
.hub-product-context{display:flex;justify-content:flex-end;margin:0 0 var(--space-section,28px)}.hub-product-context label{display:flex;align-items:center;gap:12px;margin:0}.hub-product-context select{min-width:220px;margin:0}.hub-product-group{margin:0 0 var(--space-section,28px)}.hub-product-group>h2{margin:0 0 14px}.hub-detail-section{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}.hub-detail-section>summary{cursor:pointer;font-weight:700;color:var(--teal);margin-bottom:12px}.hub-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hub-editor-fields>label{min-width:0;margin:0}.hub-critical-issues{margin-top:var(--space-section,28px)}
@media(max-width:650px){.handbook-grid,.site-grid,.hub-editor-fields{grid-template-columns:1fr}.hub-product-context{justify-content:stretch}.hub-product-context label,.hub-product-context select{width:100%;min-width:0}}

.hub-title-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hub-title-actions h1{margin:0}.hub-title-actions>.record-reference{order:2;flex-basis:100%}

.hub-work-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}@media(max-width:700px){.hub-work-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.product-header #headerSearch{width:auto;max-width:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.product-header #headerSearch[hidden]{display:none}
#headerSearch[aria-current=page]{border-color:var(--teal)}
.hub-workspace-search{max-width:700px;margin-bottom:var(--space-section,28px)}
.hub-workspace-search input[type=search]{width:100%;margin-bottom:10px}
.hub-workspace-search .row-actions{align-items:flex-end}
.hub-workspace-search .row-actions label{display:flex;align-items:center;gap:6px;margin:0;min-height:44px}
.hub-workspace-search .row-actions input,.hub-workspace-search .row-actions select,.hub-workspace-search .row-actions button{margin:0}
.reference-publication{color:var(--muted);font-size:.9em}
.reference-reader [id^=reference-],[id^=health-observation-]{scroll-margin-top:calc(var(--product-chrome-height,0px) + 1rem)}
