/* 个人所得税合并工具：银色渐变面板 + TAB 切换 */
.tax-wrap{max-width:1180px;margin:0 auto}
.tax-head{text-align:center;margin-bottom:18px}
.tax-head h2{font-size:22px;margin:0 0 8px;color:#111827}
.tax-head p{font-size:13px;color:#64748b;margin:0;line-height:1.7}
.tax-tabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:16px}
.tax-tab{border:1px solid #cbd5e1;background:linear-gradient(160deg,#fff,#eef2f7);color:#475569;border-radius:9px;padding:9px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:.16s}
.tax-tab:hover{border-color:#818cf8;color:#4338ca;background:#f5f3ff}
.tax-tab.active{background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 2px 8px rgba(79,70,229,.22)}
.tax-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px;align-items:start}
.tax-panel{background:linear-gradient(160deg,#ffffff 0%,#f6f8fb 62%,#eef2f7 100%);border:1px solid #dbe2ec;border-radius:14px;padding:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 2px 8px rgba(15,23,42,.05);min-width:0}
.tax-subhead{font-size:13px;font-weight:700;color:#1e293b;margin:16px 0 10px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}
.tax-subhead:first-child{margin-top:0}
.tax-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tax-field{min-width:0}
.tax-field label{display:block;font-size:12px;font-weight:600;color:#475569;margin-bottom:6px;line-height:1.4}
.tax-field .tool-input,.tax-field .tool-select{width:100%;box-sizing:border-box}
.tax-field small{display:block;font-size:11px;color:#94a3b8;margin-top:4px;line-height:1.4}
.tax-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.tax-btn{border:1px solid #4f46e5;border-radius:9px;background:#4f46e5;color:#fff;font-size:13px;font-weight:600;padding:10px 20px;cursor:pointer;transition:.15s}
.tax-btn:hover{background:#4338ca;border-color:#4338ca}
.tax-btn.ghost{background:#fff;border-color:#cbd5e1;color:#475569}
.tax-btn.ghost:hover{border-color:#818cf8;color:#4338ca;background:#f5f3ff}
.tax-result{min-height:260px}
.tax-empty{color:#94a3b8;font-size:13px;text-align:center;padding:64px 12px;line-height:1.7}
.tax-card h3{font-size:15px;margin:0 0 12px;color:#1e293b}
.tax-card .tool-table{width:100%}
.tax-card .tool-table td:last-child{text-align:right}
.tax-card .tool-table strong{color:#4338ca;font-weight:700}
.tax-tip{font-size:12px;line-height:1.7;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:9px;padding:10px 12px;margin-top:12px}
.tax-note{margin-top:14px}
.tax-note .tax-tip{margin-top:0;background:linear-gradient(160deg,#fffbeb,#fef3c7);border-color:#fde68a;color:#92400e}
.tax-details{margin-top:12px}
.tax-details summary{cursor:pointer;font-size:12px;font-weight:600;color:#4338ca;padding:8px 0}
.tax-scroll{max-height:320px;overflow:auto}
.tax-disclaimer{margin-top:16px;font-size:11px;line-height:1.7;color:#94a3b8;text-align:center;padding:10px 12px;border-top:1px solid #e2e8f0}
@media(max-width:860px){
  .tax-body{grid-template-columns:1fr}
  .tax-tabs{justify-content:flex-start}
}
@media(max-width:520px){
  .tax-grid{grid-template-columns:1fr}
  .tax-panel{padding:14px}
  .tax-tab{flex:1 1 auto;text-align:center;padding:9px 10px}
}
