:root {
    --sm-brand: #206bc4;
    --sm-brand-dark: #1a4f8f;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--sm-brand), #4299e1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.brand-mark-lg {
    width: 56px;
    height: 56px;
    font-size: 20px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sm-brand), #4299e1);
    color: #fff;
    font-weight: 700;
}

.brand-name {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.navbar-vertical .nav-link.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.badge-notification {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

code {
    word-break: break-all;
}

/* ---- Pipeline board (M3) ------------------------------------------------- */
.pipeline-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.pipeline-column {
    flex: 0 0 280px;
    background: var(--tblr-bg-surface-secondary, #f6f8fb);
    border: 1px solid var(--tblr-border-color, #e6e8ef);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
}

.pipeline-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--tblr-border-color, #e6e8ef);
}

.pipeline-column-body {
    padding: 0.6rem;
    overflow-y: auto;
    min-height: 80px;
    flex: 1 1 auto;
}

.pipeline-column-body.is-target {
    outline: 2px dashed var(--tblr-primary, #206bc4);
    outline-offset: -4px;
}

.pipeline-card {
    background: var(--tblr-bg-surface, #fff);
    border: 1px solid var(--tblr-border-color, #e6e8ef);
    border-radius: 6px;
    padding: 0.6rem 0.7rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 1px 2px rgba(24, 36, 51, 0.06);
    cursor: grab;
}

.pipeline-card.is-late {
    border-left: 3px solid var(--tblr-danger, #d63939);
}

.pipeline-card.is-dragging {
    opacity: 0.5;
}

.pipeline-card.is-saved {
    animation: card-saved 0.9s ease;
}

@keyframes card-saved {
    0% { box-shadow: 0 0 0 3px rgba(47, 179, 68, 0.45); }
    100% { box-shadow: 0 1px 2px rgba(24, 36, 51, 0.06); }
}

.calendar-day {
    min-height: 110px;
}

.calendar-day.is-today {
    outline: 2px solid var(--tblr-primary, #206bc4);
    outline-offset: -2px;
}
