/* ============================================================
   AI 文本引号 / 空格过滤工具 · 专属样式（quote-space-filter.css）
   ============================================================ */

:root {
    --paste-bg: #fffef9;
    --result-bg: #f4faf8;
    --text-muted:#8B8672;
    --brass:#A9884F;
}

/* ---------- Page intro ---------- */
.intro {
    padding: 48px 0 32px;
}

.eyebrow {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal-deep);
    background: rgba(31, 111, 99, 0.1);
    letter-spacing: 0.03em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

h1 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.3;
    margin: 0 0 14px;
}

.intro p {
    color: var(--muted);
    font-size: 15px;
    max-width: 60ch;
    margin: 0 0 8px;
}

.rule-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rule-list li {
    font-size: 14px;
    color: var(--ink);
    padding-left: 20px;
    position: relative;
}

.rule-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

/* ---------- Tool card ---------- */
.tool-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 40px;
}

.tool-card .box {
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 160px;
    padding: 14px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-y: auto;
    max-height: 400px;
}

#pasteArea {
    background: var(--paste-bg);
    outline: none;
}

#pasteArea:empty:before {
    content: "在这里粘贴 AI 生成的文本 / Word 内容 ...";
    color: #a3a39a;
}

#resultArea {
    background: var(--result-bg);
}

label.field-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: block;
    margin: 0 0 8px;
}

.options {
    background: #faf9f5;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 14px 0;
    font-size: 14px;
}

.options label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    cursor: pointer;
}

.options input[type="checkbox"] {
    accent-color: var(--teal);
    width: 15px;
    height: 15px;
}

.btn-row {
    margin: 16px 0 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    padding: 10px 20px;
    border: 1px solid var(--teal);
    background: var(--teal);
    color: #fff;
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

button.secondary {
    background: #fff;
    color: var(--teal);
}

button:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
button.secondary:hover { background: #f0f6f4; color: var(--teal-deep); border-color: var(--teal-deep); }

.stat {
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    color: var(--teal-deep);
    margin: 6px 0 0;
    min-height: 18px;
}

details { margin-top: 16px; }
summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 13px;
}
summary:hover { color: var(--teal); }

#rawHtml {
    width: 100%;
    height: 140px;
    box-sizing: border-box;
    font-family: "JetBrains Mono", Consolas, Menlo, monospace;
    font-size: 12px;
    color: #555;
    border: 1px dashed var(--line);
    padding: 8px;
    margin-top: 8px;
    border-radius: 6px;
}

/* ---------- FAQ / explanation section (SEO content) ---------- */
.faq {
    padding: 8px 24px 56px;
}

.faq h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 20px;
    margin: 0 0 18px;
}

.faq-item {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.faq-item h3 {
    font-size: 15px;
    margin: 0 0 6px;
}

.faq-item p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    max-width: 68ch;
}

.tool-footer-note{max-width:1200px;margin:0 auto;padding:0 28px 40px;font-size:12px;color:var(--text-muted);line-height:1.7;}
.tool-footer-note .box{border-top:1px solid var(--line);padding-top:16px;}

@media (max-width: 640px) {
    .btn-row button { flex: 1 1 auto; }
}
