.layui-layer{background:#0A0E27 !important;border-color:#202330 !important;color:#fff !important}
.layui-layer-title{color:#fff !important}
        .tool_llms_link_item { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
        .tool_llms_link_field { flex: 1; display: flex; flex-direction: column; }
        .tool_llms_link_remove { height: 38px; width: 38px; border: none; background: #fee2e2; color: #ef4444; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
        .tool_llms_link_remove:hover { background: #ef4444; color: white; }
        
        .tool_llms_detect_btn { position: relative; overflow: hidden; }
        .tool_llms_detect_btn.loading { opacity: 0.85; pointer-events: none; }
        .tool_llms_progress-bar {
            position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            border-radius: 0 2px 2px 0; display: none;
        }
        .tool_llms_detect_btn.loading .tool_llms_progress-bar {
            display: block; animation: llms-progress 2s ease-in-out infinite;
        }
        @keyframes llms-progress {
            0%   { width: 0; left: 0; }
            50%  { width: 70%; left: 15%; }
            100% { width: 0; left: 100%; }
        }

        .tool_llms_optional_section.hidden { display: none; }
.tool_llms_container{max-width:1240px;margin:0 auto;padding:20px;color:#333;line-height:1.6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.tool_llms_breadcrumb{font-size:14px;color:#666;margin-bottom:20px;display:flex;align-items:center}
.tool_llms_breadcrumb svg{width:14px;margin:0 5px}
.tool_llms_breadcrumb a{color:#9CA3AF;text-decoration:none;font-size:14px}
.tool_llms_breadcrumb span:last-child{color:#fff;font-weight:500}
.tool_llms_top_layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}
.tool_llms_card{background:#0E111F;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.05);padding:30px;margin-bottom:20px;border:1px solid #202330}
.tool_llms_card_title{font-size:18px;font-weight:bold;color:#fff;margin-bottom:20px}
.tool_llms_form_group{margin-bottom:20px}
.tool_llms_form_group label{display:block;font-size:14px;color:rgba(255,255,255,.7);;margin-bottom:8px;font-weight:500}
.tool_llms_input{width:100%;height:44px;padding:0 15px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;transition:border-color 0.3s;background:#242641;color:#fff;}
.tool_llms_textarea{width:100%;min-height:100px;padding:15px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;resize:vertical;transition:border-color 0.3s;font-family:inherit;background:#242641;color:#fff;}
.tool_llms_textarea:focus{border-color:#409eff}
.tool_llms_detect_box{display:flex;gap:12px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #33354E}
.tool_llms_detect_btn{height:44px;padding:0 24px;background:#60a5fa;color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;white-space:nowrap;transition:background 0.3s;display:flex;align-items:center;gap:6px}
.tool_llms_detect_btn:hover{background:#3b82f6}
.tool_llms_links_header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.tool_llms_links_title{font-size:16px;font-weight:600;color:#fff}
.tool_llms_add_row_btn{height:36px;padding:0 16px;background:#f3f4f6;color:#374151;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:background 0.3s}
.tool_llms_add_row_btn:hover{background:#e5e7eb}
.tool_llms_optional_toggle{display:flex;align-items:center;gap:8px;font-size:14px;color:#fff;margin-top:20px}
.tool_llms_optional_toggle input{margin:0}
.tool_llms_link_item{display:flex;gap:10px;margin-bottom:16px;padding:16px;background:#0E111F;border:1px solid #33354E;border-radius:6px;align-items:flex-end;}
.tool_llms_link_field{ flex:1;display:flex;flex-direction:column;gap:4px;min-width:0;}
.tool_llms_link_label{font-size:12px;color:rgba(255,255,255,.7);margin-bottom:5px;line-height:1}
.tool_llms_link_field .tool_llms_input{height:40px;font-size:14px;border:1px solid #33354E;background:#242641;color:#fff;}
.tool_llms_link_remove{width:40px;height:40px;flex-shrink:0;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:4px;transition:all 0.2s;display:flex;align-items:center;justify-content:center;}
.tool_llms_link_remove:hover{color:#ef4444;background:#fef2f2}
.tool_llms_link_remove svg{width:18px;height:18px}
.tool_llms_preview_sticky{position:sticky;top:20px}
.tool_llms_preview_container{background:#0A0E27;border-radius:8px;overflow:hidden;border:1px solid #33354E}
.tool_llms_preview_header{padding:16px 24px;background:#fff}
.tool_llms_generate_btn{width:100%;height:44px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:background 0.3s}
.tool_llms_generate_btn:hover{background:#2563eb}
.tool_llms_tab_nav{display:flex;gap:8px;margin:0 20px;border-bottom:1px solid #33354E}
.tool_llms_tab_item{padding:8px 20px;border-radius:6px 6px 0 0;font-size:14px;font-weight:500;cursor:pointer;transition:all 0.3s;border:1px solid transparent;background:#0A0E27;color:#fff;}
.tool_llms_tab_item.active{background:#3B82F6;color:#fff;border-color:#33354E;border-bottom-color:#33354E}
.tool_llms_tab_content{padding:20px}
.tool_llms_tab_hint{font-size:13px;color:#6b7280;margin-bottom:16px}
.tool_llms_code_wrapper{border-radius:6px;overflow:hidden;border:1px solid #33354E}
.tool_llms_code_header{padding:12px 16px;background:#f3f4f6;font-size:14px;font-weight:500;color:#374151}
.tool_llms_code_body{background:#1e293b;height:350px;overflow:auto;padding:20px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px;color:#e2e8f0;white-space:pre-wrap;word-break:break-all;min-height:300px}
.tool_llms_title{font-size:18px;font-weight:bold;color:#fff;margin-bottom:15px}
.tool_llms_mt_large{margin-top:30px}
.tool_llms_list{color:#555;font-size:14px}
.tool_llms_list li{margin-bottom:8px;color:rgba(255,255,255,.7);}
.tool_llms_text{color:rgba(255,255,255,.7);;font-size:14px}
.tool_llms_preview_header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#0A0E27;color:#fff;font-size:14px}
.tool_llms_preview_actions{display:flex;gap:8px}
.tool_llms_preview_btn{height:32px;padding:0 16px;background:#334155;color:#cbd5e1;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:background 0.3s}
.tool_llms_preview_btn:hover{background:#475569}
@media screen and (max-width:900px){
    .tool_llms_top_layout{grid-template-columns:1fr}
    .tool_llms_preview_sticky{position:static}
    .tool_llms_container{padding:15px}
    .tool_llms_card{padding:20px}
    .tool_llms_detect_box{flex-direction:column}
    .tool_llms_preview_header{padding:12px}
    .tool_llms_generate_btn{height:40px;font-size:15px}
    .tool_llms_tab_nav{gap:4px}
    .tool_llms_tab_item{padding:6px 12px;font-size:13px}
    .tool_llms_code_body{padding:15px;font-size:12px;min-height:240px}
    .tool_llms_link_item {flex-direction:column;gap:12px;align-items:stretch;}
    .tool_llms_link_field {flex:none;width:100%;}
    .tool_llms_link_remove {width:100%;height:36px;background:#fef2f2;color:#ef4444;font-size:14px;font-weight:500;margin-top:4px;}
    .tool_llms_link_remove:hover{background:#fee2e2;color:#dc2626}
    .tool_llms_link_remove svg{display:none}
    .tool_llms_link_remove::after{content:"删除此行"}
}