CSS · 269206 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-flow {
7881 max-width: 62.5rem;
7882 margin: 1.5rem auto 3rem;
7883 padding: 0 1rem;
7884 }
7885 .shithub-compare-subhead {
7886 padding-bottom: 0.75rem;
7887 margin-bottom: 0.75rem;
7888 border-bottom: 1px solid var(--border-default);
7889 }
7890 .shithub-compare-subhead h1 {
7891 margin: 0 0 0.25rem;
7892 font-size: 1.5rem;
7893 }
7894 .shithub-compare-subhead p {
7895 margin: 0;
7896 color: var(--fg-muted);
7897 }
7898 .shithub-branch-push-banner,
7899 .shithub-branch-compare-bar {
7900 display: flex;
7901 align-items: center;
7902 justify-content: space-between;
7903 gap: 1rem;
7904 margin-bottom: 0.75rem;
7905 padding: 0.75rem 1rem;
7906 border: 1px solid var(--border-default);
7907 border-radius: 6px;
7908 }
7909 .shithub-branch-push-banner {
7910 border-color: rgba(187, 128, 9, 0.45);
7911 background: rgba(187, 128, 9, 0.12);
7912 }
7913 .shithub-branch-push-banner > div,
7914 .shithub-branch-compare-bar > div {
7915 display: flex;
7916 align-items: center;
7917 gap: 0.4rem;
7918 min-width: 0;
7919 flex-wrap: wrap;
7920 }
7921 .shithub-branch-compare-bar {
7922 background: var(--canvas-subtle);
7923 }
7924 .shithub-contribute-menu {
7925 position: relative;
7926 flex: 0 0 auto;
7927 }
7928 .shithub-contribute-menu > summary {
7929 list-style: none;
7930 }
7931 .shithub-contribute-menu > summary::-webkit-details-marker {
7932 display: none;
7933 }
7934 .shithub-contribute-menu-panel {
7935 position: absolute;
7936 z-index: 60;
7937 right: 0;
7938 top: calc(100% + 0.25rem);
7939 width: min(26rem, calc(100vw - 2rem));
7940 padding: 1rem;
7941 color: var(--fg-default);
7942 background: var(--canvas-overlay, var(--canvas-default));
7943 border: 1px solid var(--border-default);
7944 border-radius: 8px;
7945 box-shadow: var(--shadow-large, 0 16px 32px rgba(1, 4, 9, 0.35));
7946 }
7947 .shithub-contribute-menu-panel p {
7948 margin: 0.25rem 0 0;
7949 color: var(--fg-muted);
7950 }
7951 .shithub-contribute-actions {
7952 display: flex;
7953 justify-content: flex-end;
7954 gap: 0.5rem;
7955 margin-top: 1rem;
7956 }
7957 .shithub-range-editor {
7958 display: flex;
7959 align-items: center;
7960 gap: 0.5rem;
7961 flex-wrap: wrap;
7962 padding: 0.75rem 0;
7963 }
7964 .shithub-range-separator {
7965 color: var(--fg-muted);
7966 font-weight: 600;
7967 }
7968 .shithub-range-create {
7969 margin-left: auto;
7970 }
7971 .shithub-compare-ref-menu {
7972 position: relative;
7973 }
7974 .shithub-compare-ref-summary {
7975 display: inline-flex;
7976 align-items: center;
7977 gap: 0.35rem;
7978 list-style: none;
7979 }
7980 .shithub-compare-ref-summary::-webkit-details-marker {
7981 display: none;
7982 }
7983 .shithub-compare-ref-label {
7984 color: var(--fg-muted);
7985 }
7986 .shithub-compare-ref-current {
7987 color: var(--fg-default);
7988 font-weight: 600;
7989 }
7990 .shithub-compare-ref-panel {
7991 position: absolute;
7992 z-index: 70;
7993 top: calc(100% + 0.25rem);
7994 left: 0;
7995 width: min(20rem, calc(100vw - 2rem));
7996 overflow: hidden;
7997 background: var(--canvas-overlay, var(--canvas-default));
7998 border: 1px solid var(--border-default);
7999 border-radius: 8px;
8000 box-shadow: var(--shadow-large, 0 16px 32px rgba(1, 4, 9, 0.35));
8001 }
8002 .shithub-compare-ref-panel-head {
8003 display: flex;
8004 align-items: center;
8005 justify-content: space-between;
8006 gap: 0.75rem;
8007 padding: 0.75rem;
8008 border-bottom: 1px solid var(--border-default);
8009 }
8010 .shithub-compare-ref-filter {
8011 display: flex;
8012 align-items: center;
8013 gap: 0.4rem;
8014 margin: 0.5rem;
8015 padding: 0 0.5rem;
8016 border: 1px solid var(--border-default);
8017 border-radius: 6px;
8018 color: var(--fg-muted);
8019 }
8020 .shithub-compare-ref-filter input {
8021 width: 100%;
8022 min-width: 0;
8023 padding: 0.45rem 0;
8024 color: var(--fg-default);
8025 background: transparent;
8026 border: 0;
8027 outline: 0;
8028 font: inherit;
8029 }
8030 .shithub-compare-ref-tabs {
8031 display: flex;
8032 border-top: 1px solid var(--border-default);
8033 border-bottom: 1px solid var(--border-default);
8034 }
8035 .shithub-compare-ref-tabs button {
8036 flex: 1 1 0;
8037 padding: 0.55rem 0.75rem;
8038 color: var(--fg-muted);
8039 background: transparent;
8040 border: 0;
8041 border-bottom: 2px solid transparent;
8042 font: inherit;
8043 font-weight: 600;
8044 cursor: pointer;
8045 }
8046 .shithub-compare-ref-tabs button.is-active {
8047 color: var(--fg-default);
8048 border-bottom-color: var(--accent-emphasis);
8049 }
8050 .shithub-compare-ref-list {
8051 max-height: 19rem;
8052 overflow: auto;
8053 }
8054 .shithub-compare-ref-option {
8055 display: grid;
8056 grid-template-columns: 1.25rem minmax(0, 1fr) auto;
8057 align-items: center;
8058 gap: 0.4rem;
8059 padding: 0.55rem 0.75rem;
8060 color: var(--fg-default);
8061 border-bottom: 1px solid var(--border-default);
8062 }
8063 .shithub-compare-ref-option:hover,
8064 .shithub-compare-ref-option.is-current {
8065 color: #ffffff;
8066 text-decoration: none;
8067 background: var(--accent-emphasis);
8068 }
8069 .shithub-compare-ref-check {
8070 display: inline-flex;
8071 color: currentColor;
8072 }
8073 .shithub-compare-ref-option-name {
8074 overflow: hidden;
8075 text-overflow: ellipsis;
8076 white-space: nowrap;
8077 }
8078 .shithub-compare-ref-default {
8079 padding: 0.05rem 0.35rem;
8080 color: var(--fg-default);
8081 border: 1px solid var(--border-default);
8082 border-radius: 999px;
8083 font-size: 0.75rem;
8084 font-weight: 600;
8085 }
8086 .shithub-compare-ref-option:hover .shithub-compare-ref-default,
8087 .shithub-compare-ref-option.is-current .shithub-compare-ref-default {
8088 color: #ffffff;
8089 border-color: rgba(255, 255, 255, 0.65);
8090 }
8091 .shithub-compare-ref-empty {
8092 padding: 1rem;
8093 color: var(--fg-muted);
8094 text-align: center;
8095 }
8096 .shithub-compare-flash {
8097 display: flex;
8098 align-items: flex-start;
8099 gap: 0.75rem;
8100 padding: 0.75rem 1rem;
8101 margin: 0.5rem 0 1rem;
8102 border: 1px solid var(--border-default);
8103 border-radius: 6px;
8104 background: var(--canvas-subtle);
8105 }
8106 .shithub-compare-flash p {
8107 margin: 0.2rem 0 0;
8108 color: var(--fg-muted);
8109 }
8110 .shithub-compare-flash-warning {
8111 border-color: rgba(187, 128, 9, 0.45);
8112 background: rgba(187, 128, 9, 0.12);
8113 }
8114 .shithub-compare-flash-danger,
8115 .shithub-compare-flash-conflict {
8116 border-color: rgba(248, 81, 73, 0.45);
8117 background: rgba(248, 81, 73, 0.10);
8118 }
8119 .shithub-compare-flash-clean,
8120 .shithub-range-merge-clean {
8121 color: var(--success-fg);
8122 }
8123 .shithub-compare-blankslate {
8124 display: grid;
8125 justify-items: center;
8126 gap: 0.35rem;
8127 padding: 2.5rem 1rem;
8128 color: var(--fg-muted);
8129 text-align: center;
8130 }
8131 .shithub-compare-blankslate h2 {
8132 margin: 0;
8133 color: var(--fg-default);
8134 font-size: 1.25rem;
8135 }
8136 .shithub-compare-examples {
8137 width: min(28rem, 100%);
8138 margin-top: 0.75rem;
8139 overflow: hidden;
8140 text-align: left;
8141 border: 1px solid var(--border-default);
8142 border-radius: 6px;
8143 }
8144 .shithub-compare-examples-head,
8145 .shithub-compare-examples a {
8146 display: flex;
8147 align-items: center;
8148 justify-content: space-between;
8149 gap: 0.75rem;
8150 padding: 0.55rem 0.75rem;
8151 border-bottom: 1px solid var(--border-default);
8152 }
8153 .shithub-compare-examples a:last-child {
8154 border-bottom: 0;
8155 }
8156 .shithub-compare-examples-head {
8157 color: var(--fg-muted);
8158 background: var(--canvas-subtle);
8159 font-weight: 600;
8160 }
8161 .shithub-compare-stats {
8162 display: grid;
8163 grid-template-columns: repeat(3, 1fr);
8164 margin: 1rem 0;
8165 border: 1px solid var(--border-default);
8166 border-radius: 6px;
8167 overflow: hidden;
8168 }
8169 .shithub-compare-stats span {
8170 display: flex;
8171 align-items: center;
8172 justify-content: center;
8173 gap: 0.4rem;
8174 padding: 0.75rem;
8175 color: var(--fg-muted);
8176 border-right: 1px solid var(--border-default);
8177 }
8178 .shithub-compare-stats span:last-child {
8179 border-right: 0;
8180 }
8181 .shithub-compare-commits {
8182 margin-top: 1.5rem;
8183 }
8184 .shithub-compare-commits h2 {
8185 margin: 0 0 0.5rem;
8186 font-size: 1rem;
8187 }
8188 .shithub-range-merge-state {
8189 display: inline-flex;
8190 align-items: center;
8191 gap: 0.25rem;
8192 font-weight: 600;
8193 }
8194 .shithub-range-merge-conflict,
8195 .shithub-range-merge-missing {
8196 color: var(--danger-fg, #f85149);
8197 }
8198 .shithub-pull-open-flow {
8199 max-width: 72rem;
8200 }
8201 .shithub-pull-new-layout {
8202 display: grid;
8203 grid-template-columns: minmax(0, 1fr) 17rem;
8204 gap: 1.5rem;
8205 align-items: start;
8206 margin-top: 0.75rem;
8207 }
8208 .shithub-pull-new-form {
8209 min-width: 0;
8210 }
8211 .shithub-pull-new-title-row {
8212 display: grid;
8213 grid-template-columns: 2.5rem minmax(0, 1fr);
8214 gap: 0.75rem;
8215 align-items: start;
8216 }
8217 .shithub-pull-new-title,
8218 .shithub-pull-new-description-label {
8219 display: grid;
8220 gap: 0.35rem;
8221 font-weight: 600;
8222 }
8223 .shithub-pull-new-title input {
8224 width: 100%;
8225 padding: 0.5rem 0.75rem;
8226 color: var(--fg-default);
8227 background: var(--canvas-default);
8228 border: 1px solid var(--border-default);
8229 border-radius: 6px;
8230 font: inherit;
8231 }
8232 .shithub-pull-new-description {
8233 margin: 0.75rem 0 0 3.25rem;
8234 }
8235 .shithub-pull-new-description .shithub-comment-editor-box {
8236 margin-top: 0.35rem;
8237 }
8238 .shithub-pull-new-actions {
8239 display: flex;
8240 justify-content: flex-end;
8241 align-items: stretch;
8242 gap: 0;
8243 margin-top: 0.75rem;
8244 }
8245 .shithub-pull-new-actions > .shithub-button-primary {
8246 border-top-right-radius: 0;
8247 border-bottom-right-radius: 0;
8248 }
8249 .shithub-pr-submit-menu {
8250 position: relative;
8251 }
8252 .shithub-pr-submit-menu > summary {
8253 height: 100%;
8254 border-top-left-radius: 0;
8255 border-bottom-left-radius: 0;
8256 list-style: none;
8257 }
8258 .shithub-pr-submit-menu > summary::-webkit-details-marker {
8259 display: none;
8260 }
8261 .shithub-pr-submit-menu-popover {
8262 position: absolute;
8263 z-index: 65;
8264 right: 0;
8265 top: calc(100% + 0.25rem);
8266 width: min(21rem, calc(100vw - 2rem));
8267 overflow: hidden;
8268 background: var(--canvas-overlay, var(--canvas-default));
8269 border: 1px solid var(--border-default);
8270 border-radius: 8px;
8271 box-shadow: var(--shadow-large, 0 16px 32px rgba(1, 4, 9, 0.35));
8272 }
8273 .shithub-pr-submit-menu-popover button {
8274 display: grid;
8275 gap: 0.25rem;
8276 width: 100%;
8277 padding: 0.75rem 1rem;
8278 color: var(--fg-default);
8279 text-align: left;
8280 background: transparent;
8281 border: 0;
8282 border-bottom: 1px solid var(--border-default);
8283 font: inherit;
8284 cursor: pointer;
8285 }
8286 .shithub-pr-submit-menu-popover button:last-child {
8287 border-bottom: 0;
8288 }
8289 .shithub-pr-submit-menu-popover button:hover,
8290 .shithub-pr-submit-menu-popover button.is-active {
8291 color: #ffffff;
8292 background: var(--accent-emphasis);
8293 }
8294 .shithub-pr-submit-menu-popover span {
8295 color: inherit;
8296 opacity: 0.85;
8297 font-size: 0.85rem;
8298 }
8299 .shithub-pull-new-sidebar {
8300 display: grid;
8301 gap: 0;
8302 color: var(--fg-muted);
8303 font-size: 0.9rem;
8304 }
8305 .shithub-pull-new-sidebar section {
8306 padding: 0.75rem 0;
8307 border-bottom: 1px solid var(--border-default);
8308 }
8309 .shithub-pull-new-sidebar h2 {
8310 display: flex;
8311 align-items: center;
8312 justify-content: space-between;
8313 gap: 0.5rem;
8314 margin: 0 0 0.4rem;
8315 color: var(--fg-muted);
8316 font-size: 0.85rem;
8317 }
8318 .shithub-pull-new-sidebar p {
8319 margin: 0;
8320 }
8321 @media (max-width: 760px) {
8322 .shithub-range-create {
8323 margin-left: 0;
8324 width: 100%;
8325 justify-content: center;
8326 }
8327 .shithub-compare-stats {
8328 grid-template-columns: 1fr;
8329 }
8330 .shithub-compare-stats span {
8331 border-right: 0;
8332 border-bottom: 1px solid var(--border-default);
8333 }
8334 .shithub-compare-stats span:last-child {
8335 border-bottom: 0;
8336 }
8337 .shithub-pull-new-layout {
8338 grid-template-columns: 1fr;
8339 }
8340 .shithub-pull-new-description {
8341 margin-left: 0;
8342 }
8343 .shithub-pull-new-sidebar {
8344 order: 2;
8345 }
8346 .shithub-branch-push-banner,
8347 .shithub-branch-compare-bar {
8348 align-items: stretch;
8349 flex-direction: column;
8350 }
8351 .shithub-contribute-menu,
8352 .shithub-contribute-menu > summary,
8353 .shithub-branch-push-banner .shithub-button {
8354 width: 100%;
8355 justify-content: center;
8356 }
8357 }
8358 .shithub-settings-branches form label { display: block; margin: 0.5rem 0; }
8359 .shithub-settings-branches form input[type=text],
8360 .shithub-settings-branches form select { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; min-width: 280px; }
8361
8362 /* ========== Issues / Labels / Milestones (S21) ========== */
8363 .shithub-issues, .shithub-issue-view, .shithub-issue-new, .shithub-labels, .shithub-milestones {
8364 margin: 0;
8365 padding: 0;
8366 }
8367 .shithub-issues-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
8368 .shithub-issues-actions { display: flex; gap: 0.4rem; }
8369 .shithub-issues-filter { display: flex; gap: 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); margin: 1rem 0; }
8370 .shithub-issues-tab { color: var(--fg-muted); padding: 0.25rem 0; border-bottom: 2px solid transparent; }
8371 .shithub-issues-tab-active { color: var(--fg-default); border-bottom-color: var(--accent-emphasis, #0969da); font-weight: 600; }
8372 .shithub-issues-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; vertical-align: middle; margin-right: 0.25rem; }
8373 .shithub-issues-dot-open { background: #1a7f37; }
8374 .shithub-issues-dot-closed { background: #8250df; }
8375 .shithub-issues-list { list-style: none; padding: 0; margin: 0; }
8376 .shithub-issues-row {
8377 display: flex; gap: 0.75rem; align-items: flex-start;
8378 padding: 0.75rem 0.5rem;
8379 border-bottom: 1px solid var(--border-default);
8380 }
8381 .shithub-issues-state { font-size: 1.1rem; line-height: 1.2; }
8382 .shithub-issues-state-open { color: #1a7f37; }
8383 .shithub-issues-state-closed { color: #8250df; }
8384 .shithub-issues-body { flex: 1; }
8385 .shithub-issues-title { font-weight: 600; color: var(--fg-default); }
8386 .shithub-issues-title:hover { color: var(--accent-emphasis, #0969da); }
8387 .shithub-issues-meta { color: var(--fg-muted); font-size: 0.85rem; margin-top: 0.2rem; }
8388 .shithub-issues-assignees { font-size: 0.85rem; }
8389 .shithub-issues-empty { color: var(--fg-muted); padding: 2rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; }
8390 .shithub-issue-num { color: var(--fg-muted); font-weight: 400; margin-left: 0.5rem; }
8391 .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; }
8392 .shithub-issue-title { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; margin: 0; }
8393 .shithub-issue-head-actions { display: flex; gap: 0.5rem; flex: 0 0 auto; }
8394 .shithub-issue-meta { color: var(--fg-muted); margin: 0.75rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
8395 .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; }
8396 .shithub-issue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.5rem; }
8397 @media (max-width: 900px) { .shithub-issue-grid { grid-template-columns: 1fr; } }
8398 .shithub-comment {
8399 border: 1px solid var(--border-default);
8400 border-radius: 6px;
8401 margin-bottom: 1rem;
8402 background: var(--canvas-default);
8403 }
8404 .shithub-comment-head {
8405 padding: 0.5rem 0.75rem;
8406 background: var(--canvas-subtle);
8407 border-bottom: 1px solid var(--border-default);
8408 font-size: 0.9rem;
8409 color: var(--fg-muted);
8410 }
8411 .shithub-comment-body { padding: 0.75rem; }
8412 .shithub-event {
8413 color: var(--fg-muted);
8414 font-size: 0.85rem;
8415 display: flex;
8416 align-items: center;
8417 gap: 0.5rem;
8418 padding: 0.55rem 0;
8419 margin: 0 0 1rem 1.2rem;
8420 position: relative;
8421 }
8422 .shithub-event::before {
8423 content: "";
8424 position: absolute;
8425 top: -1rem;
8426 bottom: -1rem;
8427 left: 0.6rem;
8428 border-left: 2px solid var(--border-default);
8429 z-index: 0;
8430 }
8431 .shithub-event-icon {
8432 width: 1.3rem;
8433 height: 1.3rem;
8434 border: 1px solid var(--border-default);
8435 border-radius: 50%;
8436 background: var(--canvas-default);
8437 color: var(--fg-muted);
8438 display: inline-flex;
8439 align-items: center;
8440 justify-content: center;
8441 position: relative;
8442 z-index: 1;
8443 flex: 0 0 auto;
8444 }
8445 .shithub-event-icon svg { width: 0.8rem; height: 0.8rem; }
8446 .shithub-event-linked .shithub-event-icon { color: var(--fg-muted); }
8447 .shithub-event a { font-weight: 600; }
8448 .shithub-comment-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
8449 .shithub-comment-form textarea, .shithub-issue-form textarea, .shithub-issue-form input[type=text] {
8450 font: inherit; padding: 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; width: 100%;
8451 resize: vertical;
8452 }
8453 .shithub-issue-form { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; }
8454 .shithub-form-row { display: flex; flex-direction: column; gap: 0.25rem; }
8455 .shithub-form-row span { font-weight: 600; font-size: 0.9rem; }
8456 .shithub-form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
8457 .shithub-form-actions-start { justify-content: flex-start; }
8458 .shithub-issue-sidebar section { padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); position: relative; }
8459 .shithub-sidebar-heading { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
8460 .shithub-issue-sidebar h3 { font-size: 0.85rem; color: var(--fg-muted); margin: 0; }
8461 .shithub-sidebar-icon, .shithub-sidebar-editor > summary {
8462 color: var(--fg-muted);
8463 display: inline-flex;
8464 align-items: center;
8465 justify-content: center;
8466 width: 1.25rem;
8467 height: 1.25rem;
8468 cursor: pointer;
8469 }
8470 .shithub-sidebar-editor > summary { list-style: none; }
8471 .shithub-sidebar-editor > summary::-webkit-details-marker { display: none; }
8472 .shithub-popover {
8473 position: absolute;
8474 right: 0;
8475 top: 2rem;
8476 z-index: 20;
8477 min-width: 17rem;
8478 display: flex;
8479 flex-direction: column;
8480 gap: 0.55rem;
8481 padding: 0.75rem;
8482 background: var(--canvas-default);
8483 border: 1px solid var(--border-default);
8484 border-radius: 8px;
8485 box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
8486 }
8487 .shithub-popover input[type=text], .shithub-popover select {
8488 font: inherit;
8489 width: 100%;
8490 padding: 0.45rem 0.5rem;
8491 border: 1px solid var(--border-default);
8492 border-radius: 6px;
8493 background: var(--canvas-default);
8494 color: var(--fg-default);
8495 }
8496 .shithub-inline-form { display: inline; }
8497 .shithub-link-button {
8498 border: 0;
8499 padding: 0;
8500 background: transparent;
8501 color: var(--accent-emphasis, #0969da);
8502 font: inherit;
8503 cursor: pointer;
8504 display: inline-flex;
8505 gap: 0.35rem;
8506 align-items: center;
8507 }
8508 .shithub-sidebar-button { width: 100%; }
8509 .shithub-participant { display: inline-block; margin: 0 0.35rem 0.35rem 0; }
8510 .shithub-issue-actions form { margin: 0.25rem 0; }
8511 .shithub-issue-signedout { color: var(--fg-muted); padding: 1rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; }
8512 .shithub-label {
8513 display: inline-block;
8514 font-size: 0.75rem;
8515 padding: 0.1rem 0.5rem;
8516 border-radius: 1rem;
8517 color: #1f2328;
8518 font-weight: 500;
8519 margin: 0 0.15rem;
8520 }
8521 .shithub-label-pick { display: flex; gap: 0.4rem; align-items: center; padding: 0.2rem 0; }
8522 .shithub-assignee-form { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 0.5rem; }
8523 .shithub-assignee-form input[type=text] { padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; }
8524 .shithub-labels-list, .shithub-milestones-list { list-style: none; padding: 0; }
8525 .shithub-labels-row, .shithub-milestones-row {
8526 padding: 0.75rem 0;
8527 border-bottom: 1px solid var(--border-default);
8528 display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
8529 }
8530 .shithub-label-form, .shithub-milestone-form { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0; }
8531 .shithub-label-form input, .shithub-milestone-form input, .shithub-milestone-form textarea {
8532 padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
8533 }
8534 .shithub-button-danger { color: #cf222e; }
8535 .shithub-error { padding: 0.75rem; background: #ffebe9; border: 1px solid #ffcecb; border-radius: 6px; color: #82061e; margin-bottom: 1rem; }
8536 .shithub-muted { color: var(--fg-muted); }
8537
8538 /* ========== Pull Requests (S22) ========== */
8539 .shithub-pulls, .shithub-pull-view { margin: 0; padding: 0; }
8540 .shithub-pull-head { margin: 1.25rem 0 1rem; }
8541 .shithub-pull-title-row {
8542 display: flex;
8543 align-items: flex-start;
8544 justify-content: space-between;
8545 gap: 1rem;
8546 }
8547 .shithub-pull-title {
8548 margin: 0;
8549 display: flex;
8550 gap: 0.35rem;
8551 align-items: baseline;
8552 flex-wrap: wrap;
8553 font-size: 1.75rem;
8554 line-height: 1.25;
8555 font-weight: 600;
8556 }
8557 .shithub-pull-head-actions {
8558 display: flex;
8559 align-items: center;
8560 gap: 0.5rem;
8561 flex: 0 0 auto;
8562 }
8563 .shithub-pull-head-status { color: var(--fg-muted); }
8564 .shithub-pull-head-status-clean { color: #1a7f37; }
8565 .shithub-pull-head-status-dirty { color: #cf222e; }
8566 .shithub-pull-summary {
8567 display: flex;
8568 align-items: center;
8569 gap: 0.5rem;
8570 flex-wrap: wrap;
8571 margin-top: 0.6rem;
8572 color: var(--fg-muted);
8573 font-size: 0.9rem;
8574 }
8575 .shithub-pull-summary a { font-weight: 600; }
8576 .shithub-pull-merged { background: #8250df22; color: #8250df; }
8577 .shithub-branch-name {
8578 display: inline-flex;
8579 align-items: center;
8580 max-width: 18rem;
8581 padding: 0.05rem 0.35rem;
8582 border-radius: 6px;
8583 background: var(--canvas-subtle);
8584 font-family: var(--mono, monospace);
8585 font-size: 0.85rem;
8586 vertical-align: baseline;
8587 }
8588 .shithub-pull-summary .shithub-icon-button {
8589 display: inline-flex;
8590 align-items: center;
8591 justify-content: center;
8592 width: 1.5rem;
8593 height: 1.5rem;
8594 padding: 0;
8595 border: 0;
8596 border-radius: 6px;
8597 background: transparent;
8598 color: var(--fg-muted);
8599 cursor: pointer;
8600 }
8601 .shithub-pull-summary .shithub-icon-button:hover { background: var(--canvas-subtle); color: var(--fg-default); }
8602 .shithub-pull-tabs {
8603 display: flex;
8604 gap: 0.25rem;
8605 border-bottom: 1px solid var(--border-default);
8606 margin: 1rem 0 1rem;
8607 flex-wrap: wrap;
8608 }
8609 .shithub-pull-tab {
8610 display: inline-flex;
8611 align-items: center;
8612 gap: 0.45rem;
8613 color: var(--fg-muted);
8614 padding: 0.55rem 0.85rem;
8615 border-bottom: 2px solid transparent;
8616 position: relative;
8617 bottom: -1px;
8618 text-decoration: none;
8619 }
8620 .shithub-pull-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; }
8621 .shithub-pull-tab-active {
8622 color: var(--fg-default);
8623 border-bottom-color: var(--accent-emphasis, #fd8c73);
8624 font-weight: 600;
8625 }
8626 .shithub-pull-grid {
8627 display: grid;
8628 grid-template-columns: minmax(0, 1fr) 18.5rem;
8629 gap: 1.5rem;
8630 align-items: start;
8631 }
8632 @media (max-width: 900px) {
8633 .shithub-pull-title-row { flex-direction: column; }
8634 .shithub-pull-grid { grid-template-columns: 1fr; }
8635 }
8636 .shithub-pull-state-clean { color: #1a7f37; font-weight: 600; }
8637 .shithub-pull-state-dirty { color: #cf222e; font-weight: 600; }
8638 .shithub-pull-state-behind { color: #9a6700; }
8639 .shithub-pull-state-unknown { color: var(--fg-muted); }
8640 .shithub-pull-deploy-box,
8641 .shithub-pull-merge-box {
8642 border: 1px solid var(--border-default);
8643 border-radius: 6px;
8644 background: var(--canvas-default);
8645 margin: 0 0 1rem;
8646 }
8647 .shithub-pull-deploy-box {
8648 display: flex;
8649 gap: 0.75rem;
8650 align-items: flex-start;
8651 padding: 0.85rem 1rem;
8652 }
8653 .shithub-pull-deploy-box p { margin: 0.15rem 0 0; }
8654 .shithub-pull-merge-box-ready { border-color: rgba(26, 127, 55, 0.55); }
8655 .shithub-pull-merge-box-blocked { border-color: rgba(207, 34, 46, 0.55); }
8656 .shithub-pull-merge-box-pending { border-color: rgba(154, 103, 0, 0.55); }
8657 .shithub-pull-merge-box-merged { border-color: rgba(130, 80, 223, 0.55); }
8658 .shithub-pull-merge-row {
8659 display: grid;
8660 grid-template-columns: 2rem minmax(0, 1fr);
8661 gap: 0.75rem;
8662 padding: 0.85rem 1rem;
8663 border-bottom: 1px solid var(--border-default);
8664 }
8665 .shithub-pull-merge-row:last-child { border-bottom: none; }
8666 .shithub-pull-merge-row p { margin: 0.15rem 0 0; }
8667 .shithub-pull-status-icon {
8668 width: 1.5rem;
8669 height: 1.5rem;
8670 border-radius: 50%;
8671 color: var(--fg-muted);
8672 display: inline-flex;
8673 align-items: center;
8674 justify-content: center;
8675 }
8676 .shithub-pull-status-icon-success,
8677 .shithub-pull-check-row-success .shithub-pull-status-icon { color: #1a7f37; }
8678 .shithub-pull-status-icon-danger,
8679 .shithub-pull-check-row-failure .shithub-pull-status-icon { color: #cf222e; }
8680 .shithub-pull-check-row-pending .shithub-pull-status-icon { color: #bf8700; }
8681 .shithub-pull-status-icon-merged { color: #8250df; }
8682 .shithub-pull-merge-checks {
8683 list-style: none;
8684 margin: 0;
8685 padding: 0;
8686 border-bottom: 1px solid var(--border-default);
8687 }
8688 .shithub-pull-merge-checks li {
8689 display: flex;
8690 align-items: center;
8691 gap: 0.5rem;
8692 padding: 0.45rem 1rem 0.45rem 3.75rem;
8693 border-top: 1px solid var(--border-muted);
8694 font-size: 0.86rem;
8695 }
8696 .shithub-pull-merge-checks small { color: var(--fg-muted); margin-left: auto; }
8697 .shithub-pull-merge-actions {
8698 padding: 0.85rem 1rem;
8699 display: flex;
8700 flex-wrap: wrap;
8701 gap: 0.5rem;
8702 background: var(--canvas-subtle);
8703 border-radius: 0 0 6px 6px;
8704 }
8705 .shithub-pull-merge-form {
8706 display: flex;
8707 align-items: center;
8708 gap: 0;
8709 margin: 0;
8710 }
8711 .shithub-pull-merge-form select {
8712 min-height: 32px;
8713 padding: 0 0.55rem;
8714 border: 1px solid var(--border-default);
8715 border-left: 0;
8716 border-radius: 0 6px 6px 0;
8717 background: var(--canvas-default);
8718 color: var(--fg-default);
8719 font: inherit;
8720 }
8721 .shithub-pull-merge-form .shithub-button { border-radius: 6px 0 0 6px; }
8722 .shithub-pull-state-form { margin-top: 0.5rem; }
8723 .shithub-pull-refs { display: flex; gap: 0.4rem; align-items: flex-end; }
8724 .shithub-pull-refs label { flex: 1; }
8725 .shithub-pull-arrow { font-size: 1.4rem; padding: 0 0.4rem; align-self: center; }
8726 .shithub-sr-only {
8727 position: absolute;
8728 width: 1px;
8729 height: 1px;
8730 padding: 0;
8731 margin: -1px;
8732 overflow: hidden;
8733 clip: rect(0, 0, 0, 0);
8734 white-space: nowrap;
8735 border: 0;
8736 }
8737 .shithub-pull-commits {
8738 display: flex;
8739 flex-direction: column;
8740 gap: 1rem;
8741 max-width: 56rem;
8742 margin-top: 1rem;
8743 }
8744 .shithub-pull-commit-group {
8745 display: grid;
8746 grid-template-columns: 2rem minmax(0, 1fr);
8747 gap: 0.75rem;
8748 position: relative;
8749 }
8750 .shithub-pull-commit-group::before {
8751 content: "";
8752 position: absolute;
8753 top: 2rem;
8754 bottom: -1rem;
8755 left: 1rem;
8756 width: 1px;
8757 background: var(--border-default);
8758 }
8759 .shithub-pull-commit-group:last-child::before { display: none; }
8760 .shithub-pull-commit-badge {
8761 position: relative;
8762 z-index: 1;
8763 display: inline-flex;
8764 align-items: center;
8765 justify-content: center;
8766 width: 2rem;
8767 height: 2rem;
8768 border: 1px solid var(--border-default);
8769 border-radius: 50%;
8770 color: var(--fg-muted);
8771 background: var(--canvas-default);
8772 }
8773 .shithub-pull-commit-group-body { min-width: 0; }
8774 .shithub-pull-commit-group h3 {
8775 margin: 0.3rem 0 0.65rem;
8776 font-size: 0.95rem;
8777 font-weight: 400;
8778 }
8779 .shithub-pull-commit-panel {
8780 list-style: none;
8781 padding: 0;
8782 margin: 0;
8783 border: 1px solid var(--border-default);
8784 border-radius: 6px;
8785 background: var(--canvas-default);
8786 }
8787 .shithub-pull-commit-row {
8788 display: grid;
8789 grid-template-columns: minmax(0, 1fr) auto;
8790 gap: 1rem;
8791 align-items: center;
8792 padding: 0.75rem;
8793 border-bottom: 1px solid var(--border-default);
8794 }
8795 .shithub-pull-commit-row:last-child { border-bottom: 0; }
8796 .shithub-pull-commit-main { min-width: 0; }
8797 .shithub-pull-commit-title {
8798 display: block;
8799 overflow: hidden;
8800 color: var(--fg-default);
8801 font-weight: 600;
8802 text-overflow: ellipsis;
8803 white-space: nowrap;
8804 }
8805 .shithub-pull-commit-meta {
8806 display: flex;
8807 align-items: center;
8808 flex-wrap: wrap;
8809 gap: 0.25rem;
8810 margin-top: 0.3rem;
8811 color: var(--fg-muted);
8812 font-size: 0.84rem;
8813 }
8814 .shithub-pull-commit-meta .shithub-avatar-sm { width: 16px; height: 16px; margin-right: 0.15rem; }
8815 .shithub-pull-commit-actions {
8816 display: flex;
8817 align-items: center;
8818 gap: 0.25rem;
8819 }
8820 .shithub-pull-commit-sha {
8821 font-family: var(--mono, monospace);
8822 color: var(--fg-muted);
8823 }
8824 @media (max-width: 640px) {
8825 .shithub-pull-commit-row { grid-template-columns: 1fr; }
8826 .shithub-pull-commit-actions { justify-content: flex-start; }
8827 }
8828
8829 /* ========== PR Reviews (S23) ========== */
8830 .shithub-pull-reviews-list, .shithub-pull-reviewers-list {
8831 list-style: none; padding: 0; margin: 0; font-size: 0.9rem;
8832 }
8833 .shithub-pull-reviews-list { margin-top: 0.5rem; }
8834 .shithub-pull-reviews-list li,
8835 .shithub-pull-reviewers-list li { padding: 0.2rem 0; display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: baseline; }
8836 .shithub-pull-review-state { font-weight: 600; }
8837 .shithub-pull-review-approve .shithub-pull-review-state { color: #1a7f37; }
8838 .shithub-pull-review-request_changes .shithub-pull-review-state { color: #cf222e; }
8839 .shithub-pull-review-comment .shithub-pull-review-state { color: var(--fg-muted); }
8840 .shithub-pull-review-dismissed { opacity: 0.5; text-decoration: line-through; }
8841 .shithub-pull-request-reviewer summary, .shithub-pull-submit-review summary {
8842 margin: 0.5rem 0 0.25rem;
8843 }
8844 .shithub-pull-review-form { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.4rem 0; }
8845 .shithub-pull-review-form textarea, .shithub-pull-review-form select {
8846 padding: 0.4rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
8847 }
8848 .shithub-pull-comment-form { margin-top: 1.25rem; }
8849 .shithub-comment-composer-row {
8850 display: grid;
8851 grid-template-columns: 40px minmax(0, 1fr);
8852 gap: 1rem;
8853 margin-top: 1.25rem;
8854 }
8855 .shithub-comment-composer-avatar,
8856 .shithub-comment-composer-avatar img {
8857 display: block;
8858 width: 40px;
8859 height: 40px;
8860 border-radius: 50%;
8861 }
8862 .shithub-comment-composer-avatar img {
8863 border: 1px solid var(--border-muted);
8864 background: var(--canvas-subtle);
8865 }
8866 .shithub-comment-composer-form {
8867 min-width: 0;
8868 margin-top: 0;
8869 }
8870 .shithub-comment-composer-title {
8871 display: block;
8872 margin: 0 0 0.5rem;
8873 color: var(--fg-default);
8874 font-weight: 600;
8875 }
8876 .shithub-comment-editor-box {
8877 position: relative;
8878 border: 1px solid var(--border-default);
8879 border-radius: 6px;
8880 background: var(--canvas-default);
8881 }
8882 .shithub-comment-editor-head {
8883 display: flex;
8884 align-items: center;
8885 justify-content: space-between;
8886 gap: 0.75rem;
8887 min-height: 44px;
8888 border-bottom: 1px solid var(--border-default);
8889 background: var(--canvas-subtle);
8890 }
8891 .shithub-comment-editor-tabs {
8892 display: flex;
8893 align-self: stretch;
8894 }
8895 .shithub-comment-editor-tabs button {
8896 min-width: 68px;
8897 padding: 0 1rem;
8898 border: 0;
8899 border-right: 1px solid var(--border-default);
8900 color: var(--fg-muted);
8901 background: transparent;
8902 cursor: pointer;
8903 font: inherit;
8904 font-weight: 500;
8905 }
8906 .shithub-comment-editor-tabs button.is-active {
8907 margin-bottom: -1px;
8908 color: var(--fg-default);
8909 background: var(--canvas-default);
8910 }
8911 .shithub-comment-toolbar {
8912 display: flex;
8913 align-items: center;
8914 justify-content: flex-end;
8915 gap: 0.15rem;
8916 min-width: 0;
8917 padding: 0.35rem 0.45rem;
8918 color: var(--fg-muted);
8919 flex-wrap: wrap;
8920 }
8921 .shithub-comment-tool {
8922 position: relative;
8923 display: inline-flex;
8924 align-items: center;
8925 justify-content: center;
8926 width: 30px;
8927 height: 30px;
8928 padding: 0;
8929 border: 0;
8930 border-radius: 6px;
8931 color: var(--fg-muted);
8932 background: transparent;
8933 cursor: pointer;
8934 font: inherit;
8935 }
8936 .shithub-comment-tool:hover,
8937 .shithub-comment-tool:focus-visible,
8938 .shithub-comment-tool.is-active {
8939 color: var(--fg-default);
8940 background: var(--button-default-hover-bg);
8941 outline: none;
8942 }
8943 .shithub-comment-tool input[type="file"] {
8944 position: absolute;
8945 inset: 0;
8946 width: 100%;
8947 height: 100%;
8948 opacity: 0;
8949 cursor: pointer;
8950 }
8951 .shithub-comment-tool-text {
8952 font-weight: 700;
8953 font-size: 0.9rem;
8954 }
8955 .shithub-comment-tool-text.is-italic {
8956 font-style: italic;
8957 }
8958 .shithub-comment-toolbar-separator {
8959 width: 1px;
8960 height: 20px;
8961 margin: 0 0.25rem;
8962 background: var(--border-default);
8963 }
8964 .shithub-comment-editor-write {
8965 position: relative;
8966 }
8967 .shithub-comment-editor-write textarea {
8968 display: block;
8969 width: 100%;
8970 min-height: 120px;
8971 padding: 0.8rem;
8972 border: 0;
8973 border-radius: 0;
8974 resize: vertical;
8975 background: var(--canvas-default);
8976 color: var(--fg-default);
8977 font: inherit;
8978 line-height: 1.5;
8979 }
8980 .shithub-comment-editor-write textarea:focus {
8981 box-shadow: inset 0 0 0 2px var(--accent-emphasis);
8982 outline: none;
8983 }
8984 .shithub-comment-editor-preview {
8985 min-height: 120px;
8986 padding: 0.8rem;
8987 }
8988 .shithub-comment-editor-footer {
8989 display: flex;
8990 align-items: center;
8991 flex-wrap: wrap;
8992 gap: 0.75rem;
8993 min-height: 36px;
8994 padding: 0.45rem 0.75rem;
8995 border-top: 1px solid var(--border-default);
8996 border-radius: 0 0 6px 6px;
8997 color: var(--fg-muted);
8998 background: var(--canvas-subtle);
8999 font-size: 0.78rem;
9000 font-weight: 600;
9001 }
9002 .shithub-comment-editor-footer span {
9003 display: inline-flex;
9004 align-items: center;
9005 gap: 0.3rem;
9006 }
9007 .shithub-comment-file-list {
9008 max-width: 100%;
9009 overflow: hidden;
9010 text-overflow: ellipsis;
9011 white-space: nowrap;
9012 }
9013 .shithub-comment-policy-note,
9014 .shithub-comment-protip {
9015 margin: 0.75rem 0 0;
9016 color: var(--fg-muted);
9017 font-size: 0.8rem;
9018 }
9019 .shithub-comment-policy-note svg,
9020 .shithub-comment-protip svg {
9021 vertical-align: text-bottom;
9022 }
9023 .shithub-comment-suggestions {
9024 position: absolute;
9025 z-index: 60;
9026 left: 0.75rem;
9027 top: 2.8rem;
9028 width: min(22rem, calc(100% - 1.5rem));
9029 max-height: 18rem;
9030 overflow: auto;
9031 border: 1px solid var(--border-default);
9032 border-radius: 6px;
9033 background: var(--canvas-overlay, var(--canvas-default));
9034 box-shadow: 0 8px 24px rgba(1, 4, 9, 0.35);
9035 }
9036 .shithub-comment-suggestions.is-slash {
9037 width: min(20rem, calc(100% - 1.5rem));
9038 }
9039 .shithub-comment-suggestion-section {
9040 padding: 0.45rem 0.55rem;
9041 border-bottom: 1px solid var(--border-default);
9042 color: var(--fg-muted);
9043 font-size: 0.75rem;
9044 font-weight: 600;
9045 }
9046 .shithub-comment-suggestion-item {
9047 display: grid;
9048 grid-template-columns: 24px minmax(0, 1fr);
9049 gap: 0.5rem;
9050 align-items: center;
9051 width: 100%;
9052 min-height: 36px;
9053 padding: 0.35rem 0.55rem;
9054 border: 0;
9055 border-bottom: 1px solid var(--border-muted);
9056 color: var(--fg-default);
9057 background: transparent;
9058 cursor: pointer;
9059 font: inherit;
9060 text-align: left;
9061 }
9062 .shithub-comment-suggestion-item:last-child {
9063 border-bottom: 0;
9064 }
9065 .shithub-comment-suggestion-item:hover,
9066 .shithub-comment-suggestion-item.is-active {
9067 color: #fff;
9068 background: var(--accent-emphasis, #0969da);
9069 }
9070 .shithub-comment-suggestion-item img {
9071 width: 20px;
9072 height: 20px;
9073 border-radius: 50%;
9074 }
9075 .shithub-comment-suggestion-item strong,
9076 .shithub-comment-suggestion-item span {
9077 overflow: hidden;
9078 text-overflow: ellipsis;
9079 white-space: nowrap;
9080 }
9081 .shithub-comment-suggestion-item small {
9082 color: inherit;
9083 opacity: 0.8;
9084 }
9085 .shithub-comment-suggestion-copy {
9086 min-width: 0;
9087 display: flex;
9088 flex-direction: column;
9089 gap: 0.1rem;
9090 }
9091 .shithub-comment-saved-dialog {
9092 width: min(32rem, calc(100vw - 2rem));
9093 padding: 0;
9094 border: 1px solid var(--border-default);
9095 border-radius: 8px;
9096 color: var(--fg-default);
9097 background: var(--canvas-overlay, var(--canvas-default));
9098 box-shadow: 0 16px 48px rgba(1, 4, 9, 0.45);
9099 }
9100 .shithub-comment-saved-dialog::backdrop {
9101 background: rgba(1, 4, 9, 0.45);
9102 }
9103 .shithub-comment-saved-head {
9104 display: flex;
9105 align-items: center;
9106 justify-content: space-between;
9107 padding: 0.75rem 0.9rem;
9108 }
9109 .shithub-comment-saved-dialog input[type="search"] {
9110 width: calc(100% - 1.5rem);
9111 margin: 0 0.75rem 0.75rem;
9112 padding: 0.45rem 0.6rem;
9113 border-radius: 6px;
9114 }
9115 .shithub-comment-saved-item,
9116 .shithub-comment-saved-create {
9117 width: 100%;
9118 border: 0;
9119 border-top: 1px solid var(--border-default);
9120 color: var(--fg-default);
9121 background: transparent;
9122 cursor: pointer;
9123 font: inherit;
9124 text-align: left;
9125 }
9126 .shithub-comment-saved-item {
9127 position: relative;
9128 display: flex;
9129 flex-direction: column;
9130 gap: 0.2rem;
9131 padding: 0.75rem 4rem 0.75rem 0.9rem;
9132 }
9133 .shithub-comment-saved-item:hover,
9134 .shithub-comment-saved-create:hover {
9135 background: var(--button-default-hover-bg);
9136 }
9137 .shithub-comment-saved-item span {
9138 color: var(--fg-muted);
9139 font-size: 0.82rem;
9140 }
9141 .shithub-comment-saved-item kbd {
9142 position: absolute;
9143 right: 0.9rem;
9144 top: 0.75rem;
9145 padding: 0.05rem 0.35rem;
9146 border: 1px solid var(--border-default);
9147 border-radius: 999px;
9148 color: var(--fg-muted);
9149 background: var(--canvas-subtle);
9150 font: 0.72rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
9151 }
9152 .shithub-comment-saved-create {
9153 display: flex;
9154 align-items: center;
9155 gap: 0.4rem;
9156 margin: 0.6rem;
9157 width: calc(100% - 1.2rem);
9158 padding: 0.55rem 0.7rem;
9159 border-radius: 6px;
9160 background: var(--canvas-subtle);
9161 font-weight: 600;
9162 }
9163 .shithub-comment-editor-fullscreen {
9164 position: fixed;
9165 inset: 5vh 5vw;
9166 z-index: 100;
9167 display: flex;
9168 flex-direction: column;
9169 border: 1px solid var(--border-default);
9170 border-radius: 8px;
9171 background: var(--canvas-default);
9172 box-shadow: 0 16px 48px rgba(1, 4, 9, 0.45);
9173 }
9174 .shithub-comment-editor-fullscreen .shithub-comment-editor-write,
9175 .shithub-comment-editor-fullscreen .shithub-comment-editor-preview {
9176 flex: 1 1 auto;
9177 }
9178 .shithub-comment-editor-fullscreen textarea {
9179 min-height: 55vh;
9180 resize: none;
9181 }
9182 .shithub-comment-composer-row:has(.shithub-comment-editor-fullscreen)::before {
9183 content: "";
9184 position: fixed;
9185 inset: 0;
9186 z-index: 99;
9187 background: rgba(1, 4, 9, 0.48);
9188 }
9189 .shithub-button-compact { min-height: 32px; padding: 0.25rem 0.7rem; }
9190 .shithub-pull-files { margin-top: 0.25rem; }
9191 .shithub-pull-files-toolbar {
9192 position: sticky;
9193 top: 0;
9194 z-index: 5;
9195 display: flex;
9196 justify-content: space-between;
9197 align-items: center;
9198 gap: 1rem;
9199 padding: 0.7rem 0;
9200 border-bottom: 1px solid var(--border-default);
9201 background: var(--canvas-default);
9202 }
9203 .shithub-pull-files-toolbar-left,
9204 .shithub-pull-files-toolbar-right {
9205 display: flex;
9206 align-items: center;
9207 gap: 0.5rem;
9208 flex-wrap: wrap;
9209 }
9210 .shithub-pull-submit-review-menu { position: relative; }
9211 .shithub-pull-submit-review-menu > summary { list-style: none; }
9212 .shithub-pull-submit-review-menu > summary::-webkit-details-marker { display: none; }
9213 .shithub-pull-review-popover {
9214 right: 0;
9215 top: calc(100% + 0.4rem);
9216 min-width: 20rem;
9217 }
9218 .shithub-pull-review-popover textarea {
9219 width: 100%;
9220 padding: 0.45rem 0.5rem;
9221 border: 1px solid var(--border-default);
9222 border-radius: 6px;
9223 background: var(--canvas-default);
9224 color: var(--fg-default);
9225 font: inherit;
9226 }
9227 .shithub-pull-files-layout {
9228 display: grid;
9229 grid-template-columns: 16rem minmax(0, 1fr);
9230 gap: 1rem;
9231 margin-top: 1rem;
9232 }
9233 .shithub-pull-file-nav {
9234 position: sticky;
9235 top: 3.75rem;
9236 align-self: start;
9237 max-height: calc(100vh - 5rem);
9238 overflow: auto;
9239 border: 1px solid var(--border-default);
9240 border-radius: 6px;
9241 background: var(--canvas-default);
9242 }
9243 .shithub-pull-file-filter {
9244 display: flex;
9245 align-items: center;
9246 gap: 0.35rem;
9247 padding: 0.5rem;
9248 border-bottom: 1px solid var(--border-default);
9249 }
9250 .shithub-pull-file-filter svg { color: var(--fg-muted); flex: 0 0 auto; }
9251 .shithub-pull-file-filter input {
9252 min-width: 0;
9253 width: 100%;
9254 border: 0;
9255 background: transparent;
9256 color: var(--fg-default);
9257 font: inherit;
9258 outline: none;
9259 }
9260 .shithub-pull-file-nav ul {
9261 list-style: none;
9262 margin: 0;
9263 padding: 0.4rem 0;
9264 }
9265 .shithub-pull-file-nav li a {
9266 display: grid;
9267 grid-template-columns: 1.4rem minmax(0, 1fr);
9268 gap: 0.45rem;
9269 align-items: start;
9270 padding: 0.45rem 0.65rem;
9271 color: var(--fg-default);
9272 text-decoration: none;
9273 font-size: 0.86rem;
9274 }
9275 .shithub-pull-file-nav li a:hover { background: var(--canvas-subtle); }
9276 .shithub-pull-file-nav small {
9277 display: block;
9278 color: var(--fg-muted);
9279 font-size: 0.75rem;
9280 overflow: hidden;
9281 text-overflow: ellipsis;
9282 white-space: nowrap;
9283 }
9284 .shithub-pull-file-status {
9285 display: inline-flex;
9286 align-items: center;
9287 justify-content: center;
9288 width: 1.1rem;
9289 height: 1.1rem;
9290 border-radius: 4px;
9291 font-size: 0.68rem;
9292 font-weight: 700;
9293 }
9294 .shithub-pull-file-status-added { color: #1a7f37; border: 1px solid rgba(26, 127, 55, 0.45); }
9295 .shithub-pull-file-status-deleted { color: #cf222e; border: 1px solid rgba(207, 34, 46, 0.45); }
9296 .shithub-pull-file-status-renamed { color: #8250df; border: 1px solid rgba(130, 80, 223, 0.45); }
9297 .shithub-pull-file-status-modified { color: #bf8700; border: 1px solid rgba(154, 103, 0, 0.45); }
9298 .shithub-pull-file-lines { margin-top: 0.1rem; }
9299 .shithub-pull-files-main { min-width: 0; }
9300 @media (max-width: 900px) {
9301 .shithub-pull-files-toolbar { position: static; align-items: flex-start; flex-direction: column; }
9302 .shithub-pull-files-layout { grid-template-columns: 1fr; }
9303 .shithub-pull-file-nav { position: static; max-height: none; }
9304 }
9305 .shithub-pull-threads { margin-top: 1.5rem; padding: 0.75rem; border: 1px solid var(--border-default); border-radius: 6px; }
9306 .shithub-pull-thread-file { padding: 0.4rem 0; border-bottom: 1px solid var(--border-default); }
9307 .shithub-pull-thread-file:last-child { border-bottom: none; }
9308 .shithub-pull-thread-file summary { cursor: pointer; font-weight: 600; }
9309 .shithub-pull-thread { padding: 0.5rem; border-left: 3px solid var(--border-default); margin: 0.5rem 0; }
9310 .shithub-pull-thread-outdated { opacity: 0.6; border-left-color: #9a6700; }
9311 .shithub-pull-thread-resolved { opacity: 0.7; border-left-color: #1a7f37; }
9312 .shithub-pull-thread-actions { display: flex; gap: 0.3rem; margin-top: 0.4rem; flex-wrap: wrap; }
9313 .shithub-pull-thread-actions textarea, .shithub-pull-thread-actions input[type=text] {
9314 padding: 0.3rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
9315 }
9316 .shithub-pull-add-comment summary { margin-top: 0.5rem; }
9317 .shithub-pull-add-comment form { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.4rem 0; }
9318 .shithub-pull-add-comment input, .shithub-pull-add-comment textarea {
9319 padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit;
9320 }
9321
9322 /* ========== PR Checks tab (S24) ========== */
9323 .shithub-checks-page {
9324 display: grid;
9325 grid-template-columns: 15rem minmax(0, 1fr);
9326 gap: 1.5rem;
9327 margin-top: 1rem;
9328 }
9329 .shithub-checks-sidebar {
9330 position: sticky;
9331 top: 1rem;
9332 align-self: start;
9333 display: flex;
9334 flex-direction: column;
9335 gap: 0.35rem;
9336 }
9337 .shithub-checks-sidebar-group {
9338 padding-top: 0.75rem;
9339 margin-top: 0.5rem;
9340 border-top: 1px solid var(--border-default);
9341 }
9342 .shithub-checks-sidebar-heading {
9343 padding: 0.35rem 0.55rem;
9344 color: var(--fg-muted);
9345 font-size: 0.8rem;
9346 font-weight: 600;
9347 }
9348 .shithub-checks-sidebar-item {
9349 display: flex;
9350 align-items: center;
9351 gap: 0.45rem;
9352 padding: 0.45rem 0.55rem;
9353 border-radius: 6px;
9354 color: var(--fg-default);
9355 text-decoration: none;
9356 font-size: 0.86rem;
9357 }
9358 .shithub-checks-sidebar-item.is-active,
9359 .shithub-checks-sidebar-item:hover {
9360 background: var(--canvas-subtle);
9361 }
9362 .shithub-checks-main {
9363 display: flex;
9364 flex-direction: column;
9365 gap: 1rem;
9366 min-width: 0;
9367 }
9368 .shithub-checks-summary-card {
9369 display: grid;
9370 grid-template-columns: minmax(0, 2fr) repeat(3, minmax(7rem, 1fr));
9371 gap: 1rem;
9372 padding: 1rem;
9373 border: 1px solid var(--border-default);
9374 border-radius: 6px;
9375 background: var(--canvas-default);
9376 }
9377 .shithub-checks-summary-card > div {
9378 display: flex;
9379 flex-direction: column;
9380 gap: 0.25rem;
9381 }
9382 .shithub-checks-success { color: #1a7f37; }
9383 .shithub-checks-failure { color: #cf222e; }
9384 .shithub-checks-pending { color: #9a6700; }
9385 .shithub-checks-workflow,
9386 .shithub-checks-annotations {
9387 border: 1px solid var(--border-default);
9388 border-radius: 6px;
9389 background: var(--canvas-default);
9390 }
9391 .shithub-checks-workflow > header {
9392 display: flex;
9393 justify-content: space-between;
9394 align-items: flex-start;
9395 gap: 1rem;
9396 padding: 1rem;
9397 border-bottom: 1px solid var(--border-default);
9398 }
9399 .shithub-checks-workflow h2,
9400 .shithub-checks-annotations h2 {
9401 margin: 0;
9402 font-size: 1rem;
9403 }
9404 .shithub-checks-workflow p { margin: 0.2rem 0 0; }
9405 .shithub-checks-workflow-map {
9406 padding: 1rem;
9407 min-height: 8rem;
9408 background: var(--canvas-inset);
9409 }
9410 .shithub-checks-run-card {
9411 max-width: 18rem;
9412 display: grid;
9413 grid-template-columns: 1.5rem minmax(0, 1fr) auto;
9414 gap: 0.55rem;
9415 align-items: center;
9416 padding: 0.75rem;
9417 border: 1px solid var(--border-default);
9418 border-radius: 6px;
9419 background: var(--canvas-default);
9420 }
9421 .shithub-checks-run-card + .shithub-checks-run-card { margin-top: 0.75rem; }
9422 .shithub-checks-run-card p { margin: 0.15rem 0 0; }
9423 .shithub-checks-run-icon {
9424 display: inline-flex;
9425 align-items: center;
9426 justify-content: center;
9427 color: #1a7f37;
9428 }
9429 .shithub-checks-annotations { padding: 1rem; }
9430 .shithub-checks-annotation {
9431 margin-top: 0.75rem;
9432 padding: 0.75rem;
9433 border: 1px solid var(--border-default);
9434 border-radius: 6px;
9435 background: var(--canvas-subtle);
9436 }
9437 .shithub-checks-annotation summary {
9438 cursor: pointer;
9439 display: flex;
9440 justify-content: space-between;
9441 gap: 1rem;
9442 }
9443 @media (max-width: 900px) {
9444 .shithub-checks-page { grid-template-columns: 1fr; }
9445 .shithub-checks-sidebar { position: static; }
9446 .shithub-checks-summary-card { grid-template-columns: 1fr; }
9447 }
9448 .shithub-pull-checks { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.5rem 0; }
9449 .shithub-pull-check-suite {
9450 border: 1px solid var(--border-default);
9451 border-radius: 6px;
9452 padding: 0.75rem;
9453 }
9454 .shithub-pull-check-suite h3 {
9455 display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
9456 font-size: 1rem; margin: 0 0 0.5rem;
9457 }
9458 .shithub-pull-check-app { font-family: var(--mono, monospace); font-size: 0.85rem; color: var(--fg-muted); }
9459 .shithub-pull-check-suite-status { font-size: 0.8rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--canvas-subtle); }
9460 .shithub-pull-check-runs { list-style: none; padding: 0; margin: 0; }
9461 .shithub-pull-check-run {
9462 display: flex; gap: 0.5rem; align-items: baseline;
9463 padding: 0.3rem 0; border-bottom: 1px solid var(--border-default);
9464 flex-wrap: wrap;
9465 }
9466 .shithub-pull-check-run:last-child { border-bottom: none; }
9467 .shithub-pull-check-status-completed { color: #1a7f37; }
9468 .shithub-pull-check-status-in_progress { color: #9a6700; }
9469 .shithub-pull-check-status-queued { color: var(--fg-muted); }
9470 .shithub-pull-check-status-pending { color: var(--fg-muted); }
9471 .shithub-pull-check-conclusion {
9472 font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: 999px;
9473 text-transform: lowercase;
9474 }
9475 .shithub-pull-check-conclusion-success { background: #1a7f3722; color: #1a7f37; }
9476 .shithub-pull-check-conclusion-failure { background: #cf222e22; color: #cf222e; }
9477 .shithub-pull-check-conclusion-neutral { background: #d0d7de44; color: var(--fg-muted); }
9478 .shithub-pull-check-conclusion-cancelled,
9479 .shithub-pull-check-conclusion-skipped,
9480 .shithub-pull-check-conclusion-stale { color: var(--fg-muted); background: var(--canvas-subtle); }
9481 .shithub-pull-check-conclusion-timed_out { background: #9a670022; color: #9a6700; }
9482 .shithub-pull-check-conclusion-action_required { background: #cf222e22; color: #cf222e; font-weight: 600; }
9483
9484 /* S26 — stars / watchers / forks list pages */
9485 .shithub-social { max-width: 1012px; margin: 0 auto; padding: 1.5rem 0; }
9486 .shithub-social-subhead {
9487 display: flex;
9488 align-items: baseline;
9489 gap: 0.75rem;
9490 padding-bottom: 0.85rem;
9491 border-bottom: 1px solid var(--border-default);
9492 }
9493 .shithub-social-subhead h1 {
9494 margin: 0;
9495 font-size: 1.55rem;
9496 font-weight: 400;
9497 }
9498 .shithub-social-subhead p { margin: 0; color: var(--fg-muted); }
9499 .shithub-social-tabnav {
9500 display: flex;
9501 gap: 0.25rem;
9502 margin: 1rem 0;
9503 border-bottom: 1px solid var(--border-default);
9504 }
9505 .shithub-social-tabnav a,
9506 .shithub-social-tabnav span {
9507 display: inline-flex;
9508 align-items: center;
9509 gap: 0.35rem;
9510 padding: 0.55rem 0.85rem;
9511 color: var(--fg-default);
9512 border-bottom: 2px solid transparent;
9513 position: relative;
9514 bottom: -1px;
9515 }
9516 .shithub-social-tabnav a:hover { text-decoration: none; background: var(--canvas-subtle); border-radius: 6px 6px 0 0; }
9517 .shithub-social-tabnav .is-active { border-bottom-color: var(--accent-emphasis); font-weight: 600; }
9518 .shithub-social-tabnav .is-disabled { color: var(--fg-muted); }
9519 .shithub-social-list {
9520 list-style: none;
9521 padding: 0;
9522 margin: 1rem 0;
9523 border: 1px solid var(--border-default);
9524 border-radius: 6px;
9525 background: var(--canvas-default);
9526 }
9527 .shithub-social-list li {
9528 display: grid;
9529 grid-template-columns: 40px minmax(0, 1fr) auto;
9530 gap: 0.85rem;
9531 align-items: center;
9532 padding: 1rem;
9533 border-bottom: 1px solid var(--border-muted);
9534 }
9535 .shithub-social-list li:last-child { border-bottom: none; }
9536 .shithub-social-avatar,
9537 .shithub-social-avatar img {
9538 display: block;
9539 width: 40px;
9540 height: 40px;
9541 border-radius: 50%;
9542 }
9543 .shithub-social-avatar img { border: 1px solid var(--border-muted); }
9544 .shithub-social-person {
9545 min-width: 0;
9546 display: grid;
9547 gap: 0.1rem;
9548 }
9549 .shithub-social-person strong { font-size: 1rem; }
9550 .shithub-social-person span,
9551 .shithub-social-time,
9552 .shithub-social-meta {
9553 color: var(--fg-muted);
9554 font-size: 0.875rem;
9555 }
9556 .shithub-social-meta {
9557 display: flex;
9558 align-items: center;
9559 justify-content: end;
9560 gap: 0.75rem;
9561 flex-wrap: wrap;
9562 }
9563 .shithub-social-meta span {
9564 display: inline-flex;
9565 align-items: center;
9566 gap: 0.25rem;
9567 }
9568 .shithub-social-fork-badges {
9569 display: flex;
9570 gap: 0.35rem;
9571 flex-wrap: wrap;
9572 margin-top: 0.25rem;
9573 }
9574 .shithub-social-blank {
9575 margin: 1rem 0;
9576 padding: 2.5rem 1.5rem;
9577 border: 1px solid var(--border-default);
9578 border-radius: 6px;
9579 text-align: center;
9580 color: var(--fg-muted);
9581 }
9582 .shithub-social-blank svg {
9583 width: 24px;
9584 height: 24px;
9585 color: var(--fg-muted);
9586 margin-bottom: 0.75rem;
9587 }
9588 .shithub-social-blank h2 {
9589 margin: 0 0 0.4rem;
9590 color: var(--fg-default);
9591 font-size: 1.25rem;
9592 font-weight: 600;
9593 }
9594 .shithub-social-blank p {
9595 max-width: 520px;
9596 margin: 0 auto;
9597 }
9598 @media (max-width: 700px) {
9599 .shithub-social-list li {
9600 grid-template-columns: 40px minmax(0, 1fr);
9601 }
9602 .shithub-social-time,
9603 .shithub-social-meta {
9604 grid-column: 2;
9605 justify-content: start;
9606 }
9607 }
9608 .shithub-meta { color: var(--fg-muted); margin: 0.25rem 0 1rem; }
9609 .shithub-empty { color: var(--fg-muted); padding: 1rem; }
9610 .shithub-pagination {
9611 display: flex; gap: 0.5rem; padding: 1rem 0;
9612 }
9613
9614 /* S28 — search */
9615 .sr-only {
9616 position: absolute;
9617 width: 1px;
9618 height: 1px;
9619 padding: 0;
9620 margin: -1px;
9621 overflow: hidden;
9622 clip: rect(0, 0, 0, 0);
9623 white-space: nowrap;
9624 border: 0;
9625 }
9626 .shithub-nav-search {
9627 position: relative;
9628 flex: 1 1 22rem;
9629 display: flex;
9630 align-items: center;
9631 max-width: 32rem;
9632 margin: 0 1rem;
9633 }
9634 .shithub-nav.has-context .shithub-nav-search {
9635 flex: 0 1 22rem;
9636 max-width: 22rem;
9637 margin-left: auto;
9638 margin-right: 0.25rem;
9639 }
9640 .shithub-nav-search-icon {
9641 position: absolute;
9642 left: 0.65rem;
9643 top: 50%;
9644 transform: translateY(-50%);
9645 color: var(--fg-muted);
9646 line-height: 0;
9647 pointer-events: none;
9648 }
9649 .shithub-nav-search input {
9650 width: 100%;
9651 min-height: 2rem;
9652 padding: 0.35rem 2rem 0.35rem 2rem;
9653 border: 1px solid var(--border-default);
9654 border-radius: 6px;
9655 background: var(--canvas-subtle);
9656 color: var(--fg-default);
9657 font-size: 0.85rem;
9658 }
9659 .shithub-nav-search input:focus {
9660 outline: 2px solid var(--accent-fg);
9661 outline-offset: -1px;
9662 background: var(--canvas-default);
9663 }
9664 .shithub-nav-search-key {
9665 position: absolute;
9666 right: 0.55rem;
9667 top: 50%;
9668 transform: translateY(-50%);
9669 min-width: 1rem;
9670 padding: 0 0.25rem;
9671 border: 1px solid var(--border-default);
9672 border-radius: 4px;
9673 color: var(--fg-muted);
9674 font-size: 0.75rem;
9675 line-height: 1.15rem;
9676 text-align: center;
9677 pointer-events: none;
9678 }
9679 .shithub-nav-search-popover {
9680 position: absolute;
9681 z-index: 80;
9682 top: calc(100% + 0.45rem);
9683 left: 0;
9684 right: 0;
9685 overflow: hidden;
9686 border: 1px solid var(--border-default);
9687 border-radius: 8px;
9688 background: var(--canvas-default);
9689 box-shadow: 0 16px 32px rgba(1, 4, 9, 0.22);
9690 }
9691 .shithub-nav-search-popover[hidden] {
9692 display: none;
9693 }
9694 .shithub-search-page {
9695 padding: 1.5rem 1rem 3rem;
9696 }
9697 .shithub-search-shell {
9698 display: grid;
9699 grid-template-columns: 296px minmax(0, 1fr) 280px;
9700 gap: 1.5rem;
9701 max-width: 1280px;
9702 margin: 0 auto;
9703 }
9704 .shithub-search-sidebar {
9705 position: sticky;
9706 top: 1rem;
9707 align-self: start;
9708 padding-top: 0.2rem;
9709 }
9710 .shithub-search-sidebar h2 {
9711 margin: 0 0 0.55rem;
9712 font-size: 0.875rem;
9713 font-weight: 600;
9714 }
9715 .shithub-search-filter-list {
9716 display: flex;
9717 flex-direction: column;
9718 }
9719 .shithub-search-filter {
9720 display: flex;
9721 align-items: center;
9722 justify-content: space-between;
9723 gap: 0.75rem;
9724 min-height: 2rem;
9725 padding: 0.35rem 0.55rem;
9726 border-radius: 6px;
9727 color: var(--fg-default);
9728 font-size: 0.875rem;
9729 }
9730 .shithub-search-filter:hover {
9731 background: var(--canvas-subtle);
9732 text-decoration: none;
9733 }
9734 .shithub-search-filter.is-selected {
9735 background: var(--canvas-subtle);
9736 font-weight: 600;
9737 }
9738 .shithub-search-filter.is-selected::before {
9739 content: "";
9740 width: 4px;
9741 align-self: stretch;
9742 margin: -0.4rem 0 -0.4rem -0.65rem;
9743 border-radius: 6px 0 0 6px;
9744 background: var(--accent-emphasis);
9745 }
9746 .shithub-search-filter-label {
9747 display: inline-flex;
9748 align-items: center;
9749 gap: 0.45rem;
9750 min-width: 0;
9751 }
9752 .shithub-search-filter-label svg {
9753 color: var(--fg-muted);
9754 flex: 0 0 auto;
9755 }
9756 .shithub-search-filter-count {
9757 color: var(--fg-muted);
9758 font-size: 0.75rem;
9759 }
9760 .shithub-search-results {
9761 min-width: 0;
9762 }
9763 .shithub-search-query-form {
9764 display: flex;
9765 gap: 0.5rem;
9766 margin-bottom: 1rem;
9767 }
9768 .shithub-search-query-form input[type=text] {
9769 flex: 1;
9770 min-height: 2.25rem;
9771 padding: 0.45rem 0.75rem;
9772 border: 1px solid var(--border-default);
9773 border-radius: 6px;
9774 background: var(--canvas-default);
9775 color: var(--fg-default);
9776 font-size: 0.875rem;
9777 }
9778 .shithub-search-results-head {
9779 display: flex;
9780 align-items: center;
9781 justify-content: space-between;
9782 gap: 1rem;
9783 padding-bottom: 0.9rem;
9784 border-bottom: 1px solid var(--border-default);
9785 }
9786 .shithub-search-results-head h1 {
9787 margin: 0;
9788 font-size: 1.25rem;
9789 line-height: 1.3;
9790 font-weight: 600;
9791 }
9792 .shithub-search-results-head p {
9793 margin: 0.25rem 0 0;
9794 color: var(--fg-muted);
9795 font-size: 0.875rem;
9796 }
9797 .shithub-search-query-echo {
9798 color: var(--fg-default);
9799 font-weight: 600;
9800 }
9801 .shithub-search-sort {
9802 position: relative;
9803 flex: 0 0 auto;
9804 }
9805 .shithub-search-sort > summary {
9806 list-style: none;
9807 display: inline-flex;
9808 align-items: center;
9809 min-height: 2rem;
9810 padding: 0.35rem 0.75rem;
9811 border: 1px solid var(--border-default);
9812 border-radius: 6px;
9813 background: var(--canvas-subtle);
9814 color: var(--fg-default);
9815 cursor: pointer;
9816 font-size: 0.875rem;
9817 font-weight: 500;
9818 }
9819 .shithub-search-sort > summary::-webkit-details-marker { display: none; }
9820 .shithub-search-sort > div {
9821 position: absolute;
9822 right: 0;
9823 top: calc(100% + 0.4rem);
9824 z-index: 20;
9825 min-width: 190px;
9826 padding: 0.35rem 0;
9827 border: 1px solid var(--border-default);
9828 border-radius: 6px;
9829 background: var(--canvas-default);
9830 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
9831 }
9832 .shithub-search-sort span {
9833 display: block;
9834 padding: 0.45rem 0.75rem;
9835 font-size: 0.875rem;
9836 }
9837 .shithub-search-result-list {
9838 list-style: none;
9839 padding: 0;
9840 margin: 0;
9841 }
9842 .shithub-search-result {
9843 display: flex;
9844 gap: 1rem;
9845 justify-content: space-between;
9846 padding: 1.15rem 0;
9847 border-bottom: 1px solid var(--border-default);
9848 }
9849 .shithub-search-result-main {
9850 flex: 1 1 auto;
9851 min-width: 0;
9852 }
9853 .shithub-search-result-title {
9854 display: flex;
9855 align-items: center;
9856 gap: 0.45rem;
9857 margin: 0;
9858 font-size: 1rem;
9859 line-height: 1.35;
9860 font-weight: 600;
9861 }
9862 .shithub-search-result-title svg {
9863 flex: 0 0 auto;
9864 color: var(--fg-muted);
9865 }
9866 .shithub-search-result-title a {
9867 min-width: 0;
9868 }
9869 .shithub-search-result-title a:hover {
9870 text-decoration: underline;
9871 }
9872 .shithub-search-match em,
9873 .shithub-search-result-title em {
9874 font-style: normal;
9875 font-weight: 700;
9876 }
9877 .shithub-search-result p {
9878 margin: 0.35rem 0 0;
9879 color: var(--fg-default);
9880 font-size: 0.875rem;
9881 }
9882 .shithub-search-result-desc {
9883 max-width: 760px;
9884 line-height: 1.45;
9885 }
9886 .shithub-search-result-context {
9887 margin: 0 0 0.2rem !important;
9888 color: var(--fg-muted) !important;
9889 }
9890 .shithub-search-result-context a {
9891 color: var(--fg-muted);
9892 }
9893 .shithub-search-result-path {
9894 color: var(--fg-muted) !important;
9895 }
9896 .shithub-search-avatar,
9897 .shithub-search-user-avatar,
9898 .shithub-search-mini-avatar,
9899 .shithub-quick-avatar {
9900 border-radius: 50%;
9901 background: var(--canvas-subtle);
9902 flex: 0 0 auto;
9903 }
9904 .shithub-search-result-meta {
9905 display: flex;
9906 gap: 0.5rem;
9907 flex-wrap: wrap;
9908 align-items: center;
9909 padding: 0;
9910 margin: 0.65rem 0 0;
9911 color: var(--fg-muted);
9912 list-style: none;
9913 font-size: 0.75rem;
9914 }
9915 .shithub-search-result-meta li {
9916 display: inline-flex;
9917 align-items: center;
9918 gap: 0.25rem;
9919 }
9920 .shithub-search-result-meta a {
9921 display: inline-flex;
9922 align-items: center;
9923 gap: 0.25rem;
9924 color: var(--fg-muted);
9925 }
9926 .shithub-search-result-meta a:hover {
9927 color: var(--accent-fg);
9928 text-decoration: none;
9929 }
9930 .shithub-search-result-meta li + li::before {
9931 content: "";
9932 width: 3px;
9933 height: 3px;
9934 margin-right: 0.15rem;
9935 border-radius: 50%;
9936 background: var(--fg-muted);
9937 opacity: 0.7;
9938 }
9939 .shithub-search-star {
9940 align-self: flex-start;
9941 color: var(--fg-default);
9942 border-color: var(--border-default);
9943 background: var(--canvas-subtle);
9944 }
9945 .shithub-search-state {
9946 display: inline-flex;
9947 align-items: center;
9948 line-height: 0;
9949 }
9950 .shithub-search-state-open svg { color: var(--success-fg); }
9951 .shithub-search-state-closed svg { color: #8250df; }
9952 .shithub-search-state-pr svg { color: var(--accent-fg); }
9953 .shithub-search-user-result {
9954 justify-content: flex-start;
9955 }
9956 .shithub-search-user-login {
9957 color: var(--fg-muted);
9958 font-size: 0.875rem;
9959 font-weight: 400;
9960 }
9961 .shithub-search-code-preview {
9962 margin: 0.75rem 0 0;
9963 padding: 0.65rem 0.75rem;
9964 border: 1px solid var(--border-default);
9965 border-radius: 6px;
9966 background: var(--canvas-subtle);
9967 color: var(--fg-default);
9968 overflow-x: auto;
9969 }
9970 .shithub-search-code-preview code {
9971 padding: 0;
9972 background: transparent;
9973 }
9974 .shithub-search-empty,
9975 .shithub-search-blank {
9976 padding: 2rem 0;
9977 color: var(--fg-muted);
9978 }
9979 .shithub-search-blank h1 {
9980 margin: 0 0 0.4rem;
9981 color: var(--fg-default);
9982 font-size: 1.25rem;
9983 }
9984 .shithub-search-blank p {
9985 margin: 0;
9986 }
9987 .shithub-search-pagination {
9988 display: flex;
9989 justify-content: center;
9990 gap: 0.5rem;
9991 padding: 1.5rem 0 0;
9992 }
9993 .shithub-search-rightbar {
9994 padding-top: 3.25rem;
9995 }
9996 .shithub-search-tip-card {
9997 padding: 1rem 0;
9998 border-bottom: 1px solid var(--border-muted);
9999 color: var(--fg-muted);
10000 font-size: 0.875rem;
10001 }
10002 .shithub-search-tip-card:first-child {
10003 padding-top: 0;
10004 }
10005 .shithub-search-tip-card strong {
10006 display: inline-flex;
10007 align-items: center;
10008 gap: 0.35rem;
10009 color: var(--fg-default);
10010 }
10011 .shithub-search-tip-card p {
10012 margin: 0.4rem 0 0;
10013 line-height: 1.45;
10014 }
10015 .shithub-search-tip-card ul {
10016 display: flex;
10017 flex-direction: column;
10018 gap: 0.35rem;
10019 padding: 0;
10020 margin: 0.55rem 0 0;
10021 list-style: none;
10022 }
10023 .shithub-search-tip-card code {
10024 padding: 0.1rem 0.3rem;
10025 border: 1px solid var(--border-muted);
10026 border-radius: 6px;
10027 background: var(--canvas-subtle);
10028 color: var(--fg-default);
10029 font-size: 0.8rem;
10030 }
10031 .shithub-quick-dropdown {
10032 padding: 0.45rem 0;
10033 }
10034 .shithub-quick-section {
10035 padding: 0.25rem 0;
10036 border-bottom: 1px solid var(--border-default);
10037 }
10038 .shithub-quick-section:last-of-type {
10039 border-bottom: none;
10040 }
10041 .shithub-quick-section h3 {
10042 margin: 0.25rem 0.75rem 0.35rem;
10043 color: var(--fg-muted);
10044 font-size: 0.75rem;
10045 font-weight: 600;
10046 }
10047 .shithub-quick-section ul {
10048 padding: 0;
10049 margin: 0;
10050 list-style: none;
10051 }
10052 .shithub-quick-section a {
10053 display: grid;
10054 grid-template-columns: 20px minmax(0, 1fr) auto;
10055 gap: 0.55rem;
10056 align-items: center;
10057 padding: 0.4rem 0.75rem;
10058 color: var(--fg-default);
10059 }
10060 .shithub-quick-section a:hover,
10061 .shithub-quick-section a:focus {
10062 background: var(--canvas-subtle);
10063 text-decoration: none;
10064 }
10065 .shithub-quick-leading {
10066 display: inline-flex;
10067 align-items: center;
10068 justify-content: center;
10069 color: var(--fg-muted);
10070 }
10071 .shithub-quick-title,
10072 .shithub-quick-context {
10073 min-width: 0;
10074 overflow: hidden;
10075 text-overflow: ellipsis;
10076 white-space: nowrap;
10077 }
10078 .shithub-quick-context {
10079 grid-column: 2 / -1;
10080 margin-top: -0.15rem;
10081 color: var(--fg-muted);
10082 font-size: 0.75rem;
10083 }
10084 .shithub-quick-empty {
10085 margin: 0;
10086 padding: 0.8rem 0.75rem;
10087 color: var(--fg-muted);
10088 font-size: 0.875rem;
10089 }
10090 .shithub-quick-footer {
10091 padding: 0.6rem 0.75rem 0.2rem;
10092 border-top: 1px solid var(--border-default);
10093 font-size: 0.875rem;
10094 }
10095 @media (max-width: 760px) {
10096 .shithub-nav-search {
10097 order: 3;
10098 flex-basis: 100%;
10099 max-width: none;
10100 margin: 0;
10101 }
10102 .shithub-search-page {
10103 padding: 1rem;
10104 }
10105 .shithub-search-shell {
10106 grid-template-columns: 1fr;
10107 gap: 1rem;
10108 }
10109 .shithub-search-sidebar {
10110 position: static;
10111 padding-top: 0;
10112 }
10113 .shithub-search-rightbar {
10114 display: none;
10115 }
10116 .shithub-search-filter-list {
10117 flex-direction: row;
10118 gap: 0.25rem;
10119 overflow-x: auto;
10120 padding-bottom: 0.25rem;
10121 }
10122 .shithub-search-filter {
10123 flex: 0 0 auto;
10124 }
10125 .shithub-search-filter.is-selected::before {
10126 display: none;
10127 }
10128 .shithub-search-query-form,
10129 .shithub-search-results-head,
10130 .shithub-search-result {
10131 align-items: stretch;
10132 flex-direction: column;
10133 }
10134 .shithub-search-star {
10135 align-self: flex-start;
10136 }
10137 }
10138 @media (min-width: 761px) and (max-width: 1100px) {
10139 .shithub-search-shell {
10140 grid-template-columns: 256px minmax(0, 1fr);
10141 }
10142 .shithub-search-rightbar {
10143 display: none;
10144 }
10145 }
10146
10147 /* S34 — admin impersonation banner. Sticky-top, loud red so the
10148 admin can't lose track of "I am viewing as someone else right
10149 now." Position: fixed-on-scroll keeps it visible no matter where
10150 on the page they navigate. */
10151 .shithub-imp-banner {
10152 position: sticky;
10153 top: 0;
10154 z-index: 100;
10155 background: var(--danger-fg);
10156 color: #ffffff;
10157 padding: 0.5rem 1rem;
10158 text-align: center;
10159 font-size: 0.875rem;
10160 }
10161 .shithub-imp-banner .shithub-button {
10162 background: rgba(0, 0, 0, 0.25);
10163 color: #ffffff;
10164 border: 1px solid rgba(255, 255, 255, 0.4);
10165 }
10166 .shithub-imp-write { background: #ffd33d; color: #1a1f24; padding: 0 0.4em; border-radius: 4px; font-weight: 600; }
10167 .shithub-imp-read { background: rgba(255, 255, 255, 0.2); padding: 0 0.4em; border-radius: 4px; }
10168
10169 /* Global dashboard surfaces: /issues, /pulls, /repos. */
10170 .shithub-global-page {
10171 width: 100%;
10172 padding: 1.5rem 1rem 3rem;
10173 }
10174 .shithub-global-shell {
10175 display: grid;
10176 grid-template-columns: 240px minmax(0, 1fr);
10177 gap: 2rem;
10178 max-width: 1280px;
10179 margin: 0 auto;
10180 }
10181 .shithub-global-shell-wide {
10182 max-width: 1440px;
10183 }
10184 .shithub-global-centered {
10185 max-width: 1080px;
10186 margin: 0 auto;
10187 }
10188 .shithub-global-sidebar {
10189 position: sticky;
10190 top: 1rem;
10191 align-self: start;
10192 min-width: 0;
10193 }
10194 .shithub-global-side-nav {
10195 display: grid;
10196 gap: 0.15rem;
10197 padding-bottom: 1.25rem;
10198 }
10199 .shithub-global-side-link {
10200 position: relative;
10201 display: flex;
10202 align-items: center;
10203 gap: 0.6rem;
10204 min-height: 36px;
10205 padding: 0.45rem 0.75rem;
10206 border-radius: 6px;
10207 color: var(--fg-default);
10208 font-weight: 600;
10209 }
10210 .shithub-global-side-link svg {
10211 color: var(--fg-muted);
10212 }
10213 .shithub-global-side-link:hover {
10214 background: var(--canvas-subtle);
10215 text-decoration: none;
10216 }
10217 .shithub-global-side-link.is-selected {
10218 background: var(--canvas-subtle);
10219 }
10220 .shithub-global-side-link.is-selected::before {
10221 content: "";
10222 position: absolute;
10223 left: 0;
10224 top: 6px;
10225 bottom: 6px;
10226 width: 4px;
10227 border-radius: 999px;
10228 background: var(--accent-emphasis);
10229 }
10230 .shithub-global-side-section {
10231 display: grid;
10232 grid-template-columns: minmax(0, 1fr) auto;
10233 gap: 0.4rem;
10234 padding: 1.25rem 0.75rem 0;
10235 border-top: 1px solid var(--border-default);
10236 }
10237 .shithub-global-side-section h2 {
10238 margin: 0;
10239 color: var(--fg-muted);
10240 font-size: 0.8rem;
10241 }
10242 .shithub-global-side-section p {
10243 grid-column: 1 / -1;
10244 margin: 0;
10245 color: var(--fg-muted);
10246 font-size: 0.8rem;
10247 }
10248 .shithub-global-side-add {
10249 display: inline-flex;
10250 align-items: center;
10251 justify-content: center;
10252 width: 24px;
10253 height: 24px;
10254 padding: 0;
10255 border: 0;
10256 background: transparent;
10257 color: var(--fg-muted);
10258 }
10259 .shithub-global-main {
10260 min-width: 0;
10261 }
10262 .shithub-global-head {
10263 display: flex;
10264 align-items: center;
10265 justify-content: space-between;
10266 gap: 1rem;
10267 margin-bottom: 0.85rem;
10268 }
10269 .shithub-global-head-compact {
10270 margin-bottom: 0.75rem;
10271 }
10272 .shithub-global-head h1 {
10273 margin: 0;
10274 font-size: 1.5rem;
10275 line-height: 1.25;
10276 }
10277 .shithub-global-query {
10278 display: flex;
10279 align-items: stretch;
10280 width: 100%;
10281 margin: 0 0 1rem;
10282 }
10283 .shithub-global-query-inline {
10284 flex: 1 1 28rem;
10285 margin: 0;
10286 }
10287 .shithub-global-query input[type="text"] {
10288 flex: 1;
10289 min-width: 0;
10290 min-height: 36px;
10291 padding: 0.45rem 0.85rem;
10292 border-radius: 6px 0 0 6px;
10293 }
10294 .shithub-global-query button {
10295 display: inline-flex;
10296 align-items: center;
10297 justify-content: center;
10298 width: 44px;
10299 border: 1px solid var(--border-default);
10300 border-left: 0;
10301 border-radius: 0 6px 6px 0;
10302 color: var(--fg-muted);
10303 background: var(--button-default-bg);
10304 cursor: pointer;
10305 }
10306 .shithub-global-query button:hover {
10307 color: var(--fg-default);
10308 background: var(--button-default-hover-bg);
10309 }
10310 .shithub-global-toolbar-row {
10311 display: flex;
10312 align-items: stretch;
10313 gap: 0.75rem;
10314 margin-bottom: 1rem;
10315 }
10316 .shithub-global-top-tabs {
10317 display: inline-flex;
10318 flex: 0 0 auto;
10319 border: 1px solid var(--border-default);
10320 border-radius: 6px;
10321 overflow: hidden;
10322 }
10323 .shithub-global-top-tabs a {
10324 display: inline-flex;
10325 align-items: center;
10326 min-height: 36px;
10327 padding: 0.45rem 0.9rem;
10328 border-left: 1px solid var(--border-default);
10329 color: var(--fg-default);
10330 font-weight: 600;
10331 }
10332 .shithub-global-top-tabs a:first-child {
10333 border-left: 0;
10334 }
10335 .shithub-global-top-tabs a:hover {
10336 background: var(--canvas-subtle);
10337 text-decoration: none;
10338 }
10339 .shithub-global-top-tabs a.is-selected {
10340 background: var(--accent-emphasis);
10341 color: #fff;
10342 }
10343 .shithub-global-panel {
10344 border: 1px solid var(--border-default);
10345 border-radius: 6px;
10346 overflow: hidden;
10347 background: var(--canvas-default);
10348 }
10349 .shithub-global-panel-head {
10350 display: flex;
10351 align-items: center;
10352 justify-content: space-between;
10353 gap: 1rem;
10354 min-height: 52px;
10355 padding: 0.75rem 1rem;
10356 border-bottom: 1px solid var(--border-default);
10357 background: var(--canvas-subtle);
10358 }
10359 .shithub-global-state-tabs,
10360 .shithub-global-filter-set {
10361 display: inline-flex;
10362 align-items: center;
10363 gap: 0.75rem;
10364 flex-wrap: wrap;
10365 }
10366 .shithub-global-state-tabs a {
10367 display: inline-flex;
10368 align-items: center;
10369 gap: 0.35rem;
10370 color: var(--fg-muted);
10371 font-weight: 600;
10372 }
10373 .shithub-global-state-tabs a.is-selected,
10374 .shithub-global-state-tabs a:hover {
10375 color: var(--fg-default);
10376 text-decoration: none;
10377 }
10378 .shithub-global-filter-set button,
10379 .shithub-global-sort summary {
10380 display: inline-flex;
10381 align-items: center;
10382 gap: 0.35rem;
10383 border: 0;
10384 background: transparent;
10385 color: var(--fg-muted);
10386 font: inherit;
10387 font-weight: 600;
10388 }
10389 .shithub-global-filter-set button {
10390 cursor: default;
10391 }
10392 .shithub-global-sort {
10393 position: relative;
10394 }
10395 .shithub-global-sort summary {
10396 list-style: none;
10397 cursor: pointer;
10398 }
10399 .shithub-global-sort summary::-webkit-details-marker {
10400 display: none;
10401 }
10402 .shithub-global-sort div {
10403 position: absolute;
10404 right: 0;
10405 top: calc(100% + 0.4rem);
10406 min-width: 160px;
10407 padding: 0.45rem;
10408 border: 1px solid var(--border-default);
10409 border-radius: 6px;
10410 background: var(--canvas-default);
10411 box-shadow: 0 10px 24px rgba(1, 4, 9, 0.32);
10412 }
10413 .shithub-global-sort span {
10414 display: block;
10415 padding: 0.35rem 0.45rem;
10416 color: var(--fg-default);
10417 font-size: 0.875rem;
10418 }
10419 .shithub-global-thread-list,
10420 .shithub-global-repo-list {
10421 margin: 0;
10422 padding: 0;
10423 list-style: none;
10424 }
10425 .shithub-global-thread-row {
10426 display: grid;
10427 grid-template-columns: 20px minmax(0, 1fr) auto;
10428 gap: 0.85rem;
10429 align-items: start;
10430 padding: 1rem;
10431 border-top: 1px solid var(--border-default);
10432 }
10433 .shithub-global-thread-row:first-child,
10434 .shithub-global-repo-row:first-child {
10435 border-top: 0;
10436 }
10437 .shithub-global-thread-state {
10438 display: inline-flex;
10439 align-items: center;
10440 justify-content: center;
10441 width: 20px;
10442 height: 20px;
10443 margin-top: 0.15rem;
10444 }
10445 .shithub-global-thread-state-open svg {
10446 color: var(--success-fg);
10447 }
10448 .shithub-global-thread-state-closed svg,
10449 .shithub-global-thread-state-pr svg {
10450 color: var(--accent-fg);
10451 }
10452 .shithub-global-thread-main {
10453 min-width: 0;
10454 }
10455 .shithub-global-thread-title {
10456 color: var(--fg-default);
10457 font-size: 1rem;
10458 font-weight: 700;
10459 }
10460 .shithub-global-thread-title span {
10461 color: var(--fg-muted);
10462 }
10463 .shithub-global-thread-title:hover {
10464 color: var(--accent-fg);
10465 text-decoration: none;
10466 }
10467 .shithub-global-thread-main p {
10468 margin: 0.2rem 0 0;
10469 color: var(--fg-muted);
10470 font-size: 0.85rem;
10471 }
10472 .shithub-global-thread-comments {
10473 display: inline-flex;
10474 align-items: center;
10475 gap: 0.3rem;
10476 color: var(--fg-muted);
10477 font-size: 0.85rem;
10478 }
10479 .shithub-global-repo-row {
10480 display: grid;
10481 grid-template-columns: minmax(0, 1fr) 140px;
10482 gap: 1rem;
10483 align-items: center;
10484 padding: 1rem;
10485 border-top: 1px solid var(--border-default);
10486 }
10487 .shithub-global-repo-row-action {
10488 grid-template-columns: minmax(0, 1fr) auto;
10489 }
10490 .shithub-global-repo-main {
10491 min-width: 0;
10492 }
10493 .shithub-global-repo-main h2 {
10494 display: flex;
10495 align-items: center;
10496 gap: 0.45rem;
10497 flex-wrap: wrap;
10498 margin: 0;
10499 font-size: 1rem;
10500 }
10501 .shithub-global-repo-main h2 a {
10502 color: var(--fg-default);
10503 }
10504 .shithub-global-repo-main h2 a:hover {
10505 color: var(--accent-fg);
10506 text-decoration: none;
10507 }
10508 .shithub-global-repo-main p {
10509 margin: 0.35rem 0 0;
10510 color: var(--fg-muted);
10511 }
10512 .shithub-global-repo-meta {
10513 display: flex;
10514 flex-wrap: wrap;
10515 gap: 0.45rem 0.7rem;
10516 margin: 0.55rem 0 0;
10517 padding: 0;
10518 color: var(--fg-muted);
10519 list-style: none;
10520 font-size: 0.82rem;
10521 }
10522 .shithub-global-repo-meta li {
10523 display: inline-flex;
10524 align-items: center;
10525 gap: 0.25rem;
10526 }
10527 .shithub-global-sparkline {
10528 justify-self: end;
10529 width: 112px;
10530 height: 28px;
10531 border-bottom: 1px solid rgba(63, 185, 80, 0.65);
10532 background:
10533 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%),
10534 linear-gradient(180deg, transparent 0 58%, rgba(63, 185, 80, 0.2) 58% 61%, transparent 61%);
10535 }
10536 .shithub-global-empty {
10537 padding: 2.25rem 1rem;
10538 text-align: center;
10539 }
10540 .shithub-global-empty h2 {
10541 margin: 0;
10542 font-size: 1rem;
10543 }
10544 .shithub-global-empty p,
10545 .shithub-global-muted {
10546 margin: 0.35rem 0 0;
10547 color: var(--fg-muted);
10548 }
10549 .shithub-global-protip {
10550 margin: 1.25rem 0 0;
10551 color: var(--fg-muted);
10552 text-align: center;
10553 }
10554 @media (max-width: 1080px) {
10555 .shithub-nav-actions {
10556 gap: 0.35rem;
10557 }
10558 .shithub-nav-actions-divider,
10559 .shithub-nav-actions > a[aria-label="Your organizations"] {
10560 display: none;
10561 }
10562 }
10563 @media (max-width: 900px) {
10564 .shithub-global-shell,
10565 .shithub-global-shell-wide {
10566 grid-template-columns: 1fr;
10567 gap: 1rem;
10568 }
10569 .shithub-global-sidebar {
10570 position: static;
10571 }
10572 .shithub-global-side-nav {
10573 display: flex;
10574 overflow-x: auto;
10575 padding-bottom: 0.5rem;
10576 }
10577 .shithub-global-side-link {
10578 flex: 0 0 auto;
10579 }
10580 .shithub-global-side-section {
10581 display: none;
10582 }
10583 .shithub-global-toolbar-row {
10584 flex-direction: column;
10585 }
10586 .shithub-global-top-tabs {
10587 overflow-x: auto;
10588 }
10589 }
10590 @media (max-width: 640px) {
10591 .shithub-nav-actions > a[aria-label="All issues"],
10592 .shithub-nav-actions > a[aria-label="All pull requests"] {
10593 display: none;
10594 }
10595 .shithub-global-page {
10596 padding: 1rem 0.75rem 2rem;
10597 }
10598 .shithub-global-head,
10599 .shithub-global-panel-head {
10600 align-items: flex-start;
10601 flex-direction: column;
10602 }
10603 .shithub-global-thread-row,
10604 .shithub-global-repo-row,
10605 .shithub-global-repo-row-action {
10606 grid-template-columns: 1fr;
10607 }
10608 .shithub-global-thread-state,
10609 .shithub-global-sparkline {
10610 display: none;
10611 }
10612 }
10613
10614 /* S42 — social dashboard and Explore feed. */
10615 .shithub-dashboard-page,
10616 .shithub-explore-page {
10617 width: 100%;
10618 padding: 1.5rem 1rem 2.5rem;
10619 }
10620 .shithub-dashboard-shell {
10621 display: grid;
10622 grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px);
10623 gap: 2rem;
10624 max-width: 1280px;
10625 margin: 0 auto;
10626 }
10627 .shithub-explore-shell {
10628 display: grid;
10629 grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
10630 gap: 2rem;
10631 max-width: 1100px;
10632 margin: 0 auto;
10633 }
10634 .shithub-explore-shell.has-dashboard-left {
10635 grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px);
10636 max-width: 1280px;
10637 }
10638 .shithub-dashboard-left,
10639 .shithub-dashboard-right,
10640 .shithub-explore-right {
10641 min-width: 0;
10642 }
10643 .shithub-dashboard-left {
10644 position: sticky;
10645 top: 1rem;
10646 align-self: start;
10647 }
10648 .shithub-dashboard-identity {
10649 position: relative;
10650 margin-bottom: 2rem;
10651 }
10652 .shithub-dashboard-identity summary {
10653 display: inline-flex;
10654 align-items: center;
10655 gap: 0.55rem;
10656 max-width: 100%;
10657 color: var(--fg-default);
10658 font-weight: 600;
10659 cursor: pointer;
10660 list-style: none;
10661 }
10662 .shithub-dashboard-identity summary::-webkit-details-marker {
10663 display: none;
10664 }
10665 .shithub-dashboard-identity summary img,
10666 .shithub-dashboard-org-list img {
10667 border-radius: 50%;
10668 }
10669 .shithub-dashboard-identity summary span {
10670 min-width: 0;
10671 overflow: hidden;
10672 text-overflow: ellipsis;
10673 }
10674 .shithub-dashboard-identity-menu {
10675 position: absolute;
10676 top: calc(100% + 0.65rem);
10677 left: 0;
10678 z-index: 20;
10679 width: min(320px, calc(100vw - 2rem));
10680 padding: 0.75rem;
10681 border: 1px solid var(--border-default);
10682 border-radius: 8px;
10683 background: var(--canvas-default);
10684 box-shadow: 0 16px 32px rgba(1, 4, 9, 0.35);
10685 }
10686 .shithub-dashboard-identity-title {
10687 padding: 0.25rem 0.35rem 0.65rem;
10688 color: var(--fg-default);
10689 font-weight: 600;
10690 }
10691 .shithub-dashboard-org-search {
10692 display: flex;
10693 align-items: center;
10694 gap: 0.5rem;
10695 margin: 0 0 0.65rem;
10696 padding: 0 0.65rem;
10697 border: 1px solid var(--border-default);
10698 border-radius: 6px;
10699 background: var(--canvas-subtle);
10700 color: var(--fg-muted);
10701 }
10702 .shithub-dashboard-org-search input {
10703 width: 100%;
10704 min-width: 0;
10705 padding: 0.45rem 0;
10706 border: 0;
10707 box-shadow: none;
10708 background: transparent;
10709 }
10710 .shithub-dashboard-org-search input:focus {
10711 box-shadow: none;
10712 }
10713 .shithub-dashboard-org-list {
10714 display: grid;
10715 gap: 0.15rem;
10716 max-height: 18rem;
10717 padding: 0;
10718 margin: 0 0 0.65rem;
10719 overflow: auto;
10720 list-style: none;
10721 }
10722 .shithub-dashboard-org-list a {
10723 display: grid;
10724 grid-template-columns: 16px 20px minmax(0, 1fr);
10725 align-items: center;
10726 gap: 0.55rem;
10727 padding: 0.35rem;
10728 border-radius: 6px;
10729 color: var(--fg-default);
10730 text-decoration: none;
10731 }
10732 .shithub-dashboard-org-list a:hover,
10733 .shithub-dashboard-identity-actions a:hover {
10734 background: var(--canvas-subtle);
10735 text-decoration: none;
10736 }
10737 .shithub-dashboard-org-list span:last-child {
10738 min-width: 0;
10739 overflow: hidden;
10740 text-overflow: ellipsis;
10741 white-space: nowrap;
10742 }
10743 .shithub-dashboard-identity-actions {
10744 display: grid;
10745 gap: 0.5rem;
10746 }
10747 .shithub-dashboard-identity-actions a {
10748 display: inline-flex;
10749 align-items: center;
10750 justify-content: center;
10751 gap: 0.45rem;
10752 min-height: 2.25rem;
10753 border: 1px solid var(--border-default);
10754 border-radius: 6px;
10755 color: var(--fg-default);
10756 font-weight: 600;
10757 }
10758 .shithub-dashboard-sidehead,
10759 .shithub-feed-toolbar,
10760 .shithub-explore-head {
10761 display: flex;
10762 align-items: center;
10763 justify-content: space-between;
10764 gap: 0.75rem;
10765 }
10766 .shithub-dashboard-sidehead h2,
10767 .shithub-feed-toolbar h2,
10768 .shithub-side-panel h2,
10769 .shithub-trending-section h2 {
10770 margin: 0;
10771 font-size: 1rem;
10772 }
10773 .shithub-dashboard-main h1,
10774 .shithub-explore-head h1 {
10775 margin: 0 0 1.25rem;
10776 font-size: 1.6rem;
10777 line-height: 1.25;
10778 }
10779 .shithub-dashboard-filter {
10780 width: 100%;
10781 margin: 0.75rem 0 0.65rem;
10782 padding: 0.45rem 0.7rem;
10783 border: 1px solid var(--border-default);
10784 border-radius: 6px;
10785 background: var(--canvas-default);
10786 color: var(--fg-default);
10787 }
10788 .shithub-dashboard-repo-list,
10789 .shithub-feed-list,
10790 .shithub-trending-mini-list,
10791 .shithub-trending-user-list,
10792 .shithub-trending-repo-list {
10793 padding: 0;
10794 margin: 0;
10795 list-style: none;
10796 }
10797 .shithub-dashboard-repo-list {
10798 display: grid;
10799 gap: 0.45rem;
10800 }
10801 .shithub-dashboard-repo-list li[hidden] {
10802 display: none;
10803 }
10804 .shithub-dashboard-repo-list a,
10805 .shithub-trending-user-list a {
10806 display: inline-flex;
10807 align-items: center;
10808 gap: 0.45rem;
10809 min-width: 0;
10810 color: var(--fg-default);
10811 font-weight: 600;
10812 }
10813 .shithub-dashboard-repo-list a {
10814 max-width: 100%;
10815 overflow: hidden;
10816 text-overflow: ellipsis;
10817 white-space: nowrap;
10818 }
10819 .shithub-dashboard-repo-list img,
10820 .shithub-trending-user-list img,
10821 .shithub-feed-avatar img {
10822 border-radius: 50%;
10823 }
10824 .shithub-dashboard-empty,
10825 .shithub-feed-empty-inline {
10826 margin: 0.75rem 0 0;
10827 color: var(--fg-muted);
10828 font-size: 0.875rem;
10829 }
10830 .shithub-feed-toolbar {
10831 margin-bottom: 0.75rem;
10832 }
10833 .shithub-feed-list {
10834 border: 1px solid var(--border-default);
10835 border-radius: 6px;
10836 background: var(--canvas-default);
10837 }
10838 .shithub-feed-row {
10839 display: grid;
10840 grid-template-columns: 40px minmax(0, 1fr);
10841 gap: 1rem;
10842 padding: 1rem;
10843 border-top: 1px solid var(--border-default);
10844 }
10845 .shithub-feed-row:first-child {
10846 border-top: 0;
10847 }
10848 .shithub-feed-avatar {
10849 display: inline-flex;
10850 width: 40px;
10851 height: 40px;
10852 }
10853 .shithub-feed-head {
10854 margin: 0;
10855 color: var(--fg-muted);
10856 font-size: 0.95rem;
10857 }
10858 .shithub-feed-head a {
10859 color: var(--fg-default);
10860 }
10861 .shithub-feed-head time {
10862 display: inline-block;
10863 color: var(--fg-muted);
10864 font-size: 0.875rem;
10865 }
10866 .shithub-feed-target {
10867 font-weight: 600;
10868 }
10869 .shithub-feed-repo {
10870 margin-top: 0.8rem;
10871 padding: 0.85rem;
10872 border: 1px solid var(--border-default);
10873 border-radius: 6px;
10874 background: var(--canvas-subtle);
10875 }
10876 .shithub-feed-repo-title {
10877 display: inline-flex;
10878 align-items: center;
10879 gap: 0.4rem;
10880 font-weight: 600;
10881 }
10882 .shithub-feed-repo p {
10883 margin: 0.4rem 0 0;
10884 color: var(--fg-muted);
10885 font-size: 0.875rem;
10886 }
10887 .shithub-feed-profile {
10888 display: grid;
10889 grid-template-columns: 44px minmax(0, 1fr) auto;
10890 align-items: center;
10891 gap: 0.85rem;
10892 margin-top: 0.8rem;
10893 padding: 0.85rem;
10894 border-radius: 6px;
10895 background: var(--canvas-subtle);
10896 }
10897 .shithub-feed-profile-avatar,
10898 .shithub-feed-profile-avatar img {
10899 width: 44px;
10900 height: 44px;
10901 border-radius: 50%;
10902 }
10903 .shithub-feed-profile-copy {
10904 min-width: 0;
10905 }
10906 .shithub-feed-profile-name {
10907 display: block;
10908 color: var(--fg-default);
10909 font-weight: 600;
10910 }
10911 .shithub-feed-profile-copy span {
10912 display: block;
10913 margin-top: 0.15rem;
10914 color: var(--fg-muted);
10915 font-size: 0.875rem;
10916 }
10917 .shithub-feed-meta {
10918 display: flex;
10919 flex-wrap: wrap;
10920 gap: 0.9rem;
10921 padding: 0;
10922 margin: 0.7rem 0 0;
10923 color: var(--fg-muted);
10924 list-style: none;
10925 font-size: 0.8rem;
10926 }
10927 .shithub-feed-meta li {
10928 display: inline-flex;
10929 align-items: center;
10930 gap: 0.3rem;
10931 }
10932 .shithub-lang-dot {
10933 width: 10px;
10934 height: 10px;
10935 border-radius: 50%;
10936 background: #3572a5;
10937 }
10938 .shithub-feed-empty {
10939 padding: 2rem;
10940 border: 1px solid var(--border-default);
10941 border-radius: 6px;
10942 background: var(--canvas-default);
10943 color: var(--fg-muted);
10944 }
10945 .shithub-feed-empty h2 {
10946 display: flex;
10947 align-items: center;
10948 gap: 0.5rem;
10949 margin: 0 0 0.5rem;
10950 color: var(--fg-default);
10951 font-size: 1rem;
10952 }
10953 .shithub-feed-empty p {
10954 margin: 0 0 1rem;
10955 }
10956 .shithub-feed-pagination {
10957 display: flex;
10958 justify-content: center;
10959 padding-top: 1rem;
10960 }
10961 .shithub-feed-pagination:empty {
10962 display: none;
10963 }
10964 .shithub-feed-more-button {
10965 min-width: 4.5rem;
10966 }
10967 .shithub-feed-more-loading {
10968 display: none;
10969 }
10970 .shithub-feed-more-button.htmx-request .shithub-feed-more-label {
10971 display: none;
10972 }
10973 .shithub-feed-more-button.htmx-request .shithub-feed-more-loading {
10974 display: inline;
10975 }
10976 .shithub-side-panel {
10977 padding: 0 0 1.25rem;
10978 margin-bottom: 1.25rem;
10979 border-bottom: 1px solid var(--border-default);
10980 }
10981 .shithub-side-panel h2 {
10982 display: flex;
10983 align-items: center;
10984 gap: 0.4rem;
10985 margin-bottom: 0.75rem;
10986 }
10987 .shithub-trending-mini-list,
10988 .shithub-trending-user-list {
10989 display: grid;
10990 gap: 0.85rem;
10991 }
10992 .shithub-trending-mini-list a {
10993 color: var(--fg-default);
10994 font-weight: 600;
10995 }
10996 .shithub-trending-mini-list p {
10997 margin: 0.2rem 0;
10998 color: var(--fg-muted);
10999 font-size: 0.85rem;
11000 line-height: 1.35;
11001 }
11002 .shithub-trending-mini-list span,
11003 .shithub-trending-user-list span {
11004 display: inline-flex;
11005 align-items: center;
11006 gap: 0.25rem;
11007 color: var(--fg-muted);
11008 font-size: 0.8rem;
11009 }
11010 .shithub-explore-tabs {
11011 display: inline-flex;
11012 align-items: center;
11013 gap: 0.35rem;
11014 }
11015 .shithub-explore-tabs a {
11016 display: inline-flex;
11017 align-items: center;
11018 gap: 0.35rem;
11019 padding: 0.45rem 0.7rem;
11020 border: 1px solid transparent;
11021 border-radius: 6px;
11022 color: var(--fg-muted);
11023 font-weight: 600;
11024 }
11025 .shithub-explore-tabs a:hover,
11026 .shithub-explore-tabs a.is-selected {
11027 border-color: var(--border-default);
11028 background: var(--canvas-subtle);
11029 color: var(--fg-default);
11030 text-decoration: none;
11031 }
11032 .shithub-trending-section {
11033 border: 1px solid var(--border-default);
11034 border-radius: 6px;
11035 background: var(--canvas-default);
11036 }
11037 .shithub-trending-section h2 {
11038 padding: 1rem;
11039 border-bottom: 1px solid var(--border-default);
11040 }
11041 .shithub-trending-repo-row {
11042 display: flex;
11043 justify-content: space-between;
11044 gap: 1rem;
11045 padding: 1rem;
11046 border-top: 1px solid var(--border-default);
11047 }
11048 .shithub-trending-repo-row:first-child {
11049 border-top: 0;
11050 }
11051 .shithub-trending-repo-row h3 {
11052 margin: 0;
11053 font-size: 1.05rem;
11054 }
11055 .shithub-trending-repo-row h3 a {
11056 display: inline-flex;
11057 align-items: center;
11058 gap: 0.4rem;
11059 }
11060 .shithub-trending-repo-row p {
11061 margin: 0.45rem 0 0;
11062 color: var(--fg-muted);
11063 }
11064 .shithub-trending-score {
11065 flex: 0 0 auto;
11066 align-self: flex-start;
11067 min-width: 2.5rem;
11068 padding: 0.15rem 0.45rem;
11069 border: 1px solid var(--border-default);
11070 border-radius: 999px;
11071 color: var(--fg-muted);
11072 text-align: center;
11073 font-size: 0.8rem;
11074 font-weight: 600;
11075 }
11076 @media (max-width: 960px) {
11077 .shithub-dashboard-shell,
11078 .shithub-explore-shell {
11079 grid-template-columns: 1fr;
11080 }
11081 .shithub-explore-shell.has-dashboard-left {
11082 grid-template-columns: 1fr;
11083 }
11084 .shithub-dashboard-left {
11085 position: static;
11086 }
11087 .shithub-dashboard-right,
11088 .shithub-explore-right {
11089 display: none;
11090 }
11091 }
11092 @media (max-width: 640px) {
11093 .shithub-feed-row {
11094 grid-template-columns: 32px minmax(0, 1fr);
11095 gap: 0.75rem;
11096 padding: 0.85rem;
11097 }
11098 .shithub-feed-avatar,
11099 .shithub-feed-avatar img {
11100 width: 32px;
11101 height: 32px;
11102 }
11103 .shithub-feed-profile {
11104 grid-template-columns: 36px minmax(0, 1fr);
11105 }
11106 .shithub-feed-profile .shithub-button {
11107 grid-column: 2;
11108 justify-self: start;
11109 }
11110 .shithub-feed-profile-avatar,
11111 .shithub-feed-profile-avatar img {
11112 width: 36px;
11113 height: 36px;
11114 }
11115 .shithub-explore-head,
11116 .shithub-dashboard-sidehead,
11117 .shithub-feed-toolbar {
11118 align-items: flex-start;
11119 flex-direction: column;
11120 }
11121 .shithub-trending-repo-row {
11122 flex-direction: column;
11123 }
11124 }