/* ==========================================================================
   SEPP Calculator - Global Styles (LESS Version)
   A scalable CSS architecture with component-based organization
   ========================================================================== */
:root {
  --color-primary: #27ae60;
  --color-primary-dark: #219150;
  --color-primary-light: rgba(46, 204, 113, 0.08);
  --color-info: #38bdf8;
  --color-success: #27ae60;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-table-header-text: #ffffff;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 32px;
  --space-4xl: 40px;
  --space-5xl: 48px;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;
  --border-radius-xl: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --table-row-height: 48px;
  --header-height: 68px;
  --footer-height: 80px;
  --container-max-width: 1200px;
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
  --color-bg: #f4f7f6;
  --color-surface: #ffffff;
  --color-text-primary: #111827;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-header-bg: #ffffff;
  --color-table-header: #13232d;
  --color-table-row-even: #f9fafb;
  --color-table-method-header: #16323a;
  --color-balance: #2980b9;
  --color-withdraw: #c0392b;
}
[data-theme="dark"] {
  --color-bg: #0b1220;
  --color-surface: #07121a;
  --color-text-primary: #e6eef6;
  --color-text-secondary: #9aa5b0;
  --color-text-muted: #6b7280;
  --color-border: #183141;
  --color-border-light: #0f1f2e;
  --color-header-bg: #071826;
  --color-table-header: #0b2233;
  --color-table-row-even: #07111a;
  --color-table-method-header: #071826;
  --color-balance: #66aaff;
  --color-withdraw: #ff7b7b;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.container--narrow {
  max-width: 800px;
}
.container--wide {
  max-width: 1400px;
}
.container--full {
  max-width: none;
  width: 100%;
  padding: 0 var(--space-md);
}
.header {
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  min-height: var(--header-height);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.brand__icon {
  width: var(--space-4xl);
  height: var(--space-4xl);
  border-radius: var(--border-radius-lg);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  margin: 0;
}
.brand__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.nav__tab {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
}
.nav__tab:hover {
  background: rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .nav__tab:hover {
  background: rgba(255, 255, 255, 0.04);
}
.nav__tab--active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}
.nav__tab:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}
.theme-toggle {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}
.theme-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}
.main {
  padding: var(--space-xl) 0;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  margin-top: var(--header-height);
  margin-bottom: var(--footer-height);
}
.tab-content {
  animation: fadeIn var(--transition-normal);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 24px;
  transition: box-shadow 200ms ease;
  margin-bottom: var(--space-xl);
  position: relative;
}
.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.card--elevated {
  box-shadow: var(--shadow-lg);
}
.card__header {
  margin-bottom: var(--space-xl);
}
.card__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm) 0;
}
.card__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}
.form-input {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  background: var(--color-surface);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}
.form-input:invalid {
  border-color: var(--color-error);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  gap: var(--space-sm);
}
.btn--primary {
  background-color: #27ae60;
  color: white;
}
.btn--primary:hover {
  background-color: #219150;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn--secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.btn--secondary:hover {
  background-color: var(--color-border-light);
  transform: none;
  box-shadow: none;
}
.btn--small {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
}
.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
}
.btn--info {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: var(--border-radius-md);
  background: transparent;
  color: var(--color-info);
  border: none;
  margin-left: var(--space-sm);
}
.btn--info:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: none;
  box-shadow: none;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}
.table--fixed {
  table-layout: fixed;
}
.table colgroup col:first-child {
  width: 8%;
}
.table colgroup col:not(:first-child) {
  width: 10.2222%;
}
.table__header {
  background-color: var(--color-table-header);
  color: var(--color-table-header-text);
}
.table__header th {
  padding: var(--space-md);
  text-align: center;
  font-weight: var(--font-weight-semibold);
  position: sticky;
  top: 0;
  z-index: 10;
}
.table__header th:not(:first-child) {
  text-align: center;
}
.table__header th:first-child {
  text-align: center;
}
.table__method-header {
  background-color: var(--color-table-method-header);
  color: var(--color-table-header-text);
  text-align: center;
  font-weight: var(--font-weight-bold);
  border: 1px solid var(--color-border);
}
.table__body {
  max-height: calc(var(--table-row-height) * 10);
  overflow-y: auto;
}
.table__body td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  text-align: right;
}
.table__body td:first-child {
  text-align: left;
  font-weight: var(--font-weight-semibold);
}
.table__body tr {
  height: var(--table-row-height);
  transition: background-color var(--transition-fast);
}
.table__body tr:nth-child(even) {
  background-color: var(--color-table-row-even);
}
.table__body tr:hover {
  background-color: var(--color-primary-light);
}
.table__cell--balance {
  color: var(--color-balance);
  font-weight: var(--font-weight-semibold);
}
.table__cell--withdraw {
  color: var(--color-withdraw);
  font-weight: var(--font-weight-medium);
}
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.modal--hidden {
  display: none;
}
.modal__content {
  background: var(--color-surface);
  color: var(--color-text-primary);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  width: min(720px, 95vw);
  max-height: calc(100vh - var(--header-height) - var(--footer-height) - 40px);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  position: relative;
  animation: modalSlideIn var(--transition-normal);
  margin: 20px;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}
