- 证据接口与 CSV/XLSX 导出去掉 NUMERIC(44,24) 存储尺度尾零(无损精度) - KPI 大金额折行截断:字号收紧 + nowrap + 省略号兜底 - 贡献分解/走势图表轴标签重叠与 Y 轴裁剪:hideOverlap + 万/亿缩写 - 表格隐藏全不可用指标列,空态改为条件渲染(修复空表覆盖层残留) - 数据质量与字段字典/导入确认的中文标签映射(不再暴露内部键名) - 证据弹窗重复点击当前期间停在加载中(F03);证据表格最小宽度 - Playwright 覆盖 F03 重复点击与期间切换场景
1580 lines
26 KiB
CSS
1580 lines
26 KiB
CSS
@import url("ag-grid-community/styles/ag-grid.css");
|
|
:root {
|
|
font-family:
|
|
Inter,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
"PingFang SC",
|
|
"Microsoft YaHei",
|
|
sans-serif;
|
|
color: #26362f;
|
|
background: #f7f9f8;
|
|
font-synthesis: none;
|
|
font-size: 14px;
|
|
letter-spacing: 0;
|
|
--green: #166c5d;
|
|
--muted: #77847d;
|
|
--line: #e1e7e3;
|
|
--red: #bd524a;
|
|
--blue: #347fac;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
border: 1px solid #dbe3de;
|
|
background: white;
|
|
border-radius: 5px;
|
|
padding: 8px 12px;
|
|
color: #35483e;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
min-height: 35px;
|
|
}
|
|
button:hover {
|
|
background: #f0f5f2;
|
|
border-color: #a3bdb0;
|
|
}
|
|
button:disabled {
|
|
opacity: 0.48;
|
|
cursor: not-allowed;
|
|
}
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible,
|
|
a:focus-visible {
|
|
outline: 3px solid #76adcc;
|
|
outline-offset: 2px;
|
|
}
|
|
button svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
flex-shrink: 0;
|
|
}
|
|
button.primary {
|
|
background: var(--green);
|
|
border-color: var(--green);
|
|
color: white;
|
|
}
|
|
button.primary:hover {
|
|
background: #115448;
|
|
}
|
|
.icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
min-height: 34px;
|
|
padding: 7px;
|
|
flex: none;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
}
|
|
.icon:hover {
|
|
background: #e9f1ec;
|
|
}
|
|
.icon svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
input,
|
|
select,
|
|
textarea {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
border: 1px solid #dce4df;
|
|
border-radius: 4px;
|
|
padding: 8px 10px;
|
|
background: white;
|
|
color: #293e33;
|
|
min-height: 36px;
|
|
}
|
|
input[type="checkbox"] {
|
|
min-height: auto;
|
|
width: 15px;
|
|
height: 15px;
|
|
accent-color: var(--green);
|
|
}
|
|
textarea {
|
|
resize: vertical;
|
|
min-height: 74px;
|
|
}
|
|
label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
font-size: 12px;
|
|
color: #607169;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
h1 {
|
|
font-size: 27px;
|
|
line-height: 1.3;
|
|
font-weight: 650;
|
|
margin-bottom: 9px;
|
|
}
|
|
h2 {
|
|
font-size: 17px;
|
|
line-height: 1.4;
|
|
font-weight: 650;
|
|
}
|
|
h3 {
|
|
font-size: 15px;
|
|
line-height: 1.4;
|
|
margin: 22px 0 13px;
|
|
}
|
|
small {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
code {
|
|
font-family: ui-monospace, SFMono-Regular, monospace;
|
|
font-size: 11px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
.positive {
|
|
color: #238272;
|
|
}
|
|
.negative {
|
|
color: var(--red);
|
|
}
|
|
.eyebrow {
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
color: #7e9387;
|
|
margin-bottom: 11px;
|
|
}
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 4px;
|
|
background: #edf4f0;
|
|
color: #367a5a;
|
|
font-size: 11px;
|
|
padding: 4px 8px;
|
|
white-space: nowrap;
|
|
}
|
|
.tag.danger {
|
|
background: #fcedea;
|
|
color: #b65246;
|
|
}
|
|
.app {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
.sidebar {
|
|
width: 218px;
|
|
flex: none;
|
|
background: #fff;
|
|
border-right: 1px solid var(--line);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
inset: 0 auto 0 0;
|
|
z-index: 25;
|
|
}
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 28px 23px 26px;
|
|
font-size: 24px;
|
|
font-weight: 730;
|
|
}
|
|
.brand-symbol {
|
|
width: 32px;
|
|
height: 36px;
|
|
background: var(--green);
|
|
border-radius: 7px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: white;
|
|
}
|
|
.brand-symbol svg {
|
|
width: 22px;
|
|
}
|
|
.brand-iq {
|
|
color: var(--green);
|
|
}
|
|
.brand small {
|
|
display: block;
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
margin-top: 2px;
|
|
}
|
|
.organization {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 14px 0;
|
|
margin: 0 19px 22px;
|
|
border-block: 1px solid var(--line);
|
|
font-size: 12px;
|
|
font-weight: 550;
|
|
}
|
|
.organization small {
|
|
display: block;
|
|
margin-top: 4px;
|
|
font-weight: 400;
|
|
}
|
|
.org-avatar {
|
|
background: #eef2ef;
|
|
border: 1px solid #dce5df;
|
|
width: 30px;
|
|
height: 32px;
|
|
border-radius: 4px;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 12px;
|
|
color: #4f6859;
|
|
flex: none;
|
|
}
|
|
.nav-heading {
|
|
font-size: 10px;
|
|
color: #8f9a93;
|
|
padding: 0 25px;
|
|
margin: 0 0 10px;
|
|
}
|
|
.sidebar nav {
|
|
display: grid;
|
|
gap: 5px;
|
|
padding: 0 12px 26px;
|
|
}
|
|
.sidebar nav button {
|
|
justify-content: flex-start;
|
|
border: 0;
|
|
border-radius: 5px;
|
|
min-height: 42px;
|
|
background: none;
|
|
color: #66756b;
|
|
padding-left: 13px;
|
|
font-size: 13px;
|
|
}
|
|
.sidebar nav button svg {
|
|
width: 17px;
|
|
margin-right: 4px;
|
|
}
|
|
.sidebar nav button.active {
|
|
color: var(--green);
|
|
background: #eaf3ee;
|
|
font-weight: 600;
|
|
}
|
|
.nav-count {
|
|
margin-left: auto;
|
|
background: #d9e9df;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 10px;
|
|
}
|
|
.sidebar-bottom {
|
|
margin: auto 22px 22px;
|
|
display: flex;
|
|
gap: 9px;
|
|
align-items: center;
|
|
color: #758b7c;
|
|
font-size: 11px;
|
|
}
|
|
.sidebar-bottom svg {
|
|
width: 17px;
|
|
}
|
|
.sidebar-bottom small {
|
|
display: block;
|
|
margin-top: 3px;
|
|
font-size: 10px;
|
|
}
|
|
.user {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 17px 18px;
|
|
gap: 9px;
|
|
border-top: 1px solid var(--line);
|
|
font-size: 12px;
|
|
}
|
|
.user small {
|
|
display: block;
|
|
margin-top: 3px;
|
|
}
|
|
.user .icon {
|
|
margin-left: auto;
|
|
}
|
|
.avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 31px;
|
|
height: 31px;
|
|
border-radius: 50%;
|
|
background: #e2ebe5;
|
|
color: #53705e;
|
|
}
|
|
.workspace {
|
|
margin-left: 218px;
|
|
min-width: 0;
|
|
width: calc(100% - 218px);
|
|
}
|
|
.topbar {
|
|
height: 64px;
|
|
background: #fff;
|
|
border-bottom: 1px solid var(--line);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 32px;
|
|
font-size: 12px;
|
|
}
|
|
.topbar-left,
|
|
.topbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 13px;
|
|
}
|
|
.topbar-left > svg {
|
|
width: 12px;
|
|
color: #9eaaa2;
|
|
}
|
|
.connection {
|
|
font-size: 11px;
|
|
color: #7c8e82;
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
margin-right: 6px;
|
|
}
|
|
.connection i {
|
|
width: 5px;
|
|
height: 5px;
|
|
background: #53a581;
|
|
border-radius: 50%;
|
|
}
|
|
.mobile-menu {
|
|
display: none;
|
|
}
|
|
.workspace main {
|
|
max-width: 1780px;
|
|
margin: auto;
|
|
padding: 30px 32px 12px;
|
|
}
|
|
.page-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.page-heading p {
|
|
font-size: 11px;
|
|
color: #7d8d82;
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.heading-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.heading-actions .primary {
|
|
font-size: 12px;
|
|
padding: 10px 14px;
|
|
}
|
|
.filters {
|
|
display: flex;
|
|
align-items: end;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
padding-bottom: 23px;
|
|
border-bottom: 1px solid var(--line);
|
|
margin-bottom: 24px;
|
|
}
|
|
.filters label {
|
|
font-size: 10px;
|
|
gap: 6px;
|
|
}
|
|
.filters select {
|
|
max-width: 270px;
|
|
font-size: 12px;
|
|
}
|
|
.filters input {
|
|
font-size: 12px;
|
|
width: 145px;
|
|
}
|
|
.segmented {
|
|
display: inline-flex;
|
|
padding: 3px;
|
|
background: #eaf0ec;
|
|
border-radius: 5px;
|
|
gap: 2px;
|
|
height: 36px;
|
|
}
|
|
.segmented button {
|
|
min-height: 28px;
|
|
padding: 4px 14px;
|
|
background: transparent;
|
|
font-size: 12px;
|
|
border: 0;
|
|
}
|
|
.segmented button.active {
|
|
background: white;
|
|
color: var(--green);
|
|
box-shadow: 0 1px 3px #26382b13;
|
|
}
|
|
.filters > .icon {
|
|
margin-left: auto;
|
|
}
|
|
.source-strip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 0 0 18px;
|
|
margin-bottom: 20px;
|
|
font-size: 12px;
|
|
}
|
|
.source-strip > svg {
|
|
color: #387859;
|
|
width: 24px;
|
|
flex: none;
|
|
}
|
|
.source-strip > div {
|
|
flex: 1;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.source-strip small {
|
|
display: block;
|
|
margin-top: 5px;
|
|
}
|
|
.source-strip button {
|
|
font-size: 11px;
|
|
}
|
|
.kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
margin: 0 0 26px;
|
|
border: 1px solid var(--line);
|
|
background: white;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
.kpi {
|
|
border: 0;
|
|
border-right: 1px solid var(--line);
|
|
border-radius: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 18px 16px 14px;
|
|
gap: 16px;
|
|
background: white;
|
|
min-width: 0;
|
|
position: relative;
|
|
}
|
|
.kpi:last-child {
|
|
border: 0;
|
|
}
|
|
.kpi.selected:before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: var(--green);
|
|
}
|
|
.kpi > span:first-child {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
color: #677c6e;
|
|
}
|
|
.kpi strong {
|
|
text-align: left;
|
|
font-size: 21px;
|
|
line-height: 1.25;
|
|
font-weight: 620;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.kpi-bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
}
|
|
.kpi-bottom > span {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
gap: 3px;
|
|
}
|
|
.kpi-bottom svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.kpi-bottom small {
|
|
font-size: 10px;
|
|
}
|
|
.chart-band {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
|
|
border-bottom: 1px solid var(--line);
|
|
margin-bottom: 25px;
|
|
gap: 28px;
|
|
}
|
|
.chart-band section + section {
|
|
border-left: 1px solid var(--line);
|
|
padding-left: 24px;
|
|
}
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
.section-heading h2 {
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 15px;
|
|
}
|
|
.section-heading > span {
|
|
color: #8c9b91;
|
|
font-size: 10px;
|
|
}
|
|
.chart {
|
|
height: 275px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.table-scroll {
|
|
overflow: auto;
|
|
max-width: 100%;
|
|
}
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
}
|
|
th {
|
|
text-align: left;
|
|
color: #6c7f71;
|
|
font-size: 11px;
|
|
font-weight: 550;
|
|
background: #f1f5f2;
|
|
}
|
|
th,
|
|
td {
|
|
border-bottom: 1px solid #e9eeea;
|
|
padding: 12px 14px;
|
|
vertical-align: middle;
|
|
}
|
|
td {
|
|
color: #4b5e51;
|
|
}
|
|
td small {
|
|
display: block;
|
|
margin-top: 4px;
|
|
}
|
|
td.description {
|
|
max-width: 260px;
|
|
white-space: normal;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
}
|
|
.heatmap-section {
|
|
margin-bottom: 27px;
|
|
}
|
|
.heatmap th:first-child {
|
|
width: 23%;
|
|
}
|
|
.heatmap td {
|
|
padding: 5px 9px;
|
|
text-align: center;
|
|
}
|
|
.heatmap th:not(:first-child) {
|
|
text-align: center;
|
|
}
|
|
.heatmap tbody th {
|
|
background: transparent;
|
|
color: #4d6153;
|
|
font-size: 12px;
|
|
}
|
|
.heatmap button {
|
|
width: 100%;
|
|
border: 0;
|
|
min-height: 30px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.heat-negative {
|
|
background: #f9e9e5;
|
|
color: #b25147;
|
|
}
|
|
.heat-positive {
|
|
background: #e5f1ea;
|
|
color: #357956;
|
|
}
|
|
.heatmap .neutral {
|
|
color: #99a79d;
|
|
background: #eef2ef;
|
|
}
|
|
.count {
|
|
font-size: 10px;
|
|
background: #e8eeea;
|
|
border-radius: 4px;
|
|
padding: 3px 6px;
|
|
color: #728579;
|
|
}
|
|
.table-tools {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.search-input {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
.search-input svg {
|
|
position: absolute;
|
|
left: 10px;
|
|
width: 13px;
|
|
color: #8a9a8f;
|
|
}
|
|
.search-input input {
|
|
font-size: 11px;
|
|
padding-left: 30px;
|
|
width: 185px;
|
|
min-height: 32px;
|
|
}
|
|
.grid-layout {
|
|
display: flex;
|
|
min-width: 0;
|
|
background: white;
|
|
}
|
|
.grid {
|
|
height: 400px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.row-label {
|
|
border: 0;
|
|
padding: 0;
|
|
min-height: 30px;
|
|
background: none;
|
|
font-size: 12px;
|
|
justify-content: flex-start;
|
|
color: #3d5747;
|
|
}
|
|
.signal {
|
|
width: 5px;
|
|
height: 5px;
|
|
background: #c86657;
|
|
border-radius: 50%;
|
|
flex: none;
|
|
}
|
|
.row-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
.row-actions .icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
min-height: 28px;
|
|
border: 1px solid #e0e7e2;
|
|
border-radius: 4px;
|
|
}
|
|
.row-actions svg {
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
.metric-column {
|
|
font-weight: 600;
|
|
}
|
|
.explanation {
|
|
width: 260px;
|
|
flex: none;
|
|
padding: 15px 18px;
|
|
border: 1px solid var(--line);
|
|
border-left: 0;
|
|
font-size: 12px;
|
|
}
|
|
.explanation h3 {
|
|
font-size: 18px;
|
|
margin: 14px 0 12px;
|
|
}
|
|
.explanation > strong {
|
|
font-size: 23px;
|
|
display: block;
|
|
margin-bottom: 13px;
|
|
}
|
|
.explanation p {
|
|
font-size: 11px;
|
|
}
|
|
.explanation dl {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 13px;
|
|
font-size: 11px;
|
|
padding-block: 15px;
|
|
border-block: 1px solid var(--line);
|
|
}
|
|
.explanation dt {
|
|
color: #7d8c82;
|
|
}
|
|
.explanation dd {
|
|
margin: 0;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.explanation > button {
|
|
width: 100%;
|
|
font-size: 11px;
|
|
margin-top: 8px;
|
|
}
|
|
.analysis-footnote {
|
|
display: flex;
|
|
align-items: start;
|
|
gap: 7px;
|
|
font-size: 10px;
|
|
color: #91a095;
|
|
margin: 18px 0;
|
|
}
|
|
.analysis-footnote svg {
|
|
width: 13px;
|
|
height: 13px;
|
|
flex: none;
|
|
}
|
|
.app-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-top: 1px solid var(--line);
|
|
margin: 16px 32px 0;
|
|
padding: 16px 0 20px;
|
|
font-size: 10px;
|
|
color: #97a49c;
|
|
}
|
|
.app-footer span:first-child {
|
|
font-weight: 600;
|
|
color: #7b8f80;
|
|
}
|
|
.banner {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.error {
|
|
background: #fff0ee;
|
|
color: #a43932;
|
|
padding: 12px 15px;
|
|
font-size: 12px;
|
|
border-radius: 4px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.notice {
|
|
background: #fff7dc;
|
|
color: #856629;
|
|
font-size: 12px;
|
|
padding: 13px 16px;
|
|
border-left: 3px solid #caaa50;
|
|
margin-bottom: 22px;
|
|
}
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 420px;
|
|
gap: 20px;
|
|
color: #90a194;
|
|
}
|
|
.empty-state h2 {
|
|
color: #4c6355;
|
|
}
|
|
.empty,
|
|
.loading {
|
|
text-align: center;
|
|
padding: 24px;
|
|
color: #71897a;
|
|
}
|
|
.loading {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
.loading svg {
|
|
width: 18px;
|
|
animation: spin 2s linear infinite;
|
|
}
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
.breadcrumbs {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.breadcrumbs > span {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.breadcrumbs svg {
|
|
width: 12px;
|
|
color: #9bad9e;
|
|
}
|
|
.breadcrumbs button {
|
|
border: 0;
|
|
background: none;
|
|
padding: 4px 7px;
|
|
font-size: 12px;
|
|
min-height: 28px;
|
|
}
|
|
.breadcrumbs button:disabled {
|
|
opacity: 1;
|
|
color: #1b7761;
|
|
font-weight: 600;
|
|
}
|
|
.investigation-band {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
|
|
gap: 30px;
|
|
border-bottom: 1px solid var(--line);
|
|
padding-bottom: 24px;
|
|
margin-bottom: 25px;
|
|
}
|
|
.investigation-summary {
|
|
border-left: 1px solid var(--line);
|
|
padding-left: 25px;
|
|
font-size: 12px;
|
|
}
|
|
.investigation-summary label {
|
|
margin: 12px 0;
|
|
}
|
|
.investigation-summary h2 {
|
|
font-size: 18px;
|
|
}
|
|
.investigation-summary p {
|
|
line-height: 1.7;
|
|
}
|
|
.investigation-summary textarea {
|
|
min-height: 55px;
|
|
}
|
|
.anomaly-intro {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin: 28px 0;
|
|
padding: 0 0 24px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.anomaly-intro > svg {
|
|
width: 27px;
|
|
color: #be7562;
|
|
}
|
|
.anomaly-intro h2 {
|
|
margin-bottom: 8px;
|
|
}
|
|
.anomaly-intro p {
|
|
margin: 0;
|
|
color: #88948b;
|
|
font-size: 12px;
|
|
}
|
|
.data-section h3 {
|
|
margin-top: 30px;
|
|
}
|
|
.inline-icon {
|
|
width: 15px;
|
|
height: 15px;
|
|
vertical-align: middle;
|
|
margin-right: 8px;
|
|
color: #558667;
|
|
}
|
|
.quality-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 22px;
|
|
}
|
|
.quality-list span {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 12px;
|
|
border-bottom: 1px solid var(--line);
|
|
font-size: 12px;
|
|
color: #7c8c81;
|
|
}
|
|
.quality-list strong {
|
|
color: #4d6957;
|
|
}
|
|
dialog {
|
|
position: fixed;
|
|
z-index: 40;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
width: min(700px, calc(100% - 30px));
|
|
max-height: 90dvh;
|
|
padding: 0;
|
|
color: inherit;
|
|
box-shadow: 0 25px 80px #152a2430;
|
|
}
|
|
dialog.wide {
|
|
width: min(1100px, calc(100% - 30px));
|
|
}
|
|
dialog::backdrop {
|
|
background: #162c2460;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
dialog > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 17px 23px;
|
|
border-bottom: 1px solid var(--line);
|
|
position: sticky;
|
|
top: 0;
|
|
background: white;
|
|
z-index: 3;
|
|
}
|
|
dialog header h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
}
|
|
.dialog-body {
|
|
padding: 23px;
|
|
}
|
|
.dialog-body table input {
|
|
width: 145px;
|
|
}
|
|
.dialog-body table select {
|
|
min-width: 130px;
|
|
}
|
|
.dialog-body summary {
|
|
cursor: pointer;
|
|
margin: 16px 0;
|
|
font-size: 12px;
|
|
color: #5f7969;
|
|
}
|
|
dialog footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
position: sticky;
|
|
bottom: 0;
|
|
background: white;
|
|
border-top: 1px solid var(--line);
|
|
padding: 15px 23px;
|
|
}
|
|
dialog footer > span {
|
|
margin-right: auto;
|
|
font-size: 12px;
|
|
}
|
|
.source-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 22px;
|
|
font-size: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.source-meta strong {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.source-meta code {
|
|
margin-left: auto;
|
|
color: #90a395;
|
|
}
|
|
.form-row {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: end;
|
|
flex-wrap: wrap;
|
|
margin: 18px 0;
|
|
}
|
|
.form-row label {
|
|
flex: 1;
|
|
min-width: 130px;
|
|
}
|
|
.settings-layout {
|
|
display: grid;
|
|
grid-template-columns: 1.6fr 1fr;
|
|
gap: 32px;
|
|
}
|
|
.settings-layout h3:first-child {
|
|
margin-top: 0;
|
|
}
|
|
.settings-preview {
|
|
border-left: 1px solid var(--line);
|
|
padding: 15px 0 15px 28px;
|
|
line-height: 1.9;
|
|
color: #607b69;
|
|
}
|
|
.settings-preview strong {
|
|
font-size: 21px;
|
|
font-weight: 550;
|
|
}
|
|
.settings-preview hr {
|
|
border: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
margin: 25px 0;
|
|
}
|
|
.settings-preview .tag {
|
|
margin-right: 8px;
|
|
}
|
|
.hierarchy {
|
|
list-style: none;
|
|
padding: 0;
|
|
counter-reset: level;
|
|
}
|
|
.hierarchy li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 5px 8px;
|
|
border-bottom: 1px solid var(--line);
|
|
counter-increment: level;
|
|
font-size: 12px;
|
|
}
|
|
.hierarchy li:before {
|
|
content: counter(level);
|
|
width: 20px;
|
|
color: #9aafa0;
|
|
}
|
|
.hierarchy li > span {
|
|
flex: 1;
|
|
}
|
|
.check {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-right: 18px;
|
|
line-height: 1.5;
|
|
}
|
|
.copilot-launch {
|
|
position: fixed;
|
|
right: 27px;
|
|
bottom: 23px;
|
|
background: #1d584a;
|
|
color: white;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
padding: 13px 20px;
|
|
box-shadow: 0 5px 25px #183d3b25;
|
|
z-index: 30;
|
|
font-size: 12px;
|
|
}
|
|
.copilot-launch:hover {
|
|
background: #174b3e;
|
|
}
|
|
.copilot {
|
|
position: fixed;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
width: 375px;
|
|
height: min(690px, calc(100dvh - 95px));
|
|
background: white;
|
|
border: 1px solid #c8d8cc;
|
|
box-shadow: 0 12px 50px #183c3225;
|
|
border-radius: 8px;
|
|
z-index: 35;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.copilot header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 17px 18px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.copilot header small {
|
|
display: block;
|
|
margin-top: 5px;
|
|
}
|
|
.chat-messages {
|
|
flex: 1;
|
|
overflow: auto;
|
|
padding: 18px;
|
|
}
|
|
.dialog-body .chat-messages p {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.context-tag {
|
|
font-size: 10px;
|
|
background: #eef4f0;
|
|
color: #7b9282;
|
|
padding: 8px;
|
|
}
|
|
.suggestion {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
margin-bottom: 7px;
|
|
}
|
|
.message {
|
|
padding-block: 10px;
|
|
border-top: 1px solid var(--line);
|
|
font-size: 12px;
|
|
line-height: 1.9;
|
|
}
|
|
.message p {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.message .question {
|
|
background: #e9f2ec;
|
|
padding: 10px 12px;
|
|
border-radius: 5px;
|
|
margin-left: 25px;
|
|
}
|
|
.message > button {
|
|
font-size: 11px;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
.copilot form {
|
|
padding: 14px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
.copilot .check {
|
|
font-size: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.chat-input {
|
|
display: flex;
|
|
gap: 5px;
|
|
}
|
|
.chat-input input {
|
|
flex: 1;
|
|
}
|
|
.fatal {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
flex-direction: column;
|
|
}
|
|
.login {
|
|
min-height: 100dvh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
background: #f3f6f3;
|
|
}
|
|
.login-brand {
|
|
font-size: 29px;
|
|
font-weight: 650;
|
|
color: #23694e;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 35px;
|
|
}
|
|
.login-brand svg {
|
|
width: 29px;
|
|
}
|
|
.login form {
|
|
width: min(380px, calc(100% - 40px));
|
|
padding: 0;
|
|
}
|
|
.login h1 {
|
|
font-size: 24px;
|
|
margin: 0 0 28px;
|
|
}
|
|
.login label {
|
|
margin-bottom: 19px;
|
|
}
|
|
.login input {
|
|
height: 44px;
|
|
}
|
|
.login form > .primary {
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
height: 44px;
|
|
justify-content: space-between;
|
|
}
|
|
.login-footer {
|
|
font-size: 10px;
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
color: #8fa194;
|
|
margin: 37px 0;
|
|
}
|
|
.login-footer svg {
|
|
width: 13px;
|
|
}
|
|
details {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
@media (min-width: 1600px) {
|
|
.workspace main {
|
|
padding-inline: 42px;
|
|
}
|
|
.kpi strong {
|
|
font-size: 28px;
|
|
}
|
|
.chart {
|
|
height: 300px;
|
|
}
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.sidebar {
|
|
width: 185px;
|
|
}
|
|
.brand {
|
|
padding-left: 18px;
|
|
}
|
|
.workspace {
|
|
margin-left: 185px;
|
|
width: calc(100% - 185px);
|
|
}
|
|
.workspace main {
|
|
padding: 24px 21px;
|
|
}
|
|
.kpi {
|
|
padding: 17px 13px;
|
|
}
|
|
.chart-band {
|
|
gap: 15px;
|
|
}
|
|
.chart-band section + section {
|
|
padding-left: 14px;
|
|
}
|
|
.topbar {
|
|
padding-inline: 22px;
|
|
}
|
|
.explanation {
|
|
width: 235px;
|
|
}
|
|
.kpi-bottom {
|
|
flex-wrap: wrap;
|
|
}
|
|
.filters {
|
|
gap: 10px;
|
|
}
|
|
.filters select {
|
|
max-width: 225px;
|
|
}
|
|
}
|
|
@media (max-width: 900px) {
|
|
.sidebar {
|
|
width: 175px;
|
|
}
|
|
.workspace {
|
|
margin-left: 175px;
|
|
width: calc(100% - 175px);
|
|
}
|
|
.brand {
|
|
font-size: 21px;
|
|
gap: 7px;
|
|
}
|
|
.brand-symbol {
|
|
width: 28px;
|
|
}
|
|
.page-heading {
|
|
align-items: start;
|
|
}
|
|
.heading-actions {
|
|
flex-direction: column;
|
|
}
|
|
.kpis {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
border-radius: 4px;
|
|
}
|
|
.kpi {
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.kpi strong {
|
|
font-size: 22px;
|
|
}
|
|
.chart-band {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.chart-band section + section {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--line);
|
|
padding: 18px 0 0;
|
|
}
|
|
.grid-layout {
|
|
flex-direction: column;
|
|
}
|
|
.explanation {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
}
|
|
.explanation dl {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.investigation-band {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.investigation-summary {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--line);
|
|
padding: 20px 0 0;
|
|
}
|
|
.settings-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.settings-preview {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--line);
|
|
padding: 20px 0;
|
|
}
|
|
.quality-list {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
@media (max-width: 640px) {
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
.sidebar.open {
|
|
display: flex;
|
|
width: 218px;
|
|
box-shadow: 0 0 0 100vmax #132c2440;
|
|
}
|
|
.workspace {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
.mobile-menu {
|
|
display: inline-flex;
|
|
}
|
|
.topbar {
|
|
height: 56px;
|
|
padding: 0 14px;
|
|
}
|
|
.topbar-left {
|
|
gap: 7px;
|
|
}
|
|
.topbar-right {
|
|
gap: 2px;
|
|
}
|
|
.connection {
|
|
display: none;
|
|
}
|
|
.workspace main {
|
|
padding: 22px 15px;
|
|
}
|
|
.page-heading {
|
|
gap: 12px;
|
|
margin-bottom: 23px;
|
|
}
|
|
.page-heading h1 {
|
|
font-size: 23px;
|
|
}
|
|
.page-heading p {
|
|
font-size: 10px;
|
|
line-height: 1.5;
|
|
}
|
|
.eyebrow {
|
|
font-size: 9px;
|
|
}
|
|
.heading-actions .primary {
|
|
font-size: 11px;
|
|
padding: 8px 10px;
|
|
}
|
|
.heading-actions .primary svg {
|
|
width: 14px;
|
|
}
|
|
.filters {
|
|
gap: 11px;
|
|
padding-bottom: 18px;
|
|
}
|
|
.filters label:first-child {
|
|
width: 100%;
|
|
}
|
|
.filters select {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
.filters input {
|
|
width: 140px;
|
|
}
|
|
.filters .icon {
|
|
margin-left: 0;
|
|
}
|
|
.kpis {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
margin-bottom: 24px;
|
|
}
|
|
.kpi {
|
|
padding: 16px 13px;
|
|
gap: 14px;
|
|
}
|
|
.kpi strong {
|
|
font-size: 23px;
|
|
}
|
|
.kpi:last-child {
|
|
grid-column: 1/-1;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
.kpi:last-child strong {
|
|
font-size: 22px;
|
|
}
|
|
.section-heading {
|
|
gap: 8px;
|
|
}
|
|
.section-heading h2 {
|
|
font-size: 14px;
|
|
}
|
|
.chart {
|
|
height: 250px;
|
|
}
|
|
.table-tools {
|
|
gap: 3px;
|
|
}
|
|
.search-input input {
|
|
width: 118px;
|
|
}
|
|
.heatmap th,
|
|
.heatmap td {
|
|
min-width: 87px;
|
|
padding: 7px 6px;
|
|
}
|
|
.heatmap th:first-child {
|
|
min-width: 105px;
|
|
}
|
|
.grid {
|
|
height: 430px;
|
|
}
|
|
.grid-section .section-heading {
|
|
flex-wrap: wrap;
|
|
}
|
|
.source-strip {
|
|
flex-wrap: wrap;
|
|
}
|
|
.source-strip > div {
|
|
flex-basis: 70%;
|
|
}
|
|
.app-footer {
|
|
margin: 14px 15px 60px;
|
|
}
|
|
.copilot-launch {
|
|
right: 15px;
|
|
bottom: 16px;
|
|
}
|
|
.copilot {
|
|
right: 10px;
|
|
bottom: 10px;
|
|
width: calc(100% - 20px);
|
|
height: calc(100dvh - 75px);
|
|
}
|
|
dialog,
|
|
.dialog.wide {
|
|
width: calc(100% - 16px);
|
|
max-height: 94dvh;
|
|
}
|
|
dialog > header {
|
|
padding: 14px 15px;
|
|
}
|
|
.dialog-body {
|
|
padding: 15px;
|
|
}
|
|
dialog footer {
|
|
padding: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
dialog footer > span {
|
|
width: 100%;
|
|
}
|
|
.form-row {
|
|
gap: 12px;
|
|
}
|
|
.form-row label {
|
|
flex-basis: 100%;
|
|
}
|
|
.dialog-body .table-scroll {
|
|
max-height: 48dvh;
|
|
}
|
|
.quality-list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.data-section table {
|
|
min-width: 700px;
|
|
}
|
|
.anomaly-intro h2 {
|
|
font-size: 16px;
|
|
}
|
|
.anomaly-intro p {
|
|
font-size: 10px;
|
|
line-height: 1.7;
|
|
}
|
|
.table-scroll th,
|
|
.table-scroll td {
|
|
white-space: nowrap;
|
|
}
|
|
.dialog-body td.description {
|
|
white-space: normal;
|
|
min-width: 180px;
|
|
}
|
|
.source-meta code {
|
|
margin-left: 0;
|
|
}
|
|
.login form {
|
|
padding: 10px;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* {
|
|
animation: none !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|
|
|
|
.grid-empty {
|
|
margin: 0;
|
|
padding: 40px 0;
|
|
text-align: center;
|
|
color: var(--muted, #5b6675);
|
|
border: 1px dashed var(--line);
|
|
border-radius: 6px;
|
|
width: 100%;
|
|
}
|
|
|
|
.evidence-table {
|
|
min-width: 960px;
|
|
}
|
|
.evidence-table th {
|
|
white-space: nowrap;
|
|
}
|