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