/* Scoped to the existing editor and homepage. White blog theme, native SVG catalogue. */
.mh-admin-v8 .post-editor-page { gap: 12px; --mh-admin-bar-height: 64px; --mh-editor-bar-height: 58px; }
.mh-admin-v8 .post-editor-page .post-editor-hero {
  position: sticky; top: var(--mh-admin-bar-height); z-index: 20;
  align-items: center; gap: 10px; margin: 0; padding: 10px 0;
  border-bottom: 1px solid #e5e7eb; background: #fff;
}
.mh-admin-v8 .post-editor-page .post-editor-hero h2 { font: inherit; font-size: 16px; font-weight: 600; margin: 0; }
.mh-admin-v8 .post-editor-page .post-editor-hero .posts-eyebrow,
.mh-admin-v8 .post-editor-page .post-editor-hero p { display: none; }
.mh-admin-v8 .post-editor-page .post-editor-hero-actions { margin: 0; gap: 6px; min-width: 0; }
.mh-admin-v8 .post-editor-page .post-editor-hero-actions .btn { min-height: 40px; padding: 8px 11px; font-size: 12px; }
.mh-admin-v8 .post-editor-page .post-editor-form { grid-template-columns: minmax(0, 1fr) 252px; gap: 18px; }
.mh-admin-v8 .post-editor-page :is(.post-editor-main, .post-editor-sidebar) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; }
.mh-admin-v8 .post-editor-page .post-editor-card { margin: 0; padding: 14px; border-color: #e5e7eb; border-radius: 8px; }
.mh-admin-v8 .post-editor-page .post-editor-card.mh-editor-settings { padding: 0; }
.mh-admin-v8 .post-editor-page .mh-editor-settings > summary {
  min-height: 46px; padding: 10px 12px; gap: 8px; font: inherit;
  font-size: 12px; font-weight: 500; line-height: 1.4; color: #30343b;
  display: flex; align-items: center; justify-content: flex-start; list-style: none;
}
.mh-admin-v8 .post-editor-page .mh-editor-settings > summary::after { content: none; }
.mh-admin-v8 .post-editor-page .mh-setting-label { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.mh-admin-v8 .post-editor-page .mh-setting-label > span { overflow-wrap: anywhere; }
.mh-admin-v8 .post-editor-page .mh-setting-label > svg { width: 16px; height: 16px; color: #667085; flex: 0 0 16px; }
.mh-admin-v8 .post-editor-page .mh-setting-value {
  margin-left: auto; max-width: 44%; min-width: 0; color: #667085; font-size: 11px;
  font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mh-admin-v8 .post-editor-page .mh-setting-chevron { display: flex; flex: 0 0 14px; color: #667085; }
.mh-admin-v8 .post-editor-page .mh-setting-chevron > svg { width: 14px; height: 14px; transition: transform .15s ease; }
.mh-admin-v8 .post-editor-page .mh-editor-settings[open] .mh-setting-chevron > svg { transform: rotate(180deg); }
.mh-admin-v8 .post-editor-page .mh-editor-settings[open] > summary { border-bottom: 1px solid #eff0f2; }
.mh-admin-v8 .post-editor-page .mh-editor-settings-body { padding: 12px; }
.mh-admin-v8 .post-editor-page .mh-editor-settings .editor-card-head { margin-bottom: 10px; }
.mh-admin-v8 .post-editor-page .title-card { padding: 12px 14px; }
.mh-admin-v8 .post-editor-page .title-card label { margin-bottom: 4px; font-size: 12px; color: #667085; }
.mh-admin-v8 .post-editor-page textarea.post-title-input { margin: 0; color: #242424; }
.mh-admin-v8 .post-editor-page .title-card .help { margin-top: 4px; }
.mh-admin-v8 .post-editor-page .post-editor-form :is(.help, .editor-card-head p) { font-size: 12px; color: #667085; line-height: 1.6; }
.mh-admin-v8 .post-editor-page .post-editor-form :is(.form-row label, .mh-editor-settings label) { font-size: 12px; color: #4b5563; }
.mh-admin-v8 .post-editor-page .post-editor-form :where(.input, .textarea, select):not(.post-title-input) { font-size: 14px; min-height: 40px; color: #30343b; }
.mh-admin-v8 .post-editor-page .post-editor-form textarea.post-excerpt-input { min-height: 78px; }
.mh-admin-v8 .post-editor-page .wp-editor-card { padding: 14px; }
.mh-admin-v8 .post-editor-page .editor-card-head h3 { font-size: 14px; color: #30343b; }
.mh-admin-v8 .post-editor-page .wp-editor-top { padding: 0 0 10px; gap: 8px; }
.mh-admin-v8 .post-editor-page .wp-editor-tabs button { min-height: 36px; padding: 7px 12px; font-size: 12px; color: #667085; }
.mh-admin-v8 .post-editor-page .wp-editor-tabs button.active { color: #242424; }
.mh-admin-v8 .post-editor-page .wp-editor-help { font-size: 11px; color: #667085; }
.mh-admin-v8 .post-editor-page .wp-editor-toolbar {
  position: sticky; top: calc(var(--mh-admin-bar-height) + var(--mh-editor-bar-height) + 8px);
  z-index: 18; gap: 6px; padding: 7px; border-color: #e5e7eb; background: #fff;
}
.mh-admin-v8 .post-editor-page .mh-toolbar-group { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; }
.mh-admin-v8 .post-editor-page .mh-toolbar-group + .mh-toolbar-group { border-left: 1px solid #e5e7eb; padding-left: 6px; }
.mh-admin-v8 .post-editor-page .wp-editor-toolbar button {
  flex: 0 0 36px; width: 36px; height: 36px; min-height: 36px; padding: 8px;
  border-color: transparent; background: #fff; color: #4b5563;
}
.mh-admin-v8 .post-editor-page .wp-editor-toolbar button:hover { color: #242424; background: #f5f5f5; border-color: #e5e7eb; }
.mh-admin-v8 .post-editor-page .wp-editor-toolbar button svg { width: 18px; height: 18px; }
.mh-admin-v8 .post-editor-page .post-editor-form .wp-editor-toolbar select { flex: 0 1 115px; width: 115px; min-height: 36px; padding: 6px 8px; font-size: 12px; }
.mh-admin-v8 .post-editor-page .mh-editor-toolbar-more > summary { min-height: 36px; color: #4b5563; padding: 7px; }
.mh-admin-v8 .post-editor-page .mh-editor-toolbar-more > div { grid-template-columns: minmax(0, 1fr); width: 188px; top: 42px; padding: 6px; gap: 2px; }
.mh-admin-v8 .post-editor-page .mh-editor-toolbar-more > div > button { width: 100%; justify-content: flex-start; gap: 8px; font-size: 12px; text-align: left; }
.mh-admin-v8 .post-editor-page .wp-visual-editor {
  padding: 20px; margin-top: 8px; min-height: 440px; color: #30343b; font: inherit;
  font-size: 16px; line-height: 1.85; max-height: none; overflow: visible;
}
.mh-admin-v8 .post-editor-page .wp-visual-editor h2 { font-size: 23px; line-height: 1.4; }
.mh-admin-v8 .post-editor-page .wp-visual-editor h3 { font-size: 20px; line-height: 1.4; }
.mh-admin-v8 .post-editor-page .wp-visual-editor h4 { font-size: 17px; line-height: 1.5; }
.mh-admin-v8 .post-editor-page .wp-visual-editor .mh-table-wrap { overflow-x: auto; }
.mh-admin-v8 .post-editor-page .post-editor-form textarea.post-content-input { min-height: 440px; font-family: ui-monospace, monospace; font-size: 14px; }
.mh-admin-v8 .post-editor-page .editor-counter { font-size: 12px; color: #667085; }
.mh-admin-v8 .post-editor-page :is(.post-status-box span, .post-status-box strong, .seo-checklist li, .format-guide-grid code, .format-guide-grid span, .autosave-status) { font-size: 12px; color: #667085; }
.mh-admin-v8 .post-editor-page :is(.small-admin-link, .editor-preview-link) { min-height: 36px; font-size: 12px; color: #4b5563; }
.mh-admin-v8 .post-editor-page .mh-editor-settings-body .cover-preview { min-height: 90px; }
.mh-admin-v8 .post-editor-page :is(button, a, summary, select, input, textarea, [contenteditable]):focus-visible { outline: 2px solid #667085; outline-offset: 3px; }
.mh-admin-v8 .post-editor-page .mh-editor-settings-body [data-setting-value] { font-size: inherit; }

/* A compact featured article keeps the recent list close to the first screen. */
.mh-home-v22 .mh-site-intro { margin-bottom: 20px; padding-bottom: 16px; }
.mh-home-v22 .mh-site-intro > strong { font-size: 17px; line-height: 1.5; }
.mh-home-v22 .mh-site-intro > p { margin: 0 0 4px; font-size: 12px; }
.mh-home-v22 .mh-site-intro > a { font-size: 12px; min-height: 36px; display: inline-flex; align-items: center; }
.mh-home-v22 .mh-home-featured { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; max-width: none; margin: 0; align-items: center; }
.mh-home-v22 .mh-home-feature-copy { min-width: 0; }
.mh-home-v22 .mh-home-eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.mh-home-v22 .ml-sample-head { display: block; margin: 0; }
.mh-home-v22 .ml-sample-head h1 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.015em; }
.mh-home-v22 .ml-sample-head h1 a { color: inherit; text-decoration: none; }
.mh-home-v22 .ml-sample-head h1 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mh-home-v22 .ml-sample-cover { width: 100%; aspect-ratio: 16/10; margin: 0; }
.mh-home-v22 .ml-article-meta { font-size: 11px; margin: 10px 0; gap: 4px 10px; }
.mh-home-v22 .ml-home-excerpt { font-size: 14px; margin: 0; line-height: 1.7; }
.mh-home-v22 .ml-home-excerpt p { margin: 0; }
.mh-home-v22 .mh-home-feature-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.mh-home-v22 .ml-read { margin: 0; padding: 0; font-size: 13px; background: none; color: var(--text); min-height: 40px; }
.mh-home-v22 .ml-read > svg, .mh-home-v22 .ml-section-title > a > svg { width: 16px; height: 16px; }
.mh-home-v22 .ml-sample-actions { gap: 4px; }
.mh-home-v22 .ml-sample-actions button { padding: 8px; font-size: 12px; min-height: 40px; }
.mh-home-v22 .ml-sample-actions svg { width: 17px; height: 17px; }
.mh-home-v22 .ml-section { margin-top: 26px; }
.mh-home-v22 .ml-section-title { margin-bottom: 16px; }
.mh-home-v22 .ml-section-title h2 { font-size: 20px; }
.mh-home-v22 .ml-section-title > a { min-height: 40px; display: inline-flex; align-items: center; font-size: 13px; }
.mh-home-v22 .ml-grid.listing { gap: 22px; }
.mh-home-v22 .ml-card-body h3 { font-size: 18px; }
.mh-home-v22 .mh-home-empty { padding: 18px 0; }
.mh-home-v22 .mh-home-empty h1 { font-size: 28px; line-height: 1.3; margin: 0 0 12px; }
.mh-home-v22 :is(a, button):focus-visible { outline: 2px solid #667085; outline-offset: 3px; }
.mh-share-dialog { max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
.mh-share-dialog [data-share-status] { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .mh-admin-v8 .post-editor-page .post-editor-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mh-admin-v8 .post-editor-page .post-editor-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .mh-admin-v8 .post-editor-page .post-editor-sidebar > .sticky-card { grid-column: 1/-1; }
}
@media (max-width: 700px) {
  .mh-admin-v8 .post-editor-page .post-editor-hero { position: static; }
  .mh-admin-v8 .post-editor-page .wp-editor-toolbar { position: static; }
  .mh-admin-v8 .post-editor-page .post-editor-hero-actions { flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-admin-v8 .post-editor-page .post-editor-hero-actions .btn { min-height: 44px; width: 100%; justify-content: center; font-size: 12px; }
  .mh-admin-v8 .post-editor-page .post-editor-sidebar { grid-template-columns: minmax(0, 1fr); }
  .mh-admin-v8 .post-editor-page .post-editor-card { padding: 12px; }
  .mh-admin-v8 .post-editor-page .post-editor-card.mh-editor-settings { padding: 0; }
  .mh-admin-v8 .post-editor-page .wp-visual-editor { padding: 14px; font-size: 16px; }
  .mh-admin-v8 .post-editor-page .post-editor-form :where(.input, .textarea, select):not(.post-title-input) { font-size: 16px; min-height: 44px; }
  .mh-admin-v8 .post-editor-page .wp-editor-toolbar button { flex-basis: 44px; width: 44px; height: 44px; min-height: 44px; }
  .mh-admin-v8 .post-editor-page .post-editor-form .wp-editor-toolbar select { min-height: 44px; }
  .mh-admin-v8 .post-editor-page .wp-editor-tabs button,
  .mh-admin-v8 .post-editor-page .mh-editor-toolbar-more > summary { min-height: 44px; }
  .mh-admin-v8 .post-editor-page .mh-editor-toolbar-more > div { top: 50px; }
  .mh-home-v22 .mh-home-featured { gap: 16px; }
  .mh-home-v22 .ml-sample-head h1 { font-size: 24px; }
  .mh-home-v22 .ml-home-excerpt { font-size: 14px; }
  .mh-home-v22 .ml-sample-actions button, .mh-home-v22 .ml-read { min-height: 44px; }
}
@media (max-width: 560px) {
  .mh-home-v22 .mh-home-featured { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mh-home-v22 .ml-sample-cover { aspect-ratio: 2/1; }
  .mh-home-v22 .ml-section { margin-top: 24px; }
}
@media (pointer: coarse) {
  .mh-admin-v8 .post-editor-page .wp-editor-toolbar button { flex-basis: 44px; width: 44px; height: 44px; min-height: 44px; }
  .mh-admin-v8 .post-editor-page .post-editor-form .wp-editor-toolbar select,
  .mh-admin-v8 .post-editor-page .mh-editor-toolbar-more > summary,
  .mh-admin-v8 .post-editor-page .wp-editor-tabs button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-admin-v8 .post-editor-page .mh-setting-chevron > svg { transition: none; }
}
