/* SPDX-License-Identifier: GPL-3.0-only
   RDPNO's pages (the installer keeps its own, fm1-base's): the MKS-20's LCD blue and indicator red on black */
:root { --bg: #0e1113; --panel: #171b1e; --line: #2a3035; --fg: #e8ecee; --dim: #9aa5ab; --hi: #5ac8e6; --led: #ff4632;
        --bad: #ff6a55; --ok: #5ac8e6; --focus: #ffd23c; }
/* the name in Michroma (Vernon Adams, SIL OFL 1.1: fonts/OFL-Michroma.txt), a wide, square-round face after the
   lettering on the MKS-20's panel, made heavier with a stroke; white, underlined in blue as the panel's DIGITAL PIANO */
@font-face { font-family: "Michroma"; src: url("fonts/michroma.woff2") format("woff2"); font-display: swap; }
.logo { font-family: "Michroma", sans-serif; color: #fff; -webkit-text-stroke: .045em #fff; letter-spacing: .08em;
        border-bottom: .09em solid #2f7fd0; padding-bottom: .06em; line-height: 1.25; display: inline-block; }
h1 .logo { font-size: 40px; margin-right: 12px; }
.nav .logo { font-size: 13px; border-bottom-width: 2px; text-decoration: none; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main, footer { max-width: 760px; margin: 0 auto; padding: 32px 20px 0; }
footer { padding-bottom: 48px; }
h1 { font-size: 28px; margin: 0 0 12px; letter-spacing: .02em; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 0 0 10px; }
h3 { font-size: 17px; margin: 24px 0 8px; color: var(--hi); }
p { margin: 0 0 12px; }
a { color: var(--hi); }
.nav { color: var(--dim); font-size: 14px; }
section, .card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 0 0 16px; }
button { font: inherit; background: var(--hi); color: #061217; border: 0; border-radius: 6px; padding: 8px 18px; font-weight: 600; cursor: pointer; }
button:disabled { background: var(--line); color: var(--dim); cursor: default; }
button.plain { background: none; color: var(--fg); border: 1px solid var(--line); font-weight: 400; padding: 2px 10px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
input[type=file] { font: inherit; font-size: 14px; color: var(--fg); max-width: 100%; }
select { font: inherit; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; max-width: 100%; }
progress { width: 100%; height: 8px; accent-color: var(--hi); }
code { background: var(--bg); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.small { color: var(--dim); font-size: 14px; }
.status { min-height: 1.6em; color: var(--dim); }
.ok { color: var(--ok); } .bad { color: var(--bad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 5px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 500; }
.screen { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin: 0 0 8px; }
.screen img { width: 240px; height: 240px; image-rendering: pixelated; border-radius: 6px; border: 1px solid var(--line); flex: none; }
.screen div { flex: 1; min-width: 260px; }
.big { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 24px; }
.big a { display: block; flex: 1; min-width: 200px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
         padding: 16px 18px; text-decoration: none; color: var(--fg); }
.big a b { display: block; color: var(--hi); font-size: 18px; margin-bottom: 4px; }
.red { color: var(--led); }
ul.need { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; }
ul.need li { padding: 2px 0; } ul.need li.ok { color: var(--fg); } ul.need li.ok::first-letter { color: var(--ok); }
/* sliders (the editor): a thin track, no fill, a narrow light-blue cap as on a real fader */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--line); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 26px; margin-top: -11px; background: var(--hi); border: 0; border-radius: 2px; }
input[type=range]::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
input[type=range]::-moz-range-progress { background: transparent; }
input[type=range]::-moz-range-thumb { width: 10px; height: 26px; background: var(--hi); border: 0; border-radius: 2px; }
input[type=range]:disabled { cursor: default; opacity: .4; }
.fader { width: 40px; height: 150px; position: relative; }
.fader input { position: absolute; width: 150px; left: -55px; top: 61px; transform: rotate(-90deg); }
.hero { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap-reverse; }   /* (wrap-reverse: flex-end is the top; on a phone the picture goes above) */
.hero > div { flex: 1 1 360px; min-width: 0; }
.hero img { flex: none; width: 240px; height: 240px; border-radius: 10px; border: 1px solid var(--line); margin-top: 6px; }
