/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.hl-container{max-width:100%;margin:0 auto;padding:16px}
.hl-card{background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,14px);padding:20px}
.hl-kwrow{display:flex;gap:8px;margin-bottom:10px}
.hl-kwinput{flex:1;padding:9px 12px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);font-size:14px;background:var(--bg-card,#fff);color:var(--text-1,#333);outline:none}
.hl-kwinput:focus{border-color:var(--primary,var(--primary-hover))}
.hl-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;min-height:0}
.hl-chips:empty{display:none}
.hl-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:4px 6px 4px 10px;border-radius:999px;color:#333;font-weight:600}
.hl-chip-x{cursor:pointer;border:0;background:rgba(0,0,0,.15);color:#333;width:18px;height:18px;border-radius:50%;line-height:18px;font-size:12px}
.hl-opts{display:flex;gap:16px;margin-bottom:14px}
.hl-opt{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-2,#555);cursor:pointer;user-select:none}
.hl-opt input{accent-color:var(--primary,var(--primary-hover))}
.hl-field{margin-bottom:12px}
.hl-field-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.hl-field-title{font-weight:600;font-size:13px;color:var(--text-2,#555)}
.hl-meta{font-size:12px;color:var(--text-3,#94a3b8)}
.hl-text{width:100%;height:150px;padding:10px 12px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);font-size:14px;font-family:inherit;background:var(--bg-card,#fff);color:var(--text-1,#333);outline:none;resize:vertical;transition:border-color .15s}
.hl-text:focus{border-color:var(--primary,var(--primary-hover))}
.hl-preview{min-height:120px;max-height:260px;overflow:auto;padding:12px 14px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-soft,#f8fafc);font-size:14px;line-height:1.9;white-space:pre-wrap;word-break:break-word}
.hl-preview:empty::before{content:attr(data-i18n-ph);color:var(--text-3,#94a3b8)}
.hl-preview mark{padding:1px 3px;border-radius:4px;color:#1a1a1a;font-weight:600}
.hl-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.hl-btn{padding:8px 16px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px;transition:background .15s}
.hl-btn:hover{background:var(--primary-light)}

.hl-btn-main{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover))}
.hl-btn-main:hover{background:var(--primary-light);color:var(--primary)}

.hl-msg{margin-top:10px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none}
.hl-msg.show{display:block}
.hl-msg.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.hl-msg.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.hl-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8)}
.hl-footer span:last-child{margin-left:auto}
@media(max-width:640px){.hl-card{padding:14px}.hl-text{height:130px}.hl-btn{flex:1 1 auto}.hl-footer{flex-direction:column;gap:4px;text-align:center}.hl-footer span:last-child{margin-left:0}}
