
/* Reset & Base - Modern AutoCFO inspired */
:root {
  --primary: #0f172a; /* Slate 900 */
  --primary-light: #1e293b;
  --accent: #2563eb; /* Blue 600 */
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-sub: #64748b;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.ctc-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  color: var(--text-main);
}

.ctc-wrapper * {
  box-sizing: border-box;
}

/* Header */
.ctc-header {
  text-align: center;
  margin-bottom: 50px;
}

.ctc-header h2 {
  margin: 0 0 24px 0;
  color: var(--primary);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Toggle Switch - Premium Sleek */
.ctc-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #f0f4f9;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.ctc-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  margin: 0 8px;
}

.ctc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ctc-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e2e8f0;
  transition: background 0.4s ease;
  border-radius: 999px;
}

.ctc-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

input:checked + .ctc-slider {
  background: #2563eb;
}

input:checked + .ctc-slider:before {
  transform: translateX(26px) translateY(-50%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.ctc-toggle-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-sub);
    padding: 6px 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

/* Controls */
.ctc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  padding: 24px;
  background: #4db8a8;
  border-radius: var(--radius);
  border: 1px solid #3da599;
  color: #fff;
}

.ctc-form-group {
  flex: 1;
  min-width: 250px;
}

.ctc-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ctc-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #0f172a;
  transition: all 0.2s;
  font-weight: 500;
}

.ctc-input option {
  color: #0f172a;
  background: #fff;
}

.ctc-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.ctc-checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px; 
}

.ctc-checkbox-group input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.ctc-checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  text-transform: none;
}

/* Grid Inputs */
.ctc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.ctc-person-column h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctc-person-column h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--accent);
    border-radius: 2px;
}

.ctc-person-column.hidden {
  display: none;
}

/* Accordion Styles */
.ctc-accordion-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}

.ctc-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    background: var(--bg-soft);
    transition: background 0.2s;
}

.ctc-accordion-toggle:hover {
    background: #f1f5f9;
}

.ctc-accordion-header-content {
    display: flex;
    flex-direction: column;
}

.ctc-accordion-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.ctc-accordion-total {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-top: 2px;
}

.ctc-chevron {
    color: var(--text-sub);
    transition: transform 0.2s;
}

.ctc-chevron.expanded {
    transform: rotate(180deg);
}

.ctc-accordion-content {
    max-height: 1000px;
    transition: max-height 0.3s ease-in-out, opacity 0.3s;
    opacity: 1;
}

.ctc-accordion-content.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.ctc-accordion-inner {
    padding: 16px;
    border-top: 1px solid var(--border);
}

/* Fields */
.ctc-field {
  margin-bottom: 16px;
}

.ctc-field-with-toggle {
  margin-bottom: 16px;
}

.ctc-field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ctc-field-label-row label:first-child {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 0;
}

.ctc-ei-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-sub);
}

.ctc-ei-checkbox {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}

.ctc-ei-label {
  font-weight: 500;
  white-space: nowrap;
}

.ctc-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-sub);
  font-weight: 500;
}

/* Tooltip */
.ctc-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  color: #94a3b8;
  transition: color 0.2s;
}

.ctc-tooltip:hover {
  color: #64748b;
}

.ctc-tooltip svg {
  display: block;
}

.ctc-tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  width: 220px;
  text-align: center;
  z-index: 100;
  transition: opacity 0.2s, visibility 0.2s;
}

.ctc-tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

.ctc-tooltip-text::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-top-color: #e2e8f0;
}

.ctc-tooltip:hover .ctc-tooltip-text {
  visibility: visible;
  opacity: 1;
}

.ctc-input-wrapper {
  position: relative;
}

.ctc-input-symbol {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.85rem;
  pointer-events: none;
}

.ctc-input-field {
  width: 100%;
  padding: 10px 16px 10px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background: #fff;
  color: var(--text-main);
}

.ctc-input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* Results */
.ctc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  background: transparent;
  padding: 0;
}

/* Inputs wrapper for layout */
.ctc-inputs-wrapper {
  position: relative;
  min-height: 400px;
}

