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