.uh-pagehero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background: linear-gradient(120deg, #eefbdc 0%, #f8fff2 48%, #fff 78%);
}

.uh-pagehero::after {
    content: "";
    position: absolute;
    width: 34rem;
    height: 34rem;
    right: -12rem;
    top: -16rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(51 192 91 / .18), transparent 68%);
}

.uh-pagehero__content { position: relative; z-index: 1; max-width: 64rem; }
.uh-pagehero h1 { max-width: 18ch; font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.045em; }
.uh-pagehero p { max-width: 64ch; margin-top: 1.25rem; color: var(--ink-muted); font-size: 1.08rem; }
.uh-trustline { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2rem; color: var(--navy-700); font-size: .875rem; font-weight: 750; }
.uh-trustline span::before { content: "✓"; margin-right: .45rem; color: var(--green-600); }

.uh-market__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 .75rem; }
.uh-market__search { display: flex; align-items: center; gap: .65rem; min-width: min(100%, 20rem); padding: .8rem 1rem; border: 1px solid var(--line-strong); border-radius: .8rem; background: #fff; color: var(--ink-subtle); }
.uh-market__search:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 3px rgb(51 192 91 / .12); }
.uh-market__search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.uh-market__search button { border: 0; background: transparent; color: var(--green-700); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.uh-market__status { min-height: 1.4rem; margin-bottom: 1.25rem; }
.uh-market__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.uh-sharecard { padding: 1.35rem; border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; box-shadow: 0 10px 32px rgb(24 46 75 / .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.uh-sharecard:hover { transform: translateY(-3px); border-color: var(--green-200); box-shadow: 0 16px 38px rgb(24 46 75 / .1); }
.uh-sharecard__head { display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: center; }
.uh-sharecard__head h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.uh-sharecard__head p { margin: .2rem 0 0; color: var(--ink-muted); font-size: .78rem; }
.uh-sharecard__monogram { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .8rem; background: var(--green-50); color: var(--green-700); font-size: 1.1rem; font-weight: 850; }
.uh-sharecard__logo { width: 3rem; height: 3rem; padding: .3rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; object-fit: contain; }
.uh-sharecard__quote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.uh-sharecard__quote > div { padding: .9rem; border-radius: .8rem; background: var(--surface-2); }
.uh-sharecard__quote span { display: block; margin-bottom: .3rem; color: var(--ink-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.uh-sharecard__quote strong { color: var(--navy-800); font-size: 1.05rem; }
.uh-sharecard__actions { display: flex; justify-content: flex-end; gap: .65rem; }
.uh-sharecard__actions .uh-btn { min-height: 42px; padding-inline: 1rem; font-size: .8rem; }
.uh-empty { padding: 3.5rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: 1rem; text-align: center; background: var(--surface-2); }
.uh-empty h3 { margin-bottom: .5rem; }
.uh-empty p { margin: 0 auto 1.25rem; color: var(--ink-muted); }
.uh-companycell { display: flex; align-items: center; gap: .75rem; min-width: 14rem; }
.uh-companycell > span:last-child { min-width: 0; }
.uh-companylogo { flex: 0 0 auto; width: 2.625rem; height: 2.625rem; padding: .25rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; object-fit: contain; }
.uh-companylogo--fallback { display: grid; place-items: center; padding: 0; border-color: var(--green-100); background: var(--green-50); color: var(--green-700); font-weight: 850; }
.uh-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.uh-pagination > span { color: var(--ink-muted); font-size: .86rem; text-align: center; }
.uh-pagination small { color: var(--ink-subtle); }
.uh-pagination__edge { min-width: 6.5rem; padding: .65rem .9rem; border: 1px solid var(--line-strong); border-radius: .7rem; background: #fff; color: var(--navy-800); text-align: center; font-size: .82rem; font-weight: 800; }
.uh-pagination__edge:hover { border-color: var(--green-400); color: var(--green-800); }
.uh-pagination__edge.is-disabled { pointer-events: none; opacity: .45; }

.uh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.uh-steps article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.uh-steps article > span { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 850; }
.uh-steps h3 { margin: 1rem 0 .45rem; font-size: 1.05rem; }
.uh-steps p { color: var(--ink-muted); font-size: .9rem; }
.uh-risknote { max-width: 80rem; margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--green-500); background: #fff; color: var(--ink-muted); font-size: .82rem; line-height: 1.65; }

.uh-contactgrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.uh-contactintro h1 { max-width: 12ch; font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.04em; }
.uh-contactintro > p { max-width: 54ch; margin: 1rem 0 2rem; color: var(--ink-muted); }
.uh-contactlist { display: grid; gap: .75rem; }
.uh-contactitem { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.uh-contactitem__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .75rem; background: var(--green-50); color: var(--green-700); }
.uh-contactitem small { display: block; color: var(--ink-muted); }
.uh-contactitem a, .uh-contactitem strong { color: var(--navy-800); font-weight: 750; }
.uh-formcard { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 18px 50px rgb(24 46 75 / .08); }
.uh-formcard h2 { margin-bottom: .35rem; font-size: 1.5rem; }
.uh-formcard > p { margin-bottom: 1.5rem; color: var(--ink-muted); }
.uh-formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.uh-field { display: grid; gap: .4rem; }
.uh-field--full { grid-column: 1 / -1; }
.uh-field label { color: var(--navy-800); font-size: .78rem; font-weight: 750; }
.uh-field input, .uh-field select, .uh-field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--line-strong); border-radius: .75rem; background: #fff; color: var(--ink); font: inherit; }
.uh-field textarea { min-height: 8rem; resize: vertical; }
.uh-field input:focus, .uh-field select:focus, .uh-field textarea:focus { outline: 0; border-color: var(--green-500); box-shadow: 0 0 0 3px rgb(51 192 91 / .12); }
.uh-validation { color: #b42318; font-size: .75rem; }
.uh-formactions { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.uh-formactions p { color: var(--ink-muted); font-size: .72rem; line-height: 1.5; }

.uh-detailhero { padding: clamp(2.5rem, 5vw, 5rem) 0; background: var(--surface-2); }
.uh-detailcard { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 18px 50px rgb(24 46 75 / .07); }
.uh-detailcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.uh-detailidentity { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.uh-detailidentity__logo { flex: 0 0 auto; width: 4.75rem; height: 4.75rem; padding: .55rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; object-fit: contain; }
.uh-detailidentity__logo--fallback { display: grid; place-items: center; padding: 0; background: var(--green-50); color: var(--green-700); font-size: 1.75rem; font-weight: 850; }
.uh-detailcard h1 { max-width: 28ch; margin: .55rem 0 .5rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; }
.uh-detailmeta { display: flex; flex-wrap: wrap; gap: .45rem; color: var(--ink-muted); font-size: .78rem; }
.uh-detailmeta span { padding: .35rem .55rem; border-radius: .4rem; background: var(--surface-2); }
.uh-detailquote { margin-top: 2rem; }
.uh-detailquote small { display: block; color: var(--ink-muted); }
.uh-detailquote strong { display: block; margin-top: .2rem; color: #101828; font-size: clamp(2.2rem, 5vw, 3.25rem); letter-spacing: -.04em; }
.uh-detailstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.uh-detailstats div { padding: 1rem; border-radius: .8rem; background: var(--surface-2); }
.uh-detailstats span { display: block; color: var(--ink-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.uh-detailstats strong { display: block; margin-top: .3rem; }
.uh-identifiers { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.uh-identifiers div { display: flex; gap: .5rem; }
.uh-identifiers dt { color: var(--ink-muted); font-size: .76rem; font-weight: 800; }
.uh-identifiers dd { margin: 0; color: var(--navy-800); font-size: .76rem; overflow-wrap: anywhere; }
.uh-detailbody { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem; align-items: start; }
.uh-richtext { min-width: 0; color: var(--ink-muted); line-height: 1.75; }
.uh-detaillead { color: var(--navy-800); font-size: 1.05rem; }
.uh-richtext h2, .uh-richtext h3 { margin: 2rem 0 .75rem; color: var(--navy-800); }
.uh-detailaside { position: sticky; top: 7rem; padding: 1.25rem; border: 1px solid var(--green-100); border-radius: 1rem; background: linear-gradient(145deg, var(--green-50), #fff); }
.uh-detailaside p { margin: .5rem 0 1rem; color: var(--ink-muted); font-size: .86rem; }
.uh-finchart { margin: 2rem 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 32px rgb(24 46 75 / .05); }
.uh-finchart figcaption { margin-bottom: .75rem; color: var(--navy-800); font-weight: 850; }
.uh-finchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.uh-finchart__grid { fill: none; stroke: #dfe7ee; stroke-width: 1; }
.uh-finchart__area { fill: rgb(51 192 91 / .11); stroke: none; }
.uh-finchart__line { fill: none; stroke: var(--green-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.uh-finchart__point { fill: #fff; stroke: var(--green-700); stroke-width: 3; }
.uh-finchart__label { fill: var(--ink-muted); font-size: 12px; }
.uh-financialtable { margin-top: 1.25rem; }

/* Tabs are links on the server-paginated market page and buttons on the home table. */
.uh-tabs a { padding: var(--s-3) var(--s-5); border-radius: calc(var(--r) - 3px); color: var(--ink-muted); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.uh-tabs a:hover { color: var(--navy-700); }
.uh-tabs a.is-active { background: #fff; color: var(--navy-700); box-shadow: var(--sh-1); }

@media (max-width: 800px) {
    .uh-market__grid, .uh-contactgrid, .uh-detailbody { grid-template-columns: 1fr; }
    .uh-steps { grid-template-columns: 1fr; }
    .uh-detailaside { position: static; }
    .uh-detailidentity { align-items: center; }
}

@media (max-width: 560px) {
    .uh-market__search { min-width: 100%; }
    .uh-market__grid, .uh-formgrid, .uh-detailstats { grid-template-columns: 1fr; }
    .uh-sharecard__head { grid-template-columns: auto 1fr; }
    .uh-sharecard__head .uh-tag { grid-column: 2; justify-self: start; }
    .uh-sharecard__actions { justify-content: stretch; }
    .uh-sharecard__actions .uh-btn { flex: 1; }
    .uh-detailcard__top { display: block; }
    .uh-detailidentity { align-items: flex-start; }
    .uh-detailidentity__logo { width: 3.5rem; height: 3.5rem; }
    .uh-pagination { gap: .5rem; }
    .uh-pagination__edge { min-width: auto; }
    .uh-pagination small { display: none; }
    .uh-formactions { align-items: stretch; flex-direction: column; }
}
