File size: 25,293 Bytes
60c4292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
db3e82c
60c4292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
db3e82c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
:root {
  color-scheme: light;
  --ht-text: #302e29;
  --ht-heading: #282722;
  --ht-muted: #756f65;
  --ht-surface: #fffefa;
  --ht-paper: #f5f3ec;
  --ht-border: #dedbd1;
  --ht-accent: #ab3f2d;
}
html, body { background: var(--ht-paper) !important; }
.gradio-container {
  background: var(--ht-paper) !important;
  color: var(--ht-text) !important;
  font-family: 'DM Sans', 'Segoe UI', sans-serif !important;
  max-width: 1440px !important;
  padding: 0 clamp(16px, 4vw, 48px) !important;
  --body-background-fill: var(--ht-paper);
  --body-text-color: var(--ht-text);
  --body-text-color-subdued: var(--ht-muted);
  --background-fill-primary: var(--ht-surface);
  --background-fill-secondary: var(--ht-paper);
  --block-background-fill: transparent;
  --block-border-color: var(--ht-border);
  --block-label-text-color: var(--ht-text);
  --block-title-text-color: var(--ht-text);
  --input-background-fill: var(--ht-surface);
  --input-border-color: var(--ht-border);
  --input-text-color: var(--ht-text);
  --input-placeholder-color: #878277;
  --border-color-primary: var(--ht-border);
  --border-color-accent: var(--ht-accent);
  --button-primary-background-fill: var(--ht-accent);
  --button-primary-background-fill-hover: #913322;
  --button-primary-text-color: white;
  --button-secondary-background-fill: var(--ht-surface);
  --button-secondary-text-color: var(--ht-text);
  --color-accent: var(--ht-accent);
  --color-accent-soft: #f5e9e0;
  --checkbox-background-color-selected: var(--ht-accent);
  --checkbox-border-color-selected: var(--ht-accent);
}
.gradio-container * { font-family: inherit; }
#main_container { max-width: 1240px; margin: auto; gap: 0; }
#studio_header, #studio_footer { padding: 0 !important; border: 0 !important; background: transparent !important; }
#studio_header .masthead { height: 88px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ht-border); }
#studio_header .wordmark { font-size: 22px; font-weight: 650; letter-spacing: -1px; display: flex; align-items: center; gap: 11px; }
#studio_header .brand-mark { display: inline-grid; place-items: center; background: var(--ht-accent); color: #fff9ee; width: 35px; height: 35px; border-radius: 50%; font: italic 32px/1 'Instrument Serif', Georgia, serif; padding-bottom: 4px; }
#studio_header .brand-dot { font-size: 10px; align-self: flex-start; padding-top: 5px; margin-left: -7px; }
#studio_header .masthead-note { color: var(--ht-muted); font-size: 11px; margin-left: 12px; }
#studio_header .edition { margin-left: auto; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: var(--ht-muted); }
#studio_header .hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 70px; padding: 30px 0 32px; }
#studio_header .eyebrow { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 1.8px; font-weight: 600; color: var(--ht-muted); margin: 0 0 18px; }
#studio_header .eyebrow span { width: 5px; height: 5px; border-radius: 50%; background: var(--ht-accent); }
#studio_header .hero h1 { position: relative; width: fit-content; font: 76px/.91 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -1.8px; color: var(--ht-heading); margin: 0; }
#studio_header .hero h1 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--ht-accent); }
#studio_header .underline { position: absolute; width: 114px; height: 13px; bottom: -12px; right: 2px; stroke: var(--ht-accent); stroke-width: 1.4; fill: none; transform: rotate(-3deg); }
#studio_header .hero-description { font-size: 12px; line-height: 1.8; color: var(--ht-muted); margin: 24px 0 0; }
#studio_header .margin-note { padding: 22px 0 18px 30px; border-left: 1px solid #d2cbbd; transform: rotate(-2deg); }
#studio_header .note-top { display: flex; align-items: center; justify-content: space-between; font-size: 8px; font-weight: 600; letter-spacing: 1.5px; color: var(--ht-muted); }
#studio_header .note-top > span:last-child { color: var(--ht-accent); font-size: 25px; }
#studio_header .note-before { font: 24px/1.25 'Instrument Serif', Georgia, serif; color: #817b70; text-decoration: line-through; text-decoration-color: #b5a899; text-decoration-thickness: 1px; margin: 17px 0 12px; }
#studio_header .note-after { font: 34px/1.15 'Instrument Serif', Georgia, serif; color: var(--ht-accent); margin: 0 0 23px; }
#studio_header .note-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
#studio_header .handwritten { font: italic 17px 'Instrument Serif', Georgia, serif; color: var(--ht-muted); }
#studio_header .note-bottom > span:last-child { font-size: 7px; letter-spacing: 1px; color: var(--ht-muted); }
#studio_tabs { border: 1px solid var(--ht-border) !important; border-radius: 12px !important; padding: 0 !important; overflow: hidden; background: var(--ht-surface); box-shadow: 0 8px 25px #48331b06; }
#studio_tabs > .tab-nav, #studio_tabs > .tab-wrapper { background: #eeece4; border-bottom: 1px solid var(--ht-border); }
#studio_tabs .tab-nav { padding: 0 24px; gap: 24px; box-shadow: none; border-bottom: 1px solid var(--ht-border); }
#studio_tabs button[role=tab] { font-size: 12px; font-weight: 500; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; padding: 16px 0 13px !important; margin: 0 !important; color: var(--ht-muted) !important; }
#studio_tabs button[role=tab][aria-selected=true] { border: 1px solid var(--ht-accent) !important; border-radius: 5px !important; background: var(--ht-accent) !important; color: #fffaf1 !important; font-weight: 650 !important; padding: 10px 14px !important; margin: 6px 0 !important; }
#studio_tabs .tabitem { padding: 22px 24px 18px !important; border: none !important; }
.gradio-container .form { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.gradio-container .block { box-shadow: none; }
#voice_controls { align-items: end; gap: 30px; margin-bottom: 8px; }
#voice_presets, #length_control { border: 0 !important; padding: 0 !important; background: transparent !important; }
#voice_presets > .wrap { gap: 6px; }
#voice_presets label { border: 1px solid var(--ht-border) !important; border-radius: 5px !important; background: transparent !important; padding: 8px 16px !important; box-shadow: none !important; font-size: 11px !important; min-height: 35px; gap: 0; }
#voice_presets label.selected { background: #f5e9e0 !important; border-color: #d8b4a7 !important; color: #8f3425 !important; }
#voice_presets input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
#voice_presets label:has(input:focus-visible) { outline: 2px solid var(--ht-accent); outline-offset: 3px; }
.gradio-container .block-label, .gradio-container label > span { font-size: 11px; font-weight: 500; color: var(--ht-muted); }
#length_control .wrap { background: var(--ht-surface) !important; border-radius: 5px !important; border: 1px solid var(--ht-border); }
#length_control input { font-size: 11px !important; }
.humanizer-grid { gap: 0 !important; border: 1px solid var(--ht-border); border-radius: 7px; overflow: hidden; margin-top: 2px; background: var(--ht-surface); }
.humanizer-grid > .form { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 !important; width: 100% !important; }
.editor-column { min-width: 0 !important; gap: 0 !important; padding: 17px 19px 10px; }
#result_column { border-left: 1px solid var(--ht-border); background: #f8f8f2; }
.editor-heading { border: 0 !important; padding: 0 !important; background: transparent !important; }
.editor-heading p { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 5px; font-size: 12px; font-weight: 600; }
.editor-heading p span:last-child { font-size: 8px; font-weight: 500; letter-spacing: 1.3px; color: var(--ht-muted); }
#result_column .editor-heading p span:first-child { color: #54604a; }
#humanizer_input, #humanizer_output { border: 0 !important; background: transparent !important; padding: 0 !important; }
.gradio-container textarea { font-size: 14px !important; line-height: 1.8 !important; color: var(--ht-text) !important; -webkit-text-fill-color: var(--ht-text) !important; border: 1px solid var(--ht-border); border-radius: 5px; background: var(--ht-surface); }
#humanizer_input textarea, #humanizer_output textarea { height: 230px !important; min-height: 180px !important; max-height: 400px !important; padding: 12px 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; resize: vertical; }
.gradio-container textarea::placeholder { color: #8e887c !important; -webkit-text-fill-color: #8e887c !important; opacity: 1; }
#humanizer_output textarea::placeholder { font-family: 'Instrument Serif', Georgia, serif; font-size: 23px; line-height: 1.6; }
.text-stats { border: 0 !important; padding: 0 !important; background: transparent !important; min-height: 18px; }
.text-stats p { font-size: 9px !important; color: var(--ht-muted) !important; font-variant-numeric: tabular-nums; margin: 0 !important; }
.example-row { gap: 6px !important; align-items: center; margin-top: 2px; }
.example-row button, #clear_btn, #clear_canvas { flex-grow: 0 !important; min-width: 0 !important; width: auto; padding: 6px 11px !important; min-height: 30px; border: 1px solid var(--ht-border) !important; background: transparent !important; box-shadow: none !important; border-radius: 4px !important; font-size: 10px !important; font-weight: 450 !important; color: var(--ht-muted) !important; }
.example-label { flex-grow: 0 !important; min-width: 58px !important; width: auto !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.example-label p { font-size: 9px; color: var(--ht-muted); white-space: nowrap; margin: 0; }
#fine_tune, #review_panel { border: 0 !important; border-top: 1px solid var(--ht-border) !important; border-radius: 0 !important; margin-top: 5px; background: transparent !important; }
#fine_tune > button, #review_panel > button { padding: 13px 0 !important; font-size: 11px; color: var(--ht-muted); }
#fine_tune .label-wrap, #review_panel .label-wrap { font-size: 11px !important; }
#fine_tune .block { border: 0 !important; background: transparent !important; }
.action-row { align-items: center; gap: 20px; margin-top: 2px; }
#humanize_btn, #compose_btn { background: var(--ht-accent) !important; color: #fffaf1 !important; border: 1px solid var(--ht-accent) !important; border-radius: 6px !important; min-height: 46px; font-size: 12px !important; font-weight: 500 !important; box-shadow: 0 2px 1px #4023160c; }
#humanize_btn { max-width: 248px; }
#humanize_btn:hover, #compose_btn:hover { background: #913322 !important; transform: translateY(-1px); }
#humanize_btn:active, #compose_btn:active { transform: translateY(1px); }
.action-note { padding: 0 !important; border: 0 !important; background: transparent !important; }
.action-note p { font-size: 10px !important; color: var(--ht-muted) !important; margin: 0; }
.gradio-container button { transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.gradio-container button:focus-visible, .gradio-container textarea:focus-visible, .gradio-container input:focus-visible, .gradio-container a:focus-visible { outline: 2px solid var(--ht-accent) !important; outline-offset: 3px; }
.review-empty { color: var(--ht-muted); font-size: 12px; padding: 8px 0 14px; }
.review-legend { display: flex; gap: 20px; font-size: 10px; margin: 4px 0 14px; color: var(--ht-muted); }
.review-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2; font-size: 13px; padding: 14px 18px; background: #f7f5ee; border-radius: 5px; }
.review-text del { background: #f8e2dc; color: #873a2c; text-decoration: line-through; }
.review-text ins { background: #e5eddb; color: #39532d; text-decoration: underline; }
.studio-footer { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 27px; font-size: 9px; color: var(--ht-muted); gap: 18px; }
.studio-footer b { color: var(--ht-text); font-weight: 600; }
.privacy-note { padding: 10px 0 0 !important; border: 0 !important; background: transparent !important; }
.privacy-note p { color: var(--ht-muted); font-size: 9px; line-height: 1.6; }
.canvas-layout { gap: 24px !important; }
.canvas-controls { border-left: 1px solid var(--ht-border); padding-left: 22px; gap: 12px; }
.canvas-controls .block { background: transparent !important; border: 0 !important; }
.canvas-controls h3 { font: 24px 'Instrument Serif', Georgia, serif !important; margin: 0 0 8px !important; }
.canvas-controls p { font-size: 11px; color: var(--ht-muted); line-height: 1.7; }
#symbiotic_canvas { border: 1px solid var(--ht-border) !important; background: #faf9f4 !important; border-radius: 7px !important; height: 360px !important; }
#symbiotic_canvas .message { color: var(--ht-text) !important; font-size: 14px; line-height: 1.75; }
#chat_input textarea { min-height: 52px !important; padding: 12px; }
#canvas_intro { border: 0 !important; padding: 0 0 10px !important; background: transparent !important; }
#canvas_intro h2 { font: 28px 'Instrument Serif', Georgia, serif; color: var(--ht-heading); margin: 0 0 5px; }
#canvas_intro p { font-size: 11px; color: var(--ht-muted); }
#error_banner { border: 1px solid #ddb09e !important; background: #f9ece5 !important; border-radius: 6px; padding: 14px; }
@media (prefers-reduced-motion: reduce) { .gradio-container *, .gradio-container *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 1000px) {
  .gradio-container { padding: 0 28px !important; }
  #studio_header .hero { gap: 36px; }
  #studio_header .hero h1 { font-size: 67px; }
  #studio_header .note-after { font-size: 28px; }
  #studio_header .masthead-note { display: none; }
}
@media (max-width: 768px) {
  .gradio-container { padding: 0 18px !important; }
  #studio_header .masthead { height: 70px; }
  #studio_header .wordmark { font-size: 20px; }
  #studio_header .edition { font-size: 7px; letter-spacing: 1px; }
  #studio_header .hero { padding: 31px 0 30px; grid-template-columns: 1fr; gap: 0; }
  #studio_header .hero h1 { font-size: 66px; }
  #studio_header .hero-description { font-size: 12px; }
  #studio_header .margin-note { display: none; }
  #studio_tabs .tab-nav { padding: 0 15px; }
  #studio_tabs .tabitem { padding: 16px 14px !important; }
  #voice_controls { gap: 14px; }
  #voice_presets label { padding: 8px 10px !important; }
  .humanizer-grid > .form { grid-template-columns: 1fr; }
  .editor-column { flex-basis: 100% !important; padding: 14px; }
  #result_column { border-left: 0; border-top: 1px solid var(--ht-border); }
  #humanizer_input textarea, #humanizer_output textarea { height: 180px !important; min-height: 150px !important; }
  textarea, #length_control input { font-size: 16px !important; }
  #humanizer_output textarea::placeholder { font-size: 23px; }
  .example-row { gap: 6px !important; }
  .example-row button { font-size: 9px !important; padding: 7px 8px !important; }
  .example-label { display: none !important; }
  .action-row { gap: 10px; }
  #humanize_btn { max-width: none; width: 100%; flex-basis: 100% !important; }
  .action-note { text-align: center; }
  .studio-footer { align-items: flex-start; line-height: 1.8; }
  .studio-footer > span:last-child { display: none; }
  .canvas-controls { border-left: 0; border-top: 1px solid var(--ht-border); padding: 15px 0 0; }
  #symbiotic_canvas { height: 300px !important; }
  #compose_btn { min-width: 95px !important; }
}

/* Gradio's navigation wraps tabs in a fixed-height flex container. */
#studio_tabs > .tab-wrapper { height: 51px !important; min-height: 51px; }
#studio_tabs .tab-container { padding: 0 24px; gap: 26px; height: 51px; align-items: stretch; }
#studio_tabs button[role=tab] { min-height: 51px; font-size: 13px; }
.example-row button, #clear_btn, #clear_canvas { flex: 0 0 auto !important; font-size: 11px !important; min-height: 34px; white-space: nowrap; }
.text-stats p { font-size: 10px !important; }
.privacy-note p { font-size: 10px; }
@media(max-width: 768px) {
  #studio_tabs .tab-container { padding: 0 15px; gap: 24px; }
  .example-row button { font-size: 10px !important; min-height: 38px; }
}

/* The named new-conversation action owns clearing and is locked during generation. */
#symbiotic_canvas button[aria-label="Clear"],
#symbiotic_canvas button[title="Clear"] { display: none !important; }

/* Voice and Amplify extend the same paper-and-ink writing desk. */
.voice-portrait, .amplify-card { padding: 18px; border: 1px solid var(--ht-border); border-radius: 7px; background: var(--ht-surface); overflow-wrap: anywhere; }
.voice-portrait h3 { font: 30px 'Instrument Serif', Georgia, serif; color: var(--ht-accent); }
.voice-portrait p, .voice-hint, .amplify-card p { font-size: 12px; line-height: 1.7; }
.voice-hint { color: var(--ht-muted); }
.voice-portrait pre { white-space: pre-wrap; }
.source-warning { padding: 9px 12px; border-left: 3px solid #a56b25; background: #fff2d9; color: #714613; }
#amplify_results { gap: 16px; }
#studio_tabs .tab-container { overflow-x: auto; }
@media (max-width: 768px) {
  #studio_tabs .tab-container { gap: 18px; }
  #studio_tabs button[role=tab] { white-space: nowrap; font-size: 12px; }
  .voice-portrait, .amplify-card { padding: 12px; }
}

/* Ledger, authorship map, Voiceprint: the same desk, with the editor's marks showing. */
#studio_header .hero-description { max-width: 520px; font-size: 13px; }
#studio_header .note-after { font-size: 30px; }
.quiet { color: var(--ht-muted); font-size: 12px; line-height: 1.7; }
.tag { display: inline-block; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; background: #f5e9e0; color: #8f3425; margin-right: 6px; }
.tag.soft { background: #ece9df; color: #5d584f; }
.tag.kept { background: #e5eddb; color: #39532d; }
#notice, #plan_line, #summary { border: 0 !important; padding: 0 !important; background: transparent !important; }
#notice label { border: 1px solid var(--ht-border) !important; border-radius: 5px !important; background: var(--ht-surface) !important; font-size: 12px !important; }
#ask_row { align-items: end; margin-top: 10px; }
.plan { font-size: 12px; line-height: 1.8; color: var(--ht-text); margin: 6px 0; }
#plan_panel, #authorship_panel, #versions_panel, #ask_panel, #demo_panel { border: 0 !important; border-top: 1px solid var(--ht-border) !important; border-radius: 0 !important; background: transparent !important; }
.ht-summary { border: 1px solid var(--ht-border); border-radius: 7px; padding: 14px 18px; background: var(--ht-surface); margin-top: 10px; }
.ht-summary p { font-size: 13px; line-height: 1.7; margin: 0 0 6px; }
.ht-summary .mode.ghost { border-left: 3px solid #6c5b9c; padding-left: 10px; }
.ht-summary .mode.mirror { border-left: 3px solid #6f8a5a; padding-left: 10px; }
.ht-summary .counts { color: var(--ht-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.guard, .notice { padding: 8px 12px; border-left: 3px solid #6f8a5a; background: #eef3e7; color: #34492a; font-size: 12px; line-height: 1.6; }
.notice { border-left-color: #a56b25; background: #fff2d9; color: #714613; }
.warn-line { padding: 8px 12px; border-left: 3px solid var(--ht-accent); background: #f9ece5; font-size: 12px; line-height: 1.6; }
.estimates, .distance { display: grid; gap: 6px; margin: 10px 0 0; }
.estimates > div, .distance > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: baseline; }
.estimates dt, .distance dt { font-size: 12px; font-weight: 600; }
.estimates dd, .distance dd { margin: 0; font-size: 12px; line-height: 1.6; }
.lvl { display: inline-block; min-width: 70px; font-weight: 600; }
.lvl-high { color: #39532d; } .lvl-moderate { color: #7a5a17; } .lvl-low { color: #8f3425; }
.lvl-subjective, .lvl-not-assessed, .lvl-model-judgment { color: var(--ht-muted); }
.means, .distance small { color: var(--ht-muted); }
.distance .bar { display: inline-block; width: 90px; height: 6px; background: #ece9df; border-radius: 3px; margin-right: 10px; vertical-align: middle; }
.distance .bar i { display: block; height: 6px; background: var(--ht-accent); border-radius: 3px; }
.distance b { display: inline-block; min-width: 64px; }
.distance small { display: block; }
.ht-warnings h4, .ht-voice h4, .voice-portrait h4, .ht-compare h4, .ht-demo h4 { font: 20px 'Instrument Serif', Georgia, serif; margin: 14px 0 6px; color: var(--ht-heading); }
.warning { border: 1px solid var(--ht-border); border-left: 3px solid #a56b25; border-radius: 5px; padding: 10px 14px; margin: 8px 0; background: var(--ht-surface); }
.warning.sev-high { border-left-color: var(--ht-accent); }
.warning.sev-low { border-left-color: #b9b3a6; }
.warning p { font-size: 13px; line-height: 1.6; margin: 0 0 4px; }
.w-pair { font-size: 12px; line-height: 1.6; }
.w-pair span { display: inline-block; min-width: 68px; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--ht-muted); }
.w-fix, .audit { font-size: 12px; color: var(--ht-muted); }
.change { border: 1px solid var(--ht-border); border-radius: 5px; padding: 10px 14px; margin: 8px 0; background: var(--ht-surface); }
.change.restored { background: #f3f6ee; }
.change.restored ins { text-decoration: line-through; opacity: .6; }
.change header { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px; }
.change .num { font-size: 10px; letter-spacing: 1.2px; font-weight: 600; color: var(--ht-muted); margin-right: 6px; }
.change .pair { font-size: 14px; line-height: 1.7; margin: 2px 0; overflow-wrap: anywhere; }
.change del { background: #f8e2dc; color: #873a2c; text-decoration: none; padding: 1px 3px; border-radius: 2px; }
.change ins { background: #e5eddb; color: #39532d; text-decoration: none; padding: 1px 3px; border-radius: 2px; }
.change .meta { font-size: 11px; color: var(--ht-muted); margin: 0; }
#restore { border: 0 !important; background: transparent !important; padding: 6px 0 !important; }
#restore label { font-size: 12px !important; }
.map { font-size: 14px; line-height: 2.3; padding: 14px 18px; background: #faf9f4; border: 1px solid var(--ht-border); border-radius: 5px; overflow-wrap: anywhere; }
.map span { padding: 2px 3px; border-radius: 3px; }
.map sup { font-size: 9px; letter-spacing: .4px; color: #5d584f; margin-left: 3px; text-transform: uppercase; }
.p-original sup { display: none; }
.p-light { background: #f6efd2; } .p-heavy { background: #f1d9b5; } .p-moved { background: #dbe6f0; }
.p-added { background: #e4dff0; outline: 1px dashed #6c5b9c; } .p-restored { background: #dfeacf; }
.p-guard { background: #e9f0df; outline: 1px dashed #6f8a5a; } .p-user { background: #d6ebe6; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; margin: 8px 0; align-items: baseline; }
.legend span { padding: 1px 6px; border-radius: 3px; border: 1px solid var(--ht-border); }
.legend small { color: var(--ht-muted); margin-left: -8px; }
.ht-voice table, .ht-demo table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0; }
.ht-voice th, .ht-voice td, .ht-demo th, .ht-demo td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--ht-border); font-weight: 400; }
.ht-voice thead th { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--ht-muted); }
.ht-voice ul, .ht-compare ul, .voice-portrait ul { font-size: 13px; line-height: 1.8; padding-left: 18px; }
.sample { padding: 9px 12px; border-left: 3px solid #a56b25; background: #fff2d9; color: #714613; }
.sample-good { border-left-color: #6f8a5a; background: #eef3e7; color: #34492a; }
.dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.dim { border: 1px solid var(--ht-border); border-radius: 5px; padding: 10px 12px; }
.dim.off { opacity: .6; }
.dim header { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-bottom: 4px; font-size: 13px; }
.dim p { margin: 0; }
.dim q { display: block; font-style: italic; color: var(--ht-muted); }
.patterns span { display: inline-block; border: 1px solid var(--ht-border); border-radius: 14px; padding: 3px 10px; margin: 0 6px 6px 0; font-size: 12px; }
.download { display: inline-block; margin: 10px 0 4px; font-size: 12px; color: var(--ht-accent); text-decoration: underline; }
.voice-hint.active { color: #39532d; }
.ht-demo .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#cowrite_draft textarea { min-height: 200px; }
#unresolved p, #answer p { font-size: 13px; line-height: 1.7; }
@media (max-width: 768px) {
  .estimates > div, .distance > div { grid-template-columns: 1fr; gap: 0; }
  .ht-demo .cols { grid-template-columns: 1fr; }
}