.mh-search-main { scroll-margin-top:90px; }
.mh-search-main form { display:grid; grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) auto auto; gap:12px; align-items:end; }
.mh-search-main label,.mh-search-panel label { display:grid; gap:6px; font-size:14px; min-width:0; }
.mh-search-main input,.mh-search-main select,.mh-search-panel input:not([type=checkbox]):not([type=radio]),.mh-search-panel select { width:100%; min-width:0; box-sizing:border-box; background:var(--color-surface); color:var(--color-text); border:1px solid var(--color-border); border-radius:var(--radius-input,8px); padding:10px; font:inherit; }
.mh-search-main .btn { white-space:normal; }
.mh-search-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:24px; align-items:start; }
.mh-search-results { min-width:0; }
.mh-search-sidebar { position:sticky; top:90px; max-height:calc(100dvh - 110px); overflow:auto; border:1px solid var(--color-border); border-radius:var(--radius-card); background:var(--color-surface); }
.mh-search-panel { padding:16px; min-width:0; }
.mh-search-panel h3,.mh-search-panel h4 { margin:12px 0; }
.mh-search-panel details { border-bottom:1px solid var(--color-border); padding-bottom:12px; }
.mh-search-panel summary { cursor:pointer; font-weight:700; }
.mh-search-panel [data-category-selector] { max-height:350px; overflow:auto; margin-top:12px; }
.mh-search-panel .mh-search-check { display:flex; flex-direction:row; align-items:center; gap:8px; margin:8px 0; }
.mh-search-panel fieldset { border:1px solid var(--color-border); border-radius:8px; margin:12px 0; padding:10px; min-width:0; }
.mh-search-range { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.mh-search-ok { min-width:44px; min-height:44px; justify-self:end; margin-top:8px; }
.mh-search-results [aria-busy="true"] [data-search-output] { opacity:.65; }
.mh-search-loading { min-height:1.5em; margin:0; font-size:14px; color:var(--color-text-muted); }
.mh-search-actions { position:sticky; bottom:0; display:grid; gap:8px; padding:12px 0 0; background:var(--color-surface); border-top:1px solid var(--color-border); margin-top:16px; }
.mh-search-dialog { width:100%; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:var(--color-surface); color:var(--color-text); overflow:auto; box-sizing:border-box; }
html:has(.mh-search-dialog[open]) { overflow:hidden; }
.mh-search-dialog::backdrop { background:rgba(0,0,0,.5); }
.mh-search-close { position:sticky; top:0; z-index:3; width:100%; border-radius:0; background:var(--color-surface); }
.mh-search-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; margin:20px 0; }
.mh-search-chips { display:flex; flex-wrap:wrap; gap:6px; }
.mh-search-chips .btn { font-size:12px; padding:6px 10px; border:1px solid var(--color-border); }
.mh-compact-list { display:grid; gap:12px; }
.mh-compact-card { display:grid; grid-template-columns:100px minmax(0,1fr); gap:14px; padding:12px; border:1px solid var(--color-border); border-radius:var(--radius-card); background:var(--color-surface); color:var(--color-text); text-decoration:none; }
.mh-compact-visual { display:grid; place-items:center; border-radius:8px; background:var(--color-bg-secondary); min-height:90px; font-size:32px; overflow:hidden; }
.mh-compact-visual img { width:100%; height:100px; object-fit:cover; }
.mh-compact-content { display:grid; min-width:0; gap:5px; overflow-wrap:anywhere; }
.mh-compact-content strong { font-family:var(--font-heading); color:var(--color-heading); }
.mh-compact-action { color:var(--color-link); font-weight:700; }
.mh-compact-profile { width:100%; margin:0; min-height:0; padding:12px; }
.mh-compact-profile .home-profile-photo { width:72px; height:72px; flex-basis:72px; }
.mh-compact-profile .home-profile-info { flex:1; }
.mh-search-results .home-module-slot { margin-top:0; margin-bottom:24px; }
[hidden] { display:none !important; }
@media(min-width:1000px){ [data-open-filters] { display:none; } }
@media(max-width:999px){ .mh-search-layout{display:block}.mh-search-sidebar{display:none}.mh-search-main form{grid-template-columns:1fr 1fr}.mh-search-main form>label:first-child{grid-column:1/-1}.mh-search-dialog .mh-search-panel{padding-bottom:0}.mh-search-dialog .mh-search-actions{padding:12px 0 max(16px,env(safe-area-inset-bottom))}.mh-search-dialog .mh-search-panel [data-category-selector]{max-height:42dvh} }
@media(max-width:420px){.mh-search-main form{gap:8px}.mh-compact-card{grid-template-columns:78px minmax(0,1fr);gap:10px;padding:10px}.mh-compact-visual img{height:90px}.mh-search-main{padding:14px}.mh-search-main button{font-size:13px}.mh-search-pagination{gap:8px} }
@media (min-width:1280px) { .mh-search-results .home-card-row .mh-listing-card { flex:0 0 calc((100% - 48px) / 4); } }
@media (min-width:701px) and (max-width:1279px) { .mh-search-results .home-card-row .mh-listing-card { flex:0 0 calc((100% - 16px) / 2); } }
@media (max-width:700px) { .mh-search-results .home-card-row .mh-listing-card { flex:0 0 100%; } }

