sarwar21255's picture
Static replay of the GENCO Operator Console
5a809a3 verified
Raw History Blame Contribute Delete
7.2 kB
:root {
--bg: #ffffff;
--surface: #f9fafb;
--block: #ffffff;
--ink: #0b0b0b;
--text: #1f2328;
--muted: #6b6a66;
--border: #e5e7eb;
--border-strong: #d1d5db;
--accent: #eb6834;
--accent-soft: #fdeee6;
--bad: #d03b3b;
--bad-soft: #fbe7e7;
--ok: #1f7a4d;
--link: #1c5cab;
--radius: 10px;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #0f1115;
--surface: #161a20;
--block: #1b2027;
--ink: #f2f2f0;
--text: #e6e6e3;
--muted: #a3a29d;
--border: #2c323b;
--border-strong: #3a414c;
--accent-soft: #3a2418;
--bad: #ef6b6b;
--bad-soft: #3b1d1d;
--ok: #5cc28f;
--link: #86b6ef;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--bg: #0f1115;
--surface: #161a20;
--block: #1b2027;
--ink: #f2f2f0;
--text: #e6e6e3;
--muted: #a3a29d;
--border: #2c323b;
--border-strong: #3a414c;
--accent-soft: #3a2418;
--bad: #ef6b6b;
--bad-soft: #3b1d1d;
--ok: #5cc28f;
--link: #86b6ef;
color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
overflow-x: hidden;
}
a { color: var(--link); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 16px 16px 40px; }
.replay-note {
margin: 0 0 14px;
padding: 8px 12px;
border: 1px solid var(--border);
border-left: 3px solid var(--accent);
border-radius: 6px;
background: var(--surface);
font-size: 14px;
}
.intro h1 { font-size: 28px; line-height: 1.2; margin: 6px 0 8px; color: var(--ink); }
.intro p { margin: 0 0 10px; max-width: 72em; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 4px; }
.stat { flex: 1; min-width: 180px; padding: 12px; border-radius: var(--radius); border: 1px solid rgba(128, 128, 128, .3); }
.stat-value { font-size: 26px; font-weight: 700; color: var(--ink); }
.tabs { display: flex; gap: 4px; margin: 20px 0 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs button {
appearance: none; border: 1px solid transparent; border-bottom: none; background: none;
color: var(--muted); font: inherit; padding: 8px 14px; cursor: pointer; white-space: nowrap;
border-radius: 8px 8px 0 0; margin-bottom: -1px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--border); background: var(--bg); font-weight: 600; box-shadow: inset 0 2px 0 var(--accent); }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.panel { padding-top: 16px; }
.controls { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px; margin-bottom: 12px; }
.field { margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--block); min-width: 0; }
.field legend, .field-label { font-size: 13px; color: var(--muted); padding: 0; }
.radio-field legend { float: left; width: 100%; margin-bottom: 8px; }
.radios { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.radios label {
display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
border: 1px solid var(--border-strong); border-radius: 8px; cursor: pointer; background: var(--surface); font-size: 14px;
}
.radios label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.radios input { accent-color: var(--accent); margin: 0; }
.select-field { display: flex; flex-direction: column; gap: 8px; }
select {
width: 100%; min-width: 0; font: inherit; font-size: 14px; color: var(--text); background: var(--surface);
border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 10px;
}
select:focus-visible, .radios label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.inspect-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 12px; margin-bottom: 12px; }
.side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.block { border: 1px solid var(--border); border-radius: var(--radius); background: var(--block); padding: 10px 12px; min-width: 0; }
.block-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.plot { width: 100%; }
.plot-map { height: 520px; }
.plot-conv { height: 420px; }
.card h3 { margin: 2px 0 6px; font-size: 18px; color: var(--ink); }
.card p { margin: 0 0 8px; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin: 2px 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { border-collapse: collapse; width: 100%; font-size: 14px; }
table.data th, table.data td { border-bottom: 1px solid var(--border); padding: 6px 10px; text-align: left; vertical-align: top; }
table.data th { font-weight: 600; color: var(--ink); background: var(--surface); white-space: nowrap; }
table.data td:first-child { white-space: nowrap; }
table.data td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td.flag-bad { color: var(--bad); font-weight: 600; background: var(--bad-soft); }
td.flag-ok { color: var(--text); }
.flag-key { white-space: nowrap; }
.flag-key.bad { color: var(--bad); font-weight: 600; }
.flag-key.bad::before, td.flag-bad::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--bad); margin-right: 6px; vertical-align: 1px; }
.flag-key.ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; border: 1px solid var(--muted); margin-right: 6px; vertical-align: 1px; }
.caption { color: var(--muted); font-size: 14px; margin: 10px 0; }
.note { margin: 12px 0 0; max-width: 72em; }
.prose { max-width: 960px; }
.prose h3 { font-size: 22px; color: var(--ink); margin: 6px 0 10px; }
.prose h4 { font-size: 17px; color: var(--ink); margin: 22px 0 6px; }
.prose p, .prose li { max-width: 72em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose figure { margin: 18px 0 6px; padding: 10px; background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius); }
.prose figure img { display: block; width: 100%; height: auto; }
.prose code { font-size: 0.92em; background: var(--surface); padding: 1px 4px; border-radius: 4px; }
.foot { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.loading { color: var(--muted); padding: 20px 0; }
@media (max-width: 900px) {
.controls, .inspect-grid { grid-template-columns: minmax(0, 1fr); }
.plot-map { height: 460px; }
}
@media (max-width: 520px) {
body { font-size: 14px; }
.intro h1 { font-size: 23px; }
.stat-value { font-size: 21px; }
.plot-map { height: 400px; }
.plot-conv { height: 440px; }
.tabs { gap: 0; }
.tabs button { padding: 8px 7px; font-size: 13px; }
.plot-map { height: 520px; }
.card h3 { font-size: 17px; }
}