grok-cli-to-openai-compatible 1.7.0 → 1.7.2

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.
@@ -731,11 +731,14 @@ body.nav-open .sidebar-backdrop {
731
731
  border-radius: var(--radius-xl);
732
732
  overflow: hidden;
733
733
  box-shadow: var(--shadow-sm);
734
+ min-width: 0;
735
+ max-width: 100%;
734
736
  }
735
737
  .panel-h {
736
738
  display: flex;
737
739
  justify-content: space-between;
738
740
  align-items: center;
741
+ flex-wrap: wrap;
739
742
  gap: 10px;
740
743
  padding: 14px 18px;
741
744
  border-bottom: 1px solid var(--border-color);
@@ -799,6 +802,7 @@ tr:hover td {
799
802
  font-weight: 700;
800
803
  background: var(--bg-subtle);
801
804
  color: var(--text-sub);
805
+ white-space: nowrap;
802
806
  }
803
807
  .badge.success {
804
808
  background: rgba(16, 185, 129, 0.12);
@@ -841,6 +845,9 @@ tr:hover td {
841
845
  overflow-x: auto;
842
846
  margin-top: 0;
843
847
  -webkit-overflow-scrolling: touch;
848
+ max-width: 100%;
849
+ min-width: 0;
850
+ height: auto;
844
851
  }
845
852
  /* Professional data table */
846
853
  .data-table-panel {
@@ -853,6 +860,11 @@ table.data-table {
853
860
  width: 100%;
854
861
  border-collapse: separate;
855
862
  border-spacing: 0;
863
+ height: auto;
864
+ }
865
+ table.data-table .cell-primary,
866
+ table.data-table .linkish {
867
+ overflow-wrap: anywhere;
856
868
  }
857
869
  table.data-table thead th {
858
870
  position: sticky;
@@ -907,6 +919,15 @@ table.data-table tbody td {
907
919
  vertical-align: middle;
908
920
  border-bottom: 1px solid var(--border-light);
909
921
  color: var(--text-main);
922
+ white-space: nowrap;
923
+ }
924
+ table.data-table tbody td:first-child,
925
+ table.data-table tbody td.is-primary,
926
+ table.data-table .cell-primary,
927
+ table.data-table .cell-sub,
928
+ table.data-table .audit-meta,
929
+ table.data-table .audit-id {
930
+ white-space: normal;
910
931
  }
911
932
  table.data-table tbody tr:last-child td {
912
933
  border-bottom: 0;
@@ -2027,11 +2048,18 @@ body.ui-dialog-open {
2027
2048
  text-align: left;
2028
2049
  cursor: default;
2029
2050
  min-height: 108px;
2051
+ min-width: 0;
2030
2052
  display: flex;
2031
2053
  flex-direction: column;
2032
2054
  justify-content: space-between;
2033
2055
  border: 1px solid var(--border-color);
2034
2056
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
2057
+ overflow: hidden;
2058
+ }
2059
+ .dash-kpi .label,
2060
+ .dash-kpi-sub {
2061
+ overflow-wrap: anywhere;
2062
+ word-break: break-word;
2035
2063
  }
2036
2064
  button.dash-kpi {
2037
2065
  font: inherit;
@@ -2050,6 +2078,8 @@ button.dash-kpi:hover {
2050
2078
  letter-spacing: -0.03em;
2051
2079
  line-height: 1.15;
2052
2080
  margin-top: 6px;
2081
+ overflow-wrap: anywhere;
2082
+ word-break: break-word;
2053
2083
  }
2054
2084
  .dash-kpi-den {
2055
2085
  font-size: 0.95rem;
@@ -2114,14 +2144,24 @@ button.dash-kpi:hover {
2114
2144
  border-radius: 0;
2115
2145
  }
2116
2146
  .dash-prot-row {
2117
- display: flex;
2118
- align-items: center;
2119
- justify-content: space-between;
2120
- gap: 10px;
2147
+ display: grid;
2148
+ grid-template-columns: minmax(0, 1fr) minmax(min-content, auto);
2149
+ align-items: start;
2150
+ gap: 6px 12px;
2121
2151
  margin-bottom: 10px;
2122
2152
  font-size: var(--text-sm);
2123
2153
  font-weight: 600;
2124
2154
  color: var(--text-sub);
2155
+ min-width: 0;
2156
+ }
2157
+ .dash-prot-row > :first-child {
2158
+ min-width: 0;
2159
+ }
2160
+ .dash-prot-row > :last-child {
2161
+ justify-self: end;
2162
+ text-align: right;
2163
+ min-width: 0;
2164
+ overflow-wrap: anywhere;
2125
2165
  }
2126
2166
  .dash-rule-row {
2127
2167
  display: flex;
@@ -2164,23 +2204,32 @@ button.dash-kpi:hover {
2164
2204
  line-height: 1.45;
2165
2205
  padding-top: 10px;
2166
2206
  border-top: 1px solid var(--border-light);
2207
+ overflow-wrap: anywhere;
2208
+ word-break: break-word;
2167
2209
  }
2168
2210
  .dash-bar-row {
2169
2211
  display: grid;
2170
- grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 36px;
2171
- gap: 8px;
2212
+ grid-template-columns: minmax(0, 1fr) auto;
2213
+ grid-template-areas:
2214
+ 'label n'
2215
+ 'track track';
2216
+ gap: 6px 8px;
2172
2217
  align-items: center;
2173
2218
  margin-bottom: 10px;
2219
+ min-width: 0;
2174
2220
  }
2175
2221
  .dash-bar-label {
2222
+ grid-area: label;
2176
2223
  font-size: 0.8rem;
2177
2224
  font-weight: 700;
2178
2225
  color: var(--text-main);
2179
2226
  overflow: hidden;
2180
2227
  text-overflow: ellipsis;
2181
2228
  white-space: nowrap;
2229
+ min-width: 0;
2182
2230
  }
2183
2231
  .dash-bar-track {
2232
+ grid-area: track;
2184
2233
  height: 8px;
2185
2234
  border-radius: 999px;
2186
2235
  background: var(--bg-subtle);
@@ -2193,10 +2242,12 @@ button.dash-kpi:hover {
2193
2242
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
2194
2243
  }
2195
2244
  .dash-bar-n {
2245
+ grid-area: n;
2196
2246
  text-align: right;
2197
2247
  font-size: 0.8rem;
2198
2248
  font-weight: 800;
2199
2249
  color: var(--text-sub);
2250
+ font-variant-numeric: tabular-nums;
2200
2251
  }
2201
2252
  .dash-runtime .dash-prot-row strong {
2202
2253
  font-size: 0.92rem;
@@ -2223,12 +2274,16 @@ button.dash-kpi:hover {
2223
2274
  grid-template-columns: 1fr;
2224
2275
  }
2225
2276
  }
2226
- @media (max-width: 640px) {
2277
+ @media (max-width: 900px) {
2227
2278
  .dash-kpi-grid {
2228
2279
  grid-template-columns: repeat(2, minmax(0, 1fr));
2229
2280
  }
2230
2281
  .dash-kpi {
2231
- min-height: 96px;
2282
+ min-height: 0;
2283
+ padding: 12px 14px;
2284
+ }
2285
+ .dash-kpi .value {
2286
+ font-size: 1.25rem;
2232
2287
  }
2233
2288
  }
2234
2289
 
@@ -3404,7 +3459,8 @@ button.dash-kpi:hover {
3404
3459
  padding-right: 56px;
3405
3460
  }
3406
3461
  .chat-toolbar {
3407
- flex-direction: column;
3462
+ display: grid;
3463
+ grid-template-columns: 1fr 1fr;
3408
3464
  align-items: stretch;
3409
3465
  }
3410
3466
  .chat-toolbar select,
@@ -3725,16 +3781,37 @@ button.dash-kpi:hover {
3725
3781
  font-size: 1.2rem;
3726
3782
  line-height: 1;
3727
3783
  }
3784
+ .chat-settings-bar {
3785
+ display: none;
3786
+ }
3728
3787
  .chat-toolbar {
3729
3788
  display: flex;
3730
3789
  flex-wrap: wrap;
3731
- gap: 12px 16px;
3790
+ gap: 10px 12px;
3732
3791
  align-items: flex-end;
3733
3792
  flex-shrink: 0;
3734
3793
  padding: 14px 16px;
3735
3794
  border-bottom: 1px solid var(--border-color);
3736
3795
  background: linear-gradient(180deg, #fff 0%, var(--bg-subtle) 100%);
3737
3796
  }
3797
+ .chat-toolbar > label {
3798
+ flex: 1 1 150px;
3799
+ min-width: 0;
3800
+ }
3801
+ .chat-toolbar .chat-field-full {
3802
+ flex: 2 1 260px;
3803
+ min-width: 0;
3804
+ }
3805
+ .chat-toolbar .chat-checks {
3806
+ flex: 1 1 100%;
3807
+ display: flex;
3808
+ flex-wrap: wrap;
3809
+ align-items: center;
3810
+ gap: 8px 16px;
3811
+ }
3812
+ .chat-toolbar #chat-system-toggle {
3813
+ flex: 0 0 auto;
3814
+ }
3738
3815
  .chat-system-wrap {
3739
3816
  flex-shrink: 0;
3740
3817
  padding: 10px 16px 12px;
@@ -3776,7 +3853,8 @@ button.dash-kpi:hover {
3776
3853
  box-shadow: var(--focus-ring);
3777
3854
  }
3778
3855
  #chat-system-toggle {
3779
- margin-left: auto;
3856
+ margin-left: 0;
3857
+ justify-self: start;
3780
3858
  min-height: var(--control-h-sm);
3781
3859
  color: var(--text-sub);
3782
3860
  font-weight: 700;
@@ -3802,7 +3880,8 @@ button.dash-kpi:hover {
3802
3880
  font-weight: 500;
3803
3881
  font-size: var(--text-sm);
3804
3882
  background: #fff;
3805
- min-width: 140px;
3883
+ width: 100%;
3884
+ min-width: 0;
3806
3885
  }
3807
3886
  .chat-toolbar .check-inline {
3808
3887
  flex-direction: row;
@@ -4807,3 +4886,559 @@ button.dash-kpi:hover {
4807
4886
  padding-top: 14px;
4808
4887
  border-top: 1px solid var(--border-light);
4809
4888
  }
4889
+
4890
+ /* ==========================================================================
4891
+ Responsive layout — desktop polish + mobile card-tables
4892
+ Must sit last so it wins over earlier .chat-toolbar / table rules.
4893
+ ========================================================================== */
4894
+
4895
+ .data-table-panel,
4896
+ .table-wrap,
4897
+ table.data-table,
4898
+ table.data-table tbody,
4899
+ table.data-table tbody tr {
4900
+ height: auto;
4901
+ }
4902
+ .audit-id,
4903
+ .audit-meta {
4904
+ max-width: none;
4905
+ }
4906
+ .dash-layout,
4907
+ .dash-main,
4908
+ .dash-side,
4909
+ .dash-panel,
4910
+ .panel-pad,
4911
+ .dash-runtime,
4912
+ .dash-prot {
4913
+ min-width: 0;
4914
+ }
4915
+ .dash-quick .btn {
4916
+ flex: 1 1 auto;
4917
+ min-width: 0;
4918
+ }
4919
+
4920
+ @media (max-width: 880px) {
4921
+ .main {
4922
+ padding: 14px 12px 24px;
4923
+ }
4924
+ .topbar {
4925
+ align-items: stretch;
4926
+ gap: 10px;
4927
+ margin-bottom: 14px;
4928
+ }
4929
+ .topbar h2 {
4930
+ font-size: 1.2rem;
4931
+ line-height: 1.3;
4932
+ }
4933
+ .topbar > .toolbar {
4934
+ width: 100%;
4935
+ }
4936
+ .topbar > .toolbar .btn {
4937
+ flex: 1 1 auto;
4938
+ justify-content: center;
4939
+ }
4940
+
4941
+ .grid {
4942
+ grid-template-columns: repeat(2, minmax(0, 1fr));
4943
+ gap: 10px;
4944
+ margin-bottom: 14px;
4945
+ }
4946
+ .card {
4947
+ padding: 12px 14px;
4948
+ min-width: 0;
4949
+ }
4950
+ .card .value,
4951
+ .card .value-sm,
4952
+ .value-sm {
4953
+ overflow-wrap: anywhere;
4954
+ word-break: break-word;
4955
+ }
4956
+
4957
+ .data-filter-grid,
4958
+ .chats-filter-grid {
4959
+ grid-template-columns: 1fr;
4960
+ }
4961
+ .data-filter,
4962
+ .chats-filter {
4963
+ padding: 12px 14px 14px;
4964
+ }
4965
+ .data-filter-actions,
4966
+ .chats-filter-actions {
4967
+ flex-direction: column-reverse;
4968
+ align-items: stretch;
4969
+ }
4970
+ .data-filter-actions .btn,
4971
+ .chats-filter-actions .btn {
4972
+ width: 100%;
4973
+ min-height: 44px;
4974
+ }
4975
+ .data-pager {
4976
+ flex-direction: column;
4977
+ align-items: stretch;
4978
+ }
4979
+ .data-pager-actions {
4980
+ display: grid;
4981
+ grid-template-columns: 1fr 1fr;
4982
+ }
4983
+ .data-pager-actions .btn {
4984
+ width: 100%;
4985
+ min-height: 44px;
4986
+ }
4987
+ .panel-h-meta {
4988
+ white-space: normal;
4989
+ }
4990
+
4991
+ /* ——— Card table (the main data-table component) ——— */
4992
+ .table-wrap {
4993
+ margin: 0;
4994
+ padding: 0;
4995
+ overflow: visible;
4996
+ -webkit-overflow-scrolling: auto;
4997
+ }
4998
+ .data-table-panel > .table-wrap {
4999
+ border-top: 0;
5000
+ }
5001
+
5002
+ table.data-table {
5003
+ display: block;
5004
+ width: 100%;
5005
+ height: auto !important;
5006
+ min-height: 0 !important;
5007
+ }
5008
+ table.data-table thead {
5009
+ display: block;
5010
+ width: 100%;
5011
+ }
5012
+ table.data-table thead tr {
5013
+ display: flex;
5014
+ flex-wrap: wrap;
5015
+ gap: 6px;
5016
+ padding: 10px 12px;
5017
+ background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
5018
+ border-bottom: 1px solid var(--border-light);
5019
+ }
5020
+ table.data-table thead th {
5021
+ position: static;
5022
+ display: none;
5023
+ width: auto;
5024
+ padding: 0;
5025
+ background: transparent;
5026
+ border: 0;
5027
+ white-space: nowrap;
5028
+ }
5029
+ table.data-table thead th.th-sort {
5030
+ display: inline-flex;
5031
+ }
5032
+ table.data-table thead th.th-sort .th-sort-btn {
5033
+ width: auto;
5034
+ padding: 6px 10px;
5035
+ border: 1px solid var(--border-color);
5036
+ border-radius: var(--radius-full);
5037
+ background: #fff;
5038
+ font-size: 0.72rem;
5039
+ min-height: 32px;
5040
+ }
5041
+ table.data-table thead:not(:has(.th-sort)) {
5042
+ display: none;
5043
+ }
5044
+
5045
+ table.data-table tbody {
5046
+ display: flex;
5047
+ flex-direction: column;
5048
+ gap: 10px;
5049
+ padding: 10px 10px 12px;
5050
+ height: auto !important;
5051
+ }
5052
+ table.data-table tbody tr {
5053
+ display: flex;
5054
+ flex-direction: column;
5055
+ gap: 0;
5056
+ background: #fff;
5057
+ border: 1px solid var(--border-color);
5058
+ border-radius: 12px;
5059
+ box-shadow: var(--shadow-xs);
5060
+ overflow: hidden;
5061
+ height: auto !important;
5062
+ min-height: 0;
5063
+ }
5064
+ table.data-table tbody tr:hover td {
5065
+ background: transparent;
5066
+ }
5067
+ table.data-table tbody td {
5068
+ display: grid;
5069
+ grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
5070
+ gap: 6px 12px;
5071
+ align-items: start;
5072
+ width: 100%;
5073
+ padding: 10px 14px;
5074
+ border-bottom: 1px solid var(--border-light);
5075
+ white-space: normal;
5076
+ overflow-wrap: anywhere;
5077
+ word-break: break-word;
5078
+ vertical-align: top;
5079
+ height: auto;
5080
+ }
5081
+ table.data-table tbody td:last-child {
5082
+ border-bottom: 0;
5083
+ }
5084
+ table.data-table tbody td::before {
5085
+ content: attr(data-label);
5086
+ font-size: 0.7rem;
5087
+ font-weight: 800;
5088
+ letter-spacing: 0.03em;
5089
+ color: var(--text-sub);
5090
+ line-height: 1.35;
5091
+ padding-top: 2px;
5092
+ }
5093
+ table.data-table tbody td:not([data-label])::before,
5094
+ table.data-table tbody td[data-label='']::before {
5095
+ content: none;
5096
+ }
5097
+ table.data-table tbody td:not([data-label]),
5098
+ table.data-table tbody td[data-label=''] {
5099
+ grid-template-columns: 1fr;
5100
+ }
5101
+
5102
+ table.data-table tbody td.is-primary,
5103
+ table.data-table tbody td:first-child:not(.is-actions) {
5104
+ display: block;
5105
+ background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
5106
+ padding-top: 12px;
5107
+ padding-bottom: 12px;
5108
+ }
5109
+ table.data-table tbody td.is-primary::before,
5110
+ table.data-table tbody td:first-child:not(.is-actions)::before {
5111
+ display: block;
5112
+ margin-bottom: 4px;
5113
+ }
5114
+ table.data-table tbody td.is-primary .cell-primary,
5115
+ table.data-table tbody td:first-child .cell-primary,
5116
+ table.data-table tbody td.is-primary .linkish,
5117
+ table.data-table tbody td:first-child .linkish {
5118
+ font-size: 0.95rem;
5119
+ font-weight: 800;
5120
+ word-break: break-word;
5121
+ }
5122
+ table.data-table tbody td > .badge,
5123
+ table.data-table tbody td .badge {
5124
+ justify-self: start;
5125
+ }
5126
+
5127
+ table.data-table tbody td.is-actions,
5128
+ table.data-table tbody td:has(> .row-actions),
5129
+ table.data-table tbody td.row-actions {
5130
+ display: flex;
5131
+ flex-wrap: wrap;
5132
+ justify-content: stretch;
5133
+ align-items: stretch;
5134
+ width: 100%;
5135
+ text-align: left;
5136
+ background: var(--bg-subtle);
5137
+ padding: 10px 12px;
5138
+ }
5139
+ table.data-table tbody td.is-actions::before,
5140
+ table.data-table tbody td:has(> .row-actions)::before,
5141
+ table.data-table tbody td.row-actions::before {
5142
+ content: none;
5143
+ }
5144
+ table.data-table .row-actions,
5145
+ table.data-table td.row-actions,
5146
+ table.data-table td.is-actions .row-actions {
5147
+ display: flex;
5148
+ flex-wrap: wrap;
5149
+ gap: 8px;
5150
+ width: 100%;
5151
+ max-width: none;
5152
+ margin: 0;
5153
+ justify-content: stretch;
5154
+ }
5155
+ table.data-table .row-actions .btn,
5156
+ table.data-table .row-actions .btn.sm,
5157
+ table.data-table td.is-actions .btn {
5158
+ flex: 1 1 calc(50% - 8px);
5159
+ min-width: 0;
5160
+ min-height: 40px;
5161
+ justify-content: center;
5162
+ }
5163
+
5164
+ table.data-table tbody tr.empty-row,
5165
+ table.data-table tbody tr:has(> td[colspan]) {
5166
+ border: 0;
5167
+ box-shadow: none;
5168
+ background: transparent;
5169
+ }
5170
+ table.data-table tbody tr.empty-row td,
5171
+ table.data-table tbody tr > td[colspan] {
5172
+ display: block;
5173
+ border: 0;
5174
+ padding: 28px 12px;
5175
+ text-align: center;
5176
+ background: transparent !important;
5177
+ }
5178
+ table.data-table tbody tr.empty-row td::before,
5179
+ table.data-table tbody tr > td[colspan]::before {
5180
+ content: none;
5181
+ }
5182
+
5183
+ .dash-embed-table {
5184
+ margin: 0 !important;
5185
+ }
5186
+ .dash-embed-table .table-wrap,
5187
+ .dash-embed-table table.data-table tbody {
5188
+ padding-left: 10px;
5189
+ padding-right: 10px;
5190
+ }
5191
+ .dash-embed-table table.data-table tbody {
5192
+ padding-top: 8px;
5193
+ }
5194
+
5195
+ /* Dashboard side panels: stack label / value so nothing is clipped */
5196
+ .dash-hero {
5197
+ flex-direction: column;
5198
+ align-items: stretch;
5199
+ gap: 10px;
5200
+ margin-bottom: 14px;
5201
+ }
5202
+ .dash-hero-meta {
5203
+ width: 100%;
5204
+ justify-content: space-between;
5205
+ }
5206
+ .dash-prot-row {
5207
+ grid-template-columns: 1fr;
5208
+ gap: 4px;
5209
+ }
5210
+ .dash-prot-row > :last-child {
5211
+ justify-self: start;
5212
+ text-align: left;
5213
+ max-width: 100%;
5214
+ font-weight: 700;
5215
+ }
5216
+ .dash-stat-grid {
5217
+ grid-template-columns: 1fr 1fr;
5218
+ gap: 10px;
5219
+ }
5220
+ .dash-stat-grid .value {
5221
+ overflow-wrap: anywhere;
5222
+ }
5223
+ .dash-quick {
5224
+ display: grid;
5225
+ grid-template-columns: 1fr 1fr;
5226
+ gap: 8px;
5227
+ }
5228
+ .dash-quick .btn {
5229
+ width: 100%;
5230
+ min-height: 40px;
5231
+ justify-content: center;
5232
+ }
5233
+ .dash-panel > .panel-h {
5234
+ padding: 12px 14px;
5235
+ }
5236
+ .panel-pad {
5237
+ padding: 14px;
5238
+ }
5239
+ .dash-rule-row {
5240
+ gap: 6px;
5241
+ }
5242
+
5243
+ /* Chat: fill the main pane; settings collapse so the transcript is visible */
5244
+ .main:has(.chat-page) {
5245
+ display: flex;
5246
+ flex-direction: column;
5247
+ overflow: hidden;
5248
+ padding: 8px 10px 10px;
5249
+ }
5250
+ .main:has(.chat-page) > .error-box {
5251
+ flex-shrink: 0;
5252
+ }
5253
+ .chat-page {
5254
+ flex: 1 1 auto;
5255
+ height: auto !important;
5256
+ min-height: 0 !important;
5257
+ max-height: none;
5258
+ }
5259
+ .chat-page > .topbar {
5260
+ margin-bottom: 8px;
5261
+ gap: 8px;
5262
+ }
5263
+ .chat-page > .topbar h2 {
5264
+ display: none;
5265
+ }
5266
+ .chat-page > .topbar > .toolbar {
5267
+ width: 100%;
5268
+ }
5269
+ .chat-page > .topbar > .toolbar .btn {
5270
+ flex: 1 1 auto;
5271
+ min-height: 40px;
5272
+ }
5273
+
5274
+ .chat-settings-bar {
5275
+ display: block;
5276
+ flex-shrink: 0;
5277
+ border-bottom: 1px solid var(--border-color);
5278
+ background: linear-gradient(180deg, #fff 0%, var(--bg-subtle) 100%);
5279
+ }
5280
+ .chat-settings-toggle {
5281
+ display: flex;
5282
+ align-items: center;
5283
+ justify-content: space-between;
5284
+ gap: 10px;
5285
+ width: 100%;
5286
+ min-height: 44px;
5287
+ padding: 8px 12px;
5288
+ border: 0;
5289
+ background: transparent;
5290
+ font: inherit;
5291
+ text-align: left;
5292
+ cursor: pointer;
5293
+ }
5294
+ .chat-settings-summary {
5295
+ min-width: 0;
5296
+ overflow: hidden;
5297
+ text-overflow: ellipsis;
5298
+ white-space: nowrap;
5299
+ font-size: var(--text-sm);
5300
+ font-weight: 700;
5301
+ color: var(--text-main);
5302
+ }
5303
+ .chat-settings-caret {
5304
+ flex-shrink: 0;
5305
+ font-size: var(--text-xs);
5306
+ font-weight: 800;
5307
+ color: var(--brand-blue);
5308
+ letter-spacing: 0.02em;
5309
+ }
5310
+ .chat-settings-toggle[aria-expanded='true'] .chat-settings-caret::after {
5311
+ content: ' ▴';
5312
+ }
5313
+ .chat-settings-toggle[aria-expanded='false'] .chat-settings-caret::after {
5314
+ content: ' ▾';
5315
+ }
5316
+
5317
+ .chat-toolbar {
5318
+ display: none !important;
5319
+ }
5320
+ .chat-shell.is-settings-open .chat-toolbar {
5321
+ display: grid !important;
5322
+ grid-template-columns: 1fr 1fr;
5323
+ align-items: stretch !important;
5324
+ gap: 10px;
5325
+ padding: 10px 12px 12px;
5326
+ max-height: min(36vh, 260px);
5327
+ overflow: auto;
5328
+ -webkit-overflow-scrolling: touch;
5329
+ border-bottom: 1px solid var(--border-color);
5330
+ }
5331
+ .chat-system-wrap {
5332
+ display: none !important;
5333
+ }
5334
+ .chat-shell.is-settings-open .chat-system-wrap:not([hidden]) {
5335
+ display: block !important;
5336
+ max-height: 110px;
5337
+ overflow: auto;
5338
+ }
5339
+ .chat-toolbar .chat-field-full,
5340
+ .chat-toolbar .chat-checks,
5341
+ .chat-toolbar #chat-system-toggle {
5342
+ grid-column: 1 / -1;
5343
+ width: 100%;
5344
+ margin-left: 0;
5345
+ }
5346
+ .chat-toolbar label {
5347
+ min-width: 0;
5348
+ width: 100%;
5349
+ }
5350
+ .chat-toolbar select,
5351
+ .chat-toolbar input:not([type='checkbox']) {
5352
+ width: 100%;
5353
+ min-width: 0;
5354
+ }
5355
+ .chat-toolbar .check-inline {
5356
+ width: auto;
5357
+ }
5358
+ .chat-toolbar .chat-checks {
5359
+ display: flex;
5360
+ flex-wrap: wrap;
5361
+ gap: 8px 14px;
5362
+ padding: 2px 0 0;
5363
+ }
5364
+ .chat-toolbar .chat-checks .check-inline {
5365
+ flex: 1 1 auto;
5366
+ min-height: 40px;
5367
+ }
5368
+ #chat-system-toggle {
5369
+ width: auto;
5370
+ justify-content: flex-start;
5371
+ justify-self: start;
5372
+ }
5373
+
5374
+ .chat-messages {
5375
+ flex: 1 1 auto;
5376
+ min-height: 160px;
5377
+ }
5378
+ .chat-composer {
5379
+ padding: 10px 12px 12px;
5380
+ gap: 8px;
5381
+ }
5382
+ .chat-composer textarea {
5383
+ min-height: 48px;
5384
+ max-height: 112px;
5385
+ padding: 10px 12px;
5386
+ }
5387
+ .chat-composer-actions {
5388
+ flex-direction: row !important;
5389
+ align-items: stretch;
5390
+ flex-wrap: wrap;
5391
+ }
5392
+ .chat-composer-left,
5393
+ .chat-composer-right {
5394
+ width: auto;
5395
+ flex: 1 1 auto;
5396
+ }
5397
+ .chat-formats-hint {
5398
+ display: none;
5399
+ }
5400
+
5401
+ .queue-status-row,
5402
+ .queue-status-row--6 {
5403
+ grid-template-columns: 1fr 1fr;
5404
+ }
5405
+ .system-inspect-grid {
5406
+ grid-template-columns: 1fr 1fr;
5407
+ }
5408
+ .media-kpi-grid,
5409
+ .system-kpi-grid,
5410
+ .api-feat-kpi-grid,
5411
+ .ddos-kpi-grid,
5412
+ .pm2-kpi-grid,
5413
+ .queue-kpi-grid {
5414
+ grid-template-columns: 1fr 1fr;
5415
+ }
5416
+
5417
+ .queue-job-err {
5418
+ max-width: none;
5419
+ white-space: normal;
5420
+ overflow: visible;
5421
+ text-overflow: unset;
5422
+ }
5423
+
5424
+ .support-wallets .data-table tbody td:last-child .btn {
5425
+ width: 100%;
5426
+ }
5427
+ }
5428
+
5429
+ @media (max-width: 480px) {
5430
+ .grid {
5431
+ grid-template-columns: 1fr 1fr;
5432
+ gap: 8px;
5433
+ }
5434
+ .dash-kpi .value {
5435
+ font-size: 1.1rem;
5436
+ }
5437
+ .dash-kpi-sub {
5438
+ font-size: 0.68rem;
5439
+ }
5440
+ table.data-table tbody td {
5441
+ grid-template-columns: minmax(78px, 32%) minmax(0, 1fr);
5442
+ padding: 9px 12px;
5443
+ }
5444
+ }