:root {
    --ink: #17202a;
    --muted: #667085;
    --line: #d9e1ea;
    --soft: #f5f7fa;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --accent: #f59e0b;
}

body {
    background: #f3f6f8;
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
    min-height: 100vh;
}

.topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(20, 35, 55, 0.05);
}

.metric {
    border-left: 4px solid var(--brand);
}

.muted {
    color: var(--muted);
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    background: #e6fffb;
    color: #115e59;
    font-size: 0.78rem;
    font-weight: 700;
}

.timeline {
    position: relative;
    padding-left: 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 0.3rem;
    left: -1.28rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px #fff;
}

.photo-thumb {
    width: 92px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.table > :not(caption) > * > * {
    vertical-align: middle;
}
