/* The site of home_sim (roadmap B41c): the ODS greys, plain and readable. */
:root {
    --bg: #2f3133;
    --panel: #3c3f41;
    --line: #55595c;
    --text: #e4e4e2;
    --muted: #a9aca8;
    --accent: #ebb04a;   /* the ODS orange, a little softer */
    --ok: #6fbf86;
    --bad: #e46a5a;
    --link: #9fc3e6;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.55 "B612", "Segoe UI", system-ui, sans-serif;
}
a { color: var(--link); }
header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 24px;
    padding: 12px 24px;
    background: #24262a;
    border-bottom: 1px solid var(--line);
}
header .brand { font-weight: bold; font-size: 20px; color: var(--accent); text-decoration: none; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
header nav a { color: var(--text); text-decoration: none; }
header nav a:hover, header nav a.here { color: var(--accent); }
main { max-width: 980px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 28px; margin: 8px 0 16px; }
h2 { font-size: 21px; margin: 32px 0 12px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
h3 { font-size: 17px; margin: 20px 0 8px; color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.card {
    display: block;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
    color: var(--text);
    text-decoration: none;
}
a.card:hover { border-color: var(--accent); }
.card strong { display: block; color: var(--accent); margin-bottom: 4px; font-size: 17px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin: 12px 0; }
.note { border-left: 4px solid var(--accent); background: #3a3830; padding: 10px 14px; margin: 14px 0; }
label { display: block; margin: 10px 0 4px; color: var(--muted); }
input[type=text], input[type=password], textarea, select {
    width: 100%;
    max-width: 520px;
    padding: 8px;
    background: #222427;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
}
textarea { min-height: 120px; max-width: 100%; }
button {
    margin-top: 10px;
    padding: 8px 16px;
    background: #4a4e52;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
    cursor: pointer;
}
button:hover { border-color: var(--accent); }
button.primary { background: #6b5527; border-color: var(--accent); }
.message { margin: 8px 0; min-height: 1.5em; }
.message.ok { color: var(--ok); }
.message.bad { color: var(--bad); }
table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: normal; }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 13px; background: #4a4e52; white-space: nowrap; }
.status.pending { background: #5a5236; }
.status.in_progress, .status.running { background: #2f5370; }
.status.integrated, .status.approved, .status.ended { background: #2f5a3d; }
.status.refused, .status.rejected, .status.failed { background: #6a3530; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.shots img { max-width: 260px; max-height: 160px; border: 1px solid var(--line); cursor: zoom-in; }
.empty { color: var(--muted); font-style: italic; }
kbd { background: #222427; border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; font-size: 14px; }
.toc { columns: 2 240px; }
footer { color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }
@media (max-width: 600px) {
    header { padding: 10px 16px; }
    h1 { font-size: 24px; }
}
