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