/* V1.059: initial scope and contextual refinement are separate controls. */
.mh-search-main form { grid-template-columns:minmax(190px,2fr) minmax(130px,1fr) minmax(140px,1fr) minmax(140px,1fr); }
.mh-search-choice { display:grid; gap:6px; min-width:0; font-size:14px; }
.mh-search-choice .btn { width:100%; overflow-wrap:anywhere; text-align:left; }
.mh-search-main-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; }
.mh-no-refinement { grid-template-columns:minmax(0,1fr); }
.mh-search-float { display:none; }
.mh-search-primary-dialog { width:min(680px,calc(100vw - 40px)); max-height:85dvh; box-sizing:border-box; padding:24px; color:var(--color-text); background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-card); overflow:auto; }
.mh-search-primary-dialog::backdrop { background:rgba(0,0,0,.5); }
.mh-search-primary-dialog h3 { margin:0 0 16px; }
.mh-search-primary-dialog .mh-category-group details { display:none; }
.mh-search-panel fieldset { min-width:0; }
@media(max-width:999px){
 .mh-search-main form { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .mh-search-main form>label:first-child { grid-column:1/-1; }
 .mh-search-main form>label:nth-child(2) { grid-column:1/-1; }
 .mh-search-float { display:block; position:fixed; z-index:30; bottom:max(16px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); box-shadow:0 3px 16px rgba(0,0,0,.22); min-width:150px; }
 body.mh-has-affiner { padding-bottom:calc(90px + env(safe-area-inset-bottom)); }
 .mh-search-primary-dialog { width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; border:0; border-radius:0; padding:20px; }
}
.mh-search-choice { align-self:stretch; grid-template-rows:auto 1fr; }
.mh-search-choice .btn { min-height:44px; }

/* V1.059: one dominant action; header/footer stay outside the scrolling choices. */
.mh-search-primary-dialog { overflow:hidden; }
.mh-search-primary-dialog[open] { display:flex; flex-direction:column; gap:16px; }
.mh-search-primary-header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-shrink:0; }
.mh-search-primary-header h3 { margin:0; }
.mh-search-primary-dismiss { flex-shrink:0; width:44px; height:44px; padding:0; display:grid; place-items:center; border:1px solid var(--color-border); color:var(--color-text); }
.mh-search-primary-dismiss::before { content:"×"; font-size:28px; line-height:1; }
.mh-search-primary-body { min-height:0; overflow:auto; overscroll-behavior:contain; padding:2px; }
.mh-search-primary-actions { flex-shrink:0; display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; border-top:1px solid var(--color-border); }
.mh-search-primary-actions .btn { min-height:44px; white-space:normal; }
.mh-search-primary-actions .btn-quiet { color:var(--color-link); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:999px){
 .mh-search-primary-dialog { padding-bottom:max(20px,env(safe-area-inset-bottom)); padding-top:max(20px,env(safe-area-inset-top)); }
 .mh-search-primary-dialog[data-kind="region"] { width:calc(100% - 32px); max-width:680px; height:fit-content; max-height:calc(100dvh - 32px); margin:auto; border:1px solid var(--color-border); border-radius:var(--radius-card); }
 .mh-search-primary-actions { flex-direction:column-reverse; align-items:stretch; gap:8px; }
 .mh-search-primary-actions .btn { width:100%; }
}
.mh-search-primary-actions .btn-quiet { background:transparent; border:1px solid transparent; }
.mh-search-primary-dismiss { background:var(--color-surface); }

