Bundle CAD dashboard and keep verification status current

This commit is contained in:
gagushin committed 2026-11-21 21:40:06 +04:00
1 parent 449418d00f
commit b4ef20db39
10 files changed
+89 -15

No files matched your search

@@ -0,0 +1,93 @@
:root {
color-scheme: dark;
--ground: #141820;
--header: #18202b;
--surface: #1b2330;
--raised: #222c3b;
--line: #354151;
--ink: #edf1f7;
--muted: #aab7c9;
--signal: #97caff;
--analysis: #97caff;
--model: #cbb8fb;
--verification: #81dcce;
--decision: #f2c68e;
--closed: #abceac;
--alert: #ffada5;
--mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.5 system-ui, sans-serif; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--ground); }
.wrap { width: min(100%, 1560px); margin-inline: auto; padding-inline: clamp(16px, 3.2vw, 48px); }
.top { background: var(--header); border-bottom: 1px solid var(--line); }
.top-inner, .brand, .board-head, .detail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-inner { min-height: 84px; }
.brand { justify-content: flex-start; gap: 13px; }
.brand svg { flex: none; color: var(--signal); }
h1 { font-size: 21px; line-height: 1.18; letter-spacing: -.025em; }
.brand p, .activity p, .board-head p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.read-only { color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; text-align: center; }
main { padding-block: 24px 64px; }
.activity { display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 12px 28px; align-items: center; background: var(--header); border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; margin-bottom: 29px; }
.activity h2 { font-size: 15px; font-weight: 650; }
.activity-data { min-width: 0; }
.agents { display: flex; gap: 7px; flex-wrap: wrap; list-style: none; padding: 0; }
.agents:not(:empty) { margin-top: 7px; }
.agent { display: inline-flex; align-items: center; gap: 8px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 13px; }
.dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--verification); }
.board-head { align-items: end; flex-wrap: wrap; margin-bottom: 13px; }
.board-head h2, .detail-head h2 { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.18; letter-spacing: -.025em; overflow-wrap: anywhere; }
.notice { background: var(--header); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); padding: 10px 14px; margin-bottom: 12px; }
.warning { color: var(--alert) !important; }
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.lane { --stage: var(--analysis); min-width: 0; }
.lane.model { --stage: var(--model); }
.lane.verify { --stage: var(--verification); }
.lane.decision { --stage: var(--decision); }
.lane.closed { --stage: var(--closed); }
.lane h3 { display: flex; align-items: center; gap: 8px; color: var(--stage); font-size: 13px; font-weight: 650; padding: 10px 2px; border-top: 1px solid var(--stage); margin-bottom: 4px; }
.lane-count, .ident { font: 12px/1.4 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.lane-count { margin-left: auto; }
.card-list { display: grid; gap: 8px; list-style: none; padding: 0; }
.card-empty { color: var(--muted); padding: 8px 2px; font-size: 13px; }
.card { min-width: 0; width: 100%; display: grid; gap: 7px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; overflow-wrap: anywhere; }
.card:hover, .card[aria-expanded="true"] { background: var(--raised); border-color: var(--stage); }
.card-title { font-weight: 650; line-height: 1.35; }
.card-status { color: var(--stage); font-size: 13px; }
.card-revision { color: var(--muted); font-size: 12px; }
.detail { scroll-margin-top: 12px; margin-top: 24px; padding: clamp(14px, 2vw, 24px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.detail-head { align-items: start; margin-bottom: 16px; }
.detail-head .ident { margin-bottom: 5px; }
.quiet { background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.quiet:hover { background: var(--raised); }
.detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-fields > div { padding-block: 8px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
dt { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.table-note { display: none; color: var(--muted); font-size: 13px; margin: 8px 0 12px; }
.detail h3 { font-size: 16px; }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; }
.table-wrap:focus-visible { outline-offset: -2px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; min-width: 95px; }
th { color: var(--muted); font-weight: 600; }
summary { color: var(--signal); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.55 var(--mono); }
@media (max-width: 1080px) {
.board { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 680px) {
.activity { grid-template-columns: 1fr; gap: 8px; }
.board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.table-note { display: block; }
th, td { min-width: 114px; }
}
@media (max-width: 440px) {
.board, .detail-fields { grid-template-columns: 1fr; }
.top-inner { min-height: 72px; }
}