/* MEJ AI Platform Demo - Solution-focused Design System */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #6366F1; --primary-dark: #4F46E5; --primary-light: #A5B4FC;
  --secondary: #10B981; --secondary-dark: #059669;
  --accent: #F59E0B; --error: #EF4444;
  --bg: #0F172A; --bg-secondary: #1E293B; --bg-card: #1E293B;
  --bg-hover: #334155; --surface: #1E293B;
  --text: #F1F5F9; --text-secondary: #94A3B8; --text-muted: #64748B;
  --border: #334155; --border-light: #475569;
  --gradient-1: linear-gradient(135deg, #6366F1, #8B5CF6);
  --gradient-2: linear-gradient(135deg, #10B981, #34D399);
  --gradient-3: linear-gradient(135deg, #F59E0B, #FBBF24);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
  --radius: 12px; --radius-sm: 8px; --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--primary-light); text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== LAYOUT ===== */
.app-container { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: var(--bg-secondary); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100; }
.main-content { margin-left: 260px; flex: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ===== SIDEBAR ===== */
.sidebar-logo { padding: 24px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.sidebar-logo .logo-icon { width: 40px; height: 40px; background: var(--gradient-1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.sidebar-logo h2 { font-size: 16px; font-weight: 600; }
.sidebar-logo span { font-size: 11px; color: var(--text-secondary); display: block; }
.sidebar-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.nav-section { margin-bottom: 20px; }
.nav-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); padding: 0 12px; margin-bottom: 4px; font-weight: 600; }
.nav-section-subtitle { font-size: 11px; color: var(--text-secondary); padding: 0 12px; margin-bottom: 10px; font-weight: 500; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 14px; transition: var(--transition); cursor: pointer; margin-bottom: 2px; }
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active { background: rgba(99,102,241,0.15); color: var(--primary-light); font-weight: 500; }
.nav-item .icon { font-size: 18px; width: 24px; text-align: center; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.sidebar-footer .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #fff; }
.sidebar-footer .user-info .name { font-size: 13px; font-weight: 500; }
.sidebar-footer .user-info .role { font-size: 11px; color: var(--text-secondary); }

/* ===== HEADER ===== */
.page-header { padding: 20px 32px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: rgba(15,23,42,0.8); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; }
.page-header h1 { font-size: 20px; font-weight: 600; }
.header-badge { padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; background: rgba(99,102,241,0.15); color: var(--primary-light); border: 1px solid rgba(99,102,241,0.3); }
.header-badge.green { background: rgba(16,185,129,0.15); color: #6EE7B7; border-color: rgba(16,185,129,0.3); }

/* ===== PAGE CONTENT ===== */
.page-content { padding: 32px; flex: 1; }
.page-section { display: none; }
.page-section.active { display: block; }

/* ===== HERO BANNER ===== */
.hero-banner { border-radius: var(--radius-lg); padding: 40px; margin-bottom: 32px; position: relative; overflow: hidden; }
.hero-banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%); }
.hero-banner h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; position: relative; }
.hero-banner p { color: var(--text-secondary); font-size: 15px; position: relative; }
.hero-blue { background: linear-gradient(135deg, #0F172A, #1E1B4B, #0F172A); }
.hero-green { background: linear-gradient(135deg, #0F172A, #0B2E1E, #0F172A); }
.hero-green::before { background: radial-gradient(circle, rgba(16,185,129,0.15), transparent 70%); }

/* ===== CARD ===== */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; transition: var(--transition); }
.card:hover { border-color: var(--border-light); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-header h3 { font-size: 16px; font-weight: 600; }

/* ===== KPI GRID ===== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); }
.kpi-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi-icon { font-size: 28px; margin-bottom: 8px; }
.kpi-value { font-size: 32px; font-weight: 700; color: var(--primary-light); margin-bottom: 4px; }
.kpi-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.kpi-trend { font-size: 11px; font-weight: 600; }
.kpi-trend.up { color: #6EE7B7; }
.kpi-trend.warn { color: #FBBF24; }

/* ===== DATA TABLE ===== */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.data-table th { text-align: left; padding: 12px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 600; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table tr:hover td { background: var(--bg-hover); }
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-approved { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.status-pending { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.status-overdue { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.status-rejected { background: rgba(239,68,68,0.1); color: #F87171; }

/* ===== BAR CHARTS ===== */
.chart-bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { width: 100px; font-size: 13px; color: var(--text-secondary); text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; height: 24px; background: var(--bg); border-radius: 12px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 12px; transition: width 0.8s ease; }
.bar-value { width: 50px; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ===== REQUEST TYPE GRID ===== */
.request-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.request-type-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; cursor: pointer; transition: var(--transition); text-align: center; }
.request-type-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.request-type-card.selected { border-color: var(--primary); background: rgba(99,102,241,0.08); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.request-type-card .rt-icon { font-size: 36px; margin-bottom: 12px; }
.request-type-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.request-type-card p { font-size: 12px; color: var(--text-secondary); }

/* ===== FORM ===== */
.demo-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.required { color: var(--error); }
.form-input { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--text); font-size: 14px; font-family: inherit; transition: var(--transition); }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-input::placeholder { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-upload-area { background: var(--bg); border: 2px dashed var(--border); border-radius: var(--radius-sm); padding: 24px; text-align: center; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: var(--transition); }
.file-upload-area:hover { border-color: var(--primary); color: var(--text-secondary); }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }

/* ===== APPROVAL ROUTE ===== */
.approval-route { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px; background: var(--bg); border-radius: var(--radius-sm); }
.route-step { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border); font-size: 13px; }
.route-step.completed { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.08); color: #6EE7B7; }
.route-step.active-step { border-color: rgba(99,102,241,0.5); background: rgba(99,102,241,0.1); color: var(--primary-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.2); } 50% { box-shadow: 0 0 0 6px rgba(99,102,241,0); } }
.route-icon { font-size: 16px; }
.route-arrow { color: var(--text-muted); font-size: 16px; }

/* ===== SUCCESS CARD ===== */
.success-card { text-align: center; }
.success-content { padding: 24px; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-content h3 { font-size: 20px; color: #6EE7B7; margin-bottom: 12px; }
.success-content p { color: var(--text-secondary); font-size: 14px; margin-bottom: 4px; }

/* ===== APPROVAL ITEMS ===== */
.approval-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 12px; transition: var(--transition); }
.approval-item:hover { border-color: var(--border-light); }
.approval-item.urgent { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.03); }
.approval-info { flex: 1; }
.approval-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.type-tag { padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; background: rgba(99,102,241,0.15); color: var(--primary-light); }
.urgent-badge { padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; background: rgba(239,68,68,0.15); color: #FCA5A5; }
.count-badge { padding: 4px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; background: rgba(99,102,241,0.15); color: var(--primary-light); }
.approval-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; flex-wrap: wrap; }
.approval-desc { font-size: 14px; color: var(--text); }
.approval-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-approve { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: none; background: rgba(16,185,129,0.15); color: #6EE7B7; transition: var(--transition); }
.btn-approve:hover { background: rgba(16,185,129,0.3); }
.btn-reject { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: none; background: rgba(239,68,68,0.1); color: #FCA5A5; transition: var(--transition); }
.btn-reject:hover { background: rgba(239,68,68,0.2); }
.action-done { font-size: 13px; font-weight: 600; }
.action-done.approved { color: #6EE7B7; }
.action-done.rejected { color: #FCA5A5; }

/* History */
.history-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; flex-wrap: wrap; }
.history-id { font-weight: 600; }
.history-date { margin-left: auto; font-size: 13px; color: var(--text-muted); }

/* ===== KNOWLEDGE DOCS ===== */
.doc-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); transition: var(--transition); }
.doc-item:hover { background: var(--bg-hover); margin: 0 -24px; padding: 14px 24px; }
.doc-item:last-child { border-bottom: none; }
.doc-icon { font-size: 24px; flex-shrink: 0; }
.doc-info { flex: 1; }
.doc-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.doc-meta { font-size: 12px; color: var(--text-muted); }
.doc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.doc-tag { padding: 2px 10px; border-radius: 12px; font-size: 11px; background: rgba(99,102,241,0.1); color: var(--primary-light); border: 1px solid rgba(99,102,241,0.2); }
.doc-status { font-size: 12px; color: #6EE7B7; font-weight: 500; flex-shrink: 0; }

/* ===== UPLOAD ===== */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 48px; text-align: center; cursor: pointer; transition: var(--transition); }
.upload-zone:hover { border-color: var(--primary); background: rgba(99,102,241,0.03); }
.upload-icon { font-size: 48px; margin-bottom: 12px; }
.upload-zone h4 { font-size: 16px; margin-bottom: 6px; }
.upload-zone p { font-size: 13px; color: var(--text-secondary); }
.upload-progress { padding: 8px 0; }
.upload-file { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.upload-size { margin-left: auto; font-size: 12px; color: var(--text-muted); }
.progress-bar { width: 100%; height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; background: var(--gradient-1); border-radius: 4px; transition: width 0.3s ease; width: 0; }
.upload-status { font-size: 13px; color: var(--text-secondary); }

/* ===== CHAT ===== */
.chat-container { display: flex; flex-direction: column; height: calc(100vh - 140px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 24px 0; }
.chat-message { display: flex; gap: 12px; margin-bottom: 20px; animation: fadeInUp 0.3s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.msg-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.chat-message.user .msg-avatar { background: var(--gradient-2); }
.chat-message.ai .msg-avatar { background: var(--gradient-1); }
.msg-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; max-width: 80%; font-size: 14px; line-height: 1.7; }
.chat-message.ai .msg-content { border-color: rgba(99,102,241,0.3); }
.msg-content strong { color: var(--primary-light); }
.msg-sources { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.msg-sources span { display: inline-block; background: rgba(99,102,241,0.15); color: var(--primary-light); font-size: 11px; padding: 3px 8px; border-radius: 4px; margin: 2px 4px 2px 0; }
.chat-input-area { padding: 16px 0; border-top: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-end; }
.chat-input-area textarea { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--text); font-size: 14px; resize: none; height: 48px; font-family: inherit; transition: var(--transition); }
.chat-input-area textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.chat-input-area textarea::placeholder { color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn { padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; border: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: var(--gradient-1); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99,102,241,0.4); }
.btn-secondary { background: var(--bg-hover); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Doc Generation */
.gen-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.gen-option { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; cursor: pointer; transition: var(--transition); text-align: center; }
.gen-option:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.gen-option.selected { border-color: var(--primary); background: rgba(99,102,241,0.08); }
.gen-option .gen-icon { font-size: 36px; margin-bottom: 12px; }
.gen-option h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.gen-option p { font-size: 12px; color: var(--text-secondary); }
.gen-result { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 20px; white-space: pre-wrap; font-size: 14px; line-height: 1.8; max-height: 500px; overflow-y: auto; display: none; }
.gen-result.visible { display: block; animation: fadeInUp 0.5s ease; }

/* Typing animation */
.typing-indicator { display: flex; gap: 4px; padding: 8px 0; }
.typing-indicator span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: typing 1.4s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-8px); opacity: 1; } }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 1000; justify-content: center; align-items: center; padding: 24px; animation: fadeIn 0.2s ease; }
.modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-container { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 720px; max-height: 85vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 25px 50px rgba(0,0,0,0.5); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-title-area { display: flex; align-items: center; gap: 12px; }
.modal-title-area h2 { font-size: 18px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 20px; padding: 8px; border-radius: var(--radius-sm); transition: var(--transition); line-height: 1; }
.modal-close:hover { background: var(--bg-hover); color: var(--text); }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.detail-section { margin-bottom: 24px; }
.detail-section:last-child { margin-bottom: 0; }
.detail-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-field { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 16px; }
.detail-field .field-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.detail-field .field-value { font-size: 15px; font-weight: 500; }
.detail-field.full { grid-column: 1 / -1; }
.detail-reason { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -24px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-secondary); }
.timeline-item.done .timeline-dot { background: var(--secondary); border-color: var(--secondary); }
.timeline-item.current .timeline-dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.2); animation: pulse 2s infinite; }
.timeline-item.waiting .timeline-dot { background: var(--bg); border-color: var(--border); }
.timeline-role { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.timeline-name { font-size: 13px; color: var(--text-secondary); }
.timeline-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.timeline-comment { background: var(--bg); border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 8px; font-size: 13px; color: var(--text-secondary); border-left: 3px solid var(--primary); }
/* Attachments */
.attachment-list { display: flex; flex-direction: column; gap: 8px; }
.attachment-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg); border-radius: var(--radius-sm); font-size: 14px; transition: var(--transition); cursor: pointer; }
.attachment-item:hover { background: var(--bg-hover); }
.attachment-icon { font-size: 20px; }
.attachment-info { flex: 1; }
.attachment-name { font-weight: 500; }
.attachment-size { font-size: 12px; color: var(--text-muted); }
.no-attachments { font-size: 13px; color: var(--text-muted); font-style: italic; }
/* Clickable rows */
.data-table tr.clickable { cursor: pointer; transition: var(--transition); }
.data-table tr.clickable:hover td { background: rgba(99,102,241,0.06); }
.approval-item.clickable { cursor: pointer; }
.history-item.clickable { cursor: pointer; border-radius: var(--radius-sm); padding: 12px; }
.history-item.clickable:hover { background: var(--bg-hover); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .sidebar { width: 220px; }
  .main-content { margin-left: 220px; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; }
  .kpi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
