/* V-Synth Patch Composer Help — shared by the help book and the support
   website, so it uses nothing Help Viewer alone understands. */

:root {
    color-scheme: light dark;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --background: #ffffff;
    --rule: #d2d2d7;
    --accent: #0a62c9;
    --panel: #f3f3f6;
    --key: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #ececee;
        --muted: #a1a1a6;
        --background: #1f1f21;
        --rule: #3a3a3c;
        --accent: #5aa7ff;
        --panel: #2b2b2e;
        --key: #3a3a3c;
    }
}

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 20px 40px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

nav.crumbs {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

h1 { font-size: 26px; line-height: 1.2; margin: 6px 0 12px; }
h2 { font-size: 18px; margin: 28px 0 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
h3 { font-size: 15px; margin: 20px 0 6px; }

p, ul, ol, table { margin: 0 0 12px; }
li { margin: 3px 0; }
ul, ol { padding-left: 24px; }

.lead { font-size: 15px; color: var(--muted); }

.note {
    background: var(--panel);
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    margin: 12px 0;
    border-radius: 4px;
}

.note.warning { border-left-color: #d98a00; }

kbd {
    display: inline-block;
    min-width: 1em;
    padding: 0 5px;
    font: 12px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    text-align: center;
    background: var(--key);
    border: 1px solid var(--rule);
    border-bottom-width: 2px;
    border-radius: 4px;
    white-space: nowrap;
}

.ui { font-weight: 600; }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--rule); }
th { font-size: 12px; color: var(--muted); font-weight: 600; }

.header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 6px 0 8px;
}
.header img { width: 72px; height: 72px; flex: none; }
.header h1 { margin: 0; }

ul.topics { list-style: none; padding: 0; }
ul.topics li { margin: 0 0 10px; }
ul.topics a { font-weight: 600; font-size: 15px; }
ul.topics span { display: block; color: var(--muted); }

footer {
    margin-top: 36px;
    padding-top: 12px;
    border-top: 1px solid var(--rule);
    font-size: 12px;
    color: var(--muted);
}
