/* Beginner guide, scoped to the existing MI automation page. */
.mi-walk-first{max-width:1080px}
.mi-walk-first .walk-hero{max-width:none}
.mi-walk-first .walk-lead{max-width:780px}
.mi-walk-first h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.025em}
.ready-list{border-top:1px solid #35515e;margin:24px 0 12px;padding:20px 0 0;max-width:870px}
.ready-list h2{font-size:21px!important;margin:0 0 12px}
.ready-list ul{padding-left:22px;display:grid;gap:12px;color:#d2e1e9;line-height:1.6}
.quick-nav{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 36px}
.quick-nav a{padding:12px 16px;border:1px solid #55737d;border-radius:9px;color:#a4ecde;text-decoration:none;font-size:15px}
.quick-nav a:first-child{background:#97ebd9;color:#08221d;font-weight:750}
#simple-setup{padding-top:28px;border-top:1px solid #35515e}
#simple-setup>div>h2{margin:8px 0 16px}
#free-live-route{padding:24px;background:#30271b;border:1px solid #92723c;border-radius:12px}
.quick-steps{list-style:none;padding:0;margin:30px 0}
.quick-step{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;column-gap:38px;row-gap:20px;padding:38px 0;border-top:1px solid #35515e}
.quick-step .walk-number{color:#8fe7d6;font-weight:750;font-size:13px;letter-spacing:.08em;margin:0 0 12px}
.quick-step h2{margin:0 0 18px}.quick-step p{font-size:16px;line-height:1.65;color:#cbdbe3;margin:0 0 16px}
.quick-step .walk-start{font-size:16px;line-height:1.4;padding:14px 18px;margin:0 0 16px}
.quick-copy{min-width:0}.quick-copy details{border-top:1px solid #35515e}.quick-copy summary{font-size:15px}
.button-map{margin:0;background:#f0f5f5;color:#152e35;border:1px solid #b9d2d1;border-radius:12px;padding:20px;overflow:hidden}
.button-map figcaption{color:#4c656b;font-size:12px;line-height:1.55;margin:0 0 22px;letter-spacing:.02em}
.click-row{display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,1.3fr);gap:15px;align-items:center;margin:18px 0}
.click-note{color:#8e3f20;font-size:14px;font-weight:750;line-height:1.4;display:flex;align-items:center;justify-content:space-between;gap:8px}
.click-note b{font-size:29px;font-weight:600}.shown-control{background:white;border:2px solid #377b6d;border-radius:6px;padding:12px;color:#183b36;font:650 15px/1.5 system-ui,sans-serif;overflow-wrap:anywhere;box-shadow:0 2px 4px #153b3010}
.field-example{display:block;margin-top:8px;border:1px solid #9bb1b3;padding:9px;color:#1d343b;font-weight:400;background:#f7fafb}
.real-menu{grid-column:1/-1;border:1px solid #385763;border-radius:9px;padding:0 18px}
.real-menu figure{margin:0 0 20px}.annotated{position:relative;display:block;line-height:0}.annotated img{display:block;width:100%;height:auto}.annotated svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.real-menu figcaption{font-size:14px;color:#c3d6df;line-height:1.6;margin:12px 0 0}
.quick-end{padding:24px;background:#102b34;border:1px solid #426976;border-radius:12px;margin:22px 0}.quick-end h3{font-size:22px;margin:0 0 15px}
.quick-end p,.plain-section p{font-size:16px;color:#c7d9e3;line-height:1.65}
.plain-section{border-top:1px solid #42606c;margin:36px 0;padding:30px 0}
.plain-section summary{font-size:20px;line-height:1.4}.plain-section>h2{margin:8px 0 24px}
.money-flow{display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #4c807f;background:#102d34;padding:26px;border-radius:12px;margin:20px 0}
.money-flow small{display:block;color:#bbd6dc;font-size:13px;margin-bottom:8px}.money-flow strong{display:block;color:#a9f4de;font-size:clamp(24px,3vw,34px)}.money-flow>span{color:#82bdba;font-size:26px}
.setting-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.setting-cards article{border:1px solid #395d69;border-radius:12px;padding:24px;background:#0f252f}.setting-cards h3{font-size:22px;margin:0 0 16px}.setting-cards small{font-size:12px;color:#9fbcc9;overflow-wrap:anywhere}.extra-settings{padding:8px 20px;border:1px solid #395d69;border-radius:9px}
#key-help .button-map{max-width:620px}#manual-setup>summary{color:#b6dfdf}#manual-setup .walk-step{padding:32px 0}
#manual-setup .walk-screens .button-map{border:0}.sizing-helper{max-width:850px}.sizing-helper summary{font-size:17px}
#sheet-route:not([hidden])~*{min-width:0}
@media(max-width:760px){.quick-step{grid-template-columns:1fr;padding:28px 0;gap:18px}.quick-step h2{font-size:27px}.button-map{padding:16px}.click-row{grid-template-columns:minmax(88px,.75fr) minmax(0,1.3fr);gap:12px}.click-note{font-size:13px}.shown-control{font-size:14px;padding:10px}.real-menu{grid-column:1}.setting-cards{grid-template-columns:1fr}.money-flow{gap:10px;padding:18px;flex-wrap:wrap}.money-flow>div{flex:1 1 90px}.money-flow small{font-size:11px}.money-flow strong{font-size:24px}.money-flow>span{font-size:18px}.quick-nav{gap:8px}.quick-nav a{font-size:14px;padding:10px 12px}.quick-end{padding:20px}.plain-section{margin:26px 0;padding:24px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* The public setup path uses the same labels as the three dialogs. */
.gear-prerequisites { max-width:780px; color:#d2e3e7; }
#sheet-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; }
.sheet-choice-group { margin:0; min-width:0; }
.sheet-choice-group .walk-start { margin-right:7px; }
.gear-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; list-style:none; padding:0; margin:24px 0 16px; }
.gear-steps li { min-width:0; border:1px solid #395d69; border-radius:12px; background:#0f252f; padding:16px; }
.mi-walk-first .gear-steps li h2 { display:flex; align-items:center; gap:9px; margin:0 0 12px; font-size:20px!important; }
.gear-steps li p { margin:12px 0 0; color:#d2e3e7; }
.gear-step-number { display:inline-grid; place-items:center; border:2px solid #8fe7d6; border-radius:50%; width:28px; height:28px; flex:none; font-size:15px; color:#a9f4de; }
.gear-illustration { display:grid; align-content:center; justify-items:start; gap:7px; background:#f2f7f6; color:#1e3537; border-radius:7px; min-height:145px; padding:12px; }
.gear-window-caption { font-size:12px; color:#41585a; }
.gear-field-example { display:block; border:1px solid #9bb1b3; border-radius:4px; background:white; width:100%; padding:3px 6px; font-size:13px; }
.gear-ring { display:inline-block; border:2px solid #a63214; border-radius:50%; padding:5px 11px; }
.gear-control { display:inline-block; border-radius:4px; padding:5px 9px; color:white; font-size:13px; font-weight:700; }
.gear-google { background:#185abc; }
.gear-save { background:#225b50; }
.gear-menu-picture { display:block; width:100%; height:auto; border-radius:7px; }
.gear-help { border-top:1px solid #395d69; margin:10px 0 16px; }
.gear-help p { margin:0 0 12px; max-width:780px; }
@media(max-width:760px) {
  #sheet-choices { grid-template-columns:1fr; gap:14px; }
  .sheet-choice-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; align-items:stretch; }
  .sheet-choice-group strong { grid-column:1/-1; }
  .sheet-choice-group br { display:none; }
  .sheet-choice-group .walk-start { width:auto; min-height:52px; padding:8px 6px; margin:0; text-align:center; font-size:14px; }
  .gear-steps { grid-template-columns:1fr; gap:10px; }
  .gear-illustration { min-height:0; }
}
.gear-menu-picture { height:145px; background:#f2f7f6; }
@media(max-width:760px) { .gear-menu-picture { height:auto; } }

/* Three phases contain the full copy / authorization / activation sequence. */
.setup-phases { grid-template-columns:1fr; gap:20px; }
.setup-phases > li { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); gap:28px; padding:24px; scroll-margin-top:24px; }
.setup-phases .phase-label { margin:0 0 8px; color:#8fe7d6; font-size:12px; font-weight:750; letter-spacing:.07em; }
.setup-phases .phase-actions { list-style:decimal; padding-left:22px; margin:14px 0 0; }
.setup-phases .phase-actions > li { display:list-item; border:0; border-radius:0; background:none; padding:0 0 12px 4px; }
.phase-actions > li::marker { color:#a9f4de; font-weight:700; }
.phase-visual { min-width:0; align-self:center; }
.phase-visual img { display:block; width:100%; height:auto; margin:0 0 16px; }
.setup-phases .permission-note { border-left:3px solid #8fe7d6; padding-left:13px; font-size:14px; }
#google-permissions { scroll-margin-top:24px; }
#google-permissions h2 { font-size:25px; margin-top:18px; }
#google-permissions li { margin-bottom:12px; }
@media(max-width:760px) { .setup-phases > li { grid-template-columns:1fr; padding:18px; gap:18px; } }
