* { font-family: 'Noto Sans JP', sans-serif; margin:0; padding:0; box-sizing:border-box; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
body { background: #f1f5f9; color: #1e293b; }
.page { display: none; }
.page.active { display: block; }
.nav-item.active { background: rgba(255,255,255,0.15); border-left: 3px solid #fff; }
.nav-item { border-left: 3px solid transparent; transition: background 0.15s; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.stat-card:hover { transform: translateY(-2px); transition: transform 0.15s; }
.badge { display:inline-flex; align-items:center; padding:2px 10px; border-radius:9999px; font-size:12px; font-weight:500; }
.fade-in { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:50; align-items:center; justify-content:center; }
.modal-overlay.show { display:flex; }
table.dt { width:100%; border-collapse:separate; border-spacing:0; }
table.dt th { background:#f8fafc; font-weight:500; font-size:12px; color:#64748b; text-transform:uppercase; letter-spacing:0.04em; padding:10px 14px; text-align:left; border-bottom:1px solid #e2e8f0; }
table.dt td { padding:11px 14px; border-bottom:1px solid #f1f5f9; font-size:13px; }
table.dt tr:hover td { background:#f8fafc; }
.chat-bubble { max-width:80%; padding:10px 16px; border-radius:16px; font-size:13px; line-height:1.6; }
.chat-bubble.user { background:#3b82f6; color:#fff; border-bottom-right-radius:4px; }
.chat-bubble.ai { background:#f1f5f9; color:#1e293b; border-bottom-left-radius:4px; }
.typing-dot { animation:blink 1.4s infinite both; width:6px; height:6px; background:#94a3b8; border-radius:50%; display:inline-block; }
.typing-dot:nth-child(2) { animation-delay:0.2s; }
.typing-dot:nth-child(3) { animation-delay:0.4s; }
@keyframes blink { 0%,80%,100%{opacity:0} 40%{opacity:1} }
.tab-btn { padding:6px 14px; border-radius:8px; font-size:12px; cursor:pointer; border:none; background:#f1f5f9; color:#64748b; }
.tab-btn.active { background:#3b82f6; color:#fff; }
input,select,textarea { font-family:'Noto Sans JP',sans-serif; }
.btn-primary { padding:6px 16px; background:#3b82f6; color:#fff; border:none; border-radius:8px; font-size:13px; cursor:pointer; }
.btn-primary:hover { background:#2563eb; }
.btn-secondary { padding:6px 16px; background:#fff; color:#374151; border:1px solid #d1d5db; border-radius:8px; font-size:13px; cursor:pointer; }
.btn-sm { padding:4px 10px; font-size:12px; border-radius:6px; cursor:pointer; border:none; }
.input-field { width:100%; border:1px solid #d1d5db; border-radius:8px; padding:8px 12px; font-size:13px; outline:none; }
.input-field:focus { border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,0.1); }