.modal__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin: 0;
}
.modal__close {
  background: transparent;
  border: none;
  font-size: var(--font-size-xl);
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: var(--space-sm);
  border-radius: var(--border-radius-sm);
  transition: color var(--transition-fast);
}
.modal__close:hover {
  color: var(--color-text-primary);
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.footer {
  padding: var(--space-lg) 0;
  background: var(--color-header-bg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .footer {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.mt-xs {
  margin-top: 4px;
}
.mb-xs {
  margin-bottom: 4px;
}
.p-xs {
  padding: 4px;
}
.mt-sm {
  margin-top: 8px;
}
.mb-sm {
  margin-bottom: 8px;
}
.p-sm {
  padding: 8px;
}
.mt-md {
  margin-top: 12px;
}
.mb-md {
  margin-bottom: 12px;
}
.p-md {
  padding: 12px;
}
.mt-lg {
  margin-top: 16px;
}
.mb-lg {
  margin-bottom: 16px;
}
.p-lg {
  padding: 16px;
}
.mt-xl {
  margin-top: 20px;
}
.mb-xl {
  margin-bottom: 20px;
}
.p-xl {
  padding: 20px;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.p-0 {
  padding: 0;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-primary {
  color: var(--color-text-primary);
}
.text-secondary {
  color: var(--color-text-secondary);
}
.text-muted {
  color: var(--color-text-muted);
}
.text-success {
  color: var(--color-success);
}
.text-sm {
  font-size: var(--font-size-sm);
}
.text-base {
  font-size: var(--font-size-base);
}
.text-lg {
  font-size: var(--font-size-lg);
}
.text-xl {
  font-size: var(--font-size-xl);
}
.text-2xl {
  font-size: var(--font-size-2xl);
}
.text-3xl {
  font-size: var(--font-size-3xl);
}
.font-bold {
  font-weight: var(--font-weight-bold);
}
.font-semibold {
  font-weight: var(--font-weight-semibold);
}
.font-medium {
  font-weight: var(--font-weight-medium);
}
.hidden {
  display: none;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}
.gap-xl {
  gap: var(--space-xl);
}
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  .header {
    position: fixed;
  }
  .header__inner {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    min-height: auto;
  }
  .main {
    margin-top: calc(var(--header-height) + var(--space-xl));
    margin-bottom: var(--footer-height);
  }
  .nav {
    width: 100%;
    justify-content: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .card {
    padding: var(--space-lg);
  }
  .table-container {
    font-size: var(--font-size-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-container .table--sepp {
    min-width: 800px;
  }
  .table-container .table--sepp .table__sub-header {
    font-size: 10px;
    padding: var(--space-xs);
    white-space: nowrap;
  }
  .table-container .table--sepp .table__age-col {
    width: 12%;
  }
  .table-container .table--sepp .table__method-col {
    width: 9.8%;
  }
  .table-container .table--sepp .table__data-row td {
    padding: var(--space-xs);
    font-size: 11px;
  }
  .modal__content {
    margin: var(--space-md);
    padding: var(--space-lg);
    max-height: calc(100vh - var(--header-height) - var(--footer-height) - 20px);
  }
  .info-content h4 {
    font-size: var(--font-size-base);
    margin: var(--space-sm) 0 var(--space-xs) 0;
  }
  .info-content h5 {
    font-size: var(--font-size-sm);
    margin: var(--space-sm) 0 var(--space-xs) 0;
  }
  .info-content p,
  .info-content ul {
    margin-bottom: var(--space-xs);
  }
  .method-section {
    padding: var(--space-sm);
    margin: var(--space-sm) 0;
  }
}
@media (max-width: 480px) {
  .brand__icon {
    width: var(--space-3xl);
    height: var(--space-3xl);
  }
  .brand__title {
    font-size: var(--font-size-sm);
  }
  .brand__subtitle {
    font-size: var(--font-size-xs);
  }
  .card__title {
    font-size: var(--font-size-xl);
  }
}
.browser-sync,
.browser-sync-ui,
.browser-sync-notify,
#browser-sync-ui,
#bsnotify,
#bs-body,
.bs-websocket-ui {
  display: none !important;
}
html,
body {
  padding-right: 0 !important;
  margin-right: 0 !important;
}
@media print {
  .header,
  .footer,
  .nav,
  .theme-toggle,
  .btn--info {
    display: none;
  }
  .card {
    box-shadow: none;
    border: 1px solid #000;
  }
  .table {
    font-size: 10px;
  }
  .table__body {
    max-height: none;
    overflow: visible;
  }
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
.summary-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.summary-section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .summary-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: var(--color-border);
}
.summary-section__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-lg) 0;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.summary-item:last-child {
  border-bottom: none;
}
.summary-item--highlight {
  background: linear-gradient(90deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  margin: var(--space-sm) 0;
  border: 1px solid rgba(39, 174, 96, 0.2);
}
.summary-label {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.summary-value {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  text-align: right;
  min-width: 120px;
}
.summary-value--primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}
.summary-value--success {
  background: linear-gradient(135deg, #27ae60, #219150);
  color: white;
  box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
}
.summary-value--warning {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}
.summary-value--info {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  box-shadow: 0 2px 4px rgba(56, 189, 248, 0.3);
}
.summary-value--error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}
.table--401k .table__year-col {
  width: 6%;
}
.table--401k .table__salary-col {
  width: 10%;
}
.table--401k .table__bonus-col {
  width: 8%;
}
.table--401k .table__percent-col {
  width: 7%;
}
.table--401k .table__contrib-col {
  width: 9%;
}
.table--401k .table__total-col {
  width: 10%;
}
.table--401k .table__balance-col {
  width: 10%;
}
.table--401k .table__return-col {
  width: 9%;
}
.table--401k .table__grand-total-col {
  width: 12%;
}
.table--sepp .table__age-col {
  width: 8%;
}
.table--sepp .table__method-col {
  width: 10.2%;
}
.table--sepp .table__age-header {
  background-color: var(--color-table-header);
  color: var(--color-table-header-text);
  text-align: center;
  vertical-align: middle;
  font-weight: var(--font-weight-bold);
}
.table--sepp .table__sub-header {
  background-color: var(--color-table-header);
  color: var(--color-table-header-text);
  font-size: var(--font-size-xs);
  padding: var(--space-sm);
  text-align: center;
  font-weight: var(--font-weight-semibold);
}
.table--sepp .table__method-header {
  position: relative;
  padding-right: var(--space-xl);
  text-align: center;
  font-weight: var(--font-weight-bold);
}
.table--sepp .table__method-header .btn--info {
  position: absolute;
  top: 50%;
  right: var(--space-xs);
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  font-size: 10px;
  margin-left: 0;
}
.table--sepp .table__body td {
  text-align: center;
}
.table--sepp .table__body td:first-child {
  text-align: center;
  font-weight: var(--font-weight-semibold);
}
.table__data-row:hover {
  background-color: rgba(39, 174, 96, 0.08) !important;
}
.table__year-cell {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}
.table__salary-cell,
.table__bonus-cell {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}
.table__percent-cell {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
  color: #f39c12;
  font-weight: var(--font-weight-bold);
}
.table__contrib-cell {
  color: #e74c3c;
  font-weight: var(--font-weight-medium);
}
.table__total-cell {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
  color: #e74c3c;
  font-weight: var(--font-weight-bold);
}
.table__balance-cell {
  color: var(--color-balance);
  font-weight: var(--font-weight-semibold);
}
.table__return-cell {
  color: var(--color-success);
  font-weight: var(--font-weight-medium);
}
.table__grand-total-cell {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.08));
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
  border-left: 3px solid var(--color-success);
}
.table__age-cell {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-align: center;
}
.table__net-cell {
  color: var(--color-success);
  font-weight: var(--font-weight-medium);
}
.about-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
.about-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.about-section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .about-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.about-section__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-lg) 0;
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
.tool-card {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
  border: 2px solid rgba(39, 174, 96, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-info));
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}
.tool-card__icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
  display: block;
}
.tool-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-md) 0;
}
.tool-card__description {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
}
.tool-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-card__features li {
  padding: var(--space-xs) 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.tool-card__features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.feature-item {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-info);
}
.feature-item h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.feature-item p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin: 0;
}
.usage-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.usage-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
}
.usage-step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-warning);
}
.usage-step__number {
  background: linear-gradient(135deg, var(--color-warning), #e67e22);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}
.usage-step__content h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm) 0;
}
.usage-step__content p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0;
}
.disclaimer-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
}
.disclaimer-box h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-error);
  margin: 0 0 var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.disclaimer-box p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0 0 var(--space-md) 0;
}
.disclaimer-box p:last-child {
  margin-bottom: 0;
}
.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}
.info-content {
  line-height: var(--line-height-relaxed);
}
.info-content h4 {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin: var(--space-md) 0 var(--space-sm) 0;
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.info-content h4:first-child {
  margin-top: 0;
}
.info-content h5 {
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin: var(--space-md) 0 var(--space-xs) 0;
}
.info-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}
.info-content ul {
  color: var(--color-text-secondary);
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.info-content li {
  margin-bottom: var(--space-xs);
}
.method-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}
[data-theme="dark"] .method-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.method-section h5 {
  color: var(--color-info);
  border-bottom: 1px solid var(--color-info);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
}
.method-section p {
  margin-bottom: var(--space-xs);
}
.method-section ul {
  margin-bottom: var(--space-xs);
}
.disclaimer {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  font-style: italic;
  color: var(--color-error);
}
@media (max-width: 768px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .tool-cards {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .usage-step {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .about-section {
    padding: var(--space-lg);
  }
  .summary-section {
    padding: var(--space-lg);
  }
}
@media (max-width: 480px) {
  .summary-value {
    min-width: 100px;
    font-size: var(--font-size-sm);
  }
  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  .tool-card {
    padding: var(--space-lg);
  }
  .usage-step__number {
    width: 32px;
    height: 32px;
    font-size: var(--font-size-base);
  }
}
