378 lines
5.7 KiB
CSS
378 lines
5.7 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #0f141a;
|
|
--panel: #171e26;
|
|
--panel-2: #202936;
|
|
--text: #eef3f8;
|
|
--muted: #9eabb8;
|
|
--line: #344050;
|
|
--primary: #5ba8ff;
|
|
--success: #47c78a;
|
|
--warning: #f0a53a;
|
|
--danger: #ef6461;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
a { color: var(--primary); }
|
|
|
|
.topbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem 2rem;
|
|
background: #0a0f14;
|
|
border-bottom: 1px solid var(--line);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 5;
|
|
}
|
|
|
|
.brand {
|
|
color: var(--text);
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
letter-spacing: .04em;
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--muted);
|
|
margin-left: .7rem;
|
|
}
|
|
|
|
.topbar nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.topbar nav a { text-decoration: none; }
|
|
.user { color: var(--muted); }
|
|
|
|
.container {
|
|
width: min(1400px, calc(100% - 2rem));
|
|
margin: 2rem auto 4rem;
|
|
}
|
|
|
|
.page-heading,
|
|
.detail-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
h1, h2, h3 { margin-top: 0; }
|
|
p { line-height: 1.55; }
|
|
|
|
.summary-badge,
|
|
.machine,
|
|
.severity,
|
|
.status {
|
|
display: inline-block;
|
|
border-radius: 999px;
|
|
padding: .35rem .7rem;
|
|
background: var(--panel-2);
|
|
font-size: .88rem;
|
|
}
|
|
|
|
.machine { font-weight: 800; }
|
|
|
|
.card-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.decision-card,
|
|
.decision-detail,
|
|
.login-card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.decision-card.severity-critical {
|
|
border-left: 5px solid var(--danger);
|
|
}
|
|
|
|
.decision-card.severity-warning {
|
|
border-left: 5px solid var(--warning);
|
|
}
|
|
|
|
.card-head,
|
|
.status-pair,
|
|
.status-stack {
|
|
display: flex;
|
|
gap: .5rem;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.question { font-size: 1.08rem; }
|
|
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: .75rem;
|
|
}
|
|
|
|
.facts div {
|
|
background: var(--panel-2);
|
|
border-radius: 10px;
|
|
padding: .7rem;
|
|
}
|
|
|
|
.facts dt {
|
|
color: var(--muted);
|
|
font-size: .8rem;
|
|
}
|
|
|
|
.facts dd { margin: .25rem 0 0; }
|
|
|
|
.button,
|
|
button {
|
|
border: 0;
|
|
border-radius: 9px;
|
|
padding: .72rem 1rem;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.primary {
|
|
background: var(--primary);
|
|
color: #06111f;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.link-button {
|
|
color: var(--primary);
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
.inline { display: inline; }
|
|
|
|
.alert {
|
|
padding: .9rem 1rem;
|
|
border-radius: 10px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.alert.error {
|
|
background: rgba(239, 100, 97, .16);
|
|
border: 1px solid var(--danger);
|
|
}
|
|
|
|
.alert.success {
|
|
background: rgba(71, 199, 138, .16);
|
|
border: 1px solid var(--success);
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 4rem 1rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.login-card {
|
|
max-width: 460px;
|
|
margin: 7rem auto;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
width: 100%;
|
|
margin-top: .4rem;
|
|
padding: .75rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: #0e151d;
|
|
color: var(--text);
|
|
font: inherit;
|
|
}
|
|
|
|
input[type="checkbox"],
|
|
input[type="radio"] {
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
fieldset {
|
|
margin: 1.25rem 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
legend {
|
|
padding: 0 .5rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.check-row,
|
|
.radio-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: .7rem;
|
|
margin: .65rem 0;
|
|
}
|
|
|
|
.help,
|
|
small { color: var(--muted); }
|
|
|
|
.timeline {
|
|
display: grid;
|
|
gap: .75rem;
|
|
}
|
|
|
|
.timeline-item {
|
|
display: grid;
|
|
grid-template-columns: 220px 1fr;
|
|
gap: 1rem;
|
|
background: var(--panel-2);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
border-left: 4px solid var(--warning);
|
|
}
|
|
|
|
.timeline-item.reviewed {
|
|
border-left-color: var(--success);
|
|
opacity: .82;
|
|
}
|
|
|
|
.timeline-time {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: .35rem;
|
|
}
|
|
|
|
.question-box {
|
|
background: var(--panel-2);
|
|
border-radius: 12px;
|
|
padding: 1rem;
|
|
margin: 1rem 0 1.5rem;
|
|
}
|
|
|
|
details {
|
|
margin: 1.5rem 0;
|
|
background: var(--panel-2);
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
details summary {
|
|
cursor: pointer;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.evidence-list article {
|
|
border-top: 1px solid var(--line);
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.review-form {
|
|
border-top: 1px solid var(--line);
|
|
margin-top: 2rem;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.confirmation {
|
|
background: rgba(240, 165, 58, .12);
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.table-wrap { overflow-x: auto; }
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--panel);
|
|
}
|
|
|
|
th, td {
|
|
padding: .75rem;
|
|
border-bottom: 1px solid var(--line);
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
th { color: var(--muted); }
|
|
.back { display: inline-block; margin-bottom: 1rem; }
|
|
|
|
@media (max-width: 760px) {
|
|
.topbar,
|
|
.page-heading,
|
|
.detail-heading {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.timeline-item {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.facts {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.card-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.secondary {
|
|
background: #52616f;
|
|
color: var(--text);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.danger-button {
|
|
background: var(--danger);
|
|
color: #160604;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.info-box,
|
|
.consultation-box {
|
|
background: rgba(91, 168, 255, .10);
|
|
border: 1px solid rgba(91, 168, 255, .35);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.consultation-box {
|
|
background: rgba(240, 165, 58, .10);
|
|
border-color: rgba(240, 165, 58, .35);
|
|
}
|
|
|
|
.consultation-form {
|
|
border-color: rgba(240, 165, 58, .45);
|
|
}
|
|
|
|
.compact-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.topbar nav {
|
|
flex-wrap: wrap;
|
|
}
|