/* Single person desktop layout - inputs left, breakdown right */
@media (min-width: 900px) {
  .ctc-inputs-wrapper.single-person-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  
  .ctc-inputs-wrapper.single-person-layout .ctc-grid {
    flex: 1;
  }
  
  .ctc-results.single-person {
    flex: 1;
  }
  
  .ctc-results.single-person .ctc-result-card {
    padding-top: 16px;
  }
  
  .ctc-results.single-person .ctc-result-header {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
}

/* Calculation details container */
.ctc-calculation-details-container {
  margin-top: 30px;
}

.ctc-calculation-details-container:empty {
  display: none;
  margin-top: 0;
}

/* Disclaimer note */
.ctc-disclaimer-note {
  margin-top: 24px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* Mobile-only and desktop-only classes */
.ctc-mobile-only {
  display: none;
}

.ctc-desktop-only {
  display: block;
}

@media (max-width: 899px) {
  .ctc-mobile-only {
    display: block;
  }
  
  .ctc-desktop-only {
    display: none;
  }
}

.ctc-details-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.ctc-details-card .ctc-calculation-details {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.ctc-details-card .ctc-result-header {
  margin-bottom: 16px;
}

.ctc-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.ctc-result-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.ctc-result-header {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctc-result-header::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
}

/* Stats */
.ctc-top-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}

.ctc-big-stat {
  display: flex;
  flex-direction: column;
}

.ctc-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-sub);
  margin-bottom: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.ctc-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.ctc-big-stat .ctc-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

@media (min-width: 1100px) {
  .ctc-big-stat .ctc-value {
    font-size: 1.75rem;
  }
  
  .ctc-label {
    font-size: 0.7rem;
  }
}

.ctc-sub-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ctc-sub-stat {
  display: flex;
  flex-direction: column;
}

.ctc-rate-caveat {
  font-size: 0.65rem;
  color: var(--text-sub);
  vertical-align: super;
  margin-left: 1px;
}

.ctc-rate-caveats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-left: 2px;
}

.ctc-caveat-text {
  font-size: 0.65rem;
  color: var(--text-sub);
  font-style: italic;
}

.ctc-disclaimers {
  margin-top: 24px;
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--teal);
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.ctc-disclaimers p {
  margin: 0 0 8px 0;
}

.ctc-disclaimers ul {
  margin: 8px 0;
  padding-left: 20px;
}

.ctc-disclaimers li {
  margin-bottom: 4px;
}

.ctc-disclaimer-final {
  margin-top: 12px !important;
  font-style: italic;
  color: #6c757d;
}

/* Note positioning - inline (under inputs on desktop) */
.ctc-note-inline {
  grid-column: 1 / -1;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--teal);
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: 16px;
}

.ctc-note-inline p {
  margin: 0;
}

/* Note positioning - below (shown on mobile below calc details) */
.ctc-note-below {
  display: none;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--teal);
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: 16px;
}

.ctc-note-below p {
  margin: 0;
}

/* Default: Show inline note on desktop for single person */
@media (min-width: 900px) {
  .ctc-note-inline {
    display: block;
  }
  .ctc-note-below {
    display: none;
  }
}

/* On mobile (stacked layout), hide inline note, show below note */
@media (max-width: 899px) {
  .ctc-note-inline {
    display: none;
  }
  .ctc-note-below {
    display: block;
  }
}

/* When has partner: always hide inline, always show below */
.ctc-wrapper.has-partner .ctc-note-inline {
  display: none;
}

.ctc-wrapper.has-partner .ctc-note-below {
  display: block;
}

.ctc-sub-stat .ctc-label {
  font-size: 0.6rem;
  margin-bottom: 4px;
}

.ctc-sub-stat .ctc-value {
  font-size: 1rem;
}

.ctc-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* Pie Chart */
.ctc-pie-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  margin: 12px 0;
}

.ctc-pie-chart {
  width: 130px;
  height: 130px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.ctc-pie-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ctc-pie-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.ctc-pie-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ctc-pie-legend-label {
  color: var(--text-sub);
  font-weight: 500;
  min-width: 60px;
}

.ctc-pie-legend-pct {
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Solo mode - bigger pie chart when no partner */
.ctc-pie-container-solo .ctc-pie-chart {
  width: 180px;
  height: 180px;
}

.ctc-pie-container-solo .ctc-pie-legend-item {
  font-size: 0.85rem;
}

.ctc-pie-container-solo .ctc-pie-legend-label {
  min-width: 80px;
}

@media (min-width: 1100px) {
  .ctc-pie-chart {
    width: 150px;
    height: 150px;
  }
  
  .ctc-pie-container-solo .ctc-pie-chart {
    width: 220px;
    height: 220px;
  }
  
  .ctc-pie-legend-item {
    font-size: 0.85rem;
  }
  
  .ctc-pie-legend-label {
    min-width: 80px;
  }
  
  .ctc-pie-container-solo .ctc-pie-legend-item {
    font-size: 0.95rem;
  }
  
  .ctc-pie-container-solo .ctc-pie-legend-label {
    min-width: 90px;
  }
}

.ctc-breakdown-section {
  margin-top: 20px;
}

.ctc-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ctc-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-sub);
}

.ctc-section-total {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.ctc-breakdown-table {
  font-size: 0.95rem;
}

.ctc-table-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--text-sub);
  font-weight: 500;
}

.ctc-table-row span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

.ctc-breakdown-item {
  font-size: 0.85rem;
  color: #78909c;
  font-weight: 400;
}

.ctc-breakdown-item span:last-child {
    color: #546e7a;
}

