/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === Base === */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: #f0f4f8;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* === Navbar === */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 24px;
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 2px 12px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 200;
}
.navbar .brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.01em;
}
.navbar .brand::before {
    content: '\21BB';
    font-size: 20px;
    opacity: 0.6;
    line-height: 1;
}
.navbar .links { display: flex; gap: 2px; }
.navbar .links a {
    color: rgba(255,255,255,0.65);
    padding: 6px 11px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.12s, color 0.12s;
}
.navbar .links a:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* === Page container === */
.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 22px 24px 40px;
}

/* === Login === */
.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 36px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.09);
}
.login-container h1 {
    margin-bottom: 26px;
    font-size: 20px;
    font-weight: 700;
}
form label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 14px;
    margin-bottom: 5px;
}
form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    font-size: 14px;
    background: #f8fafc;
    color: #1e293b;
    transition: border-color 0.12s, box-shadow 0.12s;
}
form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
    background: #fff;
}
form button {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 10px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.12s, transform 0.1s;
}
form button:hover { opacity: 0.9; transform: translateY(-1px); }
.error {
    padding: 9px 13px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #b91c1c;
    font-size: 13px;
    margin-bottom: 14px;
}

/* === Dashboard toolbar === */
.dash-page { display: flex; flex-direction: column; gap: 10px; }

.dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.dash-toolbar-left { display: flex; flex-direction: column; gap: 2px; }
.dash-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}
.viewing-as { font-size: 12px; color: #94a3b8; }
.viewing-as strong { color: #6366f1; }

.dash-toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Search */
.search-wrap { position: relative; display: flex; align-items: center; }
.search-icon {
    position: absolute;
    left: 10px;
    color: #94a3b8;
    pointer-events: none;
    flex-shrink: 0;
}
#search-input {
    padding: 8px 54px 8px 32px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    width: 280px;
    background: #f8fafc;
    color: #1e293b;
    transition: border-color 0.12s, box-shadow 0.12s;
}
#search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
    background: #fff;
}
#search-input::placeholder { color: #94a3b8; }
.search-esc {
    position: absolute;
    right: 8px;
    padding: 2px 5px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    color: #94a3b8;
    background: #f8fafc;
    display: none;
    font-family: inherit;
}

/* View-as switcher */
.view-as-wrap { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.view-as-wrap label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}
#user-select {
    padding: 7px 28px 7px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    font-size: 13px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
    color: #1e293b;
    cursor: pointer;
    appearance: none;
    min-width: 130px;
    transition: border-color 0.12s;
}
#user-select:focus { outline: none; border-color: #6366f1; }

/* === Author bar === */
.author-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    min-height: 46px;
}
.bar-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.bar-hint { font-size: 11px; color: #cbd5e1; margin-left: auto; white-space: nowrap; }
.author-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.reason-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    min-height: 46px;
    margin-top: 10px;
}
.reason-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.hidden { display: none !important; }

