/* 宠物绝育费用与护理 pet-neuter-cost */
.pnc-head { margin-bottom: 14px; }
.pnc-head-icon, .pnc-head .head-icon { font-size: 30px; line-height: 1; }
.pnc-head .head-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg,#e5484d,#ff7a7f); margin-bottom: 10px; }
.pnc-headline { font-size: 20px; font-weight: 700; color: #1f2937; margin: 0 0 6px; }
.pnc-cond { font-size: 13px; color: #6b7280; line-height: 1.7; }

.pnc-recover { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.pnc-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #991b1b; background: #fef2f2; border: 1px solid rgba(229,72,77,.18); border-radius: 999px; padding: 5px 12px; }

.pnc-notes { margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.pnc-note { font-size: 13px; line-height: 1.7; border-radius: 10px; padding: 9px 12px; border: 1px solid transparent; }
.pnc-note.is-block { background: #fef2f2; border-color: rgba(185,28,28,.2); color: #991b1b; }
.pnc-note.is-warn { background: #fffbeb; border-color: rgba(180,83,9,.2); color: #92400e; }
.pnc-note.is-info { background: #eff6ff; border-color: rgba(37,99,235,.16); color: #1e40af; }
.pnc-note.is-ok { background: #f0fdf4; border-color: rgba(21,128,61,.18); color: #166534; }

.pnc-total-box { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; background: linear-gradient(135deg,#fff5f5,#ffe9ea); border: 1px solid rgba(229,72,77,.18); border-radius: 14px; padding: 16px 18px; margin: 6px 0 18px; }
.pnc-total-box .total-k { font-size: 13.5px; color: #6b7280; }
.pnc-total-box .total-v { font-size: 26px; font-weight: 800; color: #dc2626; letter-spacing: .5px; }

.pnc-block-title { font-size: 14.5px; font-weight: 700; color: #1f2937; margin: 20px 0 10px; padding-left: 10px; border-left: 3px solid #e5484d; }

.pnc-timeline { position: relative; margin: 0; padding: 0 0 4px; }
.pnc-tl-item { position: relative; display: flex; gap: 14px; padding: 0 0 16px; }
.pnc-tl-item::before { content: ''; position: absolute; left: 47px; top: 22px; bottom: 0; width: 2px; background: #f3d2d3; }
.pnc-tl-item:last-child::before { display: none; }
.pnc-tl-day { flex: 0 0 80px; height: fit-content; font-size: 11.5px; font-weight: 700; text-align: center; color: #b91c1c; background: #fef2f2; border-radius: 8px; padding: 4px 6px; line-height: 1.4; }
.pnc-tl-body { flex: 1; }
.pnc-tl-title { font-size: 13.5px; font-weight: 700; color: #1f2937; margin-bottom: 3px; }
.pnc-tl-desc { font-size: 12.5px; color: #6b7280; line-height: 1.7; }

.pnc-list { list-style: none; margin: 0; padding: 0; }
.pnc-list li { position: relative; font-size: 13px; color: #374151; line-height: 1.75; padding: 7px 0 7px 22px; border-bottom: 1px dashed #f0e0e0; }
.pnc-list li:last-child { border-bottom: none; }
.pnc-list li::before { content: '•'; position: absolute; left: 6px; top: 7px; color: #e5484d; font-weight: 700; }

.pnc-fees { display: flex; flex-direction: column; gap: 8px; }
.pnc-fee { border-radius: 10px; padding: 10px 12px; border: 1px solid #eee; }
.pnc-fee.is-on { background: #fef9f9; border-color: rgba(229,72,77,.22); }
.pnc-fee.is-off { background: #fafafa; opacity: .72; }
.pnc-fee .fee-top { display: flex; align-items: center; gap: 8px; }
.pnc-fee .fee-mark { font-size: 13px; }
.pnc-fee .fee-name { flex: 1; font-size: 13.5px; font-weight: 600; color: #1f2937; }
.pnc-fee .fee-price { font-size: 14px; font-weight: 800; color: #dc2626; white-space: nowrap; }
.pnc-fee.is-off .fee-price { color: #9ca3af; }
.pnc-fee .fee-note { font-size: 12px; color: #9ca3af; line-height: 1.6; margin-top: 3px; padding-left: 22px; }

.pnc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pnc-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #374151; background: #fcfcfd; border: 1px solid #eee; border-radius: 10px; padding: 9px 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.pnc-check:hover { border-color: rgba(229,72,77,.4); }
.pnc-check input { width: 16px; height: 16px; accent-color: #e5484d; cursor: pointer; flex: none; margin: 0; }
.pnc-check span { line-height: 1.4; }
.pnc-check em { display: block; font-style: normal; font-size: 11.5px; color: #dc2626; font-weight: 700; margin-top: 2px; }

.pnc-textarea { width: 100%; min-height: 260px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: 12.5px; line-height: 1.8; color: #374151; resize: vertical; background: #fcfcfd; font-family: inherit; }
.pnc-text-actions { display: flex; gap: 10px; margin-top: 10px; }

.pnc-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 16px); background: rgba(31,41,55,.94); color: #fff; font-size: 13px; padding: 10px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 999; max-width: 88vw; text-align: center; }
.pnc-toast.show { opacity: 1; transform: translate(-50%, 0); }

[data-theme="dark"] .pnc-headline,
[data-theme="dark"] .pnc-tl-title,
[data-theme="dark"] .pnc-fee .fee-name,
[data-theme="dark"] .pnc-block-title { color: #e5e7eb; }
[data-theme="dark"] .pnc-cond,
[data-theme="dark"] .pnc-tl-desc,
[data-theme="dark"] .pnc-fee .fee-note { color: #9ca3af; }
[data-theme="dark"] .pnc-chip { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.25); color: #fca5a5; }
[data-theme="dark"] .pnc-note.is-block { background: rgba(248,113,113,.1); color: #fca5a5; }
[data-theme="dark"] .pnc-note.is-warn { background: rgba(251,191,36,.1); color: #fcd34d; }
[data-theme="dark"] .pnc-note.is-info { background: rgba(96,165,250,.1); color: #93c5fd; }
[data-theme="dark"] .pnc-note.is-ok { background: rgba(74,222,128,.1); color: #86efac; }
[data-theme="dark"] .pnc-total-box { background: rgba(229,72,77,.08); border-color: rgba(248,113,113,.25); }
[data-theme="dark"] .pnc-total-box .total-k { color: #9ca3af; }
[data-theme="dark"] .pnc-total-box .total-v,
[data-theme="dark"] .pnc-fee .fee-price { color: #f87171; }
[data-theme="dark"] .pnc-tl-item::before { background: rgba(248,113,113,.25); }
[data-theme="dark"] .pnc-tl-day { background: rgba(248,113,113,.12); color: #fca5a5; }
[data-theme="dark"] .pnc-list li { color: #cbd5e1; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .pnc-fee.is-on { background: rgba(248,113,113,.07); border-color: rgba(248,113,113,.22); }
[data-theme="dark"] .pnc-fee.is-off { background: rgba(255,255,255,.03); }
[data-theme="dark"] .pnc-fee.is-off .fee-price { color: #6b7280; }
[data-theme="dark"] .pnc-check { background: rgba(255,255,255,.03); border-color: #2d333b; color: #cbd5e1; }
[data-theme="dark"] .pnc-check em { color: #f87171; }
[data-theme="dark"] .pnc-textarea { background: #161b22; border-color: #2d333b; color: #cbd5e1; }

@media print {
    .breadcrumb, .calc-layout .calc-card, .calc-table-card, .detail-tabs, .related-tools, .calc-disclaim, .ft-btns, .pnc-text-actions, .pnc-toast { display: none !important; }
    .calc-layout { display: block !important; }
    .calc-result-card { box-shadow: none !important; border: none !important; padding: 0 !important; }
    .pnc-tl-item, .pnc-fee { break-inside: avoid; }
}

@media (max-width: 640px) {
    .pnc-checks { grid-template-columns: 1fr; }
    .pnc-total-box .total-v { font-size: 22px; }
    .pnc-tl-item::before { left: 43px; }
    .pnc-tl-day { flex-basis: 72px; font-size: 11px; }
    .pnc-fee .fee-note { padding-left: 0; }
}
