Files
X-Financial/web/src/assets/styles/views/travel-reimbursement-create-view.css

1477 lines
28 KiB
CSS
Raw Normal View History

.assistant-overlay {
/* 距屏幕边 1018px随视口微调高度用 dvh 适配笔记本浏览器工具栏 */
--assistant-viewport-inset: clamp(10px, 1.25vmin, 18px);
position: fixed;
inset: 0;
width: 100vw;
height: 100dvh;
max-height: 100dvh;
z-index: 9999;
display: flex;
align-items: stretch;
justify-content: stretch;
padding: var(--assistant-viewport-inset);
box-sizing: border-box;
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 {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
background: transparent;
box-shadow: none;
border: 0;
border-radius: 24px;
backdrop-filter: none;
-webkit-backdrop-filter: none;
overflow: hidden;
isolation: isolate;
}
.assistant-modal-stage {
/* 工作台字号令牌:笔记本断点见文末 @media */
--wb-fs-title: 22px;
--wb-fs-desc: 13px;
--wb-fs-badge: 12px;
--wb-fs-bubble: 13px;
--wb-fs-bubble-meta: 12px;
--wb-fs-bubble-time: 11px;
--wb-fs-chip: 12px;
--wb-fs-composer: 14px;
--wb-fs-tool-icon: 18px;
--wb-fs-md-h1: 13px;
--wb-fs-md-h2: 13px;
--wb-fs-md-h3: 13px;
--wb-fs-insight-title: 19px;
--wb-fs-insight-num: 19px;
--wb-fs-insight-body: 12px;
--wb-fs-insight-h4: 15px;
--wb-fs-metric: 13px;
--wb-fs-metric-strong: 13px;
--wb-fs-welcome: 18px;
position: relative;
flex: 1;
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
transform: none;
border-radius: 24px;
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;
flex-shrink: 0;
padding: clamp(14px, 2vh, 22px) clamp(148px, 11vw, 172px) clamp(12px, 1.6vh, 18px) clamp(18px, 2vw, 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: var(--wb-fs-badge);
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: clamp(17px, 1.1vw, var(--wb-fs-title));
font-weight: 900;
letter-spacing: 0.01em;
line-height: 1.25;
}
.assistant-header p {
margin-top: 4px;
color: #64748b;
font-size: clamp(11px, 0.85vw, var(--wb-fs-desc));
line-height: 1.55;
}
.assistant-header-actions {
position: absolute;
top: 16px;
right: 16px;
z-index: 60;
display: flex;
align-items: center;
gap: 10px;
pointer-events: auto;
}
.assistant-toggle-btn,
.session-trash-btn {
width: 38px;
height: 38px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid rgba(248, 113, 113, 0.28);
border-radius: 14px;
flex: none;
}
.assistant-toggle-btn {
border-color: rgba(16, 185, 129, 0.18);
background: rgba(245, 252, 249, 0.96);
color: #166534;
font-size: 16px;
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: 16px;
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: 38px;
height: 38px;
display: grid;
place-items: center;
padding: 0;
flex: none;
border: 1px solid rgba(193, 204, 216, 0.92);
border-radius: 14px;
background: rgba(248, 251, 251, 0.94);
color: #475569;
font-size: 16px;
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: 61;
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;
}
.flow-status-chip {
min-height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 10px;
border-radius: 999px;
background: #f1f5f9;
color: #64748b;
font-size: 11px;
font-weight: 900;
white-space: nowrap;
}
.flow-status-chip.running {
background: #eff6ff;
color: #2563eb;
}
.flow-status-chip.completed {
background: #ecfdf5;
color: #059669;
}
.flow-status-chip.failed {
background: #fef2f2;
color: #dc2626;
}
.flow-icon-btn {
width: 34px;
height: 34px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid rgba(203, 213, 225, 0.86);
border-radius: 12px;
background: rgba(255, 255, 255, 0.92);
color: #475569;
font-size: 16px;
box-shadow: 0 6px 14px rgba(148, 163, 184, 0.12);
}
.flow-icon-btn:hover:not(:disabled) {
border-color: rgba(37, 99, 235, 0.28);
color: #1d4ed8;
}
.flow-icon-btn:disabled {
opacity: 0.46;
cursor: not-allowed;
box-shadow: none;
}
.flow-step-item {
position: relative;
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
gap: 12px;
padding-bottom: 12px;
}
.flow-step-item:last-child {
padding-bottom: 0;
}
.flow-step-rail {
position: relative;
display: flex;
justify-content: center;
}
.flow-step-rail::after {
content: "";
position: absolute;
top: 34px;
bottom: -12px;
left: 50%;
width: 2px;
transform: translateX(-50%);
background: #e2e8f0;
}
.flow-step-item:last-child .flow-step-rail::after {
display: none;
}
.flow-step-rail span {
position: relative;
z-index: 1;
width: 28px;
height: 28px;
display: grid;
place-items: center;
border-radius: 999px;
background: #e2e8f0;
color: #64748b;
font-size: 12px;
font-weight: 900;
font-variant-numeric: tabular-nums;
}
.flow-step-item.completed .flow-step-rail span {
background: #10b981;
color: #fff;
}
.flow-step-item.running .flow-step-rail span {
background: #2563eb;
color: #fff;
box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}
.flow-step-item.failed .flow-step-rail span {
background: #ef4444;
color: #fff;
}
.flow-step-card {
min-width: 0;
display: grid;
gap: 7px;
padding: 13px 14px;
border: 1px solid #e5edf5;
border-radius: 12px;
background: #fff;
box-shadow: 0 8px 22px rgba(226, 232, 240, 0.34);
}
.flow-step-item.running .flow-step-card {
border-color: rgba(37, 99, 235, 0.42);
background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}
.flow-step-card header,
.flow-step-side {
display: flex;
align-items: center;
gap: 10px;
}
.flow-step-card header {
justify-content: space-between;
}
.flow-step-card strong {
min-width: 0;
color: #0f172a;
font-size: 13px;
font-weight: 900;
}
.flow-step-side {
flex: none;
gap: 8px;
}
.flow-step-status {
min-height: 24px;
display: inline-flex;
align-items: center;
padding: 0 9px;
border-radius: 999px;
background: #f1f5f9;
color: #64748b;
font-size: 11px;
font-weight: 900;
white-space: nowrap;
}
.flow-step-status.completed {
background: #ecfdf5;
color: #059669;
}
.flow-step-status.running {
background: #eff6ff;
color: #2563eb;
}
.flow-step-status.failed {
background: #fef2f2;
color: #dc2626;
}
.flow-step-side time {
min-width: 36px;
color: #475569;
font-size: 12px;
font-weight: 850;
text-align: right;
font-variant-numeric: tabular-nums;
}
.flow-step-tool,
.flow-step-detail,
.flow-step-error {
margin: 0;
color: #64748b;
font-size: 12px;
line-height: 1.55;
}
.flow-step-detail {
color: #475569;
}
.flow-step-error {
color: #dc2626;
}
.flow-empty-state {
display: grid;
place-items: center;
align-content: center;
gap: 8px;
padding: 30px;
color: #64748b;
text-align: center;
}
.flow-empty-state i {
font-size: 34px;
color: #94a3b8;
}
.flow-empty-state strong {
color: #0f172a;
font-size: 14px;
font-weight: 900;
}
.flow-empty-state p {
max-width: 260px;
margin: 0;
font-size: 12px;
line-height: 1.6;
}
@keyframes flowPulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.12);
}
}
.assistant-layout {
min-height: 0;
flex: 1;
display: flex;
padding: clamp(12px, 1.5vw, 16px);
align-items: stretch;
gap: clamp(12px, 1.5vw, 16px);
}
.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(300px, 28vw, 420px);
min-width: 0;
max-width: 100%;
margin-left: 0;
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: var(--wb-fs-chip);
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: 12px 14px;
border: 1px solid rgba(210, 220, 230, 0.94);
border-radius: 20px;
background: rgba(253, 254, 254, 0.94);
color: #24324a;
font-size: var(--wb-fs-bubble);
line-height: 1.58;
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: var(--wb-fs-bubble-meta);
font-weight: 850;
}
.message-meta time {
color: #94a3b8;
font-size: var(--wb-fs-bubble-time);
}
.message-bubble p {
margin: 0;
color: #334155;
font-size: inherit;
}
.message-answer-content {
display: grid;
gap: 7px;
}
.message-answer-content p,
.message-answer-content ul,
.message-answer-content ol,
.message-answer-content blockquote,
.message-answer-content pre {
margin: 0;
}
.message-answer-markdown h1,
.message-answer-markdown h2,
.message-answer-markdown h3,
.message-answer-markdown h4 {
margin: 0;
color: #0f172a;
font-size: var(--wb-fs-md-h3);
font-weight: 750;
line-height: 1.46;
}
.message-answer-markdown {
overflow-x: auto;
font-size: var(--wb-fs-bubble);
color: #334155;
line-height: 1.58;
}
.message-answer-markdown p,
.message-answer-markdown li,
.message-answer-markdown td,
.message-answer-markdown th,
.message-answer-markdown blockquote {
font-size: inherit;
color: inherit;
line-height: 1.58;
}
.message-answer-markdown ul,
.message-answer-markdown ol {
padding-left: 20px;
}
.message-answer-markdown strong {
color: #0f172a;
}
.message-answer-markdown blockquote {
padding: 8px 10px;
border-left: 3px solid #cbd5e1;
border-radius: 0 10px 10px 0;
background: rgba(248, 250, 252, 0.84);
color: #475569;
}
.message-answer-markdown code {
padding: 2px 6px;
border-radius: 6px;
background: #e2e8f0;
font-size: 12px;
}
.message-answer-markdown pre {
overflow-x: auto;
padding: 12px;
border-radius: 14px;
background: #0f172a;
color: #e2e8f0;
}
.message-answer-markdown pre code {
padding: 0;
background: transparent;
color: inherit;
}
.message-answer-markdown a {
color: #2563eb;
text-decoration: underline;
}
.message-answer-markdown table {
width: auto;
max-width: 100%;
border: 1px solid #dbe4ee;
border-radius: 16px;
border-collapse: collapse;
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
font-size: inherit;
}
.message-answer-markdown th,
.message-answer-markdown td {
padding: 10px 12px;
border-bottom: 1px solid #e2e8f0;
text-align: left;
white-space: nowrap;
}
.message-answer-markdown th {
background: #eff6ff;
color: #0f172a;
font-weight: 850;
}
.message-answer-markdown td {
color: #334155;
font-weight: 650;
}
.message-answer-markdown tbody tr:last-child td {
border-bottom: 0;
}
.message-meta-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}
.message-suggested-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 14px;
padding: 10px;
border: 1px solid rgba(203, 213, 225, 0.72);
border-radius: 14px;
background:
linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.message-suggested-action-btn {
position: relative;
min-height: 70px;
display: grid;
grid-template-columns: 34px minmax(0, 1fr) 18px;
align-items: center;
gap: 10px;
padding: 12px 11px;
border: 1px solid rgba(203, 213, 225, 0.8);
border-radius: 10px;
background: rgba(255, 255, 255, 0.9);
color: #0f172a;
text-align: left;
cursor: pointer;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
transition:
border-color 0.16s ease,
background 0.16s ease,
box-shadow 0.16s ease,
transform 0.16s ease;
}
.message-suggested-action-icon {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border-radius: 10px;
background: #f1f5f9;
color: #0f766e;
font-size: 18px;
box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}
.message-suggested-action-copy {
min-width: 0;
display: grid;
gap: 2px;
}
.message-suggested-action-title {
color: #0f172a;
font-size: var(--wb-fs-body);
font-weight: 850;
line-height: 1.25;
}
.message-suggested-action-btn small {
color: #64748b;
font-size: var(--wb-fs-caption);
font-weight: 650;
line-height: 1.35;
}
.message-suggested-action-arrow {
color: #94a3b8;
font-size: 15px;
justify-self: end;
transition: color 0.16s ease, transform 0.16s ease;
}
.message-suggested-action-btn:hover:not(:disabled) {
border-color: rgba(20, 184, 166, 0.72);
background: #ffffff;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
transform: translateY(-1px);
}
.message-suggested-action-btn:hover:not(:disabled) .message-suggested-action-icon,
.message-suggested-action-btn:focus-visible .message-suggested-action-icon {
background: #ccfbf1;
color: #0f766e;
}
.message-suggested-action-btn:hover:not(:disabled) .message-suggested-action-arrow,
.message-suggested-action-btn:focus-visible .message-suggested-action-arrow {
color: #0f766e;
transform: translateX(2px);
}
.message-suggested-action-btn:focus-visible {
outline: 3px solid rgba(20, 184, 166, 0.18);
outline-offset: 2px;
border-color: #14b8a6;
}
.message-suggested-action-btn.selected {
border-color: rgba(13, 148, 136, 0.78);
background: #f0fdfa;
box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.18);
}
.message-suggested-action-btn.selected .message-suggested-action-icon {
background: #99f6e4;
color: #115e59;
}
.message-suggested-action-btn.selected .message-suggested-action-arrow {
color: #0f766e;
}
.message-suggested-action-btn.locked:not(.selected) {
background: #f8fafc;
}
.message-suggested-action-btn:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.message-suggested-action-btn.selected:disabled {
opacity: 1;
}
.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: var(--wb-fs-chip);
font-weight: 800;
}
.message-meta-chip,
.capability-chip {
background: #eef6ff;
color: #1d4ed8;
}
.message-meta-chip.high {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fecaca;
}
.message-meta-chip.medium {
background: #fffbeb;
color: #b45309;
border: 1px solid #fde68a;
}
.message-meta-chip.low {
background: #eff6ff;
color: #1d4ed8;
border: 1px solid #bfdbfe;
}
.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;
}
.message-citation-disclosure {
overflow: hidden;
border: 1px solid #dbe4ee;
border-radius: 16px;
background: #fbfdff;
}
.message-citation-disclosure summary {
min-height: 42px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 14px;
color: #0f172a;
cursor: pointer;
list-style: none;
}
.message-citation-disclosure summary::-webkit-details-marker {
display: none;
}
.message-citation-disclosure summary strong {
font-size: 12px;
font-weight: 850;
}
.message-citation-disclosure summary span {
color: #64748b;
font-size: 12px;
font-weight: 750;
}
.message-citation-disclosure summary i {
margin-left: auto;
color: #64748b;
font-size: 16px;
transition: transform 0.18s ease;
}
.message-citation-disclosure[open] summary {
border-bottom: 1px solid #e2e8f0;
}
.message-citation-disclosure[open] summary i {
transform: rotate(180deg);
}
.message-citation-disclosure .message-citation-list {
padding: 12px;
}
.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-list.compact .expense-query-record-card.selectable {
border-color: rgba(20, 184, 166, 0.35);
background: #ffffff;
}
.expense-query-record-list.compact .expense-query-record-card.selected {
border-color: rgba(13, 148, 136, 0.82);
background: #f0fdfa;
box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.18);
}
.expense-query-record-list.compact .expense-query-record-card.locked:not(.selected) {
background: #f8fafc;
opacity: 0.58;
}
.expense-query-record-list.compact .expense-query-record-card:disabled {
cursor: not-allowed;
transform: none;
}
.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-row {
--composer-control-size: 44px;
}
.composer-leading-actions {
display: flex;
align-items: center;
gap: 8px;
flex: none;
}
.composer-date-anchor {
position: relative;
}
.travel-calculator-anchor {
position: relative;
}
.tool-btn.composer-side-btn.active {
border-color: rgba(59, 130, 246, 0.42);
background: rgba(239, 246, 255, 0.96);
color: #2563eb;
box-shadow: 0 6px 14px rgba(59, 130, 246, 0.14);
}
.composer-date-popover {
position: absolute;
bottom: calc(100% + 10px);
left: 0;
z-index: 30;
width: min(320px, calc(100vw - 48px));
display: grid;
gap: 12px;
padding: 14px;
border: 1px solid rgba(203, 213, 225, 0.92);
border-radius: 16px;
background: rgba(255, 255, 255, 0.98);
box-shadow:
0 18px 40px rgba(15, 23, 42, 0.16),
0 4px 12px rgba(15, 23, 42, 0.06);
}
.travel-calculator-popover {
position: absolute;
bottom: calc(100% + 10px);
left: 0;
z-index: 30;
width: min(300px, calc(100vw - 48px));
display: grid;
gap: 12px;
padding: 14px;
border: 1px solid rgba(203, 213, 225, 0.92);
border-radius: 16px;
background: rgba(255, 255, 255, 0.98);
box-shadow:
0 18px 40px rgba(15, 23, 42, 0.16),
0 4px 12px rgba(15, 23, 42, 0.06);
}
.travel-calculator-mini-head {
display: grid;
gap: 3px;
}
.travel-calculator-mini-head strong {
color: #0f172a;
font-size: 13px;
font-weight: 900;
}