.mh-search-main form{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(180px,1.5fr) minmax(140px,1fr)}
.mh-family-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:4px}
.mh-family-carousel>.mh-search-families{grid-column:2;grid-row:1;min-width:0}
.mh-family-carousel>.mh-family-arrow:first-child{grid-column:1;grid-row:1}
.mh-family-carousel>.mh-family-arrow:last-child{grid-column:3;grid-row:1}
.mh-search-families{position:relative;display:flex;gap:8px;overflow-x:auto;padding:12px 2px;scrollbar-width:none;scroll-snap-type:x mandatory}
.mh-search-families::-webkit-scrollbar{display:none}
.mh-search-families .btn{flex:0 0 min(180px,100%);width:180px;height:96px;font-size:13px;white-space:normal;scroll-snap-align:center}
.mh-search-main .mh-family-arrow{width:44px;min-width:44px;height:56px;padding:0;font-size:36px;line-height:1}
.mh-family-arrow[hidden]{display:block;visibility:hidden;pointer-events:none}
.mh-search-families [aria-pressed="true"]{background:var(--color-brand-blue);border-color:var(--color-brand-blue);color:#fff}
@media(max-width:999px){.mh-search-main form{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.mh-search-main form{grid-template-columns:1fr}}

@media(min-width:1000px){.mh-family-carousel{display:block}.mh-family-arrow{display:none!important}.mh-search-families{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));overflow:visible}.mh-search-families .btn{width:100%}}
.mh-search-sort{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem;margin-block:1rem}
.mh-search-sort select{width:auto;max-width:100%;min-width:12rem}
.mh-search-suggestions{margin-block:1.5rem;padding-top:1rem;border-top:2px solid var(--color-border)}
.mh-search-suggestions>.btn{margin-bottom:1rem}
.mh-search-empty-notice { margin:16px 0; padding:14px 16px; border:1px solid var(--color-border); border-left:3px solid var(--color-link); border-radius:10px; background:var(--color-bg-secondary); }
.mh-search-empty-notice p { margin:0; }
.mh-search-empty-notice p+p { margin-top:6px; }
.mh-search-empty-notice .btn { margin-top:12px; }
.mh-search-discovery { margin-top:24px; }
.mh-search-discovery>h3 { margin-bottom:6px; }
.mh-search-progressive{flex-wrap:wrap;scroll-margin-block:1rem}
.mh-search-progressive [aria-disabled="true"]{opacity:.6;cursor:wait}
.mh-search-progressive [hidden]{display:none}
.mh-search-progressive p{flex-basis:100%;text-align:center;margin:0;overflow-anchor:none}

