santycss 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -543,6 +543,136 @@
543
543
  .input-addon:first-child { border-radius: 6px 0 0 6px; }
544
544
  .input-addon:last-child { border-radius: 0 6px 6px 0; border-left: none; border-right-width: 1px; }
545
545
 
546
+ /* ── Command Palette ── */
547
+ .cmd-palette-backdrop { position: fixed; inset: 0; background-color: rgba(0,0,0,0.5); z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; }
548
+ .cmd-palette { width: 100%; max-width: 560px; background-color: #fff; border-radius: 14px; box-shadow: 0 25px 60px rgba(0,0,0,.3); overflow: hidden; animation: santy-zoom-in 0.15s ease; }
549
+ .cmd-palette-input-wrap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #e5e7eb; }
550
+ .cmd-palette-icon { width: 18px; height: 18px; color: #9ca3af; flex-shrink: 0; }
551
+ .cmd-palette-input { flex: 1; border: none; outline: none; font-size: 16px; color: #111827; background: transparent; }
552
+ .cmd-palette-input::placeholder { color: #9ca3af; }
553
+ .cmd-palette-kbd { font-size: 11px; color: #9ca3af; background-color: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
554
+ .cmd-palette-list { max-height: 360px; overflow-y: auto; padding: 6px; }
555
+ .cmd-palette-group { padding: 6px 10px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9ca3af; }
556
+ .cmd-palette-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #374151; cursor: pointer; transition: background-color 0.1s; }
557
+ .cmd-palette-item:hover, .cmd-palette-item.active { background-color: #eff6ff; color: #2563eb; }
558
+ .cmd-palette-item-icon { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.6; }
559
+ .cmd-palette-item-label { flex: 1; }
560
+ .cmd-palette-item-hint { font-size: 12px; color: #9ca3af; }
561
+ .cmd-palette-empty { padding: 32px 16px; text-align: center; font-size: 14px; color: #9ca3af; }
562
+ .cmd-palette-footer { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid #e5e7eb; font-size: 12px; color: #9ca3af; background-color: #f9fafb; }
563
+
564
+ /* ── Kanban Board ── */
565
+ .kanban { display: flex; gap: 16px; overflow-x: auto; align-items: flex-start; padding-bottom: 8px; }
566
+ .kanban-col { flex-shrink: 0; width: 280px; background-color: #f3f4f6; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
567
+ .kanban-col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
568
+ .kanban-col-title { font-size: 13px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: 0.05em; }
569
+ .kanban-col-count { font-size: 12px; font-weight: 600; background-color: #e5e7eb; color: #6b7280; border-radius: 9999px; padding: 1px 8px; }
570
+ .kanban-card { background-color: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 4px rgba(0,0,0,.07); cursor: grab; transition: box-shadow 0.15s, transform 0.15s; font-size: 14px; color: #111827; }
571
+ .kanban-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); transform: translateY(-1px); }
572
+ .kanban-card:active { cursor: grabbing; }
573
+ .kanban-card-label { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 7px; margin-bottom: 8px; }
574
+ .kanban-card-title { font-weight: 500; margin-bottom: 6px; line-height: 1.4; }
575
+ .kanban-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #9ca3af; }
576
+ .kanban-add-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; border: 2px dashed #d1d5db; border-radius: 8px; background: transparent; color: #9ca3af; font-size: 13px; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
577
+ .kanban-add-btn:hover { border-color: #3b82f6; color: #3b82f6; }
578
+
579
+ /* ── Timeline / Activity Feed ── */
580
+ .timeline { display: flex; flex-direction: column; }
581
+ .timeline-item { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
582
+ .timeline-item:last-child { padding-bottom: 0; }
583
+ .timeline-item:not(:last-child) .timeline-dot::after { content: ''; position: absolute; top: 32px; left: 15px; bottom: 0; width: 2px; background-color: #e5e7eb; }
584
+ .timeline-dot { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background-color: #e5e7eb; border: 2px solid #fff; box-shadow: 0 0 0 2px #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 14px; position: relative; z-index: 1; }
585
+ .timeline-dot-blue { background-color: #3b82f6; box-shadow: 0 0 0 2px #bfdbfe; color: #fff; }
586
+ .timeline-dot-green { background-color: #22c55e; box-shadow: 0 0 0 2px #bbf7d0; color: #fff; }
587
+ .timeline-dot-red { background-color: #ef4444; box-shadow: 0 0 0 2px #fecaca; color: #fff; }
588
+ .timeline-dot-yellow { background-color: #f59e0b; box-shadow: 0 0 0 2px #fde68a; color: #fff; }
589
+ .timeline-body { flex: 1; min-width: 0; padding-top: 4px; }
590
+ .timeline-time { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
591
+ .timeline-title { font-size: 14px; font-weight: 500; color: #111827; margin-bottom: 4px; }
592
+ .timeline-desc { font-size: 13px; color: #6b7280; line-height: 1.5; }
593
+ .timeline-card { background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; margin-top: 8px; font-size: 13px; color: #374151; }
594
+ .timeline-compact .timeline-item { padding-bottom: 12px; }
595
+ .timeline-compact .timeline-dot { width: 22px; height: 22px; font-size: 11px; }
596
+ .timeline-compact .timeline-item:not(:last-child) .timeline-dot::after { left: 10px; top: 22px; }
597
+
598
+ /* ── File Upload Dropzone ── */
599
+ .dropzone { border: 2px dashed #d1d5db; border-radius: 12px; padding: 40px 24px; text-align: center; background-color: #f9fafb; transition: border-color 0.2s, background-color 0.2s; cursor: pointer; }
600
+ .dropzone:hover, .dropzone.drag-over { border-color: #3b82f6; background-color: #eff6ff; }
601
+ .dropzone-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.5; line-height: 1; }
602
+ .dropzone-title { font-size: 15px; font-weight: 600; color: #374151; margin-bottom: 6px; }
603
+ .dropzone-desc { font-size: 13px; color: #9ca3af; margin-bottom: 16px; }
604
+ .dropzone-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; font-size: 13px; font-weight: 600; border-radius: 8px; background-color: #3b82f6; color: #fff; border: none; cursor: pointer; transition: background-color 0.15s; }
605
+ .dropzone-btn:hover { background-color: #2563eb; }
606
+ .dropzone-types { font-size: 12px; color: #9ca3af; margin-top: 10px; }
607
+ .dropzone-sm { padding: 20px 16px; }
608
+ .dropzone-sm .dropzone-icon { font-size: 28px; }
609
+ .file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
610
+ .file-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 8px; background-color: #fff; font-size: 13px; }
611
+ .file-list-name { flex: 1; font-weight: 500; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
612
+ .file-list-size { color: #9ca3af; white-space: nowrap; }
613
+ .file-list-remove { color: #9ca3af; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; border: none; background: none; transition: color 0.1s; }
614
+ .file-list-remove:hover { color: #ef4444; }
615
+
616
+ /* ── Mega Menu ── */
617
+ .mega-menu-wrap { position: relative; }
618
+ .mega-menu { position: absolute; top: 100%; left: 0; min-width: 640px; background-color: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.12); z-index: 300; padding: 20px; display: none; animation: santy-zoom-in 0.15s ease; }
619
+ .mega-menu.open, .mega-menu-wrap:hover .mega-menu { display: flex; }
620
+ .mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
621
+ .mega-menu-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9ca3af; margin-bottom: 10px; }
622
+ .mega-menu-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 8px; text-decoration: none; transition: background-color 0.12s; cursor: pointer; }
623
+ .mega-menu-item:hover { background-color: #f3f4f6; }
624
+ .mega-menu-item-icon { width: 36px; height: 36px; border-radius: 8px; background-color: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
625
+ .mega-menu-item-title { font-size: 14px; font-weight: 500; color: #111827; }
626
+ .mega-menu-item-desc { font-size: 12px; color: #6b7280; margin-top: 2px; line-height: 1.4; }
627
+ .mega-menu-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #6b7280; }
628
+
629
+ /* ── Split Pane ── */
630
+ .split-pane { display: flex; height: 100%; overflow: hidden; }
631
+ .split-pane-vertical { flex-direction: column; }
632
+ .split-pane-panel { overflow: auto; flex: 1; min-width: 0; min-height: 0; }
633
+ .split-pane-divider { flex-shrink: 0; background-color: #e5e7eb; transition: background-color 0.15s; position: relative; z-index: 1; }
634
+ .split-pane:not(.split-pane-vertical) .split-pane-divider { width: 5px; cursor: col-resize; }
635
+ .split-pane.split-pane-vertical .split-pane-divider { height: 5px; cursor: row-resize; }
636
+ .split-pane-divider:hover, .split-pane-divider.dragging { background-color: #3b82f6; }
637
+ .split-pane-divider::after { content: ''; position: absolute; inset: -4px; }
638
+
639
+ /* ── Rating / Stars ── */
640
+ .rating { display: inline-flex; gap: 2px; align-items: center; }
641
+ .rating-star { font-size: 20px; color: #d1d5db; cursor: pointer; transition: color 0.1s, transform 0.1s; line-height: 1; user-select: none; }
642
+ .rating-star:hover, .rating-star.filled { color: #f59e0b; }
643
+ .rating-star:hover { transform: scale(1.15); }
644
+ .rating-sm .rating-star { font-size: 14px; }
645
+ .rating-lg .rating-star { font-size: 28px; }
646
+ .rating-readonly .rating-star { cursor: default; pointer-events: none; }
647
+ .rating-readonly .rating-star:hover { transform: none; }
648
+ .rating-value { font-size: 14px; font-weight: 600; color: #374151; margin-left: 6px; }
649
+ .rating-count { font-size: 13px; color: #9ca3af; margin-left: 4px; }
650
+
651
+ /* ── Code Block ── */
652
+ .code-block { position: relative; border-radius: 10px; background-color: #1e293b; color: #e2e8f0; font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace; font-size: 13px; line-height: 1.7; overflow: hidden; }
653
+ .code-block-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background-color: #0f172a; border-bottom: 1px solid rgba(255,255,255,0.07); }
654
+ .code-block-lang { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.07em; }
655
+ .code-block-dots { display: flex; gap: 6px; }
656
+ .code-block-dot { width: 12px; height: 12px; border-radius: 50%; }
657
+ .code-block-dot-red { background-color: #ef4444; }
658
+ .code-block-dot-yellow { background-color: #f59e0b; }
659
+ .code-block-dot-green { background-color: #22c55e; }
660
+ .code-block-copy { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 12px; font-weight: 500; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); background-color: rgba(255,255,255,0.06); color: #94a3b8; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
661
+ .code-block-copy:hover { background-color: rgba(255,255,255,0.12); color: #e2e8f0; }
662
+ .code-block-copy.copied { color: #22c55e; border-color: rgba(34,197,94,0.3); }
663
+ .code-block pre { margin: 0; padding: 16px 20px; overflow-x: auto; }
664
+ .code-block code { background: none; padding: 0; border-radius: 0; font-size: inherit; color: inherit; }
665
+ .code-block-line-numbers pre { padding-left: 0; }
666
+ .code-block-gutter { display: inline-flex; flex-direction: column; padding: 16px 12px 16px 16px; text-align: right; user-select: none; border-right: 1px solid rgba(255,255,255,0.07); color: #475569; font-size: 13px; line-height: 1.7; }
667
+ .code-block-inner { display: flex; }
668
+ .token-keyword { color: #c084fc; }
669
+ .token-string { color: #86efac; }
670
+ .token-comment { color: #475569; font-style: italic; }
671
+ .token-number { color: #fb923c; }
672
+ .token-fn { color: #60a5fa; }
673
+ .token-tag { color: #f87171; }
674
+ .token-attr { color: #fbbf24; }
675
+
546
676
 
547
677
  /* ── Dropdown ── */
548
678
  .dropdown { position: relative; display: inline-block; }
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- SantyCSS v1.4.0 — Plain-English Utility CSS Framework
2
+ SantyCSS v1.6.0 — Plain-English Utility CSS Framework
3
3
  https://github.com/santybad/santy_css
4
4
  ============================================================ */
5
5
 
package/dist/santy.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- SantyCSS v1.4.0 — Plain-English Utility CSS Framework
2
+ SantyCSS v1.6.0 — Plain-English Utility CSS Framework
3
3
  https://github.com/santybad/santy_css
4
4
  ============================================================ */
5
5
 
@@ -12711,6 +12711,136 @@
12711
12711
  .input-addon:first-child { border-radius: 6px 0 0 6px; }
12712
12712
  .input-addon:last-child { border-radius: 0 6px 6px 0; border-left: none; border-right-width: 1px; }
12713
12713
 
12714
+ /* ── Command Palette ── */
12715
+ .cmd-palette-backdrop { position: fixed; inset: 0; background-color: rgba(0,0,0,0.5); z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; }
12716
+ .cmd-palette { width: 100%; max-width: 560px; background-color: #fff; border-radius: 14px; box-shadow: 0 25px 60px rgba(0,0,0,.3); overflow: hidden; animation: santy-zoom-in 0.15s ease; }
12717
+ .cmd-palette-input-wrap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #e5e7eb; }
12718
+ .cmd-palette-icon { width: 18px; height: 18px; color: #9ca3af; flex-shrink: 0; }
12719
+ .cmd-palette-input { flex: 1; border: none; outline: none; font-size: 16px; color: #111827; background: transparent; }
12720
+ .cmd-palette-input::placeholder { color: #9ca3af; }
12721
+ .cmd-palette-kbd { font-size: 11px; color: #9ca3af; background-color: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
12722
+ .cmd-palette-list { max-height: 360px; overflow-y: auto; padding: 6px; }
12723
+ .cmd-palette-group { padding: 6px 10px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9ca3af; }
12724
+ .cmd-palette-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #374151; cursor: pointer; transition: background-color 0.1s; }
12725
+ .cmd-palette-item:hover, .cmd-palette-item.active { background-color: #eff6ff; color: #2563eb; }
12726
+ .cmd-palette-item-icon { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.6; }
12727
+ .cmd-palette-item-label { flex: 1; }
12728
+ .cmd-palette-item-hint { font-size: 12px; color: #9ca3af; }
12729
+ .cmd-palette-empty { padding: 32px 16px; text-align: center; font-size: 14px; color: #9ca3af; }
12730
+ .cmd-palette-footer { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid #e5e7eb; font-size: 12px; color: #9ca3af; background-color: #f9fafb; }
12731
+
12732
+ /* ── Kanban Board ── */
12733
+ .kanban { display: flex; gap: 16px; overflow-x: auto; align-items: flex-start; padding-bottom: 8px; }
12734
+ .kanban-col { flex-shrink: 0; width: 280px; background-color: #f3f4f6; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
12735
+ .kanban-col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
12736
+ .kanban-col-title { font-size: 13px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: 0.05em; }
12737
+ .kanban-col-count { font-size: 12px; font-weight: 600; background-color: #e5e7eb; color: #6b7280; border-radius: 9999px; padding: 1px 8px; }
12738
+ .kanban-card { background-color: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 4px rgba(0,0,0,.07); cursor: grab; transition: box-shadow 0.15s, transform 0.15s; font-size: 14px; color: #111827; }
12739
+ .kanban-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); transform: translateY(-1px); }
12740
+ .kanban-card:active { cursor: grabbing; }
12741
+ .kanban-card-label { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 7px; margin-bottom: 8px; }
12742
+ .kanban-card-title { font-weight: 500; margin-bottom: 6px; line-height: 1.4; }
12743
+ .kanban-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #9ca3af; }
12744
+ .kanban-add-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; border: 2px dashed #d1d5db; border-radius: 8px; background: transparent; color: #9ca3af; font-size: 13px; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
12745
+ .kanban-add-btn:hover { border-color: #3b82f6; color: #3b82f6; }
12746
+
12747
+ /* ── Timeline / Activity Feed ── */
12748
+ .timeline { display: flex; flex-direction: column; }
12749
+ .timeline-item { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
12750
+ .timeline-item:last-child { padding-bottom: 0; }
12751
+ .timeline-item:not(:last-child) .timeline-dot::after { content: ''; position: absolute; top: 32px; left: 15px; bottom: 0; width: 2px; background-color: #e5e7eb; }
12752
+ .timeline-dot { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background-color: #e5e7eb; border: 2px solid #fff; box-shadow: 0 0 0 2px #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 14px; position: relative; z-index: 1; }
12753
+ .timeline-dot-blue { background-color: #3b82f6; box-shadow: 0 0 0 2px #bfdbfe; color: #fff; }
12754
+ .timeline-dot-green { background-color: #22c55e; box-shadow: 0 0 0 2px #bbf7d0; color: #fff; }
12755
+ .timeline-dot-red { background-color: #ef4444; box-shadow: 0 0 0 2px #fecaca; color: #fff; }
12756
+ .timeline-dot-yellow { background-color: #f59e0b; box-shadow: 0 0 0 2px #fde68a; color: #fff; }
12757
+ .timeline-body { flex: 1; min-width: 0; padding-top: 4px; }
12758
+ .timeline-time { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
12759
+ .timeline-title { font-size: 14px; font-weight: 500; color: #111827; margin-bottom: 4px; }
12760
+ .timeline-desc { font-size: 13px; color: #6b7280; line-height: 1.5; }
12761
+ .timeline-card { background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; margin-top: 8px; font-size: 13px; color: #374151; }
12762
+ .timeline-compact .timeline-item { padding-bottom: 12px; }
12763
+ .timeline-compact .timeline-dot { width: 22px; height: 22px; font-size: 11px; }
12764
+ .timeline-compact .timeline-item:not(:last-child) .timeline-dot::after { left: 10px; top: 22px; }
12765
+
12766
+ /* ── File Upload Dropzone ── */
12767
+ .dropzone { border: 2px dashed #d1d5db; border-radius: 12px; padding: 40px 24px; text-align: center; background-color: #f9fafb; transition: border-color 0.2s, background-color 0.2s; cursor: pointer; }
12768
+ .dropzone:hover, .dropzone.drag-over { border-color: #3b82f6; background-color: #eff6ff; }
12769
+ .dropzone-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.5; line-height: 1; }
12770
+ .dropzone-title { font-size: 15px; font-weight: 600; color: #374151; margin-bottom: 6px; }
12771
+ .dropzone-desc { font-size: 13px; color: #9ca3af; margin-bottom: 16px; }
12772
+ .dropzone-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; font-size: 13px; font-weight: 600; border-radius: 8px; background-color: #3b82f6; color: #fff; border: none; cursor: pointer; transition: background-color 0.15s; }
12773
+ .dropzone-btn:hover { background-color: #2563eb; }
12774
+ .dropzone-types { font-size: 12px; color: #9ca3af; margin-top: 10px; }
12775
+ .dropzone-sm { padding: 20px 16px; }
12776
+ .dropzone-sm .dropzone-icon { font-size: 28px; }
12777
+ .file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
12778
+ .file-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 8px; background-color: #fff; font-size: 13px; }
12779
+ .file-list-name { flex: 1; font-weight: 500; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
12780
+ .file-list-size { color: #9ca3af; white-space: nowrap; }
12781
+ .file-list-remove { color: #9ca3af; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; border: none; background: none; transition: color 0.1s; }
12782
+ .file-list-remove:hover { color: #ef4444; }
12783
+
12784
+ /* ── Mega Menu ── */
12785
+ .mega-menu-wrap { position: relative; }
12786
+ .mega-menu { position: absolute; top: 100%; left: 0; min-width: 640px; background-color: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.12); z-index: 300; padding: 20px; display: none; animation: santy-zoom-in 0.15s ease; }
12787
+ .mega-menu.open, .mega-menu-wrap:hover .mega-menu { display: flex; }
12788
+ .mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
12789
+ .mega-menu-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9ca3af; margin-bottom: 10px; }
12790
+ .mega-menu-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 8px; text-decoration: none; transition: background-color 0.12s; cursor: pointer; }
12791
+ .mega-menu-item:hover { background-color: #f3f4f6; }
12792
+ .mega-menu-item-icon { width: 36px; height: 36px; border-radius: 8px; background-color: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
12793
+ .mega-menu-item-title { font-size: 14px; font-weight: 500; color: #111827; }
12794
+ .mega-menu-item-desc { font-size: 12px; color: #6b7280; margin-top: 2px; line-height: 1.4; }
12795
+ .mega-menu-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #6b7280; }
12796
+
12797
+ /* ── Split Pane ── */
12798
+ .split-pane { display: flex; height: 100%; overflow: hidden; }
12799
+ .split-pane-vertical { flex-direction: column; }
12800
+ .split-pane-panel { overflow: auto; flex: 1; min-width: 0; min-height: 0; }
12801
+ .split-pane-divider { flex-shrink: 0; background-color: #e5e7eb; transition: background-color 0.15s; position: relative; z-index: 1; }
12802
+ .split-pane:not(.split-pane-vertical) .split-pane-divider { width: 5px; cursor: col-resize; }
12803
+ .split-pane.split-pane-vertical .split-pane-divider { height: 5px; cursor: row-resize; }
12804
+ .split-pane-divider:hover, .split-pane-divider.dragging { background-color: #3b82f6; }
12805
+ .split-pane-divider::after { content: ''; position: absolute; inset: -4px; }
12806
+
12807
+ /* ── Rating / Stars ── */
12808
+ .rating { display: inline-flex; gap: 2px; align-items: center; }
12809
+ .rating-star { font-size: 20px; color: #d1d5db; cursor: pointer; transition: color 0.1s, transform 0.1s; line-height: 1; user-select: none; }
12810
+ .rating-star:hover, .rating-star.filled { color: #f59e0b; }
12811
+ .rating-star:hover { transform: scale(1.15); }
12812
+ .rating-sm .rating-star { font-size: 14px; }
12813
+ .rating-lg .rating-star { font-size: 28px; }
12814
+ .rating-readonly .rating-star { cursor: default; pointer-events: none; }
12815
+ .rating-readonly .rating-star:hover { transform: none; }
12816
+ .rating-value { font-size: 14px; font-weight: 600; color: #374151; margin-left: 6px; }
12817
+ .rating-count { font-size: 13px; color: #9ca3af; margin-left: 4px; }
12818
+
12819
+ /* ── Code Block ── */
12820
+ .code-block { position: relative; border-radius: 10px; background-color: #1e293b; color: #e2e8f0; font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace; font-size: 13px; line-height: 1.7; overflow: hidden; }
12821
+ .code-block-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background-color: #0f172a; border-bottom: 1px solid rgba(255,255,255,0.07); }
12822
+ .code-block-lang { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.07em; }
12823
+ .code-block-dots { display: flex; gap: 6px; }
12824
+ .code-block-dot { width: 12px; height: 12px; border-radius: 50%; }
12825
+ .code-block-dot-red { background-color: #ef4444; }
12826
+ .code-block-dot-yellow { background-color: #f59e0b; }
12827
+ .code-block-dot-green { background-color: #22c55e; }
12828
+ .code-block-copy { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 12px; font-weight: 500; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); background-color: rgba(255,255,255,0.06); color: #94a3b8; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
12829
+ .code-block-copy:hover { background-color: rgba(255,255,255,0.12); color: #e2e8f0; }
12830
+ .code-block-copy.copied { color: #22c55e; border-color: rgba(34,197,94,0.3); }
12831
+ .code-block pre { margin: 0; padding: 16px 20px; overflow-x: auto; }
12832
+ .code-block code { background: none; padding: 0; border-radius: 0; font-size: inherit; color: inherit; }
12833
+ .code-block-line-numbers pre { padding-left: 0; }
12834
+ .code-block-gutter { display: inline-flex; flex-direction: column; padding: 16px 12px 16px 16px; text-align: right; user-select: none; border-right: 1px solid rgba(255,255,255,0.07); color: #475569; font-size: 13px; line-height: 1.7; }
12835
+ .code-block-inner { display: flex; }
12836
+ .token-keyword { color: #c084fc; }
12837
+ .token-string { color: #86efac; }
12838
+ .token-comment { color: #475569; font-style: italic; }
12839
+ .token-number { color: #fb923c; }
12840
+ .token-fn { color: #60a5fa; }
12841
+ .token-tag { color: #f87171; }
12842
+ .token-attr { color: #fbbf24; }
12843
+
12714
12844
 
12715
12845
  /* ── Dropdown ── */
12716
12846
  .dropdown { position: relative; display: inline-block; }