:root { --ki-primary: #1f3a5f; --ki-accent: #f2a541; }
body { background: #f6f7f9; padding-bottom: 72px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
.navbar-brand img { width: 28px; height: 28px; }
.navbar { background: var(--ki-primary); }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #dee2e6; z-index: 1030; display: flex; }
.bottom-nav a { flex: 1; text-align: center; padding: 8px 0 10px; font-size: .75rem; color: #6c757d; text-decoration: none; }
.bottom-nav a.active { color: var(--ki-primary); font-weight: 600; }
.bottom-nav .ico { display: block; font-size: 1.25rem; line-height: 1.2; }
.card { border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.due-chip { min-width: 5.5rem; text-align: center; border-radius: .5rem; padding: .35rem .5rem; background: #eef2f7; font-weight: 600; }
.due-chip.late { background: #fde2e1; color: #a12622; }
.due-chip.soon { background: #fff1d6; color: #8a5300; }
.due-chip small { display: block; font-weight: 400; font-size: .7rem; }
.list-group-item { border-left: 0; border-right: 0; }
.kv dt { font-weight: 500; color: #6c757d; font-size: .85rem; }
.kv dd { margin-bottom: .6rem; }
.pdf-frame { width: 100%; height: 70vh; border: 1px solid #dee2e6; border-radius: .5rem; background: #fff; }
.text-pre { white-space: pre-wrap; font-size: .875rem; }
.timeline { border-left: 2px solid #dee2e6; margin-left: .5rem; padding-left: 1rem; }
.timeline .item { position: relative; margin-bottom: 1rem; }
.timeline .item::before { content: ""; position: absolute; left: -1.4rem; top: .4rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--ki-primary); }
.dropzone { border: 2px dashed #adb5bd; border-radius: .75rem; padding: 2rem 1rem; text-align: center; background: #fff; }