.mh-auto-fallback:not(:focus) { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mh-search-placeholder { box-sizing:border-box; pointer-events:none; overflow-anchor:none; }
[data-search-row] { overflow-anchor:none; }

/* The feed tools stay compact; the full search remains available on demand. */
.mh-scroll-tools { position:sticky; top:var(--mh-navigation-offset,0px); z-index:35; margin:12px 0 20px; padding:10px; border:1px solid var(--color-border); border-radius:16px; background:var(--color-surface); box-shadow:0 4px 18px rgb(0 0 0 / 9%); transition:top 160ms ease; }
.mh-scroll-tools form { display:grid; grid-template-columns:auto minmax(140px,1.5fr) minmax(130px,1fr) minmax(150px,1.2fr) 44px 44px; align-items:center; gap:8px; }
.mh-scroll-tools label { min-width:0; }
.mh-scroll-place { min-width:0; height:44px; padding:8px 10px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:left; font:inherit; font-size:14px; color:var(--color-text); border:1px solid var(--color-border); border-radius:10px; background:var(--color-bg-secondary); }
.mh-scroll-place::before { content:'⌖'; margin-right:6px; }
.mh-scroll-place-dialog { width:min(520px,calc(100vw - 32px)); max-height:80dvh; box-sizing:border-box; padding:20px; color:var(--color-text); background:var(--color-surface); border:1px solid var(--color-border); border-radius:16px; overflow:auto; }
.mh-scroll-place-dialog::backdrop { background:rgb(0 0 0 / 45%); }
.mh-scroll-place-dialog h3 { margin:0; }
.mh-scroll-place-dialog [data-quick-locality] { margin:16px 0; }
.mh-scroll-place-dialog [data-locality-results] { position:static; max-height:40dvh; overflow:auto; }
.mh-scroll-tools input,.mh-scroll-tools select { width:100%; min-width:0; height:44px; box-sizing:border-box; padding:8px 10px; border:1px solid var(--color-border); border-radius:10px; background:var(--color-bg-secondary); color:var(--color-text); font:inherit; font-size:14px; text-overflow:ellipsis; }
.mh-scroll-tools .mh-scroll-query input { background:var(--color-surface); }
.mh-scroll-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mh-scroll-back { display:flex; min-height:44px; gap:4px; align-items:center; padding:0 10px 0 4px; border:1px solid color-mix(in srgb,var(--color-link) 35%,transparent); border-radius:12px; background:color-mix(in srgb,var(--color-link) 10%,var(--color-surface)); color:var(--color-link); font-size:14px; font-weight:700; text-decoration:none; white-space:nowrap; }
.mh-scroll-back svg { flex:none; width:28px; height:32px; fill:none; stroke:currentColor; stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; }
.mh-scroll-back:hover { background:color-mix(in srgb,var(--color-link) 18%,var(--color-surface)); }
.mh-scroll-filters,.mh-scroll-reset { display:grid; place-items:center; width:44px; height:44px; padding:10px; background:var(--color-bg-secondary); color:var(--color-text); border:1px solid var(--color-border); border-radius:10px; cursor:pointer; }
.mh-scroll-filters[aria-expanded="true"] { color:var(--color-link); border-color:var(--color-link); }
.mh-scroll-filters svg,.mh-scroll-reset svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mh-scroll-reset { color:var(--color-link); }
.mh-scroll-reset:hover { background:color-mix(in srgb,var(--color-link) 12%,var(--color-surface)); }
.mh-scroll-tools :is(a,button,input,select):focus-visible { outline:3px solid var(--color-focus); outline-offset:2px; }
.mh-scroll-tools~.mh-search-main { scroll-margin-top:calc(var(--mh-navigation-offset,0px) + 150px); }
.mh-scroll-tools~.mh-search-layout .mh-search-sidebar { top:calc(var(--mh-navigation-offset,0px) + 85px); max-height:calc(100dvh - var(--mh-navigation-offset,0px) - 105px); }
@media(max-width:700px){
 .mh-scroll-tools { margin:0 -8px 16px; padding:8px; border-radius:0 0 14px 14px; }
 .mh-scroll-tools form { grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; }
 .mh-scroll-back { grid-column:1/3;grid-row:1; }
 .mh-scroll-query { grid-column:3/6;grid-row:1; }
 .mh-scroll-filters { grid-column:6;grid-row:1;justify-self:end; }
 .mh-scroll-place { grid-column:1/4;grid-row:2; }
 .mh-scroll-category { grid-column:4/6;grid-row:2; }
 .mh-scroll-reset { grid-column:6;grid-row:2;justify-self:end; }
 .mh-scroll-tools input { font-size:16px; }
 .mh-scroll-back { padding:0 4px; }
}
@media(prefers-reduced-motion:reduce){.mh-scroll-tools{transition:none}}

.mh-section-title-row { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.mh-section-title-row h2 { min-width:0; flex:1 1 240px; }
.mh-search-results h2[tabindex="-1"]:focus { outline:none; }
.mh-section-title-row .mh-section-scroll-link { flex:0 0 auto; min-height:44px; margin:0; padding:7px 18px 7px 12px; align-items:center; justify-content:center; gap:10px; border:1px solid color-mix(in srgb,var(--color-brand-turquoise) 65%,white); border-radius:999px; background:linear-gradient(115deg,color-mix(in srgb,var(--color-brand-turquoise) 72%,white),var(--color-brand-turquoise)); color:#132238; box-shadow:0 3px 0 color-mix(in srgb,var(--color-brand-turquoise) 48%,var(--color-brand-blue)),0 7px 18px color-mix(in srgb,var(--color-brand-turquoise) 18%,transparent); text-decoration:none; font-size:14px; font-weight:700; line-height:1.4; box-sizing:border-box; transition:transform 160ms ease,box-shadow 160ms ease; }
.mh-scroll-mode-icon { flex:none; width:21px; height:24px; padding:2px; box-sizing:content-box; fill:color-mix(in srgb,white 24%,transparent); stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.mh-scroll-mode-icon path { fill:none; }
.mh-section-scroll-link::after { content:''; flex:none; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin:-4px 2px 0; transition:transform 160ms ease; }
@media(hover:hover){.mh-section-title-row .mh-section-scroll-link:hover{transform:translateY(-2px);box-shadow:0 5px 0 color-mix(in srgb,var(--color-brand-turquoise) 48%,var(--color-brand-blue)),0 10px 22px color-mix(in srgb,var(--color-brand-turquoise) 25%,transparent)}.mh-section-scroll-link:hover::after{transform:translateY(3px) rotate(45deg)}}
.mh-section-title-row .mh-section-scroll-link:active { transform:translateY(2px); box-shadow:0 1px 0 var(--color-brand-blue); }
.mh-section-title-row .mh-section-scroll-link:focus-visible { outline:3px solid var(--color-focus); outline-offset:5px; }
@media(prefers-reduced-motion:reduce){.mh-section-title-row .mh-section-scroll-link,.mh-section-title-row .mh-section-scroll-link:is(:hover,:active),.mh-section-scroll-link::after{transition:none;transform:none}.mh-section-scroll-link::after,.mh-section-scroll-link:hover::after{transform:rotate(45deg)}}
@media(max-width:600px){.mh-section-title-row{gap:10px}.mh-section-title-row h2{flex-basis:100%}.mh-section-title-row .mh-section-scroll-link{font-size:13px;padding:7px 14px}}
@media(max-width:360px){.mh-scroll-back{font-size:12px;gap:0;padding:0 2px}.mh-scroll-back svg{width:24px}}

/* Compact search uses the same M08 choices and manual validation as the main form. */
.mh-scroll-query { position:relative; }
.mh-scroll-tools .mh-scroll-query input { padding-right:46px; }

.mh-feed-choices { display:flex; flex-wrap:wrap; gap:8px; }
.mh-scroll-tools > .mh-feed-choices { margin-top:8px; }
.mh-feed-choices a {
  --feed-accent:var(--color-brand-turquoise);
  display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:0 14px;
  border:1px solid var(--color-border); border-radius:999px; color:var(--color-text);
  background:var(--color-surface); font-size:.875rem; font-weight:600; text-decoration:none;
}
.mh-feed-choices [data-feed="buzz"] { --feed-accent:var(--color-brand-coral); }
.mh-feed-choices [data-feed="profiles"] { --feed-accent:var(--color-brand-green); }
.mh-feed-choices a svg {
  flex:none; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round; color:color-mix(in srgb,var(--feed-accent) 48%,var(--color-heading));
}
.mh-feed-choices a:is(:hover,[aria-current]) {
  border-color:color-mix(in srgb,var(--feed-accent) 70%,var(--color-text));
  background:color-mix(in srgb,var(--feed-accent) 14%,var(--color-surface));
}
.mh-feed-choices [aria-current]::after {
  content:""; width:5px; height:9px; margin:0 2px 3px; border:solid currentColor;
  border-width:0 2px 2px 0; transform:rotate(45deg);
}
.mh-feed-mobile-tools { display:none; }
@media(min-width:1000px) {
  .mh-scroll-tools~.mh-search-layout .mh-search-sidebar { top:calc(var(--mh-navigation-offset,0px) + 132px); max-height:calc(100dvh - var(--mh-navigation-offset,0px) - 150px); }
}
@media(max-width:999px) {
  .mh-scroll-tools > .mh-feed-choices { display:none; }
  .mh-feed-mobile-tools {
    position:fixed; z-index:36; bottom:max(14px,env(safe-area-inset-bottom));
    left:max(12px,env(safe-area-inset-left)); right:max(12px,env(safe-area-inset-right));
    display:flex; justify-content:space-between; gap:8px; pointer-events:none;
  }
  .mh-feed-mobile-tools details { position:relative; pointer-events:auto; }
  .mh-feed-mobile-tools summary {
    display:grid; place-items:center; box-sizing:border-box; width:52px; height:52px; padding:0;
    border-radius:50%; border:1px solid var(--color-border-control); cursor:pointer;
    background:var(--color-surface); color:var(--color-heading); font-size:.875rem; font-weight:700;
    box-shadow:0 3px 12px rgb(0 0 0 / 16%); list-style:none;
  }
  .mh-feed-mobile-tools summary::-webkit-details-marker { display:none; }
  .mh-feed-mobile-tools details:last-child summary { background:var(--color-brand-blue); border-color:var(--color-brand-blue); color:white; }
  .mh-feed-mobile-tools summary svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
  .mh-feed-mobile-tools summary img { display:block; height:34px; width:23px; }
  .mh-feed-mobile-tools summary:active { transform:scale(.95); }
  .mh-feed-mobile-tools details[open] summary { outline:2px solid var(--color-focus); outline-offset:2px; }
  .mh-feed-bubble {
    position:absolute; bottom:calc(100% + 10px); left:0; width:max-content; max-width:calc(100vw - 32px);
    max-height:55dvh; overflow:auto; padding:6px; border:1px solid var(--color-border);
    border-radius:16px 16px 16px 5px; background:var(--color-surface); box-shadow:0 6px 24px rgb(0 0 0 / 18%);
  }
  .mh-feed-mobile-tools details:last-child .mh-feed-bubble { right:0; left:auto; border-radius:16px 16px 5px 16px; }
  .mh-feed-bubble,.mh-feed-bubble .mh-feed-choices { display:grid; gap:3px; }
  .mh-feed-bubble :is(a,button) { min-height:44px; border-radius:10px; }
  .mh-feed-bubble .mh-feed-choices { gap:6px; }
  .mh-feed-bubble .mh-feed-choices a {
    padding:5px 12px 5px 6px; gap:10px; border-color:color-mix(in srgb,var(--feed-accent) 35%,var(--color-border));
    background:color-mix(in srgb,var(--feed-accent) 7%,var(--color-surface));
  }
  .mh-feed-bubble .mh-feed-choices a svg {
    box-sizing:content-box; width:20px; height:20px; padding:7px; border-radius:8px;
    background:color-mix(in srgb,var(--feed-accent) 20%,var(--color-surface));
  }
  .mh-feed-bubble .mh-feed-choices a:is(:hover,[aria-current]) {
    border-color:var(--feed-accent); background:color-mix(in srgb,var(--feed-accent) 17%,var(--color-surface));
  }
  .mh-feed-bubble .mh-feed-choices [aria-current]::after { margin-left:auto; }
  .mh-feed-bubble button { padding:0 14px; text-align:left; color:var(--color-text); font:inherit; font-size:.9rem; font-weight:600; border:0; background:var(--color-surface); cursor:pointer; }
  .mh-feed-bubble button:hover { background:var(--color-bg-secondary); }
  .mh-feed-mobile-tools :focus-visible { outline:2px solid var(--color-focus); outline-offset:-2px; }
}
.mh-scroll-submit { position:absolute; right:0; top:0; width:44px; height:44px; display:grid; place-items:center; border:0; border-radius:0 10px 10px 0; color:var(--color-link); background:transparent; }
.mh-scroll-submit svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.mh-scroll-choice { min-width:0; height:44px; padding:8px 24px 8px 10px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:left; font:inherit; font-size:14px; color:var(--color-text); border:1px solid var(--color-border); border-radius:10px; background:var(--color-bg-secondary); position:relative; }
.mh-scroll-choice::after { content:''; position:absolute; right:10px; top:17px; width:6px; height:6px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); }
.mh-scroll-place-dialog .mh-search-panel { padding:0; }
.mh-scroll-place-dialog .mh-search-primary-header { position:sticky; top:-20px; padding:12px 0; background:var(--color-surface); z-index:1; }
.mh-scroll-place-dialog .mh-option-check { min-height:44px; display:flex; align-items:center; gap:10px; padding:4px 8px; border-radius:8px; }
.mh-scroll-place-dialog .mh-option-check:has(:checked) { background:color-mix(in srgb,var(--color-link) 12%,var(--color-surface)); }
.mh-scroll-quarter { padding:12px; border:1px solid var(--color-border); border-radius:8px; }
.mh-scroll-place-dialog input:not([type=radio]),.mh-scroll-place-dialog select { font-size:16px; }
.mh-scroll-place-picker { margin:10px 0; border:1px solid var(--color-border); border-radius:10px; }
.mh-scroll-place-picker summary { padding:12px; min-height:44px; box-sizing:border-box; cursor:pointer; font-weight:600; color:var(--color-heading); }
.mh-scroll-place-choices { max-height:32dvh; overflow:auto; overscroll-behavior:contain; padding:0 6px; }
.mh-scroll-place-choices .mh-option-selector { border:0; padding:0; margin:0; }
.mh-scroll-place-choices legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.mh-scroll-place-actions { position:sticky; bottom:-20px; padding:12px 0; background:var(--color-surface); display:flex; justify-content:flex-end; border-top:1px solid var(--color-border); margin-top:12px; }
.mh-scroll-place-actions button { min-width:96px; min-height:44px; }
