CSS · 243480 bytes Raw Blame History
1 /* SPDX-License-Identifier: AGPL-3.0-or-later */
2 /*
3 * shithub — base styles.
4 *
5 * S02 layers our own chrome over the Primer CSS that ships in
6 * /static/primer/primer.css. We pull a small set of token overrides so the
7 * theme system (light / dark / auto / high-contrast) drives everything via
8 * CSS custom properties.
9 *
10 * Color tokens follow Primer's naming so most of these become migration
11 * candidates as Primer's primitives stabilize.
12 */
13
14 :root {
15 --canvas-default: #ffffff;
16 --canvas-subtle: #f6f8fa;
17 --canvas-inset: #eaeef2;
18 --fg-default: #1f2328;
19 --fg-muted: #59636e;
20 --border-default: #d0d7de;
21 --border-muted: #d8dee4;
22 --accent-fg: #0969da;
23 --accent-emphasis: #0969da;
24 --accent-subtle: #fff8c5; /* GitHub's "you-are-here" line highlight */
25 --success-fg: #1a7f37;
26 --success-emphasis: #1f883d;
27 --success-emphasis-hover: #1a7f37;
28 --button-default-bg: #f6f8fa;
29 --button-default-hover-bg: #f3f4f6;
30 --danger-fg: #cf222e;
31 --shithub-mark: var(--danger-fg);
32 }
33
34 [data-theme="dark"] {
35 --canvas-default: #0d1117;
36 --canvas-subtle: #161b22;
37 --canvas-inset: #010409;
38 --fg-default: #f0f6fc;
39 --fg-muted: #9198a1;
40 --border-default: #3d444d;
41 --border-muted: #232a33;
42 --accent-fg: #4493f8;
43 --accent-emphasis: #1f6feb;
44 --accent-subtle: rgba(187, 128, 9, 0.15); /* dark-mode :target wash */
45 --success-fg: #3fb950;
46 --success-emphasis: #238636;
47 --success-emphasis-hover: #2ea043;
48 --button-default-bg: #21262d;
49 --button-default-hover-bg: #30363d;
50 --danger-fg: #f85149;
51 }
52
53 [data-theme="high-contrast"] {
54 --canvas-default: #000000;
55 --canvas-subtle: #0a0c10;
56 --canvas-inset: #000000;
57 --fg-default: #ffffff;
58 --fg-muted: #d9dee3;
59 --border-default: #7a828e;
60 --border-muted: #525964;
61 --accent-fg: #71b7ff;
62 --accent-emphasis: #409eff;
63 --accent-subtle: rgba(255, 215, 0, 0.25);
64 --success-fg: #4ed162;
65 --success-emphasis: #2ea043;
66 --success-emphasis-hover: #3fb950;
67 --button-default-bg: #0a0c10;
68 --button-default-hover-bg: #1c222a;
69 --danger-fg: #ff6a69;
70 }
71
72 * { box-sizing: border-box; }
73
74 html, body {
75 margin: 0;
76 padding: 0;
77 background: var(--canvas-default);
78 color: var(--fg-default);
79 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
80 font-size: 16px;
81 line-height: 1.5;
82 }
83
84 a {
85 color: var(--accent-fg);
86 text-decoration: none;
87 }
88 a:hover { text-decoration: underline; }
89
90 code {
91 font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
92 font-size: 0.875em;
93 background: var(--canvas-subtle);
94 padding: 0.1em 0.35em;
95 border-radius: 4px;
96 }
97
98 /* ========== Nav ========== */
99
100 .shithub-body {
101 min-height: 100vh;
102 display: flex;
103 flex-direction: column;
104 }
105
106 .shithub-nav {
107 display: block;
108 background: var(--canvas-subtle);
109 border-bottom: 1px solid var(--border-default);
110 }
111
112 .shithub-nav-global {
113 display: flex;
114 align-items: center;
115 flex-wrap: wrap;
116 gap: 0.75rem;
117 min-height: 64px;
118 padding: 0.75rem 1rem;
119 }
120
121 .shithub-nav.has-context .shithub-nav-global {
122 min-height: 56px;
123 padding-bottom: 0.35rem;
124 }
125
126 .shithub-nav-context {
127 display: flex;
128 align-items: center;
129 gap: 0.55rem;
130 min-width: 0;
131 }
132
133 .shithub-nav-menu {
134 display: inline-flex;
135 align-items: center;
136 justify-content: center;
137 flex: 0 0 auto;
138 width: 32px;
139 height: 32px;
140 padding: 0;
141 border: 1px solid var(--border-default);
142 border-radius: 6px;
143 color: var(--fg-default);
144 background: transparent;
145 cursor: pointer;
146 }
147 .shithub-nav-menu:hover { background: var(--canvas-inset); }
148
149 .shithub-nav-brand {
150 display: flex;
151 align-items: center;
152 justify-content: center;
153 gap: 0.5rem;
154 min-height: 32px;
155 color: var(--fg-default);
156 font-weight: 600;
157 }
158 .shithub-nav-brand:hover { text-decoration: none; }
159 .shithub-nav-brand svg { color: var(--shithub-mark); }
160 .shithub-nav.has-context .shithub-nav-brand-word { display: none; }
161
162 .shithub-nav-breadcrumb {
163 display: inline-flex;
164 align-items: center;
165 gap: 0.45rem;
166 min-width: 0;
167 font-size: 0.95rem;
168 font-weight: 600;
169 white-space: nowrap;
170 }
171 .shithub-nav-breadcrumb a {
172 color: var(--fg-default);
173 }
174 .shithub-nav-breadcrumb .is-strong {
175 font-weight: 700;
176 }
177 .shithub-nav-breadcrumb span {
178 color: var(--fg-muted);
179 }
180
181 .shithub-nav-links {
182 display: flex;
183 gap: 1rem;
184 flex: 0 0 auto;
185 }
186 .shithub-nav-links a {
187 color: var(--fg-default);
188 font-size: 0.9rem;
189 }
190 .shithub-nav:not(.has-context) .shithub-nav-links { flex: 1; }
191 .shithub-nav.has-context .shithub-nav-links { display: none; }
192
193 .shithub-nav-actions {
194 display: flex;
195 gap: 0.5rem;
196 align-items: center;
197 flex-shrink: 0;
198 }
199 .shithub-nav-icon {
200 color: var(--fg-muted);
201 }
202 .shithub-nav-icon:hover {
203 color: var(--fg-default);
204 }
205 .shithub-nav-actions-divider {
206 width: 1px;
207 height: 24px;
208 background: var(--border-default);
209 }
210 .shithub-nav-action-menu {
211 position: relative;
212 }
213 .shithub-nav-action-menu > summary {
214 list-style: none;
215 }
216 .shithub-nav-action-menu > summary::-webkit-details-marker {
217 display: none;
218 }
219 .shithub-nav-create {
220 min-width: 48px;
221 height: 32px;
222 padding: 0 0.5rem;
223 gap: 0.1rem;
224 }
225 .shithub-nav-action-panel {
226 position: absolute;
227 right: 0;
228 top: calc(100% + 0.45rem);
229 z-index: 60;
230 display: grid;
231 min-width: 220px;
232 padding: 0.4rem;
233 border: 1px solid var(--border-default);
234 border-radius: 8px;
235 background: var(--canvas-default);
236 box-shadow: 0 12px 28px rgba(1, 4, 9, 0.36);
237 }
238 .shithub-nav-action-item {
239 display: grid;
240 grid-template-columns: 16px minmax(0, 1fr);
241 gap: 0.65rem;
242 align-items: center;
243 min-height: 34px;
244 padding: 0.4rem 0.5rem;
245 border-radius: 6px;
246 color: var(--fg-default);
247 font-size: 0.875rem;
248 font-weight: 500;
249 text-decoration: none;
250 }
251 .shithub-nav-action-item svg {
252 color: var(--fg-muted);
253 }
254 .shithub-nav-action-item:hover {
255 background: var(--canvas-subtle);
256 text-decoration: none;
257 }
258 .shithub-nav-action-item.is-disabled {
259 color: var(--fg-muted);
260 cursor: default;
261 }
262 .shithub-nav-action-item.is-disabled:hover {
263 background: transparent;
264 }
265 .shithub-nav-action-divider {
266 height: 1px;
267 margin: 0.35rem -0.4rem;
268 background: var(--border-default);
269 }
270 .shithub-nav-local {
271 padding: 0 1rem;
272 overflow-x: auto;
273 overflow-y: hidden;
274 overscroll-behavior-x: contain;
275 scrollbar-width: none;
276 }
277 .shithub-nav-local::-webkit-scrollbar {
278 display: none;
279 }
280 .shithub-nav-local .shithub-repo-subnav,
281 .shithub-nav-local .shithub-org-nav {
282 margin: 0;
283 padding: 0;
284 border-bottom: 0;
285 overflow: visible;
286 }
287
288 .shithub-offcanvas-open {
289 overflow: hidden;
290 }
291 .shithub-offcanvas {
292 position: fixed;
293 inset: 0;
294 z-index: 120;
295 }
296 .shithub-offcanvas[hidden] {
297 display: none;
298 }
299 .shithub-offcanvas-backdrop {
300 position: absolute;
301 inset: 0;
302 width: 100%;
303 height: 100%;
304 padding: 0;
305 border: 0;
306 background: rgba(1, 4, 9, 0.58);
307 cursor: default;
308 }
309 .shithub-offcanvas-panel {
310 position: relative;
311 width: min(320px, calc(100vw - 14px));
312 min-height: 100vh;
313 max-height: 100vh;
314 display: flex;
315 flex-direction: column;
316 padding: 1rem 0.5rem;
317 color: var(--fg-default);
318 background: var(--canvas-inset);
319 border: 1px solid var(--border-default);
320 border-left: 0;
321 border-radius: 0 12px 12px 0;
322 box-shadow: 16px 0 48px rgba(1, 4, 9, 0.42);
323 overflow-y: auto;
324 }
325 .shithub-offcanvas-head {
326 display: flex;
327 align-items: center;
328 justify-content: space-between;
329 gap: 1rem;
330 padding: 0 0.5rem 1.1rem;
331 }
332 .shithub-offcanvas-mark {
333 display: inline-flex;
334 color: var(--fg-default);
335 }
336 .shithub-offcanvas-mark:hover {
337 text-decoration: none;
338 }
339 .shithub-offcanvas-mark svg {
340 width: 32px;
341 height: 32px;
342 color: var(--fg-default);
343 }
344 .shithub-offcanvas-close {
345 display: inline-flex;
346 align-items: center;
347 justify-content: center;
348 width: 32px;
349 height: 32px;
350 padding: 0;
351 border: 0;
352 border-radius: 6px;
353 color: var(--fg-muted);
354 background: transparent;
355 cursor: pointer;
356 }
357 .shithub-offcanvas-close:hover {
358 color: var(--fg-default);
359 background: var(--canvas-subtle);
360 }
361 .shithub-offcanvas-nav {
362 display: flex;
363 flex-direction: column;
364 gap: 0.125rem;
365 padding: 0 0.25rem 0.75rem;
366 }
367 .shithub-offcanvas-nav-secondary {
368 padding-top: 0.75rem;
369 border-top: 1px solid var(--border-default);
370 }
371 .shithub-offcanvas-link {
372 display: flex;
373 align-items: center;
374 gap: 0.65rem;
375 min-height: 32px;
376 padding: 0.35rem 0.5rem;
377 border-radius: 6px;
378 color: var(--fg-default);
379 font-size: 0.875rem;
380 font-weight: 600;
381 }
382 .shithub-offcanvas-link:hover,
383 .shithub-offcanvas-link:focus-visible {
384 color: var(--fg-default);
385 background: var(--canvas-subtle);
386 text-decoration: none;
387 }
388 .shithub-offcanvas-link svg {
389 flex: 0 0 auto;
390 color: var(--fg-muted);
391 }
392 .shithub-offcanvas-repos {
393 margin: 0 0.25rem;
394 padding: 0.9rem 0.25rem 0.75rem;
395 border-top: 1px solid var(--border-default);
396 }
397 .shithub-offcanvas-section-head {
398 display: flex;
399 align-items: center;
400 justify-content: space-between;
401 gap: 1rem;
402 padding: 0 0.25rem 0.45rem;
403 }
404 .shithub-offcanvas-section-head h2 {
405 margin: 0;
406 color: var(--fg-muted);
407 font-size: 0.75rem;
408 font-weight: 700;
409 }
410 .shithub-offcanvas-section-head a {
411 display: inline-flex;
412 color: var(--fg-muted);
413 }
414 .shithub-offcanvas-section-head a:hover {
415 color: var(--fg-default);
416 text-decoration: none;
417 }
418 .shithub-offcanvas-repo-list {
419 display: flex;
420 flex-direction: column;
421 gap: 0.125rem;
422 }
423 .shithub-offcanvas-repo-item {
424 display: grid;
425 grid-template-columns: 20px minmax(0, 1fr);
426 align-items: center;
427 gap: 0.55rem;
428 min-height: 32px;
429 padding: 0.25rem;
430 border-radius: 6px;
431 color: var(--fg-default);
432 font-size: 0.875rem;
433 font-weight: 600;
434 line-height: 1.25;
435 }
436 .shithub-offcanvas-repo-item:hover,
437 .shithub-offcanvas-repo-item:focus-visible {
438 background: var(--canvas-subtle);
439 text-decoration: none;
440 }
441 .shithub-offcanvas-repo-item img {
442 width: 20px;
443 height: 20px;
444 border-radius: 50%;
445 background: var(--canvas-default);
446 }
447 .shithub-offcanvas-repo-item span {
448 min-width: 0;
449 overflow-wrap: anywhere;
450 }
451 .shithub-offcanvas-show-more {
452 display: inline-flex;
453 margin: 0.35rem 0.25rem 0;
454 color: var(--fg-muted);
455 font-size: 0.75rem;
456 }
457 .shithub-offcanvas-show-more:hover {
458 color: var(--accent-fg);
459 }
460 .shithub-offcanvas-notice {
461 display: grid;
462 grid-template-columns: 16px minmax(0, 1fr) 24px;
463 align-items: center;
464 gap: 0.5rem;
465 margin: 0.75rem 0.5rem 0;
466 padding: 0.7rem 0.55rem;
467 border: 1px solid var(--accent-emphasis);
468 border-radius: 6px;
469 color: var(--fg-default);
470 background: rgba(9, 105, 218, 0.1);
471 font-size: 0.75rem;
472 }
473 .shithub-offcanvas-notice[hidden] {
474 display: none;
475 }
476 .shithub-offcanvas-notice > span {
477 display: inline-flex;
478 color: var(--accent-fg);
479 }
480 .shithub-offcanvas-notice p {
481 margin: 0;
482 min-width: 0;
483 font-weight: 600;
484 }
485 .shithub-offcanvas-notice button {
486 display: inline-flex;
487 align-items: center;
488 justify-content: center;
489 width: 24px;
490 height: 24px;
491 padding: 0;
492 border: 0;
493 border-radius: 6px;
494 color: var(--accent-fg);
495 background: transparent;
496 cursor: pointer;
497 }
498 .shithub-offcanvas-notice button:hover {
499 background: rgba(9, 105, 218, 0.16);
500 }
501
502 /* User-menu dropdown — uses native <details>/<summary> so it works without JS. */
503 .shithub-user-menu { position: relative; }
504 .shithub-user-menu > summary {
505 list-style: none;
506 display: inline-flex;
507 align-items: center;
508 justify-content: center;
509 padding: 0;
510 width: 34px;
511 height: 34px;
512 border: 0;
513 border-radius: 50%;
514 background: transparent;
515 cursor: pointer;
516 color: var(--fg-default);
517 }
518 .shithub-user-menu > summary:hover { background: transparent; }
519 .shithub-user-menu > summary:focus-visible {
520 outline: 2px solid var(--accent-emphasis);
521 outline-offset: 2px;
522 }
523 .shithub-user-menu > summary::-webkit-details-marker { display: none; }
524 .shithub-user-menu-avatar {
525 width: 32px;
526 height: 32px;
527 border-radius: 50%;
528 display: block;
529 background: var(--canvas-default);
530 }
531 .shithub-user-menu-panel {
532 position: absolute;
533 right: 0;
534 top: calc(100% + 0.35rem);
535 width: 280px;
536 background: var(--canvas-default);
537 border: 1px solid var(--border-default);
538 border-radius: 12px;
539 padding: 0.5rem;
540 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
541 z-index: 50;
542 display: flex;
543 flex-direction: column;
544 }
545 .shithub-user-menu-account {
546 display: grid;
547 grid-template-columns: 40px 1fr;
548 gap: 0.75rem;
549 align-items: center;
550 min-width: 0;
551 padding: 0.4rem 0.45rem 0.65rem;
552 }
553 .shithub-user-menu-account-avatar {
554 width: 40px;
555 height: 40px;
556 border-radius: 50%;
557 background: var(--canvas-default);
558 }
559 .shithub-user-menu-account-copy {
560 display: grid;
561 min-width: 0;
562 line-height: 1.25;
563 }
564 .shithub-user-menu-account-copy strong,
565 .shithub-user-menu-account-copy span {
566 overflow: hidden;
567 text-overflow: ellipsis;
568 white-space: nowrap;
569 }
570 .shithub-user-menu-account-copy span {
571 color: var(--fg-muted);
572 font-size: 0.8rem;
573 }
574 .shithub-user-menu-divider {
575 height: 1px;
576 margin: 0.45rem 0;
577 background: var(--border-default);
578 }
579 .shithub-user-menu-item {
580 display: grid;
581 grid-template-columns: 16px minmax(0, 1fr) auto;
582 gap: 0.65rem;
583 align-items: center;
584 text-align: left;
585 width: 100%;
586 min-height: 32px;
587 padding: 0.35rem 0.45rem;
588 background: transparent;
589 border: 0;
590 border-radius: 6px;
591 color: var(--fg-default);
592 font-size: 0.875rem;
593 line-height: 1.2;
594 cursor: pointer;
595 text-decoration: none;
596 }
597 .shithub-user-menu-item svg {
598 color: var(--fg-muted);
599 width: 16px;
600 height: 16px;
601 }
602 .shithub-user-menu-item span {
603 min-width: 0;
604 overflow: hidden;
605 text-overflow: ellipsis;
606 white-space: nowrap;
607 }
608 .shithub-user-menu-item:hover {
609 background: var(--canvas-subtle);
610 text-decoration: none;
611 }
612 .shithub-user-menu-item:disabled {
613 color: var(--fg-muted);
614 cursor: default;
615 }
616 .shithub-user-menu-item:disabled:hover { background: transparent; }
617 .shithub-user-menu-badge {
618 border: 1px solid var(--border-default);
619 border-radius: 999px;
620 padding: 0.05rem 0.45rem;
621 color: var(--fg-default);
622 font-size: 0.75rem;
623 }
624 .shithub-user-menu-signout { margin: 0; padding: 0; }
625
626 .hello-greeting {
627 margin: 1rem auto 1.5rem;
628 padding: 0.85rem 1rem;
629 border: 1px solid var(--border-default);
630 border-radius: 6px;
631 background: var(--canvas-subtle);
632 max-width: 32rem;
633 text-align: left;
634 }
635 .hello-greeting p { margin: 0 0 0.5rem; }
636 .hello-quicklinks { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
637
638 .shithub-button {
639 display: inline-flex;
640 align-items: center;
641 justify-content: center;
642 gap: 0.35rem;
643 padding: 0.4rem 0.85rem;
644 border-radius: 6px;
645 font-size: 0.875rem;
646 font-weight: 500;
647 border: 1px solid transparent;
648 color: var(--fg-default);
649 background: var(--button-default-bg);
650 border-color: var(--border-default);
651 cursor: pointer;
652 text-decoration: none;
653 }
654 .shithub-button:hover {
655 background: var(--button-default-hover-bg);
656 text-decoration: none;
657 }
658 .shithub-button:disabled {
659 cursor: default;
660 opacity: 0.65;
661 }
662 .shithub-button-small {
663 padding: 0.25rem 0.7rem;
664 font-size: 0.75rem;
665 }
666 .shithub-button-ghost {
667 color: var(--fg-default);
668 border-color: var(--border-default);
669 background: transparent;
670 }
671 .shithub-button-primary {
672 color: #fff;
673 background: var(--success-emphasis);
674 border-color: var(--success-emphasis);
675 }
676 .shithub-button-primary:hover {
677 text-decoration: none;
678 background: var(--success-emphasis-hover);
679 border-color: var(--success-emphasis-hover);
680 }
681 .shithub-button-icon {
682 width: 32px;
683 height: 32px;
684 padding: 0;
685 }
686
687 :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select) {
688 color: var(--fg-default);
689 background: var(--canvas-default);
690 border: 1px solid var(--border-default);
691 }
692 :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select)::placeholder {
693 color: var(--fg-muted);
694 opacity: 1;
695 }
696 :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select):focus {
697 border-color: var(--accent-emphasis);
698 box-shadow: inset 0 0 0 1px var(--accent-emphasis);
699 outline: none;
700 }
701 :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select):disabled {
702 color: var(--fg-muted);
703 background: var(--canvas-subtle);
704 cursor: not-allowed;
705 }
706 .shithub-icon-button {
707 display: inline-flex;
708 align-items: center;
709 justify-content: center;
710 width: 2rem;
711 height: 2rem;
712 padding: 0;
713 border: 1px solid var(--border-default);
714 border-radius: 6px;
715 background: var(--canvas-subtle);
716 color: var(--fg-muted);
717 cursor: pointer;
718 }
719 .shithub-icon-button:hover {
720 color: var(--fg-default);
721 background: var(--canvas-default);
722 }
723
724 /* ========== Main + Footer ========== */
725
726 .shithub-main {
727 flex: 1;
728 width: 100%;
729 }
730
731 .shithub-footer {
732 border-top: 1px solid var(--border-default);
733 background: var(--canvas-subtle);
734 padding: 1.25rem;
735 font-size: 0.85rem;
736 color: var(--fg-muted);
737 }
738 .shithub-footer-inner {
739 max-width: 1200px;
740 margin: 0 auto;
741 display: flex;
742 justify-content: space-between;
743 align-items: center;
744 gap: 1rem;
745 }
746 .shithub-footer-brand {
747 display: flex;
748 align-items: center;
749 gap: 0.4rem;
750 color: var(--fg-default);
751 }
752 .shithub-footer-brand svg { color: var(--shithub-mark); }
753 .shithub-footer-meta { color: var(--fg-muted); margin-left: 0.5rem; font-size: 0.8rem; }
754 .shithub-footer-links { display: flex; gap: 1rem; }
755
756 /* ========== Hello page ========== */
757
758 .hello {
759 max-width: 640px;
760 margin: 4rem auto;
761 padding: 2rem 1.5rem;
762 text-align: center;
763 }
764 .hello-logo {
765 margin: 0 auto 1.5rem;
766 width: 160px;
767 height: 160px;
768 color: var(--shithub-mark);
769 }
770 .hello-logo svg { width: 100%; height: 100%; }
771 .hello-title {
772 font-size: 2.75rem;
773 margin: 0 0 0.5rem;
774 letter-spacing: -0.02em;
775 }
776 .hello-tagline {
777 color: var(--fg-muted);
778 font-size: 1.15rem;
779 margin: 0 0 2rem;
780 }
781 .hello-meta {
782 display: grid;
783 grid-template-columns: max-content 1fr;
784 gap: 0.25rem 1rem;
785 max-width: 24rem;
786 margin: 0 auto 2rem;
787 padding: 1rem 1.5rem;
788 background: var(--canvas-subtle);
789 border: 1px solid var(--border-default);
790 border-radius: 6px;
791 text-align: left;
792 font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
793 font-size: 0.875rem;
794 }
795 .hello-meta dt { color: var(--fg-muted); }
796 .hello-meta dd { margin: 0; }
797 .hello-status {
798 color: var(--fg-muted);
799 margin: 0 auto 2rem;
800 max-width: 36rem;
801 }
802 .hello-links {
803 display: flex;
804 justify-content: center;
805 gap: 1rem;
806 font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
807 font-size: 0.875rem;
808 }
809
810 /* ========== Landing (anonymous home) ========== */
811
812 .shithub-landing-pitch {
813 max-width: 36rem;
814 margin: 0 auto 2rem;
815 font-size: 1.05rem;
816 line-height: 1.55;
817 }
818
819 .shithub-landing-features {
820 list-style: none;
821 margin: 0 auto 2rem;
822 padding: 0;
823 max-width: 60rem;
824 display: grid;
825 grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
826 gap: 1rem;
827 text-align: left;
828 }
829 .shithub-landing-features li {
830 border: 1px solid var(--border-default);
831 border-radius: 6px;
832 padding: 0.85rem 1rem;
833 background: var(--canvas-subtle);
834 }
835 .shithub-landing-features li strong {
836 display: block;
837 margin-bottom: 0.25rem;
838 font-size: 0.95rem;
839 }
840 .shithub-landing-features li span {
841 color: var(--fg-muted);
842 font-size: 0.875rem;
843 line-height: 1.4;
844 }
845
846 .shithub-landing-cta {
847 display: flex;
848 justify-content: center;
849 flex-wrap: wrap;
850 gap: 0.75rem;
851 margin: 0 auto 1.5rem;
852 }
853 .shithub-landing-cta a {
854 display: inline-block;
855 padding: 0.5rem 1rem;
856 border-radius: 6px;
857 text-decoration: none;
858 font-weight: 500;
859 font-size: 0.95rem;
860 }
861 .shithub-landing-cta-primary {
862 background: var(--accent-fg, #1f6feb);
863 color: #ffffff;
864 border: 1px solid transparent;
865 }
866 .shithub-landing-cta-primary:hover { filter: brightness(1.1); }
867 .shithub-landing-cta-secondary {
868 background: transparent;
869 color: var(--fg-default);
870 border: 1px solid var(--border-default);
871 }
872 .shithub-landing-cta-secondary:hover { background: var(--canvas-subtle); }
873
874 .shithub-landing-honest {
875 max-width: 36rem;
876 margin: 0 auto 2rem;
877 color: var(--fg-muted);
878 font-size: 0.9rem;
879 line-height: 1.5;
880 }
881
882 /* ========== Error pages ========== */
883
884 .error-page {
885 max-width: 540px;
886 margin: 6rem auto;
887 padding: 2rem 1.5rem;
888 text-align: center;
889 }
890 .error-glyph {
891 display: inline-flex;
892 width: 64px; height: 64px;
893 align-items: center; justify-content: center;
894 border-radius: 50%;
895 background: var(--canvas-subtle);
896 color: var(--danger-fg);
897 margin-bottom: 1.5rem;
898 }
899 .error-glyph svg { width: 32px; height: 32px; }
900 .error-status {
901 margin: 0;
902 font-size: 4rem;
903 letter-spacing: -0.04em;
904 color: var(--fg-default);
905 }
906 .error-title {
907 margin: 0 0 0.75rem;
908 font-size: 1.4rem;
909 font-weight: 500;
910 }
911 .error-detail {
912 color: var(--fg-muted);
913 margin: 0 0 2rem;
914 max-width: 36rem;
915 margin-left: auto;
916 margin-right: auto;
917 }
918 .error-hint a {
919 display: inline-block;
920 padding: 0.5rem 1rem;
921 border: 1px solid var(--border-default);
922 border-radius: 6px;
923 color: var(--fg-default);
924 }
925 .error-hint a:hover { text-decoration: none; background: var(--canvas-subtle); }
926 .error-request-id {
927 margin-top: 2rem;
928 color: var(--fg-muted);
929 font-size: 0.8rem;
930 }
931
932 /* ----- auth (S05) ----- */
933 .shithub-auth {
934 max-width: 28rem;
935 margin: 3rem auto;
936 padding: 2rem;
937 background: var(--canvas-default);
938 border: 1px solid var(--border-default);
939 border-radius: 8px;
940 }
941 .shithub-auth h1 {
942 margin: 0 0 1.5rem;
943 font-size: 1.5rem;
944 }
945 .shithub-auth form { display: grid; gap: 1rem; }
946 .shithub-auth label { display: grid; gap: 0.25rem; font-weight: 500; }
947 .shithub-auth input[type=text],
948 .shithub-auth input[type=email],
949 .shithub-auth input[type=password] {
950 font: inherit;
951 padding: 0.5rem 0.75rem;
952 border: 1px solid var(--border-default);
953 border-radius: 6px;
954 background: var(--canvas-subtle);
955 }
956 .shithub-auth-aside {
957 margin: 1.5rem 0 0;
958 text-align: center;
959 color: var(--fg-muted);
960 font-size: 0.9rem;
961 }
962 .shithub-flash {
963 margin: 0 0 1rem;
964 padding: 0.75rem 1rem;
965 border-radius: 6px;
966 border: 1px solid var(--border-default);
967 }
968 .shithub-flash-error { background: rgba(248, 81, 73, 0.1); border-color: rgba(248, 81, 73, 0.3); }
969 .shithub-flash-notice { background: rgba(56, 139, 253, 0.1); border-color: rgba(56, 139, 253, 0.3); }
970 .shithub-flash-success { background: rgba(46, 160, 67, 0.1); border-color: rgba(46, 160, 67, 0.3); }
971
972 /* ----- 2FA (S06) ----- */
973 .shithub-auth-wide { max-width: 32rem; }
974 .shithub-2fa-steps { margin: 0 0 1.5rem; padding-left: 1.25rem; }
975 .shithub-2fa-steps li { margin: 0.25rem 0; }
976 .shithub-2fa-qr {
977 display: flex;
978 justify-content: center;
979 margin: 1rem 0;
980 padding: 1rem;
981 background: #ffffff;
982 border-radius: 6px;
983 border: 1px solid var(--border-default);
984 }
985 .shithub-2fa-secret {
986 text-align: center;
987 font-family: monospace;
988 margin: 0 0 1.5rem;
989 color: var(--fg-muted);
990 }
991 .shithub-recovery-codes {
992 list-style: none;
993 margin: 1rem 0;
994 padding: 1rem;
995 display: grid;
996 grid-template-columns: repeat(2, 1fr);
997 gap: 0.5rem;
998 background: var(--canvas-subtle);
999 border-radius: 6px;
1000 font-family: monospace;
1001 font-size: 1.05em;
1002 }
1003 .shithub-recovery-codes li code { background: transparent; padding: 0; }
1004 .shithub-button-danger { background: rgba(248, 81, 73, 0.15); border-color: rgba(248, 81, 73, 0.4); }
1005
1006 /* ----- SSH keys (S07) ----- */
1007 .shithub-key-list { list-style: none; padding: 0; margin: 1rem 0 2rem; }
1008 .shithub-key-row {
1009 display: flex;
1010 justify-content: space-between;
1011 align-items: flex-start;
1012 gap: 1rem;
1013 padding: 0.75rem;
1014 border: 1px solid var(--border-default);
1015 border-radius: 6px;
1016 margin-bottom: 0.5rem;
1017 }
1018 .shithub-key-meta { margin-left: 0.75rem; color: var(--fg-muted); font-size: 0.85rem; }
1019 .shithub-key-fp { display: block; margin-top: 0.25rem; font-size: 0.85rem; word-break: break-all; }
1020 .shithub-key-last { display: block; margin-top: 0.25rem; color: var(--fg-muted); font-size: 0.8rem; }
1021 .shithub-key-empty { color: var(--fg-muted); margin: 1rem 0 2rem; }
1022
1023 /* ----- profile (S09) ----- */
1024 .shithub-profile { max-width: 56rem; margin: 2rem auto; padding: 0 1rem; }
1025 .shithub-profile-header { display: flex; gap: 1.5rem; align-items: flex-start; }
1026 .shithub-profile-avatar { width: 200px; height: 200px; border-radius: 50%; background: var(--canvas-subtle); border: 1px solid var(--border-default); }
1027 .shithub-profile-id h1 { margin: 0 0 0.25rem; font-size: 1.5rem; }
1028 .shithub-profile-handle { margin: 0; color: var(--fg-muted); }
1029 .shithub-profile-pronouns { margin: 0.25rem 0 0; color: var(--fg-muted); font-size: 0.9rem; }
1030 .shithub-profile-you { margin-left: 0.5rem; padding: 0.1rem 0.4rem; background: var(--canvas-subtle); border: 1px solid var(--border-default); border-radius: 6px; font-size: 0.7rem; color: var(--fg-muted); vertical-align: middle; }
1031 .shithub-profile-id .shithub-button { margin-top: 0.75rem; display: inline-block; }
1032 .shithub-profile-bio { margin: 1.5rem 0; font-size: 1.05rem; }
1033 .shithub-profile-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 1rem 0; }
1034 .shithub-profile-meta dt { color: var(--fg-muted); font-weight: 500; }
1035 .shithub-profile-meta dd { margin: 0; }
1036 .shithub-profile-pinned, .shithub-profile-contributions, .shithub-profile-readme { margin: 2rem 0; }
1037 .shithub-profile-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--border-default); }
1038 .shithub-profile-section-head h2,
1039 .shithub-profile-contributions h2,
1040 .shithub-profile-readme h2 { font-size: 1.1rem; margin: 0; }
1041 .shithub-profile-contributions h2, .shithub-profile-readme h2 { padding-bottom: 0.25rem; border-bottom: 1px solid var(--border-default); }
1042 .shithub-profile-pinned-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; list-style: none; padding: 0; margin: 0.75rem 0 0; }
1043 .shithub-empty { color: var(--fg-muted); font-style: italic; padding: 1rem; background: var(--canvas-subtle); border-radius: 6px; }
1044 .shithub-profile-unavailable h1 { color: var(--fg-muted); }
1045
1046 /* GitHub-parity user profile overview. */
1047 .shithub-user-profile {
1048 margin: 0;
1049 padding: 0 0 3rem;
1050 }
1051 .shithub-profile-tabs-shell {
1052 border-bottom: 1px solid var(--border-default);
1053 background: var(--canvas-default);
1054 }
1055 .shithub-profile-tabs-shell .shithub-profile-tabs {
1056 max-width: 1280px;
1057 margin: 0 auto;
1058 padding: 0 2rem;
1059 border-bottom: 0;
1060 }
1061 .shithub-user-profile-container {
1062 max-width: 1280px;
1063 margin: 0 auto;
1064 padding: 2rem;
1065 display: grid;
1066 grid-template-columns: 296px minmax(0, 1fr);
1067 gap: 2rem;
1068 align-items: start;
1069 }
1070 .shithub-user-profile-sidebar {
1071 min-width: 0;
1072 }
1073 .shithub-profile-avatar-link {
1074 display: block;
1075 color: inherit;
1076 }
1077 .shithub-user-profile .shithub-profile-avatar {
1078 width: 100%;
1079 height: auto;
1080 aspect-ratio: 1;
1081 border-radius: 50%;
1082 display: block;
1083 object-fit: cover;
1084 background: var(--canvas-subtle);
1085 border: 1px solid var(--border-default);
1086 box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
1087 }
1088 .shithub-profile-names {
1089 margin: 1rem 0 0.75rem;
1090 }
1091 .shithub-profile-names h1 {
1092 margin: 0;
1093 display: grid;
1094 gap: 0.1rem;
1095 }
1096 .shithub-profile-name {
1097 font-size: 1.5rem;
1098 line-height: 1.25;
1099 font-weight: 600;
1100 color: var(--fg-default);
1101 overflow-wrap: anywhere;
1102 }
1103 .shithub-profile-names .shithub-profile-handle {
1104 font-size: 1.25rem;
1105 line-height: 1.2;
1106 color: var(--fg-muted);
1107 font-weight: 300;
1108 }
1109 .shithub-user-profile .shithub-profile-pronouns {
1110 display: block;
1111 margin-top: 0.25rem;
1112 color: var(--fg-muted);
1113 font-size: 0.875rem;
1114 }
1115 .shithub-user-profile .shithub-profile-bio {
1116 margin: 0 0 1rem;
1117 color: var(--fg-default);
1118 font-size: 1rem;
1119 line-height: 1.5;
1120 white-space: pre-wrap;
1121 }
1122 .shithub-button-block {
1123 width: 100%;
1124 justify-content: center;
1125 text-align: center;
1126 }
1127 .shithub-profile-follow-counts {
1128 display: flex;
1129 align-items: center;
1130 flex-wrap: wrap;
1131 gap: 0.35rem;
1132 margin: 1rem 0;
1133 color: var(--fg-muted);
1134 font-size: 0.875rem;
1135 }
1136 .shithub-profile-follow-counts svg,
1137 .shithub-profile-vcard svg {
1138 color: var(--fg-muted);
1139 flex: 0 0 auto;
1140 }
1141 .shithub-profile-follow-counts strong {
1142 color: var(--fg-default);
1143 }
1144 .shithub-profile-follow-counts a {
1145 color: var(--fg-muted);
1146 text-decoration: none;
1147 }
1148 .shithub-profile-follow-counts a:hover {
1149 color: var(--accent-fg, #4493f8);
1150 text-decoration: none;
1151 }
1152 .shithub-follow-form {
1153 margin: 0;
1154 }
1155 .shithub-profile-dot {
1156 color: var(--fg-muted);
1157 }
1158 .shithub-profile-vcard {
1159 list-style: none;
1160 margin: 0.75rem 0 0;
1161 padding: 0;
1162 display: grid;
1163 gap: 0.45rem;
1164 color: var(--fg-default);
1165 font-size: 0.875rem;
1166 }
1167 .shithub-profile-vcard li {
1168 display: grid;
1169 grid-template-columns: 16px minmax(0, 1fr);
1170 gap: 0.55rem;
1171 align-items: center;
1172 min-width: 0;
1173 }
1174 .shithub-profile-vcard span,
1175 .shithub-profile-vcard a {
1176 overflow-wrap: anywhere;
1177 }
1178 .shithub-profile-sidebar-section {
1179 margin-top: 1.5rem;
1180 padding-top: 1.25rem;
1181 border-top: 1px solid var(--border-muted, var(--border-default));
1182 }
1183 .shithub-profile-sidebar-section h2 {
1184 margin: 0 0 0.75rem;
1185 font-size: 1rem;
1186 font-weight: 600;
1187 }
1188 .shithub-profile-orgs {
1189 display: flex;
1190 flex-wrap: wrap;
1191 gap: 0.35rem;
1192 }
1193 .shithub-profile-orgs a,
1194 .shithub-profile-orgs img {
1195 display: block;
1196 width: 32px;
1197 height: 32px;
1198 border-radius: 6px;
1199 }
1200 .shithub-profile-orgs img {
1201 border: 1px solid var(--border-default);
1202 background: var(--canvas-subtle);
1203 }
1204 .shithub-user-profile-main {
1205 min-width: 0;
1206 }
1207 .shithub-profile-readme-card {
1208 border: 1px solid var(--border-default);
1209 border-radius: 6px;
1210 background: var(--canvas-default);
1211 margin-bottom: 1.5rem;
1212 }
1213 .shithub-profile-readme-card header {
1214 display: flex;
1215 align-items: flex-start;
1216 justify-content: space-between;
1217 gap: 1rem;
1218 padding: 1.5rem 1.5rem 0;
1219 }
1220 .shithub-profile-readme-title {
1221 font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
1222 font-size: 0.8125rem;
1223 color: var(--fg-muted);
1224 }
1225 .shithub-profile-readme-title a,
1226 .shithub-profile-readme-title strong {
1227 color: var(--fg-default);
1228 text-decoration: none;
1229 font-weight: 600;
1230 }
1231 .shithub-profile-readme-card article {
1232 padding: 1rem 1.5rem 1.5rem;
1233 }
1234 .shithub-icon-link {
1235 display: inline-flex;
1236 align-items: center;
1237 justify-content: center;
1238 color: var(--fg-muted);
1239 text-decoration: none;
1240 border-radius: 6px;
1241 padding: 0.25rem;
1242 }
1243 .shithub-icon-link:hover {
1244 color: var(--fg-default);
1245 background: var(--canvas-subtle);
1246 text-decoration: none;
1247 }
1248 .shithub-user-profile .shithub-profile-pinned,
1249 .shithub-user-profile .shithub-profile-contributions {
1250 margin: 1.5rem 0 0;
1251 }
1252 .shithub-user-profile .shithub-profile-section-head {
1253 border-bottom: 0;
1254 padding-bottom: 0.75rem;
1255 }
1256 .shithub-user-profile .shithub-profile-section-head h2,
1257 .shithub-user-profile .shithub-profile-contributions h2,
1258 .shithub-profile-activity h2 {
1259 margin: 0;
1260 padding: 0;
1261 border: 0;
1262 font-size: 1rem;
1263 font-weight: 400;
1264 }
1265 .shithub-user-profile .shithub-profile-pinned-grid {
1266 margin-top: 0;
1267 }
1268 .shithub-user-profile .shithub-org-pin-card {
1269 min-height: 118px;
1270 }
1271 .shithub-profile-contrib-head {
1272 display: flex;
1273 align-items: center;
1274 justify-content: space-between;
1275 gap: 1rem;
1276 margin-bottom: 0.75rem;
1277 }
1278 .shithub-profile-contrib-settings {
1279 position: relative;
1280 color: var(--fg-muted);
1281 font-size: 0.875rem;
1282 }
1283 .shithub-profile-contrib-settings summary {
1284 list-style: none;
1285 cursor: pointer;
1286 color: var(--fg-muted);
1287 }
1288 .shithub-profile-contrib-settings summary::-webkit-details-marker {
1289 display: none;
1290 }
1291 .shithub-profile-contrib-settings summary svg {
1292 width: 12px;
1293 height: 12px;
1294 vertical-align: -2px;
1295 }
1296 .shithub-profile-contrib-settings[open] > div {
1297 position: absolute;
1298 z-index: 20;
1299 right: 0;
1300 top: calc(100% + 0.45rem);
1301 width: min(360px, calc(100vw - 2rem));
1302 padding: 0.75rem 0;
1303 border: 1px solid var(--border-default);
1304 border-radius: 12px;
1305 background: var(--canvas-overlay, var(--canvas-default));
1306 color: var(--fg-default);
1307 box-shadow: 0 16px 32px rgba(1,4,9,0.45);
1308 }
1309 .shithub-contrib-settings-menu form {
1310 margin: 0;
1311 }
1312 .shithub-contrib-setting-item {
1313 display: grid;
1314 grid-template-columns: 24px minmax(0, 1fr);
1315 gap: 0.5rem;
1316 width: 100%;
1317 padding: 0.35rem 1rem;
1318 border: 0;
1319 background: transparent;
1320 color: var(--fg-default);
1321 font: inherit;
1322 text-align: left;
1323 }
1324 button.shithub-contrib-setting-item {
1325 cursor: pointer;
1326 }
1327 button.shithub-contrib-setting-item:hover {
1328 background: var(--canvas-subtle);
1329 }
1330 .shithub-contrib-setting-item.is-static {
1331 cursor: default;
1332 }
1333 .shithub-contrib-setting-check {
1334 display: flex;
1335 align-items: flex-start;
1336 justify-content: center;
1337 padding-top: 0.1rem;
1338 color: var(--fg-default);
1339 }
1340 .shithub-contrib-setting-check svg {
1341 width: 16px;
1342 height: 16px;
1343 }
1344 .shithub-contrib-setting-item strong {
1345 display: block;
1346 margin: 0 0 0.45rem;
1347 color: var(--fg-default);
1348 }
1349 .shithub-contrib-setting-item span span {
1350 display: block;
1351 color: var(--fg-muted);
1352 line-height: 1.45;
1353 }
1354 .shithub-profile-contrib-layout {
1355 display: grid;
1356 grid-template-columns: minmax(0, 1fr) 112px;
1357 gap: 2rem;
1358 align-items: start;
1359 }
1360 .shithub-profile-calendar {
1361 border: 1px solid var(--border-default);
1362 border-radius: 6px;
1363 padding: 1rem;
1364 min-width: 0;
1365 overflow-x: auto;
1366 }
1367 .shithub-contrib-months {
1368 display: grid;
1369 grid-template-columns: repeat(53, 13px);
1370 gap: 3px;
1371 margin-left: 32px;
1372 margin-bottom: 0.25rem;
1373 color: var(--fg-default);
1374 font-size: 0.75rem;
1375 line-height: 1;
1376 width: max-content;
1377 }
1378 .shithub-contrib-months span {
1379 min-height: 1rem;
1380 white-space: nowrap;
1381 }
1382 .shithub-contrib-grid-wrap {
1383 display: flex;
1384 gap: 0.5rem;
1385 min-width: 0;
1386 width: max-content;
1387 }
1388 .shithub-contrib-weekdays {
1389 display: grid;
1390 grid-template-rows: repeat(7, 10px);
1391 gap: 3px;
1392 width: 24px;
1393 color: var(--fg-default);
1394 font-size: 0.75rem;
1395 line-height: 10px;
1396 }
1397 .shithub-contrib-weeks {
1398 display: flex;
1399 gap: 3px;
1400 overflow: visible;
1401 padding-bottom: 0.25rem;
1402 }
1403 .shithub-contrib-week {
1404 display: grid;
1405 grid-template-rows: repeat(7, 10px);
1406 gap: 3px;
1407 }
1408 .shithub-contrib-day,
1409 .shithub-contrib-legend i {
1410 width: 10px;
1411 height: 10px;
1412 display: block;
1413 border-radius: 2px;
1414 box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
1415 }
1416 .shithub-contrib-day {
1417 position: relative;
1418 cursor: default;
1419 }
1420 .shithub-contrib-day:focus {
1421 outline: 2px solid var(--accent-fg);
1422 outline-offset: 1px;
1423 }
1424 .shithub-contrib-day:hover::before,
1425 .shithub-contrib-day:focus::before {
1426 content: "";
1427 position: absolute;
1428 z-index: 31;
1429 left: 50%;
1430 bottom: calc(100% + 2px);
1431 width: 0;
1432 height: 0;
1433 border: 5px solid transparent;
1434 border-top-color: #6e7681;
1435 transform: translateX(-50%);
1436 pointer-events: none;
1437 }
1438 .shithub-contrib-day:hover::after,
1439 .shithub-contrib-day:focus::after {
1440 content: attr(data-title);
1441 position: absolute;
1442 z-index: 30;
1443 left: 50%;
1444 bottom: calc(100% + 11px);
1445 max-width: min(260px, 80vw);
1446 padding: 0.35rem 0.55rem;
1447 border-radius: 6px;
1448 background: #6e7681;
1449 color: #fff;
1450 box-shadow: 0 8px 18px rgba(1,4,9,0.35);
1451 font-size: 0.75rem;
1452 font-weight: 600;
1453 line-height: 1.25;
1454 text-align: center;
1455 white-space: nowrap;
1456 transform: translateX(-50%);
1457 pointer-events: none;
1458 }
1459 .shithub-contrib-day.level-0,
1460 .shithub-contrib-legend .level-0 {
1461 background: #161b22;
1462 }
1463 .shithub-contrib-day.level-1,
1464 .shithub-contrib-legend .level-1 {
1465 background: #0e4429;
1466 }
1467 .shithub-contrib-day.level-2,
1468 .shithub-contrib-legend .level-2 {
1469 background: #006d32;
1470 }
1471 .shithub-contrib-day.level-3,
1472 .shithub-contrib-legend .level-3 {
1473 background: #26a641;
1474 }
1475 .shithub-contrib-day.level-4,
1476 .shithub-contrib-legend .level-4 {
1477 background: #39d353;
1478 }
1479 .shithub-contrib-day.is-future,
1480 .shithub-contrib-day.is-outside {
1481 opacity: 0.35;
1482 }
1483 .shithub-profile-calendar-foot {
1484 display: flex;
1485 justify-content: space-between;
1486 align-items: center;
1487 gap: 1rem;
1488 margin-top: 0.75rem;
1489 color: var(--fg-muted);
1490 font-size: 0.75rem;
1491 }
1492 .shithub-profile-calendar-foot a {
1493 color: var(--fg-muted);
1494 text-decoration: none;
1495 }
1496 .shithub-profile-calendar-foot a:hover {
1497 color: var(--accent-fg);
1498 text-decoration: underline;
1499 }
1500 .shithub-contrib-legend {
1501 display: inline-flex;
1502 align-items: center;
1503 gap: 0.25rem;
1504 white-space: nowrap;
1505 }
1506 .shithub-profile-years {
1507 list-style: none;
1508 margin: 0;
1509 padding: 0;
1510 display: grid;
1511 gap: 0.5rem;
1512 }
1513 .shithub-profile-years span,
1514 .shithub-profile-years a {
1515 display: block;
1516 padding: 0.65rem 1rem;
1517 border-radius: 6px;
1518 color: var(--fg-muted);
1519 text-decoration: none;
1520 }
1521 .shithub-profile-years a:hover {
1522 color: var(--fg-default);
1523 background: var(--canvas-subtle);
1524 text-decoration: none;
1525 }
1526 .shithub-profile-years .is-active {
1527 color: #fff;
1528 background: var(--accent-emphasis);
1529 font-weight: 600;
1530 }
1531 .shithub-profile-activity {
1532 margin-top: 2rem;
1533 }
1534 .shithub-profile-activity h2 {
1535 margin-bottom: 1.5rem;
1536 }
1537 .shithub-profile-activity-row {
1538 display: grid;
1539 grid-template-columns: 96px minmax(0, 1fr);
1540 gap: 1.5rem;
1541 align-items: start;
1542 margin-bottom: 1.5rem;
1543 }
1544 .shithub-profile-activity-month {
1545 color: var(--fg-muted);
1546 font-weight: 600;
1547 font-size: 0.875rem;
1548 padding-top: 0.15rem;
1549 }
1550 .shithub-profile-activity-item {
1551 position: relative;
1552 display: flex;
1553 align-items: center;
1554 gap: 0.75rem;
1555 min-height: 2.25rem;
1556 color: var(--fg-default);
1557 }
1558 .shithub-profile-activity-item::before {
1559 content: "";
1560 position: absolute;
1561 left: 15px;
1562 top: -1.25rem;
1563 bottom: -1.25rem;
1564 width: 2px;
1565 background: var(--border-default);
1566 }
1567 .shithub-profile-activity-icon {
1568 position: relative;
1569 z-index: 1;
1570 width: 32px;
1571 height: 32px;
1572 display: inline-flex;
1573 align-items: center;
1574 justify-content: center;
1575 border-radius: 50%;
1576 border: 1px solid var(--border-default);
1577 background: var(--canvas-subtle);
1578 color: var(--fg-muted);
1579 flex: 0 0 auto;
1580 }
1581 @media (max-width: 980px) {
1582 .shithub-profile-tabs-shell .shithub-profile-tabs {
1583 padding: 0 1rem;
1584 overflow-x: auto;
1585 }
1586 .shithub-user-profile-container {
1587 grid-template-columns: 1fr;
1588 padding: 1.25rem 1rem 2rem;
1589 gap: 1.5rem;
1590 }
1591 .shithub-profile-tab-container {
1592 grid-template-columns: 1fr;
1593 padding: 1.25rem 1rem 2rem;
1594 gap: 1.25rem;
1595 }
1596 .shithub-user-profile-sidebar {
1597 display: grid;
1598 grid-template-columns: 96px minmax(0, 1fr);
1599 gap: 1rem;
1600 align-items: start;
1601 }
1602 .shithub-profile-avatar-link {
1603 grid-row: span 4;
1604 }
1605 .shithub-profile-names {
1606 margin-top: 0;
1607 }
1608 .shithub-user-profile .shithub-profile-avatar {
1609 width: 96px;
1610 }
1611 .shithub-profile-vcard,
1612 .shithub-profile-sidebar-section {
1613 grid-column: 1 / -1;
1614 }
1615 .shithub-profile-contrib-layout {
1616 grid-template-columns: 1fr;
1617 gap: 1rem;
1618 }
1619 .shithub-profile-years {
1620 display: flex;
1621 overflow-x: auto;
1622 }
1623 .shithub-profile-years span {
1624 min-width: 5rem;
1625 text-align: center;
1626 }
1627 }
1628 @media (max-width: 700px) {
1629 .shithub-user-profile-sidebar {
1630 grid-template-columns: 72px minmax(0, 1fr);
1631 }
1632 .shithub-user-profile .shithub-profile-avatar {
1633 width: 72px;
1634 }
1635 .shithub-profile-name {
1636 font-size: 1.25rem;
1637 }
1638 .shithub-profile-names .shithub-profile-handle {
1639 font-size: 1rem;
1640 }
1641 .shithub-user-profile .shithub-profile-pinned-grid {
1642 grid-template-columns: 1fr;
1643 }
1644 .shithub-profile-readme-card header,
1645 .shithub-profile-readme-card article {
1646 padding-left: 1rem;
1647 padding-right: 1rem;
1648 }
1649 .shithub-profile-contrib-head,
1650 .shithub-profile-calendar-foot,
1651 .shithub-profile-activity-row {
1652 align-items: stretch;
1653 flex-direction: column;
1654 display: flex;
1655 gap: 0.75rem;
1656 }
1657 .shithub-profile-contrib-settings[open] > div {
1658 left: 0;
1659 right: auto;
1660 }
1661 .shithub-profile-activity-item::before {
1662 display: none;
1663 }
1664 }
1665
1666 /* ----- settings shell (S10) ----- */
1667 .shithub-settings-page {
1668 max-width: 64rem;
1669 margin: 2rem auto;
1670 padding: 0 1rem;
1671 display: grid;
1672 grid-template-columns: 220px 1fr;
1673 gap: 2rem;
1674 align-items: start;
1675 }
1676 .shithub-settings-side { font-size: 0.9rem; }
1677 .shithub-settings-side-title {
1678 margin: 0 0 0.75rem;
1679 font-size: 1.5rem;
1680 font-weight: 400;
1681 padding-bottom: 0.5rem;
1682 border-bottom: 1px solid var(--border-default);
1683 }
1684 .shithub-settings-side nav ul {
1685 list-style: none;
1686 padding: 0;
1687 margin: 0 0 1rem;
1688 }
1689 .shithub-settings-side nav li {
1690 border-radius: 6px;
1691 }
1692 .shithub-settings-side nav li.active {
1693 background: var(--canvas-subtle);
1694 border-left: 2px solid var(--accent-emphasis);
1695 }
1696 .shithub-settings-side nav li a {
1697 display: block;
1698 padding: 0.4rem 0.75rem;
1699 color: var(--fg-default);
1700 text-decoration: none;
1701 border-radius: 6px;
1702 }
1703 .shithub-settings-side nav li a:hover { background: var(--canvas-subtle); }
1704 .shithub-settings-side nav li.active a { font-weight: 500; }
1705 .shithub-settings-side-group {
1706 margin: 1.25rem 0 0.5rem;
1707 padding-top: 0.75rem;
1708 border-top: 1px solid var(--border-default);
1709 font-size: 0.75rem;
1710 font-weight: 600;
1711 text-transform: uppercase;
1712 letter-spacing: 0.05em;
1713 color: var(--fg-muted);
1714 }
1715 .shithub-settings-danger { color: #cf222e; }
1716
1717 .shithub-settings-content { min-width: 0; }
1718 .shithub-settings-content > h1 {
1719 margin: 0 0 1.5rem;
1720 padding-bottom: 0.75rem;
1721 border-bottom: 1px solid var(--border-default);
1722 font-size: 1.5rem;
1723 font-weight: 400;
1724 }
1725 .shithub-settings-section {
1726 margin: 0 0 2rem;
1727 padding-bottom: 1.5rem;
1728 border-bottom: 1px solid var(--border-muted, var(--border-default));
1729 }
1730 .shithub-settings-section:last-child { border-bottom: none; }
1731 .shithub-settings-section h2 {
1732 margin: 0 0 0.5rem;
1733 font-size: 1rem;
1734 font-weight: 600;
1735 }
1736 .shithub-settings-section p { margin: 0 0 1rem; color: var(--fg-muted); }
1737 .shithub-settings-section form { display: grid; gap: 0.85rem; max-width: 32rem; }
1738 .shithub-settings-section label { display: grid; gap: 0.25rem; font-weight: 500; font-size: 0.9rem; }
1739 .shithub-settings-section input[type=text],
1740 .shithub-settings-section input[type=email],
1741 .shithub-settings-section input[type=password],
1742 .shithub-settings-section input[type=url],
1743 .shithub-settings-section textarea,
1744 .shithub-settings-section select {
1745 font: inherit;
1746 padding: 0.5rem 0.75rem;
1747 border: 1px solid var(--border-default);
1748 border-radius: 6px;
1749 background: var(--canvas-subtle);
1750 }
1751 .shithub-settings-section textarea { min-height: 4rem; resize: vertical; }
1752 .shithub-settings-section .shithub-button { justify-self: start; }
1753
1754 .shithub-settings-danger-zone {
1755 border: 1px solid rgba(207, 34, 46, 0.4);
1756 border-radius: 6px;
1757 padding: 1rem 1.25rem;
1758 background: rgba(207, 34, 46, 0.04);
1759 }
1760 .shithub-settings-danger-zone h2 { color: #cf222e; }
1761
1762 .shithub-settings-section label small {
1763 font-weight: 400;
1764 color: var(--fg-muted);
1765 font-size: 0.8rem;
1766 }
1767
1768 .shithub-settings-orgs-page {
1769 max-width: 78rem;
1770 grid-template-columns: 220px minmax(0, 720px);
1771 }
1772 .shithub-settings-account-header {
1773 display: grid;
1774 grid-template-columns: 48px minmax(0, 1fr) auto;
1775 gap: 0.75rem;
1776 align-items: center;
1777 margin-bottom: 1.5rem;
1778 }
1779 .shithub-settings-account-avatar {
1780 width: 48px;
1781 height: 48px;
1782 border-radius: 50%;
1783 background: var(--canvas-subtle);
1784 }
1785 .shithub-settings-account-header h1 {
1786 margin: 0;
1787 font-size: 1.25rem;
1788 line-height: 1.25;
1789 }
1790 .shithub-settings-account-header p {
1791 margin: 0.15rem 0 0;
1792 color: var(--fg-muted);
1793 font-size: 0.875rem;
1794 }
1795 .shithub-settings-account-actions {
1796 display: flex;
1797 gap: 0.5rem;
1798 flex-wrap: wrap;
1799 justify-content: flex-end;
1800 }
1801 .shithub-settings-orgs-head {
1802 display: flex;
1803 gap: 1rem;
1804 align-items: center;
1805 justify-content: space-between;
1806 margin-bottom: 0.75rem;
1807 }
1808 .shithub-settings-orgs-head h2,
1809 .shithub-settings-orgs-move h2 {
1810 margin: 0;
1811 font-size: 1rem;
1812 font-weight: 500;
1813 }
1814 .shithub-settings-org-list {
1815 list-style: none;
1816 margin: 0;
1817 padding: 0;
1818 border: 1px solid var(--border-default);
1819 border-radius: 6px;
1820 overflow: hidden;
1821 }
1822 .shithub-settings-org-row {
1823 display: grid;
1824 grid-template-columns: minmax(0, 1fr) auto auto;
1825 gap: 0.75rem;
1826 align-items: center;
1827 min-height: 54px;
1828 padding: 0.75rem 1rem;
1829 border-top: 1px solid var(--border-default);
1830 }
1831 .shithub-settings-org-row:first-child { border-top: 0; }
1832 .shithub-settings-org-identity {
1833 display: inline-flex;
1834 gap: 0.5rem;
1835 align-items: center;
1836 min-width: 0;
1837 font-weight: 600;
1838 }
1839 .shithub-settings-org-identity img {
1840 width: 24px;
1841 height: 24px;
1842 border-radius: 4px;
1843 background: var(--canvas-subtle);
1844 }
1845 .shithub-settings-org-identity span {
1846 overflow: hidden;
1847 text-overflow: ellipsis;
1848 white-space: nowrap;
1849 }
1850 .shithub-settings-org-role {
1851 color: var(--fg-muted);
1852 border: 1px solid var(--border-default);
1853 border-radius: 999px;
1854 padding: 0.1rem 0.45rem;
1855 font-size: 0.75rem;
1856 font-weight: 500;
1857 }
1858 .shithub-settings-org-actions {
1859 display: flex;
1860 gap: 0.35rem;
1861 justify-content: flex-end;
1862 flex-wrap: wrap;
1863 }
1864 .shithub-settings-org-empty {
1865 border: 1px solid var(--border-default);
1866 border-radius: 6px;
1867 padding: 1rem;
1868 color: var(--fg-muted);
1869 }
1870 .shithub-settings-org-empty p { margin: 0 0 0.75rem; }
1871 .shithub-settings-orgs-move {
1872 margin-top: 2rem;
1873 padding-top: 1.5rem;
1874 border-top: 1px solid var(--border-default);
1875 }
1876 .shithub-settings-orgs-move p {
1877 max-width: 44rem;
1878 color: var(--fg-muted);
1879 font-size: 0.875rem;
1880 }
1881
1882 .shithub-profile-edit {
1883 display: grid;
1884 grid-template-columns: minmax(0, 1fr) 220px;
1885 gap: 2rem;
1886 align-items: start;
1887 }
1888 .shithub-profile-edit-form { margin: 0; padding: 0; border: none; }
1889 .shithub-profile-edit-aside h2 { margin: 0 0 0.75rem; font-size: 0.9rem; font-weight: 600; }
1890 .shithub-profile-edit-avatar {
1891 width: 200px;
1892 height: 200px;
1893 border-radius: 50%;
1894 border: 1px solid var(--border-default);
1895 background: var(--canvas-subtle);
1896 display: block;
1897 }
1898 .shithub-empty-note {
1899 margin: 0.5rem 0 0;
1900 font-size: 0.8rem;
1901 color: var(--fg-muted);
1902 }
1903 .shithub-profile-edit-aside form {
1904 margin: 0.75rem 0 0;
1905 display: grid;
1906 gap: 0.5rem;
1907 }
1908 .shithub-profile-edit-upload span {
1909 display: block;
1910 font-size: 0.85rem;
1911 font-weight: 500;
1912 margin-bottom: 0.25rem;
1913 }
1914 .shithub-profile-edit-upload input[type=file] {
1915 font-size: 0.85rem;
1916 }
1917
1918 @media (max-width: 720px) {
1919 .shithub-settings-page {
1920 grid-template-columns: 1fr;
1921 }
1922 .shithub-settings-account-header,
1923 .shithub-settings-org-row {
1924 grid-template-columns: 1fr;
1925 }
1926 .shithub-settings-account-actions,
1927 .shithub-settings-org-actions {
1928 justify-content: flex-start;
1929 }
1930 .shithub-profile-edit {
1931 grid-template-columns: 1fr;
1932 }
1933 }
1934
1935 /* ----- theme picker (S10) ----- */
1936 .shithub-theme-grid {
1937 border: none;
1938 padding: 0;
1939 margin: 0 0 1rem;
1940 display: grid;
1941 grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
1942 gap: 0.75rem;
1943 }
1944 .shithub-theme-grid legend {
1945 padding: 0;
1946 margin: 0 0 0.5rem;
1947 font-size: 0.85rem;
1948 font-weight: 500;
1949 }
1950 .shithub-theme-card {
1951 display: grid;
1952 gap: 0.25rem;
1953 padding: 0.85rem 1rem;
1954 border: 1px solid var(--border-default);
1955 border-radius: 8px;
1956 background: var(--canvas-subtle);
1957 cursor: pointer;
1958 position: relative;
1959 transition: border-color 120ms;
1960 }
1961 .shithub-theme-card:hover { border-color: var(--accent-emphasis); }
1962 .shithub-theme-card.active {
1963 border-color: var(--accent-emphasis);
1964 box-shadow: 0 0 0 1px var(--accent-emphasis) inset;
1965 }
1966 .shithub-theme-card input[type=radio] {
1967 position: absolute;
1968 top: 0.6rem;
1969 right: 0.6rem;
1970 }
1971 .shithub-theme-card-title {
1972 font-weight: 600;
1973 font-size: 0.95rem;
1974 }
1975 .shithub-theme-card-desc {
1976 font-size: 0.8rem;
1977 color: var(--fg-muted);
1978 }
1979
1980 /* ----- emails (S10) ----- */
1981 .shithub-email-list {
1982 list-style: none;
1983 padding: 0;
1984 margin: 1rem 0 0;
1985 display: grid;
1986 gap: 0.5rem;
1987 }
1988 .shithub-email-row {
1989 display: flex;
1990 justify-content: space-between;
1991 align-items: center;
1992 gap: 1rem;
1993 padding: 0.75rem 1rem;
1994 border: 1px solid var(--border-default);
1995 border-radius: 6px;
1996 background: var(--canvas-subtle);
1997 }
1998 .shithub-email-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
1999 .shithub-email-addr { background: transparent; padding: 0; font-weight: 500; }
2000 .shithub-email-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
2001 .shithub-email-actions form { display: inline; }
2002 .shithub-pill {
2003 font-size: 0.7rem;
2004 padding: 0.1rem 0.5rem;
2005 border-radius: 999px;
2006 border: 1px solid var(--border-default);
2007 text-transform: uppercase;
2008 letter-spacing: 0.04em;
2009 font-weight: 600;
2010 }
2011 .shithub-pill-primary { background: rgba(56, 139, 253, 0.15); border-color: rgba(56, 139, 253, 0.4); }
2012 .shithub-pill-verified { background: rgba(63, 185, 80, 0.15); border-color: rgba(63, 185, 80, 0.4); }
2013 .shithub-pill-unverified { background: rgba(187, 128, 9, 0.15); border-color: rgba(187, 128, 9, 0.4); }
2014
2015 /* ----- notifications (S10) ----- */
2016 .shithub-notif-form { display: grid; gap: 0.75rem; max-width: 36rem; }
2017 .shithub-notif-row {
2018 display: grid;
2019 grid-template-columns: max-content 1fr;
2020 gap: 0.75rem;
2021 padding: 0.75rem 1rem;
2022 border: 1px solid var(--border-default);
2023 border-radius: 6px;
2024 background: var(--canvas-subtle);
2025 align-items: start;
2026 }
2027 .shithub-notif-row.required { background: rgba(56, 139, 253, 0.06); }
2028 .shithub-notif-row strong { display: block; font-size: 0.95rem; }
2029 .shithub-notif-row small { display: block; color: var(--fg-muted); font-size: 0.85rem; }
2030
2031 .shithub-notifications-page {
2032 padding: 1.5rem 1rem 3rem;
2033 }
2034 .shithub-notifications-shell {
2035 display: grid;
2036 grid-template-columns: 240px minmax(0, 1fr);
2037 gap: 1.5rem;
2038 max-width: 1120px;
2039 margin: 0 auto;
2040 }
2041 .shithub-notifications-sidebar {
2042 position: sticky;
2043 top: 1rem;
2044 align-self: start;
2045 }
2046 .shithub-notifications-filter-list {
2047 display: flex;
2048 flex-direction: column;
2049 gap: 0.15rem;
2050 }
2051 .shithub-notifications-filter {
2052 display: flex;
2053 align-items: center;
2054 justify-content: space-between;
2055 gap: 0.75rem;
2056 min-height: 2rem;
2057 padding: 0.35rem 0.55rem;
2058 border-radius: 6px;
2059 color: var(--fg-default);
2060 font-size: 0.875rem;
2061 }
2062 .shithub-notifications-filter:hover {
2063 background: var(--canvas-subtle);
2064 text-decoration: none;
2065 }
2066 .shithub-notifications-filter.is-selected {
2067 background: var(--canvas-subtle);
2068 font-weight: 600;
2069 }
2070 .shithub-notifications-filter.is-selected::before {
2071 content: "";
2072 width: 4px;
2073 align-self: stretch;
2074 margin: -0.4rem 0 -0.4rem -0.65rem;
2075 border-radius: 6px 0 0 6px;
2076 background: var(--accent-emphasis);
2077 }
2078 .shithub-notifications-filter-label {
2079 display: inline-flex;
2080 align-items: center;
2081 gap: 0.45rem;
2082 min-width: 0;
2083 }
2084 .shithub-notifications-filter-label svg {
2085 color: var(--fg-muted);
2086 flex: 0 0 auto;
2087 }
2088 .shithub-notifications-filter-count {
2089 color: var(--fg-muted);
2090 font-size: 0.75rem;
2091 font-weight: 500;
2092 }
2093 .shithub-notifications-main {
2094 min-width: 0;
2095 }
2096 .shithub-notifications-head {
2097 display: flex;
2098 align-items: flex-start;
2099 justify-content: space-between;
2100 gap: 1rem;
2101 margin-bottom: 1rem;
2102 }
2103 .shithub-notifications-head h1 {
2104 margin: 0;
2105 font-size: 1.5rem;
2106 line-height: 1.25;
2107 font-weight: 600;
2108 }
2109 .shithub-notifications-head p {
2110 margin: 0.25rem 0 0;
2111 color: var(--fg-muted);
2112 font-size: 0.875rem;
2113 }
2114 .shithub-notifications-head-actions {
2115 display: flex;
2116 gap: 0.5rem;
2117 align-items: center;
2118 justify-content: flex-end;
2119 flex-wrap: wrap;
2120 }
2121 .shithub-notifications-head-actions form {
2122 margin: 0;
2123 }
2124 .shithub-notifications-toolbar {
2125 display: flex;
2126 align-items: center;
2127 justify-content: space-between;
2128 gap: 1rem;
2129 padding: 0.65rem 1rem;
2130 border: 1px solid var(--border-default);
2131 border-bottom: 0;
2132 border-radius: 6px 6px 0 0;
2133 background: var(--canvas-subtle);
2134 }
2135 .shithub-notifications-tabs {
2136 display: inline-flex;
2137 gap: 0.25rem;
2138 }
2139 .shithub-notifications-tabs a {
2140 display: inline-flex;
2141 align-items: center;
2142 min-height: 2rem;
2143 padding: 0.3rem 0.75rem;
2144 border-radius: 6px;
2145 color: var(--fg-default);
2146 font-size: 0.875rem;
2147 font-weight: 500;
2148 }
2149 .shithub-notifications-tabs a:hover {
2150 background: var(--canvas-default);
2151 text-decoration: none;
2152 }
2153 .shithub-notifications-tabs a.is-selected {
2154 background: var(--canvas-default);
2155 box-shadow: inset 0 0 0 1px var(--border-default);
2156 }
2157 .shithub-notifications-page-num {
2158 color: var(--fg-muted);
2159 font-size: 0.75rem;
2160 }
2161 .shithub-notifications-list {
2162 list-style: none;
2163 padding: 0;
2164 margin: 0;
2165 border: 1px solid var(--border-default);
2166 border-radius: 0 0 6px 6px;
2167 overflow: hidden;
2168 }
2169 .shithub-notification-row {
2170 display: grid;
2171 grid-template-columns: 12px 20px minmax(0, 1fr) auto;
2172 gap: 0.75rem;
2173 align-items: start;
2174 min-height: 76px;
2175 padding: 1rem;
2176 background: var(--canvas-default);
2177 border-top: 1px solid var(--border-default);
2178 }
2179 .shithub-notification-row:first-child {
2180 border-top: 0;
2181 }
2182 .shithub-notification-row.is-unread {
2183 background: rgba(56, 139, 253, 0.06);
2184 }
2185 .shithub-notification-unread-dot {
2186 width: 8px;
2187 height: 8px;
2188 margin-top: 0.45rem;
2189 border-radius: 50%;
2190 }
2191 .shithub-notification-row.is-unread .shithub-notification-unread-dot {
2192 background: var(--accent-emphasis);
2193 }
2194 .shithub-notification-state {
2195 display: inline-flex;
2196 align-items: center;
2197 justify-content: center;
2198 width: 20px;
2199 height: 20px;
2200 margin-top: 0.05rem;
2201 color: var(--fg-muted);
2202 }
2203 .shithub-notification-state-issue svg { color: var(--success-fg); }
2204 .shithub-notification-state-pr svg { color: var(--accent-fg); }
2205 .shithub-notification-content {
2206 min-width: 0;
2207 }
2208 .shithub-notification-context {
2209 display: flex;
2210 align-items: center;
2211 gap: 0.45rem;
2212 flex-wrap: wrap;
2213 color: var(--fg-muted);
2214 font-size: 0.75rem;
2215 }
2216 .shithub-notification-context a {
2217 color: var(--fg-default);
2218 font-weight: 600;
2219 }
2220 .shithub-notification-context span {
2221 padding: 0.05rem 0.45rem;
2222 border: 1px solid var(--border-default);
2223 border-radius: 999px;
2224 background: var(--canvas-subtle);
2225 color: var(--fg-muted);
2226 font-weight: 500;
2227 }
2228 .shithub-notification-title {
2229 margin-top: 0.2rem;
2230 color: var(--fg-default);
2231 font-size: 0.95rem;
2232 font-weight: 600;
2233 line-height: 1.35;
2234 }
2235 .shithub-notification-title a,
2236 .shithub-notification-title strong {
2237 color: var(--fg-default);
2238 }
2239 .shithub-notification-title a:hover {
2240 color: var(--accent-fg);
2241 }
2242 .shithub-notification-meta {
2243 display: flex;
2244 gap: 0.45rem;
2245 flex-wrap: wrap;
2246 margin-top: 0.35rem;
2247 color: var(--fg-muted);
2248 font-size: 0.75rem;
2249 }
2250 .shithub-notification-meta a {
2251 color: var(--fg-muted);
2252 }
2253 .shithub-notification-meta a:hover {
2254 color: var(--accent-fg);
2255 text-decoration: none;
2256 }
2257 .shithub-notification-meta > * + *::before {
2258 content: "";
2259 display: inline-block;
2260 width: 3px;
2261 height: 3px;
2262 margin: 0 0.45rem 0 0;
2263 border-radius: 50%;
2264 background: var(--fg-muted);
2265 opacity: 0.7;
2266 vertical-align: middle;
2267 }
2268 .shithub-notification-actions {
2269 display: flex;
2270 justify-content: flex-end;
2271 }
2272 .shithub-notification-actions form {
2273 margin: 0;
2274 }
2275 .shithub-notification-actions .shithub-icon-button {
2276 background: transparent;
2277 }
2278 .shithub-notification-actions .shithub-icon-button:hover {
2279 background: var(--canvas-subtle);
2280 }
2281 .shithub-notifications-pagination {
2282 display: flex;
2283 justify-content: center;
2284 gap: 0.5rem;
2285 padding: 1rem 0 0;
2286 }
2287 .shithub-notifications-empty {
2288 display: grid;
2289 justify-items: center;
2290 gap: 0.4rem;
2291 padding: 3rem 1rem;
2292 border: 1px solid var(--border-default);
2293 border-radius: 0 0 6px 6px;
2294 color: var(--fg-muted);
2295 text-align: center;
2296 }
2297 .shithub-notifications-empty-icon {
2298 display: inline-flex;
2299 align-items: center;
2300 justify-content: center;
2301 width: 48px;
2302 height: 48px;
2303 border: 1px solid var(--border-default);
2304 border-radius: 50%;
2305 color: var(--fg-muted);
2306 }
2307 .shithub-notifications-empty-icon svg {
2308 width: 24px;
2309 height: 24px;
2310 }
2311 .shithub-notifications-empty h2 {
2312 margin: 0.25rem 0 0;
2313 color: var(--fg-default);
2314 font-size: 1rem;
2315 }
2316 .shithub-notifications-empty p {
2317 margin: 0;
2318 font-size: 0.875rem;
2319 }
2320 @media (max-width: 760px) {
2321 .shithub-notifications-page {
2322 padding: 1rem;
2323 }
2324 .shithub-notifications-shell {
2325 grid-template-columns: 1fr;
2326 gap: 1rem;
2327 }
2328 .shithub-notifications-sidebar {
2329 position: static;
2330 }
2331 .shithub-notifications-filter-list {
2332 flex-direction: row;
2333 gap: 0.25rem;
2334 overflow-x: auto;
2335 padding-bottom: 0.25rem;
2336 }
2337 .shithub-notifications-filter {
2338 flex: 0 0 auto;
2339 }
2340 .shithub-notifications-filter.is-selected::before {
2341 display: none;
2342 }
2343 .shithub-notifications-head,
2344 .shithub-notifications-toolbar {
2345 align-items: stretch;
2346 flex-direction: column;
2347 }
2348 .shithub-notifications-head-actions {
2349 justify-content: flex-start;
2350 }
2351 .shithub-notification-row {
2352 grid-template-columns: 12px 20px minmax(0, 1fr);
2353 }
2354 .shithub-notification-actions {
2355 grid-column: 3;
2356 justify-content: flex-start;
2357 }
2358 }
2359
2360 .shithub-session-meta {
2361 display: grid;
2362 grid-template-columns: max-content 1fr;
2363 gap: 0.25rem 1rem;
2364 margin: 0;
2365 }
2366 .shithub-session-meta dt { color: var(--fg-muted); font-weight: 500; }
2367 .shithub-session-meta dd { margin: 0; word-break: break-all; }
2368
2369 /* ----- repo create + empty home (S11) ----- */
2370 .shithub-repo-new {
2371 max-width: 48rem;
2372 margin: 2rem auto 5rem;
2373 padding: 0 1rem;
2374 }
2375 .shithub-repo-new-head {
2376 margin: 0 0 1.25rem 3rem;
2377 }
2378 .shithub-repo-new h1 {
2379 margin: 0;
2380 font-size: 1.5rem;
2381 line-height: 1.25;
2382 font-weight: 600;
2383 }
2384 .shithub-repo-new-head p {
2385 margin: 0.25rem 0 0;
2386 color: var(--fg-muted);
2387 font-size: 0.875rem;
2388 }
2389 .shithub-repo-new-required {
2390 font-style: italic;
2391 }
2392 .shithub-repo-new-form {
2393 display: grid;
2394 gap: 1.5rem;
2395 }
2396 .shithub-repo-new-step {
2397 display: grid;
2398 grid-template-columns: 2rem minmax(0, 1fr);
2399 gap: 1rem;
2400 position: relative;
2401 }
2402 .shithub-repo-new-step::before {
2403 content: "";
2404 position: absolute;
2405 left: 1rem;
2406 top: 2rem;
2407 bottom: -1.5rem;
2408 width: 1px;
2409 background: var(--border-muted);
2410 }
2411 .shithub-repo-new-step:last-of-type::before {
2412 display: none;
2413 }
2414 .shithub-repo-new-step-marker {
2415 position: relative;
2416 z-index: 1;
2417 display: inline-flex;
2418 align-items: center;
2419 justify-content: center;
2420 width: 1.5rem;
2421 height: 1.5rem;
2422 margin: 0.1rem auto 0;
2423 border-radius: 50%;
2424 background: var(--canvas-subtle);
2425 border: 1px solid var(--border-muted);
2426 color: var(--fg-muted);
2427 font-size: 0.75rem;
2428 font-weight: 600;
2429 }
2430 .shithub-repo-new-step-body {
2431 min-width: 0;
2432 }
2433 .shithub-repo-new-step-body h2 {
2434 margin: 0 0 0.75rem;
2435 font-size: 1rem;
2436 line-height: 1.5;
2437 font-weight: 600;
2438 }
2439 .shithub-repo-new-form label {
2440 font-size: 0.875rem;
2441 font-weight: 600;
2442 }
2443 .shithub-repo-new-form input[type=text],
2444 .shithub-repo-new-form select,
2445 .shithub-repo-new-form textarea {
2446 font: inherit;
2447 width: 100%;
2448 min-height: 2rem;
2449 padding: 0.35rem 0.5rem;
2450 border-radius: 6px;
2451 }
2452 .shithub-repo-new-form em { color: #cf222e; font-style: normal; }
2453 .shithub-repo-new-form small {
2454 display: block;
2455 font-weight: 400;
2456 color: var(--fg-muted);
2457 font-size: 0.75rem;
2458 }
2459 .shithub-repo-new-owner-row {
2460 display: grid;
2461 grid-template-columns: minmax(9rem, 11rem) max-content minmax(12rem, 1fr);
2462 gap: 0.5rem;
2463 align-items: end;
2464 }
2465 .shithub-repo-new-owner,
2466 .shithub-repo-new-name,
2467 .shithub-repo-new-description {
2468 display: grid;
2469 gap: 0.25rem;
2470 }
2471 .shithub-repo-new-sep {
2472 padding-bottom: 0.25rem;
2473 color: var(--fg-muted);
2474 font-size: 1.25rem;
2475 }
2476 .shithub-repo-new-hint {
2477 margin: 0.5rem 0 1rem;
2478 color: var(--fg-muted);
2479 font-size: 0.875rem;
2480 }
2481 .shithub-repo-new-hint strong {
2482 color: var(--success-fg);
2483 }
2484 .shithub-repo-new-config {
2485 border: 1px solid var(--border-default);
2486 border-radius: 6px;
2487 overflow: hidden;
2488 background: var(--canvas-default);
2489 }
2490 .shithub-repo-new-config-row {
2491 margin: 0;
2492 display: grid;
2493 grid-template-columns: minmax(0, 1fr) minmax(8.5rem, max-content);
2494 gap: 1rem;
2495 align-items: center;
2496 padding: 0.75rem;
2497 border-top: 1px solid var(--border-muted);
2498 }
2499 .shithub-repo-new-config-row:first-child {
2500 border-top: 0;
2501 }
2502 .shithub-repo-new-config-row strong {
2503 display: block;
2504 font-size: 0.875rem;
2505 }
2506 .shithub-repo-new-config-row select {
2507 max-width: 11rem;
2508 }
2509 .shithub-repo-new-toggle {
2510 display: inline-flex;
2511 justify-self: end;
2512 align-items: center;
2513 gap: 0.4rem;
2514 color: var(--fg-muted);
2515 font-size: 0.75rem;
2516 font-weight: 600;
2517 }
2518 .shithub-repo-new-toggle input {
2519 width: 1.9rem;
2520 height: 1rem;
2521 margin: 0;
2522 accent-color: var(--success-emphasis);
2523 }
2524 .shithub-repo-new-form > .shithub-button-primary {
2525 justify-self: end;
2526 margin-right: 0;
2527 }
2528 @media (max-width: 640px) {
2529 .shithub-repo-new-head {
2530 margin-left: 0;
2531 }
2532 .shithub-repo-new-step {
2533 grid-template-columns: minmax(0, 1fr);
2534 }
2535 .shithub-repo-new-step::before,
2536 .shithub-repo-new-step-marker,
2537 .shithub-repo-new-sep {
2538 display: none;
2539 }
2540 .shithub-repo-new-owner-row,
2541 .shithub-repo-new-config-row {
2542 grid-template-columns: minmax(0, 1fr);
2543 }
2544 .shithub-repo-new-config-row select {
2545 max-width: none;
2546 }
2547 .shithub-repo-new-toggle {
2548 justify-self: start;
2549 }
2550 .shithub-repo-new-form > .shithub-button-primary {
2551 justify-self: stretch;
2552 }
2553 }
2554
2555 .shithub-repo-empty {
2556 max-width: 56rem;
2557 margin: 0;
2558 padding: 0;
2559 }
2560 .shithub-repo-empty-desc {
2561 margin: 0 0 1rem;
2562 color: var(--fg-muted);
2563 }
2564 .shithub-pill-private { background: rgba(187, 128, 9, 0.15); border-color: rgba(187, 128, 9, 0.4); }
2565 .shithub-repo-empty-quickstart {
2566 margin-top: 1rem;
2567 padding: 1.25rem;
2568 border: 1px solid var(--border-default);
2569 border-radius: 8px;
2570 background: var(--canvas-subtle);
2571 }
2572 .shithub-repo-empty-quickstart h2 { margin: 0 0 0.5rem; font-size: 1rem; }
2573 .shithub-repo-empty-quickstart h3 { margin: 1.25rem 0 0.5rem; font-size: 0.9rem; font-weight: 600; }
2574 .shithub-repo-empty-clone { display: grid; gap: 0.5rem; margin: 0.75rem 0; }
2575 .shithub-repo-empty-clone label { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: center; }
2576 .shithub-repo-empty-clone span { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; }
2577 .shithub-repo-empty-clone input {
2578 font: inherit;
2579 font-family: monospace;
2580 font-size: 0.85rem;
2581 padding: 0.5rem 0.75rem;
2582 border: 1px solid var(--border-default);
2583 border-radius: 6px;
2584 background: var(--canvas-default);
2585 }
2586 .shithub-repo-empty-quickstart pre {
2587 padding: 0.75rem 1rem;
2588 border: 1px solid var(--border-default);
2589 border-radius: 6px;
2590 background: var(--canvas-default);
2591 font-size: 0.85rem;
2592 overflow-x: auto;
2593 }
2594
2595 /* Populated-repo placeholder (S17 will replace with real tree view) */
2596 .shithub-repo-populated {
2597 max-width: 56rem;
2598 margin: 2rem auto;
2599 padding: 0 1rem;
2600 }
2601 .shithub-repo-populated-head h1 {
2602 margin: 0 0 0.5rem;
2603 font-size: 1.4rem;
2604 font-weight: 400;
2605 display: flex;
2606 align-items: center;
2607 gap: 0.4rem;
2608 }
2609 .shithub-repo-populated-sep { color: var(--fg-muted); }
2610 .shithub-repo-populated-desc { margin: 0 0 1rem; color: var(--fg-muted); }
2611 .shithub-repo-headcommit {
2612 margin-top: 1rem;
2613 padding: 0.85rem 1rem;
2614 border: 1px solid var(--border-default);
2615 border-radius: 8px;
2616 background: var(--canvas-subtle);
2617 }
2618 .shithub-repo-headcommit-meta {
2619 display: flex;
2620 flex-wrap: wrap;
2621 gap: 0.75rem;
2622 font-size: 0.85rem;
2623 color: var(--fg-muted);
2624 align-items: center;
2625 }
2626 .shithub-repo-headcommit-branch {
2627 font-weight: 600;
2628 color: var(--fg-default);
2629 padding: 0.1rem 0.5rem;
2630 border: 1px solid var(--border-default);
2631 border-radius: 999px;
2632 background: var(--canvas-default);
2633 font-size: 0.75rem;
2634 }
2635 .shithub-repo-headcommit-oid { font-family: monospace; }
2636 .shithub-repo-headcommit-author { color: var(--fg-default); }
2637 .shithub-repo-headcommit-subject { margin: 0.5rem 0 0; font-size: 0.95rem; }
2638 .shithub-repo-headcommit-other-branch p { margin: 0; font-size: 0.9rem; color: var(--fg-muted); }
2639 .shithub-repo-populated-clone {
2640 margin-top: 1rem;
2641 display: grid;
2642 gap: 0.5rem;
2643 }
2644 .shithub-repo-populated-clone label { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: center; }
2645 .shithub-repo-populated-clone span { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; }
2646 .shithub-repo-populated-clone input {
2647 font: inherit;
2648 font-family: monospace;
2649 font-size: 0.85rem;
2650 padding: 0.5rem 0.75rem;
2651 border: 1px solid var(--border-default);
2652 border-radius: 6px;
2653 background: var(--canvas-default);
2654 }
2655 .shithub-repo-populated-note { margin-top: 1rem; font-size: 0.8rem; color: var(--fg-muted); }
2656
2657 /* ========== Code tab (S17) ========== */
2658 /* The repo-page wrapper drives the outer width — every code/blob/list
2659 view now gets the same wide container with consistent gutters,
2660 matching GitHub's full-width code layout. The inner sections used
2661 to set their own max-widths and pinched the layout into a narrow
2662 column. */
2663 .shithub-repo-page {
2664 max-width: 1280px;
2665 margin: 1rem auto 2rem;
2666 padding: 0 1.25rem;
2667 }
2668 .shithub-code, .shithub-blob, .shithub-finder {
2669 margin: 0;
2670 padding: 0;
2671 }
2672 /* Code body (tree + blob source) sits in a bordered panel so it
2673 reads as a distinct surface — matches the panelled "Code" view in
2674 the GitHub reference screenshots. */
2675 .shithub-blob-source {
2676 border: 1px solid var(--border-default);
2677 border-radius: 6px;
2678 background: var(--canvas-subtle);
2679 overflow-x: auto;
2680 }
2681 .shithub-blob-source { background: var(--canvas-default); }
2682 .shithub-code-head {
2683 display: flex;
2684 align-items: center;
2685 justify-content: space-between;
2686 gap: 0.75rem;
2687 margin-bottom: 0.75rem;
2688 flex-wrap: wrap;
2689 }
2690 .shithub-code-crumbs { font-size: 1rem; }
2691 .shithub-code-crumbs a { color: var(--fg-default); }
2692 .shithub-code-sep { color: var(--fg-muted); margin: 0 0.25rem; }
2693 .shithub-code-actions {
2694 display: flex;
2695 gap: 0.5rem;
2696 align-items: center;
2697 min-width: min(100%, 420px);
2698 justify-content: flex-end;
2699 flex: 1 1 360px;
2700 }
2701 .shithub-code-primary-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
2702 .shithub-code-count { color: var(--fg-muted); display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; }
2703 .shithub-go-to-file {
2704 display: inline-grid;
2705 grid-template-columns: 16px minmax(0, 1fr) auto;
2706 align-items: center;
2707 gap: 0.45rem;
2708 min-width: min(100%, 220px);
2709 height: 32px;
2710 padding: 0 0.55rem;
2711 border: 1px solid var(--border-default);
2712 border-radius: 6px;
2713 background: var(--canvas-default);
2714 color: var(--fg-muted);
2715 font-size: 0.875rem;
2716 }
2717 .shithub-go-to-file:hover {
2718 border-color: var(--accent-fg);
2719 text-decoration: none;
2720 }
2721 .shithub-go-to-file span {
2722 overflow: hidden;
2723 text-overflow: ellipsis;
2724 white-space: nowrap;
2725 }
2726 .shithub-go-to-file kbd {
2727 min-width: 1.25rem;
2728 padding: 0 0.3rem;
2729 border: 1px solid var(--border-default);
2730 border-radius: 4px;
2731 color: var(--fg-muted);
2732 background: var(--canvas-subtle);
2733 font: 0.75rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
2734 text-align: center;
2735 }
2736
2737 .shithub-ref-switcher { position: relative; }
2738 .shithub-ref-switcher > summary {
2739 list-style: none;
2740 display: inline-flex;
2741 align-items: center;
2742 gap: 0.35rem;
2743 padding: 0.3rem 0.7rem;
2744 border: 1px solid var(--border-default);
2745 border-radius: 6px;
2746 cursor: pointer;
2747 font-size: 0.875rem;
2748 }
2749 .shithub-ref-switcher > summary::-webkit-details-marker { display: none; }
2750 .shithub-ref-panel {
2751 position: absolute;
2752 z-index: 30;
2753 top: calc(100% + 0.4rem);
2754 left: 0;
2755 min-width: 220px;
2756 max-height: 360px;
2757 overflow-y: auto;
2758 background: var(--canvas-default);
2759 border: 1px solid var(--border-default);
2760 border-radius: 6px;
2761 padding: 0.5rem;
2762 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
2763 }
2764 .shithub-ref-panel a {
2765 display: block;
2766 padding: 0.3rem 0.4rem;
2767 color: var(--fg-default);
2768 font-size: 0.875rem;
2769 }
2770 .shithub-ref-panel strong { display: block; margin: 0.4rem 0 0.2rem; font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; }
2771
2772 .shithub-clone-dropdown { position: relative; }
2773 .shithub-clone-dropdown > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; height: 32px; white-space: nowrap; }
2774 .shithub-clone-dropdown > summary svg:last-child { width: 12px; height: 12px; }
2775 .shithub-clone-dropdown > summary::-webkit-details-marker { display: none; }
2776 .shithub-clone-panel {
2777 position: absolute;
2778 z-index: 30;
2779 top: calc(100% + 0.4rem);
2780 right: 0;
2781 min-width: 320px;
2782 background: var(--canvas-default);
2783 border: 1px solid var(--border-default);
2784 border-radius: 6px;
2785 padding: 0.75rem;
2786 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
2787 }
2788 .shithub-clone-row + .shithub-clone-row { margin-top: 0.6rem; }
2789 .shithub-clone-row label { display: block; font-size: 0.75rem; color: var(--fg-muted); margin-bottom: 0.25rem; }
2790 .shithub-clone-input { display: flex; gap: 0.4rem; }
2791 .shithub-clone-input input {
2792 flex: 1;
2793 padding: 0.3rem 0.5rem;
2794 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2795 font-size: 0.8rem;
2796 border: 1px solid var(--border-default);
2797 border-radius: 4px;
2798 background: var(--canvas-subtle);
2799 color: var(--fg-default);
2800 }
2801 .shithub-clone-input button { padding: 0.3rem 0.5rem; }
2802 .shithub-clone-hint { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--fg-muted); }
2803
2804 .shithub-add-file-dropdown { position: relative; }
2805 .shithub-add-file-dropdown > summary {
2806 list-style: none;
2807 height: 32px;
2808 white-space: nowrap;
2809 }
2810 .shithub-add-file-dropdown > summary::-webkit-details-marker { display: none; }
2811 .shithub-add-file-dropdown > summary svg:last-child { width: 12px; height: 12px; }
2812 .shithub-add-file-panel {
2813 position: absolute;
2814 z-index: 30;
2815 top: calc(100% + 0.4rem);
2816 right: 0;
2817 min-width: 190px;
2818 padding: 0.4rem;
2819 border: 1px solid var(--border-default);
2820 border-radius: 6px;
2821 background: var(--canvas-default);
2822 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
2823 }
2824 .shithub-add-file-panel a {
2825 display: flex;
2826 align-items: center;
2827 gap: 0.5rem;
2828 padding: 0.45rem 0.55rem;
2829 border-radius: 6px;
2830 color: var(--fg-default);
2831 font-size: 0.875rem;
2832 text-decoration: none;
2833 }
2834 .shithub-add-file-panel a:hover {
2835 background: var(--canvas-subtle);
2836 text-decoration: none;
2837 }
2838
2839 /* Profile sub-nav (S30) — Overview / Repositories / Stars tabs. */
2840 .shithub-profile-tabs {
2841 display: flex;
2842 gap: 0.25rem;
2843 margin: 1rem 0 1.25rem;
2844 border-bottom: 1px solid var(--border-default);
2845 }
2846 .shithub-profile-tab {
2847 display: inline-flex;
2848 align-items: center;
2849 gap: 0.4rem;
2850 padding: 0.6rem 0.85rem;
2851 color: var(--fg-default);
2852 border-bottom: 2px solid transparent;
2853 font-size: 0.9rem;
2854 text-decoration: none;
2855 position: relative;
2856 bottom: -1px;
2857 }
2858 .shithub-profile-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; }
2859 .shithub-profile-tab.is-active { border-bottom-color: var(--accent-emphasis, #fd8c73); font-weight: 600; }
2860 .shithub-tab-count {
2861 display: inline-block;
2862 padding: 0.05rem 0.45rem;
2863 border-radius: 999px;
2864 background: var(--canvas-subtle);
2865 border: 1px solid var(--border-default);
2866 font-size: 0.75rem;
2867 color: var(--fg-muted);
2868 }
2869
2870 .shithub-profile-tab-container {
2871 max-width: 1280px;
2872 margin: 0 auto;
2873 padding: 2rem;
2874 display: grid;
2875 grid-template-columns: 260px minmax(0, 1fr);
2876 gap: 2rem;
2877 }
2878 .shithub-profile-tab-sidebar {
2879 color: var(--fg-muted);
2880 }
2881 .shithub-profile-tab-avatar {
2882 width: 96px;
2883 height: 96px;
2884 border-radius: 50%;
2885 border: 1px solid var(--border-default);
2886 background: var(--canvas-subtle);
2887 }
2888 .shithub-profile-tab-sidebar h1 {
2889 margin: 0.75rem 0 0.15rem;
2890 font-size: 1.25rem;
2891 color: var(--fg-default);
2892 }
2893 .shithub-profile-tab-sidebar p {
2894 margin: 0;
2895 }
2896 .shithub-follow-list-head {
2897 border-bottom: 1px solid var(--border-default);
2898 padding-bottom: 0.75rem;
2899 }
2900 .shithub-follow-list-head h2 {
2901 margin: 0;
2902 font-size: 1.25rem;
2903 }
2904 .shithub-follow-list {
2905 list-style: none;
2906 margin: 0;
2907 padding: 0;
2908 }
2909 .shithub-follow-list-row {
2910 display: flex;
2911 gap: 0.9rem;
2912 padding: 1rem 0;
2913 border-bottom: 1px solid var(--border-default);
2914 }
2915 .shithub-follow-avatar img {
2916 width: 48px;
2917 height: 48px;
2918 border-radius: 50%;
2919 display: block;
2920 border: 1px solid var(--border-default);
2921 }
2922 .shithub-follow-list-body {
2923 min-width: 0;
2924 display: grid;
2925 gap: 0.15rem;
2926 }
2927 .shithub-follow-list-name {
2928 font-weight: 600;
2929 color: var(--fg-default);
2930 }
2931 .shithub-follow-list-handle {
2932 color: var(--fg-muted);
2933 }
2934 .shithub-follow-empty {
2935 margin-top: 1rem;
2936 }
2937 .shithub-follow-empty h3 {
2938 margin: 0;
2939 font-size: 1rem;
2940 }
2941
2942 /* Repositories tab list. */
2943 .shithub-repo-list { list-style: none; padding: 0; margin: 0; }
2944 .shithub-repo-list-row {
2945 padding: 1rem 0;
2946 border-bottom: 1px solid var(--border-default);
2947 }
2948 .shithub-repo-list-name { margin: 0; font-size: 1.1rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
2949 .shithub-repo-list-name a { color: var(--accent-fg, #4493f8); }
2950 .shithub-repo-list-meta { color: var(--fg-muted); font-size: 0.8rem; display: flex; gap: 1rem; flex-wrap: wrap; margin: 0.4rem 0 0; }
2951 .shithub-pill-archived { background: #ffd35a; color: #3b2300; }
2952
2953 /* Organization overview. Mirrors GitHub's org homepage density:
2954 identity header, underline nav, two-column content, and a right rail. */
2955 .shithub-org-profile {
2956 max-width: 1280px;
2957 margin: 0 auto;
2958 }
2959 .shithub-org-hero {
2960 padding: 1.5rem 1rem 0;
2961 }
2962 .shithub-org-hero-inner {
2963 display: grid;
2964 grid-template-columns: 96px minmax(0, 1fr) auto;
2965 gap: 1.25rem;
2966 align-items: start;
2967 }
2968 .shithub-org-avatar {
2969 width: 96px;
2970 height: 96px;
2971 border-radius: 6px;
2972 border: 1px solid var(--border-default);
2973 background: var(--canvas-subtle);
2974 }
2975 .shithub-org-identity h1 {
2976 margin: 0;
2977 font-size: 1.5rem;
2978 line-height: 1.25;
2979 }
2980 .shithub-org-handle {
2981 margin: 0.15rem 0 0.65rem;
2982 color: var(--fg-muted);
2983 font-size: 1rem;
2984 }
2985 .shithub-org-bio {
2986 max-width: 760px;
2987 margin: 0 0 0.75rem;
2988 color: var(--fg-default);
2989 }
2990 .shithub-org-meta {
2991 display: flex;
2992 flex-wrap: wrap;
2993 gap: 0.55rem 1rem;
2994 list-style: none;
2995 padding: 0;
2996 margin: 0;
2997 color: var(--fg-muted);
2998 font-size: 0.875rem;
2999 }
3000 .shithub-org-meta li,
3001 .shithub-org-meta a,
3002 .shithub-org-repo-meta span,
3003 .shithub-org-repo-meta time {
3004 display: inline-flex;
3005 align-items: center;
3006 gap: 0.35rem;
3007 }
3008 .shithub-org-meta svg {
3009 flex: 0 0 auto;
3010 }
3011 .shithub-org-hero-actions {
3012 display: flex;
3013 gap: 0.5rem;
3014 }
3015 .shithub-org-nav {
3016 display: flex;
3017 gap: 0.15rem;
3018 padding: 1rem 1rem 0;
3019 margin-top: 1.25rem;
3020 overflow-x: auto;
3021 overflow-y: hidden;
3022 border-bottom: 1px solid var(--border-default);
3023 scrollbar-width: none;
3024 }
3025 .shithub-org-nav::-webkit-scrollbar {
3026 display: none;
3027 }
3028 .shithub-org-nav-item {
3029 display: inline-flex;
3030 align-items: center;
3031 gap: 0.4rem;
3032 flex: 0 0 auto;
3033 padding: 0.65rem 0.75rem;
3034 color: var(--fg-default);
3035 border-bottom: 2px solid transparent;
3036 font-size: 0.875rem;
3037 white-space: nowrap;
3038 }
3039 .shithub-org-nav-item:hover {
3040 background: var(--canvas-subtle);
3041 border-radius: 6px 6px 0 0;
3042 text-decoration: none;
3043 }
3044 .shithub-org-nav-item.is-active {
3045 border-bottom-color: #fd8c73;
3046 font-weight: 600;
3047 }
3048 .shithub-org-nav-item.is-disabled {
3049 color: var(--fg-muted);
3050 cursor: default;
3051 }
3052 .shithub-org-nav-item.is-disabled:hover {
3053 background: transparent;
3054 border-radius: 0;
3055 }
3056 .shithub-org-layout {
3057 display: grid;
3058 grid-template-columns: minmax(0, 2fr) minmax(260px, 0.72fr);
3059 gap: 2rem;
3060 padding: 1.5rem 1rem 2rem;
3061 }
3062 .shithub-org-main {
3063 min-width: 0;
3064 }
3065 .shithub-org-section-head {
3066 display: flex;
3067 align-items: center;
3068 justify-content: space-between;
3069 gap: 1rem;
3070 margin-bottom: 0.75rem;
3071 }
3072 .shithub-org-section-head h2,
3073 .shithub-org-repo-head h2,
3074 .shithub-org-sidebox h2 {
3075 margin: 0;
3076 font-size: 1rem;
3077 font-weight: 600;
3078 }
3079 .shithub-org-pinned-grid {
3080 display: grid;
3081 grid-template-columns: repeat(2, minmax(0, 1fr));
3082 gap: 0.75rem;
3083 list-style: none;
3084 padding: 0;
3085 margin: 0 0 1.5rem;
3086 }
3087 .shithub-org-pin-card {
3088 display: flex;
3089 min-height: 116px;
3090 flex-direction: column;
3091 justify-content: space-between;
3092 padding: 1rem;
3093 border: 1px solid var(--border-default);
3094 border-radius: 6px;
3095 background: var(--canvas-default);
3096 }
3097 .shithub-org-pin-title {
3098 display: flex;
3099 align-items: center;
3100 gap: 0.45rem;
3101 min-width: 0;
3102 font-weight: 600;
3103 }
3104 .shithub-org-pin-title a {
3105 overflow-wrap: anywhere;
3106 }
3107 .shithub-org-pin-icon {
3108 display: inline-flex;
3109 color: var(--fg-muted);
3110 flex: 0 0 auto;
3111 }
3112 .shithub-org-pin-card p {
3113 margin: 0.65rem 0;
3114 color: var(--fg-muted);
3115 font-size: 0.875rem;
3116 }
3117 .shithub-org-repo-head {
3118 display: grid;
3119 grid-template-columns: minmax(160px, 1fr) minmax(200px, 1.2fr) auto;
3120 gap: 0.75rem;
3121 align-items: center;
3122 margin-bottom: 0.75rem;
3123 }
3124 .shithub-org-repo-head h2 {
3125 display: inline-flex;
3126 align-items: center;
3127 gap: 0.4rem;
3128 }
3129 .shithub-org-repo-search input {
3130 width: 100%;
3131 min-height: 34px;
3132 padding: 0.35rem 0.75rem;
3133 border: 1px solid var(--border-default);
3134 border-radius: 6px;
3135 background: var(--canvas-default);
3136 color: var(--fg-default);
3137 }
3138 .shithub-org-repo-actions {
3139 display: flex;
3140 align-items: center;
3141 gap: 0.5rem;
3142 justify-content: flex-end;
3143 flex-wrap: wrap;
3144 }
3145 .shithub-filter-menu {
3146 position: relative;
3147 }
3148 .shithub-filter-menu summary {
3149 display: inline-flex;
3150 align-items: center;
3151 gap: 0.3rem;
3152 min-height: 34px;
3153 padding: 0.35rem 0.75rem;
3154 border: 1px solid var(--border-default);
3155 border-radius: 6px;
3156 background: var(--canvas-subtle);
3157 color: var(--fg-default);
3158 font-size: 0.875rem;
3159 font-weight: 600;
3160 cursor: pointer;
3161 }
3162 .shithub-filter-menu summary::-webkit-details-marker {
3163 display: none;
3164 }
3165 .shithub-filter-menu[open] > div {
3166 position: absolute;
3167 right: 0;
3168 z-index: 20;
3169 min-width: 160px;
3170 margin-top: 0.35rem;
3171 padding: 0.35rem 0;
3172 border: 1px solid var(--border-default);
3173 border-radius: 6px;
3174 background: var(--canvas-default);
3175 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
3176 }
3177 .shithub-filter-menu a {
3178 display: block;
3179 padding: 0.45rem 0.75rem;
3180 color: var(--fg-default);
3181 font-size: 0.875rem;
3182 }
3183 .shithub-filter-menu a:hover {
3184 background: var(--canvas-subtle);
3185 text-decoration: none;
3186 }
3187 .shithub-org-repo-list {
3188 list-style: none;
3189 padding: 0;
3190 margin: 0;
3191 border: 1px solid var(--border-default);
3192 border-radius: 6px;
3193 overflow: hidden;
3194 background: var(--canvas-default);
3195 }
3196 .shithub-org-repo-row {
3197 display: grid;
3198 grid-template-columns: minmax(0, 1fr) 170px;
3199 gap: 1rem;
3200 align-items: center;
3201 padding: 1rem;
3202 border-top: 1px solid var(--border-default);
3203 }
3204 .shithub-org-repo-row:first-child {
3205 border-top: 0;
3206 }
3207 .shithub-org-repo-row h3 {
3208 display: flex;
3209 align-items: center;
3210 gap: 0.45rem;
3211 flex-wrap: wrap;
3212 margin: 0;
3213 font-size: 1rem;
3214 }
3215 .shithub-org-repo-row p {
3216 margin: 0.35rem 0 0;
3217 color: var(--fg-muted);
3218 font-size: 0.875rem;
3219 }
3220 .shithub-org-row-topics {
3221 display: flex;
3222 flex-wrap: wrap;
3223 gap: 0.35rem;
3224 margin-top: 0.6rem;
3225 }
3226 .shithub-org-repo-meta {
3227 display: flex;
3228 flex-wrap: wrap;
3229 gap: 0.4rem 0.85rem;
3230 margin-top: 0.7rem;
3231 color: var(--fg-muted);
3232 font-size: 0.8rem;
3233 }
3234 .shithub-org-repo-meta svg {
3235 flex: 0 0 auto;
3236 }
3237 .shithub-org-repo-spark {
3238 justify-self: end;
3239 display: block;
3240 width: 155px;
3241 height: 32px;
3242 overflow: visible;
3243 }
3244 .shithub-org-repo-spark-base,
3245 .shithub-org-repo-spark-line {
3246 fill: none;
3247 stroke-linecap: round;
3248 stroke-linejoin: round;
3249 vector-effect: non-scaling-stroke;
3250 }
3251 .shithub-org-repo-spark-base {
3252 stroke: color-mix(in srgb, var(--success-fg) 32%, transparent);
3253 stroke-width: 1;
3254 }
3255 .shithub-org-repo-spark-line {
3256 stroke: var(--success-fg);
3257 stroke-width: 1.5;
3258 opacity: 0.78;
3259 }
3260 .shithub-org-sidebar {
3261 min-width: 0;
3262 }
3263 .shithub-org-sidebox {
3264 padding: 1rem 0;
3265 border-top: 1px solid var(--border-default);
3266 }
3267 .shithub-org-sidebox:first-child {
3268 padding-top: 0;
3269 border-top: 0;
3270 }
3271 .shithub-org-sidebox p {
3272 margin: 0.5rem 0 0;
3273 color: var(--fg-muted);
3274 font-size: 0.875rem;
3275 }
3276 .shithub-org-viewas {
3277 width: 100%;
3278 justify-content: center;
3279 cursor: default;
3280 }
3281 .shithub-org-people-strip {
3282 display: flex;
3283 flex-wrap: wrap;
3284 gap: 0.35rem;
3285 margin-top: 0.75rem;
3286 }
3287 .shithub-org-people-strip img {
3288 display: block;
3289 width: 32px;
3290 height: 32px;
3291 border-radius: 50%;
3292 border: 1px solid var(--border-muted);
3293 }
3294 .shithub-org-language-list {
3295 list-style: none;
3296 padding: 0;
3297 margin: 0.75rem 0 0;
3298 }
3299 .shithub-org-language-list li {
3300 display: flex;
3301 justify-content: space-between;
3302 gap: 1rem;
3303 margin: 0.4rem 0;
3304 color: var(--fg-muted);
3305 font-size: 0.875rem;
3306 }
3307 .shithub-org-language-list span {
3308 display: inline-flex;
3309 align-items: center;
3310 gap: 0.35rem;
3311 }
3312 .shithub-org-topic-list {
3313 display: flex;
3314 flex-wrap: wrap;
3315 gap: 0.4rem;
3316 margin-top: 0.75rem;
3317 }
3318 .shithub-org-empty {
3319 padding: 2rem;
3320 text-align: center;
3321 border: 1px dashed var(--border-default);
3322 border-radius: 6px;
3323 color: var(--fg-muted);
3324 }
3325 .shithub-org-empty h3 {
3326 margin: 0 0 0.75rem;
3327 color: var(--fg-default);
3328 font-size: 1rem;
3329 }
3330 .shithub-org-repos-footer {
3331 display: flex;
3332 justify-content: center;
3333 padding: 0.8rem 1rem;
3334 border: 1px solid var(--border-default);
3335 border-top: 0;
3336 border-radius: 0 0 6px 6px;
3337 background: var(--canvas-subtle);
3338 font-size: 0.875rem;
3339 font-weight: 600;
3340 }
3341 .shithub-org-repo-list + .shithub-org-repos-footer {
3342 margin-top: -1px;
3343 }
3344 .shithub-filter-menu a.is-selected {
3345 background: var(--canvas-subtle);
3346 font-weight: 600;
3347 }
3348 .shithub-filter-count {
3349 float: right;
3350 margin-left: 1rem;
3351 color: var(--fg-muted);
3352 font-weight: 400;
3353 }
3354
3355 /* Organization repositories tab. GitHub's current route is
3356 /orgs/{org}/repositories: compact pagehead, repo search, dropdown
3357 filters, bordered rows, sparklines, and numbered pagination. */
3358 .shithub-org-repositories-page {
3359 max-width: none;
3360 }
3361 .shithub-org-repositories-shell {
3362 max-width: 1040px;
3363 margin: 0 auto;
3364 padding: 1.5rem 1rem 2rem;
3365 }
3366 .shithub-org-repositories-titlebar {
3367 display: flex;
3368 align-items: center;
3369 justify-content: space-between;
3370 gap: 1rem;
3371 margin-bottom: 1rem;
3372 }
3373 .shithub-org-repositories-titlebar h1 {
3374 margin: 0;
3375 font-size: 1.5rem;
3376 line-height: 1.25;
3377 }
3378 .shithub-org-repositories-titlebar p {
3379 margin: 0.25rem 0 0;
3380 color: var(--fg-muted);
3381 font-size: 0.875rem;
3382 }
3383 .shithub-org-repositories-toolbar {
3384 display: grid;
3385 grid-template-columns: minmax(240px, 1fr) auto;
3386 gap: 0.75rem;
3387 align-items: center;
3388 padding-bottom: 1rem;
3389 border-bottom: 1px solid var(--border-default);
3390 }
3391 .shithub-org-repositories-search {
3392 position: relative;
3393 min-width: 0;
3394 }
3395 .shithub-org-repositories-search > span {
3396 position: absolute;
3397 left: 0.7rem;
3398 top: 50%;
3399 display: inline-flex;
3400 color: var(--fg-muted);
3401 transform: translateY(-50%);
3402 pointer-events: none;
3403 }
3404 .shithub-org-repositories-search input[type="search"] {
3405 width: 100%;
3406 min-height: 34px;
3407 padding: 0.35rem 0.75rem 0.35rem 2rem;
3408 border: 1px solid var(--border-default);
3409 border-radius: 6px;
3410 background: var(--canvas-default);
3411 color: var(--fg-default);
3412 }
3413 .shithub-org-repositories-filters {
3414 display: flex;
3415 align-items: center;
3416 justify-content: flex-end;
3417 gap: 0.5rem;
3418 flex-wrap: wrap;
3419 }
3420 .shithub-org-repositories-filters .shithub-filter-menu[open] > div {
3421 min-width: 190px;
3422 }
3423 .shithub-org-repositories-filters .shithub-filter-menu summary span {
3424 color: var(--fg-muted);
3425 font-weight: 400;
3426 }
3427 .shithub-org-repositories-list {
3428 margin-top: 0;
3429 border-top: 0;
3430 border-radius: 0 0 6px 6px;
3431 }
3432 .shithub-org-repositories-empty {
3433 margin-top: 1rem;
3434 }
3435 .shithub-org-repositories-empty h2 {
3436 margin: 0 0 0.55rem;
3437 color: var(--fg-default);
3438 font-size: 1.1rem;
3439 }
3440 .shithub-org-repositories-empty p {
3441 margin: 0;
3442 }
3443 .shithub-org-repositories-pagination {
3444 display: flex;
3445 justify-content: center;
3446 gap: 0.35rem;
3447 padding: 1.25rem 0 0;
3448 }
3449 .shithub-org-repositories-pagination a,
3450 .shithub-org-repositories-pagination span {
3451 display: inline-flex;
3452 align-items: center;
3453 justify-content: center;
3454 min-width: 34px;
3455 min-height: 32px;
3456 padding: 0.35rem 0.7rem;
3457 border: 1px solid var(--border-default);
3458 border-radius: 6px;
3459 background: var(--canvas-default);
3460 color: var(--fg-default);
3461 font-size: 0.875rem;
3462 font-weight: 600;
3463 }
3464 .shithub-org-repositories-pagination a:hover {
3465 background: var(--canvas-subtle);
3466 text-decoration: none;
3467 }
3468 .shithub-org-repositories-pagination .is-current {
3469 border-color: var(--accent-emphasis);
3470 background: var(--accent-emphasis);
3471 color: #fff;
3472 }
3473 .shithub-org-repositories-pagination .is-disabled {
3474 color: var(--fg-muted);
3475 opacity: 0.65;
3476 }
3477
3478 /* Organization People page. Mirrors GitHub's compact org header,
3479 permissions sidebar, toolbar search, and bordered member rows. */
3480 .shithub-org-people {
3481 max-width: none;
3482 }
3483 .shithub-org-pagehead {
3484 padding-top: 1rem;
3485 border-bottom: 1px solid var(--border-default);
3486 }
3487 .shithub-org-pagehead-inner {
3488 max-width: 1280px;
3489 margin: 0 auto;
3490 padding: 0 1rem;
3491 }
3492 .shithub-org-pagehead-title {
3493 display: inline-flex;
3494 align-items: center;
3495 gap: 0.6rem;
3496 color: var(--fg-default);
3497 font-size: 1.25rem;
3498 font-weight: 600;
3499 line-height: 1.25;
3500 }
3501 .shithub-org-pagehead-title:hover {
3502 text-decoration: none;
3503 }
3504 .shithub-org-pagehead-title img {
3505 display: block;
3506 width: 30px;
3507 height: 30px;
3508 border-radius: 6px;
3509 border: 1px solid var(--border-muted);
3510 background: var(--canvas-subtle);
3511 }
3512 .shithub-org-pagehead .shithub-org-nav {
3513 max-width: 1280px;
3514 margin: 0.9rem auto 0;
3515 padding: 0 1rem;
3516 border-bottom: 0;
3517 }
3518
3519 /* Organization settings profile page. Keeps the GitHub settings shell:
3520 org pagehead, left settings nav, main form, avatar aside, boxed rows. */
3521 .shithub-org-settings-page {
3522 max-width: none;
3523 }
3524 .shithub-org-settings-layout {
3525 display: grid;
3526 grid-template-columns: 250px minmax(0, 1fr);
3527 gap: 1.5rem;
3528 max-width: 1280px;
3529 margin: 0 auto;
3530 padding: 1.5rem 1rem 2rem;
3531 }
3532 .shithub-org-settings-sidebar h1 {
3533 margin: 0 0 1rem;
3534 font-size: 1.5rem;
3535 line-height: 1.25;
3536 }
3537 .shithub-org-settings-menu {
3538 display: grid;
3539 gap: 0.15rem;
3540 font-size: 0.875rem;
3541 }
3542 .shithub-org-settings-menu a,
3543 .shithub-org-settings-menu span {
3544 display: flex;
3545 align-items: center;
3546 gap: 0.5rem;
3547 min-height: 32px;
3548 padding: 0.35rem 0.65rem;
3549 border-radius: 6px;
3550 color: var(--fg-default);
3551 text-decoration: none;
3552 }
3553 .shithub-org-settings-menu a:hover {
3554 background: var(--canvas-subtle);
3555 text-decoration: none;
3556 }
3557 .shithub-org-settings-menu .is-selected {
3558 font-weight: 600;
3559 background: var(--canvas-subtle);
3560 box-shadow: inset 2px 0 0 var(--accent-emphasis);
3561 }
3562 .shithub-org-settings-menu span[aria-disabled="true"] {
3563 color: var(--fg-muted);
3564 }
3565 .shithub-org-settings-menu h2 {
3566 margin: 1rem 0 0.25rem;
3567 padding-top: 0.75rem;
3568 border-top: 1px solid var(--border-default);
3569 color: var(--fg-muted);
3570 font-size: 0.75rem;
3571 font-weight: 600;
3572 text-transform: uppercase;
3573 }
3574 .shithub-org-settings-main {
3575 min-width: 0;
3576 max-width: 880px;
3577 }
3578 .shithub-org-settings-profile {
3579 padding-bottom: 1rem;
3580 border-bottom: 1px solid var(--border-muted, var(--border-default));
3581 }
3582 .shithub-org-settings-profile-grid {
3583 display: grid;
3584 grid-template-columns: minmax(0, 1fr) 220px;
3585 gap: 2rem;
3586 align-items: start;
3587 }
3588 .shithub-org-settings-form {
3589 display: grid;
3590 gap: 0.85rem;
3591 max-width: 544px;
3592 }
3593 .shithub-org-settings-form label {
3594 display: grid;
3595 gap: 0.25rem;
3596 font-weight: 600;
3597 }
3598 .shithub-org-settings-form label small {
3599 color: var(--fg-muted);
3600 font-weight: 400;
3601 }
3602 .shithub-org-settings-form input[type=text],
3603 .shithub-org-settings-form input[type=email],
3604 .shithub-org-settings-form input[type=url],
3605 .shithub-org-settings-form textarea {
3606 width: 100%;
3607 padding: 0.5rem 0.75rem;
3608 border-radius: 6px;
3609 }
3610 .shithub-org-settings-form textarea {
3611 min-height: 76px;
3612 resize: vertical;
3613 }
3614 .shithub-org-settings-checkbox {
3615 grid-template-columns: auto minmax(0, 1fr);
3616 align-items: start;
3617 font-weight: 400;
3618 }
3619 .shithub-org-settings-checkbox input {
3620 margin-top: 0.3rem;
3621 }
3622 .shithub-org-settings-form .shithub-button {
3623 justify-self: start;
3624 }
3625 .shithub-org-settings-avatar h3 {
3626 margin: 0 0 0.75rem;
3627 font-size: 0.9rem;
3628 }
3629 .shithub-org-settings-avatar .shithub-profile-edit-avatar {
3630 border-radius: 6px;
3631 }
3632 .shithub-org-settings-avatar form {
3633 display: grid;
3634 gap: 0.5rem;
3635 margin: 0.75rem 0 0;
3636 }
3637 .shithub-org-settings-section {
3638 margin-top: 1.5rem;
3639 }
3640 .shithub-org-settings-box {
3641 overflow: hidden;
3642 border: 1px solid var(--border-default);
3643 border-radius: 6px;
3644 background: var(--canvas-default);
3645 }
3646 .shithub-org-settings-row {
3647 display: grid;
3648 grid-template-columns: minmax(0, 1fr) auto;
3649 gap: 1rem;
3650 align-items: center;
3651 padding: 1rem;
3652 border-top: 1px solid var(--border-muted, var(--border-default));
3653 }
3654 .shithub-org-settings-row:first-child {
3655 border-top: 0;
3656 }
3657 .shithub-org-settings-row p {
3658 margin: 0.15rem 0 0;
3659 color: var(--fg-muted);
3660 }
3661 .shithub-org-import-create {
3662 display: grid;
3663 gap: 0.75rem;
3664 margin: 1rem 0;
3665 padding: 1rem;
3666 border: 1px solid var(--border-default);
3667 border-radius: 6px;
3668 }
3669 .shithub-org-import-create legend {
3670 padding: 0 0.35rem;
3671 font-weight: 600;
3672 }
3673 .shithub-org-import-create p {
3674 margin: 0;
3675 color: var(--fg-muted);
3676 }
3677 .shithub-org-import-form {
3678 max-width: 640px;
3679 }
3680 .shithub-org-import-history {
3681 overflow: hidden;
3682 border: 1px solid var(--border-default);
3683 border-radius: 6px;
3684 }
3685 .shithub-org-import-history-row {
3686 display: grid;
3687 grid-template-columns: minmax(0, 1fr) auto auto;
3688 gap: 1rem;
3689 align-items: center;
3690 padding: 0.75rem 1rem;
3691 border-top: 1px solid var(--border-muted, var(--border-default));
3692 color: var(--fg-default);
3693 text-decoration: none;
3694 }
3695 .shithub-org-import-history-row:first-child {
3696 border-top: 0;
3697 }
3698 .shithub-org-import-history-row:hover {
3699 background: var(--canvas-subtle);
3700 text-decoration: none;
3701 }
3702 .shithub-org-import-progress {
3703 max-width: 960px;
3704 margin: 0 auto;
3705 padding: 1.5rem 1rem 3rem;
3706 }
3707 .shithub-org-import-progress-head {
3708 display: flex;
3709 justify-content: space-between;
3710 gap: 1rem;
3711 align-items: center;
3712 padding-bottom: 1rem;
3713 border-bottom: 1px solid var(--border-default);
3714 }
3715 .shithub-org-import-progress-head h1 {
3716 margin: 0.15rem 0 0;
3717 font-size: 1.5rem;
3718 }
3719 .shithub-org-import-status {
3720 display: inline-flex;
3721 align-items: center;
3722 gap: 0.35rem;
3723 width: max-content;
3724 padding: 0.15rem 0.5rem;
3725 border: 1px solid var(--border-default);
3726 border-radius: 999px;
3727 color: var(--fg-muted);
3728 font-size: 0.75rem;
3729 font-weight: 600;
3730 text-transform: capitalize;
3731 }
3732 .shithub-org-import-status.is-imported,
3733 .shithub-org-import-status.is-completed {
3734 color: var(--success-fg);
3735 border-color: color-mix(in srgb, var(--success-fg) 45%, transparent);
3736 }
3737 .shithub-org-import-status.is-failed {
3738 color: var(--danger-fg);
3739 border-color: color-mix(in srgb, var(--danger-fg) 45%, transparent);
3740 }
3741 .shithub-org-import-status.is-importing,
3742 .shithub-org-import-status.is-discovering {
3743 color: var(--accent-fg);
3744 border-color: color-mix(in srgb, var(--accent-fg) 45%, transparent);
3745 }
3746 .shithub-org-import-counts {
3747 display: grid;
3748 grid-template-columns: repeat(5, minmax(0, 1fr));
3749 gap: 0;
3750 margin: 1rem 0;
3751 overflow: hidden;
3752 border: 1px solid var(--border-default);
3753 border-radius: 6px;
3754 background: var(--canvas-default);
3755 }
3756 .shithub-org-import-counts div {
3757 display: grid;
3758 gap: 0.15rem;
3759 padding: 0.8rem 1rem;
3760 border-left: 1px solid var(--border-muted, var(--border-default));
3761 }
3762 .shithub-org-import-counts div:first-child {
3763 border-left: 0;
3764 }
3765 .shithub-org-import-counts strong {
3766 font-size: 1.2rem;
3767 }
3768 .shithub-org-import-counts span {
3769 color: var(--fg-muted);
3770 font-size: 0.8rem;
3771 }
3772 .shithub-org-import-list {
3773 overflow: hidden;
3774 border: 1px solid var(--border-default);
3775 border-radius: 6px;
3776 background: var(--canvas-default);
3777 }
3778 .shithub-org-import-row {
3779 display: grid;
3780 grid-template-columns: minmax(0, 1fr) auto;
3781 gap: 1rem;
3782 align-items: center;
3783 padding: 0.85rem 1rem;
3784 border-top: 1px solid var(--border-muted, var(--border-default));
3785 }
3786 .shithub-org-import-row:first-child {
3787 border-top: 0;
3788 }
3789 .shithub-org-import-row-title {
3790 display: flex;
3791 flex-wrap: wrap;
3792 gap: 0.45rem;
3793 align-items: center;
3794 font-weight: 600;
3795 }
3796 .shithub-org-import-row p {
3797 margin: 0.2rem 0 0;
3798 color: var(--fg-muted);
3799 }
3800 .shithub-org-import-row .shithub-org-import-error {
3801 color: var(--danger-fg);
3802 }
3803 .shithub-spinner {
3804 width: 12px;
3805 height: 12px;
3806 border: 2px solid currentColor;
3807 border-right-color: transparent;
3808 border-radius: 50%;
3809 animation: shithub-spin 0.75s linear infinite;
3810 }
3811 .shithub-org-import-actions {
3812 display: flex;
3813 gap: 0.5rem;
3814 margin-top: 1rem;
3815 }
3816 @keyframes shithub-spin {
3817 to { transform: rotate(360deg); }
3818 }
3819 .shithub-org-danger-box {
3820 margin-top: 0.75rem;
3821 }
3822 .shithub-org-danger-row {
3823 display: grid;
3824 grid-template-columns: minmax(0, 1fr) auto;
3825 gap: 1rem;
3826 align-items: start;
3827 }
3828 .shithub-org-danger-row .listgroup-item-title {
3829 font-weight: 600;
3830 }
3831 .shithub-org-danger-row .listgroup-item-body {
3832 margin-top: 0.15rem;
3833 color: var(--fg-muted);
3834 }
3835 .shithub-org-danger-details {
3836 display: grid;
3837 justify-items: end;
3838 gap: 0.75rem;
3839 }
3840 .shithub-org-danger-details > summary {
3841 list-style: none;
3842 }
3843 .shithub-org-danger-details > summary::-webkit-details-marker {
3844 display: none;
3845 }
3846 .shithub-org-delete-form {
3847 display: grid;
3848 gap: 0.75rem;
3849 width: min(320px, 100%);
3850 padding: 0.75rem;
3851 border: 1px solid var(--border-default);
3852 border-radius: 6px;
3853 background: var(--canvas-subtle);
3854 }
3855 .shithub-org-delete-form label {
3856 display: grid;
3857 gap: 0.35rem;
3858 font-weight: 600;
3859 }
3860 .shithub-org-delete-form input[type=text] {
3861 width: 100%;
3862 padding: 0.5rem 0.75rem;
3863 border-radius: 6px;
3864 }
3865 .shithub-org-people-layout {
3866 display: grid;
3867 grid-template-columns: 250px minmax(0, 1fr);
3868 gap: 1.5rem;
3869 max-width: 1280px;
3870 margin: 0 auto;
3871 padding: 1.5rem 1rem 2rem;
3872 }
3873 .shithub-org-people-sidebar {
3874 min-width: 0;
3875 }
3876 .shithub-org-people-sidebar h1 {
3877 margin: 0 0 1rem;
3878 font-size: 1.5rem;
3879 line-height: 1.25;
3880 }
3881 .shithub-org-people-menu {
3882 overflow: hidden;
3883 border: 1px solid var(--border-default);
3884 border-radius: 6px;
3885 background: var(--canvas-default);
3886 }
3887 .shithub-org-people-menu h2 {
3888 display: flex;
3889 align-items: center;
3890 justify-content: space-between;
3891 margin: 0;
3892 padding: 0.65rem 0.85rem;
3893 border-bottom: 1px solid var(--border-default);
3894 background: var(--canvas-subtle);
3895 font-size: 0.875rem;
3896 font-weight: 600;
3897 }
3898 .shithub-org-people-menu a {
3899 display: flex;
3900 align-items: center;
3901 justify-content: space-between;
3902 gap: 1rem;
3903 padding: 0.55rem 0.85rem;
3904 border-bottom: 1px solid var(--border-muted);
3905 color: var(--fg-default);
3906 font-size: 0.875rem;
3907 }
3908 .shithub-org-people-menu a:last-child {
3909 border-bottom: 0;
3910 }
3911 .shithub-org-people-menu a:hover {
3912 background: var(--canvas-subtle);
3913 text-decoration: none;
3914 }
3915 .shithub-org-people-menu a.is-selected {
3916 color: var(--fg-default);
3917 font-weight: 600;
3918 background: var(--canvas-subtle);
3919 box-shadow: inset 2px 0 0 #fd8c73;
3920 }
3921 .shithub-org-people-main {
3922 min-width: 0;
3923 }
3924 .shithub-org-people-toolbar {
3925 display: flex;
3926 align-items: flex-start;
3927 justify-content: space-between;
3928 gap: 0.75rem;
3929 margin-bottom: 1rem;
3930 }
3931 .shithub-org-people-search {
3932 position: relative;
3933 flex: 1 1 360px;
3934 max-width: 480px;
3935 }
3936 .shithub-org-people-search svg {
3937 position: absolute;
3938 top: 50%;
3939 left: 0.75rem;
3940 width: 16px;
3941 height: 16px;
3942 color: var(--fg-muted);
3943 transform: translateY(-50%);
3944 pointer-events: none;
3945 }
3946 .shithub-org-people-search input,
3947 .shithub-org-people-invite-panel input,
3948 .shithub-org-people-invite-panel select,
3949 .shithub-org-people-actions select {
3950 width: 100%;
3951 min-height: 34px;
3952 border: 1px solid var(--border-default);
3953 border-radius: 6px;
3954 background: var(--canvas-default);
3955 color: var(--fg-default);
3956 font: inherit;
3957 }
3958 .shithub-org-people-search input {
3959 padding: 0.35rem 0.75rem 0.35rem 2.25rem;
3960 }
3961 .shithub-org-people-invite {
3962 position: relative;
3963 flex: 0 0 auto;
3964 }
3965 .shithub-org-people-invite > summary {
3966 list-style: none;
3967 cursor: pointer;
3968 }
3969 .shithub-org-people-invite > summary::-webkit-details-marker {
3970 display: none;
3971 }
3972 .shithub-org-people-invite-panel {
3973 position: absolute;
3974 right: 0;
3975 top: calc(100% + 0.45rem);
3976 z-index: 25;
3977 display: grid;
3978 gap: 0.75rem;
3979 width: min(360px, calc(100vw - 2rem));
3980 padding: 1rem;
3981 border: 1px solid var(--border-default);
3982 border-radius: 8px;
3983 background: var(--canvas-default);
3984 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
3985 }
3986 .shithub-org-people-invite-panel label {
3987 display: grid;
3988 gap: 0.35rem;
3989 color: var(--fg-default);
3990 font-size: 0.875rem;
3991 font-weight: 600;
3992 }
3993 .shithub-org-people-invite-panel input,
3994 .shithub-org-people-invite-panel select,
3995 .shithub-org-people-actions select {
3996 padding: 0.35rem 0.65rem;
3997 }
3998 .shithub-org-people-card {
3999 overflow: hidden;
4000 border: 1px solid var(--border-default);
4001 border-radius: 6px;
4002 background: var(--canvas-default);
4003 }
4004 .shithub-org-people-list {
4005 list-style: none;
4006 padding: 0;
4007 margin: 0;
4008 }
4009 .shithub-org-people-row {
4010 display: grid;
4011 grid-template-columns: 64px minmax(0, 1fr) auto auto;
4012 gap: 0.75rem;
4013 align-items: center;
4014 min-height: 76px;
4015 padding: 0.75rem 1rem;
4016 border-top: 1px solid var(--border-default);
4017 }
4018 .shithub-org-people-row:first-child {
4019 border-top: 0;
4020 }
4021 .shithub-org-people-avatar {
4022 display: inline-flex;
4023 width: 48px;
4024 height: 48px;
4025 }
4026 .shithub-org-people-avatar img {
4027 width: 48px;
4028 height: 48px;
4029 border-radius: 50%;
4030 border: 1px solid var(--border-muted);
4031 background: var(--canvas-subtle);
4032 }
4033 .shithub-org-people-member {
4034 display: grid;
4035 min-width: 0;
4036 line-height: 1.35;
4037 }
4038 .shithub-org-people-name {
4039 overflow: hidden;
4040 color: var(--fg-default);
4041 font-size: 1rem;
4042 font-weight: 600;
4043 text-overflow: ellipsis;
4044 white-space: nowrap;
4045 }
4046 .shithub-org-people-username {
4047 overflow: hidden;
4048 color: var(--fg-muted);
4049 font-size: 0.875rem;
4050 text-overflow: ellipsis;
4051 white-space: nowrap;
4052 }
4053 .shithub-org-people-meta {
4054 display: flex;
4055 align-items: center;
4056 justify-content: flex-end;
4057 gap: 0.65rem;
4058 color: var(--fg-muted);
4059 font-size: 0.875rem;
4060 white-space: nowrap;
4061 }
4062 .shithub-org-people-actions {
4063 display: flex;
4064 align-items: center;
4065 justify-content: flex-end;
4066 gap: 0.5rem;
4067 }
4068 .shithub-org-people-actions form {
4069 margin: 0;
4070 }
4071 .shithub-org-people-actions select {
4072 min-width: 104px;
4073 background: var(--canvas-subtle);
4074 }
4075 .shithub-org-people-empty {
4076 display: grid;
4077 place-items: center;
4078 gap: 0.75rem;
4079 min-height: 190px;
4080 padding: 2rem;
4081 color: var(--fg-muted);
4082 text-align: center;
4083 }
4084 .shithub-org-people-empty svg {
4085 width: 32px;
4086 height: 32px;
4087 }
4088 .shithub-org-people-empty h2 {
4089 margin: 0;
4090 color: var(--fg-default);
4091 font-size: 1.15rem;
4092 }
4093 .shithub-org-pending {
4094 margin-top: 1.5rem;
4095 }
4096 .shithub-org-pending h2 {
4097 margin: 0 0 0.75rem;
4098 font-size: 1rem;
4099 }
4100 .shithub-org-pending-list {
4101 overflow: hidden;
4102 list-style: none;
4103 padding: 0;
4104 margin: 0;
4105 border: 1px solid var(--border-default);
4106 border-radius: 6px;
4107 background: var(--canvas-default);
4108 }
4109 .shithub-org-pending-list li {
4110 display: flex;
4111 align-items: center;
4112 gap: 0.75rem;
4113 padding: 0.75rem 1rem;
4114 border-top: 1px solid var(--border-default);
4115 }
4116 .shithub-org-pending-list li:first-child {
4117 border-top: 0;
4118 }
4119 .shithub-org-profile-head {
4120 max-width: 1280px;
4121 margin: 0 auto;
4122 padding: 1.5rem 1rem 0;
4123 }
4124
4125 .shithub-org-teams-head {
4126 padding-bottom: 0.25rem;
4127 }
4128
4129 .shithub-org-teams-title,
4130 .shithub-org-team-title-row {
4131 display: flex;
4132 align-items: center;
4133 gap: 0.85rem;
4134 }
4135
4136 .shithub-org-teams-title h1,
4137 .shithub-org-team-title-row h1 {
4138 margin: 0;
4139 font-size: 1.5rem;
4140 line-height: 1.25;
4141 }
4142
4143 .shithub-org-teams-avatar,
4144 .shithub-org-team-avatar {
4145 flex: 0 0 auto;
4146 width: 48px;
4147 height: 48px;
4148 border: 1px solid var(--border-default);
4149 border-radius: 6px;
4150 background: var(--canvas-subtle);
4151 }
4152
4153 .shithub-org-team-avatar {
4154 display: inline-flex;
4155 align-items: center;
4156 justify-content: center;
4157 color: var(--fg-muted);
4158 }
4159
4160 .shithub-org-teams-layout,
4161 .shithub-org-team-view-layout {
4162 max-width: 1280px;
4163 margin: 0 auto;
4164 display: grid;
4165 gap: 2rem;
4166 padding: 1.5rem 1rem 2.5rem;
4167 }
4168
4169 .shithub-org-teams-layout {
4170 grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
4171 }
4172
4173 .shithub-org-team-view-layout {
4174 grid-template-columns: minmax(0, 1fr) 296px;
4175 }
4176
4177 .shithub-org-teams-main,
4178 .shithub-org-team-view-main {
4179 min-width: 0;
4180 }
4181
4182 .shithub-org-team-toolbar {
4183 display: flex;
4184 justify-content: space-between;
4185 gap: 1rem;
4186 align-items: flex-start;
4187 margin-bottom: 1rem;
4188 }
4189
4190 .shithub-org-team-toolbar h2,
4191 .shithub-org-team-panel h2,
4192 .shithub-org-team-manage-box h2 {
4193 margin: 0;
4194 font-size: 1rem;
4195 font-weight: 600;
4196 }
4197
4198 .shithub-org-team-toolbar p,
4199 .shithub-org-team-panel-head p,
4200 .shithub-org-team-manage-box p {
4201 margin: 0.3rem 0 0;
4202 color: var(--fg-muted);
4203 font-size: 0.875rem;
4204 }
4205
4206 .shithub-org-team-create {
4207 position: relative;
4208 flex: 0 0 auto;
4209 }
4210
4211 .shithub-org-team-create summary {
4212 list-style: none;
4213 }
4214
4215 .shithub-org-team-create summary::-webkit-details-marker {
4216 display: none;
4217 }
4218
4219 .shithub-org-team-create[open] summary {
4220 border-bottom-left-radius: 0;
4221 border-bottom-right-radius: 0;
4222 }
4223
4224 .shithub-org-team-create-form {
4225 position: absolute;
4226 right: 0;
4227 z-index: 30;
4228 width: min(360px, calc(100vw - 2rem));
4229 display: grid;
4230 gap: 0.75rem;
4231 padding: 1rem;
4232 border: 1px solid var(--border-default);
4233 border-radius: 6px 0 6px 6px;
4234 background: var(--canvas-default);
4235 box-shadow: 0 16px 48px rgba(1, 4, 9, 0.32);
4236 }
4237
4238 .shithub-org-team-create-form label,
4239 .shithub-org-team-manage-box label {
4240 display: grid;
4241 gap: 0.35rem;
4242 color: var(--fg-default);
4243 font-size: 0.875rem;
4244 font-weight: 600;
4245 }
4246
4247 .shithub-org-team-create-form input,
4248 .shithub-org-team-create-form select,
4249 .shithub-org-team-manage-box input,
4250 .shithub-org-team-manage-box select {
4251 width: 100%;
4252 min-height: 34px;
4253 padding: 0.35rem 0.6rem;
4254 border-radius: 6px;
4255 }
4256
4257 .shithub-org-team-filters {
4258 display: grid;
4259 grid-template-columns: minmax(0, 1fr) auto;
4260 gap: 0.5rem;
4261 margin-bottom: 0.75rem;
4262 }
4263
4264 .shithub-org-team-search {
4265 position: relative;
4266 display: block;
4267 }
4268
4269 .shithub-org-team-search svg {
4270 position: absolute;
4271 top: 50%;
4272 left: 0.7rem;
4273 transform: translateY(-50%);
4274 color: var(--fg-muted);
4275 pointer-events: none;
4276 }
4277
4278 .shithub-org-team-search input {
4279 width: 100%;
4280 min-height: 34px;
4281 padding: 0.35rem 0.7rem 0.35rem 2rem;
4282 border-radius: 6px;
4283 }
4284
4285 .shithub-org-team-filter-tabs,
4286 .shithub-org-team-tabs {
4287 display: flex;
4288 gap: 0.25rem;
4289 border-bottom: 1px solid var(--border-default);
4290 margin-bottom: 0;
4291 overflow-x: auto;
4292 }
4293
4294 .shithub-org-team-filter-tabs a,
4295 .shithub-org-team-tabs a {
4296 display: inline-flex;
4297 align-items: center;
4298 gap: 0.35rem;
4299 padding: 0.65rem 0.75rem;
4300 border-bottom: 2px solid transparent;
4301 color: var(--fg-default);
4302 font-size: 0.875rem;
4303 white-space: nowrap;
4304 }
4305
4306 .shithub-org-team-filter-tabs a:hover,
4307 .shithub-org-team-tabs a:hover {
4308 background: var(--canvas-subtle);
4309 border-radius: 6px 6px 0 0;
4310 text-decoration: none;
4311 }
4312
4313 .shithub-org-team-filter-tabs a.is-selected,
4314 .shithub-org-team-tabs a.is-selected {
4315 border-bottom-color: #fd8c73;
4316 font-weight: 600;
4317 }
4318
4319 .shithub-org-team-filter-tabs span,
4320 .shithub-org-team-tabs span {
4321 padding: 0.05rem 0.45rem;
4322 border-radius: 999px;
4323 background: var(--canvas-subtle);
4324 color: var(--fg-muted);
4325 font-size: 0.75rem;
4326 font-weight: 500;
4327 }
4328
4329 .shithub-org-team-list,
4330 .shithub-org-team-member-list,
4331 .shithub-org-team-repo-list {
4332 list-style: none;
4333 padding: 0;
4334 margin: 0;
4335 border: 1px solid var(--border-default);
4336 border-top: 0;
4337 border-radius: 0 0 6px 6px;
4338 overflow: hidden;
4339 background: var(--canvas-default);
4340 }
4341
4342 .shithub-org-team-list-compact {
4343 border-top: 1px solid var(--border-default);
4344 border-radius: 6px;
4345 }
4346
4347 .shithub-org-team-row,
4348 .shithub-org-team-member-row,
4349 .shithub-org-team-repo-row {
4350 display: grid;
4351 gap: 1rem;
4352 align-items: center;
4353 padding: 1rem;
4354 border-top: 1px solid var(--border-default);
4355 }
4356
4357 .shithub-org-team-row:first-child,
4358 .shithub-org-team-member-row:first-child,
4359 .shithub-org-team-repo-row:first-child {
4360 border-top: 0;
4361 }
4362
4363 .shithub-org-team-row {
4364 grid-template-columns: 40px minmax(0, 1fr);
4365 }
4366
4367 .shithub-org-team-row-icon,
4368 .shithub-org-team-repo-icon {
4369 display: inline-flex;
4370 align-items: center;
4371 justify-content: center;
4372 width: 40px;
4373 height: 40px;
4374 border: 1px solid var(--border-default);
4375 border-radius: 6px;
4376 background: var(--canvas-subtle);
4377 color: var(--fg-muted);
4378 }
4379
4380 .shithub-org-team-row-title {
4381 display: flex;
4382 align-items: center;
4383 gap: 0.45rem;
4384 flex-wrap: wrap;
4385 font-weight: 600;
4386 }
4387
4388 .shithub-org-team-row-main p {
4389 margin: 0.35rem 0 0;
4390 color: var(--fg-muted);
4391 font-size: 0.875rem;
4392 }
4393
4394 .shithub-org-team-row-meta {
4395 display: flex;
4396 flex-wrap: wrap;
4397 gap: 0.45rem 1rem;
4398 margin-top: 0.65rem;
4399 color: var(--fg-muted);
4400 font-size: 0.8rem;
4401 }
4402
4403 .shithub-org-team-row-meta span,
4404 .shithub-org-team-repo-main {
4405 display: inline-flex;
4406 align-items: center;
4407 gap: 0.35rem;
4408 }
4409
4410 .shithub-org-team-view-head {
4411 padding-bottom: 0.25rem;
4412 }
4413
4414 .shithub-org-team-breadcrumb {
4415 display: flex;
4416 gap: 0.4rem;
4417 align-items: center;
4418 margin-bottom: 0.75rem;
4419 color: var(--fg-muted);
4420 font-size: 0.875rem;
4421 }
4422
4423 .shithub-org-team-title-row {
4424 flex-wrap: wrap;
4425 }
4426
4427 .shithub-org-team-description {
4428 max-width: 760px;
4429 margin: 0.85rem 0 0;
4430 }
4431
4432 .shithub-org-team-tabs {
4433 margin-bottom: 0;
4434 }
4435
4436 .shithub-org-team-panel {
4437 margin-top: 1.5rem;
4438 }
4439
4440 .shithub-org-team-panel-head {
4441 margin-bottom: 0.75rem;
4442 }
4443
4444 .shithub-org-team-member-row {
4445 grid-template-columns: 40px minmax(0, 1fr) auto;
4446 }
4447
4448 .shithub-org-team-member-row img {
4449 width: 40px;
4450 height: 40px;
4451 border-radius: 50%;
4452 border: 1px solid var(--border-muted);
4453 }
4454
4455 .shithub-org-team-member-row p,
4456 .shithub-org-team-repo-row p {
4457 margin: 0.25rem 0 0;
4458 color: var(--fg-muted);
4459 font-size: 0.8rem;
4460 }
4461
4462 .shithub-org-team-repo-row {
4463 grid-template-columns: minmax(0, 1fr) auto;
4464 }
4465
4466 .shithub-org-team-repo-main {
4467 min-width: 0;
4468 }
4469
4470 .shithub-org-team-repo-main > div {
4471 min-width: 0;
4472 }
4473
4474 .shithub-org-team-manage {
4475 min-width: 0;
4476 }
4477
4478 .shithub-org-team-manage-box {
4479 padding: 1rem 0;
4480 border-top: 1px solid var(--border-default);
4481 }
4482
4483 .shithub-org-team-manage-box:first-child {
4484 padding-top: 0;
4485 border-top: 0;
4486 }
4487
4488 .shithub-org-team-manage-box form {
4489 display: grid;
4490 gap: 0.75rem;
4491 margin-top: 0.75rem;
4492 }
4493
4494 @media (max-width: 900px) {
4495 .shithub-org-teams-layout,
4496 .shithub-org-team-view-layout {
4497 grid-template-columns: 1fr;
4498 }
4499
4500 .shithub-org-team-create-form {
4501 position: static;
4502 margin-top: 0.5rem;
4503 width: 100%;
4504 border-radius: 6px;
4505 }
4506 }
4507
4508 @media (max-width: 640px) {
4509 .shithub-org-team-toolbar,
4510 .shithub-org-team-filters {
4511 grid-template-columns: 1fr;
4512 }
4513
4514 .shithub-org-team-toolbar {
4515 display: grid;
4516 }
4517
4518 .shithub-org-team-member-row,
4519 .shithub-org-team-repo-row {
4520 grid-template-columns: 1fr;
4521 }
4522
4523 .shithub-org-team-member-row img {
4524 display: none;
4525 }
4526 }
4527
4528 .shithub-modal-open {
4529 overflow: hidden;
4530 }
4531 .shithub-pins-overlay {
4532 position: fixed;
4533 inset: 0;
4534 z-index: 100;
4535 display: flex;
4536 align-items: center;
4537 justify-content: center;
4538 padding: 1rem;
4539 background: rgba(1, 4, 9, 0.55);
4540 }
4541 .shithub-pins-overlay[hidden] {
4542 display: none;
4543 }
4544 .shithub-pins-dialog {
4545 width: min(480px, 100%);
4546 max-height: min(620px, calc(100vh - 2rem));
4547 display: flex;
4548 flex-direction: column;
4549 border: 1px solid var(--border-default);
4550 border-radius: 8px;
4551 background: var(--canvas-default);
4552 box-shadow: 0 16px 48px rgba(1, 4, 9, 0.42);
4553 overflow: hidden;
4554 }
4555 .shithub-pins-head {
4556 display: flex;
4557 align-items: center;
4558 justify-content: space-between;
4559 gap: 1rem;
4560 padding: 1rem;
4561 }
4562 .shithub-pins-head h2 {
4563 margin: 0;
4564 font-size: 1rem;
4565 }
4566 .shithub-pins-close {
4567 flex: 0 0 auto;
4568 }
4569 .shithub-pins-help {
4570 margin: 0;
4571 padding: 0 1rem 0.75rem;
4572 color: var(--fg-muted);
4573 font-size: 0.875rem;
4574 }
4575 .shithub-pins-dialog form {
4576 display: flex;
4577 min-height: 0;
4578 flex-direction: column;
4579 }
4580 .shithub-pins-filter {
4581 display: flex;
4582 align-items: center;
4583 gap: 0.5rem;
4584 margin: 0 1rem;
4585 padding: 0.4rem 0.65rem;
4586 border: 1px solid var(--border-default);
4587 border-radius: 6px;
4588 background: var(--canvas-subtle);
4589 color: var(--fg-muted);
4590 }
4591 .shithub-pins-filter input {
4592 min-width: 0;
4593 width: 100%;
4594 border: 0;
4595 outline: 0;
4596 background: transparent;
4597 color: var(--fg-default);
4598 font: inherit;
4599 }
4600 .shithub-pins-count {
4601 margin: 0.45rem 1rem 0.75rem;
4602 color: var(--fg-muted);
4603 font-size: 0.75rem;
4604 }
4605 .shithub-pins-count.is-full {
4606 color: var(--danger-fg, #cf222e);
4607 }
4608 .shithub-pins-list {
4609 min-height: 180px;
4610 max-height: 380px;
4611 overflow: auto;
4612 border-top: 1px solid var(--border-default);
4613 border-bottom: 1px solid var(--border-default);
4614 }
4615 .shithub-pins-row {
4616 display: grid;
4617 grid-template-columns: auto auto minmax(0, 1fr) auto;
4618 gap: 0.6rem;
4619 align-items: center;
4620 padding: 0.45rem 1rem;
4621 color: var(--fg-default);
4622 cursor: pointer;
4623 }
4624 .shithub-pins-row + .shithub-pins-row {
4625 border-top: 1px solid var(--border-muted, var(--border-default));
4626 }
4627 .shithub-pins-row:hover {
4628 background: var(--canvas-subtle);
4629 }
4630 .shithub-pins-row input {
4631 margin: 0;
4632 }
4633 .shithub-pins-row-icon {
4634 display: inline-flex;
4635 color: var(--fg-muted);
4636 }
4637 .shithub-pins-row-main {
4638 min-width: 0;
4639 }
4640 .shithub-pins-row-name {
4641 display: block;
4642 overflow: hidden;
4643 text-overflow: ellipsis;
4644 white-space: nowrap;
4645 font-weight: 600;
4646 }
4647 .shithub-pins-row-desc {
4648 display: block;
4649 margin-top: 0.1rem;
4650 overflow: hidden;
4651 text-overflow: ellipsis;
4652 white-space: nowrap;
4653 color: var(--fg-muted);
4654 font-size: 0.75rem;
4655 }
4656 .shithub-pins-row-stars {
4657 display: inline-flex;
4658 align-items: center;
4659 gap: 0.25rem;
4660 color: var(--fg-muted);
4661 font-size: 0.875rem;
4662 }
4663 .shithub-pins-empty {
4664 margin: 0;
4665 padding: 1.25rem;
4666 color: var(--fg-muted);
4667 text-align: center;
4668 }
4669 .shithub-pins-actions {
4670 display: flex;
4671 justify-content: flex-end;
4672 padding: 1rem;
4673 }
4674 @media (max-width: 960px) {
4675 .shithub-org-hero-inner,
4676 .shithub-org-layout,
4677 .shithub-org-settings-layout,
4678 .shithub-org-settings-profile-grid,
4679 .shithub-org-people-layout,
4680 .shithub-org-repo-head,
4681 .shithub-org-repositories-toolbar {
4682 grid-template-columns: 1fr;
4683 }
4684 .shithub-org-avatar {
4685 width: 80px;
4686 height: 80px;
4687 }
4688 .shithub-org-hero-actions,
4689 .shithub-org-repo-actions,
4690 .shithub-org-repositories-filters {
4691 justify-content: flex-start;
4692 }
4693 .shithub-org-repo-row {
4694 grid-template-columns: 1fr;
4695 }
4696 .shithub-org-people-toolbar,
4697 .shithub-org-people-row,
4698 .shithub-org-people-meta,
4699 .shithub-org-people-actions {
4700 align-items: stretch;
4701 }
4702 .shithub-org-people-toolbar {
4703 flex-direction: column;
4704 }
4705 .shithub-org-people-search {
4706 width: 100%;
4707 max-width: none;
4708 }
4709 .shithub-org-settings-main,
4710 .shithub-org-settings-form {
4711 max-width: none;
4712 }
4713 .shithub-org-people-row {
4714 grid-template-columns: 48px minmax(0, 1fr);
4715 }
4716 .shithub-org-people-meta,
4717 .shithub-org-people-actions {
4718 grid-column: 1 / -1;
4719 justify-content: flex-start;
4720 flex-wrap: wrap;
4721 }
4722 .shithub-org-repo-spark {
4723 display: none;
4724 }
4725 }
4726 @media (max-width: 640px) {
4727 .shithub-org-pinned-grid {
4728 grid-template-columns: 1fr;
4729 }
4730 .shithub-profile-pinned-grid {
4731 grid-template-columns: 1fr;
4732 }
4733 .shithub-org-nav {
4734 padding-inline: 0.5rem;
4735 }
4736 .shithub-org-layout,
4737 .shithub-org-hero,
4738 .shithub-org-settings-layout,
4739 .shithub-org-pagehead-inner,
4740 .shithub-org-people-layout {
4741 padding-inline: 0.75rem;
4742 }
4743 .shithub-org-settings-row,
4744 .shithub-org-danger-row {
4745 grid-template-columns: 1fr;
4746 }
4747 .shithub-org-danger-details {
4748 justify-items: start;
4749 }
4750 .shithub-org-pagehead .shithub-org-nav {
4751 padding-inline: 0.75rem;
4752 }
4753 }
4754
4755 .shithub-repo-header { margin-bottom: 1.25rem; }
4756 .shithub-repo-header-inner {
4757 display: flex;
4758 align-items: center;
4759 justify-content: space-between;
4760 gap: 1rem;
4761 padding: 0.25rem 0 0.75rem;
4762 }
4763 .shithub-repo-page-title { font-size: 1.4rem; margin: 0; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
4764 .shithub-repo-page-title a { color: var(--accent-fg, #4493f8); }
4765 .shithub-repo-page-title .shithub-repo-name { font-weight: 600; }
4766 .shithub-repo-title-icon { color: var(--fg-muted); display: inline-flex; align-items: center; }
4767 .shithub-repo-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
4768 .shithub-repo-action-form { margin: 0; }
4769 .shithub-repo-action {
4770 display: inline-flex;
4771 align-items: center;
4772 gap: 0.35rem;
4773 min-height: 32px;
4774 padding: 0 0.7rem;
4775 border: 1px solid var(--border-default);
4776 border-radius: 6px;
4777 color: var(--fg-default);
4778 background: var(--canvas-subtle);
4779 font-size: 0.875rem;
4780 font-weight: 600;
4781 line-height: 20px;
4782 white-space: nowrap;
4783 cursor: pointer;
4784 }
4785 .shithub-repo-action:hover { text-decoration: none; background: var(--canvas-inset); }
4786 button.shithub-repo-action {
4787 font-family: inherit;
4788 }
4789 .shithub-repo-action.is-active {
4790 color: var(--accent-fg);
4791 }
4792 .shithub-repo-action-label { color: inherit; }
4793 .shithub-repo-action .shithub-counter {
4794 color: var(--fg-muted);
4795 font-weight: 600;
4796 font-size: 0.75rem;
4797 padding: 0 0.35rem;
4798 min-width: 1.25rem;
4799 border-radius: 999px;
4800 background: rgba(110, 118, 129, 0.18);
4801 }
4802 .shithub-repo-action-menu { position: relative; }
4803 .shithub-repo-action-menu > summary { list-style: none; }
4804 .shithub-repo-action-menu > summary::-webkit-details-marker { display: none; }
4805 .shithub-repo-action-button svg:last-child {
4806 width: 12px;
4807 height: 12px;
4808 color: var(--fg-muted);
4809 }
4810 .shithub-repo-action-popover {
4811 position: absolute;
4812 right: 0;
4813 top: calc(100% + 0.4rem);
4814 z-index: 20;
4815 width: min(340px, calc(100vw - 2rem));
4816 padding: 0.5rem 0;
4817 border: 1px solid var(--border-default);
4818 border-radius: 8px;
4819 background: var(--canvas-default);
4820 box-shadow: 0 16px 32px rgba(1, 4, 9, 0.2);
4821 }
4822 .shithub-repo-action-popover strong {
4823 display: block;
4824 padding: 0.45rem 0.85rem 0.55rem;
4825 border-bottom: 1px solid var(--border-muted);
4826 }
4827 .shithub-repo-action-option-form { margin: 0; }
4828 .shithub-repo-action-option {
4829 width: 100%;
4830 display: grid;
4831 grid-template-columns: 16px minmax(0, 1fr);
4832 gap: 0.6rem;
4833 padding: 0.65rem 0.85rem;
4834 border: 0;
4835 border-bottom: 1px solid var(--border-muted);
4836 background: transparent;
4837 color: var(--fg-default);
4838 font: inherit;
4839 text-align: left;
4840 cursor: pointer;
4841 }
4842 .shithub-repo-action-option:hover { background: var(--canvas-subtle); }
4843 .shithub-repo-action-radio {
4844 width: 14px;
4845 height: 14px;
4846 margin-top: 0.25rem;
4847 border: 1px solid var(--border-default);
4848 border-radius: 50%;
4849 }
4850 .shithub-repo-action-option.is-selected .shithub-repo-action-radio {
4851 border-color: var(--accent-emphasis);
4852 box-shadow: inset 0 0 0 3px var(--canvas-default);
4853 background: var(--accent-emphasis);
4854 }
4855 .shithub-repo-action-option-title {
4856 display: block;
4857 font-weight: 600;
4858 }
4859 .shithub-repo-action-option-description {
4860 display: block;
4861 margin-top: 0.15rem;
4862 color: var(--fg-muted);
4863 font-size: 0.78rem;
4864 line-height: 1.35;
4865 }
4866 .shithub-repo-action-popover-link {
4867 display: block;
4868 padding: 0.55rem 0.85rem 0.35rem;
4869 color: var(--fg-muted);
4870 font-size: 0.82rem;
4871 }
4872 .shithub-repo-subnav {
4873 display: flex;
4874 gap: 0.25rem;
4875 margin: 0;
4876 border-bottom: 1px solid var(--border-default);
4877 overflow-x: auto;
4878 overflow-y: hidden;
4879 overscroll-behavior-x: contain;
4880 scrollbar-width: none;
4881 }
4882 .shithub-repo-subnav::-webkit-scrollbar {
4883 display: none;
4884 }
4885 .shithub-repo-subnav-tab {
4886 display: inline-flex;
4887 align-items: center;
4888 gap: 0.4rem;
4889 padding: 0.55rem 0.85rem;
4890 color: var(--fg-default);
4891 border-bottom: 2px solid transparent;
4892 font-size: 0.9rem;
4893 text-decoration: none;
4894 position: relative;
4895 bottom: -1px;
4896 flex: 0 0 auto;
4897 white-space: nowrap;
4898 }
4899 .shithub-repo-subnav-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; }
4900 .shithub-repo-subnav-tab.is-active { border-bottom-color: var(--accent-emphasis, #fd8c73); font-weight: 600; }
4901
4902 .shithub-repo-content-grid {
4903 display: grid;
4904 grid-template-columns: minmax(0, 1fr) 296px;
4905 gap: 1.5rem;
4906 align-items: start;
4907 }
4908 .shithub-repo-main { min-width: 0; }
4909
4910 .shithub-repo-product-page {
4911 max-width: 80rem;
4912 margin: 1.5rem auto 2rem;
4913 padding: 0 1rem;
4914 display: grid;
4915 grid-template-columns: 18rem minmax(0, 1fr);
4916 gap: 1.5rem;
4917 }
4918 .shithub-repo-product-sidebar { min-width: 0; }
4919 .shithub-repo-product-sidebar h2 {
4920 margin: 0 0 0.75rem;
4921 font-size: 1rem;
4922 }
4923 .shithub-repo-product-sidebar nav {
4924 display: grid;
4925 gap: 0.15rem;
4926 }
4927 .shithub-repo-product-sidebar a {
4928 display: block;
4929 padding: 0.45rem 0.6rem;
4930 border-radius: 6px;
4931 color: var(--fg-default);
4932 text-decoration: none;
4933 font-size: 0.875rem;
4934 }
4935 .shithub-repo-product-sidebar a:hover,
4936 .shithub-repo-product-sidebar a.is-active {
4937 background: var(--canvas-subtle);
4938 }
4939 .shithub-repo-product-main { min-width: 0; }
4940 .shithub-repo-product-head {
4941 display: flex;
4942 align-items: flex-start;
4943 gap: 0.8rem;
4944 padding-bottom: 1rem;
4945 border-bottom: 1px solid var(--border-default);
4946 }
4947 .shithub-repo-product-icon {
4948 display: inline-flex;
4949 align-items: center;
4950 justify-content: center;
4951 width: 2rem;
4952 height: 2rem;
4953 border: 1px solid var(--border-default);
4954 border-radius: 6px;
4955 color: var(--fg-muted);
4956 background: var(--canvas-subtle);
4957 flex: 0 0 auto;
4958 }
4959 .shithub-repo-product-head h1 {
4960 margin: 0 0 0.2rem;
4961 font-size: 1.5rem;
4962 font-weight: 600;
4963 }
4964 .shithub-repo-product-head p {
4965 margin: 0;
4966 color: var(--fg-muted);
4967 font-size: 0.95rem;
4968 }
4969 .shithub-repo-product-blankslate {
4970 margin-top: 1rem;
4971 border: 1px solid var(--border-default);
4972 border-radius: 6px;
4973 background: var(--canvas-default);
4974 }
4975 .shithub-repo-product-section {
4976 padding: 1rem;
4977 border-bottom: 1px solid var(--border-default);
4978 }
4979 .shithub-repo-product-section:last-child { border-bottom: 0; }
4980 .shithub-repo-product-section h2 {
4981 margin: 0 0 0.35rem;
4982 font-size: 1rem;
4983 }
4984 .shithub-repo-product-section p {
4985 margin: 0;
4986 color: var(--fg-muted);
4987 font-size: 0.9rem;
4988 }
4989 @media (max-width: 800px) {
4990 .shithub-repo-product-page {
4991 grid-template-columns: 1fr;
4992 }
4993 .shithub-repo-product-sidebar nav {
4994 display: flex;
4995 overflow-x: auto;
4996 }
4997 .shithub-repo-product-sidebar a {
4998 white-space: nowrap;
4999 }
5000 }
5001
5002 /* ========== Repository Actions ========== */
5003 .shithub-actions-page,
5004 .shithub-actions-run-layout {
5005 display: grid;
5006 grid-template-columns: 18rem minmax(0, 1fr);
5007 gap: 1.5rem;
5008 max-width: 1280px;
5009 margin: 0 auto;
5010 padding: 1.5rem 1rem;
5011 }
5012 .shithub-actions-sidebar {
5013 align-self: start;
5014 display: flex;
5015 flex-direction: column;
5016 gap: 0.25rem;
5017 }
5018 .shithub-actions-sidebar-section {
5019 margin-top: 1rem;
5020 padding-top: 0.75rem;
5021 border-top: 1px solid var(--border-default);
5022 }
5023 .shithub-actions-sidebar-section h2 {
5024 margin: 0 0 0.4rem;
5025 padding: 0 0.55rem;
5026 color: var(--fg-muted);
5027 font-size: 0.78rem;
5028 font-weight: 600;
5029 }
5030 .shithub-actions-sidebar-section p {
5031 margin: 0;
5032 padding: 0.25rem 0.55rem;
5033 color: var(--fg-muted);
5034 font-size: 0.85rem;
5035 }
5036 .shithub-actions-nav-item {
5037 display: grid;
5038 grid-template-columns: 1rem minmax(0, 1fr) auto;
5039 align-items: center;
5040 gap: 0.5rem;
5041 min-height: 2rem;
5042 padding: 0.35rem 0.55rem;
5043 border-radius: 6px;
5044 color: var(--fg-default);
5045 font-size: 0.9rem;
5046 text-decoration: none;
5047 }
5048 .shithub-actions-nav-item:hover,
5049 .shithub-actions-nav-item.is-active {
5050 background: var(--canvas-subtle);
5051 text-decoration: none;
5052 }
5053 .shithub-actions-nav-item span:nth-child(2) {
5054 overflow: hidden;
5055 text-overflow: ellipsis;
5056 white-space: nowrap;
5057 }
5058 .shithub-actions-nav-count {
5059 color: var(--fg-muted);
5060 font-size: 0.78rem;
5061 }
5062 .shithub-actions-main,
5063 .shithub-actions-run-main {
5064 min-width: 0;
5065 }
5066 .shithub-actions-head {
5067 display: flex;
5068 align-items: center;
5069 justify-content: space-between;
5070 gap: 1rem;
5071 margin-bottom: 1rem;
5072 }
5073 .shithub-actions-head h1 {
5074 margin: 0;
5075 font-size: 1.5rem;
5076 }
5077 .shithub-actions-head p {
5078 margin: 0.2rem 0 0;
5079 color: var(--fg-muted);
5080 }
5081 .shithub-actions-head-actions {
5082 position: relative;
5083 display: flex;
5084 align-items: center;
5085 gap: 0.5rem;
5086 }
5087 .shithub-actions-dispatch {
5088 position: relative;
5089 }
5090 .shithub-actions-dispatch summary {
5091 list-style: none;
5092 cursor: pointer;
5093 }
5094 .shithub-actions-dispatch summary::-webkit-details-marker {
5095 display: none;
5096 }
5097 .shithub-actions-dispatch-menu {
5098 position: absolute;
5099 z-index: 20;
5100 top: calc(100% + 0.4rem);
5101 right: 0;
5102 width: min(24rem, calc(100vw - 2rem));
5103 max-height: min(38rem, calc(100vh - 8rem));
5104 overflow: auto;
5105 padding: 0.75rem;
5106 border: 1px solid var(--border-default);
5107 border-radius: 6px;
5108 background: var(--canvas-overlay, var(--canvas-default));
5109 box-shadow: var(--shadow-large, 0 8px 24px rgba(140, 149, 159, 0.2));
5110 }
5111 .shithub-actions-dispatch-form {
5112 display: grid;
5113 gap: 0.7rem;
5114 padding-bottom: 0.75rem;
5115 border-bottom: 1px solid var(--border-muted);
5116 }
5117 .shithub-actions-dispatch-form + .shithub-actions-dispatch-form {
5118 padding-top: 0.75rem;
5119 }
5120 .shithub-actions-dispatch-form:last-child {
5121 padding-bottom: 0;
5122 border-bottom: 0;
5123 }
5124 .shithub-actions-dispatch-form header h2 {
5125 margin: 0;
5126 font-size: 0.95rem;
5127 }
5128 .shithub-actions-dispatch-form header code,
5129 .shithub-actions-dispatch-form small {
5130 color: var(--fg-muted);
5131 font-size: 0.78rem;
5132 }
5133 .shithub-actions-dispatch-form label {
5134 display: grid;
5135 gap: 0.25rem;
5136 color: var(--fg-default);
5137 font-size: 0.84rem;
5138 }
5139 .shithub-actions-dispatch-form input[type="text"],
5140 .shithub-actions-dispatch-form select {
5141 width: 100%;
5142 min-width: 0;
5143 padding: 0.38rem 0.5rem;
5144 border: 1px solid var(--border-default);
5145 border-radius: 6px;
5146 background: var(--canvas-default);
5147 color: var(--fg-default);
5148 }
5149 .shithub-actions-dispatch-check {
5150 display: inline-flex;
5151 align-items: center;
5152 width: fit-content;
5153 }
5154 .shithub-actions-dispatch-check input[type="checkbox"] {
5155 width: 1rem;
5156 height: 1rem;
5157 }
5158 .shithub-actions-filters {
5159 display: grid;
5160 grid-template-columns: minmax(9rem, 1fr) repeat(3, minmax(8rem, 0.7fr)) minmax(8rem, 0.8fr) auto auto;
5161 gap: 0.5rem;
5162 margin-bottom: 1rem;
5163 }
5164 .shithub-actions-search {
5165 display: flex;
5166 align-items: center;
5167 gap: 0.45rem;
5168 min-width: 0;
5169 padding: 0.35rem 0.55rem;
5170 border: 1px solid var(--border-default);
5171 border-radius: 6px;
5172 background: var(--canvas-default);
5173 color: var(--fg-muted);
5174 }
5175 .shithub-actions-search input {
5176 width: 100%;
5177 min-width: 0;
5178 border: 0;
5179 outline: 0;
5180 background: transparent;
5181 color: var(--fg-muted);
5182 }
5183 .shithub-actions-search input:focus {
5184 color: var(--fg-default);
5185 }
5186 .shithub-actions-select select {
5187 width: 100%;
5188 min-height: 2.05rem;
5189 padding: 0.35rem 2rem 0.35rem 0.55rem;
5190 border: 1px solid var(--border-default);
5191 border-radius: 6px;
5192 background: var(--canvas-default);
5193 color: var(--fg-default);
5194 font: inherit;
5195 }
5196 .shithub-actions-filter-button {
5197 display: inline-flex;
5198 align-items: center;
5199 gap: 0.35rem;
5200 padding: 0.35rem 0.7rem;
5201 border: 1px solid var(--border-default);
5202 border-radius: 6px;
5203 background: var(--canvas-default);
5204 color: var(--fg-default);
5205 font-size: 0.88rem;
5206 font-weight: 600;
5207 }
5208 .shithub-actions-runs {
5209 overflow: hidden;
5210 border: 1px solid var(--border-default);
5211 border-radius: 6px;
5212 background: var(--canvas-default);
5213 }
5214 .shithub-actions-run-row {
5215 display: grid;
5216 grid-template-columns: minmax(0, 1.6fr) minmax(9rem, 0.7fr) minmax(13rem, 0.8fr);
5217 gap: 1rem;
5218 align-items: center;
5219 padding: 0.9rem 1rem;
5220 border-top: 1px solid var(--border-default);
5221 }
5222 .shithub-actions-run-row:first-child { border-top: 0; }
5223 .shithub-actions-run-primary,
5224 .shithub-actions-run-branch,
5225 .shithub-actions-run-meta {
5226 min-width: 0;
5227 }
5228 .shithub-actions-run-title {
5229 display: flex;
5230 align-items: flex-start;
5231 gap: 0.55rem;
5232 min-width: 0;
5233 color: var(--fg-default);
5234 font-size: 1rem;
5235 font-weight: 600;
5236 text-decoration: none;
5237 }
5238 .shithub-actions-run-title span:last-child {
5239 overflow: hidden;
5240 text-overflow: ellipsis;
5241 white-space: nowrap;
5242 }
5243 .shithub-actions-run-title:hover span:last-child { text-decoration: underline; }
5244 .shithub-actions-run-primary p {
5245 margin: 0.25rem 0 0 1.55rem;
5246 color: var(--fg-muted);
5247 font-size: 0.86rem;
5248 }
5249 .shithub-actions-run-meta {
5250 display: flex;
5251 align-items: center;
5252 justify-content: flex-end;
5253 gap: 0.75rem;
5254 color: var(--fg-muted);
5255 font-size: 0.82rem;
5256 white-space: nowrap;
5257 }
5258 .shithub-actions-run-meta span {
5259 display: inline-flex;
5260 align-items: center;
5261 gap: 0.25rem;
5262 }
5263 .shithub-actions-state {
5264 display: inline-flex;
5265 align-items: center;
5266 justify-content: center;
5267 color: var(--fg-muted);
5268 }
5269 .shithub-actions-state-success { color: #1a7f37; }
5270 .shithub-actions-state-failure { color: #cf222e; }
5271 .shithub-actions-state-pending { color: #9a6700; }
5272 .shithub-actions-state-running {
5273 color: #bc4c00;
5274 }
5275 .shithub-actions-state-running svg {
5276 animation: shithub-actions-running-pulse 1s ease-in-out infinite;
5277 }
5278 .shithub-actions-state-neutral { color: var(--fg-muted); }
5279 .shithub-actions-pagination {
5280 display: flex;
5281 align-items: center;
5282 justify-content: space-between;
5283 gap: 1rem;
5284 padding: 1rem 0;
5285 color: var(--fg-muted);
5286 }
5287 .shithub-actions-pagination > div {
5288 display: flex;
5289 gap: 0.5rem;
5290 }
5291 @keyframes shithub-actions-running-pulse {
5292 0%, 100% { transform: scale(0.82); opacity: 0.72; }
5293 50% { transform: scale(1); opacity: 1; }
5294 }
5295 @media (prefers-reduced-motion: reduce) {
5296 .shithub-actions-state-running svg {
5297 animation: none;
5298 }
5299 }
5300 .shithub-actions-empty {
5301 padding: 4rem 1rem;
5302 border: 1px solid var(--border-default);
5303 border-radius: 6px;
5304 background: var(--canvas-default);
5305 text-align: center;
5306 }
5307 .shithub-actions-empty-icon {
5308 display: inline-flex;
5309 align-items: center;
5310 justify-content: center;
5311 width: 3rem;
5312 height: 3rem;
5313 margin-bottom: 1rem;
5314 border: 1px solid var(--border-default);
5315 border-radius: 999px;
5316 color: var(--fg-muted);
5317 }
5318 .shithub-actions-empty h2 {
5319 margin: 0;
5320 font-size: 1.25rem;
5321 }
5322 .shithub-actions-empty p {
5323 margin: 0.5rem auto 0;
5324 max-width: 34rem;
5325 color: var(--fg-muted);
5326 }
5327 .shithub-actions-run-page {
5328 max-width: 1280px;
5329 margin: 0 auto;
5330 padding: 1.5rem 1rem;
5331 }
5332 .shithub-actions-run-head {
5333 display: flex;
5334 align-items: flex-start;
5335 justify-content: space-between;
5336 gap: 1rem;
5337 padding-bottom: 1rem;
5338 border-bottom: 1px solid var(--border-default);
5339 }
5340 .shithub-actions-back {
5341 display: inline-block;
5342 margin-bottom: 0.4rem;
5343 color: var(--fg-muted);
5344 font-size: 0.86rem;
5345 }
5346 .shithub-actions-run-head h1 {
5347 display: flex;
5348 align-items: center;
5349 gap: 0.45rem;
5350 margin: 0;
5351 font-size: 1.5rem;
5352 line-height: 1.25;
5353 }
5354 .shithub-actions-run-head h1 span:last-child {
5355 color: var(--fg-muted);
5356 font-weight: 400;
5357 }
5358 .shithub-actions-run-head p {
5359 margin: 0.35rem 0 0;
5360 color: var(--fg-muted);
5361 }
5362 .shithub-actions-run-head-actions {
5363 display: flex;
5364 align-items: center;
5365 gap: 0.5rem;
5366 flex-shrink: 0;
5367 }
5368 .shithub-actions-inline-form {
5369 margin: 0;
5370 }
5371 .shithub-actions-run-status {
5372 pointer-events: none;
5373 }
5374 .shithub-actions-run-status-wrap {
5375 display: flex;
5376 align-items: center;
5377 gap: 0.55rem;
5378 }
5379 .shithub-actions-run-status-meta {
5380 color: var(--fg-muted);
5381 font-size: 0.82rem;
5382 white-space: nowrap;
5383 }
5384 .shithub-actions-run-layout {
5385 grid-template-columns: 14rem minmax(0, 1fr);
5386 padding: 1.5rem 0 0;
5387 }
5388 .shithub-actions-summary-strip {
5389 display: grid;
5390 grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(7rem, 1fr));
5391 gap: 1rem;
5392 margin-bottom: 1rem;
5393 padding: 1rem;
5394 border: 1px solid var(--border-default);
5395 border-radius: 6px;
5396 background: var(--canvas-default);
5397 }
5398 .shithub-actions-summary-strip > div {
5399 display: flex;
5400 flex-direction: column;
5401 gap: 0.2rem;
5402 }
5403 .shithub-actions-summary-strip span {
5404 color: var(--fg-muted);
5405 font-size: 0.82rem;
5406 }
5407 .shithub-actions-workflow-card,
5408 .shithub-actions-annotations {
5409 border: 1px solid var(--border-default);
5410 border-radius: 6px;
5411 background: var(--canvas-default);
5412 }
5413 .shithub-actions-workflow-card > header,
5414 .shithub-actions-annotations > header {
5415 padding: 1rem;
5416 border-bottom: 1px solid var(--border-default);
5417 }
5418 .shithub-actions-workflow-card h2,
5419 .shithub-actions-annotations h2 {
5420 margin: 0;
5421 font-size: 1rem;
5422 }
5423 .shithub-actions-workflow-card p,
5424 .shithub-actions-annotations p {
5425 margin: 0.25rem 0 0;
5426 color: var(--fg-muted);
5427 }
5428 .shithub-actions-workflow-graph {
5429 position: relative;
5430 overflow-x: auto;
5431 min-height: 11rem;
5432 padding: 1.25rem;
5433 background: var(--canvas-inset);
5434 }
5435 .shithub-actions-workflow-stages {
5436 display: grid;
5437 grid-auto-flow: column;
5438 grid-auto-columns: minmax(14rem, 1fr);
5439 gap: 1rem;
5440 min-width: min-content;
5441 }
5442 .shithub-actions-workflow-stage {
5443 display: flex;
5444 flex-direction: column;
5445 gap: 0.75rem;
5446 }
5447 .shithub-actions-job-card {
5448 position: relative;
5449 display: grid;
5450 grid-template-columns: 1rem minmax(0, 1fr) auto;
5451 align-items: center;
5452 gap: 0.55rem;
5453 min-height: 4.25rem;
5454 padding: 0.7rem;
5455 border: 1px solid var(--border-default);
5456 border-radius: 6px;
5457 background: var(--canvas-default);
5458 color: var(--fg-default);
5459 text-decoration: none;
5460 }
5461 .shithub-actions-workflow-stage:not(:first-child) .shithub-actions-job-card::before {
5462 content: "";
5463 position: absolute;
5464 top: 50%;
5465 left: -1rem;
5466 width: 1rem;
5467 border-top: 1px solid var(--border-muted);
5468 }
5469 .shithub-actions-job-card:hover { text-decoration: none; }
5470 .shithub-actions-job-card strong {
5471 overflow: hidden;
5472 text-overflow: ellipsis;
5473 white-space: nowrap;
5474 }
5475 .shithub-actions-job-card span:nth-child(3) {
5476 color: var(--fg-muted);
5477 font-size: 0.82rem;
5478 }
5479 .shithub-actions-job-card small {
5480 grid-column: 2 / 4;
5481 overflow: hidden;
5482 color: var(--fg-muted);
5483 font-size: 0.78rem;
5484 text-overflow: ellipsis;
5485 white-space: nowrap;
5486 }
5487 .shithub-actions-empty-compact {
5488 border: 0;
5489 border-top: 1px solid var(--border-default);
5490 border-radius: 0;
5491 padding: 2rem 1rem;
5492 }
5493 .shithub-actions-jobs {
5494 display: flex;
5495 flex-direction: column;
5496 gap: 0.75rem;
5497 margin-top: 1rem;
5498 }
5499 .shithub-actions-job-detail {
5500 overflow: hidden;
5501 border: 1px solid var(--border-default);
5502 border-radius: 6px;
5503 background: var(--canvas-default);
5504 }
5505 .shithub-actions-job-detail summary {
5506 display: grid;
5507 grid-template-columns: 1rem minmax(0, 1fr);
5508 align-items: center;
5509 gap: 0.6rem;
5510 padding: 0.9rem 1rem;
5511 cursor: pointer;
5512 list-style: none;
5513 }
5514 .shithub-actions-job-detail summary::-webkit-details-marker {
5515 display: none;
5516 }
5517 .shithub-actions-job-detail summary strong,
5518 .shithub-actions-step-row strong {
5519 display: block;
5520 overflow: hidden;
5521 text-overflow: ellipsis;
5522 white-space: nowrap;
5523 }
5524 .shithub-actions-job-detail summary small,
5525 .shithub-actions-step-row small {
5526 display: block;
5527 overflow: hidden;
5528 margin-top: 0.15rem;
5529 color: var(--fg-muted);
5530 font-size: 0.82rem;
5531 text-overflow: ellipsis;
5532 white-space: nowrap;
5533 }
5534 .shithub-actions-job-actions {
5535 display: flex;
5536 justify-content: flex-end;
5537 padding: 0 1rem 0.75rem;
5538 }
5539 .shithub-actions-cancel-requested {
5540 display: inline-flex;
5541 align-items: center;
5542 gap: 0.35rem;
5543 color: var(--fg-muted);
5544 font-size: 0.82rem;
5545 }
5546 .shithub-actions-step-list {
5547 margin: 0;
5548 padding: 0;
5549 border-top: 1px solid var(--border-default);
5550 list-style: none;
5551 }
5552 .shithub-actions-step-row {
5553 display: grid;
5554 grid-template-columns: 1rem minmax(0, 1fr) auto;
5555 align-items: center;
5556 gap: 0.65rem;
5557 min-height: 3.25rem;
5558 padding: 0.65rem 1rem;
5559 border-top: 1px solid var(--border-default);
5560 color: var(--fg-default);
5561 text-decoration: none;
5562 }
5563 .shithub-actions-step-list li:first-child .shithub-actions-step-row {
5564 border-top: 0;
5565 }
5566 .shithub-actions-step-row:hover {
5567 background: var(--canvas-subtle);
5568 text-decoration: none;
5569 }
5570 .shithub-actions-step-row > span:last-child {
5571 color: var(--fg-muted);
5572 font-size: 0.82rem;
5573 white-space: nowrap;
5574 }
5575 .shithub-actions-step-empty {
5576 padding: 0.8rem 1rem;
5577 color: var(--fg-muted);
5578 }
5579 .shithub-actions-log-panel {
5580 overflow: hidden;
5581 border: 1px solid var(--border-default);
5582 border-radius: 6px;
5583 background: var(--canvas-default);
5584 }
5585 .shithub-actions-log-panel > header {
5586 padding: 1rem;
5587 border-bottom: 1px solid var(--border-default);
5588 }
5589 .shithub-actions-log-panel h2 {
5590 margin: 0;
5591 font-size: 1rem;
5592 }
5593 .shithub-actions-log-panel p {
5594 margin: 0.25rem 0 0;
5595 color: var(--fg-muted);
5596 }
5597 .shithub-actions-log-output {
5598 overflow: auto;
5599 max-height: 72vh;
5600 margin: 0;
5601 padding: 1rem;
5602 background: #0d1117;
5603 color: #e6edf3;
5604 font: 0.82rem/1.45 ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
5605 white-space: pre-wrap;
5606 word-break: break-word;
5607 }
5608 .shithub-actions-log-output code {
5609 font: inherit;
5610 }
5611 .shithub-actions-log-live {
5612 padding: 0.5rem 1rem;
5613 border-top: 1px solid var(--border-default);
5614 background: var(--canvas-subtle);
5615 color: var(--fg-muted);
5616 font-size: 0.82rem;
5617 }
5618 .shithub-actions-log-empty {
5619 padding: 2rem 1rem;
5620 color: var(--fg-muted);
5621 text-align: center;
5622 }
5623 .shithub-actions-annotations {
5624 margin-top: 1rem;
5625 }
5626 .shithub-actions-annotation-list {
5627 display: flex;
5628 flex-direction: column;
5629 }
5630 .shithub-actions-annotation {
5631 display: grid;
5632 grid-template-columns: 1rem minmax(0, 1fr);
5633 gap: 0.6rem;
5634 padding: 0.9rem 1rem;
5635 border-top: 1px solid var(--border-default);
5636 }
5637 .shithub-actions-annotation > svg {
5638 margin-top: 0.15rem;
5639 color: #9a6700;
5640 }
5641 @media (max-width: 900px) {
5642 .shithub-actions-page,
5643 .shithub-actions-run-layout,
5644 .shithub-actions-filters,
5645 .shithub-actions-run-row,
5646 .shithub-actions-summary-strip {
5647 grid-template-columns: 1fr;
5648 }
5649 .shithub-actions-run-meta,
5650 .shithub-actions-run-head {
5651 justify-content: flex-start;
5652 }
5653 .shithub-actions-run-head {
5654 flex-direction: column;
5655 }
5656 .shithub-actions-head {
5657 align-items: flex-start;
5658 flex-direction: column;
5659 }
5660 .shithub-actions-head-actions {
5661 width: 100%;
5662 flex-wrap: wrap;
5663 }
5664 .shithub-actions-dispatch-menu {
5665 right: auto;
5666 left: 0;
5667 }
5668 }
5669 .shithub-tree-panel {
5670 border: 1px solid var(--border-default);
5671 border-radius: 6px;
5672 background: var(--canvas-default);
5673 overflow: hidden;
5674 }
5675 .shithub-tree-commit {
5676 display: flex;
5677 justify-content: space-between;
5678 align-items: center;
5679 gap: 1rem;
5680 padding: 0.75rem 1rem;
5681 background: var(--canvas-subtle);
5682 border-bottom: 1px solid var(--border-default);
5683 font-size: 0.9rem;
5684 }
5685 .shithub-tree-commit-message,
5686 .shithub-tree-commit-meta {
5687 display: flex;
5688 align-items: center;
5689 gap: 0.5rem;
5690 min-width: 0;
5691 }
5692 .shithub-tree-commit-message .shithub-avatar-sm {
5693 margin-right: 0;
5694 }
5695 .shithub-tree-commit-subject,
5696 .shithub-tree-row-commit a {
5697 overflow: hidden;
5698 text-overflow: ellipsis;
5699 white-space: nowrap;
5700 }
5701 .shithub-tree-commit-subject {
5702 color: var(--fg-default);
5703 min-width: 0;
5704 }
5705 .shithub-tree-commit-meta { color: var(--fg-muted); flex: 0 0 auto; }
5706 .shithub-tree-commit-meta a {
5707 color: var(--fg-muted);
5708 }
5709 .shithub-tree-commit-count {
5710 display: inline-flex;
5711 align-items: center;
5712 gap: 0.35rem;
5713 font-weight: 600;
5714 }
5715 .shithub-tree {
5716 width: 100%;
5717 border-collapse: collapse;
5718 font-size: 0.9rem;
5719 background: var(--canvas-default);
5720 table-layout: fixed;
5721 }
5722 .shithub-tree td {
5723 padding: 0.5rem 0.75rem;
5724 border-bottom: 1px solid var(--border-default);
5725 vertical-align: middle;
5726 transition: background-color 80ms ease-out;
5727 }
5728 .shithub-tree tr:last-child td { border-bottom: 0; }
5729 .shithub-tree tbody tr:hover td,
5730 .shithub-tree tbody tr:focus-within td {
5731 background-color: var(--canvas-subtle);
5732 }
5733 .shithub-tree-icon { width: 36px; color: var(--fg-muted); padding-right: 0; }
5734 .shithub-tree-icon svg { display: block; }
5735 .shithub-tree-name {
5736 width: 34%;
5737 font-weight: 600;
5738 }
5739 .shithub-tree-name a { color: var(--fg-default); }
5740 .shithub-tree-row-commit {
5741 width: auto;
5742 color: var(--fg-muted);
5743 }
5744 .shithub-tree-row-commit a {
5745 display: block;
5746 color: var(--fg-muted);
5747 }
5748 .shithub-tree-row-time {
5749 width: 120px;
5750 color: var(--fg-muted);
5751 text-align: right;
5752 white-space: nowrap;
5753 }
5754 .shithub-tree-symlink { color: var(--fg-muted); font-style: italic; font-size: 0.8rem; }
5755 .shithub-tree-submodule { color: var(--fg-muted); font-size: 0.9em; font-weight: 400; }
5756 @media (max-width: 760px) {
5757 .shithub-code-actions {
5758 flex: 1 1 100%;
5759 justify-content: stretch;
5760 }
5761 .shithub-go-to-file {
5762 flex: 1 1 auto;
5763 }
5764 .shithub-tree-commit {
5765 align-items: flex-start;
5766 flex-direction: column;
5767 }
5768 .shithub-tree-commit-meta {
5769 flex-wrap: wrap;
5770 }
5771 .shithub-tree-name {
5772 width: auto;
5773 }
5774 .shithub-tree-row-commit,
5775 .shithub-tree-row-time {
5776 display: none;
5777 }
5778 }
5779
5780 /* Code-view layout: 2/3 main column + 1/3 About sidebar, mirroring
5781 the GitHub repo home layout. Single-column on narrow viewports so
5782 the sidebar drops below the tree on mobile. The S39 hardening pass
5783 replaces the previous single-centered-column layout that wasted
5784 the right rail. */
5785 .shithub-repo-with-sidebar {
5786 display: grid;
5787 grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
5788 gap: 1.5rem;
5789 align-items: start;
5790 }
5791 .shithub-repo-main {
5792 min-width: 0; /* let the grid item shrink so children with overflow-x scroll instead of forcing the column wider */
5793 }
5794 @media (max-width: 1024px) {
5795 .shithub-repo-with-sidebar {
5796 grid-template-columns: 1fr;
5797 }
5798 }
5799
5800 .shithub-repo-about {
5801 border-top: 1px solid var(--border-default);
5802 padding-top: 1rem;
5803 font-size: 0.875rem;
5804 --language-color-primary: #00add8;
5805 }
5806 @media (min-width: 1025px) {
5807 .shithub-repo-about {
5808 border-top: none;
5809 padding-top: 0;
5810 }
5811 }
5812 .shithub-border-grid-row {
5813 border-top: 1px solid var(--border-default);
5814 padding: 1rem 0;
5815 }
5816 .shithub-border-grid-row:first-child {
5817 border-top: 0;
5818 padding-top: 0;
5819 }
5820 .shithub-repo-about-heading,
5821 .shithub-repo-about-section-heading {
5822 display: flex;
5823 align-items: center;
5824 justify-content: space-between;
5825 gap: 0.75rem;
5826 margin: 0 0 0.75rem;
5827 color: var(--fg-default);
5828 font-size: 1rem;
5829 font-weight: 600;
5830 line-height: 1.5;
5831 }
5832 .shithub-repo-about-heading h2 {
5833 margin: 0;
5834 font-size: 1rem;
5835 }
5836 .shithub-repo-about-heading a {
5837 color: var(--fg-muted);
5838 display: inline-flex;
5839 }
5840 .shithub-repo-about-desc {
5841 margin: 0 0 1rem;
5842 color: var(--fg-default);
5843 font-size: 1rem;
5844 line-height: 1.5;
5845 }
5846 .shithub-repo-topics {
5847 display: flex;
5848 flex-wrap: wrap;
5849 gap: 0.4rem;
5850 margin: 0 0 1rem;
5851 }
5852 .shithub-topic {
5853 display: inline-flex;
5854 padding: 0.18rem 0.55rem;
5855 border-radius: 999px;
5856 background: color-mix(in srgb, var(--accent-fg, #4493f8) 12%, transparent);
5857 color: var(--accent-fg, #4493f8);
5858 font-size: 0.75rem;
5859 font-weight: 600;
5860 }
5861 .shithub-repo-about-list,
5862 .shithub-repo-about-stats,
5863 .shithub-language-list {
5864 list-style: none;
5865 padding: 0;
5866 margin: 0;
5867 }
5868 .shithub-repo-about-list li,
5869 .shithub-repo-about-stats li,
5870 .shithub-language-list li {
5871 display: flex;
5872 align-items: center;
5873 gap: 0.5rem;
5874 min-width: 0;
5875 margin: 0.5rem 0;
5876 color: var(--fg-muted);
5877 }
5878 .shithub-repo-about-list svg,
5879 .shithub-repo-about-stats svg {
5880 color: var(--fg-muted);
5881 flex: 0 0 auto;
5882 }
5883 .shithub-repo-about-list span,
5884 .shithub-repo-about-stats strong,
5885 .shithub-language-list span:nth-child(2) {
5886 color: var(--fg-default);
5887 }
5888 .shithub-repo-about-stats {
5889 margin-top: 0.75rem;
5890 }
5891 .shithub-repo-about-stats a {
5892 color: var(--fg-muted);
5893 display: inline-flex;
5894 align-items: center;
5895 gap: 0.5rem;
5896 }
5897 .shithub-repo-about-stats a:hover,
5898 .shithub-repo-report:hover,
5899 .shithub-repo-contributor:hover {
5900 color: var(--accent-fg);
5901 text-decoration: none;
5902 }
5903 .shithub-repo-report {
5904 display: inline-block;
5905 margin-top: 0.5rem;
5906 color: var(--fg-muted);
5907 }
5908 .shithub-repo-about-section-heading {
5909 margin-bottom: 0.5rem;
5910 }
5911 .shithub-repo-section-count {
5912 min-width: 1.25rem;
5913 padding: 0 0.35rem;
5914 border-radius: 999px;
5915 background: var(--neutral-muted);
5916 color: var(--fg-default);
5917 font-size: 0.75rem;
5918 font-weight: 600;
5919 line-height: 1.5;
5920 text-align: center;
5921 }
5922 .shithub-repo-contributors {
5923 display: flex;
5924 flex-direction: column;
5925 gap: 0.5rem;
5926 }
5927 .shithub-repo-contributor {
5928 display: inline-flex;
5929 align-items: center;
5930 gap: 0.5rem;
5931 color: var(--fg-default);
5932 font-weight: 600;
5933 }
5934 .shithub-repo-contributor img {
5935 width: 32px;
5936 height: 32px;
5937 border-radius: 50%;
5938 }
5939 .shithub-repo-contributor-identicon {
5940 width: 32px;
5941 height: 32px;
5942 border-radius: 50%;
5943 flex: 0 0 auto;
5944 }
5945 .shithub-language-bar {
5946 display: flex;
5947 overflow: hidden;
5948 height: 0.5rem;
5949 margin: 0.5rem 0 0.75rem;
5950 border-radius: 999px;
5951 background: var(--border-muted);
5952 }
5953 .shithub-language-bar span {
5954 display: block;
5955 min-width: 2px;
5956 }
5957 .shithub-language-list {
5958 display: flex;
5959 flex-wrap: wrap;
5960 gap: 0.25rem 1rem;
5961 }
5962 .shithub-language-list li {
5963 margin: 0;
5964 gap: 0.35rem;
5965 font-size: 0.75rem;
5966 }
5967 .shithub-language-dot {
5968 width: 0.75rem;
5969 height: 0.75rem;
5970 border-radius: 50%;
5971 flex: 0 0 auto;
5972 }
5973
5974 .shithub-readme {
5975 margin-top: 1rem;
5976 padding: 0;
5977 border: 1px solid var(--border-default);
5978 border-radius: 6px;
5979 background: var(--canvas-default);
5980 overflow: visible;
5981 }
5982 .shithub-readme-head {
5983 position: relative;
5984 display: flex;
5985 align-items: center;
5986 gap: 1rem;
5987 min-height: 48px;
5988 padding: 0 1rem;
5989 border-bottom: 1px solid var(--border-default);
5990 overflow: visible;
5991 scrollbar-width: none;
5992 }
5993 .shithub-readme-head::-webkit-scrollbar {
5994 display: none;
5995 }
5996 .shithub-readme-tabs {
5997 display: flex;
5998 align-items: stretch;
5999 flex: 1 1 auto;
6000 gap: 1.25rem;
6001 min-width: 0;
6002 overflow-x: auto;
6003 scrollbar-width: none;
6004 }
6005 .shithub-readme-tabs::-webkit-scrollbar {
6006 display: none;
6007 }
6008 .shithub-readme-head-actions {
6009 display: flex;
6010 align-items: center;
6011 gap: 0.35rem;
6012 align-self: center;
6013 margin-left: auto;
6014 }
6015 .shithub-readme-head-actions .shithub-button-icon,
6016 .shithub-readme-outline > summary {
6017 box-sizing: border-box;
6018 display: inline-flex;
6019 align-items: center;
6020 justify-content: center;
6021 flex: 0 0 32px;
6022 width: 32px;
6023 min-width: 32px;
6024 height: 32px;
6025 padding: 0;
6026 line-height: 1;
6027 }
6028 .shithub-readme-head-actions svg {
6029 display: block;
6030 flex: 0 0 auto;
6031 width: 16px;
6032 height: 16px;
6033 }
6034 .shithub-readme-tab {
6035 display: inline-flex;
6036 align-items: center;
6037 gap: 0.45rem;
6038 margin-bottom: -1px;
6039 padding: 0.85rem 0 0.78rem;
6040 border-bottom: 2px solid transparent;
6041 color: var(--fg-muted);
6042 font-size: 0.85rem;
6043 font-weight: 600;
6044 text-decoration: none;
6045 white-space: nowrap;
6046 }
6047 .shithub-readme-tab:hover {
6048 color: var(--fg-default);
6049 text-decoration: none;
6050 }
6051 .shithub-readme-tab.is-active {
6052 border-bottom-color: var(--accent-emphasis, #fd8c73);
6053 color: var(--fg-default);
6054 }
6055 .shithub-readme-head .shithub-readme-outline {
6056 display: inline-flex;
6057 align-items: center;
6058 justify-content: center;
6059 position: relative;
6060 flex: 0 0 auto;
6061 width: 32px;
6062 height: 32px;
6063 margin: 0;
6064 align-self: center;
6065 }
6066 .shithub-readme-outline > summary {
6067 margin: 0;
6068 border: 1px solid transparent;
6069 border-radius: 6px;
6070 color: var(--fg-muted);
6071 background: transparent;
6072 cursor: pointer;
6073 list-style: none;
6074 appearance: none;
6075 -webkit-appearance: none;
6076 }
6077 .shithub-readme-outline > summary::marker {
6078 content: "";
6079 }
6080 .shithub-readme-outline > summary::-webkit-details-marker {
6081 display: none;
6082 }
6083 .shithub-readme-outline > summary:hover,
6084 .shithub-readme-outline[open] > summary {
6085 color: var(--fg-default);
6086 background: var(--canvas-subtle);
6087 }
6088 .shithub-readme-outline-panel {
6089 position: absolute;
6090 top: calc(100% + 8px);
6091 right: 0;
6092 z-index: 40;
6093 width: min(360px, calc(100vw - 2rem));
6094 max-height: min(520px, calc(100vh - 8rem));
6095 padding: 0.75rem;
6096 overflow: auto;
6097 border: 1px solid var(--border-default);
6098 border-radius: 12px;
6099 background: var(--canvas-default);
6100 box-shadow: 0 16px 32px rgba(31, 35, 40, 0.16);
6101 }
6102 [data-theme="dark"] .shithub-readme-outline-panel,
6103 [data-theme="high-contrast"] .shithub-readme-outline-panel {
6104 box-shadow: 0 16px 32px rgba(1, 4, 9, 0.6);
6105 }
6106 .shithub-readme-outline-filter {
6107 display: block;
6108 margin: 0 0 0.75rem;
6109 }
6110 .shithub-readme-outline-filter input {
6111 width: 100%;
6112 min-height: 40px;
6113 padding: 0.5rem 0.75rem;
6114 border: 1px solid var(--border-default);
6115 border-radius: 6px;
6116 color: var(--fg-default);
6117 background: var(--canvas-default);
6118 font: inherit;
6119 }
6120 .shithub-readme-outline-filter input:focus {
6121 border-color: var(--accent-emphasis);
6122 outline: 2px solid var(--accent-emphasis);
6123 outline-offset: -1px;
6124 }
6125 .shithub-readme-outline-list {
6126 display: flex;
6127 flex-direction: column;
6128 gap: 0.15rem;
6129 }
6130 .shithub-readme-outline-item {
6131 display: block;
6132 padding: 0.35rem 0.5rem;
6133 border-radius: 6px;
6134 color: var(--fg-default);
6135 font-size: 0.875rem;
6136 font-weight: 600;
6137 line-height: 1.35;
6138 text-decoration: none;
6139 }
6140 .shithub-readme-outline-item:hover {
6141 background: var(--canvas-subtle);
6142 text-decoration: none;
6143 }
6144 .shithub-readme-outline-item.is-depth-2 { padding-left: 1.25rem; }
6145 .shithub-readme-outline-item.is-depth-3 { padding-left: 2rem; }
6146 .shithub-readme-outline-item.is-depth-4,
6147 .shithub-readme-outline-item.is-depth-5,
6148 .shithub-readme-outline-item.is-depth-6 { padding-left: 2.75rem; }
6149 .shithub-readme-outline-empty {
6150 margin: 0;
6151 padding: 0.35rem 0.5rem;
6152 color: var(--fg-muted);
6153 font-size: 0.875rem;
6154 }
6155 .shithub-readme-body { padding: 2rem; }
6156 .markdown-body {
6157 color: var(--fg-default);
6158 font-size: 0.875rem;
6159 line-height: 1.5;
6160 overflow-wrap: break-word;
6161 }
6162 .markdown-body > :first-child { margin-top: 0; }
6163 .markdown-body > :last-child { margin-bottom: 0; }
6164 .markdown-body p,
6165 .markdown-body blockquote,
6166 .markdown-body ul,
6167 .markdown-body ol,
6168 .markdown-body dl,
6169 .markdown-body table,
6170 .markdown-body pre,
6171 .markdown-body details {
6172 margin-top: 0;
6173 margin-bottom: 1rem;
6174 }
6175 .markdown-body h1,
6176 .markdown-body h2 {
6177 margin-top: 1.5rem;
6178 margin-bottom: 1rem;
6179 padding-bottom: 0.3em;
6180 border-bottom: 1px solid var(--border-default);
6181 }
6182 .markdown-body h1 { font-size: 2em; }
6183 .markdown-body h2 { font-size: 1.5em; }
6184 .markdown-body h3 { font-size: 1.25em; }
6185 .markdown-body h1,
6186 .markdown-body h2,
6187 .markdown-body h3,
6188 .markdown-body h4,
6189 .markdown-body h5,
6190 .markdown-body h6 {
6191 font-weight: 600;
6192 line-height: 1.25;
6193 }
6194 .markdown-body hr {
6195 height: 0.25em;
6196 padding: 0;
6197 margin: 1.5rem 0;
6198 background: var(--border-default);
6199 border: 0;
6200 }
6201 .markdown-body img {
6202 max-width: 100%;
6203 box-sizing: content-box;
6204 }
6205 .markdown-body [align="center"] { text-align: center; }
6206 .markdown-body [align="right"] { text-align: right; }
6207 .markdown-body [align="left"] { text-align: left; }
6208 .markdown-body :not(pre) > code {
6209 padding: 0.2em 0.4em;
6210 margin: 0;
6211 border-radius: 6px;
6212 background: var(--canvas-subtle);
6213 font-size: 85%;
6214 }
6215 .markdown-body pre {
6216 padding: 1rem;
6217 overflow: auto;
6218 border-radius: 6px;
6219 background: var(--canvas-subtle);
6220 font-size: 85%;
6221 line-height: 1.45;
6222 }
6223 .markdown-body pre code {
6224 display: inline;
6225 max-width: none;
6226 padding: 0;
6227 margin: 0;
6228 overflow: visible;
6229 border: 0;
6230 background: transparent;
6231 color: inherit;
6232 font-size: 100%;
6233 line-height: inherit;
6234 white-space: pre;
6235 word-break: normal;
6236 overflow-wrap: normal;
6237 }
6238 .markdown-body .shithub-markdown-codeblock {
6239 position: relative;
6240 margin: 0 0 1rem;
6241 }
6242 .markdown-body > .shithub-markdown-codeblock:last-child {
6243 margin-bottom: 0;
6244 }
6245 .markdown-body .shithub-markdown-codeblock pre {
6246 margin: 0;
6247 padding-right: 3rem;
6248 }
6249 .shithub-markdown-code-copy {
6250 position: absolute;
6251 top: 0.5rem;
6252 right: 0.5rem;
6253 display: inline-flex;
6254 align-items: center;
6255 justify-content: center;
6256 width: 28px;
6257 height: 28px;
6258 padding: 0;
6259 border: 1px solid var(--border-default);
6260 border-radius: 6px;
6261 color: var(--fg-muted);
6262 background: var(--canvas-subtle);
6263 cursor: pointer;
6264 }
6265 .shithub-markdown-code-copy:hover,
6266 .shithub-markdown-code-copy:focus {
6267 color: var(--fg-default);
6268 background: var(--button-default-hover-bg);
6269 }
6270 .shithub-markdown-code-copy.is-copied {
6271 color: var(--success-fg);
6272 }
6273 .shithub-readme-plain { white-space: pre; }
6274
6275 @media (max-width: 900px) {
6276 .shithub-repo-header-inner { align-items: flex-start; flex-direction: column; }
6277 .shithub-repo-content-grid { grid-template-columns: 1fr; }
6278 .shithub-tree-commit { align-items: flex-start; flex-direction: column; }
6279 }
6280
6281 .shithub-blob-meta { color: var(--fg-muted); font-size: 0.85rem; margin-right: 0.5rem; }
6282 /* Blob source: a row-per-line <table>. We render the gutter + code
6283 ourselves and feed Chroma only token spans (no <pre>, no <table>)
6284 so the chrome is consistent across lexers and the no-lexer fallback,
6285 per the S33 viewer refactor. Forgejo / Gitea use the same shape.
6286 The reasoning is robustness: chroma's own table mode has rules we
6287 can't fully override (cell padding, line-number `<a>` styles), and
6288 they leak whenever a lexer changes its emit shape. Owning the table
6289 makes the layout immune to that drift. */
6290 .shithub-blob-source .chroma { padding: 0; background: var(--canvas-default); }
6291 .shithub-blob-source .chroma a { color: inherit; text-decoration: none; }
6292 .shithub-blob-lines {
6293 width: 100%;
6294 border-collapse: collapse;
6295 border-spacing: 0;
6296 margin: 0;
6297 font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
6298 font-size: 0.825rem;
6299 line-height: 20px;
6300 tab-size: 4;
6301 }
6302 /* Gutter cell. width:1% + white-space:nowrap forces shrink-to-fit:
6303 the cell sizes itself to the max line-number width and no wider.
6304 text-align:right keeps the digit flush against the divider. */
6305 .shithub-blob-lines td.shithub-blob-lnum {
6306 width: 1%;
6307 min-width: 2.5rem;
6308 padding: 0 12px;
6309 background: var(--canvas-subtle);
6310 border-right: 1px solid var(--border-default);
6311 color: var(--fg-muted);
6312 text-align: right;
6313 user-select: none;
6314 white-space: nowrap;
6315 vertical-align: top;
6316 }
6317 .shithub-blob-lines td.shithub-blob-lnum a {
6318 color: inherit;
6319 display: block;
6320 }
6321 /* Code cell. white-space:pre preserves indentation; the wrapper
6322 handles horizontal scroll for long lines. */
6323 .shithub-blob-lines td.shithub-blob-lcode {
6324 padding: 0 12px;
6325 vertical-align: top;
6326 white-space: pre;
6327 }
6328 .shithub-blob-lines td.shithub-blob-lcode .shithub-blob-line {
6329 display: inline-block;
6330 min-width: 100%;
6331 }
6332 /* Hover surfaces the row; :target highlights the line referenced by
6333 #L<n> in the URL (browsers handle scrolling). */
6334 .shithub-blob-lines tr:hover td.shithub-blob-lcode {
6335 background: var(--canvas-subtle);
6336 }
6337 .shithub-blob-lines tr:target td.shithub-blob-lcode,
6338 .shithub-blob-lines tr:target td.shithub-blob-lnum {
6339 background: var(--accent-subtle, #fff8c5);
6340 }
6341 .shithub-blob-too-large, .shithub-blob-binary {
6342 padding: 1rem;
6343 border: 1px dashed var(--border-default);
6344 border-radius: 6px;
6345 text-align: center;
6346 color: var(--fg-muted);
6347 }
6348 .shithub-blob-image { text-align: center; padding: 1rem; background: var(--canvas-subtle); border-radius: 6px; }
6349 .shithub-blob-image img { max-width: 100%; max-height: 80vh; }
6350 .shithub-blob-source { overflow-x: auto; }
6351 .shithub-blob-source .chroma { font-size: 0.85rem; }
6352 .shithub-blob-markdown { padding: 1rem; }
6353 .shithub-button-disabled { opacity: 0.5; pointer-events: none; }
6354
6355 .shithub-editor-page {
6356 max-width: none;
6357 margin: 1.5rem auto 2rem;
6358 padding: 0 clamp(1rem, 2vw, 2rem);
6359 }
6360 .shithub-editor {
6361 max-width: none;
6362 margin: 0;
6363 }
6364 .shithub-editor-form {
6365 display: flex;
6366 flex-direction: column;
6367 gap: 1rem;
6368 }
6369 .shithub-button-large {
6370 min-height: 40px;
6371 padding: 0.5rem 1rem;
6372 font-size: 0.95rem;
6373 font-weight: 600;
6374 }
6375 .shithub-editor-filebar {
6376 display: flex;
6377 align-items: center;
6378 justify-content: space-between;
6379 gap: 1rem;
6380 min-width: 0;
6381 }
6382 .shithub-editor-filepath {
6383 display: flex;
6384 align-items: center;
6385 gap: 0.5rem;
6386 min-width: 0;
6387 color: var(--fg-muted);
6388 font-size: 1rem;
6389 }
6390 .shithub-editor-file-icon {
6391 position: relative;
6392 display: inline-flex;
6393 align-items: center;
6394 justify-content: center;
6395 color: var(--fg-muted);
6396 }
6397 .shithub-editor-file-icon::after {
6398 content: "";
6399 position: absolute;
6400 top: -2px;
6401 right: -3px;
6402 width: 8px;
6403 height: 8px;
6404 border-radius: 50%;
6405 background: var(--accent-fg, #4493f8);
6406 }
6407 .shithub-editor-repo-name {
6408 color: var(--accent-fg, #4493f8);
6409 font-size: 1.2rem;
6410 font-weight: 600;
6411 text-decoration: none;
6412 }
6413 .shithub-editor-repo-name:hover {
6414 text-decoration: underline;
6415 }
6416 .shithub-editor-filepath input,
6417 .shithub-editor-static-path {
6418 width: min(28vw, 320px);
6419 min-width: 220px;
6420 min-height: 42px;
6421 padding: 0.5rem 0.75rem;
6422 border: 1px solid var(--border-default);
6423 border-radius: 6px;
6424 color: var(--fg-default);
6425 background: var(--canvas-default);
6426 font: 1rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
6427 }
6428 .shithub-editor-filepath input:read-only {
6429 color: var(--fg-muted);
6430 background: var(--canvas-subtle);
6431 }
6432 .shithub-editor-static-path {
6433 display: inline-flex;
6434 align-items: center;
6435 overflow: hidden;
6436 text-overflow: ellipsis;
6437 white-space: nowrap;
6438 }
6439 .shithub-editor-in {
6440 color: var(--fg-muted);
6441 }
6442 .shithub-editor-branch {
6443 display: inline-flex;
6444 align-items: center;
6445 min-height: 32px;
6446 padding: 0.25rem 0.55rem;
6447 border-radius: 6px;
6448 color: var(--accent-fg, #4493f8);
6449 background: color-mix(in srgb, var(--accent-fg, #4493f8) 14%, transparent);
6450 font: 0.95rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
6451 }
6452 .shithub-editor-top-actions {
6453 display: flex;
6454 align-items: center;
6455 gap: 0.6rem;
6456 flex: 0 0 auto;
6457 }
6458 .shithub-editor-top-actions .shithub-button-primary:disabled,
6459 .shithub-commit-dialog .shithub-button-primary:disabled {
6460 background: var(--success-emphasis);
6461 border-color: var(--success-emphasis);
6462 opacity: 0.55;
6463 }
6464 .shithub-editor-panel {
6465 border: 1px solid var(--border-default);
6466 border-radius: 6px;
6467 background: var(--canvas-default);
6468 overflow: visible;
6469 }
6470 .shithub-editor-panel-head {
6471 display: flex;
6472 align-items: center;
6473 justify-content: space-between;
6474 gap: 0.75rem;
6475 padding: 0.75rem 1rem;
6476 border-bottom: 1px solid var(--border-default);
6477 flex-wrap: wrap;
6478 }
6479 .shithub-editor-panel-head h2 {
6480 margin: 0;
6481 font-size: 1rem;
6482 }
6483 .shithub-editor-panel-head span {
6484 min-width: 0;
6485 color: var(--fg-muted);
6486 font: 0.85rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
6487 overflow-wrap: anywhere;
6488 }
6489 .shithub-editor-toolbar {
6490 display: flex;
6491 align-items: center;
6492 justify-content: space-between;
6493 gap: 1rem;
6494 min-height: 56px;
6495 padding: 0.6rem 0.7rem;
6496 border-bottom: 1px solid var(--border-default);
6497 border-radius: 6px 6px 0 0;
6498 background: var(--canvas-subtle);
6499 }
6500 .shithub-editor-tabs {
6501 display: inline-flex;
6502 align-items: center;
6503 }
6504 .shithub-editor-tabs button {
6505 min-height: 38px;
6506 padding: 0 1rem;
6507 border: 1px solid var(--border-default);
6508 color: var(--fg-default);
6509 background: var(--canvas-default);
6510 cursor: pointer;
6511 font: inherit;
6512 font-size: 0.95rem;
6513 font-weight: 600;
6514 }
6515 .shithub-editor-tabs button:first-child {
6516 border-radius: 6px 0 0 6px;
6517 }
6518 .shithub-editor-tabs button:last-child {
6519 border-left: 0;
6520 border-radius: 0 6px 6px 0;
6521 }
6522 .shithub-editor-tabs button.is-active {
6523 background: var(--canvas-inset);
6524 }
6525 .shithub-editor-tools {
6526 display: flex;
6527 align-items: center;
6528 gap: 0.5rem;
6529 }
6530 .shithub-editor-menu {
6531 position: relative;
6532 }
6533 .shithub-editor-menu > summary,
6534 .shithub-editor-diff-toggle {
6535 display: inline-flex;
6536 align-items: center;
6537 justify-content: center;
6538 gap: 0.3rem;
6539 min-height: 40px;
6540 padding: 0 0.8rem;
6541 border: 1px solid var(--border-default);
6542 border-radius: 6px;
6543 color: var(--fg-default);
6544 background: var(--canvas-default);
6545 cursor: pointer;
6546 list-style: none;
6547 font-size: 0.95rem;
6548 font-weight: 600;
6549 }
6550 .shithub-editor-menu > summary::marker {
6551 content: "";
6552 }
6553 .shithub-editor-menu > summary::-webkit-details-marker {
6554 display: none;
6555 }
6556 .shithub-editor-menu > summary:hover,
6557 .shithub-editor-menu[open] > summary {
6558 background: var(--button-default-hover-bg);
6559 }
6560 .shithub-editor-menu-panel {
6561 position: absolute;
6562 top: calc(100% + 6px);
6563 right: 0;
6564 z-index: 50;
6565 min-width: 168px;
6566 padding: 0.35rem;
6567 border: 1px solid var(--border-default);
6568 border-radius: 8px;
6569 background: var(--canvas-overlay, var(--canvas-default));
6570 box-shadow: 0 8px 24px rgba(1, 4, 9, 0.28);
6571 }
6572 .shithub-editor-menu-panel-wide {
6573 min-width: 196px;
6574 }
6575 .shithub-editor-menu-panel strong {
6576 display: block;
6577 padding: 0.25rem 0.6rem 0.35rem;
6578 color: var(--fg-default);
6579 text-align: center;
6580 }
6581 .shithub-editor-menu-panel button {
6582 display: grid;
6583 grid-template-columns: 22px minmax(0, 1fr);
6584 gap: 0.45rem;
6585 align-items: center;
6586 width: 100%;
6587 min-height: 30px;
6588 padding: 0.3rem 0.55rem;
6589 border: 0;
6590 border-radius: 6px;
6591 color: var(--fg-default);
6592 background: transparent;
6593 cursor: pointer;
6594 font: inherit;
6595 text-align: left;
6596 }
6597 .shithub-editor-menu-panel button.is-selected {
6598 color: #ffffff;
6599 background: var(--accent-emphasis, #0969da);
6600 }
6601 .shithub-editor-menu-check {
6602 position: relative;
6603 width: 16px;
6604 height: 16px;
6605 }
6606 .shithub-editor-menu-panel button.is-selected .shithub-editor-menu-check::before {
6607 content: "";
6608 position: absolute;
6609 left: 3px;
6610 top: 2px;
6611 width: 7px;
6612 height: 11px;
6613 border: solid currentColor;
6614 border-width: 0 2px 2px 0;
6615 transform: rotate(45deg);
6616 }
6617 .shithub-editor-diff-toggle {
6618 gap: 0.55rem;
6619 border: 0;
6620 background: transparent;
6621 }
6622 .shithub-editor-diff-toggle input {
6623 width: 18px;
6624 height: 18px;
6625 accent-color: var(--accent-emphasis, #0969da);
6626 }
6627 .shithub-editor-textbox {
6628 display: grid;
6629 grid-template-columns: 5.25rem minmax(0, 1fr);
6630 height: min(72vh, 900px);
6631 min-height: 540px;
6632 overflow: hidden;
6633 }
6634 .shithub-editor-gutter,
6635 .shithub-editor-textbox textarea {
6636 margin: 0;
6637 padding: 0.85rem 0;
6638 border: 0;
6639 font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
6640 font-size: 0.95rem;
6641 line-height: 1.55;
6642 tab-size: 2;
6643 }
6644 .shithub-editor-gutter {
6645 min-width: 5.25rem;
6646 padding-left: 1rem;
6647 padding-right: 1rem;
6648 overflow: hidden;
6649 color: var(--fg-muted);
6650 background: var(--canvas-default);
6651 text-align: right;
6652 user-select: none;
6653 }
6654 .shithub-editor-textbox textarea {
6655 width: 100%;
6656 min-height: 100%;
6657 padding-left: 0.9rem;
6658 padding-right: 1rem;
6659 resize: none;
6660 outline: none;
6661 background: var(--canvas-default);
6662 color: var(--fg-default);
6663 white-space: pre-wrap;
6664 overflow: auto;
6665 }
6666 .shithub-editor:not(.is-soft-wrap) .shithub-editor-textbox textarea {
6667 white-space: pre;
6668 }
6669 .shithub-editor-textbox textarea:focus {
6670 box-shadow: inset 0 0 0 2px var(--accent-emphasis);
6671 }
6672 .shithub-editor-helpbar {
6673 min-height: 36px;
6674 padding: 0.45rem 0.75rem;
6675 border-top: 1px solid var(--border-default);
6676 border-radius: 0 0 6px 6px;
6677 color: var(--fg-muted);
6678 background: var(--canvas-subtle);
6679 font-size: 0.875rem;
6680 }
6681 .shithub-editor-helpbar kbd {
6682 display: inline-flex;
6683 align-items: center;
6684 min-height: 22px;
6685 padding: 0 0.35rem;
6686 border: 1px solid var(--border-default);
6687 border-radius: 6px;
6688 color: var(--fg-default);
6689 background: var(--canvas-default);
6690 font: 0.8rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
6691 }
6692 .shithub-editor-preview {
6693 min-height: min(72vh, 900px);
6694 padding: 3rem 2.75rem;
6695 overflow: auto;
6696 }
6697 .shithub-editor-preview-body {
6698 max-width: none;
6699 color: var(--fg-default);
6700 }
6701 .shithub-editor-preview-body.is-diff {
6702 display: flex;
6703 flex-direction: column;
6704 gap: 0.35rem;
6705 }
6706 .shithub-editor-preview-diff-block {
6707 margin: 0;
6708 }
6709 .shithub-editor-preview-diff-block.is-added,
6710 .shithub-editor-preview-diff-block.is-deleted {
6711 padding-left: 0.95rem;
6712 border-left: 4px solid;
6713 }
6714 .shithub-editor-preview-diff-block.is-added {
6715 border-left-color: var(--success-emphasis);
6716 }
6717 .shithub-editor-preview-diff-block.is-deleted {
6718 border-left-color: var(--danger-fg);
6719 }
6720 .shithub-editor-preview-diff-block > :first-child {
6721 margin-top: 0;
6722 }
6723 .shithub-editor-preview-diff-block > :last-child {
6724 margin-bottom: 0;
6725 }
6726 .shithub-editor-preview-empty {
6727 margin: 0;
6728 color: var(--fg-muted);
6729 }
6730 .shithub-editor-danger {
6731 border-color: rgba(248, 81, 73, 0.35);
6732 }
6733 .shithub-editor-danger p {
6734 margin: 0;
6735 padding: 1rem;
6736 color: var(--fg-muted);
6737 }
6738 .shithub-upload-drop {
6739 position: relative;
6740 display: flex;
6741 align-items: center;
6742 justify-content: center;
6743 gap: 0.5rem;
6744 min-height: 156px;
6745 margin: 1rem;
6746 border: 1px dashed var(--border-default);
6747 border-radius: 6px;
6748 color: var(--fg-muted);
6749 background: var(--canvas-subtle);
6750 cursor: pointer;
6751 font-weight: 600;
6752 }
6753 .shithub-upload-drop:hover {
6754 color: var(--fg-default);
6755 border-color: var(--accent-emphasis);
6756 }
6757 .shithub-upload-drop input {
6758 position: absolute;
6759 inline-size: 1px;
6760 block-size: 1px;
6761 opacity: 0;
6762 pointer-events: none;
6763 }
6764 .shithub-upload-list {
6765 margin: 0 1rem 1rem;
6766 padding-left: 1.25rem;
6767 color: var(--fg-muted);
6768 font-size: 0.875rem;
6769 }
6770 .shithub-commit-dialog {
6771 width: min(560px, calc(100vw - 2rem));
6772 padding: 0;
6773 border: 1px solid var(--border-default);
6774 border-radius: 12px;
6775 color: var(--fg-default);
6776 background: var(--canvas-default);
6777 box-shadow: 0 18px 48px rgba(1, 4, 9, 0.38);
6778 }
6779 .shithub-commit-dialog::backdrop {
6780 background: rgba(1, 4, 9, 0.55);
6781 }
6782 .shithub-commit-dialog-head {
6783 display: flex;
6784 align-items: center;
6785 justify-content: space-between;
6786 gap: 1rem;
6787 padding: 1rem;
6788 border-bottom: 1px solid var(--border-default);
6789 }
6790 .shithub-commit-dialog h2 {
6791 margin: 0;
6792 font-size: 1rem;
6793 }
6794 .shithub-commit-dialog-close {
6795 display: inline-flex;
6796 align-items: center;
6797 justify-content: center;
6798 width: 32px;
6799 height: 32px;
6800 padding: 0;
6801 border: 0;
6802 border-radius: 6px;
6803 color: var(--fg-muted);
6804 background: transparent;
6805 cursor: pointer;
6806 }
6807 .shithub-commit-dialog-close:hover {
6808 color: var(--fg-default);
6809 background: var(--canvas-subtle);
6810 }
6811 .shithub-commit-dialog .shithub-form-row,
6812 .shithub-commit-dialog .shithub-commit-target,
6813 .shithub-commit-dialog .shithub-form-actions {
6814 margin: 1rem;
6815 }
6816 .shithub-commit-dialog input,
6817 .shithub-commit-dialog textarea {
6818 width: 100%;
6819 padding: 0.5rem 0.6rem;
6820 border: 1px solid var(--border-default);
6821 border-radius: 6px;
6822 font: inherit;
6823 }
6824 .shithub-commit-target {
6825 display: flex;
6826 align-items: center;
6827 gap: 0.4rem;
6828 color: var(--fg-muted);
6829 font-size: 0.875rem;
6830 }
6831 @media (max-width: 640px) {
6832 .shithub-editor-page {
6833 padding: 0 0.75rem;
6834 }
6835 .shithub-editor-filebar,
6836 .shithub-editor-toolbar {
6837 align-items: stretch;
6838 flex-direction: column;
6839 }
6840 .shithub-editor-filepath,
6841 .shithub-editor-top-actions,
6842 .shithub-editor-tools {
6843 flex-wrap: wrap;
6844 }
6845 .shithub-editor-filepath input,
6846 .shithub-editor-static-path {
6847 width: 100%;
6848 min-width: 0;
6849 flex: 1 1 100%;
6850 }
6851 .shithub-editor-top-actions .shithub-button {
6852 flex: 1 1 150px;
6853 }
6854 .shithub-editor-tabs,
6855 .shithub-editor-tools {
6856 overflow-x: auto;
6857 }
6858 .shithub-editor-textbox {
6859 grid-template-columns: 3.75rem minmax(0, 1fr);
6860 min-height: 460px;
6861 }
6862 .shithub-editor-gutter {
6863 min-width: 3.75rem;
6864 padding-left: 0.6rem;
6865 padding-right: 0.6rem;
6866 }
6867 .shithub-editor-preview {
6868 padding: 1.5rem;
6869 }
6870 .shithub-editor .shithub-form-actions {
6871 justify-content: stretch;
6872 flex-wrap: wrap;
6873 }
6874 .shithub-editor .shithub-form-actions .shithub-button,
6875 .shithub-editor .shithub-form-actions button {
6876 flex: 1 1 160px;
6877 }
6878 }
6879
6880 .shithub-finder-form { display: flex; gap: 0.5rem; align-items: center; margin: 1rem 0; }
6881 .shithub-finder-form input { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; flex: 1; }
6882 .shithub-finder-results { list-style: none; padding: 0; }
6883 .shithub-finder-results li { padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border-default); font-family: monospace; font-size: 0.875rem; }
6884
6885 /* ========== Commits + Commit + Blame (S18) ========== */
6886 .shithub-avatar-sm {
6887 display: inline-block;
6888 width: 20px;
6889 height: 20px;
6890 border-radius: 50%;
6891 vertical-align: middle;
6892 margin-right: 0.4rem;
6893 }
6894 .shithub-identicon {
6895 background: linear-gradient(135deg, #cce, #ecc);
6896 }
6897 .shithub-commits-page {
6898 max-width: 1280px;
6899 }
6900 .shithub-commits-shell {
6901 max-width: 1012px;
6902 margin: 0 auto;
6903 padding: 0.5rem 0 2rem;
6904 }
6905 .shithub-commits-titlebar {
6906 padding: 0.75rem 0 0.8rem;
6907 border-bottom: 1px solid var(--border-default);
6908 }
6909 .shithub-commits-titlebar h1 {
6910 margin: 0;
6911 font-size: 1.25rem;
6912 font-weight: 600;
6913 }
6914 .shithub-commits-toolbar {
6915 display: flex;
6916 align-items: flex-start;
6917 justify-content: space-between;
6918 gap: 1rem;
6919 margin: 1rem 0 0.85rem;
6920 }
6921 .shithub-commit-filter-stack {
6922 display: flex;
6923 align-items: center;
6924 gap: 0.5rem;
6925 margin-left: auto;
6926 }
6927 .shithub-commit-menu {
6928 position: relative;
6929 }
6930 .shithub-commit-menu > summary {
6931 list-style: none;
6932 }
6933 .shithub-commit-menu > summary::-webkit-details-marker {
6934 display: none;
6935 }
6936 .shithub-commit-menu-button {
6937 display: inline-flex;
6938 align-items: center;
6939 gap: 0.4rem;
6940 min-height: 32px;
6941 padding: 0 0.75rem;
6942 border: 1px solid var(--border-default);
6943 border-radius: 6px;
6944 background: var(--canvas-subtle);
6945 color: var(--fg-default);
6946 font-size: 0.875rem;
6947 font-weight: 600;
6948 white-space: nowrap;
6949 cursor: pointer;
6950 }
6951 .shithub-commit-menu-button:hover {
6952 background: var(--canvas-inset);
6953 }
6954 .shithub-commit-menu-panel {
6955 position: absolute;
6956 z-index: 30;
6957 top: calc(100% + 4px);
6958 right: 0;
6959 width: 290px;
6960 overflow: hidden;
6961 border: 1px solid var(--border-default);
6962 border-radius: 8px;
6963 background: var(--canvas-overlay, var(--canvas-default));
6964 box-shadow: 0 12px 32px rgba(1, 4, 9, 0.35);
6965 }
6966 .shithub-commit-ref-panel {
6967 left: 0;
6968 right: auto;
6969 width: 300px;
6970 }
6971 .shithub-commit-calendar-panel {
6972 width: 306px;
6973 padding: 0.85rem;
6974 }
6975 .shithub-commit-menu-header {
6976 display: flex;
6977 align-items: center;
6978 justify-content: space-between;
6979 gap: 0.75rem;
6980 padding: 0.75rem 0.75rem 0.65rem;
6981 border-bottom: 1px solid var(--border-muted, var(--border-default));
6982 }
6983 .shithub-icon-button,
6984 .shithub-commit-icon-action {
6985 display: inline-flex;
6986 align-items: center;
6987 justify-content: center;
6988 width: 28px;
6989 height: 28px;
6990 padding: 0;
6991 border: 0;
6992 border-radius: 6px;
6993 color: var(--fg-muted);
6994 background: transparent;
6995 cursor: pointer;
6996 }
6997 .shithub-icon-button:hover,
6998 .shithub-commit-icon-action:hover {
6999 color: var(--accent-fg);
7000 background: var(--canvas-subtle);
7001 text-decoration: none;
7002 }
7003 .shithub-commit-icon-action.is-copied {
7004 color: var(--success-fg, #3fb950);
7005 }
7006 .shithub-commit-menu-search {
7007 display: flex;
7008 align-items: center;
7009 gap: 0.45rem;
7010 margin: 0.45rem 0.5rem 0.5rem;
7011 padding: 0 0.55rem;
7012 min-height: 32px;
7013 border: 1px solid var(--border-default);
7014 border-radius: 6px;
7015 color: var(--fg-muted);
7016 background: var(--canvas-default);
7017 }
7018 .shithub-commit-menu-search input {
7019 min-width: 0;
7020 width: 100%;
7021 border: 0;
7022 outline: 0;
7023 color: var(--fg-default);
7024 background: transparent;
7025 font: inherit;
7026 font-size: 0.875rem;
7027 }
7028 .shithub-commit-ref-tabs {
7029 display: grid;
7030 grid-template-columns: 1fr 1fr;
7031 border-top: 1px solid var(--border-muted, var(--border-default));
7032 border-bottom: 1px solid var(--border-muted, var(--border-default));
7033 }
7034 .shithub-commit-ref-tabs button {
7035 padding: 0.55rem 0.7rem;
7036 border: 0;
7037 color: var(--fg-muted);
7038 background: transparent;
7039 font: inherit;
7040 font-size: 0.875rem;
7041 font-weight: 600;
7042 text-align: center;
7043 cursor: pointer;
7044 }
7045 .shithub-commit-ref-tabs button + button {
7046 border-left: 1px solid var(--border-muted, var(--border-default));
7047 }
7048 .shithub-commit-ref-tabs .is-active {
7049 color: var(--fg-default);
7050 background: var(--canvas-subtle);
7051 }
7052 .shithub-commit-ref-list,
7053 .shithub-commit-author-list {
7054 max-height: 300px;
7055 overflow: auto;
7056 }
7057 .shithub-commit-ref-item,
7058 .shithub-commit-author-item {
7059 display: grid;
7060 align-items: center;
7061 min-height: 36px;
7062 padding: 0.35rem 0.75rem;
7063 border-bottom: 1px solid var(--border-muted, var(--border-default));
7064 color: var(--fg-default);
7065 font-size: 0.875rem;
7066 }
7067 .shithub-commit-ref-item {
7068 grid-template-columns: 16px minmax(0, 1fr) auto;
7069 gap: 0.45rem;
7070 }
7071 .shithub-commit-author-item {
7072 grid-template-columns: 24px minmax(0, 1fr);
7073 gap: 0.45rem;
7074 font-weight: 600;
7075 }
7076 .shithub-commit-ref-item:hover,
7077 .shithub-commit-author-item:hover {
7078 background: var(--canvas-subtle);
7079 text-decoration: none;
7080 }
7081 .shithub-commit-ref-item.is-active,
7082 .shithub-commit-author-item.is-active {
7083 color: var(--accent-fg);
7084 }
7085 .shithub-ref-default {
7086 padding: 0.05rem 0.35rem;
7087 border: 1px solid var(--border-default);
7088 border-radius: 999px;
7089 color: var(--fg-muted);
7090 font-size: 0.75rem;
7091 font-weight: 600;
7092 }
7093 .shithub-commit-ref-section-label {
7094 padding: 0.55rem 0.75rem 0.35rem;
7095 color: var(--fg-muted);
7096 font-size: 0.75rem;
7097 font-weight: 600;
7098 text-transform: uppercase;
7099 }
7100 .shithub-commit-menu-empty {
7101 margin: 0;
7102 padding: 0.75rem;
7103 color: var(--fg-muted);
7104 font-size: 0.875rem;
7105 }
7106 .shithub-commit-menu-footer {
7107 display: block;
7108 padding: 0.75rem;
7109 border-top: 1px solid var(--border-default);
7110 color: var(--accent-fg);
7111 font-size: 0.875rem;
7112 font-weight: 600;
7113 text-align: center;
7114 }
7115 .shithub-commit-calendar-head {
7116 display: flex;
7117 align-items: center;
7118 justify-content: space-between;
7119 gap: 0.75rem;
7120 margin-bottom: 0.85rem;
7121 }
7122 .shithub-commit-calendar-month {
7123 display: flex;
7124 align-items: center;
7125 gap: 0.6rem;
7126 font-weight: 600;
7127 }
7128 .shithub-commit-calendar-month span {
7129 display: inline-flex;
7130 align-items: center;
7131 min-height: 30px;
7132 }
7133 .shithub-commit-calendar-nav {
7134 display: inline-flex;
7135 gap: 0.35rem;
7136 }
7137 .shithub-commit-calendar-nav a {
7138 display: inline-flex;
7139 align-items: center;
7140 justify-content: center;
7141 width: 32px;
7142 height: 30px;
7143 border: 1px solid var(--border-default);
7144 border-radius: 6px;
7145 color: var(--fg-muted);
7146 background: var(--canvas-subtle);
7147 font-size: 1.2rem;
7148 line-height: 1;
7149 }
7150 .shithub-commit-calendar-nav a:hover {
7151 color: var(--fg-default);
7152 background: var(--canvas-inset);
7153 text-decoration: none;
7154 }
7155 .shithub-commit-calendar {
7156 width: 100%;
7157 border-collapse: collapse;
7158 table-layout: fixed;
7159 }
7160 .shithub-commit-calendar th {
7161 height: 28px;
7162 color: var(--fg-muted);
7163 font-size: 0.75rem;
7164 font-weight: 600;
7165 text-align: center;
7166 }
7167 .shithub-commit-calendar td {
7168 height: 34px;
7169 padding: 0;
7170 text-align: center;
7171 }
7172 .shithub-commit-calendar-day {
7173 display: inline-flex;
7174 align-items: center;
7175 justify-content: center;
7176 width: 30px;
7177 height: 30px;
7178 border-radius: 6px;
7179 color: var(--fg-muted);
7180 font-size: 0.875rem;
7181 font-variant-numeric: tabular-nums;
7182 }
7183 .shithub-commit-calendar-day.is-in-month {
7184 color: var(--fg-default);
7185 }
7186 .shithub-commit-calendar-day:hover {
7187 background: var(--canvas-subtle);
7188 text-decoration: none;
7189 }
7190 .shithub-commit-calendar-day.is-selected {
7191 color: var(--accent-fg);
7192 font-weight: 700;
7193 text-decoration: underline;
7194 text-underline-offset: 4px;
7195 }
7196 .shithub-commit-calendar-day.is-today {
7197 box-shadow: inset 0 0 0 1px var(--accent-fg);
7198 }
7199 .shithub-commit-calendar-footer {
7200 display: flex;
7201 gap: 1rem;
7202 padding-top: 0.8rem;
7203 font-size: 0.875rem;
7204 font-weight: 600;
7205 }
7206 .shithub-commit-active-filter {
7207 display: flex;
7208 align-items: center;
7209 justify-content: space-between;
7210 gap: 0.75rem;
7211 margin-bottom: 1rem;
7212 padding: 0.55rem 0.75rem;
7213 border: 1px solid var(--border-default);
7214 border-radius: 6px;
7215 color: var(--fg-muted);
7216 background: var(--canvas-subtle);
7217 font-size: 0.875rem;
7218 }
7219 .shithub-commit-timeline {
7220 display: grid;
7221 gap: 0.85rem;
7222 }
7223 .shithub-commit-day-group {
7224 position: relative;
7225 margin-left: 1.05rem;
7226 padding-left: 1.45rem;
7227 }
7228 .shithub-commit-day-group::before {
7229 position: absolute;
7230 top: 1.7rem;
7231 bottom: -0.85rem;
7232 left: 0;
7233 width: 2px;
7234 background: var(--border-default);
7235 content: "";
7236 }
7237 .shithub-commit-day-group:last-child::before {
7238 bottom: 0;
7239 }
7240 .shithub-commit-day-group h2 {
7241 position: relative;
7242 display: flex;
7243 align-items: center;
7244 gap: 0.55rem;
7245 margin: 0 0 0.7rem;
7246 color: var(--fg-muted);
7247 font-size: 0.875rem;
7248 font-weight: 500;
7249 }
7250 .shithub-commit-day-group h2 svg {
7251 position: absolute;
7252 left: -1.82rem;
7253 width: 16px;
7254 height: 16px;
7255 padding: 0.2rem;
7256 border-radius: 50%;
7257 color: var(--fg-muted);
7258 background: var(--canvas-default);
7259 }
7260 .shithub-commits-list {
7261 list-style: none;
7262 padding: 0;
7263 margin: 0;
7264 border: 1px solid var(--border-default);
7265 border-radius: 6px;
7266 background: var(--canvas-default);
7267 overflow: hidden;
7268 }
7269 .shithub-commits-row {
7270 display: grid;
7271 grid-template-columns: minmax(0, 1fr) auto;
7272 gap: 1rem;
7273 min-height: 64px;
7274 padding: 0.72rem 0.85rem;
7275 border-bottom: 1px solid var(--border-default);
7276 align-items: center;
7277 }
7278 .shithub-commits-row:last-child {
7279 border-bottom: 0;
7280 }
7281 .shithub-commit-row-main {
7282 min-width: 0;
7283 display: grid;
7284 gap: 0.35rem;
7285 }
7286 .shithub-commit-message-line {
7287 min-width: 0;
7288 display: flex;
7289 align-items: center;
7290 gap: 0.35rem;
7291 }
7292 .shithub-commits-subject {
7293 min-width: 0;
7294 color: var(--fg-default);
7295 font-weight: 600;
7296 overflow: hidden;
7297 text-overflow: ellipsis;
7298 white-space: nowrap;
7299 }
7300 .shithub-commits-subject:hover {
7301 color: var(--accent-fg);
7302 }
7303 .shithub-commit-attribution {
7304 min-width: 0;
7305 display: flex;
7306 align-items: center;
7307 gap: 0.25rem;
7308 color: var(--fg-muted);
7309 font-size: 0.75rem;
7310 }
7311 .shithub-commit-attribution .shithub-avatar-sm {
7312 width: 16px;
7313 height: 16px;
7314 margin-right: 0.1rem;
7315 }
7316 .shithub-commit-attribution a {
7317 color: var(--fg-muted);
7318 font-weight: 600;
7319 }
7320 .shithub-commit-row-actions {
7321 display: flex;
7322 align-items: center;
7323 gap: 0.15rem;
7324 }
7325 .shithub-commits-sha {
7326 margin-right: 0.35rem;
7327 color: var(--fg-muted);
7328 font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
7329 font-size: 0.75rem;
7330 font-weight: 600;
7331 }
7332 .shithub-commit-body-popover {
7333 position: relative;
7334 }
7335 .shithub-commit-body-popover summary {
7336 display: inline-flex;
7337 align-items: center;
7338 justify-content: center;
7339 width: 22px;
7340 height: 22px;
7341 border-radius: 6px;
7342 color: var(--fg-muted);
7343 list-style: none;
7344 cursor: pointer;
7345 }
7346 .shithub-commit-body-popover summary::-webkit-details-marker {
7347 display: none;
7348 }
7349 .shithub-commit-body-popover summary:hover {
7350 color: var(--accent-fg);
7351 background: var(--canvas-subtle);
7352 }
7353 .shithub-commit-body-popover pre {
7354 position: absolute;
7355 z-index: 20;
7356 top: 28px;
7357 left: 0;
7358 width: min(34rem, 80vw);
7359 max-height: 18rem;
7360 overflow: auto;
7361 margin: 0;
7362 padding: 0.8rem;
7363 border: 1px solid var(--border-default);
7364 border-radius: 6px;
7365 color: var(--fg-default);
7366 background: var(--canvas-overlay, var(--canvas-default));
7367 box-shadow: 0 12px 32px rgba(1, 4, 9, 0.35);
7368 font-size: 0.8rem;
7369 white-space: pre-wrap;
7370 }
7371 .shithub-commit-empty {
7372 padding: 2rem;
7373 border: 1px solid var(--border-default);
7374 border-radius: 6px;
7375 color: var(--fg-muted);
7376 background: var(--canvas-subtle);
7377 text-align: center;
7378 }
7379 .shithub-pager {
7380 display: flex;
7381 gap: 0.75rem;
7382 padding: 1rem 0;
7383 }
7384 .shithub-commit-pager {
7385 justify-content: flex-end;
7386 }
7387 .shithub-commit-pager a {
7388 display: inline-flex;
7389 align-items: center;
7390 min-height: 32px;
7391 padding: 0 0.8rem;
7392 border: 1px solid var(--border-default);
7393 border-radius: 6px;
7394 color: var(--accent-fg);
7395 background: var(--canvas-subtle);
7396 font-size: 0.875rem;
7397 font-weight: 600;
7398 }
7399
7400 @media (max-width: 720px) {
7401 .shithub-commits-toolbar,
7402 .shithub-commit-filter-stack {
7403 align-items: stretch;
7404 flex-direction: column;
7405 }
7406 .shithub-commit-filter-stack {
7407 width: 100%;
7408 margin-left: 0;
7409 }
7410 .shithub-commit-menu-button {
7411 width: 100%;
7412 justify-content: space-between;
7413 }
7414 .shithub-commit-menu-panel,
7415 .shithub-commit-ref-panel,
7416 .shithub-commit-calendar-panel {
7417 left: 0;
7418 right: auto;
7419 width: min(100%, 320px);
7420 }
7421 .shithub-commit-day-group {
7422 margin-left: 0.65rem;
7423 padding-left: 1.05rem;
7424 }
7425 .shithub-commits-row {
7426 grid-template-columns: 1fr;
7427 gap: 0.5rem;
7428 }
7429 .shithub-commit-row-actions {
7430 justify-content: flex-start;
7431 }
7432 }
7433
7434 .shithub-commit-view { max-width: 64rem; margin: 1.5rem auto; padding: 0 1rem; }
7435 .shithub-commit-meta {
7436 margin-top: 1rem;
7437 padding: 1rem;
7438 border: 1px solid var(--border-default);
7439 border-radius: 6px;
7440 background: var(--canvas-subtle);
7441 }
7442 .shithub-commit-subject { margin: 0 0 0.5rem; font-size: 1.2rem; }
7443 .shithub-commit-body { margin: 0.75rem 0; font-family: monospace; font-size: 0.9rem; line-height: 1.4; }
7444 .shithub-commit-people { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 0.75rem 0; font-size: 0.875rem; }
7445 .shithub-commit-actor { display: inline-flex; align-items: center; gap: 0.4rem; }
7446 .shithub-commit-role { color: var(--fg-muted); font-weight: 500; }
7447 .shithub-commit-refs { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1rem; font-size: 0.875rem; }
7448 .shithub-commit-refs dt { color: var(--fg-muted); }
7449 .shithub-commit-refs dd { margin: 0; font-family: monospace; }
7450
7451 .shithub-commit-files { margin-top: 1.5rem; }
7452 .shithub-commit-files-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
7453 .shithub-commit-files-table th, .shithub-commit-files-table td {
7454 padding: 0.4rem 0.6rem;
7455 border-bottom: 1px solid var(--border-default);
7456 text-align: left;
7457 }
7458 .shithub-num-col { width: 80px; text-align: right; font-variant-numeric: tabular-nums; }
7459 .shithub-add { color: #22863a; }
7460 .shithub-del { color: #cb2431; }
7461 .shithub-status-A { color: #22863a; font-weight: 600; }
7462 .shithub-status-M { color: #b08800; font-weight: 600; }
7463 .shithub-status-D { color: #cb2431; font-weight: 600; }
7464 .shithub-status-R { color: #6f42c1; font-weight: 600; }
7465 .shithub-status-C { color: #0366d6; font-weight: 600; }
7466
7467 .shithub-blame-table { width: 100%; border-collapse: collapse; font-family: monospace; font-size: 0.85rem; }
7468 .shithub-blame-chunk-header td {
7469 padding: 0.4rem 0.6rem;
7470 background: var(--canvas-subtle);
7471 border-top: 1px solid var(--border-default);
7472 font-family: var(--shithub-font-default, sans-serif);
7473 font-size: 0.8rem;
7474 color: var(--fg-muted);
7475 display: flex;
7476 gap: 0.4rem;
7477 align-items: center;
7478 }
7479 .shithub-blame-lineno { width: 50px; text-align: right; padding-right: 0.5rem; color: var(--fg-muted); }
7480 .shithub-blame-lineno a { color: inherit; }
7481 .shithub-blame-content pre { margin: 0; white-space: pre; }
7482 .shithub-blame-too-large {
7483 padding: 1rem;
7484 border: 1px dashed var(--border-default);
7485 border-radius: 6px;
7486 text-align: center;
7487 color: var(--fg-muted);
7488 }
7489
7490 /* ========== Diff renderer (S19) ========== */
7491 .shithub-commit-files-head {
7492 display: flex;
7493 align-items: center;
7494 justify-content: space-between;
7495 margin-bottom: 0.5rem;
7496 }
7497 .shithub-diff-toggles { display: flex; gap: 0.25rem; }
7498 .shithub-diff-body { margin-top: 1rem; }
7499 .shithub-diff-file {
7500 margin-top: 1rem;
7501 border: 1px solid var(--border-default);
7502 border-radius: 6px;
7503 overflow: hidden;
7504 }
7505 .shithub-diff-file-head {
7506 display: flex;
7507 align-items: center;
7508 justify-content: space-between;
7509 gap: 0.75rem;
7510 padding: 0.5rem 0.75rem;
7511 background: var(--canvas-subtle);
7512 border-bottom: 1px solid var(--border-default);
7513 font-size: 0.875rem;
7514 }
7515 .shithub-diff-file-action { color: var(--fg-muted); font-style: italic; }
7516 .shithub-diff-binary, .shithub-diff-image, .shithub-diff-empty, .shithub-diff-truncated {
7517 padding: 1rem;
7518 text-align: center;
7519 color: var(--fg-muted);
7520 }
7521 .shithub-diff-file-toolarge { padding: 0.5rem 0.75rem; }
7522 .shithub-diff-file-toolarge > summary { cursor: pointer; color: var(--fg-muted); }
7523 .shithub-diff-table {
7524 width: 100%;
7525 border-collapse: collapse;
7526 font-family: monospace;
7527 font-size: 0.85rem;
7528 table-layout: fixed;
7529 }
7530 .shithub-diff-table td { padding: 0 0.5rem; vertical-align: top; }
7531 .shithub-diff-table pre { margin: 0; white-space: pre; }
7532 .shithub-diff-lineno {
7533 width: 50px;
7534 text-align: right;
7535 color: var(--fg-muted);
7536 user-select: none;
7537 background: var(--canvas-subtle);
7538 }
7539 .shithub-diff-content { width: auto; }
7540 .shithub-diff-add { background: rgba(46, 160, 67, 0.10); }
7541 .shithub-diff-del { background: rgba(248, 81, 73, 0.10); }
7542 .shithub-diff-add .shithub-diff-content { background: rgba(46, 160, 67, 0.05); }
7543 .shithub-diff-del .shithub-diff-content { background: rgba(248, 81, 73, 0.05); }
7544 .shithub-diff-pad { background: var(--canvas-subtle); }
7545 .shithub-diff-hunk-head td {
7546 padding: 0.4rem 0.75rem;
7547 background: var(--canvas-default);
7548 border-top: 1px solid var(--border-default);
7549 border-bottom: 1px solid var(--border-default);
7550 color: var(--fg-muted);
7551 }
7552 .shithub-diff-split td.shithub-diff-content {
7553 width: 50%;
7554 border-left: 1px solid var(--border-default);
7555 }
7556
7557 /* ========== Branches/Tags/Compare/Settings (S20) ========== */
7558 .shithub-branches, .shithub-tags, .shithub-compare, .shithub-settings-branches {
7559 max-width: 64rem;
7560 margin: 1.5rem auto;
7561 padding: 0 1rem;
7562 }
7563 .shithub-branches-filter { display: flex; gap: 0.4rem; }
7564 .shithub-branches-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
7565 .shithub-branches-table th, .shithub-branches-table td {
7566 padding: 0.5rem 0.75rem;
7567 text-align: left;
7568 border-bottom: 1px solid var(--border-default);
7569 }
7570 .shithub-branches-subject { color: var(--fg-default); }
7571 .shithub-compare-summary { padding: 0.75rem 1rem; background: var(--canvas-subtle); border-radius: 6px; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
7572 .shithub-compare-empty { padding: 1.5rem; text-align: center; color: var(--fg-muted); border: 1px dashed var(--border-default); border-radius: 6px; }
7573 .shithub-compare-commits { margin-top: 1.5rem; }
7574 .shithub-settings-branches form label { display: block; margin: 0.5rem 0; }
7575 .shithub-settings-branches form input[type=text],
7576 .shithub-settings-branches form select { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; min-width: 280px; }
7577
7578 /* ========== Issues / Labels / Milestones (S21) ========== */
7579 .shithub-issues, .shithub-issue-view, .shithub-issue-new, .shithub-labels, .shithub-milestones {
7580 margin: 0;
7581 padding: 0;
7582 }
7583 .shithub-issues-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
7584 .shithub-issues-actions { display: flex; gap: 0.4rem; }
7585 .shithub-issues-filter { display: flex; gap: 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); margin: 1rem 0; }
7586 .shithub-issues-tab { color: var(--fg-muted); padding: 0.25rem 0; border-bottom: 2px solid transparent; }
7587 .shithub-issues-tab-active { color: var(--fg-default); border-bottom-color: var(--accent-emphasis, #0969da); font-weight: 600; }
7588 .shithub-issues-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; vertical-align: middle; margin-right: 0.25rem; }
7589 .shithub-issues-dot-open { background: #1a7f37; }
7590 .shithub-issues-dot-closed { background: #8250df; }
7591 .shithub-issues-list { list-style: none; padding: 0; margin: 0; }
7592 .shithub-issues-row {
7593 display: flex; gap: 0.75rem; align-items: flex-start;
7594 padding: 0.75rem 0.5rem;
7595 border-bottom: 1px solid var(--border-default);
7596 }
7597 .shithub-issues-state { font-size: 1.1rem; line-height: 1.2; }
7598 .shithub-issues-state-open { color: #1a7f37; }
7599 .shithub-issues-state-closed { color: #8250df; }
7600 .shithub-issues-body { flex: 1; }
7601 .shithub-issues-title { font-weight: 600; color: var(--fg-default); }
7602 .shithub-issues-title:hover { color: var(--accent-emphasis, #0969da); }
7603 .shithub-issues-meta { color: var(--fg-muted); font-size: 0.85rem; margin-top: 0.2rem; }
7604 .shithub-issues-assignees { font-size: 0.85rem; }
7605 .shithub-issues-empty { color: var(--fg-muted); padding: 2rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; }
7606 .shithub-issue-num { color: var(--fg-muted); font-weight: 400; margin-left: 0.5rem; }
7607 .shithub-issue-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: 1px solid var(--border-default); padding-bottom: 0.75rem; }
7608 .shithub-issue-title { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; margin: 0; }
7609 .shithub-issue-head-actions { display: flex; gap: 0.5rem; flex: 0 0 auto; }
7610 .shithub-issue-meta { color: var(--fg-muted); margin: 0.75rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
7611 .shithub-issue-meta .shithub-pill, .shithub-comment-form .shithub-button, .shithub-sidebar-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; }
7612 .shithub-issue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.5rem; }
7613 @media (max-width: 900px) { .shithub-issue-grid { grid-template-columns: 1fr; } }
7614 .shithub-comment {
7615 border: 1px solid var(--border-default);
7616 border-radius: 6px;
7617 margin-bottom: 1rem;
7618 background: var(--canvas-default);
7619 }
7620 .shithub-comment-head {
7621 padding: 0.5rem 0.75rem;
7622 background: var(--canvas-subtle);
7623 border-bottom: 1px solid var(--border-default);
7624 font-size: 0.9rem;
7625 color: var(--fg-muted);
7626 }
7627 .shithub-comment-body { padding: 0.75rem; }
7628 .shithub-event {
7629 color: var(--fg-muted);
7630 font-size: 0.85rem;
7631 display: flex;
7632 align-items: center;
7633 gap: 0.5rem;
7634 padding: 0.55rem 0;
7635 margin: 0 0 1rem 1.2rem;
7636 position: relative;
7637 }
7638 .shithub-event::before {
7639 content: "";
7640 position: absolute;
7641 top: -1rem;
7642 bottom: -1rem;
7643 left: 0.6rem;
7644 border-left: 2px solid var(--border-default);
7645 z-index: 0;
7646 }
7647 .shithub-event-icon {
7648 width: 1.3rem;
7649 height: 1.3rem;
7650 border: 1px solid var(--border-default);
7651 border-radius: 50%;
7652 background: var(--canvas-default);
7653 color: var(--fg-muted);
7654 display: inline-flex;
7655 align-items: center;
7656 justify-content: center;
7657 position: relative;
7658 z-index: 1;
7659 flex: 0 0 auto;
7660 }
7661 .shithub-event-icon svg { width: 0.8rem; height: 0.8rem; }
7662 .shithub-event-linked .shithub-event-icon { color: var(--fg-muted); }
7663 .shithub-event a { font-weight: 600; }
7664 .shithub-comment-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
7665 .shithub-comment-form textarea, .shithub-issue-form textarea, .shithub-issue-form input[type=text] {
7666 font: inherit; padding: 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; width: 100%;
7667 resize: vertical;
7668 }
7669 .shithub-issue-form { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; }
7670 .shithub-form-row { display: flex; flex-direction: column; gap: 0.25rem; }
7671 .shithub-form-row span { font-weight: 600; font-size: 0.9rem; }
7672 .shithub-form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
7673 .shithub-form-actions-start { justify-content: flex-start; }
7674 .shithub-issue-sidebar section { padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); position: relative; }
7675 .shithub-sidebar-heading { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
7676 .shithub-issue-sidebar h3 { font-size: 0.85rem; color: var(--fg-muted); margin: 0; }
7677 .shithub-sidebar-icon, .shithub-sidebar-editor > summary {
7678 color: var(--fg-muted);
7679 display: inline-flex;
7680 align-items: center;
7681 justify-content: center;
7682 width: 1.25rem;
7683 height: 1.25rem;
7684 cursor: pointer;
7685 }
7686 .shithub-sidebar-editor > summary { list-style: none; }
7687 .shithub-sidebar-editor > summary::-webkit-details-marker { display: none; }
7688 .shithub-popover {
7689 position: absolute;
7690 right: 0;
7691 top: 2rem;
7692 z-index: 20;
7693 min-width: 17rem;
7694 display: flex;
7695 flex-direction: column;
7696 gap: 0.55rem;
7697 padding: 0.75rem;
7698 background: var(--canvas-default);
7699 border: 1px solid var(--border-default);
7700 border-radius: 8px;
7701 box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
7702 }
7703 .shithub-popover input[type=text], .shithub-popover select {
7704 font: inherit;
7705 width: 100%;
7706 padding: 0.45rem 0.5rem;
7707 border: 1px solid var(--border-default);
7708 border-radius: 6px;
7709 background: var(--canvas-default);
7710 color: var(--fg-default);
7711 }
7712 .shithub-inline-form { display: inline; }
7713 .shithub-link-button {
7714 border: 0;
7715 padding: 0;
7716 background: transparent;
7717 color: var(--accent-emphasis, #0969da);
7718 font: inherit;
7719 cursor: pointer;
7720 display: inline-flex;
7721 gap: 0.35rem;
7722 align-items: center;
7723 }
7724 .shithub-sidebar-button { width: 100%; }
7725 .shithub-participant { display: inline-block; margin: 0 0.35rem 0.35rem 0; }
7726 .shithub-issue-actions form { margin: 0.25rem 0; }
7727 .shithub-issue-signedout { color: var(--fg-muted); padding: 1rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; }
7728 .shithub-label {
7729 display: inline-block;
7730 font-size: 0.75rem;
7731 padding: 0.1rem 0.5rem;
7732 border-radius: 1rem;
7733 color: #1f2328;
7734 font-weight: 500;
7735 margin: 0 0.15rem;
7736 }
7737 .shithub-label-pick { display: flex; gap: 0.4rem; align-items: center; padding: 0.2rem 0; }
7738 .shithub-assignee-form { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 0.5rem; }
7739 .shithub-assignee-form input[type=text] { padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; }
7740 .shithub-labels-list, .shithub-milestones-list { list-style: none; padding: 0; }
7741 .shithub-labels-row, .shithub-milestones-row {
7742 padding: 0.75rem 0;
7743 border-bottom: 1px solid var(--border-default);
7744 display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
7745 }
7746 .shithub-label-form, .shithub-milestone-form { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0; }
7747 .shithub-label-form input, .shithub-milestone-form input, .shithub-milestone-form textarea {
7748 padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
7749 }
7750 .shithub-button-danger { color: #cf222e; }
7751 .shithub-error { padding: 0.75rem; background: #ffebe9; border: 1px solid #ffcecb; border-radius: 6px; color: #82061e; margin-bottom: 1rem; }
7752 .shithub-muted { color: var(--fg-muted); }
7753
7754 /* ========== Pull Requests (S22) ========== */
7755 .shithub-pulls, .shithub-pull-view { margin: 0; padding: 0; }
7756 .shithub-pull-head { margin: 1.25rem 0 1rem; }
7757 .shithub-pull-title-row {
7758 display: flex;
7759 align-items: flex-start;
7760 justify-content: space-between;
7761 gap: 1rem;
7762 }
7763 .shithub-pull-title {
7764 margin: 0;
7765 display: flex;
7766 gap: 0.35rem;
7767 align-items: baseline;
7768 flex-wrap: wrap;
7769 font-size: 1.75rem;
7770 line-height: 1.25;
7771 font-weight: 600;
7772 }
7773 .shithub-pull-head-actions {
7774 display: flex;
7775 align-items: center;
7776 gap: 0.5rem;
7777 flex: 0 0 auto;
7778 }
7779 .shithub-pull-head-status { color: var(--fg-muted); }
7780 .shithub-pull-head-status-clean { color: #1a7f37; }
7781 .shithub-pull-head-status-dirty { color: #cf222e; }
7782 .shithub-pull-summary {
7783 display: flex;
7784 align-items: center;
7785 gap: 0.5rem;
7786 flex-wrap: wrap;
7787 margin-top: 0.6rem;
7788 color: var(--fg-muted);
7789 font-size: 0.9rem;
7790 }
7791 .shithub-pull-summary a { font-weight: 600; }
7792 .shithub-pull-merged { background: #8250df22; color: #8250df; }
7793 .shithub-branch-name {
7794 display: inline-flex;
7795 align-items: center;
7796 max-width: 18rem;
7797 padding: 0.05rem 0.35rem;
7798 border-radius: 6px;
7799 background: var(--canvas-subtle);
7800 font-family: var(--mono, monospace);
7801 font-size: 0.85rem;
7802 vertical-align: baseline;
7803 }
7804 .shithub-pull-summary .shithub-icon-button {
7805 display: inline-flex;
7806 align-items: center;
7807 justify-content: center;
7808 width: 1.5rem;
7809 height: 1.5rem;
7810 padding: 0;
7811 border: 0;
7812 border-radius: 6px;
7813 background: transparent;
7814 color: var(--fg-muted);
7815 cursor: pointer;
7816 }
7817 .shithub-pull-summary .shithub-icon-button:hover { background: var(--canvas-subtle); color: var(--fg-default); }
7818 .shithub-pull-tabs {
7819 display: flex;
7820 gap: 0.25rem;
7821 border-bottom: 1px solid var(--border-default);
7822 margin: 1rem 0 1rem;
7823 flex-wrap: wrap;
7824 }
7825 .shithub-pull-tab {
7826 display: inline-flex;
7827 align-items: center;
7828 gap: 0.45rem;
7829 color: var(--fg-muted);
7830 padding: 0.55rem 0.85rem;
7831 border-bottom: 2px solid transparent;
7832 position: relative;
7833 bottom: -1px;
7834 text-decoration: none;
7835 }
7836 .shithub-pull-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; }
7837 .shithub-pull-tab-active {
7838 color: var(--fg-default);
7839 border-bottom-color: var(--accent-emphasis, #fd8c73);
7840 font-weight: 600;
7841 }
7842 .shithub-pull-grid {
7843 display: grid;
7844 grid-template-columns: minmax(0, 1fr) 18.5rem;
7845 gap: 1.5rem;
7846 align-items: start;
7847 }
7848 @media (max-width: 900px) {
7849 .shithub-pull-title-row { flex-direction: column; }
7850 .shithub-pull-grid { grid-template-columns: 1fr; }
7851 }
7852 .shithub-pull-state-clean { color: #1a7f37; font-weight: 600; }
7853 .shithub-pull-state-dirty { color: #cf222e; font-weight: 600; }
7854 .shithub-pull-state-behind { color: #9a6700; }
7855 .shithub-pull-state-unknown { color: var(--fg-muted); }
7856 .shithub-pull-deploy-box,
7857 .shithub-pull-merge-box {
7858 border: 1px solid var(--border-default);
7859 border-radius: 6px;
7860 background: var(--canvas-default);
7861 margin: 0 0 1rem;
7862 }
7863 .shithub-pull-deploy-box {
7864 display: flex;
7865 gap: 0.75rem;
7866 align-items: flex-start;
7867 padding: 0.85rem 1rem;
7868 }
7869 .shithub-pull-deploy-box p { margin: 0.15rem 0 0; }
7870 .shithub-pull-merge-box-ready { border-color: rgba(26, 127, 55, 0.55); }
7871 .shithub-pull-merge-box-blocked { border-color: rgba(207, 34, 46, 0.55); }
7872 .shithub-pull-merge-box-pending { border-color: rgba(154, 103, 0, 0.55); }
7873 .shithub-pull-merge-box-merged { border-color: rgba(130, 80, 223, 0.55); }
7874 .shithub-pull-merge-row {
7875 display: grid;
7876 grid-template-columns: 2rem minmax(0, 1fr);
7877 gap: 0.75rem;
7878 padding: 0.85rem 1rem;
7879 border-bottom: 1px solid var(--border-default);
7880 }
7881 .shithub-pull-merge-row:last-child { border-bottom: none; }
7882 .shithub-pull-merge-row p { margin: 0.15rem 0 0; }
7883 .shithub-pull-status-icon {
7884 width: 1.5rem;
7885 height: 1.5rem;
7886 border-radius: 50%;
7887 color: var(--fg-muted);
7888 display: inline-flex;
7889 align-items: center;
7890 justify-content: center;
7891 }
7892 .shithub-pull-status-icon-success,
7893 .shithub-pull-check-row-success .shithub-pull-status-icon { color: #1a7f37; }
7894 .shithub-pull-status-icon-danger,
7895 .shithub-pull-check-row-failure .shithub-pull-status-icon { color: #cf222e; }
7896 .shithub-pull-check-row-pending .shithub-pull-status-icon { color: #bf8700; }
7897 .shithub-pull-status-icon-merged { color: #8250df; }
7898 .shithub-pull-merge-checks {
7899 list-style: none;
7900 margin: 0;
7901 padding: 0;
7902 border-bottom: 1px solid var(--border-default);
7903 }
7904 .shithub-pull-merge-checks li {
7905 display: flex;
7906 align-items: center;
7907 gap: 0.5rem;
7908 padding: 0.45rem 1rem 0.45rem 3.75rem;
7909 border-top: 1px solid var(--border-muted);
7910 font-size: 0.86rem;
7911 }
7912 .shithub-pull-merge-checks small { color: var(--fg-muted); margin-left: auto; }
7913 .shithub-pull-merge-actions {
7914 padding: 0.85rem 1rem;
7915 display: flex;
7916 flex-wrap: wrap;
7917 gap: 0.5rem;
7918 background: var(--canvas-subtle);
7919 border-radius: 0 0 6px 6px;
7920 }
7921 .shithub-pull-merge-form {
7922 display: flex;
7923 align-items: center;
7924 gap: 0;
7925 margin: 0;
7926 }
7927 .shithub-pull-merge-form select {
7928 min-height: 32px;
7929 padding: 0 0.55rem;
7930 border: 1px solid var(--border-default);
7931 border-left: 0;
7932 border-radius: 0 6px 6px 0;
7933 background: var(--canvas-default);
7934 color: var(--fg-default);
7935 font: inherit;
7936 }
7937 .shithub-pull-merge-form .shithub-button { border-radius: 6px 0 0 6px; }
7938 .shithub-pull-state-form { margin-top: 0.5rem; }
7939 .shithub-pull-refs { display: flex; gap: 0.4rem; align-items: flex-end; }
7940 .shithub-pull-refs label { flex: 1; }
7941 .shithub-pull-arrow { font-size: 1.4rem; padding: 0 0.4rem; align-self: center; }
7942 .shithub-sr-only {
7943 position: absolute;
7944 width: 1px;
7945 height: 1px;
7946 padding: 0;
7947 margin: -1px;
7948 overflow: hidden;
7949 clip: rect(0, 0, 0, 0);
7950 white-space: nowrap;
7951 border: 0;
7952 }
7953 .shithub-pull-commits {
7954 display: flex;
7955 flex-direction: column;
7956 gap: 1rem;
7957 max-width: 56rem;
7958 margin-top: 1rem;
7959 }
7960 .shithub-pull-commit-group {
7961 display: grid;
7962 grid-template-columns: 2rem minmax(0, 1fr);
7963 gap: 0.75rem;
7964 position: relative;
7965 }
7966 .shithub-pull-commit-group::before {
7967 content: "";
7968 position: absolute;
7969 top: 2rem;
7970 bottom: -1rem;
7971 left: 1rem;
7972 width: 1px;
7973 background: var(--border-default);
7974 }
7975 .shithub-pull-commit-group:last-child::before { display: none; }
7976 .shithub-pull-commit-badge {
7977 position: relative;
7978 z-index: 1;
7979 display: inline-flex;
7980 align-items: center;
7981 justify-content: center;
7982 width: 2rem;
7983 height: 2rem;
7984 border: 1px solid var(--border-default);
7985 border-radius: 50%;
7986 color: var(--fg-muted);
7987 background: var(--canvas-default);
7988 }
7989 .shithub-pull-commit-group-body { min-width: 0; }
7990 .shithub-pull-commit-group h3 {
7991 margin: 0.3rem 0 0.65rem;
7992 font-size: 0.95rem;
7993 font-weight: 400;
7994 }
7995 .shithub-pull-commit-panel {
7996 list-style: none;
7997 padding: 0;
7998 margin: 0;
7999 border: 1px solid var(--border-default);
8000 border-radius: 6px;
8001 background: var(--canvas-default);
8002 }
8003 .shithub-pull-commit-row {
8004 display: grid;
8005 grid-template-columns: minmax(0, 1fr) auto;
8006 gap: 1rem;
8007 align-items: center;
8008 padding: 0.75rem;
8009 border-bottom: 1px solid var(--border-default);
8010 }
8011 .shithub-pull-commit-row:last-child { border-bottom: 0; }
8012 .shithub-pull-commit-main { min-width: 0; }
8013 .shithub-pull-commit-title {
8014 display: block;
8015 overflow: hidden;
8016 color: var(--fg-default);
8017 font-weight: 600;
8018 text-overflow: ellipsis;
8019 white-space: nowrap;
8020 }
8021 .shithub-pull-commit-meta {
8022 display: flex;
8023 align-items: center;
8024 flex-wrap: wrap;
8025 gap: 0.25rem;
8026 margin-top: 0.3rem;
8027 color: var(--fg-muted);
8028 font-size: 0.84rem;
8029 }
8030 .shithub-pull-commit-meta .shithub-avatar-sm { width: 16px; height: 16px; margin-right: 0.15rem; }
8031 .shithub-pull-commit-actions {
8032 display: flex;
8033 align-items: center;
8034 gap: 0.25rem;
8035 }
8036 .shithub-pull-commit-sha {
8037 font-family: var(--mono, monospace);
8038 color: var(--fg-muted);
8039 }
8040 @media (max-width: 640px) {
8041 .shithub-pull-commit-row { grid-template-columns: 1fr; }
8042 .shithub-pull-commit-actions { justify-content: flex-start; }
8043 }
8044
8045 /* ========== PR Reviews (S23) ========== */
8046 .shithub-pull-reviews-list, .shithub-pull-reviewers-list {
8047 list-style: none; padding: 0; margin: 0; font-size: 0.9rem;
8048 }
8049 .shithub-pull-reviews-list { margin-top: 0.5rem; }
8050 .shithub-pull-reviews-list li,
8051 .shithub-pull-reviewers-list li { padding: 0.2rem 0; display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: baseline; }
8052 .shithub-pull-review-state { font-weight: 600; }
8053 .shithub-pull-review-approve .shithub-pull-review-state { color: #1a7f37; }
8054 .shithub-pull-review-request_changes .shithub-pull-review-state { color: #cf222e; }
8055 .shithub-pull-review-comment .shithub-pull-review-state { color: var(--fg-muted); }
8056 .shithub-pull-review-dismissed { opacity: 0.5; text-decoration: line-through; }
8057 .shithub-pull-request-reviewer summary, .shithub-pull-submit-review summary {
8058 margin: 0.5rem 0 0.25rem;
8059 }
8060 .shithub-pull-review-form { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.4rem 0; }
8061 .shithub-pull-review-form textarea, .shithub-pull-review-form select {
8062 padding: 0.4rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
8063 }
8064 .shithub-pull-comment-form { margin-top: 1.25rem; }
8065 .shithub-button-compact { min-height: 32px; padding: 0.25rem 0.7rem; }
8066 .shithub-pull-files { margin-top: 0.25rem; }
8067 .shithub-pull-files-toolbar {
8068 position: sticky;
8069 top: 0;
8070 z-index: 5;
8071 display: flex;
8072 justify-content: space-between;
8073 align-items: center;
8074 gap: 1rem;
8075 padding: 0.7rem 0;
8076 border-bottom: 1px solid var(--border-default);
8077 background: var(--canvas-default);
8078 }
8079 .shithub-pull-files-toolbar-left,
8080 .shithub-pull-files-toolbar-right {
8081 display: flex;
8082 align-items: center;
8083 gap: 0.5rem;
8084 flex-wrap: wrap;
8085 }
8086 .shithub-pull-submit-review-menu { position: relative; }
8087 .shithub-pull-submit-review-menu > summary { list-style: none; }
8088 .shithub-pull-submit-review-menu > summary::-webkit-details-marker { display: none; }
8089 .shithub-pull-review-popover {
8090 right: 0;
8091 top: calc(100% + 0.4rem);
8092 min-width: 20rem;
8093 }
8094 .shithub-pull-review-popover textarea {
8095 width: 100%;
8096 padding: 0.45rem 0.5rem;
8097 border: 1px solid var(--border-default);
8098 border-radius: 6px;
8099 background: var(--canvas-default);
8100 color: var(--fg-default);
8101 font: inherit;
8102 }
8103 .shithub-pull-files-layout {
8104 display: grid;
8105 grid-template-columns: 16rem minmax(0, 1fr);
8106 gap: 1rem;
8107 margin-top: 1rem;
8108 }
8109 .shithub-pull-file-nav {
8110 position: sticky;
8111 top: 3.75rem;
8112 align-self: start;
8113 max-height: calc(100vh - 5rem);
8114 overflow: auto;
8115 border: 1px solid var(--border-default);
8116 border-radius: 6px;
8117 background: var(--canvas-default);
8118 }
8119 .shithub-pull-file-filter {
8120 display: flex;
8121 align-items: center;
8122 gap: 0.35rem;
8123 padding: 0.5rem;
8124 border-bottom: 1px solid var(--border-default);
8125 }
8126 .shithub-pull-file-filter svg { color: var(--fg-muted); flex: 0 0 auto; }
8127 .shithub-pull-file-filter input {
8128 min-width: 0;
8129 width: 100%;
8130 border: 0;
8131 background: transparent;
8132 color: var(--fg-default);
8133 font: inherit;
8134 outline: none;
8135 }
8136 .shithub-pull-file-nav ul {
8137 list-style: none;
8138 margin: 0;
8139 padding: 0.4rem 0;
8140 }
8141 .shithub-pull-file-nav li a {
8142 display: grid;
8143 grid-template-columns: 1.4rem minmax(0, 1fr);
8144 gap: 0.45rem;
8145 align-items: start;
8146 padding: 0.45rem 0.65rem;
8147 color: var(--fg-default);
8148 text-decoration: none;
8149 font-size: 0.86rem;
8150 }
8151 .shithub-pull-file-nav li a:hover { background: var(--canvas-subtle); }
8152 .shithub-pull-file-nav small {
8153 display: block;
8154 color: var(--fg-muted);
8155 font-size: 0.75rem;
8156 overflow: hidden;
8157 text-overflow: ellipsis;
8158 white-space: nowrap;
8159 }
8160 .shithub-pull-file-status {
8161 display: inline-flex;
8162 align-items: center;
8163 justify-content: center;
8164 width: 1.1rem;
8165 height: 1.1rem;
8166 border-radius: 4px;
8167 font-size: 0.68rem;
8168 font-weight: 700;
8169 }
8170 .shithub-pull-file-status-added { color: #1a7f37; border: 1px solid rgba(26, 127, 55, 0.45); }
8171 .shithub-pull-file-status-deleted { color: #cf222e; border: 1px solid rgba(207, 34, 46, 0.45); }
8172 .shithub-pull-file-status-renamed { color: #8250df; border: 1px solid rgba(130, 80, 223, 0.45); }
8173 .shithub-pull-file-status-modified { color: #bf8700; border: 1px solid rgba(154, 103, 0, 0.45); }
8174 .shithub-pull-file-lines { margin-top: 0.1rem; }
8175 .shithub-pull-files-main { min-width: 0; }
8176 @media (max-width: 900px) {
8177 .shithub-pull-files-toolbar { position: static; align-items: flex-start; flex-direction: column; }
8178 .shithub-pull-files-layout { grid-template-columns: 1fr; }
8179 .shithub-pull-file-nav { position: static; max-height: none; }
8180 }
8181 .shithub-pull-threads { margin-top: 1.5rem; padding: 0.75rem; border: 1px solid var(--border-default); border-radius: 6px; }
8182 .shithub-pull-thread-file { padding: 0.4rem 0; border-bottom: 1px solid var(--border-default); }
8183 .shithub-pull-thread-file:last-child { border-bottom: none; }
8184 .shithub-pull-thread-file summary { cursor: pointer; font-weight: 600; }
8185 .shithub-pull-thread { padding: 0.5rem; border-left: 3px solid var(--border-default); margin: 0.5rem 0; }
8186 .shithub-pull-thread-outdated { opacity: 0.6; border-left-color: #9a6700; }
8187 .shithub-pull-thread-resolved { opacity: 0.7; border-left-color: #1a7f37; }
8188 .shithub-pull-thread-actions { display: flex; gap: 0.3rem; margin-top: 0.4rem; flex-wrap: wrap; }
8189 .shithub-pull-thread-actions textarea, .shithub-pull-thread-actions input[type=text] {
8190 padding: 0.3rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
8191 }
8192 .shithub-pull-add-comment summary { margin-top: 0.5rem; }
8193 .shithub-pull-add-comment form { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.4rem 0; }
8194 .shithub-pull-add-comment input, .shithub-pull-add-comment textarea {
8195 padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
8196 }
8197
8198 /* ========== PR Checks tab (S24) ========== */
8199 .shithub-checks-page {
8200 display: grid;
8201 grid-template-columns: 15rem minmax(0, 1fr);
8202 gap: 1.5rem;
8203 margin-top: 1rem;
8204 }
8205 .shithub-checks-sidebar {
8206 position: sticky;
8207 top: 1rem;
8208 align-self: start;
8209 display: flex;
8210 flex-direction: column;
8211 gap: 0.35rem;
8212 }
8213 .shithub-checks-sidebar-group {
8214 padding-top: 0.75rem;
8215 margin-top: 0.5rem;
8216 border-top: 1px solid var(--border-default);
8217 }
8218 .shithub-checks-sidebar-heading {
8219 padding: 0.35rem 0.55rem;
8220 color: var(--fg-muted);
8221 font-size: 0.8rem;
8222 font-weight: 600;
8223 }
8224 .shithub-checks-sidebar-item {
8225 display: flex;
8226 align-items: center;
8227 gap: 0.45rem;
8228 padding: 0.45rem 0.55rem;
8229 border-radius: 6px;
8230 color: var(--fg-default);
8231 text-decoration: none;
8232 font-size: 0.86rem;
8233 }
8234 .shithub-checks-sidebar-item.is-active,
8235 .shithub-checks-sidebar-item:hover {
8236 background: var(--canvas-subtle);
8237 }
8238 .shithub-checks-main {
8239 display: flex;
8240 flex-direction: column;
8241 gap: 1rem;
8242 min-width: 0;
8243 }
8244 .shithub-checks-summary-card {
8245 display: grid;
8246 grid-template-columns: minmax(0, 2fr) repeat(3, minmax(7rem, 1fr));
8247 gap: 1rem;
8248 padding: 1rem;
8249 border: 1px solid var(--border-default);
8250 border-radius: 6px;
8251 background: var(--canvas-default);
8252 }
8253 .shithub-checks-summary-card > div {
8254 display: flex;
8255 flex-direction: column;
8256 gap: 0.25rem;
8257 }
8258 .shithub-checks-success { color: #1a7f37; }
8259 .shithub-checks-failure { color: #cf222e; }
8260 .shithub-checks-pending { color: #9a6700; }
8261 .shithub-checks-workflow,
8262 .shithub-checks-annotations {
8263 border: 1px solid var(--border-default);
8264 border-radius: 6px;
8265 background: var(--canvas-default);
8266 }
8267 .shithub-checks-workflow > header {
8268 display: flex;
8269 justify-content: space-between;
8270 align-items: flex-start;
8271 gap: 1rem;
8272 padding: 1rem;
8273 border-bottom: 1px solid var(--border-default);
8274 }
8275 .shithub-checks-workflow h2,
8276 .shithub-checks-annotations h2 {
8277 margin: 0;
8278 font-size: 1rem;
8279 }
8280 .shithub-checks-workflow p { margin: 0.2rem 0 0; }
8281 .shithub-checks-workflow-map {
8282 padding: 1rem;
8283 min-height: 8rem;
8284 background: var(--canvas-inset);
8285 }
8286 .shithub-checks-run-card {
8287 max-width: 18rem;
8288 display: grid;
8289 grid-template-columns: 1.5rem minmax(0, 1fr) auto;
8290 gap: 0.55rem;
8291 align-items: center;
8292 padding: 0.75rem;
8293 border: 1px solid var(--border-default);
8294 border-radius: 6px;
8295 background: var(--canvas-default);
8296 }
8297 .shithub-checks-run-card + .shithub-checks-run-card { margin-top: 0.75rem; }
8298 .shithub-checks-run-card p { margin: 0.15rem 0 0; }
8299 .shithub-checks-run-icon {
8300 display: inline-flex;
8301 align-items: center;
8302 justify-content: center;
8303 color: #1a7f37;
8304 }
8305 .shithub-checks-annotations { padding: 1rem; }
8306 .shithub-checks-annotation {
8307 margin-top: 0.75rem;
8308 padding: 0.75rem;
8309 border: 1px solid var(--border-default);
8310 border-radius: 6px;
8311 background: var(--canvas-subtle);
8312 }
8313 .shithub-checks-annotation summary {
8314 cursor: pointer;
8315 display: flex;
8316 justify-content: space-between;
8317 gap: 1rem;
8318 }
8319 @media (max-width: 900px) {
8320 .shithub-checks-page { grid-template-columns: 1fr; }
8321 .shithub-checks-sidebar { position: static; }
8322 .shithub-checks-summary-card { grid-template-columns: 1fr; }
8323 }
8324 .shithub-pull-checks { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.5rem 0; }
8325 .shithub-pull-check-suite {
8326 border: 1px solid var(--border-default);
8327 border-radius: 6px;
8328 padding: 0.75rem;
8329 }
8330 .shithub-pull-check-suite h3 {
8331 display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
8332 font-size: 1rem; margin: 0 0 0.5rem;
8333 }
8334 .shithub-pull-check-app { font-family: var(--mono, monospace); font-size: 0.85rem; color: var(--fg-muted); }
8335 .shithub-pull-check-suite-status { font-size: 0.8rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--canvas-subtle); }
8336 .shithub-pull-check-runs { list-style: none; padding: 0; margin: 0; }
8337 .shithub-pull-check-run {
8338 display: flex; gap: 0.5rem; align-items: baseline;
8339 padding: 0.3rem 0; border-bottom: 1px solid var(--border-default);
8340 flex-wrap: wrap;
8341 }
8342 .shithub-pull-check-run:last-child { border-bottom: none; }
8343 .shithub-pull-check-status-completed { color: #1a7f37; }
8344 .shithub-pull-check-status-in_progress { color: #9a6700; }
8345 .shithub-pull-check-status-queued { color: var(--fg-muted); }
8346 .shithub-pull-check-status-pending { color: var(--fg-muted); }
8347 .shithub-pull-check-conclusion {
8348 font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: 999px;
8349 text-transform: lowercase;
8350 }
8351 .shithub-pull-check-conclusion-success { background: #1a7f3722; color: #1a7f37; }
8352 .shithub-pull-check-conclusion-failure { background: #cf222e22; color: #cf222e; }
8353 .shithub-pull-check-conclusion-neutral { background: #d0d7de44; color: var(--fg-muted); }
8354 .shithub-pull-check-conclusion-cancelled,
8355 .shithub-pull-check-conclusion-skipped,
8356 .shithub-pull-check-conclusion-stale { color: var(--fg-muted); background: var(--canvas-subtle); }
8357 .shithub-pull-check-conclusion-timed_out { background: #9a670022; color: #9a6700; }
8358 .shithub-pull-check-conclusion-action_required { background: #cf222e22; color: #cf222e; font-weight: 600; }
8359
8360 /* S26 — stars / watchers / forks list pages */
8361 .shithub-social { max-width: 1012px; margin: 0 auto; padding: 1.5rem 0; }
8362 .shithub-social-subhead {
8363 display: flex;
8364 align-items: baseline;
8365 gap: 0.75rem;
8366 padding-bottom: 0.85rem;
8367 border-bottom: 1px solid var(--border-default);
8368 }
8369 .shithub-social-subhead h1 {
8370 margin: 0;
8371 font-size: 1.55rem;
8372 font-weight: 400;
8373 }
8374 .shithub-social-subhead p { margin: 0; color: var(--fg-muted); }
8375 .shithub-social-tabnav {
8376 display: flex;
8377 gap: 0.25rem;
8378 margin: 1rem 0;
8379 border-bottom: 1px solid var(--border-default);
8380 }
8381 .shithub-social-tabnav a,
8382 .shithub-social-tabnav span {
8383 display: inline-flex;
8384 align-items: center;
8385 gap: 0.35rem;
8386 padding: 0.55rem 0.85rem;
8387 color: var(--fg-default);
8388 border-bottom: 2px solid transparent;
8389 position: relative;
8390 bottom: -1px;
8391 }
8392 .shithub-social-tabnav a:hover { text-decoration: none; background: var(--canvas-subtle); border-radius: 6px 6px 0 0; }
8393 .shithub-social-tabnav .is-active { border-bottom-color: var(--accent-emphasis); font-weight: 600; }
8394 .shithub-social-tabnav .is-disabled { color: var(--fg-muted); }
8395 .shithub-social-list {
8396 list-style: none;
8397 padding: 0;
8398 margin: 1rem 0;
8399 border: 1px solid var(--border-default);
8400 border-radius: 6px;
8401 background: var(--canvas-default);
8402 }
8403 .shithub-social-list li {
8404 display: grid;
8405 grid-template-columns: 40px minmax(0, 1fr) auto;
8406 gap: 0.85rem;
8407 align-items: center;
8408 padding: 1rem;
8409 border-bottom: 1px solid var(--border-muted);
8410 }
8411 .shithub-social-list li:last-child { border-bottom: none; }
8412 .shithub-social-avatar,
8413 .shithub-social-avatar img {
8414 display: block;
8415 width: 40px;
8416 height: 40px;
8417 border-radius: 50%;
8418 }
8419 .shithub-social-avatar img { border: 1px solid var(--border-muted); }
8420 .shithub-social-person {
8421 min-width: 0;
8422 display: grid;
8423 gap: 0.1rem;
8424 }
8425 .shithub-social-person strong { font-size: 1rem; }
8426 .shithub-social-person span,
8427 .shithub-social-time,
8428 .shithub-social-meta {
8429 color: var(--fg-muted);
8430 font-size: 0.875rem;
8431 }
8432 .shithub-social-meta {
8433 display: flex;
8434 align-items: center;
8435 justify-content: end;
8436 gap: 0.75rem;
8437 flex-wrap: wrap;
8438 }
8439 .shithub-social-meta span {
8440 display: inline-flex;
8441 align-items: center;
8442 gap: 0.25rem;
8443 }
8444 .shithub-social-fork-badges {
8445 display: flex;
8446 gap: 0.35rem;
8447 flex-wrap: wrap;
8448 margin-top: 0.25rem;
8449 }
8450 .shithub-social-blank {
8451 margin: 1rem 0;
8452 padding: 2.5rem 1.5rem;
8453 border: 1px solid var(--border-default);
8454 border-radius: 6px;
8455 text-align: center;
8456 color: var(--fg-muted);
8457 }
8458 .shithub-social-blank svg {
8459 width: 24px;
8460 height: 24px;
8461 color: var(--fg-muted);
8462 margin-bottom: 0.75rem;
8463 }
8464 .shithub-social-blank h2 {
8465 margin: 0 0 0.4rem;
8466 color: var(--fg-default);
8467 font-size: 1.25rem;
8468 font-weight: 600;
8469 }
8470 .shithub-social-blank p {
8471 max-width: 520px;
8472 margin: 0 auto;
8473 }
8474 @media (max-width: 700px) {
8475 .shithub-social-list li {
8476 grid-template-columns: 40px minmax(0, 1fr);
8477 }
8478 .shithub-social-time,
8479 .shithub-social-meta {
8480 grid-column: 2;
8481 justify-content: start;
8482 }
8483 }
8484 .shithub-meta { color: var(--fg-muted); margin: 0.25rem 0 1rem; }
8485 .shithub-empty { color: var(--fg-muted); padding: 1rem; }
8486 .shithub-pagination {
8487 display: flex; gap: 0.5rem; padding: 1rem 0;
8488 }
8489
8490 /* S28 — search */
8491 .sr-only {
8492 position: absolute;
8493 width: 1px;
8494 height: 1px;
8495 padding: 0;
8496 margin: -1px;
8497 overflow: hidden;
8498 clip: rect(0, 0, 0, 0);
8499 white-space: nowrap;
8500 border: 0;
8501 }
8502 .shithub-nav-search {
8503 position: relative;
8504 flex: 1 1 22rem;
8505 display: flex;
8506 align-items: center;
8507 max-width: 32rem;
8508 margin: 0 1rem;
8509 }
8510 .shithub-nav.has-context .shithub-nav-search {
8511 flex: 0 1 22rem;
8512 max-width: 22rem;
8513 margin-left: auto;
8514 margin-right: 0.25rem;
8515 }
8516 .shithub-nav-search-icon {
8517 position: absolute;
8518 left: 0.65rem;
8519 top: 50%;
8520 transform: translateY(-50%);
8521 color: var(--fg-muted);
8522 line-height: 0;
8523 pointer-events: none;
8524 }
8525 .shithub-nav-search input {
8526 width: 100%;
8527 min-height: 2rem;
8528 padding: 0.35rem 2rem 0.35rem 2rem;
8529 border: 1px solid var(--border-default);
8530 border-radius: 6px;
8531 background: var(--canvas-subtle);
8532 color: var(--fg-default);
8533 font-size: 0.85rem;
8534 }
8535 .shithub-nav-search input:focus {
8536 outline: 2px solid var(--accent-fg);
8537 outline-offset: -1px;
8538 background: var(--canvas-default);
8539 }
8540 .shithub-nav-search-key {
8541 position: absolute;
8542 right: 0.55rem;
8543 top: 50%;
8544 transform: translateY(-50%);
8545 min-width: 1rem;
8546 padding: 0 0.25rem;
8547 border: 1px solid var(--border-default);
8548 border-radius: 4px;
8549 color: var(--fg-muted);
8550 font-size: 0.75rem;
8551 line-height: 1.15rem;
8552 text-align: center;
8553 pointer-events: none;
8554 }
8555 .shithub-nav-search-popover {
8556 position: absolute;
8557 z-index: 80;
8558 top: calc(100% + 0.45rem);
8559 left: 0;
8560 right: 0;
8561 overflow: hidden;
8562 border: 1px solid var(--border-default);
8563 border-radius: 8px;
8564 background: var(--canvas-default);
8565 box-shadow: 0 16px 32px rgba(1, 4, 9, 0.22);
8566 }
8567 .shithub-nav-search-popover[hidden] {
8568 display: none;
8569 }
8570 .shithub-search-page {
8571 padding: 1.5rem 1rem 3rem;
8572 }
8573 .shithub-search-shell {
8574 display: grid;
8575 grid-template-columns: 296px minmax(0, 1fr) 280px;
8576 gap: 1.5rem;
8577 max-width: 1280px;
8578 margin: 0 auto;
8579 }
8580 .shithub-search-sidebar {
8581 position: sticky;
8582 top: 1rem;
8583 align-self: start;
8584 padding-top: 0.2rem;
8585 }
8586 .shithub-search-sidebar h2 {
8587 margin: 0 0 0.55rem;
8588 font-size: 0.875rem;
8589 font-weight: 600;
8590 }
8591 .shithub-search-filter-list {
8592 display: flex;
8593 flex-direction: column;
8594 }
8595 .shithub-search-filter {
8596 display: flex;
8597 align-items: center;
8598 justify-content: space-between;
8599 gap: 0.75rem;
8600 min-height: 2rem;
8601 padding: 0.35rem 0.55rem;
8602 border-radius: 6px;
8603 color: var(--fg-default);
8604 font-size: 0.875rem;
8605 }
8606 .shithub-search-filter:hover {
8607 background: var(--canvas-subtle);
8608 text-decoration: none;
8609 }
8610 .shithub-search-filter.is-selected {
8611 background: var(--canvas-subtle);
8612 font-weight: 600;
8613 }
8614 .shithub-search-filter.is-selected::before {
8615 content: "";
8616 width: 4px;
8617 align-self: stretch;
8618 margin: -0.4rem 0 -0.4rem -0.65rem;
8619 border-radius: 6px 0 0 6px;
8620 background: var(--accent-emphasis);
8621 }
8622 .shithub-search-filter-label {
8623 display: inline-flex;
8624 align-items: center;
8625 gap: 0.45rem;
8626 min-width: 0;
8627 }
8628 .shithub-search-filter-label svg {
8629 color: var(--fg-muted);
8630 flex: 0 0 auto;
8631 }
8632 .shithub-search-filter-count {
8633 color: var(--fg-muted);
8634 font-size: 0.75rem;
8635 }
8636 .shithub-search-results {
8637 min-width: 0;
8638 }
8639 .shithub-search-query-form {
8640 display: flex;
8641 gap: 0.5rem;
8642 margin-bottom: 1rem;
8643 }
8644 .shithub-search-query-form input[type=text] {
8645 flex: 1;
8646 min-height: 2.25rem;
8647 padding: 0.45rem 0.75rem;
8648 border: 1px solid var(--border-default);
8649 border-radius: 6px;
8650 background: var(--canvas-default);
8651 color: var(--fg-default);
8652 font-size: 0.875rem;
8653 }
8654 .shithub-search-results-head {
8655 display: flex;
8656 align-items: center;
8657 justify-content: space-between;
8658 gap: 1rem;
8659 padding-bottom: 0.9rem;
8660 border-bottom: 1px solid var(--border-default);
8661 }
8662 .shithub-search-results-head h1 {
8663 margin: 0;
8664 font-size: 1.25rem;
8665 line-height: 1.3;
8666 font-weight: 600;
8667 }
8668 .shithub-search-results-head p {
8669 margin: 0.25rem 0 0;
8670 color: var(--fg-muted);
8671 font-size: 0.875rem;
8672 }
8673 .shithub-search-query-echo {
8674 color: var(--fg-default);
8675 font-weight: 600;
8676 }
8677 .shithub-search-sort {
8678 position: relative;
8679 flex: 0 0 auto;
8680 }
8681 .shithub-search-sort > summary {
8682 list-style: none;
8683 display: inline-flex;
8684 align-items: center;
8685 min-height: 2rem;
8686 padding: 0.35rem 0.75rem;
8687 border: 1px solid var(--border-default);
8688 border-radius: 6px;
8689 background: var(--canvas-subtle);
8690 color: var(--fg-default);
8691 cursor: pointer;
8692 font-size: 0.875rem;
8693 font-weight: 500;
8694 }
8695 .shithub-search-sort > summary::-webkit-details-marker { display: none; }
8696 .shithub-search-sort > div {
8697 position: absolute;
8698 right: 0;
8699 top: calc(100% + 0.4rem);
8700 z-index: 20;
8701 min-width: 190px;
8702 padding: 0.35rem 0;
8703 border: 1px solid var(--border-default);
8704 border-radius: 6px;
8705 background: var(--canvas-default);
8706 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
8707 }
8708 .shithub-search-sort span {
8709 display: block;
8710 padding: 0.45rem 0.75rem;
8711 font-size: 0.875rem;
8712 }
8713 .shithub-search-result-list {
8714 list-style: none;
8715 padding: 0;
8716 margin: 0;
8717 }
8718 .shithub-search-result {
8719 display: flex;
8720 gap: 1rem;
8721 justify-content: space-between;
8722 padding: 1.15rem 0;
8723 border-bottom: 1px solid var(--border-default);
8724 }
8725 .shithub-search-result-main {
8726 flex: 1 1 auto;
8727 min-width: 0;
8728 }
8729 .shithub-search-result-title {
8730 display: flex;
8731 align-items: center;
8732 gap: 0.45rem;
8733 margin: 0;
8734 font-size: 1rem;
8735 line-height: 1.35;
8736 font-weight: 600;
8737 }
8738 .shithub-search-result-title svg {
8739 flex: 0 0 auto;
8740 color: var(--fg-muted);
8741 }
8742 .shithub-search-result-title a {
8743 min-width: 0;
8744 }
8745 .shithub-search-result-title a:hover {
8746 text-decoration: underline;
8747 }
8748 .shithub-search-match em,
8749 .shithub-search-result-title em {
8750 font-style: normal;
8751 font-weight: 700;
8752 }
8753 .shithub-search-result p {
8754 margin: 0.35rem 0 0;
8755 color: var(--fg-default);
8756 font-size: 0.875rem;
8757 }
8758 .shithub-search-result-desc {
8759 max-width: 760px;
8760 line-height: 1.45;
8761 }
8762 .shithub-search-result-context {
8763 margin: 0 0 0.2rem !important;
8764 color: var(--fg-muted) !important;
8765 }
8766 .shithub-search-result-context a {
8767 color: var(--fg-muted);
8768 }
8769 .shithub-search-result-path {
8770 color: var(--fg-muted) !important;
8771 }
8772 .shithub-search-avatar,
8773 .shithub-search-user-avatar,
8774 .shithub-search-mini-avatar,
8775 .shithub-quick-avatar {
8776 border-radius: 50%;
8777 background: var(--canvas-subtle);
8778 flex: 0 0 auto;
8779 }
8780 .shithub-search-result-meta {
8781 display: flex;
8782 gap: 0.5rem;
8783 flex-wrap: wrap;
8784 align-items: center;
8785 padding: 0;
8786 margin: 0.65rem 0 0;
8787 color: var(--fg-muted);
8788 list-style: none;
8789 font-size: 0.75rem;
8790 }
8791 .shithub-search-result-meta li {
8792 display: inline-flex;
8793 align-items: center;
8794 gap: 0.25rem;
8795 }
8796 .shithub-search-result-meta a {
8797 display: inline-flex;
8798 align-items: center;
8799 gap: 0.25rem;
8800 color: var(--fg-muted);
8801 }
8802 .shithub-search-result-meta a:hover {
8803 color: var(--accent-fg);
8804 text-decoration: none;
8805 }
8806 .shithub-search-result-meta li + li::before {
8807 content: "";
8808 width: 3px;
8809 height: 3px;
8810 margin-right: 0.15rem;
8811 border-radius: 50%;
8812 background: var(--fg-muted);
8813 opacity: 0.7;
8814 }
8815 .shithub-search-star {
8816 align-self: flex-start;
8817 color: var(--fg-default);
8818 border-color: var(--border-default);
8819 background: var(--canvas-subtle);
8820 }
8821 .shithub-search-state {
8822 display: inline-flex;
8823 align-items: center;
8824 line-height: 0;
8825 }
8826 .shithub-search-state-open svg { color: var(--success-fg); }
8827 .shithub-search-state-closed svg { color: #8250df; }
8828 .shithub-search-state-pr svg { color: var(--accent-fg); }
8829 .shithub-search-user-result {
8830 justify-content: flex-start;
8831 }
8832 .shithub-search-user-login {
8833 color: var(--fg-muted);
8834 font-size: 0.875rem;
8835 font-weight: 400;
8836 }
8837 .shithub-search-code-preview {
8838 margin: 0.75rem 0 0;
8839 padding: 0.65rem 0.75rem;
8840 border: 1px solid var(--border-default);
8841 border-radius: 6px;
8842 background: var(--canvas-subtle);
8843 color: var(--fg-default);
8844 overflow-x: auto;
8845 }
8846 .shithub-search-code-preview code {
8847 padding: 0;
8848 background: transparent;
8849 }
8850 .shithub-search-empty,
8851 .shithub-search-blank {
8852 padding: 2rem 0;
8853 color: var(--fg-muted);
8854 }
8855 .shithub-search-blank h1 {
8856 margin: 0 0 0.4rem;
8857 color: var(--fg-default);
8858 font-size: 1.25rem;
8859 }
8860 .shithub-search-blank p {
8861 margin: 0;
8862 }
8863 .shithub-search-pagination {
8864 display: flex;
8865 justify-content: center;
8866 gap: 0.5rem;
8867 padding: 1.5rem 0 0;
8868 }
8869 .shithub-search-rightbar {
8870 padding-top: 3.25rem;
8871 }
8872 .shithub-search-tip-card {
8873 padding: 1rem 0;
8874 border-bottom: 1px solid var(--border-muted);
8875 color: var(--fg-muted);
8876 font-size: 0.875rem;
8877 }
8878 .shithub-search-tip-card:first-child {
8879 padding-top: 0;
8880 }
8881 .shithub-search-tip-card strong {
8882 display: inline-flex;
8883 align-items: center;
8884 gap: 0.35rem;
8885 color: var(--fg-default);
8886 }
8887 .shithub-search-tip-card p {
8888 margin: 0.4rem 0 0;
8889 line-height: 1.45;
8890 }
8891 .shithub-search-tip-card ul {
8892 display: flex;
8893 flex-direction: column;
8894 gap: 0.35rem;
8895 padding: 0;
8896 margin: 0.55rem 0 0;
8897 list-style: none;
8898 }
8899 .shithub-search-tip-card code {
8900 padding: 0.1rem 0.3rem;
8901 border: 1px solid var(--border-muted);
8902 border-radius: 6px;
8903 background: var(--canvas-subtle);
8904 color: var(--fg-default);
8905 font-size: 0.8rem;
8906 }
8907 .shithub-quick-dropdown {
8908 padding: 0.45rem 0;
8909 }
8910 .shithub-quick-section {
8911 padding: 0.25rem 0;
8912 border-bottom: 1px solid var(--border-default);
8913 }
8914 .shithub-quick-section:last-of-type {
8915 border-bottom: none;
8916 }
8917 .shithub-quick-section h3 {
8918 margin: 0.25rem 0.75rem 0.35rem;
8919 color: var(--fg-muted);
8920 font-size: 0.75rem;
8921 font-weight: 600;
8922 }
8923 .shithub-quick-section ul {
8924 padding: 0;
8925 margin: 0;
8926 list-style: none;
8927 }
8928 .shithub-quick-section a {
8929 display: grid;
8930 grid-template-columns: 20px minmax(0, 1fr) auto;
8931 gap: 0.55rem;
8932 align-items: center;
8933 padding: 0.4rem 0.75rem;
8934 color: var(--fg-default);
8935 }
8936 .shithub-quick-section a:hover,
8937 .shithub-quick-section a:focus {
8938 background: var(--canvas-subtle);
8939 text-decoration: none;
8940 }
8941 .shithub-quick-leading {
8942 display: inline-flex;
8943 align-items: center;
8944 justify-content: center;
8945 color: var(--fg-muted);
8946 }
8947 .shithub-quick-title,
8948 .shithub-quick-context {
8949 min-width: 0;
8950 overflow: hidden;
8951 text-overflow: ellipsis;
8952 white-space: nowrap;
8953 }
8954 .shithub-quick-context {
8955 grid-column: 2 / -1;
8956 margin-top: -0.15rem;
8957 color: var(--fg-muted);
8958 font-size: 0.75rem;
8959 }
8960 .shithub-quick-empty {
8961 margin: 0;
8962 padding: 0.8rem 0.75rem;
8963 color: var(--fg-muted);
8964 font-size: 0.875rem;
8965 }
8966 .shithub-quick-footer {
8967 padding: 0.6rem 0.75rem 0.2rem;
8968 border-top: 1px solid var(--border-default);
8969 font-size: 0.875rem;
8970 }
8971 @media (max-width: 760px) {
8972 .shithub-nav-search {
8973 order: 3;
8974 flex-basis: 100%;
8975 max-width: none;
8976 margin: 0;
8977 }
8978 .shithub-search-page {
8979 padding: 1rem;
8980 }
8981 .shithub-search-shell {
8982 grid-template-columns: 1fr;
8983 gap: 1rem;
8984 }
8985 .shithub-search-sidebar {
8986 position: static;
8987 padding-top: 0;
8988 }
8989 .shithub-search-rightbar {
8990 display: none;
8991 }
8992 .shithub-search-filter-list {
8993 flex-direction: row;
8994 gap: 0.25rem;
8995 overflow-x: auto;
8996 padding-bottom: 0.25rem;
8997 }
8998 .shithub-search-filter {
8999 flex: 0 0 auto;
9000 }
9001 .shithub-search-filter.is-selected::before {
9002 display: none;
9003 }
9004 .shithub-search-query-form,
9005 .shithub-search-results-head,
9006 .shithub-search-result {
9007 align-items: stretch;
9008 flex-direction: column;
9009 }
9010 .shithub-search-star {
9011 align-self: flex-start;
9012 }
9013 }
9014 @media (min-width: 761px) and (max-width: 1100px) {
9015 .shithub-search-shell {
9016 grid-template-columns: 256px minmax(0, 1fr);
9017 }
9018 .shithub-search-rightbar {
9019 display: none;
9020 }
9021 }
9022
9023 /* S34 — admin impersonation banner. Sticky-top, loud red so the
9024 admin can't lose track of "I am viewing as someone else right
9025 now." Position: fixed-on-scroll keeps it visible no matter where
9026 on the page they navigate. */
9027 .shithub-imp-banner {
9028 position: sticky;
9029 top: 0;
9030 z-index: 100;
9031 background: var(--danger-fg);
9032 color: #ffffff;
9033 padding: 0.5rem 1rem;
9034 text-align: center;
9035 font-size: 0.875rem;
9036 }
9037 .shithub-imp-banner .shithub-button {
9038 background: rgba(0, 0, 0, 0.25);
9039 color: #ffffff;
9040 border: 1px solid rgba(255, 255, 255, 0.4);
9041 }
9042 .shithub-imp-write { background: #ffd33d; color: #1a1f24; padding: 0 0.4em; border-radius: 4px; font-weight: 600; }
9043 .shithub-imp-read { background: rgba(255, 255, 255, 0.2); padding: 0 0.4em; border-radius: 4px; }
9044
9045 /* Global dashboard surfaces: /issues, /pulls, /repos. */
9046 .shithub-global-page {
9047 width: 100%;
9048 padding: 1.5rem 1rem 3rem;
9049 }
9050 .shithub-global-shell {
9051 display: grid;
9052 grid-template-columns: 240px minmax(0, 1fr);
9053 gap: 2rem;
9054 max-width: 1280px;
9055 margin: 0 auto;
9056 }
9057 .shithub-global-shell-wide {
9058 max-width: 1440px;
9059 }
9060 .shithub-global-centered {
9061 max-width: 1080px;
9062 margin: 0 auto;
9063 }
9064 .shithub-global-sidebar {
9065 position: sticky;
9066 top: 1rem;
9067 align-self: start;
9068 min-width: 0;
9069 }
9070 .shithub-global-side-nav {
9071 display: grid;
9072 gap: 0.15rem;
9073 padding-bottom: 1.25rem;
9074 }
9075 .shithub-global-side-link {
9076 position: relative;
9077 display: flex;
9078 align-items: center;
9079 gap: 0.6rem;
9080 min-height: 36px;
9081 padding: 0.45rem 0.75rem;
9082 border-radius: 6px;
9083 color: var(--fg-default);
9084 font-weight: 600;
9085 }
9086 .shithub-global-side-link svg {
9087 color: var(--fg-muted);
9088 }
9089 .shithub-global-side-link:hover {
9090 background: var(--canvas-subtle);
9091 text-decoration: none;
9092 }
9093 .shithub-global-side-link.is-selected {
9094 background: var(--canvas-subtle);
9095 }
9096 .shithub-global-side-link.is-selected::before {
9097 content: "";
9098 position: absolute;
9099 left: 0;
9100 top: 6px;
9101 bottom: 6px;
9102 width: 4px;
9103 border-radius: 999px;
9104 background: var(--accent-emphasis);
9105 }
9106 .shithub-global-side-section {
9107 display: grid;
9108 grid-template-columns: minmax(0, 1fr) auto;
9109 gap: 0.4rem;
9110 padding: 1.25rem 0.75rem 0;
9111 border-top: 1px solid var(--border-default);
9112 }
9113 .shithub-global-side-section h2 {
9114 margin: 0;
9115 color: var(--fg-muted);
9116 font-size: 0.8rem;
9117 }
9118 .shithub-global-side-section p {
9119 grid-column: 1 / -1;
9120 margin: 0;
9121 color: var(--fg-muted);
9122 font-size: 0.8rem;
9123 }
9124 .shithub-global-side-add {
9125 display: inline-flex;
9126 align-items: center;
9127 justify-content: center;
9128 width: 24px;
9129 height: 24px;
9130 padding: 0;
9131 border: 0;
9132 background: transparent;
9133 color: var(--fg-muted);
9134 }
9135 .shithub-global-main {
9136 min-width: 0;
9137 }
9138 .shithub-global-head {
9139 display: flex;
9140 align-items: center;
9141 justify-content: space-between;
9142 gap: 1rem;
9143 margin-bottom: 0.85rem;
9144 }
9145 .shithub-global-head-compact {
9146 margin-bottom: 0.75rem;
9147 }
9148 .shithub-global-head h1 {
9149 margin: 0;
9150 font-size: 1.5rem;
9151 line-height: 1.25;
9152 }
9153 .shithub-global-query {
9154 display: flex;
9155 align-items: stretch;
9156 width: 100%;
9157 margin: 0 0 1rem;
9158 }
9159 .shithub-global-query-inline {
9160 flex: 1 1 28rem;
9161 margin: 0;
9162 }
9163 .shithub-global-query input[type="text"] {
9164 flex: 1;
9165 min-width: 0;
9166 min-height: 36px;
9167 padding: 0.45rem 0.85rem;
9168 border-radius: 6px 0 0 6px;
9169 }
9170 .shithub-global-query button {
9171 display: inline-flex;
9172 align-items: center;
9173 justify-content: center;
9174 width: 44px;
9175 border: 1px solid var(--border-default);
9176 border-left: 0;
9177 border-radius: 0 6px 6px 0;
9178 color: var(--fg-muted);
9179 background: var(--button-default-bg);
9180 cursor: pointer;
9181 }
9182 .shithub-global-query button:hover {
9183 color: var(--fg-default);
9184 background: var(--button-default-hover-bg);
9185 }
9186 .shithub-global-toolbar-row {
9187 display: flex;
9188 align-items: stretch;
9189 gap: 0.75rem;
9190 margin-bottom: 1rem;
9191 }
9192 .shithub-global-top-tabs {
9193 display: inline-flex;
9194 flex: 0 0 auto;
9195 border: 1px solid var(--border-default);
9196 border-radius: 6px;
9197 overflow: hidden;
9198 }
9199 .shithub-global-top-tabs a {
9200 display: inline-flex;
9201 align-items: center;
9202 min-height: 36px;
9203 padding: 0.45rem 0.9rem;
9204 border-left: 1px solid var(--border-default);
9205 color: var(--fg-default);
9206 font-weight: 600;
9207 }
9208 .shithub-global-top-tabs a:first-child {
9209 border-left: 0;
9210 }
9211 .shithub-global-top-tabs a:hover {
9212 background: var(--canvas-subtle);
9213 text-decoration: none;
9214 }
9215 .shithub-global-top-tabs a.is-selected {
9216 background: var(--accent-emphasis);
9217 color: #fff;
9218 }
9219 .shithub-global-panel {
9220 border: 1px solid var(--border-default);
9221 border-radius: 6px;
9222 overflow: hidden;
9223 background: var(--canvas-default);
9224 }
9225 .shithub-global-panel-head {
9226 display: flex;
9227 align-items: center;
9228 justify-content: space-between;
9229 gap: 1rem;
9230 min-height: 52px;
9231 padding: 0.75rem 1rem;
9232 border-bottom: 1px solid var(--border-default);
9233 background: var(--canvas-subtle);
9234 }
9235 .shithub-global-state-tabs,
9236 .shithub-global-filter-set {
9237 display: inline-flex;
9238 align-items: center;
9239 gap: 0.75rem;
9240 flex-wrap: wrap;
9241 }
9242 .shithub-global-state-tabs a {
9243 display: inline-flex;
9244 align-items: center;
9245 gap: 0.35rem;
9246 color: var(--fg-muted);
9247 font-weight: 600;
9248 }
9249 .shithub-global-state-tabs a.is-selected,
9250 .shithub-global-state-tabs a:hover {
9251 color: var(--fg-default);
9252 text-decoration: none;
9253 }
9254 .shithub-global-filter-set button,
9255 .shithub-global-sort summary {
9256 display: inline-flex;
9257 align-items: center;
9258 gap: 0.35rem;
9259 border: 0;
9260 background: transparent;
9261 color: var(--fg-muted);
9262 font: inherit;
9263 font-weight: 600;
9264 }
9265 .shithub-global-filter-set button {
9266 cursor: default;
9267 }
9268 .shithub-global-sort {
9269 position: relative;
9270 }
9271 .shithub-global-sort summary {
9272 list-style: none;
9273 cursor: pointer;
9274 }
9275 .shithub-global-sort summary::-webkit-details-marker {
9276 display: none;
9277 }
9278 .shithub-global-sort div {
9279 position: absolute;
9280 right: 0;
9281 top: calc(100% + 0.4rem);
9282 min-width: 160px;
9283 padding: 0.45rem;
9284 border: 1px solid var(--border-default);
9285 border-radius: 6px;
9286 background: var(--canvas-default);
9287 box-shadow: 0 10px 24px rgba(1, 4, 9, 0.32);
9288 }
9289 .shithub-global-sort span {
9290 display: block;
9291 padding: 0.35rem 0.45rem;
9292 color: var(--fg-default);
9293 font-size: 0.875rem;
9294 }
9295 .shithub-global-thread-list,
9296 .shithub-global-repo-list {
9297 margin: 0;
9298 padding: 0;
9299 list-style: none;
9300 }
9301 .shithub-global-thread-row {
9302 display: grid;
9303 grid-template-columns: 20px minmax(0, 1fr) auto;
9304 gap: 0.85rem;
9305 align-items: start;
9306 padding: 1rem;
9307 border-top: 1px solid var(--border-default);
9308 }
9309 .shithub-global-thread-row:first-child,
9310 .shithub-global-repo-row:first-child {
9311 border-top: 0;
9312 }
9313 .shithub-global-thread-state {
9314 display: inline-flex;
9315 align-items: center;
9316 justify-content: center;
9317 width: 20px;
9318 height: 20px;
9319 margin-top: 0.15rem;
9320 }
9321 .shithub-global-thread-state-open svg {
9322 color: var(--success-fg);
9323 }
9324 .shithub-global-thread-state-closed svg,
9325 .shithub-global-thread-state-pr svg {
9326 color: var(--accent-fg);
9327 }
9328 .shithub-global-thread-main {
9329 min-width: 0;
9330 }
9331 .shithub-global-thread-title {
9332 color: var(--fg-default);
9333 font-size: 1rem;
9334 font-weight: 700;
9335 }
9336 .shithub-global-thread-title span {
9337 color: var(--fg-muted);
9338 }
9339 .shithub-global-thread-title:hover {
9340 color: var(--accent-fg);
9341 text-decoration: none;
9342 }
9343 .shithub-global-thread-main p {
9344 margin: 0.2rem 0 0;
9345 color: var(--fg-muted);
9346 font-size: 0.85rem;
9347 }
9348 .shithub-global-thread-comments {
9349 display: inline-flex;
9350 align-items: center;
9351 gap: 0.3rem;
9352 color: var(--fg-muted);
9353 font-size: 0.85rem;
9354 }
9355 .shithub-global-repo-row {
9356 display: grid;
9357 grid-template-columns: minmax(0, 1fr) 140px;
9358 gap: 1rem;
9359 align-items: center;
9360 padding: 1rem;
9361 border-top: 1px solid var(--border-default);
9362 }
9363 .shithub-global-repo-row-action {
9364 grid-template-columns: minmax(0, 1fr) auto;
9365 }
9366 .shithub-global-repo-main {
9367 min-width: 0;
9368 }
9369 .shithub-global-repo-main h2 {
9370 display: flex;
9371 align-items: center;
9372 gap: 0.45rem;
9373 flex-wrap: wrap;
9374 margin: 0;
9375 font-size: 1rem;
9376 }
9377 .shithub-global-repo-main h2 a {
9378 color: var(--fg-default);
9379 }
9380 .shithub-global-repo-main h2 a:hover {
9381 color: var(--accent-fg);
9382 text-decoration: none;
9383 }
9384 .shithub-global-repo-main p {
9385 margin: 0.35rem 0 0;
9386 color: var(--fg-muted);
9387 }
9388 .shithub-global-repo-meta {
9389 display: flex;
9390 flex-wrap: wrap;
9391 gap: 0.45rem 0.7rem;
9392 margin: 0.55rem 0 0;
9393 padding: 0;
9394 color: var(--fg-muted);
9395 list-style: none;
9396 font-size: 0.82rem;
9397 }
9398 .shithub-global-repo-meta li {
9399 display: inline-flex;
9400 align-items: center;
9401 gap: 0.25rem;
9402 }
9403 .shithub-global-sparkline {
9404 justify-self: end;
9405 width: 112px;
9406 height: 28px;
9407 border-bottom: 1px solid rgba(63, 185, 80, 0.65);
9408 background:
9409 linear-gradient(90deg, transparent 0 78%, rgba(63, 185, 80, 0.45) 78% 80%, transparent 80% 88%, rgba(63, 185, 80, 0.7) 88% 90%, transparent 90%),
9410 linear-gradient(180deg, transparent 0 58%, rgba(63, 185, 80, 0.2) 58% 61%, transparent 61%);
9411 }
9412 .shithub-global-empty {
9413 padding: 2.25rem 1rem;
9414 text-align: center;
9415 }
9416 .shithub-global-empty h2 {
9417 margin: 0;
9418 font-size: 1rem;
9419 }
9420 .shithub-global-empty p,
9421 .shithub-global-muted {
9422 margin: 0.35rem 0 0;
9423 color: var(--fg-muted);
9424 }
9425 .shithub-global-protip {
9426 margin: 1.25rem 0 0;
9427 color: var(--fg-muted);
9428 text-align: center;
9429 }
9430 @media (max-width: 1080px) {
9431 .shithub-nav-actions {
9432 gap: 0.35rem;
9433 }
9434 .shithub-nav-actions-divider,
9435 .shithub-nav-actions > a[aria-label="Your organizations"] {
9436 display: none;
9437 }
9438 }
9439 @media (max-width: 900px) {
9440 .shithub-global-shell,
9441 .shithub-global-shell-wide {
9442 grid-template-columns: 1fr;
9443 gap: 1rem;
9444 }
9445 .shithub-global-sidebar {
9446 position: static;
9447 }
9448 .shithub-global-side-nav {
9449 display: flex;
9450 overflow-x: auto;
9451 padding-bottom: 0.5rem;
9452 }
9453 .shithub-global-side-link {
9454 flex: 0 0 auto;
9455 }
9456 .shithub-global-side-section {
9457 display: none;
9458 }
9459 .shithub-global-toolbar-row {
9460 flex-direction: column;
9461 }
9462 .shithub-global-top-tabs {
9463 overflow-x: auto;
9464 }
9465 }
9466 @media (max-width: 640px) {
9467 .shithub-nav-actions > a[aria-label="All issues"],
9468 .shithub-nav-actions > a[aria-label="All pull requests"] {
9469 display: none;
9470 }
9471 .shithub-global-page {
9472 padding: 1rem 0.75rem 2rem;
9473 }
9474 .shithub-global-head,
9475 .shithub-global-panel-head {
9476 align-items: flex-start;
9477 flex-direction: column;
9478 }
9479 .shithub-global-thread-row,
9480 .shithub-global-repo-row,
9481 .shithub-global-repo-row-action {
9482 grid-template-columns: 1fr;
9483 }
9484 .shithub-global-thread-state,
9485 .shithub-global-sparkline {
9486 display: none;
9487 }
9488 }
9489
9490 /* S42 — social dashboard and Explore feed. */
9491 .shithub-dashboard-page,
9492 .shithub-explore-page {
9493 width: 100%;
9494 padding: 1.5rem 1rem 2.5rem;
9495 }
9496 .shithub-dashboard-shell {
9497 display: grid;
9498 grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px);
9499 gap: 2rem;
9500 max-width: 1280px;
9501 margin: 0 auto;
9502 }
9503 .shithub-explore-shell {
9504 display: grid;
9505 grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
9506 gap: 2rem;
9507 max-width: 1100px;
9508 margin: 0 auto;
9509 }
9510 .shithub-explore-shell.has-dashboard-left {
9511 grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px);
9512 max-width: 1280px;
9513 }
9514 .shithub-dashboard-left,
9515 .shithub-dashboard-right,
9516 .shithub-explore-right {
9517 min-width: 0;
9518 }
9519 .shithub-dashboard-left {
9520 position: sticky;
9521 top: 1rem;
9522 align-self: start;
9523 }
9524 .shithub-dashboard-identity {
9525 position: relative;
9526 margin-bottom: 2rem;
9527 }
9528 .shithub-dashboard-identity summary {
9529 display: inline-flex;
9530 align-items: center;
9531 gap: 0.55rem;
9532 max-width: 100%;
9533 color: var(--fg-default);
9534 font-weight: 600;
9535 cursor: pointer;
9536 list-style: none;
9537 }
9538 .shithub-dashboard-identity summary::-webkit-details-marker {
9539 display: none;
9540 }
9541 .shithub-dashboard-identity summary img,
9542 .shithub-dashboard-org-list img {
9543 border-radius: 50%;
9544 }
9545 .shithub-dashboard-identity summary span {
9546 min-width: 0;
9547 overflow: hidden;
9548 text-overflow: ellipsis;
9549 }
9550 .shithub-dashboard-identity-menu {
9551 position: absolute;
9552 top: calc(100% + 0.65rem);
9553 left: 0;
9554 z-index: 20;
9555 width: min(320px, calc(100vw - 2rem));
9556 padding: 0.75rem;
9557 border: 1px solid var(--border-default);
9558 border-radius: 8px;
9559 background: var(--canvas-default);
9560 box-shadow: 0 16px 32px rgba(1, 4, 9, 0.35);
9561 }
9562 .shithub-dashboard-identity-title {
9563 padding: 0.25rem 0.35rem 0.65rem;
9564 color: var(--fg-default);
9565 font-weight: 600;
9566 }
9567 .shithub-dashboard-org-search {
9568 display: flex;
9569 align-items: center;
9570 gap: 0.5rem;
9571 margin: 0 0 0.65rem;
9572 padding: 0 0.65rem;
9573 border: 1px solid var(--border-default);
9574 border-radius: 6px;
9575 background: var(--canvas-subtle);
9576 color: var(--fg-muted);
9577 }
9578 .shithub-dashboard-org-search input {
9579 width: 100%;
9580 min-width: 0;
9581 padding: 0.45rem 0;
9582 border: 0;
9583 box-shadow: none;
9584 background: transparent;
9585 }
9586 .shithub-dashboard-org-search input:focus {
9587 box-shadow: none;
9588 }
9589 .shithub-dashboard-org-list {
9590 display: grid;
9591 gap: 0.15rem;
9592 max-height: 18rem;
9593 padding: 0;
9594 margin: 0 0 0.65rem;
9595 overflow: auto;
9596 list-style: none;
9597 }
9598 .shithub-dashboard-org-list a {
9599 display: grid;
9600 grid-template-columns: 16px 20px minmax(0, 1fr);
9601 align-items: center;
9602 gap: 0.55rem;
9603 padding: 0.35rem;
9604 border-radius: 6px;
9605 color: var(--fg-default);
9606 text-decoration: none;
9607 }
9608 .shithub-dashboard-org-list a:hover,
9609 .shithub-dashboard-identity-actions a:hover {
9610 background: var(--canvas-subtle);
9611 text-decoration: none;
9612 }
9613 .shithub-dashboard-org-list span:last-child {
9614 min-width: 0;
9615 overflow: hidden;
9616 text-overflow: ellipsis;
9617 white-space: nowrap;
9618 }
9619 .shithub-dashboard-identity-actions {
9620 display: grid;
9621 gap: 0.5rem;
9622 }
9623 .shithub-dashboard-identity-actions a {
9624 display: inline-flex;
9625 align-items: center;
9626 justify-content: center;
9627 gap: 0.45rem;
9628 min-height: 2.25rem;
9629 border: 1px solid var(--border-default);
9630 border-radius: 6px;
9631 color: var(--fg-default);
9632 font-weight: 600;
9633 }
9634 .shithub-dashboard-sidehead,
9635 .shithub-feed-toolbar,
9636 .shithub-explore-head {
9637 display: flex;
9638 align-items: center;
9639 justify-content: space-between;
9640 gap: 0.75rem;
9641 }
9642 .shithub-dashboard-sidehead h2,
9643 .shithub-feed-toolbar h2,
9644 .shithub-side-panel h2,
9645 .shithub-trending-section h2 {
9646 margin: 0;
9647 font-size: 1rem;
9648 }
9649 .shithub-dashboard-main h1,
9650 .shithub-explore-head h1 {
9651 margin: 0 0 1.25rem;
9652 font-size: 1.6rem;
9653 line-height: 1.25;
9654 }
9655 .shithub-dashboard-filter {
9656 width: 100%;
9657 margin: 0.75rem 0 0.65rem;
9658 padding: 0.45rem 0.7rem;
9659 border: 1px solid var(--border-default);
9660 border-radius: 6px;
9661 background: var(--canvas-default);
9662 color: var(--fg-default);
9663 }
9664 .shithub-dashboard-repo-list,
9665 .shithub-feed-list,
9666 .shithub-trending-mini-list,
9667 .shithub-trending-user-list,
9668 .shithub-trending-repo-list {
9669 padding: 0;
9670 margin: 0;
9671 list-style: none;
9672 }
9673 .shithub-dashboard-repo-list {
9674 display: grid;
9675 gap: 0.45rem;
9676 }
9677 .shithub-dashboard-repo-list li[hidden] {
9678 display: none;
9679 }
9680 .shithub-dashboard-repo-list a,
9681 .shithub-trending-user-list a {
9682 display: inline-flex;
9683 align-items: center;
9684 gap: 0.45rem;
9685 min-width: 0;
9686 color: var(--fg-default);
9687 font-weight: 600;
9688 }
9689 .shithub-dashboard-repo-list a {
9690 max-width: 100%;
9691 overflow: hidden;
9692 text-overflow: ellipsis;
9693 white-space: nowrap;
9694 }
9695 .shithub-dashboard-repo-list img,
9696 .shithub-trending-user-list img,
9697 .shithub-feed-avatar img {
9698 border-radius: 50%;
9699 }
9700 .shithub-dashboard-empty,
9701 .shithub-feed-empty-inline {
9702 margin: 0.75rem 0 0;
9703 color: var(--fg-muted);
9704 font-size: 0.875rem;
9705 }
9706 .shithub-feed-toolbar {
9707 margin-bottom: 0.75rem;
9708 }
9709 .shithub-feed-list {
9710 border: 1px solid var(--border-default);
9711 border-radius: 6px;
9712 background: var(--canvas-default);
9713 }
9714 .shithub-feed-row {
9715 display: grid;
9716 grid-template-columns: 40px minmax(0, 1fr);
9717 gap: 1rem;
9718 padding: 1rem;
9719 border-top: 1px solid var(--border-default);
9720 }
9721 .shithub-feed-row:first-child {
9722 border-top: 0;
9723 }
9724 .shithub-feed-avatar {
9725 display: inline-flex;
9726 width: 40px;
9727 height: 40px;
9728 }
9729 .shithub-feed-head {
9730 margin: 0;
9731 color: var(--fg-muted);
9732 font-size: 0.95rem;
9733 }
9734 .shithub-feed-head a {
9735 color: var(--fg-default);
9736 }
9737 .shithub-feed-head time {
9738 display: inline-block;
9739 color: var(--fg-muted);
9740 font-size: 0.875rem;
9741 }
9742 .shithub-feed-target {
9743 font-weight: 600;
9744 }
9745 .shithub-feed-repo {
9746 margin-top: 0.8rem;
9747 padding: 0.85rem;
9748 border: 1px solid var(--border-default);
9749 border-radius: 6px;
9750 background: var(--canvas-subtle);
9751 }
9752 .shithub-feed-repo-title {
9753 display: inline-flex;
9754 align-items: center;
9755 gap: 0.4rem;
9756 font-weight: 600;
9757 }
9758 .shithub-feed-repo p {
9759 margin: 0.4rem 0 0;
9760 color: var(--fg-muted);
9761 font-size: 0.875rem;
9762 }
9763 .shithub-feed-profile {
9764 display: grid;
9765 grid-template-columns: 44px minmax(0, 1fr) auto;
9766 align-items: center;
9767 gap: 0.85rem;
9768 margin-top: 0.8rem;
9769 padding: 0.85rem;
9770 border-radius: 6px;
9771 background: var(--canvas-subtle);
9772 }
9773 .shithub-feed-profile-avatar,
9774 .shithub-feed-profile-avatar img {
9775 width: 44px;
9776 height: 44px;
9777 border-radius: 50%;
9778 }
9779 .shithub-feed-profile-copy {
9780 min-width: 0;
9781 }
9782 .shithub-feed-profile-name {
9783 display: block;
9784 color: var(--fg-default);
9785 font-weight: 600;
9786 }
9787 .shithub-feed-profile-copy span {
9788 display: block;
9789 margin-top: 0.15rem;
9790 color: var(--fg-muted);
9791 font-size: 0.875rem;
9792 }
9793 .shithub-feed-meta {
9794 display: flex;
9795 flex-wrap: wrap;
9796 gap: 0.9rem;
9797 padding: 0;
9798 margin: 0.7rem 0 0;
9799 color: var(--fg-muted);
9800 list-style: none;
9801 font-size: 0.8rem;
9802 }
9803 .shithub-feed-meta li {
9804 display: inline-flex;
9805 align-items: center;
9806 gap: 0.3rem;
9807 }
9808 .shithub-lang-dot {
9809 width: 10px;
9810 height: 10px;
9811 border-radius: 50%;
9812 background: #3572a5;
9813 }
9814 .shithub-feed-empty {
9815 padding: 2rem;
9816 border: 1px solid var(--border-default);
9817 border-radius: 6px;
9818 background: var(--canvas-default);
9819 color: var(--fg-muted);
9820 }
9821 .shithub-feed-empty h2 {
9822 display: flex;
9823 align-items: center;
9824 gap: 0.5rem;
9825 margin: 0 0 0.5rem;
9826 color: var(--fg-default);
9827 font-size: 1rem;
9828 }
9829 .shithub-feed-empty p {
9830 margin: 0 0 1rem;
9831 }
9832 .shithub-feed-pagination {
9833 display: flex;
9834 justify-content: center;
9835 padding-top: 1rem;
9836 }
9837 .shithub-side-panel {
9838 padding: 0 0 1.25rem;
9839 margin-bottom: 1.25rem;
9840 border-bottom: 1px solid var(--border-default);
9841 }
9842 .shithub-side-panel h2 {
9843 display: flex;
9844 align-items: center;
9845 gap: 0.4rem;
9846 margin-bottom: 0.75rem;
9847 }
9848 .shithub-trending-mini-list,
9849 .shithub-trending-user-list {
9850 display: grid;
9851 gap: 0.85rem;
9852 }
9853 .shithub-trending-mini-list a {
9854 color: var(--fg-default);
9855 font-weight: 600;
9856 }
9857 .shithub-trending-mini-list p {
9858 margin: 0.2rem 0;
9859 color: var(--fg-muted);
9860 font-size: 0.85rem;
9861 line-height: 1.35;
9862 }
9863 .shithub-trending-mini-list span,
9864 .shithub-trending-user-list span {
9865 display: inline-flex;
9866 align-items: center;
9867 gap: 0.25rem;
9868 color: var(--fg-muted);
9869 font-size: 0.8rem;
9870 }
9871 .shithub-explore-tabs {
9872 display: inline-flex;
9873 align-items: center;
9874 gap: 0.35rem;
9875 }
9876 .shithub-explore-tabs a {
9877 display: inline-flex;
9878 align-items: center;
9879 gap: 0.35rem;
9880 padding: 0.45rem 0.7rem;
9881 border: 1px solid transparent;
9882 border-radius: 6px;
9883 color: var(--fg-muted);
9884 font-weight: 600;
9885 }
9886 .shithub-explore-tabs a:hover,
9887 .shithub-explore-tabs a.is-selected {
9888 border-color: var(--border-default);
9889 background: var(--canvas-subtle);
9890 color: var(--fg-default);
9891 text-decoration: none;
9892 }
9893 .shithub-trending-section {
9894 border: 1px solid var(--border-default);
9895 border-radius: 6px;
9896 background: var(--canvas-default);
9897 }
9898 .shithub-trending-section h2 {
9899 padding: 1rem;
9900 border-bottom: 1px solid var(--border-default);
9901 }
9902 .shithub-trending-repo-row {
9903 display: flex;
9904 justify-content: space-between;
9905 gap: 1rem;
9906 padding: 1rem;
9907 border-top: 1px solid var(--border-default);
9908 }
9909 .shithub-trending-repo-row:first-child {
9910 border-top: 0;
9911 }
9912 .shithub-trending-repo-row h3 {
9913 margin: 0;
9914 font-size: 1.05rem;
9915 }
9916 .shithub-trending-repo-row h3 a {
9917 display: inline-flex;
9918 align-items: center;
9919 gap: 0.4rem;
9920 }
9921 .shithub-trending-repo-row p {
9922 margin: 0.45rem 0 0;
9923 color: var(--fg-muted);
9924 }
9925 .shithub-trending-score {
9926 flex: 0 0 auto;
9927 align-self: flex-start;
9928 min-width: 2.5rem;
9929 padding: 0.15rem 0.45rem;
9930 border: 1px solid var(--border-default);
9931 border-radius: 999px;
9932 color: var(--fg-muted);
9933 text-align: center;
9934 font-size: 0.8rem;
9935 font-weight: 600;
9936 }
9937 @media (max-width: 960px) {
9938 .shithub-dashboard-shell,
9939 .shithub-explore-shell {
9940 grid-template-columns: 1fr;
9941 }
9942 .shithub-explore-shell.has-dashboard-left {
9943 grid-template-columns: 1fr;
9944 }
9945 .shithub-dashboard-left {
9946 position: static;
9947 }
9948 .shithub-dashboard-right,
9949 .shithub-explore-right {
9950 display: none;
9951 }
9952 }
9953 @media (max-width: 640px) {
9954 .shithub-feed-row {
9955 grid-template-columns: 32px minmax(0, 1fr);
9956 gap: 0.75rem;
9957 padding: 0.85rem;
9958 }
9959 .shithub-feed-avatar,
9960 .shithub-feed-avatar img {
9961 width: 32px;
9962 height: 32px;
9963 }
9964 .shithub-feed-profile {
9965 grid-template-columns: 36px minmax(0, 1fr);
9966 }
9967 .shithub-feed-profile .shithub-button {
9968 grid-column: 2;
9969 justify-self: start;
9970 }
9971 .shithub-feed-profile-avatar,
9972 .shithub-feed-profile-avatar img {
9973 width: 36px;
9974 height: 36px;
9975 }
9976 .shithub-explore-head,
9977 .shithub-dashboard-sidehead,
9978 .shithub-feed-toolbar {
9979 align-items: flex-start;
9980 flex-direction: column;
9981 }
9982 .shithub-trending-repo-row {
9983 flex-direction: column;
9984 }
9985 }