.ruler-tip { font-size: 12px; color: #8a8f9a; margin: -6px 0 2px; }

.field-count { display: flex; flex-direction: column; gap: 8px; }
.field-count .fc-label { font-size: 13px; font-weight: 600; color: #1f2937; display: flex; align-items: baseline; gap: 8px; }
.field-count .fc-label i { font-style: normal; font-size: 12px; font-weight: 400; color: #9aa1ad; }

.field-count .radio-group { display: flex; flex-wrap: wrap; gap: 10px; }

/* 平台选择卡片 */
.sys-group { gap: 10px; }
.radio-card {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 10px;
    cursor: pointer; background: #fff; transition: all .15s ease;
    min-width: 118px; box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.radio-card:hover { border-color: #c7d2fe; background: #f8faff; }
.radio-card.active {
    border-color: #6366f1; background: linear-gradient(135deg,#eef2ff,#f5f7ff);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.radio-card input { display: none; }
.radio-card .sys-name { font-size: 14px; font-weight: 600; color: #1f2937; }
.radio-card.active .sys-name { color: #4338ca; }
.radio-card .sys-sub { font-size: 12px; color: #8a8f9a; }
.radio-card.active .sys-sub { color: #6d74e0; }

.sys-hint {
    margin-top: 2px; padding: 8px 12px; font-size: 12px; color: #6b7280;
    background: #f3f4f6; border-left: 3px solid #a5b4fc; border-radius: 6px; line-height: 1.6;
}

.gen-field { display: flex; flex-direction: column; gap: 6px; }
.gen-field label { font-size: 13px; font-weight: 600; color: #1f2937; }
.gen-field .lbl-tag {
    font-size: 10px; font-weight: 600; color: #6366f1; background: #eef2ff;
    padding: 1px 5px; border-radius: 4px; margin-left: 2px; vertical-align: 1px;
}
.gen-field .form-control {
    height: 40px; border-radius: 8px; border: 1px solid #e2e5ec;
    background: #fff; padding: 0 10px; transition: border-color .15s, box-shadow .15s;
}
.gen-field .form-control:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); outline: none; }

#secField { border-left: 3px solid #667eea; padding-left: 10px; }

.preset-block { margin-top: 4px; padding-top: 14px; border-top: 1px dashed #eef0f4; }
.preset-title { font-size: 13px; font-weight: 600; color: #1f2937; margin-bottom: 8px; }
.preset-block .ruler-tip { margin-top: 15px; }
.preset-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 10px; background: #f4f6fb; }
.preset-chips + .preset-chips { margin-top: 8px; }
.preset-chips .chip {
    padding: 6px 12px; font-size: 13px; border-radius: 999px;
    border: 1px solid #e4e7ee; background: #ffffff; color: #4b5563; transition: all .15s ease;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
    display: inline-flex; align-items: center; gap: 6px;
}
.preset-chips .chip:hover {
    border-color: #6366f1; color: #4338ca; background: #eef2ff; transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(99,102,241,.18);
}
.preset-chips .chip .chip-tag {
    font-size: 10px; font-weight: 600; line-height: 1; padding: 2px 5px;
    border-radius: 6px; background: #eef2ff; color: #6366f1;
}
.preset-chips .chip-off {
    opacity: .45; border-style: dashed; border-color: #d1d5db; background: #fafafa;
    color: #6b7280; cursor: not-allowed;
}
.preset-chips .chip-off:hover {
    transform: none; border-color: #c7d2fe; color: #6b7280; background: #f3f4f6;
    box-shadow: none;
}
.preset-chips .chip.active {
    border-color: #6366f1; color: #ffffff; background: #6366f1;
    box-shadow: 0 2px 8px rgba(99,102,241,.28);
}
.preset-chips .chip.active:hover {
    transform: translateY(-1px); color: #ffffff; background: #4f46e5;
}
.preset-chips .chip-off.chip.active {
    border-color: #d1d5db; background: #f3f4f6; color: #b0b5bf;
    box-shadow: none; cursor: not-allowed;
}

.calc-btn { width: 100%; }

/* 结果 */
.schedule-block { margin-top: 16px; }
.summary-row .item-value { color: #4b5563; font-weight: 500; }
.summary-row .item-name { flex: 0 0 auto; }

#cronExpr {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 26px; font-weight: 600; word-break: break-all;
    color: #4338ca; letter-spacing: .4px;
}
#cronExplain {
    max-width: 100%; white-space: normal;
    color: #4338ca; background: rgba(255,255,255,.92);
    font-weight: 600;
}

.hero-result {
    position: relative; border: 1px solid #e5e7eb; border-radius: 12px;
    background: linear-gradient(135deg,#eef2ff,#fbfbff); padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(99,102,241,.06);
}
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.hero-result .label { font-size: 12px; color: #8a8f9a; margin: 0; }
.sys-badge {
    font-size: 11px; font-weight: 600; color: #4338ca; background: #e6e8ff;
    padding: 2px 9px; border-radius: 999px; white-space: nowrap;
}

.schedule thead th {
    background: #f4f5fb; color: #4b5563; font-weight: 600; font-size: 12px;
    padding: 8px 12px; border-bottom: 1px solid #e2e5ec;
}
.schedule tbody td { padding: 8px 12px; font-size: 13px; }
.schedule tbody tr:hover { background: #f6f7ff; }

.empty-state { border: 1px dashed #d8dce4; background: #fbfcfe; border-radius: 12px; }

/* 知识文章美化 */
.seo-article { line-height: 1.85; color: #3f4857; }
.seo-article h2 {
    font-size: 18px; color: #1f2937; margin: 22px 0 10px; padding-left: 10px;
    border-left: 4px solid #6366f1; line-height: 1.4;
}
.seo-article table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; table-layout: fixed; }
.seo-article table th, .seo-article table td { text-align: left; vertical-align: middle; padding: 7px 10px; border: 1px solid #eef0f4; }
.seo-article table thead th { background: #eef2ff; color: #4338ca; font-weight: 600; }
.seo-article table thead th:first-child { width: 18%; }
.seo-article table thead th:nth-child(2) { width: 26%; }
.seo-article code {
    background: #eef2ff; color: #4338ca; padding: 1px 6px; border-radius: 5px;
    font-size: .92em; font-family: "SFMono-Regular", Consolas, monospace;
}
