/* Manuals (in-app guides) */
.mg-card { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: inherit; align-items: flex-start; } .mg-card h3 { margin: 0; } .mg-card p { margin: 0 0 .4rem; }
.mg { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.mg-nav { position: sticky; top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .6rem; display: flex; flex-direction: column; gap: .1rem; max-height: calc(100vh - 2rem); overflow: auto; }
.mg-nav-h { font-weight: 800; padding: .4rem .6rem .6rem; color: var(--brand-dark); }
.mg-nav a { display: flex; gap: .55rem; align-items: baseline; padding: .42rem .6rem; border-radius: 9px; text-decoration: none; color: var(--text); font-size: .88rem; } .mg-nav a b { color: var(--muted); min-width: 1.2rem; } .mg-nav a:hover { background: var(--surface-2); } .mg-nav a.on { background: var(--brand-soft); font-weight: 700; color: var(--brand-dark); }
.mg-nav .mg-pdf { margin-top: .4rem; border-top: 1px solid var(--line); border-radius: 0; padding-top: .7rem; font-weight: 700; color: var(--brand); }
.mguide { min-width: 0; max-width: 900px; } .mguide .title { display: flex; gap: .6rem; align-items: center; } .mg-num { background: var(--brand); color: #fff; border-radius: 10px; padding: 0 .55rem; font-size: 1.4rem; }
.mg-sel { display: none; margin-bottom: .8rem; } .mg-sel select { width: 100%; }
.mguide h2 { margin: 1.6rem 0 .5rem; font-size: 1.2rem; color: var(--brand-dark); } .mguide h3 { margin: 1.1rem 0 .3rem; }
.mguide .lede { font-size: 1.05rem; color: var(--muted); }
.mguide .fig { margin: 1rem 0 1.4rem; } .mguide .fig img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); display: block; }
.mguide .fig .cap { font-size: .82rem; color: var(--muted); font-style: italic; margin: .4rem 0; }
.mguide .legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .35rem 1.2rem; font-size: .9rem; } .mguide .legend div { display: flex; gap: .55rem; align-items: flex-start; }
.mguide .legend b { flex: 0 0 1.45rem; height: 1.45rem; border-radius: 50%; background: #e11d48; color: #fff; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem; }
.mguide .box { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: .7rem 1rem; border-radius: 0 10px 10px 0; margin: 1rem 0; } .mguide .box.tip { border-color: var(--good); background: var(--good-bg); } .mguide .box.warn { border-color: #b45309; background: var(--warn-bg); } .mguide .box.rule { border-color: var(--bad); background: var(--bad-bg); }
.mguide .box b.t { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; } .mguide .box p:last-child, .mguide .box ol:last-child { margin-bottom: 0; }
.mguide ol.steps { counter-reset: s; list-style: none; padding: 0; } .mguide ol.steps li { counter-increment: s; position: relative; padding-left: 2.2rem; margin-bottom: .55rem; } .mguide ol.steps li::before { content: counter(s); position: absolute; left: 0; top: .05rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.mguide table.t { width: 100%; margin: .6rem 0 1.2rem; } .mguide table.t th { background: var(--brand); color: #fff; text-transform: none; font-size: .82rem; letter-spacing: 0; padding: .5rem .7rem; } .mguide table.t td { padding: .5rem .7rem; }
.mguide .pill.g { background: var(--good-bg); color: var(--good); } .mguide .pill.r { background: var(--bad-bg); color: var(--bad); } .mguide .pill.a { background: var(--warn-bg); color: #92400e; } .mguide .pill.b { background: var(--info-bg); color: #1d4e89; }
.mguide kbd { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 0 .35rem; font-size: .85em; }
.mguide .phones { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; } .mguide .phones .fig { width: min(260px, 45%); } .mguide .phones img { border-radius: 18px; }
.mg-pn { display: flex; justify-content: space-between; gap: .8rem; margin: 2rem 0 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .mg { grid-template-columns: 1fr; } .mg-nav { display: none; } .mg-sel { display: block; } .mguide .legend { grid-template-columns: 1fr; } }
@media print { .mg-nav, .mg-sel, .mg-pn { display: none; } .mg { display: block; } }
