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