.approval-page { width: 100%; height: 100%; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr); gap: 14px; overflow: hidden; animation: fadeUp 220ms var(--ease) both; } .approval-detail { width: 100%; height: 100%; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; } .detail-scroll { min-width: 0; min-height: 0; display: grid; align-content: start; gap: 12px; padding-right: 4px; overflow: auto; } .detail-hero { display: grid; gap: 10px; padding: 18px 24px 18px; border: 1px solid #edf2f7; background: #fff; overflow: visible; } .progress-card { padding: 18px 22px 20px; border: 1px solid #edf2f7; background: #fff; } .hero-banner { display: grid; gap: 0; } .hero-banner-main { display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr); align-items: center; gap: 16px; min-height: 104px; } .applicant-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 18px; min-width: 0; } .portrait { width: 88px; height: 88px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 999px; background: #f8fafc; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); } .portrait img { width: 100%; height: 100%; display: block; object-fit: cover; } .applicant-copy { min-width: 0; display: grid; gap: 14px; } .applicant-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .applicant-card h2 { color: #0f172a; font-size: 20px; font-weight: 900; line-height: 1.2; } .identity-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 4px; background: var(--theme-primary-soft); border: 1px solid rgba(var(--theme-primary-rgb), .16); color: var(--theme-primary-active); font-size: 11px; font-weight: 800; } .applicant-profile-meta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 28px; } .applicant-profile-meta__org { display: grid; gap: 6px; min-width: 0; } .applicant-profile-meta__role { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 0; min-width: 0; } .applicant-meta-item { min-width: 0; position: relative; display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: 13px; line-height: 1.5; } .applicant-profile-meta__role .applicant-meta-item + .applicant-meta-item { margin-left: 16px; } .applicant-profile-meta__role .applicant-meta-item + .applicant-meta-item::before { content: "/"; position: absolute; left: -10px; color: #cbd5e1; font-size: 12px; } .applicant-meta-item--sub strong { font-weight: 750; } .applicant-meta-item em { font-style: normal; color: #64748b; flex-shrink: 0; } .applicant-meta-item strong { color: #0f172a; font-weight: 800; } .hero-fact-grid { display: grid; grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 0; } .hero-fact { display: grid; align-content: center; gap: 8px; min-width: 0; min-height: 92px; padding: 8px 22px; background: transparent; border-left: 1px solid #eaf0f6; } .hero-fact:first-child { border-left: 0; } .hero-fact-label { display: inline-flex; align-items: center; gap: 8px; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; } .hero-fact-label i { font-size: 15px; color: #94a3b8; } .hero-fact strong { min-width: 0; max-width: 100%; color: #0f172a; font-size: 16px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; white-space: nowrap; } .hero-fact:first-child strong { font-size: 15px; } .hero-fact strong.amount { font-size: 22px; font-weight: 900; } .hero-fact strong.status { color: #f97316; } .progress-block { padding-top: 0; border-top: 0; } .progress-head { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 12px; } .progress-head h3 { display: inline-flex; align-items: center; gap: 8px; color: #0f172a; font-size: 14px; font-weight: 850; } .progress-head h3::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--theme-primary); box-shadow: 0 0 0 4px var(--theme-focus-ring); } .progress-line { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--progress-columns, 5), minmax(118px, 1fr)); overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 2px 2px; } .progress-step { position: relative; display: grid; grid-template-rows: 26px minmax(62px, auto); justify-items: center; align-items: start; gap: 10px; min-width: 0; padding: 0 6px; color: #94a3b8; } .progress-step::before { content: ""; position: absolute; top: 13px; left: 0; right: 0; z-index: 0; height: 2px; background: #dbe4ee; } .progress-step::after { content: ""; position: absolute; top: 13px; left: 0; right: 0; z-index: 0; height: 2px; background: var(--theme-primary); opacity: 0; } .progress-step.done::after { opacity: 1; } .progress-step.current::after { right: 50%; opacity: 1; } .progress-step:first-child::before, .progress-step:first-child.done::after { left: 50%; } .progress-step:first-child.current::after { left: 50%; right: 50%; } .progress-step:last-child::before, .progress-step:last-child::after { right: 50%; } .progress-step span { position: relative; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: #e2e8f0; color: #64748b; font-size: 13px; font-weight: 900; } .current-progress-ring { position: absolute; inset: -4px; z-index: -1; border: 2px solid rgba(var(--theme-primary-rgb), .42); border-radius: 999px; pointer-events: none; } .progress-step.active span { background: var(--theme-primary-active); color: #fff; } .progress-step.current span { background: var(--theme-primary) !important; color: #fff !important; box-shadow: 0 0 0 4px var(--theme-focus-ring) !important; animation: breathe-dot 3.2s ease-in-out infinite !important; transform-origin: center !important; } @keyframes breathe-dot { 0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), .3), 0 0 0 4px var(--theme-focus-ring); } 50% { transform: scale(1.12); box-shadow: 0 4px 20px rgba(var(--theme-primary-rgb), .5), 0 0 0 10px rgba(var(--theme-primary-rgb), .08); } } .progress-step strong { color: #334155; font-size: 12px; line-height: 1.35; text-align: center; } .progress-step.current strong { color: var(--theme-primary-active); } .progress-step-copy { width: 100%; min-width: 0; display: grid; justify-items: center; align-content: start; gap: 6px; } .progress-step-status { box-sizing: border-box; width: 100%; max-width: 136px; min-width: 0; min-height: 22px; display: block; padding: 0 9px; border: 1px solid #e2e8f0; border-radius: 4px; background: #f8fafc; color: #64748b; font-size: 11px; font-weight: 850; line-height: 20px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .progress-step.done .progress-step-status { border-color: rgba(var(--theme-primary-rgb), .2); background: var(--theme-primary-soft); color: var(--theme-primary-active); } .progress-step.current .progress-step-status { border-color: rgba(var(--theme-primary-rgb), .22); background: var(--theme-primary); color: #fff; box-shadow: 0 8px 18px var(--theme-primary-shadow); } .progress-step:not(.done):not(.current) .progress-step-status { background: #f8fafc; color: #94a3b8; } .progress-step.current small { color: var(--theme-primary-active); } .progress-step-meta { display: block; width: 100%; min-height: 16px; color: #64748b; font-size: 11px; font-style: normal; line-height: 1.35; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .progress-step.current .progress-step-meta { color: #475569; } .detail-grid { display: block; min-width: 0; } .detail-left { min-width: 0; display: grid; gap: 12px; } .detail-card { min-width: 0; padding: 16px 18px; } .detail-card h3 { margin: 0 0 12px; color: #0f172a; font-size: 16px; font-weight: 850; } .detail-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .detail-card-actions { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; } .detail-card-head h3 { margin-bottom: 4px; } .detail-card-title-with-icon { display: inline-flex; align-items: center; gap: 8px; line-height: 1.5; } .detail-card-title-with-icon i { margin-top: 1px; color: #334155; font-size: 18px; line-height: 1; } .detail-card-head p { color: #64748b; font-size: 12px; line-height: 1.5; } .smart-entry-btn { min-width: 104px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border: 1px solid #dbe4ee; border-radius: 4px; background: #f8fafc; color: #0f172a; font-size: 13px; font-weight: 800; white-space: nowrap; } .smart-entry-btn.secondary { background: #fff; color: var(--theme-primary-active); border-color: rgba(var(--theme-primary-rgb), .24); } .smart-entry-btn:hover { border-color: rgba(var(--theme-primary-rgb), .36); background: var(--theme-primary-soft); color: var(--theme-primary-active); } .detail-total { display: inline-flex; align-items: center; justify-content: center; min-width: 102px; min-height: 34px; padding: 0 12px; border-radius: 4px; background: var(--theme-primary-soft); color: var(--theme-primary-active); font-size: 14px; font-weight: 900; } .detail-card textarea { width: 100%; min-height: 84px; resize: none; border: 1px solid #d7e0ea; border-radius: 4px; padding: 12px; font-size: 13px; line-height: 1.5; } .detail-note { min-height: 84px; padding: 12px 14px; border: 1px solid #d7e0ea; border-radius: 4px; background: #f8fafc; color: #334155; font-size: 13px; line-height: 1.7; white-space: pre-wrap; } .detail-note.readonly { background: #f8fafc; border-color: #e2e8f0; } .detail-note.readonly p { margin: 0; white-space: pre-wrap; } .application-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 4px; background: #fff; } .application-detail-fact { display: grid; grid-template-columns: minmax(96px, 28%) minmax(0, 1fr); min-height: 48px; border-top: 1px solid #edf2f7; border-left: 1px solid #edf2f7; } .application-detail-fact:nth-child(-n + 2) { border-top: 0; } .application-detail-fact:nth-child(2n + 1) { border-left: 0; } .application-detail-fact span, .application-detail-fact strong { display: flex; align-items: center; min-width: 0; padding: 11px 14px; line-height: 1.5; } .application-detail-fact span { background: #f8fafc; color: #64748b; font-size: 12px; font-weight: 800; } .application-detail-fact strong { border-left: 1px solid #edf2f7; color: #0f172a; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; } .application-detail-fact.highlight span { background: var(--theme-primary-soft); color: var(--theme-primary-active); } .application-detail-fact.highlight strong { background: color-mix(in srgb, var(--theme-primary-soft) 55%, #ffffff); } .application-detail-fact.emphasis strong { color: var(--theme-primary-active); font-weight: 850; } .related-application-facts { margin-top: 0; } .related-application-empty { display: grid; gap: 6px; padding: 13px 14px; border: 1px solid #e2e8f0; border-radius: 4px; background: #f8fafc; } .related-application-empty strong { color: #334155; font-size: 13px; font-weight: 850; } .related-application-empty p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.6; } .detail-note-editor { display: grid; gap: 10px; } .detail-note-editor textarea { min-height: 92px; border-color: rgba(var(--theme-primary-rgb), .28); background: #fff; } .detail-note-editor textarea:focus { border-color: var(--theme-primary); box-shadow: 0 0 0 3px var(--theme-focus-ring); outline: none; } .detail-note-editor-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #64748b; font-size: 12px; line-height: 1.5; } .detail-note-actions { display: inline-flex; align-items: center; justify-content: flex-end; flex-shrink: 0; gap: 8px; } .application-leader-opinion { display: grid; gap: 10px; margin-top: 12px; } .application-leader-opinion-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #475569; font-size: 14px; line-height: 1.5; } .application-leader-opinion-head span { display: inline-flex; align-items: center; gap: 8px; color: #0f172a; font-weight: 850; font-size: 16px; } .application-leader-opinion-head span i { margin-top: 1px; color: #334155; font-size: 18px; } .application-leader-opinion-head strong { color: var(--theme-primary-active); font-weight: 800; font-size: 14px; } .application-leader-opinion-timeline { position: relative; display: grid; gap: 10px; padding-left: 18px; } .application-leader-opinion-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 5px; width: 1px; background: #dbe4ee; } .application-leader-opinion-timeline.is-single { padding-left: 0; } .application-leader-opinion-timeline.is-single::before, .application-leader-opinion-timeline.is-single .application-leader-opinion-event::before { display: none; } .application-leader-opinion-event { position: relative; display: grid; gap: 8px; padding: 12px 14px; border: 1px solid #dbe4ee; border-radius: 4px; background: #ffffff; } .application-leader-opinion-event::before { content: ""; position: absolute; top: 17px; left: -18px; width: 9px; height: 9px; border: 2px solid #ffffff; border-radius: 999px; background: var(--theme-primary, #3a7ca5); box-shadow: 0 0 0 1px rgba(var(--theme-primary-rgb, 58, 124, 165), .34); } .application-leader-opinion-event.danger::before { background: #dc2626; box-shadow: 0 0 0 1px rgba(220, 38, 38, .32); } .application-leader-opinion-event.success::before { background: #16a34a; box-shadow: 0 0 0 1px rgba(22, 163, 74, .32); } .application-leader-opinion-event-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .application-leader-opinion-event-head span { display: inline-flex; align-items: center; gap: 6px; color: #0f172a; font-size: 14px; font-weight: 850; } .application-leader-opinion-event-head i { color: var(--theme-primary-active, #255b7d); font-size: 16px; } .application-leader-opinion-event.danger .application-leader-opinion-event-head i { color: #dc2626; } .application-leader-opinion-event.success .application-leader-opinion-event-head i { color: #16a34a; } .application-leader-opinion-event-head time, .application-leader-opinion-event footer { color: #64748b; font-size: 12px; font-weight: 720; } .application-leader-opinion-event p { margin: 0; color: #334155; font-size: 13px; line-height: 1.65; } .application-leader-opinion-event footer { display: flex; flex-wrap: wrap; gap: 8px; } .detail-expense-table { min-width: 0; overflow-x: auto; } .expense-recognition-banner { min-width: 760px; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid rgba(var(--theme-primary-rgb), .20); border-radius: 4px; background: var(--theme-primary-soft); color: var(--theme-primary-active); font-size: 12px; font-weight: 800; } .expense-recognition-banner i { font-size: 16px; } .detail-expense-table table { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; } .detail-expense-table th, .detail-expense-table td { padding: 13px 12px; border-bottom: 1px solid #edf2f7; color: #24324a; text-align: center; font-size: 12px; vertical-align: middle; white-space: normal; } .detail-expense-table th { position: static; background: #f7fafc; color: #64748b; font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; } .detail-expense-table tbody tr:hover td { background: #fbfefd; } .detail-expense-table tbody tr.system-generated-row td { background: var(--success-soft); border-bottom-color: var(--success-line); } .detail-expense-table tbody tr.system-generated-row:hover td { background: var(--success-soft); } .detail-expense-table .col-time { width: 10%; } .detail-expense-table .col-filled-at { width: 13%; } .detail-expense-table .col-type { width: 11%; } .detail-expense-table .col-desc { width: 15%; } .detail-expense-table .col-amount { width: 9%; } .detail-expense-table .col-attachment { width: 18%; } .detail-expense-table .col-risk-note { width: 15%; } .detail-expense-table .col-action { width: 9%; } .expense-time { min-width: 0; } .expense-time-content { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 6px; min-width: 0; } .expense-time-value { min-width: 0; } .expense-risk-indicator, .expense-risk-indicator-placeholder { width: 18px; height: 18px; } .expense-risk-indicator { padding: 0; border: 0; background: transparent; display: inline-grid; place-items: center; color: #dc2626; font-size: 18px; line-height: 1; cursor: pointer; } .expense-risk-indicator:hover { color: #b91c1c; } .expense-risk-indicator:focus-visible { outline: 2px solid rgba(220, 38, 38, .28); outline-offset: 2px; } .cell-editor { display: grid; gap: 7px; justify-items: stretch; } .editor-stack { grid-template-columns: minmax(0, 1fr); } .editor-input, .editor-select, .editor-textarea { width: 100%; min-height: 34px; padding: 0 10px; border: 1px solid #d7e0ea; border-radius: 4px; background: #fff; color: #0f172a; font-size: 12px; } .editor-textarea { min-height: 68px; padding: 8px 10px; resize: vertical; line-height: 1.45; } .risk-note-editor-textarea { min-height: 34px; max-height: 78px; overflow-y: auto; resize: none; } .currency-editor { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 8px; } .currency-editor span { min-height: 34px; display: grid; place-items: center; border: 1px solid #d7e0ea; border-radius: 4px; background: #f8fafc; color: #334155; font-size: 12px; font-weight: 800; } .editor-input:focus, .editor-select:focus, .editor-textarea:focus { border-color: var(--theme-primary); box-shadow: 0 0 0 3px var(--theme-focus-ring); outline: none; } .cell-editor span { color: #64748b; font-size: 11px; line-height: 1.45; text-align: center; } .expense-time strong, .expense-filled-at strong, .expense-type strong, .expense-desc strong, .expense-amount strong { display: block; color: #0f172a; font-size: 13px; font-weight: 850; line-height: 1.4; text-align: center; } .expense-time span, .expense-filled-at span, .expense-type span, .expense-desc span { display: block; margin-top: 4px; color: #64748b; line-height: 1.45; text-align: center; } .expense-amount strong { white-space: nowrap; } .expense-adjusted-amount { display: grid; justify-items: center; gap: 3px; } .expense-original-amount { color: #b91c1c; font-size: 12px; font-weight: 760; text-decoration-line: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(185, 28, 28, .82); white-space: nowrap; } .expense-reimbursable-amount { color: #0f172a; font-size: 13px; font-weight: 880; white-space: nowrap; } .expense-adjusted-amount em { color: #991b1b; font-size: 11px; font-style: normal; font-weight: 760; white-space: nowrap; } .expense-filled-at strong { font-size: 12px; white-space: nowrap; } .expense-desc, .detail-expense-table .col-desc { text-align: left; } .expense-desc strong, .expense-desc span, .expense-risk p { text-align: left; } .expense-risk-note strong { display: block; color: #0f172a; font-size: 12px; font-weight: 800; line-height: 1.45; text-align: center; overflow-wrap: anywhere; } .expense-risk-note span { display: block; color: #64748b; font-size: 12px; line-height: 1.45; text-align: center; } .expense-risk-note .risk-note-missing { color: #b45309; font-weight: 750; } .over-tag { display: inline-flex; align-items: center; margin-top: 6px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; white-space: nowrap; } .over-tag.bad { background: #fff7ed; color: #ea580c; } .over-tag.system { background: var(--success-soft); color: var(--success-hover); } .expense-total-under-table { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(var(--theme-primary-rgb), .22); border-radius: 4px; background: var(--theme-primary-soft); color: var(--theme-primary-active); } .expense-total-under-table span { color: #475569; font-size: 12px; font-weight: 800; } .expense-total-under-table strong { color: var(--theme-primary-active); font-size: 17px; font-weight: 900; } .attachment-action-group { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; } .expense-attachment .attachment-hint { display: block; margin-top: 4px; color: #64748b; font-size: 11px; line-height: 1.5; text-align: center; } .attachment-hint.compact { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attachment-recognition { margin-top: 8px; text-align: left; } .attachment-recognition-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .attachment-recognition-pill { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1.2; background: #eff6ff; color: #1d4ed8; } .attachment-recognition-pill.type { background: #f8fafc; color: #334155; } .attachment-recognition-pill.pass { background: var(--success-soft); color: var(--success-hover); } .attachment-recognition-pill.medium { background: #fff7ed; color: #c2410c; } .attachment-recognition-pill.high { background: #fef2f2; color: #b91c1c; } .attachment-recognition-message { margin: 8px 0 0; color: #475569; font-size: 11px; line-height: 1.5; text-align: left; } .attachment-recognition-fields { margin: 8px 0 0; padding-left: 16px; color: #475569; font-size: 11px; line-height: 1.5; text-align: left; } .icon-action, .risk-inline-tag { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 4px; font-size: 14px; font-weight: 800; } .icon-action { border: 1px solid #dbe4ee; background: #fff; color: #475569; transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease; } .icon-action.upload { background: var(--theme-primary-soft); border-color: rgba(var(--theme-primary-rgb), .24); color: var(--theme-primary-active); } .icon-action.preview { background: #f8fafc; color: #2563eb; } .icon-action.danger { background: #fff5f5; color: #dc2626; border-color: rgba(239, 68, 68, .18); } .icon-action:hover:not(:disabled) { transform: translateY(-1px); } .inline-action { min-height: 28px; padding: 0 10px; border: 1px solid #dbe4ee; border-radius: 4px; background: #fff; color: #334155; font-size: 11px; font-weight: 800; } .inline-action.accent { border-color: rgba(var(--theme-primary-rgb), .24); background: var(--theme-primary-soft); color: var(--theme-primary-active); } .inline-action.primary { border-color: var(--theme-primary); background: var(--theme-primary); color: #fff; } .inline-action.danger { border-color: rgba(239, 68, 68, .2); background: #fff5f5; color: #dc2626; } .inline-action:hover { border-color: rgba(var(--theme-primary-rgb), .36); color: var(--theme-primary-active); } .inline-action.primary:hover { border-color: var(--theme-primary-active); background: var(--theme-primary-active); color: #fff; } .inline-action.danger:hover { border-color: rgba(220, 38, 38, .3); background: #fee2e2; color: #b91c1c; } .expense-action-cell { min-width: 128px; } .system-row-lock { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 0 9px; border-radius: 4px; background: var(--success-soft); color: var(--success-hover); font-size: 11px; font-weight: 850; white-space: nowrap; } .system-attachment-note { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 0 9px; border-radius: 4px; background: var(--success-soft); color: var(--success-hover); font-size: 11px; font-weight: 850; white-space: nowrap; } .row-action-group { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .risk-inline-tag { min-height: 24px; width: auto; padding: 0 8px; font-size: 11px; white-space: nowrap; } .risk-inline-tag.pass, .risk-inline-tag.low { background: var(--success-soft); color: var(--success-hover); } .risk-inline-tag.medium { background: #fff7ed; color: #ea580c; } .risk-inline-tag.high { background: #fef2f2; color: #dc2626; } .risk-headline { display: block; margin-top: 8px; color: #0f172a; font-size: 12px; line-height: 1.5; font-weight: 800; text-align: left; } .expense-risk p { margin-top: 6px; color: #475569; font-size: 12px; line-height: 1.55; } .risk-point-list { margin: 8px 0 0; padding-left: 16px; color: #475569; font-size: 11px; line-height: 1.6; text-align: left; } .risk-suggestion { color: var(--success-hover); font-weight: 700; } .system-attachment-note.pending { border-color: rgba(var(--theme-primary-rgb), .20); background: var(--theme-primary-soft); color: var(--theme-primary-active); } .empty-row-cell { padding: 22px 16px; color: #64748b; font-size: 13px; font-weight: 700; text-align: center; background: #fcfdfd; } .expense-upload-input { display: none; } .smart-entry-upload-panel { display: grid; gap: 12px; } .smart-entry-upload-picker { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(var(--theme-primary-rgb), .28); border-radius: 4px; background: #fff; color: var(--theme-primary-active); font-size: 13px; font-weight: 850; } .smart-entry-upload-picker:hover { background: var(--theme-primary-soft); } .smart-entry-upload-picker:disabled { cursor: not-allowed; opacity: .64; } .smart-entry-upload-file { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 68px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 4px; background: #f8fafc; } .smart-entry-upload-file > i { color: var(--theme-primary-active); font-size: 24px; } .smart-entry-upload-file strong, .smart-entry-upload-file span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .smart-entry-upload-file strong { color: #0f172a; font-size: 13px; font-weight: 850; white-space: nowrap; } .smart-entry-upload-file span { margin-top: 3px; color: #64748b; font-size: 12px; line-height: 1.45; } .smart-entry-upload-list { display: grid; gap: 2px; max-height: 84px; margin: 8px 0 0; padding: 0; overflow: auto; list-style: none; } .smart-entry-upload-list li { min-width: 0; overflow: hidden; color: #334155; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; } .smart-entry-upload-clear { min-height: 30px; padding: 0 10px; border: 1px solid #d7e0ea; border-radius: 4px; background: #fff; color: #475569; font-size: 12px; font-weight: 800; } .attachment-preview-mask { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, 0.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } .attachment-preview-card { width: min(1160px, calc(100vw - 48px)); max-height: calc(100vh - 48px); display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 22px; border: 1px solid rgba(var(--theme-primary-rgb), .14); border-radius: 4px; background: #fff; box-shadow: 0 28px 56px rgba(15, 23, 42, .2); } .attachment-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; } .attachment-preview-toolbar { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; } .attachment-preview-nav, .attachment-preview-close { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d7e0ea; border-radius: 4px; background: rgba(255, 255, 255, .9); color: #475569; } .attachment-preview-nav:disabled { cursor: not-allowed; opacity: .5; } .attachment-preview-count { min-width: 48px; color: #64748b; font-size: 12px; font-weight: 800; text-align: center; } .attachment-preview-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 4px; background: var(--theme-primary-soft); color: var(--theme-primary-active); font-size: 12px; font-weight: 800; } .attachment-preview-head h4 { margin: 10px 0 0; color: #0f172a; font-size: 20px; line-height: 1.4; font-weight: 800; } .attachment-preview-body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: stretch; gap: 16px; overflow: hidden; background: transparent; } .attachment-source-pane, .attachment-insight-pane { min-height: 0; border: 1px solid #e2e8f0; border-radius: 4px; overflow: hidden; background: #f8fafc; } .attachment-source-pane { display: grid; place-items: center; } .attachment-preview-image, .attachment-preview-frame { width: 100%; height: 100%; min-height: 520px; border: 0; object-fit: contain; background: #fff; } .attachment-insight-pane { display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 18px; overflow-y: auto; background: #fff; } .attachment-insight-head { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid #e2e8f0; } .attachment-insight-head span, .attachment-insight-section span { color: #64748b; font-size: 12px; font-weight: 800; } .attachment-insight-head strong { color: #0f172a; font-size: 18px; line-height: 1.35; } .attachment-insight-content { display: grid; align-content: start; gap: 14px; padding-top: 14px; } .attachment-insight-pills { display: flex; flex-wrap: wrap; gap: 8px; } .attachment-insight-section { display: grid; gap: 8px; padding: 12px; border-radius: 4px; background: #f8fafc; } .attachment-insight-section ul { display: grid; gap: 6px; margin: 0; padding-left: 16px; color: #334155; font-size: 12px; line-height: 1.55; } .attachment-risk-card { display: grid; gap: 6px; padding: 10px; border: 1px solid #fee2e2; border-radius: 4px; background: #fff7f7; } .attachment-risk-card.medium { border-color: #fed7aa; background: #fffaf2; } .attachment-risk-card strong { color: #991b1b; font-size: 12px; line-height: 1.45; } .attachment-risk-card.medium strong { color: #9a3412; } .attachment-risk-card p { margin: 0; color: #475569; font-size: 12px; line-height: 1.55; } .attachment-preview-state { min-height: 320px; display: grid; place-items: center; gap: 10px; color: #475569; font-size: 14px; font-weight: 700; text-align: center; } .attachment-preview-state.compact { min-height: 180px; padding: 20px; } .attachment-preview-state i { font-size: 24px; } .attachment-preview-state.error { color: #dc2626; } .detail-actions { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 0 0; border-top: 1px solid #e5eaf0; background: transparent; } .detail-actions button { height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 4px; font-size: 13px; font-weight: 760; } .detail-actions button:disabled, .inline-action:disabled, .icon-action:disabled { cursor: not-allowed; opacity: .58; box-shadow: none; } .back-action { min-width: 104px; border: 1px solid #d7e0ea; background: #fff; color: #475569; } .approval-action-group { display: flex; justify-content: flex-end; gap: 8px; width: auto; } .approve-action { min-width: 92px; border: 1px solid var(--success); background: var(--success); color: #fff; box-shadow: 0 4px 10px rgba(var(--success-rgb), .14); } .reject-action { min-width: 98px; border: 1px solid #fecaca; background: #fff; color: #ef4444; } .secondary-action { min-width: 98px; border: 1px solid #bfdbfe; background: #eff6ff; color: #2563eb; } .return-action { min-width: 98px; border: 1px solid #fed7aa; background: #fff7ed; color: #c2410c; } .detail-action-hint { color: #64748b; font-size: 13px; line-height: 1.6; } .submit-confirm-summary { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 4px; background: #f8fafc; } .submit-confirm-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; color: #64748b; font-size: 13px; line-height: 1.55; } .submit-confirm-row strong { min-width: 0; color: #0f172a; font-weight: 780; text-align: right; word-break: break-word; } .risk-override-panel { display: grid; gap: 12px; } .risk-override-nav { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; gap: 8px; } .risk-override-nav span { display: inline-flex; justify-content: center; color: #64748b; font-size: 12px; font-weight: 850; } .risk-override-nav-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; border-radius: 4px; background: #fff; color: #475569; } .risk-override-nav-btn:disabled { cursor: not-allowed; opacity: .48; } .risk-override-card { display: grid; gap: 10px; padding: 12px; border: 1px solid #fecaca; border-radius: 4px; background: #fffafa; } .risk-override-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .risk-override-card-head span { flex: 0 0 auto; min-height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 4px; background: #fef2f2; color: #dc2626; font-size: 11px; font-weight: 850; } .risk-override-card-head strong { min-width: 0; color: #0f172a; font-size: 13px; line-height: 1.45; text-align: right; } .risk-override-card p { margin: 0; color: #334155; font-size: 12px; line-height: 1.6; } .risk-override-card textarea { min-height: 88px; border-color: #fecaca; background: #fff; color: #0f172a; } .risk-override-card textarea.risk-note-editor-textarea { min-height: 34px; max-height: 78px; resize: none; } .risk-override-card textarea:focus { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); outline: none; } .risk-override-submit-row { display: grid; gap: 6px; } .risk-override-save-btn { min-height: 34px; border: 1px solid #bfdbfe; border-radius: 4px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 850; cursor: pointer; } .risk-override-save-btn:disabled { cursor: not-allowed; opacity: .58; } .risk-override-submit-row span { color: #64748b; font-size: 12px; line-height: 1.5; text-align: center; } .validation-card { border: 1px solid #e5e7eb; background: #ffffff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); } .validation-section--risk .risk-advice-list { display: grid; gap: 8px; max-height: 360px; padding-right: 4px; overflow-y: auto; scrollbar-gutter: stable; } .validation-section--risk .risk-advice-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); align-items: start; gap: 12px; min-height: 64px; padding: 10px 12px 10px 14px; border: 1px solid #e5e7eb; border-radius: 2px; background: #ffffff; box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; } .validation-section--risk .risk-advice-card.is-highlighted { border-color: #f59e0b; background: #fff7ed; box-shadow: 0 0 0 3px rgba(245, 158, 11, .20), 0 8px 18px rgba(15, 23, 42, .08); animation: risk-card-flash 1.2s ease-in-out 1; } @keyframes risk-card-flash { 0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, .18), 0 8px 18px rgba(15, 23, 42, .08); } 45% { box-shadow: 0 0 0 6px rgba(245, 158, 11, .30), 0 10px 22px rgba(15, 23, 42, .10); } } @media (prefers-reduced-motion: reduce) { .validation-section--risk .risk-advice-card.is-highlighted { animation: none; } } .validation-section--risk .risk-advice-card::before { content: ""; position: absolute; inset: 10px auto 10px 7px; width: 3px; border-radius: 1px; background: #ef4444; } .validation-section--risk .risk-advice-card.medium { border-color: #f3e8d9; background: #fffcf7; } .validation-section--risk .risk-advice-card.medium::before { background: #f97316; } .validation-section--risk .risk-advice-card.low { border-color: #dbeafe; background: #f8fbff; } .validation-section--risk .risk-advice-card.low::before { background: #2563eb; } .risk-advice-card-main, .risk-advice-compact-meta { min-width: 0; } .risk-advice-card-head { display: flex; align-items: center; gap: 8px; min-width: 0; } .risk-advice-card-head span { flex: 0 0 auto; height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border: 1px solid #fecaca; border-radius: 2px; background: #fef2f2; color: #b91c1c; font-size: 10px; font-weight: 850; line-height: 1; } .risk-advice-card.medium .risk-advice-card-head span { border-color: #fed7aa; background: #fff7ed; color: #c2410c; } .risk-advice-card.low .risk-advice-card-head span { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; } .risk-advice-card-head strong { min-width: 0; color: #0f172a; font-size: 13px; font-weight: 850; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .risk-advice-point { display: -webkit-box; margin: 5px 0 0; color: #334155; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .risk-advice-compact-meta { display: grid; gap: 4px; padding-left: 12px; border-left: 1px solid #e2e8f0; } .risk-advice-compact-meta span, .risk-advice-compact-meta em { margin: 0; color: #334155; font-size: 11px; line-height: 1.5; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .risk-advice-compact-meta span { color: #64748b; } @media (max-width: 1180px) { .validation-section--risk .risk-advice-card { grid-template-columns: 1fr; gap: 8px; } .risk-advice-compact-meta { padding-left: 0; border-left: 0; } }