realpivot2 2.0.2 → 2.1.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.
@@ -1650,7 +1650,8 @@
1650
1650
  width: 16px; /* 체크마크 너비 고정 */
1651
1651
  margin-left: auto;
1652
1652
  padding-left: 12px;
1653
- font-size: 11px;
1653
+ font-size: 14px; /* 항목 글자보다 약간 크게 — compact(11px)에서도 잘 보이도록 고정 */
1654
+ font-weight: 700;
1654
1655
  color: transparent;
1655
1656
  flex-shrink: 0;
1656
1657
  }
@@ -1658,7 +1659,7 @@
1658
1659
  /* 체크마크 — checked 상태일 때만 ✓ 표시 */
1659
1660
  .rtool-dropdown__item--checkable.rtool-dropdown__item--checked::after {
1660
1661
  content: '✓';
1661
- color: #2C2C2C; /* gray-900 */
1662
+ color: #000000;
1662
1663
  }
1663
1664
 
1664
1665
  .rtool-dropdown__item--disabled {
@@ -1801,7 +1802,7 @@
1801
1802
  transition: background-color 0.1s;
1802
1803
  }
1803
1804
 
1804
- .rtool-popup-menu-item:hover {
1805
+ .rtool-popup-menu-item:not(.disabled):hover {
1805
1806
  background-color: #f0f0f0;
1806
1807
  color: #222;
1807
1808
  }
@@ -1809,7 +1810,6 @@
1809
1810
  .rtool-popup-menu-item.disabled {
1810
1811
  opacity: 0.45;
1811
1812
  cursor: default;
1812
- pointer-events: none;
1813
1813
  }
1814
1814
 
1815
1815
  .rtool-popup-menu-item.default {
@@ -1870,7 +1870,7 @@
1870
1870
  letter-spacing: 0.02em;
1871
1871
  }
1872
1872
 
1873
- .rtool-popup-menu-item:hover .rtool-popup-menu-shortcut {
1873
+ .rtool-popup-menu-item:not(.disabled):hover .rtool-popup-menu-shortcut {
1874
1874
  color: #777;
1875
1875
  }
1876
1876
 
@@ -2085,6 +2085,7 @@
2085
2085
  }/* Portal-scope tokens (body로 분리되는 요소가 읽어야 하므로 전역에 선언) */
2086
2086
  :root {
2087
2087
  --rpivot-dialog-overlay-bg: rgba(0, 0, 0, 0.1);
2088
+ --rpivot-dialog-inherit-check-color: #9ca3af;
2088
2089
  }
2089
2090
 
2090
2091
  /* Pivot Root Style */
@@ -2106,6 +2107,7 @@
2106
2107
  --rpivot-dock-preview-bd: rgba(80, 80, 80, 0.75);
2107
2108
 
2108
2109
  --rpivot-menu-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='3' r='1.5' fill='%23666'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23666'/%3E%3Ccircle cx='8' cy='13' r='1.5' fill='%23666'/%3E%3C/svg%3E");
2110
+ --rpivot-rowbar-menu-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5 L8 10.5 L12 6.5' fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2109
2111
  --rpivot-menu-hover-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='3' r='1.5' fill='%23333'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23333'/%3E%3Ccircle cx='8' cy='13' r='1.5' fill='%23333'/%3E%3C/svg%3E");
2110
2112
  --rpivot-field-menu-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3,5.5 8,10.5 13,5.5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2111
2113
  --rpivot-field-menu-hover-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='4,6 8,10 12,6' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
@@ -2166,6 +2168,8 @@
2166
2168
  --rpivot-value-cell-d-color: black;
2167
2169
  --rpivot-value-cell-g-bg: #00000004;
2168
2170
  --rpivot-value-cell-g-color: #333;
2171
+ /* 머리글·본문 셀 hover 덧칠 색. 셀 배경 위에 반투명으로 겹친다. */
2172
+ --rpivot-cell-hover-bg: rgba(0, 0, 0, 0.05);
2169
2173
 
2170
2174
  --rpivot-body-row-fxied-bg: #f8f8f8;
2171
2175
  --rpivot-body-row-fxied-edge-start: 0 3px 4px 0 rgba(0, 0, 0, 0.15);
@@ -2247,18 +2251,18 @@
2247
2251
  --rpivot-explorer-header-info-bd-top: #ccc;
2248
2252
  --rpivot-explorer-header-count-color: #555;
2249
2253
 
2250
- --rpivot-ai-prompter-prompt-bg: #fff;
2251
- --rpivot-ai-prompter-response-width: 840px;
2252
- --rpivot-ai-prompter-prompt-width: 680px;
2253
- --rpivot-ai-prompter-suggestion-color: #777;
2254
- --rpivot-ai-prompter-suggestion-bg: #fff;
2255
- --rpivot-ai-prompter-suggestion-hover-bg: #f0f0f0;
2256
- --rpivot-ai-prompter-input-color: #333;
2257
- --rpivot-ai-prompter-query-bg: #eeeef2;
2258
- --rpivot-ai-prompter-response-color: #333;
2259
- --rpivot-ai-prompter-response-border-top: #ddd;
2260
- --rpivot-ai-prompter-code-bg: #f4f4f8;
2261
- --rpivot-ai-prompter-code-border: #d7dbe0;
2254
+ --rtool-ai-prompter-prompt-bg: #fff;
2255
+ --rtool-ai-prompter-response-width: 840px;
2256
+ --rtool-ai-prompter-prompt-width: 680px;
2257
+ --rtool-ai-prompter-suggestion-color: #777;
2258
+ --rtool-ai-prompter-suggestion-bg: #fff;
2259
+ --rtool-ai-prompter-suggestion-hover-bg: #f0f0f0;
2260
+ --rtool-ai-prompter-input-color: #333;
2261
+ --rtool-ai-prompter-query-bg: #eeeef2;
2262
+ --rtool-ai-prompter-response-color: #333;
2263
+ --rtool-ai-prompter-response-border-top: #ddd;
2264
+ --rtool-ai-prompter-code-bg: #f4f4f8;
2265
+ --rtool-ai-prompter-code-border: #d7dbe0;
2262
2266
 
2263
2267
  --rpivot-ai-container-bg: #f8fafc;
2264
2268
  --rpivot-ai-container-color: #333;
@@ -2291,6 +2295,7 @@
2291
2295
  --rpivot-dock-preview-bd: rgba(255, 255, 230, 0.75);
2292
2296
 
2293
2297
  --rpivot-menu-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='3' r='1.5' fill='%23aaa'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23aaa'/%3E%3Ccircle cx='8' cy='13' r='1.5' fill='%23aaa'/%3E%3C/svg%3E");
2298
+ --rpivot-rowbar-menu-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5 L8 10.5 L12 6.5' fill='none' stroke='%23aaa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2294
2299
  --rpivot-menu-hover-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='3' r='1.5' fill='%23fff'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23fff'/%3E%3Ccircle cx='8' cy='13' r='1.5' fill='%23fff'/%3E%3C/svg%3E");
2295
2300
  --rpivot-field-menu-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='4,6 8,10 12,6' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2296
2301
  --rpivot-field-menu-hover-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='4,6 8,10 12,6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
@@ -2346,6 +2351,7 @@
2346
2351
  --rpivot-value-cell-bd: 1px solid #555;
2347
2352
  --rpivot-value-cell-bg: #222;
2348
2353
  --rpivot-value-cell-color: #eee;
2354
+ --rpivot-cell-hover-bg: rgba(255, 255, 255, 0.08);
2349
2355
  --rpivot-value-cell-d-bg: #333;
2350
2356
  --rpivot-value-cell-d-color: #eee;
2351
2357
  --rpivot-value-cell-g-bg: #333;
@@ -2420,16 +2426,16 @@
2420
2426
  --rpivot-explorer-header-info-bd-top: #555;
2421
2427
  --rpivot-explorer-header-count-color: #ddd;
2422
2428
 
2423
- --rpivot-ai-prompter-prompt-bg: #555;
2424
- --rpivot-ai-prompter-input-color: #fff;
2425
- --rpivot-ai-prompter-suggestion-color: #ccc;
2426
- --rpivot-ai-prompter-suggestion-bg: #555;
2427
- --rpivot-ai-prompter-suggestion-hover-bg: #333;
2428
- --rpivot-ai-prompter-query-bg: #555;
2429
- --rpivot-ai-prompter-response-color: #ddd;
2430
- --rpivot-ai-prompter-response-border-top: #555;
2431
- --rpivot-ai-prompter-code-bg: #2d2d2d;
2432
- --rpivot-ai-prompter-code-border: #555;
2429
+ --rtool-ai-prompter-prompt-bg: #555;
2430
+ --rtool-ai-prompter-input-color: #fff;
2431
+ --rtool-ai-prompter-suggestion-color: #ccc;
2432
+ --rtool-ai-prompter-suggestion-bg: #555;
2433
+ --rtool-ai-prompter-suggestion-hover-bg: #333;
2434
+ --rtool-ai-prompter-query-bg: #555;
2435
+ --rtool-ai-prompter-response-color: #ddd;
2436
+ --rtool-ai-prompter-response-border-top: #555;
2437
+ --rtool-ai-prompter-code-bg: #2d2d2d;
2438
+ --rtool-ai-prompter-code-border: #555;
2433
2439
 
2434
2440
  --rpivot-ai-container-bg: #333;
2435
2441
  --rpivot-ai-container-color: #fff;
@@ -2441,22 +2447,22 @@
2441
2447
 
2442
2448
  /** 다이얼로그들은 pivot root 외부에 생성되므로, 다크모드일 때 다이얼로그의 배경색을 지정해주어야 함 */
2443
2449
  :root {
2444
- --rpivot-ai-prompter-prompt-bg: #fff;
2445
- --rpivot-ai-prompter-response-width: 840px;
2446
- --rpivot-ai-prompter-prompt-width: 680px;
2447
- --rpivot-ai-prompter-suggestion-color: #777;
2448
- --rpivot-ai-prompter-suggestion-bg: #fff;
2449
- --rpivot-ai-prompter-suggestion-hover-bg: #f0f0f0;
2450
- --rpivot-ai-prompter-input-color: #333;
2451
- --rpivot-ai-prompter-query-bg: #e0e0e0;
2452
- --rpivot-ai-prompter-response-color: #333;
2453
- --rpivot-ai-prompter-response-border-top: none;
2454
- --rpivot-ai-prompter-code-bg: #f6f8fa;
2455
- --rpivot-ai-prompter-code-border: #d7dbe0;
2450
+ --rtool-ai-prompter-prompt-bg: #fff;
2451
+ --rtool-ai-prompter-response-width: 840px;
2452
+ --rtool-ai-prompter-prompt-width: 680px;
2453
+ --rtool-ai-prompter-suggestion-color: #777;
2454
+ --rtool-ai-prompter-suggestion-bg: #fff;
2455
+ --rtool-ai-prompter-suggestion-hover-bg: #f0f0f0;
2456
+ --rtool-ai-prompter-input-color: #333;
2457
+ --rtool-ai-prompter-query-bg: #e0e0e0;
2458
+ --rtool-ai-prompter-response-color: #333;
2459
+ --rtool-ai-prompter-response-border-top: none;
2460
+ --rtool-ai-prompter-code-bg: #f6f8fa;
2461
+ --rtool-ai-prompter-code-border: #d7dbe0;
2456
2462
  }
2457
2463
  /** 다이얼로그용 다크 테마: PivotControlBase._render() 가 html 에 data-rpivot-theme 를 전파한다. */
2458
2464
  :root[data-rpivot-theme="dark"] {
2459
- /* --rpivot-ai-prompter-query-bg: #555; */
2465
+ /* --rtool-ai-prompter-query-bg: #555; */
2460
2466
  }
2461
2467
 
2462
2468
  .rpivot-root {
@@ -2595,7 +2601,27 @@
2595
2601
  * 가 specificity 동일하면서 후행 로드되어 우선한다. !important 로 덮어써야 한다. */
2596
2602
  .rpivot-cell[data-icon-pos="center"] {
2597
2603
  justify-content: center !important;
2598
- }/*//////////////////////////////////////////////////////////////////////////////
2604
+ }
2605
+ /* general.interactive: false (#392) - 눌러도 접히거나 펼쳐지지 않으므로 +/− 아이콘을 감춘다. (트리 셀 포함)
2606
+ * 아이콘 자리 들여쓰기는 트리 계층 정렬에도 쓰이므로 그대로 둔다. */
2607
+ .rpivot-root[data-interactive="false"] .rpivot-cell[data-group]::before {
2608
+ display: none;
2609
+ }
2610
+
2611
+ /* 머리글·본문 셀 hover.
2612
+ * 셀 배경은 테마·소계 행(stylesheet), 강조·히트맵(인라인 background 단축 속성), 고정 열(!important) 등
2613
+ * 여러 곳에서 정해지므로 배경색을 바꾸지 않고 background-image로 반투명 색을 한 겹 덧칠한다.
2614
+ * - 인라인 background 단축 속성이 background-image를 none으로 덮으므로 !important가 필요하다.
2615
+ * - 고정 열 셀의 background: ... !important(0,3,0)를 이기도록 그 셀용 선택자를 따로 둔다.
2616
+ * - box-shadow(고정 경계 그림자)와 ::before·::after(접기·정렬·주석 표시)는 이미 쓰이고 있어 피한다.
2617
+ * - general.interactive가 false면 입력을 모두 막으므로 hover도 표시하지 않는다. (#392)
2618
+ */
2619
+ .rpivot-root:not([data-interactive="false"]) .rpivot-cell:hover,
2620
+ .rpivot-root:not([data-interactive="false"]) .rpivot-cell.value-cell[data-fixed-col]:hover,
2621
+ .rpivot-root:not([data-interactive="false"]) .rpivot-cell.series-cell[data-fixed-col]:hover {
2622
+ background-image: linear-gradient(var(--rpivot-cell-hover-bg), var(--rpivot-cell-hover-bg)) !important;
2623
+ }
2624
+ /*//////////////////////////////////////////////////////////////////////////////
2599
2625
  // PivotSpotlightView.css
2600
2626
  // 2026. 07. 04. created by gslim
2601
2627
  // -----------------------------------------------------------------------------
@@ -3344,6 +3370,10 @@
3344
3370
  .rpivot-value-field-agg:hover {
3345
3371
  color: #111;
3346
3372
  }
3373
+ .rpivot-value-field-agg[data-showas="1"] {
3374
+ text-decoration: underline dotted;
3375
+ text-underline-offset: 2px;
3376
+ }
3347
3377
  .rpivot-value-field:hover .rpivot-field-menu,
3348
3378
  .rpivot-value-field .rpivot-field-menu[data-menu="true"] {
3349
3379
  background-image: var(--rpivot-field-menu-hover-bg);
@@ -3374,7 +3404,36 @@
3374
3404
  }
3375
3405
  .rpivot-filter-field-item:hover {
3376
3406
  color: #111;
3377
- }.rpivot-fieldbar {
3407
+ }
3408
+ /** general.interactive: false (#392)
3409
+ * 열·행 필드의 ⌄ 메뉴 단추는 숨긴다.
3410
+ * 값 필드의 Σ와 필터 필드의 깔때기는 필드 종류·필터 적용 여부를 겸해 보여 주므로 남기고,
3411
+ * 눌리는 모양(포인터 커서, hover 배경, hover 시 ⌄로 바뀌는 그림)만 없앤다.
3412
+ */
3413
+ .rpivot-root[data-interactive="false"] .rpivot-column-field .rpivot-field-menu,
3414
+ .rpivot-root[data-interactive="false"] .rpivot-row-field .rpivot-field-menu {
3415
+ display: none;
3416
+ }
3417
+ .rpivot-root[data-interactive="false"] .rpivot-field:hover {
3418
+ background-color: var(--rpivot-fieldbar-bg);
3419
+ }
3420
+ .rpivot-root[data-interactive="false"] .rpivot-field-menu {
3421
+ cursor: default;
3422
+ }
3423
+ .rpivot-root[data-interactive="false"] .rpivot-value-field:hover .rpivot-field-menu {
3424
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 16 20'%3E%3Cpath d='M6 4h12v2H9.5l4.5 6-4.5 6H18v2H6v-2l5.5-6L6 6z' fill='%23446'/%3E%3C/svg%3E");
3425
+ }
3426
+ .rpivot-root[data-interactive="false"] .rpivot-filter-field:hover .rpivot-field-menu {
3427
+ background-image: var(--rpivot-filter-bg);
3428
+ }
3429
+ .rpivot-root[data-interactive="false"] .rpivot-filter-field.active:hover .rpivot-field-menu {
3430
+ background-image: var(--rpivot-filtered-bg);
3431
+ }
3432
+ .rpivot-root[data-interactive="false"] .rpivot-value-field-agg:hover,
3433
+ .rpivot-root[data-interactive="false"] .rpivot-filter-field-item:hover {
3434
+ color: #585;
3435
+ }
3436
+ .rpivot-fieldbar {
3378
3437
  background: var(--rpivot-fieldbar-bg);
3379
3438
  }
3380
3439
  .rpivot-fieldbar-divider {
@@ -3394,12 +3453,17 @@
3394
3453
  }
3395
3454
 
3396
3455
  .rpivot-rowbar-head {
3456
+ box-sizing: border-box;
3397
3457
  display: flex;
3398
3458
  align-items: center;
3399
3459
  gap: 2px;
3400
3460
  padding: 3px 3px;
3401
3461
  font-size: 12px;
3402
3462
  color: #556;
3463
+ /* 행 헤더 폭이 좁을 때 단추들이 옆 열 바 영역으로 넘쳐 그려지지 않도록 자른다. */
3464
+ min-width: 0;
3465
+ max-width: 100%;
3466
+ overflow: hidden;
3403
3467
  }
3404
3468
  .rpivot-rowbar button {
3405
3469
  display: flex;
@@ -3492,8 +3556,31 @@
3492
3556
  pointer-events: none;
3493
3557
  }
3494
3558
 
3559
+ /* 행 헤더 폭이 모자라 감춘 토글 단추 (PivotRowBarView HeadView.fit).
3560
+ * 값을 행으로 단추는 JS가 인라인 display를 넣으므로 !important로 덮는다. */
3561
+ .rpivot-rowbar-head button.overflowed {
3562
+ display: none !important;
3563
+ }
3564
+ .rpivot-rowbar-head.no-tools .rpivot-rowbar-menu::after {
3565
+ display: none;
3566
+ }
3495
3567
  .rpivot-rowbar-menu {
3496
- background-image: var(--rpivot-menu-bg);
3568
+ position: relative;
3569
+ margin-right: 7px;
3570
+ background-image: var(--rpivot-rowbar-menu-bg);
3571
+ }
3572
+ /* 메뉴 버튼과 토글 버튼들 사이 구분선.
3573
+ 바로 다음 버튼(값을 행으로)은 숨겨질 수 있으므로 메뉴 버튼 쪽에 그린다.
3574
+ ▾ 아이콘은 버튼 안 여백이 커서, 버튼 상자가 아니라 아이콘 그림 기준으로 가운데가 되도록 1px 왼쪽에 둔다. */
3575
+ .rpivot-rowbar-menu::after {
3576
+ content: '';
3577
+ position: absolute;
3578
+ right: -5px;
3579
+ top: 2px;
3580
+ width: 1px;
3581
+ height: 14px;
3582
+ background-color: var(--rpivot-bar-divider-color);
3583
+ pointer-events: none;
3497
3584
  }
3498
3585
  /* .rpivot-rowbar-databar {
3499
3586
  background-image: var(--rpivot-databar-bg);
@@ -3567,7 +3654,13 @@
3567
3654
  .rpivot-rowbar-filler {
3568
3655
  box-sizing: border-box;
3569
3656
  border-bottom: 1px solid var(--rpivot-fieldbar-bd-color);
3570
- }.rpivot-columnbar {
3657
+ }
3658
+ /* general.interactive: false (#392) - 메뉴·값을 행으로·크로스헤어 단추는 눌러도 동작하지 않으므로 감춘다.
3659
+ * 값을 행으로 단추는 JS가 인라인 display를 넣으므로 display 대신 visibility로 감추고, 행 바 높이도 그대로 둔다. */
3660
+ .rpivot-root[data-interactive="false"] .rpivot-rowbar-head button {
3661
+ visibility: hidden;
3662
+ }
3663
+ .rpivot-columnbar {
3571
3664
  display: flex;
3572
3665
  gap: 4px;
3573
3666
  align-items: center;
@@ -3611,7 +3704,13 @@
3611
3704
  }
3612
3705
  .rpivot-columnbar-menu:hover {
3613
3706
  background-color: #e0e0e0;
3614
- }.rpivot-treeheader {
3707
+ }
3708
+
3709
+ /* general.interactive: false (#392) - 눌러도 열리지 않는 메뉴 단추는 숨긴다. */
3710
+ .rpivot-root[data-interactive="false"] .rpivot-columnbar-menu {
3711
+ display: none;
3712
+ }
3713
+ .rpivot-treeheader {
3615
3714
  }
3616
3715
  .rpivot-treeheader-cells {
3617
3716
  position: absolute;
@@ -3754,53 +3853,20 @@
3754
3853
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.25);
3755
3854
  }.rg-dialog-overlay {
3756
3855
  background-color: var(--rpivot-dialog-overlay-bg, rgba(0, 0, 0, 0.1));
3757
- }.rg-ctx-menu__item {
3758
- font-size: 10px;
3759
3856
  }
3760
-
3761
- .rpivot-empty-book {
3762
- display: flex;
3763
- flex-direction: column;
3764
- align-items: center;
3765
- justify-content: center;
3766
- gap: 16px;
3767
- width: 100%;
3768
- height: 100%;
3769
- color: #999;
3770
- font-size: 17px;
3771
- line-height: 0.5;
3772
- text-align: center;
3773
- background:
3774
- radial-gradient(ellipse at center, #fafafa 0%, #f0f0f0 100%),
3775
- linear-gradient(90deg, #e8e8e8 1px, transparent 1px) 0 0 / 40px 40px,
3776
- linear-gradient(#e8e8e8 1px, transparent 1px) 0 0 / 40px 40px;
3777
- user-select: none;
3778
- }
3779
- .rpivot-empty-book::before {
3780
- content: '';
3781
- width: 64px;
3782
- height: 64px;
3783
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='1.5'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
3784
- background-size: contain;
3785
- opacity: 0.6;
3786
- animation: rpivot-empty-pulse 2s ease-in-out infinite;
3787
- }
3788
- @keyframes rpivot-empty-pulse {
3789
- 0%, 100% { opacity: 0.4; transform: scale(1); }
3790
- 50% { opacity: 0.7; transform: scale(1.05); }
3791
- }
3792
- .rpivot-empty-book span {
3793
- color: #888;
3794
- font-size: 13px;
3795
- }
3796
- .rpivot-empty-book small {
3797
- color: #aaa;
3798
- font-size: 12px;
3857
+ /* 값 필드 설정의 소계·총계 굵게·기울임·밑줄: '값 스타일을 따름'(indeterminate) 상태 */
3858
+ .rg-dialog-check.rpivot-dialog-inherit-check:indeterminate {
3859
+ accent-color: var(--rpivot-dialog-inherit-check-color, #9ca3af);
3799
3860
  }
3800
3861
 
3801
- .rpivot-ai-popup {
3802
- background-color: #00000010;
3803
- }.rdata-grid {
3862
+ /* '(기본)'이 붙었다 빠져도 오른쪽 체크가 밀리지 않도록 가장 긴 '기울임(기본)' 폭을 확보한다. */
3863
+ .rg-dialog-label.rpivot-dialog-inherit-label {
3864
+ display: inline-block;
3865
+ min-width: 5.1em;
3866
+ /* 다음 체크와의 간격(줄 gap 10px)을 좁힌다. */
3867
+ margin-right: -4px;
3868
+ }
3869
+ .rdata-grid {
3804
3870
  --header-cell-bd: #d4d4d8;
3805
3871
  --header-cell-focused-bg: #dde;
3806
3872
  --header-cell-focused-bd: #558;
@@ -3998,7 +4064,483 @@
3998
4064
  .rdata-grid-fixed-col .rdata-grid-row.odd .rdata-grid-cell,
3999
4065
  .rdata-grid-fixed-corner .rdata-grid-row.odd .rdata-grid-cell {
4000
4066
  background-color: var(--rdata-cell-alt-bg, var(--rdata-cell-bg, #f7f7fa));
4001
- }/*
4067
+ }.rdata-plain {
4068
+ --plain-bd: #d4d4d8;
4069
+ --plain-hover-bg: #f1f5f9;
4070
+ --plain-focused-bg: #dde;
4071
+ --plain-selected-bg: #dbeafe;
4072
+ --plain-selected-hover-bg: #c3d9fb;
4073
+ --plain-key-color: #1e293b;
4074
+ --plain-dim-color: #94a3b8;
4075
+ --plain-string-color: #15803d;
4076
+ --plain-number-color: #1d4ed8;
4077
+ --plain-boolean-color: #b45309;
4078
+ --plain-null-color: #64748b;
4079
+ --plain-object-color: #7c3aed;
4080
+ --plain-array-color: #be185d;
4081
+ --plain-invalid-color: #dc2626;
4082
+ /* typeIconStyle: 'soft'일 때 모든 아이콘이 함께 쓰는 배경색 */
4083
+ --plain-icon-soft-bg: #e8edf3;
4084
+ }
4085
+ .rdata-plain {
4086
+ background-color: #fff;
4087
+ font-size: 12px;
4088
+ outline: none;
4089
+ }
4090
+ .rdata-plain-view {
4091
+ position: absolute;
4092
+ overflow: auto;
4093
+ }
4094
+ .rdata-plain-content {
4095
+ position: relative;
4096
+ /* 긴 값과 축약 표시된 배열이 보이는 너비 안에서 줄바꿈되도록 내용 너비에 맞추지 않는다. */
4097
+ min-width: 100%;
4098
+ box-sizing: border-box;
4099
+ padding: 4px 0;
4100
+ }
4101
+ .rdata-plain-no-data {
4102
+ padding: 12px;
4103
+ color: var(--plain-dim-color);
4104
+ text-align: center;
4105
+ }
4106
+
4107
+ /* row */
4108
+ .rdata-plain-row {
4109
+ display: flex;
4110
+ align-items: flex-start;
4111
+ gap: 4px;
4112
+ min-height: 22px;
4113
+ padding: 2px 8px 2px 4px;
4114
+ box-sizing: border-box;
4115
+ line-height: 18px;
4116
+ cursor: default;
4117
+ /* drag 핸들의 위치 기준 */
4118
+ position: relative;
4119
+ }
4120
+ .rdata-plain-row:hover {
4121
+ background-color: var(--plain-hover-bg);
4122
+ }
4123
+ .rdata-plain-row.rdata-plain-selected {
4124
+ background-color: var(--plain-selected-bg);
4125
+ }
4126
+ .rdata-plain-row.rdata-plain-focused {
4127
+ background-color: var(--plain-focused-bg);
4128
+ }
4129
+ .rdata-plain-row.rdata-plain-selected.rdata-plain-focused {
4130
+ box-shadow: inset 2px 0 0 var(--plain-number-color);
4131
+ background-color: var(--plain-selected-bg);
4132
+ }
4133
+ /* 선택된 행들 사이에서도 마우스가 올라간 행이 구분되도록 조금 진하게 한다. */
4134
+ .rdata-plain-row.rdata-plain-selected:hover {
4135
+ background-color: var(--plain-selected-hover-bg);
4136
+ }
4137
+
4138
+ /* expander */
4139
+ .rdata-plain-expander {
4140
+ flex: none;
4141
+ width: 14px;
4142
+ height: 18px;
4143
+ color: var(--plain-null-color);
4144
+ text-align: center;
4145
+ }
4146
+ .rdata-plain-expander.rdata-plain-collapsed,
4147
+ .rdata-plain-expander.rdata-plain-expanded {
4148
+ cursor: pointer;
4149
+ }
4150
+ .rdata-plain-expander.rdata-plain-collapsed::before {
4151
+ content: '▸';
4152
+ }
4153
+ .rdata-plain-expander.rdata-plain-expanded::before {
4154
+ content: '▾';
4155
+ }
4156
+
4157
+ /* type icon */
4158
+ .rdata-plain-type {
4159
+ flex: none;
4160
+ min-width: 18px;
4161
+ height: 14px;
4162
+ margin-top: 2px;
4163
+ padding: 0 2px;
4164
+ box-sizing: border-box;
4165
+ border-radius: 3px;
4166
+ /* 자료형별 색. 표시 방식(typeIconStyle)에 따라 배경색 또는 글자색으로 쓴다. */
4167
+ --plain-type-color: var(--plain-null-color);
4168
+ background-color: var(--plain-type-color);
4169
+ color: #fff;
4170
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
4171
+ font-size: 9px;
4172
+ font-weight: bold;
4173
+ line-height: 14px;
4174
+ text-align: center;
4175
+ user-select: none;
4176
+ }
4177
+ .rdata-plain-row:not(.rdata-plain-locked) > .rdata-plain-type {
4178
+ cursor: pointer;
4179
+ }
4180
+ .rdata-plain-type[data-type="string"] { --plain-type-color: var(--plain-string-color); }
4181
+ .rdata-plain-type[data-type="number"] { --plain-type-color: var(--plain-number-color); }
4182
+ .rdata-plain-type[data-type="boolean"] { --plain-type-color: var(--plain-boolean-color); }
4183
+ .rdata-plain-type[data-type="object"] { --plain-type-color: var(--plain-object-color); }
4184
+ .rdata-plain-type[data-type="array"] { --plain-type-color: var(--plain-array-color); }
4185
+ .rdata-plain-type[data-type="undefined"] { --plain-type-color: var(--plain-dim-color); }
4186
+ /* soft: 연한 배경색 하나로 통일하고, 자료형은 글자색으로 구분한다. */
4187
+ .rdata-plain-view[data-icon-style="soft"] .rdata-plain-type {
4188
+ background-color: var(--plain-icon-soft-bg);
4189
+ color: var(--plain-type-color);
4190
+ }
4191
+ /* plain: 배경 박스 없이 글자만 표시한다. */
4192
+ .rdata-plain-view[data-icon-style="plain"] .rdata-plain-type {
4193
+ background-color: transparent;
4194
+ color: var(--plain-type-color);
4195
+ font-size: 10px;
4196
+ }
4197
+
4198
+ /* key */
4199
+ .rdata-plain-key {
4200
+ flex: none;
4201
+ color: var(--plain-key-color);
4202
+ font-weight: bold;
4203
+ white-space: nowrap;
4204
+ }
4205
+ .rdata-plain-key.rdata-plain-index {
4206
+ color: var(--plain-null-color);
4207
+ font-weight: normal;
4208
+ }
4209
+ .rdata-plain-row.rdata-plain-root > .rdata-plain-key {
4210
+ font-style: italic;
4211
+ }
4212
+ .rdata-plain-sep {
4213
+ flex: none;
4214
+ margin-left: -3px;
4215
+ color: var(--plain-dim-color);
4216
+ }
4217
+
4218
+ /* value */
4219
+ .rdata-plain-value {
4220
+ min-width: 12px;
4221
+ white-space: pre-wrap;
4222
+ word-break: break-word;
4223
+ }
4224
+ .rdata-plain-value:empty::before {
4225
+ content: '\200b';
4226
+ }
4227
+ .rdata-plain-row[data-type="string"] .rdata-plain-value {
4228
+ color: var(--plain-string-color);
4229
+ }
4230
+ .rdata-plain-row[data-type="string"] .rdata-plain-value::before,
4231
+ .rdata-plain-row[data-type="string"] .rdata-plain-value::after {
4232
+ content: '"';
4233
+ color: var(--plain-dim-color);
4234
+ }
4235
+ .rdata-plain-row[data-type="number"] .rdata-plain-value {
4236
+ color: var(--plain-number-color);
4237
+ }
4238
+ .rdata-plain-row[data-type="boolean"] .rdata-plain-value {
4239
+ color: var(--plain-boolean-color);
4240
+ }
4241
+ .rdata-plain-row[data-type="null"] .rdata-plain-value,
4242
+ .rdata-plain-row[data-type="undefined"] .rdata-plain-value {
4243
+ color: var(--plain-dim-color);
4244
+ font-style: italic;
4245
+ }
4246
+ .rdata-plain-bool {
4247
+ display: flex;
4248
+ align-items: center;
4249
+ gap: 4px;
4250
+ }
4251
+ .rdata-plain-check {
4252
+ margin: 0;
4253
+ }
4254
+ .rdata-plain-summary {
4255
+ color: var(--plain-null-color);
4256
+ white-space: nowrap;
4257
+ }
4258
+ .rdata-plain-preview {
4259
+ margin-left: 6px;
4260
+ color: var(--plain-dim-color);
4261
+ }
4262
+ /* 축약 표시된 배열의 값들: [a, b, c] */
4263
+ .rdata-plain-chips {
4264
+ flex: 0 1 auto;
4265
+ min-width: 0;
4266
+ }
4267
+ .rdata-plain-chip {
4268
+ display: inline-block;
4269
+ position: relative;
4270
+ max-width: 100%;
4271
+ margin-right: 5px;
4272
+ border-radius: 2px;
4273
+ vertical-align: top;
4274
+ }
4275
+ /* 복수 선택된 값 */
4276
+ .rdata-plain-chip.rdata-plain-selected {
4277
+ background-color: var(--plain-selected-bg);
4278
+ box-shadow: 0 0 0 1px var(--plain-selected-bg);
4279
+ }
4280
+ /* focus를 가진 값 */
4281
+ .rdata-plain-chip.rdata-plain-focused {
4282
+ box-shadow: 0 0 0 1px var(--plain-number-color);
4283
+ background-color: #fff;
4284
+ }
4285
+ /* 선택된 값이 focus를 가지면 선택 색은 유지하고 테두리만 더한다. */
4286
+ .rdata-plain-chip.rdata-plain-selected.rdata-plain-focused {
4287
+ background-color: var(--plain-selected-bg);
4288
+ }
4289
+ /* 값 위에 떠 있는 삭제 버튼 */
4290
+ .rdata-plain-chip-remove {
4291
+ display: none;
4292
+ position: absolute;
4293
+ top: -7px;
4294
+ right: -5px;
4295
+ z-index: 1;
4296
+ width: 12px;
4297
+ height: 12px;
4298
+ border-radius: 50%;
4299
+ background-color: var(--plain-null-color);
4300
+ color: #fff;
4301
+ cursor: pointer;
4302
+ }
4303
+ .rdata-plain-chip-remove > svg {
4304
+ display: block;
4305
+ margin: 1px;
4306
+ fill: none;
4307
+ stroke: currentColor;
4308
+ stroke-width: 2;
4309
+ stroke-linecap: round;
4310
+ pointer-events: none;
4311
+ }
4312
+ .rdata-plain-chip:hover > .rdata-plain-chip-remove,
4313
+ .rdata-plain-chip.rdata-plain-focused > .rdata-plain-chip-remove {
4314
+ display: block;
4315
+ }
4316
+ .rdata-plain-chip-remove:hover {
4317
+ background-color: var(--plain-invalid-color);
4318
+ }
4319
+ /* 대괄호는 배열 아이콘과 같은 색으로 값과 구분한다. */
4320
+ .rdata-plain-bracket {
4321
+ color: var(--plain-array-color);
4322
+ font-weight: bold;
4323
+ }
4324
+ .rdata-plain-bracket:first-child {
4325
+ margin-right: 2px;
4326
+ }
4327
+ .rdata-plain-comma {
4328
+ color: var(--plain-dim-color);
4329
+ }
4330
+ .rdata-plain-chip[data-type="string"] .rdata-plain-value {
4331
+ color: var(--plain-string-color);
4332
+ }
4333
+ .rdata-plain-chip[data-type="string"] .rdata-plain-value::before,
4334
+ .rdata-plain-chip[data-type="string"] .rdata-plain-value::after {
4335
+ content: '"';
4336
+ color: var(--plain-dim-color);
4337
+ }
4338
+ .rdata-plain-chip[data-type="number"] .rdata-plain-value {
4339
+ color: var(--plain-number-color);
4340
+ }
4341
+ .rdata-plain-chip[data-type="boolean"] .rdata-plain-value {
4342
+ color: var(--plain-boolean-color);
4343
+ }
4344
+ .rdata-plain-chip[data-type="null"] .rdata-plain-value,
4345
+ .rdata-plain-chip[data-type="undefined"] .rdata-plain-value {
4346
+ color: var(--plain-dim-color);
4347
+ font-style: italic;
4348
+ }
4349
+ .rdata-plain-chip > .rdata-plain-editor.rdata-plain-editor-value {
4350
+ min-width: 60px;
4351
+ width: 120px;
4352
+ vertical-align: top;
4353
+ }
4354
+ /* 값이 아니라 동작이라는 것이 드러나도록 값, 대괄호와 다른 모양으로 표시한다. */
4355
+ .rdata-plain-chip-more {
4356
+ display: inline-block;
4357
+ margin-right: 5px;
4358
+ padding: 0 6px;
4359
+ border-radius: 9px;
4360
+ background-color: var(--plain-icon-soft-bg);
4361
+ color: var(--plain-null-color);
4362
+ font-size: 11px;
4363
+ cursor: pointer;
4364
+ }
4365
+ .rdata-plain-chip-more:hover {
4366
+ background-color: var(--plain-null-color);
4367
+ color: #fff;
4368
+ }
4369
+ .rdata-plain-more {
4370
+ color: var(--plain-number-color);
4371
+ cursor: pointer;
4372
+ }
4373
+
4374
+ /* 설명. 값 뒤에 주석처럼 표시한다. */
4375
+ .rdata-plain-desc {
4376
+ min-width: 0;
4377
+ margin-left: 8px;
4378
+ color: var(--plain-dim-color);
4379
+ font-style: italic;
4380
+ white-space: pre-wrap;
4381
+ word-break: break-word;
4382
+ }
4383
+ .rdata-plain-desc::before {
4384
+ content: '// ';
4385
+ }
4386
+ .rdata-plain-editor.rdata-plain-editor-desc {
4387
+ flex: 1;
4388
+ min-width: 160px;
4389
+ max-width: 480px;
4390
+ margin-left: 8px;
4391
+ font-style: italic;
4392
+ }
4393
+
4394
+ /* actions */
4395
+ .rdata-plain-actions {
4396
+ flex: none;
4397
+ display: flex;
4398
+ gap: 2px;
4399
+ margin-left: 8px;
4400
+ visibility: hidden;
4401
+ }
4402
+ .rdata-plain-row:hover > .rdata-plain-actions,
4403
+ .rdata-plain-row.rdata-plain-focused > .rdata-plain-actions {
4404
+ visibility: visible;
4405
+ }
4406
+ .rdata-plain-compact-toggle,
4407
+ .rdata-plain-describe,
4408
+ .rdata-plain-add,
4409
+ .rdata-plain-insert,
4410
+ .rdata-plain-remove {
4411
+ width: 16px;
4412
+ height: 16px;
4413
+ margin-top: 1px;
4414
+ border-radius: 3px;
4415
+ color: var(--plain-null-color);
4416
+ font-size: 13px;
4417
+ line-height: 16px;
4418
+ text-align: center;
4419
+ cursor: pointer;
4420
+ user-select: none;
4421
+ }
4422
+ .rdata-plain-actions svg {
4423
+ display: block;
4424
+ fill: none;
4425
+ stroke: currentColor;
4426
+ stroke-width: 1.4;
4427
+ stroke-linecap: round;
4428
+ stroke-linejoin: round;
4429
+ pointer-events: none;
4430
+ }
4431
+ /* 설명이 달려 있는 항목 */
4432
+ .rdata-plain-describe.rdata-plain-described {
4433
+ color: var(--plain-number-color);
4434
+ }
4435
+ .rdata-plain-describe:hover,
4436
+ .rdata-plain-compact-toggle:hover {
4437
+ background-color: var(--plain-null-color);
4438
+ color: #fff;
4439
+ }
4440
+ .rdata-plain-add:hover,
4441
+ .rdata-plain-insert:hover {
4442
+ background-color: var(--plain-number-color);
4443
+ color: #fff;
4444
+ }
4445
+ .rdata-plain-remove:hover {
4446
+ background-color: var(--plain-invalid-color);
4447
+ color: #fff;
4448
+ }
4449
+
4450
+ /* editor */
4451
+ .rdata-plain-editor {
4452
+ margin: -1px 0;
4453
+ padding: 0 3px;
4454
+ border: 1px solid var(--plain-number-color);
4455
+ border-radius: 2px;
4456
+ box-sizing: border-box;
4457
+ outline: none;
4458
+ font: inherit;
4459
+ line-height: 18px;
4460
+ }
4461
+ .rdata-plain-editor.rdata-plain-editor-key {
4462
+ width: 120px;
4463
+ font-weight: bold;
4464
+ }
4465
+ .rdata-plain-editor.rdata-plain-editor-value {
4466
+ flex: 1;
4467
+ min-width: 160px;
4468
+ max-width: 480px;
4469
+ }
4470
+ textarea.rdata-plain-editor {
4471
+ resize: none;
4472
+ overflow: hidden;
4473
+ }
4474
+ .rdata-plain-editor.rdata-plain-invalid {
4475
+ border-color: var(--plain-invalid-color);
4476
+ background-color: #fef2f2;
4477
+ }
4478
+
4479
+ /* type menu */
4480
+ .rdata-plain-menu {
4481
+ position: absolute;
4482
+ z-index: 10;
4483
+ padding: 4px 0;
4484
+ border: 1px solid var(--plain-bd);
4485
+ border-radius: 4px;
4486
+ background-color: #fff;
4487
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
4488
+ }
4489
+ .rdata-plain-menu-item {
4490
+ display: flex;
4491
+ align-items: center;
4492
+ gap: 6px;
4493
+ padding: 3px 12px 3px 8px;
4494
+ line-height: 18px;
4495
+ cursor: pointer;
4496
+ }
4497
+ .rdata-plain-menu-key {
4498
+ margin-left: auto;
4499
+ padding-left: 16px;
4500
+ color: var(--plain-dim-color);
4501
+ font-size: 11px;
4502
+ font-weight: normal;
4503
+ }
4504
+ .rdata-plain-menu-item > .rdata-plain-type {
4505
+ margin-top: 0;
4506
+ }
4507
+ .rdata-plain-menu-item:hover {
4508
+ background-color: var(--plain-hover-bg);
4509
+ }
4510
+ .rdata-plain-menu-item.rdata-plain-checked {
4511
+ font-weight: bold;
4512
+ }
4513
+
4514
+ /* drag */
4515
+ .rdata-plain-handle {
4516
+ /* 들여쓰기 공간에 띄워서 표시한다. left는 행마다 지정된다. */
4517
+ position: absolute;
4518
+ top: 5px;
4519
+ width: 8px;
4520
+ height: 12px;
4521
+ /* 2 x 3 점 */
4522
+ background-image: radial-gradient(circle, var(--plain-null-color) 1px, transparent 1.3px);
4523
+ background-size: 4px 4px;
4524
+ visibility: hidden;
4525
+ cursor: grab;
4526
+ }
4527
+ .rdata-plain-row:hover > .rdata-plain-handle,
4528
+ .rdata-plain-row.rdata-plain-dragging > .rdata-plain-handle {
4529
+ visibility: visible;
4530
+ }
4531
+ .rdata-plain-row.rdata-plain-dragging {
4532
+ opacity: 0.4;
4533
+ }
4534
+ .rdata-plain-drop-line {
4535
+ position: absolute;
4536
+ right: 0;
4537
+ height: 2px;
4538
+ margin-top: -1px;
4539
+ background-color: var(--plain-number-color);
4540
+ pointer-events: none;
4541
+ z-index: 5;
4542
+ }
4543
+ /*
4002
4544
  * 테마 색 변수.<br/>
4003
4545
  * 셀렉터 루트와 simple 모드 팝업(document.body에 붙는다)에 정의한다.
4004
4546
  * FilterSelectorOptions.theme이 'dark'이면 rdata-theme-dark, 'auto'이면 rdata-theme-auto 클래스가 추가된다.
@@ -4933,6 +5475,9 @@
4933
5475
  flex-wrap: wrap;
4934
5476
  align-items: flex-end;
4935
5477
  gap: 0;
5478
+ /* 가로 끌기는 범위 선택, 세로 끌기는 브라우저 스크롤.
5479
+ 세로 일(days) 목록·캘린더는 길게 누른 뒤에 범위 선택을 시작한다(TimelineSelectorView). */
5480
+ touch-action: pan-y;
4936
5481
  }
4937
5482
 
4938
5483
  /* Group label (year separator) */
@@ -4998,9 +5543,12 @@
4998
5543
  user-select: none;
4999
5544
  transition: background 0.1s;
5000
5545
  box-sizing: border-box;
5546
+ -webkit-touch-callout: none;
5001
5547
  }
5002
5548
 
5003
- .rdata-timeline-block:hover {
5549
+ /* drag-start: 터치로 길게 눌러 범위 선택을 시작한 블록 */
5550
+ .rdata-timeline-block:hover,
5551
+ .rdata-timeline-block.drag-start {
5004
5552
  background: var(--rdata-sel-accent-subtle);
5005
5553
  }
5006
5554
 
@@ -5219,6 +5767,8 @@
5219
5767
  background-color: var(--rdata-sel-accent);
5220
5768
  border-radius: calc(var(--rdata-slider-track-height) / 2);
5221
5769
  cursor: grab;
5770
+ /* 가로 끌기는 슬라이더가, 세로 끌기는 브라우저 스크롤이 처리한다. 자식인 손잡이에도 적용된다. */
5771
+ touch-action: pan-y;
5222
5772
  }
5223
5773
 
5224
5774
  .rdata-slider-range:active {
@@ -5562,44 +6112,13 @@
5562
6112
  .rdata-tree-selector.fill-container .rdata-tree-container {
5563
6113
  flex: 1 1 0;
5564
6114
  }
5565
- .rpivot-button-bar {
5566
- gap: 4px;
5567
- }
5568
- .rpivot-button-bar > button {
5569
- padding: 2px 8px;
5570
- border: none;
5571
- border-top-left-radius: 4px;
5572
- border-top-right-radius: 4px;
5573
- background-color: transparent;
5574
- color: var(--rpivot-button-bar-color);
5575
- font-size: 13px;
5576
- cursor: pointer;
5577
- outline: none;
5578
- box-shadow: none;
5579
- }
5580
- .rpivot-button-bar > button:hover {
5581
- background-color: var(--rpivot-button-bar-hover-bg) !important;
5582
- }
5583
- .rpivot-button-bar > button[aria-pressed="true"] {
5584
- border-bottom: 2px solid #007acc;
5585
- font-weight: 600;
5586
- }
5587
- .rpivot-button-bar > button[aria-pressed="true"]:hover {
5588
- background-color: var(--rpivot-button-bar-pressed-hover-bg) !important;
5589
- }
5590
- .rpivot-explorer-panel {
5591
- width: 100%;
5592
- height: 100%;
5593
- }.rpivot-detail-panel {
5594
- }.rpivot-chart-panel {
5595
- }.rpivot-map-panel {
5596
- }.rpivot-ai-prompter {
6115
+ .rtool-ai-prompter {
5597
6116
  font-size: 13px;
5598
6117
  padding: 8px 6px;
5599
6118
  gap: 6px;
5600
6119
  }
5601
6120
 
5602
- .rpivot-ai-prompter button {
6121
+ .rtool-ai-prompter button {
5603
6122
  flex: 0 0 auto;
5604
6123
  width: 25px;
5605
6124
  height: 25px;
@@ -5608,11 +6127,11 @@
5608
6127
  border-radius: 4px;
5609
6128
  cursor: pointer;
5610
6129
  }
5611
- .rpivot-ai-prompter button:hover {
6130
+ .rtool-ai-prompter button:hover {
5612
6131
  background-color: #e2e5e9;
5613
6132
  }
5614
6133
 
5615
- .rpivot-ai-prompter-prompt {
6134
+ .rtool-ai-prompter-prompt {
5616
6135
  flex: 0 0 auto;
5617
6136
  display: flex;
5618
6137
  flex-direction: column;
@@ -5621,18 +6140,18 @@
5621
6140
  box-sizing: border-box;
5622
6141
  border: 1px solid #ccc;
5623
6142
  border-radius: 6px;
5624
- background: var(--rpivot-ai-prompter-prompt-bg);
6143
+ background: var(--rtool-ai-prompter-prompt-bg, #fff);
5625
6144
  width: 100%;
5626
- max-width: var(--rpivot-ai-prompter-prompt-width);
6145
+ max-width: var(--rtool-ai-prompter-prompt-width, 680px);
5627
6146
  }
5628
- .rpivot-ai-prompter-input {
6147
+ .rtool-ai-prompter-input {
5629
6148
  flex: 1 1 auto;
5630
6149
  resize: none;
5631
6150
  overflow-y: auto;
5632
6151
  padding: 4px 8px 0px 8px;
5633
6152
  border: none;
5634
6153
  background: transparent;
5635
- color: var(--rpivot-ai-prompter-input-color);
6154
+ color: var(--rtool-ai-prompter-input-color, #333);
5636
6155
  line-height: 1.4;
5637
6156
  box-sizing: border-box;
5638
6157
  outline: none;
@@ -5640,31 +6159,31 @@
5640
6159
  scrollbar-width: thin;
5641
6160
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
5642
6161
  }
5643
- .rpivot-ai-prompter-input::-webkit-scrollbar {
6162
+ .rtool-ai-prompter-input::-webkit-scrollbar {
5644
6163
  width: 12px;
5645
6164
  }
5646
- .rpivot-ai-prompter-input::-webkit-scrollbar-track {
6165
+ .rtool-ai-prompter-input::-webkit-scrollbar-track {
5647
6166
  background: transparent;
5648
6167
  }
5649
- .rpivot-ai-prompter-input::-webkit-scrollbar-thumb {
6168
+ .rtool-ai-prompter-input::-webkit-scrollbar-thumb {
5650
6169
  background-color: rgba(0, 0, 0, 0.25);
5651
6170
  border-radius: 6px;
5652
6171
  /* 투명 border + padding-box 로 thumb 를 가늘게/떠 보이게 한다 */
5653
6172
  border: 3px solid transparent;
5654
6173
  background-clip: padding-box;
5655
6174
  }
5656
- .rpivot-ai-prompter-input::-webkit-scrollbar-thumb:hover {
6175
+ .rtool-ai-prompter-input::-webkit-scrollbar-thumb:hover {
5657
6176
  background-color: rgba(0, 0, 0, 0.4);
5658
6177
  }
5659
- .rpivot-ai-prompter-input::-webkit-scrollbar-button {
6178
+ .rtool-ai-prompter-input::-webkit-scrollbar-button {
5660
6179
  display: none;
5661
6180
  }
5662
- .rpivot-ai-prompter-input::placeholder {
6181
+ .rtool-ai-prompter-input::placeholder {
5663
6182
  color: #999;
5664
6183
  font-size: 13px;
5665
6184
  }
5666
6185
 
5667
- .rpivot-ai-prompter-actions {
6186
+ .rtool-ai-prompter-actions {
5668
6187
  /* position: absolute; */
5669
6188
  /* right: 20px;
5670
6189
  bottom: 4px; */
@@ -5676,7 +6195,7 @@
5676
6195
  padding: 0 12px 4px 7px;
5677
6196
  }
5678
6197
 
5679
- .rpivot-ai-prompter-model {
6198
+ .rtool-ai-prompter-model {
5680
6199
  align-self: flex-end;
5681
6200
  margin-bottom: 2px;
5682
6201
  color: #796;
@@ -5686,7 +6205,7 @@
5686
6205
  text-overflow: ellipsis;
5687
6206
  }
5688
6207
 
5689
- .rpivot-ai-prompter .rpivot-ai-prompter-submit {
6208
+ .rtool-ai-prompter .rtool-ai-prompter-submit {
5690
6209
  flex: 0 0 auto;
5691
6210
  padding: 0;
5692
6211
  border: none;
@@ -5698,18 +6217,18 @@
5698
6217
  background-position: center;
5699
6218
  transition: background-color 0.15s;
5700
6219
  }
5701
- .rpivot-ai-prompter .rpivot-ai-prompter-submit:disabled {
6220
+ .rtool-ai-prompter .rtool-ai-prompter-submit:disabled {
5702
6221
  cursor: default;
5703
6222
  background-color: #c8ccd1;
5704
6223
  }
5705
- .rpivot-ai-prompter .rpivot-ai-prompter-submit:not(:disabled) {
6224
+ .rtool-ai-prompter .rtool-ai-prompter-submit:not(:disabled) {
5706
6225
  background-color: #4a90d9;
5707
6226
  }
5708
- .rpivot-ai-prompter .rpivot-ai-prompter-submit:not(:disabled):hover {
6227
+ .rtool-ai-prompter .rtool-ai-prompter-submit:not(:disabled):hover {
5709
6228
  background-color: #3a7bc0;
5710
6229
  }
5711
6230
 
5712
- .rpivot-ai-prompter .rpivot-ai-prompter-clear {
6231
+ .rtool-ai-prompter .rtool-ai-prompter-clear {
5713
6232
  flex: 0 0 auto;
5714
6233
  width: 32px;
5715
6234
  height: 32px;
@@ -5724,92 +6243,92 @@
5724
6243
  background-position: center;
5725
6244
  transition: opacity 0.15s, background-color 0.15s;
5726
6245
  }
5727
- .rpivot-ai-prompter .rpivot-ai-prompter-clear:not(:disabled):hover {
6246
+ .rtool-ai-prompter .rtool-ai-prompter-clear:not(:disabled):hover {
5728
6247
  background-color: #e2e5e9;
5729
6248
  }
5730
- .rpivot-ai-prompter .rpivot-ai-prompter-clear:disabled {
6249
+ .rtool-ai-prompter .rtool-ai-prompter-clear:disabled {
5731
6250
  cursor: default;
5732
6251
  opacity: 0.35;
5733
6252
  }
5734
6253
 
5735
- .rpivot-ai-prompter-response {
6254
+ .rtool-ai-prompter-response {
5736
6255
  flex: 1 1 auto;
5737
6256
  align-self: stretch;
5738
6257
  min-height: 0;
5739
6258
  overflow-y: auto;
5740
6259
  padding: 12px;
5741
6260
  box-sizing: border-box;
5742
- border-top: 1px solid var(--rpivot-ai-prompter-response-border-top);
6261
+ border-top: 1px solid var(--rtool-ai-prompter-response-border-top, #ddd);
5743
6262
  font-size: 13px;
5744
6263
  line-height: 1.5;
5745
- color: var(--rpivot-ai-prompter-response-color);
6264
+ color: var(--rtool-ai-prompter-response-color, #333);
5746
6265
  word-break: break-word;
5747
6266
  /* Firefox: thumb 만 보이도록 */
5748
6267
  scrollbar-width: thin;
5749
6268
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
5750
6269
  }
5751
6270
  /** TODO: 모든 곳에서 아래 문제 없으면 위에 병합 */
5752
- .rpivot-ai-prompter-response {
6271
+ .rtool-ai-prompter-response {
5753
6272
  align-self: center;
5754
6273
  width: 100%;
5755
- max-width: var(--rpivot-ai-prompter-response-width);
6274
+ max-width: var(--rtool-ai-prompter-response-width, 840px);
5756
6275
  }
5757
6276
 
5758
- .rpivot-ai-prompter-response::-webkit-scrollbar {
6277
+ .rtool-ai-prompter-response::-webkit-scrollbar {
5759
6278
  width: 12px;
5760
6279
  }
5761
- .rpivot-ai-prompter-response::-webkit-scrollbar-track {
6280
+ .rtool-ai-prompter-response::-webkit-scrollbar-track {
5762
6281
  background: transparent;
5763
6282
  }
5764
- .rpivot-ai-prompter-response::-webkit-scrollbar-thumb {
6283
+ .rtool-ai-prompter-response::-webkit-scrollbar-thumb {
5765
6284
  background-color: rgba(0, 0, 0, 0.25);
5766
6285
  border-radius: 6px;
5767
6286
  /* 투명 border + padding-box 로 thumb 를 가늘게/떠 보이게 한다 */
5768
6287
  border: 3px solid transparent;
5769
6288
  background-clip: padding-box;
5770
6289
  }
5771
- .rpivot-ai-prompter-response::-webkit-scrollbar-thumb:hover {
6290
+ .rtool-ai-prompter-response::-webkit-scrollbar-thumb:hover {
5772
6291
  background-color: rgba(0, 0, 0, 0.4);
5773
6292
  }
5774
- .rpivot-ai-prompter-response::-webkit-scrollbar-button {
6293
+ .rtool-ai-prompter-response::-webkit-scrollbar-button {
5775
6294
  display: none;
5776
6295
  }
5777
- .rpivot-ai-chat-welcome {
6296
+ .rtool-ai-chat-welcome {
5778
6297
  display: flex;
5779
6298
  flex-direction: column;
5780
6299
  align-items: center;
5781
6300
  gap: 8px;
5782
6301
  margin-bottom: 20px;
5783
6302
  }
5784
- .rpivot-ai-chat-suggestions {
6303
+ .rtool-ai-chat-suggestions {
5785
6304
  display: flex;
5786
6305
  flex-direction: column;
5787
6306
  align-items: center;
5788
6307
  gap: 8px;
5789
6308
  }
5790
6309
 
5791
- .rpivot-ai-chat-item {
6310
+ .rtool-ai-chat-item {
5792
6311
  font-size: 13px;
5793
6312
  }
5794
- .rpivot-ai-chat-greeting {
6313
+ .rtool-ai-chat-greeting {
5795
6314
  font-size: 1.3em;
5796
6315
  text-align: center;
5797
6316
  }
5798
- .rpivot-ai-chat-suggestion {
6317
+ .rtool-ai-chat-suggestion {
5799
6318
  width: 100%;
5800
6319
  max-width: 270px;
5801
6320
  justify-content: center;
5802
- color: var(--rpivot-ai-prompter-suggestion-color);
5803
- background-color: var(--rpivot-ai-prompter-suggestion-bg);
6321
+ color: var(--rtool-ai-prompter-suggestion-color, #777);
6322
+ background-color: var(--rtool-ai-prompter-suggestion-bg, #fff);
5804
6323
  border: 1px solid #ccc;
5805
6324
  border-radius: 8px;
5806
6325
  padding: 4px 8px;
5807
6326
  cursor: pointer;
5808
6327
  }
5809
- .rpivot-ai-chat-suggestion:hover {
5810
- background-color: var(--rpivot-ai-prompter-suggestion-hover-bg);
6328
+ .rtool-ai-chat-suggestion:hover {
6329
+ background-color: var(--rtool-ai-prompter-suggestion-hover-bg, #f0f0f0);
5811
6330
  }
5812
- .rpivot-ai-chat-prompt {
6331
+ .rtool-ai-chat-prompt {
5813
6332
  display: inline;
5814
6333
  padding: 0 1px;
5815
6334
  font: inherit;
@@ -5824,20 +6343,20 @@
5824
6343
  border-radius: 3px;
5825
6344
  transition: color 0.15s, background-color 0.15s, text-decoration-color 0.15s;
5826
6345
  }
5827
- .rpivot-ai-chat-prompt:hover {
6346
+ .rtool-ai-chat-prompt:hover {
5828
6347
  color: #1f5fa8;
5829
6348
  background-color: rgba(42, 108, 176, 0.1);
5830
6349
  text-decoration-color: currentColor;
5831
6350
  }
5832
- .rpivot-ai-chat-conversation {
6351
+ .rtool-ai-chat-conversation {
5833
6352
  gap: 16px;
5834
6353
  }
5835
- .rpivot-ai-chat-response {
6354
+ .rtool-ai-chat-response {
5836
6355
  user-select: text;
5837
6356
  -webkit-user-select: text;
5838
6357
  cursor: text;
5839
6358
  }
5840
- .rpivot-ai-prompter .rpivot-ai-chat-copy {
6359
+ .rtool-ai-prompter .rtool-ai-chat-copy {
5841
6360
  align-self: flex-start;
5842
6361
  width: 22px;
5843
6362
  height: 22px;
@@ -5854,31 +6373,31 @@
5854
6373
  opacity: 0;
5855
6374
  transition: opacity 0.15s ease;
5856
6375
  }
5857
- .rpivot-ai-chat-conversation:hover .rpivot-ai-chat-copy {
6376
+ .rtool-ai-chat-conversation:hover .rtool-ai-chat-copy {
5858
6377
  opacity: 0.55;
5859
6378
  }
5860
- .rpivot-ai-prompter .rpivot-ai-chat-copy:hover {
6379
+ .rtool-ai-prompter .rtool-ai-chat-copy:hover {
5861
6380
  opacity: 1;
5862
6381
  background-color: transparent;
5863
6382
  }
5864
- .rpivot-ai-prompter .rpivot-ai-chat-copy.rpivot-ai-chat-copied {
6383
+ .rtool-ai-prompter .rtool-ai-chat-copy.rtool-ai-chat-copied {
5865
6384
  opacity: 1;
5866
6385
  background-color: transparent;
5867
6386
  background-size: 16px 16px;
5868
6387
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
5869
6388
  }
5870
- .rpivot-ai-chat-response pre {
6389
+ .rtool-ai-chat-response pre {
5871
6390
  position: relative;
5872
6391
  white-space: pre;
5873
6392
  overflow-x: auto;
5874
6393
  margin: 8px 0;
5875
6394
  padding: 8px 10px;
5876
6395
  box-sizing: border-box;
5877
- border: 1px solid var(--rpivot-ai-prompter-code-border);
6396
+ border: 1px solid var(--rtool-ai-prompter-code-border, #d7dbe0);
5878
6397
  border-radius: 6px;
5879
- background-color: var(--rpivot-ai-prompter-code-bg);
6398
+ background-color: var(--rtool-ai-prompter-code-bg, #f4f4f8);
5880
6399
  }
5881
- .rpivot-ai-prompter .rpivot-ai-code-copy {
6400
+ .rtool-ai-prompter .rtool-ai-code-copy {
5882
6401
  position: absolute;
5883
6402
  top: 4px;
5884
6403
  right: 4px;
@@ -5896,59 +6415,59 @@
5896
6415
  opacity: 0;
5897
6416
  transition: opacity 0.15s ease;
5898
6417
  }
5899
- .rpivot-ai-chat-response pre:hover .rpivot-ai-code-copy {
6418
+ .rtool-ai-chat-response pre:hover .rtool-ai-code-copy {
5900
6419
  opacity: 0.55;
5901
6420
  }
5902
- .rpivot-ai-prompter .rpivot-ai-code-copy:hover {
6421
+ .rtool-ai-prompter .rtool-ai-code-copy:hover {
5903
6422
  opacity: 1;
5904
6423
  }
5905
- .rpivot-ai-prompter .rpivot-ai-code-copy.rpivot-ai-chat-copied {
6424
+ .rtool-ai-prompter .rtool-ai-code-copy.rtool-ai-chat-copied {
5906
6425
  opacity: 1;
5907
6426
  background-size: 16px 16px;
5908
6427
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
5909
6428
  }
5910
- .rpivot-ai-chat-response code {
6429
+ .rtool-ai-chat-response code {
5911
6430
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
5912
6431
  font-size: 0.92em;
5913
6432
  }
5914
6433
  /* 인라인 code (pre 밖)만 배경/테두리로 강조하고 줄바꿈 허용. pre 안의 code는 pre가 가로 스크롤 처리 */
5915
- .rpivot-ai-chat-response :not(pre) > code {
6434
+ .rtool-ai-chat-response :not(pre) > code {
5916
6435
  overflow-wrap: anywhere;
5917
6436
  word-break: break-word;
5918
6437
  padding: 1px 5px;
5919
- border: 1px solid var(--rpivot-ai-prompter-code-border);
6438
+ border: 1px solid var(--rtool-ai-prompter-code-border, #d7dbe0);
5920
6439
  border-radius: 4px;
5921
- background-color: var(--rpivot-ai-prompter-code-bg);
6440
+ background-color: var(--rtool-ai-prompter-code-bg, #f4f4f8);
5922
6441
  }
5923
- .rpivot-ai-chat-query {
6442
+ .rtool-ai-chat-query {
5924
6443
  align-self: flex-end;
5925
6444
  max-width: 85%;
5926
6445
  /* border: 1px solid #4a90d9; */
5927
- background-color: var(--rpivot-ai-prompter-query-bg);
6446
+ background-color: var(--rtool-ai-prompter-query-bg, #eeeef2);
5928
6447
  border-radius: 6px;
5929
6448
  padding: 8px 10px;
5930
6449
  user-select: text;
5931
6450
  -webkit-user-select: text;
5932
6451
  }
5933
- .rpivot-ai-chat-rejected {
6452
+ .rtool-ai-chat-rejected {
5934
6453
  color: #c0392b;
5935
6454
  }
5936
- .rpivot-ai-chat-spinner {
6455
+ .rtool-ai-chat-spinner {
5937
6456
  display: inline-block;
5938
6457
  width: 12px;
5939
6458
  height: 12px;
5940
6459
  border: 2px solid rgba(0, 0, 0, 0.15);
5941
6460
  border-top-color: #4a90d9;
5942
6461
  border-radius: 50%;
5943
- animation: rpivot-ai-spin 0.7s linear infinite;
6462
+ animation: rtool-ai-spin 0.7s linear infinite;
5944
6463
  vertical-align: middle;
5945
6464
  }
5946
- .rpivot-ai-chat-pending-text {
6465
+ .rtool-ai-chat-pending-text {
5947
6466
  margin-left: 6px;
5948
6467
  color: #888;
5949
6468
  vertical-align: middle;
5950
6469
  }
5951
- @keyframes rpivot-ai-spin {
6470
+ @keyframes rtool-ai-spin {
5952
6471
  to {
5953
6472
  transform: rotate(360deg);
5954
6473
  }
@@ -5957,11 +6476,13 @@
5957
6476
  /* ---------------------------------------------------------------------------
5958
6477
  * AI 파라미터 패널 (pending command 확인/입력)
5959
6478
  * ------------------------------------------------------------------------- */
5960
- .rpivot-ai-param-panel {
6479
+ .rtool-ai-param-panel {
5961
6480
  box-sizing: border-box;
6481
+ /* 대화가 길어져도 응답 영역만 줄어들고, 매개변수 패널(실행 버튼)은 줄어들지 않는다. */
6482
+ flex-shrink: 0;
5962
6483
  align-self: center;
5963
6484
  width: 100%;
5964
- max-width: var(--rpivot-ai-prompter-prompt-width);
6485
+ max-width: var(--rtool-ai-prompter-prompt-width, 680px);
5965
6486
  gap: 10px;
5966
6487
  padding: 12px 10px 12px 14px;
5967
6488
  border: 1px solid #ccc;
@@ -5970,7 +6491,7 @@
5970
6491
  }
5971
6492
 
5972
6493
  /* label 열을 max-content 로 두면 모든 행의 label 너비가 가장 긴 label 에 맞춰 동일해진다. */
5973
- .rpivot-ai-param-grid {
6494
+ .rtool-ai-param-grid {
5974
6495
  display: grid;
5975
6496
  grid-template-columns: max-content 1fr max-content;
5976
6497
  align-items: center;
@@ -5979,7 +6500,7 @@
5979
6500
  width: 100%;
5980
6501
  }
5981
6502
 
5982
- .rpivot-ai-param-label {
6503
+ .rtool-ai-param-label {
5983
6504
  justify-self: start;
5984
6505
  white-space: nowrap;
5985
6506
  color: #444;
@@ -5988,7 +6509,7 @@
5988
6509
  }
5989
6510
 
5990
6511
  /* description 도움말: mouse over 시 title 로 설명 표시 */
5991
- .rpivot-ai-param-help {
6512
+ .rtool-ai-param-help {
5992
6513
  justify-self: center;
5993
6514
  display: inline-flex;
5994
6515
  align-items: center;
@@ -6005,13 +6526,13 @@
6005
6526
  cursor: pointer;
6006
6527
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
6007
6528
  }
6008
- .rpivot-ai-param-help:hover {
6529
+ .rtool-ai-param-help:hover {
6009
6530
  color: #fff;
6010
6531
  border-color: #4a90d9;
6011
6532
  background: #4a90d9;
6012
6533
  }
6013
6534
 
6014
- .rpivot-ai-param-control {
6535
+ .rtool-ai-param-control {
6015
6536
  box-sizing: border-box;
6016
6537
  width: 100%;
6017
6538
  min-width: 0;
@@ -6023,12 +6544,12 @@
6023
6544
  background: #fff;
6024
6545
  color: #333;
6025
6546
  }
6026
- .rpivot-ai-param-control:focus {
6547
+ .rtool-ai-param-control:focus {
6027
6548
  outline: none;
6028
6549
  border-color: #4a90d9;
6029
6550
  box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
6030
6551
  }
6031
- input.rpivot-ai-param-control[type="checkbox"] {
6552
+ input.rtool-ai-param-control[type="checkbox"] {
6032
6553
  justify-self: start;
6033
6554
  width: 16px;
6034
6555
  height: 16px;
@@ -6036,18 +6557,18 @@ input.rpivot-ai-param-control[type="checkbox"] {
6036
6557
  }
6037
6558
 
6038
6559
  /* editable === false : readonly(그레이로 확실히 구분) */
6039
- .rpivot-ai-param-control.rpivot-ai-param-readonly {
6560
+ .rtool-ai-param-control.rtool-ai-param-readonly {
6040
6561
  background: #e9ebee;
6041
6562
  color: #333;
6042
6563
  border-color: #d7dbe0;
6043
6564
  cursor: default;
6044
6565
  }
6045
- .rpivot-ai-param-control.rpivot-ai-param-readonly:focus {
6566
+ .rtool-ai-param-control.rtool-ai-param-readonly:focus {
6046
6567
  border-color: #d7dbe0;
6047
6568
  box-shadow: none;
6048
6569
  }
6049
6570
 
6050
- .rpivot-ai-param-footer {
6571
+ .rtool-ai-param-footer {
6051
6572
  display: block;
6052
6573
  overflow: hidden;
6053
6574
  width: 100%;
@@ -6056,19 +6577,19 @@ input.rpivot-ai-param-control[type="checkbox"] {
6056
6577
  }
6057
6578
 
6058
6579
  /* '?' 클릭 설명 / 실행 validation 메시지 영역. 우하단 버튼 위/옆 빈 공간을 채운다. */
6059
- .rpivot-ai-param-message {
6580
+ .rtool-ai-param-message {
6060
6581
  font-size: 13px;
6061
6582
  line-height: 1.5;
6062
6583
  color: #6b7280;
6063
6584
  word-break: break-word;
6064
6585
  }
6065
- .rpivot-ai-param-message.error {
6586
+ .rtool-ai-param-message.error {
6066
6587
  color: #d64545;
6067
6588
  font-weight: 500;
6068
6589
  }
6069
6590
 
6070
6591
  /* 실행 버튼: 우하단 float(텍스트가 버튼 위/옆 공간을 감싸도록), 라벨+아이콘 수평 배치 */
6071
- button.rpivot-ai-param-run {
6592
+ button.rtool-ai-param-run {
6072
6593
  float: right;
6073
6594
  margin-left: 12px;
6074
6595
  margin-top: 4px;
@@ -6089,7 +6610,7 @@ button.rpivot-ai-param-run {
6089
6610
  cursor: pointer;
6090
6611
  transition: background-color 0.15s, box-shadow 0.15s;
6091
6612
  }
6092
- button.rpivot-ai-param-run::before {
6613
+ button.rtool-ai-param-run::before {
6093
6614
  content: "";
6094
6615
  flex: 0 0 auto;
6095
6616
  width: 13px;
@@ -6099,9 +6620,100 @@ button.rpivot-ai-param-run::before {
6099
6620
  background-size: 13px 13px;
6100
6621
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' stroke='none'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
6101
6622
  }
6102
- button.rpivot-ai-param-run:hover {
6623
+ button.rtool-ai-param-run:hover {
6103
6624
  background-color: #3a7bc0;
6104
6625
  box-shadow: 0 2px 6px rgba(74, 144, 217, 0.45);
6626
+ }
6627
+
6628
+ /* 호스트 루트에 data-interactive="false"가 지정되면 글자를 입력할 수 없어야 하므로 프롬프트 입력란과 실행 단추를 감춘다. */
6629
+ [data-interactive="false"] .rtool-ai-prompter-prompt {
6630
+ display: none;
6631
+ }
6632
+ .rg-ctx-menu__item {
6633
+ font-size: 10px;
6634
+ }
6635
+
6636
+ .rpivot-empty-book {
6637
+ display: flex;
6638
+ flex-direction: column;
6639
+ align-items: center;
6640
+ justify-content: center;
6641
+ gap: 16px;
6642
+ width: 100%;
6643
+ height: 100%;
6644
+ color: #999;
6645
+ font-size: 17px;
6646
+ line-height: 0.5;
6647
+ text-align: center;
6648
+ background:
6649
+ radial-gradient(ellipse at center, #fafafa 0%, #f0f0f0 100%),
6650
+ linear-gradient(90deg, #e8e8e8 1px, transparent 1px) 0 0 / 40px 40px,
6651
+ linear-gradient(#e8e8e8 1px, transparent 1px) 0 0 / 40px 40px;
6652
+ user-select: none;
6653
+ }
6654
+ .rpivot-empty-book::before {
6655
+ content: '';
6656
+ width: 64px;
6657
+ height: 64px;
6658
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='1.5'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
6659
+ background-size: contain;
6660
+ opacity: 0.6;
6661
+ animation: rpivot-empty-pulse 2s ease-in-out infinite;
6662
+ }
6663
+ @keyframes rpivot-empty-pulse {
6664
+ 0%, 100% { opacity: 0.4; transform: scale(1); }
6665
+ 50% { opacity: 0.7; transform: scale(1.05); }
6666
+ }
6667
+ .rpivot-empty-book span {
6668
+ color: #888;
6669
+ font-size: 13px;
6670
+ }
6671
+ .rpivot-empty-book small {
6672
+ color: #aaa;
6673
+ font-size: 12px;
6674
+ }
6675
+
6676
+ .rpivot-ai-popup {
6677
+ background-color: #00000010;
6678
+ }.rpivot-button-bar {
6679
+ gap: 4px;
6680
+ }
6681
+ .rpivot-button-bar > button {
6682
+ padding: 2px 8px;
6683
+ border: none;
6684
+ border-top-left-radius: 4px;
6685
+ border-top-right-radius: 4px;
6686
+ background-color: transparent;
6687
+ color: var(--rpivot-button-bar-color);
6688
+ font-size: 13px;
6689
+ cursor: pointer;
6690
+ outline: none;
6691
+ box-shadow: none;
6692
+ }
6693
+ .rpivot-button-bar > button:hover {
6694
+ background-color: var(--rpivot-button-bar-hover-bg) !important;
6695
+ }
6696
+ .rpivot-button-bar > button[aria-pressed="true"] {
6697
+ border-bottom: 2px solid #007acc;
6698
+ font-weight: 600;
6699
+ }
6700
+ .rpivot-button-bar > button[aria-pressed="true"]:hover {
6701
+ background-color: var(--rpivot-button-bar-pressed-hover-bg) !important;
6702
+ }
6703
+
6704
+ /* general.interactive: false (#392) - 탭은 현재 패널을 보여 주므로 남기고, 눌리는 모양만 없앤다. */
6705
+ .rpivot-root[data-interactive="false"] .rpivot-button-bar > button {
6706
+ cursor: default;
6707
+ }
6708
+ .rpivot-root[data-interactive="false"] .rpivot-button-bar > button:hover {
6709
+ background-color: transparent !important;
6710
+ }
6711
+ .rpivot-explorer-panel {
6712
+ width: 100%;
6713
+ height: 100%;
6714
+ }.rpivot-detail-panel {
6715
+ }.rpivot-chart-panel {
6716
+ }.rpivot-map-panel {
6105
6717
  }.rpivot-insight-panel {
6106
6718
  display: flex;
6107
6719
  flex-direction: column;
@@ -6110,7 +6722,7 @@ button.rpivot-ai-param-run:hover {
6110
6722
  box-sizing: border-box;
6111
6723
  }
6112
6724
 
6113
- .rpivot-insight-panel .rpivot-ai-prompter-prompt {
6725
+ .rpivot-insight-panel .rtool-ai-prompter-prompt {
6114
6726
  margin: 8px;
6115
6727
  }
6116
6728
 
@@ -6327,12 +6939,20 @@ button.rpivot-ai-param-run:hover {
6327
6939
  .rpivot-splitter--ghost {
6328
6940
  background-color: var(--rpivot-splitter-ghost-bg);
6329
6941
  }
6942
+
6943
+ /* general.interactive: false (#392) - 분할선을 끌 수 없으므로 크기 조정 커서와 hover 강조를 없앤다. */
6944
+ .rpivot-root[data-interactive="false"] .rpivot-splitter {
6945
+ cursor: default;
6946
+ }
6947
+ .rpivot-root[data-interactive="false"] .rpivot-splitter:hover {
6948
+ background-color: var(--rpivot-splitter-bg);
6949
+ }
6330
6950
  .rpivot-explorer {
6331
6951
  position: absolute;
6332
6952
  left: 0;
6333
6953
  right: 0;
6334
6954
  bottom: 0;
6335
- min-height: 180px;
6955
+ /* 최소 크기는 PivotExplorerView.minHeight/minWidth가 유일한 기준이다. 여기에 min-height/min-width를 두지 않는다. */
6336
6956
  height: 280px;
6337
6957
  box-sizing: border-box;
6338
6958
  background: var(--rpivot-explorer-bg);
@@ -6344,9 +6964,7 @@ button.rpivot-ai-param-run:hover {
6344
6964
  top: 0;
6345
6965
  right: 0;
6346
6966
  bottom: 0;
6347
- min-height: 0;
6348
6967
  height: auto;
6349
- min-width: 240px;
6350
6968
  width: 360px;
6351
6969
  padding-left: 3px;
6352
6970
  }
@@ -6370,8 +6988,15 @@ button.rpivot-ai-param-run:hover {
6370
6988
  font-size: 17px;
6371
6989
  line-height: 0.5;
6372
6990
  text-align: center;
6373
- background-color: #f0f0f0;
6991
+ background-color: #f0f0f0;
6374
6992
  user-select: none;
6993
+ position: relative;
6994
+ }
6995
+ /** 빈 상태에서도 탐색기를 닫을 수 있도록 우상단에 닫기 버튼을 둔다. (헤더 닫기 버튼 위치와 맞춤) */
6996
+ .rpivot-explorer-empty-close {
6997
+ position: absolute;
6998
+ top: 6px;
6999
+ right: 6px;
6375
7000
  }
6376
7001
  /** header */
6377
7002
  .rpivot-explorer-header {
@@ -6384,6 +7009,11 @@ button.rpivot-ai-param-run:hover {
6384
7009
  .rpivot-explorer-header .rpivot-button-bar button {
6385
7010
  font-size: 12px;
6386
7011
  }
7012
+ /** 폭이 좁을 때 닫기/메뉴 버튼 대신 모드 버튼 바가 잘리도록 한다. */
7013
+ .rpivot-explorer-header > .rpivot-button-bar {
7014
+ min-width: 0;
7015
+ overflow: hidden;
7016
+ }
6387
7017
  .rpivot-explorer-header-info {
6388
7018
  align-items: center;
6389
7019
  margin-left: 5px;
@@ -6411,6 +7041,7 @@ button.rpivot-ai-param-run:hover {
6411
7041
  display: inline-flex;
6412
7042
  align-items: center;
6413
7043
  justify-content: center;
7044
+ flex-shrink: 0;
6414
7045
  width: 22px;
6415
7046
  height: 24px;
6416
7047
  padding: 0;
@@ -6431,6 +7062,7 @@ button.rpivot-ai-param-run:hover {
6431
7062
  display: inline-flex;
6432
7063
  align-items: center;
6433
7064
  justify-content: center;
7065
+ flex-shrink: 0;
6434
7066
  width: 24px;
6435
7067
  height: 24px;
6436
7068
  padding: 0;
@@ -6528,7 +7160,12 @@ button.rpivot-ai-param-run:hover {
6528
7160
  background-size: contain;
6529
7161
  background-repeat: no-repeat;
6530
7162
  background-position: center;
6531
- }.rpivot-filterbar {
7163
+ }
7164
+ /* general.interactive: false (#392) - 설정·내보내기·실행 취소·다시 실행은 눌러도 동작하지 않으므로 숨긴다. */
7165
+ .rpivot-root[data-interactive="false"] .rpivot-menubar-item {
7166
+ display: none;
7167
+ }
7168
+ .rpivot-filterbar {
6532
7169
  display: flex;
6533
7170
  gap: 4px;
6534
7171
  align-items: center;
@@ -6575,7 +7212,16 @@ button.rpivot-ai-param-run:hover {
6575
7212
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E");
6576
7213
  -webkit-mask-size: contain;
6577
7214
  -webkit-mask-repeat: no-repeat;
6578
- }.rpivot-book-header {
7215
+ }
7216
+ /* general.interactive: false (#392) - 앞의 메뉴 바 항목이 모두 숨겨지므로 구분선을 없애고, 제목의 눌리는 모양도 없앤다. */
7217
+ .rpivot-root[data-interactive="false"] .rpivot-filterbar::before {
7218
+ display: none;
7219
+ }
7220
+ .rpivot-root[data-interactive="false"] .rpivot-filterbar-title:hover {
7221
+ color: #111;
7222
+ text-decoration: none;
7223
+ }
7224
+ .rpivot-book-header {
6579
7225
  display: flex;
6580
7226
  gap: 4px;
6581
7227
  background-color: var(--rpivot-book-header-bg);
@@ -6714,8 +7360,13 @@ button.rpivot-ai-param-run:hover {
6714
7360
  .rpivot-book-header-position-btn svg {
6715
7361
  width: 100%;
6716
7362
  height: 100%;
6717
- }.rpivot-ai-chat-query {
6718
- background-color: var(--rpivot-ai-prompter-query-bg);
7363
+ }
7364
+ /* general.interactive: false (#392) - 인스펙터·탐색기·AI 패널 위치 단추는 눌러도 동작하지 않으므로 막대째 숨긴다. 머리글 높이는 유지한다. */
7365
+ .rpivot-root[data-interactive="false"] .rpivot-book-header-layoutbar {
7366
+ visibility: hidden;
7367
+ }
7368
+ .rtool-ai-chat-query {
7369
+ background-color: var(--rtool-ai-prompter-query-bg);
6719
7370
  }.rpivot-tabbar {
6720
7371
  display: flex;
6721
7372
  align-items: center;
@@ -6887,12 +7538,22 @@ button.rpivot-ai-param-run:hover {
6887
7538
  transition: transform .25s ease;
6888
7539
  transform: scaleX(1);
6889
7540
  }
6890
- .rpivot-pagetab:hover:not([aria-selected]) {
7541
+ .rpivot-root:not([data-interactive="false"]) .rpivot-pagetab:hover:not([aria-selected]) {
6891
7542
  background-color: var(--rpivot-pagetab-hover-bg);
6892
7543
  }
6893
- .rpivot-pagetab:hover[aria-selected] {
7544
+ .rpivot-root:not([data-interactive="false"]) .rpivot-pagetab:hover[aria-selected] {
6894
7545
  background-color: var(--rpivot-pagetab-selected-hover-bg);
6895
- }.rpivot-book-footer {
7546
+ }
7547
+ /* general.interactive: false (#392) - 시트 이동·탭 스크롤·추가 단추는 눌러도 동작하지 않으므로 숨긴다.
7548
+ * 탭은 현재 시트를 보여 주므로 남기고 hover 배경만 없앤다. */
7549
+ .rpivot-root[data-interactive="false"] .rpivot-tabnavigator-btn,
7550
+ .rpivot-root[data-interactive="false"] .rpivot-tabbar-divider,
7551
+ .rpivot-root[data-interactive="false"] .rpivot-pagelist-scrollbtn,
7552
+ .rpivot-root[data-interactive="false"] .rpivot-tabbar-add,
7553
+ .rpivot-root[data-interactive="false"] .rpivot-tabbar-ai {
7554
+ display: none;
7555
+ }
7556
+ .rpivot-book-footer {
6896
7557
  background-color: var(--rpivot-book-footer-bg);
6897
7558
  display: flex;
6898
7559
  align-items: center;
@@ -6921,6 +7582,12 @@ button.rpivot-ai-param-run:hover {
6921
7582
  .rpivot-book-footer-count.filtered-count {
6922
7583
  color: var(--rpivot-book-footer-counts-filtered-color);
6923
7584
  }
7585
+
7586
+ /* general.interactive: false (#392) - 원본 행 수를 눌러도 탐색기가 열리지 않으므로 눌리는 모양을 없앤다. */
7587
+ .rpivot-root[data-interactive="false"] .rpivot-book-footer-count.source-count.clickable:hover {
7588
+ text-decoration: none;
7589
+ cursor: default;
7590
+ }
6924
7591
  .rpivot-field-panel-footer {
6925
7592
  display: flex;
6926
7593
  gap: 2px;
@@ -7116,6 +7783,14 @@ button.rpivot-ai-param-run:hover {
7116
7783
  .rpivot-inspector-field-menu:hover {
7117
7784
  background-image: var(--rpivot-field-menu-hover-bg);
7118
7785
  }
7786
+
7787
+ /* general.interactive: false (#392) - 끌 수도 메뉴를 열 수도 없으므로 hover 배경과 ⌄ 메뉴 단추를 없앤다. */
7788
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-field:hover {
7789
+ background-color: transparent;
7790
+ }
7791
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-field-menu {
7792
+ display: none;
7793
+ }
7119
7794
  .rpivot-field-section {
7120
7795
  display: flex;
7121
7796
  flex-direction: column;
@@ -7363,6 +8038,11 @@ button.rpivot-ai-param-run:hover {
7363
8038
  font-weight: 600;
7364
8039
  letter-spacing: 0.5px;
7365
8040
  }
8041
+
8042
+ /* general.interactive: false (#392) - 눌러도 열리지 않는 메뉴 단추는 숨긴다. */
8043
+ .rpivot-root[data-interactive="false"] .rpivot-field-section-menu {
8044
+ visibility: hidden;
8045
+ }
7366
8046
  .rpivot-inspector-all-field-section {
7367
8047
  flex: 1;
7368
8048
  border-style: solid;
@@ -7410,6 +8090,11 @@ button.rpivot-ai-param-run:hover {
7410
8090
  .rpivot-inspector-all-field-search-input::placeholder {
7411
8091
  color: var(--rpivot-inspector-text-muted);
7412
8092
  }
8093
+
8094
+ /* general.interactive: false (#392) - 글자를 입력할 수 없어야 하므로 검색란을 감춘다. */
8095
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-all-field-search {
8096
+ display: none;
8097
+ }
7413
8098
  .rpivot-dimension-field-section {
7414
8099
  }
7415
8100
  .rpivot-dimension-field {
@@ -7595,6 +8280,15 @@ button.rpivot-ai-param-run:hover {
7595
8280
  border-left: none;
7596
8281
  border-right: 2px solid var(--rpivot-dockable-splitter-bd);
7597
8282
  }
8283
+ /* general.interactive: false (#392) - 분할선을 끌 수 없으므로 hover해도 평소 모양을 유지한다. (커서·배경은 SplitterView.css) */
8284
+ .rpivot-root[data-interactive="false"] .rpivot-dockable-splitter:hover {
8285
+ border-right: none;
8286
+ border-left: 2px solid var(--rpivot-dockable-splitter-bd);
8287
+ }
8288
+ .rpivot-root[data-interactive="false"] .rpivot-dockable--left .rpivot-dockable-splitter:hover {
8289
+ border-left: none;
8290
+ border-right: 2px solid var(--rpivot-dockable-splitter-bd);
8291
+ }
7598
8292
 
7599
8293
  .rpivot-dockable-ghost-panel {
7600
8294
  position: fixed;
@@ -7715,7 +8409,20 @@ button.rpivot-ai-param-run:hover {
7715
8409
  .rpivot-inspector-resize--ne { top: -3px; right: -3px; width: 10px; height: 10px; }
7716
8410
  .rpivot-inspector-resize--nw { top: -3px; left: -3px; width: 10px; height: 10px; }
7717
8411
  .rpivot-inspector-resize--se { bottom: -3px; right: -3px; width: 10px; height: 10px; }
7718
- .rpivot-inspector-resize--sw { bottom: -3px; left: -3px; width: 10px; height: 10px; }/* HeadlessTabsView.css - 2026. 11. 11. created by gslim */
8412
+ .rpivot-inspector-resize--sw { bottom: -3px; left: -3px; width: 10px; height: 10px; }
8413
+ /* general.interactive: false (#392) - 눌러도 열리지 않는 ⋮ 메뉴 단추는 숨기고, 오른쪽 정렬은 다음 단추가 맡는다. */
8414
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-header .rpivot-inspector-menu {
8415
+ display: none;
8416
+ }
8417
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-header .rpivot-inspector-float {
8418
+ margin-left: auto;
8419
+ }
8420
+ /* 띄우기·닫기 단추도 눌러도 동작하지 않으므로 숨긴다. */
8421
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-header .rpivot-inspector-float,
8422
+ .rpivot-root[data-interactive="false"] .rpivot-inspector-header .rpivot-inspector-close {
8423
+ display: none;
8424
+ }
8425
+ /* HeadlessTabsView.css - 2026. 11. 11. created by gslim */
7719
8426
 
7720
8427
  .rpivot-headless-tabs {
7721
8428
  flex: 0 0 auto;
@@ -7787,7 +8494,7 @@ button.rpivot-ai-param-run:hover {
7787
8494
  color: var(--rpivot-ai-container-color);
7788
8495
  }
7789
8496
 
7790
- .rpivot-ai-container .rpivot-ai-prompter-response {
8497
+ .rpivot-ai-container .rtool-ai-prompter-response {
7791
8498
  border-top: transparent;
7792
8499
  }
7793
8500
 
@@ -7881,7 +8588,17 @@ button.rpivot-ai-param-run:hover {
7881
8588
  left: -3px;
7882
8589
  width: 10px;
7883
8590
  height: 10px;
7884
- }.rpivot-indicator {
8591
+ }
8592
+ /* general.interactive: false (#392) - 눌러도 동작하지 않는 메뉴·닫기 단추는 숨긴다. */
8593
+ .rpivot-root[data-interactive="false"] .rpivot-ai-container-menu,
8594
+ .rpivot-root[data-interactive="false"] .rpivot-ai-container-close {
8595
+ display: none;
8596
+ }
8597
+ /* general.interactive: false (#392) - 떠 있는 패널 크기 조정은 막혀 있으므로 핸들을 감춘다(커서는 inline style이라 핸들째 감춘다). */
8598
+ .rpivot-root[data-interactive="false"] .rpivot-ai-container-resize {
8599
+ display: none !important;
8600
+ }
8601
+ .rpivot-indicator {
7885
8602
  position: absolute;
7886
8603
  top: 50%;
7887
8604
  left: 0;
@@ -7999,7 +8716,7 @@ button.rpivot-ai-param-run:hover {
7999
8716
  .rpivot-add-table-page-footer {
8000
8717
  align-self: center;
8001
8718
  width: 100%;
8002
- max-width: var(--rpivot-ai-prompter-prompt-width);
8719
+ max-width: var(--rtool-ai-prompter-prompt-width);
8003
8720
  gap: 2px;
8004
8721
  justify-content: flex-end;
8005
8722
  margin-top: -24px;
@@ -8104,15 +8821,15 @@ button.rpivot-ai-param-run:hover {
8104
8821
  background-position: center;
8105
8822
  }
8106
8823
 
8107
- .rpivot-add-table-page .rpivot-ai-prompter-response {
8824
+ .rpivot-add-table-page .rtool-ai-prompter-response {
8108
8825
  align-self: center;
8109
8826
  width: 100%;
8110
- max-width: var(--rpivot-ai-prompter-response-width);
8827
+ max-width: var(--rtool-ai-prompter-response-width);
8111
8828
  }
8112
- .rpivot-add-table-page .rpivot-ai-prompter-prompt {
8829
+ .rpivot-add-table-page .rtool-ai-prompter-prompt {
8113
8830
  margin: 8px;
8114
8831
  }
8115
- .rpivot-add-table-page .rpivot-ai-chat-suggestion {
8832
+ .rpivot-add-table-page .rtool-ai-chat-suggestion {
8116
8833
  max-width: 320px;
8117
8834
  }
8118
8835