3535 lines
65 KiB
CSS
3535 lines
65 KiB
CSS
.assistant-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 9999;
|
||
display: grid;
|
||
place-items: center;
|
||
background:
|
||
radial-gradient(circle at 18% 14%, rgba(16, 185, 129, 0.18), transparent 24%),
|
||
radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.12), transparent 28%),
|
||
rgba(97, 110, 131, 0.34);
|
||
backdrop-filter: blur(18px) saturate(1.02);
|
||
-webkit-backdrop-filter: blur(18px) saturate(1.02);
|
||
}
|
||
|
||
.assistant-modal {
|
||
--assistant-base-width: 1430;
|
||
--assistant-base-height: 820;
|
||
--assistant-base-width-px: 1430px;
|
||
--assistant-base-height-px: 820px;
|
||
--assistant-safe-offset-x: 64;
|
||
--assistant-safe-offset-y: 48;
|
||
--assistant-fit-scale-width: calc((var(--desktop-viewport-width, 1440) - var(--assistant-safe-offset-x)) / var(--assistant-base-width));
|
||
--assistant-fit-scale-height: calc((var(--desktop-viewport-height, 900) - var(--assistant-safe-offset-y)) / var(--assistant-base-height));
|
||
--assistant-scale: min(1, var(--assistant-fit-scale-width), var(--assistant-fit-scale-height));
|
||
width: calc(var(--assistant-base-width-px) * var(--assistant-scale));
|
||
height: calc(var(--assistant-base-height-px) * var(--assistant-scale));
|
||
position: relative;
|
||
display: block;
|
||
background: transparent;
|
||
box-shadow: none;
|
||
border: 0;
|
||
border-radius: 30px;
|
||
backdrop-filter: none;
|
||
-webkit-backdrop-filter: none;
|
||
overflow: hidden;
|
||
isolation: isolate;
|
||
}
|
||
|
||
.assistant-modal-stage {
|
||
position: relative;
|
||
width: var(--assistant-base-width-px);
|
||
height: var(--assistant-base-height-px);
|
||
display: grid;
|
||
grid-template-rows: auto minmax(0, 1fr);
|
||
transform: scale(var(--assistant-scale));
|
||
transform-origin: top left;
|
||
border-radius: 30px;
|
||
background:
|
||
radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 26%),
|
||
radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 24%),
|
||
linear-gradient(180deg, rgba(241, 246, 245, 0.92) 0%, rgba(230, 237, 235, 0.88) 100%);
|
||
box-shadow:
|
||
0 28px 72px rgba(15, 23, 42, 0.22),
|
||
0 10px 28px rgba(15, 23, 42, 0.09),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.42);
|
||
border: 1px solid rgba(255, 255, 255, 0.44);
|
||
background-clip: padding-box;
|
||
overflow: hidden;
|
||
isolation: isolate;
|
||
}
|
||
|
||
.assistant-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
padding: 22px 172px 18px 26px;
|
||
border-bottom: 1px solid rgba(203, 213, 225, 0.78);
|
||
background: linear-gradient(180deg, rgba(247, 250, 249, 0.82) 0%, rgba(240, 246, 244, 0.7) 100%);
|
||
}
|
||
|
||
.assistant-header-main {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 14px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.assistant-badge {
|
||
min-height: 32px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 14px;
|
||
border-radius: 999px;
|
||
background: linear-gradient(135deg, #22c55e, #10b981);
|
||
color: #fff;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
box-shadow: 0 8px 16px rgba(16, 185, 129, 0.14);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.assistant-badge.warning {
|
||
background: rgba(249, 115, 22, 0.12);
|
||
color: #c2410c;
|
||
}
|
||
|
||
.assistant-header h2 {
|
||
color: #0f172a;
|
||
font-size: 22px;
|
||
font-weight: 900;
|
||
letter-spacing: 0.01em;
|
||
}
|
||
|
||
.assistant-header p {
|
||
margin-top: 4px;
|
||
color: #64748b;
|
||
font-size: 13px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.assistant-header-actions {
|
||
position: absolute;
|
||
top: calc(22px * var(--assistant-scale));
|
||
right: calc(26px * var(--assistant-scale));
|
||
z-index: 40;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: calc(10px * var(--assistant-scale));
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.assistant-toggle-btn,
|
||
.session-trash-btn {
|
||
width: calc(38px * var(--assistant-scale));
|
||
height: calc(38px * var(--assistant-scale));
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 0;
|
||
border: 1px solid rgba(248, 113, 113, 0.28);
|
||
border-radius: calc(14px * var(--assistant-scale));
|
||
flex: none;
|
||
}
|
||
|
||
.assistant-toggle-btn {
|
||
border-color: rgba(16, 185, 129, 0.18);
|
||
background: rgba(245, 252, 249, 0.96);
|
||
color: #166534;
|
||
font-size: calc(16px * var(--assistant-scale));
|
||
box-shadow: 0 8px 18px rgba(16, 185, 129, 0.1);
|
||
}
|
||
|
||
.assistant-toggle-btn:hover:not(:disabled) {
|
||
background: rgba(236, 253, 245, 0.98);
|
||
border-color: rgba(16, 185, 129, 0.28);
|
||
}
|
||
|
||
.assistant-toggle-btn:disabled,
|
||
.assistant-toggle-btn.disabled {
|
||
opacity: 0.48;
|
||
cursor: not-allowed;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.session-trash-btn {
|
||
background: rgba(254, 242, 242, 0.96);
|
||
color: #dc2626;
|
||
font-size: calc(16px * var(--assistant-scale));
|
||
box-shadow: 0 8px 18px rgba(239, 68, 68, 0.12);
|
||
}
|
||
|
||
.session-trash-btn:hover:not(:disabled) {
|
||
background: rgba(254, 226, 226, 0.98);
|
||
border-color: rgba(239, 68, 68, 0.34);
|
||
}
|
||
|
||
.session-trash-btn:disabled {
|
||
opacity: 0.42;
|
||
cursor: not-allowed;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.assistant-close-btn,
|
||
.close-btn {
|
||
position: relative;
|
||
width: calc(38px * var(--assistant-scale));
|
||
height: calc(38px * var(--assistant-scale));
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 0;
|
||
flex: none;
|
||
border: 1px solid rgba(193, 204, 216, 0.92);
|
||
border-radius: calc(14px * var(--assistant-scale));
|
||
background: rgba(248, 251, 251, 0.94);
|
||
color: #475569;
|
||
font-size: calc(16px * var(--assistant-scale));
|
||
box-shadow: 0 8px 18px rgba(148, 163, 184, 0.18);
|
||
cursor: pointer;
|
||
pointer-events: auto;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
}
|
||
|
||
.assistant-close-btn {
|
||
z-index: 30;
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.assistant-close-btn i {
|
||
pointer-events: none;
|
||
}
|
||
|
||
.assistant-close-btn:hover,
|
||
.close-btn:hover {
|
||
background: rgba(241, 245, 249, 0.98);
|
||
border-color: rgba(148, 163, 184, 0.34);
|
||
color: #0f172a;
|
||
}
|
||
|
||
.assistant-layout {
|
||
min-height: 0;
|
||
display: flex;
|
||
padding: 16px;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.dialog-panel,
|
||
.insight-panel {
|
||
min-width: 0;
|
||
min-height: 0;
|
||
border: 1px solid rgba(189, 201, 214, 0.74);
|
||
border-radius: 24px;
|
||
background: rgba(248, 251, 251, 0.84);
|
||
box-shadow:
|
||
0 14px 32px rgba(148, 163, 184, 0.16),
|
||
0 2px 6px rgba(15, 23, 42, 0.05);
|
||
backdrop-filter: blur(22px);
|
||
-webkit-backdrop-filter: blur(22px);
|
||
}
|
||
|
||
.dialog-panel {
|
||
flex: 1 1 auto;
|
||
display: grid;
|
||
grid-template-rows: auto minmax(0, 1fr) auto;
|
||
overflow: hidden;
|
||
background:
|
||
radial-gradient(circle at top right, rgba(59, 130, 246, 0.07), transparent 22%),
|
||
linear-gradient(180deg, rgba(252, 253, 253, 0.88) 0%, rgba(243, 247, 248, 0.84) 100%);
|
||
transition:
|
||
transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
|
||
box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
|
||
will-change: transform;
|
||
}
|
||
|
||
.insight-panel-shell {
|
||
flex: none;
|
||
width: clamp(360px, 31vw, 440px);
|
||
min-width: 0;
|
||
margin-left: 16px;
|
||
overflow: hidden;
|
||
transition:
|
||
width 360ms cubic-bezier(0.22, 1, 0.36, 1),
|
||
margin-left 360ms cubic-bezier(0.22, 1, 0.36, 1);
|
||
}
|
||
|
||
.insight-panel-shell.collapsed {
|
||
width: 0;
|
||
margin-left: 0;
|
||
}
|
||
|
||
.dialog-toolbar {
|
||
display: flex;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
padding: 16px 18px 12px;
|
||
border-bottom: 1px solid rgba(238, 242, 247, 0.9);
|
||
}
|
||
|
||
.shortcut-chip {
|
||
min-height: 36px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
padding: 0 14px;
|
||
border: 1px solid rgba(219, 230, 240, 0.9);
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.95);
|
||
color: #334155;
|
||
font-size: 12px;
|
||
font-weight: 750;
|
||
box-shadow: 0 4px 12px rgba(241, 245, 249, 0.78);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.shortcut-chip i {
|
||
color: #059669;
|
||
}
|
||
|
||
.shortcut-chip:disabled {
|
||
opacity: 0.48;
|
||
cursor: not-allowed;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.message-list {
|
||
min-height: 0;
|
||
display: grid;
|
||
align-content: start;
|
||
gap: 14px;
|
||
padding: 18px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.message-row {
|
||
display: grid;
|
||
grid-template-columns: 38px minmax(0, 1fr);
|
||
align-items: start;
|
||
gap: 12px;
|
||
}
|
||
|
||
.message-row.user {
|
||
grid-template-columns: minmax(0, 1fr) 38px;
|
||
}
|
||
|
||
.message-row.user .message-avatar {
|
||
order: 2;
|
||
background: transparent;
|
||
}
|
||
|
||
.message-row.user .message-bubble {
|
||
order: 1;
|
||
justify-self: end;
|
||
background: linear-gradient(135deg, rgba(226, 238, 255, 0.98), rgba(242, 247, 255, 0.9));
|
||
border-color: rgba(96, 165, 250, 0.24);
|
||
box-shadow: 0 14px 30px rgba(59, 130, 246, 0.08);
|
||
}
|
||
|
||
.message-avatar {
|
||
width: 38px;
|
||
height: 38px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 999px;
|
||
overflow: hidden;
|
||
background: transparent;
|
||
box-shadow: 0 10px 20px rgba(148, 163, 184, 0.24);
|
||
}
|
||
|
||
.message-avatar img {
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.message-bubble {
|
||
max-width: min(100%, 720px);
|
||
padding: 14px 16px;
|
||
border: 1px solid rgba(210, 220, 230, 0.94);
|
||
border-radius: 20px;
|
||
background: rgba(253, 254, 254, 0.94);
|
||
color: #24324a;
|
||
line-height: 1.65;
|
||
box-shadow: 0 10px 22px rgba(226, 232, 240, 0.48);
|
||
}
|
||
|
||
.message-meta {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.message-meta strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.message-meta time {
|
||
color: #94a3b8;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.message-bubble p {
|
||
color: #334155;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.message-meta-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.message-meta-chip,
|
||
.capability-chip,
|
||
.risk-chip,
|
||
.message-risk-chip,
|
||
.message-action-chip {
|
||
min-height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.message-meta-chip,
|
||
.capability-chip {
|
||
background: #eef6ff;
|
||
color: #1d4ed8;
|
||
}
|
||
|
||
.risk-chip,
|
||
.message-risk-chip {
|
||
background: #fff1f2;
|
||
color: #be123c;
|
||
}
|
||
|
||
.message-action-chip {
|
||
background: #ecfdf5;
|
||
color: #059669;
|
||
}
|
||
|
||
.message-detail-block {
|
||
margin-top: 14px;
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.message-detail-block > strong {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.expense-query-block {
|
||
gap: 10px;
|
||
}
|
||
|
||
.expense-query-window-label {
|
||
margin: -4px 0 0;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.expense-query-summary-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.expense-query-summary-chip {
|
||
min-height: 24px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
background: #eef2ff;
|
||
color: #3730a3;
|
||
}
|
||
|
||
.expense-query-summary-chip.draft {
|
||
background: #fef3c7;
|
||
color: #b45309;
|
||
}
|
||
|
||
.expense-query-summary-chip.in_progress {
|
||
background: #dbeafe;
|
||
color: #1d4ed8;
|
||
}
|
||
|
||
.expense-query-summary-chip.completed {
|
||
background: #dcfce7;
|
||
color: #15803d;
|
||
}
|
||
|
||
.expense-query-summary-chip.other {
|
||
background: #f1f5f9;
|
||
color: #475569;
|
||
}
|
||
|
||
.expense-query-record-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.expense-query-record-list.compact .expense-query-record-card {
|
||
width: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
padding: 10px 12px;
|
||
border: 1px solid #dbe4ee;
|
||
border-radius: 14px;
|
||
background: #fbfdff;
|
||
cursor: pointer;
|
||
font: inherit;
|
||
text-align: left;
|
||
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
||
}
|
||
|
||
.expense-query-record-list.compact .expense-query-record-card:hover {
|
||
transform: translateY(-1px);
|
||
border-color: #bfdbfe;
|
||
box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
|
||
}
|
||
|
||
.expense-query-record-card > i {
|
||
color: #94a3b8;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.expense-query-record-main {
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 5px;
|
||
flex: 1;
|
||
}
|
||
|
||
.expense-query-record-top {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.expense-query-record-top strong {
|
||
min-width: 0;
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.expense-query-record-top strong,
|
||
.expense-query-record-card p,
|
||
.expense-query-record-meta span {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.expense-query-record-status {
|
||
flex-shrink: 0;
|
||
min-height: 22px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 8px;
|
||
border-radius: 999px;
|
||
font-size: 10px;
|
||
font-weight: 800;
|
||
background: #f1f5f9;
|
||
color: #475569;
|
||
}
|
||
|
||
.expense-query-record-status.draft {
|
||
background: #fef3c7;
|
||
color: #b45309;
|
||
}
|
||
|
||
.expense-query-record-status.in_progress {
|
||
background: #dbeafe;
|
||
color: #1d4ed8;
|
||
}
|
||
|
||
.expense-query-record-status.completed {
|
||
background: #dcfce7;
|
||
color: #15803d;
|
||
}
|
||
|
||
.expense-query-record-card p {
|
||
margin: 0;
|
||
color: #334155;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.expense-query-record-meta {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 4px 10px;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.expense-query-pager {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 10px;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.expense-query-pager-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border: 1px solid #dbe4ee;
|
||
border-radius: 999px;
|
||
background: #fff;
|
||
color: #475569;
|
||
transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
|
||
}
|
||
|
||
.expense-query-pager-btn:disabled {
|
||
opacity: 0.4;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.expense-query-pager-btn:not(:disabled):hover {
|
||
border-color: #bfdbfe;
|
||
color: #2563eb;
|
||
background: #f8fbff;
|
||
}
|
||
|
||
.expense-query-pager-dots {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.expense-query-pager-dot {
|
||
width: 8px;
|
||
height: 8px;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 999px;
|
||
background: #cbd5e1;
|
||
transition: transform 0.2s ease, background 0.2s ease;
|
||
}
|
||
|
||
.expense-query-pager-dot.active {
|
||
background: #2563eb;
|
||
transform: scale(1.15);
|
||
}
|
||
|
||
.expense-query-empty {
|
||
min-height: 52px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 0 14px;
|
||
border: 1px dashed #dbe4ee;
|
||
border-radius: 16px;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.expense-query-empty i {
|
||
font-size: 18px;
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.expense-query-hint {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.message-detail-chip-row,
|
||
.capability-chip-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.message-citation-list,
|
||
.citation-stack,
|
||
.action-list {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.message-citation-card,
|
||
.citation-card,
|
||
.action-card {
|
||
padding: 12px 14px;
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 16px;
|
||
background: #f8fbff;
|
||
}
|
||
|
||
.message-citation-card header,
|
||
.citation-card header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.message-citation-card header span,
|
||
.citation-card header strong,
|
||
.action-card strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.message-citation-card header small,
|
||
.citation-card header span {
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.message-citation-card p,
|
||
.citation-card p,
|
||
.action-card p,
|
||
.draft-preview pre {
|
||
margin: 0;
|
||
color: #475569;
|
||
font-size: 12px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
.draft-preview {
|
||
margin-top: 12px;
|
||
padding: 12px 14px;
|
||
border: 1px solid #dbe3ec;
|
||
border-radius: 16px;
|
||
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
|
||
}
|
||
|
||
.draft-preview header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.draft-preview header strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.draft-preview header span {
|
||
color: #b45309;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.draft-preview pre {
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
font-family: inherit;
|
||
}
|
||
|
||
.message-files {
|
||
display: flex;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.file-chip {
|
||
min-height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 0 10px;
|
||
border: 0;
|
||
border-radius: 999px;
|
||
background: #f1f5f9;
|
||
color: #475569;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.file-chip.active {
|
||
background: #eef6ff;
|
||
color: #2563eb;
|
||
}
|
||
|
||
.composer {
|
||
padding: 0 18px 18px;
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.hidden-file-input {
|
||
display: none;
|
||
}
|
||
|
||
.composer-shell {
|
||
min-width: 0;
|
||
border: 1px solid rgba(214, 225, 234, 0.95);
|
||
border-radius: 20px;
|
||
background: rgba(255, 255, 255, 0.98);
|
||
box-shadow:
|
||
0 10px 22px rgba(226, 232, 240, 0.24),
|
||
0 1px 4px rgba(15, 23, 42, 0.03);
|
||
}
|
||
|
||
.composer-files-panel {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding: 14px;
|
||
border: 1px solid rgba(226, 232, 240, 0.9);
|
||
border-radius: 18px;
|
||
background: linear-gradient(180deg, rgba(248, 251, 255, 0.92) 0%, rgba(242, 247, 251, 0.78) 100%);
|
||
}
|
||
|
||
.composer-files-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.composer-files-head strong {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.composer-files-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-wrap: wrap;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.composer-file-link {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
color: #2563eb;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.composer-file-link.danger {
|
||
color: #dc2626;
|
||
}
|
||
|
||
.composer-file-link:disabled {
|
||
opacity: 0.48;
|
||
}
|
||
|
||
.composer-file-chip-row {
|
||
display: flex;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.composer-file-chip {
|
||
max-width: min(100%, 280px);
|
||
}
|
||
|
||
.file-chip.summary {
|
||
border: 1px dashed rgba(96, 165, 250, 0.34);
|
||
background: rgba(239, 246, 255, 0.92);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.file-chip-label {
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.file-chip-remove {
|
||
width: 18px;
|
||
height: 18px;
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.82);
|
||
color: inherit;
|
||
flex: none;
|
||
}
|
||
|
||
.file-chip-remove:disabled {
|
||
opacity: 0.48;
|
||
}
|
||
|
||
.composer-files-expanded {
|
||
display: grid;
|
||
gap: 8px;
|
||
max-height: 176px;
|
||
overflow-y: auto;
|
||
padding-right: 2px;
|
||
}
|
||
|
||
.composer-expanded-file {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
padding: 10px 12px;
|
||
border-radius: 14px;
|
||
border: 1px solid rgba(219, 230, 240, 0.92);
|
||
background: rgba(255, 255, 255, 0.88);
|
||
}
|
||
|
||
.composer-expanded-file-copy {
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
color: #334155;
|
||
}
|
||
|
||
.composer-expanded-file-copy span {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.composer-expanded-file-remove {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 0;
|
||
border-radius: 10px;
|
||
background: rgba(248, 250, 252, 0.92);
|
||
color: #64748b;
|
||
}
|
||
|
||
.composer-expanded-file-remove:disabled {
|
||
opacity: 0.48;
|
||
}
|
||
|
||
.composer-shell textarea {
|
||
width: 100%;
|
||
min-height: 20px;
|
||
resize: none;
|
||
border: 0;
|
||
padding: 11px 14px;
|
||
background: transparent;
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.composer-shell textarea::placeholder {
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.composer-shell textarea:focus {
|
||
outline: none;
|
||
}
|
||
|
||
.composer-shell textarea:disabled {
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.composer-row {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
gap: 10px;
|
||
}
|
||
|
||
.composer-row .composer-shell {
|
||
flex: 1 1 auto;
|
||
}
|
||
|
||
.composer-side-btn,
|
||
.tool-btn,
|
||
.send-btn {
|
||
width: 44px;
|
||
height: 44px;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 0;
|
||
border-radius: 999px;
|
||
flex: none;
|
||
}
|
||
|
||
.tool-btn {
|
||
background: #ffffff;
|
||
color: #475569;
|
||
font-size: 18px;
|
||
border: 1px solid #dbe6f0;
|
||
box-shadow: 0 4px 12px rgba(241, 245, 249, 0.76);
|
||
}
|
||
|
||
.tool-btn:disabled {
|
||
opacity: 0.48;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.send-btn {
|
||
background: linear-gradient(135deg, #22c55e, #10b981);
|
||
color: #fff;
|
||
font-size: 16px;
|
||
box-shadow: 0 8px 18px rgba(16, 185, 129, 0.18);
|
||
}
|
||
|
||
.send-btn:disabled {
|
||
opacity: 0.48;
|
||
cursor: not-allowed;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.insight-panel {
|
||
position: relative;
|
||
display: grid;
|
||
grid-template-rows: auto minmax(0, 1fr);
|
||
width: clamp(360px, 31vw, 440px);
|
||
height: 100%;
|
||
overflow: hidden;
|
||
background:
|
||
linear-gradient(180deg, rgba(239, 245, 243, 0.9) 0%, rgba(231, 238, 236, 0.84) 100%);
|
||
opacity: 1;
|
||
transform: translateX(0) scale(1);
|
||
transform-origin: right center;
|
||
transition:
|
||
opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
|
||
transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
|
||
box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
|
||
will-change: transform, opacity;
|
||
}
|
||
|
||
.insight-panel-shell.collapsed .insight-panel {
|
||
opacity: 0;
|
||
transform: translateX(44px) scale(0.985);
|
||
pointer-events: none;
|
||
}
|
||
|
||
.insight-panel::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: -18px;
|
||
right: -34px;
|
||
width: 240px;
|
||
height: 150px;
|
||
border-radius: 0 0 0 140px;
|
||
background:
|
||
radial-gradient(circle at 0 100%, rgba(16, 185, 129, 0.14), transparent 54%),
|
||
linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(96, 165, 250, 0.06));
|
||
opacity: 0.9;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.insight-head {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 14px;
|
||
padding: 18px 18px 14px;
|
||
border-bottom: 1px solid rgba(205, 215, 224, 0.82);
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.insight-head.review-mode {
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.insight-head-eyebrow {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.insight-head-badge {
|
||
min-height: 24px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
background: rgba(240, 253, 244, 0.95);
|
||
color: #059669;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
border: 1px solid rgba(16, 185, 129, 0.12);
|
||
}
|
||
|
||
.review-insight-title-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.review-insight-title-copy {
|
||
min-width: 0;
|
||
}
|
||
|
||
.review-insight-title-copy h3 {
|
||
margin: 0;
|
||
}
|
||
|
||
.review-insight-tools {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex: 0 0 auto;
|
||
align-self: center;
|
||
}
|
||
|
||
.review-insight-switch-icon-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 999px;
|
||
border: 1px solid rgba(203, 213, 225, 0.92);
|
||
background: rgba(248, 250, 252, 0.96);
|
||
color: #94a3b8;
|
||
font-size: 14px;
|
||
flex: 0 0 auto;
|
||
transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
|
||
}
|
||
|
||
.review-insight-switch-icon-btn.available {
|
||
border-color: rgba(245, 158, 11, 0.28);
|
||
background: rgba(255, 247, 237, 0.94);
|
||
color: #d97706;
|
||
}
|
||
|
||
.review-insight-switch-icon-btn.active {
|
||
border-color: rgba(217, 119, 6, 0.42);
|
||
background: rgba(254, 243, 199, 0.98);
|
||
color: #b45309;
|
||
box-shadow: 0 6px 14px rgba(245, 158, 11, 0.16);
|
||
}
|
||
|
||
.review-insight-switch-icon-btn.risk.available {
|
||
border-color: rgba(239, 68, 68, 0.28);
|
||
background: rgba(254, 242, 242, 0.96);
|
||
color: #dc2626;
|
||
}
|
||
|
||
.review-insight-switch-icon-btn.risk.active {
|
||
border-color: rgba(220, 38, 38, 0.42);
|
||
background: rgba(254, 226, 226, 0.98);
|
||
color: #b91c1c;
|
||
box-shadow: 0 6px 14px rgba(239, 68, 68, 0.16);
|
||
}
|
||
|
||
.review-insight-switch-icon-btn:hover:not(:disabled) {
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.review-insight-switch-icon-btn:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 1;
|
||
color: #cbd5e1;
|
||
background: rgba(248, 250, 252, 0.9);
|
||
}
|
||
|
||
.intent-pill {
|
||
min-height: 30px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 13px;
|
||
border-radius: 999px;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.intent-pill.welcome {
|
||
background: #eef2ff;
|
||
color: #4f46e5;
|
||
}
|
||
|
||
.intent-pill.draft {
|
||
background: #ecfdf5;
|
||
color: #059669;
|
||
}
|
||
|
||
.intent-pill.approval {
|
||
background: #fff7ed;
|
||
color: #ea580c;
|
||
}
|
||
|
||
.intent-pill.recognition {
|
||
background: #eff6ff;
|
||
color: #2563eb;
|
||
}
|
||
|
||
.intent-pill.note {
|
||
background: #fdf2f8;
|
||
color: #db2777;
|
||
}
|
||
|
||
.insight-head h3 {
|
||
margin-top: 10px;
|
||
color: #0f172a;
|
||
font-size: 19px;
|
||
font-weight: 900;
|
||
line-height: 1.25;
|
||
}
|
||
|
||
.insight-head p {
|
||
margin-top: 6px;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.confidence-card {
|
||
min-width: 92px;
|
||
padding: 10px 12px;
|
||
border-radius: 14px;
|
||
background: rgba(250, 252, 252, 0.9);
|
||
border: 1px solid rgba(202, 213, 223, 0.9);
|
||
box-shadow: 0 8px 18px rgba(203, 213, 225, 0.3);
|
||
text-align: right;
|
||
}
|
||
|
||
.confidence-card span {
|
||
display: block;
|
||
color: #94a3b8;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.confidence-card strong {
|
||
display: block;
|
||
margin-top: 4px;
|
||
color: #0f172a;
|
||
font-size: 19px;
|
||
font-weight: 900;
|
||
}
|
||
|
||
.insight-body {
|
||
min-height: 0;
|
||
display: grid;
|
||
align-content: start;
|
||
gap: 12px;
|
||
padding: 14px 18px 18px;
|
||
overflow-y: auto;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.review-side-card {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding: 14px;
|
||
border-radius: 18px;
|
||
border: 1px solid rgba(197, 209, 221, 0.88);
|
||
background: rgba(249, 251, 251, 0.88);
|
||
box-shadow: 0 10px 20px rgba(226, 232, 240, 0.3);
|
||
}
|
||
|
||
.review-side-overview-card {
|
||
gap: 12px;
|
||
background: linear-gradient(180deg, rgba(251, 252, 252, 0.92) 0%, rgba(240, 246, 244, 0.86) 100%);
|
||
}
|
||
|
||
.review-side-intent-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
color: #475569;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.review-side-intent-row i {
|
||
color: #059669;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.review-side-intent-row strong {
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-side-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-side-grid.compact {
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-side-metric-card {
|
||
display: grid;
|
||
grid-template-columns: 32px minmax(0, 1fr);
|
||
gap: 8px;
|
||
align-items: start;
|
||
padding: 12px;
|
||
border-radius: 14px;
|
||
border: 1px solid rgba(206, 216, 226, 0.88);
|
||
background: rgba(251, 252, 252, 0.82);
|
||
position: relative;
|
||
cursor: pointer;
|
||
transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
|
||
}
|
||
|
||
.review-side-metric-card.invalid {
|
||
border-color: rgba(239, 68, 68, 0.34);
|
||
background: rgba(254, 242, 242, 0.72);
|
||
}
|
||
|
||
.review-side-metric-card.editable:hover,
|
||
.review-side-metric-card.editing {
|
||
border-color: rgba(16, 185, 129, 0.34);
|
||
background: rgba(248, 252, 250, 0.92);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.review-side-metric-icon {
|
||
width: 32px;
|
||
height: 32px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 10px;
|
||
background: rgba(240, 253, 244, 0.95);
|
||
color: #059669;
|
||
font-size: 15px;
|
||
}
|
||
|
||
.review-side-metric-copy {
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.review-side-metric-copy small {
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-side-metric-copy strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
line-height: 1.35;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.review-inline-input {
|
||
width: 100%;
|
||
min-height: 34px;
|
||
padding: 0 10px;
|
||
border: 1px solid rgba(16, 185, 129, 0.2);
|
||
border-radius: 10px;
|
||
background: rgba(255, 255, 255, 0.96);
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.review-inline-input.invalid {
|
||
border-color: rgba(239, 68, 68, 0.4);
|
||
color: #b91c1c;
|
||
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
|
||
}
|
||
|
||
.review-inline-input:focus {
|
||
outline: none;
|
||
border-color: rgba(16, 185, 129, 0.42);
|
||
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
|
||
}
|
||
|
||
.review-inline-select-list {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.review-inline-select-option {
|
||
min-height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
border: 1px solid rgba(203, 213, 225, 0.92);
|
||
background: rgba(255, 255, 255, 0.96);
|
||
color: #475569;
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.review-inline-select-option.active {
|
||
border-color: rgba(16, 185, 129, 0.36);
|
||
background: rgba(240, 253, 244, 0.94);
|
||
color: #047857;
|
||
}
|
||
|
||
.review-inline-error {
|
||
color: #dc2626;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.review-side-edit-hint {
|
||
position: absolute;
|
||
top: 8px;
|
||
right: 8px;
|
||
min-height: 20px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 6px;
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.92);
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
color: #94a3b8;
|
||
font-size: 10px;
|
||
font-weight: 800;
|
||
opacity: 0;
|
||
transition: opacity 0.18s ease;
|
||
}
|
||
|
||
.review-side-edit-hint.upload {
|
||
color: #059669;
|
||
}
|
||
|
||
.review-side-metric-card:hover .review-side-edit-hint,
|
||
.review-side-metric-card.editing .review-side-edit-hint {
|
||
opacity: 1;
|
||
}
|
||
|
||
.review-side-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.review-side-head strong {
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
font-weight: 900;
|
||
}
|
||
|
||
.review-side-head-copy {
|
||
display: grid;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.review-side-head-copy p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.review-side-confidence {
|
||
color: #10b981;
|
||
font-size: 12px;
|
||
font-weight: 900;
|
||
}
|
||
|
||
.review-side-category-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-side-category-card {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
padding: 12px;
|
||
min-height: 66px;
|
||
border-radius: 14px;
|
||
border: 1px solid rgba(226, 232, 240, 0.94);
|
||
background: rgba(255, 255, 255, 0.68);
|
||
cursor: pointer;
|
||
transition: border-color 0.18s ease, background 0.18s ease;
|
||
}
|
||
|
||
.review-side-category-card.active {
|
||
border-color: rgba(52, 211, 153, 0.62);
|
||
background: rgba(240, 253, 244, 0.9);
|
||
box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
|
||
}
|
||
|
||
.review-side-category-copy {
|
||
display: grid;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.review-side-category-copy strong {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
line-height: 1.35;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.review-side-category-copy p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 10px;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.review-side-group-check {
|
||
color: #10b981;
|
||
font-size: 18px;
|
||
}
|
||
|
||
.review-other-category-popover {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
padding-top: 2px;
|
||
}
|
||
|
||
.review-other-category-option {
|
||
min-height: 30px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 12px;
|
||
border-radius: 999px;
|
||
border: 1px solid rgba(203, 213, 225, 0.92);
|
||
background: rgba(255, 255, 255, 0.94);
|
||
color: #475569;
|
||
font-size: 11px;
|
||
font-weight: 750;
|
||
}
|
||
|
||
.review-other-category-option.active {
|
||
border-color: rgba(16, 185, 129, 0.36);
|
||
background: rgba(240, 253, 244, 0.94);
|
||
color: #047857;
|
||
}
|
||
|
||
.review-side-risk-card {
|
||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 249, 238, 0.8) 100%);
|
||
}
|
||
|
||
.review-side-risk-score {
|
||
color: #f97316;
|
||
font-size: 13px;
|
||
font-weight: 900;
|
||
}
|
||
|
||
.review-side-risk-score.empty {
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.review-side-risk-summary {
|
||
margin: 0;
|
||
color: #334155;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-side-risk-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
margin: 0;
|
||
padding-left: 16px;
|
||
color: #475569;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-side-link {
|
||
width: fit-content;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
color: #059669;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-side-link:disabled {
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.review-side-empty {
|
||
display: grid;
|
||
justify-items: start;
|
||
gap: 8px;
|
||
padding: 14px;
|
||
border: 1px dashed rgba(203, 213, 225, 0.92);
|
||
border-radius: 16px;
|
||
background: rgba(255, 255, 255, 0.52);
|
||
}
|
||
|
||
.review-side-empty-icon {
|
||
width: 36px;
|
||
height: 36px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 12px;
|
||
background: rgba(240, 244, 248, 0.96);
|
||
color: #94a3b8;
|
||
font-size: 18px;
|
||
}
|
||
|
||
.review-side-empty strong {
|
||
color: #475569;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-side-empty p {
|
||
margin: 0;
|
||
color: #94a3b8;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-side-save-pill {
|
||
position: sticky;
|
||
bottom: 0;
|
||
justify-self: end;
|
||
min-height: 36px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 0 14px;
|
||
border: 1px solid rgba(16, 185, 129, 0.22);
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.94);
|
||
color: #059669;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
|
||
}
|
||
|
||
.review-side-save-pill:disabled {
|
||
opacity: 0.5;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.review-document-switch-card {
|
||
gap: 14px;
|
||
}
|
||
|
||
.review-ticket-drawer {
|
||
min-height: 0;
|
||
}
|
||
|
||
.review-document-switch-head {
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.review-document-nav {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
padding: 4px;
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.92);
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.review-document-nav span {
|
||
color: #334155;
|
||
font-size: 11px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-document-nav-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 0;
|
||
border-radius: 999px;
|
||
background: rgba(241, 245, 249, 0.96);
|
||
color: #334155;
|
||
}
|
||
|
||
.review-document-nav-btn:disabled {
|
||
opacity: 0.4;
|
||
}
|
||
|
||
.review-document-stage {
|
||
display: grid;
|
||
gap: 12px;
|
||
min-height: 0;
|
||
}
|
||
|
||
.review-document-stage-head {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.review-document-stage-copy {
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.review-document-stage-copy strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
line-height: 1.5;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.review-document-index-chip {
|
||
width: fit-content;
|
||
min-height: 24px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
background: rgba(236, 253, 245, 0.92);
|
||
color: #059669;
|
||
font-size: 11px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-document-meta-chip-row {
|
||
display: flex;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.review-document-meta-chip {
|
||
min-height: 26px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
background: rgba(248, 250, 252, 0.94);
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
color: #475569;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-document-meta-chip.confidence {
|
||
background: rgba(236, 253, 245, 0.92);
|
||
color: #047857;
|
||
border-color: rgba(167, 243, 208, 0.92);
|
||
}
|
||
|
||
.review-document-scroll {
|
||
display: grid;
|
||
gap: 12px;
|
||
max-height: 430px;
|
||
overflow-y: auto;
|
||
padding-right: 4px;
|
||
}
|
||
|
||
.review-document-preview-card {
|
||
min-height: 168px;
|
||
overflow: hidden;
|
||
border-radius: 16px;
|
||
border: 1px solid rgba(226, 232, 240, 0.94);
|
||
background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
|
||
}
|
||
|
||
.review-document-preview-card.clickable {
|
||
cursor: zoom-in;
|
||
}
|
||
|
||
.review-document-preview-card.clickable img {
|
||
transition: transform 0.18s ease;
|
||
}
|
||
|
||
.review-document-preview-card.clickable:hover img {
|
||
transform: scale(1.02);
|
||
}
|
||
|
||
.review-document-preview-card.image img {
|
||
display: block;
|
||
width: 100%;
|
||
height: 188px;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.review-document-preview-placeholder {
|
||
min-height: 168px;
|
||
display: grid;
|
||
place-items: center;
|
||
gap: 6px;
|
||
padding: 18px;
|
||
text-align: center;
|
||
}
|
||
|
||
.review-document-preview-placeholder i {
|
||
color: #64748b;
|
||
font-size: 34px;
|
||
}
|
||
|
||
.review-document-preview-placeholder strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-document-preview-placeholder p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
.review-document-edit-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-document-edit-field {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-document-edit-field span {
|
||
color: #334155;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-document-edit-field input,
|
||
.review-document-edit-field textarea {
|
||
width: 100%;
|
||
border: 1px solid rgba(219, 230, 240, 0.96);
|
||
border-radius: 14px;
|
||
background: rgba(255, 255, 255, 0.96);
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
line-height: 1.6;
|
||
padding: 10px 12px;
|
||
resize: vertical;
|
||
}
|
||
|
||
.review-document-edit-field input:focus,
|
||
.review-document-edit-field textarea:focus {
|
||
outline: none;
|
||
border-color: rgba(16, 185, 129, 0.36);
|
||
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
|
||
}
|
||
|
||
.review-document-edit-field textarea {
|
||
min-height: 88px;
|
||
}
|
||
|
||
.review-document-warning-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-document-warning-item {
|
||
display: grid;
|
||
grid-template-columns: 18px minmax(0, 1fr);
|
||
gap: 8px;
|
||
align-items: start;
|
||
padding: 10px 12px;
|
||
border-radius: 14px;
|
||
background: rgba(255, 247, 237, 0.92);
|
||
border: 1px solid rgba(253, 186, 116, 0.6);
|
||
color: #c2410c;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-side-empty.compact {
|
||
padding: 12px;
|
||
}
|
||
|
||
.insight-card {
|
||
padding: 16px;
|
||
border: 1px solid #e7eef6;
|
||
border-radius: 20px;
|
||
background: rgba(255, 255, 255, 0.95);
|
||
box-shadow: 0 14px 24px rgba(241, 245, 249, 0.86);
|
||
}
|
||
|
||
.insight-card.primary {
|
||
background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
|
||
}
|
||
|
||
.card-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.card-head h4 {
|
||
color: #0f172a;
|
||
font-size: 15px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.knowledge-question-list {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.knowledge-question-btn {
|
||
width: 100%;
|
||
display: grid;
|
||
grid-template-columns: 28px minmax(0, 1fr) 18px;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 12px 14px;
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
border-radius: 16px;
|
||
background: rgba(248, 250, 252, 0.86);
|
||
color: #1e293b;
|
||
text-align: left;
|
||
transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
|
||
}
|
||
|
||
.knowledge-question-btn:hover:not(:disabled) {
|
||
border-color: rgba(16, 185, 129, 0.3);
|
||
background: rgba(240, 253, 244, 0.9);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.knowledge-question-btn:disabled {
|
||
opacity: 0.48;
|
||
cursor: not-allowed;
|
||
transform: none;
|
||
}
|
||
|
||
.knowledge-question-btn i {
|
||
justify-self: end;
|
||
color: #059669;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.knowledge-question-index {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 999px;
|
||
background: rgba(226, 232, 240, 0.9);
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.knowledge-question-index.gold {
|
||
background: linear-gradient(135deg, #fbbf24, #f59e0b);
|
||
color: #7c2d12;
|
||
box-shadow: 0 6px 14px rgba(245, 158, 11, 0.22);
|
||
}
|
||
|
||
.knowledge-question-index.silver {
|
||
background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
|
||
color: #334155;
|
||
box-shadow: 0 6px 14px rgba(148, 163, 184, 0.18);
|
||
}
|
||
|
||
.knowledge-question-index.bronze {
|
||
background: linear-gradient(135deg, #fdba74, #ea580c);
|
||
color: #7c2d12;
|
||
box-shadow: 0 6px 14px rgba(234, 88, 12, 0.18);
|
||
}
|
||
|
||
.knowledge-question-copy {
|
||
min-width: 0;
|
||
color: #334155;
|
||
font-size: 13px;
|
||
font-weight: 750;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.status-pill {
|
||
min-height: 28px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.status-pill.success {
|
||
background: #ecfdf5;
|
||
color: #059669;
|
||
}
|
||
|
||
.status-pill.warning {
|
||
background: #fff7ed;
|
||
color: #ea580c;
|
||
}
|
||
|
||
.status-pill.note {
|
||
background: #fdf2f8;
|
||
color: #db2777;
|
||
}
|
||
|
||
.metric-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 12px;
|
||
}
|
||
|
||
.metric-grid.single {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.metric-item {
|
||
padding: 12px 14px;
|
||
border-radius: 16px;
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.metric-item span {
|
||
display: block;
|
||
color: #94a3b8;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.metric-item strong {
|
||
display: block;
|
||
margin-top: 6px;
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
font-weight: 850;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.timeline-list,
|
||
.bullet-list {
|
||
display: grid;
|
||
gap: 12px;
|
||
padding: 0;
|
||
margin: 0;
|
||
list-style: none;
|
||
}
|
||
|
||
.timeline-list li {
|
||
display: grid;
|
||
grid-template-columns: 14px minmax(0, 1fr);
|
||
gap: 12px;
|
||
align-items: start;
|
||
}
|
||
|
||
.timeline-dot {
|
||
width: 10px;
|
||
height: 10px;
|
||
margin-top: 5px;
|
||
border-radius: 999px;
|
||
background: #cbd5e1;
|
||
}
|
||
|
||
.timeline-list li.done .timeline-dot,
|
||
.timeline-list li.current .timeline-dot {
|
||
background: #10b981;
|
||
}
|
||
|
||
.timeline-list strong {
|
||
display: block;
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.timeline-list p,
|
||
.bullet-list li,
|
||
.welcome-card p,
|
||
.note-block p {
|
||
color: #64748b;
|
||
font-size: 13px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.receipt-list {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.receipt-row {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 12px;
|
||
align-items: center;
|
||
padding: 12px 14px;
|
||
border-radius: 16px;
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.receipt-row strong,
|
||
.welcome-card strong,
|
||
.note-block strong {
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.action-card {
|
||
background: #fff;
|
||
}
|
||
|
||
.receipt-row p,
|
||
.receipt-row span {
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.receipt-side {
|
||
text-align: right;
|
||
}
|
||
|
||
.receipt-side strong {
|
||
display: block;
|
||
}
|
||
|
||
.review-message-block {
|
||
margin-top: 12px;
|
||
}
|
||
|
||
.review-summary {
|
||
margin: 0;
|
||
color: #1f2937;
|
||
font-size: 13px;
|
||
line-height: 1.75;
|
||
white-space: pre-line;
|
||
}
|
||
|
||
.review-card-shell {
|
||
display: grid;
|
||
gap: 12px;
|
||
padding: 15px;
|
||
border-radius: 20px;
|
||
border: 1px solid rgba(16, 185, 129, 0.14);
|
||
background:
|
||
radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 28%),
|
||
linear-gradient(180deg, #fbfffd 0%, #f6fbf9 100%);
|
||
box-shadow: 0 8px 20px rgba(226, 232, 240, 0.28);
|
||
}
|
||
|
||
.review-flow-card {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding-top: 2px;
|
||
border-top: 1px solid rgba(226, 232, 240, 0.72);
|
||
}
|
||
|
||
.review-disclosure-card {
|
||
display: grid;
|
||
gap: 0;
|
||
border-top: 1px solid rgba(226, 232, 240, 0.72);
|
||
padding-top: 6px;
|
||
}
|
||
|
||
.review-disclosure-card summary {
|
||
list-style: none;
|
||
}
|
||
|
||
.review-disclosure-card summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.review-disclosure-summary {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 10px 12px;
|
||
border-radius: 16px;
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
background: rgba(255, 255, 255, 0.78);
|
||
cursor: pointer;
|
||
transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
|
||
}
|
||
|
||
.review-disclosure-summary:hover {
|
||
border-color: rgba(16, 185, 129, 0.2);
|
||
background: rgba(255, 255, 255, 0.92);
|
||
box-shadow: 0 6px 16px rgba(226, 232, 240, 0.24);
|
||
}
|
||
|
||
.review-disclosure-copy {
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.review-disclosure-copy strong {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 900;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.review-disclosure-copy p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.review-disclosure-toggle {
|
||
width: 28px;
|
||
height: 28px;
|
||
flex: none;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 999px;
|
||
background: rgba(240, 253, 244, 0.86);
|
||
color: #059669;
|
||
font-size: 16px;
|
||
transition: transform 0.18s ease, background 0.18s ease;
|
||
}
|
||
|
||
.review-disclosure-card[open] .review-disclosure-toggle {
|
||
transform: rotate(180deg);
|
||
background: rgba(220, 252, 231, 0.92);
|
||
}
|
||
|
||
.review-disclosure-body {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding: 12px 4px 0;
|
||
}
|
||
|
||
.review-card-head {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.review-card-head-main {
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-card-icon {
|
||
width: 32px;
|
||
height: 32px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 10px;
|
||
background: linear-gradient(135deg, #22c55e, #10b981);
|
||
color: #fff;
|
||
font-size: 16px;
|
||
box-shadow: 0 8px 16px rgba(16, 185, 129, 0.16);
|
||
}
|
||
|
||
.review-card-head-copy {
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.review-card-head-copy strong {
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
font-weight: 900;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.review-card-head-copy p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.review-card-state {
|
||
min-height: 26px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
font-size: 11px;
|
||
font-weight: 850;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.review-card-state.ready {
|
||
background: rgba(240, 253, 244, 0.95);
|
||
color: #059669;
|
||
border: 1px solid rgba(16, 185, 129, 0.14);
|
||
}
|
||
|
||
.review-card-state.pending {
|
||
background: rgba(255, 251, 235, 0.95);
|
||
color: #b45309;
|
||
border: 1px solid rgba(245, 158, 11, 0.16);
|
||
}
|
||
|
||
.review-section-card {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding: 12px 14px;
|
||
border-radius: 16px;
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
background: rgba(255, 255, 255, 0.76);
|
||
}
|
||
|
||
.review-section-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.review-section-head strong {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 900;
|
||
}
|
||
|
||
.review-section-head span {
|
||
min-height: 22px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 8px;
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.92);
|
||
border: 1px solid #e2e8f0;
|
||
color: #475569;
|
||
font-size: 10px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-alert-card {
|
||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(251, 248, 243, 0.82) 100%);
|
||
}
|
||
|
||
/* 已删除:review-alert-chip-row 相关样式(冗余气泡) */
|
||
/* 已删除:主对话框中的风险提示(与右侧边栏重复,已移除) */
|
||
|
||
/* 风险提示样式已统一到 review-pending-item */
|
||
.review-risk-brief-list {
|
||
display: none; /* 隐藏原有的独立风险提示列表 */
|
||
}
|
||
|
||
.review-risk-brief {
|
||
display: none; /* 隐藏原有的独立风险提示项 */
|
||
}
|
||
|
||
.review-pending-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-pending-list.plain {
|
||
gap: 0;
|
||
}
|
||
|
||
.review-pending-item {
|
||
display: grid;
|
||
grid-template-columns: 36px minmax(0, 1fr) auto;
|
||
gap: 10px;
|
||
align-items: center;
|
||
padding: 11px 12px;
|
||
border-radius: 14px;
|
||
background: rgba(255, 255, 255, 0.88);
|
||
border: 1px solid rgba(226, 232, 240, 0.92);
|
||
}
|
||
|
||
.review-pending-list.plain .review-pending-item {
|
||
padding: 10px 0;
|
||
border: 0;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
border-bottom: 1px solid rgba(226, 232, 240, 0.7);
|
||
}
|
||
|
||
.review-pending-list.plain .review-pending-item:last-child {
|
||
border-bottom: 0;
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
.review-pending-list.plain .review-pending-item:first-child {
|
||
padding-top: 2px;
|
||
}
|
||
|
||
.review-pending-icon {
|
||
width: 36px;
|
||
height: 36px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 10px;
|
||
background: rgba(236, 253, 245, 0.95);
|
||
color: #059669;
|
||
font-size: 16px;
|
||
}
|
||
|
||
/* 风险级别的图标样式(已删除主对话框中的风险提示,保留样式备用) */
|
||
.review-pending-icon.high {
|
||
background: rgba(254, 226, 226, 0.95);
|
||
color: #dc2626;
|
||
}
|
||
|
||
.review-pending-icon.warning {
|
||
background: rgba(255, 237, 213, 0.95);
|
||
color: #ea580c;
|
||
}
|
||
|
||
.review-pending-list.plain .review-pending-icon {
|
||
background: rgba(236, 253, 245, 0.62);
|
||
}
|
||
|
||
.review-pending-list.plain .review-pending-icon.high {
|
||
background: rgba(254, 226, 226, 0.62);
|
||
}
|
||
|
||
.review-pending-list.plain .review-pending-icon.warning {
|
||
background: rgba(255, 237, 213, 0.62);
|
||
}
|
||
|
||
.review-pending-copy {
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.review-pending-copy strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-pending-copy p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.review-pending-status {
|
||
min-height: 24px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
font-size: 10px;
|
||
font-weight: 800;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.review-pending-status.warning {
|
||
background: rgba(255, 241, 242, 0.96);
|
||
color: #e11d48;
|
||
border: 1px solid #fecdd3;
|
||
}
|
||
|
||
.review-pending-status.danger {
|
||
background: rgba(254, 242, 242, 0.96);
|
||
color: #dc2626;
|
||
border: 1px solid #fca5a5;
|
||
}
|
||
|
||
.review-pending-status.ready {
|
||
background: rgba(240, 253, 244, 0.96);
|
||
color: #059669;
|
||
border: 1px solid #86efac;
|
||
}
|
||
|
||
.review-footer-actions {
|
||
display: grid;
|
||
gap: 8px;
|
||
padding-top: 6px;
|
||
border-top: 1px solid rgba(226, 232, 240, 0.72);
|
||
}
|
||
|
||
.review-footer-btn-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-footer-btn {
|
||
min-height: 36px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 14px;
|
||
border-radius: 12px;
|
||
border: 1px solid #dbe6f0;
|
||
background: rgba(255, 255, 255, 0.92);
|
||
color: #334155;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
box-shadow: 0 3px 10px rgba(241, 245, 249, 0.58);
|
||
}
|
||
|
||
.review-footer-btn.primary {
|
||
border-color: rgba(16, 185, 129, 0.26);
|
||
background: linear-gradient(135deg, #10b981, #059669);
|
||
color: #fff;
|
||
box-shadow: 0 6px 14px rgba(16, 185, 129, 0.16);
|
||
}
|
||
|
||
.review-footer-btn:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 0.6;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.review-summary {
|
||
margin: 0;
|
||
color: #1f2937;
|
||
font-size: 14px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.review-inline-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.review-inline-btn,
|
||
.primary-dialog-btn,
|
||
.secondary-dialog-btn,
|
||
.danger-dialog-btn {
|
||
min-height: 38px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 16px;
|
||
border-radius: 999px;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-inline-btn {
|
||
border: 1px solid #dbe6f0;
|
||
background: #fff;
|
||
color: #334155;
|
||
}
|
||
|
||
.review-inline-btn.primary,
|
||
.primary-dialog-btn {
|
||
border: 1px solid rgba(16, 185, 129, 0.22);
|
||
background: linear-gradient(135deg, #10b981, #059669);
|
||
color: #fff;
|
||
box-shadow: 0 10px 22px rgba(16, 185, 129, 0.18);
|
||
}
|
||
|
||
.review-inline-btn.secondary,
|
||
.secondary-dialog-btn {
|
||
border: 1px solid #dbe6f0;
|
||
background: #fff;
|
||
color: #334155;
|
||
}
|
||
|
||
.danger-dialog-btn {
|
||
border: 1px solid rgba(239, 68, 68, 0.22);
|
||
background: linear-gradient(135deg, #ef4444, #dc2626);
|
||
color: #fff;
|
||
box-shadow: 0 10px 22px rgba(239, 68, 68, 0.18);
|
||
}
|
||
|
||
.review-inline-btn:disabled,
|
||
.primary-dialog-btn:disabled,
|
||
.secondary-dialog-btn:disabled,
|
||
.danger-dialog-btn:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 0.62;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.review-inline-note {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-inline-guidance {
|
||
margin: 0;
|
||
color: #0f766e;
|
||
font-size: 12px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.review-status-banner {
|
||
display: grid;
|
||
gap: 8px;
|
||
padding: 14px 16px;
|
||
border-radius: 18px;
|
||
border: 1px solid #dbeafe;
|
||
background: linear-gradient(180deg, #f8fbff 0%, #f0f7ff 100%);
|
||
}
|
||
|
||
.review-status-banner.ready {
|
||
border-color: #bbf7d0;
|
||
background: linear-gradient(180deg, #f5fffa 0%, #ecfdf5 100%);
|
||
}
|
||
|
||
.review-status-banner.pending {
|
||
border-color: #fde68a;
|
||
background: linear-gradient(180deg, #fffdf7 0%, #fffbeb 100%);
|
||
}
|
||
|
||
.review-status-tag {
|
||
width: fit-content;
|
||
min-height: 26px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 10px;
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.86);
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
border: 1px solid rgba(148, 163, 184, 0.22);
|
||
}
|
||
|
||
.review-inline-section {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding: 14px 16px;
|
||
border-radius: 18px;
|
||
border: 1px solid #e2e8f0;
|
||
background: rgba(255, 255, 255, 0.88);
|
||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
|
||
}
|
||
|
||
.review-inline-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.review-inline-head > strong {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-inline-head > span {
|
||
min-height: 24px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 9px;
|
||
border-radius: 999px;
|
||
background: #fff;
|
||
color: #475569;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
border: 1px solid #e2e8f0;
|
||
}
|
||
|
||
.review-inline-caption {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
.review-inline-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-missing-chip-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-missing-chip {
|
||
min-height: 30px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 0 12px;
|
||
border-radius: 999px;
|
||
background: #fff;
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
border: 1px solid #fed7aa;
|
||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
|
||
}
|
||
|
||
.review-inline-item {
|
||
display: grid;
|
||
gap: 4px;
|
||
padding: 10px 12px;
|
||
border-radius: 14px;
|
||
border: 1px solid #e2e8f0;
|
||
background: #fff;
|
||
}
|
||
|
||
.review-inline-item.warning {
|
||
background: #fff7ed;
|
||
border-color: #fed7aa;
|
||
}
|
||
|
||
.review-inline-item.high {
|
||
background: #fff1f2;
|
||
border-color: #fecdd3;
|
||
}
|
||
|
||
.review-inline-item span {
|
||
color: #0f172a;
|
||
font-size: 12px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-inline-item p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
.review-inline-footer {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding-top: 2px;
|
||
border-top: 1px dashed rgba(203, 213, 225, 0.78);
|
||
}
|
||
|
||
.review-mini-grid,
|
||
.review-slot-grid,
|
||
.review-doc-field-grid {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-mini-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.review-slot-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.review-slot-card,
|
||
.review-doc-field-card,
|
||
.review-brief-card,
|
||
.review-claim-card,
|
||
.review-document-card {
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 16px;
|
||
background: #f8fbff;
|
||
}
|
||
|
||
.review-slot-card {
|
||
display: grid;
|
||
gap: 8px;
|
||
padding: 12px 14px;
|
||
}
|
||
|
||
.review-slot-card.compact {
|
||
gap: 4px;
|
||
padding: 10px 12px;
|
||
}
|
||
|
||
.review-slot-card header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-slot-card span,
|
||
.review-doc-field-card span,
|
||
.review-brief-card strong,
|
||
.review-document-card header span {
|
||
color: #64748b;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-slot-card strong,
|
||
.review-doc-field-card strong,
|
||
.review-claim-card strong,
|
||
.review-document-card header strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-slot-card p,
|
||
.review-brief-card p,
|
||
.review-claim-card p,
|
||
.review-document-card p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-slot-card.missing {
|
||
border-color: #fecdd3;
|
||
background: #fff7f7;
|
||
}
|
||
|
||
.review-slot-card.inferred {
|
||
border-color: #dbeafe;
|
||
background: #f8fbff;
|
||
}
|
||
|
||
.review-slot-meta-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-slot-meta-item {
|
||
padding: 9px 10px;
|
||
border-radius: 12px;
|
||
background: rgba(255, 255, 255, 0.82);
|
||
border: 1px solid rgba(226, 232, 240, 0.9);
|
||
}
|
||
|
||
.review-slot-meta-item span {
|
||
color: #94a3b8;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-slot-meta-item strong {
|
||
display: block;
|
||
margin-top: 4px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.review-brief-list,
|
||
.review-claim-list,
|
||
.review-document-list {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-brief-card,
|
||
.review-claim-card,
|
||
.review-document-card {
|
||
padding: 12px 14px;
|
||
}
|
||
|
||
.review-brief-card.warning {
|
||
background: #fff7ed;
|
||
border-color: #fed7aa;
|
||
}
|
||
|
||
.review-brief-card.high {
|
||
background: #fff1f2;
|
||
border-color: #fecdd3;
|
||
}
|
||
|
||
.review-claim-card header,
|
||
.review-document-card header {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.review-document-card {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.document-preview {
|
||
min-height: 124px;
|
||
overflow: hidden;
|
||
border-radius: 14px;
|
||
background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
|
||
border: 1px dashed #dbe3ec;
|
||
}
|
||
|
||
.document-preview.image img {
|
||
display: block;
|
||
width: 100%;
|
||
height: 180px;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.document-preview-placeholder {
|
||
min-height: 124px;
|
||
display: grid;
|
||
place-items: center;
|
||
gap: 6px;
|
||
color: #64748b;
|
||
text-align: center;
|
||
}
|
||
|
||
.document-preview-placeholder i {
|
||
font-size: 28px;
|
||
}
|
||
|
||
.review-doc-field-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.review-doc-field-card {
|
||
padding: 10px 12px;
|
||
}
|
||
|
||
.action-list.compact {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.action-card.primary {
|
||
border-color: #bbf7d0;
|
||
background: #f0fdf4;
|
||
}
|
||
|
||
.action-card.secondary {
|
||
background: #fff;
|
||
}
|
||
|
||
.action-card.warning {
|
||
border-color: #fed7aa;
|
||
background: #fff7ed;
|
||
}
|
||
|
||
.note-block {
|
||
display: grid;
|
||
gap: 8px;
|
||
padding: 14px;
|
||
border-radius: 16px;
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.note-block span {
|
||
color: #94a3b8;
|
||
font-size: 11px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-conclusion strong {
|
||
font-size: 15px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.insight-text-section {
|
||
display: grid;
|
||
gap: 12px;
|
||
padding: 2px 0 0;
|
||
}
|
||
|
||
.insight-text-section h4 {
|
||
color: #0f172a;
|
||
font-size: 15px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.insight-text-list,
|
||
.review-document-plain-list {
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.recognition-bubble {
|
||
display: grid;
|
||
gap: 10px;
|
||
padding: 16px 18px;
|
||
border-radius: 22px;
|
||
border: 1px solid rgba(191, 219, 254, 0.9);
|
||
background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
|
||
box-shadow: 0 16px 28px rgba(241, 245, 249, 0.9);
|
||
}
|
||
|
||
.recognition-bubble.secondary {
|
||
border-color: #e2e8f0;
|
||
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
|
||
}
|
||
|
||
.recognition-bubble-label {
|
||
color: #0f766e;
|
||
font-size: 11px;
|
||
font-weight: 850;
|
||
letter-spacing: 0.02em;
|
||
}
|
||
|
||
.recognition-bubble.secondary .recognition-bubble-label {
|
||
color: #475569;
|
||
}
|
||
|
||
.recognition-bubble-copy {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.recognition-bubble-line,
|
||
.recognition-bubble-note {
|
||
margin: 0;
|
||
color: #334155;
|
||
font-size: 13px;
|
||
line-height: 1.75;
|
||
}
|
||
|
||
.recognition-bubble-line {
|
||
font-weight: 700;
|
||
color: #0f172a;
|
||
}
|
||
|
||
.recognition-bubble-note {
|
||
color: #64748b;
|
||
}
|
||
|
||
.review-document-bubble {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) 140px;
|
||
gap: 14px;
|
||
align-items: start;
|
||
padding: 16px;
|
||
border-radius: 22px;
|
||
background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
|
||
border: 1px solid rgba(226, 232, 240, 0.95);
|
||
box-shadow: 0 16px 28px rgba(241, 245, 249, 0.92);
|
||
}
|
||
|
||
.review-document-copy {
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.review-document-index {
|
||
color: #1d4ed8;
|
||
font-size: 11px;
|
||
font-weight: 850;
|
||
}
|
||
|
||
.review-document-copy strong {
|
||
color: #0f172a;
|
||
font-size: 13px;
|
||
font-weight: 850;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.review-document-copy p {
|
||
margin: 0;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.review-overlay {
|
||
z-index: 10001;
|
||
}
|
||
|
||
.review-confirm-modal,
|
||
.review-edit-modal {
|
||
width: min(720px, calc(100vw - 40px));
|
||
border-radius: 24px;
|
||
background:
|
||
radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
|
||
linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
|
||
box-shadow:
|
||
0 24px 80px rgba(15, 23, 42, 0.22),
|
||
0 2px 12px rgba(15, 23, 42, 0.08);
|
||
border: 1px solid #e7eef6;
|
||
}
|
||
|
||
.review-confirm-modal {
|
||
padding: 24px;
|
||
display: grid;
|
||
gap: 18px;
|
||
}
|
||
|
||
.review-confirm-modal h3,
|
||
.review-edit-head h3 {
|
||
margin-top: 12px;
|
||
color: #0f172a;
|
||
font-size: 22px;
|
||
font-weight: 900;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.review-confirm-modal p,
|
||
.review-edit-head p {
|
||
margin-top: 8px;
|
||
color: #64748b;
|
||
font-size: 14px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.review-confirm-actions,
|
||
.review-edit-actions {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.review-upload-decision-modal {
|
||
display: grid;
|
||
gap: 18px;
|
||
}
|
||
|
||
.review-upload-decision-copy {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.review-upload-decision-actions {
|
||
justify-content: stretch;
|
||
}
|
||
|
||
.review-upload-decision-actions .primary-dialog-btn,
|
||
.review-upload-decision-actions .secondary-dialog-btn {
|
||
flex: 1 1 168px;
|
||
}
|
||
|
||
.review-edit-modal {
|
||
max-height: min(860px, calc(100vh - 48px));
|
||
display: grid;
|
||
grid-template-rows: auto minmax(0, 1fr) auto;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.review-edit-head {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
padding: 22px 24px 18px;
|
||
border-bottom: 1px solid #eef2f7;
|
||
}
|
||
|
||
.review-edit-form {
|
||
min-height: 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 16px;
|
||
padding: 20px 24px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.review-edit-field {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.review-edit-field.attachments,
|
||
.review-edit-field.business,
|
||
.review-edit-field.basic {
|
||
min-width: 0;
|
||
}
|
||
|
||
.review-edit-field span {
|
||
color: #334155;
|
||
font-size: 13px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.review-edit-field span em {
|
||
margin-left: 4px;
|
||
color: #dc2626;
|
||
font-style: normal;
|
||
}
|
||
|
||
.review-edit-field input,
|
||
.review-edit-field textarea {
|
||
width: 100%;
|
||
border: 1px solid #dbe6f0;
|
||
border-radius: 16px;
|
||
background: #fff;
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
line-height: 1.6;
|
||
padding: 12px 14px;
|
||
resize: vertical;
|
||
}
|
||
|
||
.review-edit-field input:focus,
|
||
.review-edit-field textarea:focus {
|
||
outline: none;
|
||
border-color: #60a5fa;
|
||
box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
|
||
}
|
||
|
||
.review-edit-field textarea {
|
||
min-height: 96px;
|
||
}
|
||
|
||
.review-edit-field.attachments,
|
||
.review-edit-field textarea,
|
||
.review-edit-field .textarea {
|
||
grid-column: span 2;
|
||
}
|
||
|
||
.review-edit-actions {
|
||
padding: 0 24px 24px;
|
||
}
|
||
|
||
.review-preview-modal {
|
||
width: min(980px, calc(100vw - 40px));
|
||
max-height: min(92vh, calc(100vh - 32px));
|
||
display: grid;
|
||
grid-template-rows: auto minmax(0, 1fr);
|
||
overflow: hidden;
|
||
border-radius: 24px;
|
||
background:
|
||
radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
|
||
linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
|
||
box-shadow:
|
||
0 24px 80px rgba(15, 23, 42, 0.22),
|
||
0 2px 12px rgba(15, 23, 42, 0.08);
|
||
border: 1px solid #e7eef6;
|
||
}
|
||
|
||
.review-preview-head {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
padding: 22px 24px 18px;
|
||
border-bottom: 1px solid #eef2f7;
|
||
}
|
||
|
||
.review-preview-head h3 {
|
||
margin-top: 12px;
|
||
color: #0f172a;
|
||
font-size: 22px;
|
||
font-weight: 900;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.review-preview-body {
|
||
min-height: 0;
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 18px;
|
||
background: rgba(248, 250, 252, 0.88);
|
||
}
|
||
|
||
.review-preview-body.image img {
|
||
max-width: 100%;
|
||
max-height: calc(92vh - 170px);
|
||
display: block;
|
||
border-radius: 20px;
|
||
object-fit: contain;
|
||
box-shadow: 0 16px 34px rgba(148, 163, 184, 0.26);
|
||
}
|
||
|
||
.review-preview-body.pdf iframe {
|
||
width: 100%;
|
||
height: min(78vh, 820px);
|
||
border: 0;
|
||
border-radius: 18px;
|
||
background: #fff;
|
||
}
|
||
|
||
.welcome-grid {
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.welcome-card {
|
||
padding: 14px;
|
||
border-radius: 18px;
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.welcome-card i {
|
||
color: #10b981;
|
||
font-size: 20px;
|
||
}
|
||
|
||
.welcome-card strong {
|
||
display: block;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.assistant-modal-enter-active,
|
||
.assistant-modal-leave-active {
|
||
transition: opacity 220ms ease;
|
||
}
|
||
|
||
.assistant-modal-enter-active .assistant-modal,
|
||
.assistant-modal-leave-active .assistant-modal {
|
||
transition: transform 260ms ease, opacity 220ms ease;
|
||
}
|
||
|
||
.assistant-modal-enter-from,
|
||
.assistant-modal-leave-to {
|
||
opacity: 0;
|
||
}
|
||
|
||
.assistant-modal-enter-from .assistant-modal,
|
||
.assistant-modal-leave-to .assistant-modal {
|
||
transform: translateY(10px) scale(0.985);
|
||
opacity: 0;
|
||
}
|
||
|
||
.insight-switch-enter-active,
|
||
.insight-switch-leave-active {
|
||
transition: opacity 180ms ease, transform 180ms ease;
|
||
}
|
||
|
||
.insight-switch-enter-from,
|
||
.insight-switch-leave-to {
|
||
opacity: 0;
|
||
transform: translateY(8px);
|
||
}
|
||
|
||
@media (max-width: 1366px), (max-height: 780px) {
|
||
.insight-panel-shell {
|
||
width: 348px;
|
||
}
|
||
|
||
.insight-panel {
|
||
width: 348px;
|
||
}
|
||
|
||
.review-side-grid.compact {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 1280px) {
|
||
.assistant-layout {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.insight-panel-shell {
|
||
width: 100%;
|
||
margin-left: 0;
|
||
max-height: 720px;
|
||
transition:
|
||
max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
|
||
opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
|
||
transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
|
||
}
|
||
|
||
.insight-panel-shell.collapsed {
|
||
width: 100%;
|
||
max-height: 0;
|
||
}
|
||
|
||
.insight-panel {
|
||
width: 100%;
|
||
min-height: 320px;
|
||
}
|
||
|
||
.insight-panel-shell.collapsed .insight-panel {
|
||
transform: translateY(-12px);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 760px) {
|
||
.assistant-modal {
|
||
width: 100vw;
|
||
height: 100vh;
|
||
}
|
||
|
||
.assistant-modal-stage {
|
||
width: 100%;
|
||
height: 100%;
|
||
transform: none;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.assistant-header {
|
||
padding: 18px 18px 16px;
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.assistant-header-actions {
|
||
top: 18px;
|
||
right: 18px;
|
||
gap: 10px;
|
||
width: auto;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.assistant-toggle-btn,
|
||
.session-trash-btn,
|
||
.assistant-close-btn,
|
||
.close-btn {
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 14px;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.assistant-layout {
|
||
padding: 14px;
|
||
}
|
||
|
||
.composer-row {
|
||
gap: 8px;
|
||
}
|
||
|
||
.composer-side-btn,
|
||
.tool-btn,
|
||
.send-btn {
|
||
width: 40px;
|
||
height: 40px;
|
||
}
|
||
|
||
.dialog-toolbar {
|
||
padding: 16px 16px 12px;
|
||
}
|
||
|
||
.shortcut-chip {
|
||
width: 100%;
|
||
justify-content: center;
|
||
}
|
||
|
||
.message-list {
|
||
padding: 16px;
|
||
}
|
||
|
||
.message-row,
|
||
.message-row.user {
|
||
grid-template-columns: 34px minmax(0, 1fr);
|
||
}
|
||
|
||
.message-row.user .message-avatar {
|
||
order: 0;
|
||
}
|
||
|
||
.message-row.user .message-bubble {
|
||
order: 0;
|
||
justify-self: stretch;
|
||
}
|
||
|
||
.composer {
|
||
padding: 0 16px 16px;
|
||
}
|
||
|
||
.composer-files-head,
|
||
.review-insight-title-row,
|
||
.review-document-stage-head,
|
||
.review-document-switch-head {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.composer-files-actions,
|
||
.review-document-nav {
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.review-card-head {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.metric-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.review-side-grid,
|
||
.review-side-category-grid,
|
||
.review-document-edit-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.review-pending-item {
|
||
grid-template-columns: 42px minmax(0, 1fr);
|
||
}
|
||
|
||
.review-pending-status {
|
||
grid-column: 2;
|
||
justify-self: start;
|
||
}
|
||
|
||
.review-footer-btn-row {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.review-footer-btn {
|
||
width: 100%;
|
||
}
|
||
|
||
.review-slot-grid,
|
||
.review-doc-field-grid,
|
||
.review-mini-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.review-document-plain,
|
||
.review-document-bubble {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.review-edit-modal {
|
||
width: calc(100vw - 24px);
|
||
}
|
||
|
||
.review-preview-modal {
|
||
width: calc(100vw - 24px);
|
||
}
|
||
|
||
.review-edit-form {
|
||
grid-template-columns: 1fr;
|
||
padding: 18px;
|
||
}
|
||
|
||
.review-edit-field.attachments,
|
||
.review-edit-field textarea,
|
||
.review-edit-field .textarea {
|
||
grid-column: auto;
|
||
}
|
||
|
||
.review-edit-actions,
|
||
.review-confirm-actions {
|
||
padding: 0 18px 18px;
|
||
justify-content: stretch;
|
||
}
|
||
|
||
.review-upload-decision-actions {
|
||
width: 100%;
|
||
}
|
||
|
||
.primary-dialog-btn,
|
||
.secondary-dialog-btn,
|
||
.danger-dialog-btn {
|
||
width: 100%;
|
||
}
|
||
}
|