/* 工作日天数计算专属样式 */

/* 复用 gwr-result-grid 等样式，此文件只写差异部分 */

.ts-result {
    margin-top: 1.5rem;
}

/* 详细说明 */
.ts-detail {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* 结果网格（复用） */
.gwr-result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.gwr-res-card {
    text-align: center;
    padding: 1rem 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

.gwr-res-card.highlight {
    border-color: #2563eb;
    background: #eff6ff;
}

.gwr-res-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.gwr-res-val {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.gwr-res-card.highlight .gwr-res-val {
    color: #2563eb;
}

.gwr-res-unit {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.2rem;
}

/* 参考表 */
.tz-table-wrap { overflow-x: auto; }
.tz-ref-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tz-ref-table th { background: #f5f5f5; padding: 0.6rem 0.8rem; text-align: left; border-bottom: 2px solid #e0e0e0; font-weight: 600; }
.tz-ref-table td { padding: 0.6rem 0.8rem; border-bottom: 1px solid #f0f0f0; color: #444; }
.tz-ref-table tr:hover td { background: #fafafa; }

@media (max-width: 600px) {
    .gwr-result-grid { grid-template-columns: 1fr 1fr; }
}
