.src { --src-line: #e1e8f1; --src-muted: #6b7b92; display: grid; gap: 20px; color: #192841; animation: src-enter .25s ease-out; }
.src [hidden] { display: none !important; }
.src-heading, .src-section-head, .src-copy-row, .src-config-actions, .src-repo-bottom, .src-event-top, .src-event-meta, .src-event-actions { display: flex; align-items: center; gap: 10px; }
.src-heading, .src-section-head { justify-content: space-between; }
.src-heading h1 { margin: 3px 0 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; }
.src-heading p { margin: 7px 0 0; color: var(--src-muted); }
.src-eyebrow { color: #5274b8; font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.src-heading > button { flex: none; }
.src-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.src-stats > div { border: 1px solid var(--src-line); border-radius: 13px; background: linear-gradient(125deg, #fff, #f7faff); padding: 17px 20px; display: grid; gap: 8px; }
.src-stats span { color: var(--src-muted); font-size: 12px; }
.src-stats strong { font-size: 29px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.src-panel { min-width: 0; background: #fff; border: 1px solid var(--src-line); border-radius: 14px; }
.src-connection summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 17px 20px; border-radius: 14px; transition: background .18s; }
.src-connection summary::-webkit-details-marker { display: none; }
.src-connection summary:hover { background: #f7faff; }
.src-connection summary small { display: block; color: var(--src-muted); margin-top: 4px; font-size: 12px; }
.src-connection-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; font-size: 26px; border-radius: 10px; background: #edf3ff; color: #4269b8; }
.src-chevron { margin-left: auto; color: var(--src-muted); transition: transform .2s; }
.src-connection[open] .src-chevron { transform: rotate(180deg); }
.src-connection-body { padding: 0 20px 20px; max-width: 920px; animation: src-enter .2s ease-out; }
.src-connection-body > label, .src-connection form > label { display: block; font-size: 13px; font-weight: 650; margin: 12px 0 7px; }
.src-copy-row input { min-width: 0; flex: 1; }
.src-copy-row button { flex: none; }
.src-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.src-method { margin-left: 5px; font-size: 10px; background: #e3f5ed; color: #247054; border-radius: 5px; padding: 3px 6px; }
.src-config-actions { flex-wrap: wrap; margin-top: 13px; }
.src-check { display: flex; gap: 7px; align-items: center; margin-right: auto; font-size: 13px; }
.src-check input { accent-color: #4269c7; }
.src-hint, .src-guide { color: var(--src-muted); font-size: 12px; line-height: 1.8; }
.src-hint { margin: 8px 0 0; }
.src-guide { border-top: 1px solid var(--src-line); padding: 14px 0 0 19px; margin: 16px 0 0; }
.src-guide li + li { margin-top: 3px; }
.src-layout { display: grid; align-items: start; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 18px; }
.src-repositories { padding: 17px 12px 10px; }
.src-section-head { margin-bottom: 16px; flex-wrap: wrap; }
.src-section-head h2, .src-section-head h3 { font-size: 16px; margin: 0; }
.src-section-head p { margin: 5px 0 0; font-size: 12px; color: var(--src-muted); }
.src-section-head > span { color: var(--src-muted); font-size: 12px; }
.src-repositories > .src-section-head { padding-inline: 5px; }
.src-repo-all { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; border-radius: 9px; background: #f7f9fd; color: #52647f; padding: 11px; text-align: left; transition: background .16s, color .16s; }
.src-repo-all[aria-pressed=true] { color: #2e58ab; background: #edf3ff; font-weight: 700; }
.src-repo { margin-top: 10px; border: 1px solid transparent; padding: 12px 10px; border-radius: 11px; transition: border-color .18s, background .18s, box-shadow .18s; }
.src-repo:hover { background: #f8faff; }
.src-repo.selected { background: #f4f7ff; border-color: #c8d8f7; box-shadow: 0 2px 8px #34579208; }
.src-repo-main { display: flex; align-items: flex-start; gap: 8px; border: 0; background: none; padding: 0; color: inherit; text-align: left; width: 100%; overflow-wrap: anywhere; }
.src-repo-main strong { font-size: 14px; min-width: 0; }
.src-repo-symbol { color: #5579bf; }
.src-repo-meta, .src-repo p { font-size: 11px; color: var(--src-muted); line-height: 1.6; margin: 6px 0 0; overflow-wrap: anywhere; }
.src-repo-bottom { margin-top: 10px; flex-wrap: wrap; font-size: 11px; gap: 9px; }
.src-repo-bottom a { margin-left: auto; }
.src a, .src-text-button { color: #4369b7; text-decoration: none; }
.src a:hover, .src-text-button:hover { color: #214c9e; text-decoration: underline; }
.src-text-button { border: 0; padding: 0; background: transparent; font-size: inherit; }
.src-status, .src-live { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; color: #28765c; }
.src-status::before, .src-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #46a986; }
.src-status.paused, .src-live.paused { color: #9a7c45; }
.src-status.paused::before, .src-live.paused::before { background: #b19a70; }
.src-feed { padding: 20px; }
.src-filters { display: flex; gap: 9px; margin-bottom: 12px; }
.src-filters input { flex: 1; min-width: 0; }
.src-filters select { width: 150px; }
.src-timeline { display: grid; min-width: 0; }
.src-event { display: flex; align-items: flex-start; gap: 12px; position: relative; padding: 19px 0; animation: src-enter .2s ease-out; }
.src-event + .src-event { border-top: 1px solid #eef2f7; }
.src-event-dot { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 10px; background: #f1ecfb; color: #8466bb; font-weight: 700; }
.src-event-dot.push { background: #eaf3ff; color: #4775c0; }
.src-event-main { min-width: 0; flex: 1; }
.src-event-top { flex-wrap: wrap; gap: 7px; font-size: 11px; color: var(--src-muted); overflow-wrap: anywhere; }
.src-event-top time { margin-left: auto; font-size: 10px; }
.src-badge { display: inline-block; background: #edf2fb; color: #47669f; font-size: 10px; padding: 3px 7px; border-radius: 5px; }
.src-event-title { display: block; padding: 0; border: 0; background: transparent; color: inherit; font-size: 15px; font-weight: 700; text-align: left; line-height: 1.6; margin-top: 8px; overflow-wrap: anywhere; }
.src-event-title:hover { color: #315fae; }
.src-event-meta { color: var(--src-muted); font-size: 11px; margin-top: 6px; flex-wrap: wrap; gap: 6px 12px; overflow-wrap: anywhere; }
.src-event-actions { margin-top: 10px; font-size: 11px; gap: 18px; }
.src-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 42px 14px; color: var(--src-muted); }
.src-empty > span { font-size: 28px; color: #a2b5d6; }
.src-empty strong { font-size: 14px; color: #526681; }
.src-empty p { margin: 0; max-width: 290px; font-size: 12px; line-height: 1.8; }
.src-error { color: #ac434e; font-size: 12px; line-height: 1.7; margin: 9px 0; }
.src-error:empty { display: none; }
.src-more { width: 100%; margin-top: 12px; }
.src button { cursor: pointer; }
.src button:disabled { cursor: wait; opacity: .55; }
.src button:focus-visible, .src summary:focus-visible { outline: 2px solid #7a9ce5; outline-offset: 3px; }
.src-dialog { --src-line: #e1e8f1; --src-muted: #6b7b92; width: min(760px, calc(100% - 28px)); max-height: 88dvh; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 25px 80px #1c355b40; color: #192841; }
.src-dialog[open] { display: flex; flex-direction: column; animation: src-enter .2s ease-out; }
.src-dialog::backdrop { background: #13264277; backdrop-filter: blur(3px); }
.src-dialog.closing { animation: src-exit .15s ease-in forwards; }
.src-dialog > header, .src-dialog > footer { display: flex; align-items: center; gap: 12px; padding: 17px 22px; flex: none; }
.src-dialog > header { justify-content: space-between; border-bottom: 1px solid var(--src-line); }
.src-dialog h2 { font-size: 18px; margin: 0; }
.src-dialog > footer { justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--src-line); }
.src-dialog footer a { text-decoration: none; }
.src-dialog-close { border: 0; background: transparent; color: #74869f; font-size: 25px; }
.src-dialog-body { padding: 20px 22px; overflow-y: auto; min-height: 0; }
.src-detail-head h3 { margin: 11px 0; line-height: 1.6; overflow-wrap: anywhere; }
.src-detail-head p { font-size: 12px; color: var(--src-muted); }
.src-shas { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; background: #f3f6fb; border-radius: 9px; padding: 12px; margin: 16px 0 22px; color: #526989; font-size: 12px; }
.src-commit { border: 1px solid var(--src-line); border-radius: 10px; padding: 14px; margin-top: 10px; }
.src-commit > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--src-muted); font-size: 12px; }
.src-commit time { font-size: 10px; margin-left: auto; }
.src-commit > p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.8; margin: 10px 0 0; }
.src-files { margin-top: 12px; font-size: 11px; }
.src-files summary { color: #6981a4; cursor: pointer; }
.src-files div { display: flex; gap: 8px; margin-top: 6px; overflow-wrap: anywhere; }
.src-files code { min-width: 0; }
.src-files .added { color: #257657; }
.src-files .modified { color: #5272a8; }
.src-files .removed { color: #ad5863; }
.src-delivery { margin-top: 18px; font-size: 10px; color: #8b9ab0; overflow-wrap: anywhere; }
.src-dialog form { display: grid; gap: 14px; }
.src-dialog form label { display: grid; gap: 7px; font-size: 13px; }
.src-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.src-dialog form textarea { resize: vertical; min-height: 160px; }
@keyframes src-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes src-exit { to { opacity: 0; transform: translateY(5px); } }
@media (max-width: 1050px) { .src-layout { grid-template-columns: minmax(190px, 225px) minmax(0, 1fr); gap: 12px; } .src-feed { padding: 16px; } .src-event-top time { margin-left: 0; } }
@media (max-width: 760px) { .src-layout { grid-template-columns: minmax(0, 1fr); } .src-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .src-stats > div { padding: 14px; } .src-heading { align-items: flex-start; } .src-heading p { font-size: 12px; line-height: 1.7; } .src-repositories [data-repositories] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .src-repo-all, .src-repositories .src-empty { grid-column: 1 / -1; } .src-repo { margin-top: 0; } }
@media (max-width: 480px) { .src-heading { flex-direction: column; align-items: stretch; gap: 12px; } .src-copy-row { flex-wrap: wrap; gap: 7px; } .src-copy-row input { flex-basis: 100%; } .src-connection summary, .src-connection-body { padding-inline: 14px; } .src-connection summary small { line-height: 1.7; } .src-filters { flex-direction: column; } .src-filters select { width: 100%; } .src-repositories [data-repositories] { grid-template-columns: 1fr; } .src-dialog-body { padding: 16px; } .src-form-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .src, .src *, .src-dialog, .src-dialog * { animation: none !important; transition: none !important; } }
