:root {
  --mg-paper: #f7f5ef;
  --mg-ink: #242d2b;
  --mg-muted: #5d6863;
  --mg-line: #c9cec7;
  --mg-accent: #a84c34;
  --mg-white: #fffefa;
}
body { background: var(--mg-paper); color: var(--mg-ink); font-family: Arial, Helvetica, sans-serif; }
a { color: var(--mg-ink); text-decoration-color: var(--mg-accent); text-underline-offset: 3px; }
a:hover { color: var(--mg-accent); }
.site-header, .main-navigation { background: var(--mg-paper); }
.site-header { border-bottom: 1px solid var(--mg-line); }
.inside-header { max-width: 1060px; padding: 24px 20px; }
.site-branding .main-title { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 700; letter-spacing: -.055em; }
.site-branding .main-title a { color: var(--mg-ink); }
.site-description { color: var(--mg-muted); font-size: 12px; }
.main-navigation { border-bottom: 0; }
.inside-navigation { max-width: 1060px; }
.main-navigation .main-nav ul li a { color: var(--mg-ink); font-size: 13px; font-weight: 600; padding: 0 15px; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li[class*='current-menu-'] > a { background: transparent; color: var(--mg-accent); text-decoration: underline; text-underline-offset: 7px; }
/* Product categories share one readable dropdown on desktop and mobile. */
.main-navigation .main-nav ul ul { background: var(--mg-white); width: 240px; border: 1px solid var(--mg-line); box-shadow: 0 8px 20px rgba(36,45,43,.08); }
.main-navigation .main-nav ul ul li a { min-height: 44px; box-sizing: border-box; line-height: 1.4; padding: 12px 18px; white-space: normal; }
.main-navigation .main-nav ul ul li a:hover,
.main-navigation .main-nav ul ul li a:focus { background: var(--mg-paper); }
@media (max-width: 768px) {
  .main-navigation.toggled .main-nav ul ul { width: calc(100% - 32px) !important; min-width: 0 !important; margin: 0 16px 8px; box-sizing: border-box; box-shadow: none; }
}
.site-info, .site-footer { background: var(--mg-paper); color: var(--mg-muted); }
.site-info { border-top: 1px solid var(--mg-line); }
.site-info .inside-site-info { max-width: 1060px; justify-content: flex-start; text-align: left; padding: 25px 20px; }
.site-footer .copyright-bar { color: var(--mg-muted); font-size: 12px; }
.mg-wrap { width: min(1020px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
#main.mg-wrap { margin-left: auto; margin-right: auto; }
.manualgrid-home h1, .manualgrid-home h2, .mg-content-page h1, .mg-reference h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
.mg-home-lead { padding: 0 0 90px; background: var(--mg-paper); }
.mg-edition { display: flex; gap: 12px; justify-content: space-between; color: #68716b; padding: 16px 0; border-bottom: 1px solid var(--mg-line); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.mg-lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 90px; padding-top: 75px; }
.mg-overline { color: var(--mg-accent); text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 700; margin: 0 0 22px; }
.mg-home-lead h1 { color: var(--mg-ink); font-size: clamp(46px, 5.5vw, 72px); line-height: 1.07; max-width: 760px; margin: 0 0 29px; }
.mg-lede { color: #3e4b46; max-width: 620px; font-size: 17px; line-height: 1.65; margin: 0 0 41px; }
.mg-search { max-width: 620px; }
.mg-search label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 9px; }
.mg-search-row { display: flex; border: 1px solid #77837a; background: var(--mg-white); }
.mg-search-row:focus-within { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
.mg-search-row input { min-width: 0; flex: 1; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--mg-ink); font-size: 15px; padding: 17px 16px; }
.mg-search-row input:focus { outline: 0; }
.mg-search-row button { border: 0; border-left: 1px solid var(--mg-ink); border-radius: 0; background: var(--mg-ink); color: #fff; font-size: 14px; font-weight: 700; padding: 0 20px; cursor: pointer; }
.mg-search-row button:hover { background: var(--mg-accent); }
.mg-search-row button span { margin-left: 9px; }
.mg-search-note { color: var(--mg-muted); font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.mg-lead-note { border-left: 1px solid var(--mg-line); padding: 5px 0 0 24px; margin-top: 23px; }
.mg-note-mark { color: var(--mg-accent); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }
.mg-lead-note h2 { font-family: Georgia, 'Times New Roman', serif; color: var(--mg-ink); font-size: 27px; line-height: 1.15; margin: 26px 0 15px; }
.mg-lead-note p { color: #4c5853; font-size: 14px; line-height: 1.65; margin: 0; }
.mg-note-rule { border-top: 1px solid var(--mg-line); margin: 28px 0 18px; }
.mg-lead-note .mg-note-small { font-size: 12px; color: var(--mg-muted); }
.mg-index, .mg-reference-guide { border-top: 2px solid var(--mg-ink); }
.mg-section-label { display: flex; gap: 23px; padding: 15px 0; color: var(--mg-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; }
.mg-section-label span:first-child { color: var(--mg-accent); }
.mg-index-main { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 35px 0 90px; }
.mg-index h2, .mg-reference-guide > h2 { font-size: clamp(33px, 3.8vw, 49px); line-height: 1.17; margin: 0 0 14px; }
.mg-index p { max-width: 610px; font-size: 16px; line-height: 1.65; color: var(--mg-muted); margin: 0; }
.mg-index-links { list-style: none; margin: 27px 0 0; padding: 0; border-top: 1px solid var(--mg-line); max-width: 610px; }
.mg-index-links li { border-bottom: 1px solid var(--mg-line); padding: 13px 0; font-size: 15px; font-weight: 700; }
.mg-index-links a span { margin-left: 5px; color: var(--mg-accent); }
.mg-index-status { white-space: nowrap; font-size: 12px; color: var(--mg-muted); padding-bottom: 4px; }
.mg-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mg-accent); margin-right: 7px; }
.mg-reference-guide { padding-bottom: 100px; }
.mg-reference-guide > h2 { max-width: 650px; margin: 30px 0 40px; }
.mg-guide-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 30px; border-top: 1px solid var(--mg-line); padding: 22px 0; }
.mg-guide-row:last-child { border-bottom: 1px solid var(--mg-line); }
.mg-guide-row h3 { font-size: 17px; font-weight: 700; margin: 0; }
.mg-guide-row p { font-size: 14px; line-height: 1.65; color: var(--mg-muted); max-width: 510px; margin: 0; }
.mg-method-strip { background: #e9e7df; padding: 53px 0 58px; }
.mg-method-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.mg-method-inner .mg-overline { margin-bottom: 14px; }
.mg-method-inner h2 { max-width: 600px; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; margin: 0; }
.mg-method-inner a { font-size: 13px; font-weight: 700; white-space: nowrap; padding-bottom: 7px; }
.mg-breadcrumb { display: flex; gap: 10px; align-items: center; overflow: hidden; white-space: nowrap; color: var(--mg-muted); font-size: 12px; }
.mg-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.mg-kicker { color: var(--mg-accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mg-content-page { max-width: 820px; padding-top: 50px; padding-bottom: 110px; min-height: 60vh; }
.mg-content-page > header { border-bottom: 1px solid var(--mg-line); padding: 42px 0 26px; }
.mg-content-page h1 { font-size: clamp(42px, 5vw, 62px); line-height: 1.1; margin: 9px 0; }
.mg-content-body { max-width: 700px; padding-top: 29px; }
.mg-content-body p { font-size: 16px; line-height: 1.8; color: #3f4b45; margin: 0 0 24px; }
.mg-content-body h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; margin: 35px 0 12px; }
.mg-search-context { color: var(--mg-muted); margin: 10px 0 0; }
.mg-results { padding-top: 25px; }
.mg-result { border-bottom: 1px solid var(--mg-line); padding: 22px 0; }
.mg-result-type { color: var(--mg-accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; margin: 0 0 8px; }
.mg-result h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 400; margin: 0 0 9px; }
.mg-result > p:last-child { color: var(--mg-muted); margin: 0; }
.mg-empty { border-top: 2px solid var(--mg-ink); padding: 25px 0; margin-top: 35px; }
.mg-empty h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; margin: 0 0 10px; }
.mg-empty p { color: var(--mg-muted); }
.mg-reference { padding-top: 50px; padding-bottom: 100px; }
.mg-reference-header { border-bottom: 1px solid var(--mg-line); padding: 45px 0 30px; }
.mg-reference-header h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.1; margin: 8px 0 15px; }
.mg-reference-header > p:last-child { color: var(--mg-muted); font-size: 16px; margin: 0; }
.mg-reference-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 60px; padding-top: 35px; }
.mg-reference-content { min-width: 0; }
.mg-reference-content .ke-summary { border-left: 3px solid var(--mg-accent); padding: 4px 0 4px 20px; font-size: 20px; line-height: 1.6; }
.mg-reference-content h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 400; margin: 40px 0 14px; }
.mg-reference-content p { color: var(--mg-muted); line-height: 1.75; }
.mg-reference-aside > div { border-top: 2px solid var(--mg-ink); padding-top: 16px; position: sticky; top: 30px; }
.mg-reference-aside strong { font-size: 13px; }
.mg-reference-aside p, .ke-verified { color: var(--mg-muted); font-size: 12px; line-height: 1.7; }
.mg-reference-content .ke-facts { margin: 12px 0 42px; border-top: 1px solid var(--mg-line); }
.mg-reference-content .ke-fact { display: grid; grid-template-columns: minmax(130px, 36%) 1fr; gap: 20px; border-bottom: 1px solid var(--mg-line); padding: 16px 0; }
.mg-reference-content .ke-fact dt { font-size: 14px; font-weight: 700; color: var(--mg-ink); }
.mg-reference-content .ke-fact dd { margin: 0; font-size: 15px; color: var(--mg-ink); }
.mg-reference-content .ke-fact-source { font-size: 11px; margin-left: 8px; color: var(--mg-accent); white-space: nowrap; }
.mg-reference-content .ke-source-list { margin-left: 22px; padding-left: 5px; color: var(--mg-muted); font-size: 14px; line-height: 1.7; }
.mg-reference-content .ke-source-list li { padding: 3px 0 3px 6px; scroll-margin-top: 24px; }
.mg-reference-content .ke-source-list li:target { background: #eef2ed; }
.mg-reference-content .ke-related-links { margin: 0 0 38px 20px; padding-left: 4px; line-height: 1.8; }
.mg-reference-content .ke-page > h2 { margin-top: 36px; }
.mg-reference-content .ke-page > ul { margin-left: 20px; }
.mg-reference-aside dl { margin: 20px 0 0; font-size: 12px; }
.mg-reference-aside dt { color: var(--mg-muted); margin-top: 14px; }
.mg-reference-aside dd { color: var(--mg-ink); margin: 3px 0 0; font-weight: 700; }
@media (max-width: 760px) {
  .mg-home-lead { padding-bottom: 65px; }
  .mg-lead-grid { grid-template-columns: 1fr; gap: 45px; padding-top: 50px; }
  .mg-home-lead h1 { font-size: clamp(43px, 9vw, 60px); }
  .mg-lead-note { margin-top: 0; max-width: 500px; }
  .mg-index-main { grid-template-columns: 1fr; gap: 17px; padding-bottom: 65px; }
  .mg-reference-guide { padding-bottom: 70px; }
  .mg-method-inner { display: block; }
  .mg-method-inner a { display: inline-block; margin-top: 24px; }
  .mg-reference-layout { grid-template-columns: 1fr; gap: 30px; }
  .mg-reference-aside > div { position: static; }
}
.mg-breadcrumb { flex-wrap: wrap; white-space: normal; row-gap: 3px; }
.mg-breadcrumb a { flex: none; }
.mg-reference-header-product { display: grid; grid-template-columns: minmax(0, 1fr) 184px; gap: 26px; align-items: center; }
.mg-reference-product-image { display: block; background: #fff; border: 1px solid var(--mg-line); }
.mg-reference-product-image img { display: block; width: 184px; height: 138px; object-fit: contain; }
@media (max-width: 620px) {
  .mg-reference-header-product { grid-template-columns: minmax(0, 1fr) 108px; gap: 12px; }
  .mg-reference-product-image img { width: 108px; height: 81px; }
}
@media (max-width: 520px) {
  .mg-edition span:last-child { display: none; }
  .mg-wrap { width: min(100% - 32px, 1020px); }
  .mg-home-lead h1 { font-size: 42px; }
  .mg-search-row button { padding: 0 11px; }
  .mg-search-row button span { display: none; }
  .mg-guide-row { grid-template-columns: 1fr; gap: 7px; }
  .mg-content-page { padding-top: 30px; padding-bottom: 65px; }
}
/* Dense reference index: the product photo acts as a quick visual check. */
.mg-home-lead { padding-bottom: 42px; }
.mg-lead-grid { gap: 48px; padding-top: 35px; }
.mg-home-lead h1 { font-size: clamp(42px, 4.6vw, 58px); margin-bottom: 18px; }
.mg-lede { margin-bottom: 24px; }
.mg-overline { margin-bottom: 12px; }
.mg-index-main { align-items: start; padding: 16px 0 45px; }
.mg-index-links { max-width: 720px; margin-top: 18px; }
.mg-product-list li { padding: 0; }
.mg-product-list li a { display: grid; grid-template-columns: 104px minmax(0, 1fr) 20px; gap: 18px; align-items: center; padding: 9px 0; text-decoration: none; }
.mg-product-list img, .mg-result-image img { display: block; width: 104px; height: 78px; object-fit: contain; background: #fff; border: 1px solid var(--mg-line); }
.mg-product-text { min-width: 0; display: block; }
.mg-product-text strong { display: block; font-size: 16px; }
.mg-product-text small { display: block; color: var(--mg-muted); font-size: 12px; line-height: 1.4; font-weight: 400; margin-top: 4px; }
.mg-row-arrow { justify-self: end; }
.mg-reference-guide { padding-bottom: 50px; }
.mg-reference-guide > h2 { margin: 14px 0 20px; }
.mg-guide-row { padding: 13px 0; }
.mg-method-strip { padding: 30px 0; }
.mg-content-page { padding-top: 28px; padding-bottom: 60px; }
.mg-content-page > header { padding: 20px 0 14px; }
.mg-results { padding-top: 10px; }
.mg-result { display: flex; gap: 18px; align-items: center; padding: 13px 0; }
.mg-result-image { flex: 0 0 104px; }
.mg-result h2 { font-size: 23px; margin-bottom: 4px; }
.mg-result > div > p:last-child { color: var(--mg-muted); margin: 0; font-size: 13px; line-height: 1.45; }
.mg-reference { padding-top: 26px; padding-bottom: 55px; }
.mg-reference-header { padding: 23px 0 18px; }
.mg-reference-header h1 { font-size: clamp(35px, 4vw, 50px); margin: 4px 0; }
.mg-reference-layout { gap: 35px; padding-top: 15px; }
.mg-reference-content .ke-summary { font-size: 16px; line-height: 1.5; padding-left: 14px; }
.mg-reference-content h2, .mg-reference-content .ke-page > h2 { font-size: 24px; margin: 25px 0 9px; }
.mg-reference-content .ke-facts { margin-bottom: 20px; }
.mg-reference-content .ke-fact { padding: 10px 0; }
.mg-reference-content .ke-related-links { columns: 2; column-gap: 25px; margin-bottom: 20px; font-size: 14px; }
.mg-reference-content .ke-related-links li { break-inside: avoid; }

.mg-browse-link { margin-top: 18px !important; font-size: 14px !important; font-weight: 700; }
.mg-browse-link a { text-decoration: underline; text-decoration-color: var(--mg-accent); text-underline-offset: 4px; }
.mg-model-directory { padding-top: 30px; padding-bottom: 55px; }
.mg-model-directory header { border-bottom: 1px solid var(--mg-line); padding: 25px 0 20px; }
.mg-model-directory h1 { font-size: clamp(35px, 4vw, 50px); margin: 4px 0 10px; }
.mg-directory-search { max-width: 720px; margin-top: 24px; }
.mg-directory-list { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.mg-directory-list li { border-top: 1px solid var(--mg-line); }
.mg-directory-list li a { grid-template-columns: 104px minmax(0, 1fr) 20px; }
.mg-directory-pagination ul { list-style: none; display: flex; gap: 12px; padding: 0; margin: 30px 0 0; }
.mg-directory-pagination a, .mg-directory-pagination span { padding: 5px 9px; }
.mg-directory-pagination .current { background: var(--mg-ink); color: #fff; }
.ke-manual-links { margin: 8px 0 20px 20px; line-height: 1.8; }
@media (max-width: 720px) { .mg-directory-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .mg-lead-grid { gap: 25px; padding-top: 30px; }
  .mg-home-lead { padding-bottom: 32px; }
  .mg-index-main { padding-bottom: 35px; }
  .mg-reference-guide { padding-bottom: 40px; }
  .mg-reference-content .ke-related-links { columns: 1; }
}

/* One-model reference pilot. Keep the rest of the site on the established layout. */
.mg-model-reference { max-width: 1020px; --mg-error-columns: 76px minmax(0, 1fr) minmax(220px, 38%); }
.mg-long-code-reference { --mg-error-columns: minmax(155px, 23%) minmax(0, 1fr) minmax(200px, 34%); }
.mg-model-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 35px; padding: 16px 0 18px; }
.mg-model-intro p { max-width: 530px; color: var(--mg-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.mg-model-counts { display: flex; gap: 22px; white-space: nowrap; font-size: 12px; color: var(--mg-muted); }
.mg-model-counts strong { color: var(--mg-ink); font-size: 18px; margin-right: 4px; }
.mg-model-jump { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); padding: 11px 0; font-size: 13px; font-weight: 700; }
.mg-model-jump a { text-decoration: none; }
.mg-model-jump a:hover { text-decoration: underline; }
.mg-model-search { display: flex; align-items: center; gap: 18px; padding: 26px 0 6px; }
.mg-model-search label { flex: 0 0 205px; font-size: 13px; font-weight: 700; }
.mg-model-search input { flex: 1; max-width: 490px; min-width: 0; border: 1px solid #8f9992; border-radius: 0; background: var(--mg-white); font-size: 15px; padding: 11px 13px; }
.mg-model-search input:focus { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
.mg-model-search span { min-width: 72px; color: var(--mg-muted); font-size: 12px; }
.mg-model-section { margin-top: 34px; scroll-margin-top: 18px; }
.mg-model-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 2px solid var(--mg-ink); padding: 13px 0 15px; }
.mg-model-section-head h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 31px; font-weight: 400; letter-spacing: -.025em; margin: 0; }
.mg-model-section-head span { color: var(--mg-muted); font-size: 12px; }
.mg-error-head, .mg-error-row > summary, .mg-error-summary { display: grid; grid-template-columns: var(--mg-error-columns); gap: 18px; align-items: start; }
.mg-error-head { color: var(--mg-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 32px 8px 12px; }
.mg-error-row { position: relative; border-top: 1px solid var(--mg-line); }
.mg-error-row:last-child { border-bottom: 1px solid var(--mg-line); }
.mg-error-row > summary, .mg-error-summary { list-style: none; padding: 13px 32px 13px 12px; font-size: 14px; line-height: 1.45; }
.mg-error-row > summary { cursor: pointer; }
.mg-error-row > summary::-webkit-details-marker { display: none; }
.mg-error-row > summary:hover, .mg-topic > summary:hover { background: #eeece5; }
.mg-error-row > summary::after { content: '+'; position: absolute; right: 11px; color: var(--mg-accent); font-size: 20px; line-height: 1; }
.mg-error-row[open] > summary::after { content: '−'; }
.mg-error-code { color: var(--mg-accent); font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.mg-error-name, .mg-error-action { min-width: 0; overflow-wrap: break-word; }
.mg-error-name { font-weight: 700; }
.mg-error-action { color: #3f4b45; padding-right: 8px; }
.mg-error-source { position: absolute; right: 5px; top: 15px; color: var(--mg-accent); font-size: 11px; }
.mg-error-expanded { display: grid; grid-template-columns: var(--mg-error-columns); column-gap: 18px; padding: 0 32px 16px 12px; }
.mg-error-expanded > p, .mg-error-expanded > .mg-row-source { grid-column: 3; }
.mg-error-expanded .mg-model-checks { grid-column: 1 / -1; display: grid; grid-template-columns: var(--mg-error-columns); column-gap: 18px; }
.mg-error-expanded .mg-model-checks > div { grid-column: 1 / -1; display: grid; grid-template-columns: var(--mg-error-columns); gap: 18px; border: 0; padding: 0; }
.mg-error-expanded .mg-model-checks dt { grid-column: 2; }
.mg-error-expanded .mg-model-checks dd { grid-column: 3; }
.mg-error-expanded .mg-model-checks dt, .mg-error-expanded .mg-model-checks dd { border-bottom: 1px solid var(--mg-line); padding: 11px 0; }
.mg-error-expanded p { color: #3f4b45; font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.mg-row-source { display: inline-block; color: var(--mg-muted); font-size: 12px; margin-right: 18px; }
.mg-topic-list { border-top: 1px solid var(--mg-line); }
.mg-topic { border-bottom: 1px solid var(--mg-line); }
.mg-topic > summary { display: grid; grid-template-columns: minmax(0, 1fr) 80px 16px; align-items: baseline; gap: 16px; list-style: none; cursor: pointer; padding: 13px 9px; }
.mg-topic > summary::-webkit-details-marker { display: none; }
.mg-topic > summary span { font-size: 15px; font-weight: 700; }
.mg-topic > summary small { color: var(--mg-muted); font-size: 12px; text-align: right; white-space: nowrap; }
.mg-topic > summary::after { content: '+'; color: var(--mg-accent); font-size: 20px; line-height: 1; }
.mg-topic[open] > summary::after { content: '−'; }
.mg-topic-body { background: #f1efe9; border-top: 1px solid var(--mg-line); padding: 5px 18px 14px; }
.mg-model-checks { margin: 0; }
.mg-model-checks > div { display: grid; grid-template-columns: minmax(180px, 42%) minmax(0, 1fr); gap: 20px; border-bottom: 1px solid var(--mg-line); padding: 11px 0; }
.mg-model-checks dt { color: var(--mg-ink); font-size: 13px; font-weight: 700; }
.mg-model-checks dd { color: #3f4b45; font-size: 13px; line-height: 1.5; margin: 0; }
.mg-topic-foot { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 12px; font-size: 12px; }
.mg-topic-foot a { color: var(--mg-muted); }
.mg-model-sources ol { columns: 2; column-gap: 35px; margin: 0; padding: 0 0 0 22px; font-size: 13px; line-height: 1.6; }
.mg-model-sources li { break-inside: avoid; padding: 5px 10px 5px 0; scroll-margin-top: 30px; }
.mg-model-sources li:target { background: #e9e7df; }
.mg-model-details h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 23px; font-weight: 400; margin: 20px 0 8px; }
.mg-model-details p { color: #3f4b45; font-size: 14px; line-height: 1.6; }
.mg-model-extra-links { margin: 10px 0 24px; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.mg-filter-row[hidden] { display: none !important; }
.mg-filter-row:target { scroll-margin-top: 20px; background: #eeece5; }
.mg-model-section[hidden], .mg-model-empty[hidden] { display: none !important; }
.mg-model-empty { border-top: 1px solid var(--mg-line); color: var(--mg-muted); font-size: 14px; margin: 15px 0 0; padding: 14px 0; }
@media (max-width: 760px) {
  .mg-model-intro { display: block; }
  .mg-model-counts { margin-top: 12px; }
  .mg-model-search { align-items: stretch; flex-wrap: wrap; gap: 8px; }
  .mg-model-search label { flex: 0 0 100%; }
  .mg-model-search input { flex: 1; }
  .mg-error-head { display: none; }
  .mg-error-row > summary, .mg-error-summary { grid-template-columns: 58px minmax(0, 1fr); gap: 5px 12px; }
  .mg-error-action { grid-column: 2; }
  .mg-long-code-reference .mg-error-row > summary, .mg-long-code-reference .mg-error-summary { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
  .mg-long-code-reference .mg-error-action { grid-column: 1 / -1; }
  .mg-error-expanded { display: block; padding: 0 15px 16px; }
  .mg-error-expanded .mg-model-checks, .mg-error-expanded .mg-model-checks > div { display: block; }
  .mg-error-expanded .mg-model-checks dt { border-bottom: 0; padding: 11px 0 2px; }
  .mg-error-expanded .mg-model-checks dd { padding: 0 0 11px; }
  .mg-model-checks > div { grid-template-columns: 1fr; gap: 3px; }
  .mg-model-sources ol { columns: 1; }
}
@media (max-width: 520px) {
  .mg-long-code-reference .mg-error-row > summary, .mg-long-code-reference .mg-error-summary { grid-template-columns: 1fr; }
  .mg-long-code-reference .mg-error-action { grid-column: 1; }
  .mg-model-jump { gap: 10px 18px; }
  .mg-model-counts { flex-wrap: wrap; gap: 6px 16px; }
  .mg-model-search input { flex: 0 0 100%; width: 100%; max-width: none; }
  .mg-model-search span { flex: 0 0 100%; min-width: 0; }
  .mg-model-section-head { display: block; }
  .mg-model-section-head span { display: block; margin-top: 3px; }
  .mg-topic-body { padding-left: 12px; padding-right: 12px; }
}

/* Footer: shared category links, readable policies, and generous touch targets. */
.mg-footer-main { border-top: 1px solid var(--mg-line); background: #eeece5; padding: 42px 0 34px; }
.mg-footer-grid { display: grid; grid-template-columns: 1.15fr 1.55fr 1fr; gap: 42px; }
.mg-footer-wordmark { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.mg-footer-brand p { max-width: 290px; font-size: 14px; line-height: 1.65; margin: 14px 0; }
.mg-footer-brand .mg-footer-independent { font-size: 12px; color: var(--mg-muted); }
.mg-footer-brand nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.mg-footer-main h2 { font: 700 12px/1.5 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .09em; margin: 4px 0 14px; color: var(--mg-muted); }
.mg-footer-main ul { list-style: none; margin: 0; padding: 0; }
.mg-footer-main li { margin: 0; }
.mg-footer-main nav a { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; line-height: 1.4; padding: 7px 0; text-decoration: none; }
.mg-footer-main nav a:hover, .mg-footer-main nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.mg-footer-products ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.mg-footer-main .mg-footer-browse { margin-top: 10px; gap: 10px; color: var(--mg-accent); }
@media (max-width: 900px) {
  .mg-footer-grid { gap: 28px; grid-template-columns: 1fr 1.35fr; }
  .mg-footer-policies { grid-column: 1 / -1; border-top: 1px solid var(--mg-line); padding-top: 22px; }
  .mg-footer-policies ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
}
@media (max-width: 600px) {
  .mg-footer-main { padding: 30px 0 22px; }
  .mg-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mg-footer-brand p { max-width: none; }
  .mg-footer-main nav a { min-height: 44px; }
  .mg-footer-products, .mg-footer-policies { border-top: 1px solid var(--mg-line); padding-top: 22px; }
  .mg-footer-products ul { gap: 0 16px; }
  .mg-footer-policies ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

/* Homepage category grid: lightweight product silhouettes, without featured lists. */
.mg-category-index { padding-bottom: 38px; }
.mg-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 25px 0 0; padding: 0; }
.mg-category-grid li { min-width: 0; margin: 0; }
.mg-category-grid a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; height: 100%; padding: 18px 22px; border: 1px solid var(--mg-line); color: var(--mg-ink); text-decoration: none; background: var(--mg-paper); transition: border-color .15s, background-color .15s; }
.mg-category-grid a:hover, .mg-category-grid a:focus-visible { background: var(--mg-white); border-color: var(--mg-accent); }
.mg-category-grid a:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 3px; }
.mg-category-grid img { display: block; width: 105px; height: 84px; object-fit: contain; grid-column: 1 / -1; margin: 0 auto 5px; }
.mg-category-grid span { font-size: 15px; font-weight: 600; line-height: 1.4; }
.mg-category-grid .mg-category-arrow { color: var(--mg-accent); font-size: 19px; font-weight: 400; }
@media (max-width: 600px) {
  .mg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  .mg-category-grid a { padding: 15px 13px; gap: 6px; }
  .mg-category-grid img { width: 95px; height: 76px; }
  .mg-category-grid span { font-size: 14px; }
}

.mg-check-count { display: block; color: var(--mg-muted); font-size: 12px; text-align: right; white-space: nowrap; }

/* Shared model presentation: readable procedures and direct topic access. */
.mg-action-text { display: block; }
.mg-action-steps { margin: 10px 0 12px; padding-left: 24px; color: #3f4b45; font-size: 14px; line-height: 1.65; }
.mg-action-steps li { padding-left: 4px; margin-bottom: 10px; }
.mg-action-caution { font-weight: 600; }
.mg-topic-body > .mg-action-steps { max-width: 720px; }
.mg-related-instructions { display: block; margin-top: 10px; font-size: 13px; }
.mg-related-instructions a { text-decoration: underline; text-underline-offset: 3px; }
.mg-error-expanded > .mg-expanded-action, .mg-error-expanded > .mg-expanded-links { grid-column: 3; min-width: 0; }
.mg-indicator { display: block; max-width: 100%; max-height: 62px; width: auto; object-fit: contain; margin-top: 8px; }
.mg-filter-row { scroll-margin-top: 24px; }
.mg-model-jump { flex-wrap: wrap; }
.mg-topic summary:focus-visible, .mg-error-row summary:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: -2px; }
@media (max-width: 600px) {
 .mg-topic-body .mg-action-steps { font-size: 15px; }
 .mg-model-jump { gap: 12px 18px; }
 .mg-indicator { max-height: 54px; }
}

.mg-guides { margin-top: 36px; }
.mg-guide-index { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; }
.mg-guides .mg-model-section h2 { font-size: 26px; }

.mg-guides[hidden], .mg-guide-index a[hidden] { display: none !important; }

/* Reviewed source figures stay with the relevant model instructions. */
.mg-manual-illustrations { display: flex; flex-wrap: wrap; gap: 24px; margin: 20px 0 8px; min-width: 0; }
.mg-manual-figure { margin: 0; min-width: 0; max-width: 560px; flex: 0 1 560px; }
.mg-manual-figure img { display: block; max-width: 100%; width: auto; height: auto; max-height: 640px; object-fit: contain; object-position: left center; }
.mg-manual-figure figcaption { font-size: 13px; line-height: 1.5; color: var(--mg-muted); margin-top: 8px; }
.mg-figure-key-title { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
.mg-figure-legend { columns: 2; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; }
.mg-figure-legend li { break-inside: avoid; margin-bottom: 4px; }
.mg-visual-reference { border-top: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); padding: 0 12px; }
.mg-visual-reference summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14px; }
.mg-visual-reference summary small { font-weight: 400; color: var(--mg-muted); margin-left: 12px; }
@media (max-width: 600px) {
  .mg-manual-illustrations { gap: 20px; margin-top: 16px; }
  .mg-manual-figure { max-width: 100%; flex-basis: 100%; }
  .mg-figure-legend { columns: 1; }
}

/* ManualGrid publication design. Shared by all current and scheduled products. */
:root { --mg-muted: #505d57; --mg-tools-height: 114px; }
body { font-size: 16px; line-height: 1.55; }
.inside-header { padding-top: 16px; padding-bottom: 16px; gap: 18px; }
.site-branding .main-title { font-size: 29px; }
.main-navigation .main-nav ul li a { font-size: 14px; }
.main-navigation .main-nav ul ul { box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 3px; }
.mg-kicker { font-size: 12px; letter-spacing: .06em; margin-bottom: 7px; }
.mg-breadcrumb { font-size: 14px; line-height: 1.5; flex-wrap: wrap; }
.mg-home-lead { padding-top: 48px; padding-bottom: 30px; }
.mg-home-lead h1 { font-size: clamp(38px, 4.8vw, 54px); line-height: 1.12; margin-bottom: 12px; }
.mg-lede { font-size: 18px; line-height: 1.5; max-width: none; margin-bottom: 25px; }
.mg-search { position: relative; max-width: 780px; }
.mg-search label { font-size: 14px; }
.mg-search-row input { font-size: 16px; padding: 14px 16px; }
.mg-search-row button { font-size: 15px; padding: 0 24px; min-height: 48px; }
.mg-search-examples { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; margin: 14px 0 0; }
.mg-search-note { font-size: 14px; margin: 8px 0 0; }
.mg-category-index { padding-bottom: 26px; }
.mg-category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--mg-line); padding-bottom: 12px; }
.mg-category-heading h2 { font-size: 30px; margin: 0; }
.mg-category-heading p { margin: 0; font-size: 14px; color: var(--mg-muted); }
.mg-category-grid { margin-top: 18px; gap: 12px; }
.mg-category-grid a { grid-template-columns: 68px minmax(0, 1fr) 16px; gap: 14px; padding: 18px 14px; min-height: 104px; box-sizing: border-box; transition: none; }
.mg-category-grid img { grid-column: auto; margin: 0; width: 68px; height: 60px; }
.mg-category-text { min-width: 0; }
.mg-category-text strong { display: block; font-size: 16px; font-weight: 600; }
.mg-category-text small { display: block; font-size: 14px; font-weight: 400; color: var(--mg-muted); margin-top: 4px; }
.mg-home-source { display: flex; gap: 20px; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--mg-line); padding-top: 20px; padding-bottom: 28px; font-size: 14px; }
.mg-home-source p { margin: 0; color: var(--mg-muted); }
.mg-home-source a { white-space: nowrap; }
.mg-header-search { position: relative; margin-left: 12px; font-size: 14px; }
.mg-header-search > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; font-weight: 600; }
.mg-header-search > summary::-webkit-details-marker { display: none; }
.mg-header-search > summary::before { content: ''; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; }
.mg-header-search > summary::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: currentColor; left: 11px; top: 29px; transform: rotate(45deg); }
.mg-header-search-panel { position: absolute; right: 0; top: 100%; width: 440px; max-width: calc(100vw - 40px); padding: 18px; background: var(--mg-paper); border: 1px solid var(--mg-line); z-index: 50; box-sizing: border-box; }
.mg-suggestions { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; right: 0; border: 1px solid var(--mg-line); background: var(--mg-white); z-index: 60; max-height: min(470px, 55vh); overflow-y: auto; }
.mg-suggestions[hidden] { display: none; }
.mg-suggestions li + li { border-top: 1px solid var(--mg-line); }
.mg-suggestions a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 11px 14px; align-items: center; text-decoration: none; }
.mg-suggestions a:hover, .mg-suggestions [aria-selected="true"] a { background: #eeece5; }
.mg-suggestion-photo { width: 60px; height: 45px; display: block; }
.mg-suggestion-photo img { display: block; width: 60px; height: 45px; object-fit: contain; background: white; }
.mg-suggestions strong, .mg-suggestions small { display: block; }
.mg-suggestions strong { font-size: 16px; line-height: 1.4; font-weight: 600; }
.mg-suggestions small { font-size: 14px; color: var(--mg-muted); margin-top: 3px; }
.mg-model-directory header { padding-top: 18px; padding-bottom: 16px; }
.mg-model-directory h1, .mg-content-page h1 { font-size: clamp(32px, 4vw, 40px); }
.mg-directory-search { margin: 20px 0; }
.mg-product-list li a { padding: 16px 10px; gap: 16px; min-height: 110px; box-sizing: border-box; }
.mg-product-list li a:hover { background: #eeece5; }
.mg-product-list li a:focus-visible { outline-offset: -2px; background: var(--mg-white); }
.mg-product-thumbnail { width: 104px; height: 78px; }
.mg-product-list img { border: 0; }
.mg-product-text strong { font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.4; }
.mg-product-text small { font-size: 14px; line-height: 1.5; }
.mg-reference { padding-top: 20px; }
.mg-reference-header { padding: 18px 0 15px; }
.mg-reference-header h1 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.15; }
.mg-reference-header-product { grid-template-columns: minmax(0, 1fr) 120px; gap: 24px; align-items: center; }
.mg-reference-product-image img { width: 120px; height: 90px; object-fit: contain; border: 0; }
.mg-header-coverage { margin: 10px 0 0; color: var(--mg-muted); font-size: 14px; line-height: 1.5; }
.mg-model-intro { padding: 12px 0; }
.mg-model-intro p { font-size: 14px; max-width: none; }
.mg-model-reference, .mg-long-code-reference { --mg-error-columns: minmax(0, 24fr) minmax(0, 28fr) minmax(0, 48fr); }
.mg-model-tools { position: sticky; top: 0; z-index: 25; background: var(--mg-paper); border-bottom: 1px solid var(--mg-line); }
.mg-model-jump { gap: 8px 22px; padding: 0; font-size: 14px; border-bottom: 0; }
.mg-model-jump a { padding: 10px 0; display: inline-block; }
.mg-model-jump a[aria-current="location"] { color: var(--mg-accent); text-decoration: underline; }
.mg-model-search { display: grid; grid-template-columns: 215px minmax(0, 1fr) auto auto; gap: 12px; padding: 10px 0 12px; align-items: center; }
.mg-model-search label { font-size: 14px; }
.mg-model-search input { width: 100%; max-width: none; padding: 10px 12px; font-size: 16px; box-sizing: border-box; }
.mg-model-search span { font-size: 14px; min-width: 0; }
.mg-model-clear { background: transparent; color: var(--mg-ink); font-size: 14px; border: 0; padding: 10px 4px; text-decoration: underline; cursor: pointer; }
.mg-model-clear[hidden] { display: none; }
.mg-model-section, .mg-guides, .mg-filter-row, .mg-model-sources li { scroll-margin-top: calc(var(--mg-tools-height) + 16px); }
.mg-model-section { margin-top: 26px; }
.mg-model-section-head { padding: 12px 0; gap: 18px; }
.mg-model-section-head h2 { font-size: 28px; }
.mg-model-section-head span { font-size: 14px; line-height: 1.5; }
.mg-error-head { font-size: 13px; text-transform: none; letter-spacing: 0; padding-top: 8px; padding-bottom: 10px; }
.mg-error-row:nth-of-type(even) { background: #f0eee8; }
.mg-error-row > summary, .mg-error-summary { font-size: 16px; line-height: 1.55; padding-top: 16px; padding-bottom: 16px; }
.mg-error-action, .mg-model-checks dd, .mg-topic-body, .mg-error-expanded p { color: var(--mg-ink); font-size: 16px; line-height: 1.55; }
.mg-model-checks dt { font-size: 16px; line-height: 1.55; }
.mg-topic > summary { font-size: 16px; line-height: 1.5; padding-top: 16px; padding-bottom: 16px; }
.mg-check-count, .mg-topic summary small { font-size: 14px; font-weight: 400; color: var(--mg-muted); }
.mg-action-steps, .mg-topic-body .mg-action-steps { font-size: 16px; line-height: 1.55; margin-top: 0; }
.mg-action-steps li { margin-bottom: 10px; padding-left: 5px; }
.mg-action-caution { border-left: 2px solid var(--mg-accent); padding-left: 10px !important; font-weight: 600; }
.mg-model-sources ol, .mg-model-details p, .mg-model-extra-links { font-size: 16px; line-height: 1.55; }
.mg-footer-main { padding-top: 28px; padding-bottom: 24px; }
.mg-footer-grid { gap: 28px; }
.mg-footer-main p, .mg-footer-main nav, .mg-footer-main li, .mg-footer-main h2 { font-size: 14px; line-height: 1.55; }
.site-info .inside-site-info { padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 900px) {
  .mg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-model-search { grid-template-columns: minmax(0, 1fr) auto auto; }
  .mg-model-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 760px) {
  .mg-error-head { display: none; }
  .mg-error-row > summary, .mg-error-summary, .mg-long-code-reference .mg-error-row > summary, .mg-long-code-reference .mg-error-summary { grid-template-columns: 1fr; gap: 8px; padding: 16px 32px 16px 12px; }
  .mg-error-action, .mg-long-code-reference .mg-error-action { grid-column: 1; padding: 4px 0 0; }
  .mg-error-name { font-weight: 400; color: var(--mg-muted); }
  .mg-error-expanded { display: block; padding: 0 12px 16px; }
  .mg-error-expanded .mg-model-checks, .mg-error-expanded .mg-model-checks > div { display: block; }
  .mg-model-jump { flex-wrap: nowrap; overflow-x: auto; gap: 22px; }
  .mg-model-jump a { flex: 0 0 auto; white-space: nowrap; }
  .mg-model-search { gap: 8px; }
  .mg-model-section-head { display: block; }
  .mg-model-section-head span { display: block; margin-top: 3px; }
  .mg-model-search span:empty { display: none; }
  .mg-model-search span:not(:empty) { grid-column: 1 / -1; }
  .mg-header-search { margin-left: auto; }
  .inside-header { flex-wrap: wrap; }
  .mg-directory-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mg-wrap { width: calc(100% - 36px); }
  .inside-header { padding: 12px 18px; gap: 8px 16px; }
  .mg-home-lead { padding-top: 30px; padding-bottom: 24px; }
  .mg-lede { font-size: 16px; }
  .mg-search-row button { padding: 0 16px; }
  .mg-search-row input { padding: 12px; }
  .mg-category-heading { display: block; }
  .mg-category-heading h2 { font-size: 27px; }
  .mg-category-heading p { margin-top: 8px; }
  .mg-category-grid { grid-template-columns: 1fr; gap: 10px; }
  .mg-category-grid a { min-height: 88px; padding: 12px 14px; }
  .mg-home-source { display: block; }
  .mg-home-source a { display: inline-block; margin-top: 10px; }
  .mg-reference-header-product { grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
  .mg-reference-product-image img { width: 84px; height: 70px; }
  .mg-reference-header h1 { font-size: 30px; }
  .mg-header-coverage { font-size: 14px; }
  .mg-product-list li a { grid-template-columns: 82px minmax(0, 1fr) 14px; gap: 12px; padding: 14px 0; }
  .mg-product-thumbnail, .mg-product-list img { width: 82px; height: 68px; }
  .mg-model-section-head h2 { font-size: 26px; }
  .mg-header-search-panel { right: -1px; max-width: calc(100vw - 36px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
/* Direct templates are full-width children of GeneratePress's flex content area. */
#main.manualgrid-home { width: 100%; min-width: 0; flex: 1 1 100%; }
.mg-topic > summary span { font-size: 16px; }
.mg-footer-main h2 { text-transform: none; letter-spacing: 0; }
.mg-footer-main nav a { font-size: 14px; }
.mg-filter-row:target { scroll-margin-top: calc(var(--mg-tools-height) + 16px); }
@media (max-width: 768px) {
  .inside-header .mg-header-search { order: 2; margin-left: auto; }
  .inside-header .mobile-menu-control-wrapper { order: 3; margin-left: 0; }
  .inside-header #site-navigation { order: 4; }
  .mg-header-search > summary { font-size: 0; width: 44px; min-height: 44px; }
  .mg-header-search > summary::before { margin-left: 12px; width: 13px; height: 13px; }
  .mg-header-search > summary::after { left: 26px; top: 29px; }
  .mg-header-search-panel { right: -63px; }
  .mg-model-jump { scrollbar-width: none; }
  .mg-model-jump::-webkit-scrollbar { display: none; }
}
.mg-header-search > summary { position: relative; }
@media (max-width: 768px) {
  .site-header { position: relative; }
  .inside-header .mg-header-search { position: static; }
  .mg-header-search-panel { left: 18px; right: 18px; top: calc(100% - 1px); width: auto; max-width: none; }
  .mg-model-search { grid-template-columns: minmax(0, 1fr) auto; }
  .mg-model-search span:not(:empty) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .mg-model-search { padding: 6px 0; }
  .inside-header #site-navigation:not(.toggled) { display: none; }
}
@media (max-width: 360px) { .site-branding .main-title { font-size: 25px; } }
@media (max-width: 360px) { .inside-header { column-gap: 12px; } }
