.mi-page { --mi-ink: #242a2d; --mi-muted: #59636a; --mi-line: #d6dce0; --mi-paper: #f2f5f6; }
.mi-page main { background: #fcfcfb; color: var(--mi-ink); }
.mi-page main *, .mi-page main *::before, .mi-page main *::after { box-sizing: border-box; }
.mi-page main [hidden] { display: none !important; }
.mi-page main :is(h1,h2,h3,h4,p) { margin-top: 0; }
.mi-page main :is(button,input) { font-family: inherit; }
.mi-page main button { cursor: pointer; }
.mi-page main svg { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 1.7; }
.mi-page main a { text-underline-offset: 4px; }
.mi-page main ::selection { background: #d6e9fd; color: #173d62; }
.mi-page main :is(section[id],article[id],details[id]) { scroll-margin-top: 84px; }
.mi-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.mi-section { padding-block: 88px; }
.mi-hero { padding-top: 57px; background: #f5f7f7; border-bottom: 1px solid var(--mi-line); }
.mi-hero-copy { text-align: center; padding-bottom: 37px; }
.mi-hero-copy h1 { margin-bottom: 20px; }
.mi-hero-copy h2 { font-size: 28px; line-height: 1.3; margin-bottom: 15px; }
.mi-hero-copy > p { color: var(--mi-muted); font-size: 18px; line-height: 1.65; margin-bottom: 24px; }
.mi-actions { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; }
.mi-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 21px; min-height: 46px; background: var(--blue); color: #fff; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 500; transition: background 150ms; }
.mi-button:hover { background: var(--blue-dark); }
.mi-link { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: transparent; color: var(--blue-dark); text-decoration: none; font-size: 14px; font-weight: 500; }
.mi-link:hover { text-decoration: underline; }
.mi-ide-tabs, .mi-ide-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--mi-line); }
.mi-ide-tabs a, .mi-ide-links a { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 18px 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--mi-ink); text-decoration: none; font-size: 16px; font-weight: 500; min-height: 80px; }
.mi-ide-tabs a { min-height: 56px; padding-block: 12px; font-size: 14px; }
.mi-ide-tabs a:hover, .mi-ide-links a:hover { background: #e9eff3; }
.mi-ide-tabs a[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--blue-deep); background: #eaf2fa; }
.mi-ide-links img { width: 30px; height: 30px; object-fit: contain; }
.mi-workspace { background: #fff; border-inline: 1px solid var(--mi-line); }
.mi-workspace-bar, .mi-workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 24px; color: var(--mi-muted); font-size: 12px; }
.mi-workspace-bar { border-bottom: 1px solid var(--mi-line); }
.mi-workspace-bar > span:first-child, .mi-workspace-footer > span:first-child { display: flex; gap: 9px; align-items: center; }
.mi-workspace-bar strong { font-size: 13px; font-weight: 600; color: var(--mi-ink); }
.mi-workspace-separator { color: #8998a1; }
.mi-workspace-body { display: grid; grid-template-columns: .82fr 1.18fr; }
.mi-request { display: flex; flex-direction: column; min-width: 0; padding: 26px; background: #f7f9fa; border-right: 1px solid var(--mi-line); }
.mi-speaker { color: var(--mi-muted); font-size: 12px; margin-bottom: 9px; }
.mi-request > p { font-size: 17px; line-height: 1.55; margin-bottom: 22px; }
.mi-tool-call { display: flex; gap: 11px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--mi-line); }
.mi-tool-call > svg { color: var(--blue-dark); margin-top: 3px; }
.mi-tool-call > div { display: grid; grid-template-columns: auto auto; gap: 5px 15px; align-items: center; }
.mi-tool-call strong { font-size: 13px; font-weight: 500; }
.mi-tool-call code { color: var(--blue-deep); font-size: 12px; }
.mi-tool-call span { grid-column: 1 / -1; color: var(--mi-muted); font-size: 12px; }
.mi-request-note { margin-top: 23px; color: var(--mi-muted); font-size: 12px; line-height: 1.6; }
.mi-result { min-width: 0; padding: 22px 27px; }
.mi-result-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; line-height: 1.45; }
.mi-result-heading img { object-fit: contain; }
.mi-finding { display: flex; gap: 12px; align-items: flex-start; padding-block: 14px; border-top: 1px solid #e3e7e9; }
.mi-finding > div { flex: 1; min-width: 0; }
.mi-severity { display: inline-flex; justify-content: center; flex: 0 0 54px; font-size: 11px; font-weight: 600; padding: 3px 5px; color: #954234; background: #fff0e9; border-radius: 3px; }
.mi-severity-medium { color: #795a22; background: #fff4d8; }
.mi-finding h3 { font-size: 14px; line-height: 1.5; margin-bottom: 5px; }
.mi-finding p { color: var(--mi-muted); font-size: 12px; line-height: 1.65; margin-bottom: 5px; }
.mi-finding code { font-size: 11px; color: var(--mi-muted); overflow-wrap: anywhere; }
.mi-result-footer { display: flex; align-items: flex-start; gap: 8px; color: #2f6250; padding-top: 12px; font-size: 12px; line-height: 1.6; border-top: 1px solid #e3e7e9; }
.mi-result-footer svg { width: 15px; height: 15px; margin-top: 2px; }
.mi-workspace-footer { border-top: 1px solid var(--mi-line); background: #f3f6f7; }
.mi-workspace-footer svg { width: 15px; height: 15px; }
.mi-connect { padding-block: 76px; }
.mi-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; margin-bottom: 38px; }
.mi-section-heading h2 { font-size: 40px; line-height: 1.15; margin: 0; }
.mi-section-heading > p { margin: 0; max-width: 400px; font-size: 16px; line-height: 1.7; color: var(--mi-muted); }
.mi-setup-panel { padding-top: 25px; }
.mi-enhanced .mi-setup-panels { min-height: 272px; }
.mi-setup-intro { display: flex; align-items: center; gap: 15px; margin-bottom: 27px; }
.mi-setup-intro > img { width: 42px; height: 42px; object-fit: contain; }
.mi-setup-intro h3 { font-size: 22px; line-height: 1.3; margin-bottom: 3px; }
.mi-setup-intro p { font-size: 12px; color: var(--mi-muted); margin-bottom: 0; }
.mi-setup-intro > a { margin-left: auto; }
.mi-setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; list-style: none; counter-reset: setup; margin: 0; padding: 0; }
.mi-setup-steps li { counter-increment: setup; padding-left: 32px; position: relative; }
.mi-setup-steps li::before { content: counter(setup); position: absolute; left: 0; top: 1px; font-size: 12px; line-height: 24px; width: 24px; text-align: center; color: var(--blue-deep); border: 1px solid #c0d2df; border-radius: 50%; }
.mi-setup-steps h4 { font-size: 15px; line-height: 1.6; margin-bottom: 7px; }
.mi-setup-steps p { font-size: 13px; line-height: 1.75; color: var(--mi-muted); margin-bottom: 0; }
.mi-connection-note { padding-block: 20px; margin-top: 26px; border-block: 1px solid var(--mi-line); }
.mi-connection-note > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.mi-connection-note code { color: var(--blue-deep); font-size: 12px; overflow-wrap: anywhere; }
.mi-connection-note p { font-size: 12px; color: var(--mi-muted); line-height: 1.65; margin: 7px 0 0; }
.mi-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 32px; padding: 0; color: var(--mi-muted); background: transparent; border: 1px solid transparent; border-radius: 4px; }
.mi-icon-button:hover { background: #e5edf2; border-color: #c3d1da; }
.mi-icon-button svg { width: 15px; height: 15px; }
.mi-prerequisites { color: var(--mi-muted); font-size: 12px; margin: 16px 0 0; }
.mi-prerequisites a { color: var(--blue-dark); }
.mi-catalog { padding-block: 80px; background: var(--mi-paper); border-block: 1px solid var(--mi-line); }
.mi-catalog-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: -12px; margin-bottom: 20px; }
.mi-syntax { font-size: 12px; line-height: 1.75; color: var(--mi-muted); max-width: 770px; margin-bottom: 30px; }
.mi-catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.mi-filters { display: flex; gap: 3px; flex-wrap: wrap; }
.mi-filters button { min-height: 36px; padding: 7px 10px; background: transparent; color: var(--mi-muted); border: 1px solid transparent; border-radius: 4px; font-size: 12px; }
.mi-filters button[aria-pressed="true"] { background: #fff; border-color: #adc4d7; color: var(--blue-deep); }
.mi-filters button:hover { background: #e2eaf0; }
.mi-search { display: flex; gap: 8px; align-items: center; border-bottom: 1px solid #a8b9c4; min-height: 38px; }
.mi-search svg { width: 16px; height: 16px; color: var(--mi-muted); }
.mi-search input { border: 0; padding: 8px 0; width: 190px; font-size: 12px; background: transparent; color: var(--mi-ink); caret-color: var(--blue); }
.mi-search input::placeholder { color: var(--mi-muted); opacity: 1; }
.mi-count { font-size: 12px; color: var(--mi-muted); margin-bottom: 16px; overflow-wrap: anywhere; }
.mi-command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.mi-command-grid details { border-top: 1px solid #cbd6dd; }
.mi-command-grid summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding-block: 20px; cursor: pointer; }
.mi-command-grid summary > span { min-width: 0; }
.mi-command-grid summary strong { display: block; font-size: 16px; font-weight: 550; line-height: 1.5; }
.mi-command-grid summary code { display: block; color: var(--blue-deep); font-size: 11px; margin-top: 5px; overflow-wrap: anywhere; }
.mi-page main summary::-webkit-details-marker { display: none; }
.mi-page main details > summary svg { width: 16px; height: 16px; margin-right: 4px; transition: transform 180ms; }
.mi-page main details[open] > summary svg { transform: rotate(45deg); }
.mi-command-body { padding-bottom: 24px; }
.mi-command-body > p { font-size: 14px; line-height: 1.75; color: var(--mi-muted); margin-bottom: 16px; }
.mi-command-body dl { margin: 0 0 16px; font-size: 12px; line-height: 1.7; }
.mi-command-body dl > div { display: grid; grid-template-columns: 49px 1fr; gap: 10px; padding-block: 5px; border-top: 1px solid #dde4e8; }
.mi-command-body dt { color: var(--mi-muted); }
.mi-command-body dd { margin: 0; }
.mi-command-body > a { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--blue-dark); text-decoration: none; }
.mi-command-body > a:hover { text-decoration: underline; }
.mi-command-body > a svg { width: 14px; height: 14px; }
.mi-catalog-note { margin: 25px 0 0; border-top: 1px solid #cbd6dd; padding-top: 22px; color: var(--mi-muted); font-size: 12px; line-height: 1.75; }
.mi-empty { padding-block: 40px; }
.mi-empty h3 { font-size: 24px; margin-bottom: 10px; }
.mi-empty p { font-size: 14px; color: var(--mi-muted); }
.mi-recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.mi-recipe-grid article { border-top: 1px solid var(--mi-line); padding-top: 24px; }
.mi-recipe-grid h3 { font-size: 21px; line-height: 1.35; margin-bottom: 14px; }
.mi-recipe-grid p { font-size: 14px; color: var(--mi-muted); line-height: 1.75; margin-bottom: 18px; }
.mi-sequence { display: flex; align-items: center; gap: 9px 12px; flex-wrap: wrap; }
.mi-sequence a { color: var(--blue-deep); font-size: 11px; }
.mi-sequence svg { width: 14px; height: 14px; color: var(--mi-muted); }
.mi-walkthrough { display: flex; gap: 17px; align-items: flex-start; padding-top: 30px; margin-top: 40px; border-top: 1px solid var(--mi-line); }
.mi-walkthrough > svg { color: var(--blue-dark); margin-top: 5px; width: 23px; height: 23px; }
.mi-walkthrough > div { flex: 1; }
.mi-walkthrough h3 { font-size: 21px; line-height: 1.4; margin-bottom: 9px; }
.mi-walkthrough p { font-size: 14px; color: var(--mi-muted); line-height: 1.75; max-width: 600px; margin-bottom: 0; }
.mi-walkthrough > a { flex-shrink: 0; margin-top: 4px; }
.mi-control { background: #eaf2ed; padding-block: 64px; }
.mi-control-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.mi-control h2 { font-size: 35px; line-height: 1.2; margin-bottom: 20px; }
.mi-control p { font-size: 15px; color: #4d6255; line-height: 1.75; margin-bottom: 24px; }
.mi-control ul { list-style: none; padding: 0; margin: 0; }
.mi-control li { display: flex; gap: 13px; align-items: flex-start; padding-block: 17px; border-bottom: 1px solid #cadacf; color: #4d6255; font-size: 13px; line-height: 1.75; }
.mi-control li:first-child { padding-top: 0; }
.mi-control li:last-child { border-bottom: 0; padding-bottom: 0; }
.mi-control li svg { color: #306244; margin-top: 4px; }
.mi-control strong { color: #253c2e; font-weight: 600; }
.mi-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.mi-faq > h2 { font-size: 30px; line-height: 1.25; }
.mi-faq details { border-top: 1px solid var(--mi-line); }
.mi-faq details:last-child { border-bottom: 1px solid var(--mi-line); }
.mi-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; list-style: none; cursor: pointer; font-size: 15px; line-height: 1.6; font-weight: 500; }
.mi-faq details p { font-size: 14px; line-height: 1.75; color: var(--mi-muted); padding-bottom: 10px; }
.mi-faq a { color: var(--blue-dark); }
.mi-close { padding-block: 60px 70px; text-align: center; border-top: 1px solid var(--mi-line); }
.mi-close h2 { font-size: 36px; line-height: 1.2; margin-bottom: 28px; }
.mi-close p { font-size: 12px; color: var(--mi-muted); margin: 23px 0 0; }
.mi-close p a { color: var(--blue-dark); }
.mi-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 40; background: #242a2d; color: #fff; padding: 12px 18px; max-width: calc(100% - 32px); font: 13px/1.5 var(--sans); border-radius: 4px; box-shadow: 0 5px 20px #0002; opacity: 0; pointer-events: none; }
.mi-toast.is-visible { opacity: 1; }
.mi-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .mi-section-heading { gap: 40px; }
  .mi-section-heading h2 { font-size: 35px; }
  .mi-section-heading > p { max-width: 330px; font-size: 15px; }
  .mi-workspace-body { grid-template-columns: 1fr 1.2fr; }
  .mi-request, .mi-result { padding-inline: 20px; }
  .mi-setup-steps { gap: 24px; }
  .mi-enhanced .mi-setup-panels { min-height: 315px; }
  .mi-recipe-grid { gap: 25px; }
  .mi-control-inner, .mi-faq { gap: 45px; }
  .mi-walkthrough { flex-wrap: wrap; }
  .mi-walkthrough > a { margin-left: 40px; }
}
@media (max-width: 720px) {
  .mi-shell { width: calc(100% - 40px); }
  .mi-hero { padding-top: 36px; }
  .mi-hero-copy { padding-bottom: 28px; }
  .mi-hero-copy h1 { margin-bottom: 20px; }
  .mi-hero-copy h2 { font-size: 24px; }
  .mi-hero-copy > p { font-size: 16px; margin-bottom: 22px; }
  .mi-wide-break { display: none; }
  .mi-actions { gap: 16px 22px; }
  .mi-button { padding-inline: 17px; font-size: 14px; }
  .mi-ide-tabs, .mi-ide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .mi-ide-tabs a, .mi-ide-links a { min-height: 62px; padding: 13px 8px; font-size: 14px; gap: 9px; }
  .mi-ide-tabs a { min-height: 48px; padding-block: 10px; }
  .mi-ide-links img { width: 24px; height: 24px; }
  .mi-workspace-bar { padding: 13px 15px; gap: 10px; flex-wrap: wrap; font-size: 11px; }
  .mi-workspace-bar > span:first-child { gap: 6px; }
  .mi-workspace-bar strong { font-size: 11px; }
  .mi-workspace-bar svg { display: none; }
  .mi-workspace-body { grid-template-columns: 1fr; }
  .mi-result { grid-row: 1; padding: 21px 16px; }
  .mi-result-heading { align-items: flex-start; font-size: 14px; }
  .mi-result-heading img { width: 21px; height: 21px; }
  .mi-finding { gap: 9px; }
  .mi-finding h3 { font-size: 13px; }
  .mi-finding p { font-size: 12px; }
  .mi-severity { flex-basis: 52px; padding-inline: 3px; }
  .mi-request { padding: 21px 17px; border-top: 1px solid var(--mi-line); border-right: 0; }
  .mi-request > p { font-size: 16px; }
  .mi-request-note { margin-top: 18px; }
  .mi-workspace-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px 15px; }
  .mi-connect, .mi-section, .mi-catalog { padding-block: 55px; }
  .mi-section-heading { flex-direction: column; align-items: flex-start; gap: 19px; margin-bottom: 30px; }
  .mi-section-heading h2 { font-size: 32px; }
  .mi-section-heading > p { max-width: none; }
  .mi-setup-intro { display: grid; grid-template-columns: 35px 1fr; gap: 11px; }
  .mi-setup-intro > img { width: 32px; height: 32px; }
  .mi-setup-intro h3 { font-size: 21px; }
  .mi-setup-intro > a { grid-column: 1 / -1; margin-left: 0; }
  .mi-setup-steps { grid-template-columns: 1fr; gap: 20px; }
  .mi-enhanced .mi-setup-panels { min-height: 495px; }
  .mi-connection-note > div { gap: 5px 8px; }
  .mi-connection-note code { font-size: 11px; }
  .mi-catalog-links { gap: 10px 20px; margin-top: 0; }
  .mi-catalog-links .mi-link { font-size: 13px; }
  .mi-catalog-tools { gap: 15px; }
  .mi-search { width: 100%; }
  .mi-search input { flex: 1; width: 100%; min-width: 0; }
  .mi-command-grid { grid-template-columns: 1fr; }
  .mi-command-grid summary strong { font-size: 15px; }
  .mi-command-grid summary { gap: 12px; }
  .mi-recipe-grid { grid-template-columns: 1fr; gap: 28px; }
  .mi-recipe-grid article { padding-top: 20px; }
  .mi-recipe-grid h3 { font-size: 22px; }
  .mi-walkthrough { gap: 12px; }
  .mi-walkthrough > div { flex: 1 1 calc(100% - 35px); min-width: 0; }
  .mi-walkthrough h3 { font-size: 20px; }
  .mi-walkthrough > a { margin-left: 35px; }
  .mi-control { padding-block: 50px; }
  .mi-control-inner { grid-template-columns: 1fr; gap: 30px; }
  .mi-control h2 { font-size: 31px; }
  .mi-faq { grid-template-columns: 1fr; gap: 20px; }
  .mi-faq > h2 { margin-bottom: 0; font-size: 28px; }
  .mi-close { padding-block: 50px; }
  .mi-close h2 { font-size: 30px; }
}
@media (max-width: 370px) {
  .mi-ide-tabs a, .mi-ide-links a { font-size: 12px; gap: 7px; }
  .mi-workspace-bar { padding-inline: 12px; gap: 6px; }
  .mi-workspace-bar > span:first-child { gap: 4px; }
  .mi-enhanced .mi-setup-panels { min-height: 550px; }
}
@media (prefers-reduced-motion: reduce) {
  .mi-page main *, .mi-page main *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
