后端优化报销单访问策略和常量定义,增强退回原因和审批状态 流转,前端完善退回对话框和审批交互组件,新增报销申请关联 模型,优化文档中心行数据和审批收件箱工具函数,增强引导 流程和会话模型,补充单元测试覆盖。
1785 lines
32 KiB
CSS
1785 lines
32 KiB
CSS
.approval-page {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
gap: 14px;
|
|
overflow: hidden;
|
|
animation: fadeUp 220ms var(--ease) both;
|
|
}
|
|
|
|
.approval-detail {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.detail-scroll {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 12px;
|
|
padding-right: 4px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.detail-hero {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 18px 24px 18px;
|
|
border: 1px solid #edf2f7;
|
|
background:
|
|
radial-gradient(circle at 100% 100%, rgba(45, 212, 191, .18), transparent 18%),
|
|
radial-gradient(circle at 92% 92%, rgba(125, 211, 252, .14), transparent 24%),
|
|
linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
|
|
overflow: visible;
|
|
}
|
|
|
|
.progress-card {
|
|
padding: 18px 22px 20px;
|
|
border: 1px solid #edf2f7;
|
|
background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
|
|
}
|
|
|
|
.hero-banner {
|
|
display: grid;
|
|
gap: 0;
|
|
}
|
|
|
|
.hero-banner-main {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
|
|
align-items: center;
|
|
gap: 16px;
|
|
min-height: 104px;
|
|
}
|
|
|
|
.applicant-card {
|
|
display: grid;
|
|
grid-template-columns: 88px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 18px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.portrait {
|
|
width: 88px;
|
|
height: 88px;
|
|
overflow: hidden;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, #eff6ff 0%, #ecfeff 100%);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
|
|
}
|
|
|
|
.portrait img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.applicant-copy {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.applicant-name-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.applicant-card h2 {
|
|
color: #0f172a;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.identity-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
padding: 0 9px;
|
|
border-radius: 999px;
|
|
background: var(--theme-primary-soft);
|
|
border: 1px solid rgba(var(--theme-primary-rgb), .16);
|
|
color: var(--theme-primary-active);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.applicant-profile-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
gap: 12px 28px;
|
|
}
|
|
|
|
.applicant-profile-meta__org {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.applicant-profile-meta__role {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.applicant-meta-item {
|
|
min-width: 0;
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: #475569;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.applicant-profile-meta__role .applicant-meta-item + .applicant-meta-item {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.applicant-profile-meta__role .applicant-meta-item + .applicant-meta-item::before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: -10px;
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.applicant-meta-item--sub strong {
|
|
font-weight: 750;
|
|
}
|
|
|
|
.applicant-meta-item em {
|
|
font-style: normal;
|
|
color: #64748b;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.applicant-meta-item strong {
|
|
color: #0f172a;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.hero-fact-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(0, 1fr));
|
|
gap: 0;
|
|
}
|
|
|
|
.hero-fact {
|
|
display: grid;
|
|
align-content: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
min-height: 92px;
|
|
padding: 8px 22px;
|
|
background: transparent;
|
|
border-left: 1px solid #eaf0f6;
|
|
}
|
|
|
|
.hero-fact:first-child {
|
|
border-left: 0;
|
|
}
|
|
|
|
.hero-fact-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: .03em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero-fact-label i {
|
|
font-size: 15px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.hero-fact strong {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
color: #0f172a;
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
line-height: 1.4;
|
|
overflow-wrap: anywhere;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hero-fact:first-child strong {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.hero-fact strong.amount {
|
|
font-size: 22px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.hero-fact strong.status {
|
|
color: #f97316;
|
|
}
|
|
|
|
.progress-block {
|
|
padding-top: 0;
|
|
border-top: 0;
|
|
}
|
|
|
|
.progress-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.progress-head h3 {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #0f172a;
|
|
font-size: 14px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.progress-head h3::before {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: var(--theme-primary);
|
|
box-shadow: 0 0 0 4px var(--theme-focus-ring);
|
|
}
|
|
|
|
.progress-line {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--progress-columns, 5), minmax(118px, 1fr));
|
|
overflow-x: auto;
|
|
overscroll-behavior-x: contain;
|
|
padding: 4px 2px 2px;
|
|
}
|
|
|
|
.progress-step {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: 26px minmax(62px, auto);
|
|
justify-items: center;
|
|
align-items: start;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 0 6px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.progress-step::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 13px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 0;
|
|
height: 2px;
|
|
background: #dbe4ee;
|
|
}
|
|
|
|
.progress-step::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 13px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 0;
|
|
height: 2px;
|
|
background: var(--theme-primary);
|
|
opacity: 0;
|
|
}
|
|
|
|
.progress-step.done::after { opacity: 1; }
|
|
.progress-step.current::after {
|
|
right: 50%;
|
|
opacity: 1;
|
|
}
|
|
|
|
.progress-step:first-child::before,
|
|
.progress-step:first-child.done::after { left: 50%; }
|
|
.progress-step:first-child.current::after {
|
|
left: 50%;
|
|
right: 50%;
|
|
}
|
|
.progress-step:last-child::before,
|
|
.progress-step:last-child::after { right: 50%; }
|
|
|
|
.progress-step span {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 999px;
|
|
background: #e2e8f0;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.current-progress-ring {
|
|
position: absolute;
|
|
inset: -4px;
|
|
z-index: -1;
|
|
border: 2px solid rgba(var(--theme-primary-rgb), .42);
|
|
border-radius: 999px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.progress-step.active span {
|
|
background: var(--theme-primary-active);
|
|
color: #fff;
|
|
}
|
|
|
|
.progress-step.current span {
|
|
background: var(--theme-primary) !important;
|
|
color: #fff !important;
|
|
box-shadow: 0 0 0 4px var(--theme-focus-ring) !important;
|
|
animation: breathe-dot 3.2s ease-in-out infinite !important;
|
|
transform-origin: center !important;
|
|
}
|
|
|
|
@keyframes breathe-dot {
|
|
0%, 100% {
|
|
transform: scale(1);
|
|
box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), .3), 0 0 0 4px var(--theme-focus-ring);
|
|
}
|
|
50% {
|
|
transform: scale(1.12);
|
|
box-shadow: 0 4px 20px rgba(var(--theme-primary-rgb), .5), 0 0 0 10px rgba(var(--theme-primary-rgb), .08);
|
|
}
|
|
}
|
|
|
|
.progress-step strong {
|
|
color: #334155;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
text-align: center;
|
|
}
|
|
|
|
.progress-step.current strong { color: var(--theme-primary-active); }
|
|
|
|
.progress-step-copy {
|
|
width: 100%;
|
|
min-width: 0;
|
|
display: grid;
|
|
justify-items: center;
|
|
align-content: start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.progress-step-status {
|
|
max-width: 100%;
|
|
min-height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 9px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 999px;
|
|
background: #f8fafc;
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
line-height: 1;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.progress-step.done .progress-step-status {
|
|
border-color: rgba(var(--theme-primary-rgb), .2);
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.progress-step.current .progress-step-status {
|
|
border-color: rgba(var(--theme-primary-rgb), .22);
|
|
background: var(--theme-primary);
|
|
color: #fff;
|
|
box-shadow: 0 8px 18px var(--theme-primary-shadow);
|
|
}
|
|
|
|
.progress-step:not(.done):not(.current) .progress-step-status {
|
|
background: #f8fafc;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.progress-step.current small {
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.progress-step-meta {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 16px;
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
line-height: 1.35;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.progress-step.current .progress-step-meta {
|
|
color: #475569;
|
|
}
|
|
|
|
.detail-grid {
|
|
display: block;
|
|
min-width: 0;
|
|
}
|
|
|
|
.detail-left {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.detail-card {
|
|
min-width: 0;
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.detail-card h3 {
|
|
margin: 0 0 12px;
|
|
color: #0f172a;
|
|
font-size: 16px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.detail-card-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.detail-card-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.detail-card-head h3 {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.detail-card-title-with-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.detail-card-title-with-icon i {
|
|
margin-top: 1px;
|
|
color: #334155;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.detail-card-head p {
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.smart-entry-btn {
|
|
min-width: 104px;
|
|
min-height: 34px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 0 14px;
|
|
border: 1px solid #dbe4ee;
|
|
border-radius: 999px;
|
|
background: #f8fafc;
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.smart-entry-btn.secondary {
|
|
background: #fff;
|
|
color: var(--theme-primary-active);
|
|
border-color: rgba(var(--theme-primary-rgb), .24);
|
|
}
|
|
|
|
.smart-entry-btn:hover {
|
|
border-color: rgba(var(--theme-primary-rgb), .36);
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.detail-total {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 102px;
|
|
min-height: 34px;
|
|
padding: 0 12px;
|
|
border-radius: 999px;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.detail-card textarea {
|
|
width: 100%;
|
|
min-height: 84px;
|
|
resize: none;
|
|
border: 1px solid #d7e0ea;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.detail-note {
|
|
min-height: 84px;
|
|
padding: 12px 14px;
|
|
border: 1px solid #d7e0ea;
|
|
border-radius: 8px;
|
|
background: linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%);
|
|
color: #334155;
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.detail-note.readonly {
|
|
background: #f8fafc;
|
|
border-color: #e2e8f0;
|
|
}
|
|
|
|
.detail-note.readonly p {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.application-detail-facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
margin-top: 4px;
|
|
overflow: hidden;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.application-detail-fact {
|
|
display: grid;
|
|
grid-template-columns: minmax(96px, 28%) minmax(0, 1fr);
|
|
min-height: 48px;
|
|
border-top: 1px solid #edf2f7;
|
|
border-left: 1px solid #edf2f7;
|
|
}
|
|
|
|
.application-detail-fact:nth-child(-n + 2) {
|
|
border-top: 0;
|
|
}
|
|
|
|
.application-detail-fact:nth-child(2n + 1) {
|
|
border-left: 0;
|
|
}
|
|
|
|
.application-detail-fact span,
|
|
.application-detail-fact strong {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
padding: 11px 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.application-detail-fact span {
|
|
background: #f8fafc;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.application-detail-fact strong {
|
|
border-left: 1px solid #edf2f7;
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.application-detail-fact.highlight span {
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.application-detail-fact.highlight strong {
|
|
background: color-mix(in srgb, var(--theme-primary-soft) 55%, #ffffff);
|
|
}
|
|
|
|
.application-detail-fact.emphasis strong {
|
|
color: var(--theme-primary-active);
|
|
font-weight: 850;
|
|
}
|
|
|
|
.detail-note-editor {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.detail-note-editor textarea {
|
|
min-height: 92px;
|
|
border-color: rgba(var(--theme-primary-rgb), .28);
|
|
background: #fff;
|
|
}
|
|
|
|
.detail-note-editor textarea:focus {
|
|
border-color: var(--theme-primary);
|
|
box-shadow: 0 0 0 3px var(--theme-focus-ring);
|
|
outline: none;
|
|
}
|
|
|
|
.detail-note-editor-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.detail-note-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-shrink: 0;
|
|
gap: 8px;
|
|
}
|
|
|
|
.application-leader-opinion {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.application-leader-opinion-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: #475569;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.application-leader-opinion-head span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #0f172a;
|
|
font-weight: 850;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.application-leader-opinion-head span i {
|
|
margin-top: 1px;
|
|
color: #334155;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.application-leader-opinion-head strong {
|
|
color: var(--theme-primary-active);
|
|
font-weight: 800;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.application-leader-opinion-timeline {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 10px;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.application-leader-opinion-timeline::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 6px;
|
|
bottom: 6px;
|
|
left: 5px;
|
|
width: 1px;
|
|
background: #dbe4ee;
|
|
}
|
|
|
|
.application-leader-opinion-event {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border: 1px solid #dbe4ee;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.application-leader-opinion-event::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 17px;
|
|
left: -18px;
|
|
width: 9px;
|
|
height: 9px;
|
|
border: 2px solid #ffffff;
|
|
border-radius: 999px;
|
|
background: var(--theme-primary, #3a7ca5);
|
|
box-shadow: 0 0 0 1px rgba(var(--theme-primary-rgb, 58, 124, 165), .34);
|
|
}
|
|
|
|
.application-leader-opinion-event.danger::before {
|
|
background: #dc2626;
|
|
box-shadow: 0 0 0 1px rgba(220, 38, 38, .32);
|
|
}
|
|
|
|
.application-leader-opinion-event.success::before {
|
|
background: #16a34a;
|
|
box-shadow: 0 0 0 1px rgba(22, 163, 74, .32);
|
|
}
|
|
|
|
.application-leader-opinion-event-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.application-leader-opinion-event-head span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: #0f172a;
|
|
font-size: 14px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.application-leader-opinion-event-head i {
|
|
color: var(--theme-primary-active, #255b7d);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.application-leader-opinion-event.danger .application-leader-opinion-event-head i {
|
|
color: #dc2626;
|
|
}
|
|
|
|
.application-leader-opinion-event.success .application-leader-opinion-event-head i {
|
|
color: #16a34a;
|
|
}
|
|
|
|
.application-leader-opinion-event-head time,
|
|
.application-leader-opinion-event footer {
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.application-leader-opinion-event p {
|
|
margin: 0;
|
|
color: #334155;
|
|
font-size: 13px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.application-leader-opinion-event footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.detail-expense-table {
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.detail-expense-table table {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.detail-expense-table th,
|
|
.detail-expense-table td {
|
|
padding: 13px 12px;
|
|
border-bottom: 1px solid #edf2f7;
|
|
color: #24324a;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
vertical-align: middle;
|
|
white-space: normal;
|
|
}
|
|
|
|
.detail-expense-table th {
|
|
position: static;
|
|
background: #f7fafc;
|
|
color: #64748b;
|
|
font-weight: 800;
|
|
font-size: 11px;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.detail-expense-table tbody tr:hover td {
|
|
background: #fbfefd;
|
|
}
|
|
|
|
.detail-expense-table tbody tr.system-generated-row td {
|
|
background: var(--success-soft);
|
|
border-bottom-color: var(--success-line);
|
|
}
|
|
|
|
.detail-expense-table tbody tr.system-generated-row:hover td {
|
|
background: var(--success-soft);
|
|
}
|
|
|
|
.detail-expense-table .col-time { width: 11%; }
|
|
.detail-expense-table .col-filled-at { width: 15%; }
|
|
.detail-expense-table .col-type { width: 13%; }
|
|
.detail-expense-table .col-desc { width: 19%; }
|
|
.detail-expense-table .col-amount { width: 11%; }
|
|
.detail-expense-table .col-attachment { width: 22%; }
|
|
.detail-expense-table .col-action { width: 9%; }
|
|
|
|
.expense-time {
|
|
position: relative;
|
|
}
|
|
|
|
.expense-time.has-major-risk {
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.expense-risk-indicator {
|
|
position: absolute;
|
|
left: 8px;
|
|
top: 50%;
|
|
width: 18px;
|
|
height: 18px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
transform: translateY(-50%);
|
|
color: #dc2626;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.cell-editor {
|
|
display: grid;
|
|
gap: 7px;
|
|
justify-items: stretch;
|
|
}
|
|
|
|
.editor-stack {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.editor-input,
|
|
.editor-select {
|
|
width: 100%;
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
border: 1px solid #d7e0ea;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.currency-editor {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.currency-editor span {
|
|
min-height: 34px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid #d7e0ea;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
color: #334155;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.editor-input:focus,
|
|
.editor-select:focus {
|
|
border-color: var(--theme-primary);
|
|
box-shadow: 0 0 0 3px var(--theme-focus-ring);
|
|
outline: none;
|
|
}
|
|
|
|
.cell-editor span {
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
text-align: center;
|
|
}
|
|
|
|
.expense-time strong,
|
|
.expense-filled-at strong,
|
|
.expense-type strong,
|
|
.expense-desc strong,
|
|
.expense-amount strong {
|
|
display: block;
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
font-weight: 850;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
.expense-time span,
|
|
.expense-filled-at span,
|
|
.expense-type span,
|
|
.expense-desc span {
|
|
display: block;
|
|
margin-top: 4px;
|
|
color: #64748b;
|
|
line-height: 1.45;
|
|
text-align: center;
|
|
}
|
|
|
|
.expense-amount strong {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.expense-filled-at strong {
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.expense-desc,
|
|
.detail-expense-table .col-desc {
|
|
text-align: left;
|
|
}
|
|
|
|
.expense-desc strong,
|
|
.expense-desc span,
|
|
.expense-risk p {
|
|
text-align: left;
|
|
}
|
|
|
|
.over-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-top: 6px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.over-tag.bad {
|
|
background: #fff7ed;
|
|
color: #ea580c;
|
|
}
|
|
|
|
.over-tag.system {
|
|
background: var(--success-soft);
|
|
color: var(--success-hover);
|
|
}
|
|
|
|
.expense-total-under-table {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
padding: 12px 14px;
|
|
border: 1px solid rgba(var(--theme-primary-rgb), .22);
|
|
border-radius: 8px;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.expense-total-under-table span {
|
|
color: #475569;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.expense-total-under-table strong {
|
|
color: var(--theme-primary-active);
|
|
font-size: 17px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.attachment-action-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.expense-attachment .attachment-hint {
|
|
display: block;
|
|
margin-top: 4px;
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
}
|
|
|
|
.attachment-hint.compact {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.attachment-recognition {
|
|
margin-top: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.attachment-recognition-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.attachment-recognition-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
background: #eff6ff;
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.attachment-recognition-pill.type {
|
|
background: #f8fafc;
|
|
color: #334155;
|
|
}
|
|
|
|
.attachment-recognition-pill.pass {
|
|
background: var(--success-soft);
|
|
color: var(--success-hover);
|
|
}
|
|
|
|
.attachment-recognition-pill.medium {
|
|
background: #fff7ed;
|
|
color: #c2410c;
|
|
}
|
|
|
|
.attachment-recognition-pill.high {
|
|
background: #fef2f2;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.attachment-recognition-message {
|
|
margin: 8px 0 0;
|
|
color: #475569;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
}
|
|
|
|
.attachment-recognition-fields {
|
|
margin: 8px 0 0;
|
|
padding-left: 16px;
|
|
color: #475569;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
}
|
|
|
|
.icon-action,
|
|
.risk-inline-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 999px;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.icon-action {
|
|
border: 1px solid #dbe4ee;
|
|
background: #fff;
|
|
color: #475569;
|
|
transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.icon-action.upload {
|
|
background: var(--theme-primary-soft);
|
|
border-color: rgba(var(--theme-primary-rgb), .24);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.icon-action.preview {
|
|
background: #f8fafc;
|
|
color: #2563eb;
|
|
}
|
|
|
|
.icon-action.danger {
|
|
background: #fff5f5;
|
|
color: #dc2626;
|
|
border-color: rgba(239, 68, 68, .18);
|
|
}
|
|
|
|
.icon-action:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.inline-action {
|
|
min-height: 28px;
|
|
padding: 0 10px;
|
|
border: 1px solid #dbe4ee;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
color: #334155;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.inline-action.accent {
|
|
border-color: rgba(var(--theme-primary-rgb), .24);
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.inline-action.primary {
|
|
border-color: var(--theme-primary);
|
|
background: var(--theme-primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.inline-action.danger {
|
|
border-color: rgba(239, 68, 68, .2);
|
|
background: #fff5f5;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.inline-action:hover {
|
|
border-color: rgba(var(--theme-primary-rgb), .36);
|
|
color: var(--theme-primary-active);
|
|
}
|
|
|
|
.inline-action.primary:hover {
|
|
border-color: var(--theme-primary-active);
|
|
background: var(--theme-primary-active);
|
|
color: #fff;
|
|
}
|
|
|
|
.inline-action.danger:hover {
|
|
border-color: rgba(220, 38, 38, .3);
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.expense-action-cell {
|
|
min-width: 128px;
|
|
}
|
|
|
|
.system-row-lock {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
min-height: 28px;
|
|
padding: 0 9px;
|
|
border-radius: 8px;
|
|
background: var(--success-soft);
|
|
color: var(--success-hover);
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.system-attachment-note {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
min-height: 28px;
|
|
padding: 0 9px;
|
|
border-radius: 8px;
|
|
background: var(--success-soft);
|
|
color: var(--success-hover);
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.row-action-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.risk-inline-tag {
|
|
min-height: 24px;
|
|
width: auto;
|
|
padding: 0 8px;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.risk-inline-tag.pass,
|
|
.risk-inline-tag.low { background: var(--success-soft); color: var(--success-hover); }
|
|
.risk-inline-tag.medium { background: #fff7ed; color: #ea580c; }
|
|
.risk-inline-tag.high { background: #fef2f2; color: #dc2626; }
|
|
|
|
.risk-headline {
|
|
display: block;
|
|
margin-top: 8px;
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
font-weight: 800;
|
|
text-align: left;
|
|
}
|
|
|
|
.expense-risk p {
|
|
margin-top: 6px;
|
|
color: #475569;
|
|
font-size: 12px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.risk-point-list {
|
|
margin: 8px 0 0;
|
|
padding-left: 16px;
|
|
color: #475569;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
text-align: left;
|
|
}
|
|
|
|
.risk-suggestion {
|
|
color: var(--success-hover);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.empty-row-cell {
|
|
padding: 22px 16px;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
background: #fcfdfd;
|
|
}
|
|
|
|
.expense-upload-input {
|
|
display: none;
|
|
}
|
|
|
|
.attachment-preview-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background: rgba(15, 23, 42, 0.42);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.attachment-preview-card {
|
|
width: min(1160px, calc(100vw - 48px));
|
|
max-height: calc(100vh - 48px);
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: 14px;
|
|
padding: 22px;
|
|
border: 1px solid rgba(var(--theme-primary-rgb), .14);
|
|
border-radius: 24px;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(var(--theme-primary-rgb), .12), transparent 36%),
|
|
linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 252, .98));
|
|
box-shadow: 0 28px 56px rgba(15, 23, 42, .2);
|
|
}
|
|
|
|
.attachment-preview-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.attachment-preview-toolbar {
|
|
margin-left: auto;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.attachment-preview-nav,
|
|
.attachment-preview-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #d7e0ea;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, .9);
|
|
color: #475569;
|
|
}
|
|
|
|
.attachment-preview-nav:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .5;
|
|
}
|
|
|
|
.attachment-preview-count {
|
|
min-width: 48px;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
}
|
|
|
|
.attachment-preview-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary-active);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.attachment-preview-head h4 {
|
|
margin: 10px 0 0;
|
|
color: #0f172a;
|
|
font-size: 20px;
|
|
line-height: 1.4;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.attachment-preview-body {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
|
|
align-items: stretch;
|
|
gap: 16px;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
}
|
|
|
|
.attachment-source-pane,
|
|
.attachment-insight-pane {
|
|
min-height: 0;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
|
|
}
|
|
|
|
.attachment-source-pane {
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.attachment-preview-image,
|
|
.attachment-preview-frame {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 520px;
|
|
border: 0;
|
|
object-fit: contain;
|
|
background: #fff;
|
|
}
|
|
|
|
.attachment-insight-pane {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
padding: 18px;
|
|
overflow-y: auto;
|
|
background: #fff;
|
|
}
|
|
|
|
.attachment-insight-head {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.attachment-insight-head span,
|
|
.attachment-insight-section span {
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.attachment-insight-head strong {
|
|
color: #0f172a;
|
|
font-size: 18px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.attachment-insight-content {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 14px;
|
|
padding-top: 14px;
|
|
}
|
|
|
|
.attachment-insight-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.attachment-insight-section {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border-radius: 14px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.attachment-insight-section ul {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin: 0;
|
|
padding-left: 16px;
|
|
color: #334155;
|
|
font-size: 12px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.attachment-risk-card {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 10px;
|
|
border: 1px solid #fee2e2;
|
|
border-radius: 12px;
|
|
background: #fff7f7;
|
|
}
|
|
|
|
.attachment-risk-card.medium {
|
|
border-color: #fed7aa;
|
|
background: #fffaf2;
|
|
}
|
|
|
|
.attachment-risk-card strong {
|
|
color: #991b1b;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.attachment-risk-card.medium strong {
|
|
color: #9a3412;
|
|
}
|
|
|
|
.attachment-risk-card p {
|
|
margin: 0;
|
|
color: #475569;
|
|
font-size: 12px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.attachment-preview-state {
|
|
min-height: 320px;
|
|
display: grid;
|
|
place-items: center;
|
|
gap: 10px;
|
|
color: #475569;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.attachment-preview-state.compact {
|
|
min-height: 180px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.attachment-preview-state i {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.attachment-preview-state.error {
|
|
color: #dc2626;
|
|
}
|
|
|
|
.detail-actions {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 10px;
|
|
padding: 10px 0 0;
|
|
border-top: 1px solid #e5eaf0;
|
|
background: transparent;
|
|
}
|
|
|
|
.detail-actions button {
|
|
height: 36px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.detail-actions button:disabled,
|
|
.inline-action:disabled,
|
|
.icon-action:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .58;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.back-action {
|
|
min-width: 104px;
|
|
border: 1px solid #d7e0ea;
|
|
background: #fff;
|
|
color: #475569;
|
|
}
|
|
|
|
.approval-action-group {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
width: auto;
|
|
}
|
|
|
|
.approve-action {
|
|
min-width: 92px;
|
|
border: 1px solid var(--success);
|
|
background: var(--success);
|
|
color: #fff;
|
|
box-shadow: 0 4px 10px rgba(var(--success-rgb), .14);
|
|
}
|
|
|
|
.reject-action {
|
|
min-width: 98px;
|
|
border: 1px solid #fecaca;
|
|
background: #fff;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.return-action {
|
|
min-width: 98px;
|
|
border: 1px solid #fed7aa;
|
|
background: #fff7ed;
|
|
color: #c2410c;
|
|
}
|
|
|
|
.detail-action-hint {
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.submit-confirm-summary {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.submit-confirm-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.submit-confirm-row strong {
|
|
min-width: 0;
|
|
color: #0f172a;
|
|
font-weight: 780;
|
|
text-align: right;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.risk-override-panel {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.risk-override-nav {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr) 34px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.risk-override-nav span {
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.risk-override-nav-btn {
|
|
width: 34px;
|
|
height: 34px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
color: #475569;
|
|
}
|
|
|
|
.risk-override-nav-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .48;
|
|
}
|
|
|
|
.risk-override-card {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border: 1px solid #fecaca;
|
|
border-radius: 10px;
|
|
background: #fffafa;
|
|
}
|
|
|
|
.risk-override-card-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.risk-override-card-head span {
|
|
flex: 0 0 auto;
|
|
min-height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.risk-override-card-head strong {
|
|
min-width: 0;
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
text-align: right;
|
|
}
|
|
|
|
.risk-override-card p {
|
|
margin: 0;
|
|
color: #334155;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.risk-override-card textarea {
|
|
min-height: 88px;
|
|
border-color: #fecaca;
|
|
background: #fff;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.risk-override-card textarea:focus {
|
|
border-color: #ef4444;
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
|
|
outline: none;
|
|
}
|
|
|
|
.validation-card {
|
|
border: 1px solid #e5e7eb;
|
|
background: #ffffff;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.validation-section--risk .risk-advice-card {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px 12px 11px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
|
|
}
|
|
|
|
.validation-section--risk .risk-advice-card.medium {
|
|
border-color: #f3e8d9;
|
|
background: #fffcf7;
|
|
}
|
|
|
|
.validation-section--risk .risk-advice-card.low {
|
|
border-color: #dbeafe;
|
|
background: #f8fbff;
|
|
}
|
|
|
|
.validation-section--risk .risk-advice-meta ul,
|
|
.validation-section--risk .risk-advice-meta p {
|
|
margin: 0;
|
|
color: #334155;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
}
|
|
|