.tool-card { background: #fff; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 24px; margin-bottom: 24px; }
.tool-attribution { background: #f0fafd; border-left: 4px solid #00b4d9; border-radius: 4px; padding: 14px 18px; font-size: 13px; color: #555; margin-bottom: 28px; }
.tool-section-title { font-size: 15px; font-weight: 700; color: #1a2a3b; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #00b4d9; }
.session-row td { vertical-align: middle; font-size: 13px; padding: 6px 6px; }
.session-row input { padding: 5px 8px; font-size: 13px; border: 1px solid #ced4da; border-radius: 4px; width: 100%; }
.session-row th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: #888; background: #f8f9fa; white-space: nowrap; }
.add-row-btn { background: none; border: 1px dashed #00b4d9; color: #00b4d9; border-radius: 4px; padding: 6px 16px; font-size: 13px; cursor: pointer; margin-top: 8px; }
.add-row-btn:hover { background: #f0fafd; }
.remove-btn { background: none; border: none; color: #ccc; cursor: pointer; font-size: 16px; padding: 0 6px; }
.remove-btn:hover { color: #e74c3c; }
.btn-calc { background: #00b4d9; color: #fff; border: none; padding: 10px 32px; border-radius: 4px; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-calc:hover { background: #0097b8; }
.summary-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.summary-box { flex: 1; min-width: 130px; background: #f8f9fa; border-radius: 6px; padding: 16px; text-align: center; border: 1px solid #e9ecef; }
.summary-box .s-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: #888; margin-bottom: 6px; }
.summary-box .s-value { font-size: 1.4rem; font-weight: 700; color: #252525; }
.summary-box.surplus .s-value { color: #27ae60; }
.summary-box.deficit .s-value { color: #c0392b; }
.results-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: #888; background: #f8f9fa; }
.results-table td { font-size: 13px; vertical-align: middle; }
.results-table .total-row { background: #f0fafd; font-weight: 700; }
.compliance-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.compliance-badge.met { background: #d4edda; color: #155724; }
.compliance-badge.not-met { background: #f8d7da; color: #721c24; }
.req-box { background: #f0fafd; border: 1px solid #c8e8f5; border-radius: 6px; padding: 20px 24px; margin-bottom: 24px; }
.req-box .req-number { font-size: 2rem; font-weight: 800; color: #00b4d9; line-height: 1; }
.req-box .req-label { font-size: 13px; color: #555; margin-top: 4px; }
.pcn-search-wrap { position: relative; display: inline-block; }
#pcn-suggestions { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #ced4da; border-radius: 4px; max-height: 240px; overflow-y: auto; z-index: 999; min-width: 320px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); display: none; }
.pcn-suggestion { padding: 9px 13px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.pcn-suggestion:last-child { border-bottom: none; }
.pcn-suggestion:hover { background: #f0fafd; }
.practice-req-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: #888; background: #f8f9fa; }
.practice-req-table td { font-size: 13px; vertical-align: middle; }
.practice-req-table .total-row { background: #f0fafd; font-weight: 700; }
.btn-export { background: #fff; color: #1a2a3b; border: 1px solid #ced4da; padding: 5px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-export:hover { background: #f8f9fa; border-color: #aaa; }
.chart-sub-title { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 4px; }
.chart-desc { font-size: 12px; color: #999; line-height: 1.6; margin-bottom: 14px; }
.chart-desc-green { color: #27ae60; font-weight: 600; }
.chart-desc-red { color: #c0392b; font-weight: 600; }
.chart-block { border-top: 1px solid #f0f0f0; padding-top: 24px; margin-bottom: 32px; }
.chart-block:first-child { border-top: none; padding-top: 0; }
.chart-block-header { margin-bottom: 12px; }

/* Floating action panel — desktop only */
.ea-action-panel { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,0.13); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; z-index: 200; min-width: 108px; }
.ea-ap-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: #bbb; text-align: center; margin-bottom: 2px; }
.ea-ap-btn { background: none; border: 1px solid #e8e8e8; border-radius: 4px; padding: 7px 10px; font-size: 12px; color: #444; cursor: pointer; text-align: left; white-space: nowrap; }
.ea-ap-btn:hover { background: #f8f9fa; border-color: #bbb; }
.ea-ap-divider { border-top: 1px solid #f0f0f0; margin: 2px 0; }
.ea-ap-status { font-size: 11px; color: #27ae60; text-align: center; min-height: 14px; }

@media (max-width: 991px) {
  .ea-action-panel { display: none; }
}

@media (min-width: 992px) {
  .ea-mobile-actions { display: none !important; }
  #results-export-toolbar { display: none !important; }
}

@media print {
  body * { visibility: hidden !important; }
  #print-region, #print-region * { visibility: visible !important; }
  #print-region { position: absolute; top: 0; left: 0; width: 100%; padding: 20px; }
  .tool-card { box-shadow: none !important; border: 1px solid #ddd !important; page-break-inside: avoid; }
  .tool-section-title { border-bottom: 2px solid #00b4d9 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .compliance-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .summary-box { border: 1px solid #ddd !important; }
  .results-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #f8f9fa !important; }
  .total-row { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #f0fafd !important; }
  #results-export-toolbar, #shortfall-advisor, .ea-action-panel { display: none !important; }
  #print-header { display: block !important; }
  #practice-charts-area { display: none !important; }
}

#print-header { display: none; }
