/**
 * 轻量表单类工具：与灵涵主壳（暖纸 + 靛青）一致
 * 用于 ecom_seed_copy、live_sell_script、short_video_hook_pack 等
 * body 需加 class="page-lh-form-songyun"
 */

body.page-lh-form-songyun {
    --lh-form-nav: #f4f9f6;
}

body.page-lh-form-songyun .nav-header {
    background: var(--lh-form-nav) !important;
    border-bottom: 1px solid rgba(40, 36, 32, 0.09) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset !important;
}

body.page-lh-form-songyun .h5-tool-intro {
    margin-bottom: 4px;
}

body.page-lh-form-songyun .h5-tool-intro__badge {
    background: linear-gradient(140deg, #1e3a5f 0%, #2d4a73 100%) !important;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.2) !important;
}

body.page-lh-form-songyun .form-card {
    background: #fffcf9;
    border: 1px solid rgba(40, 36, 32, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.page-lh-form-songyun .form-title {
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.page-lh-form-songyun .form-title-icon {
    background: linear-gradient(155deg, #2d4a73, #1e3a5f) !important;
    color: #fff !important;
    box-shadow: 0 1px 4px rgba(30, 58, 95, 0.2);
}

body.page-lh-form-songyun .form-label {
    color: #475569;
    font-weight: 600;
    font-size: 13px;
}

body.page-lh-form-songyun .form-input,
body.page-lh-form-songyun .form-textarea {
    background: #ffffff !important;
    border: 1px solid rgba(40, 36, 32, 0.12) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) inset;
}

body.page-lh-form-songyun .form-input:focus,
body.page-lh-form-songyun .form-textarea:focus {
    border-color: rgba(30, 58, 95, 0.35) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1) !important;
}

/* 段选：胶囊 + 靛青选中 */
body.page-lh-form-songyun .option-grid {
    gap: 8px;
}

body.page-lh-form-songyun .option-btn {
    border-radius: 999px;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid rgba(40, 36, 32, 0.12) !important;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

body.page-lh-form-songyun .option-btn.active {
    background: #e4e4e7 !important;
    color: #0a0a0a !important;
    border: 1px solid #52525b !important;
    font-weight: 700;
    box-shadow: none;
}

body.page-lh-form-songyun .submit-btn:not(:disabled) {
    background: #18181b !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 700;
}

body.page-lh-form-songyun .submit-btn i {
    opacity: 0.95;
}

body.page-lh-form-songyun .result-header {
    margin-top: 4px;
    margin-bottom: 10px;
}

body.page-lh-form-songyun .result-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.page-lh-form-songyun .action-btn.primary,
body.page-lh-form-songyun .result-header .action-btn.secondary {
    background: #18181b !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    padding: 8px 14px;
    font-size: 12px;
    box-shadow: none;
}

body.page-lh-form-songyun .result-card {
    background: #fff;
    border: 1px solid rgba(40, 36, 32, 0.1);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

body.page-lh-form-songyun .result-card .lite-out {
    padding: 16px 16px 18px;
    font-size: 15px;
    line-height: 1.75;
    color: #1e293b;
}

/* 短视频钩子：列表行 + 行内复制 */
body.page-lh-form-songyun #list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.page-lh-form-songyun .hook-line {
    padding: 12px 12px 12px 14px;
    margin-bottom: 0 !important;
    background: #fff;
    border: 1px solid rgba(40, 36, 32, 0.1);
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

body.page-lh-form-songyun .hook-line button.action-btn {
    background: #f1f5f9 !important;
    border: 1px solid rgba(30, 58, 95, 0.25) !important;
    color: #1e3a5f !important;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
}

body.page-lh-form-songyun .hook-line button.action-btn:active {
    transform: scale(0.98);
}
