/* ===== 换牙记录墙 ===== */
#tcApp .tc-hero { text-align: center; padding: 12px 10px 0; }
#tcApp .tc-hero h1 { font-size: 30px; font-weight: 800; color: var(--c-text); margin-bottom: 10px; }
#tcApp .tc-hero p { font-size: 15px; color: var(--c-text-sub); line-height: 1.7; }

#tcApp .tc-panel {
    max-width: 780px; margin: 18px auto 0; background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-md);
}
#tcApp .tc-sec { font-size: 16px; font-weight: 800; color: var(--c-text); margin-bottom: 12px; text-align: center; }

#tcApp .tc-row { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: center; margin-bottom: 10px; }
#tcApp .tc-row.up { padding-bottom: 8px; border-bottom: 2px dashed var(--c-border); }
#tcApp .tc-tooth {
    width: 46px; min-width: 40px; border: 2px solid var(--c-border); border-radius: 10px 10px 14px 14px;
    background: #fff; padding: 6px 2px 4px; cursor: pointer; text-align: center; transition: .15s;
}
#tcApp .tc-tooth .tc-em { font-size: 20px; line-height: 1.1; display: block; }
#tcApp .tc-tooth .tc-nm { font-size: 9px; color: var(--c-text-sub); display: block; margin-top: 2px; }
#tcApp .tc-tooth:hover { border-color: var(--c-primary); }
#tcApp .tc-tooth.is-on { border-color: var(--c-primary); background: var(--c-primary-soft); }
#tcApp .tc-tooth.gone { border-style: dashed; background: #f8fafc; }
#tcApp .tc-tooth.gone .tc-em { opacity: .35; }
#tcApp .tc-tooth.new { border-color: var(--c-accent-green); background: #f0fdf4; }
#tcApp .tc-tooth.new .tc-em { opacity: 1; }

#tcApp .tc-mid { text-align: center; font-size: 12px; color: var(--c-text-sub); margin: 6px 0 10px; }

#tcApp .tc-edit {
    margin-top: 16px; background: var(--c-surface-soft); border: 1px solid var(--c-border);
    border-radius: 12px; padding: 14px;
}
#tcApp .tc-edit-title { font-size: 15px; font-weight: 800; color: var(--c-text); margin-bottom: 10px; text-align: center; }
#tcApp .tc-edit-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
#tcApp .tc-edit-row label { font-size: 13px; color: var(--c-text-sub); }
#tcApp .tc-edit-row input[type="date"] {
    border: 1px solid var(--c-border); border-radius: 8px; padding: 6px 8px; font-size: 14px;
    color: var(--c-text); background: #fff;
}
#tcApp .tc-st { border: 2px solid var(--c-border); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer; background: #fff; color: var(--c-text); }
#tcApp .tc-st.is-on { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary); }

#tcApp .tc-stat { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
#tcApp .tc-box { background: var(--c-primary-soft); border: 1px solid var(--c-border); border-radius: 12px; padding: 10px 16px; text-align: center; min-width: 104px; }
#tcApp .tc-box b { display: block; font-size: 22px; color: var(--c-primary); }
#tcApp .tc-box span { font-size: 12px; color: var(--c-text-sub); }

#tcApp .tc-list { margin-top: 16px; }
#tcApp .tc-li {
    display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--c-border); font-size: 14px; color: var(--c-text);
}
#tcApp .tc-li .tc-li-d { color: var(--c-text-sub); font-size: 13px; margin-left: auto; white-space: nowrap; }
#tcApp .tc-empty { text-align: center; font-size: 14px; color: var(--c-text-sub); padding: 14px; }

#tcApp .tc-ctrl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
#tcApp .tc-btn {
    border: none; border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 700; color: #fff;
    cursor: pointer; background: linear-gradient(135deg, var(--c-primary), var(--c-accent-cyan)); box-shadow: var(--shadow-md);
}
#tcApp .tc-btn.gray { background: var(--c-surface-2); color: var(--c-text); box-shadow: none; border: 1px solid var(--c-border); }

#tcApp .tc-ai, #tcApp .tc-info { max-width: 780px; margin: 30px auto 0; }
#tcApp .tc-ai h2, #tcApp .tc-info h2 { font-size: 20px; font-weight: 800; color: var(--c-text); margin-bottom: 10px; }
#tcApp .tc-ai p { font-size: 14px; color: var(--c-text-sub); line-height: 1.8; margin-bottom: 14px; }
#tcApp .tc-ai-row { display: flex; gap: 10px; flex-wrap: wrap; }
#tcApp .tc-out {
    margin-top: 14px; background: var(--c-surface-soft); border: 1px solid var(--c-border);
    border-radius: var(--radius-sm); padding: 16px 18px; font-size: 15px; line-height: 1.85;
    color: var(--c-text); white-space: pre-wrap;
}
#tcApp .tc-info ul { list-style: disc; padding-left: 22px; margin-bottom: 24px; }
#tcApp .tc-info li { font-size: 14px; line-height: 1.9; color: var(--c-text-sub); margin-bottom: 8px; }
#tcApp .tc-info li b { color: var(--c-text); }

@media print {
    body > * { display: none !important; }
    body > .detail-wrap { display: block !important; }
    .detail-breadcrumb, .detail-badges, .detail-title-row, .detail-tabs, .tab-panel, .related,
    .tc-hero, .tc-ai, .tc-info, .tc-edit, .tc-ctrl, .back-to-top, .nav-header, .footer, .theme-toggle { display: none !important; }
    #tcApp .tc-panel { max-width: 100%; border: 0; box-shadow: none; }
}

@media (max-width: 560px) {
    #tcApp .tc-hero h1 { font-size: 24px; }
    #tcApp .tc-tooth { width: 38px; min-width: 30px; }
    #tcApp .tc-tooth .tc-em { font-size: 17px; }
}
