/* MANTA instruction page. Shared brand font, colours and logo; independent layout. */
@font-face { font-family: Manrope; src: url('../fonts/Manrope-VariableFont_wght.ttf') format('truetype'); font-weight: 200 800; font-style: normal; font-display: swap; }
:root { color-scheme: dark; --bg: #2f3238; --panel: #25282e; --line: #42464f; --text: #edf0f5; --muted: #b0b6c2; --accent: #0084ff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.75 Manrope, sans-serif; }
a { color: #80c2ff; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #80c2ff; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: var(--panel); padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header { background: #1e2024; border-bottom: 1px solid #343740; }
.header-inner { max-width: 1200px; padding: 24px 32px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand img { display: block; width: 216px; height: auto; max-width: 100%; }
.site-header nav { display: flex; gap: 28px; font-size: 13px; font-weight: 600; }
.site-header nav a { color: var(--text); }
.manual-shell { max-width: 1200px; margin: auto; padding: 0 32px 72px; }
.hero { padding: 70px 0 54px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; color: #89c6ff; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
h1 { margin: 22px 0; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.16; letter-spacing: -.045em; font-weight: 650; }
h1 span { color: var(--muted); }
.hero-title { display: flex; align-items: center; gap: 28px; margin: 22px 0; }
.hero-title h1 { margin: 0; min-width: 0; }
.hero-app-icon { display: block; width: 112px; max-width: 100%; height: auto; flex-shrink: 0; }
.hero-description { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span { border: 1px solid var(--line); border-radius: 30px; padding: 5px 14px; color: var(--muted); font-size: 11px; }
.manual-layout { display: block; }
.manual-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.manual-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.manual-toolbar button { border: 0; background: transparent; color: #80c2ff; font-size: 12px; padding: 5px 0; }
.chapter { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); margin-bottom: 16px; scroll-margin-top: 28px; overflow: hidden; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; transition: background-color .2s; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }
.chapter > summary { padding: 26px; }
summary:hover { background: rgba(128, 194, 255, .045); }
.chapter-number { color: #80c2ff; font-size: 19px; font-weight: 700; border: 1px solid #385575; border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; background: #263444; }
.chapter-heading { display: grid; gap: 3px; min-width: 0; }
.chapter-title { font-weight: 600; font-size: 19px; line-height: 1.45; }
.chapter-description { color: var(--muted); font-size: 12px; }
.chevron { width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); flex-shrink: 0; margin: -4px 4px 0 auto; transition: transform .2s; }
details[open] > summary .chevron { transform: rotate(225deg); margin-top: 4px; }
.chapter[open] > summary { border-bottom: 1px solid var(--line); }
.chapter-body { padding: 14px 26px 20px; }
.topic { margin: 8px 0; scroll-margin-top: 28px; }
.topic > summary { padding: 16px 18px; background: rgba(128, 194, 255, .025); border: 1px solid #42464f; border-radius: 12px; font-size: 15px; font-weight: 600; gap: 12px; transition: border-color .2s, background-color .2s; }
.topic > summary:hover { background: #2e3a48; border-color: #3d5065; }
.topic[open] > summary { background: #293645; border-color: #3a4d63; }
.topic[open] > summary:hover { background: #2e3a48; border-color: #3d5065; }
.topic-number { color: #96b3ce; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.topic-body { padding: 20px 18px 8px; color: #ced3dd; font-size: 14px; overflow-wrap: anywhere; }
.topic-body p { margin: 0 0 16px; }
.topic-body strong { color: var(--text); font-weight: 650; }
.topic-body ul, .topic-body ol { padding-left: 24px; }
.topic-body li { padding-left: 4px; margin-bottom: 12px; }
.manual-image { width: 75%; max-width: 720px; margin: 28px auto; }
.manual-image img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; background: #1e2024; border: 1px solid var(--line); border-radius: 10px; }
.manual-image img:not([src]) { display: none; }
.manual-image figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; }
.callout { border-left: 3px solid var(--accent); background: #263444; padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.callout p { margin: 5px 0 0; }
.editor-note { padding: 16px 18px; border: 1px dashed #59616d; border-radius: 10px; color: var(--muted); font-size: 13px; }
.help-card { margin-top: 32px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.help-card h2 { font-size: 18px; margin: 0 0 6px; }
.help-card p { margin: 0; color: var(--muted); font-size: 12px; }
.help-card > a { padding: 10px 16px; background: #263444; border: 1px solid #385575; border-radius: 9px; font-size: 12px; }
.site-footer { background: #1e2024; padding: 28px max(24px, calc((100vw - 1136px) / 2)); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0; }
@media (max-width: 540px) {
    .header-inner { padding: 20px; gap: 16px; flex-wrap: wrap; }
    .brand img { width: 180px; }
    .site-header nav { gap: 20px; font-size: 12px; }
    .manual-shell { padding: 0 20px 44px; }
    .hero { padding: 40px 0 30px; margin-bottom: 28px; }
    .eyebrow { font-size: 9px; letter-spacing: .1em; }
    .hero-description { font-size: 14px; }
    .hero-title { gap: 14px; }
    .hero-title h1 { font-size: clamp(24px, 6vw, 32px); }
    .hero-app-icon { width: 64px; }
    .chapter > summary { padding: 20px 16px; gap: 12px; }
    .chapter-number { width: 32px; height: 32px; border-radius: 8px; font-size: 16px; }
    .chapter-title { font-size: 16px; }
    .chapter-description { font-size: 11px; }
    .chapter-body { padding: 8px 10px 12px; }
    .topic > summary { font-size: 14px; padding: 14px 12px; }
    .topic-body { padding: 16px 12px 8px; }
    .manual-image { width: 88%; margin: 22px auto; }
    .help-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .manual-toolbar, .help-card, .site-footer { display: none; } body { background: white; color: black; } .manual-layout { display: block; } }
