:root {
  --bg: #fdf6ec;
  --text: #2d2a26;
  --muted: #78716c;
  --brand: #ea580c;
  --brand-light: #f97316;
  --brand-lighter: #fdba74;
  --brand-accent: #fbbf24;
  --ok: #059669;
  --ok-light: #10b981;
  --warn: #d97706;
  --warn-light: #f59e0b;
  --danger: #dc2626;
  --danger-light: #ef4444;
  --card: #ffffff;
  --surface: #fff7ed;
  --border: #fde68a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow: 0 4px 20px rgba(234, 88, 12, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(234, 88, 12, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917;
    --text: #fef3c7;
    --muted: #a8a29e;
    --brand: #f97316;
    --brand-light: #ea580c;
    --brand-lighter: #c2410c;
    --brand-accent: #fbbf24;
    --ok: #34d399;
    --ok-light: #10b981;
    --warn: #fbbf24;
    --warn-light: #f59e0b;
    --danger: #f87171;
    --danger-light: #ef4444;
    --card: #292524;
    --surface: #44403c;
    --border: #57534e;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--brand);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.app-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}

.app-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--surface);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

.left-panel,
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.unit-toggle {
  display: flex;
  gap: 8px;
  background: var(--surface);
  padding: 4px;
  border-radius: 12px;
}

.unit-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.unit-btn.active {
  background: var(--card);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.input-row {
  display: flex;
  gap: 12px;
}

.input-wrapper {
  flex: 1;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s ease;
}

.input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.gender-options {
  display: flex;
  gap: 12px;
}

.gender-option {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-weight: 500;
}

.gender-option:hover {
  border-color: var(--brand-lighter);
}

.gender-option input {
  display: none;
}

.gender-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--surface);
  color: var(--brand);
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--brand-lighter);
}

.actions-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.result-card {
  background: #FFFDF8;
  border-radius: 20px;
  padding: 24px;
  padding-bottom: 24px;
  text-align: center;
  border: 2px solid var(--border);
  min-height: 450px;
}

.result-value {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin: 8px 0;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.result-badge.ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--ok);
}

.result-badge.warn {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warn);
}

.result-badge.danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.result-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.target-weight {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.target-weight-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.target-weight-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.formula-box {
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.formula-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}

.formula-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  font-family: monospace;
}

.formula-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.bmi-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.bmi-table th,
.bmi-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.bmi-table th {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-badge.ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--ok);
}

.status-badge.ok .status-dot {
  background: var(--ok);
}

.status-badge.warn {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warn);
}

.status-badge.warn .status-dot {
  background: var(--warn);
}

.status-badge.danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.status-badge.danger .status-dot {
  background: var(--danger);
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.tips-list li:last-child {
  border-bottom: none;
}

.tips-icon {
  width: 24px;
  height: 24px;
  background: var(--surface);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.info-note {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.info-note strong {
  color: var(--text);
}

.footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-text {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--brand);
}

.hide {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.actions-top {
  margin-bottom: 16px;
}

.lang-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.lang-link:hover {
  background: var(--surface);
  border-color: var(--brand-lighter);
}

.lang-link.is-active {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
}

.important-notes {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}

.note-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1.2;
}

.note-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.note-divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  color: var(--brand);
}

.tip {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.list {
  margin: 16px 0 0 20px;
  padding: 0;
}

.list li {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ref a {
  color: var(--brand);
  text-decoration: none;
}

.ref a:hover {
  text-decoration: underline;
}

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

.kpi {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.kpi-item {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--surface);
}

/* 仪表盘样式 */
.gauge-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 8px;
  padding-top: 20px;
}

.gauge-result-bottom {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  min-height: 80px;
  text-align: center;
}

.gauge-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}

.gauge-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -30px;
  margin-bottom: 16px;
}

.gauge-bmi {
  font-size: 30px;
  font-weight: 800;
  color: #10B981;
  line-height: 1;
}

.gauge-bmi.warn {
  color: #F59E0B;
}

