feature: Core Digitization Workstation (Entry, Verification, Approval)
CI / backend (push) Successful in 6m11s
CI / frontend (push) Failing after 1m7s

This commit is contained in:
2026-08-12 04:22:25 +08:00
parent 9811f2a2ed
commit 5caf928787
16 changed files with 2077 additions and 905 deletions
+61
View File
@@ -79,6 +79,67 @@
@apply grid grid-cols-1 lg:grid-cols-2 gap-4 lg:gap-8
h-auto lg:flex-1 lg:min-h-0 min-h-0;
}
/* Phase 16 workstation: scan-first split (≥1280px / xl) */
.workstation-split {
@apply grid grid-cols-1 gap-0
h-auto xl:flex-1 xl:min-h-0 min-h-0
xl:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)];
}
.workstation-split:not(.workstation-split--no-rail) {
@apply xl:grid-cols-[minmax(160px,0.2fr)_minmax(0,0.42fr)_minmax(0,0.38fr)];
}
.workstation-rail {
@apply flex flex-col min-h-0 overflow-hidden bg-surface;
}
.workstation-scan {
@apply flex flex-col min-h-[40vh] xl:min-h-0 p-3 xl:p-4 bg-canvas border-b xl:border-b-0 xl:border-r border-line;
}
.workstation-form {
@apply flex flex-col min-h-0 overflow-hidden bg-surface;
}
.workstation-form-section {
@apply border border-line rounded-input p-3;
}
.workstation-form-legend {
@apply text-xs font-semibold uppercase tracking-wide text-ink-secondary px-1;
}
.workstation-field-label {
@apply flex items-center gap-1.5 text-xs text-ink-secondary mb-1;
}
/* Design-doc §34 evidence hierarchy */
.evidence-level {
@apply flex items-center gap-2 text-[10px] font-semibold uppercase tracking-wider text-ink-secondary mb-2 shrink-0;
}
.evidence-level-mark {
@apply inline-flex h-4 w-4 items-center justify-center rounded-full text-[9px] font-bold leading-none;
}
.evidence-level--1 .evidence-level-mark {
@apply bg-navy text-white;
}
.evidence-level--2 .evidence-level-mark {
@apply bg-primary-600 text-white;
}
.evidence-level--3 .evidence-level-mark {
@apply bg-ink-secondary text-white;
}
.evidence-level--4 .evidence-level-mark {
@apply bg-clinical-safe text-white;
}
.evidence-level--5 .evidence-level-mark {
@apply bg-clinical-safe text-white ring-2 ring-clinical-safe-bg;
}
.clinical-signal {
@apply rounded-input border border-[#FEDF89] bg-clinical-warning-bg px-3 py-2 text-sm;
}
.clinical-signal--critical {
@apply border-[#FECDCA] bg-clinical-danger-bg;
}
.approval-frame {
@apply border-l-[3px] border-l-navy;
}
.promotion-outcome {
@apply rounded-input border border-[#ABEFC6] bg-clinical-safe-bg p-4 text-sm;
}
.nav-link {
@apply text-sm text-ink-secondary hover:text-ink-strong transition-colors;
}