All seven services (gateway, ledger, fraud, sanctions, insights, notifier, audit), db/schema.sql plus optional_indexes.sql, scripts/seed.py and smoke.py, the gateway-served frontend, and docker-compose.yml. Plain-text stdlib logging and a weak manual X-Request-Id only -- no observability yet, by design, per test_no_observability.py. Implements all 13 named chaos-flag pathologies from docs/PATHOLOGIES.md behind Redis-backed runtime flags. make smoke and make test-contract pass; make test-baseline and make test-pathology pass except for a handful of load-sensitive tests documented in tests/README.md rather than papered over.
185 lines
2.7 KiB
CSS
185 lines
2.7 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #0f1117;
|
|
--panel: #171a23;
|
|
--border: #2a2e3a;
|
|
--text: #d8dce6;
|
|
--muted: #7b8296;
|
|
--accent: #5fd0a8;
|
|
--danger: #e0685f;
|
|
--mono: "SF Mono", "Fira Code", Consolas, monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--mono);
|
|
margin: 0;
|
|
padding: 0 1.5rem 3rem;
|
|
}
|
|
|
|
header {
|
|
padding: 2rem 0 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
font-size: 1.6rem;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.tagline {
|
|
color: var(--muted);
|
|
margin: 0.25rem 0 0;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
section {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
section h2 {
|
|
margin-top: 0;
|
|
font-size: 1rem;
|
|
color: var(--accent);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.6rem;
|
|
font-size: 0.85rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
input, select, button {
|
|
font-family: var(--mono);
|
|
background: #0c0e13;
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
padding: 0.4rem 0.5rem;
|
|
margin-top: 0.2rem;
|
|
width: 100%;
|
|
}
|
|
|
|
fieldset {
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
|
|
fieldset label {
|
|
display: inline-block;
|
|
width: auto;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
background: var(--accent);
|
|
color: #0c0e13;
|
|
font-weight: 600;
|
|
border: none;
|
|
margin-top: 0.5rem;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
button:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
#chaos-profiles {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
#chaos-profiles button {
|
|
width: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
pre#result-json {
|
|
background: #0c0e13;
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
padding: 0.75rem;
|
|
overflow-x: auto;
|
|
font-size: 0.8rem;
|
|
max-height: 260px;
|
|
}
|
|
|
|
code {
|
|
background: #0c0e13;
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 3px;
|
|
user-select: all;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 0.75rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
th, td {
|
|
border: 1px solid var(--border);
|
|
padding: 0.35rem 0.5rem;
|
|
text-align: right;
|
|
}
|
|
|
|
th:first-child, td:first-child {
|
|
text-align: left;
|
|
}
|
|
|
|
#chaos-flags label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
#chaos-flags input {
|
|
width: auto;
|
|
}
|
|
|
|
#health-strip {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dot {
|
|
border-radius: 999px;
|
|
padding: 0.25rem 0.6rem;
|
|
font-size: 0.75rem;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.dot.green {
|
|
color: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.dot.red {
|
|
color: var(--danger);
|
|
border-color: var(--danger);
|
|
}
|