.author-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px 3px 9px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    user-select: none;
    transition: all 0.12s;
}
.author-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    flex-shrink: 0;
}
.author-pill:hover { border-color: #818cf8; color: #4f46e5; background: #eef2ff; }
.author-pill.excluded {
    background: #f8fafc;
    color: #cbd5e1;
    border-color: #f1f5f9;
    text-decoration: line-through;
    opacity: 0.55;
}
.author-pill.excluded::before { background: #cbd5e1; }
.no-authors { font-size: 12px; color: #cbd5e1; font-style: italic; }

.reason-filter-pill,
.bar-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px 3px 9px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s;
}
.reason-filter-pill {
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    color: #9a3412;
}
.reason-filter-pill:hover { border-color: #f59e0b; background: #ffedd5; }
.reason-filter-pill.excluded {
    background: #f8fafc;
    color: #cbd5e1;
    border-color: #f1f5f9;
    text-decoration: line-through;
    opacity: 0.65;
}
.bar-action-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.bar-action-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* === Sections container === */
#sections-container { display: flex; flex-direction: column; gap: 10px; }

/* === Section card === */
.section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    border-left: 4px solid transparent;
}

/* Category accent colours */
.cat-mq      { border-left-color: #059669; }
.cat-review  { border-left-color: #ef4444; }
.cat-action  { border-left-color: #f59e0b; }
.cat-blocked { border-left-color: #8b5cf6; }
.cat-waiting { border-left-color: #3b82f6; }
.cat-merge   { border-left-color: #22c55e; }
.cat-recent  { border-left-color: #14b8a6; background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%); }

/* === Section header button === */
.section-hdr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}
.section-hdr:hover { background: rgba(0,0,0,0.018); }

.section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.section-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cat-mq      .section-dot { background: #059669; }
.cat-review  .section-dot { background: #ef4444; }
.cat-action  .section-dot { background: #f59e0b; }
.cat-blocked .section-dot { background: #8b5cf6; }
.cat-waiting .section-dot { background: #3b82f6; }
.cat-merge   .section-dot { background: #22c55e; }
.cat-recent  .section-dot { background: #14b8a6; box-shadow: 0 0 0 4px rgba(20,184,166,0.12); }

.section-right { display: flex; align-items: center; gap: 10px; }

.section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    transition: background 0.12s, color 0.12s;
}
.cat-mq      .section-count { background: #d1fae5; color: #065f46; }
.cat-review  .section-count { background: #fee2e2; color: #991b1b; }
.cat-action  .section-count { background: #fef3c7; color: #92400e; }
.cat-blocked .section-count { background: #ede9fe; color: #5b21b6; }
.cat-waiting .section-count { background: #dbeafe; color: #1e40af; }
.cat-merge   .section-count { background: #dcfce7; color: #166534; }
.cat-recent  .section-count { background: #ccfbf1; color: #0f766e; }

/* Chevron */
.section-chevron {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}
.section-hdr[aria-expanded="false"] .section-chevron {
    transform: rotate(-90deg);
}

/* === Section body collapse (CSS grid trick – smooth & no JS height calc) === */
.section-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.24s ease;
}
.section-body.collapsed {
    grid-template-rows: 0fr;
}
.section-body-inner { overflow: hidden; }

/* Top border between header and table */
.section-body-inner { border-top: 1px solid #f1f5f9; }

/* === PR Table === */
.table-scroll { overflow-x: auto; }
.pr-table {
    width: 100%;
    border-collapse: collapse;
}
.pr-table thead { background: #f8fafc; }
.pr-table th {
    padding: 9px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-bottom: 1px solid #f1f5f9;
    user-select: none;
}
.pr-table th.sortable { cursor: pointer; }
.pr-table th.sortable:hover { color: #1e293b; background: #f1f5f9; }
.pr-table th.sort-asc::after  { content: ' \2191'; color: #6366f1; }
.pr-table th.sort-desc::after { content: ' \2193'; color: #6366f1; }

.col-th-title { width: 40%; }
.col-th-lines { text-align: right; }
.col-th-actions { text-align: right; }

.pr-table tbody tr {
    border-bottom: 1px solid #f8fafc;
    transition: background 0.08s;
}
.pr-table tbody tr:last-child { border-bottom: none; }
.pr-table tbody tr:hover { background: #fafbff; }
.pr-table td {
    padding: 10px 14px;
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
}

/* Repository column */
.col-repo { white-space: nowrap; }
.pr-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
}
.pr-link:hover { text-decoration: underline; color: #4338ca; }
.pr-num { color: #94a3b8; font-weight: 400; font-size: 12px; }

/* CI dots */
.pr-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    vertical-align: middle;
}
.ci-dot-btn {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    cursor: pointer;
}
.ci-dot-btn:hover .ci-dot,
.ci-dot-btn:focus-visible .ci-dot {
    transform: scale(1.18);
    box-shadow: 0 0 0 4px rgba(99,102,241,.14);
}
.ci-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(15,23,42,.12);
    transition: transform .12s ease, box-shadow .12s ease;
}
.ci-ok   { background: #22c55e; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(34,197,94,.13); }
.ci-fail { background: #ef4444; border-color: #dc2626; box-shadow: 0 0 0 3px rgba(239,68,68,.13); }
.ci-pend { background: #f59e0b; border-color: #d97706; box-shadow: 0 0 0 3px rgba(245,158,11,.16); animation: pulse-ci 1.4s ease-in-out infinite; }
.ci-none { background: #fff; border-color: #cbd5e1; box-shadow: inset 0 0 0 1px rgba(148,163,184,.22); }
.ci-unk  { background: #cbd5e1; border-color: #94a3b8; }
@keyframes pulse-ci {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

/* Title column */
.pr-title-txt {
    display: block;
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
    font-size: 13px;
}
.pr-label {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    margin-left: 2px;
    vertical-align: middle;
    white-space: nowrap;
}
.pr-label-custom {
    background: var(--label-bg, #f1f5f9);
    border-color: var(--label-border, var(--label-bg, #e2e8f0));
    color: var(--label-fg, #ffffff);
}
.pr-label-risk-low { background: #ecfdf5; border-color: #bbf7d0; color: #15803d; }
.pr-label-risk-medium { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.pr-label-risk-high { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* Author chip */
.author-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 9px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
}
.author-chip::before { content: '@'; color: #94a3b8; font-size: 11px; }

/* Updated column */
.col-upd { white-space: nowrap; color: #94a3b8; font-size: 12px; }

/* Lines column */
.col-lines { text-align: right; font-size: 12px; color: #94a3b8; white-space: nowrap; }
.col-lines.lines-low { color: #64748b; }
.col-lines.lines-med { color: #b45309; font-weight: 600; }
.col-lines.lines-high { color: #b91c1c; font-weight: 700; }
.col-actions { text-align: right; white-space: nowrap; }
.col-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.btn-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #94a3b8;
    cursor: pointer;
    transition: transform .12s ease, color .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn-icon:hover { transform: translateY(-1px); color: #475569; background: #f8fafc; border-color: #cbd5e1; }
.btn-remove-pr:hover { color: #dc2626; background: #fef2f2; border-color: #fecaca; }
.btn-notify-pr:hover, .btn-notify-pr.is-active { color: #b45309; background: #fffbeb; border-color: #fcd34d; box-shadow: 0 0 0 3px rgba(251,191,36,.15); }
.btn-merge-reason:hover { color: #0f766e; background: #f0fdfa; border-color: #99f6e4; }

.notify-center {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.notify-center-trigger {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease, color .12s ease;
}
.notify-center-trigger:hover,
.notify-center-trigger[aria-expanded="true"] {
    transform: translateY(-1px);
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
    box-shadow: 0 12px 28px rgba(146,64,14,.10);
}
.notify-center-trigger.has-berichten {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    color: #92400e;
}
.notify-center-trigger-icon { display: inline-flex; align-items: center; }
.notify-center-count {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(245,158,11,.28);
}
.notify-center-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1005;
    width: min(460px, calc(100vw - 28px));
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 70px rgba(15,23,42,.18);
    backdrop-filter: blur(10px);
}
.notify-center-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.notify-center-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 2px 11px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
}
.notify-center-head strong { display: block; font-size: 14px; line-height: 1.2; }
.notify-center-kicker {
    display: block;
    color: #b45309;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.notify-center-soft-count {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}
.notify-center-empty {
    padding: 18px 8px 10px;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
}
.notify-center-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.notify-center-table td {
    padding: 10px;
    vertical-align: top;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.notify-center-table td:first-child {
    border-left: 1px solid #e2e8f0;
    border-radius: 14px 0 0 14px;
}
.notify-center-table td:last-child {
    border-right: 1px solid #e2e8f0;
    border-radius: 0 14px 14px 0;
}
.notify-center-main { min-width: 0; }
.notify-center-row-title {
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}
.notify-center-row-meta {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 750;
}
.notify-center-row-reason {
    margin-top: 7px;
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notify-center-actions {
    width: 118px;
    white-space: nowrap;
    text-align: right;
}
.notify-center-jump,
.notify-center-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.notify-center-jump:hover { border-color: #99f6e4; background: #f0fdfa; color: #0f766e; }
.notify-center-dismiss:hover { border-color: #fecaca; background: #fff1f2; color: #b91c1c; }
.is-archived-row { opacity: 0.55; }

/* Jira link */
.jira-link {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s;
}
.jira-link:hover { background: #dbeafe; }
.jira-link.jira-risk-low { background: #ecfdf5; border-color: #bbf7d0; color: #15803d; }
.jira-link.jira-risk-low:hover { background: #dcfce7; }
.jira-link.jira-risk-medium { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.jira-link.jira-risk-medium:hover { background: #ffedd5; }
.jira-link.jira-risk-high { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.jira-link.jira-risk-high:hover { background: #fee2e2; }
.jira-link.jira-age-new { background: #f5f3ff; border-color: #ddd6fe; color: #7c3aed; }
.jira-link.jira-age-new:hover { background: #ede9fe; }
.jira-link.jira-age-old { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
.jira-link.jira-age-old:hover { background: #dbeafe; }

/* === Reason chips (Action Required section) === */
.reason-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.reason-chip::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.reason-conflict   { background: #fee2e2; color: #9b1c1c; }
.reason-conflict::before { background: #ef4444; }
.reason-changes    { background: #fef3c7; color: #92400e; }
.reason-changes::before  { background: #f59e0b; }
.reason-wip        { background: #e0e7ff; color: #3730a3; }
.reason-wip::before      { background: #6366f1; }
.reason-no-reviewer { background: #fff7ed; color: #9a3412; }
.reason-no-reviewer::before { background: #f97316; }
.reason-default    { background: #f1f5f9; color: #475569; }
.reason-default::before  { background: #94a3b8; }

.col-th-reason { white-space: nowrap; min-width: 160px; }
.btn-remove-pr {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}
.btn-remove-pr:hover {
    background: #ffe4e6;
}
.btn-restore-pr {
    background: #ecfeff;
    color: #155e75;
    border: 1px solid #a5f3fc;
}
.btn-restore-pr:hover {
    background: #cffafe;
}
/* Auto-refresh countdown badge */
.refresh-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.refresh-badge:hover { background: #f1f5f9; color: #475569; }
.refresh-badge::before { content: '↻ '; }

/* Live update bar */
.live-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s;
}
.live-live        { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); animation: pulse-live 2s infinite; }
.live-connecting  { background: #f59e0b; animation: pulse-live 1s infinite; }
.live-error       { background: #ef4444; animation: pulse-live 1s infinite; }

@keyframes pulse-live {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.live-label { font-weight: 600; }

.sync-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.sync-btn:hover:not(:disabled) { background: #f1f5f9; color: #1e293b; }
.sync-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sync-btn.syncing svg { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.last-sync-label {
    font-size: 11px;
    color: #94a3b8;
}



/* Misc */
.text-dash { color: #e2e8f0; }

/* Empty row inside section */
.empty-row td {
    text-align: center;
    color: #94a3b8;
    padding: 28px 20px;
    font-size: 12px;
    font-style: italic;
    background: #fafbff;
}

/* Global empty (no search results) */
.global-empty {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.global-empty-icon { font-size: 32px; margin-bottom: 10px; }

/* === Team page === */
.page-header { margin-bottom: 18px; }
.page-header h1 { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 3px; }
.page-subtitle { font-size: 13px; color: #94a3b8; }

.team-table-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    overflow-x: auto;
}
.team-table { width: 100%; border-collapse: collapse; }
.team-table thead { background: #f8fafc; border-bottom: 1.5px solid #f1f5f9; }
.team-table th {
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.team-table th.th-review  { color: #b91c1c; }
.team-table th.th-action  { color: #b45309; }
.team-table th.th-waiting { color: #1d4ed8; }
.team-table th.th-merge   { color: #15803d; }
.team-table th.th-blocked { color: #6d28d9; }

.team-table tbody tr { border-bottom: 1px solid #f8fafc; transition: background 0.08s; }
.team-table tbody tr:last-child { border-bottom: none; }
.team-table tbody tr:hover { background: #fafbff; }
.team-table td { padding: 10px 16px; font-size: 13px; color: #334155; }

.team-user-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.team-user-link::before {
    content: attr(data-initial);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.team-user-link:hover { text-decoration: underline; color: #4338ca; }

.stat-cell { text-align: center; }
.stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}
.stat-badge.zero            { color: #e2e8f0; }
.stat-badge.nonzero-review  { background: #fee2e2; color: #b91c1c; }
.stat-badge.nonzero-action  { background: #fef3c7; color: #92400e; }
.stat-badge.nonzero-waiting { background: #dbeafe; color: #1e40af; }
.stat-badge.nonzero-merge   { background: #dcfce7; color: #166534; }
.stat-badge.nonzero-blocked { background: #ede9fe; color: #5b21b6; }

/* ── Admin panel ─────────────────────────────────────────────────────────── */
.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 0;
}
.admin-tab {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    margin-bottom: -1px;
}
.admin-tab:hover { color: #94a3b8; }
.admin-tab.active { color: #6366f1; border-bottom-color: #6366f1; }
.admin-tab-panel { display: block; }
.admin-tab-panel.hidden { display: none; }

.admin-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.admin-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 16px 0;
}
.admin-card-desc {
    font-size: 12px;
    color: #64748b;
    margin: -8px 0 16px 0;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th {
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid #1e293b;
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #0f172a;
    color: #cbd5e1;
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #1a2540; }
.empty-cell {
    text-align: center;
    color: #475569;
    padding: 20px !important;
}
.badge-admin {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: #312e81;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    vertical-align: middle;
    margin-left: 6px;
}
.mono { font-family: 'Fira Mono', 'Consolas', monospace; font-size: 12px; color: #94a3b8; }
.alias-sub { font-size: 11px; color: #64748b; font-family: monospace; }
.actions-cell { white-space: nowrap; }
.inline-form { display: inline; margin: 0; }

/* Admin form */
.admin-form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.form-row { display: flex; flex-direction: column; gap: 5px; }
.form-row label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.form-row input[type=text],
.form-row input[type=password],
.form-row select {
    padding: 8px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 7px;
    color: #f1f5f9;
    font-size: 13px;
    outline: none;
    transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus { border-color: #6366f1; }
.form-row-check { flex-direction: row; align-items: center; }
.check-label { display: flex; align-items: center; gap: 8px; cursor: pointer;
               font-size: 13px; color: #cbd5e1; text-transform: none; letter-spacing: 0; }
.form-static { font-family: monospace; color: #94a3b8; font-size: 13px; }
.req { color: #f87171; }
.hint { font-weight: 400; color: #64748b; text-transform: none; letter-spacing: 0; }

.btn-primary {
    padding: 8px 20px;
    background: #6366f1;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s;
    align-self: flex-start;
}
.btn-primary:hover { background: #818cf8; }
.btn-secondary {
    padding: 8px 20px;
    background: #1e293b;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #334155;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.btn-secondary:hover { background: #334155; color: #e2e8f0; }
.btn-sm {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background .15s;
}
.btn-edit { background: #1e3a5f; color: #93c5fd; margin-right: 6px; }
.btn-edit:hover { background: #1d4ed8; color: #fff; }
.btn-danger { background: #7f1d1d; color: #fecaca; }
.btn-danger:hover { background: #991b1b; }

/* Modal */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}
.modal-overlay.hidden { display: none; }
.modal-box {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 28px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}
.modal-box-light {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(15,23,42,.18);
}
.modal-title-light {
    color: #0f172a;
    margin-bottom: 10px;
}
.modal-copy {
    font-size: 14px;
    color: #475569;
    margin: 0 0 20px 0;
    line-height: 1.45;
}
.modal-actions { display: flex; gap: 10px; margin-top: 8px; }
.btn-secondary-light {
    background: #fff;
    color: #334155;
    border-color: #cbd5e1;
}
.btn-secondary-light:hover {
    background: #f8fafc;
    color: #0f172a;
}


.merge-reason-modal { z-index: 1010; }
.merge-reason-box {
    max-width: 520px;
    padding: 24px;
}
.merge-reason-topline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fffbeb;
    color: #b45309;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.merge-reason-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid #fde68a;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffbeb, #f0fdfa);
    color: #334155;
}
.merge-reason-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #b45309;
    background: #fef3c7;
    box-shadow: inset 0 0 0 1px #fcd34d;
}
.merge-reason-text {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 600;
    white-space: pre-wrap;
}
.merge-reason-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.btn-soft-danger {
    padding: 8px 14px;
    border-radius: 9px;
    border: 1px solid #fecaca;
    background: #fff7ed;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-soft-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}
.merge-unhighlight-confirm {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff1f2;
}
.merge-unhighlight-confirm p {
    margin: 0 0 10px 0;
    color: #7f1d1d;
    font-size: 13px;
    line-height: 1.4;
}
.merge-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* CI modal */
.ci-modal { z-index: 1020; }
.ci-modal-box {
    width: min(900px, calc(100vw - 24px));
    max-width: 900px;
    max-height: min(820px, calc(100vh - 24px));
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 28px 90px rgba(15,23,42,.25);
}
.ci-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}
.ci-modal-kicker {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.ci-modal-title {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}
.ci-modal-sub {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}
.ci-modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}
.ci-modal-close:hover { background: #f8fafc; color: #0f172a; }
.ci-modal-body {
    padding: 16px 20px 20px;
    overflow: auto;
    max-height: calc(100vh - 150px);
}
.ci-summary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    margin-bottom: 14px;
}
.ci-summary-main { min-width: 0; }
.ci-summary-state { font-size: 13px; font-weight: 900; color: #0f172a; }
.ci-summary-desc { margin-top: 2px; font-size: 12px; color: #64748b; }
.ci-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
}
.ci-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-top-color: #6366f1;
    border-radius: 999px;
    animation: spin .75s linear infinite;
}
.ci-run-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin-top: 12px;
}
.ci-run-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.ci-run-title { font-size: 13px; font-weight: 900; color: #0f172a; }
.ci-run-meta { margin-top: 3px; color: #94a3b8; font-size: 11px; font-weight: 750; }
.ci-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
}
.ci-chip.ci-chip-success { background: #ecfdf5; color: #15803d; }
.ci-chip.ci-chip-failure { background: #fef2f2; color: #b91c1c; }
.ci-chip.ci-chip-pending { background: #fffbeb; color: #b45309; }
.ci-job-list { padding: 8px 10px 12px; }
.ci-job-card {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 8px;
    background: #fff;
}
.ci-job-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ci-job-name { font-size: 13px; font-weight: 850; color: #334155; }
.ci-job-runner { margin-top: 3px; color: #94a3b8; font-size: 11px; }
.ci-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ci-step {
    padding: 3px 7px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}
.ci-log {
    margin: 10px 0 0;
    padding: 10px 12px;
    max-height: 260px;
    overflow: auto;
    border-radius: 10px;
    background: #0f172a;
    color: #dbeafe;
    font: 11px/1.45 'Fira Mono', 'Consolas', monospace;
    white-space: pre-wrap;
}
.ci-empty {
    padding: 24px 10px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

/* CI modal V2: compact overview, expandable detail, no clipped logs */
.ci-skip { background: #cbd5e1; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.16); }
.ci-modal-box-v2 {
    width: min(1180px, calc(100vw - 20px));
    max-width: 1180px;
    height: auto;
    max-height: min(900px, calc(100vh - 20px));
    padding: 0;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ci-modal-box-v2 .ci-modal-head {
    align-items: center;
    padding: 16px 18px;
    background: linear-gradient(135deg, #ffffff, #f8fafc 55%, #eef2ff);
    position: sticky;
    top: 0;
    z-index: 2;
    flex: 0 0 auto;
}
.ci-modal-box-v2 .ci-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    max-height: none;
    padding: 16px 20px 22px;
    overscroll-behavior: contain;
}
.ci-modal-title-block { min-width: 0; }
.ci-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.ci-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.ci-toggle:hover { border-color: #c7d2fe; background: #eef2ff; color: #3730a3; }
.ci-toggle input { accent-color: #4f46e5; }
.ci-modal-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ci-modal-sub a,
.ci-run-title a,
.ci-job-name a,
.ci-baseline-row a,
.ci-status-item a { color: #2563eb; text-decoration: none; }
.ci-modal-sub a:hover,
.ci-run-title a:hover,
.ci-job-name a:hover,
.ci-baseline-row a:hover,
.ci-status-item a:hover { text-decoration: underline; }
.ci-head-sha,
.ci-baseline-sha {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font: 10px/1.5 'Fira Mono', 'Consolas', monospace;
}
.ci-summary-card { align-items: flex-start; }
.ci-summary-card.ci-state-failure { border-color: #fecaca; background: linear-gradient(135deg, #fff1f2, #fff); }
.ci-summary-card.ci-state-pending { border-color: #fde68a; background: linear-gradient(135deg, #fffbeb, #fff); }
.ci-summary-card.ci-state-success { border-color: #bbf7d0; background: linear-gradient(135deg, #f0fdf4, #fff); }
.ci-summary-desc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ci-count,
.ci-live-pill,
.ci-baseline-pref {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ci-count-failure { color: #b91c1c; border-color: #fecaca; background: #fff1f2; }
.ci-count-pending { color: #b45309; border-color: #fde68a; background: #fffbeb; }
.ci-count-success { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.ci-count-skipped { color: #64748b; background: #f8fafc; }
.ci-live-pill span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245,158,11,.16);
    animation: pulse-ci 1.4s ease-in-out infinite;
}
.ci-live-done { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.ci-baselines,
.ci-status-strip,
.ci-run-card {
    margin-top: 12px;
}
.ci-baselines {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fbfdff;
}
.ci-baselines-title,
.ci-status-strip > summary {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}
.ci-baselines-title span {
    margin-left: 6px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 850;
}
.ci-baseline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.ci-baseline-card {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}
.ci-baseline-card.ci-state-failure { border-color: #fecaca; background: #fff7f7; }
.ci-baseline-card.ci-state-pending { border-color: #fde68a; background: #fffcf2; }
.ci-baseline-card.ci-state-success { border-color: #bbf7d0; background: #f7fef9; }
.ci-baseline-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ci-baseline-row strong { font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-baseline-desc { margin-top: 6px; color: #64748b; font-size: 11px; line-height: 1.35; }
.ci-baseline-sha { margin-top: 6px; }
.ci-status-strip {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    padding: 10px 12px;
}
.ci-status-strip > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; }
.ci-status-strip > summary::-webkit-details-marker,
.ci-run-card > summary::-webkit-details-marker,
.ci-job-card > summary::-webkit-details-marker { display: none; }
.ci-status-list { display: grid; gap: 7px; margin-top: 10px; }
.ci-status-item { display: grid; grid-template-columns: 12px minmax(160px, 1fr) minmax(180px, 1.5fr); gap: 8px; align-items: center; color: #475569; font-size: 11px; }
.ci-status-item em { color: #94a3b8; font-style: normal; }
.ci-run-card {
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15,23,42,.05);
}
.ci-run-card.ci-state-failure { border-color: #fecaca; }
.ci-run-card.ci-state-pending { border-color: #fde68a; }
.ci-run-card.ci-state-success { border-color: #bbf7d0; }
.ci-run-head,
.ci-job-top {
    cursor: pointer;
    list-style: none;
}
.ci-run-head::before,
.ci-job-top::before {
    content: '▸';
    color: #94a3b8;
    font-size: 13px;
    transition: transform .15s ease;
}
details[open] > .ci-run-head::before,
details[open] > .ci-job-top::before { transform: rotate(90deg); }
.ci-run-head > div,
.ci-job-main { min-width: 0; flex: 1 1 auto; }
.ci-run-title,
.ci-job-name { overflow-wrap: anywhere; }
.ci-job-list { background: #fff; }
.ci-job-card {
    padding: 0;
    overflow: hidden;
    border-color: #e2e8f0;
}
.ci-job-card.ci-state-failure { border-color: #fecaca; background: #fff7f7; }
.ci-job-card.ci-state-pending { border-color: #fde68a; background: #fffaf0; }
.ci-job-card.ci-state-success { border-color: #dcfce7; }
.ci-job-top { padding: 10px 12px; }
.ci-job-card[open] > .ci-job-top { border-bottom: 1px solid #f1f5f9; }
.ci-mini-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
}
.ci-mini-dot-success { background: #16a34a; }
.ci-mini-dot-failure { background: #dc2626; }
.ci-mini-dot-pending { background: #f59e0b; }
.ci-mini-dot-skipped { background: #94a3b8; }
.ci-chip.ci-chip-skipped { background: #f1f5f9; color: #64748b; }
.ci-chip.ci-chip-none { background: #f8fafc; color: #64748b; }
.ci-step-note {
    margin: 10px 12px 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 750;
}
.ci-steps { padding: 0 12px; }
.ci-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
}
.ci-step b { color: inherit; font-weight: 950; }
.ci-step-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.ci-step-failure { background: #fff1f2; border-color: #fecaca; color: #b91c1c; }
.ci-step-pending { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.ci-step-skipped { background: #f8fafc; color: #64748b; }
.ci-log-meta {
    margin: 10px 12px 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}
.ci-log {
    margin: 8px 12px 12px;
    max-height: none;
    overflow: visible;
    border-radius: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.ci-log-raw {
    background: #020617;
    color: #dbeafe;
}
.ci-log-clean {
    background: #08111f;
    color: #dbeafe;
}
.ci-log-line { display: block; min-height: 1.45em; padding: 0 2px; border-radius: 4px; }
.ci-log-line.is-hot {
    background: rgba(239,68,68,.20);
    color: #fecaca;
    box-shadow: inset 3px 0 0 #ef4444;
}
.ci-log-line.is-known {
    background: rgba(245,158,11,.18);
    color: #fde68a;
    box-shadow: inset 3px 0 0 #fbbf24;
}
.ci-toggle-soft input:checked + span { color: #92400e; }
.ci-develop-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 750;
}
.ci-develop-note.ci-state-failure { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.ci-develop-note a { color: inherit; font-weight: 900; }
.ci-run-card.ci-state-known,
.ci-job-card.ci-state-known { border-color: #fde68a; background: #fffaf0; }
.ci-issue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 12px 6px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
}
.ci-issue-header span { color: #92400e; font-size: 11px; }
.ci-issue-list {
    display: grid;
    gap: 8px;
    margin: 0 12px 12px;
}
.ci-step-mirror {
    display: grid;
    gap: 1px;
    margin: 0 12px 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #e5e7eb;
}
.ci-step-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    background: #fff;
    font-size: 12px;
}
.ci-step-row .ci-dot { width: 8px; height: 8px; }
.ci-step-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ci-step-meta { color: #6b7280; font-size: 11px; white-space: nowrap; }
.ci-step-link { color: #2563eb; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ci-step-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .ci-step-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
    .ci-step-link { grid-column: 2 / -1; }
}
.ci-fix-list {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #fecaca;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7f7, #fff);
}
.ci-fix-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    color: #7f1d1d;
    font-size: 13px;
}
.ci-fix-heading strong { font-weight: 950; }
.ci-fix-heading span,
.ci-source-note { color: #9f1239; font-size: 11px; font-weight: 750; }
.ci-source-note { margin-left: auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-fix-list .ci-issue-card { margin-top: 8px; }
.ci-fix-list .ci-issue-card:first-of-type { margin-top: 0; }
.ci-issue-card {
    border: 1px solid #fecaca;
    border-radius: 13px;
    background: #fff7f7;
    overflow: hidden;
}
.ci-issue-card.ci-issue-known {
    border-color: #fde68a;
    background: #fffbeb;
}
.ci-issue-card > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    cursor: pointer;
    list-style: none;
}
.ci-issue-card > summary::-webkit-details-marker { display: none; }
.ci-issue-card > summary strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #7f1d1d;
    font-size: 12px;
}
.ci-issue-known > summary strong { color: #92400e; }
.ci-known-badge,
.ci-new-badge {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ci-new-badge { background: #fee2e2; color: #991b1b; }
.ci-known-badge { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.ci-known-cleared {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 12px 12px;
    padding: 10px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #166534;
    font-size: 12px;
    font-weight: 850;
}
.ci-known-cleared span { color: #15803d; font-size: 11px; }
.ci-log-block {
    margin-top: 0;
    border-radius: 0 0 12px 12px;
}
.ci-empty-compact { padding: 12px 6px; font-size: 12px; }
@media (max-width: 780px) {
    .ci-modal-box-v2 { width: calc(100vw - 10px); max-height: calc(100vh - 10px); border-radius: 16px; }
    .ci-modal-box-v2 .ci-modal-head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .ci-modal-actions { justify-content: flex-start; }
    .ci-status-item { grid-template-columns: 12px 1fr; }
    .ci-status-item em { grid-column: 2; }
    .ci-baseline-grid { grid-template-columns: 1fr; }
}

/* Legacy alias admin - kept for compat */
.btn-danger-sm {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    background: #7f1d1d;
    color: #fecaca;
    cursor: pointer;
    transition: background .15s;
}
.btn-danger-sm:hover { background: #991b1b; }


/* === Recently merged === */
.recent-auto-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px 3px 4px;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
}
.recent-auto-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-slider {
    width: 28px;
    height: 16px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    transition: background .18s ease;
}
.toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15,23,42,.25);
    transition: transform .18s ease;
}
.recent-auto-toggle input:checked + .toggle-slider { background: linear-gradient(135deg, #14b8a6, #22c55e); }
.recent-auto-toggle input:checked + .toggle-slider::after { transform: translateX(12px); }
.merged-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 7px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    color: #0f766e;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.recently-merged-row { background: linear-gradient(90deg, rgba(240,253,250,.85), #fff 45%); }
.recent-new-row td { animation: recentPulse 2.8s ease-in-out 1; }
@keyframes recentPulse {
    0% { background: #ecfeff; }
    50% { background: #ccfbf1; }
    100% { background: transparent; }
}
.notify-jump-pulse td { animation: notifyJumpPulse 2.4s ease-in-out 1; }
@keyframes notifyJumpPulse {
    0% { background: #fffbeb; outline: 1px solid #fde68a; outline-offset: -1px; }
    45% { background: #fef3c7; outline: 1px solid #fde68a; outline-offset: -1px; }
    100% { background: transparent; outline: 0 solid transparent; }
}
.dash-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    max-width: 360px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 18px 42px rgba(15,23,42,.25);
    opacity: 0;
    transform: translateY(10px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
}
.dash-toast.visible { opacity: 1; transform: translateY(0) scale(1); }
.dash-toast.success { background: linear-gradient(135deg, #0f766e, #16a34a); }
.dash-toast.info { background: linear-gradient(135deg, #334155, #1e293b); }
@media (max-width: 720px) {
    .recent-auto-toggle .toggle-text { display: none; }
    .col-actions { gap: 4px; }
    .btn-icon { width: 26px; height: 26px; }
}

/* Smart CI overview: compact index + clean modal */
.ci-progress-dot {
    width: 24px;
    min-width: 24px;
    height: 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #78350f;
    font-size: 8px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.03em;
    border-width: 1px;
}
.ci-progress-warn { background: #fee2e2; border-color: #ef4444; color: #991b1b; box-shadow: 0 0 0 3px rgba(239,68,68,.13); }
.ci-gear {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}
.ci-gear:hover { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.ci-modal-smart .ci-settings-panel {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfdff;
    display: grid;
    gap: 8px;
}
.ci-settings-title,
.ci-settings-subtitle {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
}
.ci-settings-subtitle { margin-top: 4px; color: #64748b; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.ci-settings-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 750;
    text-transform: none;
    letter-spacing: 0;
}
.ci-settings-check input { accent-color: #4f46e5; }
.ci-smart-section {
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.ci-smart-section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    background: #f8fafc;
}
.ci-smart-section > summary::-webkit-details-marker { display: none; }
.ci-smart-section > summary strong { font-size: 12px; font-weight: 950; color: #0f172a; }
.ci-smart-section > summary span { font-size: 11px; font-weight: 850; color: #94a3b8; }
.ci-section-fix { border-color: #fecaca; }
.ci-section-fix > summary { background: #fff7f7; }
.ci-section-fix > summary strong { color: #7f1d1d; }
.ci-section-running { border-color: #fde68a; }
.ci-section-running > summary { background: #fffbeb; }
.ci-section-ignored > summary { background: #f8fafc; }
.ci-smart-section-body { padding: 10px 12px 12px; display: grid; gap: 8px; }
.ci-compact-row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
}
.ci-compact-row span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; color: #334155; }
.ci-compact-row em { color: #94a3b8; font-style: normal; font-size: 11px; white-space: nowrap; }
.ci-compact-row .ci-dot { width: 8px; height: 8px; }
.ci-issue-actions { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ci-link-btn {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}
.ci-link-btn:hover { color: #3730a3; border-color: #c7d2fe; background: #eef2ff; }
.ci-muted { color: #94a3b8; font-size: 12px; }

/* CI modal polish: stable open state, baseline strip, clearer failures */
.ci-branch-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.ci-branch-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}
.ci-branch-pill.ci-state-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.ci-branch-pill.ci-state-failure { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.ci-branch-pill.ci-state-pending { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.ci-failure-job {
    margin: 8px 0;
    border: 1px solid #fecaca;
    border-radius: 13px;
    background: #fffafa;
    overflow: hidden;
}
.ci-failure-job > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}
.ci-failure-job > summary span:first-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.ci-failure-job > summary strong {
    color: #7f1d1d;
    font-size: 12px;
    font-weight: 950;
    overflow-wrap: anywhere;
}
.ci-failure-job > summary em {
    color: #991b1b;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}
.ci-job-chunks {
    padding: 0 8px 8px;
    display: grid;
    gap: 7px;
}
.ci-issue-card {
    border-color: #fee2e2;
    background: #fff;
}
.ci-issue-card > summary {
    align-items: flex-start;
}
.ci-issue-title {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.ci-issue-title strong {
    color: #111827;
    font-size: 12px;
    line-height: 1.25;
}
.ci-issue-title em {
    color: #64748b;
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.ci-log-clean {
    margin: 0 10px 10px;
    max-height: 340px;
}
.ci-smart-section + .ci-smart-section { margin-top: 8px; }
.ci-smart-section > summary span { color: #94a3b8; }
.ci-section-running > summary strong { color: #92400e; }
.ci-section-ignored > summary strong { color: #64748b; }
.ci-section-passed > summary strong { color: #166534; }

/* CI failure checkbox/action polish */
.ci-done-toggle {
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin-top: 1px;
    border-radius: 5px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    cursor: pointer;
    position: relative;
}
.ci-done-toggle:hover {
    border-color: #64748b;
    background: #f8fafc;
}
.ci-done-toggle::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #475569;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.ci-done-toggle:hover::after { opacity: .7; }
.ci-issue-card > summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
}
.ci-issue-actions .ci-step-link,
.ci-failure-job > summary .ci-step-link {
    white-space: nowrap;
}
.ci-issue-title strong,
.ci-failure-job > summary strong {
    overflow-wrap: anywhere;
}

/* CI raw-lite mode */
.ci-raw-job > summary strong {
    font-size: 12px;
}
.ci-raw-job.ci-state-success {
    border-color: #bbf7d0;
    background: #fbfffd;
}
.ci-raw-job.ci-state-pending {
    border-color: #fde68a;
    background: #fffdf5;
}
.ci-log-raw-lite {
    margin: 0 10px 10px;
    max-height: 520px;
    white-space: pre-wrap;
}
.ci-settings-panel .ci-muted {
    margin: 6px 0 8px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.35;
}

.ci-diff-box {
    margin: 10px 0 12px;
    padding: 10px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
}
.ci-diff-title {
    font-size: 11px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ci-branch-pill[href] {
    text-decoration: none;
}
.ci-branch-pill[href]:hover {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96,165,250,.18);
}

/* CI cache/freshness polish */
.ci-cache-strip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
    padding: 7px 10px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    color: #1e40af;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(37,99,235,.08);
}
.ci-cache-strip.ci-cache-updating {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    color: #92400e;
}
.ci-cache-strip.ci-cache-stale {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fef2f2, #fff7ed);
    color: #991b1b;
}
.ci-cache-pulse {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent);
}
.ci-cache-updating .ci-cache-pulse { animation: pulse-ci 1s ease-in-out infinite; }
.ci-progress-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 18px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 950;
    color: #78350f;
    background: #fef3c7;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,.14);
}
.ci-progress-dot.ci-progress-warn {
    color: #991b1b;
    background: #fee2e2;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,.14);
}
