.tfm-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.tfm-sticky-anchor-bar {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: #0f172a;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 20px;
}
.tfm-anchor-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.tfm-anchor-item {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
}
.tfm-anchor-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.tfm-anchor-cta {
  margin-left: auto;
  background: #f59e0b;
  color: #0f172a !important;
  font-weight: 700;
}
.tfm-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.tfm-badge-amber {
  background: #fef3c7;
  color: #92400e;
}
.tfm-html5-audio {
  width: 100%;
  margin-top: 12px;
}
.tfm-spec-grid {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.tfm-spec-grid li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}
.tfm-spec-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}
.tfm-box-head,
.tfm-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tfm-cat-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.tfm-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
}
.tfm-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}
.tfm-tag-open {
  background: #dcfce7;
  color: #166534;
}
.tfm-tag-full {
  background: #fee2e2;
  color: #991b1b;
}
.tfm-slot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tfm-slot-chip {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
}
.tfm-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.tfm-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}
.tfm-card input,
.tfm-card select,
.tfm-card textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
}
.tfm-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.tfm-btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}
.tfm-btn-primary {
  background: #d97706;
  color: #ffffff;
}
.tfm-btn-primary:hover {
  background: #b45309;
}
.tfm-btn-line {
  background: #06c755;
  color: #ffffff;
}
.tfm-btn-outline {
  border: 1px solid #0f172a;
  color: #0f172a;
  background: transparent;
}
.tfm-cal-legend {
  display: flex;
  gap: 16px;
  font-size: 13px;
  margin-bottom: 12px;
}
.tfm-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.tfm-dot-busy {
  background: #ef4444;
}
.tfm-dot-free {
  background: #22c55e;
}
.tfm-cal-weekdays,
.tfm-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.tfm-cal-weekdays div {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  padding: 6px 0;
}
.tfm-cal-cell {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 6px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tfm-cal-cell.is-busy {
  background: #fef2f2;
  border-color: #fecaca;
}
.tfm-cal-cell.is-free {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.tfm-day-num {
  font-weight: 700;
  font-size: 13px;
}
.tfm-day-tag {
  font-size: 11px;
  color: #475569;
}
.tfm-dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tfm-tab-btn {
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.tfm-tab-btn.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.tfm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tfm-table th,
.tfm-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 8px;
  text-align: left;
}
.tfm-muted {
  color: #64748b;
  font-size: 14px;
}
.tfm-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}
