/* MANUAL VIEWER + TRADE STRIP (WEBBY-MANUALS-VIEWER-20261123). Loaded only on /support/manuals/roger/ pages. */
.manual-actions a.btn { color: #fff; }
.manual-actions a.btn-outline { color: var(--text, #fff); }

/* Related products and parts */
.manual-products { margin-top: 22px; max-width: 820px; }
.manual-products h3 { font-size: 1.02rem; margin: 0 0 8px; }
.manual-products ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.manual-products li { border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 16px; background: rgba(255,255,255,0.03); font-size: 0.9rem; line-height: 1.55; }
.manual-products li > a:first-child { color: var(--highlight); font-weight: 600; }
.manual-products li span { display: block; opacity: 0.85; }
.manual-products li span a { color: var(--highlight); }
.manual-products .mp-stock { display: inline-block; margin-left: 6px; font-size: 0.75rem; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); opacity: 0.9; }

/* Viewer */
.manual-card.mv-open { grid-column: 1 / -1; }
.mv { margin-top: 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; background: #101010; scroll-margin-top: 80px; }
.mv:focus { outline: none; }
.mv-bar { position: sticky; top: var(--mv-top, 72px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 12px; background: rgba(17,17,17,0.98); border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 14px 14px 0 0; }
.mv-title { flex: 1 1 160px; min-width: 0; font-size: 0.85rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mv-pageno { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; margin-right: 4px; }
.mv-pageno input { width: 4.2em; min-height: 40px; padding: 0 6px; font: inherit; font-size: 0.9rem; color: #fff; background: #1c1c1c; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; }
.mv-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; font: inherit; font-size: 0.85rem; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; cursor: pointer; text-decoration: none; }
.mv-btn:hover:not(:disabled) { border-color: var(--accent, #D7000F); background: var(--accent-glow, rgba(215,0,15,0.1)); }
.mv-btn:disabled { opacity: 0.4; cursor: default; }
.mv-btn:focus-visible, .mv-pageno input:focus-visible, .trade-strip a:focus-visible, .trade-strip button:focus-visible { outline: 2px solid var(--highlight, #C4FD11); outline-offset: 2px; }
.mv-status { margin: 0; padding: 18px 16px; font-size: 0.9rem; opacity: 0.85; }
.mv-status a { color: var(--highlight, #C4FD11); }
.mv-pages { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px; overflow-x: auto; background: #1a1a1a; border-radius: 0 0 14px 14px; -webkit-overflow-scrolling: touch; }
.mv-page { position: relative; flex: none; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.mv-page canvas { display: block; width: 100%; height: 100%; }
.mv-page:not([data-done])::after { content: attr(aria-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #777; font-size: 0.85rem; }

/* Trade strip: last thing in <main>, sticks to the bottom of the screen until the page end */
.trade-strip { position: sticky; bottom: 0; z-index: 850; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 84px 12px 20px; background: #1a1a1a; border-top: 2px solid var(--highlight, #C4FD11); box-shadow: 0 -6px 24px rgba(0,0,0,0.45); }
.trade-strip[hidden] { display: none; }
.trade-strip-text { flex: 1 1 300px; margin: 0; font-size: 0.92rem; line-height: 1.45; }
.trade-strip-text strong { color: var(--highlight, #C4FD11); }
.trade-strip .btn { white-space: nowrap; min-height: 44px; }
.trade-strip-close { min-width: 44px; min-height: 44px; font-size: 1.4rem; line-height: 1; color: #fff; background: transparent; border: 0; border-radius: 8px; cursor: pointer; opacity: 0.75; }
.trade-strip-close:hover { opacity: 1; }

@media (max-width: 560px) {
    .trade-strip { flex-wrap: nowrap; gap: 8px; padding: 8px 68px 8px 12px; }
    .trade-strip-text { flex: 1 1 auto; min-width: 0; font-size: 0.78rem; line-height: 1.35; }
    .trade-strip .btn { flex: none; min-height: 40px; padding: 0 14px; font-size: 0.8rem; white-space: normal; text-align: center; max-width: 104px; line-height: 1.15; }
    .trade-strip-close { flex: none; min-width: 36px; min-height: 40px; font-size: 1.3rem; }
    .mv-title { flex-basis: 100%; }
    .mv-pages { padding: 8px 6px; }
    .mv-page { box-shadow: none; }
}
@media print { .trade-strip, .mv { display: none; } }
