.approval-page { width: 100%; height: 100%; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr); gap: 14px; overflow: hidden; animation: fadeUp 220ms var(--ease) both; } .approval-detail { width: 100%; height: 100%; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; } .detail-scroll { min-width: 0; min-height: 0; display: grid; align-content: start; gap: 12px; padding-right: 4px; overflow: auto; } .detail-hero { display: grid; gap: 10px; padding: 18px 24px 18px; border: 1px solid #edf2f7; background: radial-gradient(circle at 100% 100%, rgba(45, 212, 191, .18), transparent 18%), radial-gradient(circle at 92% 92%, rgba(125, 211, 252, .14), transparent 24%), linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); overflow: visible; } .progress-card { padding: 18px 22px 20px; border: 1px solid #edf2f7; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); } .hero-banner { display: grid; gap: 0; } .hero-banner-main { display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr); align-items: center; gap: 16px; min-height: 104px; } .applicant-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 18px; min-width: 0; } .portrait { width: 88px; height: 88px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 999px; background: linear-gradient(180deg, #eff6ff 0%, #ecfeff 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); } .portrait img { width: 100%; height: 100%; display: block; object-fit: cover; } .applicant-copy { min-width: 0; display: grid; gap: 14px; } .applicant-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .applicant-card h2 { color: #0f172a; font-size: 20px; font-weight: 900; line-height: 1.2; } .identity-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; background: #ecfdf5; border: 1px solid rgba(16, 185, 129, .16); color: #10b981; font-size: 11px; font-weight: 800; } .applicant-meta-line { display: flex; flex-wrap: wrap; gap: 8px 0; } .applicant-meta-line span { min-width: 0; position: relative; display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: 13px; line-height: 1.5; } .applicant-meta-line span + span { margin-left: 16px; } .applicant-meta-line span + span::before { content: "•"; position: absolute; left: -10px; color: #cbd5e1; font-size: 12px; } .applicant-meta-line em { font-style: normal; color: #64748b; } .applicant-meta-line strong { color: #0f172a; font-weight: 800; } .hero-fact-grid { display: grid; grid-template-columns: repeat(5, 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 { color: #0f172a; font-size: 16px; font-weight: 800; line-height: 1.4; white-space: nowrap; } .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: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); } .progress-line { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--progress-columns, 5), minmax(0, 1fr)); } .progress-step { position: relative; display: grid; justify-items: center; gap: 5px; 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: #10b981; 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: 26px; height: 26px; 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(16, 185, 129, .42); border-radius: 999px; pointer-events: none; } .progress-step.active span { background: #059669; color: #fff; } .progress-step.current span { background: #10b981 !important; color: #fff !important; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15) !important; animation: breathe-dot 3s ease-in-out infinite !important; transform-origin: center !important; } @keyframes breathe-dot { 0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(16, 185, 129, .3), 0 0 0 4px rgba(16, 185, 129, .15); } 50% { transform: scale(1.12); box-shadow: 0 4px 20px rgba(16, 185, 129, .5), 0 0 0 10px rgba(16, 185, 129, .08); } } .progress-step strong { color: #334155; font-size: 12px; text-align: center; } .progress-step.current strong { color: #059669; } .progress-step small { font-size: 11px; text-align: center; } .progress-step.current small { color: #059669; } .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-head p { color: #64748b; font-size: 12px; line-height: 1.5; } .smart-entry-btn { min-width: 104px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border: 1px solid #dbe4ee; border-radius: 999px; background: #f8fafc; color: #0f172a; font-size: 13px; font-weight: 800; white-space: nowrap; } .smart-entry-btn.secondary { background: #fff; color: #0f766e; border-color: rgba(16, 185, 129, .24); } .smart-entry-btn:hover { border-color: rgba(16, 185, 129, .36); background: #f0fdf4; color: #047857; } .detail-total { display: inline-flex; align-items: center; justify-content: center; min-width: 102px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 14px; font-weight: 900; } .detail-card textarea { width: 100%; min-height: 84px; resize: none; border: 1px solid #d7e0ea; border-radius: 8px; padding: 12px; font-size: 13px; line-height: 1.5; } .detail-note { min-height: 84px; padding: 12px 14px; border: 1px solid #d7e0ea; border-radius: 8px; background: linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%); color: #334155; font-size: 13px; line-height: 1.7; white-space: pre-wrap; } .detail-expense-table { min-width: 0; overflow-x: auto; } .detail-expense-table table { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; } .detail-expense-table th, .detail-expense-table td { padding: 13px 12px; border-bottom: 1px solid #edf2f7; color: #24324a; text-align: center; font-size: 12px; vertical-align: middle; white-space: normal; } .detail-expense-table th { position: static; background: #f7fafc; color: #64748b; font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; } .detail-expense-table tbody tr:hover td { background: #fbfefd; } .detail-expense-table .col-time { width: 13%; } .detail-expense-table .col-type { width: 15%; } .detail-expense-table .col-desc { width: 23%; } .detail-expense-table .col-amount { width: 12%; } .detail-expense-table .col-attachment { width: 19%; } .detail-expense-table .col-risk { width: 18%; } .detail-expense-table .col-action { width: 10%; } .cell-editor { display: grid; gap: 7px; justify-items: stretch; } .editor-stack { grid-template-columns: minmax(0, 1fr); } .editor-input, .editor-select { width: 100%; min-height: 34px; padding: 0 10px; border: 1px solid #d7e0ea; border-radius: 8px; background: #fff; color: #0f172a; font-size: 12px; } .currency-editor { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 8px; } .currency-editor span { min-height: 34px; display: grid; place-items: center; border: 1px solid #d7e0ea; border-radius: 8px; background: #f8fafc; color: #334155; font-size: 12px; font-weight: 800; } .editor-input:focus, .editor-select:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .12); outline: none; } .cell-editor span { color: #64748b; font-size: 11px; line-height: 1.45; text-align: center; } .expense-time 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-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-desc, .detail-expense-table .col-desc { text-align: left; } .expense-desc strong, .expense-desc span, .expense-risk p { text-align: left; } .over-tag { display: inline-flex; align-items: center; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; } .over-tag.bad { background: #fff7ed; color: #ea580c; } .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; } .icon-action, .risk-inline-tag { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; font-size: 14px; font-weight: 800; } .icon-action { border: 1px solid #dbe4ee; background: #fff; color: #475569; transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease; } .icon-action.upload { background: #ecfdf5; border-color: rgba(16, 185, 129, .24); color: #047857; } .icon-action.preview { background: #f8fafc; color: #2563eb; } .icon-action.danger { background: #fff5f5; color: #dc2626; border-color: rgba(239, 68, 68, .18); } .icon-action:hover:not(:disabled) { transform: translateY(-1px); } .inline-action { min-height: 28px; padding: 0 10px; border: 1px solid #dbe4ee; border-radius: 999px; background: #fff; color: #334155; font-size: 11px; font-weight: 800; } .inline-action.accent { border-color: rgba(16, 185, 129, .24); background: #ecfdf5; color: #047857; } .inline-action.primary { border-color: #10b981; background: #10b981; color: #fff; } .inline-action.danger { border-color: rgba(239, 68, 68, .2); background: #fff5f5; color: #dc2626; } .inline-action:hover { border-color: rgba(16, 185, 129, .36); color: #047857; } .inline-action.primary:hover { border-color: #059669; background: #059669; color: #fff; } .inline-action.danger:hover { border-color: rgba(220, 38, 38, .3); background: #fee2e2; color: #b91c1c; } .expense-action-cell { min-width: 128px; } .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: #ecfdf5; color: #059669; } .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: #0f766e; font-weight: 700; } .total-row td { color: #0f172a; font-weight: 900; background: #f8fafc; } .empty-row-cell { padding: 22px 16px; color: #64748b; font-size: 13px; font-weight: 700; text-align: center; background: #fcfdfd; } .expense-total-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; } .expense-total-bar strong { color: #0f172a; font-size: 13px; font-weight: 900; } .expense-total-meta { display: flex; align-items: center; justify-content: flex-end; gap: 10px 16px; flex-wrap: wrap; color: #475569; font-size: 12px; font-weight: 700; } .expense-upload-input { display: none; } .attachment-preview-mask { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, 0.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } .attachment-preview-card { width: min(920px, 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(16, 185, 129, .14); border-radius: 24px; background: radial-gradient(circle at top left, rgba(16, 185, 129, .12), transparent 36%), linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 252, .98)); box-shadow: 0 28px 56px rgba(15, 23, 42, .2); } .attachment-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; } .attachment-preview-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(16, 185, 129, .12); color: #047857; 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-close { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d7e0ea; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #475569; } .attachment-preview-body { min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); } .attachment-preview-image, .attachment-preview-frame { width: 100%; height: 100%; min-height: 520px; border: 0; object-fit: contain; background: #fff; } .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 i { font-size: 24px; } .attachment-preview-state.error { color: #dc2626; } .detail-actions { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 0 0; border-top: 1px solid #e5eaf0; background: transparent; } .detail-actions button { height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; font-size: 13px; font-weight: 760; } .detail-actions button:disabled, .inline-action:disabled, .icon-action:disabled { cursor: not-allowed; opacity: .58; box-shadow: none; } .back-action { min-width: 104px; border: 1px solid #d7e0ea; background: #fff; color: #475569; } .approval-action-group { display: flex; justify-content: flex-end; gap: 8px; width: auto; } .approve-action { min-width: 92px; border: 1px solid #059669; background: #059669; color: #fff; box-shadow: 0 4px 10px rgba(5, 150, 105, .14); } .reject-action { min-width: 98px; border: 1px solid #fecaca; background: #fff; color: #ef4444; } .detail-action-hint { color: #64748b; font-size: 13px; line-height: 1.6; } .validation-card { border: 1px solid #e6f0eb; background: linear-gradient(180deg, #fcfffd 0%, #f7fbf9 100%); } .validation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .validation-head h3 { margin-bottom: 4px; } .validation-head p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.55; } .validation-pill { min-height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; } .validation-pill.ready { background: #dcfce7; color: #047857; } .validation-pill.pending { background: #fff7ed; color: #c2410c; } .validation-pill.warning { background: #fef2f2; color: #dc2626; } .validation-summary { margin: 0; color: #475569; font-size: 13px; line-height: 1.6; } .validation-list { display: grid; gap: 6px; margin-top: 12px; padding-left: 18px; color: #b45309; font-size: 13px; line-height: 1.55; } .detail-overlay { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(15, 23, 42, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .detail-modal { position: relative; width: calc(100vw - 80px); max-width: 1440px; height: calc(100vh - 64px); max-height: 960px; display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 28px; background: #f8fafc; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 20px 60px rgba(15, 23, 42, .18), 0 4px 16px rgba(15, 23, 42, .06); overflow: hidden; } .ai-entry-modal { max-width: 1320px; } .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; background: linear-gradient(135deg, #fff 0%, #f9fbff 100%); border-bottom: 1px solid #e8eef6; } .header-left { display: flex; align-items: center; gap: 16px; } .req-badge { padding: 6px 14px; border-radius: 999px; background: #eff6ff; border: 1px solid rgba(29, 78, 216, .16); color: #1d4ed8; font-size: 13px; font-weight: 850; letter-spacing: .02em; } .header-title-group h2 { color: #0f172a; font-size: 20px; font-weight: 900; letter-spacing: -.01em; } .header-title-group p { margin-top: 3px; color: #64748b; font-size: 13px; } .header-right { display: flex; align-items: center; gap: 10px; } .close-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #64748b; font-size: 18px; transition: all 160ms ease; } .close-btn:hover { border-color: #cbd5e1; background: #f1f5f9; color: #0f172a; } .modal-body { min-height: 0; padding: 20px 28px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; } .ai-entry-grid { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) 360px; gap: 20px; } .ai-chat-card, .ai-preview-card { min-height: 0; border-radius: 22px; background: #fff; border: 1px solid #edf2f7; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); } .ai-chat-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; } .ai-chat-scroll { min-height: 0; display: grid; align-content: start; gap: 12px; padding: 18px; overflow: auto; background: linear-gradient(180deg, rgba(240, 253, 244, .5) 0%, rgba(255, 255, 255, 0) 140px), #fff; } .ai-chat-bubble { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; } .ai-chat-bubble.user { grid-template-columns: minmax(0, 1fr) 34px; } .ai-chat-bubble.user .ai-chat-avatar { order: 2; background: #dbeafe; color: #2563eb; } .ai-chat-bubble.user .ai-chat-content { order: 1; justify-self: end; background: #eff6ff; } .ai-chat-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: #ecfdf5; color: #059669; font-size: 18px; } .ai-chat-content { max-width: min(100%, 640px); padding: 12px 14px; border-radius: 18px; background: #f8fafc; border: 1px solid #edf2f7; } .ai-chat-content header { margin-bottom: 6px; } .ai-chat-content strong { color: #0f172a; font-size: 13px; font-weight: 850; } .ai-chat-content p { color: #334155; font-size: 13px; line-height: 1.6; } .ai-composer { display: grid; gap: 12px; padding: 14px 16px 16px; border-top: 1px solid #edf2f7; background: linear-gradient(180deg, #fff, #fbfdff); } .ai-file-input { display: none; } .ai-composer-surface { min-height: 78px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid #cbd8e5; border-radius: 22px; background: linear-gradient(180deg, #fff, #fbfdff); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; } .ai-composer-surface:focus-within { border-color: rgba(16, 185, 129, .58); background: #fff; box-shadow: 0 0 0 3px rgba(16, 185, 129, .11), 0 10px 24px rgba(15, 23, 42, .06); } .ai-composer textarea { width: 100%; min-height: 60px; height: 60px; resize: none; border: 0; border-radius: 0; padding: 8px 0; background: transparent; color: #0f172a; font-size: 14px; line-height: 1.6; } .ai-composer textarea:focus { outline: none; } .ai-composer-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-bottom: 2px; } .ai-upload-list { display: flex; flex-wrap: wrap; gap: 8px; } .ai-upload-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: #eef6ff; border: 1px solid #d7e8fb; color: #334155; font-size: 12px; font-weight: 700; } .ai-upload-chip i { color: #2563eb; } .ai-upload-btn, .ai-send-btn { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border-radius: 12px; font-size: 20px; transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease; } .ai-upload-btn { border: 0; background: #f1f5f9; color: #475569; box-shadow: none; } .ai-upload-btn:hover { background: #e2e8f0; color: #0f172a; } .ai-send-btn { border: 0; background: #10b981; color: #fff; box-shadow: 0 8px 18px rgba(16, 185, 129, .20); } .ai-send-btn:hover { background: #0ea672; box-shadow: 0 10px 22px rgba(16, 185, 129, .24); } .ai-upload-btn:active, .ai-send-btn:active { transform: scale(.96); } .ai-preview-card { padding: 18px; display: grid; align-content: start; gap: 16px; } .ai-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .ai-preview-head h3 { margin: 0; color: #0f172a; font-size: 16px; font-weight: 850; } .ai-preview-head p { margin-top: 4px; color: #64748b; font-size: 12px; line-height: 1.5; } .ai-preview-fields { display: grid; gap: 10px; } .preview-field { padding: 12px 14px; border-radius: 18px; background: #f8fafc; border: 1px solid #edf2f7; } .preview-field.full { min-height: 90px; } .preview-field span { display: block; color: #64748b; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; } .preview-field strong { display: block; margin-top: 5px; color: #0f172a; font-size: 14px; font-weight: 850; line-height: 1.5; } .preview-field p { margin-top: 4px; color: #475569; font-size: 12px; line-height: 1.55; } .ai-preview-empty { min-height: 280px; display: grid; place-items: center; gap: 10px; padding: 24px; border: 1px dashed #cbd5e1; border-radius: 20px; color: #94a3b8; text-align: center; } .ai-preview-empty i { font-size: 32px; color: #10b981; } .ai-preview-actions { display: flex; gap: 10px; margin-top: 4px; } .ai-preview-secondary, .ai-preview-primary { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 20px; border-radius: 999px; font-size: 13px; font-weight: 800; transition: all 180ms ease; flex: 1; } .ai-preview-secondary { border: 1px solid #fed7aa; background: #fff7ed; color: #c2410c; } .ai-preview-primary { border: 1px solid #059669; background: #059669; color: #fff; box-shadow: 0 8px 20px rgba(5, 150, 105, .18); } .ai-preview-secondary:hover { background: #ffedd5; } .ai-preview-primary:hover { background: #047857; } .ai-preview-secondary:disabled, .ai-preview-primary:disabled, .approve-action:disabled, .ai-send-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; } .detail-modal-enter-active { transition: opacity 260ms ease; } .detail-modal-enter-active .detail-modal { transition: transform 320ms cubic-bezier(.2, .8, .2, 1), opacity 280ms ease; } .detail-modal-leave-active { transition: opacity 200ms ease; } .detail-modal-leave-active .detail-modal { transition: transform 220ms ease, opacity 200ms ease; } .detail-modal-enter-from { opacity: 0; } .detail-modal-enter-from .detail-modal { transform: translateY(16px); opacity: 0; } .detail-modal-leave-to { opacity: 0; } .detail-modal-leave-to .detail-modal { transform: translateY(8px); opacity: 0; } @media (max-width: 1320px) { .hero-banner-main { grid-template-columns: 1fr; gap: 16px; min-height: 0; } .hero-fact-grid { grid-template-columns: repeat(5, minmax(132px, 1fr)); overflow-x: auto; } .hero-fact { min-width: 132px; } .detail-expense-table { overflow-x: auto; } .detail-expense-table table { min-width: 980px; } .ai-entry-grid { grid-template-columns: 1fr; } .detail-modal { width: calc(100vw - 40px); height: calc(100vh - 40px); } } @media (max-width: 760px) { .detail-hero { gap: 10px; padding: 16px; } .progress-card { padding: 16px; } .applicant-card { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; } .portrait { width: 60px; height: 60px; } .applicant-copy { gap: 8px; } .applicant-card h2 { font-size: 16px; } .applicant-meta-line { display: grid; gap: 6px; } .applicant-meta-line span + span { margin-left: 0; } .applicant-meta-line span + span::before { content: none; } .hero-fact-grid { grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-top: 1px solid #edf2f7; } .hero-fact { min-width: 0; min-height: 78px; padding: 14px 12px 12px; border-left: 0; border-bottom: 1px solid #edf2f7; } .hero-fact:nth-child(2n) { border-left: 1px solid #edf2f7; } .hero-fact:last-child:nth-child(odd) { grid-column: 1 / -1; } .hero-fact:nth-last-child(-n + 2) { border-bottom: 0; } .hero-fact strong { white-space: normal; } .detail-card { padding: 14px 16px; } .detail-card-head { flex-direction: column; align-items: stretch; } .detail-card-actions { width: 100%; justify-content: flex-start; } .smart-entry-btn { align-self: flex-start; } .detail-expense-table table { min-width: 980px; } .expense-total-bar, .expense-total-meta { justify-content: flex-start; } .detail-actions { flex-direction: column; } .approval-action-group { width: 100%; } .validation-head { flex-direction: column; } .detail-modal { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; border-radius: 0; } .modal-header { padding: 16px 18px; flex-wrap: wrap; } .modal-body { padding: 16px 18px; } .ai-composer-actions { flex-direction: column; align-items: stretch; } .ai-preview-actions { flex-direction: column; } .attachment-preview-mask { padding: 14px; } .attachment-preview-card { width: min(100vw - 28px, 920px); max-height: calc(100vh - 28px); padding: 18px; border-radius: 20px; } .attachment-preview-image, .attachment-preview-frame { min-height: 360px; } }