2026-05-27 09:17:57 +08:00
|
|
|
.topbar {
|
2026-06-02 14:01:51 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-width: 0;
|
2026-05-27 09:17:57 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 24px;
|
|
|
|
|
padding: 18px 24px 20px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.chat-mode {
|
|
|
|
|
padding-bottom: 16px;
|
|
|
|
|
border-bottom: 1px solid #eef2f7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title-group {
|
|
|
|
|
min-width: 0;
|
2026-06-02 14:01:51 +08:00
|
|
|
max-width: 100%;
|
2026-05-27 09:17:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.eyebrow {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
padding: 3px 10px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
background: linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.12), rgba(59, 130, 246, 0.08));
|
|
|
|
|
color: var(--theme-primary-active);
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: 1.2px;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar h1 {
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar p {
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
max-width: 720px;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top-actions {
|
2026-06-02 14:01:51 +08:00
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 100%;
|
2026-05-27 09:17:57 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 14px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-combo {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-shell {
|
|
|
|
|
height: 42px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
border: 1px solid #d7e0ea;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-meta {
|
|
|
|
|
height: 34px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
border-right: 1px solid #e2e8f0;
|
|
|
|
|
color: #334155;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 650;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-meta .mdi {
|
|
|
|
|
color: var(--theme-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-tabs {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 2px;
|
|
|
|
|
padding-left: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-tabs button {
|
|
|
|
|
height: 34px;
|
|
|
|
|
min-width: 54px;
|
|
|
|
|
padding: 0 14px;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-tabs button:hover:not(.active) {
|
|
|
|
|
background: #f1f5f9;
|
|
|
|
|
color: #334155;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-tabs button.active {
|
|
|
|
|
background: var(--theme-primary);
|
|
|
|
|
color: #fff;
|
|
|
|
|
box-shadow: 0 6px 14px rgba(var(--theme-primary-rgb, 58, 124, 165), .18);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.custom-range-wrap {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-30 15:46:51 +08:00
|
|
|
.dashboard-switch-wrap {
|
|
|
|
|
width: 190px;
|
|
|
|
|
flex: 0 0 190px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-switch-select {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-switch-select :deep(.el-select__wrapper) {
|
|
|
|
|
height: 44px;
|
|
|
|
|
min-height: 44px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #f8fbfd;
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 0 0 2px rgba(var(--theme-primary-rgb, 58, 124, 165), .48) inset,
|
|
|
|
|
0 1px 2px rgba(15, 23, 42, .05);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-switch-select :deep(.el-select__wrapper:hover) {
|
|
|
|
|
background: #f3f9fd;
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 0 0 2px rgba(var(--theme-primary-rgb, 58, 124, 165), .72) inset,
|
|
|
|
|
0 0 0 3px rgba(var(--theme-primary-rgb, 58, 124, 165), .08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-switch-select :deep(.el-select__wrapper.is-focused) {
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 0 0 2px var(--theme-primary) inset,
|
|
|
|
|
0 0 0 3px rgba(var(--theme-primary-rgb, 58, 124, 165), .14);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-switch-select :deep(.el-select__placeholder),
|
|
|
|
|
.dashboard-switch-select :deep(.el-select__selected-item) {
|
|
|
|
|
color: #1e293b;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.custom-range-btn {
|
|
|
|
|
height: 42px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 0 13px;
|
|
|
|
|
border: 1px solid #d7e0ea;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #334155;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 750;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.custom-range-btn:hover,
|
|
|
|
|
.custom-range-btn.active {
|
|
|
|
|
border-color: rgba(var(--theme-primary-rgb, 58, 124, 165), .34);
|
|
|
|
|
background: #f5fbff;
|
|
|
|
|
color: var(--theme-primary-active);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-popover {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: calc(100% + 10px);
|
|
|
|
|
right: 0;
|
|
|
|
|
width: 336px;
|
|
|
|
|
z-index: 40;
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 14px;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
border: 1px solid #d7e0ea;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-popover header,
|
|
|
|
|
.calendar-popover footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-popover header strong {
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-popover header button {
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-fields {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-fields label {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-fields span {
|
|
|
|
|
color: #64748b;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-fields input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 38px;
|
|
|
|
|
padding: 0 9px;
|
|
|
|
|
border: 1px solid #d7e0ea;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ghost-btn,
|
|
|
|
|
.apply-btn {
|
|
|
|
|
height: 36px;
|
|
|
|
|
padding: 0 14px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 750;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ghost-btn {
|
|
|
|
|
border: 1px solid #d7e0ea;
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #334155;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.apply-btn {
|
|
|
|
|
border: 0;
|
|
|
|
|
background: var(--theme-primary);
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.apply-btn:disabled {
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
background: #cbd5e1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.kpi-chips {
|
2026-06-02 14:01:51 +08:00
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 100%;
|
2026-05-27 09:17:57 +08:00
|
|
|
display: flex;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-29 09:44:03 +08:00
|
|
|
.detail-topbar-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
justify-content: flex-end;
|
2026-06-01 17:07:14 +08:00
|
|
|
gap: 8px;
|
2026-05-29 09:44:03 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-kpi-chips {
|
|
|
|
|
justify-content: flex-end;
|
2026-06-01 17:07:14 +08:00
|
|
|
gap: 8px;
|
2026-05-29 09:44:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-kpi-chip {
|
2026-06-01 17:07:14 +08:00
|
|
|
min-width: 112px;
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
gap: 1px 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-kpi-chip .chip-value {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 820;
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-kpi-chip .chip-label {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-kpi-chip .chip-delta {
|
|
|
|
|
font-size: 10px;
|
2026-05-29 09:44:03 +08:00
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.detail-alert-strip {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-alert-pill {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
min-height: 32px;
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
border: 1px solid #fed7aa;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: #fff7ed;
|
|
|
|
|
color: #ea580c;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-alert-pill i {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 17:31:27 +08:00
|
|
|
.detail-alert-pill.neutral {
|
|
|
|
|
border-color: #d7e0ea;
|
|
|
|
|
background: #f8fafc;
|
|
|
|
|
color: #334155;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.detail-alert-pill.success {
|
|
|
|
|
border-color: var(--success-line);
|
|
|
|
|
background: var(--success-soft);
|
|
|
|
|
color: var(--success);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail-alert-pill.danger {
|
|
|
|
|
border-color: #fecaca;
|
|
|
|
|
background: #fff1f2;
|
|
|
|
|
color: #dc2626;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-28 12:09:49 +08:00
|
|
|
.topbar-toolset {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 18px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar-icon-btn {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 34px;
|
|
|
|
|
height: 34px;
|
|
|
|
|
display: inline-grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: #111827;
|
|
|
|
|
font-size: 23px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
transition:
|
|
|
|
|
color 160ms var(--ease),
|
|
|
|
|
background 160ms var(--ease);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar-icon-btn:hover {
|
|
|
|
|
background: var(--theme-primary-light-9);
|
|
|
|
|
color: var(--theme-primary-active);
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-03 09:25:23 +08:00
|
|
|
.notification-wrap {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-28 12:09:49 +08:00
|
|
|
.notification-badge {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 2px;
|
|
|
|
|
right: 1px;
|
|
|
|
|
min-width: 13px;
|
|
|
|
|
height: 13px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 0 3px;
|
|
|
|
|
border: 2px solid #fff;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: #ef4444;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 8px;
|
|
|
|
|
font-weight: 850;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
box-shadow: 0 5px 10px rgba(239, 68, 68, .22);
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-03 09:25:23 +08:00
|
|
|
.notification-popover {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: calc(100% + 10px);
|
|
|
|
|
right: -8px;
|
|
|
|
|
z-index: 60;
|
|
|
|
|
width: min(360px, calc(100vw - 32px));
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
border: 1px solid #e5edf5;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.98);
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 18px 42px rgba(15, 23, 42, 0.14),
|
|
|
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.92);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-popover::before {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -6px;
|
|
|
|
|
right: 18px;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
border-top: 1px solid #e5edf5;
|
|
|
|
|
border-left: 1px solid #e5edf5;
|
|
|
|
|
background: #fff;
|
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-head,
|
|
|
|
|
.notification-tabs {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-head {
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-head strong {
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 850;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-head button {
|
|
|
|
|
width: 26px;
|
|
|
|
|
height: 26px;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-head button:hover {
|
|
|
|
|
background: #f1f5f9;
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-tabs {
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
border: 1px solid #edf2f7;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #f8fafc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-tabs button {
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-tabs button.active {
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: var(--theme-primary-active);
|
|
|
|
|
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-list {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
display: grid;
|
|
|
|
|
max-height: 320px;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-row {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 8px minmax(0, 1fr) 16px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 10px 4px;
|
|
|
|
|
border-top: 1px solid #edf2f7;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-row:first-child {
|
|
|
|
|
border-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-row:hover {
|
|
|
|
|
background: #f8fafc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-dot {
|
|
|
|
|
width: 7px;
|
|
|
|
|
height: 7px;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: var(--theme-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-dot.danger { background: #ef4444; }
|
|
|
|
|
.notification-dot.warning { background: #f59e0b; }
|
|
|
|
|
.notification-dot.success { background: var(--success); }
|
|
|
|
|
.notification-dot.info { background: #3b82f6; }
|
|
|
|
|
|
|
|
|
|
.notification-copy {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-copy strong,
|
|
|
|
|
.notification-copy small,
|
|
|
|
|
.notification-copy em {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-copy strong {
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 850;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-copy small {
|
|
|
|
|
color: #475569;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-copy em {
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-row > .mdi {
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-empty {
|
|
|
|
|
min-height: 112px;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-empty .mdi {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-28 12:09:49 +08:00
|
|
|
.company-switcher {
|
|
|
|
|
max-width: min(220px, 28vw);
|
|
|
|
|
height: 38px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 0 14px 0 16px;
|
|
|
|
|
border: 1px solid #edf1f5;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #111827;
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 1px 2px rgba(15, 23, 42, .04),
|
|
|
|
|
inset 0 1px 0 rgba(255, 255, 255, .92);
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
transition:
|
|
|
|
|
border-color 160ms var(--ease),
|
|
|
|
|
box-shadow 160ms var(--ease),
|
|
|
|
|
color 160ms var(--ease);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-switcher:hover {
|
|
|
|
|
border-color: rgba(var(--theme-primary-rgb, 58, 124, 165), .26);
|
|
|
|
|
color: var(--theme-primary-active);
|
|
|
|
|
box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb, 58, 124, 165), .08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-switcher span {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-switcher .mdi {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.kpi-chip {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
|
gap: 2px 10px;
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: linear-gradient(135deg, color-mix(in srgb, var(--chip-color) 8%, #fff), color-mix(in srgb, var(--chip-color) 3%, #f8fafc));
|
|
|
|
|
border: 1px solid color-mix(in srgb, var(--chip-color) 18%, #e2e8f0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chip-value {
|
|
|
|
|
grid-row: 1 / 3;
|
|
|
|
|
align-self: center;
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
font-weight: 850;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chip-value small {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chip-label {
|
|
|
|
|
color: #64748b;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chip-delta {
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chip-delta.up { color: var(--success); }
|
|
|
|
|
.chip-delta.down { color: #f59e0b; }
|
|
|
|
|
|
|
|
|
|
.topbar-spacer {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.create-top-btn {
|
|
|
|
|
height: 40px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 0 18px;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background: var(--theme-primary);
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 750;
|
|
|
|
|
box-shadow: 0 8px 18px rgba(var(--theme-primary-rgb, 58, 124, 165), 0.18);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.create-top-btn:hover {
|
|
|
|
|
background: var(--theme-primary-active);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1120px) {
|
|
|
|
|
.range-combo {
|
|
|
|
|
width: 100%;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 960px) {
|
|
|
|
|
.topbar {
|
2026-06-02 14:01:51 +08:00
|
|
|
width: 100%;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 100%;
|
2026-05-27 09:17:57 +08:00
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top-actions,
|
|
|
|
|
.search-wrap,
|
|
|
|
|
.search-wrap.wide,
|
2026-05-28 12:09:49 +08:00
|
|
|
.topbar-toolset,
|
2026-05-27 09:17:57 +08:00
|
|
|
.detail-alert-strip,
|
|
|
|
|
.month-chip,
|
|
|
|
|
.qa-filter,
|
|
|
|
|
.new-question-btn {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-combo {
|
|
|
|
|
justify-content: stretch;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-28 12:09:49 +08:00
|
|
|
.topbar-toolset {
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.range-shell {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-meta {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.custom-range-btn {
|
|
|
|
|
width: 100%;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-30 15:46:51 +08:00
|
|
|
.dashboard-switch-wrap {
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex: 1 1 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.calendar-popover {
|
|
|
|
|
right: auto;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-28 12:09:49 +08:00
|
|
|
@media (max-width: 760px) {
|
|
|
|
|
.title-group {
|
|
|
|
|
padding-right: 56px;
|
|
|
|
|
}
|
2026-06-03 09:25:23 +08:00
|
|
|
|
|
|
|
|
.topbar.detail-mode {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 10px 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode .title-group {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
padding-right: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode .eyebrow {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode h1 {
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
line-height: 1.12;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode p {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
margin-top: 3px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 1.35;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode .top-actions,
|
|
|
|
|
.topbar.detail-mode .detail-topbar-actions {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode .detail-alert-strip {
|
|
|
|
|
width: auto;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode .detail-alert-pill {
|
|
|
|
|
min-height: 26px;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
padding: 0 9px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
}
|
2026-05-28 12:09:49 +08:00
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.topbar {
|
|
|
|
|
gap: 14px;
|
|
|
|
|
padding: 16px 16px 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar h1 {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.kpi-chips {
|
|
|
|
|
width: 100%;
|
2026-06-02 14:01:51 +08:00
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
|
|
|
|
|
gap: 8px;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
padding-bottom: 0;
|
2026-05-27 09:17:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.kpi-chip {
|
2026-06-02 14:01:51 +08:00
|
|
|
min-width: 0;
|
2026-05-27 09:17:57 +08:00
|
|
|
padding: 8px 12px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-02 14:01:51 +08:00
|
|
|
.chip-value,
|
2026-05-27 09:17:57 +08:00
|
|
|
.chip-label,
|
|
|
|
|
.chip-delta {
|
2026-06-02 14:01:51 +08:00
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2026-05-27 09:17:57 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-28 12:09:49 +08:00
|
|
|
.topbar-toolset {
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-switcher {
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
max-width: none;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-27 09:17:57 +08:00
|
|
|
.range-combo {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-shell {
|
|
|
|
|
height: auto;
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-meta {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-right: 0;
|
|
|
|
|
border-bottom: 1px solid #e2e8f0;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-tabs {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.range-tabs button {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-popover {
|
|
|
|
|
width: min(336px, calc(100vw - 32px));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-fields {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-06-03 09:25:23 +08:00
|
|
|
|
|
|
|
|
@media (max-width: 420px) {
|
|
|
|
|
.topbar.detail-mode {
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode h1 {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode p {
|
|
|
|
|
font-size: 11.5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar.detail-mode .detail-alert-pill {
|
|
|
|
|
min-height: 24px;
|
|
|
|
|
}
|
|
|
|
|
}
|