/* CTA Button */
.ctc-cta-section {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.ctc-cta-button {
  display: inline-block;
  background: #4db8a8;
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  text-align: center;
}

.ctc-cta-button:hover {
  background: #3da599;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ctc-table-row.highlight {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px dashed var(--border);
  font-weight: 700;
  font-size: 1.1rem;
}

.text-green { color: var(--success); }
.text-red { color: var(--danger); }

.combined-card {
  border: 2px solid var(--primary);
  background: #f8fafc;
}

/* Calculation Details */
.ctc-calculation-details {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.ctc-calc-toggle {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.ctc-calc-toggle svg {
    transition: transform 0.3s;
}

.ctc-calculation-details.open .ctc-calc-toggle svg {
    transform: rotate(180deg);
}

.ctc-calc-content {
    display: none;
    padding-top: 16px;
    font-size: 0.9rem;
}

.ctc-calculation-details.open .ctc-calc-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ctc-calc-content h4 {
    margin: 16px 0 8px 0;
    font-size: 0.95rem;
    color: var(--primary);
}

.ctc-calc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    table-layout: auto;
    font-size: 0.85rem;
}

.ctc-calc-table th {
    text-align: left;
    color: var(--text-sub);
    font-size: 0.75rem;
    padding: 6px 6px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.ctc-calc-table th:last-child {
    text-align: right;
}

.ctc-calc-table td {
    padding: 6px 6px;
    border-bottom: 1px solid #f1f5f9;
}

.ctc-calc-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.ctc-calc-table tr:last-child td {
    border-bottom: none;
}

/* Income calculation table - 3 column layout */
.ctc-income-table {
    table-layout: auto;
}

.ctc-income-table td:first-child {
    width: auto;
}

.ctc-income-table td:nth-child(2) {
    width: auto;
}

.ctc-income-table td:last-child {
    width: auto;
    text-align: right;
}

.ctc-tax-table {
    table-layout: auto;
}

.ctc-tax-table th {
    white-space: nowrap;
    font-size: 0.7rem;
}

.ctc-tax-table th:nth-child(2),
.ctc-tax-table th:nth-child(3),
.ctc-tax-table th:nth-child(4),
.ctc-tax-table th:nth-child(5) { 
    text-align: right; 
}

.ctc-tax-table td:nth-child(2),
.ctc-tax-table td:nth-child(3),
.ctc-tax-table td:nth-child(4),
.ctc-tax-table td:nth-child(5) {
    text-align: right;
    white-space: nowrap;
}

.ctc-credits-header {
    background: #f1f5f9;
}

.ctc-credits-header th {
    color: var(--text-sub);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 8px 6px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.ctc-credits-header th:nth-child(1) { text-align: left; }
.ctc-credits-header th:nth-child(2),
.ctc-credits-header th:nth-child(3),
.ctc-credits-header th:nth-child(4) { text-align: right; }

.ctc-surtax-row td,
.ctc-health-premium-row td {
    color: var(--danger);
    font-weight: 500;
}

.ctc-calc-subtotal td {
    background: #f8fafc;
    border-top: 2px solid var(--border);
    border-bottom: none;
    padding: 10px 8px;
}

.ctc-calc-subtotal td.text-right {
    text-align: right;
}

.ctc-calc-total td {
    border-top: 2px solid var(--primary);
    padding: 12px 8px;
    color: var(--primary);
    font-size: 1rem;
}

.ctc-calc-total td:last-child {
    text-align: right;
}

@media (max-width: 768px) {
  .ctc-grid { gap: 30px; }
  .ctc-results { padding: 0; }
  .ctc-top-stats { grid-template-columns: 1fr; gap: 24px; }
  .ctc-wrapper { padding: 20px; }
  
  .ctc-tax-table {
    table-layout: auto;
    font-size: 0.85rem;
  }
  
  .ctc-tax-table th,
  .ctc-tax-table td {
    padding: 6px 4px;
  }
  
  .ctc-tax-table th:nth-child(1),
  .ctc-tax-table th:nth-child(2),
  .ctc-tax-table th:nth-child(3),
  .ctc-tax-table th:nth-child(4),
  .ctc-tax-table th:nth-child(5) {
    width: auto;
  }
  
  .ctc-credits-header th {
    font-size: 0.65rem;
    padding: 8px 4px;
  }
  
  .ctc-calc-content h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .ctc-tax-table {
    font-size: 0.75rem;
  }
  
  .ctc-tax-table th,
  .ctc-tax-table td {
    padding: 5px 2px;
  }
  
  .ctc-credits-header th {
    font-size: 0.6rem;
    letter-spacing: 0;
  }
  
  .ctc-calc-subtotal td,
  .ctc-calc-total td {
    padding: 8px 2px;
    font-size: 0.85rem;
  }
}
