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