.gauge-bmi.danger {
  color: #EF4444;
}

.gauge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 20px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.gauge-status.warn {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.gauge-status.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.gauge-advice {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 12px;
  line-height: 1.5;
  min-height: 21px;
}

.gauge-svg {
  width: 100%;
  height: auto;
}

.gauge-arc {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.gauge-bg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.gauge-tick-label {
  font-size: 13px;
  font-weight: 600;
  fill: #9CA3AF;
  text-anchor: middle;
}

.gauge-tick-label.small {
  font-size: 10px;
  font-weight: 500;
}

.gauge-ticks line {
  stroke: #D1D5DB;
}

#needleLine {
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gauge-category {
  font-size: 16px;
  font-weight: 700;
  text-anchor: middle;
}

.gauge-category.lean,
.gauge-category.obese {
  fill: #EF4444;
}

.gauge-category.overweight {
  fill: #F59E0B;
}

.gauge-category.normal {
  fill: #10B981;
}

.gauge-center {
  font-size: 48px;
  font-weight: 800;
  fill: #1F2937;
  text-anchor: middle;
}

.gauge-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #FCD34D, transparent);
  margin: 12px 0 16px;
}

.info-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.info-label {
  font-size: 13px;
  font-weight: 600;
  color: #9CA3AF;
  flex-shrink: 0;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: #1F2937;
  text-align: right;
  line-height: 1.4;
}

.info-content {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.5;
}

.kpi-value {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 600px) {
  .app-header {
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
  }
  
  .app-header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .container {
    padding: 20px 16px;
  }
  
  .card {
    padding: 20px;
  }
  
  .result-value {
    font-size: 48px;
  }
  
  .lang-nav {
    justify-content: center;
  }
}

/* 安装提示样式 - 简洁版 */
.install-prompt {
  margin-top: 20px;
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.install-prompt:hover {
  border-color: var(--brand-lighter);
  box-shadow: var(--shadow-sm);
}

.install-prompt-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.install-prompt-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.install-prompt-text {
  flex: 1;
  color: var(--text);
}

.install-prompt-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}

.install-prompt-desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.btn-install {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-install:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-install:active {
  transform: translateY(0);
}

.btn-dismiss {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-dismiss:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--brand-lighter);
}

/* 分享按钮样式 - 简洁版 */
.share-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.btn-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background: var(--surface);
  border-color: var(--brand-lighter);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-action:active {
  transform: translateY(0);
}

.btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 20px;
  line-height: 1;
}

.btn-text {
  font-weight: 600;
}

/* 保存按钮 - 微妙的绿色提示 */
.btn-save:hover {
  border-color: #10B981;
  color: #10B981;
}

/* 分享按钮 - 微妙的蓝色提示 */
.btn-share:hover {
  border-color: #3B82F6;
  color: #3B82F6;
}

@media (max-width: 600px) {
  .share-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-action {
    padding: 12px 16px;
  }
}

/* 微信分享二维码弹窗 */
.wechat-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wechat-modal-content {
  background: var(--card);
  border-radius: 24px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wechat-modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wechat-modal-title::before {
  content: '💬';
  font-size: 32px;
}

.wechat-qr-container {
  background: white;
  padding: 24px;
  border-radius: 20px;
  margin: 24px 0;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--border);
}

.wechat-qr-container canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.wechat-modal-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.8;
  font-weight: 500;
}

.wechat-modal-close {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: white;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.wechat-modal-close:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.4);
}

.wechat-modal-close:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .share-actions {
    flex-direction: column;
  }
  
  .install-prompt-content {
    flex-wrap: wrap;
  }
  
  .btn-install {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }
}

/* Tab 切换样式 */
.tab-nav {
  display: flex;
  gap: 8px;
  background: var(--surface);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1;
  min-width: fit-content;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(234, 88, 12, 0.05);
}

.tab-btn.active {
  background: var(--card);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInTab 0.3s ease;
}

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

@media (max-width: 600px) {
  .tab-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}
