File size: 4,210 Bytes
323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 7b5986a 323fa12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | .reasoning-panel {
position: relative;
overflow: visible;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(148, 163, 184, 0.025)),
rgba(10, 16, 27, 0.72);
box-shadow: none;
animation: content-fade-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reasoning-panel[hidden] {
display: none;
}
.reasoning-toggle {
display: flex;
align-items: center;
width: 100%;
min-height: 38px;
gap: 8px;
padding: 8px 11px;
color: var(--text-soft);
background: rgba(148, 163, 184, 0.055);
cursor: pointer;
text-align: left;
transition:
background 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
color 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reasoning-toggle:hover {
background: rgba(var(--accent-rgb), 0.11);
color: var(--accent-strong);
}
.reasoning-chevron {
display: grid;
place-items: center;
width: 15px;
height: 15px;
color: var(--accent-strong);
transition: transform 180ms ease;
}
.reasoning-title {
font-size: 12px;
font-weight: 730;
letter-spacing: 0;
}
.reasoning-time {
margin-left: auto;
color: var(--muted-strong);
font-size: 12px;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.reasoning-body {
max-height: 320px;
overflow: auto;
border-top: 1px solid var(--line);
transition:
max-height 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
opacity 180ms ease,
border-color 180ms ease;
}
.reasoning-effort {
padding: 0 12px 10px 34px;
}
.reasoning-effort[hidden] {
display: none;
}
.reasoning-effort-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 6px;
color: var(--muted-strong);
font-size: 11px;
line-height: 1.2;
}
.reasoning-effort-label,
.reasoning-effort-value {
white-space: nowrap;
}
.reasoning-effort-value {
color: #cfe7ff;
font-variant-numeric: tabular-nums;
}
.reasoning-effort-track {
height: 4px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
}
.reasoning-effort-fill {
width: 0%;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--accent-deep), var(--accent), #e0f2fe);
box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.28);
transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reasoning-effort.is-limit .reasoning-effort-fill {
background: linear-gradient(90deg, #1d4ed8, #bfdbfe, #f8fbff);
}
.reasoning-text {
padding: 12px 13px 13px;
color: #c8dcf4;
font-size: 13px;
line-height: 1.55;
overflow-wrap: anywhere;
}
.reasoning-text h1,
.reasoning-text h2,
.reasoning-text h3,
.reasoning-text h4 {
color: var(--accent-strong);
}
.reasoning-text strong {
color: #f7fbff;
}
.reasoning-text .katex-display {
margin: 0.28em 0;
}
.reasoning-preview {
display: none;
padding: 0 12px 13px 34px;
}
.reasoning-panel.is-collapsed.has-preview .reasoning-preview {
display: block;
}
.reasoning-preview[hidden] {
display: none;
}
.reasoning-preview-text {
position: relative;
color: #d4e9ff;
font-size: 13px;
line-height: 1.5;
overflow-wrap: anywhere;
white-space: normal;
}
.reasoning-preview-stable {
display: contents;
}
.reasoning-preview-live {
display: inline;
color: #d4e9ff;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.reasoning-preview-live-chunk {
animation: reasoning-preview-delta-in 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reasoning-preview-text p {
margin: 0 0 8px;
}
.reasoning-preview-text strong,
.reasoning-preview-text h1,
.reasoning-preview-text h2,
.reasoning-preview-text h3,
.reasoning-preview-text h4 {
color: #f7fbff;
}
.reasoning-preview-text .katex-display {
margin: 0.22em 0;
}
.reasoning-panel.is-collapsed .reasoning-chevron {
transform: rotate(-90deg);
}
.reasoning-panel.is-collapsed .reasoning-body {
max-height: 0;
opacity: 0;
border-top-color: transparent;
}
.reasoning-panel.is-streaming {
border-color: rgba(var(--accent-rgb), 0.34);
box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.07);
}
@keyframes reasoning-preview-delta-in {
from {
opacity: 0;
filter: blur(2px);
}
to {
opacity: 1;
filter: blur(0);
}
}
|