:root { color-scheme: dark; --fg: #e6e9ef; --muted: #8b94a5; --bg: #14161a; --bg-soft: #1d2027; --bg-elev: #232732; --border: #2c313c; --primary: #c4a7ff; --primary-strong: #b794f6; --primary-fg: #14161a; --error-bg: #2a1418; --error-fg: #f5808d; --radius: 6px; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; /* The arrow repeats the --fg hex because url() cannot read a variable. */ --select-arrow: url("data:image/svg+xml,"); } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; font: 14px/1.45 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--fg); background: var(--bg); } main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; } .site-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--border); } /* The name and the links look like inline code, as in the report header. */ .site-header .brand, .site-header nav a { display: inline-block; line-height: 1.5; font-family: var(--mono); font-size: 1rem; padding: 0.12em 0.4em; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border); text-decoration: none; color: var(--fg); } .site-header nav a { margin-left: 0.5rem; } .site-header .brand:hover, .site-header nav a:hover { border-color: var(--primary); } .site-footer { text-align: center; color: var(--muted); padding: 1rem; border-top: 1px solid var(--border); } .site-footer a { color: inherit; text-decoration: none; } .site-footer a:hover { color: var(--fg); } /* Inline code matches the header of the report. */ code { font-family: var(--mono); font-size: 0.9em; padding: 0.08em 0.35em; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border); } h1, h2, h3 { line-height: 1.2; margin-top: 0; } h1 { font-size: 1.5rem; } h2 { font-size: 1.2rem; } .muted { color: var(--muted); } .hint { color: var(--muted); } a { color: var(--primary); } a:hover { color: var(--primary-strong); } .card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; background: var(--bg-soft); } /* The card's own padding sets the gap under the heading, so the content that starts a card adds none of its own. In a fieldset that content follows the legend. */ .card > :first-child, .card > legend + * { margin-top: 0; } fieldset.card { display: block; } fieldset.card legend { font-weight: 600; padding: 0 0.4rem; } .intro { margin-bottom: 1rem; } label { display: block; margin: 0.4rem 0; } label.check { display: flex; align-items: center; gap: 0.4rem; } input[type="text"], input[type="number"], select { width: 100%; padding: 0.4rem 0.5rem; font: inherit; color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); } /* The arrow the platform draws takes the select's color, which the placeholder rule below greys, so the select draws its own instead. */ select { appearance: none; -webkit-appearance: none; padding-right: 1.9rem; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 0.7rem; } /* A placeholder is a prompt, not a value, so the closed select greys while it holds the choice. The option rule keeps the open list readable where the platform draws it in the select's color. */ select:has(option[value=""]:checked) { color: var(--muted); } select option { color: var(--fg); } input[type="text"]:focus, input[type="number"]:focus, select:focus, input[type="file"]:focus { outline: 2px solid var(--primary); outline-offset: -1px; } input[type="file"] { display: block; margin-top: 0.25rem; color: var(--muted); font: inherit; max-width: 100%; } input[type="file"]::file-selector-button { font: inherit; margin-right: 0.6rem; padding: 0.35rem 0.7rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); color: var(--fg); cursor: pointer; } input[type="file"]::file-selector-button:hover { background: var(--border); } .file-pick { display: block; } .file-pick > span { font-weight: 500; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem 1rem; margin-top: 0.5rem; } /* The wrapper of a dependent option carries no look of its own. */ .dependent { border: 0; margin: 0; padding: 0; min-width: 0; } .set-field { margin: 0.4rem 0; } .set-field .set-label { display: block; } .set-field .check { margin: 0.15rem 0 0 0.25rem; } details { border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.5rem; } details:not(.card):first-of-type { border-top: 0; padding-top: 0; } summary { cursor: pointer; font-weight: 600; padding: 0.25rem 0; } .condition-row { padding: 0.6rem 0.75rem; border: 1px dashed var(--border); border-radius: var(--radius); margin-bottom: 0.5rem; background: var(--bg-elev); } .condition-head { display: flex; gap: 0.5rem; align-items: center; } .condition-head input[type="text"] { flex: 1; } .condition-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.5rem 1rem; } .condition-row .hint { margin: 0.3rem 0 0; } button, .button { display: inline-block; font: inherit; border: 1px solid var(--border); background: var(--bg-elev); color: var(--fg); border-radius: var(--radius); padding: 0.4rem 0.8rem; cursor: pointer; text-decoration: none; text-align: center; transition: background 0.12s ease, border-color 0.12s ease; } button:hover, .button:hover { background: var(--border); border-color: var(--primary); } button:disabled, button:disabled:hover { opacity: 0.5; cursor: not-allowed; border-color: var(--border); } .submit-wrap:not([title=""]) { cursor: not-allowed; } button.primary, .button.primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); font-weight: 600; } button.primary:hover, .button.primary:hover { background: var(--primary-strong); border-color: var(--primary-strong); } button.remove-row { padding: 0.4rem 0.7rem; } .row-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; } /* The limits sit beside the button, which stays at the right on any width. */ .submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; } .submit-row .hint { margin: 0; } .submit-row .submit-wrap { margin-left: auto; } .results-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; } .header-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; } /* A button that opens the downloads of one condition below itself. The rule for the sections of the form gives every details a top border and spacing, which a button must not have. */ .menu { position: relative; border-top: 0; margin-top: 0; padding-top: 0; } .menu > summary { list-style: none; } .menu > summary::-webkit-details-marker { display: none; } .menu[open] > summary { border-color: var(--primary); } .menu-items { position: absolute; z-index: 5; top: calc(100% + 0.25rem); left: 0; min-width: 100%; display: flex; flex-direction: column; padding: 0.25rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); } .menu-items a, .menu-items button { padding: 0.3rem 0.6rem; border: 0; border-radius: var(--radius); background: none; font: inherit; text-align: left; color: var(--fg); text-decoration: none; white-space: nowrap; } .menu-items a:hover, .menu-items button:hover { background: var(--border); } .copy-url { display: flex; gap: 0.4rem; align-items: stretch; margin-top: 0.25rem; max-width: 38rem; } .copy-url input { flex: 1; font-family: var(--mono); font-size: 0.9rem; padding: 0.35rem 0.5rem; background: var(--bg-elev); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); } .copy-url button { padding: 0.35rem 0.7rem; } /* The live cmuts plot report, embedded via